@everymatrix/casino-header-controller 1.44.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenu-BIvzNNkE.js +5355 -0
- package/components/CasinoHamburgerMenu-C7-gBE2I.cjs +8 -0
- package/components/CasinoHeaderController-C7smG_gA.js +3020 -0
- package/components/CasinoHeaderController-DPFozcw5.cjs +13 -0
- package/components/CasinoSlider-3QG9Z7x8.cjs +1 -0
- package/components/CasinoSlider-CVEprVdR.js +803 -0
- package/components/PlayerAccountBalanceModal-BOfwFgGc.js +1406 -0
- package/components/PlayerAccountBalanceModal-DecmskWm.cjs +13 -0
- package/components/PlayerDeposit-4UPD0Obh.cjs +1 -0
- package/components/PlayerDeposit-MkLSc_aD.js +395 -0
- package/es2015/casino-header-controller.cjs +1 -0
- package/es2015/casino-header-controller.js +16 -0
- package/package.json +21 -34
- package/CHANGELOG.md +0 -12
- package/README.md +0 -0
- package/dist/casino-header-controller.js +0 -4
- package/dist/casino-header-controller.js.map +0 -1
- package/documentation.md +0 -146
- package/index.html +0 -48
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoHeaderController.svelte +0 -1234
- package/src/i18n.js +0 -27
- package/src/images/arrow.png +0 -0
- package/src/images/english-flag.png +0 -0
- package/src/images/everymatrix-logo-white.png +0 -0
- package/src/index.ts +0 -4
- package/src/translations.js +0 -62
- package/stories/CasinoHeaderController.stories.js +0 -22
- package/tsconfig.json +0 -6
| @@ -0,0 +1,803 @@ | |
| 1 | 
            +
            import { $ as Q, a as je, b as We, S as ze, i as Be, f as w, c as Ge, s as Oe, d as qe, e as k, g as R, h as u, K as le, m as D, l as C, y as P, n as se, o as S, B as xe, G as Ue, q as Ye, w as W, D as O, L as pe, j as re, u as J, M as we, A as Pe, x as V, z as Z } from "./CasinoHamburgerMenu-BIvzNNkE.js";
         | 
| 2 | 
            +
            function Ke({ withLocale: r, translations: e }) {
         | 
| 3 | 
            +
              Q.subscribe((t) => {
         | 
| 4 | 
            +
                t == null && (je.set(e), Q.set(r));
         | 
| 5 | 
            +
              });
         | 
| 6 | 
            +
            }
         | 
| 7 | 
            +
            function oe(r, e) {
         | 
| 8 | 
            +
              We(r, e);
         | 
| 9 | 
            +
            }
         | 
| 10 | 
            +
            function Xe(r) {
         | 
| 11 | 
            +
              Q.set(r);
         | 
| 12 | 
            +
            }
         | 
| 13 | 
            +
            const ae = {
         | 
| 14 | 
            +
              en: {
         | 
| 15 | 
            +
                login: "Login",
         | 
| 16 | 
            +
                register: "Register",
         | 
| 17 | 
            +
                deposit: "Deposit"
         | 
| 18 | 
            +
              },
         | 
| 19 | 
            +
              "zh-hk": {
         | 
| 20 | 
            +
                login: "登錄",
         | 
| 21 | 
            +
                register: "登記",
         | 
| 22 | 
            +
                deposit: "訂金"
         | 
| 23 | 
            +
              },
         | 
| 24 | 
            +
              fr: {
         | 
| 25 | 
            +
                login: "Connexion",
         | 
| 26 | 
            +
                register: "Registre",
         | 
| 27 | 
            +
                deposit: "Dépôt"
         | 
| 28 | 
            +
              },
         | 
| 29 | 
            +
              tr: {
         | 
| 30 | 
            +
                login: "Giriş",
         | 
| 31 | 
            +
                register: "Kayıt",
         | 
| 32 | 
            +
                deposit: "Para Yatır"
         | 
| 33 | 
            +
              },
         | 
| 34 | 
            +
              ro: {
         | 
| 35 | 
            +
                login: "Autentificare",
         | 
| 36 | 
            +
                register: "Inregistrare",
         | 
| 37 | 
            +
                deposit: "Depozit"
         | 
| 38 | 
            +
              },
         | 
| 39 | 
            +
              es: {
         | 
| 40 | 
            +
                login: "Iniciar sesión",
         | 
| 41 | 
            +
                register: "Regístrate",
         | 
| 42 | 
            +
                deposit: "Deposita"
         | 
| 43 | 
            +
              },
         | 
| 44 | 
            +
              pt: {
         | 
| 45 | 
            +
                login: "Entrar",
         | 
| 46 | 
            +
                register: "Registro",
         | 
| 47 | 
            +
                deposit: "Depósito"
         | 
| 48 | 
            +
              },
         | 
| 49 | 
            +
              hr: {
         | 
| 50 | 
            +
                login: "Prijava",
         | 
| 51 | 
            +
                register: "Registracija",
         | 
| 52 | 
            +
                deposit: "Uplata"
         | 
| 53 | 
            +
              },
         | 
| 54 | 
            +
              "pt-br": {
         | 
| 55 | 
            +
                login: "Entrem",
         | 
| 56 | 
            +
                register: "Registro",
         | 
| 57 | 
            +
                deposit: "Depósito"
         | 
| 58 | 
            +
              },
         | 
| 59 | 
            +
              "es-mx": {
         | 
| 60 | 
            +
                login: "Entrar",
         | 
| 61 | 
            +
                register: "Registro",
         | 
| 62 | 
            +
                deposit: "Depósito"
         | 
| 63 | 
            +
              }
         | 
| 64 | 
            +
            };
         | 
| 65 | 
            +
            function Je(r) {
         | 
| 66 | 
            +
              qe(r, "svelte-1n5gh1", '.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::before,.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent}.CarouselContainer.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{padding:0}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{align-items:center}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::-webkit-scrollbar{display:none}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.active.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus,.CarouselContainer.svelte-1n5gh1 ul li.SecondaryMenu.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 ul li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus,.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1:focus{z-index:105}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1:hover>ul.svelte-1n5gh1.svelte-1n5gh1{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1:focus-within>ul.svelte-1n5gh1.svelte-1n5gh1{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselItems ul ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li:hover ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li:focus-within ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer.svelte-1n5gh1 .CarouselLeftArrow svg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselRightArrow svg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer.svelte-1n5gh1 ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{margin:0;padding:0;list-style:none}.CarouselContainer.svelte-1n5gh1 .CarouselNavWrap.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer.svelte-1n5gh1 .CarouselNavWrap.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1::-webkit-scrollbar{display:none}.CarouselContainer.svelte-1n5gh1 .CarouselItems.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:table;width:100%;text-align:center}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer.svelte-1n5gh1 .CarouselItems li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1{position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems li li.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:block}.CarouselContainer.svelte-1n5gh1 .CarouselItems button.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu li.svelte-1n5gh1:hover>a.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu li.svelte-1n5gh1:focus>a.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainer.svelte-1n5gh1 .CarouselItems.SecondaryMenu a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:focus{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A))}.CarouselContainer.svelte-1n5gh1 .CarouselItems ul.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer.svelte-1n5gh1 .CarouselItems .TouchOnly.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:none;left:-10px}.CarouselContainer.svelte-1n5gh1 .touch-device .CarouselItems .TouchOnly.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:inline-block}.CarouselContainer.svelte-1n5gh1 .touch-device .CarouselItems .TouchOnly a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer.svelte-1n5gh1 .isScrolling .CarouselItems ul.DropDown.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{left:-999em;opacity:0}.CarouselContainer.svelte-1n5gh1 .SubDropDown.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:hover,.CarouselContainer.svelte-1n5gh1 .SubDropDown.active.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:hover a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem.active a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:focus a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItems .CarouselItem:focus-within a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselItem a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.CarouselItems.svelte-1n5gh1 li a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child){padding-right:20px}.CarouselItems.svelte-1n5gh1 li a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems.svelte-1n5gh1 li:hover a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1 li:focus-within a.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1:hover>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems.svelte-1n5gh1>li.svelte-1n5gh1:focus-within>a.svelte-1n5gh1.svelte-1n5gh1:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselLeftArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1,.CarouselContainerHeaderMain.svelte-1n5gh1 .CarouselRightArrow.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:flex}}.CategoryIconImg.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{height:20px;margin:0 auto;display:block}.DisplayNone.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1.svelte-1n5gh1{display:none}');
         | 
| 67 | 
            +
            }
         | 
