@everymatrix/casino-game-thumbnail-nd 1.98.0 → 1.98.1

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.
@@ -0,0 +1,47 @@
1
+ "use strict";var la=Object.defineProperty,ua=Object.defineProperties;var fa=Object.getOwnPropertyDescriptors;var en=Object.getOwnPropertySymbols;var ca=Object.prototype.hasOwnProperty,ha=Object.prototype.propertyIsEnumerable;var fr=(e,t,r)=>t in e?la(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tn=(e,t)=>{for(var r in t||(t={}))ca.call(t,r)&&fr(e,r,t[r]);if(en)for(var r of en(t))ha.call(t,r)&&fr(e,r,t[r]);return e},rn=(e,t)=>ua(e,fa(t));var Y=(e,t,r)=>(fr(e,typeof t!="symbol"?t+"":t,r),r);var Ct=(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 ee(){}function Kn(e){return e()}function nn(){return Object.create(null)}function mt(e){e.forEach(Kn)}function Fr(e){return typeof e=="function"}function ei(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let St;function an(e,t){return e===t?!0:(St||(St=document.createElement("a")),St.href=t,e===St.href)}function ma(e){return Object.keys(e).length===0}function ti(e,...t){if(e==null){for(const n of t)n(void 0);return ee}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function da(e,t,r){e.$$.on_destroy.push(ti(t,r))}function y(e,t){e.appendChild(t)}function pa(e,t,r){const n=ga(e);if(!n.getElementById(t)){const i=G("style");i.id=t,i.textContent=r,ba(n,i)}}function ga(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ba(e,t){return y(e.head||e,t),t.sheet}function A(e,t,r){e.insertBefore(t,r||null)}function H(e){e.parentNode&&e.parentNode.removeChild(e)}function ri(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 ae(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function q(e){return document.createTextNode(e)}function z(){return q(" ")}function dt(){return q("")}function kr(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 va(e){return Array.from(e.childNodes)}function te(e,t){t=""+t,e.data!==t&&(e.data=t)}function on(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function sn(e,t,r){e.classList.toggle(t,!!r)}class ut{constructor(t=!1){Y(this,"is_svg",!1);Y(this,"e");Y(this,"n");Y(this,"t");Y(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=ae(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(H)}}function ya(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ft;function st(e){ft=e}function wa(){if(!ft)throw new Error("Function called outside component initialization");return ft}function _a(e){wa().$$.on_mount.push(e)}const Re=[],lt=[];let ke=[];const ln=[],ni=Promise.resolve();let _r=!1;function ii(){_r||(_r=!0,ni.then(S))}function nt(){return ii(),ni}function xr(e){ke.push(e)}const cr=new Set;let Me=0;function S(){if(Me!==0)return;const e=ft;do{try{for(;Me<Re.length;){const t=Re[Me];Me++,st(t),xa(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];cr.has(r)||(cr.add(r),r())}ke.length=0}while(Re.length);for(;ln.length;)ln.pop()();_r=!1,cr.clear(),st(e)}function xa(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(xr)}}function Ea(e){const t=[],r=[];ke.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ke=t}const Ta=new Set;function Ca(e,t){e&&e.i&&(Ta.delete(e),e.i(t))}function At(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Sa(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),xr(()=>{const a=e.$$.on_mount.map(Kn).filter(Fr);e.$$.on_destroy?e.$$.on_destroy.push(...a):mt(a),e.$$.on_mount=[]}),i.forEach(xr)}function Ga(e,t){const r=e.$$;r.fragment!==null&&(Ea(r.after_update),mt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Oa(e,t){e.$$.dirty[0]===-1&&(Re.push(e),ii(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function La(e,t,r,n,i,a,o=null,s=[-1]){const l=ft;st(e);const u=e.$$={fragment:null,ctx:[],props:a,update:ee,not_equal:i,bound:nn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:nn(),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||{},(h,m,...d)=>{const g=d.length?d[0]:m;return u.ctx&&i(u.ctx[h],u.ctx[h]=g)&&(!u.skip_bound&&u.bound[h]&&u.bound[h](g),c&&Oa(e,h)),m}):[],u.update(),c=!0,mt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const h=va(t.target);u.fragment&&u.fragment.l(h),h.forEach(H)}else u.fragment&&u.fragment.c();t.intro&&Ca(e.$$.fragment),Sa(e,t.target,t.anchor),S()}st(l)}let ai;typeof HTMLElement=="function"&&(ai=class extends HTMLElement{constructor(t,r,n){super();Y(this,"$$ctor");Y(this,"$$s");Y(this,"$$c");Y(this,"$$cn",!1);Y(this,"$$d",{});Y(this,"$$r",!1);Y(this,"$$p_d",{});Y(this,"$$l",{});Y(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 Ct(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&&H(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ya(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]=Lt(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:rn(tn({},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=Lt(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Lt(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 Lt(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 Ia(e,t,r,n,i,a){let o=class extends ai{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=Lt(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 Pa{constructor(){Y(this,"$$");Y(this,"$$set")}$destroy(){Ga(this,1),this.$destroy=ee}$on(t,r){if(!Fr(r))return ee;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!ma(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ba="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ba);function Mt(e){"@babel/helpers - typeof";return Mt=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},Mt(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 K(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function me(e){K(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Mt(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 Ha(e,t){K(2,arguments);var r=me(e).getTime(),n=Se(t);return new Date(r+n)}var Aa={};function Ut(){return Aa}function Ma(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 Na(e){return K(1,arguments),e instanceof Date||Mt(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Da(e){if(K(1,arguments),!Na(e)&&typeof e!="number")return!1;var t=me(e);return!isNaN(Number(t))}function Ra(e,t){K(2,arguments);var r=Se(t);return Ha(e,-r)}var Fa=864e5;function ka(e){K(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/Fa)+1}function Nt(e){K(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 oi(e){K(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=Nt(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=Nt(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function Ua(e){K(1,arguments);var t=oi(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=Nt(r);return n}var Wa=6048e5;function ja(e){K(1,arguments);var t=me(e),r=Nt(t).getTime()-Ua(t).getTime();return Math.round(r/Wa)+1}function Dt(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=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(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=me(e),d=m.getUTCDay(),g=(d<h?7:0)+d-h;return m.setUTCDate(m.getUTCDate()-g),m.setUTCHours(0,0,0,0),m}function si(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=me(e),h=c.getUTCFullYear(),m=Ut(),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:m.firstWeekContainsDate)!==null&&n!==void 0?n:(l=m.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 g=new Date(0);g.setUTCFullYear(h+1,0,d),g.setUTCHours(0,0,0,0);var w=Dt(g,t),v=new Date(0);v.setUTCFullYear(h,0,d),v.setUTCHours(0,0,0,0);var E=Dt(v,t);return c.getTime()>=w.getTime()?h+1:c.getTime()>=E.getTime()?h:h-1}function Va(e,t){var r,n,i,a,o,s,l,u;K(1,arguments);var c=Ut(),h=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),m=si(e,t),d=new Date(0);d.setUTCFullYear(m,0,h),d.setUTCHours(0,0,0,0);var g=Dt(d,t);return g}var za=6048e5;function Ya(e,t){K(1,arguments);var r=me(e),n=Dt(r,t).getTime()-Va(r,t).getTime();return Math.round(n/za)+1}function M(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var _e={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return M(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):M(n+1,2)},d:function(t,r){return M(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 M(t.getUTCHours()%12||12,r.length)},H:function(t,r){return M(t.getUTCHours(),r.length)},m:function(t,r){return M(t.getUTCMinutes(),r.length)},s:function(t,r){return M(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 M(a,r.length)}},Ne={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},$a={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 _e.y(t,r)},Y:function(t,r,n,i){var a=si(t,i),o=a>0?a:1-a;if(r==="YY"){var s=o%100;return M(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):M(o,r.length)},R:function(t,r){var n=oi(t);return M(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return M(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 M(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 M(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 _e.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 M(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=Ya(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):M(a,r.length)},I:function(t,r,n){var i=ja(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):M(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):_e.d(t,r)},D:function(t,r,n){var i=ka(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):M(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 M(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 M(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 M(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 _e.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):_e.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):M(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):M(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):_e.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):_e.s(t,r)},S:function(t,r){return _e.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 fn(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 fn(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"+un(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"+un(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 M(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return M(o,r.length)}};function un(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+M(a,2)}function fn(e,t){if(e%60===0){var r=e>0?"-":"+";return r+M(Math.abs(e)/60,2)}return Ce(e,t)}function Ce(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=M(Math.floor(i/60),2),o=M(i%60,2);return n+a+r+o}var cn=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"})}},li=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"})}},Xa=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return cn(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}}",cn(i,r)).replace("{{time}}",li(a,r))},qa={p:li,P:Xa},Za=["D","DD"],Qa=["YY","YYYY"];function Ja(e){return Za.indexOf(e)!==-1}function Ka(e){return Qa.indexOf(e)!==-1}function hn(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 eo={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"}},to=function(t,r,n){var i,a=eo[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 hr(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 ro={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},no={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},io={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ao={date:hr({formats:ro,defaultWidth:"full"}),time:hr({formats:no,defaultWidth:"full"}),dateTime:hr({formats:io,defaultWidth:"full"})},oo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},so=function(t,r,n,i){return oo[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 lo={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},uo={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},fo={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"]},co={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"]},ho={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"}},mo={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"}},po=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"},go={ordinalNumber:po,era:it({values:lo,defaultWidth:"wide"}),quarter:it({values:uo,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:it({values:fo,defaultWidth:"wide"}),day:it({values:co,defaultWidth:"wide"}),dayPeriod:it({values:ho,defaultWidth:"wide",formattingValues:mo,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)?vo(s,function(h){return h.test(o)}):bo(s,function(h){return h.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 bo(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function vo(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function yo(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 wo=/^(\d+)(th|st|nd|rd)?/i,_o=/\d+/i,xo={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},Eo={any:[/^b/i,/^(a|c)/i]},To={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Co={any:[/1/i,/2/i,/3/i,/4/i]},So={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},Go={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]},Oo={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},Lo={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]},Io={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},Po={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}},Bo={ordinalNumber:yo({matchPattern:wo,parsePattern:_o,valueCallback:function(t){return parseInt(t,10)}}),era:at({matchPatterns:xo,defaultMatchWidth:"wide",parsePatterns:Eo,defaultParseWidth:"any"}),quarter:at({matchPatterns:To,defaultMatchWidth:"wide",parsePatterns:Co,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:at({matchPatterns:So,defaultMatchWidth:"wide",parsePatterns:Go,defaultParseWidth:"any"}),day:at({matchPatterns:Oo,defaultMatchWidth:"wide",parsePatterns:Lo,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:Io,defaultMatchWidth:"any",parsePatterns:Po,defaultParseWidth:"any"})},Ho={code:"en-US",formatDistance:to,formatLong:ao,formatRelative:so,localize:go,match:Bo,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ao=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Mo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,No=/^'([^]*?)'?$/,Do=/''/g,Ro=/[a-zA-Z]/;function mn(e,t,r){var n,i,a,o,s,l,u,c,h,m,d,g,w,v;K(2,arguments);var E=String(t),C=Ut(),L=(n=(i=void 0)!==null&&i!==void 0?i:C.locale)!==null&&n!==void 0?n:Ho,_=Se((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:C.firstWeekContainsDate)!==null&&o!==void 0?o:(u=C.locale)===null||u===void 0||(c=u.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(_>=1&&_<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var P=Se((h=(m=(d=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&d!==void 0?d:C.weekStartsOn)!==null&&m!==void 0?m:(w=C.locale)===null||w===void 0||(v=w.options)===null||v===void 0?void 0:v.weekStartsOn)!==null&&h!==void 0?h:0);if(!(P>=0&&P<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var W=me(e);if(!Da(W))throw new RangeError("Invalid time value");var be=Ma(W),Oe=Ra(W,be),bt={firstWeekContainsDate:_,weekStartsOn:P,locale:L,_originalDate:W},le=E.match(Mo).map(function(j){var Z=j[0];if(Z==="p"||Z==="P"){var de=qa[Z];return de(j,L.formatLong)}return j}).join("").match(Ao).map(function(j){if(j==="''")return"'";var Z=j[0];if(Z==="'")return Fo(j);var de=$a[Z];if(de)return Ka(j)&&hn(j,t,String(e)),Ja(j)&&hn(j,t,String(e)),de(Oe,j,L.localize,bt);if(Z.match(Ro))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Z+"`");return j}).join("");return le}function Fo(e){var t=e.match(No);return t?t[1].replace(Do,"'"):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 Er=function(e,t){return Er=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])},Er(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");Er(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Tr(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 Cr(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 Sr(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 ge(e){return typeof e=="function"}function ui(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 mr=ui(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 Gr(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Wt=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=Tr(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(w){t={error:w}}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(ge(c))try{c()}catch(w){a=w instanceof mr?w.errors:[w]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var m=Tr(h),d=m.next();!d.done;d=m.next()){var g=d.value;try{dn(g)}catch(w){a=a!=null?a:[],w instanceof mr?a=Sr(Sr([],Cr(a)),Cr(w.errors)):a.push(w)}}}catch(w){n={error:w}}finally{try{d&&!d.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(a)throw new mr(a)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)dn(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Gr(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Gr(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),fi=Wt.EMPTY;function ci(e){return e instanceof Wt||e&&"closed"in e&&ge(e.remove)&&ge(e.add)&&ge(e.unsubscribe)}function dn(e){ge(e)?e():e.unsubscribe()}var ko={Promise:void 0},Uo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Sr([e,t],Cr(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Wo(e){Uo.setTimeout(function(){throw e})}function pn(){}function It(e){e()}var hi=function(e){pt(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ci(r)&&r.add(n)):n.destination=zo,n}return t.create=function(r,n,i){return new Or(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}(Wt),jo=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){Gt(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Gt(n)}else Gt(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Gt(r)}},e}(),Or=function(e){pt(t,e);function t(r,n,i){var a=e.call(this)||this,o;return ge(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 jo(o),a}return t}(hi);function Gt(e){Wo(e)}function Vo(e){throw e}var zo={closed:!0,next:pn,error:Vo,complete:pn},Yo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function $o(e){return e}function Xo(e){return e.length===0?$o:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var gn=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=Zo(t)?t:new Or(t,r,n);return It(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=bn(r),new r(function(i,a){var o=new Or({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[Yo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Xo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=bn(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 bn(e){var t;return(t=e!=null?e:ko.Promise)!==null&&t!==void 0?t:Promise}function qo(e){return e&&ge(e.next)&&ge(e.error)&&ge(e.complete)}function Zo(e){return e&&e instanceof hi||qo(e)&&ci(e)}var Qo=ui(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),mi=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 vn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Qo},t.prototype.next=function(r){var n=this;It(function(){var i,a;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Tr(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;It(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;It(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?fi:(this.currentObservers=null,s.push(r),new Wt(function(){n.currentObservers=null,Gr(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 gn;return r.source=this,r},t.create=function(r,n){return new vn(r,n)},t}(gn),vn=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:fi},t}(mi),di={now:function(){return(di.delegate||Date).now()},delegate:void 0},Jo=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=di);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}(mi);const yn=[],wn={},Ko=(e,t=0)=>{if(yn.indexOf(e)==-1){const r=new Jo(t);wn[e]=r,yn.push(e)}return wn[e]},De=[];function es(e,t){return{subscribe:jt(e,t).subscribe}}function jt(e,t=ee){let r;const n=new Set;function i(s){if(ei(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=ee){const u=[s,l];return n.add(u),n.size===1&&(r=t(i,a)||ee),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 es(r,(o,s)=>{let l=!1;const u=[];let c=0,h=ee;const m=()=>{if(c)return;h();const g=t(n?u[0]:u,o,s);a?o(g):h=Fr(g)?g:ee},d=i.map((g,w)=>ti(g,v=>{u[w]=v,c&=~(1<<w),l&&m()},()=>{c|=1<<w}));return l=!0,m(),function(){mt(d),h(),l=!1}})}function ts(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var rs=function(t){return ns(t)&&!is(t)};function ns(e){return!!e&&typeof e=="object"}function is(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ss(e)}var as=typeof Symbol=="function"&&Symbol.for,os=as?Symbol.for("react.element"):60103;function ss(e){return e.$$typeof===os}function ls(e){return Array.isArray(e)?[]:{}}function ct(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ue(ls(e),e,t):e}function us(e,t,r){return e.concat(t).map(function(n){return ct(n,r)})}function fs(e,t){if(!t.customMerge)return Ue;var r=t.customMerge(e);return typeof r=="function"?r:Ue}function cs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function _n(e){return Object.keys(e).concat(cs(e))}function pi(e,t){try{return t in e}catch(r){return!1}}function hs(e,t){return pi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function ms(e,t,r){var n={};return r.isMergeableObject(e)&&_n(e).forEach(function(i){n[i]=ct(e[i],r)}),_n(t).forEach(function(i){hs(e,i)||(pi(e,i)&&r.isMergeableObject(t[i])?n[i]=fs(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||us,r.isMergeableObject=r.isMergeableObject||rs,r.cloneUnlessOtherwiseSpecified=ct;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):ms(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 ds=Ue,ps=ds;const gs=ts(ps);var Lr=function(e,t){return Lr=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])},Lr(e,t)};function Vt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Lr(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 bs(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function dr(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,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 pr(e,t){var r=t&&t.cache?t.cache:Ts,n=t&&t.serializer?t.serializer:xs,i=t&&t.strategy?t.strategy:ws;return i(e,{cache:r,serializer:n})}function vs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ys(e,t,r,n){var i=vs(n)?n:r(n),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,n),t.set(i,a)),a}function gi(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 bi(e,t,r,n,i){return r.bind(t,e,n,i)}function ws(e,t){var r=e.length===1?ys:gi;return bi(e,this,r,t.cache.create(),t.serializer)}function _s(e,t){return bi(e,this,gi,t.cache.create(),t.serializer)}var xs=function(){return JSON.stringify(arguments)},Es=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}(),Ts={create:function(){return new Es}},gr={variadic:_s},Rt=function(){return Rt=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},Rt.apply(this,arguments)};var O;(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"})(O||(O={}));var F;(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"})(F||(F={}));var We;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(We||(We={}));function xn(e){return e.type===F.literal}function Cs(e){return e.type===F.argument}function vi(e){return e.type===F.number}function yi(e){return e.type===F.date}function wi(e){return e.type===F.time}function _i(e){return e.type===F.select}function xi(e){return e.type===F.plural}function Ss(e){return e.type===F.pound}function Ei(e){return e.type===F.tag}function Ti(e){return!!(e&&typeof e=="object"&&e.type===We.number)}function Ir(e){return!!(e&&typeof e=="object"&&e.type===We.dateTime)}var Ci=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Gs=/(?:[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 Os(e){var t={};return e.replace(Gs,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 U=function(){return U=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},U.apply(this,arguments)};var Ls=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Is(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ls).filter(function(m){return m.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 h=c[u];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:l})}return r}function Ps(e){return e.replace(/^(.*?)-/,"")}var En=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Si=/^(@+)?(\+|#+)?[rs]?$/g,Bs=/(\*)(0+)|(#+)(0+)|(0+)/g,Gi=/^(0+)$/;function Tn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Si,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 Oi(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Hs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Gi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Cn(e){var t={},r=Oi(e);return r||t}function As(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=Ps(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=U(U(U({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return U(U({},l),Cn(u))},{}));continue;case"engineering":t=U(U(U({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return U(U({},l),Cn(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(Bs,function(l,u,c,h,m,d){if(u)t.minimumIntegerDigits=c.length;else{if(h&&m)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Gi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(En.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(En,function(l,u,c,h,m,d){return c==="*"?t.minimumFractionDigits=u.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:m&&d?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=U(U({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=U(U({},t),Tn(a)));continue}if(Si.test(i.stem)){t=U(U({},t),Tn(i.stem));continue}var o=Oi(i.stem);o&&(t=U(U({},t),o));var s=Hs(i.stem);s&&(t=U(U({},t),s))}return t}var Ot={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ms(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=Ns(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 Ns(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Ot[n||""]||Ot[r||""]||Ot["".concat(r,"-001")]||Ot["001"];return i[0]}var br,Ds=new RegExp("^".concat(Ci.source,"*")),Rs=new RegExp("".concat(Ci.source,"*$"));function I(e,t){return{start:e,end:t}}var Fs=!!String.prototype.startsWith&&"_a".startsWith("a",1),ks=!!String.fromCodePoint,Us=!!Object.fromEntries,Ws=!!String.prototype.codePointAt,js=!!String.prototype.trimStart,Vs=!!String.prototype.trimEnd,zs=!!Number.isSafeInteger,Ys=zs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Pr=!0;try{var $s=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Pr=((br=$s.exec("a"))===null||br===void 0?void 0:br[0])==="a"}catch(e){Pr=!1}var Sn=Fs?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Br=ks?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},Gn=Us?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},Li=Ws?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}},Xs=js?function(t){return t.trimStart()}:function(t){return t.replace(Ds,"")},qs=Vs?function(t){return t.trimEnd()}:function(t){return t.replace(Rs,"")};function Ii(e,t){return new RegExp(e,t)}var Hr;if(Pr){var On=Ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hr=function(t,r){var n;On.lastIndex=r;var i=On.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Hr=function(t,r){for(var n=[];;){var i=Li(t,r);if(i===void 0||Pi(i)||Ks(i))break;n.push(i),r+=i>=65536?2:1}return Br.apply(void 0,n)};var Zs=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:F.pound,location:I(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(O.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ar(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:F.literal,value:"<".concat(i,"/>"),location:I(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()||!Ar(this.char()))return this.error(O.INVALID_TAG,I(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(O.UNMATCHED_CLOSING_TAG,I(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:F.tag,value:i,children:o,location:I(n,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,I(s,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,I(n,this.clonePosition()))}else return this.error(O.INVALID_TAG,I(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Js(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=I(n,this.clonePosition());return{val:{type:F.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Qs(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Br.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Br(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,I(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(O.MALFORMED_ARGUMENT,I(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:F.argument,value:i,location:I(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(O.MALFORMED_ARGUMENT,I(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hr(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=I(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(O.EXPECT_ARGUMENT_TYPE,I(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var m=qs(h.val);if(m.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var d=I(c,this.clonePosition());u={style:m,styleLocation:d}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var w=I(i,this.clonePosition());if(u&&Sn(u==null?void 0:u.style,"::",0)){var v=Xs(u.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(v,u.styleLocation);return h.err?h:{val:{type:F.number,value:n,location:w,style:h.val},err:null}}else{if(v.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,w);var E=v;this.locale&&(E=Ms(v,this.locale));var m={type:We.dateTime,pattern:E,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Os(E):{}},C=s==="date"?F.date:F.time;return{val:{type:C,value:n,location:w,style:m},err:null}}}return{val:{type:s==="number"?F.number:s==="date"?F.date:F.time,value:n,location:w,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,I(L,Rt({},L)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),P=0;if(s!=="select"&&_.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),_=this.parseIdentifierIfPossible(),P=h.val}var W=this.tryParsePluralOrSelectOptions(t,s,r,_);if(W.err)return W;var g=this.tryParseArgumentClose(i);if(g.err)return g;var be=I(i,this.clonePosition());return s==="select"?{val:{type:F.select,value:n,options:Gn(W.val),location:be},err:null}:{val:{type:F.plural,value:n,options:Gn(W.val),offset:P,pluralType:s==="plural"?"cardinal":"ordinal",location:be},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,I(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(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(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Is(t)}catch(i){return this.error(O.INVALID_NUMBER_SKELETON,r)}return{val:{type:We.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?As(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 h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;c=I(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var w=this.tryParseArgumentClose(d);if(w.err)return w;s.push([u,{value:g.val,location:I(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"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(O.MISSING_OTHER_CLAUSE,I(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=I(i,this.clonePosition());return a?(o*=n,Ys(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=Li(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(Sn(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()&&Pi(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 Ar(e){return e>=97&&e<=122||e>=65&&e<=90}function Qs(e){return Ar(e)||e===47}function Js(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 Pi(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ks(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 Mr(e){e.forEach(function(t){if(delete t.location,_i(t)||xi(t))for(var r in t.options)delete t.options[r].location,Mr(t.options[r].value);else vi(t)&&Ti(t.style)||(yi(t)||wi(t))&&Ir(t.style)?delete t.style.location:Ei(t)&&Mr(t.children)})}function el(e,t){t===void 0&&(t={}),t=Rt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Zs(e,t).parse();if(r.err){var n=SyntaxError(O[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Mr(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 zt=function(e){Vt(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),Ln=function(e){Vt(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}(zt),tl=function(e){Vt(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}(zt),rl=function(e){Vt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),je.MISSING_VALUE,n)||this}return t}(zt),Q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Q||(Q={}));function nl(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 il(e){return typeof e=="function"}function Pt(e,t,r,n,i,a,o){if(e.length===1&&xn(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(xn(c)){s.push({type:Q.literal,value:c.value});continue}if(Ss(c)){typeof a=="number"&&s.push({type:Q.literal,value:r.getNumberFormat(t).format(a)});continue}var h=c.value;if(!(i&&h in i))throw new rl(h,o);var m=i[h];if(Cs(c)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),s.push({type:typeof m=="string"?Q.literal:Q.object,value:m});continue}if(yi(c)){var d=typeof c.style=="string"?n.date[c.style]:Ir(c.style)?c.style.parsedOptions:void 0;s.push({type:Q.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(wi(c)){var d=typeof c.style=="string"?n.time[c.style]:Ir(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:Q.literal,value:r.getDateTimeFormat(t,d).format(m)});continue}if(vi(c)){var d=typeof c.style=="string"?n.number[c.style]:Ti(c.style)?c.style.parsedOptions:void 0;d&&d.scale&&(m=m*(d.scale||1)),s.push({type:Q.literal,value:r.getNumberFormat(t,d).format(m)});continue}if(Ei(c)){var g=c.children,w=c.value,v=i[w];if(!il(v))throw new tl(w,"function",o);var E=Pt(g,t,r,n,i,a),C=v(E.map(function(P){return P.value}));Array.isArray(C)||(C=[C]),s.push.apply(s,C.map(function(P){return{type:typeof P=="string"?Q.literal:Q.object,value:P}}))}if(_i(c)){var L=c.options[m]||c.options.other;if(!L)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(L.value,t,r,n,i));continue}if(xi(c)){var L=c.options["=".concat(m)];if(!L){if(!Intl.PluralRules)throw new zt(`Intl.PluralRules is not available in this environment.
17
+ Try polyfilling it using "@formatjs/intl-pluralrules"
18
+ `,je.MISSING_INTL_API,o);var _=r.getPluralRules(t,{type:c.pluralType}).select(m-(c.offset||0));L=c.options[_]||c.options.other}if(!L)throw new Ln(c.value,m,Object.keys(c.options),o);s.push.apply(s,Pt(L.value,t,r,n,i,m-(c.offset||0)));continue}}return nl(s)}function al(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 ol(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=al(e[n],t[n]),r},he({},e)):e}function vr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function sl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.number),strategy:gr.variadic}),getDateTimeFormat:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.dateTime),strategy:gr.variadic}),getPluralRules:pr(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,dr([void 0],r,!1)))},{cache:vr(e.pluralRules),strategy:gr.variadic})}}var ll=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(h,m){return!h.length||m.type!==Q.literal||typeof h[h.length-1]!="string"?h.push(m.value):h[h.length-1]+=m.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(l){return Pt(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=bs(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=ol(e.formats,n),this.formatters=i&&i.formatters||sl(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=el,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 ul(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 xe={},fl=(e,t,r)=>r&&(t in xe||(xe[t]={}),e in xe[t]||(xe[t][e]=r),r),Bi=(e,t)=>{if(t==null)return;if(t in xe&&e in xe[t])return xe[t][e];const r=Yt(t);for(let n=0;n<r.length;n++){const i=r[n],a=hl(i,e);if(a)return fl(e,t,a)}};let Ur;const gt=jt({});function cl(e){return Ur[e]||null}function Hi(e){return e in Ur}function hl(e,t){if(!Hi(e))return null;const r=cl(e);return ul(r,t)}function ml(e){if(e==null)return;const t=Yt(e);for(let r=0;r<t.length;r++){const n=t[r];if(Hi(n))return n}}function Ai(e,...t){delete xe[e],gt.update(r=>(r[e]=gs.all([r[e]||{},...t]),r))}ze([gt],([e])=>Object.keys(e));gt.subscribe(e=>Ur=e);const Bt={};function dl(e,t){Bt[e].delete(t),Bt[e].size===0&&delete Bt[e]}function Mi(e){return Bt[e]}function pl(e){return Yt(e).map(t=>{const r=Mi(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Nr(e){return e==null?!1:Yt(e).some(t=>{var r;return(r=Mi(t))==null?void 0:r.size})}function gl(e,t){return Promise.all(t.map(n=>(dl(e,n),n().then(i=>i.default||i)))).then(n=>Ai(e,...n))}const ot={};function Ni(e){if(!Nr(e))return e in ot?ot[e]:Promise.resolve();const t=pl(e);return ot[e]=Promise.all(t.map(([r,n])=>gl(r,n))).then(()=>{if(Nr(e))return Ni(e);delete ot[e]}),ot[e]}const bl={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"}}},vl={fallbackLocale:null,loadingDelay:200,formats:bl,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},yl=vl;function Ve(){return yl}const yr=jt(!1);var wl=Object.defineProperty,_l=Object.defineProperties,xl=Object.getOwnPropertyDescriptors,In=Object.getOwnPropertySymbols,El=Object.prototype.hasOwnProperty,Tl=Object.prototype.propertyIsEnumerable,Pn=(e,t,r)=>t in e?wl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Cl=(e,t)=>{for(var r in t||(t={}))El.call(t,r)&&Pn(e,r,t[r]);if(In)for(var r of In(t))Tl.call(t,r)&&Pn(e,r,t[r]);return e},Sl=(e,t)=>_l(e,xl(t));let Dr;const Ft=jt(null);function Bn(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Yt(e,t=Ve().fallbackLocale){const r=Bn(e);return t?[...new Set([...r,...Bn(t)])]:r}function Ge(){return Dr!=null?Dr:void 0}Ft.subscribe(e=>{Dr=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Gl=e=>{if(e&&ml(e)&&Nr(e)){const{loadingDelay:t}=Ve();let r;return typeof window!="undefined"&&Ge()!=null&&t?r=window.setTimeout(()=>yr.set(!0),t):yr.set(!0),Ni(e).then(()=>{Ft.set(e)}).finally(()=>{clearTimeout(r),yr.set(!1)})}return Ft.set(e)},Ye=Sl(Cl({},Ft),{set:Gl}),$t=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Ol=Object.defineProperty,kt=Object.getOwnPropertySymbols,Di=Object.prototype.hasOwnProperty,Ri=Object.prototype.propertyIsEnumerable,Hn=(e,t,r)=>t in e?Ol(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wr=(e,t)=>{for(var r in t||(t={}))Di.call(t,r)&&Hn(e,r,t[r]);if(kt)for(var r of kt(t))Ri.call(t,r)&&Hn(e,r,t[r]);return e},$e=(e,t)=>{var r={};for(var n in e)Di.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&kt)for(var n of kt(e))t.indexOf(n)<0&&Ri.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.`)},Ll=$t(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)}),Il=$t(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)}),Pl=$t(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)}),Bl=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return Ll(Wr({locale:r},n))},Hl=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return Il(Wr({locale:r},n))},Al=(e={})=>{var t=e,{locale:r=Ge()}=t,n=$e(t,["locale"]);return Pl(Wr({locale:r},n))},Ml=$t((e,t=Ge())=>new ll(e,t,Ve().formats,{ignoreTag:Ve().ignoreTag})),Nl=(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=Bi(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 h=c;try{h=Ml(c,l).format(s)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return h},Dl=(e,t)=>Al(t).format(e),Rl=(e,t)=>Hl(t).format(e),Fl=(e,t)=>Bl(t).format(e),kl=(e,t=Ge())=>Bi(e,t),Ul=ze([Ye,gt],()=>Nl);ze([Ye],()=>Dl);ze([Ye],()=>Rl);ze([Ye],()=>Fl);ze([Ye,gt],()=>kl);window.emWidgets={topic:Ko};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)),Wl=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 jl(e,t){Ai(e,t)}function Vl(e){Ye.set(e)}const Fe="__WIDGET_GLOBAL_STYLE_CACHE__";function zl(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function An(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 Yl(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=$l(e,t),r;window[Fe]||(window[Fe]={}),r=Xl(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 $l(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Xl(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 ql={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"}},Mn={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 Zl(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function Ql(e){pa(e,"svelte-qfsi1f",'*,*::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;margin-left:auto}.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:20}.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 Nn(e,t,r){const n=e.slice();return n[114]=t[r],n[116]=r,n}function Dn(e,t,r){const n=e.slice();return n[111]=t[r],n}function Rn(e){let t,r,n,i=!J(e[39]),a,o,s=e[38]("playNow")+"",l,u,c,h=i&&Jl();return{c(){t=G("div"),r=G("div"),n=G("button"),h&&h.c(),a=z(),o=G("span"),l=q(s),p(n,"class","GameInfoBtn"),p(r,"class","GameInfo"),p(t,"class","GameInfoWrapper")},m(m,d){A(m,t,d),y(t,r),y(r,n),h&&h.m(n,null),y(n,a),y(n,o),y(o,l),u||(c=kr(t,"click",e[72]),u=!0)},p(m,d){d[1]&128&&s!==(s=m[38]("playNow")+"")&&te(l,s)},d(m){m&&H(t),h&&h.d(),u=!1,c()}}}function Jl(e){let t,r,n,i,a,o;return{c(){t=ae("svg"),r=ae("g"),n=ae("g"),i=ae("path"),a=ae("path"),o=ae("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),y(t,r),y(r,n),y(n,i),y(n,a),y(r,o)},d(s){s&&H(t)}}}function Kl(e){let t,r,n=e[45](e[35])+"",i,a,o=e[44](e[27],e[28],e[26])+"";return{c(){t=G("div"),r=new ut(!1),i=z(),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),y(t,i),a.m(o,t)},p(s,l){l[1]&16&&n!==(n=s[45](s[35])+"")&&r.p(n),l[0]&469762048&&o!==(o=s[44](s[27],s[28],s[26])+"")&&a.p(o)},d(s){s&&H(t)}}}function eu(e){let t,r,n,i,a,o,s,l,u,c=e[7]&&Fn(e),h=e[8]&&kn(e),m=e[35]&&Un(e),d=e[36]&&Wn(e),g=(e[15]||e[13])&&jn(e),w=e[27]!=null&&$n(e);return{c(){t=G("div"),r=G("div"),c&&c.c(),n=z(),h&&h.c(),i=z(),m&&m.c(),a=z(),o=G("div"),d&&d.c(),s=z(),l=G("div"),g&&g.c(),u=z(),w&&w.c(),p(r,"class","InfoTopLeft"),p(o,"class","InfoTopRight"),p(t,"class","GameExtraInfoTop"),p(l,"class","GameExtraInfoBottom")},m(v,E){A(v,t,E),y(t,r),c&&c.m(r,null),y(r,n),h&&h.m(r,null),y(r,i),m&&m.m(r,null),y(t,a),y(t,o),d&&d.m(o,null),A(v,s,E),A(v,l,E),g&&g.m(l,null),y(l,u),w&&w.m(l,null)},p(v,E){v[7]?c?c.p(v,E):(c=Fn(v),c.c(),c.m(r,n)):c&&(c.d(1),c=null),v[8]?h?h.p(v,E):(h=kn(v),h.c(),h.m(r,i)):h&&(h.d(1),h=null),v[35]?m?m.p(v,E):(m=Un(v),m.c(),m.m(r,null)):m&&(m.d(1),m=null),v[36]?d?d.p(v,E):(d=Wn(v),d.c(),d.m(o,null)):d&&(d.d(1),d=null),v[15]||v[13]?g?g.p(v,E):(g=jn(v),g.c(),g.m(l,u)):g&&(g.d(1),g=null),v[27]!=null?w?w.p(v,E):(w=$n(v),w.c(),w.m(l,null)):w&&(w.d(1),w=null)},d(v){v&&(H(t),H(s),H(l)),c&&c.d(),h&&h.d(),m&&m.d(),d&&d.d(),g&&g.d(),w&&w.d()}}}function Fn(e){let t,r=e[38]("new")+"",n;return{c(){t=G("span"),n=q(r),p(t,"class","GameExtraInfoLabel NewGameTag")},m(i,a){A(i,t,a),y(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("new")+"")&&te(n,r)},d(i){i&&H(t)}}}function kn(e){let t,r;return{c(){t=G("span"),r=q(e[8]),p(t,"class","GameExtraInfoLabel PopularGameTag")},m(n,i){A(n,t,i),y(t,r)},p(n,i){i[0]&256&&te(r,n[8])},d(n){n&&H(t)}}}function Un(e){let t,r=e[38]("dealer")+"",n,i,a;return{c(){t=G("span"),n=q(r),i=q(": "),a=q(e[35]),p(t,"class","DealerName")},m(o,s){A(o,t,s),y(t,n),y(t,i),y(t,a)},p(o,s){s[1]&128&&r!==(r=o[38]("dealer")+"")&&te(n,r),s[1]&16&&te(a,o[35])},d(o){o&&H(t)}}}function Wn(e){let t,r,n,i,a,o;return{c(){t=G("span"),r=ae("svg"),n=ae("path"),i=z(),a=G("span"),o=q(e[36]),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),y(t,r),y(r,n),y(t,i),y(t,a),y(a,o)},p(s,l){l[1]&32&&te(o,s[36])},d(s){s&&H(t)}}}function jn(e){let t;function r(a,o){if(!a[23]&&a[21]&&a[22])return nu;if(a[23]&&a[20]&&a[20]===Ht)return ru;if(a[23]&&a[20]&&a[20]===Rr&&a[16]&&a[16].length>0)return tu}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&&H(t),i&&i.d(a)}}}function tu(e){let t,r,n,i=At(new Array(Jn)),a=[];for(let o=0;o<i.length;o+=1)a[o]=zn(Nn(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[31]+" CornerRoulette")},m(o,s){A(o,t,s),y(t,r);for(let l=0;l<a.length;l+=1)a[l]&&a[l].m(r,null);e[73](r)},p(o,s){if(s[0]&1073807360|s[1]&32770){i=At(new Array(Jn));let l;for(l=0;l<i.length;l+=1){const u=Nn(o,i,l);a[l]?a[l].p(u,s):(a[l]=zn(u),a[l].c(),a[l].m(r,null))}for(;l<a.length;l+=1)a[l].d(1);a.length=i.length}s[1]&1&&n!==(n=o[31]+" CornerRoulette")&&p(t,"class",n)},d(o){o&&H(t),ri(a,o),e[73](null)}}}function ru(e){let t,r;function n(o,s){return o[33]?su:ou}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),y(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&&H(t),a.d()}}}function nu(e){let t,r=e[38]("opens")+"",n,i,a,o=mn(new Date(e[21]),e[22])+"",s;return{c(){t=G("div"),n=q(r),i=z(),a=G("span"),s=q(o),p(t,"class","ClosedGame")},m(l,u){A(l,t,u),y(t,n),y(t,i),y(t,a),y(a,s)},p(l,u){u[1]&128&&r!==(r=l[38]("opens")+"")&&te(n,r),u[0]&6291456&&o!==(o=mn(new Date(l[21]),l[22])+"")&&te(s,o)},d(l){l&&H(t)}}}function Vn(e){let t,r;function n(o,s){return s[0]&1073807360&&(t=null),t==null&&(t=!!(o[30]&&Array.isArray(o[16][o[116]])&&o[16][o[116]].length>=2)),t?au:iu}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&&H(r),a.d(o)}}}function iu(e){let t,r=e[46](`LatestResult ${e[116]===0?"First":""}`,e[116],Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]],e[32][Array.isArray(e[16][e[116]])?e[16][e[116]][0]:e[16][e[116]]])+"",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]&65536|a[1]&2&&r!==(r=i[46](`LatestResult ${i[116]===0?"First":""}`,i[116],Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]],i[32][Array.isArray(i[16][i[116]])?i[16][i[116]][0]:i[16][i[116]]])+"")&&t.p(r)},d(i){i&&(H(n),t.d())}}}function au(e){let t,r,n=e[46](`LatestResult ${e[116]===0?"First":""}`,`first${e[116]}${e[16][e[116]][0]}`,e[16][e[116]][0],e[32][e[16][e[116]][0]])+"",i,a,o=e[46](`LatestResult ${e[116]===0?"First":""}`,`second${e[116]}${e[16][e[116]][1]}`,e[16][e[116]][1],e[32][e[16][e[116]][1]])+"",s;return{c(){t=G("div"),r=new ut(!1),i=z(),a=new ut(!1),s=z(),r.a=i,a.a=s,p(t,"class","Double")},m(l,u){A(l,t,u),r.m(n,t),y(t,i),a.m(o,t),y(t,s)},p(l,u){u[0]&65536|u[1]&2&&n!==(n=l[46](`LatestResult ${l[116]===0?"First":""}`,`first${l[116]}${l[16][l[116]][0]}`,l[16][l[116]][0],l[32][l[16][l[116]][0]])+"")&&r.p(n),u[0]&65536|u[1]&2&&o!==(o=l[46](`LatestResult ${l[116]===0?"First":""}`,`second${l[116]}${l[16][l[116]][1]}`,l[16][l[116]][1],l[32][l[16][l[116]][1]])+"")&&a.p(o)},d(l){l&&H(t)}}}function zn(e){let t,r=e[16][e[116]]!==void 0&&Vn(e);return{c(){r&&r.c(),t=dt()},m(n,i){r&&r.m(n,i),A(n,t,i)},p(n,i){n[16][n[116]]!==void 0?r?r.p(n,i):(r=Vn(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&H(t),r&&r.d(n)}}}function ou(e){let t,r=At(e[25]),n=[];for(let i=0;i<r.length;i+=1)n[i]=Yn(Dn(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]&570425344|a[1]&4096){r=At(i[25]);let o;for(o=0;o<r.length;o+=1){const s=Dn(i,r,o);n[o]?n[o].p(s,a):(n[o]=Yn(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&&H(t),ri(n,i)}}}function su(e){let t,r=e[38]("full")+"",n;return{c(){t=G("span"),n=q(r),p(t,"class","FullTable")},m(i,a){A(i,t,a),y(t,n)},p(i,a){a[1]&128&&r!==(r=i[38]("full")+"")&&te(n,r)},d(i){i&&H(t)}}}function Yn(e){let t,r,n,i,a,o;return{c(){t=G("span"),r=ae("svg"),n=ae("path"),i=ae("path"),a=z(),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[43](e[29],e[111].toString())?"ClosedSeat":"OpenSeat")},m(s,l){A(s,t,l),y(t,r),y(r,n),y(r,i),y(t,a)},p(s,l){l[0]&570425344&&o!==(o=s[43](s[29],s[111].toString())?"ClosedSeat":"OpenSeat")&&p(t,"class",o)},d(s){s&&H(t)}}}function $n(e){let t,r,n,i,a=e[42](e[27])+"",o,s=e[28]!=null?` - ${e[42](e[28])}`:"+",l;return{c(){t=G("div"),r=G("span"),n=q(e[26]),i=z(),o=q(a),l=q(s),p(t,"class","CornerLimits")},m(u,c){A(u,t,c),y(t,r),y(r,n),y(t,i),y(t,o),y(t,l)},p(u,c){c[0]&67108864&&te(n,u[26]),c[0]&134217728&&a!==(a=u[42](u[27])+"")&&te(o,a),c[0]&268435456&&s!==(s=u[28]!=null?` - ${u[42](u[28])}`:"+")&&te(l,s)},d(u){u&&H(t)}}}function Xn(e){let t,r,n=e[5]&&qn(e);function i(s,l){if(s[0]&&s[18]&&s[2]==="true")return uu;if(!s[0]&&s[18]&&s[2]==="true")return lu}let a=i(e),o=a&&a(e);return{c(){t=G("div"),n&&n.c(),r=z(),o&&o.c(),p(t,"class","GameTopContainer")},m(s,l){A(s,t,l),n&&n.m(t,null),y(t,r),o&&o.m(t,null)},p(s,l){s[5]?n?n.p(s,l):(n=qn(s),n.c(),n.m(t,r)):n&&(n.d(1),n=null),a===(a=i(s))&&o?o.p(s,l):(o&&o.d(1),o=a&&a(s),o&&(o.c(),o.m(t,null)))},d(s){s&&H(t),n&&n.d(),o&&o.d()}}}function qn(e){let t;return{c(){t=G("span"),p(t,"class","GameInfoVendor"),on(t,"background-image","url("+e[5]+")")},m(r,n){A(r,t,n)},p(r,n){n[0]&32&&on(t,"background-image","url("+r[5]+")")},d(r){r&&H(t)}}}function lu(e){let t,r,n;return{c(){t=G("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="UnfavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" opacity="0.6"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){A(i,t,a),r||(n=kr(t,"click",e[75]),r=!0)},p:ee,d(i){i&&H(t),r=!1,n()}}}function uu(e){let t,r,n;return{c(){t=G("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" class="FavoredIcon" width="34" height="34" viewBox="0 0 34 34"><path d="M1911-7475a16.89,16.89,0,0,1-12.021-4.979A16.889,16.889,0,0,1,1894-7492a16.889,16.889,0,0,1,4.979-12.021A16.889,16.889,0,0,1,1911-7509a16.889,16.889,0,0,1,12.021,4.979A16.888,16.888,0,0,1,1928-7492a16.889,16.889,0,0,1-4.979,12.021A16.89,16.89,0,0,1,1911-7475Zm.009-9.883h0l5.7,3.008a.909.909,0,0,0,.405.087.779.779,0,0,0,.492-.173.892.892,0,0,0,.347-.811l-1.1-6.335,4.6-4.483a.8.8,0,0,0,.2-.869.768.768,0,0,0-.665-.579l-6.364-.925-2.864-5.786a.836.836,0,0,0-.752-.463.832.832,0,0,0-.752.463l-2.864,5.786-6.366.925a.887.887,0,0,0-.693.579.873.873,0,0,0,.2.869l4.63,4.483-1.1,6.335a.8.8,0,0,0,.349.811.765.765,0,0,0,.476.161.944.944,0,0,0,.419-.1l5.7-2.979Zm-5.672,1.678v0l1.072-6.306-4.572-4.483,6.336-.925,2.836-5.757,2.834,5.757,6.336.925-4.57,4.483,1.07,6.305-5.67-2.977-5.671,2.979Z" transform="translate(-1893.999 7509)" fill="#fff"></path></svg>',p(t,"class","FavIconContainer")},m(i,a){A(i,t,a),r||(n=kr(t,"click",e[74]),r=!0)},p:ee,d(i){i&&H(t),r=!1,n()}}}function Zn(e){let t,r;return{c(){t=G("p"),r=q(e[4]),p(t,"class","GameNameBelow"),p(t,"title",e[4])},m(n,i){A(n,t,i),y(t,r)},p(n,i){i[0]&16&&te(r,n[4]),i[0]&16&&p(t,"title",n[4])},d(n){n&&H(t)}}}function fu(e){let t,r,n,i,a,o,s,l,u,c=!J(e[39])&&e[12]==="false",h,m,d,g=e[1]&&Rn(e);function w(_,P){if(_[12]==="true")return eu;if(_[15]||_[13])return Kl}let v=w(e),E=v&&v(e),C=c&&Xn(e),L=e[10]==="true"&&Zn(e);return{c(){var _;t=G("div"),r=G("div"),n=G("ui-image"),o=z(),g&&g.c(),s=z(),l=G("div"),E&&E.c(),u=z(),C&&C.c(),m=z(),L&&L.c(),an(n.src,i=e[37])||Ae(n,"src",i),Ae(n,"class",a=`GameBg GameBg-${e[9]}`),Ae(n,"alt","Game thumbnail"),Ae(n,"loading","lazy"),p(l,"class","GameExtraInfoContainer"),p(r,"class",h="GameInnerContainer "+(e[15]&&!e[23]&&((_=e[24])!=null&&_.value)||e[15]&&e[33]?"GameInnerContainerUnavailable":"")+" "+(e[12]==="true"?"HasDisplayGameTiles":"")),p(t,"class",d=`GameContainer ${e[34]} ${e[11]=="true"?"CasinoGamesGridSlider":""} ${e[3]&&J(e[39])?"pb-0":""}`),sn(t,"WithGameName",e[10])},m(_,P){A(_,t,P),y(t,r),y(r,n),e[71](n),y(r,o),g&&g.m(r,null),y(r,s),y(r,l),E&&E.m(l,null),y(l,u),C&&C.m(l,null),y(t,m),L&&L.m(t,null),e[76](t)},p(_,P){var W;P[1]&64&&!an(n.src,i=_[37])&&Ae(n,"src",i),P[0]&512&&a!==(a=`GameBg GameBg-${_[9]}`)&&Ae(n,"class",a),_[1]?g?g.p(_,P):(g=Rn(_),g.c(),g.m(r,s)):g&&(g.d(1),g=null),v===(v=w(_))&&E?E.p(_,P):(E&&E.d(1),E=v&&v(_),E&&(E.c(),E.m(l,u))),P[0]&4096&&(c=!J(_[39])&&_[12]==="false"),c?C?C.p(_,P):(C=Xn(_),C.c(),C.m(l,null)):C&&(C.d(1),C=null),P[0]&25202688|P[1]&4&&h!==(h="GameInnerContainer "+(_[15]&&!_[23]&&((W=_[24])!=null&&W.value)||_[15]&&_[33]?"GameInnerContainerUnavailable":"")+" "+(_[12]==="true"?"HasDisplayGameTiles":""))&&p(r,"class",h),_[10]==="true"?L?L.p(_,P):(L=Zn(_),L.c(),L.m(t,null)):L&&(L.d(1),L=null),P[0]&2056|P[1]&8&&d!==(d=`GameContainer ${_[34]} ${_[11]=="true"?"CasinoGamesGridSlider":""} ${_[3]&&J(_[39])?"pb-0":""}`)&&p(t,"class",d),P[0]&3080|P[1]&8&&sn(t,"WithGameName",_[10])},i:ee,o:ee,d(_){_&&H(t),e[71](null),g&&g.d(),E&&E.d(),C&&C.d(),L&&L.d(),e[76](null)}}}const Ht="blackjack",Rr="roulette",wr="doubleballroulette",Qn=7,cu=",",Jn=5;function hu(e,t,r){let n,i;da(e,Ul,f=>r(38,i=f));let{session:a=""}=t,{userid:o=""}=t,{lang:s="en"}=t,{clientstyling:l=""}=t,{mbsource:u}=t,{clientstylingurl:c=""}=t,{translationurl:h=""}=t,{favorites:m=""}=t,{gamethumbnail:d=""}=t,{icon:g}=t,{gamename:w=""}=t,{gamevendor:v=""}=t,{gamelaunchurl:E=""}=t,{gameid:C=""}=t,{gameisnew:L=!1}=t,{gametag:_=""}=t,{gamefunmode:P=!1}=t,{gamefavorite:W=!1}=t,{gamecellsize:be=""}=t,{showfavoredcategory:Oe=!1}=t,{showgamename:bt=""}=t,{currency:le=""}=t,{gamepagemodalurl:j="false"}=t,{endpoint:Z=""}=t,{categoryid:de=""}=t,{livelobbyendpoint:Xe=""}=t,{connectlive:Le=""}=t,{visibilityconnect:qe=""}=t,{integratedgameframedesktop:vt="false"}=t,{integratedgameframemobile:Ie="false"}=t,{casinogamesgridslider:jr="false"}=t,{allowsingleclickgameentry:Xt="false"}=t,{livelobbydataendpoint:Vr=""}=t,{displaygametiles:zr=""}=t,{livetabledata:oe="false"}=t,yt=!1,qt,wt,Ze,ki,Zt,re=window.navigator.userAgent,ue,x,ve,_t,xt,Qt="HH:mm",pe,ye,Jt=[],Qe="EUR",Je,Ke,Pe,Ee,Kt,er,Be,we,ne,et,tr,Te,rr,se="",tt,nr,He;const Ui=[Ht],ir=[Rr,wr],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(b=>{jl(b,f[b])})},Wi=()=>{fetch(h).then(b=>b.json()).then(b=>{sr(b)}).catch(b=>{console.log(b)})};sr(ql);const Yr=f=>{f.data.type===`AddFavoriteThumbnail_${C}`&&!Oe&&r(0,W=!0),f.data.type===`RemoveFavoriteThumbnail_${C}`&&!Oe&&r(0,W=!1),f.data.type==="UserSessionID"&&(r(18,yt=!0),qt=f.data.session,wt=f.data.userID),f.data.type==="CategoryUpdate"&&r(15,x=null)},$r=f=>{if(window.postMessage({type:"SearchedItemClicked",gameId:f},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${f}`,userId:`${wt||"Not logged in"}`}),J(re)&&Xt==="true"&&yt){ji(f);return}if(J(re)&&Ie=="true"){window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:j,isMobile:J(re),source:"GameThumbnail",identifier:"Lobby",subVendor:v,launchUrl:E},window.location.href);return}if(J(re)&&Ie=="false"){window.postMessage({type:"ShowGameModal",gameId:f,isMobile:J(re)},window.location.href);return}!J(re)&&vt=="true"?window.postMessage({type:"OpenGameFrame",gameId:f,gamefunmode:P,gamepagemodalurl:j,isMobile:J(re),identifier:"Lobby",subVendor:v,launchUrl:E},window.location.href):!J(re)&&vt=="false"&&window.postMessage({type:"ShowGameModal",gameId:f,isMobile:J(re)},window.location.href)},ji=f=>Ct(this,null,function*(){let b=new URL(`${Z}/v1/casino/games/${f}`);b.searchParams.append("language",s),b.searchParams.append("expand","vendor");const B=(yield(yield fetch(b.href)).json())[0],k=new URL(B.launchUrl);k.searchParams.append("_sid",qt),k.searchParams.append("funMode","false"),Ie==="false"?window.open(k,"_blank"):Ie==="true"&&window.postMessage({type:"OpenIntegratedGameFrame",subVendor:B.subVendor,gameId:B.id,launchUrl:k==null?void 0:k.href},window.location.href)}),lr=f=>{W?window.postMessage({type:`SetUnfavoredGame${de}`,id:f},window.location.href):window.postMessage({type:`SetFavoredGame${de}`,id:f},window.location.href)},Vi=()=>{Vl(s)},zi=()=>{r(18,yt=!0),qt=a,wt=o},Yi=(f,b)=>`${Z}/v1/encoder/lobby/updates/${f}/${b}`,Xr=()=>{Xe&&EventSource&&!ve&&v&&C&&(ve=new EventSource(Yi(v,C)),ve.addEventListener("message",Qr))},qr=()=>{ve&&(ve.close(),ve=void 0)},Zr=()=>{var f,b,T,N,B,k,V;if(oe)try{const D=typeof oe=="string"?JSON.parse(oe):oe;r(23,pe=(f=D.IsOpen)!=null?f:!0),r(35,nr=((b=D.Dealer)==null?void 0:b.DealerName)||((T=D.dealer)==null?void 0:T.dealerName)||""),r(36,He=(B=(N=D.Players)!=null?N:D.NumberOfPlayers)!=null?B:0),r(27,Je=null),r(28,Ke=null),r(26,Qe="");const ie=D.BetLimits||D.betLimits||[];if(Array.isArray(ie)&&ie.length>0){const R=ie.find(Kr=>(Kr.Currency||Kr.currency)===le)||ie[0];r(27,Je=(k=R.Min)!=null?k:R.min),r(28,Ke=(V=R.Max)!=null?V:R.max);const ce=R.Currency||R.currency||le;r(26,Qe=Mn[ce]||ce)}r(20,_t=Jr(D));const $=D.SeatDetails||D.seatDetails;($||_t===Ht)&&(Pe=($==null?void 0:$.TotalSeats)||($==null?void 0:$.totalSeats)||Qn,r(29,Ee=($==null?void 0:$.TakenSeats)||($==null?void 0:$.takenSeats)||[]),r(33,Te=Ee.length>=Pe),r(25,Jt=Array.from({length:Pe},(R,ce)=>(ce+1).toString())));const Tt=D.Results||D.results||D.CurrentRouletteNumbers||D.currentRouletteNumbers||[],fe=Et(Tt);r(16,ne=fe.filter(R=>typeof R!="object"&&R!=="")),Be=D.VendorCategory||D.Category||"";const X=(Be||"").toLowerCase();if(r(30,we=X===wr),we&&Array.isArray(ne)){const R=[];for(let ce=0;ce<ne.length;ce+=2)ce+1<ne.length&&R.push([ne[ce],ne[ce+1]]);r(16,ne=R)}r(32,tr=rt(ir,X)?or:ar),r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=we?" Double":"")}catch(D){console.error("Error while mapping live table data:",D)}},Et=f=>{if(f==null)return[];if(typeof f!="object")return[f];let b=[];if(Array.isArray(f))for(const T of f)b=b.concat(Et(T));else{const T=["Value","value","Number","number","Text","text","Name","name"];let N=!1;for(const B of T)f[B]!==void 0&&f[B]!==null&&(typeof f[B]!="object"?(b.push(f[B]),N=!0):(b=b.concat(Et(f[B])),N=!0));if(!N)for(const B of Object.keys(f))b=b.concat(Et(f[B]))}return b},Qr=f=>Ct(this,null,function*(){const{type:b,data:T}=f;let N;switch(b){case"message":{if(T)try{N=JSON.parse(T)}catch(B){console.error("MESSAGE PARSING ERROR: ",B)}if(N){const{InternalTableId:B,MessageType:k,Results:V,Seats:D,Open:ie}=N;if(B)switch(k){case"SeatsUpdated":{D&&Array.isArray(D)&&(r(29,Ee=D),r(15,x.currentOccupiedSeats=D,x),yield nt());break}case"RouletteResultsUpdated":{V&&Array.isArray(V)&&(Kt=V,r(15,x.currentRouletteNumbers=V,x),yield nt());break}case"DoubleBallRouletteResultsUpdated":{V&&Array.isArray(V)&&(er=V,r(15,x.currentDoubleBallRouletteNumbers=V,x),yield nt());break}case"TableOpened":{r(23,pe=ie),r(15,x.isOpen=ie,x),yield nt();break}case"TableClosed":{r(23,pe=ie),r(15,x.isOpen=ie,x),yield nt();break}}}}}}),$i=()=>{let f=new URL(`${Xe.split("?")[0]}`);f.searchParams.append("platform",Wl(re)),f.searchParams.append("language",s),fetch(f).then(b=>b.json()).then(b=>{const{details:T}=b[0];r(15,x=T)})},ur=(f,b=cu)=>f!=null?`${f}`.replace(/\B(?=(\d{3})+(?!\d))/g,b):"",rt=(f,b)=>f.some(T=>T===b),Jr=f=>{let b=null;if(f){const T=f.vendorCategory||f.VendorCategory||f.Category||"",N=(f.TableName||"").toLowerCase(),B=(f.VendorTableId||"").toLowerCase(),k=T.toLowerCase();rt(Ui,k)||N.includes("blackjack")||B.includes("bj")||B.includes("bsk")?b=Ht:(rt(ir,k)||N.includes("roulette")||B.includes("roul"))&&(b=Rr)}return b},Xi=(f,b,T)=>{let N,B;return f!=null&&b!==void 0&&b!==null&&(B=`
19
+ <span>
20
+ ${T}
21
+ </span>
22
+ ${ur(f)}-${ur(b)}`),He&&(N=`
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>`),!N&&!B?"":`
25
+ <p class="LiveLimits">
26
+ <span class="BetLimitLeft">
27
+ ${B||""}
28
+ </span>
29
+ <span class="BetLimitRight">
30
+ ${N||""}
31
+ </span>
32
+ </p>`},qi=f=>f?`
33
+ <p class="LiveLimits">
34
+ <span class="DealerName">${i("dealer")}: ${f}</span>
35
+ </p>
36
+ `:"",Zi=f=>{Pe=f.totalSeats||Qn,r(29,Ee=f.currentOccupiedSeats||[]);const b=[];for(let T=1;T<=Pe;T++)b.push(T);return{seats:b}},Qi=(f,b,T,N="")=>{const B=`${f} ${N}`,k=b.toString().match(/first0|second0|0/g);return b===0||k&&k.length!==0?`
37
+ <span
38
+ id=${b}
39
+ class="${B}"
40
+ >
41
+ ${T}
42
+ </span>
43
+ `:`
44
+ <span id=${b} class="${B}">
45
+ ${T}
46
+ </span>
47
+ `},Ji=()=>{const f="FirstElementAnimated",b=tt.getElementsByClassName("First")[0];b&&(b.classList.add(f),setTimeout(()=>{b.classList.remove(f)},2e3))},Ki=()=>{var f,b,T,N,B;if(x&&Object.keys(x).length>0){r(23,pe=(b=(f=x.isOpen)!=null?f:x.IsOpen)!=null?b:pe);const k=x.betLimit||x.BetLimits;if(k){const X=(k.min||k.Min||{})[le],R=(k.max||k.Max||{})[le];X!=null&&r(27,Je=X),R!=null&&r(28,Ke=R)}r(24,ye=(x==null?void 0:x.openHours)||(x==null?void 0:x.OpenHours)||ye);const V=Zi(x);if(V!=null&&V.seats&&Array.isArray(V.seats)&&V.seats.length>0&&r(25,Jt=V.seats),ye&&(ye!=null&&ye.value)){const{value:{startTime:X,originalTimeFormat:R}}=ye;r(21,xt=X||xt),r(22,Qt=R||Qt)}if(pe){const X=Jr(x);X&&r(20,_t=X)}r(26,Qe=Mn[le]||Qe);const D=x.currentRouletteNumbers||x.CurrentRouletteNumbers;D&&(Kt=D);const ie=x.currentDoubleBallRouletteNumbers||x.CurrentDoubleBallRouletteNumbers;ie&&(er=ie);const $=x.vendorCategory||x.VendorCategory;$&&(Be=$);const Tt=Be!=null&&typeof Be=="string"?Be.toLowerCase():"";r(30,we=Tt===wr);let fe=(we?er:Kt)||ne||[];if(we&&Array.isArray(fe)&&fe.length>0&&!Array.isArray(fe[0])){const X=[];for(let R=0;R<fe.length;R+=2)R+1<fe.length&&X.push([fe[R],fe[R+1]]);r(16,ne=X)}else r(16,ne=fe);if(r(31,et="GameProp LiveProps RoulleteProps"),r(31,et+=we?" Double":""),r(32,tr=rt(ir,Tt)?or:ar),rr=Te,r(33,Te=Array.isArray(Ee)&&Ee.length===Pe),x.dealer){const X=x.dealer.DealerName||x.dealer.dealerName;X&&r(35,nr=X)}r(36,He=(B=(N=(T=x.numberOfPlayers)!=null?T:x.Players)!=null?N:x.NumberOfPlayers)!=null?B:He),r(34,se="ListGame"),x.isOpen&&x.currentRouletteNumbers&&r(34,se+=" GameBackdrop"),pe&&Te&&Je&&Ke&&x.currentOccupiedSeats?r(34,se+=" GameContainerDimmed"):pe===!1&&xt&&r(34,se+=" GameContainerFullyDimmed"),ue&&(!rr&&Te?(r(34,se+=" PulsatingRedShadow"),r(34,se=se.replace(" PulsatingGreenShadow",""))):rr&&!Te&&(r(34,se+=" PulsatingGreenShadow"),r(34,se=se.replace(" PulsatingRedShadow",""))))}},ea=()=>{Le==="disconnect"?qr():Le==="connect"&&Xr()},ta=()=>{qe==="disconnect"?qr():qe==="connect"&&Le==="connect"&&Xr()};_a(()=>(Zr(),window.addEventListener("message",Yr,!1),()=>{Ze&&Ze.unsubscribe(),window.removeEventListener("message",Yr),ve&&ve.removeEventListener("message",Qr)}));function ra(f){lt[f?"unshift":"push"](()=>{Zt=f,r(19,Zt)})}const na=()=>$r(C);function ia(f){lt[f?"unshift":"push"](()=>{tt=f,r(17,tt)})}const aa=()=>lr(C),oa=()=>lr(C);function sa(f){lt[f?"unshift":"push"](()=>{ue=f,r(14,ue)})}return e.$$set=f=>{"session"in f&&r(47,a=f.session),"userid"in f&&r(48,o=f.userid),"lang"in f&&r(1,s=f.lang),"clientstyling"in f&&r(49,l=f.clientstyling),"mbsource"in f&&r(50,u=f.mbsource),"clientstylingurl"in f&&r(51,c=f.clientstylingurl),"translationurl"in f&&r(52,h=f.translationurl),"favorites"in f&&r(2,m=f.favorites),"gamethumbnail"in f&&r(53,d=f.gamethumbnail),"icon"in f&&r(3,g=f.icon),"gamename"in f&&r(4,w=f.gamename),"gamevendor"in f&&r(5,v=f.gamevendor),"gamelaunchurl"in f&&r(54,E=f.gamelaunchurl),"gameid"in f&&r(6,C=f.gameid),"gameisnew"in f&&r(7,L=f.gameisnew),"gametag"in f&&r(8,_=f.gametag),"gamefunmode"in f&&r(55,P=f.gamefunmode),"gamefavorite"in f&&r(0,W=f.gamefavorite),"gamecellsize"in f&&r(9,be=f.gamecellsize),"showfavoredcategory"in f&&r(56,Oe=f.showfavoredcategory),"showgamename"in f&&r(10,bt=f.showgamename),"currency"in f&&r(57,le=f.currency),"gamepagemodalurl"in f&&r(58,j=f.gamepagemodalurl),"endpoint"in f&&r(59,Z=f.endpoint),"categoryid"in f&&r(60,de=f.categoryid),"livelobbyendpoint"in f&&r(61,Xe=f.livelobbyendpoint),"connectlive"in f&&r(62,Le=f.connectlive),"visibilityconnect"in f&&r(63,qe=f.visibilityconnect),"integratedgameframedesktop"in f&&r(64,vt=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(65,Ie=f.integratedgameframemobile),"casinogamesgridslider"in f&&r(11,jr=f.casinogamesgridslider),"allowsingleclickgameentry"in f&&r(66,Xt=f.allowsingleclickgameentry),"livelobbydataendpoint"in f&&r(67,Vr=f.livelobbydataendpoint),"displaygametiles"in f&&r(12,zr=f.displaygametiles),"livetabledata"in f&&r(13,oe=f.livetabledata)},e.$$.update=()=>{e.$$.dirty[2]&1&&Le&&ea(),e.$$.dirty[2]&2&&qe&&ta(),e.$$.dirty[0]&2&&s&&Vi(),e.$$.dirty[1]&268632064&&a&&o&&Z&&zi(),e.$$.dirty[0]&16384|e.$$.dirty[1]&262144&&l&&ue&&zl(ue,l),e.$$.dirty[0]&16384|e.$$.dirty[1]&1048576&&c&&ue&&An(ue,c),e.$$.dirty[0]&16384|e.$$.dirty[1]&524288|e.$$.dirty[2]&256&&u&&ue&&r(70,Ze=Yl(ue,`${u}.Style`,Ze,!0)),e.$$.dirty[1]&2621440&&u&&!h&&Zl(`${u}.Translation`,ki,sr),e.$$.dirty[0]&4,e.$$.dirty[1]&2097152&&h&&Wi(),e.$$.dirty[0]&512|e.$$.dirty[1]&1048576&&be&&c&&An(),e.$$.dirty[1]&1342177280&&Z&&Xe&&$i(),e.$$.dirty[0]&32768&&x&&Ki(),e.$$.dirty[0]&196608&&tt&&ne&&Ji(),e.$$.dirty[0]&8200|e.$$.dirty[1]&4194304&&r(37,n=(()=>{var f,b;if(oe)try{const T=typeof oe=="string"?JSON.parse(oe):oe,N=((b=(f=T==null?void 0:T.VideoSnapshot)==null?void 0:f.Thumbnails)==null?void 0:b.Medium)||(T==null?void 0:T.Image)||(T==null?void 0:T.TableImage);if(N)return N}catch(T){}return g&&J(re)?g:d})()),e.$$.dirty[0]&8192|e.$$.dirty[1]&67108864&&(oe||le)&&Zr()},[W,s,m,g,w,v,C,L,_,be,bt,jr,zr,oe,ue,x,ne,tt,yt,Zt,_t,xt,Qt,pe,ye,Jt,Qe,Je,Ke,Ee,we,et,tr,Te,se,nr,He,n,i,re,$r,lr,ur,rt,Xi,qi,Qi,a,o,l,u,c,h,d,E,P,Oe,le,j,Z,de,Xe,Le,qe,vt,Ie,Xt,Vr,ar,or,Ze,ra,na,ia,aa,oa,sa]}class Fi extends Pa{constructor(t){super(),La(this,t,hu,fu,ei,{session:47,userid:48,lang:1,clientstyling:49,mbsource:50,clientstylingurl:51,translationurl:52,favorites:2,gamethumbnail:53,icon:3,gamename:4,gamevendor:5,gamelaunchurl:54,gameid:6,gameisnew:7,gametag:8,gamefunmode:55,gamefavorite:0,gamecellsize:9,showfavoredcategory:56,showgamename:10,currency:57,gamepagemodalurl:58,endpoint:59,categoryid:60,livelobbyendpoint:61,connectlive:62,visibilityconnect:63,integratedgameframedesktop:64,integratedgameframemobile:65,casinogamesgridslider:11,allowsingleclickgameentry:66,livelobbydataendpoint:67,displaygametiles:12,livetabledata:13,MONEY_WHEEL_COLOR_MAP:68,ROULETTE_COLOR_MAP:69},Ql,[-1,-1,-1,-1])}get session(){return this.$$.ctx[47]}set session(t){this.$$set({session:t}),S()}get userid(){return this.$$.ctx[48]}set userid(t){this.$$set({userid:t}),S()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),S()}get clientstyling(){return this.$$.ctx[49]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get mbsource(){return this.$$.ctx[50]}set mbsource(t){this.$$set({mbsource:t}),S()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}get translationurl(){return this.$$.ctx[52]}set translationurl(t){this.$$set({translationurl:t}),S()}get favorites(){return this.$$.ctx[2]}set favorites(t){this.$$set({favorites:t}),S()}get gamethumbnail(){return this.$$.ctx[53]}set gamethumbnail(t){this.$$set({gamethumbnail:t}),S()}get icon(){return this.$$.ctx[3]}set icon(t){this.$$set({icon:t}),S()}get gamename(){return this.$$.ctx[4]}set gamename(t){this.$$set({gamename:t}),S()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(t){this.$$set({gamevendor:t}),S()}get gamelaunchurl(){return this.$$.ctx[54]}set gamelaunchurl(t){this.$$set({gamelaunchurl:t}),S()}get gameid(){return this.$$.ctx[6]}set gameid(t){this.$$set({gameid:t}),S()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(t){this.$$set({gameisnew:t}),S()}get gametag(){return this.$$.ctx[8]}set gametag(t){this.$$set({gametag:t}),S()}get gamefunmode(){return this.$$.ctx[55]}set gamefunmode(t){this.$$set({gamefunmode:t}),S()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(t){this.$$set({gamefavorite:t}),S()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(t){this.$$set({gamecellsize:t}),S()}get showfavoredcategory(){return this.$$.ctx[56]}set showfavoredcategory(t){this.$$set({showfavoredcategory:t}),S()}get showgamename(){return this.$$.ctx[10]}set showgamename(t){this.$$set({showgamename:t}),S()}get currency(){return this.$$.ctx[57]}set currency(t){this.$$set({currency:t}),S()}get gamepagemodalurl(){return this.$$.ctx[58]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),S()}get endpoint(){return this.$$.ctx[59]}set endpoint(t){this.$$set({endpoint:t}),S()}get categoryid(){return this.$$.ctx[60]}set categoryid(t){this.$$set({categoryid:t}),S()}get livelobbyendpoint(){return this.$$.ctx[61]}set livelobbyendpoint(t){this.$$set({livelobbyendpoint:t}),S()}get connectlive(){return this.$$.ctx[62]}set connectlive(t){this.$$set({connectlive:t}),S()}get visibilityconnect(){return this.$$.ctx[63]}set visibilityconnect(t){this.$$set({visibilityconnect:t}),S()}get integratedgameframedesktop(){return this.$$.ctx[64]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),S()}get integratedgameframemobile(){return this.$$.ctx[65]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),S()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),S()}get allowsingleclickgameentry(){return this.$$.ctx[66]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),S()}get livelobbydataendpoint(){return this.$$.ctx[67]}set livelobbydataendpoint(t){this.$$set({livelobbydataendpoint:t}),S()}get displaygametiles(){return this.$$.ctx[12]}set displaygametiles(t){this.$$set({displaygametiles:t}),S()}get livetabledata(){return this.$$.ctx[13]}set livetabledata(t){this.$$set({livetabledata:t}),S()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[68]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[69]}}Ia(Fi,{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=Fi;