{"version":3,"file":"chunks/ef34ac34cdbd01.js","mappings":"uoCAA4B,IAEPA,EAAY,WAK/B,SAAAA,EAAYC,EAAsBC,I,4FAAaC,CAAA,KAAAH,GAC7CI,KAAKH,QAAUI,EAAEJ,GACjBG,KAAKF,O,+VAAMI,CAAA,GAAQJ,GACnBE,KAAKG,gBAAkBF,EAAE,qBAAsBD,KAAKH,SACpDG,KAAKI,MACP,C,QAgBC,O,EAhBAR,G,EAAA,EAAAS,IAAA,OAAAC,MAED,WACEN,KAAKO,YACP,GAAC,CAAAF,IAAA,aAAAC,MAED,WACEN,KAAKG,gBAAgBK,GAAG,SAAS,WAC/B,IAAIC,EAAOR,EAAED,MAAMU,KAAK,QACxBT,EAAE,cAAcU,QACd,CACEC,UAAWX,EAAEQ,GAAMI,SAASC,IAAM,IAEpC,IAEJ,GACF,M,oEAAClB,CAAA,CA1B8B,E","sources":["webpack:///./resources/js/components/layout/container-faq.ts"],"sourcesContent":["import * as $ from \"jquery\";\n\nexport default class ContainerFaq {\n  domRoot: JQuery<any>;\n  params: any;\n  linkUrlFragment: JQuery<HTMLElement>;\n\n  constructor(domRoot: HTMLElement, params: any) {\n    this.domRoot = $(domRoot);\n    this.params = { ...params };\n    this.linkUrlFragment = $(\".link-url-fragment\", this.domRoot);\n    this.init();\n  }\n\n  init() {\n    this.bindEvents();\n  }\n\n  bindEvents() {\n    this.linkUrlFragment.on(\"click\", function () {\n      var href = $(this).attr(\"href\");\n      $(\"html, body\").animate(\n        {\n          scrollTop: $(href).offset().top - 72,\n        },\n        300\n      );\n    });\n  }\n}\n"],"names":["ContainerFaq","domRoot","params","_classCallCheck","this","$","_objectSpread","linkUrlFragment","init","key","value","bindEvents","on","href","attr","animate","scrollTop","offset","top"],"sourceRoot":""}