@everymatrix/casino-integrated-game-page 1.52.3 → 1.52.5
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/{CasinoIntegratedGamePage-CiiaIC9w.js → CasinoIntegratedGamePage-CPKf77RR.js} +2 -2
- package/components/{CasinoIntegratedGamePage-D9K1cI2U.cjs → CasinoIntegratedGamePage-RvcU0iwX.cjs} +2 -2
- package/components/{PlayerDeposit-qNRuCFKg.cjs → PlayerDeposit-B5WjXleS.cjs} +1 -1
- package/components/{PlayerDeposit-DpLqocKR.js → PlayerDeposit-BP1_9-w9.js} +1 -1
- package/es2015/casino-integrated-game-page.cjs +1 -1
- package/es2015/casino-integrated-game-page.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-657e7a14-DDXA_k23.js → index-657e7a14-D8XrwewT.js} +1 -1
- package/stencil/{index-657e7a14-6spLHDf6.cjs → index-657e7a14-Dej0SYE9.cjs} +1 -1
- package/stencil/user-deposit-withdrawal-BwoHDg0W.js +651 -0
- package/stencil/user-deposit-withdrawal-RpW35qPG.cjs +59 -0
- package/stencil/user-deposit-withdrawal-CXzHd7L7.cjs +0 -59
- package/stencil/user-deposit-withdrawal-DGyUXAvB.js +0 -597
package/components/{CasinoIntegratedGamePage-CiiaIC9w.js → CasinoIntegratedGamePage-CPKf77RR.js}
RENAMED
|
@@ -27,7 +27,7 @@ var ki = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
|
|
28
28
|
o((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/user-deposit-withdrawal-
|
|
30
|
+
import "../stencil/user-deposit-withdrawal-BwoHDg0W.js";
|
|
31
31
|
function q() {
|
|
32
32
|
}
|
|
33
33
|
function hs(e) {
|
|
@@ -4397,7 +4397,7 @@ if (typeof window != "undefined") {
|
|
|
4397
4397
|
}
|
|
4398
4398
|
};
|
|
4399
4399
|
};
|
|
4400
|
-
customElements.define = e(customElements.define), import("./PlayerDeposit-
|
|
4400
|
+
customElements.define = e(customElements.define), import("./PlayerDeposit-BP1_9-w9.js").then(({ default: t }) => {
|
|
4401
4401
|
!customElements.get("player-deposit") && customElements.define("player-deposit", t.element);
|
|
4402
4402
|
});
|
|
4403
4403
|
}
|
package/components/{CasinoIntegratedGamePage-D9K1cI2U.cjs → CasinoIntegratedGamePage-RvcU0iwX.cjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";var Oo=Object.defineProperty,Fo=Object.defineProperties;var Do=Object.getOwnPropertyDescriptors;var Ei=Object.getOwnPropertySymbols;var Po=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable;var Xr=(e,t,r)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ki=(e,t)=>{for(var r in t||(t={}))Po.call(t,r)&&Xr(e,r,t[r]);if(Ei)for(var r of Ei(t))Ho.call(t,r)&&Xr(e,r,t[r]);return e},Mi=(e,t)=>Fo(e,Do(t));var oe=(e,t,r)=>Xr(e,typeof t!="symbol"?t+"":t,r);var Ti=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});require("../stencil/user-deposit-withdrawal-CXzHd7L7.cjs");function X(){}function cs(e){return e()}function Oi(){return Object.create(null)}function We(e){e.forEach(cs)}function Dn(e){return typeof e=="function"}function Pn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let tr;function Ct(e,t){return e===t?!0:(tr||(tr=document.createElement("a")),tr.href=t,e===tr.href)}function Io(e){return Object.keys(e).length===0}function ds(e,...t){if(e==null){for(const n of t)n(void 0);return X}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ms(e,t,r){e.$$.on_destroy.push(ds(t,r))}function O(e,t){e.appendChild(t)}function ps(e,t,r){const n=Co(e);if(!n.getElementById(t)){const i=T("style");i.id=t,i.textContent=r,No(n,i)}}function Co(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function No(e,t){return O(e.head||e,t),t.sheet}function G(e,t,r){e.insertBefore(t,r||null)}function U(e){e.parentNode&&e.parentNode.removeChild(e)}function T(e){return document.createElement(e)}function Lo(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ge(e){return document.createTextNode(e)}function J(){return Ge(" ")}function se(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function S(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function E(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:S(e,t,r)}function Ro(e){return Array.from(e.childNodes)}function Xe(e,t){t=""+t,e.data!==t&&(e.data=t)}function Q(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function ft(e,t,r){e.classList.toggle(t,!!r)}function Ao(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Nt;function Ht(e){Nt=e}function Bo(){if(!Nt)throw new Error("Function called outside component initialization");return Nt}function gs(e){Bo().$$.on_mount.push(e)}const nt=[],te=[];let at=[];const Fi=[],Yo=Promise.resolve();let ln=!1;function Uo(){ln||(ln=!0,Yo.then(I))}function un(e){at.push(e)}const qr=new Set;let et=0;function I(){if(et!==0)return;const e=Nt;do{try{for(;et<nt.length;){const t=nt[et];et++,Ht(t),Go(t.$$)}}catch(t){throw nt.length=0,et=0,t}for(Ht(null),nt.length=0,et=0;te.length;)te.pop()();for(let t=0;t<at.length;t+=1){const r=at[t];qr.has(r)||(qr.add(r),r())}at.length=0}while(nt.length);for(;Fi.length;)Fi.pop()();ln=!1,qr.clear(),Ht(e)}function Go(e){if(e.fragment!==null){e.update(),We(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(un)}}function Wo(e){const t=[],r=[];at.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),at=t}const jo=new Set;function Vo(e,t){e&&e.i&&(jo.delete(e),e.i(t))}function zo(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),un(()=>{const s=e.$$.on_mount.map(cs).filter(Dn);e.$$.on_destroy?e.$$.on_destroy.push(...s):We(s),e.$$.on_mount=[]}),i.forEach(un)}function Zo(e,t){const r=e.$$;r.fragment!==null&&(Wo(r.after_update),We(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Xo(e,t){e.$$.dirty[0]===-1&&(nt.push(e),Uo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ys(e,t,r,n,i,s,a=null,o=[-1]){const l=Nt;Ht(e);const u=e.$$={fragment:null,ctx:[],props:s,update:X,not_equal:i,bound:Oi(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Oi(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(c,d,...p)=>{const _=p.length?p[0]:d;return u.ctx&&i(u.ctx[c],u.ctx[c]=_)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](_),f&&Xo(e,c)),d}):[],u.update(),f=!0,We(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=Ro(t.target);u.fragment&&u.fragment.l(c),c.forEach(U)}else u.fragment&&u.fragment.c();t.intro&&Vo(e.$$.fragment),zo(e,t.target,t.anchor),I()}Ht(l)}let _s;typeof HTMLElement=="function"&&(_s=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(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 Ti(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=T("slot"),s!=="default"&&S(a,"name",s)},m:function(u,f){G(u,a,f)},d:function(u){u&&U(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ao(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=ar(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Mi(ki({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=ar(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ar(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 ar(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.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 bs(e,t,r,n,i,s){let a=class extends _s{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=ar(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class vs{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Zo(this,1),this.$destroy=X}$on(t,r){if(!Dn(r))return X;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&&!Io(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const qo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(qo);var hn=function(e,t){return hn=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])},hn(e,t)};function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},N.apply(this,arguments)};function Jo(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 fn(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 cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function ot(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Te(e){return typeof e=="function"}function ws(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 Jr=ws(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
1
|
+
"use strict";var Oo=Object.defineProperty,Fo=Object.defineProperties;var Do=Object.getOwnPropertyDescriptors;var Ei=Object.getOwnPropertySymbols;var Po=Object.prototype.hasOwnProperty,Ho=Object.prototype.propertyIsEnumerable;var Xr=(e,t,r)=>t in e?Oo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ki=(e,t)=>{for(var r in t||(t={}))Po.call(t,r)&&Xr(e,r,t[r]);if(Ei)for(var r of Ei(t))Ho.call(t,r)&&Xr(e,r,t[r]);return e},Mi=(e,t)=>Fo(e,Do(t));var oe=(e,t,r)=>Xr(e,typeof t!="symbol"?t+"":t,r);var Ti=(e,t,r)=>new Promise((n,i)=>{var s=l=>{try{o(r.next(l))}catch(u){i(u)}},a=l=>{try{o(r.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((r=r.apply(e,t)).next())});require("../stencil/user-deposit-withdrawal-RpW35qPG.cjs");function X(){}function cs(e){return e()}function Oi(){return Object.create(null)}function We(e){e.forEach(cs)}function Dn(e){return typeof e=="function"}function Pn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let tr;function Ct(e,t){return e===t?!0:(tr||(tr=document.createElement("a")),tr.href=t,e===tr.href)}function Io(e){return Object.keys(e).length===0}function ds(e,...t){if(e==null){for(const n of t)n(void 0);return X}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ms(e,t,r){e.$$.on_destroy.push(ds(t,r))}function O(e,t){e.appendChild(t)}function ps(e,t,r){const n=Co(e);if(!n.getElementById(t)){const i=T("style");i.id=t,i.textContent=r,No(n,i)}}function Co(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function No(e,t){return O(e.head||e,t),t.sheet}function G(e,t,r){e.insertBefore(t,r||null)}function U(e){e.parentNode&&e.parentNode.removeChild(e)}function T(e){return document.createElement(e)}function Lo(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Ge(e){return document.createTextNode(e)}function J(){return Ge(" ")}function se(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function S(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function E(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:S(e,t,r)}function Ro(e){return Array.from(e.childNodes)}function Xe(e,t){t=""+t,e.data!==t&&(e.data=t)}function Q(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function ft(e,t,r){e.classList.toggle(t,!!r)}function Ao(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Nt;function Ht(e){Nt=e}function Bo(){if(!Nt)throw new Error("Function called outside component initialization");return Nt}function gs(e){Bo().$$.on_mount.push(e)}const nt=[],te=[];let at=[];const Fi=[],Yo=Promise.resolve();let ln=!1;function Uo(){ln||(ln=!0,Yo.then(I))}function un(e){at.push(e)}const qr=new Set;let et=0;function I(){if(et!==0)return;const e=Nt;do{try{for(;et<nt.length;){const t=nt[et];et++,Ht(t),Go(t.$$)}}catch(t){throw nt.length=0,et=0,t}for(Ht(null),nt.length=0,et=0;te.length;)te.pop()();for(let t=0;t<at.length;t+=1){const r=at[t];qr.has(r)||(qr.add(r),r())}at.length=0}while(nt.length);for(;Fi.length;)Fi.pop()();ln=!1,qr.clear(),Ht(e)}function Go(e){if(e.fragment!==null){e.update(),We(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(un)}}function Wo(e){const t=[],r=[];at.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),at=t}const jo=new Set;function Vo(e,t){e&&e.i&&(jo.delete(e),e.i(t))}function zo(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),un(()=>{const s=e.$$.on_mount.map(cs).filter(Dn);e.$$.on_destroy?e.$$.on_destroy.push(...s):We(s),e.$$.on_mount=[]}),i.forEach(un)}function Zo(e,t){const r=e.$$;r.fragment!==null&&(Wo(r.after_update),We(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Xo(e,t){e.$$.dirty[0]===-1&&(nt.push(e),Uo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ys(e,t,r,n,i,s,a=null,o=[-1]){const l=Nt;Ht(e);const u=e.$$={fragment:null,ctx:[],props:s,update:X,not_equal:i,bound:Oi(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Oi(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let f=!1;if(u.ctx=r?r(e,t.props||{},(c,d,...p)=>{const _=p.length?p[0]:d;return u.ctx&&i(u.ctx[c],u.ctx[c]=_)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](_),f&&Xo(e,c)),d}):[],u.update(),f=!0,We(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=Ro(t.target);u.fragment&&u.fragment.l(c),c.forEach(U)}else u.fragment&&u.fragment.c();t.intro&&Vo(e.$$.fragment),zo(e,t.target,t.anchor),I()}Ht(l)}let _s;typeof HTMLElement=="function"&&(_s=class extends HTMLElement{constructor(t,r,n){super();oe(this,"$$ctor");oe(this,"$$s");oe(this,"$$c");oe(this,"$$cn",!1);oe(this,"$$d",{});oe(this,"$$r",!1);oe(this,"$$p_d",{});oe(this,"$$l",{});oe(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 Ti(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let a;return{c:function(){a=T("slot"),s!=="default"&&S(a,"name",s)},m:function(u,f){G(u,a,f)},d:function(u){u&&U(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ao(this);for(const s of this.$$s)s in n&&(r[s]=[t(s)]);for(const s of this.attributes){const a=this.$$g_p(s.name);a in this.$$d||(this.$$d[a]=ar(a,s.value,this.$$p_d,"toProp"))}for(const s in this.$$p_d)!(s in this.$$d)&&this[s]!==void 0&&(this.$$d[s]=this[s],delete this[s]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Mi(ki({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const a=ar(s,this.$$d[s],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[s].attribute||s):this.setAttribute(this.$$p_d[s].attribute||s,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const s in this.$$l)for(const a of this.$$l[s]){const o=this.$$c.$on(s,a);this.$$l_u.set(a,o)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=ar(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 ar(e,t,r,n){var s;const i=(s=r[e])==null?void 0:s.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 bs(e,t,r,n,i,s){let a=class extends _s{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(a.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(l){var u;l=ar(o,l,t),this.$$d[o]=l,(u=this.$$c)==null||u.$set({[o]:l})}})}),n.forEach(o=>{Object.defineProperty(a.prototype,o,{get(){var l;return(l=this.$$c)==null?void 0:l[o]}})}),e.element=a,a}class vs{constructor(){oe(this,"$$");oe(this,"$$set")}$destroy(){Zo(this,1),this.$destroy=X}$on(t,r){if(!Dn(r))return X;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&&!Io(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const qo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(qo);var hn=function(e,t){return hn=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])},hn(e,t)};function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");hn(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},N.apply(this,arguments)};function Jo(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 fn(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 cn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,s=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(o){a={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return s}function ot(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function Te(e){return typeof e=="function"}function ws(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 Jr=ws(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
2
2
|
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
3
3
|
`):"",this.name="UnsubscriptionError",this.errors=r}});function dn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var wr=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,s;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=fn(a),l=o.next();!l.done;l=o.next()){var u=l.value;u.remove(this)}}catch(b){t={error:b}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Te(f))try{f()}catch(b){s=b instanceof Jr?b.errors:[b]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var d=fn(c),p=d.next();!p.done;p=d.next()){var _=p.value;try{Di(_)}catch(b){s=s!=null?s:[],b instanceof Jr?s=ot(ot([],cn(s)),cn(b.errors)):s.push(b)}}}catch(b){n={error:b}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(n)throw n.error}}}if(s)throw new Jr(s)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Di(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)&&dn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&dn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ss=wr.EMPTY;function xs(e){return e instanceof wr||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Di(e){Te(e)?e():e.unsubscribe()}var Es={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},$o={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ot([e,t],cn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Qo(e){$o.setTimeout(function(){throw e})}function Pi(){}function or(e){e()}var ks=function(e){He(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,xs(r)&&r.add(n)):n.destination=rl,n}return t.create=function(r,n,i){return new mn(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}(wr),Ko=Function.prototype.bind;function $r(e,t){return Ko.call(e,t)}var el=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){rr(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){rr(n)}else rr(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){rr(r)}},e}(),mn=function(e){He(t,e);function t(r,n,i){var s=e.call(this)||this,a;if(Te(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var o;s&&Es.useDeprecatedNextContext?(o=Object.create(r),o.unsubscribe=function(){return s.unsubscribe()},a={next:r.next&&$r(r.next,o),error:r.error&&$r(r.error,o),complete:r.complete&&$r(r.complete,o)}):a=r}return s.destination=new el(a),s}return t}(ks);function rr(e){Qo(e)}function tl(e){throw e}var rl={closed:!0,next:Pi,error:tl,complete:Pi},nl=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function il(e){return e}function sl(e){return e.length===0?il:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Hi=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,s=ol(t)?t:new mn(t,r,n);return or(function(){var a=i,o=a.operator,l=a.source;s.add(o?o.call(s,l):l?i._subscribe(s):i._trySubscribe(s))}),s},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=Ii(r),new r(function(i,s){var a=new mn({next:function(o){try{t(o)}catch(l){s(l),a.unsubscribe()}},error:s,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[nl]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return sl(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Ii(t),new t(function(n,i){var s;r.subscribe(function(a){return s=a},function(a){return i(a)},function(){return n(s)})})},e.create=function(t){return new e(t)},e}();function Ii(e){var t;return(t=e!=null?e:Es.Promise)!==null&&t!==void 0?t:Promise}function al(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}function ol(e){return e&&e instanceof ks||al(e)&&xs(e)}var ll=ws(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ms=function(e){He(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 Ci(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ll},t.prototype.next=function(r){var n=this;or(function(){var i,s;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=fn(n.currentObservers),o=a.next();!o.done;o=a.next()){var l=o.value;l.next(r)}}catch(u){i={error:u}}finally{try{o&&!o.done&&(s=a.return)&&s.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;or(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;or(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,s=i.hasError,a=i.isStopped,o=i.observers;return s||a?Ss:(this.currentObservers=null,o.push(r),new wr(function(){n.currentObservers=null,dn(o,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,s=n.thrownError,a=n.isStopped;i?r.error(s):a&&r.complete()},t.prototype.asObservable=function(){var r=new Hi;return r.source=this,r},t.create=function(r,n){return new Ci(r,n)},t}(Hi),Ci=function(e){He(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:Ss},t}(Ms),Ts={now:function(){return(Ts.delegate||Date).now()},delegate:void 0},ul=function(e){He(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Ts);var s=e.call(this)||this;return s._bufferSize=r,s._windowTime=n,s._timestampProvider=i,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=n===1/0,s._bufferSize=Math.max(1,r),s._windowTime=Math.max(1,n),s}return t.prototype.next=function(r){var n=this,i=n.isStopped,s=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,l=n._windowTime;i||(s.push(r),!a&&s.push(o.now()+l)),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,s=i._infiniteTimeWindow,a=i._buffer,o=a.slice(),l=0;l<o.length&&!r.closed;l+=s?1:2)r.next(o[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,s=r._buffer,a=r._infiniteTimeWindow,o=(a?1:2)*n;if(n<1/0&&o<s.length&&s.splice(0,s.length-o),!a){for(var l=i.now(),u=0,f=1;f<s.length&&s[f]<=l;f+=2)u=f;u&&s.splice(0,u+1)}},t}(Ms);const Ni=[],Li={},hl=(e,t=0)=>{if(Ni.indexOf(e)==-1){const r=new ul(t);Li[e]=r,Ni.push(e)}return Li[e]},tt=[];function fl(e,t){return{subscribe:Sr(e,t).subscribe}}function Sr(e,t=X){let r;const n=new Set;function i(o){if(Pn(e,o)&&(e=o,r)){const l=!tt.length;for(const u of n)u[1](),tt.push(u,e);if(l){for(let u=0;u<tt.length;u+=2)tt[u][0](tt[u+1]);tt.length=0}}}function s(o){i(o(e))}function a(o,l=X){const u=[o,l];return n.add(u),n.size===1&&(r=t(i,s)||X),o(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:s,subscribe:a}}function gt(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 s=t.length<2;return fl(r,(a,o)=>{let l=!1;const u=[];let f=0,c=X;const d=()=>{if(f)return;c();const _=t(n?u[0]:u,a,o);s?a(_):c=Dn(_)?_:X},p=i.map((_,b)=>ds(_,v=>{u[b]=v,f&=~(1<<b),l&&d()},()=>{f|=1<<b}));return l=!0,d(),function(){We(p),c(),l=!1}})}function cl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var dl=function(t){return ml(t)&&!pl(t)};function ml(e){return!!e&&typeof e=="object"}function pl(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||_l(e)}var gl=typeof Symbol=="function"&&Symbol.for,yl=gl?Symbol.for("react.element"):60103;function _l(e){return e.$$typeof===yl}function bl(e){return Array.isArray(e)?[]:{}}function Lt(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ct(bl(e),e,t):e}function vl(e,t,r){return e.concat(t).map(function(n){return Lt(n,r)})}function wl(e,t){if(!t.customMerge)return ct;var r=t.customMerge(e);return typeof r=="function"?r:ct}function Sl(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ri(e){return Object.keys(e).concat(Sl(e))}function Os(e,t){try{return t in e}catch(r){return!1}}function xl(e,t){return Os(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function El(e,t,r){var n={};return r.isMergeableObject(e)&&Ri(e).forEach(function(i){n[i]=Lt(e[i],r)}),Ri(t).forEach(function(i){xl(e,i)||(Os(e,i)&&r.isMergeableObject(t[i])?n[i]=wl(i,r)(e[i],t[i],r):n[i]=Lt(t[i],r))}),n}function ct(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||vl,r.isMergeableObject=r.isMergeableObject||dl,r.cloneUnlessOtherwiseSpecified=Lt;var n=Array.isArray(t),i=Array.isArray(e),s=n===i;return s?n?r.arrayMerge(e,t,r):El(e,t,r):Lt(t,r)}ct.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ct(n,i,r)},{})};var kl=ct,Ml=kl;const Tl=cl(Ml);function Qr(e,t){var r=t&&t.cache?t.cache:Il,n=t&&t.serializer?t.serializer:Hl,i=t&&t.strategy?t.strategy:Fl;return i(e,{cache:r,serializer:n})}function Ol(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Fs(e,t,r,n){var i=Ol(n)?n:r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.call(this,n),t.set(i,s)),s}function Ds(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),s=t.get(i);return typeof s=="undefined"&&(s=e.apply(this,n),t.set(i,s)),s}function Hn(e,t,r,n,i){return r.bind(t,e,n,i)}function Fl(e,t){var r=e.length===1?Fs:Ds;return Hn(e,this,r,t.cache.create(),t.serializer)}function Dl(e,t){return Hn(e,this,Ds,t.cache.create(),t.serializer)}function Pl(e,t){return Hn(e,this,Fs,t.cache.create(),t.serializer)}var Hl=function(){return JSON.stringify(arguments)};function In(){this.cache=Object.create(null)}In.prototype.get=function(e){return this.cache[e]};In.prototype.set=function(e,t){this.cache[e]=t};var Il={create:function(){return new In}},Kr={variadic:Dl,monadic:Pl},P;(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"})(P||(P={}));var V;(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"})(V||(V={}));var dt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(dt||(dt={}));function Ai(e){return e.type===V.literal}function Cl(e){return e.type===V.argument}function Ps(e){return e.type===V.number}function Hs(e){return e.type===V.date}function Is(e){return e.type===V.time}function Cs(e){return e.type===V.select}function Ns(e){return e.type===V.plural}function Nl(e){return e.type===V.pound}function Ls(e){return e.type===V.tag}function Rs(e){return!!(e&&typeof e=="object"&&e.type===dt.number)}function pn(e){return!!(e&&typeof e=="object"&&e.type===dt.dateTime)}var As=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ll=/(?:[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 Rl(e){var t={};return e.replace(Ll,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 Al=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Bl(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Al).filter(function(d){return d.length>0}),r=[],n=0,i=t;n<i.length;n++){var s=i[n],a=s.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var o=a[0],l=a.slice(1),u=0,f=l;u<f.length;u++){var c=f[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:o,options:l})}return r}function Yl(e){return e.replace(/^(.*?)-/,"")}var Bi=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Bs=/^(@+)?(\+|#+)?[rs]?$/g,Ul=/(\*)(0+)|(#+)(0+)|(0+)/g,Ys=/^(0+)$/;function Yi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Bs,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 Us(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 Gl(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)),!Ys.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ui(e){var t={},r=Us(e);return r||t}function Wl(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=Yl(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=N(N(N({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return N(N({},l),Ui(u))},{}));continue;case"engineering":t=N(N(N({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return N(N({},l),Ui(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ul,function(l,u,f,c,d,p){if(u)t.minimumIntegerDigits=f.length;else{if(c&&d)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ys.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Bi.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Bi,function(l,u,f,c,d,p){return f==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:d&&p?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var s=i.options[0];s==="w"?t=N(N({},t),{trailingZeroDisplay:"stripIfInteger"}):s&&(t=N(N({},t),Yi(s)));continue}if(Bs.test(i.stem)){t=N(N({},t),Yi(i.stem));continue}var a=Us(i.stem);a&&(t=N(N({},t),a));var o=Gl(i.stem);o&&(t=N(N({},t),o))}return t}var nr={"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 jl(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(s&1),o=s<2?1:3+(s>>1),l="a",u=Vl(t);for((u=="H"||u=="k")&&(o=0);o-- >0;)r+=l;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Vl(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=nr[n||""]||nr[r||""]||nr["".concat(r,"-001")]||nr["001"];return i[0]}var en,zl=new RegExp("^".concat(As.source,"*")),Zl=new RegExp("".concat(As.source,"*$"));function H(e,t){return{start:e,end:t}}var Xl=!!String.prototype.startsWith&&"_a".startsWith("a",1),ql=!!String.fromCodePoint,Jl=!!Object.fromEntries,$l=!!String.prototype.codePointAt,Ql=!!String.prototype.trimStart,Kl=!!String.prototype.trimEnd,eu=!!Number.isSafeInteger,tu=eu?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gn=!0;try{var ru=Ws("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gn=((en=ru.exec("a"))===null||en===void 0?void 0:en[0])==="a"}catch(e){gn=!1}var Gi=Xl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},yn=ql?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,s=0,a;i>s;){if(a=t[s++],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},Wi=Jl?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var s=i[n],a=s[0],o=s[1];r[a]=o}return r},Gs=$l?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),s;return i<55296||i>56319||r+1===n||(s=t.charCodeAt(r+1))<56320||s>57343?i:(i-55296<<10)+(s-56320)+65536}},nu=Ql?function(t){return t.trimStart()}:function(t){return t.replace(zl,"")},iu=Kl?function(t){return t.trimEnd()}:function(t){return t.replace(Zl,"")};function Ws(e,t){return new RegExp(e,t)}var _n;if(gn){var ji=Ws("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");_n=function(t,r){var n;ji.lastIndex=r;var i=ji.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else _n=function(t,r){for(var n=[];;){var i=Gs(t,r);if(i===void 0||js(i)||lu(i))break;n.push(i),r+=i>=65536?2:1}return yn.apply(void 0,n)};var su=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 s=this.char();if(s===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(s===125&&t>0)break;if(s===35&&(r==="plural"||r==="selectordinal")){var o=this.clonePosition();this.bump(),i.push({type:V.pound,location:H(o,this.clonePosition())})}else if(s===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(s===60&&!this.ignoreTag&&bn(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:V.literal,value:"<".concat(i,"/>"),location:H(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var s=this.parseMessage(t+1,r,!0);if(s.err)return s;var a=s.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!bn(this.char()))return this.error(P.INVALID_TAG,H(o,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(P.UNMATCHED_CLOSING_TAG,H(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:V.tag,value:i,children:a,location:H(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,H(o,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ou(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var s=this.tryParseQuote(r);if(s){i+=s;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){i+=o;continue}break}var l=H(n,this.clonePosition());return{val:{type:V.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!au(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 yn.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(),yn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:V.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=_n(this.message,r),i=r+n.length;this.bumpTo(i);var s=this.clonePosition(),a=H(t,s);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var s,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(o){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,H(a,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var d=iu(c.val);if(d.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var p=H(f,this.clonePosition());u={style:d,styleLocation:p}}var _=this.tryParseArgumentClose(i);if(_.err)return _;var b=H(i,this.clonePosition());if(u&&Gi(u==null?void 0:u.style,"::",0)){var v=nu(u.style.slice(2));if(o==="number"){var c=this.parseNumberSkeletonFromString(v,u.styleLocation);return c.err?c:{val:{type:V.number,value:n,location:b,style:c.val},err:null}}else{if(v.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,b);var M=v;this.locale&&(M=jl(v,this.locale));var d={type:dt.dateTime,pattern:M,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Rl(M):{}},w=o==="date"?V.date:V.time;return{val:{type:w,value:n,location:b,style:d},err:null}}}return{val:{type:o==="number"?V.number:o==="date"?V.date:V.time,value:n,location:b,style:(s=u==null?void 0:u.style)!==null&&s!==void 0?s:null},err:null}}case"plural":case"selectordinal":case"select":{var k=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,H(k,N({},k)));this.bumpSpace();var ee=this.parseIdentifierIfPossible(),ge=0;if(o!=="select"&&ee.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),ee=this.parseIdentifierIfPossible(),ge=c.val}var Se=this.tryParsePluralOrSelectOptions(t,o,r,ee);if(Se.err)return Se;var _=this.tryParseArgumentClose(i);if(_.err)return _;var St=H(i,this.clonePosition());return o==="select"?{val:{type:V.select,value:n,options:Wi(Se.val),location:St},err:null}:{val:{type:V.plural,value:n,options:Wi(Se.val),offset:ge,pluralType:o==="plural"?"cardinal":"ordinal",location:St},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,H(a,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,H(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(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(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=Bl(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:dt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Wl(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var s,a=!1,o=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;f=H(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(t+1,r,n);if(_.err)return _;var b=this.tryParseArgumentClose(p);if(b.err)return b;o.push([u,{value:_.val,location:H(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),s=this.parseIdentifierIfPossible(),u=s.value,f=s.location}return o.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(P.MISSING_OTHER_CLAUSE,H(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var s=!1,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)s=!0,a=a*10+(o-48),this.bump();else break}var l=H(i,this.clonePosition());return s?(a*=n,tu(a)?{val:a,err:null}:this.error(r,l)):this.error(t,l)},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=Gs(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(Gi(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()&&js(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 bn(e){return e>=97&&e<=122||e>=65&&e<=90}function au(e){return bn(e)||e===47}function ou(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 js(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function lu(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 vn(e){e.forEach(function(t){if(delete t.location,Cs(t)||Ns(t))for(var r in t.options)delete t.options[r].location,vn(t.options[r].value);else Ps(t)&&Rs(t.style)||(Hs(t)||Is(t))&&pn(t.style)?delete t.style.location:Ls(t)&&vn(t.children)})}function uu(e,t){t===void 0&&(t={}),t=N({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new su(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||vn(r.val),r.val}var mt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(mt||(mt={}));var xr=function(e){He(t,e);function t(r,n,i){var s=e.call(this,r)||this;return s.code=n,s.originalMessage=i,s}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Vi=function(e){He(t,e);function t(r,n,i,s){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),mt.INVALID_VALUE,s)||this}return t}(xr),hu=function(e){He(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),mt.INVALID_VALUE,i)||this}return t}(xr),fu=function(e){He(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,'"'),mt.MISSING_VALUE,n)||this}return t}(xr),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function cu(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==re.literal||r.type!==re.literal?t.push(r):n.value+=r.value,t},[])}function du(e){return typeof e=="function"}function lr(e,t,r,n,i,s,a){if(e.length===1&&Ai(e[0]))return[{type:re.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var f=u[l];if(Ai(f)){o.push({type:re.literal,value:f.value});continue}if(Nl(f)){typeof s=="number"&&o.push({type:re.literal,value:r.getNumberFormat(t).format(s)});continue}var c=f.value;if(!(i&&c in i))throw new fu(c,a);var d=i[c];if(Cl(f)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),o.push({type:typeof d=="string"?re.literal:re.object,value:d});continue}if(Hs(f)){var p=typeof f.style=="string"?n.date[f.style]:pn(f.style)?f.style.parsedOptions:void 0;o.push({type:re.literal,value:r.getDateTimeFormat(t,p).format(d)});continue}if(Is(f)){var p=typeof f.style=="string"?n.time[f.style]:pn(f.style)?f.style.parsedOptions:n.time.medium;o.push({type:re.literal,value:r.getDateTimeFormat(t,p).format(d)});continue}if(Ps(f)){var p=typeof f.style=="string"?n.number[f.style]:Rs(f.style)?f.style.parsedOptions:void 0;p&&p.scale&&(d=d*(p.scale||1)),o.push({type:re.literal,value:r.getNumberFormat(t,p).format(d)});continue}if(Ls(f)){var _=f.children,b=f.value,v=i[b];if(!du(v))throw new hu(b,"function",a);var M=lr(_,t,r,n,i,s),w=v(M.map(function(ge){return ge.value}));Array.isArray(w)||(w=[w]),o.push.apply(o,w.map(function(ge){return{type:typeof ge=="string"?re.literal:re.object,value:ge}}))}if(Cs(f)){var k=f.options[d]||f.options.other;if(!k)throw new Vi(f.value,d,Object.keys(f.options),a);o.push.apply(o,lr(k.value,t,r,n,i));continue}if(Ns(f)){var k=f.options["=".concat(d)];if(!k){if(!Intl.PluralRules)throw new xr(`Intl.PluralRules is not available in this environment.
|
|
4
4
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
-
`,mt.MISSING_INTL_API,a);var ee=r.getPluralRules(t,{type:f.pluralType}).select(d-(f.offset||0));k=f.options[ee]||f.options.other}if(!k)throw new Vi(f.value,d,Object.keys(f.options),a);o.push.apply(o,lr(k.value,t,r,n,i,d-(f.offset||0)));continue}}return cu(o)}function mu(e,t){return t?N(N(N({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=N(N({},e[n]),t[n]||{}),r},{})):e}function pu(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=mu(e[n],t[n]),r},N({},e)):e}function tn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function gu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.number),strategy:Kr.variadic}),getDateTimeFormat:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.dateTime),strategy:Kr.variadic}),getPluralRules:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.pluralRules),strategy:Kr.variadic})}}var yu=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(c,d){return!c.length||d.type!==re.literal||typeof c[c.length-1]!="string"?c.push(d.value):c[c.length-1]+=d.value,c},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return lr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.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 o=Jo(a,["formatters"]);this.ast=e.__parse(t,N(N({},o),{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=pu(e.formats,n),this.formatters=i&&i.formatters||gu(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=uu,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 _u(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 s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},bu=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Vs=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Er(t);for(let n=0;n<r.length;n++){const i=r[n],s=wu(i,e);if(s)return bu(e,t,s)}};let Cn;const yt=Sr({});function vu(e){return Cn[e]||null}function zs(e){return e in Cn}function wu(e,t){if(!zs(e))return null;const r=vu(e);return _u(r,t)}function Su(e){if(e==null)return;const t=Er(e);for(let r=0;r<t.length;r++){const n=t[r];if(zs(n))return n}}function Nn(e,...t){delete Ae[e],yt.update(r=>(r[e]=Tl.all([r[e]||{},...t]),r))}gt([yt],([e])=>Object.keys(e));yt.subscribe(e=>Cn=e);const ur={};function xu(e,t){ur[e].delete(t),ur[e].size===0&&delete ur[e]}function Zs(e){return ur[e]}function Eu(e){return Er(e).map(t=>{const r=Zs(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function wn(e){return e==null?!1:Er(e).some(t=>{var r;return(r=Zs(t))==null?void 0:r.size})}function ku(e,t){return Promise.all(t.map(n=>(xu(e,n),n().then(i=>i.default||i)))).then(n=>Nn(e,...n))}const Ft={};function Xs(e){if(!wn(e))return e in Ft?Ft[e]:Promise.resolve();const t=Eu(e);return Ft[e]=Promise.all(t.map(([r,n])=>ku(r,n))).then(()=>{if(wn(e))return Xs(e);delete Ft[e]}),Ft[e]}const Mu={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"}}},Tu={fallbackLocale:null,loadingDelay:200,formats:Mu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ou=Tu;function pt(){return Ou}const rn=Sr(!1);var Fu=Object.defineProperty,Du=Object.defineProperties,Pu=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,Zi=(e,t,r)=>t in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cu=(e,t)=>{for(var r in t||(t={}))Hu.call(t,r)&&Zi(e,r,t[r]);if(zi)for(var r of zi(t))Iu.call(t,r)&&Zi(e,r,t[r]);return e},Nu=(e,t)=>Du(e,Pu(t));let Sn;const dr=Sr(null);function Xi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Er(e,t=pt().fallbackLocale){const r=Xi(e);return t?[...new Set([...r,...Xi(t)])]:r}function qe(){return Sn!=null?Sn:void 0}dr.subscribe(e=>{Sn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Lu=e=>{if(e&&Su(e)&&wn(e)){const{loadingDelay:t}=pt();let r;return typeof window!="undefined"&&qe()!=null&&t?r=window.setTimeout(()=>rn.set(!0),t):rn.set(!0),Xs(e).then(()=>{dr.set(e)}).finally(()=>{clearTimeout(r),rn.set(!1)})}return dr.set(e)},De=Nu(Cu({},dr),{set:Lu}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Ru=Object.defineProperty,mr=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Js=Object.prototype.propertyIsEnumerable,qi=(e,t,r)=>t in e?Ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ln=(e,t)=>{for(var r in t||(t={}))qs.call(t,r)&&qi(e,r,t[r]);if(mr)for(var r of mr(t))Js.call(t,r)&&qi(e,r,t[r]);return e},_t=(e,t)=>{var r={};for(var n in e)qs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&mr)for(var n of mr(e))t.indexOf(n)<0&&Js.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=pt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Au=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),Bu=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),Yu=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),Uu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Au(Ln({locale:r},n))},Gu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Bu(Ln({locale:r},n))},Wu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Yu(Ln({locale:r},n))},ju=kr((e,t=qe())=>new yu(e,t,pt().formats,{ignoreTag:pt().ignoreTag})),Vu=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=qe(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Vs(e,l);if(!f)f=(s=(i=(n=(r=pt()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s: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(!o)return f;let c=f;try{c=ju(f,l).format(o)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return c},zu=(e,t)=>Wu(t).format(e),Zu=(e,t)=>Gu(t).format(e),Xu=(e,t)=>Uu(t).format(e),qu=(e,t=qe())=>Vs(e,t),$s=gt([De,yt],()=>Vu);gt([De],()=>zu);gt([De],()=>Zu);gt([De],()=>Xu);gt([De,yt],()=>qu);window.emWidgets={topic:hl};const Rn=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)),pr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ju(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function $u({withLocale:e,translations:t}){De.subscribe(r=>{r==null&&(yt.set(t),De.set(e))})}function Ji(e,t){Nn(e,t)}function Qu(e){De.set(e)}const $i={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"zaman",register:"KAYIT OL",deposit:"YATIR",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Igraj",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"pt-br":{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Começa agora!",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas"},"es-mx":{signIn:"Ingresar",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Comienza ahora!",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas"},"en-us":{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerDeposit-qNRuCFKg.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}function Ku(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
5
|
+
`,mt.MISSING_INTL_API,a);var ee=r.getPluralRules(t,{type:f.pluralType}).select(d-(f.offset||0));k=f.options[ee]||f.options.other}if(!k)throw new Vi(f.value,d,Object.keys(f.options),a);o.push.apply(o,lr(k.value,t,r,n,i,d-(f.offset||0)));continue}}return cu(o)}function mu(e,t){return t?N(N(N({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=N(N({},e[n]),t[n]||{}),r},{})):e}function pu(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=mu(e[n],t[n]),r},N({},e)):e}function tn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function gu(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.number),strategy:Kr.variadic}),getDateTimeFormat:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.dateTime),strategy:Kr.variadic}),getPluralRules:Qr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ot([void 0],r,!1)))},{cache:tn(e.pluralRules),strategy:Kr.variadic})}}var yu=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=s.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(c,d){return!c.length||d.type!==re.literal||typeof c[c.length-1]!="string"?c.push(d.value):c[c.length-1]+=d.value,c},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return lr(s.ast,s.locales,s.formatters,s.formats,l,void 0,s.message)},this.resolvedOptions=function(){var l;return{locale:((l=s.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.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 o=Jo(a,["formatters"]);this.ast=e.__parse(t,N(N({},o),{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=pu(e.formats,n),this.formatters=i&&i.formatters||gu(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=uu,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 _u(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 s=r.slice(i,r.length).join(".");if(s in n){n=n[s];break}}n=n[r[i]]}else n=void 0;return n}const Ae={},bu=(e,t,r)=>r&&(t in Ae||(Ae[t]={}),e in Ae[t]||(Ae[t][e]=r),r),Vs=(e,t)=>{if(t==null)return;if(t in Ae&&e in Ae[t])return Ae[t][e];const r=Er(t);for(let n=0;n<r.length;n++){const i=r[n],s=wu(i,e);if(s)return bu(e,t,s)}};let Cn;const yt=Sr({});function vu(e){return Cn[e]||null}function zs(e){return e in Cn}function wu(e,t){if(!zs(e))return null;const r=vu(e);return _u(r,t)}function Su(e){if(e==null)return;const t=Er(e);for(let r=0;r<t.length;r++){const n=t[r];if(zs(n))return n}}function Nn(e,...t){delete Ae[e],yt.update(r=>(r[e]=Tl.all([r[e]||{},...t]),r))}gt([yt],([e])=>Object.keys(e));yt.subscribe(e=>Cn=e);const ur={};function xu(e,t){ur[e].delete(t),ur[e].size===0&&delete ur[e]}function Zs(e){return ur[e]}function Eu(e){return Er(e).map(t=>{const r=Zs(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function wn(e){return e==null?!1:Er(e).some(t=>{var r;return(r=Zs(t))==null?void 0:r.size})}function ku(e,t){return Promise.all(t.map(n=>(xu(e,n),n().then(i=>i.default||i)))).then(n=>Nn(e,...n))}const Ft={};function Xs(e){if(!wn(e))return e in Ft?Ft[e]:Promise.resolve();const t=Eu(e);return Ft[e]=Promise.all(t.map(([r,n])=>ku(r,n))).then(()=>{if(wn(e))return Xs(e);delete Ft[e]}),Ft[e]}const Mu={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"}}},Tu={fallbackLocale:null,loadingDelay:200,formats:Mu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ou=Tu;function pt(){return Ou}const rn=Sr(!1);var Fu=Object.defineProperty,Du=Object.defineProperties,Pu=Object.getOwnPropertyDescriptors,zi=Object.getOwnPropertySymbols,Hu=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,Zi=(e,t,r)=>t in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cu=(e,t)=>{for(var r in t||(t={}))Hu.call(t,r)&&Zi(e,r,t[r]);if(zi)for(var r of zi(t))Iu.call(t,r)&&Zi(e,r,t[r]);return e},Nu=(e,t)=>Du(e,Pu(t));let Sn;const dr=Sr(null);function Xi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Er(e,t=pt().fallbackLocale){const r=Xi(e);return t?[...new Set([...r,...Xi(t)])]:r}function qe(){return Sn!=null?Sn:void 0}dr.subscribe(e=>{Sn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Lu=e=>{if(e&&Su(e)&&wn(e)){const{loadingDelay:t}=pt();let r;return typeof window!="undefined"&&qe()!=null&&t?r=window.setTimeout(()=>rn.set(!0),t):rn.set(!0),Xs(e).then(()=>{dr.set(e)}).finally(()=>{clearTimeout(r),rn.set(!1)})}return dr.set(e)},De=Nu(Cu({},dr),{set:Lu}),kr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Ru=Object.defineProperty,mr=Object.getOwnPropertySymbols,qs=Object.prototype.hasOwnProperty,Js=Object.prototype.propertyIsEnumerable,qi=(e,t,r)=>t in e?Ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ln=(e,t)=>{for(var r in t||(t={}))qs.call(t,r)&&qi(e,r,t[r]);if(mr)for(var r of mr(t))Js.call(t,r)&&qi(e,r,t[r]);return e},_t=(e,t)=>{var r={};for(var n in e)qs.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&mr)for(var n of mr(e))t.indexOf(n)<0&&Js.call(e,n)&&(r[n]=e[n]);return r};const Rt=(e,t)=>{const{formats:r}=pt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Au=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Rt("number",n)),new Intl.NumberFormat(r,i)}),Bu=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Rt("date",n):Object.keys(i).length===0&&(i=Rt("date","short")),new Intl.DateTimeFormat(r,i)}),Yu=kr(e=>{var t=e,{locale:r,format:n}=t,i=_t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Rt("time",n):Object.keys(i).length===0&&(i=Rt("time","short")),new Intl.DateTimeFormat(r,i)}),Uu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Au(Ln({locale:r},n))},Gu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Bu(Ln({locale:r},n))},Wu=(e={})=>{var t=e,{locale:r=qe()}=t,n=_t(t,["locale"]);return Yu(Ln({locale:r},n))},ju=kr((e,t=qe())=>new yu(e,t,pt().formats,{ignoreTag:pt().ignoreTag})),Vu=(e,t={})=>{var r,n,i,s;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:o,locale:l=qe(),default:u}=a;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Vs(e,l);if(!f)f=(s=(i=(n=(r=pt()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?s: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(!o)return f;let c=f;try{c=ju(f,l).format(o)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return c},zu=(e,t)=>Wu(t).format(e),Zu=(e,t)=>Gu(t).format(e),Xu=(e,t)=>Uu(t).format(e),qu=(e,t=qe())=>Vs(e,t),$s=gt([De,yt],()=>Vu);gt([De],()=>zu);gt([De],()=>Zu);gt([De],()=>Xu);gt([De,yt],()=>qu);window.emWidgets={topic:hl};const Rn=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)),pr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Ju(e,t){return new Promise((r,n)=>{const i=new Headers;i.append("X-SessionID",t);const s={method:"GET",headers:i};fetch(`${e}/v1/player/session/player`,s).then(a=>a.json()).then(a=>r(a)).catch(a=>n(a))})}function $u({withLocale:e,translations:t}){De.subscribe(r=>{r==null&&(yt.set(t),De.set(e))})}function Ji(e,t){Nn(e,t)}function Qu(e){De.set(e)}const $i={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"zaman",register:"KAYIT OL",deposit:"YATIR",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Igraj",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"pt-br":{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Começa agora!",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas"},"es-mx":{signIn:"Ingresar",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Comienza ahora!",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas"},"en-us":{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./PlayerDeposit-B5WjXleS.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}function Ku(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
|
|
6
6
|
//! version : 2.30.1
|
|
7
7
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
8
8
|
//! license : MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoIntegratedGamePage-RvcU0iwX.cjs");function x(n,t){e.addMessages(n,t)}function A(n){e.$locale.set(n)}const L={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function W(n){e.append_styles(n,"svelte-lvm6lo","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}")}function j(n){let t,a,l,r,c,m,d,h,f,o,s=n[4]("titleDeposit")+"",p,w,b;return{c(){t=e.element("div"),a=e.svg_element("svg"),l=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),h=e.svg_element("path"),f=e.space(),o=e.element("h2"),p=e.text(s),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(o,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(u,D){e.insert(u,t,D),e.append(t,a),e.append(a,l),e.append(l,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,h),e.append(t,f),e.append(t,o),e.append(o,p),w||(b=e.listen(t,"click",n[17]),w=!0)},p(u,D){D&16&&s!==(s=u[4]("titleDeposit")+"")&&e.set_data(p,s)},d(u){u&&e.detach(t),w=!1,b()}}}function z(n){let t,a,l;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,l=n[3])||e.attr(a,"src",l),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,l=r[3])&&e.attr(a,"src",l)},d(r){r&&e.detach(t)}}}function G(n){let t,a=n[4]("loading")+"",l;return{c(){t=e.element("p"),l=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,l)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(l,a)},d(r){r&&e.detach(t)}}}function q(n){let t,a,l,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&j(n);function h(s,p){return s[1]?G:z}let f=h(n),o=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),l=e.element("h2"),c=e.text(r),m=e.space(),o.c(),e.attr(l,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,p){e.insert(s,t,p),d&&d.m(t,null),e.append(t,a),e.append(t,l),e.append(l,c),e.append(t,m),o.m(t,null),n[18](t)},p(s,[p]){s[5]&&d.p(s,p),p&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=h(s))&&o?o.p(s,p):(o.d(1),o=f(s),o&&(o.c(),o.m(t,null))),p&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),o.d(),n[18](null)}}}function N(n,t,a){let l,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:h="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:o=""}=t,{clientstylingurl:s=""}=t,{translationurl:p=""}=t,{playercurrency:w=""}=t,{shortcashierenabled:b="false"}=t,u,D=window.navigator.userAgent,v=e.getDevice(D)!=="PC",M=!0,C,_=0,k="";const R=()=>{fetch(p).then(y=>y.json()).then(y=>{Object.keys(y).forEach(g=>{x(g,y[g])})}).catch(y=>{console.log(y)})};Object.keys(L).forEach(i=>{x(i,L[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},T=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,w=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,C=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",h),l&&i.searchParams.append("isShortCashier",b),f)switch(w){case"USD":_=.4;break;case"CDF":_=1e3;break}let y={method:"POST",headers:{"X-SessionId":m,currency:w||"EUR",amount:_,cashierMode:"Default",IsShortCashier:b,accept:"application/json"}};fetch(i.href,y).then(g=>g.json()).then(g=>{a(1,M=!1),a(3,k=g.CashierUrl)},g=>{console.error(g)})},B=()=>{A(h)},I=()=>{let i=document.createElement("style");i.innerHTML=o,u.appendChild(i)},U=()=>{let i=new URL(s),y=document.createElement("style");fetch(i.href).then(g=>g.text()).then(g=>{y.innerHTML=g,setTimeout(()=>{u.appendChild(y)},1)})};e.onMount(()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}));const F=()=>S();function H(i){e.binding_callbacks[i?"unshift":"push"](()=>{u=i,a(0,u)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,h=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,o=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,p=i.translationurl),"playercurrency"in i&&a(7,w=i.playercurrency),"shortcashierenabled"in i&&a(16,b=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&h&&B(),n.$$.dirty&65536&&(l=b.toLocaleLowerCase()==="true"),n.$$.dirty&16385&&s&&u&&U(),n.$$.dirty&8193&&o&&u&&I(),n.$$.dirty&32768&&p&&R(),n.$$.dirty&69504&&m&&d&&c&&w&&h&&b&&P()},[u,M,C,k,r,v,S,w,c,m,d,h,f,o,s,p,b,F,H]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,q,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},W)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(E,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},playercurrency:{},shortcashierenabled:{}},[],[],!0);exports.default=E;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as X, $ as Z, S as J, i as K, f as D, c as $, s as ee, b as te, e as _, d as L, t as C, g as d, h as P, j as S, k as p, l as E, n as A, m as T, o as ie, p as ae, q as se, r as M, u as re, v as ne, w as W, x as oe } from "./CasinoIntegratedGamePage-
|
|
1
|
+
import { a as X, $ as Z, S as J, i as K, f as D, c as $, s as ee, b as te, e as _, d as L, t as C, g as d, h as P, j as S, k as p, l as E, n as A, m as T, o as ie, p as ae, q as se, r as M, u as re, v as ne, w as W, x as oe } from "./CasinoIntegratedGamePage-CPKf77RR.js";
|
|
2
2
|
function j(a, e) {
|
|
3
3
|
X(a, e);
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoIntegratedGamePage-RvcU0iwX.cjs")).then(e=>e.CasinoIntegratedGamePage_ce).then(({default:e})=>{!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoIntegratedGamePage-CPKf77RR.js").then((e) => e.C).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-integrated-game-page") && customElements.define("casino-integrated-game-page", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var L=(e,t,r)=>new Promise((s,n)=>{var o=a=>{try{i(r.next(a))}catch(c){n(c)}},l=a=>{try{i(r.throw(a))}catch(c){n(c)}},i=a=>a.done?s(a.value):Promise.resolve(a.value).then(o,l);i((r=r.apply(e,t)).next())});const Ee="user-deposit-withdrawal",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var be=Object.defineProperty,ke=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},q=new WeakMap,k=e=>q.get(e),we=(e,t)=>q.set(t.$lazyInstance$=e,t),Te=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,r)},X=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),R=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const o=R.get(n);if(o)return o[s];{const l=i=>(R.set(n,i),i[s]);switch(n){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-CXzHd7L7.cjs")).then(l,w)}}return import(`./${n}.entry.js`).then(l=>(R.set(n,l),l[s]),w)},j=new Map,Le="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},se=e=>Promise.resolve(e),ne=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,Q=[],re=[],Ae=(e,t)=>r=>{e.push(r),H||(H=!0,v.$flags$&4?F(z):v.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){w(r)}e.length=0},z=()=>{Y(Q),Y(re),(H=Q.length>0)&&v.raf(z)},F=e=>se().then(e),Pe=Ae(re),J={},_e="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml",je=e=>e!=null,W=e=>(e=typeof e,e==="object"||e==="function");function le(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Ue={};ke(Ue,{err:()=>ae,map:()=>De,ok:()=>B,unwrap:()=>Ie,unwrapErr:()=>Re});var B=e=>({isOk:!0,isErr:!1,value:e}),ae=e=>({isOk:!1,isErr:!0,value:e});function De(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>B(s)):B(r)}if(e.isErr){const r=e.value;return ae(r)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},Re=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},He=(e,t)=>()=>{},oe=(e,t,...r)=>{let s=null,n=null,o=!1,l=!1;const i=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((o=typeof e!="function"&&!W(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?C(null,s):s),l=o)};if(a(r),t){t.key&&(n=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=C(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=n,c},C=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ie={},ze=e=>e&&e.$tag$===ie,Be=(e,t)=>e!=null&&!W(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,Ce=(e,t,r)=>{const s=v.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,qe=(e,t,r)=>{let s=j.get(e);ne&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Fe=(e,t,r)=>{var s;const n=ce(t),o=j.get(n);if(e=e.nodeType===11?e:S,o)if(typeof o=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=S.createElement("style"),i.innerHTML=o;const a=(s=v.$nonce$)!=null?s:le(S);if(a!=null&&i.setAttribute("nonce",a),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),$=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,$)}else if("host"in e)if(ne){const c=new CSSStyleSheet;c.replaceSync(o),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=o+c.innerHTML:e.prepend(i)}else e.append(i);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(i,null)}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(n)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return n},We=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=E("attachStyles",t.$tagName$),o=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&s&2&&(r["s-sc"]=o,r.classList.add(o+"-h")),n()},ce=(e,t)=>"sc-"+e.$tagName$,Z=(e,t,r,s,n,o)=>{if(r!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,c=N(r),$=N(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in r)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!r||s[a]!==r[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const a=t.endsWith($e);t=t.replace(Ge,""),r&&v.rel(e,t,r,a),s&&v.ael(e,t,s,a)}}else{const a=W(s);if((l||a&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=c)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||o&4||n)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Me=/\s/,N=e=>e?e.split(Me):[],$e="Capture",Ge=new RegExp($e+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,o=t.$attrs$||J;for(const l of V(Object.keys(n)))l in o||Z(s,l,n[l],void 0,r,t.$flags$);for(const l of V(Object.keys(o)))Z(s,l,n[l],o[l],r,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var P,M,de=!1,y=!1,U=(e,t,r,s)=>{const n=t.$children$[r];let o=0,l,i;if(n.$text$!==null)l=n.$elm$=S.createTextNode(n.$text$);else{if(y||(y=n.$tag$==="svg"),l=n.$elm$=S.createElementNS(y?_e:Oe,!de&&O.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),fe(null,n,y),!!l.getRootNode().querySelector("body")&&O.scoped&&je(P)&&l["s-si"]!==P&&l.classList.add(l["s-si"]=P),n.$children$)for(o=0;o<n.$children$.length;++o)i=U(e,n,o),i&&l.appendChild(i);n.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=M,l},ue=(e,t,r,s,n,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=o;++n)s[n]&&(i=U(null,r,n),i&&(s[n].$elm$=i,_(l,i,t)))},pe=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const o=n.$elm$;he(n),o&&o.remove()}}},Xe=(e,t,r,s,n=!1)=>{let o=0,l=0,i=0,a=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],h,m;for(;o<=c&&l<=d;)if($==null)$=t[++o];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(A($,u,n))T($,u,n),$=t[++o],u=s[++l];else if(A(f,p,n))T(f,p,n),f=t[--c],p=s[--d];else if(A($,p,n))T($,p,n),_(e,$.$elm$,f.$elm$.nextSibling),$=t[++o],p=s[--d];else if(A(f,u,n))T(f,u,n),_(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,a=o;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?h=U(t&&t[l],r,i):(T(m,u,n),t[i]=void 0,h=m.$elm$),u=s[++l]):(h=U(t&&t[l],r,l),u=s[++l]),h&&_($.$elm$.parentNode,h,$.$elm$)}o>c?ue(e,s[d+1]==null?null:s[d+1].$elm$,r,s,l,d):l>d&&pe(t,o,c)},A=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,T=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,o=t.$children$,l=t.$tag$,i=t.$text$;i===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,fe(e,t,y),n!==null&&o!==null?Xe(s,n,t,o,r):o!==null?(e.$text$!==null&&(s.textContent=""),ue(s,null,t,o,0,o.length-1)):!r&&O.updatable&&n!==null&&pe(n,0,n.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==i&&(s.data=i)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},_=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Qe=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,o=e.$vnode$||C(null,null),l=ze(t)?t:oe(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([i,a])=>l.$attrs$[a]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=o.$elm$=s.shadowRoot||s,P=s["s-sc"],de=(n.$flags$&1)!==0,T(o,l,r)},ve=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},G=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ve(e,e.$ancestorComponent$),Pe(()=>Ye(e,t))},Ye=(e,t)=>{const r=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(o=D(n,"componentWillLoad")),s(),Je(o,()=>Ze(e,n,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>L(exports,null,function*(){var s;const n=e.$hostElement$,o=E("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&We(e);const i=E("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(a=>a()),n["s-rc"]=void 0),i(),o();{const a=(s=n["s-p"])!=null?s:[],c=()=>Ve(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Qe(e,t,s)}catch(n){w(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=E("postUpdate",t),n=e.$lazyInstance$,o=e.$ancestorComponent$;D(n,"componentDidRender"),e.$flags$&64?s():(e.$flags$|=64,ye(r),D(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),o||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&F(()=>G(e,!1)),e.$flags$&=-517},ge=e=>{ye(S.documentElement),F(()=>Ce(I,"appload",{detail:{namespace:Ee}}))},D=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){w(s)}},ye=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>k(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=k(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const o=n.$hostElement$,l=n.$instanceValues$.get(t),i=n.$flags$,a=n.$lazyInstance$;r=Be(r,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(r),$=r!==l&&!c;if((!(i&8)||l===void 0)&&$&&(n.$instanceValues$.set(t,r),a)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](r,l,t)}catch(u){w(u,o)}})}(i&18)===2&&G(n,!1)}},me=(e,t,r)=>{var s,n;const o=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[a]])=>{(a&31||r&2&&a&32)&&Object.defineProperty(o,i,{get(){return et(this,i)},set(c){tt(this,i,c,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;o.attributeChangedCallback=function(a,c,$){v.jmp(()=>{var f;const d=i.get(a);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=k(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const h=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,a)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const f=c[1]||a;return i.set(f,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,f])),f})]))}}return e},st=(e,t,r,s)=>L(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const a=xe(r);if(a&&"then"in a){const $=He();n=yield a,$()}else n=a;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const c=E("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(n&&n.style){let a;typeof n.style=="string"&&(a=n.style);const c=ce(r);if(!j.has(c)){const $=E("registerStyles",r.$tagName$);qe(c,a,!!(r.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(l):l()}),nt=e=>{},rt=e=>{if(!(v.$flags$&1)){const t=k(e),r=t.$cmpMeta$,s=E("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>nt());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ve(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[o]])=>{if(o&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},ee=e=>{D(e,"disconnectedCallback")},lt=e=>L(exports,null,function*(){if(!(v.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?ee(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ee(t.$lazyInstance$))}}),at=(e,t={})=>{var r;const s=E(),n=[],o=t.exclude||[],l=I.customElements,i=S.head,a=i.querySelector("meta[charset]"),c=S.createElement("style"),$=[];let f,d=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var m;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(u=!0),g.$members$=h[2],g.$attrsToReflect$=[],g.$watchers$=(m=h[4])!=null?m:{};const x=g.$tagName$,Se=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Te(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):v.jmp(()=>rt(this))}disconnectedCallback(){v.jmp(()=>lt(this))}componentOnReady(){return k(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!o.includes(x)&&!l.get(x)&&(n.push(x),l.define(x,me(Se,g,1)))})}),n.length>0&&(u&&(c.textContent+=te),c.textContent+=n.sort()+Le,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(r=v.$nonce$)!=null?r:le(S);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,a?a.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):v.jmp(()=>f=setTimeout(ge,30)),s()};exports.Host=ie;exports.bootstrapLazy=at;exports.h=oe;exports.promiseResolve=se;exports.registerInstance=we;
|
|
1
|
+
"use strict";var L=(e,t,r)=>new Promise((s,n)=>{var o=a=>{try{i(r.next(a))}catch(c){n(c)}},l=a=>{try{i(r.throw(a))}catch(c){n(c)}},i=a=>a.done?s(a.value):Promise.resolve(a.value).then(o,l);i((r=r.apply(e,t)).next())});const Ee="user-deposit-withdrawal",O={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!1,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};var be=Object.defineProperty,ke=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},q=new WeakMap,k=e=>q.get(e),we=(e,t)=>q.set(t.$lazyInstance$=e,t),Te=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,r)},X=(e,t)=>t in e,w=(e,t)=>(0,console.error)(e,t),R=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const o=R.get(n);if(o)return o[s];{const l=i=>(R.set(n,i),i[s]);switch(n){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-RpW35qPG.cjs")).then(l,w)}}return import(`./${n}.entry.js`).then(l=>(R.set(n,l),l[s]),w)},j=new Map,Le="{visibility:hidden}.hydrated{visibility:inherit}",te="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},v={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},se=e=>Promise.resolve(e),ne=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,Q=[],re=[],Ae=(e,t)=>r=>{e.push(r),H||(H=!0,v.$flags$&4?F(z):v.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){w(r)}e.length=0},z=()=>{Y(Q),Y(re),(H=Q.length>0)&&v.raf(z)},F=e=>se().then(e),Pe=Ae(re),J={},_e="http://www.w3.org/2000/svg",Oe="http://www.w3.org/1999/xhtml",je=e=>e!=null,W=e=>(e=typeof e,e==="object"||e==="function");function le(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Ue={};ke(Ue,{err:()=>ae,map:()=>De,ok:()=>B,unwrap:()=>Ie,unwrapErr:()=>Re});var B=e=>({isOk:!0,isErr:!1,value:e}),ae=e=>({isOk:!1,isErr:!0,value:e});function De(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>B(s)):B(r)}if(e.isErr){const r=e.value;return ae(r)}throw"should never get here"}var Ie=e=>{if(e.isOk)return e.value;throw e.value},Re=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},He=(e,t)=>()=>{},oe=(e,t,...r)=>{let s=null,n=null,o=!1,l=!1;const i=[],a=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((o=typeof e!="function"&&!W(s))&&(s=String(s)),o&&l?i[i.length-1].$text$+=s:i.push(o?C(null,s):s),l=o)};if(a(r),t){t.key&&(n=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=C(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=n,c},C=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ie={},ze=e=>e&&e.$tag$===ie,Be=(e,t)=>e!=null&&!W(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,Ce=(e,t,r)=>{const s=v.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,qe=(e,t,r)=>{let s=j.get(e);ne&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Fe=(e,t,r)=>{var s;const n=ce(t),o=j.get(n);if(e=e.nodeType===11?e:S,o)if(typeof o=="string"){e=e.head||e;let l=K.get(e),i;if(l||K.set(e,l=new Set),!l.has(n)){{i=S.createElement("style"),i.innerHTML=o;const a=(s=v.$nonce$)!=null?s:le(S);if(a!=null&&i.setAttribute("nonce",a),!(t.$flags$&1))if(e.nodeName==="HEAD"){const c=e.querySelectorAll("link[rel=preconnect]"),$=c.length>0?c[c.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,$)}else if("host"in e)if(ne){const c=new CSSStyleSheet;c.replaceSync(o),e.adoptedStyleSheets=[c,...e.adoptedStyleSheets]}else{const c=e.querySelector("style");c?c.innerHTML=o+c.innerHTML:e.prepend(i)}else e.append(i);t.$flags$&1&&e.nodeName!=="HEAD"&&e.insertBefore(i,null)}t.$flags$&4&&(i.innerHTML+=te),l&&l.add(n)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return n},We=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=E("attachStyles",t.$tagName$),o=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&s&2&&(r["s-sc"]=o,r.classList.add(o+"-h")),n()},ce=(e,t)=>"sc-"+e.$tagName$,Z=(e,t,r,s,n,o)=>{if(r!==s){let l=X(e,t),i=t.toLowerCase();if(t==="class"){const a=e.classList,c=N(r),$=N(s);a.remove(...c.filter(f=>f&&!$.includes(f))),a.add(...$.filter(f=>f&&!c.includes(f)))}else if(t==="style"){for(const a in r)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!r||s[a]!==r[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):X(I,i)?t=i.slice(2):t=i[2]+t.slice(3),r||s){const a=t.endsWith($e);t=t.replace(Ge,""),r&&v.rel(e,t,r,a),s&&v.ael(e,t,s,a)}}else{const a=W(s);if((l||a&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const c=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=c)&&(typeof e.__lookupSetter__(t)=="function"?e[t]=c:e.setAttribute(t,c))}}catch(c){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||o&4||n)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},Me=/\s/,N=e=>e?e.split(Me):[],$e="Capture",Ge=new RegExp($e+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,o=t.$attrs$||J;for(const l of V(Object.keys(n)))l in o||Z(s,l,n[l],void 0,r,t.$flags$);for(const l of V(Object.keys(o)))Z(s,l,n[l],o[l],r,t.$flags$)};function V(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var P,M,de=!1,y=!1,U=(e,t,r,s)=>{const n=t.$children$[r];let o=0,l,i;if(n.$text$!==null)l=n.$elm$=S.createTextNode(n.$text$);else{if(y||(y=n.$tag$==="svg"),l=n.$elm$=S.createElementNS(y?_e:Oe,!de&&O.slotRelocation&&n.$flags$&2?"slot-fb":n.$tag$),y&&n.$tag$==="foreignObject"&&(y=!1),fe(null,n,y),!!l.getRootNode().querySelector("body")&&O.scoped&&je(P)&&l["s-si"]!==P&&l.classList.add(l["s-si"]=P),n.$children$)for(o=0;o<n.$children$.length;++o)i=U(e,n,o),i&&l.appendChild(i);n.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=M,l},ue=(e,t,r,s,n,o)=>{let l=e,i;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=o;++n)s[n]&&(i=U(null,r,n),i&&(s[n].$elm$=i,_(l,i,t)))},pe=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const o=n.$elm$;he(n),o&&o.remove()}}},Xe=(e,t,r,s,n=!1)=>{let o=0,l=0,i=0,a=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],p=s[d],h,m;for(;o<=c&&l<=d;)if($==null)$=t[++o];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(p==null)p=s[--d];else if(A($,u,n))T($,u,n),$=t[++o],u=s[++l];else if(A(f,p,n))T(f,p,n),f=t[--c],p=s[--d];else if(A($,p,n))T($,p,n),_(e,$.$elm$,f.$elm$.nextSibling),$=t[++o],p=s[--d];else if(A(f,u,n))T(f,u,n),_(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,a=o;a<=c;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){i=a;break}i>=0?(m=t[i],m.$tag$!==u.$tag$?h=U(t&&t[l],r,i):(T(m,u,n),t[i]=void 0,h=m.$elm$),u=s[++l]):(h=U(t&&t[l],r,l),u=s[++l]),h&&_($.$elm$.parentNode,h,$.$elm$)}o>c?ue(e,s[d+1]==null?null:s[d+1].$elm$,r,s,l,d):l>d&&pe(t,o,c)},A=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,T=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,o=t.$children$,l=t.$tag$,i=t.$text$;i===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,fe(e,t,y),n!==null&&o!==null?Xe(s,n,t,o,r):o!==null?(e.$text$!==null&&(s.textContent=""),ue(s,null,t,o,0,o.length-1)):!r&&O.updatable&&n!==null&&pe(n,0,n.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==i&&(s.data=i)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},_=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Qe=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,o=e.$vnode$||C(null,null),l=ze(t)?t:oe(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([i,a])=>l.$attrs$[a]=s[i])),r&&l.$attrs$)for(const i of Object.keys(l.$attrs$))s.hasAttribute(i)&&!["key","ref","style","class"].includes(i)&&(l.$attrs$[i]=s[i]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=o.$elm$=s.shadowRoot||s,P=s["s-sc"],de=(n.$flags$&1)!==0,T(o,l,r)},ve=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},G=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ve(e,e.$ancestorComponent$),Pe(()=>Ye(e,t))},Ye=(e,t)=>{const r=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let o;return t&&(o=D(n,"componentWillLoad")),s(),Je(o,()=>Ze(e,n,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>L(exports,null,function*(){var s;const n=e.$hostElement$,o=E("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&We(e);const i=E("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(a=>a()),n["s-rc"]=void 0),i(),o();{const a=(s=n["s-p"])!=null?s:[],c=()=>Ve(e);a.length===0?c():(Promise.all(a).then(c),e.$flags$|=4,a.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Qe(e,t,s)}catch(n){w(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=E("postUpdate",t),n=e.$lazyInstance$,o=e.$ancestorComponent$;D(n,"componentDidRender"),e.$flags$&64?s():(e.$flags$|=64,ye(r),D(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),o||ge()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&F(()=>G(e,!1)),e.$flags$&=-517},ge=e=>{ye(S.documentElement),F(()=>Ce(I,"appload",{detail:{namespace:Ee}}))},D=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){w(s)}},ye=e=>{var t;return e.classList.add((t=O.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>k(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=k(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const o=n.$hostElement$,l=n.$instanceValues$.get(t),i=n.$flags$,a=n.$lazyInstance$;r=Be(r,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(r),$=r!==l&&!c;if((!(i&8)||l===void 0)&&$&&(n.$instanceValues$.set(t,r),a)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](r,l,t)}catch(u){w(u,o)}})}(i&18)===2&&G(n,!1)}},me=(e,t,r)=>{var s,n;const o=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[a]])=>{(a&31||r&2&&a&32)&&Object.defineProperty(o,i,{get(){return et(this,i)},set(c){tt(this,i,c,t)},configurable:!0,enumerable:!0})}),r&1){const i=new Map;o.attributeChangedCallback=function(a,c,$){v.jmp(()=>{var f;const d=i.get(a);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(o.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=k(this),p=u==null?void 0:u.$flags$;if(p&&!(p&8)&&p&128&&$!==c){const h=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(g=>{h[g]!=null&&h[g].call(h,$,c,a)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([a,c])=>c[0]&15).map(([a,c])=>{var $;const f=c[1]||a;return i.set(f,a),c[0]&512&&(($=t.$attrsToReflect$)==null||$.push([a,f])),f})]))}}return e},st=(e,t,r,s)=>L(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const a=xe(r);if(a&&"then"in a){const $=He();n=yield a,$()}else n=a;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const c=E("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch($){w($)}t.$flags$&=-9,t.$flags$|=128,c()}else{n=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(n&&n.style){let a;typeof n.style=="string"&&(a=n.style);const c=ce(r);if(!j.has(c)){const $=E("registerStyles",r.$tagName$);qe(c,a,!!(r.$flags$&1)),$()}}}const o=t.$ancestorComponent$,l=()=>G(t,!0);o&&o["s-rc"]?o["s-rc"].push(l):l()}),nt=e=>{},rt=e=>{if(!(v.$flags$&1)){const t=k(e),r=t.$cmpMeta$,s=E("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>nt());else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ve(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[o]])=>{if(o&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},ee=e=>{D(e,"disconnectedCallback")},lt=e=>L(exports,null,function*(){if(!(v.$flags$&1)){const t=k(e);t!=null&&t.$lazyInstance$?ee(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>ee(t.$lazyInstance$))}}),at=(e,t={})=>{var r;const s=E(),n=[],o=t.exclude||[],l=I.customElements,i=S.head,a=i.querySelector("meta[charset]"),c=S.createElement("style"),$=[];let f,d=!0;Object.assign(v,t),v.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(p=>{p[1].map(h=>{var m;const g={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};g.$flags$&4&&(u=!0),g.$members$=h[2],g.$attrsToReflect$=[],g.$watchers$=(m=h[4])!=null?m:{};const x=g.$tagName$,Se=class extends HTMLElement{constructor(b){if(super(b),this.hasRegisteredEventListeners=!1,b=this,Te(b,g),g.$flags$&1){if(!b.shadowRoot)b.attachShadow({mode:"open"});else if(b.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${b.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){k(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):v.jmp(()=>rt(this))}disconnectedCallback(){v.jmp(()=>lt(this))}componentOnReady(){return k(this).$onReadyPromise$}};g.$lazyBundleId$=p[0],!o.includes(x)&&!l.get(x)&&(n.push(x),l.define(x,me(Se,g,1)))})}),n.length>0&&(u&&(c.textContent+=te),c.textContent+=n.sort()+Le,c.innerHTML.length)){c.setAttribute("data-styles","");const p=(r=v.$nonce$)!=null?r:le(S);p!=null&&c.setAttribute("nonce",p),i.insertBefore(c,a?a.nextSibling:i.firstChild)}d=!1,$.length?$.map(p=>p.connectedCallback()):v.jmp(()=>f=setTimeout(ge,30)),s()};exports.Host=ie;exports.bootstrapLazy=at;exports.h=oe;exports.promiseResolve=se;exports.registerInstance=we;
|