@everymatrix/casino-header-controller-nd 1.87.26 → 1.87.27

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.
Files changed (76) hide show
  1. package/components/CasinoHamburgerMenuNd-CQt7cU_5.js +1227 -0
  2. package/components/CasinoHamburgerMenuNd-N2xG7QFL.cjs +1 -0
  3. package/components/CasinoHamburgerMenuNd-YZgqRfDv.js +1203 -0
  4. package/components/CasinoHeaderControllerNd-CQnN2JAr.js +7059 -0
  5. package/components/CasinoHeaderControllerNd-JnA00Nbn.cjs +18 -0
  6. package/components/CasinoHeaderControllerNd-gt-ehnAU.js +7112 -0
  7. package/components/PlayerAccountBalanceModalNd-CYMET-BN.js +1539 -0
  8. package/components/PlayerAccountBalanceModalNd-Ce0NBt-I.js +1568 -0
  9. package/components/PlayerAccountBalanceModalNd-DZlrKIv5.cjs +7 -0
  10. package/components/{PlayerDeposit-C910Gf1y.js → PlayerDeposit-C9l3pru-.js} +71 -71
  11. package/components/PlayerDeposit-C_liyHTn.cjs +1 -0
  12. package/components/{PlayerDeposit-qsZYITrf.js → PlayerDeposit-DLUyaREv.js} +64 -64
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +7 -7
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/lazy/casino-hamburger-menu-nd-DMNN5mMz.js +16 -0
  17. package/lazy/casino-hamburger-menu-nd-DpgKIaJB.js +16 -0
  18. package/lazy/casino-hamburger-menu-nd-ywrsru39.cjs +1 -0
  19. package/lazy/{gamification-dropdown-Bi2IANLw.js → gamification-dropdown-CW0O-arZ.js} +4 -4
  20. package/lazy/{gamification-dropdown-DYxjulrY.cjs → gamification-dropdown-Dlvfea51.cjs} +1 -1
  21. package/lazy/{gamification-dropdown-B9v8IDVv.js → gamification-dropdown-ZRoQGT9d.js} +4 -4
  22. package/lazy/{player-account-balance-modal-nd-qutnKTdV.js → player-account-balance-modal-nd-DFTAjn-5.js} +1 -1
  23. package/lazy/{player-account-balance-modal-nd-gZzis_-T.js → player-account-balance-modal-nd-DHMyxNz0.js} +1 -1
  24. package/lazy/{player-account-balance-modal-nd-BLdC4s3O.cjs → player-account-balance-modal-nd-Dgwo2VN9.cjs} +1 -1
  25. package/lazy/{player-deposit-Mn3IRhQ6.js → player-deposit-CT9RmoHB.js} +1 -1
  26. package/lazy/{player-deposit-BZMECdu0.js → player-deposit-DbcOiGgX.js} +1 -1
  27. package/lazy/{player-deposit-CgdF-jd5.cjs → player-deposit-Oe0nPYXj.cjs} +1 -1
  28. package/lazy/{user-deposit-withdrawal-fYrP9plZ.js → user-deposit-withdrawal-CAegaYeV.js} +1 -1
  29. package/lazy/{user-deposit-withdrawal-CWhRaiMB.cjs → user-deposit-withdrawal-DUMs1S3v.cjs} +1 -1
  30. package/lazy/{user-deposit-withdrawal-DS7RI4jZ.js → user-deposit-withdrawal-Mlqc62aZ.js} +1 -1
  31. package/package.json +1 -1
  32. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
  33. package/stencil/{app-globals-0f993ce5-B6nNHmA4.js → app-globals-0f993ce5-Cgk0KVAu.js} +2 -2
  34. package/stencil/{gamification-dropdown-CZtjlKmZ.js → gamification-dropdown-B4f7eEjZ.js} +3 -3
  35. package/stencil/gamification-dropdown-BTLPC4Rm.cjs +1 -0
  36. package/stencil/{gamification-dropdown-CKP2IybJ.js → gamification-dropdown-COj0tq3r.js} +3 -3
  37. package/stencil/gamification-dropdown-f2984ee4-Dm58Irek.js +179 -0
  38. package/stencil/{gamification-dropdown-92e6c856-CWsXZt6d.js → gamification-dropdown-f2984ee4-DrP1W0AD.js} +77 -68
  39. package/stencil/gamification-dropdown-f2984ee4-ww_Jy4Bm.cjs +1 -0
  40. package/stencil/{gamification-dropdown_4-pw5vcA94.cjs → gamification-dropdown_4-CtrAzWRn.cjs} +2 -2
  41. package/stencil/{gamification-dropdown_4-hiXX1fZJ.js → gamification-dropdown_4-DWAMFZwf.js} +11 -11
  42. package/stencil/{gamification-dropdown_4-BJHmIYaL.js → gamification-dropdown_4-Shm_fjxj.js} +11 -11
  43. package/stencil/{locale-CIZHVMDe.js → locale-Dq9tsc1e.js} +2 -2
  44. package/stencil/{player-elevate-card-D4O9XOE5.cjs → player-elevate-card-CCEirUx6.cjs} +1 -1
  45. package/stencil/{player-elevate-card-xOmP3tnZ.js → player-elevate-card-VyekC6J2.js} +3 -3
  46. package/stencil/{player-elevate-card-CwjSVk4Y.js → player-elevate-card-_umcmhE2.js} +3 -3
  47. package/stencil/{player-elevate-card-items-b4571def-Bzrr8DOK.cjs → player-elevate-card-items-b4571def-BHhNqN_3.cjs} +1 -1
  48. package/stencil/{player-elevate-card-items-b4571def-DFmEuEpV.js → player-elevate-card-items-b4571def-DU9lcTpZ.js} +2 -2
  49. package/stencil/{player-elevate-card-items-b4571def-CKC2-tZx.js → player-elevate-card-items-b4571def-DZHLwVGG.js} +2 -2
  50. package/stencil/{player-elevate-pointcard-efDK9Slo.js → player-elevate-pointcard-Bm85eLkx.js} +3 -3
  51. package/stencil/{player-elevate-pointcard-fATBdhlF.cjs → player-elevate-pointcard-CiINDahW.cjs} +1 -1
  52. package/stencil/{player-elevate-pointcard-EM9gr8Qq.js → player-elevate-pointcard-DGDk5bOl.js} +3 -3
  53. package/stencil/{player-rakeback-card-JDYEmJPr.cjs → player-rakeback-card-CBg2MioW.cjs} +1 -1
  54. package/stencil/{player-rakeback-card-CLbAOCAS.js → player-rakeback-card-DJThpjMv.js} +2 -2
  55. package/stencil/{player-rakeback-card-B2DAcfhw.js → player-rakeback-card-DNbifA_v.js} +2 -2
  56. package/stencil/{user-deposit-withdrawal-Bgmu_v3L.js → user-deposit-withdrawal-BN_2yjKT.js} +372 -344
  57. package/stencil/{user-deposit-withdrawal-C1ZuOfGY.js → user-deposit-withdrawal-BNv5WcIq.js} +327 -300
  58. package/stencil/user-deposit-withdrawal-sqMzKClT.cjs +72 -0
  59. package/components/CasinoHamburgerMenuNd-BWhQR6n1.cjs +0 -18
  60. package/components/CasinoHamburgerMenuNd-Djtdm8EV.js +0 -5630
  61. package/components/CasinoHamburgerMenuNd-DqSrTenb.js +0 -5675
  62. package/components/CasinoHeaderControllerNd-85jjhQ5V.js +0 -2607
  63. package/components/CasinoHeaderControllerNd-AyjI7UNx.js +0 -2634
  64. package/components/CasinoHeaderControllerNd-BhUuOWgY.cjs +0 -1
  65. package/components/PlayerAccountBalanceModalNd-Bt6KC8-Y.js +0 -1568
  66. package/components/PlayerAccountBalanceModalNd-CS7pAvLM.cjs +0 -7
  67. package/components/PlayerAccountBalanceModalNd-DxKi3Wc0.js +0 -1539
  68. package/components/PlayerDeposit-BDPi60xU.cjs +0 -1
  69. package/lazy/casino-hamburger-menu-nd-CAOIXMkM.cjs +0 -1
  70. package/lazy/casino-hamburger-menu-nd-DWZz6hns.js +0 -16
  71. package/lazy/casino-hamburger-menu-nd-DrYJDNro.js +0 -16
  72. package/stencil/app-globals-0f993ce5-DgOnOgxM.cjs +0 -1
  73. package/stencil/gamification-dropdown-92e6c856-Cn77bRmD.cjs +0 -1
  74. package/stencil/gamification-dropdown-92e6c856-D1KFL6hq.js +0 -133
  75. package/stencil/gamification-dropdown-CIRqmCYR.cjs +0 -1
  76. package/stencil/user-deposit-withdrawal-D-OTOuVZ.cjs +0 -72
