@everymatrix/casino-search-nd 1.86.2 → 1.86.4
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/{CasinoGameThumbnailNd-CKbbtXF6.js → CasinoGameThumbnailNd-CnY3U2Vt.js} +1163 -1182
- package/components/{CasinoGameThumbnailNd-JoJQ3ksA.js → CasinoGameThumbnailNd-CpsuSviE.js} +1177 -1196
- package/components/CasinoGameThumbnailNd-sr9Uj-v7.cjs +47 -0
- package/components/{CasinoSearchNd-CLuKlqui.js → CasinoSearchNd-CUFMfMYJ.js} +50 -50
- package/components/{CasinoSearchNd-CO8grAZY.cjs → CasinoSearchNd-ColMWiu_.cjs} +1 -1
- package/components/{CasinoSearchNd-C9idzt1M.js → CasinoSearchNd-DDkh2KaB.js} +52 -52
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
- package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/components/CasinoGameThumbnailNd-DMpN2Rsr.cjs +0 -47
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";var Zi=Object.defineProperty,Qi=Object.defineProperties;var Ji=Object.getOwnPropertyDescriptors;var kn=Object.getOwnPropertySymbols;var Ki=Object.prototype.hasOwnProperty,ea=Object.prototype.propertyIsEnumerable;var Ut=(e,t,n)=>t in e?Zi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Un=(e,t)=>{for(var n in t||(t={}))Ki.call(t,n)&&Ut(e,n,t[n]);if(kn)for(var n of kn(t))ea.call(t,n)&&Ut(e,n,t[n]);return e},Wn=(e,t)=>Qi(e,Ji(t));var j=(e,t,n)=>(Ut(e,typeof t!="symbol"?t+"":t,n),n);var Wt=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{s(n.next(l))}catch(u){i(u)}},o=l=>{try{s(n.throw(l))}catch(u){i(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,o);s((n=n.apply(e,t)).next())});require("../stencil/ui-image-BDXyFHck.cjs");function Y(){}function Fr(e){return e()}function $n(){return Object.create(null)}function Fe(e){e.forEach(Fr)}function bn(e){return typeof e=="function"}function vn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let at;function jn(e,t){return e===t?!0:(at||(at=document.createElement("a")),at.href=t,e===at.href)}function ta(e){return Object.keys(e).length===0}function Br(e,...t){if(e==null){for(const r of t)r(void 0);return Y}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function Mr(e,t,n){e.$$.on_destroy.push(Br(t,n))}function y(e,t){e.appendChild(t)}function Ar(e,t,n){const r=na(e);if(!r.getElementById(t)){const i=I("style");i.id=t,i.textContent=n,ra(r,i)}}function na(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ra(e,t){return y(e.head||e,t),t.sheet}function N(e,t,n){e.insertBefore(t,n||null)}function A(e){e.parentNode&&e.parentNode.removeChild(e)}function yn(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function I(e){return document.createElement(e)}function ee(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function re(e){return document.createTextNode(e)}function D(){return re(" ")}function Be(){return re("")}function bt(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function p(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function de(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:p(e,t,n)}function ia(e){return Array.from(e.childNodes)}function fe(e,t){t=""+t,e.data!==t&&(e.data=t)}function aa(e,t){e.value=t==null?"":t}function Vn(e,t,n,r){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,"")}function zn(e,t,n){e.classList.toggle(t,!!n)}class oe{constructor(t=!1){j(this,"is_svg",!1);j(this,"e");j(this,"n");j(this,"t");j(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,r=null){this.e||(this.is_svg?this.e=ee(n.nodeName):this.e=I(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(r)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n<this.n.length;n+=1)N(this.t,this.n[n],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(A)}}function oa(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let ze;function Ve(e){ze=e}function sa(){if(!ze)throw new Error("Function called outside component initialization");return ze}function Nr(e){sa().$$.on_mount.push(e)}const Ce=[],Ge=[];let Te=[];const Yn=[],Hr=Promise.resolve();let Jt=!1;function Rr(){Jt||(Jt=!0,Hr.then(G))}function Ue(){return Rr(),Hr}function Kt(e){Te.push(e)}const $t=new Set;let _e=0;function G(){if(_e!==0)return;const e=ze;do{try{for(;_e<Ce.length;){const t=Ce[_e];_e++,Ve(t),la(t.$$)}}catch(t){throw Ce.length=0,_e=0,t}for(Ve(null),Ce.length=0,_e=0;Ge.length;)Ge.pop()();for(let t=0;t<Te.length;t+=1){const n=Te[t];$t.has(n)||($t.add(n),n())}Te.length=0}while(Ce.length);for(;Yn.length;)Yn.pop()();Jt=!1,$t.clear(),Ve(e)}function la(e){if(e.fragment!==null){e.update(),Fe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Kt)}}function ua(e){const t=[],n=[];Te.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),Te=t}const ca=new Set;function ha(e,t){e&&e.i&&(ca.delete(e),e.i(t))}function Ye(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function fa(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),Kt(()=>{const a=e.$$.on_mount.map(Fr).filter(bn);e.$$.on_destroy?e.$$.on_destroy.push(...a):Fe(a),e.$$.on_mount=[]}),i.forEach(Kt)}function ma(e,t){const n=e.$$;n.fragment!==null&&(ua(n.after_update),Fe(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function da(e,t){e.$$.dirty[0]===-1&&(Ce.push(e),Rr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Dr(e,t,n,r,i,a,o=null,s=[-1]){const l=ze;Ve(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Y,not_equal:i,bound:$n(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:$n(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=n?n(e,t.props||{},(h,m,...d)=>{const v=d.length?d[0]:m;return u.ctx&&i(u.ctx[h],u.ctx[h]=v)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](v),c&&da(e,h)),m}):[],u.update(),c=!0,Fe(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const h=ia(t.target);u.fragment&&u.fragment.l(h),h.forEach(A)}else u.fragment&&u.fragment.c();t.intro&&ha(e.$$.fragment),fa(e,t.target,t.anchor),G()}Ve(l)}let kr;typeof HTMLElement=="function"&&(kr=class extends HTMLElement{constructor(t,n,r){super();j(this,"$$ctor");j(this,"$$s");j(this,"$$c");j(this,"$$cn",!1);j(this,"$$d",{});j(this,"$$r",!1);j(this,"$$p_d",{});j(this,"$$l",{});j(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return Wt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=I("slot"),a!=="default"&&p(o,"name",a)},m:function(u,c){N(u,o,c)},d:function(u){u&&A(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=oa(this);for(const a of this.$$s)a in r&&(n[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=lt(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Wn(Un({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=lt(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=lt(t,r,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(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function lt(e,t,n,r){var a;const i=(a=n[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="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 Ur(e,t,n,r,i,a){let o=class extends kr{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=lt(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),r.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Wr{constructor(){j(this,"$$");j(this,"$$set")}$destroy(){ma(this,1),this.$destroy=Y}$on(t,n){if(!bn(n))return Y;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!ta(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const pa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(pa);const xe=[];function ga(e,t){return{subscribe:vt(e,t).subscribe}}function vt(e,t=Y){let n;const r=new Set;function i(s){if(vn(e,s)&&(e=s,n)){const l=!xe.length;for(const u of r)u[1](),xe.push(u,e);if(l){for(let u=0;u<xe.length;u+=2)xe[u][0](xe[u+1]);xe.length=0}}}function a(s){i(s(e))}function o(s,l=Y){const u=[s,l];return r.add(u),r.size===1&&(n=t(i,a)||Y),s(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}function Me(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return ga(n,(o,s)=>{let l=!1;const u=[];let c=0,h=Y;const m=()=>{if(c)return;h();const v=t(r?u[0]:u,o,s);a?o(v):h=bn(v)?v:Y},d=i.map((v,b)=>Br(v,_=>{u[b]=_,c&=~(1<<b),l&&m()},()=>{c|=1<<b}));return l=!0,m(),function(){Fe(d),h(),l=!1}})}function ba(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var va=function(t){return ya(t)&&!wa(t)};function ya(e){return!!e&&typeof e=="object"}function wa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ea(e)}var _a=typeof Symbol=="function"&&Symbol.for,xa=_a?Symbol.for("react.element"):60103;function Ea(e){return e.$$typeof===xa}function Ca(e){return Array.isArray(e)?[]:{}}function Xe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Le(Ca(e),e,t):e}function Ga(e,t,n){return e.concat(t).map(function(r){return Xe(r,n)})}function Ta(e,t){if(!t.customMerge)return Le;var n=t.customMerge(e);return typeof n=="function"?n:Le}function Sa(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Xn(e){return Object.keys(e).concat(Sa(e))}function $r(e,t){try{return t in e}catch(n){return!1}}function La(e,t){return $r(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ia(e,t,n){var r={};return n.isMergeableObject(e)&&Xn(e).forEach(function(i){r[i]=Xe(e[i],n)}),Xn(t).forEach(function(i){La(e,i)||($r(e,i)&&n.isMergeableObject(t[i])?r[i]=Ta(i,n)(e[i],t[i],n):r[i]=Xe(t[i],n))}),r}function Le(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Ga,n.isMergeableObject=n.isMergeableObject||va,n.cloneUnlessOtherwiseSpecified=Xe;var r=Array.isArray(t),i=Array.isArray(e),a=r===i;return a?r?n.arrayMerge(e,t,n):Ia(e,t,n):Xe(t,n)}Le.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Le(r,i,n)},{})};var Oa=Le,Pa=Oa;const Fa=ba(Pa);/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var en=function(e,t){return en=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},en(e,t)};function se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");en(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var S=function(){return S=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},S.apply(this,arguments)};function Ba(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function tn(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function nn(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function Se(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||t)}function jt(e,t){var n=t&&t.cache?t.cache:Da,r=t&&t.serializer?t.serializer:Ra,i=t&&t.strategy?t.strategy:Aa;return i(e,{cache:n,serializer:r})}function Ma(e){return e==null||typeof e=="number"||typeof e=="boolean"}function jr(e,t,n,r){var i=Ma(r)?r:n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,r),t.set(i,a)),a}function Vr(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(i,a)),a}function wn(e,t,n,r,i){return n.bind(t,e,r,i)}function Aa(e,t){var n=e.length===1?jr:Vr;return wn(e,this,n,t.cache.create(),t.serializer)}function Na(e,t){return wn(e,this,Vr,t.cache.create(),t.serializer)}function Ha(e,t){return wn(e,this,jr,t.cache.create(),t.serializer)}var Ra=function(){return JSON.stringify(arguments)};function _n(){this.cache=Object.create(null)}_n.prototype.get=function(e){return this.cache[e]};_n.prototype.set=function(e,t){this.cache[e]=t};var Da={create:function(){return new _n}},Vt={variadic:Na,monadic:Ha},x;(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"})(x||(x={}));var H;(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"})(H||(H={}));var Ie;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ie||(Ie={}));function qn(e){return e.type===H.literal}function ka(e){return e.type===H.argument}function zr(e){return e.type===H.number}function Yr(e){return e.type===H.date}function Xr(e){return e.type===H.time}function qr(e){return e.type===H.select}function Zr(e){return e.type===H.plural}function Ua(e){return e.type===H.pound}function Qr(e){return e.type===H.tag}function Jr(e){return!!(e&&typeof e=="object"&&e.type===Ie.number)}function rn(e){return!!(e&&typeof e=="object"&&e.type===Ie.dateTime)}var Kr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Wa=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function $a(e){var t={};return e.replace(Wa,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===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"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-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=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-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"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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 ja=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Va(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ja).filter(function(m){return m.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],l=o.slice(1),u=0,c=l;u<c.length;u++){var h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:l})}return n}function za(e){return e.replace(/^(.*?)-/,"")}var Zn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ei=/^(@+)?(\+|#+)?[rs]?$/g,Ya=/(\*)(0+)|(#+)(0+)|(0+)/g,ti=/^(0+)$/;function Qn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(ei,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function ni(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 Xa(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 n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!ti.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Jn(e){var t={},n=ni(e);return n||t}function qa(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];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=za(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=S(S(S({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return S(S({},l),Jn(u))},{}));continue;case"engineering":t=S(S(S({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return S(S({},l),Jn(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(Ya,function(l,u,c,h,m,d){if(u)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ti.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Zn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Zn,function(l,u,c,h,m,d){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=S(S({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=S(S({},t),Qn(a)));continue}if(ei.test(i.stem)){t=S(S({},t),Qn(i.stem));continue}var o=ni(i.stem);o&&(t=S(S({},t),o));var s=Xa(i.stem);s&&(t=S(S({},t),s))}return t}var ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Za(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(a&1),s=a<2?1:3+(a>>1),l="a",u=Qa(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)n+=l;for(;o-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function Qa(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 n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=ot[r||""]||ot[n||""]||ot["".concat(n,"-001")]||ot["001"];return i[0]}var zt,Ja=new RegExp("^".concat(Kr.source,"*")),Ka=new RegExp("".concat(Kr.source,"*$"));function C(e,t){return{start:e,end:t}}var eo=!!String.prototype.startsWith&&"_a".startsWith("a",1),to=!!String.fromCodePoint,no=!!Object.fromEntries,ro=!!String.prototype.codePointAt,io=!!String.prototype.trimStart,ao=!!String.prototype.trimEnd,oo=!!Number.isSafeInteger,so=oo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},an=!0;try{var lo=ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");an=((zt=lo.exec("a"))===null||zt===void 0?void 0:zt[0])==="a"}catch(e){an=!1}var Kn=eo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},on=to?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},er=no?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var a=i[r],o=a[0],s=a[1];n[o]=s}return n},ri=ro?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},uo=io?function(t){return t.trimStart()}:function(t){return t.replace(Ja,"")},co=ao?function(t){return t.trimEnd()}:function(t){return t.replace(Ka,"")};function ii(e,t){return new RegExp(e,t)}var sn;if(an){var tr=ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");sn=function(t,n){var r;tr.lastIndex=n;var i=tr.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else sn=function(t,n){for(var r=[];;){var i=ri(t,n);if(i===void 0||ai(i)||po(i))break;r.push(i),n+=i>=65536?2:1}return on.apply(void 0,r)};var ho=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.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,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:H.pound,location:C(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(x.UNMATCHED_CLOSING_TAG,C(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&ln(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:H.literal,value:"<".concat(i,"/>"),location:C(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ln(this.char()))return this.error(x.INVALID_TAG,C(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(x.UNMATCHED_CLOSING_TAG,C(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:H.tag,value:i,children:o,location:C(r,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,C(s,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,C(r,this.clonePosition()))}else return this.error(x.INVALID_TAG,C(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&mo(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=C(r,this.clonePosition());return{val:{type:H.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!fo(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 n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return on.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),on(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,C(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,C(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(x.MALFORMED_ARGUMENT,C(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,C(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:H.argument,value:i,location:C(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,C(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(x.MALFORMED_ARGUMENT,C(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=sn(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=C(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(x.EXPECT_ARGUMENT_TYPE,C(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=co(h.val);if(m.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,C(this.clonePosition(),this.clonePosition()));var d=C(c,this.clonePosition());u={style:m,styleLocation:d}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var b=C(i,this.clonePosition());if(u&&Kn(u==null?void 0:u.style,"::",0)){var _=uo(u.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(_,u.styleLocation);return h.err?h:{val:{type:H.number,value:r,location:b,style:h.val},err:null}}else{if(_.length===0)return this.error(x.EXPECT_DATE_TIME_SKELETON,b);var $=_;this.locale&&($=Za(_,this.locale));var m={type:Ie.dateTime,pattern:$,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?$a($):{}},B=s==="date"?H.date:H.time;return{val:{type:B,value:r,location:b,style:m},err:null}}}return{val:{type:s==="number"?H.number:s==="date"?H.date:H.time,value:r,location:b,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,C(E,S({},E)));this.bumpSpace();var M=this.parseIdentifierIfPossible(),L=0;if(s!=="select"&&M.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),M=this.parseIdentifierIfPossible(),L=h.val}var O=this.tryParsePluralOrSelectOptions(t,s,n,M);if(O.err)return O;var v=this.tryParseArgumentClose(i);if(v.err)return v;var Q=C(i,this.clonePosition());return s==="select"?{val:{type:H.select,value:r,options:er(O.val),location:Q},err:null}:{val:{type:H.plural,value:r,options:er(O.val),offset:L,pluralType:s==="plural"?"cardinal":"ordinal",location:Q},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,C(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,C(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,C(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(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Va(t)}catch(i){return this.error(x.INVALID_NUMBER_SKELETON,n)}return{val:{type:Ie.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?qa(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var h=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=C(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,C(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,n,r);if(v.err)return v;var b=this.tryParseArgumentClose(d);if(b.err)return b;s.push([u,{value:v.val,location:C(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(n==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,C(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(x.MISSING_OTHER_CLAUSE,C(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=C(i,this.clonePosition());return a?(o*=r,so(o)?{val:o,err:null}:this.error(n,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 n=ri(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},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(Kn(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!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 n=this.offset();if(n===t)break;if(n>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()&&ai(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function ln(e){return e>=97&&e<=122||e>=65&&e<=90}function fo(e){return ln(e)||e===47}function mo(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 ai(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function po(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 un(e){e.forEach(function(t){if(delete t.location,qr(t)||Zr(t))for(var n in t.options)delete t.options[n].location,un(t.options[n].value);else zr(t)&&Jr(t.style)||(Yr(t)||Xr(t))&&rn(t.style)?delete t.style.location:Qr(t)&&un(t.children)})}function go(e,t){t===void 0&&(t={}),t=S({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new ho(e,t).parse();if(n.err){var r=SyntaxError(x[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||un(n.val),n.val}var Oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Oe||(Oe={}));var yt=function(e){se(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),nr=function(e){se(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Oe.INVALID_VALUE,a)||this}return t}(yt),bo=function(e){se(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Oe.INVALID_VALUE,i)||this}return t}(yt),vo=function(e){se(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Oe.MISSING_VALUE,r)||this}return t}(yt),z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function yo(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==z.literal||n.type!==z.literal?t.push(n):r.value+=n.value,t},[])}function wo(e){return typeof e=="function"}function ut(e,t,n,r,i,a,o){if(e.length===1&&qn(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(qn(c)){s.push({type:z.literal,value:c.value});continue}if(Ua(c)){typeof a=="number"&&s.push({type:z.literal,value:n.getNumberFormat(t).format(a)});continue}var h=c.value;if(!(i&&h in i))throw new vo(h,o);var m=i[h];if(ka(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?z.literal:z.object,value:m});continue}if(Yr(c)){var d=typeof c.style=="string"?r.date[c.style]:rn(c.style)?c.style.parsedOptions:void 0;s.push({type:z.literal,value:n.getDateTimeFormat(t,d).format(m)});continue}if(Xr(c)){var d=typeof c.style=="string"?r.time[c.style]:rn(c.style)?c.style.parsedOptions:r.time.medium;s.push({type:z.literal,value:n.getDateTimeFormat(t,d).format(m)});continue}if(zr(c)){var d=typeof c.style=="string"?r.number[c.style]:Jr(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:z.literal,value:n.getNumberFormat(t,d).format(m)});continue}if(Qr(c)){var v=c.children,b=c.value,_=i[b];if(!wo(_))throw new bo(b,"function",o);var $=ut(v,t,n,r,i,a),B=_($.map(function(L){return L.value}));Array.isArray(B)||(B=[B]),s.push.apply(s,B.map(function(L){return{type:typeof L=="string"?z.literal:z.object,value:L}}))}if(qr(c)){var E=c.options[m]||c.options.other;if(!E)throw new nr(c.value,m,Object.keys(c.options),o);s.push.apply(s,ut(E.value,t,n,r,i));continue}if(Zr(c)){var E=c.options["=".concat(m)];if(!E){if(!Intl.PluralRules)throw new yt(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,Oe.MISSING_INTL_API,o);var M=n.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));E=c.options[M]||c.options.other}if(!E)throw new nr(c.value,m,Object.keys(c.options),o);s.push.apply(s,ut(E.value,t,n,r,i,m-(c.offset||0)));continue}}return yo(s)}function _o(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=S(S({},e[r]),t[r]||{}),n},{})):e}function xo(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=_o(e[r],t[r]),n},S({},e)):e}function Yt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Eo(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:jt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Se([void 0],n,!1)))},{cache:Yt(e.number),strategy:Vt.variadic}),getDateTimeFormat:jt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Se([void 0],n,!1)))},{cache:Yt(e.dateTime),strategy:Vt.variadic}),getPluralRules:jt(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Se([void 0],n,!1)))},{cache:Yt(e.pluralRules),strategy:Vt.variadic})}}var Co=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var c=u.reduce(function(h,m){return!h.length||m.type!==z.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return ut(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=Ba(o,["formatters"]);this.ast=e.__parse(t,S(S({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=xo(e.formats,r),this.formatters=i&&i.formatters||Eo(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 n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=go,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 Go(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const a=n.slice(i,n.length).join(".");if(a in r){r=r[a];break}}r=r[n[i]]}else r=void 0;return r}const he={},To=(e,t,n)=>n&&(t in he||(he[t]={}),e in he[t]||(he[t][e]=n),n),oi=(e,t)=>{if(t==null)return;if(t in he&&e in he[t])return he[t][e];const n=wt(t);for(let r=0;r<n.length;r++){const i=n[r],a=Lo(i,e);if(a)return To(e,t,a)}};let xn;const Ze=vt({});function So(e){return xn[e]||null}function si(e){return e in xn}function Lo(e,t){if(!si(e))return null;const n=So(e);return Go(n,t)}function Io(e){if(e==null)return;const t=wt(e);for(let n=0;n<t.length;n++){const r=t[n];if(si(r))return r}}function En(e,...t){delete he[e],Ze.update(n=>(n[e]=Fa.all([n[e]||{},...t]),n))}Me([Ze],([e])=>Object.keys(e));Ze.subscribe(e=>xn=e);const ct={};function Oo(e,t){ct[e].delete(t),ct[e].size===0&&delete ct[e]}function li(e){return ct[e]}function Po(e){return wt(e).map(t=>{const n=li(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function cn(e){return e==null?!1:wt(e).some(t=>{var n;return(n=li(t))==null?void 0:n.size})}function Fo(e,t){return Promise.all(t.map(r=>(Oo(e,r),r().then(i=>i.default||i)))).then(r=>En(e,...r))}const We={};function ui(e){if(!cn(e))return e in We?We[e]:Promise.resolve();const t=Po(e);return We[e]=Promise.all(t.map(([n,r])=>Fo(n,r))).then(()=>{if(cn(e))return ui(e);delete We[e]}),We[e]}const Bo={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"}}},Mo={fallbackLocale:null,loadingDelay:200,formats:Bo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ao=Mo;function Pe(){return Ao}const Xt=vt(!1);var No=Object.defineProperty,Ho=Object.defineProperties,Ro=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,Do=Object.prototype.hasOwnProperty,ko=Object.prototype.propertyIsEnumerable,ir=(e,t,n)=>t in e?No(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Uo=(e,t)=>{for(var n in t||(t={}))Do.call(t,n)&&ir(e,n,t[n]);if(rr)for(var n of rr(t))ko.call(t,n)&&ir(e,n,t[n]);return e},Wo=(e,t)=>Ho(e,Ro(t));let hn;const ft=vt(null);function ar(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function wt(e,t=Pe().fallbackLocale){const n=ar(e);return t?[...new Set([...n,...ar(t)])]:n}function be(){return hn!=null?hn:void 0}ft.subscribe(e=>{hn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const $o=e=>{if(e&&Io(e)&&cn(e)){const{loadingDelay:t}=Pe();let n;return typeof window!="undefined"&&be()!=null&&t?n=window.setTimeout(()=>Xt.set(!0),t):Xt.set(!0),ui(e).then(()=>{ft.set(e)}).finally(()=>{clearTimeout(n),Xt.set(!1)})}return ft.set(e)},ve=Wo(Uo({},ft),{set:$o}),_t=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var jo=Object.defineProperty,mt=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?jo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t)=>{for(var n in t||(t={}))ci.call(t,n)&&or(e,n,t[n]);if(mt)for(var n of mt(t))hi.call(t,n)&&or(e,n,t[n]);return e},Ae=(e,t)=>{var n={};for(var r in e)ci.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&mt)for(var r of mt(e))t.indexOf(r)<0&&hi.call(e,r)&&(n[r]=e[r]);return n};const qe=(e,t)=>{const{formats:n}=Pe();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Vo=_t(e=>{var t=e,{locale:n,format:r}=t,i=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=qe("number",r)),new Intl.NumberFormat(n,i)}),zo=_t(e=>{var t=e,{locale:n,format:r}=t,i=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=qe("date",r):Object.keys(i).length===0&&(i=qe("date","short")),new Intl.DateTimeFormat(n,i)}),Yo=_t(e=>{var t=e,{locale:n,format:r}=t,i=Ae(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=qe("time",r):Object.keys(i).length===0&&(i=qe("time","short")),new Intl.DateTimeFormat(n,i)}),Xo=(e={})=>{var t=e,{locale:n=be()}=t,r=Ae(t,["locale"]);return Vo(Cn({locale:n},r))},qo=(e={})=>{var t=e,{locale:n=be()}=t,r=Ae(t,["locale"]);return zo(Cn({locale:n},r))},Zo=(e={})=>{var t=e,{locale:n=be()}=t,r=Ae(t,["locale"]);return Yo(Cn({locale:n},r))},Qo=_t((e,t=be())=>new Co(e,t,Pe().formats,{ignoreTag:Pe().ignoreTag})),Jo=(e,t={})=>{var n,r,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:l=be(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=oi(e,l);if(!c)c=(a=(i=(r=(n=Pe()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!s)return c;let h=c;try{h=Qo(c,l).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Ko=(e,t)=>Zo(t).format(e),es=(e,t)=>qo(t).format(e),ts=(e,t)=>Xo(t).format(e),ns=(e,t=be())=>oi(e,t),fi=Me([ve,Ze],()=>Jo);Me([ve],()=>Ko);Me([ve],()=>es);Me([ve],()=>ts);Me([ve,Ze],()=>ns);function mi(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function fn(e,t){if(!e||!t)return;const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function di(e,t,n){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,i=>{r.innerHTML=i,e&&e.appendChild(r)})}}function ae(e){return typeof e=="function"}function pi(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var qt=pi(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
17
|
+
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=n}});function mn(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var xt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=tn(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(b){t={error:b}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ae(c))try{c()}catch(b){a=b instanceof qt?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=tn(h),d=m.next();!d.done;d=m.next()){var v=d.value;try{sr(v)}catch(b){a=a!=null?a:[],b instanceof qt?a=Se(Se([],nn(a)),nn(b.errors)):a.push(b)}}}catch(b){r={error:b}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}if(a)throw new qt(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)sr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&mn(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&mn(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),gi=xt.EMPTY;function bi(e){return e instanceof xt||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function sr(e){ae(e)?e():e.unsubscribe()}var vi={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},rs={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,Se([e,t],nn(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function is(e){rs.setTimeout(function(){throw e})}function lr(){}function ht(e){e()}var yi=function(e){se(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,bi(n)&&n.add(r)):r.destination=ls,r}return t.create=function(n,r,i){return new dn(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},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(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(xt),as=Function.prototype.bind;function Zt(e,t){return as.call(e,t)}var os=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){st(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){st(r)}else st(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){st(n)}},e}(),dn=function(e){se(t,e);function t(n,r,i){var a=e.call(this)||this,o;if(ae(n)||!n)o={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0};else{var s;a&&vi.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=function(){return a.unsubscribe()},o={next:n.next&&Zt(n.next,s),error:n.error&&Zt(n.error,s),complete:n.complete&&Zt(n.complete,s)}):o=n}return a.destination=new os(o),a}return t}(yi);function st(e){is(e)}function ss(e){throw e}var ls={closed:!0,next:lr,error:ss,complete:lr},us=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function cs(e){return e}function hs(e){return e.length===0?cs:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var ur=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=ms(t)?t:new dn(t,n,r);return ht(function(){var o=i,s=o.operator,l=o.source;a.add(s?s.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=cr(n),new n(function(i,a){var o=new dn({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[us]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return hs(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=cr(t),new t(function(r,i){var a;n.subscribe(function(o){return a=o},function(o){return i(o)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function cr(e){var t;return(t=e!=null?e:vi.Promise)!==null&&t!==void 0?t:Promise}function fs(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}function ms(e){return e&&e instanceof yi||fs(e)&&bi(e)}var ds=pi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),wi=function(e){se(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new hr(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ds},t.prototype.next=function(n){var r=this;ht(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=tn(r.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(n)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;ht(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;ht(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?gi:(this.currentObservers=null,s.push(n),new xt(function(){r.currentObservers=null,mn(s,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,o=r.isStopped;i?n.error(a):o&&n.complete()},t.prototype.asObservable=function(){var n=new ur;return n.source=this,n},t.create=function(n,r){return new hr(n,r)},t}(ur),hr=function(e){se(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:gi},t}(wi),_i={now:function(){return(_i.delegate||Date).now()},delegate:void 0},ps=function(e){se(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=_i);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,l=r._windowTime;i||(a.push(n),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!n.closed;l+=a?1:2)n.next(s[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,o=n._infiniteTimeWindow,s=(o?1:2)*r;if(r<1/0&&s<a.length&&a.splice(0,a.length-s),!o){for(var l=i.now(),u=0,c=1;c<a.length&&a[c]<=l;c+=2)u=c;u&&a.splice(0,u+1)}},t}(wi);const fr=[],mr={},gs=(e,t=0)=>{if(fr.indexOf(e)==-1){const n=new ps(t);mr[e]=n,fr.push(e)}return mr[e]};window.emWidgets={topic:gs};const q=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)),xi=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";String(Number.MAX_SAFE_INTEGER).length;function dt(e){"@babel/helpers - typeof";return dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(e)}function ge(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function W(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function V(e){W(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||dt(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function bs(e,t){W(2,arguments);var n=V(e).getTime(),r=ge(t);return new Date(n+r)}var vs={};function Et(){return vs}function ys(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ws(e){return W(1,arguments),e instanceof Date||dt(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function _s(e){if(W(1,arguments),!ws(e)&&typeof e!="number")return!1;var t=V(e);return!isNaN(Number(t))}function xs(e,t){return W(2,arguments),V(e).getTime()-V(t).getTime()}function Es(e,t){W(2,arguments);var n=ge(t);return bs(e,-n)}var Cs=864e5;function Gs(e){W(1,arguments);var t=V(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/Cs)+1}function pt(e){W(1,arguments);var t=1,n=V(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Ei(e){W(1,arguments);var t=V(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=pt(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var o=pt(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Ts(e){W(1,arguments);var t=Ei(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=pt(n);return r}var Ss=6048e5;function Ls(e){W(1,arguments);var t=V(e),n=pt(t).getTime()-Ts(t).getTime();return Math.round(n/Ss)+1}function gt(e,t){var n,r,i,a,o,s,l,u;W(1,arguments);var c=Et(),h=ge((n=(r=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=V(e),d=m.getUTCDay(),v=(d<h?7:0)+d-h;return m.setUTCDate(m.getUTCDate()-v),m.setUTCHours(0,0,0,0),m}function Ci(e,t){var n,r,i,a,o,s,l,u;W(1,arguments);var c=V(e),h=c.getUTCFullYear(),m=Et(),d=ge((n=(r=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:m.firstWeekContainsDate)!==null&&r!==void 0?r:(l=m.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(h+1,0,d),v.setUTCHours(0,0,0,0);var b=gt(v,t),_=new Date(0);_.setUTCFullYear(h,0,d),_.setUTCHours(0,0,0,0);var $=gt(_,t);return c.getTime()>=b.getTime()?h+1:c.getTime()>=$.getTime()?h:h-1}function Is(e,t){var n,r,i,a,o,s,l,u;W(1,arguments);var c=Et(),h=ge((n=(r=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),m=Ci(e,t),d=new Date(0);d.setUTCFullYear(m,0,h),d.setUTCHours(0,0,0,0);var v=gt(d,t);return v}var Os=6048e5;function Ps(e,t){W(1,arguments);var n=V(e),r=gt(n,t).getTime()-Is(n,t).getTime();return Math.round(r/Os)+1}function F(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var ce={y:function(t,n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return F(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):F(r+1,2)},d:function(t,n){return F(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return F(t.getUTCHours()%12||12,n.length)},H:function(t,n){return F(t.getUTCHours(),n.length)},m:function(t,n){return F(t.getUTCMinutes(),n.length)},s:function(t,n){return F(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,r-3));return F(a,n.length)}},Ee={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Fs={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return r.ordinalNumber(a,{unit:"year"})}return ce.y(t,n)},Y:function(t,n,r,i){var a=Ci(t,i),o=a>0?a:1-a;if(n==="YY"){var s=o%100;return F(s,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):F(o,n.length)},R:function(t,n){var r=Ei(t);return F(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return F(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return F(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return F(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return ce.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return F(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var a=Ps(t,i);return n==="wo"?r.ordinalNumber(a,{unit:"week"}):F(a,n.length)},I:function(t,n,r){var i=Ls(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):F(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):ce.d(t,n)},D:function(t,n,r){var i=Gs(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):F(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return F(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return F(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),a=i===0?7:i;switch(n){case"i":return String(a);case"ii":return F(a,n.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),a;switch(i===12?a=Ee.noon:i===0?a=Ee.midnight:a=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),a;switch(i>=17?a=Ee.evening:i>=12?a=Ee.afternoon:i>=4?a=Ee.morning:a=Ee.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return ce.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ce.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):F(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):F(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ce.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ce.s(t,n)},S:function(t,n){return ce.S(t,n)},X:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return pr(o);case"XXXX":case"XX":return pe(o);case"XXXXX":case"XXX":default:return pe(o,":")}},x:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"x":return pr(o);case"xxxx":case"xx":return pe(o);case"xxxxx":case"xxx":default:return pe(o,":")}},O:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+dr(o,":");case"OOOO":default:return"GMT"+pe(o,":")}},z:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+dr(o,":");case"zzzz":default:return"GMT"+pe(o,":")}},t:function(t,n,r,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return F(o,n.length)},T:function(t,n,r,i){var a=i._originalDate||t,o=a.getTime();return F(o,n.length)}};function dr(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;if(a===0)return n+String(i);var o=t;return n+String(i)+o+F(a,2)}function pr(e,t){if(e%60===0){var n=e>0?"-":"+";return n+F(Math.abs(e)/60,2)}return pe(e,t)}function pe(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),a=F(Math.floor(i/60),2),o=F(i%60,2);return r+a+n+o}var gr=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},Gi=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},Bs=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return gr(t,n);var o;switch(i){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",gr(i,n)).replace("{{time}}",Gi(a,n))},Ms={p:Gi,P:Bs},As=["D","DD"],Ns=["YY","YYYY"];function Hs(e){return As.indexOf(e)!==-1}function Rs(e){return Ns.indexOf(e)!==-1}function br(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ds={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ks=function(t,n,r){var i,a=Ds[t];return typeof a=="string"?i=a:n===1?i=a.one:i=a.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function Qt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var Us={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Ws={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},$s={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},js={date:Qt({formats:Us,defaultWidth:"full"}),time:Qt({formats:Ws,defaultWidth:"full"}),dateTime:Qt({formats:$s,defaultWidth:"full"})},Vs={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zs=function(t,n,r,i){return Vs[t]};function $e(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var Ys={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Xs={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},qs={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Zs={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Qs={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Js={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ks=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},el={ordinalNumber:Ks,era:$e({values:Ys,defaultWidth:"wide"}),quarter:$e({values:Xs,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:$e({values:qs,defaultWidth:"wide"}),day:$e({values:Zs,defaultWidth:"wide"}),dayPeriod:$e({values:Qs,defaultWidth:"wide",formattingValues:Js,defaultFormattingWidth:"wide"})};function je(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?nl(s,function(h){return h.test(o)}):tl(s,function(h){return h.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var c=t.slice(o.length);return{value:u,rest:c}}}function tl(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function nl(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function rl(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var il=/^(\d+)(th|st|nd|rd)?/i,al=/\d+/i,ol={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},sl={any:[/^b/i,/^(a|c)/i]},ll={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ul={any:[/1/i,/2/i,/3/i,/4/i]},cl={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},hl={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fl={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},ml={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dl={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},pl={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gl={ordinalNumber:rl({matchPattern:il,parsePattern:al,valueCallback:function(t){return parseInt(t,10)}}),era:je({matchPatterns:ol,defaultMatchWidth:"wide",parsePatterns:sl,defaultParseWidth:"any"}),quarter:je({matchPatterns:ll,defaultMatchWidth:"wide",parsePatterns:ul,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:je({matchPatterns:cl,defaultMatchWidth:"wide",parsePatterns:hl,defaultParseWidth:"any"}),day:je({matchPatterns:fl,defaultMatchWidth:"wide",parsePatterns:ml,defaultParseWidth:"any"}),dayPeriod:je({matchPatterns:dl,defaultMatchWidth:"any",parsePatterns:pl,defaultParseWidth:"any"})},bl={code:"en-US",formatDistance:ks,formatLong:js,formatRelative:zs,localize:el,match:gl,options:{weekStartsOn:0,firstWeekContainsDate:1}},vl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,yl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,wl=/^'([^]*?)'?$/,_l=/''/g,xl=/[a-zA-Z]/;function vr(e,t,n){var r,i,a,o,s,l,u,c,h,m,d,v,b,_;W(2,arguments);var $=String(t),B=Et(),E=(r=(i=void 0)!==null&&i!==void 0?i:B.locale)!==null&&r!==void 0?r:bl,M=ge((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:B.firstWeekContainsDate)!==null&&o!==void 0?o:(u=B.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(M>=1&&M<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=ge((h=(m=(d=(v=void 0)!==null&&v!==void 0?v:void 0)!==null&&d!==void 0?d:B.weekStartsOn)!==null&&m!==void 0?m:(b=B.locale)===null||b===void 0||(_=b.options)===null||_===void 0?void 0:_.weekStartsOn)!==null&&h!==void 0?h:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var O=V(e);if(!_s(O))throw new RangeError("Invalid time value");var Q=ys(O),X=Es(O,Q),k={firstWeekContainsDate:M,weekStartsOn:L,locale:E,_originalDate:O},R=$.match(yl).map(function(g){var T=g[0];if(T==="p"||T==="P"){var ie=Ms[T];return ie(g,E.formatLong)}return g}).join("").match(vl).map(function(g){if(g==="''")return"'";var T=g[0];if(T==="'")return El(g);var ie=Fs[T];if(ie)return Rs(g)&&br(g,t,String(e)),Hs(g)&&br(g,t,String(e)),ie(X,g,E.localize,k);if(T.match(xl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+T+"`");return g}).join("");return R}function El(e){var t=e.match(wl);return t?t[1].replace(_l,"'"):e}function Cl(e,t){W(2,arguments);var n=V(e),r=V(t);return n.getTime()>r.getTime()}function Gl(e,t){W(2,arguments);var n=V(e),r=V(t);return n.getTime()<r.getTime()}function Ti(e,t,n){window.emMessageBus&&window.emMessageBus.subscribe(e,n)}function Tl(e,t){En(e,t)}function Sl(e){ve.set(e)}const Ll={en:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"zh-hk":{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開",full:"滿桌 - 下注",dealer:"經銷商"},de:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet",full:"full - bet behind",dealer:"Dealer"},it:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},fr:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre",full:"Table pleine - pari derrière",dealer:"Concessionnaire"},es:{playNow:"Juega ahora!",new:"NUEVO",hot:"HOT",opens:"Abiertas",full:"Mesa llena - Apostar de pie",dealer:"Dealer"},tr:{playNow:"ŞİMDİ OYNA",new:"YENİ",hot:"Sıcak",opens:"Açılıyor",full:"masa dolu - arkadan bahis",dealer:"Krupiye"},ru:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},ro:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},hr:{playNow:"Igraj",new:"NOVO",hot:"Hot",opens:"Otvara se",full:"stol pun - uložite iza",dealer:"Djelitelj"},hu:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pl:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},pt:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir",full:"Mesa cheia - aposta atrás",dealer:"Dealer"},sl:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},sr:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"},"pt-br":{playNow:"Comece agora!",new:"NOVOS",hot:"Popular",opens:"Abre",full:"mesa completa-aposte seguindo",dealer:"Dealer"},"es-mx":{playNow:"Comenzar ahora!",new:"NUEVOS",hot:"Popular",opens:"Abre",full:"mesa llena-seguir apuesta",dealer:"Dealer"},"en-us":{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens",full:"table full - bet behind",dealer:"Dealer"}},Il={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};function Ol(e){Ar(e,"svelte-eplxqg",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:10px}.GameContainer.WithGameName.pb-0:not(.CasinoGamesGridSlider){padding-bottom:0px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--emw--border-radius-medium, 10px)}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:cover;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameTopContainer{display:flex;gap:10px}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-color-contrast, #000000), hsla(var(--emw--casino-thumbnail-color-h, 120), var(--emw--casino-thumbnail-color-s, 100%), var(--emw--casino-thumbnail-color-l, 50%), 0.7));z-index:15;padding:8px 12px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:var(--emw--color-typography, #FFFFFF);text-align:center;font-size:var(--emw--font-size-small, 14px);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:10px;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 1s ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emw--button-border-highlight-color, #FFF)}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:0 4px 4px 4px;position:absolute;top:0}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:15}.GameInnerContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px);padding:5px;background-color:transparent;color:var(--emw--button-typography, #FFFFFF);text-transform:uppercase;border-radius:var(--emw--border-radius-medium, 10px);border:1px solid var(--emw--button-typography, #FFFFFF)}.GameInnerContainer:hover,.GameInnerContainer:active{transition:2s;cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1);transition:1s}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{display:flex;align-items:center;gap:8px}.GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:var(--emw--color-typography, #FFFFFF);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400);width:40px;height:40px;background-size:contain;background-repeat:no-repeat;z-index:15}.GameNameBelow{color:var(--emw--casino-typography, #FFFFFF);position:relative;padding:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:24px;height:24px}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;transition:2s;background-image:linear-gradient(to top, var(--emw--casino-thumbnail-animation-color-contrast, #000000), rgba(0, 191, 114, 0.7))}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:var(--emw--border-radius-small, 5px)}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;font-size:var(--emw--font-size-small, 14px)}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:var(--emw--font-size-small, 14px);text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{margin:0 2px;margin-right:5px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);border:1px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .LiveIcons .Red{color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .LiveIcons .Green{color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .Blue{color:var(--emw--casino-thumbnail-animation-color-type-f, #4d90a7)}.ListGame .GameInnerContainer .Red{background-color:var(--emw--casino-thumbnail-animation-color-type-e, #ff0000)}.ListGame .GameInnerContainer .Black{background-color:var(--emw--casino-thumbnail-animation-color-contrast, #000000)}.ListGame .GameInnerContainer .Green{background-color:var(--emw--casino-thumbnail-animation-color-type-c, #56A80A)}.ListGame .GameInnerContainer .White{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:var(--emw--casino-thumbnail-animation-color-type-b, #eeca3d)}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);background-image:linear-gradient(135deg, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 25%, transparent 25%, transparent 50%, var(--emw--casino-thumbnail-animation-color-type-a, #212121) 50%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 75%, transparent 75%, var(--emw--casino-thumbnail-animation-color, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:var(--emw--border-radius-small, 5px);font-size:var(--emw--font-size-x-small, 12px);white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-size:var(--emw--font-size-medium, 16px)}.ListGame .GameInnerContainer .ClosedGame span{font-size:inherit}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emw--casino-thumbnail-animation-color-contrast, #000000);color:var(--emw--casino-thumbnail-animation-color, #FFFFFF);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 12px)}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:inherit}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid var(--emw--casino-thumbnail-animation-color, #FFFFFF);opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{padding:6px 8px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:var(--emw--font-size-2x-small, 10px)}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .UnfavoredIcon{width:25px;height:25px}.GameInfoVendor{width:45px;height:45px}.GameInnerContainer .GameExtraInfoContainer{padding-top:5px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:var(--emw--font-size-2x-small, 10px)}}@container (max-width: 768px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:var(--emw--font-size-x-small, 12px);padding:6px}.GameInnerContainer .GameInfoWrapper{padding:8px 10px}}')}function yr(e,t,n){const r=e.slice();return r[106]=t[n],r[108]=n,r}function wr(e,t,n){const r=e.slice();return r[103]=t[n],r}function _r(e){let t,n=!q(e[36]),r,i,a=e[35]("playNow")+"",o,s,l,u=n&&Pl();return{c(){t=I("button"),u&&u.c(),r=D(),i=I("span"),o=re(a),p(t,"class","GameInfoBtn")},m(c,h){N(c,t,h),u&&u.m(t,null),y(t,r),y(t,i),y(i,o),s||(l=bt(t,"click",e[65]),s=!0)},p(c,h){h[1]&16&&a!==(a=c[35]("playNow")+"")&&fe(o,a)},d(c){c&&A(t),u&&u.d(),s=!1,l()}}}function Pl(e){let t,n,r,i,a,o;return{c(){t=ee("svg"),n=ee("g"),r=ee("g"),i=ee("path"),a=ee("path"),o=ee("path"),p(i,"d","M 14 27 C 10.52756977081299 27 7.26298999786377 25.64776039123535 4.807610034942627 23.19239044189453 C 2.352240085601807 20.73700904846191 1 17.4724292755127 1 14 C 1 10.52756977081299 2.352240085601807 7.26298999786377 4.807610034942627 4.807610034942627 C 7.26298999786377 2.352240085601807 10.52756977081299 1 14 1 C 17.4724292755127 1 20.73700904846191 2.352240085601807 23.19239044189453 4.807610034942627 C 25.64776039123535 7.26298999786377 27 10.52756977081299 27 14 C 27 17.4724292755127 25.64776039123535 20.73700904846191 23.19239044189453 23.19239044189453 C 20.73700904846191 25.64776039123535 17.4724292755127 27 14 27 Z"),p(i,"stroke","none"),p(a,"d","M 14 2 C 10.79467964172363 2 7.781219482421875 3.248220443725586 5.514720916748047 5.514720916748047 C 3.248220443725586 7.781219482421875 2 10.79467964172363 2 14 C 2 17.2053108215332 3.248220443725586 20.21878051757812 5.514720916748047 22.48527908325195 C 7.781219482421875 24.75177955627441 10.79467964172363 26 14 26 C 17.2053108215332 26 20.21878051757812 24.75177955627441 22.48527908325195 22.48527908325195 C 24.75177955627441 20.21878051757812 26 17.2053108215332 26 14 C 26 10.79467964172363 24.75177955627441 7.781219482421875 22.48527908325195 5.514720916748047 C 20.21878051757812 3.248220443725586 17.2053108215332 2 14 2 M 14 0 C 21.73197937011719 0 28 6.268009185791016 28 14 C 28 21.73197937011719 21.73197937011719 28 14 28 C 6.268009185791016 28 0 21.73197937011719 0 14 C 0 6.268009185791016 6.268009185791016 0 14 0 Z"),p(a,"stroke","none"),p(a,"fill","#fff"),p(r,"id","Ellipse_664_copy"),p(r,"data-name","Ellipse 664 copy"),p(r,"transform","translate(26 13)"),p(r,"fill","rgba(249,165,2,0)"),p(o,"id","Rounded_Rectangle_683"),p(o,"data-name","Rounded Rectangle 683"),p(o,"d","M1139,917.587V906.4a1.4,1.4,0,0,1,1.976,0l4.61,4.608a1.4,1.4,0,0,1,0,1.975l-4.61,4.607A1.4,1.4,0,0,1,1139,917.587Z"),p(o,"transform","translate(-1102 -885)"),p(o,"fill","#fff"),p(n,"id","Group_5260"),p(n,"data-name","Group 5260"),p(n,"transform","translate(-26 -13)"),p(t,"xmlns","http://www.w3.org/2000/svg"),p(t,"width","28"),p(t,"height","28"),p(t,"viewBox","0 0 28 28")},m(s,l){N(s,t,l),y(t,n),y(n,r),y(r,i),y(r,a),y(n,o)},d(s){s&&A(t)}}}function xr(e){let t,n=e[35]("new")+"",r;return{c(){t=I("span"),r=re(n),p(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){N(i,t,a),y(t,r)},p(i,a){a[1]&16&&n!==(n=i[35]("new")+"")&&fe(r,n)},d(i){i&&A(t)}}}function Er(e){let t,n;return{c(){t=I("span"),n=re(e[8]),p(t,"class","GameExtraInfoLabel PopularGameTag")},m(r,i){N(r,t,i),y(t,n)},p(r,i){i[0]&256&&fe(n,r[8])},d(r){r&&A(t)}}}function Cr(e){let t,n,r=!e[21]&&e[19]&&e[20]&&Gr(e);function i(s,l){if(s[21]&&s[18]&&s[18]===pn)return Bl;if(s[21]&&s[18]&&s[18]===gn)return Fl}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=D(),o&&o.c(),n=Be()},m(s,l){r&&r.m(s,l),N(s,t,l),o&&o.m(s,l),N(s,n,l)},p(s,l){!s[21]&&s[19]&&s[20]?r?r.p(s,l):(r=Gr(s),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(s))&&o?o.p(s,l):(o&&o.d(1),o=a&&a(s),o&&(o.c(),o.m(n.parentNode,n)))},d(s){s&&(A(t),A(n)),r&&r.d(s),o&&o.d(s)}}}function Gr(e){let t,n,r=e[35]("opens")+"",i,a,o,s=vr(new Date(e[19]),e[20])+"",l,u,c,h=e[41](e[33])+"",m,d,v=e[40](e[25],e[26],e[24])+"";return{c(){t=I("div"),n=I("div"),i=re(r),a=D(),o=I("span"),l=re(s),u=D(),c=new oe(!1),m=D(),d=new oe(!1),p(n,"class","ClosedGame"),c.a=m,d.a=null,p(t,"class","GameProp LiveProps")},m(b,_){N(b,t,_),y(t,n),y(n,i),y(n,a),y(n,o),y(o,l),y(t,u),c.m(h,t),y(t,m),d.m(v,t)},p(b,_){_[1]&16&&r!==(r=b[35]("opens")+"")&&fe(i,r),_[0]&1572864&&s!==(s=vr(new Date(b[19]),b[20])+"")&&fe(l,s),_[1]&4&&h!==(h=b[41](b[33])+"")&&c.p(h),_[0]&117440512&&v!==(v=b[40](b[25],b[26],b[24])+"")&&d.p(v)},d(b){b&&A(t)}}}function Fl(e){let t,n,r,i,a=e[41](e[33])+"",o,s,l=e[40](e[25],e[26],e[24])+"",u=Ye(new Array(Pr)),c=[];for(let h=0;h<u.length;h+=1)c[h]=Sr(yr(e,u,h));return{c(){t=I("div"),n=I("div");for(let h=0;h<c.length;h+=1)c[h].c();r=D(),i=new oe(!1),o=D(),s=new oe(!1),p(n,"class","LiveIcons"),i.a=o,s.a=null,p(t,"class",e[29])},m(h,m){N(h,t,m),y(t,n);for(let d=0;d<c.length;d+=1)c[d]&&c[d].m(n,null);e[66](n),y(t,r),i.m(a,t),y(t,o),s.m(l,t)},p(h,m){if(m[0]&1342193664|m[1]&2048){u=Ye(new Array(Pr));let d;for(d=0;d<u.length;d+=1){const v=yr(h,u,d);c[d]?c[d].p(v,m):(c[d]=Sr(v),c[d].c(),c[d].m(n,null))}for(;d<c.length;d+=1)c[d].d(1);c.length=u.length}m[1]&4&&a!==(a=h[41](h[33])+"")&&i.p(a),m[0]&117440512&&l!==(l=h[40](h[25],h[26],h[24])+"")&&s.p(l),m[0]&536870912&&p(t,"class",h[29])},d(h){h&&A(t),yn(c,h),e[66](null)}}}function Bl(e){let t,n,r,i,a=e[41](e[33])+"",o,s,l=e[40](e[25],e[26],e[24])+"";function u(m,d){return m[31]?Hl:Nl}let c=u(e),h=c(e);return{c(){t=I("div"),n=I("div"),h.c(),r=D(),i=new oe(!1),o=D(),s=new oe(!1),p(n,"class","LiveIcons"),i.a=o,s.a=null,p(t,"class","GameProp LiveProps BlackjackDisplay"),p(t,"part","GameProp LiveProps BlackjackDisplay")},m(m,d){N(m,t,d),y(t,n),h.m(n,null),y(t,r),i.m(a,t),y(t,o),s.m(l,t)},p(m,d){c===(c=u(m))&&h?h.p(m,d):(h.d(1),h=c(m),h&&(h.c(),h.m(n,null))),d[1]&4&&a!==(a=m[41](m[33])+"")&&i.p(a),d[0]&117440512&&l!==(l=m[40](m[25],m[26],m[24])+"")&&s.p(l)},d(m){m&&A(t),h.d()}}}function Tr(e){let t;function n(a,o){return a[28]?Al:Ml}let r=n(e),i=r(e);return{c(){i.c(),t=Be()},m(a,o){i.m(a,o),N(a,t,o)},p(a,o){r===(r=n(a))&&i?i.p(a,o):(i.d(1),i=r(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&A(t),i.d(a)}}}function Ml(e){let t,n=e[42](`LatestResult ${e[108]===0?"First":""}`,e[108],e[14][e[108]],e[30][e[14][e[108]]])+"",r;return{c(){t=new oe(!1),r=Be(),t.a=r},m(i,a){t.m(n,i,a),N(i,r,a)},p(i,a){a[0]&1073758208&&n!==(n=i[42](`LatestResult ${i[108]===0?"First":""}`,i[108],i[14][i[108]],i[30][i[14][i[108]]])+"")&&t.p(n)},d(i){i&&(A(r),t.d())}}}function Al(e){let t,n,r=e[42](`LatestResult ${e[108]===0?"First":""}`,`first${e[108]}${e[14][e[108]][0]}`,e[14][e[108]][0],e[30][e[14][e[108]][0]])+"",i,a,o=e[42](`LatestResult ${e[108]===0?"First":""}`,`second${e[108]}${e[14][e[108]][1]}`,e[14][e[108]][1],e[30][e[14][e[108]][1]])+"",s;return{c(){t=I("div"),n=new oe(!1),i=D(),a=new oe(!1),s=D(),n.a=i,a.a=s,p(t,"class","Double")},m(l,u){N(l,t,u),n.m(r,t),y(t,i),a.m(o,t),y(t,s)},p(l,u){u[0]&1073758208&&r!==(r=l[42](`LatestResult ${l[108]===0?"First":""}`,`first${l[108]}${l[14][l[108]][0]}`,l[14][l[108]][0],l[30][l[14][l[108]][0]])+"")&&n.p(r),u[0]&1073758208&&o!==(o=l[42](`LatestResult ${l[108]===0?"First":""}`,`second${l[108]}${l[14][l[108]][1]}`,l[14][l[108]][1],l[30][l[14][l[108]][1]])+"")&&a.p(o)},d(l){l&&A(t)}}}function Sr(e){let t,n=e[14]&&e[14][e[108]]&&Tr(e);return{c(){n&&n.c(),t=Be()},m(r,i){n&&n.m(r,i),N(r,t,i)},p(r,i){r[14]&&r[14][r[108]]?n?n.p(r,i):(n=Tr(r),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(r){r&&A(t),n&&n.d(r)}}}function Nl(e){let t,n=Ye(e[23]),r=[];for(let i=0;i<n.length;i+=1)r[i]=Lr(wr(e,n,i));return{c(){for(let i=0;i<r.length;i+=1)r[i].c();t=Be()},m(i,a){for(let o=0;o<r.length;o+=1)r[o]&&r[o].m(i,a);N(i,t,a)},p(i,a){if(a[0]&142606336|a[1]&256){n=Ye(i[23]);let o;for(o=0;o<n.length;o+=1){const s=wr(i,n,o);r[o]?r[o].p(s,a):(r[o]=Lr(s),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length}},d(i){i&&A(t),yn(r,i)}}}function Hl(e){let t,n=e[35]("full")+"",r;return{c(){t=I("span"),r=re(n),p(t,"class","FullTable")},m(i,a){N(i,t,a),y(t,r)},p(i,a){a[1]&16&&n!==(n=i[35]("full")+"")&&fe(r,n)},d(i){i&&A(t)}}}function Lr(e){let t,n,r,i,a,o;return{c(){t=I("span"),n=ee("svg"),r=ee("path"),i=ee("path"),a=D(),p(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),p(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),p(n,"xmlns","http://www.w3.org/2000/svg"),p(n,"width","13"),p(n,"height","14"),p(n,"viewBox","0 0 13 14"),p(t,"class",o=e[39](e[27],e[103].toString())?"ClosedSeat":"OpenSeat")},m(s,l){N(s,t,l),y(t,n),y(n,r),y(n,i),y(t,a)},p(s,l){l[0]&142606336&&o!==(o=s[39](s[27],s[103].toString())?"ClosedSeat":"OpenSeat")&&p(t,"class",o)},d(s){s&&A(t)}}}function Rl(e){let t;return{c(){t=I("div"),t.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emw--casino-thumbnail-animation-color, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',p(t,"class","FavIconContainer")},m(n,r){N(n,t,r)},p:Y,d(n){n&&A(t)}}}function Dl(e){let t,n,r;function i(s,l){if(s[0]&&s[16]&&s[2]==="true")return Ul;if(!s[0]&&s[16]&&s[2]==="true")return kl}let a=i(e),o=a&&a(e);return{c(){t=I("div"),n=I("span"),r=D(),o&&o.c(),p(n,"class","GameInfoVendor"),Vn(n,"background-image","url("+e[5]+")"),p(t,"class","GameTopContainer")},m(s,l){N(s,t,l),y(t,n),y(t,r),o&&o.m(t,null)},p(s,l){l[0]&32&&Vn(n,"background-image","url("+s[5]+")"),a===(a=i(s))&&o?o.p(s,l):(o&&o.d(1),o=a&&a(s),o&&(o.c(),o.m(t,null)))},d(s){s&&A(t),o&&o.d()}}}function kl(e){let t,n,r;return{c(){t=I("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_3" data-name="Subtraction 3" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){N(i,t,a),n||(r=bt(t,"click",e[68]),n=!0)},p:Y,d(i){i&&A(t),n=!1,r()}}}function Ul(e){let t,n,r;return{c(){t=I("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path id="Subtraction_4" data-name="Subtraction 4" d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){N(i,t,a),n||(r=bt(t,"click",e[67]),n=!0)},p:Y,d(i){i&&A(t),n=!1,r()}}}function Ir(e){let t,n;return{c(){t=I("p"),n=re(e[4]),p(t,"class","GameNameBelow"),p(t,"title",e[4])},m(r,i){N(r,t,i),y(t,n)},p(r,i){i[0]&16&&fe(n,r[4]),i[0]&16&&p(t,"title",r[4])},d(r){r&&A(t)}}}function Wl(e){let t,n,r,i,a,o,s,l,u,c,h,m,d,v,b,_,$,B,E=e[1]&&_r(e),M=e[7]&&xr(e),L=e[8]&&Er(e),O=e[13]&&Cr(e);function Q(g,T){if(b==null&&(b=!q(g[36])),b)return Dl;if(g[0]&&g[16]&&g[2]==="true")return Rl}let X=Q(e),k=X&&X(e),R=e[10]==="true"&&Ir(e);return{c(){t=I("div"),n=I("div"),r=I("ui-image"),o=D(),s=I("div"),l=I("div"),E&&E.c(),u=D(),c=I("div"),h=I("div"),M&&M.c(),m=D(),L&&L.c(),d=D(),O&&O.c(),v=D(),k&&k.c(),$=D(),R&&R.c(),jn(r.src,i=e[34])||de(r,"src",i),de(r,"class",a=`GameBg GameBg-${e[9]}`),de(r,"alt","Game thumbnail"),de(r,"loading","lazy"),p(l,"class","GameInfo"),p(s,"class","GameInfoWrapper"),p(h,"class","GameExtraInfo"),p(c,"class","GameExtraInfoContainer"),p(n,"class",_="GameInnerContainer "+(e[13]&&!e[21]&&e[22].value||e[13]&&e[31]?"GameInnerContainerUnavailable":"")),p(t,"class",B=`GameContainer ${e[32]} ${e[11]=="true"?"CasinoGamesGridSlider":""} ${e[3]&&q(e[36])?"pb-0":""}`),zn(t,"WithGameName",e[10])},m(g,T){N(g,t,T),y(t,n),y(n,r),e[64](r),y(n,o),y(n,s),y(s,l),E&&E.m(l,null),y(n,u),y(n,c),y(c,h),M&&M.m(h,null),y(h,m),L&&L.m(h,null),y(h,d),O&&O.m(h,null),y(c,v),k&&k.m(c,null),y(t,$),R&&R.m(t,null),e[69](t)},p(g,T){T[1]&8&&!jn(r.src,i=g[34])&&de(r,"src",i),T[0]&512&&a!==(a=`GameBg GameBg-${g[9]}`)&&de(r,"class",a),g[1]?E?E.p(g,T):(E=_r(g),E.c(),E.m(l,null)):E&&(E.d(1),E=null),g[7]?M?M.p(g,T):(M=xr(g),M.c(),M.m(h,m)):M&&(M.d(1),M=null),g[8]?L?L.p(g,T):(L=Er(g),L.c(),L.m(h,d)):L&&(L.d(1),L=null),g[13]?O?O.p(g,T):(O=Cr(g),O.c(),O.m(h,null)):O&&(O.d(1),O=null),X===(X=Q(g))&&k?k.p(g,T):(k&&k.d(1),k=X&&X(g),k&&(k.c(),k.m(c,null))),T[0]&6299648|T[1]&1&&_!==(_="GameInnerContainer "+(g[13]&&!g[21]&&g[22].value||g[13]&&g[31]?"GameInnerContainerUnavailable":""))&&p(n,"class",_),g[10]==="true"?R?R.p(g,T):(R=Ir(g),R.c(),R.m(t,null)):R&&(R.d(1),R=null),T[0]&2056|T[1]&2&&B!==(B=`GameContainer ${g[32]} ${g[11]=="true"?"CasinoGamesGridSlider":""} ${g[3]&&q(g[36])?"pb-0":""}`)&&p(t,"class",B),T[0]&3080|T[1]&2&&zn(t,"WithGameName",g[10])},i:Y,o:Y,d(g){g&&A(t),e[64](null),E&&E.d(),M&&M.d(),L&&L.d(),O&&O.d(),k&&k.d(),R&&R.d(),e[69](null)}}}const pn="blackjack",gn="roulette",Or="doubleballroulette",$l=7,jl=",",Pr=5;function Vl(e,t,n){let r,i;Mr(e,fi,f=>n(35,i=f));let{session:a=""}=t,{userid:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{mbsource:u}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,{favorites:m=""}=t,{gamethumbnail:d=""}=t,{icon:v}=t,{gamename:b=""}=t,{gamevendor:_=""}=t,{gamelaunchurl:$=""}=t,{gameid:B=""}=t,{gameisnew:E=!1}=t,{gametag:M=""}=t,{gamefunmode:L=!1}=t,{gamefavorite:O=!1}=t,{gamecellsize:Q=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:k=""}=t,{currency:R=""}=t,{gamepagemodalurl:g="false"}=t,{endpoint:T=""}=t,{categoryid:ie=""}=t,{livelobbyendpoint:Ne=""}=t,{connectlive:ye=""}=t,{visibilityconnect:He=""}=t,{integratedgameframedesktop:Qe="false"}=t,{integratedgameframemobile:Je="false"}=t,{casinogamesgridslider:Gn="false"}=t,Ct=!1,Ke,Li,Gt,J=window.navigator.userAgent,te,P,le,Tn,Tt,St="HH:mm",me,Lt={},Re,Sn=[],Ln="EUR",It,Ot,Pt,De,Ft,Bt,Mt,et,At,Nt,In,we,Ht,K="",ke,On,Rt;const Ii=[pn],Pn=[gn,Or],Fn={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},Bn={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"},Dt=f=>{Object.keys(f).forEach(w=>{Tl(w,f[w])})},Oi=()=>{fetch(h).then(w=>w.json()).then(w=>{Dt(w)}).catch(w=>{console.log(w)})};Dt(Ll);const Mn=f=>{f.data.type===`AddFavoriteThumbnail_${B}`&&!X&&n(0,O=!0),f.data.type===`RemoveFavoriteThumbnail_${B}`&&!X&&n(0,O=!1),f.data.type==="UserSessionID"&&(n(16,Ct=!0),f.data.session,Ke=f.data.userID),f.data.type==="CategoryUpdate"&&n(13,P=null)},An=f=>{window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${Ke||"Not logged in"}`}),q(J)&&Je=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:L,gamepagemodalurl:g,isMobile:q(J),source:"GameThumbnail",identifier:"Lobby",subVendor:_,launchUrl:$},window.location.href):q(J)&&Je=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:q(J)},window.location.href),!q(J)&&Qe=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:L,gamepagemodalurl:g,isMobile:q(J),identifier:"Lobby",subVendor:_,launchUrl:$},window.location.href):!q(J)&&Qe=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:q(J)},window.location.href)},kt=f=>{O?window.postMessage({type:`SetUnfavoredGame${ie}`,id:f},window.location.href):window.postMessage({type:`SetFavoredGame${ie}`,id:f},window.location.href)},Pi=()=>{Sl(s)},Fi=()=>{n(16,Ct=!0),Ke=o},Bi=(f,w)=>`${T}/v1/encoder/lobby/updates/${f}/${w}`,Nn=()=>{Ne&&EventSource&&!le&&_&&B&&(le=new EventSource(Bi(_,B)),le.addEventListener("message",Rn))},Hn=()=>{le&&(le.close(),le=void 0)},Rn=f=>Wt(this,null,function*(){const{type:w,data:U}=f;let Z;switch(w){case"message":{if(U)try{Z=JSON.parse(U)}catch(ne){console.error("MESSAGE PARSING ERROR: ",ne)}if(Z){const{InternalTableId:ne,MessageType:nt,Results:ue,Seats:rt,Open:it}=Z;if(ne)switch(nt){case"SeatsUpdated":{rt&&Array.isArray(rt)&&(n(27,De=rt),n(13,P.currentOccupiedSeats=rt,P),yield Ue());break}case"RouletteResultsUpdated":{ue&&Array.isArray(ue)&&(Ft=ue,n(13,P.currentRouletteNumbers=ue,P),yield Ue());break}case"DoubleBallRouletteResultsUpdated":{ue&&Array.isArray(ue)&&(Bt=ue,n(13,P.currentDoubleBallRouletteNumbers=ue,P),yield Ue());break}case"TableOpened":{n(21,me=it),n(13,P.isOpen=it,P),yield Ue();break}case"TableClosed":{n(21,me=it),n(13,P.isOpen=it,P),yield Ue();break}}}}}}),Mi=()=>{let f=new URL(`${Ne.split("?")[0]}`);f.searchParams.append("platform",xi(J)),f.searchParams.append("language",s),fetch(f).then(w=>w.json()).then(w=>{const{details:U}=w[0];n(13,P=U)})},Dn=(f,w=jl)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,w):"",tt=(f,w)=>f.some(U=>U===w),Ai=f=>{let w=null;if(f){const{vendorCategory:U}=f;if(U){const Z=U.toLowerCase();tt(Ii,Z)?w=pn:tt(Pn,Z)&&(w=gn)}}return w},Ni=(f,w,U)=>{let Z,ne;return f!=null&&w!==void 0&&w!==null&&(ne=`
|
|
19
|
+
<span>
|
|
20
|
+
${U}
|
|
21
|
+
</span>
|
|
22
|
+
${Dn(f)}-${Dn(w)}`),Rt&&(Z=`
|
|
23
|
+
<svg fill="var(--emw--casino-thumbnail-animation-color, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>
|
|
24
|
+
<span class="NrOfPlayers">${Rt}</span>`),!Z&&!ne?"":`
|
|
25
|
+
<p class="LiveLimits">
|
|
26
|
+
<span class="BetLimitLeft">
|
|
27
|
+
${ne||""}
|
|
28
|
+
</span>
|
|
29
|
+
<span class="BetLimitRight">
|
|
30
|
+
${Z||""}
|
|
31
|
+
</span>
|
|
32
|
+
</p>`},Hi=f=>f?`
|
|
33
|
+
<p class="LiveLimits">
|
|
34
|
+
<span class="DealerName">${i("dealer")}: ${f}</span>
|
|
35
|
+
</p>
|
|
36
|
+
`:"",Ri=f=>{Pt=f.totalSeats||$l,n(27,De=f.currentOccupiedSeats||[]);const w=[];for(let U=1;U<=Pt;U++)w.push(U);return{seats:w}},Di=(f,w,U,Z="")=>{const ne=`${f} ${Z}`,nt=w.toString().match(/first0|second0|0/g);return w===0||nt&&nt.length!==0?`
|
|
37
|
+
<span
|
|
38
|
+
id=${w}
|
|
39
|
+
class="${ne}"
|
|
40
|
+
>
|
|
41
|
+
${U}
|
|
42
|
+
</span>
|
|
43
|
+
`:`
|
|
44
|
+
<span id=${w} class="${ne}">
|
|
45
|
+
${U}
|
|
46
|
+
</span>
|
|
47
|
+
`},ki=()=>{const f="FirstElementAnimated",w=ke.getElementsByClassName("First")[0];w&&(w.classList.add(f),setTimeout(()=>{w.classList.remove(f)},2e3))},Ui=()=>{if(P){if(n(21,me=P.isOpen),Lt=P.betLimit||{},n(22,Re=P.openHours),n(23,Sn=Ri(P).seats),Re&&Re.value){const{value:{startTime:f,originalTimeFormat:w}}=Re;n(19,Tt=f),n(20,St=w||St)}me&&n(18,Tn=Ai(P)),n(24,Ln=Il[R]),n(25,It=(Lt.min||{})[R]),n(26,Ot=(Lt.max||{})[R]),Ft=P.currentRouletteNumbers,Bt=P.currentDoubleBallRouletteNumbers,Mt=P.vendorCategory,n(28,et=Mt.toLowerCase()===Or),n(14,At=(et?Bt:Ft)||[]),n(29,Nt="GameProp LiveProps RoulleteProps"),n(29,Nt+=et?" Double":""),n(30,In=tt(Pn,Mt.toLowerCase())?Bn:Fn),Ht=we,n(31,we=Array.isArray(De)&&De.length===Pt),P.dealer&&n(33,On=P.dealer.DealerName),Rt=P.numberOfPlayers,n(32,K="ListGame"),P.isOpen&&P.currentRouletteNumbers&&n(32,K+=" GameBackdrop"),me&&we&&It&&Ot&&P.currentOccupiedSeats?n(32,K+=" GameContainerDimmed"):me===!1&&Tt&&n(32,K+=" GameContainerFullyDimmed"),te&&(!Ht&&we?(n(32,K+=" PulsatingRedShadow"),n(32,K=K.replace(" PulsatingGreenShadow",""))):Ht&&!we&&(n(32,K+=" PulsatingGreenShadow"),n(32,K=K.replace(" PulsatingRedShadow",""))))}},Wi=()=>{ye==="disconnect"?Hn():ye==="connect"&&Nn()},$i=()=>{He==="disconnect"?Hn():He==="connect"&&ye==="connect"&&Nn()};Nr(()=>(window.addEventListener("message",Mn,!1),()=>{window.removeEventListener("message",Mn),le&&le.removeEventListener("message",Rn)}));function ji(f){Ge[f?"unshift":"push"](()=>{Gt=f,n(17,Gt)})}const Vi=()=>An(B);function zi(f){Ge[f?"unshift":"push"](()=>{ke=f,n(15,ke)})}const Yi=()=>kt(B),Xi=()=>kt(B);function qi(f){Ge[f?"unshift":"push"](()=>{te=f,n(12,te)})}return e.$$set=f=>{"session"in f&&n(43,a=f.session),"userid"in f&&n(44,o=f.userid),"lang"in f&&n(1,s=f.lang),"clientstyling"in f&&n(45,l=f.clientstyling),"mbsource"in f&&n(46,u=f.mbsource),"clientstylingurl"in f&&n(47,c=f.clientstylingurl),"translationurl"in f&&n(48,h=f.translationurl),"favorites"in f&&n(2,m=f.favorites),"gamethumbnail"in f&&n(49,d=f.gamethumbnail),"icon"in f&&n(3,v=f.icon),"gamename"in f&&n(4,b=f.gamename),"gamevendor"in f&&n(5,_=f.gamevendor),"gamelaunchurl"in f&&n(50,$=f.gamelaunchurl),"gameid"in f&&n(6,B=f.gameid),"gameisnew"in f&&n(7,E=f.gameisnew),"gametag"in f&&n(8,M=f.gametag),"gamefunmode"in f&&n(51,L=f.gamefunmode),"gamefavorite"in f&&n(0,O=f.gamefavorite),"gamecellsize"in f&&n(9,Q=f.gamecellsize),"showfavoredcategory"in f&&n(52,X=f.showfavoredcategory),"showgamename"in f&&n(10,k=f.showgamename),"currency"in f&&n(53,R=f.currency),"gamepagemodalurl"in f&&n(54,g=f.gamepagemodalurl),"endpoint"in f&&n(55,T=f.endpoint),"categoryid"in f&&n(56,ie=f.categoryid),"livelobbyendpoint"in f&&n(57,Ne=f.livelobbyendpoint),"connectlive"in f&&n(58,ye=f.connectlive),"visibilityconnect"in f&&n(59,He=f.visibilityconnect),"integratedgameframedesktop"in f&&n(60,Qe=f.integratedgameframedesktop),"integratedgameframemobile"in f&&n(61,Je=f.integratedgameframemobile),"casinogamesgridslider"in f&&n(11,Gn=f.casinogamesgridslider)},e.$$.update=()=>{e.$$.dirty[1]&134217728&&ye&&Wi(),e.$$.dirty[1]&268435456&&He&&$i(),e.$$.dirty[0]&2&&s&&Pi(),e.$$.dirty[1]&16789504&&a&&o&&T&&Fi(),e.$$.dirty[0]&4096|e.$$.dirty[1]&16384&&l&&te&&mi(te,l),e.$$.dirty[0]&4096|e.$$.dirty[1]&65536&&c&&te&&fn(te,c),e.$$.dirty[0]&4096|e.$$.dirty[1]&32768&&u&&te&&di(te,`${u}.Style`),e.$$.dirty[1]&163840&&u&&!h&&Ti(`${u}.Translation`,Li,Dt),e.$$.dirty[0]&4,e.$$.dirty[1]&131072&&h&&Oi(),e.$$.dirty[0]&512|e.$$.dirty[1]&65536&&Q&&c&&fn(),e.$$.dirty[1]&83886080&&T&&Ne&&Mi(),e.$$.dirty[0]&8192&&P&&Ui(),e.$$.dirty[0]&49152&&ke&&At&&ki(),e.$$.dirty[0]&8|e.$$.dirty[1]&262144&&n(34,r=v&&q(J)?v:d)},[O,s,m,v,b,_,B,E,M,Q,k,Gn,te,P,At,ke,Ct,Gt,Tn,Tt,St,me,Re,Sn,Ln,It,Ot,De,et,Nt,In,we,K,On,r,i,J,An,kt,tt,Ni,Hi,Di,a,o,l,u,c,h,d,$,L,X,R,g,T,ie,Ne,ye,He,Qe,Je,Fn,Bn,ji,Vi,zi,Yi,Xi,qi]}class Si extends Wr{constructor(t){super(),Dr(this,t,Vl,Wl,vn,{session:43,userid:44,lang:1,clientstyling:45,mbsource:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:49,icon:3,gamename:4,gamevendor:5,gamelaunchurl:50,gameid:6,gameisnew:7,gametag:8,gamefunmode:51,gamefavorite:0,gamecellsize:9,showfavoredcategory:52,showgamename:10,currency:53,gamepagemodalurl:54,endpoint:55,categoryid:56,livelobbyendpoint:57,connectlive:58,visibilityconnect:59,integratedgameframedesktop:60,integratedgameframemobile:61,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:62,ROULETTE_COLOR_MAP:63},Ol,[-1,-1,-1,-1])}get session(){return this.$$.ctx[43]}set session(t){this.$$set({session:t}),G()}get userid(){return this.$$.ctx[44]}set userid(t){this.$$set({userid:t}),G()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),G()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(t){this.$$set({clientstyling:t}),G()}get mbsource(){return this.$$.ctx[46]}set mbsource(t){this.$$set({mbsource:t}),G()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),G()}get translationurl(){return this.$$.ctx[48]}set translationurl(t){this.$$set({translationurl:t}),G()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),G()}get gamethumbnail(){return this.$$.ctx[49]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),G()}get icon(){return this.$$.ctx[3]}set icon(t){this.$$set({icon:t}),G()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),G()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),G()}get gamelaunchurl(){return this.$$.ctx[50]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),G()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),G()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),G()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),G()}get gamefunmode(){return this.$$.ctx[51]}set gamefunmode(t){this.$$set({gamefunmode:t}),G()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),G()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),G()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),G()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),G()}get currency(){return this.$$.ctx[53]}set currency(t){this.$$set({currency:t}),G()}get gamepagemodalurl(){return this.$$.ctx[54]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),G()}get endpoint(){return this.$$.ctx[55]}set endpoint(t){this.$$set({endpoint:t}),G()}get categoryid(){return this.$$.ctx[56]}set categoryid(t){this.$$set({categoryid:t}),G()}get livelobbyendpoint(){return this.$$.ctx[57]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),G()}get connectlive(){return this.$$.ctx[58]}set connectlive(t){this.$$set({connectlive:t}),G()}get visibilityconnect(){return this.$$.ctx[59]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),G()}get integratedgameframedesktop(){return this.$$.ctx[60]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),G()}get integratedgameframemobile(){return this.$$.ctx[61]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),G()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),G()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[62]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[63]}}Ur(Si,{session:{},userid:{},lang:{},clientstyling:{},mbsource:{},clientstylingurl:{},translationurl:{},favorites:{},gamethumbnail:{},icon:{},gamename:{},gamevendor:{},gamelaunchurl:{},gameid:{},gameisnew:{type:"Boolean"},gametag:{},gamefunmode:{type:"Boolean"},gamefavorite:{type:"Boolean"},gamecellsize:{},showfavoredcategory:{type:"Boolean"},showgamename:{},currency:{},gamepagemodalurl:{},endpoint:{},categoryid:{},livelobbyendpoint:{},connectlive:{},visibilityconnect:{},integratedgameframedesktop:{},integratedgameframemobile:{},casinogamesgridslider:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);const zl=Object.freeze(Object.defineProperty({__proto__:null,default:Si},Symbol.toStringTag,{value:"Module"}));exports.$format=fi;exports.$locale=ve;exports.CasinoGameThumbnailNd_ce=zl;exports.SvelteComponent=Wr;exports.addMessages=En;exports.append=y;exports.append_styles=Ar;exports.attr=p;exports.binding_callbacks=Ge;exports.component_subscribe=Mr;exports.create_custom_element=Ur;exports.destroy_each=yn;exports.detach=A;exports.differenceInMilliseconds=xs;exports.element=I;exports.empty=Be;exports.ensure_array_like=Ye;exports.flush=G;exports.getDevice=xi;exports.getStreamTranslations=Ti;exports.init=Dr;exports.insert=N;exports.isAfter=Cl;exports.isBefore=Gl;exports.listen=bt;exports.noop=Y;exports.onMount=Nr;exports.run_all=Fe;exports.safe_not_equal=vn;exports.setClientStyling=mi;exports.setClientStylingURL=fn;exports.setStreamStyling=di;exports.set_custom_element_data=de;exports.set_data=fe;exports.set_input_value=aa;exports.space=D;exports.svg_element=ee;exports.text=re;
|