{"version":3,"file":"serviceLineLandingPage-d1f73e5f.js","sources":["../../../../app/frontend/components/b2c/directory/serviceLineLandingPage.js"],"sourcesContent":["import { initializeArticleSlider } from '../../shared/articles-slider';\nimport { setUpGeolocation } from './browserGeolocation';\nimport { setUpModals } from '../../shared/controllers/modalController';\nimport tippy, { followCursor } from 'tippy.js';\n\nimport '../../shared/controllers/scrollSpyController';\nimport '../../b2c/directory/bookableTimes';\nimport '../../b2c/directory/nonApiBookableTimes';\nimport '../../shared/controllers/autocompleteController';\nimport '../../shared/controllers/slideOutController';\nimport '../../shared/controllers/expansionController';\n\n// set up article slider\n\nconst articleSliderOptions = {\n type: 'carousel',\n startAt: 0,\n perView: 4,\n slideWidth: 248,\n gap: 24,\n peek: {\n before: 48,\n after: 0,\n },\n breakpoints: {\n 1024: {\n perView: 3,\n peek: {\n before: 48,\n after: 40,\n },\n },\n 650: {\n perView: 2,\n peek: {\n before: 48,\n after: 0,\n },\n },\n 450: {\n perView: 1,\n peek: {\n before: 48,\n after: 0,\n },\n },\n },\n};\n\nconst articleSliderSelector = '.directory-featured-articles.glide';\nif (articleSliderSelector) {\n initializeArticleSlider(articleSliderSelector, articleSliderOptions);\n}\ninitializeArticleSlider(articleSliderSelector, articleSliderOptions);\n\nsetUpGeolocation();\nsetUpModals();\n\ntippy('svg.navigation-map a[data-tooltip-template]', {\n content(reference) {\n return reference.dataset.tooltipTemplate;\n },\n followCursor: true,\n allowHTML: true,\n duration: 100,\n plugins: [followCursor],\n});\n"],"names":["articleSliderOptions","articleSliderSelector","initializeArticleSlider","setUpGeolocation","setUpModals","tippy","reference","followCursor"],"mappings":"6iBAcA,MAAMA,EAAuB,CAC3B,KAAM,WACN,QAAS,EACT,QAAS,EACT,WAAY,IACZ,IAAK,GACL,KAAM,CACJ,OAAQ,GACR,MAAO,CACR,EACD,YAAa,CACX,KAAM,CACJ,QAAS,EACT,KAAM,CACJ,OAAQ,GACR,MAAO,EACR,CACF,EACD,IAAK,CACH,QAAS,EACT,KAAM,CACJ,OAAQ,GACR,MAAO,CACR,CACF,EACD,IAAK,CACH,QAAS,EACT,KAAM,CACJ,OAAQ,GACR,MAAO,CACR,CACF,CACF,CACH,EAEMC,EAAwB,qCAE5BC,EAAwBD,EAAuBD,CAAoB,EAErEE,EAAwBD,EAAuBD,CAAoB,EAEnEG,IACAC,IAEAC,EAAM,8CAA+C,CACnD,QAAQC,EAAW,CACjB,OAAOA,EAAU,QAAQ,eAC1B,EACD,aAAc,GACd,UAAW,GACX,SAAU,IACV,QAAS,CAACC,CAAY,CACxB,CAAC"}