@@ -0,0 +1,18 @@
1
+ "use strict";var Io=Object.defineProperty,Bo=Object.defineProperties;var To=Object.getOwnPropertyDescriptors;var $r=Object.getOwnPropertySymbols;var Lo=Object.prototype.hasOwnProperty,No=Object.prototype.propertyIsEnumerable;var ir=(e,t,r)=>t in e?Io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,en=(e,t)=>{for(var r in t||(t={}))Lo.call(t,r)&&ir(e,r,t[r]);if($r)for(var r of $r(t))No.call(t,r)&&ir(e,r,t[r]);return e},tn=(e,t)=>Bo(e,To(t));var ie=(e,t,r)=>(ir(e,typeof t!="symbol"?t+"":t,r),r);var Ct=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{s(r.next(c))}catch(u){i(u)}},a=c=>{try{s(r.throw(c))}catch(u){i(u)}},s=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);s((r=r.apply(e,t)).next())});function Q(){}function Po(e,t){for(const r in t)e[r]=t[r];return e}function Jn(e){return e()}function rn(){return Object.create(null)}function ue(e){e.forEach(Jn)}function Br(e){return typeof e=="function"}function Tr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let At;function Ae(e,t){return e===t?!0:(At||(At=document.createElement("a")),At.href=t,e===At.href)}function Oo(e){return Object.keys(e).length===0}function Qn(e,...t){if(e==null){for(const n of t)n(void 0);return Q}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function qn(e,t,r){e.$$.on_destroy.push(Qn(t,r))}function We(e,t,r,n){if(e){const i=Kn(e,t,r,n);return e[0](i)}}function Kn(e,t,r,n){return e[1]&&n?Po(r.ctx.slice(),e[1](n(t))):r.ctx}function Ve(e,t,r,n){if(e[2]&&n){const i=e[2](n(r));if(t.dirty===void 0)return i;if(typeof i=="object"){const o=[],a=Math.max(t.dirty.length,i.length);for(let s=0;s<a;s+=1)o[s]=t.dirty[s]|i[s];return o}return t.dirty|i}return t.dirty}function Xe(e,t,r,n,i,o){if(i){const a=Kn(t,r,n,o);e.p(a,i)}}function Ze(e){if(e.ctx.length>32){const t=[],r=e.ctx.length/32;for(let n=0;n<r;n++)t[n]=-1;return t}return-1}function g(e,t){e.appendChild(t)}function $n(e,t,r){const n=ko(e);if(!n.getElementById(t)){const i=v("style");i.id=t,i.textContent=r,Ro(n,i)}}function ko(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Ro(e,t){return g(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function $e(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function v(e){return document.createElement(e)}function Me(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ne(e){return document.createTextNode(e)}function O(){return ne(" ")}function et(){return ne("")}function W(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Fo(e){return function(t){return t.preventDefault(),e.call(this,t)}}function m(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function d(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:m(e,t,r)}function Do(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function Uo(e,t){e.value=t==null?"":t}function Go(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function jo(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function zo(e){const t=e.querySelector(":checked");return t&&t.__value}function Wo(e,t,r){e.classList.toggle(t,!!r)}function Vo(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let dt;function ft(e){dt=e}function Xo(){if(!dt)throw new Error("Function called outside component initialization");return dt}function ei(e){Xo().$$.on_mount.push(e)}function Zo(e,t){const r=e.$$.callbacks[t.type];r&&r.slice().forEach(n=>n.call(this,t))}const je=[],Ee=[];let Ye=[];const nn=[],Yo=Promise.resolve();let dr=!1;function Jo(){dr||(dr=!0,Yo.then(H))}function kt(e){Ye.push(e)}const or=new Set;let Ue=0;function H(){if(Ue!==0)return;const e=dt;do{try{for(;Ue<je.length;){const t=je[Ue];Ue++,ft(t),Qo(t.$$)}}catch(t){throw je.length=0,Ue=0,t}for(ft(null),je.length=0,Ue=0;Ee.length;)Ee.pop()();for(let t=0;t<Ye.length;t+=1){const r=Ye[t];or.has(r)||(or.add(r),r())}Ye.length=0}while(je.length);for(;nn.length;)nn.pop()();dr=!1,or.clear(),ft(e)}function Qo(e){if(e.fragment!==null){e.update(),ue(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt)}}function qo(e){const t=[],r=[];Ye.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Ye=t}const Tt=new Set;let Ce;function ti(){Ce={r:0,c:[],p:Ce}}function ri(){Ce.r||ue(Ce.c),Ce=Ce.p}function pe(e,t){e&&e.i&&(Tt.delete(e),e.i(t))}function we(e,t,r,n){if(e&&e.o){if(Tt.has(e))return;Tt.add(e),Ce.c.push(()=>{Tt.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function ge(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ko(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),kt(()=>{const o=e.$$.on_mount.map(Jn).filter(Br);e.$$.on_destroy?e.$$.on_destroy.push(...o):ue(o),e.$$.on_mount=[]}),i.forEach(kt)}function $o(e,t){const r=e.$$;r.fragment!==null&&(qo(r.after_update),ue(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ea(e,t){e.$$.dirty[0]===-1&&(je.push(e),Jo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ni(e,t,r,n,i,o,a=null,s=[-1]){const c=dt;ft(e);const u=e.$$={fragment:null,ctx:[],props:o,update:Q,not_equal:i,bound:rn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:rn(),dirty:s,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(f,p,...w)=>{const x=w.length?w[0]:p;return u.ctx&&i(u.ctx[f],u.ctx[f]=x)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](x),h&&ea(e,f)),p}):[],u.update(),h=!0,ue(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const f=Do(t.target);u.fragment&&u.fragment.l(f),f.forEach(C)}else u.fragment&&u.fragment.c();t.intro&&pe(e.$$.fragment),Ko(e,t.target,t.anchor),H()}ft(c)}let ii;typeof HTMLElement=="function"&&(ii=class extends HTMLElement{constructor(t,r,n){super();ie(this,"$$ctor");ie(this,"$$s");ie(this,"$$c");ie(this,"$$cn",!1);ie(this,"$$d",{});ie(this,"$$r",!1);ie(this,"$$p_d",{});ie(this,"$$l",{});ie(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Ct(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=v("slot"),o!=="default"&&m(a,"name",o)},m:function(u,h){A(u,a,h)},d:function(u){u&&C(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Vo(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=Lt(a,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:tn(en({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const a=Lt(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const a of this.$$l[o]){const s=this.$$c.$on(o,a);this.$$l_u.set(a,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Lt(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Lt(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function oi(e,t,r,n,i,o){let a=class extends ii{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(a.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(c){var u;c=Lt(s,c,t),this.$$d[s]=c,(u=this.$$c)==null||u.$set({[s]:c})}})}),n.forEach(s=>{Object.defineProperty(a.prototype,s,{get(){var c;return(c=this.$$c)==null?void 0:c[s]}})}),e.element=a,a}class ai{constructor(){ie(this,"$$");ie(this,"$$set")}$destroy(){$o(this,1),this.$destroy=Q}$on(t,r){if(!Br(r))return Q;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Oo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ta="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ta);/*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation.
3
+
4
+ Permission to use, copy, modify, and/or distribute this software for any
5
+ purpose with or without fee is hereby granted.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
+ PERFORMANCE OF THIS SOFTWARE.
14
+ ***************************************************************************** */var pr=function(e,t){return pr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},pr(e,t)};function gt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function mr(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function gr(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function br(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function me(e){return typeof e=="function"}function si(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ar=si(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
15
+ `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
16
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function yr(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ut=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=mr(a),c=s.next();!c.done;c=s.next()){var u=c.value;u.remove(this)}}catch(_){t={error:_}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(me(h))try{h()}catch(_){o=_ instanceof ar?_.errors:[_]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var p=mr(f),w=p.next();!w.done;w=p.next()){var x=w.value;try{on(x)}catch(_){o=o!=null?o:[],_ instanceof ar?o=br(br([],gr(o)),gr(_.errors)):o.push(_)}}}catch(_){n={error:_}}finally{try{w&&!w.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(o)throw new ar(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)on(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&yr(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&yr(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),li=Ut.EMPTY;function ui(e){return e instanceof Ut||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function on(e){me(e)?e():e.unsubscribe()}var ra={Promise:void 0},na={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,br([e,t],gr(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function ia(e){na.setTimeout(function(){throw e})}function an(){}function Nt(e){e()}var ci=function(e){gt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ui(r)&&r.add(n)):n.destination=sa,n}return t.create=function(r,n,i){return new vr(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ut),oa=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){It(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){It(n)}else It(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){It(r)}},e}(),vr=function(e){gt(t,e);function t(r,n,i){var o=e.call(this)||this,a;return me(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new oa(a),o}return t}(ci);function It(e){ia(e)}function aa(e){throw e}var sa={closed:!0,next:an,error:aa,complete:an},la=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ua(e){return e}function ca(e){return e.length===0?ua:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var sn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=fa(t)?t:new vr(t,r,n);return Nt(function(){var a=i,s=a.operator,c=a.source;o.add(s?s.call(o,c):c?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=ln(r),new r(function(i,o){var a=new vr({next:function(s){try{t(s)}catch(c){o(c),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[la]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ca(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=ln(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function ln(e){var t;return(t=e!=null?e:ra.Promise)!==null&&t!==void 0?t:Promise}function ha(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}function fa(e){return e&&e instanceof ci||ha(e)&&ui(e)}var da=si(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hi=function(e){gt(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new un(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new da},t.prototype.next=function(r){var n=this;Nt(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=mr(n.currentObservers),s=a.next();!s.done;s=a.next()){var c=s.value;c.next(r)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Nt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Nt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,a=i.isStopped,s=i.observers;return o||a?li:(this.currentObservers=null,s.push(r),new Ut(function(){n.currentObservers=null,yr(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new sn;return r.source=this,r},t.create=function(r,n){return new un(r,n)},t}(sn),un=function(e){gt(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:li},t}(hi),fi={now:function(){return(fi.delegate||Date).now()},delegate:void 0},pa=function(e){gt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=fi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,c=n._windowTime;i||(o.push(r),!a&&o.push(s.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,a=i._buffer,s=a.slice(),c=0;c<s.length&&!r.closed;c+=o?1:2)r.next(s[c]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,s=(a?1:2)*n;if(n<1/0&&s<o.length&&o.splice(0,o.length-s),!a){for(var c=i.now(),u=0,h=1;h<o.length&&o[h]<=c;h+=2)u=h;u&&o.splice(0,u+1)}},t}(hi);const cn=[],hn={},ma=(e,t=0)=>{if(cn.indexOf(e)==-1){const r=new pa(t);hn[e]=r,cn.push(e)}return hn[e]},Ge=[];function ga(e,t){return{subscribe:Gt(e,t).subscribe}}function Gt(e,t=Q){let r;const n=new Set;function i(s){if(Tr(e,s)&&(e=s,r)){const c=!Ge.length;for(const u of n)u[1](),Ge.push(u,e);if(c){for(let u=0;u<Ge.length;u+=2)Ge[u][0](Ge[u+1]);Ge.length=0}}}function o(s){i(s(e))}function a(s,c=Q){const u=[s,c];return n.add(u),n.size===1&&(r=t(i,o)||Q),s(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function tt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ga(r,(a,s)=>{let c=!1;const u=[];let h=0,f=Q;const p=()=>{if(h)return;f();const x=t(n?u[0]:u,a,s);o?a(x):f=Br(x)?x:Q},w=i.map((x,_)=>Qn(x,L=>{u[_]=L,h&=~(1<<_),c&&p()},()=>{h|=1<<_}));return c=!0,p(),function(){ue(w),f(),c=!1}})}var ba=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ya(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var va=function(t){return _a(t)&&!wa(t)};function _a(e){return!!e&&typeof e=="object"}function wa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||xa(e)}var Ea=typeof Symbol=="function"&&Symbol.for,Sa=Ea?Symbol.for("react.element"):60103;function xa(e){return e.$$typeof===Sa}function Ha(e){return Array.isArray(e)?[]:{}}function pt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Je(Ha(e),e,t):e}function Ma(e,t,r){return e.concat(t).map(function(n){return pt(n,r)})}function Ca(e,t){if(!t.customMerge)return Je;var r=t.customMerge(e);return typeof r=="function"?r:Je}function Aa(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function fn(e){return Object.keys(e).concat(Aa(e))}function di(e,t){try{return t in e}catch(r){return!1}}function Ia(e,t){return di(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ba(e,t,r){var n={};return r.isMergeableObject(e)&&fn(e).forEach(function(i){n[i]=pt(e[i],r)}),fn(t).forEach(function(i){Ia(e,i)||(di(e,i)&&r.isMergeableObject(t[i])?n[i]=Ca(i,r)(e[i],t[i],r):n[i]=pt(t[i],r))}),n}function Je(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ma,r.isMergeableObject=r.isMergeableObject||va,r.cloneUnlessOtherwiseSpecified=pt;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Ba(e,t,r):pt(t,r)}Je.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Je(n,i,r)},{})};var Ta=Je,La=Ta;const Na=ya(La);var _r=function(e,t){return _r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},_r(e,t)};function jt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");_r(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var fe=function(){return fe=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},fe.apply(this,arguments)};function Pa(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function sr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function lr(e,t){var r=t&&t.cache?t.cache:Ga,n=t&&t.serializer?t.serializer:Da,i=t&&t.strategy?t.strategy:Ra;return i(e,{cache:r,serializer:n})}function Oa(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ka(e,t,r,n){var i=Oa(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function pi(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function mi(e,t,r,n,i){return r.bind(t,e,n,i)}function Ra(e,t){var r=e.length===1?ka:pi;return mi(e,this,r,t.cache.create(),t.serializer)}function Fa(e,t){return mi(e,this,pi,t.cache.create(),t.serializer)}var Da=function(){return JSON.stringify(arguments)},Ua=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),Ga={create:function(){return new Ua}},ur={variadic:Fa},Rt=function(){return Rt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},Rt.apply(this,arguments)};var k;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(k||(k={}));var U;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(U||(U={}));var Qe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qe||(Qe={}));function dn(e){return e.type===U.literal}function ja(e){return e.type===U.argument}function gi(e){return e.type===U.number}function bi(e){return e.type===U.date}function yi(e){return e.type===U.time}function vi(e){return e.type===U.select}function _i(e){return e.type===U.plural}function za(e){return e.type===U.pound}function wi(e){return e.type===U.tag}function Ei(e){return!!(e&&typeof e=="object"&&e.type===Qe.number)}function wr(e){return!!(e&&typeof e=="object"&&e.type===Qe.dateTime)}var Si=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wa=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Va(e){var t={};return e.replace(Wa,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var j=function(){return j=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},j.apply(this,arguments)};var Xa=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Za(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Xa).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],c=a.slice(1),u=0,h=c;u<h.length;u++){var f=h[u];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:c})}return r}function Ya(e){return e.replace(/^(.*?)-/,"")}var pn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,xi=/^(@+)?(\+|#+)?[rs]?$/g,Ja=/(\*)(0+)|(#+)(0+)|(0+)/g,Hi=/^(0+)$/;function mn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(xi,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Mi(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Qa(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Hi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function gn(e){var t={},r=Mi(e);return r||t}function qa(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Ya(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=j(j(j({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return j(j({},c),gn(u))},{}));continue;case"engineering":t=j(j(j({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return j(j({},c),gn(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ja,function(c,u,h,f,p,w){if(u)t.minimumIntegerDigits=h.length;else{if(f&&p)throw new Error("We currently do not support maximum integer digits");if(w)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Hi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(pn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pn,function(c,u,h,f,p,w){return h==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:p&&w?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+w.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=j(j({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=j(j({},t),mn(o)));continue}if(xi.test(i.stem)){t=j(j({},t),mn(i.stem));continue}var a=Mi(i.stem);a&&(t=j(j({},t),a));var s=Qa(i.stem);s&&(t=j(j({},t),s))}return t}var Bt={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ka(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(o&1),s=o<2?1:3+(o>>1),c="a",u=$a(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function $a(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Bt[n||""]||Bt[r||""]||Bt["".concat(r,"-001")]||Bt["001"];return i[0]}var cr,es=new RegExp("^".concat(Si.source,"*")),ts=new RegExp("".concat(Si.source,"*$"));function R(e,t){return{start:e,end:t}}var rs=!!String.prototype.startsWith&&"_a".startsWith("a",1),ns=!!String.fromCodePoint,is=!!Object.fromEntries,os=!!String.prototype.codePointAt,as=!!String.prototype.trimStart,ss=!!String.prototype.trimEnd,ls=!!Number.isSafeInteger,us=ls?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Er=!0;try{var cs=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Er=((cr=cs.exec("a"))===null||cr===void 0?void 0:cr[0])==="a"}catch(e){Er=!1}var bn=rs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Sr=ns?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,a;i>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},yn=is?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],a=o[0],s=o[1];r[a]=s}return r},Ci=os?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},hs=as?function(t){return t.trimStart()}:function(t){return t.replace(es,"")},fs=ss?function(t){return t.trimEnd()}:function(t){return t.replace(ts,"")};function Ai(e,t){return new RegExp(e,t)}var xr;if(Er){var vn=Ai("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xr=function(t,r){var n;vn.lastIndex=r;var i=vn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else xr=function(t,r){for(var n=[];;){var i=Ci(t,r);if(i===void 0||Ii(i)||gs(i))break;n.push(i),r+=i>=65536?2:1}return Sr.apply(void 0,n)};var ds=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:U.pound,location:R(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(k.UNMATCHED_CLOSING_TAG,R(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Hr(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<".concat(i,"/>"),location:R(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hr(this.char()))return this.error(k.INVALID_TAG,R(s,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(k.UNMATCHED_CLOSING_TAG,R(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:a,location:R(n,this.clonePosition())},err:null}:this.error(k.INVALID_TAG,R(s,this.clonePosition())))}else return this.error(k.UNCLOSED_TAG,R(n,this.clonePosition()))}else return this.error(k.INVALID_TAG,R(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ms(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=R(n,this.clonePosition());return{val:{type:U.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ps(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Sr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Sr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(k.EMPTY_ARGUMENT,R(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(k.MALFORMED_ARGUMENT,R(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:R(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,R(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(k.MALFORMED_ARGUMENT,R(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=xr(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=R(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(k.EXPECT_ARGUMENT_TYPE,R(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var p=fs(f.val);if(p.length===0)return this.error(k.EXPECT_ARGUMENT_STYLE,R(this.clonePosition(),this.clonePosition()));var w=R(h,this.clonePosition());u={style:p,styleLocation:w}}var x=this.tryParseArgumentClose(i);if(x.err)return x;var _=R(i,this.clonePosition());if(u&&bn(u==null?void 0:u.style,"::",0)){var L=hs(u.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(L,u.styleLocation);return f.err?f:{val:{type:U.number,value:n,location:_,style:f.val},err:null}}else{if(L.length===0)return this.error(k.EXPECT_DATE_TIME_SKELETON,_);var N=L;this.locale&&(N=Ka(L,this.locale));var p={type:Qe.dateTime,pattern:N,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Va(N):{}},S=s==="date"?U.date:U.time;return{val:{type:S,value:n,location:_,style:p},err:null}}}return{val:{type:s==="number"?U.number:s==="date"?U.date:U.time,value:n,location:_,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(k.EXPECT_SELECT_ARGUMENT_OPTIONS,R(M,Rt({},M)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),z=0;if(s!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),I=this.parseIdentifierIfPossible(),z=f.val}var D=this.tryParsePluralOrSelectOptions(t,s,r,I);if(D.err)return D;var x=this.tryParseArgumentClose(i);if(x.err)return x;var E=R(i,this.clonePosition());return s==="select"?{val:{type:U.select,value:n,options:yn(D.val),location:E},err:null}:{val:{type:U.plural,value:n,options:yn(D.val),offset:z,pluralType:s==="plural"?"cardinal":"ordinal",location:E},err:null}}default:return this.error(k.INVALID_ARGUMENT_TYPE,R(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(k.EXPECT_ARGUMENT_CLOSING_BRACE,R(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(k.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,R(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Za(t)}catch(i){return this.error(k.INVALID_NUMBER_SKELETON,r)}return{val:{type:Qe.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?qa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,u=i.value,h=i.location;;){if(u.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR,k.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=R(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(r==="select"?k.DUPLICATE_SELECT_ARGUMENT_SELECTOR:k.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var w=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:k.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,R(this.clonePosition(),this.clonePosition()));var x=this.parseMessage(t+1,r,n);if(x.err)return x;var _=this.tryParseArgumentClose(w);if(_.err)return _;s.push([u,{value:x.val,location:R(w,this.clonePosition())}]),c.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,h=o.location}return s.length===0?this.error(r==="select"?k.EXPECT_SELECT_ARGUMENT_SELECTOR:k.EXPECT_PLURAL_ARGUMENT_SELECTOR,R(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(k.MISSING_OTHER_CLAUSE,R(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=R(i,this.clonePosition());return o?(a*=n,us(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ci(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(bn(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ii(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Hr(e){return e>=97&&e<=122||e>=65&&e<=90}function ps(e){return Hr(e)||e===47}function ms(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ii(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function gs(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Mr(e){e.forEach(function(t){if(delete t.location,vi(t)||_i(t))for(var r in t.options)delete t.options[r].location,Mr(t.options[r].value);else gi(t)&&Ei(t.style)||(bi(t)||yi(t))&&wr(t.style)?delete t.style.location:wi(t)&&Mr(t.children)})}function bs(e,t){t===void 0&&(t={}),t=Rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ds(e,t).parse();if(r.err){var n=SyntaxError(k[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Mr(r.val),r.val}var qe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(qe||(qe={}));var zt=function(e){jt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),_n=function(e){jt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),qe.INVALID_VALUE,o)||this}return t}(zt),ys=function(e){jt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),qe.INVALID_VALUE,i)||this}return t}(zt),vs=function(e){jt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),qe.MISSING_VALUE,n)||this}return t}(zt),$;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})($||($={}));function _s(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==$.literal||r.type!==$.literal?t.push(r):n.value+=r.value,t},[])}function ws(e){return typeof e=="function"}function Pt(e,t,r,n,i,o,a){if(e.length===1&&dn(e[0]))return[{type:$.literal,value:e[0].value}];for(var s=[],c=0,u=e;c<u.length;c++){var h=u[c];if(dn(h)){s.push({type:$.literal,value:h.value});continue}if(za(h)){typeof o=="number"&&s.push({type:$.literal,value:r.getNumberFormat(t).format(o)});continue}var f=h.value;if(!(i&&f in i))throw new vs(f,a);var p=i[f];if(ja(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),s.push({type:typeof p=="string"?$.literal:$.object,value:p});continue}if(bi(h)){var w=typeof h.style=="string"?n.date[h.style]:wr(h.style)?h.style.parsedOptions:void 0;s.push({type:$.literal,value:r.getDateTimeFormat(t,w).format(p)});continue}if(yi(h)){var w=typeof h.style=="string"?n.time[h.style]:wr(h.style)?h.style.parsedOptions:n.time.medium;s.push({type:$.literal,value:r.getDateTimeFormat(t,w).format(p)});continue}if(gi(h)){var w=typeof h.style=="string"?n.number[h.style]:Ei(h.style)?h.style.parsedOptions:void 0;w&&w.scale&&(p=p*(w.scale||1)),s.push({type:$.literal,value:r.getNumberFormat(t,w).format(p)});continue}if(wi(h)){var x=h.children,_=h.value,L=i[_];if(!ws(L))throw new ys(_,"function",a);var N=Pt(x,t,r,n,i,o),S=L(N.map(function(z){return z.value}));Array.isArray(S)||(S=[S]),s.push.apply(s,S.map(function(z){return{type:typeof z=="string"?$.literal:$.object,value:z}}))}if(vi(h)){var M=h.options[p]||h.options.other;if(!M)throw new _n(h.value,p,Object.keys(h.options),a);s.push.apply(s,Pt(M.value,t,r,n,i));continue}if(_i(h)){var M=h.options["=".concat(p)];if(!M){if(!Intl.PluralRules)throw new zt(`Intl.PluralRules is not available in this environment.
17
+ Try polyfilling it using "@formatjs/intl-pluralrules"
18
+ `,qe.MISSING_INTL_API,a);var I=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));M=h.options[I]||h.options.other}if(!M)throw new _n(h.value,p,Object.keys(h.options),a);s.push.apply(s,Pt(M.value,t,r,n,i,p-(h.offset||0)));continue}}return _s(s)}function Es(e,t){return t?fe(fe(fe({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=fe(fe({},e[n]),t[n]||{}),r},{})):e}function Ss(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Es(e[n],t[n]),r},fe({},e)):e}function hr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function xs(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:lr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,sr([void 0],r,!1)))},{cache:hr(e.number),strategy:ur.variadic}),getDateTimeFormat:lr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,sr([void 0],r,!1)))},{cache:hr(e.dateTime),strategy:ur.variadic}),getPluralRules:lr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,sr([void 0],r,!1)))},{cache:hr(e.pluralRules),strategy:ur.variadic})}}var Hs=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=o.formatToParts(c);if(u.length===1)return u[0].value;var h=u.reduce(function(f,p){return!f.length||p.type!==$.literal||typeof f[f.length-1]!="string"?f.push(p.value):f[f.length-1]+=p.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return Pt(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var s=Pa(a,["formatters"]);this.ast=e.__parse(t,fe(fe({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ss(e.formats,n),this.formatters=i&&i.formatters||xs(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=bs,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ms(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const Se={},Cs=(e,t,r)=>r&&(t in Se||(Se[t]={}),e in Se[t]||(Se[t][e]=r),r),Bi=(e,t)=>{if(t==null)return;if(t in Se&&e in Se[t])return Se[t][e];const r=Wt(t);for(let n=0;n<r.length;n++){const i=r[n],o=Is(i,e);if(o)return Cs(e,t,o)}};let Lr;const rt=Gt({});function As(e){return Lr[e]||null}function Ti(e){return e in Lr}function Is(e,t){if(!Ti(e))return null;const r=As(e);return Ms(r,t)}function Bs(e){if(e==null)return;const t=Wt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Ti(n))return n}}function Nr(e,...t){delete Se[e],rt.update(r=>(r[e]=Na.all([r[e]||{},...t]),r))}tt([rt],([e])=>Object.keys(e));rt.subscribe(e=>Lr=e);const Ot={};function Ts(e,t){Ot[e].delete(t),Ot[e].size===0&&delete Ot[e]}function Li(e){return Ot[e]}function Ls(e){return Wt(e).map(t=>{const r=Li(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Cr(e){return e==null?!1:Wt(e).some(t=>{var r;return(r=Li(t))==null?void 0:r.size})}function Ns(e,t){return Promise.all(t.map(n=>(Ts(e,n),n().then(i=>i.default||i)))).then(n=>Nr(e,...n))}const ht={};function Ni(e){if(!Cr(e))return e in ht?ht[e]:Promise.resolve();const t=Ls(e);return ht[e]=Promise.all(t.map(([r,n])=>Ns(r,n))).then(()=>{if(Cr(e))return Ni(e);delete ht[e]}),ht[e]}const Ps={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},Os={fallbackLocale:null,loadingDelay:200,formats:Ps,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ks=Os;function Ke(){return ks}const fr=Gt(!1);var Rs=Object.defineProperty,Fs=Object.defineProperties,Ds=Object.getOwnPropertyDescriptors,wn=Object.getOwnPropertySymbols,Us=Object.prototype.hasOwnProperty,Gs=Object.prototype.propertyIsEnumerable,En=(e,t,r)=>t in e?Rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,js=(e,t)=>{for(var r in t||(t={}))Us.call(t,r)&&En(e,r,t[r]);if(wn)for(var r of wn(t))Gs.call(t,r)&&En(e,r,t[r]);return e},zs=(e,t)=>Fs(e,Ds(t));let Ar;const Ft=Gt(null);function Sn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Wt(e,t=Ke().fallbackLocale){const r=Sn(e);return t?[...new Set([...r,...Sn(t)])]:r}function Ie(){return Ar!=null?Ar:void 0}Ft.subscribe(e=>{Ar=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ws=e=>{if(e&&Bs(e)&&Cr(e)){const{loadingDelay:t}=Ke();let r;return typeof window!="undefined"&&Ie()!=null&&t?r=window.setTimeout(()=>fr.set(!0),t):fr.set(!0),Ni(e).then(()=>{Ft.set(e)}).finally(()=>{clearTimeout(r),fr.set(!1)})}return Ft.set(e)},be=zs(js({},Ft),{set:Ws}),Vt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Vs=Object.defineProperty,Dt=Object.getOwnPropertySymbols,Pi=Object.prototype.hasOwnProperty,Oi=Object.prototype.propertyIsEnumerable,xn=(e,t,r)=>t in e?Vs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pr=(e,t)=>{for(var r in t||(t={}))Pi.call(t,r)&&xn(e,r,t[r]);if(Dt)for(var r of Dt(t))Oi.call(t,r)&&xn(e,r,t[r]);return e},nt=(e,t)=>{var r={};for(var n in e)Pi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Dt)for(var n of Dt(e))t.indexOf(n)<0&&Oi.call(e,n)&&(r[n]=e[n]);return r};const mt=(e,t)=>{const{formats:r}=Ke();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Xs=Vt(e=>{var t=e,{locale:r,format:n}=t,i=nt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=mt("number",n)),new Intl.NumberFormat(r,i)}),Zs=Vt(e=>{var t=e,{locale:r,format:n}=t,i=nt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=mt("date",n):Object.keys(i).length===0&&(i=mt("date","short")),new Intl.DateTimeFormat(r,i)}),Ys=Vt(e=>{var t=e,{locale:r,format:n}=t,i=nt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=mt("time",n):Object.keys(i).length===0&&(i=mt("time","short")),new Intl.DateTimeFormat(r,i)}),Js=(e={})=>{var t=e,{locale:r=Ie()}=t,n=nt(t,["locale"]);return Xs(Pr({locale:r},n))},Qs=(e={})=>{var t=e,{locale:r=Ie()}=t,n=nt(t,["locale"]);return Zs(Pr({locale:r},n))},qs=(e={})=>{var t=e,{locale:r=Ie()}=t,n=nt(t,["locale"]);return Ys(Pr({locale:r},n))},Ks=Vt((e,t=Ie())=>new Hs(e,t,Ke().formats,{ignoreTag:Ke().ignoreTag})),$s=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:c=Ie(),default:u}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Bi(e,c);if(!h)h=(o=(i=(n=(r=Ke()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!s)return h;let f=h;try{f=Ks(h,c).format(s)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return f},el=(e,t)=>qs(t).format(e),tl=(e,t)=>Qs(t).format(e),rl=(e,t)=>Js(t).format(e),nl=(e,t=Ie())=>Bi(e,t),ki=tt([be,rt],()=>$s);tt([be],()=>el);tt([be],()=>tl);tt([be],()=>rl);tt([be,rt],()=>nl);window.emWidgets={topic:ma};const Ir=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Ri=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Fi(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const o={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,o).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}String(Number.MAX_SAFE_INTEGER).length;const ze="__WIDGET_GLOBAL_STYLE_CACHE__";function Di(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Ui(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Gi(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=il(e,t),r;window[ze]||(window[ze]={}),r=ol(e,t);const o=r.unsubscribe.bind(r),a=()=>{if(window[ze][t]){const s=window[ze][t];s.refCount>1?s.refCount=s.refCount-1:delete window[ze][t]}o()};return r.unsubscribe=a,r}function il(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function ol(e,t){return window.emMessageBus.subscribe(t,r=>{var s;if(!e)return;const n=e.getRootNode(),i=window[ze];let o=(s=i[t])==null?void 0:s.sheet;o?i[t].refCount=i[t].refCount+1:(o=new CSSStyleSheet,o.replaceSync(r),i[t]={sheet:o,refCount:1});const a=n.adoptedStyleSheets||[];a.includes(o)||(n.adoptedStyleSheets=[...a,o])})}function al({withLocale:e,translations:t}){be.subscribe(r=>{r==null&&(rt.set(t),be.set(e))})}function Hn(e,t){Nr(e,t)}function sl(e){be.set(e)}const Mn={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions",closeButton:"CLOSE"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动",closeButton:"關閉"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions",closeButton:"FERMER"},tr:{login:"Giriş",register:"Kayıt",deposit:"Yatır",promotions:"Promosyonlar",closeButton:"KAPAT"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii",closeButton:"INCHIDE"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones",closeButton:"CERRAR"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções",closeButton:"FECHAR"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije",closeButton:"ZATVORI"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções",closeButton:"FECHAR"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones",closeButton:"CERRAR"},"en-us":{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions",closeButton:"CLOSE"}},ll="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function ul(e){$n(e,"svelte-1en0cwr",`*,*::before,*::after{font-family:inherit}:host{font-family:inherit}.NavIcon{width:30px;height:28px;position:relative;margin:50px auto;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:0.5s ease-in-out;-moz-transition:0.5s ease-in-out;-o-transition:0.5s ease-in-out;transition:0.5s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg);-webkit-transition:0.25s ease-in-out;-moz-transition:0.25s ease-in-out;-o-transition:0.25s ease-in-out;transition:0.25s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;-webkit-transform:rotate(135deg);-moz-transform:rotate(135deg);-o-transform:rotate(135deg);transform:rotate(135deg)}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;-webkit-transform:rotate(-135deg);-moz-transform:rotate(-135deg);-o-transform:rotate(-135deg);transform:rotate(-135deg)}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(90deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}.SkeletonText{opacity:0.5;margin:0 15px;width:125px;height:15px;border-radius:15px}.HeaderContainer{width:100%;background-color:var(--emw--header-color-background, var(--emw--color-background, #000000));display:flex;flex-direction:column;align-items:center;user-select:none}.HeaderContainer .MainNav{width:99%;height:84px;display:flex;gap:5px;flex-direction:row;align-items:center;margin:0 15px}.HeaderContainer .MainNav .HeaderMobileMainNav{display:flex;margin-left:5px}.HeaderContainer .MainNav .Logo{display:flex;justify-content:center;align-items:center;width:10%;min-width:75px;transition:width 0.2s}.HeaderContainer .MainNav .Logo .HeaderBranding{width:140px;cursor:pointer}.HeaderContainer .MainNav .Logo .HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderContainer .MainNav .Logo .HeaderBranding{margin-right:0}}.HeaderContainer .MainNav .Logo:active{opacity:0.9;transform:scale(1.02)}.HeaderContainer .MainNav .GamificationWrapper{margin-right:16px}.HeaderContainer .MainNav .BalanceDepositWrapper{height:34px;background-color:white;display:flex;position:relative;justify-content:center;align-items:center;border-radius:30px}.HeaderContainer .MainNav .BalanceDepositWrapper .Background{height:34px;position:absolute;background:linear-gradient(0deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(180deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box;border-radius:30px;z-index:3;transition:background-color 0.3s ease}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit{display:flex;align-items:center;cursor:pointer;justify-content:center;z-index:4}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton{font-size:14px;text-align:center;cursor:pointer;padding:0 10px;transition:color 0.5s linear;display:flex;justify-content:center;align-items:center}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p{text-transform:uppercase;color:white;transition:color 0.3s ease}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p:hover{text-shadow:0px 1px 5px rgba(0, 0, 0, 0.2)}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit .DepositButton p:active{color:black}.HeaderContainer .MainNav .BalanceDepositWrapper .Deposit.Open .DepositButton p{transition:color 0.5s linear;color:black;opacity:0.5}.HeaderContainer .MainNav .BalanceDepositWrapper .Balance{display:flex;z-index:4;height:100%;padding-left:10px;align-items:center}.HeaderContainer .MainNav .BalanceDepositWrapper .Balance.Open{color:white}.HeaderContainer .MainNav .Profile{display:flex;justify-content:center;flex-direction:column;cursor:pointer}.HeaderContainer .MainNav .Profile .ProfileWrapper{width:30px;height:30px;background-color:orange;border-radius:50px;display:flex;justify-content:center;align-items:center;transition:width 0.3s ease}.HeaderContainer .MainNav .Profile .ProfileWrapper svg{width:15px;height:16px;fill:var(--emw--color-white, #FFFFFF)}.HeaderContainer .MainNav .Profile .ProfileWrapper:hover{box-shadow:0px 0px 4px white}.HeaderContainer .MainNav .Profile .ProfileWrapper:active svg{fill:var(--emw--color-black, #000000)}.HeaderContainer .MainNav .PrimaryMenu{display:flex;flex-direction:row;align-items:center;width:100%}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu{color:white;margin:0 20px;text-transform:uppercase;height:84px;transition:color 0.5s;cursor:pointer}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:after{content:"";display:block;height:5px;width:100%;cursor:pointer;background-color:pink;position:relative}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu .MenuHover{width:0px;transition:transform 0.3s ease-in-out;transform-origin:center;transform:scaleX(0)}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu.ItemUsername{display:none}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu .MenuItemTag{display:none}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu p{height:33px;margin-top:35px}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:hover,.HeaderContainer .MainNav .PrimaryMenu .ItemMenu.Active{color:#22B04F}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:hover .MenuHover,.HeaderContainer .MainNav .PrimaryMenu .ItemMenu.Active .MenuHover{transform:scaleX(1);opacity:1;background-color:rgba(255, 255, 255, 0.5);width:100%;position:relative;height:5px;z-index:4}.HeaderContainer .MainNav .PrimaryMenu .ItemMenu:active{color:rgb(255, 255, 255)}.HeaderContainer .MainNav .AuthButtons{display:flex;flex-direction:row;justify-content:center;align-items:center}.HeaderContainer .MainNav .AuthButtons .Item{gap:5px;padding:0 25px;display:flex;align-items:center;color:white}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin{border:1px solid var(--emw--color-primary);font-size:14px;height:36px;text-align:center;margin-right:10px;position:relative;cursor:pointer;border-radius:var(--emw--border-radius-medium, 10px)}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.HeaderContainer .MainNav .AuthButtons .Item.ItemLogin:active{background:var(--emw--color-primary);opacity:0.6}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister{background:var(--emw--color-primary);border-radius:var(--emw--border-radius-medium, 10px);font-size:14px;height:36px;text-align:center;line-height:44px;cursor:pointer}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister:hover{background:linear-gradient(180deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box}.HeaderContainer .MainNav .AuthButtons .Item.ItemRegister:active{background:linear-gradient(0deg, rgb(35, 178, 78) 0%, rgb(26, 205, 80) 100%) padding-box, linear-gradient(180deg, rgba(35, 178, 78, 0.2) 0%, rgba(26, 205, 80, 0.2) 100%) border-box}.HeaderContainer .MainNav .AuthButtons .Item svg{width:15px;height:15px;fill:white;padding-bottom:2px}.HeaderContainer .MainNav .LanguageSelector{align-content:center;cursor:pointer;transform:all 0.3s linear;color:white}.HeaderContainer .MainNav .LanguageSelector .SelectedOption{display:flex;align-items:center;justify-content:center}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transition:all 0.2s}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive:hover,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive:hover{transform:scale(1.2)}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive svg,.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleInactive svg{margin:2px 0px}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive{transform:scale(1.1) rotateX(180deg);margin-bottom:5px}.HeaderContainer .MainNav .LanguageSelector .SelectedOption .TriangleActive:hover{transform:scale(1.1) rotateX(180deg)}.HeaderContainer .MainNav .LanguageSelector img.LanguageName{width:30px;border-radius:10px}.HeaderContainer .MainNav .LanguageSelector .LanguageName .ItemLanguage{display:flex;justify-content:space-around}.HeaderContainer .MainNav .LanguageSelector .LanguageName svg{width:30px;border-radius:10px}.HeaderContainer .MainNav .LanguageSelector .OptionList{border:1px solid var(--emw--header-color-primary);padding:10px;position:absolute;cursor:pointer;display:flex;gap:4px;flex-direction:column;border-radius:var(--emw--border-radius-medium, 10px);transition:all 0.4s ease;opacity:0;visibility:hidden;z-index:6;right:5px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%)}.HeaderContainer .MainNav .LanguageSelector .OptionList.Active{opacity:1;visibility:visible}.HeaderContainer .MainNav .LanguageSelector .OptionList .FlagIcon>img{width:16px;border-radius:5px;margin-right:5px}.HeaderContainer .MainNav .LanguageSelector .OptionList .LanguageOption{display:flex;align-items:center;transform:scale(1.1);gap:3px;padding:7px}.HeaderContainer .MainNav .LanguageSelector .OptionList .LanguageOption:hover{transition:color 0.2s;color:var(--emw--color-primary);background:var(--emw--color-primary) transparent;box-shadow:inset 0px 0px 0px 2px var(--emw--color-primary);border-radius:var(--emw--border-radius-medium, 10px);box-sizing:border-box}.HeaderContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(0, 0, 0) 0%, rgb(35, 172, 77) 50%, rgb(0, 0, 0) 100%);z-index:3}.HeaderContainer .SecondaryNav{width:100%;height:50px;display:flex;align-items:center;background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);z-index:3}.HeaderContainer .SecondaryNav .LeftSpace{width:10%}.HeaderContainer .SecondaryNav .SecondaryMenuContent{text-transform:uppercase;margin:0 20px;color:white;transition:color 0.5s;display:flex;cursor:pointer;user-select:none;gap:20px}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary{transition:color 0.5s}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary .Active{color:black}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary .Active:hover{opacity:0.5;color:white}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary:hover{color:black}.HeaderContainer .SecondaryNav .SecondaryMenuContent .ItemSecondary:active{color:white}.HeaderContainer .OptionListOverlay{position:fixed;top:0;bottom:0;left:0;right:0;z-index:5}.HeaderContainer .CloseButton{padding:0;margin:0;border:none;background:none;color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center}.HeaderContainer .CloseButton svg{fill:var(--emw--color-white, #FFFFFF)}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}input,textarea,button{font-family:inherit}.HeaderSlider{width:100%;height:400px}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));border-top:1px solid var(--emw--color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item:hover .HeaderSecondaryNav{display:block}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.ItemDeposit{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:0}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemBalance{font-size:12px}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}`)}function Cn(e,t,r){const n=e.slice();return n[145]=t[r],n}function cl(e,t,r){const n=e.slice();return n[142]=t[r],n}function An(e,t,r){const n=e.slice();return n[148]=t[r],n}const hl=e=>({}),In=e=>({}),fl=e=>({}),Bn=e=>({}),dl=e=>({}),Tn=e=>({}),pl=e=>({}),Ln=e=>({});function Nn(e,t,r){const n=e.slice();return n[153]=t[r],n}function ml(e,t,r){const n=e.slice();return n[142]=t[r],n}const gl=e=>({}),Pn=e=>({});function bl(e){let t,r,n,i,o,a,s=e[42]&&On(e);const c=e[83].logo,u=We(c,e,e[82],Pn),h=u||vl(e);return{c(){s&&s.c(),t=O(),r=v("div"),n=v("div"),h&&h.c(),m(n,"class","HeaderBranding"),m(r,"class","Logo")},m(f,p){s&&s.m(f,p),A(f,t,p),A(f,r,p),g(r,n),h&&h.m(n,null),i=!0,o||(a=W(n,"click",e[86]),o=!0)},p(f,p){f[42]?s?s.p(f,p):(s=On(f),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null),u?u.p&&(!i||p[2]&1048576)&&Xe(u,c,f,f[82],i?Ve(c,f[82],p,gl):Ze(f[82]),Pn):h&&h.p&&(!i||p[1]&1073741824)&&h.p(f,i?p:[-1,-1,-1,-1,-1,-1])},i(f){i||(pe(h,f),i=!0)},o(f){we(h,f),i=!1},d(f){f&&(C(t),C(r)),s&&s.d(f),h&&h.d(f),o=!1,a()}}}function yl(e){let t,r,n,i=e[62]("closeButton")+"",o,a,s;return{c(){t=v("button"),r=v("span"),r.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 24 24"><path d="M13.414 12l4.95-4.95-1.414-1.414-4.95 4.95-4.95-4.95L5.636 7.05l4.95 4.95-4.95 4.95 1.414 1.414 4.95-4.95 4.95 4.95 1.414-1.414-4.95-4.95z"></path></svg>',n=O(),o=ne(i),m(r,"class",""),m(t,"type","button"),m(t,"class","CloseButton")},m(c,u){A(c,t,u),g(t,r),g(t,n),g(t,o),a||(s=W(t,"click",e[85]),a=!0)},p(c,u){u[2]&1&&i!==(i=c[62]("closeButton")+"")&&le(o,i)},i:Q,o:Q,d(c){c&&C(t),a=!1,s()}}}function On(e){let t,r,n,i,o,a,s,c,u,h;return{c(){t=v("div"),r=v("div"),n=v("span"),i=O(),o=v("span"),a=O(),s=v("span"),m(r,"class",c="NavIcon "+(e[57]?"Open":"")),m(t,"class","HeaderMobileMainNav")},m(f,p){A(f,t,p),g(t,r),g(r,n),g(r,i),g(r,o),g(r,a),g(r,s),u||(h=W(r,"click",e[68]),u=!0)},p(f,p){p[1]&67108864&&c!==(c="NavIcon "+(f[57]?"Open":""))&&m(r,"class",c)},d(f){f&&C(t),u=!1,h()}}}function vl(e){let t,r;return{c(){t=v("img"),Ae(t.src,r=e[61])||m(t,"src",r),m(t,"alt","Logo")},m(n,i){A(n,t,i)},p(n,i){i[1]&1073741824&&!Ae(t.src,r=n[61])&&m(t,"src",r)},d(n){n&&C(t)}}}function kn(e){let t;function r(o,a){return o[51]?wl:_l}let n=r(e),i=n(e);return{c(){i.c(),t=et()},m(o,a){i.m(o,a),A(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&C(t),i.d(o)}}}function _l(e){let t,r,n=e[53]&&(e[55]||e[54])&&Rn(e),i=ge(e[48]),o=[];for(let a=0;a<i.length;a+=1)o[a]=Dn(Nn(e,i,a));return{c(){n&&n.c(),t=O();for(let a=0;a<o.length;a+=1)o[a].c();r=et()},m(a,s){n&&n.m(a,s),A(a,t,s);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(a,s);A(a,r,s)},p(a,s){if(a[53]&&(a[55]||a[54])?n?n.p(a,s):(n=Rn(a),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),s[1]&135168|s[2]&32){i=ge(a[48]);let c;for(c=0;c<i.length;c+=1){const u=Nn(a,i,c);o[c]?o[c].p(u,s):(o[c]=Dn(u),o[c].c(),o[c].m(r.parentNode,r))}for(;c<o.length;c+=1)o[c].d(1);o.length=i.length}},d(a){a&&(C(t),C(r)),n&&n.d(a),$e(o,a)}}}function wl(e){let t,r=ge(new Array(6)),n=[];for(let i=0;i<r.length;i+=1)n[i]=El(ml(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=et()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);A(i,t,o)},p:Q,d(i){i&&C(t),$e(n,i)}}}function Rn(e){let t,r,n=(e[55]||e[54])+"",i,o,a,s,c;return{c(){t=v("div"),r=v("p"),i=ne(n),o=O(),a=v("div"),m(a,"class","MenuHover"),m(t,"class","ItemMenu ItemUsername")},m(u,h){A(u,t,h),g(t,r),g(r,i),g(t,o),g(t,a),s||(c=W(t,"click",e[87]),s=!0)},p(u,h){h[1]&25165824&&n!==(n=(u[55]||u[54])+"")&&le(i,n)},d(u){u&&C(t),s=!1,c()}}}function Fn(e){let t,r=e[153].tag+"",n,i;return{c(){t=v("span"),n=ne(r),m(t,"title",i=e[153].tag),m(t,"class","MenuItemTag")},m(o,a){A(o,t,a),g(t,n)},p(o,a){a[1]&131072&&r!==(r=o[153].tag+"")&&le(n,r),a[1]&131072&&i!==(i=o[153].tag)&&m(t,"title",i)},d(o){o&&C(t)}}}function Dn(e){var x;let t,r,n=e[153].label+"",i,o,a,s,c,u,h,f,p=((x=e[153])==null?void 0:x.tag)&&Fn(e);function w(){return e[88](e[153])}return{c(){t=v("div"),r=v("p"),i=ne(n),o=O(),a=v("div"),s=O(),p&&p.c(),c=O(),m(a,"class","MenuHover"),m(t,"class",u="ItemMenu "+(e[153].id==e[43]?"Active":""))},m(_,L){A(_,t,L),g(t,r),g(r,i),g(t,o),g(t,a),g(t,s),p&&p.m(t,null),g(t,c),h||(f=W(t,"click",w),h=!0)},p(_,L){var N;e=_,L[1]&131072&&n!==(n=e[153].label+"")&&le(i,n),(N=e[153])!=null&&N.tag?p?p.p(e,L):(p=Fn(e),p.c(),p.m(t,c)):p&&(p.d(1),p=null),L[1]&135168&&u!==(u="ItemMenu "+(e[153].id==e[43]?"Active":""))&&m(t,"class",u)},d(_){_&&C(t),p&&p.d(),h=!1,f()}}}function El(e){let t;return{c(){t=v("div"),m(t,"class","Skeleton SkeletonText")},m(r,n){A(r,t,n)},p:Q,d(r){r&&C(t)}}}function Sl(e){let t,r,n,i=e[62]("login")+"",o,a,s,c,u,h,f,p=e[62]("register")+"",w,x,_,L,N,S;return{c(){t=v("div"),r=v("div"),n=v("p"),o=ne(i),a=O(),s=Me("svg"),c=Me("path"),u=O(),h=v("div"),f=v("p"),w=ne(p),x=O(),_=Me("svg"),L=Me("path"),m(c,"d","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"),m(s,"xmlns","http://www.w3.org/2000/svg"),m(s,"viewBox","0 0 448 512"),m(r,"class","Item ItemLogin"),m(L,"d","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"),m(_,"xmlns","http://www.w3.org/2000/svg"),m(_,"viewBox","0 0 320 512"),m(h,"class","Item ItemRegister"),m(t,"class","AuthButtons")},m(M,I){A(M,t,I),g(t,r),g(r,n),g(n,o),g(r,a),g(r,s),g(s,c),g(t,u),g(t,h),g(h,f),g(f,w),g(h,x),g(h,_),g(_,L),N||(S=[W(r,"click",e[97]),W(h,"click",e[98])],N=!0)},p(M,I){I[2]&1&&i!==(i=M[62]("login")+"")&&le(o,i),I[2]&1&&p!==(p=M[62]("register")+"")&&le(w,p)},d(M){M&&C(t),N=!1,ue(S)}}}function xl(e){let t,r,n,i,o,a,s,c,u,h=e[62]("deposit")+"",f,p,w,x,_,L,N,S,M,I,z,D=e[39]==="true"&&!e[42]&&Un(e),E=e[58]&&Gn(e);return{c(){D&&D.c(),t=O(),r=v("div"),n=v("div"),i=v("player-account-balance-modal-nd"),a=O(),s=v("div"),c=v("div"),u=v("p"),f=ne(h),p=O(),E&&E.c(),x=O(),_=v("div"),N=O(),S=v("div"),M=v("div"),M.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 16.429"><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>',d(i,"session",e[1]),d(i,"userid",e[2]),d(i,"endpoint",e[3]),d(i,"mbsource",e[28]),d(i,"lang",e[6]),d(i,"clientstyling",e[29]),d(i,"clientstylingurl",e[30]),d(i,"gmversion",e[11]),d(i,"displaybalanceoption",e[13]),d(i,"totalcalculationmode",e[35]),d(i,"primarybalancemode",e[36]),d(i,"currencydisplay",e[31]),d(i,"maximumfractiondigits",e[32]),d(i,"minimumfractiondigits",e[33]),d(i,"customdisplayformat",e[34]),d(i,"balancelimitsbutton",e[37]),d(i,"hideproducttype",e[38]),d(i,"currencylocale",e[10]),m(n,"class",o="Balance "+(e[59]?"Open":"")),m(c,"class","DepositButton"),m(s,"class",w="Deposit "+(e[59]?"Open":"")),m(_,"class",L="Background "+(e[59]?"Open":"")),m(r,"class","BalanceDepositWrapper"),m(M,"class","ProfileWrapper"),m(S,"class","Profile")},m(y,P){D&&D.m(y,P),A(y,t,P),A(y,r,P),g(r,n),g(n,i),e[90](n),g(r,a),g(r,s),g(s,c),g(c,u),g(u,f),g(s,p),E&&E.m(s,null),e[94](s),g(r,x),g(r,_),e[95](_),A(y,N,P),A(y,S,P),g(S,M),I||(z=[W(c,"click",e[91]),W(M,"click",e[96])],I=!0)},p(y,P){y[39]==="true"&&!y[42]?D?D.p(y,P):(D=Un(y),D.c(),D.m(t.parentNode,t)):D&&(D.d(1),D=null),P[0]&2&&d(i,"session",y[1]),P[0]&4&&d(i,"userid",y[2]),P[0]&8&&d(i,"endpoint",y[3]),P[0]&268435456&&d(i,"mbsource",y[28]),P[0]&64&&d(i,"lang",y[6]),P[0]&536870912&&d(i,"clientstyling",y[29]),P[0]&1073741824&&d(i,"clientstylingurl",y[30]),P[0]&2048&&d(i,"gmversion",y[11]),P[0]&8192&&d(i,"displaybalanceoption",y[13]),P[1]&16&&d(i,"totalcalculationmode",y[35]),P[1]&32&&d(i,"primarybalancemode",y[36]),P[1]&1&&d(i,"currencydisplay",y[31]),P[1]&2&&d(i,"maximumfractiondigits",y[32]),P[1]&4&&d(i,"minimumfractiondigits",y[33]),P[1]&8&&d(i,"customdisplayformat",y[34]),P[1]&64&&d(i,"balancelimitsbutton",y[37]),P[1]&128&&d(i,"hideproducttype",y[38]),P[0]&1024&&d(i,"currencylocale",y[10]),P[1]&268435456&&o!==(o="Balance "+(y[59]?"Open":""))&&m(n,"class",o),P[2]&1&&h!==(h=y[62]("deposit")+"")&&le(f,h),y[58]?E?E.p(y,P):(E=Gn(y),E.c(),E.m(s,null)):E&&(E.d(1),E=null),P[1]&268435456&&w!==(w="Deposit "+(y[59]?"Open":""))&&m(s,"class",w),P[1]&268435456&&L!==(L="Background "+(y[59]?"Open":""))&&m(_,"class",L)},d(y){y&&(C(t),C(r),C(N),C(S)),D&&D.d(y),e[90](null),E&&E.d(),e[94](null),e[95](null),I=!1,ue(z)}}}function Un(e){let t,r;return{c(){t=v("div"),r=v("gamification-dropdown"),d(r,"session",e[1]),d(r,"endpoint",e[3]),d(r,"mb-source",e[28]),d(r,"language",e[6]),d(r,"client-styling",e[29]),d(r,"client-styling-url",e[30]),d(r,"translation-url",e[9]),m(t,"class","GamificationWrapper")},m(n,i){A(n,t,i),g(t,r)},p(n,i){i[0]&2&&d(r,"session",n[1]),i[0]&8&&d(r,"endpoint",n[3]),i[0]&268435456&&d(r,"mb-source",n[28]),i[0]&64&&d(r,"language",n[6]),i[0]&536870912&&d(r,"client-styling",n[29]),i[0]&1073741824&&d(r,"client-styling-url",n[30]),i[0]&512&&d(r,"translation-url",n[9])},d(n){n&&C(t)}}}function Gn(e){let t,r,n,i,o,a,s,c;function u(p,w){return p[11]==="gmcore"?Ml:Hl}let h=u(e),f=h(e);return{c(){t=v("div"),r=O(),n=v("div"),i=v("div"),o=v("div"),o.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke-width="2"></line></svg>',a=O(),f.c(),m(t,"class","ShortCashierWindow"),m(o,"class","ClosePopUpButtonShortCashier"),m(i,"class","ShortCashierContainerMobile"),m(n,"class","ShortCashierContainerWrapperMobile")},m(p,w){A(p,t,w),A(p,r,w),A(p,n,w),g(n,i),g(i,o),g(i,a),f.m(i,null),s||(c=[W(t,"click",e[92]),W(o,"click",e[93])],s=!0)},p(p,w){h===(h=u(p))&&f?f.p(p,w):(f.d(1),f=h(p),f&&(f.c(),f.m(i,null)))},d(p){p&&(C(t),C(r),C(n)),f.d(),s=!1,ue(c)}}}function Hl(e){let t,r,n,i,o,a,s,c,u;return{c(){t=v("user-deposit-withdrawal"),d(t,"endpoint",e[3]),d(t,"type","deposit"),d(t,"channel","Mobile"),d(t,"language",e[6]),d(t,"mb-source",e[28]),d(t,"is-short-cashier",e[17]),d(t,"product-type",e[18]),d(t,"user-id",e[2]),d(t,"session",e[1]),d(t,"success-url",r="https://"+window.location.hostname+"/"+e[6]+e[19]),d(t,"cancel-url",n="https://"+window.location.hostname+"/"+e[6]+e[21]),d(t,"fail-url",i="https://"+window.location.hostname+"/"+e[6]+e[20]),d(t,"sports-url",o="https://"+window.location.hostname+"/"+e[6]+e[22]),d(t,"casino-url",a="https://"+window.location.hostname+"/"+e[6]+e[23]),d(t,"contact-url",s="https://"+window.location.hostname+"/"+e[6]+e[24]),d(t,"home-url",c="https://"+window.location.hostname+"/"+e[6]+e[25]),d(t,"deposit-url",u="https://"+window.location.hostname+"/"+e[6]+e[26])},m(h,f){A(h,t,f)},p(h,f){f[0]&8&&d(t,"endpoint",h[3]),f[0]&64&&d(t,"language",h[6]),f[0]&268435456&&d(t,"mb-source",h[28]),f[0]&131072&&d(t,"is-short-cashier",h[17]),f[0]&262144&&d(t,"product-type",h[18]),f[0]&4&&d(t,"user-id",h[2]),f[0]&2&&d(t,"session",h[1]),f[0]&524352&&r!==(r="https://"+window.location.hostname+"/"+h[6]+h[19])&&d(t,"success-url",r),f[0]&2097216&&n!==(n="https://"+window.location.hostname+"/"+h[6]+h[21])&&d(t,"cancel-url",n),f[0]&1048640&&i!==(i="https://"+window.location.hostname+"/"+h[6]+h[20])&&d(t,"fail-url",i),f[0]&4194368&&o!==(o="https://"+window.location.hostname+"/"+h[6]+h[22])&&d(t,"sports-url",o),f[0]&8388672&&a!==(a="https://"+window.location.hostname+"/"+h[6]+h[23])&&d(t,"casino-url",a),f[0]&16777280&&s!==(s="https://"+window.location.hostname+"/"+h[6]+h[24])&&d(t,"contact-url",s),f[0]&33554496&&c!==(c="https://"+window.location.hostname+"/"+h[6]+h[25])&&d(t,"home-url",c),f[0]&67108928&&u!==(u="https://"+window.location.hostname+"/"+h[6]+h[26])&&d(t,"deposit-url",u)},d(h){h&&C(t)}}}function Ml(e){let t;return{c(){t=v("player-deposit"),d(t,"endpoint",e[3]),d(t,"session",e[1]),d(t,"mbsource",e[28]),d(t,"playerid",e[2]),d(t,"lang",e[6]),d(t,"hasdefaultamount",e[15]),d(t,"playercurrency",e[16]),d(t,"shortcashierenabled",e[17]),d(t,"clientstyling",e[29]),d(t,"clientstylingurl",e[30])},m(r,n){A(r,t,n)},p(r,n){n[0]&8&&d(t,"endpoint",r[3]),n[0]&2&&d(t,"session",r[1]),n[0]&268435456&&d(t,"mbsource",r[28]),n[0]&4&&d(t,"playerid",r[2]),n[0]&64&&d(t,"lang",r[6]),n[0]&32768&&d(t,"hasdefaultamount",r[15]),n[0]&65536&&d(t,"playercurrency",r[16]),n[0]&131072&&d(t,"shortcashierenabled",r[17]),n[0]&536870912&&d(t,"clientstyling",r[29]),n[0]&1073741824&&d(t,"clientstylingurl",r[30])},d(r){r&&C(t)}}}function jn(e){let t,r=e[56].length>1&&zn(e);return{c(){t=v("div"),r&&r.c(),m(t,"class","LanguageSelector")},m(n,i){A(n,t,i),r&&r.m(t,null)},p(n,i){n[56].length>1?r?r.p(n,i):(r=zn(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&C(t),r&&r.d()}}}function zn(e){let t,r,n,i,o,a,s,c,u,h,f,p;function w(S,M){return S[12]=="true"?Al:Cl}let x=w(e),_=x(e),L=ge(e[56]),N=[];for(let S=0;S<L.length;S+=1)N[S]=Vn(An(e,L,S));return{c(){t=v("div"),r=v("div"),_.c(),n=O(),i=v("span"),o=Me("svg"),a=Me("path"),c=O(),u=v("div");for(let S=0;S<N.length;S+=1)N[S].c();m(a,"id","arrow"),m(a,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),m(a,"transform","translate(-274.511 -441.088)"),m(a,"fill","#d1d1d1"),m(o,"xmlns","http://www.w3.org/2000/svg"),m(o,"width","14"),m(o,"height","6.835"),m(o,"viewBox","0 0 14 6.835"),m(i,"class",s=e[52]?"TriangleActive":"TriangleInactive"),m(r,"class","SelectedOption"),m(t,"class","LanguageDropdown"),m(u,"class",h="OptionList "+(e[52]?"Active":""))},m(S,M){A(S,t,M),g(t,r),_.m(r,null),g(r,n),g(r,i),g(i,o),g(o,a),A(S,c,M),A(S,u,M);for(let I=0;I<N.length;I+=1)N[I]&&N[I].m(u,null);f||(p=W(r,"click",e[99]),f=!0)},p(S,M){if(x===(x=w(S))&&_?_.p(S,M):(_.d(1),_=x(S),_&&(_.c(),_.m(r,n))),M[1]&2097152&&s!==(s=S[52]?"TriangleActive":"TriangleInactive")&&m(i,"class",s),M[0]&4096|M[1]&33554432|M[2]&2560){L=ge(S[56]);let I;for(I=0;I<L.length;I+=1){const z=An(S,L,I);N[I]?N[I].p(z,M):(N[I]=Vn(z),N[I].c(),N[I].m(u,null))}for(;I<N.length;I+=1)N[I].d(1);N.length=L.length}M[1]&2097152&&h!==(h="OptionList "+(S[52]?"Active":""))&&m(u,"class",h)},d(S){S&&(C(t),C(c),C(u)),_.d(),$e(N,S),f=!1,p()}}}function Cl(e){let t,r;return{c(){t=v("span"),r=ne(e[60]),m(t,"class","LanguageName")},m(n,i){A(n,t,i),g(t,r)},p(n,i){i[1]&536870912&&le(r,n[60])},d(n){n&&C(t)}}}function Al(e){let t,r;return{c(){t=v("img"),m(t,"class","LanguageName"),Ae(t.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[73](e[50])}.svg`)||m(t,"src",r),m(t,"alt","flag")},m(n,i){A(n,t,i)},p(n,i){i[1]&524288&&!Ae(t.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[73](n[50])}.svg`)&&m(t,"src",r)},d(n){n&&C(t)}}}function Wn(e){let t,r,n;return{c(){t=v("span"),r=v("img"),Ae(r.src,n=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[73](e[148])}.svg`)||m(r,"src",n),m(t,"class","FlagIcon")},m(i,o){A(i,t,o),g(t,r)},p(i,o){o[1]&33554432&&!Ae(r.src,n=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${i[73](i[148])}.svg`)&&m(r,"src",n)},d(i){i&&C(t)}}}function Vn(e){let t,r,n,i=e[73](e[148])+"",o,a,s,c,u=e[12]=="true"&&Wn(e);function h(){return e[100](e[148])}return{c(){t=v("div"),u&&u.c(),r=O(),n=v("span"),o=ne(i),a=O(),m(n,"class","LanguageName"),m(t,"class","LanguageOption")},m(f,p){A(f,t,p),u&&u.m(t,null),g(t,r),g(t,n),g(n,o),g(t,a),s||(c=W(t,"click",h),s=!0)},p(f,p){e=f,e[12]=="true"?u?u.p(e,p):(u=Wn(e),u.c(),u.m(t,r)):u&&(u.d(1),u=null),p[1]&33554432&&i!==(i=e[73](e[148])+"")&&le(o,i)},d(f){f&&C(t),u&&u.d(),s=!1,c()}}}function Xn(e){let t,r,n,i;function o(c,u){return c[51]?Bl:Il}let a=o(e),s=a(e);return{c(){t=v("div"),r=v("div"),r.innerHTML='<span class="fi fi-gr"></span> <span class="fi fi-gr fis"></span>',n=O(),i=v("div"),s.c(),m(r,"class","LeftSpace"),m(i,"class","SecondaryMenuContent"),m(t,"class","SecondaryNav")},m(c,u){A(c,t,u),g(t,r),g(t,n),g(t,i),s.m(i,null)},p(c,u){a===(a=o(c))&&s?s.p(c,u):(s.d(1),s=a(c),s&&(s.c(),s.m(i,null)))},d(c){c&&C(t),s.d()}}}function Il(e){let t,r=ge(e[49]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Zn(Cn(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=et()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);A(i,t,o)},p(i,o){if(o[1]&266240|o[2]&256){r=ge(i[49]);let a;for(a=0;a<r.length;a+=1){const s=Cn(i,r,a);n[a]?n[a].p(s,o):(n[a]=Zn(s),n[a].c(),n[a].m(t.parentNode,t))}for(;a<n.length;a+=1)n[a].d(1);n.length=r.length}},d(i){i&&C(t),$e(n,i)}}}function Bl(e){let t,r=ge(new Array(2)),n=[];for(let i=0;i<r.length;i+=1)n[i]=Tl(cl(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=et()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);A(i,t,o)},p:Q,d(i){i&&C(t),$e(n,i)}}}function Zn(e){let t,r,n=e[145].label+"",i,o,a,s,c;function u(){return e[101](e[145])}return{c(){t=v("span"),r=v("p"),i=ne(n),o=O(),m(t,"class",a="ItemSecondary "+(e[145].id==e[43]?"Active":""))},m(h,f){A(h,t,f),g(t,r),g(r,i),g(t,o),s||(c=W(r,"click",u),s=!0)},p(h,f){e=h,f[1]&262144&&n!==(n=e[145].label+"")&&le(i,n),f[1]&266240&&a!==(a="ItemSecondary "+(e[145].id==e[43]?"Active":""))&&m(t,"class",a)},d(h){h&&C(t),s=!1,c()}}}function Tl(e){let t;return{c(){t=v("div"),m(t,"class","Skeleton SkeletonText")},m(r,n){A(r,t,n)},p:Q,d(r){r&&C(t)}}}function Yn(e){let t,r,n;return{c(){t=v("div"),m(t,"class","OptionListOverlay")},m(i,o){A(i,t,o),r||(n=W(t,"click",e[102]),r=!0)},p:Q,d(i){i&&C(t),r=!1,n()}}}function Ll(e){let t,r,n,i,o,a,s,c,u,h,f,p,w,x,_,L,N,S,M,I,z,D,E,y,P,Be;const Te=[yl,bl],oe=[];function it(b,B){return b[40]&&b[0]?0:1}n=it(e),i=oe[n]=Te[n](e);let V=!e[42]&&kn(e);const Le=e[83].slot4,ee=We(Le,e,e[82],Ln);function ot(b,B){return b[53]?xl:Sl}let xe=ot(e),re=xe(e);const Ne=e[83].slot1,X=We(Ne,e,e[82],Tn),ye=e[83].slot2,q=We(ye,e,e[82],Bn),ve=e[83].slot3,te=We(ve,e,e[82],In);let Z=!e[42]&&jn(e),Y=!e[42]&&e[49].length>0&&Xn(e),J=e[52]&&Yn(e);return{c(){t=v("div"),r=v("div"),i.c(),o=O(),a=v("nav"),V&&V.c(),s=O(),c=v("div"),ee&&ee.c(),u=O(),re.c(),h=O(),f=v("div"),X&&X.c(),p=O(),w=v("div"),q&&q.c(),x=O(),_=v("div"),te&&te.c(),L=O(),Z&&Z.c(),N=O(),S=v("div"),S.innerHTML="",M=O(),Y&&Y.c(),I=O(),J&&J.c(),D=O(),E=v("casino-hamburger-menu-nd"),m(a,"class","PrimaryMenu"),m(c,"class","Slot4"),m(f,"class","Slot1"),m(w,"class","Slot2"),m(_,"class","Slot3"),m(r,"class","MainNav"),m(S,"class","Separator"),m(t,"class",z="HeaderContainer "+(e[42]?"Mobile":"")),d(E,"cmsendpoint",e[4]),d(E,"endpoint",e[3]),d(E,"cmsenv",e[5]),d(E,"userroles",e[27]),d(E,"mbsource",e[28]),d(E,"activecategory",e[8]),d(E,"lang",e[6]),d(E,"countryflaghamburger",e[14]),d(E,"customlocaleidentifier",e[10]),d(E,"languageslist",e[7]),d(E,"clientstyling",e[29]),d(E,"clientstylingurl",e[30]),d(E,"session",e[1]),d(E,"userid",e[2]),d(E,"customlogourl",e[61])},m(b,B){A(b,t,B),g(t,r),oe[n].m(r,null),g(r,o),g(r,a),V&&V.m(a,null),e[89](a),g(r,s),g(r,c),ee&&ee.m(c,null),g(r,u),re.m(r,null),g(r,h),g(r,f),X&&X.m(f,null),g(r,p),g(r,w),q&&q.m(w,null),g(r,x),g(r,_),te&&te.m(_,null),g(r,L),Z&&Z.m(r,null),g(t,N),g(t,S),g(t,M),Y&&Y.m(t,null),g(t,I),J&&J.m(t,null),e[103](t),A(b,D,B),A(b,E,B),y=!0,P||(Be=[W(a,"mousedown",e[63]),W(a,"mouseleave",e[64]),W(a,"mouseup",e[65]),W(a,"mousemove",e[66]),W(a,"click",Fo(e[84]))],P=!0)},p(b,B){let Pe=n;n=it(b),n===Pe?oe[n].p(b,B):(ti(),we(oe[Pe],1,1,()=>{oe[Pe]=null}),ri(),i=oe[n],i?i.p(b,B):(i=oe[n]=Te[n](b),i.c()),pe(i,1),i.m(r,o)),b[42]?V&&(V.d(1),V=null):V?V.p(b,B):(V=kn(b),V.c(),V.m(a,null)),ee&&ee.p&&(!y||B[2]&1048576)&&Xe(ee,Le,b,b[82],y?Ve(Le,b[82],B,pl):Ze(b[82]),Ln),xe===(xe=ot(b))&&re?re.p(b,B):(re.d(1),re=xe(b),re&&(re.c(),re.m(r,h))),X&&X.p&&(!y||B[2]&1048576)&&Xe(X,Ne,b,b[82],y?Ve(Ne,b[82],B,dl):Ze(b[82]),Tn),q&&q.p&&(!y||B[2]&1048576)&&Xe(q,ye,b,b[82],y?Ve(ye,b[82],B,fl):Ze(b[82]),Bn),te&&te.p&&(!y||B[2]&1048576)&&Xe(te,ve,b,b[82],y?Ve(ve,b[82],B,hl):Ze(b[82]),In),b[42]?Z&&(Z.d(1),Z=null):Z?Z.p(b,B):(Z=jn(b),Z.c(),Z.m(r,null)),!b[42]&&b[49].length>0?Y?Y.p(b,B):(Y=Xn(b),Y.c(),Y.m(t,I)):Y&&(Y.d(1),Y=null),b[52]?J?J.p(b,B):(J=Yn(b),J.c(),J.m(t,null)):J&&(J.d(1),J=null),(!y||B[1]&2048&&z!==(z="HeaderContainer "+(b[42]?"Mobile":"")))&&m(t,"class",z),(!y||B[0]&16)&&d(E,"cmsendpoint",b[4]),(!y||B[0]&8)&&d(E,"endpoint",b[3]),(!y||B[0]&32)&&d(E,"cmsenv",b[5]),(!y||B[0]&134217728)&&d(E,"userroles",b[27]),(!y||B[0]&268435456)&&d(E,"mbsource",b[28]),(!y||B[0]&256)&&d(E,"activecategory",b[8]),(!y||B[0]&64)&&d(E,"lang",b[6]),(!y||B[0]&16384)&&d(E,"countryflaghamburger",b[14]),(!y||B[0]&1024)&&d(E,"customlocaleidentifier",b[10]),(!y||B[0]&128)&&d(E,"languageslist",b[7]),(!y||B[0]&536870912)&&d(E,"clientstyling",b[29]),(!y||B[0]&1073741824)&&d(E,"clientstylingurl",b[30]),(!y||B[0]&2)&&d(E,"session",b[1]),(!y||B[0]&4)&&d(E,"userid",b[2]),(!y||B[1]&1073741824)&&d(E,"customlogourl",b[61])},i(b){y||(pe(i),pe(ee,b),pe(X,b),pe(q,b),pe(te,b),y=!0)},o(b){we(i),we(ee,b),we(X,b),we(q,b),we(te,b),y=!1},d(b){b&&(C(t),C(D),C(E)),oe[n].d(),V&&V.d(),e[89](null),ee&&ee.d(b),re.d(),X&&X.d(b),q&&q.d(b),te&&te.d(b),Z&&Z.d(),Y&&Y.d(),J&&J.d(),e[103](null),P=!1,ue(Be)}}}function Nl(e,t,r){let n,i,o;qn(e,ki,l=>r(62,o=l));let{$$slots:a={},$$scope:s}=t;const c={"casino-hamburger-menu-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/casino-hamburger-menu-nd-ywrsru39.cjs"))},"player-account-balance-modal-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/player-account-balance-modal-nd-Dgwo2VN9.cjs"))},"player-deposit":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/player-deposit-Oe0nPYXj.cjs"))},"user-deposit-withdrawal":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/user-deposit-withdrawal-sqMzKClT.cjs")).then(l=>l.userDepositWithdrawal)},"gamification-dropdown":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/gamification-dropdown-BTLPC4Rm.cjs"))}};let{session:u=""}=t,{userid:h=""}=t,{endpoint:f=""}=t,{cmsendpoint:p=""}=t,{cmsenv:w=""}=t,{lang:x="en"}=t,{languageslist:_="en, ro"}=t,{activecategory:L=""}=t,{usefallbackactiveindex:N="true"}=t,{translationurl:S=""}=t,{customlocaleidentifier:M=""}=t,{gmversion:I=""}=t,{countryflagheader:z="false"}=t,{displaybalanceoption:D="All"}=t,{countryflaghamburger:E="false"}=t,{hasdefaultamount:y=""}=t,{playercurrency:P=""}=t,{disablelangtransform:Be="false"}=t,{shortcashierenabled:Te=""}=t,{producttype:oe=""}=t,{successurl:it=""}=t,{failurl:V=""}=t,{cancelurl:Le=""}=t,{sportsurl:ee=""}=t,{casinourl:ot=""}=t,{contacturl:xe=""}=t,{homeurl:re=""}=t,{depositurl:Ne=""}=t,{userroles:X=""}=t,{mbsource:ye=""}=t,{clientstyling:q=""}=t,{clientstylingurl:ve=""}=t,{currencydisplay:te="symbol"}=t,{maximumfractiondigits:Z="2"}=t,{minimumfractiondigits:Y="0"}=t,{customdisplayformat:J=""}=t,{totalcalculationmode:b="totalCashAmount"}=t,{primarybalancemode:B}=t,{balancelimitsbutton:Pe=""}=t,{hideproducttype:Or=""}=t,{gamification:bt="false"}=t,{showclosebutton:kr=!1}=t,{closebuttonactive:yt=!1}=t,{customlogourl:at}=t,{filterbykeyword:Oe="none"}=t,zi,Rr,ce,ke,st,ae;al({withLocale:"en",translations:{}});let vt=!1,Fr=0,Dr=0,G;const Wi=l=>{var T,K;l.preventDefault(),vt=!0,G==null||G.classList.add("dragging"),Fr=l.pageX-((T=G==null?void 0:G.offsetLeft)!=null?T:0),Dr=(K=G==null?void 0:G.scrollLeft)!=null?K:0},Vi=l=>{l.preventDefault(),vt=!1,G==null||G.classList.remove("dragging")},Xi=l=>{vt=!1,G==null||G.classList.remove("dragging")},Zi=l=>{if(!vt||!G)return;l.preventDefault();const K=(l.pageX-G.offsetLeft-Fr)*1.5;r(47,G.scrollLeft=Dr-K,G)},Yi=()=>{fetch(S).then(l=>l.json()).then(l=>{Object.keys(l).forEach(T=>{Hn(T,l[T])})}).catch(l=>{console.log(l)})};Object.keys(Mn).forEach(l=>{Hn(l,Mn[l])});let Xt=[],Zt=[],Yt=[],Jt=[],he="",He,de,Ur,lt=!0,Re=!1,Qt=!0,ut=!1,qt=!1,Kt=window.navigator.userAgent,Fe=!1,_t="",wt="",$t="",Et=[],St=!1,er="",tr=!1,xt=!1,rr;const ct=l=>{typeof gtag=="function"&&gtag("event",l,{context:"HeaderController"})},se=(l,T)=>{switch(l){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),ct("OpenLoginModal");break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),ct("OpenRegisterModal");break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href),ct("GoToHomepage");break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:Ir(Kt)},window.location.href),ct("GoToMyAccount");break;case"deposit":window.postMessage({type:"CloseBalance"},window.location.href),i?(r(58,tr=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),ct("GoToDeposit");break;case"language":r(60,rr=nr()),window.postMessage({type:"LanguageChanged",selectedLanguage:he},window.location.href);break;case"page":window.postMessage({type:"NavigateTo",item:T,path:T.path});break;case"closeLanguageSelector":r(52,ut=!1);break}},Ji=()=>{r(57,St=!St),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},Gr=l=>{if(l.data)switch(l.data.type){case"UserSessionID":r(54,_t=l.data.userid),wt=l.data.session,r(53,Fe=!0),Yr(wt);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),l.data.showhamburger&&r(57,St=!1);break;case"LogoutSuccessfull":r(53,Fe=!1);break;case"LanguageChanged":l.data.selectedLanguage.toLowerCase()!=x&&r(51,Qt=!0),zr(),Xr(de);break;case"OpenShortCashier":se("deposit");break;case"CloseShortCashier":Ht();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:ce.clientHeight},window.location.href);break;case"BalanceModalStatus":r(59,xt=l.data.status=="open"),jr(xt);break;case"UpdateBalanceBackground":jr(xt);break;case"CloseButtonActive":r(0,yt=l.data.isOpen);break}},Qi=()=>{if(!st)return;let l=st.getBoundingClientRect().width;r(46,ae.style.width=`${l}px`,ae),r(46,ae.style.left=`${ke.getBoundingClientRect().width}px`,ae)},jr=l=>{if(l&&ke){let T=ke.getBoundingClientRect().width;r(46,ae.style.width=`${T}px`,ae),r(46,ae.style.left="0px",ae)}else Qi()},qi=()=>{r(53,Fe=!0),wt=u},Ht=l=>{r(58,tr=!1),window.postMessage({type:"EnableScroll"},window.location.href),l==null||l.stopPropagation()},zr=()=>{de=new URL(`${p}/${he.toLowerCase()}/menu`),He=new URL(`${p}/${he.toLowerCase()}/hamburger-menu`),Ur=new URL(`${p}/${he.toLowerCase()}/op-options/style`);let l=Ri(Kt);de.searchParams.append("env",w),de.searchParams.append("language",he.toLowerCase()),de.searchParams.append("userRoles",X),l&&(l==="PC"?(He.searchParams.append("device","dk"),de.searchParams.append("device","dk")):(He.searchParams.append("device","mtWeb"),de.searchParams.append("device","mtWeb"))),He.searchParams.append("env",w),He.searchParams.append("language",he.toLowerCase()),He.searchParams.append("userRoles",X),Xr(de)},Ki=()=>{sl(x)},$i=()=>{r(50,he=x.toUpperCase()),r(60,rr=nr()),r(56,Et=_.replace(/ /g,"").split(",")),r(56,Et=Et.map(l=>l.toUpperCase())),zr(),io(Ur)},eo=()=>{r(43,Rr=to(L,Xt.concat(Yt)))},to=(l,T)=>{var F;const K=T.find(_e=>l===_e.path||`/${x}${l}`.replace(/\/$/,"")===_e.path.replace(/\/$/,"")||Wr(l).endsWith(Wr(_e.path)));if(K)return K.id;if(N==="true"){const _e=T.find(Ao=>Ao.path.split("/").indexOf(l.split("/")[1])>-1);return(F=_e==null?void 0:_e.id)!=null?F:-1}return-1},Wr=l=>l.replace(/\/+$/,""),ro=(l,T)=>l.filter(K=>T.includes(K)),Vr=l=>l.split(",").filter(Boolean).map(T=>T.trim()),Mt=l=>{if(!Oe||Oe==="none")return l;const T=Vr(Oe);return T.length===0?l:l.filter(K=>{const F=Vr(K.keyword||"");return F.length===0?!0:ro(T,F).length>0})},no=()=>{r(48,Zt=Mt(Xt)),r(49,Jt=Mt(Yt))},Xr=l=>(r(79,lt=!0),new Promise((T,K)=>{fetch(l).then(F=>F.json()).then(F=>{Xt=F.desktop.primary,r(48,Zt=Mt(F.desktop.primary)),Yt=F.desktop.secondary,r(49,Jt=Mt(F.desktop.secondary)),r(79,lt=!1),r(51,Qt=!1),T(F)},F=>{r(79,lt=!1),console.error(F),K(F)})})),io=l=>(r(80,Re=!1),new Promise((T,K)=>{fetch(l).then(F=>F.json()).then(F=>{F.logoUrl.length>0&&(F.logoUrl!="null"||F.logoUrl!="false")?(r(81,er=F.logoUrl),r(80,Re=!0)):r(80,Re=!1),T(F)},F=>{r(80,Re=!1),console.error(F),K(F)})})),oo=l=>{r(55,$t=l.Username),r(54,_t=l.UserID),r(53,Fe=!0)},Zr=()=>{r(53,Fe=!1),wt=null,r(54,_t=null),r(55,$t="")},Yr=l=>Ct(this,null,function*(){if(!l){Zr();return}try{const T=yield Fi(f,l);oo(T)}catch(T){console.error("Error while checking the session:",T),Zr()}}),Jr=l=>{var T;window.postMessage({type:"NavigateTo",itemId:l.id,item:l,path:l.path,externalLink:l.externalLink||!1,target:((T=l.attrs)==null?void 0:T.target)||null},window.location.href)},Qr=l=>{r(50,he=l),r(52,ut=!1),se("language")},qr=()=>{r(52,ut=!ut)},nr=l=>{let T=l?l.slice(-2):he.slice(-2);return M&&(T=M.includes(T.toLowerCase())?M.slice(-2):T),(Be==="false"&&T.toUpperCase()==="EN"||T==null)&&(T="GB"),T.toUpperCase()},De=l=>Ct(this,null,function*(){c[l]&&(c[l].loaded||(c[l].load(),c[l].loaded=!0))}),ao=l=>l==="false"?!1:!!l,Kr=()=>{window.postMessage({type:"HeaderCloseButton"},window.location.href),r(0,yt=!1)};ei(()=>(De("player-account-balance-modal-nd"),De("casino-hamburger-menu-nd"),window.addEventListener("message",Gr,!1),r(42,qt=Ir(Kt)),()=>{window.removeEventListener("message",Gr)}));function so(l){Zo.call(this,e,l)}const lo=()=>Kr(),uo=()=>se("lobby"),co=()=>se("myaccount"),ho=l=>se("page",l);function fo(l){Ee[l?"unshift":"push"](()=>{G=l,r(47,G)})}function po(l){Ee[l?"unshift":"push"](()=>{ke=l,r(44,ke)})}const mo=()=>se("deposit"),go=l=>Ht(l),bo=l=>Ht(l);function yo(l){Ee[l?"unshift":"push"](()=>{st=l,r(45,st)})}function vo(l){Ee[l?"unshift":"push"](()=>{ae=l,r(46,ae)})}const _o=()=>se("myaccount"),wo=()=>se("login"),Eo=()=>se("register"),So=()=>qr(),xo=l=>Qr(l),Ho=l=>Jr(l),Mo=()=>se("closeLanguageSelector");function Co(l){Ee[l?"unshift":"push"](()=>{ce=l,r(41,ce)})}return e.$$set=l=>{"session"in l&&r(1,u=l.session),"userid"in l&&r(2,h=l.userid),"endpoint"in l&&r(3,f=l.endpoint),"cmsendpoint"in l&&r(4,p=l.cmsendpoint),"cmsenv"in l&&r(5,w=l.cmsenv),"lang"in l&&r(6,x=l.lang),"languageslist"in l&&r(7,_=l.languageslist),"activecategory"in l&&r(8,L=l.activecategory),"usefallbackactiveindex"in l&&r(75,N=l.usefallbackactiveindex),"translationurl"in l&&r(9,S=l.translationurl),"customlocaleidentifier"in l&&r(10,M=l.customlocaleidentifier),"gmversion"in l&&r(11,I=l.gmversion),"countryflagheader"in l&&r(12,z=l.countryflagheader),"displaybalanceoption"in l&&r(13,D=l.displaybalanceoption),"countryflaghamburger"in l&&r(14,E=l.countryflaghamburger),"hasdefaultamount"in l&&r(15,y=l.hasdefaultamount),"playercurrency"in l&&r(16,P=l.playercurrency),"disablelangtransform"in l&&r(76,Be=l.disablelangtransform),"shortcashierenabled"in l&&r(17,Te=l.shortcashierenabled),"producttype"in l&&r(18,oe=l.producttype),"successurl"in l&&r(19,it=l.successurl),"failurl"in l&&r(20,V=l.failurl),"cancelurl"in l&&r(21,Le=l.cancelurl),"sportsurl"in l&&r(22,ee=l.sportsurl),"casinourl"in l&&r(23,ot=l.casinourl),"contacturl"in l&&r(24,xe=l.contacturl),"homeurl"in l&&r(25,re=l.homeurl),"depositurl"in l&&r(26,Ne=l.depositurl),"userroles"in l&&r(27,X=l.userroles),"mbsource"in l&&r(28,ye=l.mbsource),"clientstyling"in l&&r(29,q=l.clientstyling),"clientstylingurl"in l&&r(30,ve=l.clientstylingurl),"currencydisplay"in l&&r(31,te=l.currencydisplay),"maximumfractiondigits"in l&&r(32,Z=l.maximumfractiondigits),"minimumfractiondigits"in l&&r(33,Y=l.minimumfractiondigits),"customdisplayformat"in l&&r(34,J=l.customdisplayformat),"totalcalculationmode"in l&&r(35,b=l.totalcalculationmode),"primarybalancemode"in l&&r(36,B=l.primarybalancemode),"balancelimitsbutton"in l&&r(37,Pe=l.balancelimitsbutton),"hideproducttype"in l&&r(38,Or=l.hideproducttype),"gamification"in l&&r(39,bt=l.gamification),"showclosebutton"in l&&r(40,kr=l.showclosebutton),"closebuttonactive"in l&&r(0,yt=l.closebuttonactive),"customlogourl"in l&&r(77,at=l.customlogourl),"filterbykeyword"in l&&r(78,Oe=l.filterbykeyword),"$$scope"in l&&r(82,s=l.$$scope)},e.$$.update=()=>{e.$$.dirty[2]&65536&&Oe&&no(),e.$$.dirty[2]&819200&&r(61,n=Re?at!=null?at:er:ll),e.$$.dirty[0]&256|e.$$.dirty[2]&131072&&L&&!lt&&eo(),e.$$.dirty[0]&2&&u&&(qi(),Yr(u)),e.$$.dirty[0]&131072&&(i=Te.toLocaleLowerCase()=="true"),e.$$.dirty[0]&64&&x&&Ki(),e.$$.dirty[0]&134217968&&p&&x&&_&&X&&w&&$i(),e.$$.dirty[0]&512&&S&&Yi(),e.$$.dirty[0]&536870912|e.$$.dirty[1]&1024&&q&&ce&&Di(ce,q),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&1024&&ve&&ce&&Ui(ce,ve),e.$$.dirty[0]&268435456|e.$$.dirty[1]&1024&&ye&&ce&&Gi(ce,`${ye}.Style`,zi),e.$$.dirty[1]&256&&bt&&ao(bt)&&De("gamification-dropdown"),e.$$.dirty[0]&2048&&De(I&&I==="gmcore"?"player-deposit":"user-deposit-withdrawal"),e.$$.dirty[1]&2048&&qt&&De("casino-hamburger-menu-nd")},[yt,u,h,f,p,w,x,_,L,S,M,I,z,D,E,y,P,Te,oe,it,V,Le,ee,ot,xe,re,Ne,X,ye,q,ve,te,Z,Y,J,b,B,Pe,Or,bt,kr,ce,qt,Rr,ke,st,ae,G,Zt,Jt,he,Qt,ut,Fe,_t,$t,Et,St,tr,xt,rr,n,o,Wi,Vi,Xi,Zi,se,Ji,Ht,Jr,Qr,qr,nr,Kr,N,Be,at,Oe,lt,Re,er,s,a,so,lo,uo,co,ho,fo,po,mo,go,bo,yo,vo,_o,wo,Eo,So,xo,Ho,Mo,Co]}class ji extends ai{constructor(t){super(),ni(this,t,Nl,Ll,Tr,{session:1,userid:2,endpoint:3,cmsendpoint:4,cmsenv:5,lang:6,languageslist:7,activecategory:8,usefallbackactiveindex:75,translationurl:9,customlocaleidentifier:10,gmversion:11,countryflagheader:12,displaybalanceoption:13,countryflaghamburger:14,hasdefaultamount:15,playercurrency:16,disablelangtransform:76,shortcashierenabled:17,producttype:18,successurl:19,failurl:20,cancelurl:21,sportsurl:22,casinourl:23,contacturl:24,homeurl:25,depositurl:26,userroles:27,mbsource:28,clientstyling:29,clientstylingurl:30,currencydisplay:31,maximumfractiondigits:32,minimumfractiondigits:33,customdisplayformat:34,totalcalculationmode:35,primarybalancemode:36,balancelimitsbutton:37,hideproducttype:38,gamification:39,showclosebutton:40,closebuttonactive:0,customlogourl:77,filterbykeyword:78},ul,[-1,-1,-1,-1,-1,-1])}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),H()}get userid(){return this.$$.ctx[2]}set userid(t){this.$$set({userid:t}),H()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),H()}get cmsendpoint(){return this.$$.ctx[4]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),H()}get cmsenv(){return this.$$.ctx[5]}set cmsenv(t){this.$$set({cmsenv:t}),H()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),H()}get languageslist(){return this.$$.ctx[7]}set languageslist(t){this.$$set({languageslist:t}),H()}get activecategory(){return this.$$.ctx[8]}set activecategory(t){this.$$set({activecategory:t}),H()}get usefallbackactiveindex(){return this.$$.ctx[75]}set usefallbackactiveindex(t){this.$$set({usefallbackactiveindex:t}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),H()}get customlocaleidentifier(){return this.$$.ctx[10]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),H()}get gmversion(){return this.$$.ctx[11]}set gmversion(t){this.$$set({gmversion:t}),H()}get countryflagheader(){return this.$$.ctx[12]}set countryflagheader(t){this.$$set({countryflagheader:t}),H()}get displaybalanceoption(){return this.$$.ctx[13]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),H()}get countryflaghamburger(){return this.$$.ctx[14]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),H()}get hasdefaultamount(){return this.$$.ctx[15]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),H()}get playercurrency(){return this.$$.ctx[16]}set playercurrency(t){this.$$set({playercurrency:t}),H()}get disablelangtransform(){return this.$$.ctx[76]}set disablelangtransform(t){this.$$set({disablelangtransform:t}),H()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),H()}get producttype(){return this.$$.ctx[18]}set producttype(t){this.$$set({producttype:t}),H()}get successurl(){return this.$$.ctx[19]}set successurl(t){this.$$set({successurl:t}),H()}get failurl(){return this.$$.ctx[20]}set failurl(t){this.$$set({failurl:t}),H()}get cancelurl(){return this.$$.ctx[21]}set cancelurl(t){this.$$set({cancelurl:t}),H()}get sportsurl(){return this.$$.ctx[22]}set sportsurl(t){this.$$set({sportsurl:t}),H()}get casinourl(){return this.$$.ctx[23]}set casinourl(t){this.$$set({casinourl:t}),H()}get contacturl(){return this.$$.ctx[24]}set contacturl(t){this.$$set({contacturl:t}),H()}get homeurl(){return this.$$.ctx[25]}set homeurl(t){this.$$set({homeurl:t}),H()}get depositurl(){return this.$$.ctx[26]}set depositurl(t){this.$$set({depositurl:t}),H()}get userroles(){return this.$$.ctx[27]}set userroles(t){this.$$set({userroles:t}),H()}get mbsource(){return this.$$.ctx[28]}set mbsource(t){this.$$set({mbsource:t}),H()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(t){this.$$set({clientstyling:t}),H()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),H()}get currencydisplay(){return this.$$.ctx[31]}set currencydisplay(t){this.$$set({currencydisplay:t}),H()}get maximumfractiondigits(){return this.$$.ctx[32]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),H()}get minimumfractiondigits(){return this.$$.ctx[33]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),H()}get customdisplayformat(){return this.$$.ctx[34]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),H()}get totalcalculationmode(){return this.$$.ctx[35]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),H()}get primarybalancemode(){return this.$$.ctx[36]}set primarybalancemode(t){this.$$set({primarybalancemode:t}),H()}get balancelimitsbutton(){return this.$$.ctx[37]}set balancelimitsbutton(t){this.$$set({balancelimitsbutton:t}),H()}get hideproducttype(){return this.$$.ctx[38]}set hideproducttype(t){this.$$set({hideproducttype:t}),H()}get gamification(){return this.$$.ctx[39]}set gamification(t){this.$$set({gamification:t}),H()}get showclosebutton(){return this.$$.ctx[40]}set showclosebutton(t){this.$$set({showclosebutton:t}),H()}get closebuttonactive(){return this.$$.ctx[0]}set closebuttonactive(t){this.$$set({closebuttonactive:t}),H()}get customlogourl(){return this.$$.ctx[77]}set customlogourl(t){this.$$set({customlogourl:t}),H()}get filterbykeyword(){return this.$$.ctx[78]}set filterbykeyword(t){this.$$set({filterbykeyword:t}),H()}}oi(ji,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},usefallbackactiveindex:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},disablelangtransform:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},totalcalculationmode:{},primarybalancemode:{},balancelimitsbutton:{},hideproducttype:{},gamification:{},showclosebutton:{type:"Boolean"},closebuttonactive:{type:"Boolean"},customlogourl:{},filterbykeyword:{}},["logo","slot4","slot1","slot2","slot3"],[],!0);const Pl=Object.freeze(Object.defineProperty({__proto__:null,default:ji},Symbol.toStringTag,{value:"Module"}));exports.$format=ki;exports.$locale=be;exports.CasinoHeaderControllerNd_ce=Pl;exports.SvelteComponent=ai;exports.addMessages=Nr;exports.add_render_callback=kt;exports.append=g;exports.append_styles=$n;exports.attr=m;exports.binding_callbacks=Ee;exports.checkSession=Fi;exports.check_outros=ri;exports.commonjsGlobal=ba;exports.component_subscribe=qn;exports.create_custom_element=oi;exports.create_slot=We;exports.destroy_each=$e;exports.detach=C;exports.element=v;exports.empty=et;exports.ensure_array_like=ge;exports.flush=H;exports.getDevice=Ri;exports.get_all_dirty_from_scope=Ze;exports.get_slot_changes=Ve;exports.group_outros=ti;exports.init=ni;exports.insert=A;exports.isMobile=Ir;exports.listen=W;exports.noop=Q;exports.onMount=ei;exports.run_all=ue;exports.safe_not_equal=Tr;exports.select_option=jo;exports.select_value=zo;exports.setClientStyling=Di;exports.setClientStylingURL=Ui;exports.setStreamStyling=Gi;exports.set_data=le;exports.set_input_value=Uo;exports.set_style=Go;exports.space=O;exports.src_url_equal=Ae;exports.svg_element=Me;exports.text=ne;exports.toggle_class=Wo;exports.transition_in=pe;exports.transition_out=we;exports.update_slot_base=Xe;