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AE7BC,OAAQ,CAAEpC,QAASkB,KAAKC,YAEtBoB,EAA6BrB,KAAanB,WAAWiC,WAAWC,KAAK,CACvEjC,QAAUkB,KAAahB,WAAWF,QAClCkC,iBAAkBA,KAEdL,QAAQM,IAAI,aAAa,EAE7BC,OAAQ,CAAEpC,QAASkB,KAAKC,YAE5BmB,IACAC,GACJ,CACJ,CAKAC,MAAAA,GACUtB,KAAauB,aACfzB,MAAMwB,QAEd,E","sources":["webpack://@sazka/web/./js/app/help-center/components/_article-slider.ts","webpack://@sazka/web/../../libs/utils/carousel/use-flickity-dots.ts","webpack://@sazka/web/../../libs/utils/carousel/flickity-patched.ts"],"sourcesContent":["import { FlickityPatched } from \"@sazka/utils/carousel/flickity-patched\";\r\nlet flickity: FlickityPatched = null;\r\n\r\nconst useDataSelectorBase = (name: string) => `[data-ds-slider=\"${name}\"]`;\r\n\r\n$(() => {\r\n    const root = document.querySelector(useDataSelectorBase(\"root\"));\r\n    if (!root) return;\r\n\r\n    const carousel = root.querySelector(useDataSelectorBase(\"carousel\"));\r\n    if (!carousel) return;\r\n\r\n    const btnPrev = root.querySelector(useDataSelectorBase(\"slider-prev\"));\r\n    const btnNext = root.querySelector(useDataSelectorBase(\"slider-next\"));\r\n\r\n    flickity = new FlickityPatched(carousel, {\r\n        prevNextButtons: false,\r\n        adaptiveHeight: true,\r\n        setGallerySize: false,\r\n        pageDots: false,\r\n    });\r\n\r\n    if (flickity.selectedIndex === 0) {\r\n        btnPrev.classList.add(\"is-disabled\");\r\n    }\r\n\r\n    flickity.on(\"select\", function () {\r\n        if (!flickity.slides[flickity.selectedIndex - 1]) {\r\n            btnPrev.classList.add(\"is-disabled\");\r\n            btnNext.classList.remove(\"is-disabled\");\r\n        } else if (!flickity.slides[flickity.selectedIndex + 1]) {\r\n            btnNext.classList.add(\"is-disabled\");\r\n            btnPrev.classList.remove(\"is-disabled\");\r\n        } else {\r\n            btnPrev.classList.remove(\"is-disabled\");\r\n            btnNext.classList.remove(\"is-disabled\");\r\n        }\r\n    });\r\n\r\n    flickity.on(\"change\", function (index: number) {\r\n        document.querySelector(`[data-slide-stepper-index=\"${index - 1}\"]`)?.classList.add(\"d-none\");\r\n        document.querySelector(`[data-slide-stepper-index=\"${index}\"]`)?.classList.remove(\"d-none\");\r\n        document.querySelector(`[data-slide-stepper-index=\"${index + 1}\"]`)?.classList.add(\"d-none\");\r\n    });\r\n\r\n    btnPrev.addEventListener(\"click\", function () {\r\n        if (flickity.selectedIndex - 1 === 0) {\r\n            btnPrev.classList.add(\"is-disabled\");\r\n        }\r\n\r\n        if (flickity.selectedIndex - 1 !== 0) btnNext.classList.remove(\"is-disabled\");\r\n\r\n        flickity.previous();\r\n    });\r\n\r\n    btnNext.addEventListener(\"click\", () => {\r\n        if (flickity.selectedIndex + 1 > 0) {\r\n            btnPrev.classList.remove(\"is-disabled\");\r\n        }\r\n\r\n        if (flickity.selectedIndex + 1 === flickity.slides.length - 1) btnNext.classList.add(\"is-disabled\");\r\n\r\n        flickity.next();\r\n    });\r\n\r\n    window.addEventListener(\"load\", () => {\r\n        flickity.reposition();\r\n    });\r\n});\r\n","/* eslint-disable @typescript-eslint/naming-convention */\r\nimport type { FlickityDotsOptions } from \"./flickity-dots-options\";\r\nimport { FlickityPatched } from \"./flickity-patched\";\r\n\r\nconst PATH_ATTRS_MAP = {\r\n    \"clip-rule\": \"evenodd\",\r\n    \"fill-rule\": \"evenodd\",\r\n};\r\n\r\nconst SVG_ATTRS_MAP = {\r\n    viewBox: \"0 0 24 24\",\r\n    width: \"24\",\r\n    height: \"24\",\r\n};\r\n\r\nconst DS_ARROW_CLASS = \"ds-carousel-indicator__arrow\";\r\n\r\nconst BTN_CLASSES = [\"button\", \"button--sm\", \"button--text\"];\r\n\r\nconst defaultDotsOptions: FlickityDotsOptions = {\r\n    rootEl: null,\r\n    dots: null,\r\n    theme: \"light\",\r\n    next: null,\r\n    prev: null,\r\n    nextIcon:\r\n        \"M6.257 2.331a1 1 0 0 1 1.412-.074l10 9a1 1 0 0 1 0 1.486l-10 9a1 1 0 1 1-1.338-1.486L15.505 12 6.331 3.743a1 1 0 0 1-.074-1.412Z\",\r\n    prevIcon:\r\n        \"M17.743 2.331a1 1 0 0 1-.074 1.412L8.495 12l9.174 8.257a1 1 0 1 1-1.338 1.486l-10-9a1 1 0 0 1 0-1.486l10-9a1 1 0 0 1 1.412.074Z\",\r\n    useDsClasses: true,\r\n    useCustomPrevNextButtons: false,\r\n};\r\n\r\n/**\r\n * When calling init method with config object\r\n * it will render dots at the rootEl you define\r\n */\r\nexport function useFlickityDots(carousel: FlickityPatched, options: FlickityDotsOptions) {\r\n    const carouselInstance = carousel;\r\n    if (Object.keys(options).length === 0) return;\r\n    const config = Object.assign(defaultDotsOptions, options);\r\n\r\n    if (config.useDsClasses && (carouselInstance as any).isInitActivated) {\r\n        const indicatorClass = [\"ds-carousel-indicator\"];\r\n\r\n        if (config.theme === \"dark\") indicatorClass.push(\"is-dark\");\r\n\r\n        config.rootEl.classList.add(...indicatorClass);\r\n\r\n        initPrevButton();\r\n        initDots();\r\n        initNextButton();\r\n    }\r\n\r\n    config.rootEl.append(\r\n        config.prev || getElementFromInstance(\"prev\"),\r\n        config.dots || getElementFromInstance(\"dots\"),\r\n        config.next || getElementFromInstance(\"next\")\r\n    );\r\n\r\n    if (!getElementFromInstance(\"prev\") || !getElementFromInstance(\"next\")) {\r\n        [...config.rootEl.childNodes].filter((child) => child.nodeType === 3).map((el) => el.remove());\r\n    }\r\n\r\n    /**\r\n     * Destroy custom dots\r\n     */\r\n    function destroy() {\r\n        if (config.rootEl.children.length > 0) config.rootEl.replaceChildren();\r\n    }\r\n\r\n    function initPrevButton() {\r\n        if (!(carouselInstance as any).options.prevNextButtons && config.useCustomPrevNextButtons) {\r\n            initButton(config.prev, \"prev\", config.prevIcon);\r\n        }\r\n    }\r\n\r\n    function initNextButton() {\r\n        if (!(carouselInstance as any).options.prevNextButtons && config.useCustomPrevNextButtons) {\r\n            initButton(config.next, \"next\", config.nextIcon);\r\n        }\r\n    }\r\n\r\n    function initButton(btn: HTMLElement, btnType: \"prev\" | \"next\", icon: string) {\r\n        if (btn) {\r\n            btn?.classList.add(`${DS_ARROW_CLASS}`, `${DS_ARROW_CLASS}--${btnType}`, ...BTN_CLASSES);\r\n            setAttributes(btn?.querySelector(\".flickity-button-icon\"), SVG_ATTRS_MAP);\r\n            btn?.querySelector<SVGPathElement>(\".arrow\").setAttribute(\"d\", icon);\r\n        } else {\r\n            const carouselBtn = getElementFromInstance(btnType);\r\n            const arrow = carouselBtn.querySelector(\".arrow\");\r\n            const svgElem = carouselBtn.querySelector(\".flickity-button-icon\");\r\n\r\n            setAttributes(svgElem, SVG_ATTRS_MAP);\r\n            setAttributes(arrow, PATH_ATTRS_MAP);\r\n            arrow.setAttribute(\"d\", icon);\r\n            arrow.removeAttribute(\"transform\");\r\n            carouselBtn.classList.add(`${DS_ARROW_CLASS}`, `${DS_ARROW_CLASS}--${btnType}`, ...BTN_CLASSES);\r\n        }\r\n    }\r\n\r\n    function initDots() {\r\n        if (config.dots) {\r\n            config.dots.classList.add(\"ds-carousel-indicator__dots\");\r\n        } else {\r\n            const dots = getElementFromInstance(\"dots\");\r\n            dots.classList.add(\"ds-carousel-indicator__dots\");\r\n        }\r\n    }\r\n\r\n    function getElementFromInstance(elType: \"prev\" | \"next\" | \"dots\") {\r\n        switch (elType) {\r\n            case \"prev\":\r\n                return (\r\n                    (carouselInstance as any).options.prevNextButtons &&\r\n                    ((carouselInstance as any).prevButton.element as HTMLElement)\r\n                );\r\n            case \"dots\":\r\n                return (\r\n                    (carouselInstance as any).options.pageDots &&\r\n                    ((carouselInstance as any).pageDots.holder as HTMLElement)\r\n                );\r\n            case \"next\":\r\n                return (\r\n                    (carouselInstance as any).options.prevNextButtons &&\r\n                    ((carouselInstance as any).nextButton.element as HTMLElement)\r\n                );\r\n        }\r\n    }\r\n\r\n    function setAttributes(el: Element, attrs: Record<string, any>) {\r\n        for (const key in attrs) {\r\n            el.setAttribute(key, attrs[key]);\r\n        }\r\n    }\r\n\r\n    return {\r\n        destroy,\r\n    };\r\n}\r\n","import Flickity from \"flickity\";\r\nimport { FlickityDotsOptions } from \"./flickity-dots-options\";\r\nimport { useFlickityDots } from \"./use-flickity-dots\";\r\n\r\nexport interface FlickityPatchedOptions extends Flickity.Options {\r\n    dotsOptions?: FlickityDotsOptions;\r\n}\r\n\r\n/**\r\n * @deprecated Instead use KeenSlider in new components\r\n */\r\nexport class FlickityPatched extends Flickity {\r\n    dots: ReturnType<typeof useFlickityDots>;\r\n    dotsRoot: HTMLElement = null;\r\n\r\n    constructor(selector: string | Element, options?: FlickityPatchedOptions) {\r\n        super(selector, options);\r\n        this.dotsRoot = options?.dotsOptions?.rootEl;\r\n\r\n        this.on(\"dragStart\", () => {\r\n            (this.cells as any[]).forEach((slide) => (slide.element.style.pointerEvents = \"none\"));\r\n        });\r\n        this.on(\"dragEnd\", () => (this.cells as any[]).forEach((slide) => (slide.element.style.pointerEvents = \"all\")));\r\n        this.on(\"destroy\", () => {\r\n            if (this.dots) this.dots.destroy();\r\n        });\r\n\r\n        if (options.dotsOptions) {\r\n            this.dots = useFlickityDots(this, options.dotsOptions);\r\n        }\r\n    }\r\n\r\n    // The following two methods fix the error that Flickity throws when there is different parent for dotsOptions and Carousel\r\n    deactivatePageDots() {\r\n        try {\r\n            // Try to call flicity deactivatePageDots first\r\n            Object.getPrototypeOf(Object.getPrototypeOf(this)).deactivatePageDots();\r\n        } catch (e) {\r\n            console.warn(\"Flickity deactivatePageDots failed calling its override.\");\r\n            const superDeactivatePageDot = (this as any).pageDots.deactivate.bind({\r\n                holder: this.dotsRoot.querySelector(\".flickity-page-dots\"),\r\n                unbindStartEvent: () => {\r\n                    // Could not figure out what this was supposed to do. So there is just console.log to prevent TS error.\r\n                    console.log(\"unbidStart\");\r\n                },\r\n                parent: { element: this.dotsRoot },\r\n            });\r\n            superDeactivatePageDot();\r\n        }\r\n    }\r\n\r\n    deactivatePrevNextButtons() {\r\n        try {\r\n            // Try to call flicity deactivatePrevNextButtons first\r\n            Object.getPrototypeOf(Object.getPrototypeOf(this)).deactivatePrevNextButtons();\r\n        } catch (e) {\r\n            console.warn(\"Flickity deactivatePrevNextButtons failed calling its override.\");\r\n            const superDeactivatePrevButton = (this as any).prevButton.deactivate.bind({\r\n                element: (this as any).prevButton.element,\r\n                unbindStartEvent: () => {\r\n                    // Could not figure out what this was supposed to do. So there is just console.log to prevent TS error.\r\n                    console.log(\"unbidStart\");\r\n                },\r\n                parent: { element: this.dotsRoot },\r\n            });\r\n            const superDeactivateNextButton = (this as any).prevButton.deactivate.bind({\r\n                element: (this as any).nextButton.element,\r\n                unbindStartEvent: () => {\r\n                    // Could not figure out what this was supposed to do. So there is just console.log to prevent TS error.\r\n                    console.log(\"unbidStart\");\r\n                },\r\n                parent: { element: this.dotsRoot },\r\n            });\r\n            superDeactivatePrevButton();\r\n            superDeactivateNextButton();\r\n        }\r\n    }\r\n\r\n    // FIX iOS 15 issues - when dragging, page moves\r\n    // see https://github.com/metafizzy/flickity/issues/1177#issuecomment-981194285\r\n    // can be removed when flickity fixes https://github.com/metafizzy/flickity/issues/1196\r\n    resize() {\r\n        if (!(this as any).isAnimating) {\r\n            super.resize();\r\n        }\r\n    }\r\n}\r\n"],"names":["flickity","useDataSelectorBase","name","$","root","document","querySelector","carousel","btnPrev","btnNext","FlickityPatched","prevNextButtons","adaptiveHeight","setGallerySize","pageDots","selectedIndex","classList","add","on","slides","remove","index","_document$querySelect","_document$querySelect2","_document$querySelect3","addEventListener","previous","length","next","window","reposition","PATH_ATTRS_MAP","SVG_ATTRS_MAP","viewBox","width","height","DS_ARROW_CLASS","BTN_CLASSES","defaultDotsOptions","rootEl","dots","theme","prev","nextIcon","prevIcon","useDsClasses","useCustomPrevNextButtons","useFlickityDots","options","carouselInstance","Object","keys","config","assign","isInitActivated","indicatorClass","push","initPrevButton","initDots","initNextButton","destroy","children","replaceChildren","initButton","btn","btnType","icon","setAttributes","setAttribute","carouselBtn","getElementFromInstance","arrow","svgElem","removeAttribute","elType","prevButton","element","holder","nextButton","el","attrs","key","append","childNodes","filter","child","nodeType","map","Flickity","constructor","selector","_options$dotsOptions","super","_defineProperty","this","dotsRoot","dotsOptions","cells","forEach","slide","style","pointerEvents","deactivatePageDots","getPrototypeOf","e","console","warn","superDeactivatePageDot","deactivate","bind","unbindStartEvent","log","parent","deactivatePrevNextButtons","superDeactivatePrevButton","superDeactivateNextButton","resize","isAnimating"],"sourceRoot":""}