@everymatrix/casino-header-controller-nd 1.90.7 → 1.90.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoHamburgerMenuNd-BH6BG36R.js +1291 -0
- package/components/CasinoHamburgerMenuNd-CuOroj3Y.js +1315 -0
- package/components/CasinoHamburgerMenuNd-NxKPo2-K.cjs +1 -0
- package/components/{CasinoHeaderControllerNd-B95VpbsW.js → CasinoHeaderControllerNd-BiDGzPtn.js} +1890 -1789
- package/components/{CasinoHeaderControllerNd-D1S0W4fx.js → CasinoHeaderControllerNd-CHAFeQ-G.js} +1867 -1767
- package/components/CasinoHeaderControllerNd-Cy4RqjxM.cjs +18 -0
- package/components/{PlayerAccountBalanceModalNd-Crk2vT3z.js → PlayerAccountBalanceModalNd-CMv5mwmK.js} +70 -70
- package/components/{PlayerAccountBalanceModalNd-CIeCaHJR.js → PlayerAccountBalanceModalNd-D0CWoVA3.js} +33 -33
- package/components/{PlayerAccountBalanceModalNd-CKolmBwj.cjs → PlayerAccountBalanceModalNd-DwhvnS-B.cjs} +1 -1
- package/components/{PlayerDeposit-ikLnSVkR.js → PlayerDeposit-CNAsTv6k.js} +16 -16
- package/components/{PlayerDeposit-BMxv0N7J.js → PlayerDeposit-DFfvOVtM.js} +21 -21
- package/components/{PlayerDeposit-qPyH6U6-.cjs → PlayerDeposit-loJvKp78.cjs} +1 -1
- package/es2015/casino-header-controller-nd.cjs +1 -1
- package/es2015/casino-header-controller-nd.js +1 -1
- package/esnext/casino-header-controller-nd.js +1 -1
- package/lazy/{casino-hamburger-menu-nd-B59x5qq1.js → casino-hamburger-menu-nd-BPDYqmRL.js} +1 -1
- package/lazy/{casino-hamburger-menu-nd-IvA6ceA-.cjs → casino-hamburger-menu-nd-BtiACLBX.cjs} +1 -1
- package/lazy/{casino-hamburger-menu-nd-DFsZnbAv.js → casino-hamburger-menu-nd-Ph1Fx2Kl.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-Av2-M8jH.js → player-account-balance-modal-nd-Dho2TM3F.js} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVSq7VyF.cjs → player-account-balance-modal-nd-IZBAft1T.cjs} +1 -1
- package/lazy/{player-account-balance-modal-nd-BVUBazOl.js → player-account-balance-modal-nd-kV2PjYEL.js} +1 -1
- package/lazy/{player-deposit-B_pDyfA5.js → player-deposit-BNWSkpVt.js} +1 -1
- package/lazy/{player-deposit-Bi6yTqI3.cjs → player-deposit-CEFFQhy2.cjs} +1 -1
- package/lazy/{player-deposit-DlTrAf96.js → player-deposit-D6Sg3BWr.js} +1 -1
- package/package.json +1 -1
- package/components/CasinoHamburgerMenuNd-BWo6pPAT.cjs +0 -1
- package/components/CasinoHamburgerMenuNd-BhNXQcMS.js +0 -1263
- package/components/CasinoHamburgerMenuNd-DuY3AlRJ.js +0 -1239
- package/components/CasinoHeaderControllerNd-CDENLWE2.cjs +0 -18
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";var Uo=Object.defineProperty,Go=Object.defineProperties;var jo=Object.getOwnPropertyDescriptors;var ln=Object.getOwnPropertySymbols;var zo=Object.prototype.hasOwnProperty,Wo=Object.prototype.propertyIsEnumerable;var lr=(e,t,r)=>t in e?Uo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,un=(e,t)=>{for(var r in t||(t={}))zo.call(t,r)&&lr(e,r,t[r]);if(ln)for(var r of ln(t))Wo.call(t,r)&&lr(e,r,t[r]);return e},cn=(e,t)=>Go(e,jo(t));var ue=(e,t,r)=>(lr(e,typeof t!="symbol"?t+"":t,r),r);var It=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{l(r.next(u))}catch(c){i(c)}},a=u=>{try{l(r.throw(u))}catch(c){i(c)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,a);l((r=r.apply(e,t)).next())});function ee(){}function Vo(e,t){for(const r in t)e[r]=t[r];return e}function oi(e){return e()}function hn(){return Object.create(null)}function de(e){e.forEach(oi)}function Pr(e){return typeof e=="function"}function Or(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Tt;function Le(e,t){return e===t?!0:(Tt||(Tt=document.createElement("a")),Tt.href=t,e===Tt.href)}function Xo(e){return Object.keys(e).length===0}function ai(e,...t){if(e==null){for(const n of t)n(void 0);return ee}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function si(e,t,r){e.$$.on_destroy.push(ai(t,r))}function Ze(e,t,r,n){if(e){const i=li(e,t,r,n);return e[0](i)}}function li(e,t,r,n){return e[1]&&n?Vo(r.ctx.slice(),e[1](n(t))):r.ctx}function Ye(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 l=0;l<a;l+=1)o[l]=t.dirty[l]|i[l];return o}return t.dirty|i}return t.dirty}function Je(e,t,r,n,i,o){if(i){const a=li(t,r,n,o);e.p(a,i)}}function Qe(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 ui(e,t,r){const n=Zo(e);if(!n.getElementById(t)){const i=v("style");i.id=t,i.textContent=r,Yo(n,i)}}function Zo(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Yo(e,t){return g(e.head||e,t),t.sheet}function B(e,t,r){e.insertBefore(t,r||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function rt(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 be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ie(e){return document.createTextNode(e)}function O(){return ie(" ")}function nt(){return ie("")}function Z(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Jo(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 p(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 Qo(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function qo(e,t){e.value=t==null?"":t}function Ko(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function $o(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 ea(e){const t=e.querySelector(":checked");return t&&t.__value}function ta(e,t,r){e.classList.toggle(t,!!r)}function ra(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let gt;function mt(e){gt=e}function na(){if(!gt)throw new Error("Function called outside component initialization");return gt}function ci(e){na().$$.on_mount.push(e)}function ia(e,t){const r=e.$$.callbacks[t.type];r&&r.slice().forEach(n=>n.call(this,t))}const Ve=[],Ce=[];let qe=[];const fn=[],oa=Promise.resolve();let br=!1;function aa(){br||(br=!0,oa.then(E))}function Dt(e){qe.push(e)}const ur=new Set;let ze=0;function E(){if(ze!==0)return;const e=gt;do{try{for(;ze<Ve.length;){const t=Ve[ze];ze++,mt(t),sa(t.$$)}}catch(t){throw Ve.length=0,ze=0,t}for(mt(null),Ve.length=0,ze=0;Ce.length;)Ce.pop()();for(let t=0;t<qe.length;t+=1){const r=qe[t];ur.has(r)||(ur.add(r),r())}qe.length=0}while(Ve.length);for(;fn.length;)fn.pop()();br=!1,ur.clear(),mt(e)}function sa(e){if(e.fragment!==null){e.update(),de(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Dt)}}function la(e){const t=[],r=[];qe.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),qe=t}const Pt=new Set;let Te;function hi(){Te={r:0,c:[],p:Te}}function fi(){Te.r||de(Te.c),Te=Te.p}function _e(e,t){e&&e.i&&(Pt.delete(e),e.i(t))}function Me(e,t,r,n){if(e&&e.o){if(Pt.has(e))return;Pt.add(e),Te.c.push(()=>{Pt.delete(e),n&&(r&&e.d(1),n())}),e.o(t)}else n&&n()}function Ee(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function ua(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Dt(()=>{const o=e.$$.on_mount.map(oi).filter(Pr);e.$$.on_destroy?e.$$.on_destroy.push(...o):de(o),e.$$.on_mount=[]}),i.forEach(Dt)}function ca(e,t){const r=e.$$;r.fragment!==null&&(la(r.after_update),de(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function ha(e,t){e.$$.dirty[0]===-1&&(Ve.push(e),aa(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function di(e,t,r,n,i,o,a=null,l=[-1]){const u=gt;mt(e);const c=e.$$={fragment:null,ctx:[],props:o,update:ee,not_equal:i,bound:hn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:hn(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};a&&a(c.root);let f=!1;if(c.ctx=r?r(e,t.props||{},(h,d,..._)=>{const H=_.length?_[0]:d;return c.ctx&&i(c.ctx[h],c.ctx[h]=H)&&(!c.skip_bound&&c.bound[h]&&c.bound[h](H),f&&ha(e,h)),d}):[],c.update(),f=!0,de(c.before_update),c.fragment=n?n(c.ctx):!1,t.target){if(t.hydrate){const h=Qo(t.target);c.fragment&&c.fragment.l(h),h.forEach(A)}else c.fragment&&c.fragment.c();t.intro&&_e(e.$$.fragment),ua(e,t.target,t.anchor),E()}mt(u)}let pi;typeof HTMLElement=="function"&&(pi=class extends HTMLElement{constructor(t,r,n){super();ue(this,"$$ctor");ue(this,"$$s");ue(this,"$$c");ue(this,"$$cn",!1);ue(this,"$$d",{});ue(this,"$$r",!1);ue(this,"$$p_d",{});ue(this,"$$l",{});ue(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 It(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(c,f){B(c,a,f)},d:function(c){c&&A(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ra(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]=Ot(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:cn(un({},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=Ot(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 l=this.$$c.$on(o,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ot(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 Ot(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 mi(e,t,r,n,i,o){let a=class extends pi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var c;u=Ot(l,u,t),this.$$d[l]=u,(c=this.$$c)==null||c.$set({[l]:u})}})}),n.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=a,a}class gi{constructor(){ue(this,"$$");ue(this,"$$set")}$destroy(){ca(this,1),this.$destroy=ee}$on(t,r){if(!Pr(r))return ee;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&&!Xo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const fa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(fa);/*! *****************************************************************************
|
|
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 vr=function(e,t){return vr=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])},vr(e,t)};function yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function yr(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 _r(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(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o}function wr(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 we(e){return typeof e=="function"}function bi(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 cr=bi(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 Er(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var zt=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 l=yr(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(y){t={error:y}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(we(f))try{f()}catch(y){o=y instanceof cr?y.errors:[y]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=yr(h),_=d.next();!_.done;_=d.next()){var H=_.value;try{dn(H)}catch(y){o=o!=null?o:[],y instanceof cr?o=wr(wr([],_r(o)),_r(y.errors)):o.push(y)}}}catch(y){n={error:y}}finally{try{_&&!_.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(o)throw new cr(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dn(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)&&Er(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Er(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),vi=zt.EMPTY;function yi(e){return e instanceof zt||e&&"closed"in e&&we(e.remove)&&we(e.add)&&we(e.unsubscribe)}function dn(e){we(e)?e():e.unsubscribe()}var da={Promise:void 0},pa={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,wr([e,t],_r(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function ma(e){pa.setTimeout(function(){throw e})}function pn(){}function kt(e){e()}var _i=function(e){yt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,yi(r)&&r.add(n)):n.destination=va,n}return t.create=function(r,n,i){return new Sr(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}(zt),ga=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){Lt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Lt(n)}else Lt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Lt(r)}},e}(),Sr=function(e){yt(t,e);function t(r,n,i){var o=e.call(this)||this,a;return we(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 ga(a),o}return t}(_i);function Lt(e){ma(e)}function ba(e){throw e}var va={closed:!0,next:pn,error:ba,complete:pn},ya=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function _a(e){return e}function wa(e){return e.length===0?_a:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var mn=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=Sa(t)?t:new Sr(t,r,n);return kt(function(){var a=i,l=a.operator,u=a.source;o.add(l?l.call(o,u):u?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=gn(r),new r(function(i,o){var a=new Sr({next:function(l){try{t(l)}catch(u){o(u),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[ya]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return wa(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=gn(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 gn(e){var t;return(t=e!=null?e:da.Promise)!==null&&t!==void 0?t:Promise}function Ea(e){return e&&we(e.next)&&we(e.error)&&we(e.complete)}function Sa(e){return e&&e instanceof _i||Ea(e)&&yi(e)}var xa=bi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),wi=function(e){yt(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 bn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new xa},t.prototype.next=function(r){var n=this;kt(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=yr(n.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){i={error:c}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;kt(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;kt(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,l=i.observers;return o||a?vi:(this.currentObservers=null,l.push(r),new zt(function(){n.currentObservers=null,Er(l,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 mn;return r.source=this,r},t.create=function(r,n){return new bn(r,n)},t}(mn),bn=function(e){yt(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:vi},t}(wi),Ei={now:function(){return(Ei.delegate||Date).now()},delegate:void 0},Ha=function(e){yt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ei);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,l=n._timestampProvider,u=n._windowTime;i||(o.push(r),!a&&o.push(l.now()+u)),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,l=a.slice(),u=0;u<l.length&&!r.closed;u+=o?1:2)r.next(l[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*n;if(n<1/0&&l<o.length&&o.splice(0,o.length-l),!a){for(var u=i.now(),c=0,f=1;f<o.length&&o[f]<=u;f+=2)c=f;c&&o.splice(0,c+1)}},t}(wi);const vn=[],yn={},Ma=(e,t=0)=>{if(vn.indexOf(e)==-1){const r=new Ha(t);yn[e]=r,vn.push(e)}return yn[e]},We=[];function Ca(e,t){return{subscribe:Wt(e,t).subscribe}}function Wt(e,t=ee){let r;const n=new Set;function i(l){if(Or(e,l)&&(e=l,r)){const u=!We.length;for(const c of n)c[1](),We.push(c,e);if(u){for(let c=0;c<We.length;c+=2)We[c][0](We[c+1]);We.length=0}}}function o(l){i(l(e))}function a(l,u=ee){const c=[l,u];return n.add(c),n.size===1&&(r=t(i,o)||ee),l(e),()=>{n.delete(c),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function it(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 Ca(r,(a,l)=>{let u=!1;const c=[];let f=0,h=ee;const d=()=>{if(f)return;h();const H=t(n?c[0]:c,a,l);o?a(H):h=Pr(H)?H:ee},_=i.map((H,y)=>ai(H,L=>{c[y]=L,f&=~(1<<y),u&&d()},()=>{f|=1<<y}));return u=!0,d(),function(){de(_),h(),u=!1}})}var Aa=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ia=function(t){return Ta(t)&&!La(t)};function Ta(e){return!!e&&typeof e=="object"}function La(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Oa(e)}var Na=typeof Symbol=="function"&&Symbol.for,Pa=Na?Symbol.for("react.element"):60103;function Oa(e){return e.$$typeof===Pa}function ka(e){return Array.isArray(e)?[]:{}}function bt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ke(ka(e),e,t):e}function Ra(e,t,r){return e.concat(t).map(function(n){return bt(n,r)})}function Fa(e,t){if(!t.customMerge)return Ke;var r=t.customMerge(e);return typeof r=="function"?r:Ke}function Da(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _n(e){return Object.keys(e).concat(Da(e))}function Si(e,t){try{return t in e}catch(r){return!1}}function Ua(e,t){return Si(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ga(e,t,r){var n={};return r.isMergeableObject(e)&&_n(e).forEach(function(i){n[i]=bt(e[i],r)}),_n(t).forEach(function(i){Ua(e,i)||(Si(e,i)&&r.isMergeableObject(t[i])?n[i]=Fa(i,r)(e[i],t[i],r):n[i]=bt(t[i],r))}),n}function Ke(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ra,r.isMergeableObject=r.isMergeableObject||Ia,r.cloneUnlessOtherwiseSpecified=bt;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Ga(e,t,r):bt(t,r)}Ke.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ke(n,i,r)},{})};var ja=Ke,za=ja;const Wa=Ba(za);var xr=function(e,t){return xr=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])},xr(e,t)};function Vt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ge=function(){return ge=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},ge.apply(this,arguments)};function Va(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 hr(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 fr(e,t){var r=t&&t.cache?t.cache:Ka,n=t&&t.serializer?t.serializer:Qa,i=t&&t.strategy?t.strategy:Ya;return i(e,{cache:r,serializer:n})}function Xa(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Za(e,t,r,n){var i=Xa(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function xi(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 Hi(e,t,r,n,i){return r.bind(t,e,n,i)}function Ya(e,t){var r=e.length===1?Za:xi;return Hi(e,this,r,t.cache.create(),t.serializer)}function Ja(e,t){return Hi(e,this,xi,t.cache.create(),t.serializer)}var Qa=function(){return JSON.stringify(arguments)},qa=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}(),Ka={create:function(){return new qa}},dr={variadic:Ja},Ut=function(){return Ut=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},Ut.apply(this,arguments)};var R;(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"})(R||(R={}));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 $e;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})($e||($e={}));function wn(e){return e.type===U.literal}function $a(e){return e.type===U.argument}function Mi(e){return e.type===U.number}function Ci(e){return e.type===U.date}function Ai(e){return e.type===U.time}function Bi(e){return e.type===U.select}function Ii(e){return e.type===U.plural}function es(e){return e.type===U.pound}function Ti(e){return e.type===U.tag}function Li(e){return!!(e&&typeof e=="object"&&e.type===$e.number)}function Hr(e){return!!(e&&typeof e=="object"&&e.type===$e.dateTime)}var Ni=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ts=/(?:[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 rs(e){var t={};return e.replace(ts,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 W=function(){return W=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},W.apply(this,arguments)};var ns=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function is(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ns).filter(function(d){return d.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 l=a[0],u=a.slice(1),c=0,f=u;c<f.length;c++){var h=f[c];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:u})}return r}function os(e){return e.replace(/^(.*?)-/,"")}var En=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pi=/^(@+)?(\+|#+)?[rs]?$/g,as=/(\*)(0+)|(#+)(0+)|(0+)/g,Oi=/^(0+)$/;function Sn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Pi,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 ki(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 ss(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)),!Oi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function xn(e){var t={},r=ki(e);return r||t}function ls(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=os(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=W(W(W({},t),{notation:"scientific"}),i.options.reduce(function(u,c){return W(W({},u),xn(c))},{}));continue;case"engineering":t=W(W(W({},t),{notation:"engineering"}),i.options.reduce(function(u,c){return W(W({},u),xn(c))},{}));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(as,function(u,c,f,h,d,_){if(c)t.minimumIntegerDigits=f.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Oi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(En.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(En,function(u,c,f,h,d,_){return f==="*"?t.minimumFractionDigits=c.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&_?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+_.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var o=i.options[0];o==="w"?t=W(W({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=W(W({},t),Sn(o)));continue}if(Pi.test(i.stem)){t=W(W({},t),Sn(i.stem));continue}var a=ki(i.stem);a&&(t=W(W({},t),a));var l=ss(i.stem);l&&(t=W(W({},t),l))}return t}var Nt={"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 us(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),l=o<2?1:3+(o>>1),u="a",c=cs(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;a-- >0;)r=c+r}else i==="J"?r+="H":r+=i}return r}function cs(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=Nt[n||""]||Nt[r||""]||Nt["".concat(r,"-001")]||Nt["001"];return i[0]}var pr,hs=new RegExp("^".concat(Ni.source,"*")),fs=new RegExp("".concat(Ni.source,"*$"));function F(e,t){return{start:e,end:t}}var ds=!!String.prototype.startsWith&&"_a".startsWith("a",1),ps=!!String.fromCodePoint,ms=!!Object.fromEntries,gs=!!String.prototype.codePointAt,bs=!!String.prototype.trimStart,vs=!!String.prototype.trimEnd,ys=!!Number.isSafeInteger,_s=ys?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mr=!0;try{var ws=Fi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Mr=((pr=ws.exec("a"))===null||pr===void 0?void 0:pr[0])==="a"}catch(e){Mr=!1}var Hn=ds?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Cr=ps?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},Mn=ms?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],a=o[0],l=o[1];r[a]=l}return r},Ri=gs?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}},Es=bs?function(t){return t.trimStart()}:function(t){return t.replace(hs,"")},Ss=vs?function(t){return t.trimEnd()}:function(t){return t.replace(fs,"")};function Fi(e,t){return new RegExp(e,t)}var Ar;if(Mr){var Cn=Fi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ar=function(t,r){var n;Cn.lastIndex=r;var i=Cn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Ar=function(t,r){for(var n=[];;){var i=Ri(t,r);if(i===void 0||Di(i)||Cs(i))break;n.push(i),r+=i>=65536?2:1}return Cr.apply(void 0,n)};var xs=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 l=this.clonePosition();this.bump(),i.push({type:U.pound,location:F(l,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(R.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Br(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:F(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,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Br(this.char()))return this.error(R.INVALID_TAG,F(l,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return i!==c?this.error(R.UNMATCHED_CLOSING_TAG,F(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:a,location:F(n,this.clonePosition())},err:null}:this.error(R.INVALID_TAG,F(l,this.clonePosition())))}else return this.error(R.UNCLOSED_TAG,F(n,this.clonePosition()))}else return this.error(R.INVALID_TAG,F(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 l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var u=F(n,this.clonePosition());return{val:{type:U.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Hs(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 Cr.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(),Cr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(R.EMPTY_ARGUMENT,F(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(R.MALFORMED_ARGUMENT,F(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:F(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,F(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(R.MALFORMED_ARGUMENT,F(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ar(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=F(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(R.EXPECT_ARGUMENT_TYPE,F(a,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Ss(h.val);if(d.length===0)return this.error(R.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));var _=F(f,this.clonePosition());c={style:d,styleLocation:_}}var H=this.tryParseArgumentClose(i);if(H.err)return H;var y=F(i,this.clonePosition());if(c&&Hn(c==null?void 0:c.style,"::",0)){var L=Es(c.style.slice(2));if(l==="number"){var h=this.parseNumberSkeletonFromString(L,c.styleLocation);return h.err?h:{val:{type:U.number,value:n,location:y,style:h.val},err:null}}else{if(L.length===0)return this.error(R.EXPECT_DATE_TIME_SKELETON,y);var N=L;this.locale&&(N=us(L,this.locale));var d={type:$e.dateTime,pattern:N,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?rs(N):{}},S=l==="date"?U.date:U.time;return{val:{type:S,value:n,location:y,style:d},err:null}}}return{val:{type:l==="number"?U.number:l==="date"?U.date:U.time,value:n,location:y,style:(o=c==null?void 0:c.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(R.EXPECT_SELECT_ARGUMENT_OPTIONS,F(M,Ut({},M)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),G=0;if(l!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),I=this.parseIdentifierIfPossible(),G=h.val}var J=this.tryParsePluralOrSelectOptions(t,l,r,I);if(J.err)return J;var H=this.tryParseArgumentClose(i);if(H.err)return H;var C=F(i,this.clonePosition());return l==="select"?{val:{type:U.select,value:n,options:Mn(J.val),location:C},err:null}:{val:{type:U.plural,value:n,options:Mn(J.val),offset:G,pluralType:l==="plural"?"cardinal":"ordinal",location:C},err:null}}default:return this.error(R.INVALID_ARGUMENT_TYPE,F(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,F(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(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(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=is(t)}catch(i){return this.error(R.INVALID_NUMBER_SKELETON,r)}return{val:{type:$e.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ls(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,l=[],u=new Set,c=i.value,f=i.location;;){if(c.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;f=F(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(u.has(c))return this.error(r==="select"?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));var H=this.parseMessage(t+1,r,n);if(H.err)return H;var y=this.tryParseArgumentClose(_);if(y.err)return y;l.push([c,{value:H.val,location:F(_,this.clonePosition())}]),u.add(c),this.bumpSpace(),o=this.parseIdentifierIfPossible(),c=o.value,f=o.location}return l.length===0?this.error(r==="select"?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(R.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:l,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 l=this.char();if(l>=48&&l<=57)o=!0,a=a*10+(l-48),this.bump();else break}var u=F(i,this.clonePosition());return o?(a*=n,_s(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},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=Ri(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(Hn(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()&&Di(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 Br(e){return e>=97&&e<=122||e>=65&&e<=90}function Hs(e){return Br(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 Di(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Cs(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 Ir(e){e.forEach(function(t){if(delete t.location,Bi(t)||Ii(t))for(var r in t.options)delete t.options[r].location,Ir(t.options[r].value);else Mi(t)&&Li(t.style)||(Ci(t)||Ai(t))&&Hr(t.style)?delete t.style.location:Ti(t)&&Ir(t.children)})}function As(e,t){t===void 0&&(t={}),t=Ut({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new xs(e,t).parse();if(r.err){var n=SyntaxError(R[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ir(r.val),r.val}var et;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(et||(et={}));var Xt=function(e){Vt(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),An=function(e){Vt(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('", "'),'"'),et.INVALID_VALUE,o)||this}return t}(Xt),Bs=function(e){Vt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),et.INVALID_VALUE,i)||this}return t}(Xt),Is=function(e){Vt(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,'"'),et.MISSING_VALUE,n)||this}return t}(Xt),ne;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ne||(ne={}));function Ts(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==ne.literal||r.type!==ne.literal?t.push(r):n.value+=r.value,t},[])}function Ls(e){return typeof e=="function"}function Rt(e,t,r,n,i,o,a){if(e.length===1&&wn(e[0]))return[{type:ne.literal,value:e[0].value}];for(var l=[],u=0,c=e;u<c.length;u++){var f=c[u];if(wn(f)){l.push({type:ne.literal,value:f.value});continue}if(es(f)){typeof o=="number"&&l.push({type:ne.literal,value:r.getNumberFormat(t).format(o)});continue}var h=f.value;if(!(i&&h in i))throw new Is(h,a);var d=i[h];if($a(f)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),l.push({type:typeof d=="string"?ne.literal:ne.object,value:d});continue}if(Ci(f)){var _=typeof f.style=="string"?n.date[f.style]:Hr(f.style)?f.style.parsedOptions:void 0;l.push({type:ne.literal,value:r.getDateTimeFormat(t,_).format(d)});continue}if(Ai(f)){var _=typeof f.style=="string"?n.time[f.style]:Hr(f.style)?f.style.parsedOptions:n.time.medium;l.push({type:ne.literal,value:r.getDateTimeFormat(t,_).format(d)});continue}if(Mi(f)){var _=typeof f.style=="string"?n.number[f.style]:Li(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(d=d*(_.scale||1)),l.push({type:ne.literal,value:r.getNumberFormat(t,_).format(d)});continue}if(Ti(f)){var H=f.children,y=f.value,L=i[y];if(!Ls(L))throw new Bs(y,"function",a);var N=Rt(H,t,r,n,i,o),S=L(N.map(function(G){return G.value}));Array.isArray(S)||(S=[S]),l.push.apply(l,S.map(function(G){return{type:typeof G=="string"?ne.literal:ne.object,value:G}}))}if(Bi(f)){var M=f.options[d]||f.options.other;if(!M)throw new An(f.value,d,Object.keys(f.options),a);l.push.apply(l,Rt(M.value,t,r,n,i));continue}if(Ii(f)){var M=f.options["=".concat(d)];if(!M){if(!Intl.PluralRules)throw new Xt(`Intl.PluralRules is not available in this environment.
|
|
17
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
+
`,et.MISSING_INTL_API,a);var I=r.getPluralRules(t,{type:f.pluralType}).select(d-(f.offset||0));M=f.options[I]||f.options.other}if(!M)throw new An(f.value,d,Object.keys(f.options),a);l.push.apply(l,Rt(M.value,t,r,n,i,d-(f.offset||0)));continue}}return Ts(l)}function Ns(e,t){return t?ge(ge(ge({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ge(ge({},e[n]),t[n]||{}),r},{})):e}function Ps(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Ns(e[n],t[n]),r},ge({},e)):e}function mr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Os(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:fr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,hr([void 0],r,!1)))},{cache:mr(e.number),strategy:dr.variadic}),getDateTimeFormat:fr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,hr([void 0],r,!1)))},{cache:mr(e.dateTime),strategy:dr.variadic}),getPluralRules:fr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,hr([void 0],r,!1)))},{cache:mr(e.pluralRules),strategy:dr.variadic})}}var ks=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(u){var c=o.formatToParts(u);if(c.length===1)return c[0].value;var f=c.reduce(function(h,d){return!h.length||d.type!==ne.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return Rt(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.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 l=Va(a,["formatters"]);this.ast=e.__parse(t,ge(ge({},l),{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=Ps(e.formats,n),this.formatters=i&&i.formatters||Os(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=As,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 Rs(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 Ae={},Fs=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Ui=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Zt(t);for(let n=0;n<r.length;n++){const i=r[n],o=Us(i,e);if(o)return Fs(e,t,o)}};let kr;const ot=Wt({});function Ds(e){return kr[e]||null}function Gi(e){return e in kr}function Us(e,t){if(!Gi(e))return null;const r=Ds(e);return Rs(r,t)}function Gs(e){if(e==null)return;const t=Zt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Gi(n))return n}}function Rr(e,...t){delete Ae[e],ot.update(r=>(r[e]=Wa.all([r[e]||{},...t]),r))}it([ot],([e])=>Object.keys(e));ot.subscribe(e=>kr=e);const Ft={};function js(e,t){Ft[e].delete(t),Ft[e].size===0&&delete Ft[e]}function ji(e){return Ft[e]}function zs(e){return Zt(e).map(t=>{const r=ji(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Tr(e){return e==null?!1:Zt(e).some(t=>{var r;return(r=ji(t))==null?void 0:r.size})}function Ws(e,t){return Promise.all(t.map(n=>(js(e,n),n().then(i=>i.default||i)))).then(n=>Rr(e,...n))}const pt={};function zi(e){if(!Tr(e))return e in pt?pt[e]:Promise.resolve();const t=zs(e);return pt[e]=Promise.all(t.map(([r,n])=>Ws(r,n))).then(()=>{if(Tr(e))return zi(e);delete pt[e]}),pt[e]}const Vs={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"}}},Xs={fallbackLocale:null,loadingDelay:200,formats:Vs,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Zs=Xs;function tt(){return Zs}const gr=Wt(!1);var Ys=Object.defineProperty,Js=Object.defineProperties,Qs=Object.getOwnPropertyDescriptors,Bn=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Ks=Object.prototype.propertyIsEnumerable,In=(e,t,r)=>t in e?Ys(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$s=(e,t)=>{for(var r in t||(t={}))qs.call(t,r)&&In(e,r,t[r]);if(Bn)for(var r of Bn(t))Ks.call(t,r)&&In(e,r,t[r]);return e},el=(e,t)=>Js(e,Qs(t));let Lr;const Gt=Wt(null);function Tn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Zt(e,t=tt().fallbackLocale){const r=Tn(e);return t?[...new Set([...r,...Tn(t)])]:r}function Ne(){return Lr!=null?Lr:void 0}Gt.subscribe(e=>{Lr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const tl=e=>{if(e&&Gs(e)&&Tr(e)){const{loadingDelay:t}=tt();let r;return typeof window!="undefined"&&Ne()!=null&&t?r=window.setTimeout(()=>gr.set(!0),t):gr.set(!0),zi(e).then(()=>{Gt.set(e)}).finally(()=>{clearTimeout(r),gr.set(!1)})}return Gt.set(e)},Se=el($s({},Gt),{set:tl}),Yt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var rl=Object.defineProperty,jt=Object.getOwnPropertySymbols,Wi=Object.prototype.hasOwnProperty,Vi=Object.prototype.propertyIsEnumerable,Ln=(e,t,r)=>t in e?rl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Fr=(e,t)=>{for(var r in t||(t={}))Wi.call(t,r)&&Ln(e,r,t[r]);if(jt)for(var r of jt(t))Vi.call(t,r)&&Ln(e,r,t[r]);return e},at=(e,t)=>{var r={};for(var n in e)Wi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&jt)for(var n of jt(e))t.indexOf(n)<0&&Vi.call(e,n)&&(r[n]=e[n]);return r};const vt=(e,t)=>{const{formats:r}=tt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},nl=Yt(e=>{var t=e,{locale:r,format:n}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=vt("number",n)),new Intl.NumberFormat(r,i)}),il=Yt(e=>{var t=e,{locale:r,format:n}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=vt("date",n):Object.keys(i).length===0&&(i=vt("date","short")),new Intl.DateTimeFormat(r,i)}),ol=Yt(e=>{var t=e,{locale:r,format:n}=t,i=at(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=vt("time",n):Object.keys(i).length===0&&(i=vt("time","short")),new Intl.DateTimeFormat(r,i)}),al=(e={})=>{var t=e,{locale:r=Ne()}=t,n=at(t,["locale"]);return nl(Fr({locale:r},n))},sl=(e={})=>{var t=e,{locale:r=Ne()}=t,n=at(t,["locale"]);return il(Fr({locale:r},n))},ll=(e={})=>{var t=e,{locale:r=Ne()}=t,n=at(t,["locale"]);return ol(Fr({locale:r},n))},ul=Yt((e,t=Ne())=>new ks(e,t,tt().formats,{ignoreTag:tt().ignoreTag})),cl=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:u=Ne(),default:c}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Ui(e,u);if(!f)f=(o=(i=(n=(r=tt()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:c}))!=null?i:c)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let h=f;try{h=ul(f,u).format(l)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},hl=(e,t)=>ll(t).format(e),fl=(e,t)=>sl(t).format(e),dl=(e,t)=>al(t).format(e),pl=(e,t=Ne())=>Ui(e,t),Xi=it([Se,ot],()=>cl);it([Se],()=>hl);it([Se],()=>fl);it([Se],()=>dl);it([Se,ot],()=>pl);window.emWidgets={topic:Ma};const Nr=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)),Zi=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Yi(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 Xe="__WIDGET_GLOBAL_STYLE_CACHE__";function Ji(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Qi(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 qi(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=ml(e,t),r;window[Xe]||(window[Xe]={}),r=gl(e,t);const o=r.unsubscribe.bind(r),a=()=>{if(window[Xe][t]){const l=window[Xe][t];l.refCount>1?l.refCount=l.refCount-1:delete window[Xe][t]}o()};return r.unsubscribe=a,r}function ml(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function gl(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[Xe];let o=i[t]&&i[t].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 bl({withLocale:e,translations:t}){Se.subscribe(r=>{r==null&&(ot.set(t),Se.set(e))})}function Nn(e,t){Rr(e,t)}function vl(e){Se.set(e)}const Pn={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"}},yl="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function _l(e){ui(e,"svelte-1hfnq1n",`*,*::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;position:relative}.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;position:relative}.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}.ActiveBonusesBadge{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;border-radius:50%;background-color:var(--emw--active-bonuses-badge-bg, #FF6B00);color:var(--emw--active-bonuses-badge-color, #FFFFFF);font-size:10px;font-weight:bold;display:flex;align-items:center;justify-content:center;line-height:1;padding:1px 3px;box-sizing:border-box;pointer-events:none;z-index:1}`)}function On(e,t,r){const n=e.slice();return n[154]=t[r],n}function wl(e,t,r){const n=e.slice();return n[151]=t[r],n}function kn(e,t,r){const n=e.slice();return n[157]=t[r],n}const El=e=>({}),Rn=e=>({}),Sl=e=>({}),Fn=e=>({}),xl=e=>({}),Dn=e=>({}),Hl=e=>({}),Un=e=>({});function Gn(e,t,r){const n=e.slice();return n[162]=t[r],n}function Ml(e,t,r){const n=e.slice();return n[151]=t[r],n}const Cl=e=>({}),jn=e=>({});function Al(e){let t,r,n,i,o,a,l=e[47]&&zn(e);const u=e[89].logo,c=Ze(u,e,e[88],jn),f=c||Il(e);return{c(){l&&l.c(),t=O(),r=v("div"),n=v("div"),f&&f.c(),m(n,"class","HeaderBranding"),m(r,"class","Logo")},m(h,d){l&&l.m(h,d),B(h,t,d),B(h,r,d),g(r,n),f&&f.m(n,null),i=!0,o||(a=Z(n,"click",e[92]),o=!0)},p(h,d){h[47]?l?l.p(h,d):(l=zn(h),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null),c?c.p&&(!i||d[2]&67108864)&&Je(c,u,h,h[88],i?Ye(u,h[88],d,Cl):Qe(h[88]),jn):f&&f.p&&(!i||d[2]&32)&&f.p(h,i?d:[-1,-1,-1,-1,-1,-1])},i(h){i||(_e(f,h),i=!0)},o(h){Me(f,h),i=!1},d(h){h&&(A(t),A(r)),l&&l.d(h),f&&f.d(h),o=!1,a()}}}function Bl(e){let t,r,n,i=e[68]("closeButton")+"",o,a,l;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=ie(i),m(r,"class",""),m(t,"type","button"),m(t,"class","CloseButton")},m(u,c){B(u,t,c),g(t,r),g(t,n),g(t,o),a||(l=Z(t,"click",e[91]),a=!0)},p(u,c){c[2]&64&&i!==(i=u[68]("closeButton")+"")&&le(o,i)},i:ee,o:ee,d(u){u&&A(t),a=!1,l()}}}function zn(e){let t,r,n,i,o,a,l,u,c,f;return{c(){t=v("div"),r=v("div"),n=v("span"),i=O(),o=v("span"),a=O(),l=v("span"),m(r,"class",u="NavIcon "+(e[62]?"Open":"")),m(t,"class","HeaderMobileMainNav")},m(h,d){B(h,t,d),g(t,r),g(r,n),g(r,i),g(r,o),g(r,a),g(r,l),c||(f=Z(r,"click",e[74]),c=!0)},p(h,d){d[2]&1&&u!==(u="NavIcon "+(h[62]?"Open":""))&&m(r,"class",u)},d(h){h&&A(t),c=!1,f()}}}function Il(e){let t,r;return{c(){t=v("img"),Le(t.src,r=e[67])||m(t,"src",r),m(t,"alt","Logo")},m(n,i){B(n,t,i)},p(n,i){i[2]&32&&!Le(t.src,r=n[67])&&m(t,"src",r)},d(n){n&&A(t)}}}function Wn(e){let t;function r(o,a){return o[56]?Ll:Tl}let n=r(e),i=n(e);return{c(){i.c(),t=nt()},m(o,a){i.m(o,a),B(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&&A(t),i.d(o)}}}function Tl(e){let t,r,n=e[58]&&(e[60]||e[59])&&Vn(e),i=Ee(e[53]),o=[];for(let a=0;a<i.length;a+=1)o[a]=Yn(Gn(e,i,a));return{c(){n&&n.c(),t=O();for(let a=0;a<o.length;a+=1)o[a].c();r=nt()},m(a,l){n&&n.m(a,l),B(a,t,l);for(let u=0;u<o.length;u+=1)o[u]&&o[u].m(a,l);B(a,r,l)},p(a,l){if(a[58]&&(a[60]||a[59])?n?n.p(a,l):(n=Vn(a),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),l[1]&4325376|l[2]&2048){i=Ee(a[53]);let u;for(u=0;u<i.length;u+=1){const c=Gn(a,i,u);o[u]?o[u].p(c,l):(o[u]=Yn(c),o[u].c(),o[u].m(r.parentNode,r))}for(;u<o.length;u+=1)o[u].d(1);o.length=i.length}},d(a){a&&(A(t),A(r)),n&&n.d(a),rt(o,a)}}}function Ll(e){let t,r=Ee(new Array(6)),n=[];for(let i=0;i<r.length;i+=1)n[i]=Nl(Ml(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=nt()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);B(i,t,o)},p:ee,d(i){i&&A(t),rt(n,i)}}}function Vn(e){let t,r,n=(e[60]||e[59])+"",i,o,a,l,u,c,f=e[45]==="true"&&e[66]>0&&Xn(e);return{c(){t=v("div"),r=v("p"),i=ie(n),o=O(),a=v("div"),l=O(),f&&f.c(),m(a,"class","MenuHover"),m(t,"class","ItemMenu ItemUsername")},m(h,d){B(h,t,d),g(t,r),g(r,i),g(t,o),g(t,a),g(t,l),f&&f.m(t,null),u||(c=Z(t,"click",e[93]),u=!0)},p(h,d){d[1]&805306368&&n!==(n=(h[60]||h[59])+"")&&le(i,n),h[45]==="true"&&h[66]>0?f?f.p(h,d):(f=Xn(h),f.c(),f.m(t,null)):f&&(f.d(1),f=null)},d(h){h&&A(t),f&&f.d(),u=!1,c()}}}function Xn(e){let t,r;return{c(){t=v("span"),r=ie(e[66]),m(t,"class","ActiveBonusesBadge")},m(n,i){B(n,t,i),g(t,r)},p(n,i){i[2]&16&&le(r,n[66])},d(n){n&&A(t)}}}function Zn(e){let t,r=e[162].tag+"",n,i;return{c(){t=v("span"),n=ie(r),m(t,"title",i=e[162].tag),m(t,"class","MenuItemTag")},m(o,a){B(o,t,a),g(t,n)},p(o,a){a[1]&4194304&&r!==(r=o[162].tag+"")&&le(n,r),a[1]&4194304&&i!==(i=o[162].tag)&&m(t,"title",i)},d(o){o&&A(t)}}}function Yn(e){var H;let t,r,n=e[162].label+"",i,o,a,l,u,c,f,h,d=((H=e[162])==null?void 0:H.tag)&&Zn(e);function _(){return e[94](e[162])}return{c(){t=v("div"),r=v("p"),i=ie(n),o=O(),a=v("div"),l=O(),d&&d.c(),u=O(),m(a,"class","MenuHover"),m(t,"class",c="ItemMenu "+(e[162].id==e[48]?"Active":""))},m(y,L){B(y,t,L),g(t,r),g(r,i),g(t,o),g(t,a),g(t,l),d&&d.m(t,null),g(t,u),f||(h=Z(t,"click",_),f=!0)},p(y,L){var N;e=y,L[1]&4194304&&n!==(n=e[162].label+"")&&le(i,n),(N=e[162])!=null&&N.tag?d?d.p(e,L):(d=Zn(e),d.c(),d.m(t,u)):d&&(d.d(1),d=null),L[1]&4325376&&c!==(c="ItemMenu "+(e[162].id==e[48]?"Active":""))&&m(t,"class",c)},d(y){y&&A(t),d&&d.d(),f=!1,h()}}}function Nl(e){let t;return{c(){t=v("div"),m(t,"class","Skeleton SkeletonText")},m(r,n){B(r,t,n)},p:ee,d(r){r&&A(t)}}}function Pl(e){let t,r,n,i=e[68]("login")+"",o,a,l,u,c,f,h,d=e[68]("register")+"",_,H,y,L,N,S;return{c(){t=v("div"),r=v("div"),n=v("p"),o=ie(i),a=O(),l=be("svg"),u=be("path"),c=O(),f=v("div"),h=v("p"),_=ie(d),H=O(),y=be("svg"),L=be("path"),m(u,"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(l,"xmlns","http://www.w3.org/2000/svg"),m(l,"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(y,"xmlns","http://www.w3.org/2000/svg"),m(y,"viewBox","0 0 320 512"),m(f,"class","Item ItemRegister"),m(t,"class","AuthButtons")},m(M,I){B(M,t,I),g(t,r),g(r,n),g(n,o),g(r,a),g(r,l),g(l,u),g(t,c),g(t,f),g(f,h),g(h,_),g(f,H),g(f,y),g(y,L),N||(S=[Z(r,"click",e[103]),Z(f,"click",e[104])],N=!0)},p(M,I){I[2]&64&&i!==(i=M[68]("login")+"")&&le(o,i),I[2]&64&&d!==(d=M[68]("register")+"")&&le(_,d)},d(M){M&&A(t),N=!1,de(S)}}}function Ol(e){let t,r,n,i,o,a,l,u,c,f=e[68]("deposit")+"",h,d,_,H,y,L,N,S,M,I,G,J,C,ce,k,V=e[42]==="true"&&!e[47]&&Jn(e),X=e[63]&&Qn(e),j=e[45]==="true"&&e[66]>0&&qn(e);return{c(){V&&V.c(),t=O(),r=v("div"),n=v("div"),i=v("player-account-balance-modal-nd"),a=O(),l=v("div"),u=v("div"),c=v("p"),h=ie(f),d=O(),X&&X.c(),H=O(),y=v("div"),N=O(),S=v("div"),M=v("div"),I=be("svg"),G=be("g"),J=be("path"),C=O(),j&&j.c(),p(i,"session",e[1]),p(i,"userid",e[2]),p(i,"endpoint",e[3]),p(i,"mbsource",e[30]),p(i,"lang",e[6]),p(i,"clientstyling",e[31]),p(i,"clientstylingurl",e[32]),p(i,"gmversion",e[11]),p(i,"displaybalanceoption",e[13]),p(i,"shownegativebalance",e[17]),p(i,"totalcalculationmode",e[37]),p(i,"primarybalancemode",e[38]),p(i,"currencydisplay",e[33]),p(i,"maximumfractiondigits",e[34]),p(i,"minimumfractiondigits",e[35]),p(i,"customdisplayformat",e[36]),p(i,"balancelimitsbutton",e[39]),p(i,"activebonusesbutton",e[40]),p(i,"hideproducttype",e[41]),p(i,"currencylocale",e[10]),m(n,"class",o="Balance "+(e[64]?"Open":"")),m(u,"class","DepositButton"),m(l,"class",_="Deposit "+(e[64]?"Open":"")),m(y,"class",L="Background "+(e[64]?"Open":"")),m(r,"class","BalanceDepositWrapper"),m(J,"class","a"),m(J,"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"),m(J,"transform","translate(0 0)"),m(G,"transform","translate(-8 -4)"),m(I,"xmlns","http://www.w3.org/2000/svg"),m(I,"viewBox","0 0 15 16.429"),m(M,"class","ProfileWrapper"),m(S,"class","Profile")},m(w,P){V&&V.m(w,P),B(w,t,P),B(w,r,P),g(r,n),g(n,i),e[96](n),g(r,a),g(r,l),g(l,u),g(u,c),g(c,h),g(l,d),X&&X.m(l,null),e[100](l),g(r,H),g(r,y),e[101](y),B(w,N,P),B(w,S,P),g(S,M),g(M,I),g(I,G),g(G,J),g(M,C),j&&j.m(M,null),ce||(k=[Z(u,"click",e[97]),Z(M,"click",e[102])],ce=!0)},p(w,P){w[42]==="true"&&!w[47]?V?V.p(w,P):(V=Jn(w),V.c(),V.m(t.parentNode,t)):V&&(V.d(1),V=null),P[0]&2&&p(i,"session",w[1]),P[0]&4&&p(i,"userid",w[2]),P[0]&8&&p(i,"endpoint",w[3]),P[0]&1073741824&&p(i,"mbsource",w[30]),P[0]&64&&p(i,"lang",w[6]),P[1]&1&&p(i,"clientstyling",w[31]),P[1]&2&&p(i,"clientstylingurl",w[32]),P[0]&2048&&p(i,"gmversion",w[11]),P[0]&8192&&p(i,"displaybalanceoption",w[13]),P[0]&131072&&p(i,"shownegativebalance",w[17]),P[1]&64&&p(i,"totalcalculationmode",w[37]),P[1]&128&&p(i,"primarybalancemode",w[38]),P[1]&4&&p(i,"currencydisplay",w[33]),P[1]&8&&p(i,"maximumfractiondigits",w[34]),P[1]&16&&p(i,"minimumfractiondigits",w[35]),P[1]&32&&p(i,"customdisplayformat",w[36]),P[1]&256&&p(i,"balancelimitsbutton",w[39]),P[1]&512&&p(i,"activebonusesbutton",w[40]),P[1]&1024&&p(i,"hideproducttype",w[41]),P[0]&1024&&p(i,"currencylocale",w[10]),P[2]&4&&o!==(o="Balance "+(w[64]?"Open":""))&&m(n,"class",o),P[2]&64&&f!==(f=w[68]("deposit")+"")&&le(h,f),w[63]?X?X.p(w,P):(X=Qn(w),X.c(),X.m(l,null)):X&&(X.d(1),X=null),P[2]&4&&_!==(_="Deposit "+(w[64]?"Open":""))&&m(l,"class",_),P[2]&4&&L!==(L="Background "+(w[64]?"Open":""))&&m(y,"class",L),w[45]==="true"&&w[66]>0?j?j.p(w,P):(j=qn(w),j.c(),j.m(M,null)):j&&(j.d(1),j=null)},d(w){w&&(A(t),A(r),A(N),A(S)),V&&V.d(w),e[96](null),X&&X.d(),e[100](null),e[101](null),j&&j.d(),ce=!1,de(k)}}}function Jn(e){let t,r;return{c(){t=v("div"),r=v("gamification-dropdown"),p(r,"session",e[1]),p(r,"endpoint",e[3]),p(r,"mb-source",e[30]),p(r,"language",e[6]),p(r,"client-styling",e[31]),p(r,"client-styling-url",e[32]),p(r,"translation-url",e[9]),m(t,"class","GamificationWrapper")},m(n,i){B(n,t,i),g(t,r)},p(n,i){i[0]&2&&p(r,"session",n[1]),i[0]&8&&p(r,"endpoint",n[3]),i[0]&1073741824&&p(r,"mb-source",n[30]),i[0]&64&&p(r,"language",n[6]),i[1]&1&&p(r,"client-styling",n[31]),i[1]&2&&p(r,"client-styling-url",n[32]),i[0]&512&&p(r,"translation-url",n[9])},d(n){n&&A(t)}}}function Qn(e){let t,r,n,i,o,a,l,u;function c(d,_){return d[11]==="gmcore"?Rl:kl}let f=c(e),h=f(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(),h.c(),m(t,"class","ShortCashierWindow"),m(o,"class","ClosePopUpButtonShortCashier"),m(i,"class","ShortCashierContainerMobile"),m(n,"class","ShortCashierContainerWrapperMobile")},m(d,_){B(d,t,_),B(d,r,_),B(d,n,_),g(n,i),g(i,o),g(i,a),h.m(i,null),l||(u=[Z(t,"click",e[98]),Z(o,"click",e[99])],l=!0)},p(d,_){f===(f=c(d))&&h?h.p(d,_):(h.d(1),h=f(d),h&&(h.c(),h.m(i,null)))},d(d){d&&(A(t),A(r),A(n)),h.d(),l=!1,de(u)}}}function kl(e){let t,r,n,i,o,a,l,u,c,f;return{c(){t=v("user-deposit-withdrawal"),p(t,"endpoint",e[3]),p(t,"type","deposit"),p(t,"channel","Mobile"),p(t,"language",e[6]),p(t,"mb-source",e[30]),p(t,"is-short-cashier",e[19]),p(t,"product-type",e[20]),p(t,"user-id",e[2]),p(t,"session",e[1]),p(t,"enable-step-up-auth",r=e[44]==="true"),p(t,"success-url",n="https://"+window.location.hostname+"/"+e[6]+e[21]),p(t,"cancel-url",i="https://"+window.location.hostname+"/"+e[6]+e[23]),p(t,"fail-url",o="https://"+window.location.hostname+"/"+e[6]+e[22]),p(t,"sports-url",a="https://"+window.location.hostname+"/"+e[6]+e[24]),p(t,"casino-url",l="https://"+window.location.hostname+"/"+e[6]+e[25]),p(t,"contact-url",u="https://"+window.location.hostname+"/"+e[6]+e[26]),p(t,"home-url",c="https://"+window.location.hostname+"/"+e[6]+e[27]),p(t,"deposit-url",f="https://"+window.location.hostname+"/"+e[6]+e[28])},m(h,d){B(h,t,d)},p(h,d){d[0]&8&&p(t,"endpoint",h[3]),d[0]&64&&p(t,"language",h[6]),d[0]&1073741824&&p(t,"mb-source",h[30]),d[0]&524288&&p(t,"is-short-cashier",h[19]),d[0]&1048576&&p(t,"product-type",h[20]),d[0]&4&&p(t,"user-id",h[2]),d[0]&2&&p(t,"session",h[1]),d[1]&8192&&r!==(r=h[44]==="true")&&p(t,"enable-step-up-auth",r),d[0]&2097216&&n!==(n="https://"+window.location.hostname+"/"+h[6]+h[21])&&p(t,"success-url",n),d[0]&8388672&&i!==(i="https://"+window.location.hostname+"/"+h[6]+h[23])&&p(t,"cancel-url",i),d[0]&4194368&&o!==(o="https://"+window.location.hostname+"/"+h[6]+h[22])&&p(t,"fail-url",o),d[0]&16777280&&a!==(a="https://"+window.location.hostname+"/"+h[6]+h[24])&&p(t,"sports-url",a),d[0]&33554496&&l!==(l="https://"+window.location.hostname+"/"+h[6]+h[25])&&p(t,"casino-url",l),d[0]&67108928&&u!==(u="https://"+window.location.hostname+"/"+h[6]+h[26])&&p(t,"contact-url",u),d[0]&134217792&&c!==(c="https://"+window.location.hostname+"/"+h[6]+h[27])&&p(t,"home-url",c),d[0]&268435520&&f!==(f="https://"+window.location.hostname+"/"+h[6]+h[28])&&p(t,"deposit-url",f)},d(h){h&&A(t)}}}function Rl(e){let t;return{c(){t=v("player-deposit"),p(t,"endpoint",e[3]),p(t,"session",e[1]),p(t,"mbsource",e[30]),p(t,"playerid",e[2]),p(t,"lang",e[6]),p(t,"hasdefaultamount",e[15]),p(t,"playercurrency",e[16]),p(t,"shortcashierenabled",e[19]),p(t,"clientstyling",e[31]),p(t,"clientstylingurl",e[32])},m(r,n){B(r,t,n)},p(r,n){n[0]&8&&p(t,"endpoint",r[3]),n[0]&2&&p(t,"session",r[1]),n[0]&1073741824&&p(t,"mbsource",r[30]),n[0]&4&&p(t,"playerid",r[2]),n[0]&64&&p(t,"lang",r[6]),n[0]&32768&&p(t,"hasdefaultamount",r[15]),n[0]&65536&&p(t,"playercurrency",r[16]),n[0]&524288&&p(t,"shortcashierenabled",r[19]),n[1]&1&&p(t,"clientstyling",r[31]),n[1]&2&&p(t,"clientstylingurl",r[32])},d(r){r&&A(t)}}}function qn(e){let t,r;return{c(){t=v("span"),r=ie(e[66]),m(t,"class","ActiveBonusesBadge")},m(n,i){B(n,t,i),g(t,r)},p(n,i){i[2]&16&&le(r,n[66])},d(n){n&&A(t)}}}function Kn(e){let t,r=e[61].length>1&&$n(e);return{c(){t=v("div"),r&&r.c(),m(t,"class","LanguageSelector")},m(n,i){B(n,t,i),r&&r.m(t,null)},p(n,i){n[61].length>1?r?r.p(n,i):(r=$n(n),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(n){n&&A(t),r&&r.d()}}}function $n(e){let t,r,n,i,o,a,l,u,c,f,h,d;function _(S,M){return S[12]=="true"?Dl:Fl}let H=_(e),y=H(e),L=Ee(e[61]),N=[];for(let S=0;S<L.length;S+=1)N[S]=ti(kn(e,L,S));return{c(){t=v("div"),r=v("div"),y.c(),n=O(),i=v("span"),o=be("svg"),a=be("path"),u=O(),c=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",l=e[57]?"TriangleActive":"TriangleInactive"),m(r,"class","SelectedOption"),m(t,"class","LanguageDropdown"),m(c,"class",f="OptionList "+(e[57]?"Active":""))},m(S,M){B(S,t,M),g(t,r),y.m(r,null),g(r,n),g(r,i),g(i,o),g(o,a),B(S,u,M),B(S,c,M);for(let I=0;I<N.length;I+=1)N[I]&&N[I].m(c,null);h||(d=Z(r,"click",e[105]),h=!0)},p(S,M){if(H===(H=_(S))&&y?y.p(S,M):(y.d(1),y=H(S),y&&(y.c(),y.m(r,n))),M[1]&67108864&&l!==(l=S[57]?"TriangleActive":"TriangleInactive")&&m(i,"class",l),M[0]&4096|M[1]&1073741824|M[2]&163840){L=Ee(S[61]);let I;for(I=0;I<L.length;I+=1){const G=kn(S,L,I);N[I]?N[I].p(G,M):(N[I]=ti(G),N[I].c(),N[I].m(c,null))}for(;I<N.length;I+=1)N[I].d(1);N.length=L.length}M[1]&67108864&&f!==(f="OptionList "+(S[57]?"Active":""))&&m(c,"class",f)},d(S){S&&(A(t),A(u),A(c)),y.d(),rt(N,S),h=!1,d()}}}function Fl(e){let t,r;return{c(){t=v("span"),r=ie(e[65]),m(t,"class","LanguageName")},m(n,i){B(n,t,i),g(t,r)},p(n,i){i[2]&8&&le(r,n[65])},d(n){n&&A(t)}}}function Dl(e){let t,r;return{c(){t=v("img"),m(t,"class","LanguageName"),Le(t.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[79](e[55])}.svg`)||m(t,"src",r),m(t,"alt","flag")},m(n,i){B(n,t,i)},p(n,i){i[1]&16777216&&!Le(t.src,r=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${n[79](n[55])}.svg`)&&m(t,"src",r)},d(n){n&&A(t)}}}function ei(e){let t,r,n;return{c(){t=v("span"),r=v("img"),Le(r.src,n=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${e[79](e[157])}.svg`)||m(r,"src",n),m(t,"class","FlagIcon")},m(i,o){B(i,t,o),g(t,r)},p(i,o){o[1]&1073741824&&!Le(r.src,n=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${i[79](i[157])}.svg`)&&m(r,"src",n)},d(i){i&&A(t)}}}function ti(e){let t,r,n,i=e[79](e[157])+"",o,a,l,u,c=e[12]=="true"&&ei(e);function f(){return e[106](e[157])}return{c(){t=v("div"),c&&c.c(),r=O(),n=v("span"),o=ie(i),a=O(),m(n,"class","LanguageName"),m(t,"class","LanguageOption")},m(h,d){B(h,t,d),c&&c.m(t,null),g(t,r),g(t,n),g(n,o),g(t,a),l||(u=Z(t,"click",f),l=!0)},p(h,d){e=h,e[12]=="true"?c?c.p(e,d):(c=ei(e),c.c(),c.m(t,r)):c&&(c.d(1),c=null),d[1]&1073741824&&i!==(i=e[79](e[157])+"")&&le(o,i)},d(h){h&&A(t),c&&c.d(),l=!1,u()}}}function ri(e){let t,r,n,i;function o(u,c){return u[56]?Gl:Ul}let a=o(e),l=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"),l.c(),m(r,"class","LeftSpace"),m(i,"class","SecondaryMenuContent"),m(t,"class","SecondaryNav")},m(u,c){B(u,t,c),g(t,r),g(t,n),g(t,i),l.m(i,null)},p(u,c){a===(a=o(u))&&l?l.p(u,c):(l.d(1),l=a(u),l&&(l.c(),l.m(i,null)))},d(u){u&&A(t),l.d()}}}function Ul(e){let t,r=Ee(e[54]),n=[];for(let i=0;i<r.length;i+=1)n[i]=ni(On(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=nt()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);B(i,t,o)},p(i,o){if(o[1]&8519680|o[2]&16384){r=Ee(i[54]);let a;for(a=0;a<r.length;a+=1){const l=On(i,r,a);n[a]?n[a].p(l,o):(n[a]=ni(l),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&&A(t),rt(n,i)}}}function Gl(e){let t,r=Ee(new Array(2)),n=[];for(let i=0;i<r.length;i+=1)n[i]=jl(wl(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=nt()},m(i,o){for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(i,o);B(i,t,o)},p:ee,d(i){i&&A(t),rt(n,i)}}}function ni(e){let t,r,n=e[154].label+"",i,o,a,l,u;function c(){return e[107](e[154])}return{c(){t=v("span"),r=v("p"),i=ie(n),o=O(),m(t,"class",a="ItemSecondary "+(e[154].id==e[48]?"Active":""))},m(f,h){B(f,t,h),g(t,r),g(r,i),g(t,o),l||(u=Z(r,"click",c),l=!0)},p(f,h){e=f,h[1]&8388608&&n!==(n=e[154].label+"")&&le(i,n),h[1]&8519680&&a!==(a="ItemSecondary "+(e[154].id==e[48]?"Active":""))&&m(t,"class",a)},d(f){f&&A(t),l=!1,u()}}}function jl(e){let t;return{c(){t=v("div"),m(t,"class","Skeleton SkeletonText")},m(r,n){B(r,t,n)},p:ee,d(r){r&&A(t)}}}function ii(e){let t,r,n;return{c(){t=v("div"),m(t,"class","OptionListOverlay")},m(i,o){B(i,t,o),r||(n=Z(t,"click",e[108]),r=!0)},p:ee,d(i){i&&A(t),r=!1,n()}}}function zl(e){let t,r,n,i,o,a,l,u,c,f,h,d,_,H,y,L,N,S,M,I,G,J,C,ce,k,V,X;const j=[Bl,Al],w=[];function P(b,T){return b[43]&&b[0]?0:1}n=P(e),i=w[n]=j[n](e);let Q=!e[47]&&Wn(e);const Pe=e[89].slot4,oe=Ze(Pe,e,e[88],Un);function st(b,T){return b[58]?Ol:Pl}let Be=st(e),se=Be(e);const Oe=e[89].slot1,ae=Ze(Oe,e,e[88],Dn),ve=e[89].slot2,te=Ze(ve,e,e[88],Fn),xe=e[89].slot3,re=Ze(xe,e,e[88],Rn);let q=!e[47]&&Kn(e),K=!e[47]&&e[54].length>0&&ri(e),$=e[57]&&ii(e);return{c(){t=v("div"),r=v("div"),i.c(),o=O(),a=v("nav"),Q&&Q.c(),l=O(),u=v("div"),oe&&oe.c(),c=O(),se.c(),f=O(),h=v("div"),ae&&ae.c(),d=O(),_=v("div"),te&&te.c(),H=O(),y=v("div"),re&&re.c(),L=O(),q&&q.c(),N=O(),S=v("div"),S.innerHTML="",M=O(),K&&K.c(),I=O(),$&&$.c(),J=O(),C=v("casino-hamburger-menu-nd"),m(a,"class","PrimaryMenu"),m(u,"class","Slot4"),m(h,"class","Slot1"),m(_,"class","Slot2"),m(y,"class","Slot3"),m(r,"class","MainNav"),m(S,"class","Separator"),m(t,"class",G="HeaderContainer "+(e[47]?"Mobile":"")),p(C,"cmsendpoint",e[4]),p(C,"endpoint",e[3]),p(C,"cmsenv",e[5]),p(C,"userroles",e[29]),p(C,"mbsource",e[30]),p(C,"activecategory",e[8]),p(C,"lang",e[6]),p(C,"countryflaghamburger",e[14]),p(C,"customlocaleidentifier",e[10]),p(C,"languageslist",e[7]),p(C,"clientstyling",e[31]),p(C,"clientstylingurl",e[32]),p(C,"session",e[1]),p(C,"userid",e[2]),p(C,"customlogourl",e[67]),p(C,"langtransformmap",e[18]),p(C,"showactivebonusesbadge",e[45]),p(C,"activebonusescount",ce=e[66].toString())},m(b,T){B(b,t,T),g(t,r),w[n].m(r,null),g(r,o),g(r,a),Q&&Q.m(a,null),e[95](a),g(r,l),g(r,u),oe&&oe.m(u,null),g(r,c),se.m(r,null),g(r,f),g(r,h),ae&&ae.m(h,null),g(r,d),g(r,_),te&&te.m(_,null),g(r,H),g(r,y),re&&re.m(y,null),g(r,L),q&&q.m(r,null),g(t,N),g(t,S),g(t,M),K&&K.m(t,null),g(t,I),$&&$.m(t,null),e[109](t),B(b,J,T),B(b,C,T),k=!0,V||(X=[Z(a,"mousedown",e[69]),Z(a,"mouseleave",e[70]),Z(a,"mouseup",e[71]),Z(a,"mousemove",e[72]),Z(a,"click",Jo(e[90]))],V=!0)},p(b,T){let ke=n;n=P(b),n===ke?w[n].p(b,T):(hi(),Me(w[ke],1,1,()=>{w[ke]=null}),fi(),i=w[n],i?i.p(b,T):(i=w[n]=j[n](b),i.c()),_e(i,1),i.m(r,o)),b[47]?Q&&(Q.d(1),Q=null):Q?Q.p(b,T):(Q=Wn(b),Q.c(),Q.m(a,null)),oe&&oe.p&&(!k||T[2]&67108864)&&Je(oe,Pe,b,b[88],k?Ye(Pe,b[88],T,Hl):Qe(b[88]),Un),Be===(Be=st(b))&&se?se.p(b,T):(se.d(1),se=Be(b),se&&(se.c(),se.m(r,f))),ae&&ae.p&&(!k||T[2]&67108864)&&Je(ae,Oe,b,b[88],k?Ye(Oe,b[88],T,xl):Qe(b[88]),Dn),te&&te.p&&(!k||T[2]&67108864)&&Je(te,ve,b,b[88],k?Ye(ve,b[88],T,Sl):Qe(b[88]),Fn),re&&re.p&&(!k||T[2]&67108864)&&Je(re,xe,b,b[88],k?Ye(xe,b[88],T,El):Qe(b[88]),Rn),b[47]?q&&(q.d(1),q=null):q?q.p(b,T):(q=Kn(b),q.c(),q.m(r,null)),!b[47]&&b[54].length>0?K?K.p(b,T):(K=ri(b),K.c(),K.m(t,I)):K&&(K.d(1),K=null),b[57]?$?$.p(b,T):($=ii(b),$.c(),$.m(t,null)):$&&($.d(1),$=null),(!k||T[1]&65536&&G!==(G="HeaderContainer "+(b[47]?"Mobile":"")))&&m(t,"class",G),(!k||T[0]&16)&&p(C,"cmsendpoint",b[4]),(!k||T[0]&8)&&p(C,"endpoint",b[3]),(!k||T[0]&32)&&p(C,"cmsenv",b[5]),(!k||T[0]&536870912)&&p(C,"userroles",b[29]),(!k||T[0]&1073741824)&&p(C,"mbsource",b[30]),(!k||T[0]&256)&&p(C,"activecategory",b[8]),(!k||T[0]&64)&&p(C,"lang",b[6]),(!k||T[0]&16384)&&p(C,"countryflaghamburger",b[14]),(!k||T[0]&1024)&&p(C,"customlocaleidentifier",b[10]),(!k||T[0]&128)&&p(C,"languageslist",b[7]),(!k||T[1]&1)&&p(C,"clientstyling",b[31]),(!k||T[1]&2)&&p(C,"clientstylingurl",b[32]),(!k||T[0]&2)&&p(C,"session",b[1]),(!k||T[0]&4)&&p(C,"userid",b[2]),(!k||T[2]&32)&&p(C,"customlogourl",b[67]),(!k||T[0]&262144)&&p(C,"langtransformmap",b[18]),(!k||T[1]&16384)&&p(C,"showactivebonusesbadge",b[45]),(!k||T[2]&16&&ce!==(ce=b[66].toString()))&&p(C,"activebonusescount",ce)},i(b){k||(_e(i),_e(oe,b),_e(ae,b),_e(te,b),_e(re,b),k=!0)},o(b){Me(i),Me(oe,b),Me(ae,b),Me(te,b),Me(re,b),k=!1},d(b){b&&(A(t),A(J),A(C)),w[n].d(),Q&&Q.d(),e[95](null),oe&&oe.d(b),se.d(),ae&&ae.d(b),te&&te.d(b),re&&re.d(b),q&&q.d(),K&&K.d(),$&&$.d(),e[109](null),V=!1,de(X)}}}function Wl(e,t,r){let n,i,o;si(e,Xi,s=>r(68,o=s));let{$$slots:a={},$$scope:l}=t;const u={"casino-hamburger-menu-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/casino-hamburger-menu-nd-BtiACLBX.cjs"))},"player-account-balance-modal-nd":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/player-account-balance-modal-nd-IZBAft1T.cjs"))},"player-deposit":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../lazy/player-deposit-CEFFQhy2.cjs"))},"user-deposit-withdrawal":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/user-deposit-withdrawal-CcrrvIVK.cjs"))},"gamification-dropdown":{loaded:!1,load:()=>Promise.resolve().then(()=>require("../stencil/gamification-dropdown-WlLyuHae.cjs"))}};let{session:c=""}=t,{userid:f=""}=t,{endpoint:h=""}=t,{cmsendpoint:d=""}=t,{cmsenv:_=""}=t,{lang:H="en"}=t,{languageslist:y="en, ro"}=t,{activecategory:L=""}=t,{usefallbackactiveindex:N="true"}=t,{translationurl:S=""}=t,{customlocaleidentifier:M=""}=t,{gmversion:I=""}=t,{countryflagheader:G="false"}=t,{displaybalanceoption:J="All"}=t,{countryflaghamburger:C="false"}=t,{hasdefaultamount:ce=""}=t,{playercurrency:k=""}=t,{shownegativebalance:V="false"}=t,{disablelangtransform:X="false"}=t,{langtransformmap:j=""}=t,{shortcashierenabled:w=""}=t,{producttype:P=""}=t,{successurl:Q=""}=t,{failurl:Pe=""}=t,{cancelurl:oe=""}=t,{sportsurl:st=""}=t,{casinourl:Be=""}=t,{contacturl:se=""}=t,{homeurl:Oe=""}=t,{depositurl:ae=""}=t,{userroles:ve=""}=t,{mbsource:te=""}=t,{clientstyling:xe=""}=t,{clientstylingurl:re=""}=t,{currencydisplay:q="symbol"}=t,{maximumfractiondigits:K="2"}=t,{minimumfractiondigits:$="0"}=t,{customdisplayformat:b=""}=t,{totalcalculationmode:T="totalCashAmount"}=t,{primarybalancemode:ke}=t,{balancelimitsbutton:Dr=""}=t,{activebonusesbutton:Ur=""}=t,{hideproducttype:Gr=""}=t,{gamification:_t="false"}=t,{showclosebutton:jr=!1}=t,{closebuttonactive:wt=!1}=t,{enablestepupauth:zr="false"}=t,{customlogourl:lt}=t,{filterbykeyword:Re="none"}=t,{showactivebonusesbadge:Jt="false"}=t,$i,Wr,pe,Fe,ut,he;bl({withLocale:"en",translations:{}});let Et=!1,Vr=0,Xr=0,z;const eo=s=>{var x,Y;s.preventDefault(),Et=!0,z==null||z.classList.add("dragging"),Vr=s.pageX-((x=z==null?void 0:z.offsetLeft)!=null?x:0),Xr=(Y=z==null?void 0:z.scrollLeft)!=null?Y:0},to=s=>{s.preventDefault(),Et=!1,z==null||z.classList.remove("dragging")},ro=s=>{Et=!1,z==null||z.classList.remove("dragging")},no=s=>{if(!Et||!z)return;s.preventDefault();const Y=(s.pageX-z.offsetLeft-Vr)*1.5;r(52,z.scrollLeft=Xr-Y,z)},io=()=>{fetch(S).then(s=>s.json()).then(s=>{Object.keys(s).forEach(x=>{Nn(x,s[x])})}).catch(s=>{console.log(s)})};Object.keys(Pn).forEach(s=>{Nn(s,Pn[s])});let Qt=[],qt=[],Kt=[],$t=[],me="",Ie,ye,Zr,ct=!0,De=!1,er=!0,ht=!1,tr=!1,rr=window.navigator.userAgent,Ue=!1,Ge="",St="",nr="",xt=[],ft=null,Ht=!1,ir="",or=!1,Mt=!1,ar,Ct=0;const dt=s=>{typeof gtag=="function"&>ag("event",s,{context:"HeaderController"})},fe=(s,x)=>{switch(s){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),dt("OpenLoginModal");break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),dt("OpenRegisterModal");break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href),dt("GoToHomepage");break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:Nr(rr)},window.location.href),dt("GoToMyAccount");break;case"deposit":window.postMessage({type:"CloseBalance"},window.location.href),i?(localStorage.getItem("userActionConsents")==="true"?window.postMessage({type:"EnableConsentsModal"},window.location.href):r(63,or=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),dt("GoToDeposit");break;case"language":r(65,ar=sr()),window.postMessage({type:"LanguageChanged",selectedLanguage:me},window.location.href);break;case"page":window.postMessage({type:"NavigateTo",item:x,path:x.path});break;case"closeLanguageSelector":r(57,ht=!1);break}},oo=()=>{r(62,Ht=!Ht),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},Yr=s=>{if(s.data)switch(s.data.type){case"UserSessionID":r(59,Ge=s.data.userid),St=s.data.session,r(58,Ue=!0),tn(St);break;case"ActiveBonusesUpdated":rn();break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),s.data.showhamburger&&r(62,Ht=!1);break;case"LogoutSuccessfull":r(58,Ue=!1),r(66,Ct=0);break;case"LanguageChanged":s.data.selectedLanguage.toLowerCase()!=H&&r(56,er=!0),Qr(),$r(ye);break;case"OpenShortCashier":fe("deposit");break;case"CloseShortCashier":At();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:pe.clientHeight},window.location.href);break;case"BalanceModalStatus":r(64,Mt=s.data.status=="open"),Jr(Mt);break;case"UpdateBalanceBackground":Jr(Mt);break;case"CloseButtonActive":r(0,wt=s.data.isOpen);break}},ao=()=>{if(!ut)return;let s=ut.getBoundingClientRect().width;r(51,he.style.width=`${s}px`,he),r(51,he.style.left=`${Fe.getBoundingClientRect().width}px`,he)},Jr=s=>{if(s&&Fe){let x=Fe.getBoundingClientRect().width;r(51,he.style.width=`${x}px`,he),r(51,he.style.left="0px",he)}else ao()},so=()=>{r(58,Ue=!0),St=c},At=s=>{r(63,or=!1),window.postMessage({type:"EnableScroll"},window.location.href),s==null||s.stopPropagation()},Qr=()=>{ye=new URL(`${d}/${me.toLowerCase()}/menu`),Ie=new URL(`${d}/${me.toLowerCase()}/hamburger-menu`),Zr=new URL(`${d}/${me.toLowerCase()}/op-options/style`);let s=Zi(rr);ye.searchParams.append("env",_),ye.searchParams.append("language",me.toLowerCase()),ye.searchParams.append("userRoles",ve),s&&(s==="PC"?(Ie.searchParams.append("device","dk"),ye.searchParams.append("device","dk")):(Ie.searchParams.append("device","mtWeb"),ye.searchParams.append("device","mtWeb"))),Ie.searchParams.append("env",_),Ie.searchParams.append("language",me.toLowerCase()),Ie.searchParams.append("userRoles",ve),$r(ye)},lo=()=>{vl(H)},uo=()=>{r(55,me=H.toUpperCase()),r(65,ar=sr()),r(61,xt=y.replace(/ /g,"").split(",")),r(61,xt=xt.map(s=>s.toUpperCase())),Qr(),mo(Zr)},co=()=>{r(48,Wr=ho(L,Qt.concat(Kt)))},ho=(s,x)=>{var D;const Y=x.find(He=>s===He.path||`/${H}${s}`.replace(/\/$/,"")===He.path.replace(/\/$/,"")||qr(s).endsWith(qr(He.path)));if(Y)return Y.id;if(N==="true"){const He=x.find(Do=>Do.path.split("/").indexOf(s.split("/")[1])>-1);return(D=He==null?void 0:He.id)!=null?D:-1}return-1},qr=s=>s.replace(/\/+$/,""),fo=(s,x)=>s.filter(Y=>x.includes(Y)),Kr=s=>s.split(",").filter(Boolean).map(x=>x.trim()),Bt=s=>{if(!Re||Re==="none")return s;const x=Kr(Re);return x.length===0?s:s.filter(Y=>{const D=Kr(Y.keyword||"");return D.length===0?!0:fo(x,D).length>0})},po=()=>{r(53,qt=Bt(Qt)),r(54,$t=Bt(Kt))},$r=s=>(r(85,ct=!0),new Promise((x,Y)=>{fetch(s).then(D=>D.json()).then(D=>{Qt=D.desktop.primary,r(53,qt=Bt(D.desktop.primary)),Kt=D.desktop.secondary,r(54,$t=Bt(D.desktop.secondary)),r(85,ct=!1),r(56,er=!1),x(D)},D=>{r(85,ct=!1),console.error(D),Y(D)})})),mo=s=>(r(86,De=!1),new Promise((x,Y)=>{fetch(s).then(D=>D.json()).then(D=>{D.logoUrl.length>0&&(D.logoUrl!="null"||D.logoUrl!="false")?(r(87,ir=D.logoUrl),r(86,De=!0)):r(86,De=!1),x(D)},D=>{r(86,De=!1),console.error(D),Y(D)})})),go=s=>{r(60,nr=s.Username),r(59,Ge=s.UserID),r(58,Ue=!0),rn()},en=()=>{r(58,Ue=!1),St=null,r(59,Ge=null),r(60,nr="")},tn=s=>It(this,null,function*(){if(!s){en();return}try{const x=yield Yi(h,s);go(x)}catch(x){console.error("Error while checking the session:",x),en()}}),rn=()=>{if(Jt!=="true"||!c||!Ge||!h)return;const s=new URL(`${h}/v1/player/${Ge}/bonusWallet`);s.searchParams.append("filter","status=active"),s.searchParams.append("pagination","offset=0,limit=1"),fetch(s,{method:"GET",headers:{"X-SessionId":c}}).then(x=>x.json()).then(x=>{var Y;r(66,Ct=(Y=x==null?void 0:x.total)!=null?Y:0)}).catch(x=>{console.error("Error fetching active bonuses count:",x),r(66,Ct=0)})},nn=s=>{var x;window.postMessage({type:"NavigateTo",itemId:s.id,item:s,path:s.path,externalLink:s.externalLink||!1,target:((x=s.attrs)==null?void 0:x.target)||null},window.location.href)},on=s=>{r(55,me=s),r(57,ht=!1),fe("language")},an=()=>{r(57,ht=!ht)},sr=s=>{let x=s?s.slice(-2):me.slice(-2);return M&&(x=M.includes(x.toLowerCase())?M.slice(-2):x),X!=="true"&&x.toUpperCase()==="EN"&&(x="GB"),ft&&(x=ft[x]||x),x.toUpperCase()},je=s=>It(this,null,function*(){u[s]&&(u[s].loaded||(u[s].load(),u[s].loaded=!0))}),bo=s=>s==="false"?!1:!!s,sn=()=>{window.postMessage({type:"HeaderCloseButton"},window.location.href),r(0,wt=!1)};ci(()=>(je("player-account-balance-modal-nd"),je("casino-hamburger-menu-nd"),window.addEventListener("message",Yr,!1),r(47,tr=Nr(rr)),()=>{window.removeEventListener("message",Yr)}));const vo=()=>{try{const s=JSON.parse(j);s&&typeof s=="object"&&!Array.isArray(s)&&Object.keys(s).length?ft=s:ft=null}catch(s){ft=null}};function yo(s){ia.call(this,e,s)}const _o=()=>sn(),wo=()=>fe("lobby"),Eo=()=>fe("myaccount"),So=s=>fe("page",s);function xo(s){Ce[s?"unshift":"push"](()=>{z=s,r(52,z)})}function Ho(s){Ce[s?"unshift":"push"](()=>{Fe=s,r(49,Fe)})}const Mo=()=>fe("deposit"),Co=s=>At(s),Ao=s=>At(s);function Bo(s){Ce[s?"unshift":"push"](()=>{ut=s,r(50,ut)})}function Io(s){Ce[s?"unshift":"push"](()=>{he=s,r(51,he)})}const To=()=>fe("myaccount"),Lo=()=>fe("login"),No=()=>fe("register"),Po=()=>an(),Oo=s=>on(s),ko=s=>nn(s),Ro=()=>fe("closeLanguageSelector");function Fo(s){Ce[s?"unshift":"push"](()=>{pe=s,r(46,pe)})}return e.$$set=s=>{"session"in s&&r(1,c=s.session),"userid"in s&&r(2,f=s.userid),"endpoint"in s&&r(3,h=s.endpoint),"cmsendpoint"in s&&r(4,d=s.cmsendpoint),"cmsenv"in s&&r(5,_=s.cmsenv),"lang"in s&&r(6,H=s.lang),"languageslist"in s&&r(7,y=s.languageslist),"activecategory"in s&&r(8,L=s.activecategory),"usefallbackactiveindex"in s&&r(81,N=s.usefallbackactiveindex),"translationurl"in s&&r(9,S=s.translationurl),"customlocaleidentifier"in s&&r(10,M=s.customlocaleidentifier),"gmversion"in s&&r(11,I=s.gmversion),"countryflagheader"in s&&r(12,G=s.countryflagheader),"displaybalanceoption"in s&&r(13,J=s.displaybalanceoption),"countryflaghamburger"in s&&r(14,C=s.countryflaghamburger),"hasdefaultamount"in s&&r(15,ce=s.hasdefaultamount),"playercurrency"in s&&r(16,k=s.playercurrency),"shownegativebalance"in s&&r(17,V=s.shownegativebalance),"disablelangtransform"in s&&r(82,X=s.disablelangtransform),"langtransformmap"in s&&r(18,j=s.langtransformmap),"shortcashierenabled"in s&&r(19,w=s.shortcashierenabled),"producttype"in s&&r(20,P=s.producttype),"successurl"in s&&r(21,Q=s.successurl),"failurl"in s&&r(22,Pe=s.failurl),"cancelurl"in s&&r(23,oe=s.cancelurl),"sportsurl"in s&&r(24,st=s.sportsurl),"casinourl"in s&&r(25,Be=s.casinourl),"contacturl"in s&&r(26,se=s.contacturl),"homeurl"in s&&r(27,Oe=s.homeurl),"depositurl"in s&&r(28,ae=s.depositurl),"userroles"in s&&r(29,ve=s.userroles),"mbsource"in s&&r(30,te=s.mbsource),"clientstyling"in s&&r(31,xe=s.clientstyling),"clientstylingurl"in s&&r(32,re=s.clientstylingurl),"currencydisplay"in s&&r(33,q=s.currencydisplay),"maximumfractiondigits"in s&&r(34,K=s.maximumfractiondigits),"minimumfractiondigits"in s&&r(35,$=s.minimumfractiondigits),"customdisplayformat"in s&&r(36,b=s.customdisplayformat),"totalcalculationmode"in s&&r(37,T=s.totalcalculationmode),"primarybalancemode"in s&&r(38,ke=s.primarybalancemode),"balancelimitsbutton"in s&&r(39,Dr=s.balancelimitsbutton),"activebonusesbutton"in s&&r(40,Ur=s.activebonusesbutton),"hideproducttype"in s&&r(41,Gr=s.hideproducttype),"gamification"in s&&r(42,_t=s.gamification),"showclosebutton"in s&&r(43,jr=s.showclosebutton),"closebuttonactive"in s&&r(0,wt=s.closebuttonactive),"enablestepupauth"in s&&r(44,zr=s.enablestepupauth),"customlogourl"in s&&r(83,lt=s.customlogourl),"filterbykeyword"in s&&r(84,Re=s.filterbykeyword),"showactivebonusesbadge"in s&&r(45,Jt=s.showactivebonusesbadge),"$$scope"in s&&r(88,l=s.$$scope)},e.$$.update=()=>{e.$$.dirty[2]&4194304&&Re&&po(),e.$$.dirty[2]&52428800&&r(67,n=De?lt!=null?lt:ir:yl),e.$$.dirty[0]&256|e.$$.dirty[2]&8388608&&L&&!ct&&co(),e.$$.dirty[0]&2&&c&&(so(),tn(c)),e.$$.dirty[0]&524288&&(i=w.toLocaleLowerCase()=="true"),e.$$.dirty[0]&64&&H&&lo(),e.$$.dirty[0]&536871152&&d&&H&&y&&ve&&_&&uo(),e.$$.dirty[0]&512&&S&&io(),e.$$.dirty[1]&32769&&xe&&pe&&Ji(pe,xe),e.$$.dirty[1]&32770&&re&&pe&&Qi(pe,re),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&32768&&te&&pe&&qi(pe,`${te}.Style`,$i),e.$$.dirty[1]&2048&&_t&&bo(_t)&&je("gamification-dropdown"),e.$$.dirty[0]&2048&&je(I&&I==="gmcore"?"player-deposit":"user-deposit-withdrawal"),e.$$.dirty[1]&65536&&tr&&je("casino-hamburger-menu-nd"),e.$$.dirty[0]&262144&&j&&vo()},[wt,c,f,h,d,_,H,y,L,S,M,I,G,J,C,ce,k,V,j,w,P,Q,Pe,oe,st,Be,se,Oe,ae,ve,te,xe,re,q,K,$,b,T,ke,Dr,Ur,Gr,_t,jr,zr,Jt,pe,tr,Wr,Fe,ut,he,z,qt,$t,me,er,ht,Ue,Ge,nr,xt,Ht,or,Mt,ar,Ct,n,o,eo,to,ro,no,fe,oo,At,nn,on,an,sr,sn,N,X,lt,Re,ct,De,ir,l,a,yo,_o,wo,Eo,So,xo,Ho,Mo,Co,Ao,Bo,Io,To,Lo,No,Po,Oo,ko,Ro,Fo]}class Ki extends gi{constructor(t){super(),di(this,t,Wl,zl,Or,{session:1,userid:2,endpoint:3,cmsendpoint:4,cmsenv:5,lang:6,languageslist:7,activecategory:8,usefallbackactiveindex:81,translationurl:9,customlocaleidentifier:10,gmversion:11,countryflagheader:12,displaybalanceoption:13,countryflaghamburger:14,hasdefaultamount:15,playercurrency:16,shownegativebalance:17,disablelangtransform:82,langtransformmap:18,shortcashierenabled:19,producttype:20,successurl:21,failurl:22,cancelurl:23,sportsurl:24,casinourl:25,contacturl:26,homeurl:27,depositurl:28,userroles:29,mbsource:30,clientstyling:31,clientstylingurl:32,currencydisplay:33,maximumfractiondigits:34,minimumfractiondigits:35,customdisplayformat:36,totalcalculationmode:37,primarybalancemode:38,balancelimitsbutton:39,activebonusesbutton:40,hideproducttype:41,gamification:42,showclosebutton:43,closebuttonactive:0,enablestepupauth:44,customlogourl:83,filterbykeyword:84,showactivebonusesbadge:45},_l,[-1,-1,-1,-1,-1,-1])}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),E()}get userid(){return this.$$.ctx[2]}set userid(t){this.$$set({userid:t}),E()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),E()}get cmsendpoint(){return this.$$.ctx[4]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),E()}get cmsenv(){return this.$$.ctx[5]}set cmsenv(t){this.$$set({cmsenv:t}),E()}get lang(){return this.$$.ctx[6]}set lang(t){this.$$set({lang:t}),E()}get languageslist(){return this.$$.ctx[7]}set languageslist(t){this.$$set({languageslist:t}),E()}get activecategory(){return this.$$.ctx[8]}set activecategory(t){this.$$set({activecategory:t}),E()}get usefallbackactiveindex(){return this.$$.ctx[81]}set usefallbackactiveindex(t){this.$$set({usefallbackactiveindex:t}),E()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),E()}get customlocaleidentifier(){return this.$$.ctx[10]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),E()}get gmversion(){return this.$$.ctx[11]}set gmversion(t){this.$$set({gmversion:t}),E()}get countryflagheader(){return this.$$.ctx[12]}set countryflagheader(t){this.$$set({countryflagheader:t}),E()}get displaybalanceoption(){return this.$$.ctx[13]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),E()}get countryflaghamburger(){return this.$$.ctx[14]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),E()}get hasdefaultamount(){return this.$$.ctx[15]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),E()}get playercurrency(){return this.$$.ctx[16]}set playercurrency(t){this.$$set({playercurrency:t}),E()}get shownegativebalance(){return this.$$.ctx[17]}set shownegativebalance(t){this.$$set({shownegativebalance:t}),E()}get disablelangtransform(){return this.$$.ctx[82]}set disablelangtransform(t){this.$$set({disablelangtransform:t}),E()}get langtransformmap(){return this.$$.ctx[18]}set langtransformmap(t){this.$$set({langtransformmap:t}),E()}get shortcashierenabled(){return this.$$.ctx[19]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),E()}get producttype(){return this.$$.ctx[20]}set producttype(t){this.$$set({producttype:t}),E()}get successurl(){return this.$$.ctx[21]}set successurl(t){this.$$set({successurl:t}),E()}get failurl(){return this.$$.ctx[22]}set failurl(t){this.$$set({failurl:t}),E()}get cancelurl(){return this.$$.ctx[23]}set cancelurl(t){this.$$set({cancelurl:t}),E()}get sportsurl(){return this.$$.ctx[24]}set sportsurl(t){this.$$set({sportsurl:t}),E()}get casinourl(){return this.$$.ctx[25]}set casinourl(t){this.$$set({casinourl:t}),E()}get contacturl(){return this.$$.ctx[26]}set contacturl(t){this.$$set({contacturl:t}),E()}get homeurl(){return this.$$.ctx[27]}set homeurl(t){this.$$set({homeurl:t}),E()}get depositurl(){return this.$$.ctx[28]}set depositurl(t){this.$$set({depositurl:t}),E()}get userroles(){return this.$$.ctx[29]}set userroles(t){this.$$set({userroles:t}),E()}get mbsource(){return this.$$.ctx[30]}set mbsource(t){this.$$set({mbsource:t}),E()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(t){this.$$set({clientstyling:t}),E()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),E()}get currencydisplay(){return this.$$.ctx[33]}set currencydisplay(t){this.$$set({currencydisplay:t}),E()}get maximumfractiondigits(){return this.$$.ctx[34]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),E()}get minimumfractiondigits(){return this.$$.ctx[35]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),E()}get customdisplayformat(){return this.$$.ctx[36]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),E()}get totalcalculationmode(){return this.$$.ctx[37]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),E()}get primarybalancemode(){return this.$$.ctx[38]}set primarybalancemode(t){this.$$set({primarybalancemode:t}),E()}get balancelimitsbutton(){return this.$$.ctx[39]}set balancelimitsbutton(t){this.$$set({balancelimitsbutton:t}),E()}get activebonusesbutton(){return this.$$.ctx[40]}set activebonusesbutton(t){this.$$set({activebonusesbutton:t}),E()}get hideproducttype(){return this.$$.ctx[41]}set hideproducttype(t){this.$$set({hideproducttype:t}),E()}get gamification(){return this.$$.ctx[42]}set gamification(t){this.$$set({gamification:t}),E()}get showclosebutton(){return this.$$.ctx[43]}set showclosebutton(t){this.$$set({showclosebutton:t}),E()}get closebuttonactive(){return this.$$.ctx[0]}set closebuttonactive(t){this.$$set({closebuttonactive:t}),E()}get enablestepupauth(){return this.$$.ctx[44]}set enablestepupauth(t){this.$$set({enablestepupauth:t}),E()}get customlogourl(){return this.$$.ctx[83]}set customlogourl(t){this.$$set({customlogourl:t}),E()}get filterbykeyword(){return this.$$.ctx[84]}set filterbykeyword(t){this.$$set({filterbykeyword:t}),E()}get showactivebonusesbadge(){return this.$$.ctx[45]}set showactivebonusesbadge(t){this.$$set({showactivebonusesbadge:t}),E()}}mi(Ki,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},usefallbackactiveindex:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},shownegativebalance:{},disablelangtransform:{},langtransformmap:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},totalcalculationmode:{},primarybalancemode:{},balancelimitsbutton:{},activebonusesbutton:{},hideproducttype:{},gamification:{},showclosebutton:{type:"Boolean"},closebuttonactive:{type:"Boolean"},enablestepupauth:{},customlogourl:{},filterbykeyword:{},showactivebonusesbadge:{}},["logo","slot4","slot1","slot2","slot3"],[],!0);const Vl=Object.freeze(Object.defineProperty({__proto__:null,default:Ki},Symbol.toStringTag,{value:"Module"}));exports.$format=Xi;exports.$locale=Se;exports.CasinoHeaderControllerNd_ce=Vl;exports.SvelteComponent=gi;exports.addMessages=Rr;exports.add_render_callback=Dt;exports.append=g;exports.append_styles=ui;exports.attr=m;exports.binding_callbacks=Ce;exports.checkSession=Yi;exports.check_outros=fi;exports.commonjsGlobal=Aa;exports.component_subscribe=si;exports.create_custom_element=mi;exports.create_slot=Ze;exports.destroy_each=rt;exports.detach=A;exports.element=v;exports.empty=nt;exports.ensure_array_like=Ee;exports.flush=E;exports.getDevice=Zi;exports.get_all_dirty_from_scope=Qe;exports.get_slot_changes=Ye;exports.group_outros=hi;exports.init=di;exports.insert=B;exports.isMobile=Nr;exports.listen=Z;exports.noop=ee;exports.onMount=ci;exports.run_all=de;exports.safe_not_equal=Or;exports.select_option=$o;exports.select_value=ea;exports.setClientStyling=Ji;exports.setClientStylingURL=Qi;exports.setStreamStyling=qi;exports.set_data=le;exports.set_input_value=qo;exports.set_style=Ko;exports.space=O;exports.src_url_equal=Le;exports.svg_element=be;exports.text=ie;exports.toggle_class=ta;exports.transition_in=_e;exports.transition_out=Me;exports.update_slot_base=Je;
|