| 68 | 
            +
            function ie(r, e, t) {
         | 
| 69 | 
            +
              const s = r.slice();
         | 
| 70 | 
            +
              return s[50] = e[t], s[52] = t, s;
         | 
| 71 | 
            +
            }
         | 
| 72 | 
            +
            function ge(r, e, t) {
         | 
| 73 | 
            +
              const s = r.slice();
         | 
| 74 | 
            +
              return s[53] = e[t], s;
         | 
| 75 | 
            +
            }
         | 
| 76 | 
            +
            function he(r, e, t) {
         | 
| 77 | 
            +
              const s = r.slice();
         | 
| 78 | 
            +
              return s[56] = e[t], s[58] = t, s;
         | 
| 79 | 
            +
            }
         | 
| 80 | 
            +
            function ce(r) {
         | 
| 81 | 
            +
              let e = [], t = /* @__PURE__ */ new Map(), s, o = W(
         | 
| 82 | 
            +
                /*sliderdata*/
         | 
| 83 | 
            +
                r[9]
         | 
| 84 | 
            +
              );
         | 
| 85 | 
            +
              const a = (n) => (
         | 
| 86 | 
            +
                /*category*/
         | 
| 87 | 
            +
                n[50].id
         | 
| 88 | 
            +
              );
         | 
| 89 | 
            +
              for (let n = 0; n < o.length; n += 1) {
         | 
| 90 | 
            +
                let i = ie(r, o, n), c = a(i);
         | 
| 91 | 
            +
                t.set(c, e[n] = Ce(c, i));
         | 
| 92 | 
            +
              }
         | 
| 93 | 
            +
              return {
         | 
| 94 | 
            +
                c() {
         | 
| 95 | 
            +
                  for (let n = 0; n < e.length; n += 1)
         | 
| 96 | 
            +
                    e[n].c();
         | 
| 97 | 
            +
                  s = O();
         | 
| 98 | 
            +
                },
         | 
| 99 | 
            +
                m(n, i) {
         | 
| 100 | 
            +
                  for (let c = 0; c < e.length; c += 1)
         | 
| 101 | 
            +
                    e[c] && e[c].m(n, i);
         | 
| 102 | 
            +
                  D(n, s, i);
         | 
| 103 | 
            +
                },
         | 
| 104 | 
            +
                p(n, i) {
         | 
| 105 | 
            +
                  i[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
         | 
| 106 | 
            +
                  77775 && (o = W(
         | 
| 107 | 
            +
                    /*sliderdata*/
         | 
| 108 | 
            +
                    n[9]
         | 
| 109 | 
            +
                  ), e = pe(e, i, a, 1, n, o, t, s.parentNode, we, Ce, s, ie));
         | 
| 110 | 
            +
                },
         | 
| 111 | 
            +
                d(n) {
         | 
| 112 | 
            +
                  n && S(s);
         | 
| 113 | 
            +
                  for (let i = 0; i < e.length; i += 1)
         | 
| 114 | 
            +
                    e[i].d(n);
         | 
| 115 | 
            +
                }
         | 
| 116 | 
            +
              };
         | 
| 117 | 
            +
            }
         | 
| 118 | 
            +
            function Qe(r) {
         | 
| 119 | 
            +
              let e, t = (
         | 
| 120 | 
            +
                /*category*/
         | 
| 121 | 
            +
                r[50].name + ""
         | 
| 122 | 
            +
              ), s;
         | 
| 123 | 
            +
              return {
         | 
| 124 | 
            +
                c() {
         | 
| 125 | 
            +
                  e = k("button"), s = V(t), u(e, "class", "CategoryButton svelte-1n5gh1");
         | 
| 126 | 
            +
                },
         | 
| 127 | 
            +
                m(o, a) {
         | 
| 128 | 
            +
                  D(o, e, a), C(e, s);
         | 
| 129 | 
            +
                },
         | 
| 130 | 
            +
                p(o, a) {
         | 
| 131 | 
            +
                  a[0] & /*sliderdata*/
         | 
| 132 | 
            +
                  512 && t !== (t = /*category*/
         | 
| 133 | 
            +
                  o[50].name + "") && Z(s, t);
         | 
| 134 | 
            +
                },
         | 
| 135 | 
            +
                d(o) {
         | 
| 136 | 
            +
                  o && S(e);
         | 
| 137 | 
            +
                }
         | 
| 138 | 
            +
              };
         | 
| 139 | 
            +
            }
         | 
| 140 | 
            +
            function Ve(r) {
         | 
| 141 | 
            +
              let e, t = (
         | 
| 142 | 
            +
                /*category*/
         | 
| 143 | 
            +
                r[50].label + ""
         | 
| 144 | 
            +
              ), s, o;
         | 
| 145 | 
            +
              return {
         | 
| 146 | 
            +
                c() {
         | 
| 147 | 
            +
                  e = k("a"), s = V(t), u(e, "href", o = /*category*/
         | 
| 148 | 
            +
                  r[50].path), u(e, "class", "svelte-1n5gh1");
         | 
| 149 | 
            +
                },
         | 
| 150 | 
            +
                m(a, n) {
         | 
| 151 | 
            +
                  D(a, e, n), C(e, s);
         | 
| 152 | 
            +
                },
         | 
| 153 | 
            +
                p(a, n) {
         | 
| 154 | 
            +
                  n[0] & /*sliderdata*/
         | 
| 155 | 
            +
                  512 && t !== (t = /*category*/
         | 
| 156 | 
            +
                  a[50].label + "") && Z(s, t), n[0] & /*sliderdata*/
         | 
| 157 | 
            +
                  512 && o !== (o = /*category*/
         | 
| 158 | 
            +
                  a[50].path) && u(e, "href", o);
         | 
| 159 | 
            +
                },
         | 
| 160 | 
            +
                d(a) {
         | 
| 161 | 
            +
                  a && S(e);
         | 
| 162 | 
            +
                }
         | 
| 163 | 
            +
              };
         | 
| 164 | 
            +
            }
         | 
| 165 | 
            +
            function ue(r) {
         | 
| 166 | 
            +
              let e, t = (
         | 
| 167 | 
            +
                /*subGroupsData*/
         | 
| 168 | 
            +
                r[10].length > 0 && /*showsubgroups*/
         | 
| 169 | 
            +
                r[2] == "true" && ve(r)
         | 
| 170 | 
            +
              );
         | 
| 171 | 
            +
              return {
         | 
| 172 | 
            +
                c() {
         | 
| 173 | 
            +
                  t && t.c(), e = O();
         | 
| 174 | 
            +
                },
         | 
| 175 | 
            +
                m(s, o) {
         | 
| 176 | 
            +
                  t && t.m(s, o), D(s, e, o);
         | 
| 177 | 
            +
                },
         | 
| 178 | 
            +
                p(s, o) {
         | 
| 179 | 
            +
                  /*subGroupsData*/
         | 
| 180 | 
            +
                  s[10].length > 0 && /*showsubgroups*/
         | 
| 181 | 
            +
                  s[2] == "true" ? t ? t.p(s, o) : (t = ve(s), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
         | 
| 182 | 
            +
                },
         | 
| 183 | 
            +
                d(s) {
         | 
| 184 | 
            +
                  s && S(e), t && t.d(s);
         | 
| 185 | 
            +
                }
         | 
| 186 | 
            +
              };
         | 
| 187 | 
            +
            }
         | 
| 188 | 
            +
            function ve(r) {
         | 
| 189 | 
            +
              let e, t = W(
         | 
| 190 | 
            +
                /*subGroupsData*/
         | 
| 191 | 
            +
                r[10]
         | 
| 192 | 
            +
              ), s = [];
         | 
| 193 | 
            +
              for (let o = 0; o < t.length; o += 1)
         | 
| 194 | 
            +
                s[o] = me(ge(r, t, o));
         | 
| 195 | 
            +
              return {
         | 
| 196 | 
            +
                c() {
         | 
| 197 | 
            +
                  e = k("ul");
         | 
| 198 | 
            +
                  for (let o = 0; o < s.length; o += 1)
         | 
| 199 | 
            +
                    s[o].c();
         | 
| 200 | 
            +
                  u(e, "class", "DropDown svelte-1n5gh1");
         | 
| 201 | 
            +
                },
         | 
| 202 | 
            +
                m(o, a) {
         | 
| 203 | 
            +
                  D(o, e, a);
         | 
| 204 | 
            +
                  for (let n = 0; n < s.length; n += 1)
         | 
| 205 | 
            +
                    s[n] && s[n].m(e, null);
         | 
| 206 | 
            +
                },
         | 
| 207 | 
            +
                p(o, a) {
         | 
| 208 | 
            +
                  if (a[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
         | 
| 209 | 
            +
                  10176) {
         | 
| 210 | 
            +
                    t = W(
         | 
| 211 | 
            +
                      /*subGroupsData*/
         | 
| 212 | 
            +
                      o[10]
         | 
| 213 | 
            +
                    );
         | 
| 214 | 
            +
                    let n;
         | 
| 215 | 
            +
                    for (n = 0; n < t.length; n += 1) {
         | 
| 216 | 
            +
                      const i = ge(o, t, n);
         | 
| 217 | 
            +
                      s[n] ? s[n].p(i, a) : (s[n] = me(i), s[n].c(), s[n].m(e, null));
         | 
| 218 | 
            +
                    }
         | 
| 219 | 
            +
                    for (; n < s.length; n += 1)
         | 
| 220 | 
            +
                      s[n].d(1);
         | 
| 221 | 
            +
                    s.length = t.length;
         | 
| 222 | 
            +
                  }
         | 
| 223 | 
            +
                },
         | 
| 224 | 
            +
                d(o) {
         | 
| 225 | 
            +
                  o && S(e), Pe(s, o);
         | 
| 226 | 
            +
                }
         | 
| 227 | 
            +
              };
         | 
| 228 | 
            +
            }
         | 
| 229 | 
            +
            function de(r) {
         | 
| 230 | 
            +
              var p;
         | 
| 231 | 
            +
              let e, t, s = (
         | 
| 232 | 
            +
                /*subGroupItem*/
         | 
| 233 | 
            +
                ((p = r[56]) == null ? void 0 : p.name) + ""
         | 
| 234 | 
            +
              ), o, a, n, i, c;
         | 
| 235 | 
            +
              function F(...d) {
         | 
| 236 | 
            +
                return (
         | 
| 237 | 
            +
                  /*click_handler_1*/
         | 
| 238 | 
            +
                  r[32](
         | 
| 239 | 
            +
                    /*category*/
         | 
| 240 | 
            +
                    r[50],
         | 
| 241 | 
            +
                    /*index*/
         | 
| 242 | 
            +
                    r[52],
         | 
| 243 | 
            +
                    /*subGroupItem*/
         | 
| 244 | 
            +
                    r[56],
         | 
| 245 | 
            +
                    /*subindex*/
         | 
| 246 | 
            +
                    r[58],
         | 
| 247 | 
            +
                    ...d
         | 
| 248 | 
            +
                  )
         | 
| 249 | 
            +
                );
         | 
| 250 | 
            +
              }
         | 
| 251 | 
            +
              return {
         | 
| 252 | 
            +
                c() {
         | 
| 253 | 
            +
                  e = k("li"), t = k("a"), o = V(s), n = R(), u(t, "class", a = "SubDropDown " + /*index*/
         | 
| 254 | 
            +
                  (r[52] == /*activeIndex*/
         | 
| 255 | 
            +
                  r[6] && /*activeSubIndex*/
         | 
| 256 | 
            +
                  (r[7] == /*subindex*/
         | 
| 257 | 
            +
                  r[58] || /*prevSubIndex*/
         | 
| 258 | 
            +
                  r[8] == /*subindex*/
         | 
| 259 | 
            +
                  r[58]) ? "active" : "") + " svelte-1n5gh1"), u(e, "class", "svelte-1n5gh1");
         | 
| 260 | 
            +
                },
         | 
| 261 | 
            +
                m(d, y) {
         | 
| 262 | 
            +
                  D(d, e, y), C(e, t), C(t, o), C(e, n), i || (c = P(e, "click", F), i = !0);
         | 
| 263 | 
            +
                },
         | 
| 264 | 
            +
                p(d, y) {
         | 
| 265 | 
            +
                  var M;
         | 
| 266 | 
            +
                  r = d, y[0] & /*subGroupsData*/
         | 
| 267 | 
            +
                  1024 && s !== (s = /*subGroupItem*/
         | 
| 268 | 
            +
                  ((M = r[56]) == null ? void 0 : M.name) + "") && Z(o, s), y[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
         | 
| 269 | 
            +
                  1984 && a !== (a = "SubDropDown " + /*index*/
         | 
| 270 | 
            +
                  (r[52] == /*activeIndex*/
         | 
| 271 | 
            +
                  r[6] && /*activeSubIndex*/
         | 
| 272 | 
            +
                  (r[7] == /*subindex*/
         | 
| 273 | 
            +
                  r[58] || /*prevSubIndex*/
         | 
| 274 | 
            +
                  r[8] == /*subindex*/
         | 
| 275 | 
            +
                  r[58]) ? "active" : "") + " svelte-1n5gh1") && u(t, "class", a);
         | 
| 276 | 
            +
                },
         | 
| 277 | 
            +
                d(d) {
         | 
| 278 | 
            +
                  d && S(e), i = !1, c();
         | 
| 279 | 
            +
                }
         | 
| 280 | 
            +
              };
         | 
| 281 | 
            +
            }
         | 
| 282 | 
            +
            function fe(r, e) {
         | 
| 283 | 
            +
              let t, s, o = (
         | 
| 284 | 
            +
                /*index*/
         | 
| 285 | 
            +
                e[52] == /*subGroup*/
         | 
| 286 | 
            +
                e[53].index && de(e)
         | 
| 287 | 
            +
              );
         | 
| 288 | 
            +
              return {
         | 
| 289 | 
            +
                key: r,
         | 
| 290 | 
            +
                first: null,
         | 
| 291 | 
            +
                c() {
         | 
| 292 | 
            +
                  t = O(), o && o.c(), s = O(), this.first = t;
         | 
| 293 | 
            +
                },
         | 
| 294 | 
            +
                m(a, n) {
         | 
| 295 | 
            +
                  D(a, t, n), o && o.m(a, n), D(a, s, n);
         | 
| 296 | 
            +
                },
         | 
| 297 | 
            +
                p(a, n) {
         | 
| 298 | 
            +
                  e = a, /*index*/
         | 
| 299 | 
            +
                  e[52] == /*subGroup*/
         | 
| 300 | 
            +
                  e[53].index ? o ? o.p(e, n) : (o = de(e), o.c(), o.m(s.parentNode, s)) : o && (o.d(1), o = null);
         | 
| 301 | 
            +
                },
         | 
| 302 | 
            +
                d(a) {
         | 
| 303 | 
            +
                  a && (S(t), S(s)), o && o.d(a);
         | 
| 304 | 
            +
                }
         | 
| 305 | 
            +
              };
         | 
| 306 | 
            +
            }
         | 
| 307 | 
            +
            function me(r) {
         | 
| 308 | 
            +
              let e = [], t = /* @__PURE__ */ new Map(), s, o = W(
         | 
| 309 | 
            +
                /*subGroup*/
         | 
| 310 | 
            +
                r[53].items
         | 
| 311 | 
            +
              );
         | 
| 312 | 
            +
              const a = (n) => (
         | 
| 313 | 
            +
                /*subGroupItem*/
         | 
| 314 | 
            +
                n[56].id
         | 
| 315 | 
            +
              );
         | 
| 316 | 
            +
              for (let n = 0; n < o.length; n += 1) {
         | 
| 317 | 
            +
                let i = he(r, o, n), c = a(i);
         | 
| 318 | 
            +
                t.set(c, e[n] = fe(c, i));
         | 
| 319 | 
            +
              }
         | 
| 320 | 
            +
              return {
         | 
| 321 | 
            +
                c() {
         | 
| 322 | 
            +
                  for (let n = 0; n < e.length; n += 1)
         | 
| 323 | 
            +
                    e[n].c();
         | 
| 324 | 
            +
                  s = O();
         | 
| 325 | 
            +
                },
         | 
| 326 | 
            +
                m(n, i) {
         | 
| 327 | 
            +
                  for (let c = 0; c < e.length; c += 1)
         | 
| 328 | 
            +
                    e[c] && e[c].m(n, i);
         | 
| 329 | 
            +
                  D(n, s, i);
         | 
| 330 | 
            +
                },
         | 
| 331 | 
            +
                p(n, i) {
         | 
| 332 | 
            +
                  i[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
         | 
| 333 | 
            +
                  10176 && (o = W(
         | 
| 334 | 
            +
                    /*subGroup*/
         | 
| 335 | 
            +
                    n[53].items
         | 
| 336 | 
            +
                  ), e = pe(e, i, a, 1, n, o, t, s.parentNode, we, fe, s, he));
         | 
| 337 | 
            +
                },
         | 
| 338 | 
            +
                d(n) {
         | 
| 339 | 
            +
                  n && S(s);
         | 
| 340 | 
            +
                  for (let i = 0; i < e.length; i += 1)
         | 
| 341 | 
            +
                    e[i].d(n);
         | 
| 342 | 
            +
                }
         | 
| 343 | 
            +
              };
         | 
| 344 | 
            +
            }
         | 
| 345 | 
            +
            function Ce(r, e) {
         | 
| 346 | 
            +
              let t, s, o, a, n, i, c, F, p, d, y;
         | 
| 347 | 
            +
              function M(v, _) {
         | 
| 348 | 
            +
                return (
         | 
| 349 | 
            +
                  /*location*/
         | 
| 350 | 
            +
                  v[0] === "headerMain" ? Ve : Qe
         | 
| 351 | 
            +
                );
         | 
| 352 | 
            +
              }
         | 
| 353 | 
            +
              let I = M(e), f = I(e), g = (
         | 
| 354 | 
            +
                /*itemsActive*/
         | 
| 355 | 
            +
                e[11][
         | 
| 356 | 
            +
                  /*index*/
         | 
| 357 | 
            +
                  e[52]
         | 
| 358 | 
            +
                ] == !0 && ue(e)
         | 
| 359 | 
            +
              );
         | 
| 360 | 
            +
              function b(...v) {
         | 
| 361 | 
            +
                return (
         | 
| 362 | 
            +
                  /*click_handler_2*/
         | 
| 363 | 
            +
                  e[33](
         | 
| 364 | 
            +
                    /*category*/
         | 
| 365 | 
            +
                    e[50],
         | 
| 366 | 
            +
                    /*index*/
         | 
| 367 | 
            +
                    e[52],
         | 
| 368 | 
            +
                    ...v
         | 
| 369 | 
            +
                  )
         | 
| 370 | 
            +
                );
         | 
| 371 | 
            +
              }
         | 
| 372 | 
            +
              return {
         | 
| 373 | 
            +
                key: r,
         | 
| 374 | 
            +
                first: null,
         | 
| 375 | 
            +
                c() {
         | 
| 376 | 
            +
                  var v, _;
         | 
| 377 | 
            +
                  t = k("li"), s = k("div"), o = k("img"), i = R(), f.c(), c = R(), g && g.c(), F = R(), u(o, "class", a = "CategoryIconImg " + /*categoriesicon*/
         | 
| 378 | 
            +
                  (e[3] === "true" ? "" : "DisplayNone") + " svelte-1n5gh1"), re(o.src, n = /*handleSrc*/
         | 
| 379 | 
            +
                  e[16](
         | 
| 380 | 
            +
                    /*category*/
         | 
| 381 | 
            +
                    e[50]
         | 
| 382 | 
            +
                  )) || u(o, "src", n), u(s, "class", "CategoryIcon svelte-1n5gh1"), u(t, "class", p = "CarouselItem " + /*activeindex*/
         | 
| 383 | 
            +
                  (((v = e[1]) == null ? void 0 : v.toString().indexOf("$")) > -1 ? (
         | 
| 384 | 
            +
                    /*activeindex*/
         | 
| 385 | 
            +
                    ((_ = e[1]) == null ? void 0 : _.split("$").pop()) == /*category*/
         | 
| 386 | 
            +
                    e[50].id.split("$").pop() ? "active" : ""
         | 
| 387 | 
            +
                  ) : (
         | 
| 388 | 
            +
                    /*activeindex*/
         | 
| 389 | 
            +
                    e[1] == /*category*/
         | 
| 390 | 
            +
                    e[50].id ? "active" : ""
         | 
| 391 | 
            +
                  )) + " " + /*location*/
         | 
| 392 | 
            +
                  (e[0] == "headerMain" ? "" : "SecondaryMenu") + " svelte-1n5gh1"), u(t, "part", "CarouselItem"), this.first = t;
         | 
| 393 | 
            +
                },
         | 
| 394 | 
            +
                m(v, _) {
         | 
| 395 | 
            +
                  D(v, t, _), C(t, s), C(s, o), C(t, i), f.m(t, null), C(t, c), g && g.m(t, null), C(t, F), d || (y = P(t, "click", b), d = !0);
         | 
| 396 | 
            +
                },
         | 
| 397 | 
            +
                p(v, _) {
         | 
| 398 | 
            +
                  var T, q;
         | 
| 399 | 
            +
                  e = v, _[0] & /*categoriesicon*/
         | 
| 400 | 
            +
                  8 && a !== (a = "CategoryIconImg " + /*categoriesicon*/
         | 
| 401 | 
            +
                  (e[3] === "true" ? "" : "DisplayNone") + " svelte-1n5gh1") && u(o, "class", a), _[0] & /*sliderdata*/
         | 
| 402 | 
            +
                  512 && !re(o.src, n = /*handleSrc*/
         | 
| 403 | 
            +
                  e[16](
         | 
| 404 | 
            +
                    /*category*/
         | 
| 405 | 
            +
                    e[50]
         | 
| 406 | 
            +
                  )) && u(o, "src", n), I === (I = M(e)) && f ? f.p(e, _) : (f.d(1), f = I(e), f && (f.c(), f.m(t, c))), /*itemsActive*/
         | 
| 407 | 
            +
                  e[11][
         | 
| 408 | 
            +
                    /*index*/
         | 
| 409 | 
            +
                    e[52]
         | 
| 410 | 
            +
                  ] == !0 ? g ? g.p(e, _) : (g = ue(e), g.c(), g.m(t, F)) : g && (g.d(1), g = null), _[0] & /*activeindex, sliderdata, location*/
         | 
| 411 | 
            +
                  515 && p !== (p = "CarouselItem " + /*activeindex*/
         | 
| 412 | 
            +
                  (((T = e[1]) == null ? void 0 : T.toString().indexOf("$")) > -1 ? (
         | 
| 413 | 
            +
                    /*activeindex*/
         | 
| 414 | 
            +
                    ((q = e[1]) == null ? void 0 : q.split("$").pop()) == /*category*/
         | 
| 415 | 
            +
                    e[50].id.split("$").pop() ? "active" : ""
         | 
| 416 | 
            +
                  ) : (
         | 
| 417 | 
            +
                    /*activeindex*/
         | 
| 418 | 
            +
                    e[1] == /*category*/
         | 
| 419 | 
            +
                    e[50].id ? "active" : ""
         | 
| 420 | 
            +
                  )) + " " + /*location*/
         | 
| 421 | 
            +
                  (e[0] == "headerMain" ? "" : "SecondaryMenu") + " svelte-1n5gh1") && u(t, "class", p);
         | 
| 422 | 
            +
                },
         | 
| 423 | 
            +
                d(v) {
         | 
| 424 | 
            +
                  v && S(t), f.d(), g && g.d(), d = !1, y();
         | 
| 425 | 
            +
                }
         | 
| 426 | 
            +
              };
         | 
| 427 | 
            +
            }
         | 
| 428 | 
            +
            function Ze(r) {
         | 
| 429 | 
            +
              let e, t, s, o, a, n, i, c, F, p, d, y, M, I, f, g = (
         | 
| 430 | 
            +
                /*sliderdata*/
         | 
| 431 | 
            +
                r[9].length > 0 && ce(r)
         | 
| 432 | 
            +
              );
         | 
| 433 | 
            +
              return {
         | 
| 434 | 
            +
                c() {
         | 
| 435 | 
            +
                  e = k("div"), t = k("div"), s = k("div"), s.innerHTML = '<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-1n5gh1"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" class="svelte-1n5gh1"></path></svg>', o = R(), a = k("div"), n = k("ul"), i = k("li"), i.innerHTML = '<a href="#CarouselNav" class="svelte-1n5gh1">Close Subs</a>', c = R(), g && g.c(), F = R(), p = k("div"), p.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" class="svelte-1n5gh1"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" class="svelte-1n5gh1"></path></svg>', u(s, "class", "CarouselLeftArrow svelte-1n5gh1"), u(i, "class", "TouchOnly svelte-1n5gh1"), u(n, "id", "CarouselNav"), u(n, "class", "CarouselItems svelte-1n5gh1"), u(a, "class", "CarouselNavWrap svelte-1n5gh1"), u(p, "class", "CarouselRightArrow svelte-1n5gh1"), u(t, "class", d = le(`CarouselContainer CarouselContainerMobile ${/*location*/
         | 
| 436 | 
            +
                  r[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) + " svelte-1n5gh1"), u(t, "style", y = /*location*/
         | 
| 437 | 
            +
                  r[0] === "headerMain" ? "max-width: auto" : void 0), u(e, "class", M = "CarouselWrapper " + /*location*/
         | 
| 438 | 
            +
                  (r[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " svelte-1n5gh1");
         | 
| 439 | 
            +
                },
         | 
| 440 | 
            +
                m(b, v) {
         | 
| 441 | 
            +
                  D(b, e, v), C(e, t), C(t, s), C(t, o), C(t, a), C(a, n), C(n, i), C(n, c), g && g.m(n, null), r[34](n), r[35](a), C(t, F), C(t, p), r[37](e), I || (f = [
         | 
| 442 | 
            +
                    P(
         | 
| 443 | 
            +
                      s,
         | 
| 444 | 
            +
                      "click",
         | 
| 445 | 
            +
                      /*click_handler*/
         | 
| 446 | 
            +
                      r[31]
         | 
| 447 | 
            +
                    ),
         | 
| 448 | 
            +
                    P(
         | 
| 449 | 
            +
                      p,
         | 
| 450 | 
            +
                      "click",
         | 
| 451 | 
            +
                      /*click_handler_3*/
         | 
| 452 | 
            +
                      r[36]
         | 
| 453 | 
            +
                    )
         | 
| 454 | 
            +
                  ], I = !0);
         | 
| 455 | 
            +
                },
         | 
| 456 | 
            +
                p(b, v) {
         | 
| 457 | 
            +
                  /*sliderdata*/
         | 
| 458 | 
            +
                  b[9].length > 0 ? g ? g.p(b, v) : (g = ce(b), g.c(), g.m(n, null)) : g && (g.d(1), g = null), v[0] & /*location*/
         | 
| 459 | 
            +
                  1 && d !== (d = le(`CarouselContainer CarouselContainerMobile ${/*location*/
         | 
| 460 | 
            +
                  b[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) + " svelte-1n5gh1") && u(t, "class", d), v[0] & /*location*/
         | 
| 461 | 
            +
                  1 && y !== (y = /*location*/
         | 
| 462 | 
            +
                  b[0] === "headerMain" ? "max-width: auto" : void 0) && u(t, "style", y), v[0] & /*location*/
         | 
| 463 | 
            +
                  1 && M !== (M = "CarouselWrapper " + /*location*/
         | 
| 464 | 
            +
                  (b[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "") + " svelte-1n5gh1") && u(e, "class", M);
         | 
| 465 | 
            +
                },
         | 
| 466 | 
            +
                i: se,
         | 
| 467 | 
            +
                o: se,
         | 
| 468 | 
            +
                d(b) {
         | 
| 469 | 
            +
                  b && S(e), g && g.d(), r[34](null), r[35](null), r[37](null), I = !1, xe(f);
         | 
| 470 | 
            +
                }
         | 
| 471 | 
            +
              };
         | 
| 472 | 
            +
            }
         | 
| 473 | 
            +
            function $e(r, e, t) {
         | 
| 474 | 
            +
              let { endpoint: s = "" } = e, { datasource: o = "" } = e, { onclickeventname: a = "defaultEvent" } = e, { actionevent: n = "defaultEvent" } = e, { favoritesnumber: i = "0" } = e, { location: c = "" } = e, { clientstyling: F = "" } = e, { clientstylingurl: p = "" } = e, { identity: d = "" } = e, { translationurl: y = "" } = e, { isprimarymenu: M = !1 } = e, { issecondarymenu: I = !1 } = e, { lang: f = "" } = e, { activeindex: g = "0" } = e, { showsubgroups: b = "false" } = e, { categoriesicon: v = "false" } = e, { lobbyiconimage: _ = "" } = e, { mygamesiconimage: T = "" } = e;
         | 
| 475 | 
            +
              Ke({ withLocale: "en", translations: {} });
         | 
| 476 | 
            +
              const q = () => {
         | 
| 477 | 
            +
                fetch(y).then((h) => h.json()).then((h) => {
         | 
| 478 | 
            +
                  Object.keys(h).forEach((m) => {
         | 
| 479 | 
            +
                    oe(m, h[m]);
         | 
| 480 | 
            +
                  });
         | 
| 481 | 
            +
                }).catch((h) => {
         | 
| 482 | 
            +
                  console.log(h);
         | 
| 483 | 
            +
                });
         | 
| 484 | 
            +
              };
         | 
| 485 | 
            +
              Object.keys(ae).forEach((l) => {
         | 
| 486 | 
            +
                oe(l, ae[l]);
         | 
| 487 | 
            +
              });
         | 
| 488 | 
            +
              let ye = window.navigator.userAgent;
         | 
| 489 | 
            +
              Ue(ye);
         | 
| 490 | 
            +
              let j, z, B, K, H, G = [], x = [], U = [], L, X = (l, h, m, E, A) => {
         | 
| 491 | 
            +
                var N;
         | 
| 492 | 
            +
                if (!(l.subGroups && E === null)) {
         | 
| 493 | 
            +
                  if (Y(), t(6, z = h), t(6, z), A != "secondary") {
         | 
| 494 | 
            +
                    window.postMessage(
         | 
| 495 | 
            +
                      {
         | 
| 496 | 
            +
                        type: n == "CategoryChange" ? "CategoryChange" : "NavigateTo",
         | 
| 497 | 
            +
                        buzz: "1",
         | 
| 498 | 
            +
                        itemId: l.id,
         | 
| 499 | 
            +
                        index: h,
         | 
| 500 | 
            +
                        item: l,
         | 
| 501 | 
            +
                        path: l.path,
         | 
| 502 | 
            +
                        externalLink: l.externalLink || !1,
         | 
| 503 | 
            +
                        target: ((N = l.attrs) == null ? void 0 : N.target) || null
         | 
| 504 | 
            +
                      },
         | 
| 505 | 
            +
                      window.location.href
         | 
| 506 | 
            +
                    ), t(7, B = null), t(8, K = null);
         | 
| 507 | 
            +
                    return;
         | 
| 508 | 
            +
                  }
         | 
| 509 | 
            +
                  t(7, B = E), t(7, B), t(8, K = B), window.postMessage(
         | 
| 510 | 
            +
                    {
         | 
| 511 | 
            +
                      type: n,
         | 
| 512 | 
            +
                      itemId: m.id,
         | 
| 513 | 
            +
                      subIndex: E,
         | 
| 514 | 
            +
                      subItem: m
         | 
| 515 | 
            +
                    },
         | 
| 516 | 
            +
                    window.location.href
         | 
| 517 | 
            +
                  );
         | 
| 518 | 
            +
                }
         | 
| 519 | 
            +
              }, $ = () => {
         | 
| 520 | 
            +
                L.scrollBy({ left: -250, behavior: "smooth" });
         | 
| 521 | 
            +
              }, ee = () => {
         | 
| 522 | 
            +
                L.scrollBy({ left: 250, behavior: "smooth" });
         | 
| 523 | 
            +
              };
         | 
| 524 | 
            +
              const te = (l) => {
         | 
| 525 | 
            +
                l.data.type == "SliderData" && l.data.identity == d && (t(9, G = l.data.data), t(11, U = new Array(G.length).fill(!1)), b == "true" && ke()), l.data.type == "GoToHomepage" && G.forEach((h, m) => {
         | 
| 526 | 
            +
                  h.path.endsWith("/casino") && (t(6, z = m), t(6, z));
         | 
| 527 | 
            +
                });
         | 
| 528 | 
            +
              }, be = () => {
         | 
| 529 | 
            +
                Xe(f);
         | 
| 530 | 
            +
              }, _e = (l, h, m) => {
         | 
| 531 | 
            +
                if (c == "secondaryMenu" && s && o && f && l.id) {
         | 
| 532 | 
            +
                  let E = new URL(`${s}/v1/casino/groups/${o}/${l.id}/subGroups?language=${f}`);
         | 
| 533 | 
            +
                  fetch(E.href).then((A) => A.json()).then((A) => {
         | 
| 534 | 
            +
                    A.index = h, t(10, x = x.concat(A)), b == "false" && window.postMessage(
         | 
| 535 | 
            +
                      {
         | 
| 536 | 
            +
                        type: n,
         | 
| 537 | 
            +
                        itemId: l.id,
         | 
| 538 | 
            +
                        index: h,
         | 
| 539 | 
            +
                        item: l
         | 
| 540 | 
            +
                      },
         | 
| 541 | 
            +
                      window.location.href
         | 
| 542 | 
            +
                    );
         | 
| 543 | 
            +
                    const N = [];
         | 
| 544 | 
            +
                    x.map((Re) => (Re.items.forEach((ne) => {
         | 
| 545 | 
            +
                      N.find((Te) => ne.id == Te) || N.push(ne.id);
         | 
| 546 | 
            +
                    }), N.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: N }, window.location.href);
         | 
| 547 | 
            +
                  }).then(() => {
         | 
| 548 | 
            +
                    j.querySelectorAll(".DropDown") && Y();
         | 
| 549 | 
            +
                  });
         | 
| 550 | 
            +
                }
         | 
| 551 | 
            +
                c == "headerMain" && window.postMessage({ type: n, item: l }, window.location.href);
         | 
| 552 | 
            +
              }, Y = () => {
         | 
| 553 | 
            +
                const l = j.querySelectorAll(".DropDown");
         | 
| 554 | 
            +
                document.activeElement.blur(), L.classList.add("isScrolling");
         | 
| 555 | 
            +
                for (let h = 0; h < l.length; h++)
         | 
| 556 | 
            +
                  l[h].style.transform = "translateX(-" + L.scrollLeft + "px)";
         | 
| 557 | 
            +
                L.classList.remove("isScrolling");
         | 
| 558 | 
            +
              }, ke = () => {
         | 
| 559 | 
            +
                G.forEach((l, h) => {
         | 
| 560 | 
            +
                  var m;
         | 
| 561 | 
            +
                  ((m = l == null ? void 0 : l.subGroups) == null ? void 0 : m.count) > 0 && (t(11, U[h] = !0, U), _e(l, h));
         | 
| 562 | 
            +
                });
         | 
| 563 | 
            +
              }, Fe = () => {
         | 
| 564 | 
            +
                let l = document.createElement("style");
         | 
| 565 | 
            +
                l.innerHTML = F, H.appendChild(l);
         | 
| 566 | 
            +
              }, Me = () => {
         | 
| 567 | 
            +
                let l = document.createElement("style"), h = new URL(p);
         | 
| 568 | 
            +
                fetch(h.href).then((m) => m.text()).then((m) => {
         | 
| 569 | 
            +
                  l.innerHTML = m, setTimeout(
         | 
| 570 | 
            +
                    () => {
         | 
| 571 | 
            +
                      H.appendChild(l);
         | 
| 572 | 
            +
                    },
         | 
| 573 | 
            +
                    1
         | 
| 574 | 
            +
                  );
         | 
| 575 | 
            +
                });
         | 
| 576 | 
            +
              }, Ie = (l) => {
         | 
| 577 | 
            +
                let h = "";
         | 
| 578 | 
            +
                return l.id === "LOBBY" ? h = _ : l.id === "MYGAMES" && (h = T), l.icon || h;
         | 
| 579 | 
            +
              };
         | 
| 580 | 
            +
              Ye(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", te, !1), setTimeout(
         | 
| 581 | 
            +
                () => {
         | 
| 582 | 
            +
                  L.addEventListener("scroll", Y);
         | 
| 583 | 
            +
                },
         | 
| 584 | 
            +
                500
         | 
| 585 | 
            +
              ), () => {
         | 
| 586 | 
            +
                window.removeEventListener("message", te), j.removeEventListener("scroll", Y);
         | 
| 587 | 
            +
              }));
         | 
| 588 | 
            +
              const De = () => $(), Se = (l, h, m, E, A) => {
         | 
| 589 | 
            +
                X(l, h, m, E, "secondary"), A.stopPropagation();
         | 
| 590 | 
            +
              }, Le = (l, h, m) => {
         | 
| 591 | 
            +
                X(l, h, null, null, "main"), m.preventDefault();
         | 
| 592 | 
            +
              };
         | 
| 593 | 
            +
              function Ae(l) {
         | 
| 594 | 
            +
                J[l ? "unshift" : "push"](() => {
         | 
| 595 | 
            +
                  j = l, t(5, j);
         | 
| 596 | 
            +
                });
         | 
| 597 | 
            +
              }
         | 
| 598 | 
            +
              function He(l) {
         | 
| 599 | 
            +
                J[l ? "unshift" : "push"](() => {
         | 
| 600 | 
            +
                  L = l, t(12, L);
         | 
| 601 | 
            +
                });
         | 
| 602 | 
            +
              }
         | 
| 603 | 
            +
              const Ee = () => ee();
         | 
| 604 | 
            +
              function Ne(l) {
         | 
| 605 | 
            +
                J[l ? "unshift" : "push"](() => {
         | 
| 606 | 
            +
                  H = l, t(4, H);
         | 
| 607 | 
            +
                });
         | 
| 608 | 
            +
              }
         | 
| 609 | 
            +
              return r.$$set = (l) => {
         | 
| 610 | 
            +
                "endpoint" in l && t(17, s = l.endpoint), "datasource" in l && t(18, o = l.datasource), "onclickeventname" in l && t(19, a = l.onclickeventname), "actionevent" in l && t(20, n = l.actionevent), "favoritesnumber" in l && t(21, i = l.favoritesnumber), "location" in l && t(0, c = l.location), "clientstyling" in l && t(22, F = l.clientstyling), "clientstylingurl" in l && t(23, p = l.clientstylingurl), "identity" in l && t(24, d = l.identity), "translationurl" in l && t(25, y = l.translationurl), "isprimarymenu" in l && t(26, M = l.isprimarymenu), "issecondarymenu" in l && t(27, I = l.issecondarymenu), "lang" in l && t(28, f = l.lang), "activeindex" in l && t(1, g = l.activeindex), "showsubgroups" in l && t(2, b = l.showsubgroups), "categoriesicon" in l && t(3, v = l.categoriesicon), "lobbyiconimage" in l && t(29, _ = l.lobbyiconimage), "mygamesiconimage" in l && t(30, T = l.mygamesiconimage);
         | 
| 611 | 
            +
              }, r.$$.update = () => {
         | 
| 612 | 
            +
                r.$$.dirty[0] & /*activeindex*/
         | 
| 613 | 
            +
                2, r.$$.dirty[0] & /*translationurl*/
         | 
| 614 | 
            +
                33554432 && y && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
         | 
| 615 | 
            +
                4194320 && F && H && Fe(), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
         | 
| 616 | 
            +
                8388624 && p && H && Me(), r.$$.dirty[0] & /*lang*/
         | 
| 617 | 
            +
                268435456 && f && be();
         | 
| 618 | 
            +
              }, [
         | 
| 619 | 
            +
                c,
         | 
| 620 | 
            +
                g,
         | 
| 621 | 
            +
                b,
         | 
| 622 | 
            +
                v,
         | 
| 623 | 
            +
                H,
         | 
| 624 | 
            +
                j,
         | 
| 625 | 
            +
                z,
         | 
| 626 | 
            +
                B,
         | 
| 627 | 
            +
                K,
         | 
| 628 | 
            +
                G,
         | 
| 629 | 
            +
                x,
         | 
| 630 | 
            +
                U,
         | 
| 631 | 
            +
                L,
         | 
| 632 | 
            +
                X,
         | 
| 633 | 
            +
                $,
         | 
| 634 | 
            +
                ee,
         | 
| 635 | 
            +
                Ie,
         | 
| 636 | 
            +
                s,
         | 
| 637 | 
            +
                o,
         | 
| 638 | 
            +
                a,
         | 
| 639 | 
            +
                n,
         | 
| 640 | 
            +
                i,
         | 
| 641 | 
            +
                F,
         | 
| 642 | 
            +
                p,
         | 
| 643 | 
            +
                d,
         | 
| 644 | 
            +
                y,
         | 
| 645 | 
            +
                M,
         | 
| 646 | 
            +
                I,
         | 
| 647 | 
            +
                f,
         | 
| 648 | 
            +
                _,
         | 
| 649 | 
            +
                T,
         | 
| 650 | 
            +
                De,
         | 
| 651 | 
            +
                Se,
         | 
| 652 | 
            +
                Le,
         | 
| 653 | 
            +
                Ae,
         | 
| 654 | 
            +
                He,
         | 
| 655 | 
            +
                Ee,
         | 
| 656 | 
            +
                Ne
         | 
| 657 | 
            +
              ];
         | 
| 658 | 
            +
            }
         | 
| 659 | 
            +
            class et extends ze {
         | 
| 660 | 
            +
              constructor(e) {
         | 
| 661 | 
            +
                super(), Be(
         | 
| 662 | 
            +
                  this,
         | 
| 663 | 
            +
                  e,
         | 
| 664 | 
            +
                  $e,
         | 
| 665 | 
            +
                  Ze,
         | 
| 666 | 
            +
                  Oe,
         | 
| 667 | 
            +
                  {
         | 
| 668 | 
            +
                    endpoint: 17,
         | 
| 669 | 
            +
                    datasource: 18,
         | 
| 670 | 
            +
                    onclickeventname: 19,
         | 
| 671 | 
            +
                    actionevent: 20,
         | 
| 672 | 
            +
                    favoritesnumber: 21,
         | 
| 673 | 
            +
                    location: 0,
         | 
| 674 | 
            +
                    clientstyling: 22,
         | 
| 675 | 
            +
                    clientstylingurl: 23,
         | 
| 676 | 
            +
                    identity: 24,
         | 
| 677 | 
            +
                    translationurl: 25,
         | 
| 678 | 
            +
                    isprimarymenu: 26,
         | 
| 679 | 
            +
                    issecondarymenu: 27,
         | 
| 680 | 
            +
                    lang: 28,
         | 
| 681 | 
            +
                    activeindex: 1,
         | 
| 682 | 
            +
                    showsubgroups: 2,
         | 
| 683 | 
            +
                    categoriesicon: 3,
         | 
| 684 | 
            +
                    lobbyiconimage: 29,
         | 
| 685 | 
            +
                    mygamesiconimage: 30
         | 
| 686 | 
            +
                  },
         | 
| 687 | 
            +
                  Je,
         | 
| 688 | 
            +
                  [-1, -1]
         | 
| 689 | 
            +
                );
         | 
| 690 | 
            +
              }
         | 
| 691 | 
            +
              get endpoint() {
         | 
| 692 | 
            +
                return this.$$.ctx[17];
         | 
| 693 | 
            +
              }
         | 
| 694 | 
            +
              set endpoint(e) {
         | 
| 695 | 
            +
                this.$$set({ endpoint: e }), w();
         | 
| 696 | 
            +
              }
         | 
| 697 | 
            +
              get datasource() {
         | 
| 698 | 
            +
                return this.$$.ctx[18];
         | 
| 699 | 
            +
              }
         | 
| 700 | 
            +
              set datasource(e) {
         | 
| 701 | 
            +
                this.$$set({ datasource: e }), w();
         | 
| 702 | 
            +
              }
         | 
| 703 | 
            +
              get onclickeventname() {
         | 
| 704 | 
            +
                return this.$$.ctx[19];
         | 
| 705 | 
            +
              }
         | 
| 706 | 
            +
              set onclickeventname(e) {
         | 
| 707 | 
            +
                this.$$set({ onclickeventname: e }), w();
         | 
| 708 | 
            +
              }
         | 
| 709 | 
            +
              get actionevent() {
         | 
| 710 | 
            +
                return this.$$.ctx[20];
         | 
| 711 | 
            +
              }
         | 
| 712 | 
            +
              set actionevent(e) {
         | 
| 713 | 
            +
                this.$$set({ actionevent: e }), w();
         | 
| 714 | 
            +
              }
         | 
| 715 | 
            +
              get favoritesnumber() {
         | 
| 716 | 
            +
                return this.$$.ctx[21];
         | 
| 717 | 
            +
              }
         | 
| 718 | 
            +
              set favoritesnumber(e) {
         | 
| 719 | 
            +
                this.$$set({ favoritesnumber: e }), w();
         | 
| 720 | 
            +
              }
         | 
| 721 | 
            +
              get location() {
         | 
| 722 | 
            +
                return this.$$.ctx[0];
         | 
| 723 | 
            +
              }
         | 
| 724 | 
            +
              set location(e) {
         | 
| 725 | 
            +
                this.$$set({ location: e }), w();
         | 
| 726 | 
            +
              }
         | 
| 727 | 
            +
              get clientstyling() {
         | 
| 728 | 
            +
                return this.$$.ctx[22];
         | 
| 729 | 
            +
              }
         | 
| 730 | 
            +
              set clientstyling(e) {
         | 
| 731 | 
            +
                this.$$set({ clientstyling: e }), w();
         | 
| 732 | 
            +
              }
         | 
| 733 | 
            +
              get clientstylingurl() {
         | 
| 734 | 
            +
                return this.$$.ctx[23];
         | 
| 735 | 
            +
              }
         | 
| 736 | 
            +
              set clientstylingurl(e) {
         | 
| 737 | 
            +
                this.$$set({ clientstylingurl: e }), w();
         | 
| 738 | 
            +
              }
         | 
| 739 | 
            +
              get identity() {
         | 
| 740 | 
            +
                return this.$$.ctx[24];
         | 
| 741 | 
            +
              }
         | 
| 742 | 
            +
              set identity(e) {
         | 
| 743 | 
            +
                this.$$set({ identity: e }), w();
         | 
| 744 | 
            +
              }
         | 
| 745 | 
            +
              get translationurl() {
         | 
| 746 | 
            +
                return this.$$.ctx[25];
         | 
| 747 | 
            +
              }
         | 
| 748 | 
            +
              set translationurl(e) {
         | 
| 749 | 
            +
                this.$$set({ translationurl: e }), w();
         | 
| 750 | 
            +
              }
         | 
| 751 | 
            +
              get isprimarymenu() {
         | 
| 752 | 
            +
                return this.$$.ctx[26];
         | 
| 753 | 
            +
              }
         | 
| 754 | 
            +
              set isprimarymenu(e) {
         | 
| 755 | 
            +
                this.$$set({ isprimarymenu: e }), w();
         | 
| 756 | 
            +
              }
         | 
| 757 | 
            +
              get issecondarymenu() {
         | 
| 758 | 
            +
                return this.$$.ctx[27];
         | 
| 759 | 
            +
              }
         | 
| 760 | 
            +
              set issecondarymenu(e) {
         | 
| 761 | 
            +
                this.$$set({ issecondarymenu: e }), w();
         | 
| 762 | 
            +
              }
         | 
| 763 | 
            +
              get lang() {
         | 
| 764 | 
            +
                return this.$$.ctx[28];
         | 
| 765 | 
            +
              }
         | 
| 766 | 
            +
              set lang(e) {
         | 
| 767 | 
            +
                this.$$set({ lang: e }), w();
         | 
| 768 | 
            +
              }
         | 
| 769 | 
            +
              get activeindex() {
         | 
| 770 | 
            +
                return this.$$.ctx[1];
         | 
| 771 | 
            +
              }
         | 
| 772 | 
            +
              set activeindex(e) {
         | 
| 773 | 
            +
                this.$$set({ activeindex: e }), w();
         | 
| 774 | 
            +
              }
         | 
| 775 | 
            +
              get showsubgroups() {
         | 
| 776 | 
            +
                return this.$$.ctx[2];
         | 
| 777 | 
            +
              }
         | 
| 778 | 
            +
              set showsubgroups(e) {
         | 
| 779 | 
            +
                this.$$set({ showsubgroups: e }), w();
         | 
| 780 | 
            +
              }
         | 
| 781 | 
            +
              get categoriesicon() {
         | 
| 782 | 
            +
                return this.$$.ctx[3];
         | 
| 783 | 
            +
              }
         | 
| 784 | 
            +
              set categoriesicon(e) {
         | 
| 785 | 
            +
                this.$$set({ categoriesicon: e }), w();
         | 
| 786 | 
            +
              }
         | 
| 787 | 
            +
              get lobbyiconimage() {
         | 
| 788 | 
            +
                return this.$$.ctx[29];
         | 
| 789 | 
            +
              }
         | 
| 790 | 
            +
              set lobbyiconimage(e) {
         | 
| 791 | 
            +
                this.$$set({ lobbyiconimage: e }), w();
         | 
| 792 | 
            +
              }
         | 
| 793 | 
            +
              get mygamesiconimage() {
         | 
| 794 | 
            +
                return this.$$.ctx[30];
         | 
| 795 | 
            +
              }
         | 
| 796 | 
            +
              set mygamesiconimage(e) {
         | 
| 797 | 
            +
                this.$$set({ mygamesiconimage: e }), w();
         | 
| 798 | 
            +
              }
         | 
| 799 | 
            +
            }
         | 
| 800 | 
            +
            Ge(et, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
         | 
| 801 | 
            +
            export {
         | 
| 802 | 
            +
              et as default
         | 
| 803 | 
            +
            };
         |