@everymatrix/casino-game-thumbnail-nd 1.97.2 → 1.97.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-Bvgf_Wuq.cjs +47 -0
- package/components/{CasinoGameThumbnailNd-DNFsy2xo.js → CasinoGameThumbnailNd-Dd7ctC-O.js} +1846 -1719
- package/components/{CasinoGameThumbnailNd-BudhhA2D.js → CasinoGameThumbnailNd-gUKjsbGI.js} +1819 -1692
- package/es2015/casino-game-thumbnail-nd.cjs +1 -1
- package/es2015/casino-game-thumbnail-nd.js +1 -1
- package/esnext/casino-game-thumbnail-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGameThumbnailNd-k0SNLndF.cjs +0 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGameThumbnailNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGameThumbnailNd-Bvgf_Wuq.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoGameThumbnailNd-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoGameThumbnailNd-Dd7ctC-O.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-game-thumbnail-nd") && customElements.define("casino-game-thumbnail-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";var ta=Object.defineProperty,ra=Object.defineProperties;var na=Object.getOwnPropertyDescriptors;var Jr=Object.getOwnPropertySymbols;var ia=Object.prototype.hasOwnProperty,aa=Object.prototype.propertyIsEnumerable;var ur=(e,t,r)=>t in e?ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Kr=(e,t)=>{for(var r in t||(t={}))ia.call(t,r)&&ur(e,r,t[r]);if(Jr)for(var r of Jr(t))aa.call(t,r)&&ur(e,r,t[r]);return e},en=(e,t)=>ra(e,na(t));var W=(e,t,r)=>(ur(e,typeof t!="symbol"?t+"":t,r),r);var Tt=(e,t,r)=>new Promise((n,i)=>{var a=l=>{try{s(r.next(l))}catch(u){i(u)}},o=l=>{try{s(r.throw(l))}catch(u){i(u)}},s=l=>l.done?n(l.value):Promise.resolve(l.value).then(a,o);s((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-image-BX-FBhad.cjs");function se(){}function Xn(e){return e()}function tn(){return Object.create(null)}function mt(e){e.forEach(Xn)}function Rr(e){return typeof e=="function"}function qn(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ct;function rn(e,t){return e===t?!0:(Ct||(Ct=document.createElement("a")),Ct.href=t,e===Ct.href)}function oa(e){return Object.keys(e).length===0}function Zn(e,...t){if(e==null){for(const n of t)n(void 0);return se}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function sa(e,t,r){e.$$.on_destroy.push(Zn(t,r))}function _(e,t){e.appendChild(t)}function la(e,t,r){const n=ua(e);if(!n.getElementById(t)){const i=G("style");i.id=t,i.textContent=r,fa(n,i)}}function ua(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function fa(e,t){return _(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function P(e){e.parentNode&&e.parentNode.removeChild(e)}function Qn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function G(e){return document.createElement(e)}function ie(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function $(e){return document.createTextNode(e)}function Y(){return $(" ")}function dt(){return $("")}function ca(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function p(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Ae(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:p(e,t,r)}function ha(e){return Array.from(e.childNodes)}function K(e,t){t=""+t,e.data!==t&&(e.data=t)}function nn(e,t,r){e.classList.toggle(t,!!r)}class ut{constructor(t=!1){W(this,"is_svg",!1);W(this,"e");W(this,"n");W(this,"t");W(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,r,n=null){this.e||(this.is_svg?this.e=ie(r.nodeName):this.e=G(r.nodeType===11?"TEMPLATE":r.nodeName),this.t=r.tagName!=="TEMPLATE"?r:r.content,this.c(t)),this.i(n)}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 r=0;r<this.n.length;r+=1)A(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(P)}}function ma(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ft;function st(e){ft=e}function da(){if(!ft)throw new Error("Function called outside component initialization");return ft}function pa(e){da().$$.on_mount.push(e)}const Re=[],lt=[];let ke=[];const an=[],Jn=Promise.resolve();let wr=!1;function Kn(){wr||(wr=!0,Jn.then(T))}function nt(){return Kn(),Jn}function _r(e){ke.push(e)}const fr=new Set;let Me=0;function T(){if(Me!==0)return;const e=ft;do{try{for(;Me<Re.length;){const t=Re[Me];Me++,st(t),ga(t.$$)}}catch(t){throw Re.length=0,Me=0,t}for(st(null),Re.length=0,Me=0;lt.length;)lt.pop()();for(let t=0;t<ke.length;t+=1){const r=ke[t];fr.has(r)||(fr.add(r),r())}ke.length=0}while(Re.length);for(;an.length;)an.pop()();wr=!1,fr.clear(),st(e)}function ga(e){if(e.fragment!==null){e.update(),mt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(_r)}}function ba(e){const t=[],r=[];ke.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ke=t}const va=new Set;function ya(e,t){e&&e.i&&(va.delete(e),e.i(t))}function Ht(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function wa(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),_r(()=>{const a=e.$$.on_mount.map(Xn).filter(Rr);e.$$.on_destroy?e.$$.on_destroy.push(...a):mt(a),e.$$.on_mount=[]}),i.forEach(_r)}function _a(e,t){const r=e.$$;r.fragment!==null&&(ba(r.after_update),mt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function xa(e,t){e.$$.dirty[0]===-1&&(Re.push(e),Kn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ea(e,t,r,n,i,a,o=null,s=[-1]){const l=ft;st(e);const u=e.$$={fragment:null,ctx:[],props:a,update:se,not_equal:i,bound:tn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:tn(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let c=!1;if(u.ctx=r?r(e,t.props||{},(m,h,...d)=>{const v=d.length?d[0]:h;return u.ctx&&i(u.ctx[m],u.ctx[m]=v)&&(!u.skip_bound&&u.bound[m]&&u.bound[m](v),c&&xa(e,m)),h}):[],u.update(),c=!0,mt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const m=ha(t.target);u.fragment&&u.fragment.l(m),m.forEach(P)}else u.fragment&&u.fragment.c();t.intro&&ya(e.$$.fragment),wa(e,t.target,t.anchor),T()}st(l)}let ei;typeof HTMLElement=="function"&&(ei=class extends HTMLElement{constructor(t,r,n){super();W(this,"$$ctor");W(this,"$$s");W(this,"$$c");W(this,"$$cn",!1);W(this,"$$d",{});W(this,"$$r",!1);W(this,"$$p_d",{});W(this,"$$l",{});W(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return Tt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=G("slot"),a!=="default"&&p(o,"name",a)},m:function(u,c){A(u,o,c)},d:function(u){u&&P(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ma(this);for(const a of this.$$s)a in n&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Ot(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:en(Kr({},this.$$d),{$$slots:r,$$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=Ot(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,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ot(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Ot(e,t,r,n){var a;const i=(a=r[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ta(e,t,r,n,i,a){let o=class extends ei{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=Ot(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Ca{constructor(){W(this,"$$");W(this,"$$set")}$destroy(){_a(this,1),this.$destroy=se}$on(t,r){if(!Rr(r))return se;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!oa(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Sa="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Sa);function At(e){"@babel/helpers - typeof";return At=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},At(e)}function Se(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 Z(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function me(e){Z(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||At(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 Ga(e,t){Z(2,arguments);var r=me(e).getTime(),n=Se(t);return new Date(r+n)}var Oa={};function kt(){return Oa}function La(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 Ia(e){return Z(1,arguments),e instanceof Date||At(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Pa(e){if(Z(1,arguments),!Ia(e)&&typeof e!="number")return!1;var t=me(e);return!isNaN(Number(t))}function Ba(e,t){Z(2,arguments);var r=Se(t);return Ga(e,-r)}var Ha=864e5;function Aa(e){Z(1,arguments);var t=me(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/Ha)+1}function Mt(e){Z(1,arguments);var t=1,r=me(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function ti(e){Z(1,arguments);var t=me(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=Mt(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Mt(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function Ma(e){Z(1,arguments);var t=ti(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Mt(r);return n}var Na=6048e5;function Da(e){Z(1,arguments);var t=me(e),r=Mt(t).getTime()-Ma(t).getTime();return Math.round(r/Na)+1}function Nt(e,t){var r,n,i,a,o,s,l,u;Z(1,arguments);var c=kt(),m=Se((r=(n=(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&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&r!==void 0?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=me(e),d=h.getUTCDay(),v=(d<m?7:0)+d-m;return h.setUTCDate(h.getUTCDate()-v),h.setUTCHours(0,0,0,0),h}function ri(e,t){var r,n,i,a,o,s,l,u;Z(1,arguments);var c=me(e),m=c.getUTCFullYear(),h=kt(),d=Se((r=(n=(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:h.firstWeekContainsDate)!==null&&n!==void 0?n:(l=h.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(m+1,0,d),v.setUTCHours(0,0,0,0);var g=Nt(v,t),b=new Date(0);b.setUTCFullYear(m,0,d),b.setUTCHours(0,0,0,0);var w=Nt(b,t);return c.getTime()>=g.getTime()?m+1:c.getTime()>=w.getTime()?m:m-1}function Ra(e,t){var r,n,i,a,o,s,l,u;Z(1,arguments);var c=kt(),m=Se((r=(n=(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&&n!==void 0?n:(l=c.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&r!==void 0?r:1),h=ri(e,t),d=new Date(0);d.setUTCFullYear(h,0,m),d.setUTCHours(0,0,0,0);var v=Nt(d,t);return v}var Fa=6048e5;function ka(e,t){Z(1,arguments);var r=me(e),n=Nt(r,t).getTime()-Ra(r,t).getTime();return Math.round(n/Fa)+1}function I(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var we={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return I(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):I(n+1,2)},d:function(t,r){return I(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return I(t.getUTCHours()%12||12,r.length)},H:function(t,r){return I(t.getUTCHours(),r.length)},m:function(t,r){return I(t.getUTCMinutes(),r.length)},s:function(t,r){return I(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return I(a,r.length)}},Ne={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Ua={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return we.y(t,r)},Y:function(t,r,n,i){var a=ri(t,i),o=a>0?a:1-a;if(r==="YY"){var s=o%100;return I(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):I(o,r.length)},R:function(t,r){var n=ti(t);return I(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return I(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return I(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return I(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return we.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return I(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=ka(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):I(a,r.length)},I:function(t,r,n){var i=Da(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):I(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):we.d(t,r)},D:function(t,r,n){var i=Aa(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):I(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return I(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return I(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return I(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=Ne.noon:i===0?a=Ne.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=Ne.evening:i>=12?a=Ne.afternoon:i>=4?a=Ne.morning:a=Ne.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return we.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):we.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):I(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):I(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):we.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):we.s(t,r)},S:function(t,r){return we.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return sn(o);case"XXXX":case"XX":return Ce(o);case"XXXXX":case"XXX":default:return Ce(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return sn(o);case"xxxx":case"xx":return Ce(o);case"xxxxx":case"xxx":default:return Ce(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+on(o,":");case"OOOO":default:return"GMT"+Ce(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+on(o,":");case"zzzz":default:return"GMT"+Ce(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return I(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return I(o,r.length)}};function on(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+I(a,2)}function sn(e,t){if(e%60===0){var r=e>0?"-":"+";return r+I(Math.abs(e)/60,2)}return Ce(e,t)}function Ce(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=I(Math.floor(i/60),2),o=I(i%60,2);return n+a+r+o}var ln=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},ni=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},Wa=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return ln(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",ln(i,r)).replace("{{time}}",ni(a,r))},ja={p:ni,P:Wa},Va=["D","DD"],za=["YY","YYYY"];function Ya(e){return Va.indexOf(e)!==-1}function $a(e){return za.indexOf(e)!==-1}function un(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; 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(r,"`; 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(r,"`; 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(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Xa={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"}},qa=function(t,r,n){var i,a=Xa[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function cr(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var Za={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Qa={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Ja={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Ka={date:cr({formats:Za,defaultWidth:"full"}),time:cr({formats:Qa,defaultWidth:"full"}),dateTime:cr({formats:Ja,defaultWidth:"full"})},eo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},to=function(t,r,n,i){return eo[t]};function it(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var ro={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},no={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},io={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"]},ao={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"]},oo={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"}},so={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"}},lo=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},uo={ordinalNumber:lo,era:it({values:ro,defaultWidth:"wide"}),quarter:it({values:no,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:it({values:io,defaultWidth:"wide"}),day:it({values:ao,defaultWidth:"wide"}),dayPeriod:it({values:oo,defaultWidth:"wide",formattingValues:so,defaultFormattingWidth:"wide"})};function at(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?co(s,function(m){return m.test(o)}):fo(s,function(m){return m.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;var c=t.slice(o.length);return{value:u,rest:c}}}function fo(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function co(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function ho(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var mo=/^(\d+)(th|st|nd|rd)?/i,po=/\d+/i,go={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},bo={any:[/^b/i,/^(a|c)/i]},vo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yo={any:[/1/i,/2/i,/3/i,/4/i]},wo={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},_o={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]},xo={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},Eo={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]},To={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},Co={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}},So={ordinalNumber:ho({matchPattern:mo,parsePattern:po,valueCallback:function(t){return parseInt(t,10)}}),era:at({matchPatterns:go,defaultMatchWidth:"wide",parsePatterns:bo,defaultParseWidth:"any"}),quarter:at({matchPatterns:vo,defaultMatchWidth:"wide",parsePatterns:yo,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:at({matchPatterns:wo,defaultMatchWidth:"wide",parsePatterns:_o,defaultParseWidth:"any"}),day:at({matchPatterns:xo,defaultMatchWidth:"wide",parsePatterns:Eo,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:To,defaultMatchWidth:"any",parsePatterns:Co,defaultParseWidth:"any"})},Go={code:"en-US",formatDistance:qa,formatLong:Ka,formatRelative:to,localize:uo,match:So,options:{weekStartsOn:0,firstWeekContainsDate:1}},Oo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Io=/^'([^]*?)'?$/,Po=/''/g,Bo=/[a-zA-Z]/;function fn(e,t,r){var n,i,a,o,s,l,u,c,m,h,d,v,g,b;Z(2,arguments);var w=String(t),O=kt(),R=(n=(i=void 0)!==null&&i!==void 0?i:O.locale)!==null&&n!==void 0?n:Go,ee=Se((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:O.firstWeekContainsDate)!==null&&o!==void 0?o:(u=O.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(ee>=1&&ee<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var j=Se((m=(h=(d=(v=void 0)!==null&&v!==void 0?v:void 0)!==null&&d!==void 0?d:O.weekStartsOn)!==null&&h!==void 0?h:(g=O.locale)===null||g===void 0||(b=g.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&m!==void 0?m:0);if(!(j>=0&&j<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!R.localize)throw new RangeError("locale must contain localize property");if(!R.formatLong)throw new RangeError("locale must contain formatLong property");var Q=me(e);if(!Pa(Q))throw new RangeError("Invalid time value");var ge=La(Q),Oe=Ba(Q,ge),bt={firstWeekContainsDate:ee,weekStartsOn:j,locale:R,_originalDate:Q},le=w.match(Lo).map(function(k){var X=k[0];if(X==="p"||X==="P"){var xe=ja[X];return xe(k,R.formatLong)}return k}).join("").match(Oo).map(function(k){if(k==="''")return"'";var X=k[0];if(X==="'")return Ho(k);var xe=Ua[X];if(xe)return $a(k)&&un(k,t,String(e)),Ya(k)&&un(k,t,String(e)),xe(Oe,k,R.localize,bt);if(X.match(Bo))throw new RangeError("Format string contains an unescaped latin alphabet character `"+X+"`");return k}).join("");return le}function Ho(e){var t=e.match(Io);return t?t[1].replace(Po,"'"):e}/*! *****************************************************************************
|
|
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 xr=function(e,t){return xr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},xr(e,t)};function pt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xr(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Er(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tr(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a}function Cr(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||t)}function pe(e){return typeof e=="function"}function ii(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var hr=ii(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
15
|
-
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
16
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Sr(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ut=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Er(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(g){t={error:g}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(pe(c))try{c()}catch(g){a=g instanceof hr?g.errors:[g]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var h=Er(m),d=h.next();!d.done;d=h.next()){var v=d.value;try{cn(v)}catch(g){a=a!=null?a:[],g instanceof hr?a=Cr(Cr([],Tr(a)),Tr(g.errors)):a.push(g)}}}catch(g){n={error:g}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(n)throw n.error}}}if(a)throw new hr(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)cn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Sr(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Sr(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),ai=Ut.EMPTY;function oi(e){return e instanceof Ut||e&&"closed"in e&&pe(e.remove)&&pe(e.add)&&pe(e.unsubscribe)}function cn(e){pe(e)?e():e.unsubscribe()}var Ao={Promise:void 0},Mo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Cr([e,t],Tr(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function No(e){Mo.setTimeout(function(){throw e})}function hn(){}function Lt(e){e()}var si=function(e){pt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,oi(r)&&r.add(n)):n.destination=Fo,n}return t.create=function(r,n,i){return new Gr(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ut),Do=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){St(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){St(n)}else St(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){St(r)}},e}(),Gr=function(e){pt(t,e);function t(r,n,i){var a=e.call(this)||this,o;return pe(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:o=r,a.destination=new Do(o),a}return t}(si);function St(e){No(e)}function Ro(e){throw e}var Fo={closed:!0,next:hn,error:Ro,complete:hn},ko=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Uo(e){return e}function Wo(e){return e.length===0?Uo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var mn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,a=Vo(t)?t:new Gr(t,r,n);return Lt(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(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=dn(r),new r(function(i,a){var o=new Gr({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});n.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ko]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Wo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=dn(t),new t(function(n,i){var a;r.subscribe(function(o){return a=o},function(o){return i(o)},function(){return n(a)})})},e.create=function(t){return new e(t)},e}();function dn(e){var t;return(t=e!=null?e:Ao.Promise)!==null&&t!==void 0?t:Promise}function jo(e){return e&&pe(e.next)&&pe(e.error)&&pe(e.complete)}function Vo(e){return e&&e instanceof si||jo(e)&&oi(e)}var zo=ii(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),li=function(e){pt(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new pn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new zo},t.prototype.next=function(r){var n=this;Lt(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Er(n.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(r)}}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(r){var n=this;Lt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Lt(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?ai:(this.currentObservers=null,s.push(r),new Ut(function(){n.currentObservers=null,Sr(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,a=n.thrownError,o=n.isStopped;i?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new mn;return r.source=this,r},t.create=function(r,n){return new pn(r,n)},t}(mn),pn=function(e){pt(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:ai},t}(li),ui={now:function(){return(ui.delegate||Date).now()},delegate:void 0},Yo=function(e){pt(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=ui);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=n,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,n),a}return t.prototype.next=function(r){var n=this,i=n.isStopped,a=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,l=n._windowTime;i||(a.push(r),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!r.closed;l+=a?1:2)r.next(s[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<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}(li);const gn=[],bn={},$o=(e,t=0)=>{if(gn.indexOf(e)==-1){const r=new Yo(t);bn[e]=r,gn.push(e)}return bn[e]},De=[];function Xo(e,t){return{subscribe:Wt(e,t).subscribe}}function Wt(e,t=se){let r;const n=new Set;function i(s){if(qn(e,s)&&(e=s,r)){const l=!De.length;for(const u of n)u[1](),De.push(u,e);if(l){for(let u=0;u<De.length;u+=2)De[u][0](De[u+1]);De.length=0}}}function a(s){i(s(e))}function o(s,l=se){const u=[s,l];return n.add(u),n.size===1&&(r=t(i,a)||se),s(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:a,subscribe:o}}function ze(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Xo(r,(o,s)=>{let l=!1;const u=[];let c=0,m=se;const h=()=>{if(c)return;m();const v=t(n?u[0]:u,o,s);a?o(v):m=Rr(v)?v:se},d=i.map((v,g)=>Zn(v,b=>{u[g]=b,c&=~(1<<g),l&&h()},()=>{c|=1<<g}));return l=!0,h(),function(){mt(d),m(),l=!1}})}function qo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zo=function(t){return Qo(t)&&!Jo(t)};function Qo(e){return!!e&&typeof e=="object"}function Jo(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ts(e)}var Ko=typeof Symbol=="function"&&Symbol.for,es=Ko?Symbol.for("react.element"):60103;function ts(e){return e.$$typeof===es}function rs(e){return Array.isArray(e)?[]:{}}function ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ue(rs(e),e,t):e}function ns(e,t,r){return e.concat(t).map(function(n){return ct(n,r)})}function is(e,t){if(!t.customMerge)return Ue;var r=t.customMerge(e);return typeof r=="function"?r:Ue}function as(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function vn(e){return Object.keys(e).concat(as(e))}function fi(e,t){try{return t in e}catch(r){return!1}}function os(e,t){return fi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ss(e,t,r){var n={};return r.isMergeableObject(e)&&vn(e).forEach(function(i){n[i]=ct(e[i],r)}),vn(t).forEach(function(i){os(e,i)||(fi(e,i)&&r.isMergeableObject(t[i])?n[i]=is(i,r)(e[i],t[i],r):n[i]=ct(t[i],r))}),n}function Ue(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ns,r.isMergeableObject=r.isMergeableObject||Zo,r.cloneUnlessOtherwiseSpecified=ct;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):ss(e,t,r):ct(t,r)}Ue.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Ue(n,i,r)},{})};var ls=Ue,us=ls;const fs=qo(us);var Or=function(e,t){return Or=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Or(e,t)};function jt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Or(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var he=function(){return he=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},he.apply(this,arguments)};function cs(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function mr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function dr(e,t){var r=t&&t.cache?t.cache:vs,n=t&&t.serializer?t.serializer:gs,i=t&&t.strategy?t.strategy:ds;return i(e,{cache:r,serializer:n})}function hs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ms(e,t,r,n){var i=hs(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function ci(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,n),t.set(i,a)),a}function hi(e,t,r,n,i){return r.bind(t,e,n,i)}function ds(e,t){var r=e.length===1?ms:ci;return hi(e,this,r,t.cache.create(),t.serializer)}function ps(e,t){return hi(e,this,ci,t.cache.create(),t.serializer)}var gs=function(){return JSON.stringify(arguments)},bs=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),vs={create:function(){return new bs}},pr={variadic:ps},Dt=function(){return Dt=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Dt.apply(this,arguments)};var C;(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"})(C||(C={}));var N;(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"})(N||(N={}));var We;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(We||(We={}));function yn(e){return e.type===N.literal}function ys(e){return e.type===N.argument}function mi(e){return e.type===N.number}function di(e){return e.type===N.date}function pi(e){return e.type===N.time}function gi(e){return e.type===N.select}function bi(e){return e.type===N.plural}function ws(e){return e.type===N.pound}function vi(e){return e.type===N.tag}function yi(e){return!!(e&&typeof e=="object"&&e.type===We.number)}function Lr(e){return!!(e&&typeof e=="object"&&e.type===We.dateTime)}var wi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_s=/(?:[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 xs(e){var t={};return e.replace(_s,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var F=function(){return F=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},F.apply(this,arguments)};var Es=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ts(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Es).filter(function(h){return h.length>0}),r=[],n=0,i=t;n<i.length;n++){var a=i[n],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 m=c[u];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function Cs(e){return e.replace(/^(.*?)-/,"")}var wn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,_i=/^(@+)?(\+|#+)?[rs]?$/g,Ss=/(\*)(0+)|(#+)(0+)|(0+)/g,xi=/^(0+)$/;function _n(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(_i,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ei(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 Gs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!xi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function xn(e){var t={},r=Ei(e);return r||t}function Os(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Cs(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=F(F(F({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return F(F({},l),xn(u))},{}));continue;case"engineering":t=F(F(F({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return F(F({},l),xn(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(Ss,function(l,u,c,m,h,d){if(u)t.minimumIntegerDigits=c.length;else{if(m&&h)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(xi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(wn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wn,function(l,u,c,m,h,d){return c==="*"?t.minimumFractionDigits=u.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:h&&d?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=F(F({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=F(F({},t),_n(a)));continue}if(_i.test(i.stem)){t=F(F({},t),_n(i.stem));continue}var o=Ei(i.stem);o&&(t=F(F({},t),o));var s=Gs(i.stem);s&&(t=F(F({},t),s))}return t}var Gt={"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 Ls(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(a&1),s=a<2?1:3+(a>>1),l="a",u=Is(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Is(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Gt[n||""]||Gt[r||""]||Gt["".concat(r,"-001")]||Gt["001"];return i[0]}var gr,Ps=new RegExp("^".concat(wi.source,"*")),Bs=new RegExp("".concat(wi.source,"*$"));function S(e,t){return{start:e,end:t}}var Hs=!!String.prototype.startsWith&&"_a".startsWith("a",1),As=!!String.fromCodePoint,Ms=!!Object.fromEntries,Ns=!!String.prototype.codePointAt,Ds=!!String.prototype.trimStart,Rs=!!String.prototype.trimEnd,Fs=!!Number.isSafeInteger,ks=Fs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ir=!0;try{var Us=Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ir=((gr=Us.exec("a"))===null||gr===void 0?void 0:gr[0])==="a"}catch(e){Ir=!1}var En=Hs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Pr=As?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},Tn=Ms?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var a=i[n],o=a[0],s=a[1];r[o]=s}return r},Ti=Ns?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},Ws=Ds?function(t){return t.trimStart()}:function(t){return t.replace(Ps,"")},js=Rs?function(t){return t.trimEnd()}:function(t){return t.replace(Bs,"")};function Ci(e,t){return new RegExp(e,t)}var Br;if(Ir){var Cn=Ci("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Br=function(t,r){var n;Cn.lastIndex=r;var i=Cn.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Br=function(t,r){for(var n=[];;){var i=Ti(t,r);if(i===void 0||Si(i)||$s(i))break;n.push(i),r+=i>=65536?2:1}return Pr.apply(void 0,n)};var Vs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:N.pound,location:S(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(C.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Hr(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:N.literal,value:"<".concat(i,"/>"),location:S(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hr(this.char()))return this.error(C.INVALID_TAG,S(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(C.UNMATCHED_CLOSING_TAG,S(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:N.tag,value:i,children:o,location:S(n,this.clonePosition())},err:null}:this.error(C.INVALID_TAG,S(s,this.clonePosition())))}else return this.error(C.UNCLOSED_TAG,S(n,this.clonePosition()))}else return this.error(C.INVALID_TAG,S(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ys(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=S(n,this.clonePosition());return{val:{type:N.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!zs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Pr.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Pr(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(C.EMPTY_ARGUMENT,S(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(C.MALFORMED_ARGUMENT,S(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:N.argument,value:i,location:S(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(C.MALFORMED_ARGUMENT,S(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Br(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=S(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(C.EXPECT_ARGUMENT_TYPE,S(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var h=js(m.val);if(h.length===0)return this.error(C.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var d=S(c,this.clonePosition());u={style:h,styleLocation:d}}var v=this.tryParseArgumentClose(i);if(v.err)return v;var g=S(i,this.clonePosition());if(u&&En(u==null?void 0:u.style,"::",0)){var b=Ws(u.style.slice(2));if(s==="number"){var m=this.parseNumberSkeletonFromString(b,u.styleLocation);return m.err?m:{val:{type:N.number,value:n,location:g,style:m.val},err:null}}else{if(b.length===0)return this.error(C.EXPECT_DATE_TIME_SKELETON,g);var w=b;this.locale&&(w=Ls(b,this.locale));var h={type:We.dateTime,pattern:w,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?xs(w):{}},O=s==="date"?N.date:N.time;return{val:{type:O,value:n,location:g,style:h},err:null}}}return{val:{type:s==="number"?N.number:s==="date"?N.date:N.time,value:n,location:g,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(C.EXPECT_SELECT_ARGUMENT_OPTIONS,S(R,Dt({},R)));this.bumpSpace();var ee=this.parseIdentifierIfPossible(),j=0;if(s!=="select"&&ee.value==="offset"){if(!this.bumpIf(":"))return this.error(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,C.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),ee=this.parseIdentifierIfPossible(),j=m.val}var Q=this.tryParsePluralOrSelectOptions(t,s,r,ee);if(Q.err)return Q;var v=this.tryParseArgumentClose(i);if(v.err)return v;var ge=S(i,this.clonePosition());return s==="select"?{val:{type:N.select,value:n,options:Tn(Q.val),location:ge},err:null}:{val:{type:N.plural,value:n,options:Tn(Q.val),offset:j,pluralType:s==="plural"?"cardinal":"ordinal",location:ge},err:null}}default:return this.error(C.INVALID_ARGUMENT_TYPE,S(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(C.EXPECT_ARGUMENT_CLOSING_BRACE,S(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(C.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Ts(t)}catch(i){return this.error(C.INVALID_NUMBER_SKELETON,r)}return{val:{type:We.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Os(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(u.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(C.EXPECT_PLURAL_ARGUMENT_SELECTOR,C.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=S(m,this.clonePosition()),u=this.message.slice(m.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?C.DUPLICATE_SELECT_ARGUMENT_SELECTOR:C.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?C.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:C.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,n);if(v.err)return v;var g=this.tryParseArgumentClose(d);if(g.err)return g;s.push([u,{value:v.val,location:S(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,c=a.location}return s.length===0?this.error(r==="select"?C.EXPECT_SELECT_ARGUMENT_SELECTOR:C.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(C.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var 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=S(i,this.clonePosition());return a?(o*=n,ks(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ti(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(En(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Si(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function Hr(e){return e>=97&&e<=122||e>=65&&e<=90}function zs(e){return Hr(e)||e===47}function Ys(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 Si(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function $s(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 Ar(e){e.forEach(function(t){if(delete t.location,gi(t)||bi(t))for(var r in t.options)delete t.options[r].location,Ar(t.options[r].value);else mi(t)&&yi(t.style)||(di(t)||pi(t))&&Lr(t.style)?delete t.style.location:vi(t)&&Ar(t.children)})}function Xs(e,t){t===void 0&&(t={}),t=Dt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Vs(e,t).parse();if(r.err){var n=SyntaxError(C[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ar(r.val),r.val}var je;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(je||(je={}));var Vt=function(e){jt(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Sn=function(e){jt(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),je.INVALID_VALUE,a)||this}return t}(Vt),qs=function(e){jt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),je.INVALID_VALUE,i)||this}return t}(Vt),Zs=function(e){jt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),je.MISSING_VALUE,n)||this}return t}(Vt),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function Qs(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==q.literal||r.type!==q.literal?t.push(r):n.value+=r.value,t},[])}function Js(e){return typeof e=="function"}function It(e,t,r,n,i,a,o){if(e.length===1&&yn(e[0]))return[{type:q.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(yn(c)){s.push({type:q.literal,value:c.value});continue}if(ws(c)){typeof a=="number"&&s.push({type:q.literal,value:r.getNumberFormat(t).format(a)});continue}var m=c.value;if(!(i&&m in i))throw new Zs(m,o);var h=i[m];if(ys(c)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),s.push({type:typeof h=="string"?q.literal:q.object,value:h});continue}if(di(c)){var d=typeof c.style=="string"?n.date[c.style]:Lr(c.style)?c.style.parsedOptions:void 0;s.push({type:q.literal,value:r.getDateTimeFormat(t,d).format(h)});continue}if(pi(c)){var d=typeof c.style=="string"?n.time[c.style]:Lr(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:q.literal,value:r.getDateTimeFormat(t,d).format(h)});continue}if(mi(c)){var d=typeof c.style=="string"?n.number[c.style]:yi(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(h=h*(d.scale||1)),s.push({type:q.literal,value:r.getNumberFormat(t,d).format(h)});continue}if(vi(c)){var v=c.children,g=c.value,b=i[g];if(!Js(b))throw new qs(g,"function",o);var w=It(v,t,r,n,i,a),O=b(w.map(function(j){return j.value}));Array.isArray(O)||(O=[O]),s.push.apply(s,O.map(function(j){return{type:typeof j=="string"?q.literal:q.object,value:j}}))}if(gi(c)){var R=c.options[h]||c.options.other;if(!R)throw new Sn(c.value,h,Object.keys(c.options),o);s.push.apply(s,It(R.value,t,r,n,i));continue}if(bi(c)){var R=c.options["=".concat(h)];if(!R){if(!Intl.PluralRules)throw new Vt(`Intl.PluralRules is not available in this environment.
|
|
17
|
-
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
-
`,je.MISSING_INTL_API,o);var ee=r.getPluralRules(t,{type:c.pluralType}).select(h-(c.offset||0));R=c.options[ee]||c.options.other}if(!R)throw new Sn(c.value,h,Object.keys(c.options),o);s.push.apply(s,It(R.value,t,r,n,i,h-(c.offset||0)));continue}}return Qs(s)}function Ks(e,t){return t?he(he(he({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=he(he({},e[n]),t[n]||{}),r},{})):e}function el(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Ks(e[n],t[n]),r},he({},e)):e}function br(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function tl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:dr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,mr([void 0],r,!1)))},{cache:br(e.number),strategy:pr.variadic}),getDateTimeFormat:dr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,mr([void 0],r,!1)))},{cache:br(e.dateTime),strategy:pr.variadic}),getPluralRules:dr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,mr([void 0],r,!1)))},{cache:br(e.pluralRules),strategy:pr.variadic})}}var rl=function(){function e(t,r,n,i){r===void 0&&(r=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(m,h){return!m.length||h.type!==q.literal||typeof m[m.length-1]!="string"?m.push(h.value):m[m.length-1]+=h.value,m},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return It(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=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=cs(o,["formatters"]);this.ast=e.__parse(t,he(he({},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=el(e.formats,n),this.formatters=i&&i.formatters||tl(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Xs,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 nl(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const a=r.slice(i,r.length).join(".");if(a in n){n=n[a];break}}n=n[r[i]]}else n=void 0;return n}const _e={},il=(e,t,r)=>r&&(t in _e||(_e[t]={}),e in _e[t]||(_e[t][e]=r),r),Gi=(e,t)=>{if(t==null)return;if(t in _e&&e in _e[t])return _e[t][e];const r=zt(t);for(let n=0;n<r.length;n++){const i=r[n],a=ol(i,e);if(a)return il(e,t,a)}};let Fr;const gt=Wt({});function al(e){return Fr[e]||null}function Oi(e){return e in Fr}function ol(e,t){if(!Oi(e))return null;const r=al(e);return nl(r,t)}function sl(e){if(e==null)return;const t=zt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Oi(n))return n}}function Li(e,...t){delete _e[e],gt.update(r=>(r[e]=fs.all([r[e]||{},...t]),r))}ze([gt],([e])=>Object.keys(e));gt.subscribe(e=>Fr=e);const Pt={};function ll(e,t){Pt[e].delete(t),Pt[e].size===0&&delete Pt[e]}function Ii(e){return Pt[e]}function ul(e){return zt(e).map(t=>{const r=Ii(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Mr(e){return e==null?!1:zt(e).some(t=>{var r;return(r=Ii(t))==null?void 0:r.size})}function fl(e,t){return Promise.all(t.map(n=>(ll(e,n),n().then(i=>i.default||i)))).then(n=>Li(e,...n))}const ot={};function Pi(e){if(!Mr(e))return e in ot?ot[e]:Promise.resolve();const t=ul(e);return ot[e]=Promise.all(t.map(([r,n])=>fl(r,n))).then(()=>{if(Mr(e))return Pi(e);delete ot[e]}),ot[e]}const cl={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"}}},hl={fallbackLocale:null,loadingDelay:200,formats:cl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ml=hl;function Ve(){return ml}const vr=Wt(!1);var dl=Object.defineProperty,pl=Object.defineProperties,gl=Object.getOwnPropertyDescriptors,Gn=Object.getOwnPropertySymbols,bl=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,On=(e,t,r)=>t in e?dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,yl=(e,t)=>{for(var r in t||(t={}))bl.call(t,r)&&On(e,r,t[r]);if(Gn)for(var r of Gn(t))vl.call(t,r)&&On(e,r,t[r]);return e},wl=(e,t)=>pl(e,gl(t));let Nr;const Rt=Wt(null);function Ln(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function zt(e,t=Ve().fallbackLocale){const r=Ln(e);return t?[...new Set([...r,...Ln(t)])]:r}function Ge(){return Nr!=null?Nr:void 0}Rt.subscribe(e=>{Nr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const _l=e=>{if(e&&sl(e)&&Mr(e)){const{loadingDelay:t}=Ve();let r;return typeof window!="undefined"&&Ge()!=null&&t?r=window.setTimeout(()=>vr.set(!0),t):vr.set(!0),Pi(e).then(()=>{Rt.set(e)}).finally(()=>{clearTimeout(r),vr.set(!1)})}return Rt.set(e)},Ye=wl(yl({},Rt),{set:_l}),Yt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var xl=Object.defineProperty,Ft=Object.getOwnPropertySymbols,Bi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable,In=(e,t,r)=>t in e?xl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,kr=(e,t)=>{for(var r in t||(t={}))Bi.call(t,r)&&In(e,r,t[r]);if(Ft)for(var r of Ft(t))Hi.call(t,r)&&In(e,r,t[r]);return e},$e=(e,t)=>{var r={};for(var n in e)Bi.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ft)for(var n of Ft(e))t.indexOf(n)<0&&Hi.call(e,n)&&(r[n]=e[n]);return r};const ht=(e,t)=>{const{formats:r}=Ve();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},El=Yt(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ht("number",n)),new Intl.NumberFormat(r,i)}),Tl=Yt(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ht("date",n):Object.keys(i).length===0&&(i=ht("date","short")),new Intl.DateTimeFormat(r,i)}),Cl=Yt(e=>{var t=e,{locale:r,format:n}=t,i=$e(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ht("time",n):Object.keys(i).length===0&&(i=ht("time","short")),new Intl.DateTimeFormat(r,i)}),Sl=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return El(kr({locale:r},n))},Gl=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return Tl(kr({locale:r},n))},Ol=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return Cl(kr({locale:r},n))},Ll=Yt((e,t=Ge())=>new rl(e,t,Ve().formats,{ignoreTag:Ve().ignoreTag})),Il=(e,t={})=>{var r,n,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:l=Ge(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Gi(e,l);if(!c)c=(a=(i=(n=(r=Ve()).handleMissingMessage)==null?void 0:n.call(r,{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 m=c;try{m=Ll(c,l).format(s)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return m},Pl=(e,t)=>Ol(t).format(e),Bl=(e,t)=>Gl(t).format(e),Hl=(e,t)=>Sl(t).format(e),Al=(e,t=Ge())=>Gi(e,t),Ml=ze([Ye,gt],()=>Il);ze([Ye],()=>Pl);ze([Ye],()=>Bl);ze([Ye],()=>Hl);ze([Ye,gt],()=>Al);window.emWidgets={topic:$o};const J=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)),Nl=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 Dl(e,t){Li(e,t)}function Rl(e){Ye.set(e)}const Fe="__WIDGET_GLOBAL_STYLE_CACHE__";function Fl(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Pn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function kl(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ul(e,t),r;window[Fe]||(window[Fe]={}),r=Wl(e,t);const a=r.unsubscribe.bind(r),o=()=>{if(window[Fe][t]){const s=window[Fe][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Fe][t]}a()};return r.unsubscribe=o,r}function Ul(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Wl(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),i=window[Fe];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(r),i[t]={sheet:a,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(a)||(n.adoptedStyleSheets=[...o,a])})}const jl={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"}},Bn={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 Vl(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function zl(e){la(e,"svelte-1xaen5a",'*,*::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;z-index:10}.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.HasDisplayGameTiles .GameExtraInfoContainer{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;justify-content:space-between;padding:8px 10px;pointer-events:none;z-index:10;height:100%}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{display:flex;justify-content:space-between;align-items:center;width:100%;pointer-events:auto;gap:6px;min-width:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{margin-bottom:2px}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{display:flex;align-items:center;gap:4px;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:11px;font-weight:600;color:#ffffff;text-shadow:0 1px 3px rgba(0, 0, 0, 0.9);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{display:flex;align-items:center;gap:3px;background:rgba(0, 0, 0, 0.75);padding:2px 5px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:600;flex-shrink:0;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9)}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers svg{fill:#ffffff !important;width:10px;height:10px;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{background:rgba(0, 0, 0, 0.65);padding:2px 4px;border-radius:4px;display:inline-flex !important;flex-direction:row !important;align-items:center !important;gap:2px !important;flex-shrink:1;min-width:0;overflow:hidden}.GameInnerContainer.HasDisplayGameTiles .FullTable{display:inline-flex !important;background:rgba(180, 0, 0, 0.85) !important;color:#ffffff !important;padding:2px 5px !important;border-radius:3px;font-size:9px !important;font-weight:600;white-space:nowrap;text-transform:uppercase}.GameInnerContainer.HasDisplayGameTiles .LatestResult{background:rgba(30, 30, 30, 0.9) !important;border:1px solid rgba(255, 255, 255, 0.3) !important;color:#ffffff !important;padding:1px 3px !important;border-radius:3px;font-size:10px !important;font-weight:bold;min-width:14px;text-align:center;display:inline-block;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat{display:inline-flex !important;width:10px !important;height:10px !important;margin:0 1px !important;flex-shrink:0}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg,.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{width:100% !important;height:100% !important}.GameInnerContainer.HasDisplayGameTiles .OpenSeat svg{fill:rgba(255, 255, 255, 0.25) !important;stroke:#ffffff !important;stroke-width:1px}.GameInnerContainer.HasDisplayGameTiles .ClosedSeat svg{fill:#ffffff !important;stroke:#ffffff !important}.GameInnerContainer.HasDisplayGameTiles .CornerRoulette{background:transparent !important;padding:0 !important;min-width:0;overflow:hidden;flex-shrink:1}.GameInnerContainer.HasDisplayGameTiles .CornerLimits{background:rgba(0, 0, 0, 0.75);padding:3px 6px;border-radius:4px;font-size:10px;color:#ffffff;font-weight:500;text-shadow:0 1px 2px rgba(0, 0, 0, 0.9);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:1;min-width:0;max-width:75%;margin-left:auto}.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}@media(max-width: 768px){.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding:4px 6px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoTop{flex-direction:column !important;align-items:flex-start !important;gap:1px !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopLeft{width:100% !important;max-width:100% !important}.GameInnerContainer.HasDisplayGameTiles .InfoTopRight{align-self:flex-start !important}.GameInnerContainer.HasDisplayGameTiles .DealerName{font-size:10px;white-space:normal !important;word-break:break-word;line-height:1.1}.GameInnerContainer.HasDisplayGameTiles .CornerPlayers{font-size:8.5px;padding:1px 3px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom{flex-direction:column !important;align-items:stretch !important;gap:2px !important;margin-bottom:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons{width:100% !important;max-width:100% !important;justify-content:center !important;flex-wrap:wrap !important;overflow:visible !important;background:rgba(0, 0, 0, 0.75) !important;padding:1px 2px !important;border-radius:3px;order:1}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons:empty{display:none !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .LatestResult{font-size:7.5px !important;padding:0px 1px !important;min-width:9px !important;border-width:1px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double{display:flex;flex-direction:column;gap:1px}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .Double .LatestResult{font-size:7px !important;padding:0px 1px !important;min-width:8px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .FullTable{font-size:7.5px !important;padding:1px 2px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .OpenSeat,.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .LiveIcons .ClosedSeat{width:7px !important;height:7px !important;margin:0 0.5px !important}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoBottom .CornerLimits{width:100% !important;max-width:100% !important;margin-left:0 !important;text-align:center !important;font-size:9px !important;padding:1px 4px !important;order:2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}.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);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg)}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{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}.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}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.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 .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emw--casino-thumbnail-animation-color, #FFFFFF)}.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 .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-size:var(--emw--font-size-x-small, 12px)}.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}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}.GameInnerContainer.HasDisplayGameTiles .GameExtraInfoContainer{padding-top:5px}}')}function Hn(e,t,r){const n=e.slice();return n[112]=t[r],n[114]=r,n}function An(e,t,r){const n=e.slice();return n[109]=t[r],n}function Mn(e){let t,r,n,i=!J(e[35]),a,o,s=e[34]("playNow")+"",l,u,c,m=i&&Yl();return{c(){t=G("div"),r=G("div"),n=G("button"),m&&m.c(),a=Y(),o=G("span"),l=$(s),p(n,"class","GameInfoBtn"),p(r,"class","GameInfo"),p(t,"class","GameInfoWrapper")},m(h,d){A(h,t,d),_(t,r),_(r,n),m&&m.m(n,null),_(n,a),_(n,o),_(o,l),u||(c=ca(t,"click",e[70]),u=!0)},p(h,d){d[1]&8&&s!==(s=h[34]("playNow")+"")&&K(l,s)},d(h){h&&P(t),m&&m.d(),u=!1,c()}}}function Yl(e){let t,r,n,i,a,o;return{c(){t=ie("svg"),r=ie("g"),n=ie("g"),i=ie("path"),a=ie("path"),o=ie("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(n,"id","Ellipse_664_copy"),p(n,"data-name","Ellipse 664 copy"),p(n,"transform","translate(26 13)"),p(n,"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(r,"id","Group_5260"),p(r,"data-name","Group 5260"),p(r,"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){A(s,t,l),_(t,r),_(r,n),_(n,i),_(n,a),_(r,o)},d(s){s&&P(t)}}}function $l(e){let t,r,n=e[40](e[31])+"",i,a,o=e[39](e[23],e[24],e[22])+"";return{c(){t=G("div"),r=new ut(!1),i=Y(),a=new ut(!1),r.a=i,a.a=null,p(t,"class","LiveProps")},m(s,l){A(s,t,l),r.m(n,t),_(t,i),a.m(o,t)},p(s,l){l[1]&1&&n!==(n=s[40](s[31])+"")&&r.p(n),l[0]&29360128&&o!==(o=s[39](s[23],s[24],s[22])+"")&&a.p(o)},d(s){s&&P(t)}}}function Xl(e){let t,r,n,i,a,o,s,l,u,c=e[4]&&Nn(e),m=e[5]&&Dn(e),h=e[31]&&Rn(e),d=e[32]&&Fn(e),v=(e[12]||e[10])&&kn(e),g=e[23]!=null&&Vn(e);return{c(){t=G("div"),r=G("div"),c&&c.c(),n=Y(),m&&m.c(),i=Y(),h&&h.c(),a=Y(),o=G("div"),d&&d.c(),s=Y(),l=G("div"),v&&v.c(),u=Y(),g&&g.c(),p(r,"class","InfoTopLeft"),p(o,"class","InfoTopRight"),p(t,"class","GameExtraInfoTop"),p(l,"class","GameExtraInfoBottom")},m(b,w){A(b,t,w),_(t,r),c&&c.m(r,null),_(r,n),m&&m.m(r,null),_(r,i),h&&h.m(r,null),_(t,a),_(t,o),d&&d.m(o,null),A(b,s,w),A(b,l,w),v&&v.m(l,null),_(l,u),g&&g.m(l,null)},p(b,w){b[4]?c?c.p(b,w):(c=Nn(b),c.c(),c.m(r,n)):c&&(c.d(1),c=null),b[5]?m?m.p(b,w):(m=Dn(b),m.c(),m.m(r,i)):m&&(m.d(1),m=null),b[31]?h?h.p(b,w):(h=Rn(b),h.c(),h.m(r,null)):h&&(h.d(1),h=null),b[32]?d?d.p(b,w):(d=Fn(b),d.c(),d.m(o,null)):d&&(d.d(1),d=null),b[12]||b[10]?v?v.p(b,w):(v=kn(b),v.c(),v.m(l,u)):v&&(v.d(1),v=null),b[23]!=null?g?g.p(b,w):(g=Vn(b),g.c(),g.m(l,null)):g&&(g.d(1),g=null)},d(b){b&&(P(t),P(s),P(l)),c&&c.d(),m&&m.d(),h&&h.d(),d&&d.d(),v&&v.d(),g&&g.d()}}}function Nn(e){let t,r=e[34]("new")+"",n;return{c(){t=G("span"),n=$(r),p(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){A(i,t,a),_(t,n)},p(i,a){a[1]&8&&r!==(r=i[34]("new")+"")&&K(n,r)},d(i){i&&P(t)}}}function Dn(e){let t,r;return{c(){t=G("span"),r=$(e[5]),p(t,"class","GameExtraInfoLabel PopularGameTag")},m(n,i){A(n,t,i),_(t,r)},p(n,i){i[0]&32&&K(r,n[5])},d(n){n&&P(t)}}}function Rn(e){let t,r=e[34]("dealer")+"",n,i,a;return{c(){t=G("span"),n=$(r),i=$(": "),a=$(e[31]),p(t,"class","DealerName")},m(o,s){A(o,t,s),_(t,n),_(t,i),_(t,a)},p(o,s){s[1]&8&&r!==(r=o[34]("dealer")+"")&&K(n,r),s[1]&1&&K(a,o[31])},d(o){o&&P(t)}}}function Fn(e){let t,r,n,i,a,o;return{c(){t=G("span"),r=ie("svg"),n=ie("path"),i=Y(),a=G("span"),o=$(e[32]),p(n,"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"),p(r,"fill","var(--emw--casino-thumbnail-animation-color, #FFFFFF);"),p(r,"width","13"),p(r,"height","13"),p(r,"viewBox","0 0 13 14"),p(r,"xmlns","http://www.w3.org/2000/svg"),p(a,"class","NrOfPlayers"),p(t,"class","BetLimitRight CornerPlayers")},m(s,l){A(s,t,l),_(t,r),_(r,n),_(t,i),_(t,a),_(a,o)},p(s,l){l[1]&2&&K(o,s[32])},d(s){s&&P(t)}}}function kn(e){let t;function r(a,o){if(!a[19]&&a[17]&&a[18])return Ql;if(a[19]&&a[16]&&a[16]===Bt)return Zl;if(a[19]&&a[16]&&a[16]===Dr&&a[13]&&a[13].length>0)return ql}let n=r(e),i=n&&n(e);return{c(){i&&i.c(),t=dt()},m(a,o){i&&i.m(a,o),A(a,t,o)},p(a,o){n===(n=r(a))&&i?i.p(a,o):(i&&i.d(1),i=n&&n(a),i&&(i.c(),i.m(t.parentNode,t)))},d(a){a&&P(t),i&&i.d(a)}}}function ql(e){let t,r,n,i=Ht(new Array($n)),a=[];for(let o=0;o<i.length;o+=1)a[o]=Wn(Hn(e,i,o));return{c(){t=G("div"),r=G("div");for(let o=0;o<a.length;o+=1)a[o].c();p(r,"class","LiveIcons"),p(t,"class",n=e[27]+" CornerRoulette")},m(o,s){A(o,t,s),_(t,r);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(r,null);e[71](r)},p(o,s){if(s[0]&335552512|s[1]&1024){i=Ht(new Array($n));let l;for(l=0;l<i.length;l+=1){const u=Hn(o,i,l);a[l]?a[l].p(u,s):(a[l]=Wn(u),a[l].c(),a[l].m(r,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}s[0]&134217728&&n!==(n=o[27]+" CornerRoulette")&&p(t,"class",n)},d(o){o&&P(t),Qn(a,o),e[71](null)}}}function Zl(e){let t,r;function n(o,s){return o[29]?tu:eu}let i=n(e),a=i(e);return{c(){t=G("div"),r=G("div"),a.c(),p(r,"class","LiveIcons"),p(t,"class","GameProp LiveProps BlackjackDisplay")},m(o,s){A(o,t,s),_(t,r),a.m(r,null)},p(o,s){i===(i=n(o))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r,null)))},d(o){o&&P(t),a.d()}}}function Ql(e){let t,r=e[34]("opens")+"",n,i,a,o=fn(new Date(e[17]),e[18])+"",s;return{c(){t=G("div"),n=$(r),i=Y(),a=G("span"),s=$(o),p(t,"class","ClosedGame")},m(l,u){A(l,t,u),_(t,n),_(t,i),_(t,a),_(a,s)},p(l,u){u[1]&8&&r!==(r=l[34]("opens")+"")&&K(n,r),u[0]&393216&&o!==(o=fn(new Date(l[17]),l[18])+"")&&K(s,o)},d(l){l&&P(t)}}}function Un(e){let t,r;function n(o,s){return s[0]&67117056&&(t=null),t==null&&(t=!!(o[26]&&Array.isArray(o[13][o[114]])&&o[13][o[114]].length>=2)),t?Kl:Jl}let i=n(e,[-1,-1,-1,-1]),a=i(e);return{c(){a.c(),r=dt()},m(o,s){a.m(o,s),A(o,r,s)},p(o,s){i===(i=n(o,s))&&a?a.p(o,s):(a.d(1),a=i(o),a&&(a.c(),a.m(r.parentNode,r)))},d(o){o&&P(r),a.d(o)}}}function Jl(e){let t,r=e[41](`LatestResult ${e[114]===0?"First":""}`,e[114],Array.isArray(e[13][e[114]])?e[13][e[114]][0]:e[13][e[114]],e[28][Array.isArray(e[13][e[114]])?e[13][e[114]][0]:e[13][e[114]]])+"",n;return{c(){t=new ut(!1),n=dt(),t.a=n},m(i,a){t.m(r,i,a),A(i,n,a)},p(i,a){a[0]&268443648&&r!==(r=i[41](`LatestResult ${i[114]===0?"First":""}`,i[114],Array.isArray(i[13][i[114]])?i[13][i[114]][0]:i[13][i[114]],i[28][Array.isArray(i[13][i[114]])?i[13][i[114]][0]:i[13][i[114]]])+"")&&t.p(r)},d(i){i&&(P(n),t.d())}}}function Kl(e){let t,r,n=e[41](`LatestResult ${e[114]===0?"First":""}`,`first${e[114]}${e[13][e[114]][0]}`,e[13][e[114]][0],e[28][e[13][e[114]][0]])+"",i,a,o=e[41](`LatestResult ${e[114]===0?"First":""}`,`second${e[114]}${e[13][e[114]][1]}`,e[13][e[114]][1],e[28][e[13][e[114]][1]])+"",s;return{c(){t=G("div"),r=new ut(!1),i=Y(),a=new ut(!1),s=Y(),r.a=i,a.a=s,p(t,"class","Double")},m(l,u){A(l,t,u),r.m(n,t),_(t,i),a.m(o,t),_(t,s)},p(l,u){u[0]&268443648&&n!==(n=l[41](`LatestResult ${l[114]===0?"First":""}`,`first${l[114]}${l[13][l[114]][0]}`,l[13][l[114]][0],l[28][l[13][l[114]][0]])+"")&&r.p(n),u[0]&268443648&&o!==(o=l[41](`LatestResult ${l[114]===0?"First":""}`,`second${l[114]}${l[13][l[114]][1]}`,l[13][l[114]][1],l[28][l[13][l[114]][1]])+"")&&a.p(o)},d(l){l&&P(t)}}}function Wn(e){let t,r=e[13][e[114]]!==void 0&&Un(e);return{c(){r&&r.c(),t=dt()},m(n,i){r&&r.m(n,i),A(n,t,i)},p(n,i){n[13][n[114]]!==void 0?r?r.p(n,i):(r=Un(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&P(t),r&&r.d(n)}}}function eu(e){let t,r=Ht(e[21]),n=[];for(let i=0;i<r.length;i+=1)n[i]=jn(An(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=dt()},m(i,a){for(let o=0;o<n.length;o+=1)n[o]&&n[o].m(i,a);A(i,t,a)},p(i,a){if(a[0]&35651584|a[1]&128){r=Ht(i[21]);let o;for(o=0;o<r.length;o+=1){const s=An(i,r,o);n[o]?n[o].p(s,a):(n[o]=jn(s),n[o].c(),n[o].m(t.parentNode,t))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(i){i&&P(t),Qn(n,i)}}}function tu(e){let t,r=e[34]("full")+"",n;return{c(){t=G("span"),n=$(r),p(t,"class","FullTable")},m(i,a){A(i,t,a),_(t,n)},p(i,a){a[1]&8&&r!==(r=i[34]("full")+"")&&K(n,r)},d(i){i&&P(t)}}}function jn(e){let t,r,n,i,a,o;return{c(){t=G("span"),r=ie("svg"),n=ie("path"),i=ie("path"),a=Y(),p(n,"d","M11.58 6c-1.7 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(r,"xmlns","http://www.w3.org/2000/svg"),p(r,"width","13"),p(r,"height","14"),p(r,"viewBox","0 0 13 14"),p(t,"class",o=e[38](e[25],e[109].toString())?"ClosedSeat":"OpenSeat")},m(s,l){A(s,t,l),_(t,r),_(r,n),_(r,i),_(t,a)},p(s,l){l[0]&35651584&&o!==(o=s[38](s[25],s[109].toString())?"ClosedSeat":"OpenSeat")&&p(t,"class",o)},d(s){s&&P(t)}}}function Vn(e){let t,r,n,i,a=e[37](e[23])+"",o,s=e[24]!=null?` - ${e[37](e[24])}`:"+",l;return{c(){t=G("div"),r=G("span"),n=$(e[22]),i=Y(),o=$(a),l=$(s),p(t,"class","CornerLimits")},m(u,c){A(u,t,c),_(t,r),_(r,n),_(t,i),_(t,o),_(t,l)},p(u,c){c[0]&4194304&&K(n,u[22]),c[0]&8388608&&a!==(a=u[37](u[23])+"")&&K(o,a),c[0]&16777216&&s!==(s=u[24]!=null?` - ${u[37](u[24])}`:"+")&&K(l,s)},d(u){u&&P(t)}}}function zn(e){let t,r;return{c(){t=G("p"),r=$(e[2]),p(t,"class","GameNameBelow"),p(t,"title",e[2])},m(n,i){A(n,t,i),_(t,r)},p(n,i){i[0]&4&&K(r,n[2]),i[0]&4&&p(t,"title",n[2])},d(n){n&&P(t)}}}function ru(e){let t,r,n,i,a,o,s,l,u,c,m,h=e[0]&&Mn(e);function d(w,O){if(w[9]==="true")return Xl;if(w[12]||w[10])return $l}let v=d(e),g=v&&v(e),b=e[7]==="true"&&zn(e);return{c(){var w;t=G("div"),r=G("div"),n=G("ui-image"),o=Y(),h&&h.c(),s=Y(),l=G("div"),g&&g.c(),c=Y(),b&&b.c(),rn(n.src,i=e[33])||Ae(n,"src",i),Ae(n,"class",a=`GameBg GameBg-${e[6]}`),Ae(n,"alt","Game thumbnail"),Ae(n,"loading","lazy"),p(l,"class","GameExtraInfoContainer"),p(r,"class",u="GameInnerContainer "+(e[12]&&!e[19]&&((w=e[20])!=null&&w.value)||e[12]&&e[29]?"GameInnerContainerUnavailable":"")+" "+(e[9]==="true"?"HasDisplayGameTiles":"")),p(t,"class",m=`GameContainer ${e[30]} ${e[8]=="true"?"CasinoGamesGridSlider":""} ${e[1]&&J(e[35])?"pb-0":""}`),nn(t,"WithGameName",e[7])},m(w,O){A(w,t,O),_(t,r),_(r,n),e[69](n),_(r,o),h&&h.m(r,null),_(r,s),_(r,l),g&&g.m(l,null),_(t,c),b&&b.m(t,null),e[72](t)},p(w,O){var R;O[1]&4&&!rn(n.src,i=w[33])&&Ae(n,"src",i),O[0]&64&&a!==(a=`GameBg GameBg-${w[6]}`)&&Ae(n,"class",a),w[0]?h?h.p(w,O):(h=Mn(w),h.c(),h.m(r,s)):h&&(h.d(1),h=null),v===(v=d(w))&&g?g.p(w,O):(g&&g.d(1),g=v&&v(w),g&&(g.c(),g.m(l,null))),O[0]&538448384&&u!==(u="GameInnerContainer "+(w[12]&&!w[19]&&((R=w[20])!=null&&R.value)||w[12]&&w[29]?"GameInnerContainerUnavailable":"")+" "+(w[9]==="true"?"HasDisplayGameTiles":""))&&p(r,"class",u),w[7]==="true"?b?b.p(w,O):(b=zn(w),b.c(),b.m(t,null)):b&&(b.d(1),b=null),O[0]&1073742082&&m!==(m=`GameContainer ${w[30]} ${w[8]=="true"?"CasinoGamesGridSlider":""} ${w[1]&&J(w[35])?"pb-0":""}`)&&p(t,"class",m),O[0]&1073742210&&nn(t,"WithGameName",w[7])},i:se,o:se,d(w){w&&P(t),e[69](null),h&&h.d(),g&&g.d(),b&&b.d(),e[72](null)}}}const Bt="blackjack",Dr="roulette",yr="doubleballroulette",Yn=7,nu=",",$n=5;function iu(e,t,r){let n,i;sa(e,Ml,f=>r(34,i=f));let{session:a=""}=t,{userid:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{mbsource:u}=t,{clientstylingurl:c=""}=t,{translationurl:m=""}=t,{favorites:h=""}=t,{gamethumbnail:d=""}=t,{icon:v}=t,{gamename:g=""}=t,{gamevendor:b=""}=t,{gamelaunchurl:w=""}=t,{gameid:O=""}=t,{gameisnew:R=!1}=t,{gametag:ee=""}=t,{gamefunmode:j=!1}=t,{gamefavorite:Q=!1}=t,{gamecellsize:ge=""}=t,{showfavoredcategory:Oe=!1}=t,{showgamename:bt=""}=t,{currency:le=""}=t,{gamepagemodalurl:k="false"}=t,{endpoint:X=""}=t,{categoryid:xe=""}=t,{livelobbyendpoint:Xe=""}=t,{connectlive:Le=""}=t,{visibilityconnect:qe=""}=t,{integratedgameframedesktop:vt="false"}=t,{integratedgameframemobile:Ie="false"}=t,{casinogamesgridslider:Ur="false"}=t,{allowsingleclickgameentry:$t="false"}=t,{livelobbydataendpoint:Wr=""}=t,{displaygametiles:jr=""}=t,{livetabledata:ae="false"}=t,Xt=!1,qt,yt,Ze,Mi,Zt,te=window.navigator.userAgent,ue,x,be,wt,_t,Qt="HH:mm",de,ve,Jt=[],Qe="EUR",Je,Ke,Pe,Ee,Kt,er,Be,ye,re,et,tr,Te,rr,oe="",tt,nr,He;const Ni=[Bt],ir=[Dr,yr],ar={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},or={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"},sr=f=>{Object.keys(f).forEach(y=>{Dl(y,f[y])})},Di=()=>{fetch(m).then(y=>y.json()).then(y=>{sr(y)}).catch(y=>{console.log(y)})};sr(jl);const Vr=f=>{f.data.type===`AddFavoriteThumbnail_${O}`&&!Oe&&r(42,Q=!0),f.data.type===`RemoveFavoriteThumbnail_${O}`&&!Oe&&r(42,Q=!1),f.data.type==="UserSessionID"&&(Xt=!0,qt=f.data.session,yt=f.data.userID),f.data.type==="CategoryUpdate"&&r(12,x=null)},zr=f=>{if(window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${yt||"Not logged in"}`}),J(te)&&$t==="true"&&Xt){Ri(f);return}if(J(te)&&Ie=="true"){window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:j,gamepagemodalurl:k,isMobile:J(te),source:"GameThumbnail",identifier:"Lobby",subVendor:b,launchUrl:w},window.location.href);return}if(J(te)&&Ie=="false"){window.postMessage({type:"ShowGameModal",gameId:f,isMobile:J(te)},window.location.href);return}!J(te)&&vt=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:j,gamepagemodalurl:k,isMobile:J(te),identifier:"Lobby",subVendor:b,launchUrl:w},window.location.href):!J(te)&&vt=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:J(te)},window.location.href)},Ri=f=>Tt(this,null,function*(){let y=new URL(`${X}/v1/casino/games/${f}`);y.searchParams.append("language",s),y.searchParams.append("expand","vendor");const L=(yield(yield fetch(y.href)).json())[0],D=new URL(L.launchUrl);D.searchParams.append("_sid",qt),D.searchParams.append("funMode","false"),Ie==="false"?window.open(D,"_blank"):Ie==="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:L.subVendor,gameId:L.id,launchUrl:D==null?void 0:D.href},window.location.href)}),Fi=()=>{Rl(s)},ki=()=>{Xt=!0,qt=a,yt=o},Ui=(f,y)=>`${X}/v1/encoder/lobby/updates/${f}/${y}`,Yr=()=>{Xe&&EventSource&&!be&&b&&O&&(be=new EventSource(Ui(b,O)),be.addEventListener("message",qr))},$r=()=>{be&&(be.close(),be=void 0)},Xr=()=>{var f,y,E,B,L,D,U;if(ae)try{const H=typeof ae=="string"?JSON.parse(ae):ae;r(19,de=(f=H.IsOpen)!=null?f:!0),r(31,nr=((y=H.Dealer)==null?void 0:y.DealerName)||((E=H.dealer)==null?void 0:E.dealerName)||""),r(32,He=(L=(B=H.Players)!=null?B:H.NumberOfPlayers)!=null?L:0),r(23,Je=null),r(24,Ke=null),r(22,Qe="");const ne=H.BetLimits||H.betLimits||[];if(Array.isArray(ne)&&ne.length>0){const M=ne.find(Qr=>(Qr.Currency||Qr.currency)===le)||ne[0];r(23,Je=(D=M.Min)!=null?D:M.min),r(24,Ke=(U=M.Max)!=null?U:M.max);const ce=M.Currency||M.currency||le;r(22,Qe=Bn[ce]||ce)}r(16,wt=Zr(H));const V=H.SeatDetails||H.seatDetails;(V||wt===Bt)&&(Pe=(V==null?void 0:V.TotalSeats)||(V==null?void 0:V.totalSeats)||Yn,r(25,Ee=(V==null?void 0:V.TakenSeats)||(V==null?void 0:V.takenSeats)||[]),r(29,Te=Ee.length>=Pe),r(21,Jt=Array.from({length:Pe},(M,ce)=>(ce+1).toString())));const Et=H.Results||H.results||H.CurrentRouletteNumbers||H.currentRouletteNumbers||[],fe=xt(Et);r(13,re=fe.filter(M=>typeof M!="object"&&M!=="")),Be=H.VendorCategory||H.Category||"";const z=(Be||"").toLowerCase();if(r(26,ye=z===yr),ye&&Array.isArray(re)){const M=[];for(let ce=0;ce<re.length;ce+=2)ce+1<re.length&&M.push([re[ce],re[ce+1]]);r(13,re=M)}r(28,tr=rt(ir,z)?or:ar),r(27,et="GameProp LiveProps RoulleteProps"),r(27,et+=ye?" Double":"")}catch(H){console.error("Error while mapping live table data:",H)}},xt=f=>{if(f==null)return[];if(typeof f!="object")return[f];let y=[];if(Array.isArray(f))for(const E of f)y=y.concat(xt(E));else{const E=["Value","value","Number","number","Text","text","Name","name"];let B=!1;for(const L of E)f[L]!==void 0&&f[L]!==null&&(typeof f[L]!="object"?(y.push(f[L]),B=!0):(y=y.concat(xt(f[L])),B=!0));if(!B)for(const L of Object.keys(f))y=y.concat(xt(f[L]))}return y},qr=f=>Tt(this,null,function*(){const{type:y,data:E}=f;let B;switch(y){case"message":{if(E)try{B=JSON.parse(E)}catch(L){console.error("MESSAGE PARSING ERROR: ",L)}if(B){const{InternalTableId:L,MessageType:D,Results:U,Seats:H,Open:ne}=B;if(L)switch(D){case"SeatsUpdated":{H&&Array.isArray(H)&&(r(25,Ee=H),r(12,x.currentOccupiedSeats=H,x),yield nt());break}case"RouletteResultsUpdated":{U&&Array.isArray(U)&&(Kt=U,r(12,x.currentRouletteNumbers=U,x),yield nt());break}case"DoubleBallRouletteResultsUpdated":{U&&Array.isArray(U)&&(er=U,r(12,x.currentDoubleBallRouletteNumbers=U,x),yield nt());break}case"TableOpened":{r(19,de=ne),r(12,x.isOpen=ne,x),yield nt();break}case"TableClosed":{r(19,de=ne),r(12,x.isOpen=ne,x),yield nt();break}}}}}}),Wi=()=>{let f=new URL(`${Xe.split("?")[0]}`);f.searchParams.append("platform",Nl(te)),f.searchParams.append("language",s),fetch(f).then(y=>y.json()).then(y=>{const{details:E}=y[0];r(12,x=E)})},lr=(f,y=nu)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,y):"",rt=(f,y)=>f.some(E=>E===y),Zr=f=>{let y=null;if(f){const E=f.vendorCategory||f.VendorCategory||f.Category||"",B=(f.TableName||"").toLowerCase(),L=(f.VendorTableId||"").toLowerCase(),D=E.toLowerCase();rt(Ni,D)||B.includes("blackjack")||L.includes("bj")||L.includes("bsk")?y=Bt:(rt(ir,D)||B.includes("roulette")||L.includes("roul"))&&(y=Dr)}return y},ji=(f,y,E)=>{let B,L;return f!=null&&y!==void 0&&y!==null&&(L=`
|
|
19
|
-
<span>
|
|
20
|
-
${E}
|
|
21
|
-
</span>
|
|
22
|
-
${lr(f)}-${lr(y)}`),He&&(B=`
|
|
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">${He}</span>`),!B&&!L?"":`
|
|
25
|
-
<p class="LiveLimits">
|
|
26
|
-
<span class="BetLimitLeft">
|
|
27
|
-
${L||""}
|
|
28
|
-
</span>
|
|
29
|
-
<span class="BetLimitRight">
|
|
30
|
-
${B||""}
|
|
31
|
-
</span>
|
|
32
|
-
</p>`},Vi=f=>f?`
|
|
33
|
-
<p class="LiveLimits">
|
|
34
|
-
<span class="DealerName">${i("dealer")}: ${f}</span>
|
|
35
|
-
</p>
|
|
36
|
-
`:"",zi=f=>{Pe=f.totalSeats||Yn,r(25,Ee=f.currentOccupiedSeats||[]);const y=[];for(let E=1;E<=Pe;E++)y.push(E);return{seats:y}},Yi=(f,y,E,B="")=>{const L=`${f} ${B}`,D=y.toString().match(/first0|second0|0/g);return y===0||D&&D.length!==0?`
|
|
37
|
-
<span
|
|
38
|
-
id=${y}
|
|
39
|
-
class="${L}"
|
|
40
|
-
>
|
|
41
|
-
${E}
|
|
42
|
-
</span>
|
|
43
|
-
`:`
|
|
44
|
-
<span id=${y} class="${L}">
|
|
45
|
-
${E}
|
|
46
|
-
</span>
|
|
47
|
-
`},$i=()=>{const f="FirstElementAnimated",y=tt.getElementsByClassName("First")[0];y&&(y.classList.add(f),setTimeout(()=>{y.classList.remove(f)},2e3))},Xi=()=>{var f,y,E,B,L;if(x&&Object.keys(x).length>0){r(19,de=(y=(f=x.isOpen)!=null?f:x.IsOpen)!=null?y:de);const D=x.betLimit||x.BetLimits;if(D){const z=(D.min||D.Min||{})[le],M=(D.max||D.Max||{})[le];z!=null&&r(23,Je=z),M!=null&&r(24,Ke=M)}r(20,ve=(x==null?void 0:x.openHours)||(x==null?void 0:x.OpenHours)||ve);const U=zi(x);if(U!=null&&U.seats&&Array.isArray(U.seats)&&U.seats.length>0&&r(21,Jt=U.seats),ve&&(ve!=null&&ve.value)){const{value:{startTime:z,originalTimeFormat:M}}=ve;r(17,_t=z||_t),r(18,Qt=M||Qt)}if(de){const z=Zr(x);z&&r(16,wt=z)}r(22,Qe=Bn[le]||Qe);const H=x.currentRouletteNumbers||x.CurrentRouletteNumbers;H&&(Kt=H);const ne=x.currentDoubleBallRouletteNumbers||x.CurrentDoubleBallRouletteNumbers;ne&&(er=ne);const V=x.vendorCategory||x.VendorCategory;V&&(Be=V);const Et=Be!=null&&typeof Be=="string"?Be.toLowerCase():"";r(26,ye=Et===yr);let fe=(ye?er:Kt)||re||[];if(ye&&Array.isArray(fe)&&fe.length>0&&!Array.isArray(fe[0])){const z=[];for(let M=0;M<fe.length;M+=2)M+1<fe.length&&z.push([fe[M],fe[M+1]]);r(13,re=z)}else r(13,re=fe);if(r(27,et="GameProp LiveProps RoulleteProps"),r(27,et+=ye?" Double":""),r(28,tr=rt(ir,Et)?or:ar),rr=Te,r(29,Te=Array.isArray(Ee)&&Ee.length===Pe),x.dealer){const z=x.dealer.DealerName||x.dealer.dealerName;z&&r(31,nr=z)}r(32,He=(L=(B=(E=x.numberOfPlayers)!=null?E:x.Players)!=null?B:x.NumberOfPlayers)!=null?L:He),r(30,oe="ListGame"),x.isOpen&&x.currentRouletteNumbers&&r(30,oe+=" GameBackdrop"),de&&Te&&Je&&Ke&&x.currentOccupiedSeats?r(30,oe+=" GameContainerDimmed"):de===!1&&_t&&r(30,oe+=" GameContainerFullyDimmed"),ue&&(!rr&&Te?(r(30,oe+=" PulsatingRedShadow"),r(30,oe=oe.replace(" PulsatingGreenShadow",""))):rr&&!Te&&(r(30,oe+=" PulsatingGreenShadow"),r(30,oe=oe.replace(" PulsatingRedShadow",""))))}},qi=()=>{Le==="disconnect"?$r():Le==="connect"&&Yr()},Zi=()=>{qe==="disconnect"?$r():qe==="connect"&&Le==="connect"&&Yr()};pa(()=>(Xr(),window.addEventListener("message",Vr,!1),()=>{Ze&&Ze.unsubscribe(),window.removeEventListener("message",Vr),be&&be.removeEventListener("message",qr)}));function Qi(f){lt[f?"unshift":"push"](()=>{Zt=f,r(15,Zt)})}const Ji=()=>zr(O);function Ki(f){lt[f?"unshift":"push"](()=>{tt=f,r(14,tt)})}function ea(f){lt[f?"unshift":"push"](()=>{ue=f,r(11,ue)})}return e.$$set=f=>{"session"in f&&r(43,a=f.session),"userid"in f&&r(44,o=f.userid),"lang"in f&&r(0,s=f.lang),"clientstyling"in f&&r(45,l=f.clientstyling),"mbsource"in f&&r(46,u=f.mbsource),"clientstylingurl"in f&&r(47,c=f.clientstylingurl),"translationurl"in f&&r(48,m=f.translationurl),"favorites"in f&&r(49,h=f.favorites),"gamethumbnail"in f&&r(50,d=f.gamethumbnail),"icon"in f&&r(1,v=f.icon),"gamename"in f&&r(2,g=f.gamename),"gamevendor"in f&&r(51,b=f.gamevendor),"gamelaunchurl"in f&&r(52,w=f.gamelaunchurl),"gameid"in f&&r(3,O=f.gameid),"gameisnew"in f&&r(4,R=f.gameisnew),"gametag"in f&&r(5,ee=f.gametag),"gamefunmode"in f&&r(53,j=f.gamefunmode),"gamefavorite"in f&&r(42,Q=f.gamefavorite),"gamecellsize"in f&&r(6,ge=f.gamecellsize),"showfavoredcategory"in f&&r(54,Oe=f.showfavoredcategory),"showgamename"in f&&r(7,bt=f.showgamename),"currency"in f&&r(55,le=f.currency),"gamepagemodalurl"in f&&r(56,k=f.gamepagemodalurl),"endpoint"in f&&r(57,X=f.endpoint),"categoryid"in f&&r(58,xe=f.categoryid),"livelobbyendpoint"in f&&r(59,Xe=f.livelobbyendpoint),"connectlive"in f&&r(60,Le=f.connectlive),"visibilityconnect"in f&&r(61,qe=f.visibilityconnect),"integratedgameframedesktop"in f&&r(62,vt=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(63,Ie=f.integratedgameframemobile),"casinogamesgridslider"in f&&r(8,Ur=f.casinogamesgridslider),"allowsingleclickgameentry"in f&&r(64,$t=f.allowsingleclickgameentry),"livelobbydataendpoint"in f&&r(65,Wr=f.livelobbydataendpoint),"displaygametiles"in f&&r(9,jr=f.displaygametiles),"livetabledata"in f&&r(10,ae=f.livetabledata)},e.$$.update=()=>{e.$$.dirty[1]&536870912&&Le&&qi(),e.$$.dirty[1]&1073741824&&qe&&Zi(),e.$$.dirty[0]&1&&s&&Fi(),e.$$.dirty[1]&67121152&&a&&o&&X&&ki(),e.$$.dirty[0]&2048|e.$$.dirty[1]&16384&&l&&ue&&Fl(ue,l),e.$$.dirty[0]&2048|e.$$.dirty[1]&65536&&c&&ue&&Pn(ue,c),e.$$.dirty[0]&2048|e.$$.dirty[1]&32768|e.$$.dirty[2]&64&&u&&ue&&r(68,Ze=kl(ue,`${u}.Style`,Ze,!0)),e.$$.dirty[1]&163840&&u&&!m&&Vl(`${u}.Translation`,Mi,sr),e.$$.dirty[1]&262144,e.$$.dirty[1]&131072&&m&&Di(),e.$$.dirty[0]&64|e.$$.dirty[1]&65536&&ge&&c&&Pn(),e.$$.dirty[1]&335544320&&X&&Xe&&Wi(),e.$$.dirty[0]&4096&&x&&Xi(),e.$$.dirty[0]&24576&&tt&&re&&$i(),e.$$.dirty[0]&1026|e.$$.dirty[1]&524288&&r(33,n=(()=>{var f,y;if(ae)try{const E=typeof ae=="string"?JSON.parse(ae):ae,B=((y=(f=E==null?void 0:E.VideoSnapshot)==null?void 0:f.Thumbnails)==null?void 0:y.Medium)||(E==null?void 0:E.Image)||(E==null?void 0:E.TableImage);if(B)return B}catch(E){}return v&&J(te)?v:d})()),e.$$.dirty[0]&1024|e.$$.dirty[1]&16777216&&(ae||le)&&Xr()},[s,v,g,O,R,ee,ge,bt,Ur,jr,ae,ue,x,re,tt,Zt,wt,_t,Qt,de,ve,Jt,Qe,Je,Ke,Ee,ye,et,tr,Te,oe,nr,He,n,i,te,zr,lr,rt,ji,Vi,Yi,Q,a,o,l,u,c,m,h,d,b,w,j,Oe,le,k,X,xe,Xe,Le,qe,vt,Ie,$t,Wr,ar,or,Ze,Qi,Ji,Ki,ea]}class Ai extends Ca{constructor(t){super(),Ea(this,t,iu,ru,qn,{session:43,userid:44,lang:0,clientstyling:45,mbsource:46,clientstylingurl:47,translationurl:48,favorites:49,gamethumbnail:50,icon:1,gamename:2,gamevendor:51,gamelaunchurl:52,gameid:3,gameisnew:4,gametag:5,gamefunmode:53,gamefavorite:42,gamecellsize:6,showfavoredcategory:54,showgamename:7,currency:55,gamepagemodalurl:56,endpoint:57,categoryid:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,casinogamesgridslider:8,allowsingleclickgameentry:64,livelobbydataendpoint:65,displaygametiles:9,livetabledata:10,MONEY_WHEEL_COLOR_MAP:66,ROULETTE_COLOR_MAP:67},zl,[-1,-1,-1,-1])}get session(){return this.$$.ctx[43]}set session(t){this.$$set({session:t}),T()}get userid(){return this.$$.ctx[44]}set userid(t){this.$$set({userid:t}),T()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),T()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(t){this.$$set({clientstyling:t}),T()}get mbsource(){return this.$$.ctx[46]}set mbsource(t){this.$$set({mbsource:t}),T()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),T()}get translationurl(){return this.$$.ctx[48]}set translationurl(t){this.$$set({translationurl:t}),T()}get favorites(){return this.$$.ctx[49]}set favorites(t){this.$$set({favorites:t}),T()}get gamethumbnail(){return this.$$.ctx[50]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),T()}get icon(){return this.$$.ctx[1]}set icon(t){this.$$set({icon:t}),T()}get gamename(){return this.$$.ctx[2]}set gamename(t){this.$$set({gamename:t}),T()}get gamevendor(){return this.$$.ctx[51]}set gamevendor(t){this.$$set({gamevendor:t}),T()}get gamelaunchurl(){return this.$$.ctx[52]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),T()}get gameid(){return this.$$.ctx[3]}set gameid(t){this.$$set({gameid:t}),T()}get gameisnew(){return this.$$.ctx[4]}set gameisnew(t){this.$$set({gameisnew:t}),T()}get gametag(){return this.$$.ctx[5]}set gametag(t){this.$$set({gametag:t}),T()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(t){this.$$set({gamefunmode:t}),T()}get gamefavorite(){return this.$$.ctx[42]}set gamefavorite(t){this.$$set({gamefavorite:t}),T()}get gamecellsize(){return this.$$.ctx[6]}set gamecellsize(t){this.$$set({gamecellsize:t}),T()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),T()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),T()}get currency(){return this.$$.ctx[55]}set currency(t){this.$$set({currency:t}),T()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),T()}get endpoint(){return this.$$.ctx[57]}set endpoint(t){this.$$set({endpoint:t}),T()}get categoryid(){return this.$$.ctx[58]}set categoryid(t){this.$$set({categoryid:t}),T()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),T()}get connectlive(){return this.$$.ctx[60]}set connectlive(t){this.$$set({connectlive:t}),T()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),T()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),T()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),T()}get casinogamesgridslider(){return this.$$.ctx[8]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),T()}get allowsingleclickgameentry(){return this.$$.ctx[64]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),T()}get livelobbydataendpoint(){return this.$$.ctx[65]}set livelobbydataendpoint(t){this.$$set({livelobbydataendpoint:t}),T()}get displaygametiles(){return this.$$.ctx[9]}set displaygametiles(t){this.$$set({displaygametiles:t}),T()}get livetabledata(){return this.$$.ctx[10]}set livetabledata(t){this.$$set({livetabledata:t}),T()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[66]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[67]}}Ta(Ai,{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:{},allowsingleclickgameentry:{},livelobbydataendpoint:{},displaygametiles:{},livetabledata:{}},[],["MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"],!0);exports.default=Ai;
|