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