@everymatrix/casino-search-nd 1.97.2 → 1.97.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoGameThumbnailNd-CFEmqcJs.cjs +30 -0
- package/components/CasinoGameThumbnailNd-D6kkSBbr.js +2157 -0
- package/components/CasinoGameThumbnailNd-DnCAySBN.js +2136 -0
- package/components/{CasinoSearchNd-C2FtElTh.js → CasinoSearchNd-CaydztO5.js} +28 -24
- package/components/{CasinoSearchNd-lkJNx7nv.cjs → CasinoSearchNd-D4URq-dH.cjs} +3 -3
- package/components/{CasinoSearchNd-DtiVLKlD.js → CasinoSearchNd-Dj11AXBf.js} +29 -25
- package/es2015/casino-search-nd.cjs +1 -1
- package/es2015/casino-search-nd.js +1 -1
- package/esnext/casino-search-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoGameThumbnailNd-CRyykpBF.cjs +0 -30
- package/components/CasinoGameThumbnailNd-FeDfDEzy.js +0 -2033
- package/components/CasinoGameThumbnailNd-RdZ-tZ3Z.js +0 -2012
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";var fa=Object.defineProperty,da=Object.defineProperties;var ma=Object.getOwnPropertyDescriptors;var lr=Object.getOwnPropertySymbols;var ga=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var wt=(e,t,r)=>t in e?fa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_t=(e,t)=>{for(var r in t||(t={}))ga.call(t,r)&&wt(e,r,t[r]);if(lr)for(var r of lr(t))pa.call(t,r)&&wt(e,r,t[r]);return e},cr=(e,t)=>da(e,ma(t));var X=(e,t,r)=>(wt(e,typeof t!="symbol"?t+"":t,r),r);var St=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{s(r.next(u))}catch(l){a(l)}},o=u=>{try{s(r.throw(u))}catch(l){a(l)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});function J(){}function qr(e){return e()}function hr(){return Object.create(null)}function ge(e){e.forEach(qr)}function Qt(e){return typeof e=="function"}function Zt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let ze;function va(e,t){return e===t?!0:(ze||(ze=document.createElement("a")),ze.href=t,e===ze.href)}function ba(e){return Object.keys(e).length===0}function zr(e,...t){if(e==null){for(const n of t)n(void 0);return J}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Qr(e,t,r){e.$$.on_destroy.push(zr(t,r))}function M(e,t){e.appendChild(t)}function Zr(e,t,r){const n=ya(e);if(!n.getElementById(t)){const a=N("style");a.id=t,a.textContent=r,wa(n,a)}}function ya(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function wa(e,t){return M(e.head||e,t),t.sheet}function $(e,t,r){e.insertBefore(t,r||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function _a(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function N(e){return document.createElement(e)}function rt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function te(e){return document.createTextNode(e)}function Z(){return te(" ")}function Jt(){return te("")}function de(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function _(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function v(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:_(e,t,r)}function Sa(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function fr(e,t){e.value=t==null?"":t}function Ea(e,t,r){e.classList.toggle(t,!!r)}class xa{constructor(t=!1){X(this,"is_svg",!1);X(this,"e");X(this,"n");X(this,"t");X(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=rt(r.nodeName):this.e=N(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)$(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(W)}}function Ta(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ke;function De(e){ke=e}function Ca(){if(!ke)throw new Error("Function called outside component initialization");return ke}function Jr(e){Ca().$$.on_mount.push(e)}const Se=[],Ue=[];let xe=[];const dr=[],Kr=Promise.resolve();let At=!1;function en(){At||(At=!0,Kr.then(B))}function Pa(){return en(),Kr}function Bt(e){xe.push(e)}const Et=new Set;let ye=0;function B(){if(ye!==0)return;const e=ke;do{try{for(;ye<Se.length;){const t=Se[ye];ye++,De(t),Oa(t.$$)}}catch(t){throw Se.length=0,ye=0,t}for(De(null),Se.length=0,ye=0;Ue.length;)Ue.pop()();for(let t=0;t<xe.length;t+=1){const r=xe[t];Et.has(r)||(Et.add(r),r())}xe.length=0}while(Se.length);for(;dr.length;)dr.pop()();At=!1,Et.clear(),De(e)}function Oa(e){if(e.fragment!==null){e.update(),ge(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Bt)}}function Ha(e){const t=[],r=[];xe.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),xe=t}const Ma=new Set;function tn(e,t){e&&e.i&&(Ma.delete(e),e.i(t))}function Lt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ra(e,t){e.d(1),t.delete(e.key)}function Aa(e,t,r,n,a,i,o,s,u,l,c,h){let d=e.length,m=i.length,g=d;const b={};for(;g--;)b[e[g].key]=g;const w=[],p=new Map,R=new Map,P=[];for(g=m;g--;){const O=h(a,i,g),G=r(O);let A=o.get(G);A?P.push(()=>A.p(O,t)):(A=l(G,O),A.c()),p.set(G,w[g]=A),G in b&&R.set(G,Math.abs(g-b[G]))}const U=new Set,F=new Set;function T(O){tn(O,1),O.m(s,c),o.set(O.key,O),c=O.first,m--}for(;d&&m;){const O=w[m-1],G=e[d-1],A=O.key,C=G.key;O===G?(c=O.first,d--,m--):p.has(C)?!o.has(A)||U.has(A)?T(O):F.has(C)?d--:R.get(A)>R.get(C)?(F.add(A),T(O)):(U.add(C),d--):(u(G,o),d--)}for(;d--;){const O=e[d];p.has(O.key)||u(O,o)}for(;m;)T(w[m-1]);return ge(P),w}function Ba(e,t,r){const{fragment:n,after_update:a}=e.$$;n&&n.m(t,r),Bt(()=>{const i=e.$$.on_mount.map(qr).filter(Qt);e.$$.on_destroy?e.$$.on_destroy.push(...i):ge(i),e.$$.on_mount=[]}),a.forEach(Bt)}function La(e,t){const r=e.$$;r.fragment!==null&&(Ha(r.after_update),ge(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Na(e,t){e.$$.dirty[0]===-1&&(Se.push(e),en(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function rn(e,t,r,n,a,i,o=null,s=[-1]){const u=ke;De(e);const l=e.$$={fragment:null,ctx:[],props:i,update:J,not_equal:a,bound:hr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:hr(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};o&&o(l.root);let c=!1;if(l.ctx=r?r(e,t.props||{},(h,d,...m)=>{const g=m.length?m[0]:d;return l.ctx&&a(l.ctx[h],l.ctx[h]=g)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](g),c&&Na(e,h)),d}):[],l.update(),c=!0,ge(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const h=Sa(t.target);l.fragment&&l.fragment.l(h),h.forEach(W)}else l.fragment&&l.fragment.c();t.intro&&tn(e.$$.fragment),Ba(e,t.target,t.anchor),B()}De(u)}let nn;typeof HTMLElement=="function"&&(nn=class extends HTMLElement{constructor(t,r,n){super();X(this,"$$ctor");X(this,"$$s");X(this,"$$c");X(this,"$$cn",!1);X(this,"$$d",{});X(this,"$$r",!1);X(this,"$$p_d",{});X(this,"$$l",{});X(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 a=this.$$c.$on(t,r);this.$$l_u.set(r,a)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}connectedCallback(){return St(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=N("slot"),i!=="default"&&_(o,"name",i)},m:function(l,c){$(l,o,c)},d:function(l){l&&W(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ta(this);for(const i of this.$$s)i in n&&(r[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=Je(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:cr(_t({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const a=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=Je(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(a),a();for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var a;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Je(t,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$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 Je(e,t,r,n){var i;const a=(i=r[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(a){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(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,a,i){let o=class extends nn{constructor(){super(e,r,a),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(u){var l;u=Je(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=o,o}class on{constructor(){X(this,"$$");X(this,"$$set")}$destroy(){La(this,1),this.$destroy=J}$on(t,r){if(!Qt(r))return J;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const a=n.indexOf(r);a!==-1&&n.splice(a,1)}}$set(t){this.$$set&&!ba(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ia="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ia);const we=[];function Da(e,t){return{subscribe:lt(e,t).subscribe}}function lt(e,t=J){let r;const n=new Set;function a(s){if(Zt(e,s)&&(e=s,r)){const u=!we.length;for(const l of n)l[1](),we.push(l,e);if(u){for(let l=0;l<we.length;l+=2)we[l][0](we[l+1]);we.length=0}}}function i(s){a(s(e))}function o(s,u=J){const l=[s,u];return n.add(l),n.size===1&&(r=t(a,i)||J),s(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:i,subscribe:o}}function He(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Da(r,(o,s)=>{let u=!1;const l=[];let c=0,h=J;const d=()=>{if(c)return;h();const g=t(n?l[0]:l,o,s);i?o(g):h=Qt(g)?g:J},m=a.map((g,b)=>zr(g,w=>{l[b]=w,c&=~(1<<b),u&&d()},()=>{c|=1<<b}));return u=!0,d(),function(){ge(m),h(),u=!1}})}function ka(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ua=function(t){return Fa(t)&&!Ga(t)};function Fa(e){return!!e&&typeof e=="object"}function Ga(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||$a(e)}var ja=typeof Symbol=="function"&&Symbol.for,Wa=ja?Symbol.for("react.element"):60103;function $a(e){return e.$$typeof===Wa}function Va(e){return Array.isArray(e)?[]:{}}function Fe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Te(Va(e),e,t):e}function Ya(e,t,r){return e.concat(t).map(function(n){return Fe(n,r)})}function Xa(e,t){if(!t.customMerge)return Te;var r=t.customMerge(e);return typeof r=="function"?r:Te}function qa(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function mr(e){return Object.keys(e).concat(qa(e))}function sn(e,t){try{return t in e}catch(r){return!1}}function za(e,t){return sn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Qa(e,t,r){var n={};return r.isMergeableObject(e)&&mr(e).forEach(function(a){n[a]=Fe(e[a],r)}),mr(t).forEach(function(a){za(e,a)||(sn(e,a)&&r.isMergeableObject(t[a])?n[a]=Xa(a,r)(e[a],t[a],r):n[a]=Fe(t[a],r))}),n}function Te(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ya,r.isMergeableObject=r.isMergeableObject||Ua,r.cloneUnlessOtherwiseSpecified=Fe;var n=Array.isArray(t),a=Array.isArray(e),i=n===a;return i?n?r.arrayMerge(e,t,r):Qa(e,t,r):Fe(t,r)}Te.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return Te(n,a,r)},{})};var Za=Te,Ja=Za;const Ka=ka(Ja);var Nt=function(e,t){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Nt(e,t)};function ct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ee=function(){return ee=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ee.apply(this,arguments)};function ei(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 a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function xt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Tt(e,t){var r=t&&t.cache?t.cache:si,n=t&&t.serializer?t.serializer:ii,a=t&&t.strategy?t.strategy:ni;return a(e,{cache:r,serializer:n})}function ti(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ri(e,t,r,n){var a=ti(n)?n:r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.call(this,n),t.set(a,i)),i}function un(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.apply(this,n),t.set(a,i)),i}function ln(e,t,r,n,a){return r.bind(t,e,n,a)}function ni(e,t){var r=e.length===1?ri:un;return ln(e,this,r,t.cache.create(),t.serializer)}function ai(e,t){return ln(e,this,un,t.cache.create(),t.serializer)}var ii=function(){return JSON.stringify(arguments)},oi=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}(),si={create:function(){return new oi}},Ct={variadic:ai},nt=function(){return nt=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},nt.apply(this,arguments)};var S;(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"})(S||(S={}));var L;(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"})(L||(L={}));var Ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ce||(Ce={}));function gr(e){return e.type===L.literal}function ui(e){return e.type===L.argument}function cn(e){return e.type===L.number}function hn(e){return e.type===L.date}function fn(e){return e.type===L.time}function dn(e){return e.type===L.select}function mn(e){return e.type===L.plural}function li(e){return e.type===L.pound}function gn(e){return e.type===L.tag}function pn(e){return!!(e&&typeof e=="object"&&e.type===Ce.number)}function It(e){return!!(e&&typeof e=="object"&&e.type===Ce.dateTime)}var vn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ci=/(?:[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 hi(e){var t={};return e.replace(ci,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 k=function(){return k=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};var fi=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function di(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(fi).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var i=a[n],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function mi(e){return e.replace(/^(.*?)-/,"")}var pr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,bn=/^(@+)?(\+|#+)?[rs]?$/g,gi=/(\*)(0+)|(#+)(0+)|(0+)/g,yn=/^(0+)$/;function vr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(bn,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function wn(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 pi(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)),!yn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function br(e){var t={},r=wn(e);return r||t}function vi(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.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=mi(a.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=k(k(k({},t),{notation:"scientific"}),a.options.reduce(function(u,l){return k(k({},u),br(l))},{}));continue;case"engineering":t=k(k(k({},t),{notation:"engineering"}),a.options.reduce(function(u,l){return k(k({},u),br(l))},{}));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(a.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(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(gi,function(u,l,c,h,d,m){if(l)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(yn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(pr.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(pr,function(u,l,c,h,d,m){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=a.options[0];i==="w"?t=k(k({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=k(k({},t),vr(i)));continue}if(bn.test(a.stem)){t=k(k({},t),vr(a.stem));continue}var o=wn(a.stem);o&&(t=k(k({},t),o));var s=pi(a.stem);s&&(t=k(k({},t),s))}return t}var Qe={"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 bi(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===a;)i++,n++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",l=yi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=u;for(;o-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function yi(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 a=Qe[n||""]||Qe[r||""]||Qe["".concat(r,"-001")]||Qe["001"];return a[0]}var Pt,wi=new RegExp("^".concat(vn.source,"*")),_i=new RegExp("".concat(vn.source,"*$"));function x(e,t){return{start:e,end:t}}var Si=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ei=!!String.fromCodePoint,xi=!!Object.fromEntries,Ti=!!String.prototype.codePointAt,Ci=!!String.prototype.trimStart,Pi=!!String.prototype.trimEnd,Oi=!!Number.isSafeInteger,Hi=Oi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{var Mi=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Dt=((Pt=Mi.exec("a"))===null||Pt===void 0?void 0:Pt[0])==="a"}catch(e){Dt=!1}var yr=Si?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},kt=Ei?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,i=0,o;a>i;){if(o=t[i++],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},wr=xi?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var i=a[n],o=i[0],s=i[1];r[o]=s}return r},_n=Ti?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),i;return a<55296||a>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},Ri=Ci?function(t){return t.trimStart()}:function(t){return t.replace(wi,"")},Ai=Pi?function(t){return t.trimEnd()}:function(t){return t.replace(_i,"")};function Sn(e,t){return new RegExp(e,t)}var Ut;if(Dt){var _r=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ut=function(t,r){var n;_r.lastIndex=r;var a=_r.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else Ut=function(t,r){for(var n=[];;){var a=_n(t,r);if(a===void 0||En(a)||Ii(a))break;n.push(a),r+=a>=65536?2:1}return kt.apply(void 0,n)};var Bi=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 a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(t,n);if(o.err)return o;a.push(o.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:L.pound,location:x(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,x(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ft(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:L.literal,value:"<".concat(a,"/>"),location:x(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ft(this.char()))return this.error(S.INVALID_TAG,x(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(S.UNMATCHED_CLOSING_TAG,x(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:L.tag,value:a,children:o,location:x(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,x(s,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,x(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,x(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ni(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(r);if(i){a+=i;continue}var o=this.tryParseUnquoted(t,r);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=x(n,this.clonePosition());return{val:{type:L.literal,value:a,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Li(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 kt.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(),kt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,x(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:L.argument,value:a,location:x(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ut(this.message,r),a=r+n.length;this.bumpTo(a);var i=this.clonePosition(),o=x(t,i);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,x(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Ai(h.val);if(d.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,x(this.clonePosition(),this.clonePosition()));var m=x(c,this.clonePosition());l={style:d,styleLocation:m}}var g=this.tryParseArgumentClose(a);if(g.err)return g;var b=x(a,this.clonePosition());if(l&&yr(l==null?void 0:l.style,"::",0)){var w=Ri(l.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(w,l.styleLocation);return h.err?h:{val:{type:L.number,value:n,location:b,style:h.val},err:null}}else{if(w.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,b);var p=w;this.locale&&(p=bi(w,this.locale));var d={type:Ce.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?hi(p):{}},R=s==="date"?L.date:L.time;return{val:{type:R,value:n,location:b,style:d},err:null}}}return{val:{type:s==="number"?L.number:s==="date"?L.date:L.time,value:n,location:b,style:(i=l==null?void 0:l.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,x(P,nt({},P)));this.bumpSpace();var U=this.parseIdentifierIfPossible(),F=0;if(s!=="select"&&U.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),U=this.parseIdentifierIfPossible(),F=h.val}var T=this.tryParsePluralOrSelectOptions(t,s,r,U);if(T.err)return T;var g=this.tryParseArgumentClose(a);if(g.err)return g;var O=x(a,this.clonePosition());return s==="select"?{val:{type:L.select,value:n,options:wr(T.val),location:O},err:null}:{val:{type:L.plural,value:n,options:wr(T.val),offset:F,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,x(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(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 a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,x(a,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=di(t)}catch(a){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ce.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?vi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var i,o=!1,s=[],u=new Set,l=a.value,c=a.location;;){if(l.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=x(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,x(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var b=this.tryParseArgumentClose(m);if(b.err)return b;s.push([l,{value:g.val,location:x(m,this.clonePosition())}]),u.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,c=i.location}return s.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,x(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,x(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=x(a,this.clonePosition());return i?(o*=n,Hi(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=_n(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(yr(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()&&En(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 Ft(e){return e>=97&&e<=122||e>=65&&e<=90}function Li(e){return Ft(e)||e===47}function Ni(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 En(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ii(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 Gt(e){e.forEach(function(t){if(delete t.location,dn(t)||mn(t))for(var r in t.options)delete t.options[r].location,Gt(t.options[r].value);else cn(t)&&pn(t.style)||(hn(t)||fn(t))&&It(t.style)?delete t.style.location:gn(t)&&Gt(t.children)})}function Di(e,t){t===void 0&&(t={}),t=nt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Bi(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Gt(r.val),r.val}var Pe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Pe||(Pe={}));var ht=function(e){ct(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=a,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Sr=function(e){ct(t,e);function t(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Pe.INVALID_VALUE,i)||this}return t}(ht),ki=function(e){ct(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Pe.INVALID_VALUE,a)||this}return t}(ht),Ui=function(e){ct(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,'"'),Pe.MISSING_VALUE,n)||this}return t}(ht),z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function Fi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function Gi(e){return typeof e=="function"}function Ke(e,t,r,n,a,i,o){if(e.length===1&&gr(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(gr(c)){s.push({type:z.literal,value:c.value});continue}if(li(c)){typeof i=="number"&&s.push({type:z.literal,value:r.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(a&&h in a))throw new Ui(h,o);var d=a[h];if(ui(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),s.push({type:typeof d=="string"?z.literal:z.object,value:d});continue}if(hn(c)){var m=typeof c.style=="string"?n.date[c.style]:It(c.style)?c.style.parsedOptions:void 0;s.push({type:z.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(fn(c)){var m=typeof c.style=="string"?n.time[c.style]:It(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:z.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(cn(c)){var m=typeof c.style=="string"?n.number[c.style]:pn(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(d=d*(m.scale||1)),s.push({type:z.literal,value:r.getNumberFormat(t,m).format(d)});continue}if(gn(c)){var g=c.children,b=c.value,w=a[b];if(!Gi(w))throw new ki(b,"function",o);var p=Ke(g,t,r,n,a,i),R=w(p.map(function(F){return F.value}));Array.isArray(R)||(R=[R]),s.push.apply(s,R.map(function(F){return{type:typeof F=="string"?z.literal:z.object,value:F}}))}if(dn(c)){var P=c.options[d]||c.options.other;if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a));continue}if(mn(c)){var P=c.options["=".concat(d)];if(!P){if(!Intl.PluralRules)throw new ht(`Intl.PluralRules is not available in this environment.
|
|
1
|
+
"use strict";var fa=Object.defineProperty,da=Object.defineProperties;var ma=Object.getOwnPropertyDescriptors;var lr=Object.getOwnPropertySymbols;var ga=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var wt=(e,t,r)=>t in e?fa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,_t=(e,t)=>{for(var r in t||(t={}))ga.call(t,r)&&wt(e,r,t[r]);if(lr)for(var r of lr(t))pa.call(t,r)&&wt(e,r,t[r]);return e},cr=(e,t)=>da(e,ma(t));var X=(e,t,r)=>(wt(e,typeof t!="symbol"?t+"":t,r),r);var St=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{s(r.next(u))}catch(l){a(l)}},o=u=>{try{s(r.throw(u))}catch(l){a(l)}},s=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,o);s((r=r.apply(e,t)).next())});function J(){}function qr(e){return e()}function hr(){return Object.create(null)}function ge(e){e.forEach(qr)}function Qt(e){return typeof e=="function"}function Zt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let ze;function va(e,t){return e===t?!0:(ze||(ze=document.createElement("a")),ze.href=t,e===ze.href)}function ba(e){return Object.keys(e).length===0}function zr(e,...t){if(e==null){for(const n of t)n(void 0);return J}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Qr(e,t,r){e.$$.on_destroy.push(zr(t,r))}function M(e,t){e.appendChild(t)}function Zr(e,t,r){const n=ya(e);if(!n.getElementById(t)){const a=N("style");a.id=t,a.textContent=r,wa(n,a)}}function ya(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function wa(e,t){return M(e.head||e,t),t.sheet}function $(e,t,r){e.insertBefore(t,r||null)}function W(e){e.parentNode&&e.parentNode.removeChild(e)}function _a(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function N(e){return document.createElement(e)}function rt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function te(e){return document.createTextNode(e)}function Z(){return te(" ")}function Jt(){return te("")}function de(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function _(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function v(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:_(e,t,r)}function Sa(e){return Array.from(e.childNodes)}function le(e,t){t=""+t,e.data!==t&&(e.data=t)}function fr(e,t){e.value=t==null?"":t}function Ea(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function xa(e,t,r){e.classList.toggle(t,!!r)}class Ta{constructor(t=!1){X(this,"is_svg",!1);X(this,"e");X(this,"n");X(this,"t");X(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=rt(r.nodeName):this.e=N(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)$(this.t,this.n[r],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(W)}}function Ca(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let ke;function De(e){ke=e}function Pa(){if(!ke)throw new Error("Function called outside component initialization");return ke}function Jr(e){Pa().$$.on_mount.push(e)}const Se=[],Ue=[];let xe=[];const dr=[],Kr=Promise.resolve();let At=!1;function en(){At||(At=!0,Kr.then(B))}function Oa(){return en(),Kr}function Bt(e){xe.push(e)}const Et=new Set;let ye=0;function B(){if(ye!==0)return;const e=ke;do{try{for(;ye<Se.length;){const t=Se[ye];ye++,De(t),Ha(t.$$)}}catch(t){throw Se.length=0,ye=0,t}for(De(null),Se.length=0,ye=0;Ue.length;)Ue.pop()();for(let t=0;t<xe.length;t+=1){const r=xe[t];Et.has(r)||(Et.add(r),r())}xe.length=0}while(Se.length);for(;dr.length;)dr.pop()();At=!1,Et.clear(),De(e)}function Ha(e){if(e.fragment!==null){e.update(),ge(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Bt)}}function Ma(e){const t=[],r=[];xe.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),xe=t}const Ra=new Set;function tn(e,t){e&&e.i&&(Ra.delete(e),e.i(t))}function Lt(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Aa(e,t){e.d(1),t.delete(e.key)}function Ba(e,t,r,n,a,i,o,s,u,l,c,h){let d=e.length,m=i.length,g=d;const b={};for(;g--;)b[e[g].key]=g;const w=[],p=new Map,R=new Map,P=[];for(g=m;g--;){const O=h(a,i,g),G=r(O);let A=o.get(G);A?P.push(()=>A.p(O,t)):(A=l(G,O),A.c()),p.set(G,w[g]=A),G in b&&R.set(G,Math.abs(g-b[G]))}const U=new Set,F=new Set;function T(O){tn(O,1),O.m(s,c),o.set(O.key,O),c=O.first,m--}for(;d&&m;){const O=w[m-1],G=e[d-1],A=O.key,C=G.key;O===G?(c=O.first,d--,m--):p.has(C)?!o.has(A)||U.has(A)?T(O):F.has(C)?d--:R.get(A)>R.get(C)?(F.add(A),T(O)):(U.add(C),d--):(u(G,o),d--)}for(;d--;){const O=e[d];p.has(O.key)||u(O,o)}for(;m;)T(w[m-1]);return ge(P),w}function La(e,t,r){const{fragment:n,after_update:a}=e.$$;n&&n.m(t,r),Bt(()=>{const i=e.$$.on_mount.map(qr).filter(Qt);e.$$.on_destroy?e.$$.on_destroy.push(...i):ge(i),e.$$.on_mount=[]}),a.forEach(Bt)}function Na(e,t){const r=e.$$;r.fragment!==null&&(Ma(r.after_update),ge(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ia(e,t){e.$$.dirty[0]===-1&&(Se.push(e),en(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function rn(e,t,r,n,a,i,o=null,s=[-1]){const u=ke;De(e);const l=e.$$={fragment:null,ctx:[],props:i,update:J,not_equal:a,bound:hr(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:hr(),dirty:s,skip_bound:!1,root:t.target||u.$$.root};o&&o(l.root);let c=!1;if(l.ctx=r?r(e,t.props||{},(h,d,...m)=>{const g=m.length?m[0]:d;return l.ctx&&a(l.ctx[h],l.ctx[h]=g)&&(!l.skip_bound&&l.bound[h]&&l.bound[h](g),c&&Ia(e,h)),d}):[],l.update(),c=!0,ge(l.before_update),l.fragment=n?n(l.ctx):!1,t.target){if(t.hydrate){const h=Sa(t.target);l.fragment&&l.fragment.l(h),h.forEach(W)}else l.fragment&&l.fragment.c();t.intro&&tn(e.$$.fragment),La(e,t.target,t.anchor),B()}De(u)}let nn;typeof HTMLElement=="function"&&(nn=class extends HTMLElement{constructor(t,r,n){super();X(this,"$$ctor");X(this,"$$s");X(this,"$$c");X(this,"$$cn",!1);X(this,"$$d",{});X(this,"$$r",!1);X(this,"$$p_d",{});X(this,"$$l",{});X(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 a=this.$$c.$on(t,r);this.$$l_u.set(r,a)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const a=this.$$l_u.get(r);a&&(a(),this.$$l_u.delete(r))}}connectedCallback(){return St(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let o;return{c:function(){o=N("slot"),i!=="default"&&_(o,"name",i)},m:function(l,c){$(l,o,c)},d:function(l){l&&W(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Ca(this);for(const i of this.$$s)i in n&&(r[i]=[t(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=Je(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:cr(_t({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const a=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=Je(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(a),a();for(const i in this.$$l)for(const o of this.$$l[i]){const s=this.$$c.$on(i,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,r,n){var a;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Je(t,n,this.$$p_d,"toProp"),(a=this.$$c)==null||a.$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 Je(e,t,r,n){var i;const a=(i=r[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(a){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(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,a,i){let o=class extends nn{constructor(){super(e,r,a),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(u){var l;u=Je(s,u,t),this.$$d[s]=u,(l=this.$$c)==null||l.$set({[s]:u})}})}),n.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var u;return(u=this.$$c)==null?void 0:u[s]}})}),e.element=o,o}class on{constructor(){X(this,"$$");X(this,"$$set")}$destroy(){Na(this,1),this.$destroy=J}$on(t,r){if(!Qt(r))return J;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const a=n.indexOf(r);a!==-1&&n.splice(a,1)}}$set(t){this.$$set&&!ba(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Da="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Da);const we=[];function ka(e,t){return{subscribe:lt(e,t).subscribe}}function lt(e,t=J){let r;const n=new Set;function a(s){if(Zt(e,s)&&(e=s,r)){const u=!we.length;for(const l of n)l[1](),we.push(l,e);if(u){for(let l=0;l<we.length;l+=2)we[l][0](we[l+1]);we.length=0}}}function i(s){a(s(e))}function o(s,u=J){const l=[s,u];return n.add(l),n.size===1&&(r=t(a,i)||J),s(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:a,update:i,subscribe:o}}function He(e,t,r){const n=!Array.isArray(e),a=n?[e]:e;if(!a.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return ka(r,(o,s)=>{let u=!1;const l=[];let c=0,h=J;const d=()=>{if(c)return;h();const g=t(n?l[0]:l,o,s);i?o(g):h=Qt(g)?g:J},m=a.map((g,b)=>zr(g,w=>{l[b]=w,c&=~(1<<b),u&&d()},()=>{c|=1<<b}));return u=!0,d(),function(){ge(m),h(),u=!1}})}function Ua(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fa=function(t){return Ga(t)&&!ja(t)};function Ga(e){return!!e&&typeof e=="object"}function ja(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Va(e)}var Wa=typeof Symbol=="function"&&Symbol.for,$a=Wa?Symbol.for("react.element"):60103;function Va(e){return e.$$typeof===$a}function Ya(e){return Array.isArray(e)?[]:{}}function Fe(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Te(Ya(e),e,t):e}function Xa(e,t,r){return e.concat(t).map(function(n){return Fe(n,r)})}function qa(e,t){if(!t.customMerge)return Te;var r=t.customMerge(e);return typeof r=="function"?r:Te}function za(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function mr(e){return Object.keys(e).concat(za(e))}function sn(e,t){try{return t in e}catch(r){return!1}}function Qa(e,t){return sn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Za(e,t,r){var n={};return r.isMergeableObject(e)&&mr(e).forEach(function(a){n[a]=Fe(e[a],r)}),mr(t).forEach(function(a){Qa(e,a)||(sn(e,a)&&r.isMergeableObject(t[a])?n[a]=qa(a,r)(e[a],t[a],r):n[a]=Fe(t[a],r))}),n}function Te(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Xa,r.isMergeableObject=r.isMergeableObject||Fa,r.cloneUnlessOtherwiseSpecified=Fe;var n=Array.isArray(t),a=Array.isArray(e),i=n===a;return i?n?r.arrayMerge(e,t,r):Za(e,t,r):Fe(t,r)}Te.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,a){return Te(n,a,r)},{})};var Ja=Te,Ka=Ja;const ei=Ua(Ka);var Nt=function(e,t){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Nt(e,t)};function ct(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var ee=function(){return ee=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},ee.apply(this,arguments)};function ti(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 a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r}function xt(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}function Tt(e,t){var r=t&&t.cache?t.cache:ui,n=t&&t.serializer?t.serializer:oi,a=t&&t.strategy?t.strategy:ai;return a(e,{cache:r,serializer:n})}function ri(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ni(e,t,r,n){var a=ri(n)?n:r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.call(this,n),t.set(a,i)),i}function un(e,t,r){var n=Array.prototype.slice.call(arguments,3),a=r(n),i=t.get(a);return typeof i=="undefined"&&(i=e.apply(this,n),t.set(a,i)),i}function ln(e,t,r,n,a){return r.bind(t,e,n,a)}function ai(e,t){var r=e.length===1?ni:un;return ln(e,this,r,t.cache.create(),t.serializer)}function ii(e,t){return ln(e,this,un,t.cache.create(),t.serializer)}var oi=function(){return JSON.stringify(arguments)},si=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}(),ui={create:function(){return new si}},Ct={variadic:ii},nt=function(){return nt=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},nt.apply(this,arguments)};var S;(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"})(S||(S={}));var L;(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"})(L||(L={}));var Ce;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ce||(Ce={}));function gr(e){return e.type===L.literal}function li(e){return e.type===L.argument}function cn(e){return e.type===L.number}function hn(e){return e.type===L.date}function fn(e){return e.type===L.time}function dn(e){return e.type===L.select}function mn(e){return e.type===L.plural}function ci(e){return e.type===L.pound}function gn(e){return e.type===L.tag}function pn(e){return!!(e&&typeof e=="object"&&e.type===Ce.number)}function It(e){return!!(e&&typeof e=="object"&&e.type===Ce.dateTime)}var vn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,hi=/(?:[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 fi(e){var t={};return e.replace(hi,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 k=function(){return k=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},k.apply(this,arguments)};var di=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function mi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(di).filter(function(d){return d.length>0}),r=[],n=0,a=t;n<a.length;n++){var i=a[n],o=i.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],u=o.slice(1),l=0,c=u;l<c.length;l++){var h=c[l];if(h.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function gi(e){return e.replace(/^(.*?)-/,"")}var pr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,bn=/^(@+)?(\+|#+)?[rs]?$/g,pi=/(\*)(0+)|(#+)(0+)|(0+)/g,yn=/^(0+)$/;function vr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(bn,function(r,n,a){return typeof a!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):a==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof a=="string"?a.length:0)),""}),t}function wn(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 vi(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)),!yn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function br(e){var t={},r=wn(e);return r||t}function bi(e){for(var t={},r=0,n=e;r<n.length;r++){var a=n[r];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.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=gi(a.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=k(k(k({},t),{notation:"scientific"}),a.options.reduce(function(u,l){return k(k({},u),br(l))},{}));continue;case"engineering":t=k(k(k({},t),{notation:"engineering"}),a.options.reduce(function(u,l){return k(k({},u),br(l))},{}));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(a.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(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(pi,function(u,l,c,h,d,m){if(l)t.minimumIntegerDigits=c.length;else{if(h&&d)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(yn.test(a.stem)){t.minimumIntegerDigits=a.stem.length;continue}if(pr.test(a.stem)){if(a.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");a.stem.replace(pr,function(u,l,c,h,d,m){return c==="*"?t.minimumFractionDigits=l.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=a.options[0];i==="w"?t=k(k({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=k(k({},t),vr(i)));continue}if(bn.test(a.stem)){t=k(k({},t),vr(a.stem));continue}var o=wn(a.stem);o&&(t=k(k({},t),o));var s=vi(a.stem);s&&(t=k(k({},t),s))}return t}var Qe={"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 yi(e,t){for(var r="",n=0;n<e.length;n++){var a=e.charAt(n);if(a==="j"){for(var i=0;n+1<e.length&&e.charAt(n+1)===a;)i++,n++;var o=1+(i&1),s=i<2?1:3+(i>>1),u="a",l=wi(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=u;for(;o-- >0;)r=l+r}else a==="J"?r+="H":r+=a}return r}function wi(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 a=Qe[n||""]||Qe[r||""]||Qe["".concat(r,"-001")]||Qe["001"];return a[0]}var Pt,_i=new RegExp("^".concat(vn.source,"*")),Si=new RegExp("".concat(vn.source,"*$"));function x(e,t){return{start:e,end:t}}var Ei=!!String.prototype.startsWith&&"_a".startsWith("a",1),xi=!!String.fromCodePoint,Ti=!!Object.fromEntries,Ci=!!String.prototype.codePointAt,Pi=!!String.prototype.trimStart,Oi=!!String.prototype.trimEnd,Hi=!!Number.isSafeInteger,Mi=Hi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{var Ri=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Dt=((Pt=Ri.exec("a"))===null||Pt===void 0?void 0:Pt[0])==="a"}catch(e){Dt=!1}var yr=Ei?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},kt=xi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",a=t.length,i=0,o;a>i;){if(o=t[i++],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},wr=Ti?Object.fromEntries:function(t){for(var r={},n=0,a=t;n<a.length;n++){var i=a[n],o=i[0],s=i[1];r[o]=s}return r},_n=Ci?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var a=t.charCodeAt(r),i;return a<55296||a>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?a:(a-55296<<10)+(i-56320)+65536}},Ai=Pi?function(t){return t.trimStart()}:function(t){return t.replace(_i,"")},Bi=Oi?function(t){return t.trimEnd()}:function(t){return t.replace(Si,"")};function Sn(e,t){return new RegExp(e,t)}var Ut;if(Dt){var _r=Sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ut=function(t,r){var n;_r.lastIndex=r;var a=_r.exec(t);return(n=a[1])!==null&&n!==void 0?n:""}}else Ut=function(t,r){for(var n=[];;){var a=_n(t,r);if(a===void 0||En(a)||Di(a))break;n.push(a),r+=a>=65536?2:1}return kt.apply(void 0,n)};var Li=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 a=[];!this.isEOF();){var i=this.char();if(i===123){var o=this.parseArgument(t,n);if(o.err)return o;a.push(o.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),a.push({type:L.pound,location:x(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(S.UNMATCHED_CLOSING_TAG,x(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Ft(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;a.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;a.push(o.val)}}}return{val:a,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:L.literal,value:"<".concat(a,"/>"),location:x(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ft(this.char()))return this.error(S.INVALID_TAG,x(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return a!==l?this.error(S.UNMATCHED_CLOSING_TAG,x(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:L.tag,value:a,children:o,location:x(n,this.clonePosition())},err:null}:this.error(S.INVALID_TAG,x(s,this.clonePosition())))}else return this.error(S.UNCLOSED_TAG,x(n,this.clonePosition()))}else return this.error(S.INVALID_TAG,x(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ii(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),a="";;){var i=this.tryParseQuote(r);if(i){a+=i;continue}var o=this.tryParseUnquoted(t,r);if(o){a+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){a+=s;continue}break}var u=x(n,this.clonePosition());return{val:{type:L.literal,value:a,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ni(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 kt.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(),kt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(S.EMPTY_ARGUMENT,x(n,this.clonePosition()));var a=this.parseIdentifierIfPossible().value;if(!a)return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:L.argument,value:a,location:x(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(n,this.clonePosition())):this.parseArgumentOptions(t,r,a,n);default:return this.error(S.MALFORMED_ARGUMENT,x(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ut(this.message,r),a=r+n.length;this.bumpTo(a);var i=this.clonePosition(),o=x(t,i);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,a){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(S.EXPECT_ARGUMENT_TYPE,x(o,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var d=Bi(h.val);if(d.length===0)return this.error(S.EXPECT_ARGUMENT_STYLE,x(this.clonePosition(),this.clonePosition()));var m=x(c,this.clonePosition());l={style:d,styleLocation:m}}var g=this.tryParseArgumentClose(a);if(g.err)return g;var b=x(a,this.clonePosition());if(l&&yr(l==null?void 0:l.style,"::",0)){var w=Ai(l.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(w,l.styleLocation);return h.err?h:{val:{type:L.number,value:n,location:b,style:h.val},err:null}}else{if(w.length===0)return this.error(S.EXPECT_DATE_TIME_SKELETON,b);var p=w;this.locale&&(p=yi(w,this.locale));var d={type:Ce.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?fi(p):{}},R=s==="date"?L.date:L.time;return{val:{type:R,value:n,location:b,style:d},err:null}}}return{val:{type:s==="number"?L.number:s==="date"?L.date:L.time,value:n,location:b,style:(i=l==null?void 0:l.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(S.EXPECT_SELECT_ARGUMENT_OPTIONS,x(P,nt({},P)));this.bumpSpace();var U=this.parseIdentifierIfPossible(),F=0;if(s!=="select"&&U.value==="offset"){if(!this.bumpIf(":"))return this.error(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),U=this.parseIdentifierIfPossible(),F=h.val}var T=this.tryParsePluralOrSelectOptions(t,s,r,U);if(T.err)return T;var g=this.tryParseArgumentClose(a);if(g.err)return g;var O=x(a,this.clonePosition());return s==="select"?{val:{type:L.select,value:n,options:wr(T.val),location:O},err:null}:{val:{type:L.plural,value:n,options:wr(T.val),offset:F,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(S.INVALID_ARGUMENT_TYPE,x(o,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(S.EXPECT_ARGUMENT_CLOSING_BRACE,x(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 a=this.clonePosition();if(!this.bumpUntil("'"))return this.error(S.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,x(a,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=mi(t)}catch(a){return this.error(S.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ce.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?bi(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,a){for(var i,o=!1,s=[],u=new Set,l=a.value,c=a.location;;){if(l.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(S.EXPECT_PLURAL_ARGUMENT_SELECTOR,S.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=x(h,this.clonePosition()),l=this.message.slice(h.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?S.DUPLICATE_SELECT_ARGUMENT_SELECTOR:S.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);l==="other"&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:S.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,x(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var b=this.tryParseArgumentClose(m);if(b.err)return b;s.push([l,{value:g.val,location:x(m,this.clonePosition())}]),u.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,c=i.location}return s.length===0?this.error(r==="select"?S.EXPECT_SELECT_ARGUMENT_SELECTOR:S.EXPECT_PLURAL_ARGUMENT_SELECTOR,x(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(S.MISSING_OTHER_CLAUSE,x(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,a=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,o=o*10+(s-48),this.bump();else break}var u=x(a,this.clonePosition());return i?(o*=n,Mi(o)?{val:o,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=_n(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(yr(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()&&En(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 Ft(e){return e>=97&&e<=122||e>=65&&e<=90}function Ni(e){return Ft(e)||e===47}function Ii(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 En(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Di(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 Gt(e){e.forEach(function(t){if(delete t.location,dn(t)||mn(t))for(var r in t.options)delete t.options[r].location,Gt(t.options[r].value);else cn(t)&&pn(t.style)||(hn(t)||fn(t))&&It(t.style)?delete t.style.location:gn(t)&&Gt(t.children)})}function ki(e,t){t===void 0&&(t={}),t=nt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Li(e,t).parse();if(r.err){var n=SyntaxError(S[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Gt(r.val),r.val}var Pe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Pe||(Pe={}));var ht=function(e){ct(t,e);function t(r,n,a){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=a,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Sr=function(e){ct(t,e);function t(r,n,a,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(a).join('", "'),'"'),Pe.INVALID_VALUE,i)||this}return t}(ht),Ui=function(e){ct(t,e);function t(r,n,a){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Pe.INVALID_VALUE,a)||this}return t}(ht),Fi=function(e){ct(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,'"'),Pe.MISSING_VALUE,n)||this}return t}(ht),z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function Gi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function ji(e){return typeof e=="function"}function Ke(e,t,r,n,a,i,o){if(e.length===1&&gr(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var c=l[u];if(gr(c)){s.push({type:z.literal,value:c.value});continue}if(ci(c)){typeof i=="number"&&s.push({type:z.literal,value:r.getNumberFormat(t).format(i)});continue}var h=c.value;if(!(a&&h in a))throw new Fi(h,o);var d=a[h];if(li(c)){(!d||typeof d=="string"||typeof d=="number")&&(d=typeof d=="string"||typeof d=="number"?String(d):""),s.push({type:typeof d=="string"?z.literal:z.object,value:d});continue}if(hn(c)){var m=typeof c.style=="string"?n.date[c.style]:It(c.style)?c.style.parsedOptions:void 0;s.push({type:z.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(fn(c)){var m=typeof c.style=="string"?n.time[c.style]:It(c.style)?c.style.parsedOptions:n.time.medium;s.push({type:z.literal,value:r.getDateTimeFormat(t,m).format(d)});continue}if(cn(c)){var m=typeof c.style=="string"?n.number[c.style]:pn(c.style)?c.style.parsedOptions:void 0;m&&m.scale&&(d=d*(m.scale||1)),s.push({type:z.literal,value:r.getNumberFormat(t,m).format(d)});continue}if(gn(c)){var g=c.children,b=c.value,w=a[b];if(!ji(w))throw new Ui(b,"function",o);var p=Ke(g,t,r,n,a,i),R=w(p.map(function(F){return F.value}));Array.isArray(R)||(R=[R]),s.push.apply(s,R.map(function(F){return{type:typeof F=="string"?z.literal:z.object,value:F}}))}if(dn(c)){var P=c.options[d]||c.options.other;if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a));continue}if(mn(c)){var P=c.options["=".concat(d)];if(!P){if(!Intl.PluralRules)throw new ht(`Intl.PluralRules is not available in this environment.
|
|
2
2
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3
|
-
`,Pe.MISSING_INTL_API,o);var U=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));P=c.options[U]||c.options.other}if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a,d-(c.offset||0)));continue}}return Fi(s)}function ji(e,t){return t?ee(ee(ee({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ee(ee({},e[n]),t[n]||{}),r},{})):e}function Wi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ji(e[n],t[n]),r},ee({},e)):e}function Ot(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function $i(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.number),strategy:Ct.variadic}),getDateTimeFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.dateTime),strategy:Ct.variadic}),getPluralRules:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.pluralRules),strategy:Ct.variadic})}}var Vi=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=i.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,d){return!h.length||d.type!==z.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Ke(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.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=a||{};o.formatters;var s=ei(o,["formatters"]);this.ast=e.__parse(t,ee(ee({},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=Wi(e.formats,n),this.formatters=a&&a.formatters||$i(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=Di,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 Yi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let a=0;a<r.length;a++)if(typeof n=="object"){if(a>0){const i=r.slice(a,r.length).join(".");if(i in n){n=n[i];break}}n=n[r[a]]}else n=void 0;return n}const ue={},Xi=(e,t,r)=>r&&(t in ue||(ue[t]={}),e in ue[t]||(ue[t][e]=r),r),xn=(e,t)=>{if(t==null)return;if(t in ue&&e in ue[t])return ue[t][e];const r=ft(t);for(let n=0;n<r.length;n++){const a=r[n],i=zi(a,e);if(i)return Xi(e,t,i)}};let Kt;const We=lt({});function qi(e){return Kt[e]||null}function Tn(e){return e in Kt}function zi(e,t){if(!Tn(e))return null;const r=qi(e);return Yi(r,t)}function Qi(e){if(e==null)return;const t=ft(e);for(let r=0;r<t.length;r++){const n=t[r];if(Tn(n))return n}}function er(e,...t){delete ue[e],We.update(r=>(r[e]=Ka.all([r[e]||{},...t]),r))}He([We],([e])=>Object.keys(e));We.subscribe(e=>Kt=e);const et={};function Zi(e,t){et[e].delete(t),et[e].size===0&&delete et[e]}function Cn(e){return et[e]}function Ji(e){return ft(e).map(t=>{const r=Cn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function jt(e){return e==null?!1:ft(e).some(t=>{var r;return(r=Cn(t))==null?void 0:r.size})}function Ki(e,t){return Promise.all(t.map(n=>(Zi(e,n),n().then(a=>a.default||a)))).then(n=>er(e,...n))}const Le={};function Pn(e){if(!jt(e))return e in Le?Le[e]:Promise.resolve();const t=Ji(e);return Le[e]=Promise.all(t.map(([r,n])=>Ki(r,n))).then(()=>{if(jt(e))return Pn(e);delete Le[e]}),Le[e]}const eo={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"}}},to={fallbackLocale:null,loadingDelay:200,formats:eo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},ro=to;function Oe(){return ro}const Ht=lt(!1);var no=Object.defineProperty,ao=Object.defineProperties,io=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertySymbols,oo=Object.prototype.hasOwnProperty,so=Object.prototype.propertyIsEnumerable,xr=(e,t,r)=>t in e?no(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,uo=(e,t)=>{for(var r in t||(t={}))oo.call(t,r)&&xr(e,r,t[r]);if(Er)for(var r of Er(t))so.call(t,r)&&xr(e,r,t[r]);return e},lo=(e,t)=>ao(e,io(t));let Wt;const at=lt(null);function Tr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ft(e,t=Oe().fallbackLocale){const r=Tr(e);return t?[...new Set([...r,...Tr(t)])]:r}function pe(){return Wt!=null?Wt:void 0}at.subscribe(e=>{Wt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const co=e=>{if(e&&Qi(e)&&jt(e)){const{loadingDelay:t}=Oe();let r;return typeof window!="undefined"&&pe()!=null&&t?r=window.setTimeout(()=>Ht.set(!0),t):Ht.set(!0),Pn(e).then(()=>{at.set(e)}).finally(()=>{clearTimeout(r),Ht.set(!1)})}return at.set(e)},ve=lo(uo({},at),{set:co}),dt=e=>{const t=Object.create(null);return n=>{const a=JSON.stringify(n);return a in t?t[a]:t[a]=e(n)}};var ho=Object.defineProperty,it=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Cr=(e,t,r)=>t in e?ho(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tr=(e,t)=>{for(var r in t||(t={}))On.call(t,r)&&Cr(e,r,t[r]);if(it)for(var r of it(t))Hn.call(t,r)&&Cr(e,r,t[r]);return e},Me=(e,t)=>{var r={};for(var n in e)On.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&it)for(var n of it(e))t.indexOf(n)<0&&Hn.call(e,n)&&(r[n]=e[n]);return r};const Ge=(e,t)=>{const{formats:r}=Oe();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},fo=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(a=Ge("number",n)),new Intl.NumberFormat(r,a)}),mo=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?a=Ge("date",n):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(r,a)}),go=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?a=Ge("time",n):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(r,a)}),po=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return fo(tr({locale:r},n))},vo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return mo(tr({locale:r},n))},bo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return go(tr({locale:r},n))},yo=dt((e,t=pe())=>new Vi(e,t,Oe().formats,{ignoreTag:Oe().ignoreTag})),wo=(e,t={})=>{var r,n,a,i;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:u=pe(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=xn(e,u);if(!c)c=(i=(a=(n=(r=Oe()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?a:l)!=null?i: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=yo(c,u).format(s)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},_o=(e,t)=>bo(t).format(e),So=(e,t)=>vo(t).format(e),Eo=(e,t)=>po(t).format(e),xo=(e,t=pe())=>xn(e,t),Mn=He([ve,We],()=>wo);He([ve],()=>_o);He([ve],()=>So);He([ve],()=>Eo);He([ve,We],()=>xo);function To(e,t){er(e,t)}function Co(e){ve.set(e)}const Po={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},Ee="__WIDGET_GLOBAL_STYLE_CACHE__";function Rn(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 a=document.createElement("style");a.innerHTML=n,e&&e.appendChild(a)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Bn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Oo(e,t),r;window[Ee]||(window[Ee]={}),r=Ho(e,t);const i=r.unsubscribe.bind(r),o=()=>{if(window[Ee][t]){const s=window[Ee][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Ee][t]}i()};return r.unsubscribe=o,r}function Oo(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Ho(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),a=window[Ee];let i=a[t]&&a[t].sheet;i?a[t].refCount=a[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(r),a[t]={sheet:i,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(i)||(n.adoptedStyleSheets=[...o,i])})}/*! *****************************************************************************
|
|
3
|
+
`,Pe.MISSING_INTL_API,o);var U=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));P=c.options[U]||c.options.other}if(!P)throw new Sr(c.value,d,Object.keys(c.options),o);s.push.apply(s,Ke(P.value,t,r,n,a,d-(c.offset||0)));continue}}return Gi(s)}function Wi(e,t){return t?ee(ee(ee({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=ee(ee({},e[n]),t[n]||{}),r},{})):e}function $i(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Wi(e[n],t[n]),r},ee({},e)):e}function Ot(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Vi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.number),strategy:Ct.variadic}),getDateTimeFormat:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.dateTime),strategy:Ct.variadic}),getPluralRules:Tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,xt([void 0],r,!1)))},{cache:Ot(e.pluralRules),strategy:Ct.variadic})}}var Yi=function(){function e(t,r,n,a){r===void 0&&(r=e.defaultLocale);var i=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=i.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(h,d){return!h.length||d.type!==z.literal||typeof h[h.length-1]!="string"?h.push(d.value):h[h.length-1]+=d.value,h},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Ke(i.ast,i.locales,i.formatters,i.formats,u,void 0,i.message)},this.resolvedOptions=function(){var u;return{locale:((u=i.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.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=a||{};o.formatters;var s=ti(o,["formatters"]);this.ast=e.__parse(t,ee(ee({},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=$i(e.formats,n),this.formatters=a&&a.formatters||Vi(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=ki,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 Xi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let a=0;a<r.length;a++)if(typeof n=="object"){if(a>0){const i=r.slice(a,r.length).join(".");if(i in n){n=n[i];break}}n=n[r[a]]}else n=void 0;return n}const ue={},qi=(e,t,r)=>r&&(t in ue||(ue[t]={}),e in ue[t]||(ue[t][e]=r),r),xn=(e,t)=>{if(t==null)return;if(t in ue&&e in ue[t])return ue[t][e];const r=ft(t);for(let n=0;n<r.length;n++){const a=r[n],i=Qi(a,e);if(i)return qi(e,t,i)}};let Kt;const We=lt({});function zi(e){return Kt[e]||null}function Tn(e){return e in Kt}function Qi(e,t){if(!Tn(e))return null;const r=zi(e);return Xi(r,t)}function Zi(e){if(e==null)return;const t=ft(e);for(let r=0;r<t.length;r++){const n=t[r];if(Tn(n))return n}}function er(e,...t){delete ue[e],We.update(r=>(r[e]=ei.all([r[e]||{},...t]),r))}He([We],([e])=>Object.keys(e));We.subscribe(e=>Kt=e);const et={};function Ji(e,t){et[e].delete(t),et[e].size===0&&delete et[e]}function Cn(e){return et[e]}function Ki(e){return ft(e).map(t=>{const r=Cn(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function jt(e){return e==null?!1:ft(e).some(t=>{var r;return(r=Cn(t))==null?void 0:r.size})}function eo(e,t){return Promise.all(t.map(n=>(Ji(e,n),n().then(a=>a.default||a)))).then(n=>er(e,...n))}const Le={};function Pn(e){if(!jt(e))return e in Le?Le[e]:Promise.resolve();const t=Ki(e);return Le[e]=Promise.all(t.map(([r,n])=>eo(r,n))).then(()=>{if(jt(e))return Pn(e);delete Le[e]}),Le[e]}const to={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"}}},ro={fallbackLocale:null,loadingDelay:200,formats:to,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},no=ro;function Oe(){return no}const Ht=lt(!1);var ao=Object.defineProperty,io=Object.defineProperties,oo=Object.getOwnPropertyDescriptors,Er=Object.getOwnPropertySymbols,so=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,xr=(e,t,r)=>t in e?ao(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lo=(e,t)=>{for(var r in t||(t={}))so.call(t,r)&&xr(e,r,t[r]);if(Er)for(var r of Er(t))uo.call(t,r)&&xr(e,r,t[r]);return e},co=(e,t)=>io(e,oo(t));let Wt;const at=lt(null);function Tr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ft(e,t=Oe().fallbackLocale){const r=Tr(e);return t?[...new Set([...r,...Tr(t)])]:r}function pe(){return Wt!=null?Wt:void 0}at.subscribe(e=>{Wt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ho=e=>{if(e&&Zi(e)&&jt(e)){const{loadingDelay:t}=Oe();let r;return typeof window!="undefined"&&pe()!=null&&t?r=window.setTimeout(()=>Ht.set(!0),t):Ht.set(!0),Pn(e).then(()=>{at.set(e)}).finally(()=>{clearTimeout(r),Ht.set(!1)})}return at.set(e)},ve=co(lo({},at),{set:ho}),dt=e=>{const t=Object.create(null);return n=>{const a=JSON.stringify(n);return a in t?t[a]:t[a]=e(n)}};var fo=Object.defineProperty,it=Object.getOwnPropertySymbols,On=Object.prototype.hasOwnProperty,Hn=Object.prototype.propertyIsEnumerable,Cr=(e,t,r)=>t in e?fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tr=(e,t)=>{for(var r in t||(t={}))On.call(t,r)&&Cr(e,r,t[r]);if(it)for(var r of it(t))Hn.call(t,r)&&Cr(e,r,t[r]);return e},Me=(e,t)=>{var r={};for(var n in e)On.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&it)for(var n of it(e))t.indexOf(n)<0&&Hn.call(e,n)&&(r[n]=e[n]);return r};const Ge=(e,t)=>{const{formats:r}=Oe();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},mo=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(a=Ge("number",n)),new Intl.NumberFormat(r,a)}),go=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?a=Ge("date",n):Object.keys(a).length===0&&(a=Ge("date","short")),new Intl.DateTimeFormat(r,a)}),po=dt(e=>{var t=e,{locale:r,format:n}=t,a=Me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?a=Ge("time",n):Object.keys(a).length===0&&(a=Ge("time","short")),new Intl.DateTimeFormat(r,a)}),vo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return mo(tr({locale:r},n))},bo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return go(tr({locale:r},n))},yo=(e={})=>{var t=e,{locale:r=pe()}=t,n=Me(t,["locale"]);return po(tr({locale:r},n))},wo=dt((e,t=pe())=>new Yi(e,t,Oe().formats,{ignoreTag:Oe().ignoreTag})),_o=(e,t={})=>{var r,n,a,i;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:u=pe(),default:l}=o;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=xn(e,u);if(!c)c=(i=(a=(n=(r=Oe()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?a:l)!=null?i: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=wo(c,u).format(s)}catch(d){d instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,d.message)}return h},So=(e,t)=>yo(t).format(e),Eo=(e,t)=>bo(t).format(e),xo=(e,t)=>vo(t).format(e),To=(e,t=pe())=>xn(e,t),Mn=He([ve,We],()=>_o);He([ve],()=>So);He([ve],()=>Eo);He([ve],()=>xo);He([ve,We],()=>To);function Co(e,t){er(e,t)}function Po(e){ve.set(e)}const Oo={en:{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"zh-hk":{recentSearch:"最近的搜索",loading:"加载请稍候",searchResult:"搜索结果",cancel:"取消",notFound:"找不到游戏!",notFoundText:"请输入正确的游戏名称开始玩。",noRecentSearches:"还没有最近的搜索。 搜索我们的任何游戏。"},de:{recentSearch:"Letzte Suche",placeHolderSearchGames:"Hier nach Spielen suchen",loading:"Es lädt, bitte warten...",searchResult:"Ergebnis suchen",cancel:"Abbrechen",notFound:"Spiel wurde nicht gefunden!",notFoundText:"Spiel nicht gefunden! Bitte verwende den richtigen Spielnamen um es zu starten.",noRecentSearches:"Keine vorherige Suche vorhanden! Suche nach einem beliebigen Spiel"},it:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},fr:{recentSearch:"Recherche récente",placeHolderSearchGames:"Recherche de jeux de casino",loading:"Chargement, veuillez patienter",searchResult:"Résultat de la recherche",cancel:"Annuler",notFound:"Jeu non trouvé!",notFoundText:"Veuillez saisir le nom correct du jeu pour commencer à jouer.",noRecentSearches:"Pas encore de recherches récentes. Recherchez l'un de nos jeux."},es:{recentSearch:"Busqueda reciente",placeHolderSearchGames:"Buscar juegos",loading:"Cargando",searchResult:"Resultado de busqueda",cancel:"Cancelar",notFound:"Juego no encontrado!",notFoundText:"Por favor escriba el nombre correcto del juego para empezar a jugar.",noRecentSearches:"No hay búsquedas recientes. Busca cualquiera de nuestros juegos"},gr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},tr:{recentSearch:"Henüz son aramalar yok. Herhangi bir oyunu arayın.",loading:"Kayıt olmak",searchResult:"PARA YATIR",cancel:"İptal:",notFound:"Hepsi",notFoundText:"A-Z",noRecentSearches:"En Yeni",placeHolderSearchGames:"Oyun ara ..."},ru:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play."},ro:{recentSearch:"Cautari recente",loading:"Se incarca, te rugam asteapta…",searchResult:"Rezultat cautare",cancel:"Anuleaza",notFound:"Nu am gasit niciun rezultat!",notFoundText:"Te rugam sa introduci corect numele jocului.",noRecentSearches:"Nu sunt cautari recente. Cauta oricare din jocurile noastre.",placeHolderSearchGames:"Căutați Jocuri"},hr:{recentSearch:"Nedavna pretraga",loading:"Učitavanje",searchResult:"Rezultat pretrage",cancel:"Otkaži",notFound:"Igra nije pronađena!",notFoundText:"Molimo upišite točan naziv igre kako biste započeli igrati.",noRecentSearches:"Još nema nedavnih pretraživanja. Potražite bilo koju od naših igara.",placeHolderSearchGames:"Traži igre"},hu:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},pt:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",placeHolderSearchGames:"Pesquisar jogos",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sl:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},sr:{recentSearch:"Recent search",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."},"es-mx":{recentSearch:"Búsqueda reciente",loading:"Cargando, por favor espera",searchResult:"Resultado de la búsqueda",placeHolderSearchGames:"Buscar juegos",cancel:"Cancelar",notFound:"¡Juego no encontrado!",notFoundText:"Por favor, escribe el nombre correcto del juego para comenzar a jugar.",noRecentSearches:"Aún no hay búsquedas recientes. Busca cualquiera de nuestros juegos."},"pt-br":{recentSearch:"Pesquisa recente",loading:"Carregando, por favor aguarde",searchResult:"Resultado da pesquisa",placeHolderSearchGames:"Buscar jogos",cancel:"Cancelar",notFound:"Jogo não encontrado!",notFoundText:"Por favor, digite o nome correto do jogo para começar a jogar.",noRecentSearches:"Ainda não há pesquisas recentes. Busque por qualquer um dos nossos jogos."},"en-us":{recentSearch:"Recent search",placeHolderSearchGames:"Search for Games",loading:"Loading, please wait",searchResult:"Search result",cancel:"Cancel",notFound:"Game not found!",notFoundText:"Please type the correct name of the game to start to play.",noRecentSearches:"No recent searches yet. Search for any of our games."}},Ee="__WIDGET_GLOBAL_STYLE_CACHE__";function Rn(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 a=document.createElement("style");a.innerHTML=n,e&&e.appendChild(a)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Bn(e,t,r,n=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!n)return r=Ho(e,t),r;window[Ee]||(window[Ee]={}),r=Mo(e,t);const i=r.unsubscribe.bind(r),o=()=>{if(window[Ee][t]){const s=window[Ee][t];s.refCount>1?s.refCount=s.refCount-1:delete window[Ee][t]}i()};return r.unsubscribe=o,r}function Ho(e,t){const r=document.createElement("style");return window.emMessageBus.subscribe(t,n=>{e&&(r.innerHTML=n,e.appendChild(r))})}function Mo(e,t){return window.emMessageBus.subscribe(t,r=>{if(!e)return;const n=e.getRootNode(),a=window[Ee];let i=a[t]&&a[t].sheet;i?a[t].refCount=a[t].refCount+1:(i=new CSSStyleSheet,i.replaceSync(r),a[t]={sheet:i,refCount:1});const o=n.adoptedStyleSheets||[];o.includes(i)||(n.adoptedStyleSheets=[...o,i])})}/*! *****************************************************************************
|
|
4
4
|
Copyright (c) Microsoft Corporation.
|
|
5
5
|
|
|
6
6
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -15,4 +15,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */var $t=function(e,t){return $t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},$t(e,t)};function $e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");$t(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function Vt(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 Yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(s){o={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return i}function Xt(e,t,r){if(arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||t)}function ie(e){return typeof e=="function"}function Ln(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 Mt=Ln(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
17
|
`+r.map(function(n,a){return a+1+") "+n.toString()}).join(`
|
|
18
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function qt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var mt=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,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Vt(o),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(b){t={error:b}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ie(c))try{c()}catch(b){i=b instanceof Mt?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=Vt(h),m=d.next();!m.done;m=d.next()){var g=m.value;try{Pr(g)}catch(b){i=i!=null?i:[],b instanceof Mt?i=Xt(Xt([],Yt(i)),Yt(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}if(i)throw new Mt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Pr(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)&&qt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&qt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Nn=mt.EMPTY;function In(e){return e instanceof mt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function Pr(e){ie(e)?e():e.unsubscribe()}var Mo={Promise:void 0},Ro={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Xt([e,t],Yt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Ao(e){Ro.setTimeout(function(){throw e})}function Or(){}function tt(e){e()}var Dn=function(e){$e(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,In(r)&&r.add(n)):n.destination=No,n}return t.create=function(r,n,a){return new zt(r,n,a)},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}(mt),Bo=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){Ze(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ze(n)}else Ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ze(r)}},e}(),zt=function(e){$e(t,e);function t(r,n,a){var i=e.call(this)||this,o;return ie(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:a!=null?a:void 0}:o=r,i.destination=new Bo(o),i}return t}(Dn);function Ze(e){Ao(e)}function Lo(e){throw e}var No={closed:!0,next:Or,error:Lo,complete:Or},Io=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Do(e){return e}function ko(e){return e.length===0?Do:e.length===1?e[0]:function(r){return e.reduce(function(n,a){return a(n)},r)}}var Hr=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 a=this,i=Fo(t)?t:new zt(t,r,n);return tt(function(){var o=a,s=o.operator,u=o.source;i.add(s?s.call(i,u):u?a._subscribe(i):a._trySubscribe(i))}),i},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=Mr(r),new r(function(a,i){var o=new zt({next:function(s){try{t(s)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});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[Io]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ko(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mr(t),new t(function(n,a){var i;r.subscribe(function(o){return i=o},function(o){return a(o)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Mr(e){var t;return(t=e!=null?e:Mo.Promise)!==null&&t!==void 0?t:Promise}function Uo(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}function Fo(e){return e&&e instanceof Dn||Uo(e)&&In(e)}var Go=Ln(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),kn=function(e){$e(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 Rr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Go},t.prototype.next=function(r){var n=this;tt(function(){var a,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Vt(n.currentObservers),s=o.next();!s.done;s=o.next()){var u=s.value;u.next(r)}}catch(l){a={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(r){var n=this;tt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var a=n.observers;a.length;)a.shift().error(r)}})},t.prototype.complete=function(){var r=this;tt(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,a=this,i=a.hasError,o=a.isStopped,s=a.observers;return i||o?Nn:(this.currentObservers=null,s.push(r),new mt(function(){n.currentObservers=null,qt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,a=n.hasError,i=n.thrownError,o=n.isStopped;a?r.error(i):o&&r.complete()},t.prototype.asObservable=function(){var r=new Hr;return r.source=this,r},t.create=function(r,n){return new Rr(r,n)},t}(Hr),Rr=function(e){$e(t,e);function t(r,n){var a=e.call(this)||this;return a.destination=r,a.source=n,a}return t.prototype.next=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.next)===null||a===void 0||a.call(n,r)},t.prototype.error=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.error)===null||a===void 0||a.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,a;return(a=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&a!==void 0?a:Nn},t}(kn),Un={now:function(){return(Un.delegate||Date).now()},delegate:void 0},jo=function(e){$e(t,e);function t(r,n,a){r===void 0&&(r=1/0),n===void 0&&(n=1/0),a===void 0&&(a=Un);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,a=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;a||(i.push(r),!o&&i.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),a=this,i=a._infiniteTimeWindow,o=a._buffer,s=o.slice(),u=0;u<s.length&&!r.closed;u+=i?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,a=r._timestampProvider,i=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!o){for(var u=a.now(),l=0,c=1;c<i.length&&i[c]<=u;c+=2)l=c;l&&i.splice(0,l+1)}},t}(kn);const Ar=[],Br={},Wo=(e,t=0)=>{if(Ar.indexOf(e)==-1){const r=new jo(t);Br[e]=r,Ar.push(e)}return Br[e]};window.emWidgets={topic:Wo};const $o=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)),je=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;const Vo=(e,t)=>function(...r){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{e.apply(this,r)},t)};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnailNd-CRyykpBF.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",t.element)})}function ot(e){"@babel/helpers - typeof";return ot=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},ot(e)}function me(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 V(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function q(e){V(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ot(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 Yo(e,t){V(2,arguments);var r=q(e).getTime(),n=me(t);return new Date(r+n)}var Xo={};function gt(){return Xo}function qo(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 zo(e){return V(1,arguments),e instanceof Date||ot(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Qo(e){if(V(1,arguments),!zo(e)&&typeof e!="number")return!1;var t=q(e);return!isNaN(Number(t))}function Lr(e,t){return V(2,arguments),q(e).getTime()-q(t).getTime()}function Zo(e,t){V(2,arguments);var r=me(t);return Yo(e,-r)}var Jo=864e5;function Ko(e){V(1,arguments);var t=q(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Jo)+1}function st(e){V(1,arguments);var t=1,r=q(e),n=r.getUTCDay(),a=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function Fn(e){V(1,arguments);var t=q(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=st(n),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var o=st(i);return t.getTime()>=a.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function es(e){V(1,arguments);var t=Fn(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=st(r);return n}var ts=6048e5;function rs(e){V(1,arguments);var t=q(e),r=st(t).getTime()-es(t).getTime();return Math.round(r/ts)+1}function ut(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=q(e),m=d.getUTCDay(),g=(m<h?7:0)+m-h;return d.setUTCDate(d.getUTCDate()-g),d.setUTCHours(0,0,0,0),d}function Gn(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=q(e),h=c.getUTCFullYear(),d=gt(),m=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,m),g.setUTCHours(0,0,0,0);var b=ut(g,t),w=new Date(0);w.setUTCFullYear(h,0,m),w.setUTCHours(0,0,0,0);var p=ut(w,t);return c.getTime()>=b.getTime()?h+1:c.getTime()>=p.getTime()?h:h-1}function ns(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Gn(e,t),m=new Date(0);m.setUTCFullYear(d,0,h),m.setUTCHours(0,0,0,0);var g=ut(m,t);return g}var as=6048e5;function is(e,t){V(1,arguments);var r=q(e),n=ut(r,t).getTime()-ns(r,t).getTime();return Math.round(n/as)+1}function H(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var se={y:function(t,r){var n=t.getUTCFullYear(),a=n>0?n:1-n;return H(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):H(n+1,2)},d:function(t,r){return H(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 H(t.getUTCHours()%12||12,r.length)},H:function(t,r){return H(t.getUTCHours(),r.length)},m:function(t,r){return H(t.getUTCMinutes(),r.length)},s:function(t,r){return H(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,n-3));return H(i,r.length)}},_e={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},os={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return se.y(t,r)},Y:function(t,r,n,a){var i=Gn(t,a),o=i>0?i:1-i;if(r==="YY"){var s=o%100;return H(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):H(o,r.length)},R:function(t,r){var n=Fn(t);return H(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return H(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return H(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return H(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return se.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return H(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var i=is(t,a);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):H(i,r.length)},I:function(t,r,n){var a=rs(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):H(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):se.d(t,r)},D:function(t,r,n){var a=Ko(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):H(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":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"})}},e:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return H(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});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"})}},c:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return H(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),i=a===0?7:a;switch(r){case"i":return String(i);case"ii":return H(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),i;switch(a===12?i=_e.noon:a===0?i=_e.midnight:i=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),i;switch(a>=17?i=_e.evening:a>=12?i=_e.afternoon:a>=4?i=_e.morning:i=_e.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return se.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):se.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):H(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):H(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):se.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):se.s(t,r)},S:function(t,r){return se.S(t,r)},X:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return Ir(o);case"XXXX":case"XX":return fe(o);case"XXXXX":case"XXX":default:return fe(o,":")}},x:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"x":return Ir(o);case"xxxx":case"xx":return fe(o);case"xxxxx":case"xxx":default:return fe(o,":")}},O:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Nr(o,":");case"OOOO":default:return"GMT"+fe(o,":")}},z:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Nr(o,":");case"zzzz":default:return"GMT"+fe(o,":")}},t:function(t,r,n,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return H(o,r.length)},T:function(t,r,n,a){var i=a._originalDate||t,o=i.getTime();return H(o,r.length)}};function Nr(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;if(i===0)return r+String(a);var o=t;return r+String(a)+o+H(i,2)}function Ir(e,t){if(e%60===0){var r=e>0?"-":"+";return r+H(Math.abs(e)/60,2)}return fe(e,t)}function fe(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),i=H(Math.floor(a/60),2),o=H(a%60,2);return n+i+r+o}var Dr=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"})}},jn=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"})}},ss=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return Dr(t,r);var o;switch(a){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}}",Dr(a,r)).replace("{{time}}",jn(i,r))},us={p:jn,P:ss},ls=["D","DD"],cs=["YY","YYYY"];function hs(e){return ls.indexOf(e)!==-1}function fs(e){return cs.indexOf(e)!==-1}function kr(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 ds={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},ms=function(t,r,n){var a,i=ds[t];return typeof i=="string"?a=i:r===1?a=i.one:a=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Rt(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 gs={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ps={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bs={date:Rt({formats:gs,defaultWidth:"full"}),time:Rt({formats:ps,defaultWidth:"full"}),dateTime:Rt({formats:vs,defaultWidth:"full"})},ys={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},ws=function(t,r,n,a){return ys[t]};function Ne(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var s=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return a[l]}}var _s={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ss={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Es={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"]},xs={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"]},Ts={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"}},Cs={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"}},Ps=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Os={ordinalNumber:Ps,era:Ne({values:_s,defaultWidth:"wide"}),quarter:Ne({values:Ss,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ne({values:Es,defaultWidth:"wide"}),day:Ne({values:xs,defaultWidth:"wide"}),dayPeriod:Ne({values:Ts,defaultWidth:"wide",formattingValues:Cs,defaultFormattingWidth:"wide"})};function Ie(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Ms(s,function(h){return h.test(o)}):Hs(s,function(h){return h.test(o)}),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=t.slice(o.length);return{value:l,rest:c}}}function Hs(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Ms(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function Rs(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 a=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(a.length);return{value:o,rest:s}}}var As=/^(\d+)(th|st|nd|rd)?/i,Bs=/\d+/i,Ls={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},Ns={any:[/^b/i,/^(a|c)/i]},Is={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ds={any:[/1/i,/2/i,/3/i,/4/i]},ks={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},Us={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]},Fs={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},Gs={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]},js={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},Ws={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}},$s={ordinalNumber:Rs({matchPattern:As,parsePattern:Bs,valueCallback:function(t){return parseInt(t,10)}}),era:Ie({matchPatterns:Ls,defaultMatchWidth:"wide",parsePatterns:Ns,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:Is,defaultMatchWidth:"wide",parsePatterns:Ds,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ie({matchPatterns:ks,defaultMatchWidth:"wide",parsePatterns:Us,defaultParseWidth:"any"}),day:Ie({matchPatterns:Fs,defaultMatchWidth:"wide",parsePatterns:Gs,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:js,defaultMatchWidth:"any",parsePatterns:Ws,defaultParseWidth:"any"})},Vs={code:"en-US",formatDistance:ms,formatLong:bs,formatRelative:ws,localize:Os,match:$s,options:{weekStartsOn:0,firstWeekContainsDate:1}},Ys=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Xs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qs=/^'([^]*?)'?$/,zs=/''/g,Qs=/[a-zA-Z]/;function Zs(e,t,r){var n,a,i,o,s,u,l,c,h,d,m,g,b,w;V(2,arguments);var p=String(t),R=gt(),P=(n=(a=void 0)!==null&&a!==void 0?a:R.locale)!==null&&n!==void 0?n:Vs,U=me((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:R.firstWeekContainsDate)!==null&&o!==void 0?o:(l=R.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=me((h=(d=(m=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&m!==void 0?m:R.weekStartsOn)!==null&&d!==void 0?d:(b=R.locale)===null||b===void 0||(w=b.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&h!==void 0?h:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var T=q(e);if(!Qo(T))throw new RangeError("Invalid time value");var O=qo(T),G=Zo(T,O),A={firstWeekContainsDate:U,weekStartsOn:F,locale:P,_originalDate:T},C=p.match(Xs).map(function(E){var Y=E[0];if(Y==="p"||Y==="P"){var oe=us[Y];return oe(E,P.formatLong)}return E}).join("").match(Ys).map(function(E){if(E==="''")return"'";var Y=E[0];if(Y==="'")return Js(E);var oe=os[Y];if(oe)return fs(E)&&kr(E,t,String(e)),hs(E)&&kr(E,t,String(e)),oe(G,E,P.localize,A);if(Y.match(Qs))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");return E}).join("");return C}function Js(e){var t=e.match(qs);return t?t[1].replace(zs,"'"):e}function Ks(e,t){V(2,arguments);var r=q(e),n=q(t);return r.getTime()>n.getTime()}function eu(e,t){V(2,arguments);var r=q(e),n=q(t);return r.getTime()<n.getTime()}function Wn(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function tu(e){Zr(e,"svelte-1kmljoj","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.CasinoSearch.ResponsiveGrid{container-type:inline-size}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-template-rows:unset;grid-auto-rows:auto;grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:3/2}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 2;grid-column:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 1;grid-column:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 1}}@container (max-width: 836px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(4, 1fr);column-gap:8px;row-gap:4px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/10}}@container (max-width: 550px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(3, 1fr)}}@container (max-width: 350px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(2, 1fr)}}@container (max-width: 230px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:1fr;row-gap:10px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/9}}@media screen and (max-width: 1300px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;grid-column:1/-1;margin:10px auto 0;z-index:1}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;margin:10px auto 0;z-index:1}.Desktop .ResultsContainerError.WithIcon{margin-top:10px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function Ur(e,t,r){const n=e.slice();return n[69]=t[r],n}function Fr(e){let t,r=e[23]("cancel")+"",n,a,i,o;return{c(){t=N("small"),n=te(r),_(t,"class",a="SearchCancelButton "+(e[18]?"NotVisible":""))},m(s,u){$(s,t,u),M(t,n),i||(o=de(t,"click",e[44]),i=!0)},p(s,u){u[0]&8388608&&r!==(r=s[23]("cancel")+"")&&le(n,r),u[0]&262144&&a!==(a="SearchCancelButton "+(s[18]?"NotVisible":""))&&_(t,"class",a)},d(s){s&&W(t),i=!1,o()}}}function ru(e){let t,r,n,a;function i(c,h){if(c[19]==!0&&c[16].length<2)return iu;if(c[15].length!=0)return au}let o=i(e),s=o&&o(e),u=e[18]===!1&&$r(e),l=e[16].length>=2&&e[15].length==0&&Yr(e);return{c(){s&&s.c(),t=Z(),r=N("div"),u&&u.c(),n=Z(),l&&l.c(),_(r,"class",a="SearchResultsContainer "+(e[19]==!0?"":"NotVisible"))},m(c,h){s&&s.m(c,h),$(c,t,h),$(c,r,h),u&&u.m(r,null),M(r,n),l&&l.m(r,null)},p(c,h){o===(o=i(c))&&s?s.p(c,h):(s&&s.d(1),s=o&&o(c),s&&(s.c(),s.m(t.parentNode,t))),c[18]===!1?u?u.p(c,h):(u=$r(c),u.c(),u.m(r,n)):u&&(u.d(1),u=null),c[16].length>=2&&c[15].length==0?l?l.p(c,h):(l=Yr(c),l.c(),l.m(r,null)):l&&(l.d(1),l=null),h[0]&524288&&a!==(a="SearchResultsContainer "+(c[19]==!0?"":"NotVisible"))&&_(r,"class",a)},d(c){c&&(W(t),W(r)),s&&s.d(c),u&&u.d(),l&&l.d()}}}function nu(e){let t,r=e[23]("loading")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","LoadingContent")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("loading")+"")&&le(n,r)},d(a){a&&W(t)}}}function au(e){let t,r=e[23]("searchResult")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("searchResult")+"")&&le(n,r)},d(a){a&&W(t)}}}function iu(e){let t,r,n=e[15].length!==0&&Gr(e),a=e[15].length==0&&jr(e);return{c(){n&&n.c(),t=Z(),a&&a.c(),r=Jt()},m(i,o){n&&n.m(i,o),$(i,t,o),a&&a.m(i,o),$(i,r,o)},p(i,o){i[15].length!==0?n?n.p(i,o):(n=Gr(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),i[15].length==0?a?a.p(i,o):(a=jr(i),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(i){i&&(W(t),W(r)),n&&n.d(i),a&&a.d(i)}}}function Gr(e){let t,r=e[23]("recentSearch")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("recentSearch")+"")&&le(n,r)},d(a){a&&W(t)}}}function jr(e){let t,r,n,a=e[23]("noRecentSearches")+"",i,o,s=e[11]==="true"&&Wr();return{c(){t=N("div"),s&&s.c(),r=Z(),n=N("p"),i=te(a),_(n,"class","SearchMessage"),_(t,"class",o="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(u,l){$(u,t,l),s&&s.m(t,null),M(t,r),M(t,n),M(n,i)},p(u,l){u[11]==="true"?s||(s=Wr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&8388608&&a!==(a=u[23]("noRecentSearches")+"")&&le(i,a),l[0]&2048&&o!==(o="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&_(t,"class",o)},d(u){u&&W(t),s&&s.d()}}}function Wr(e){let t;return{c(){t=N("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function $r(e){let t=[],r=new Map,n,a=Lt(e[15]);const i=o=>o[69].id;for(let o=0;o<a.length;o+=1){let s=Ur(e,a,o),u=i(s);r.set(u,t[o]=Vr(u,s))}return{c(){for(let o=0;o<t.length;o+=1)t[o].c();n=Jt()},m(o,s){for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(o,s);$(o,n,s)},p(o,s){s[0]&308319231&&(a=Lt(o[15]),t=Aa(t,s,i,1,o,a,r,n.parentNode,Ra,Vr,n,Ur))},d(o){o&&W(n);for(let s=0;s<t.length;s+=1)t[s].d(o)}}}function Vr(e,t){let r,n,a,i,o,s,u,l,c,h,d,m,g,b;return{key:e,first:null,c(){var w,p;r=N("casino-game-thumbnail-nd"),v(r,"class",n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1")),v(r,"endpoint",t[0]),v(r,"session",t[21]),v(r,"userid",t[22]),v(r,"favorites",t[9]),v(r,"lang",t[1]),v(r,"gamethumbnail",a=t[69].thumbnail),v(r,"icon",i=t[25]((w=t[69])==null?void 0:w.icons)),v(r,"gamename",o=t[69].name),v(r,"gamevendor",s=t[69].vendor.name),v(r,"gameLaunchUrl",u=t[69].launchUrl),v(r,"gameisnew",l=t[69].isNew),v(r,"gametag",c=((p=t[69].advancedTags)==null?void 0:p.length)>0&&t[28](t[69].advancedTags)),v(r,"gamecellsize",h=t[69].cellSize),v(r,"gameid",d=t[69].id),v(r,"showgamename",t[7]),v(r,"gamefunmode",m=t[69].hasFunMode),v(r,"gamefavorite",g=t[69].isFavorite),v(r,"livelobbyendpoint",b=t[69].details?t[69].launchUrl:""),v(r,"integratedgameframedesktop",t[5]),v(r,"integratedgameframemobile",t[6]),v(r,"clientstyling",t[3]),v(r,"clientstylingurl",t[4]),v(r,"gamepagemodalurl",t[8]),v(r,"mbsource",t[2]),v(r,"allowsingleclickgameentry",t[12]),this.first=r},m(w,p){$(w,r,p)},p(w,p){var R,P;t=w,p[0]&32768&&n!==(n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1"))&&v(r,"class",n),p[0]&1&&v(r,"endpoint",t[0]),p[0]&2097152&&v(r,"session",t[21]),p[0]&4194304&&v(r,"userid",t[22]),p[0]&512&&v(r,"favorites",t[9]),p[0]&2&&v(r,"lang",t[1]),p[0]&32768&&a!==(a=t[69].thumbnail)&&v(r,"gamethumbnail",a),p[0]&32768&&i!==(i=t[25]((R=t[69])==null?void 0:R.icons))&&v(r,"icon",i),p[0]&32768&&o!==(o=t[69].name)&&v(r,"gamename",o),p[0]&32768&&s!==(s=t[69].vendor.name)&&v(r,"gamevendor",s),p[0]&32768&&u!==(u=t[69].launchUrl)&&v(r,"gameLaunchUrl",u),p[0]&32768&&l!==(l=t[69].isNew)&&v(r,"gameisnew",l),p[0]&32768&&c!==(c=((P=t[69].advancedTags)==null?void 0:P.length)>0&&t[28](t[69].advancedTags))&&v(r,"gametag",c),p[0]&32768&&h!==(h=t[69].cellSize)&&v(r,"gamecellsize",h),p[0]&32768&&d!==(d=t[69].id)&&v(r,"gameid",d),p[0]&128&&v(r,"showgamename",t[7]),p[0]&32768&&m!==(m=t[69].hasFunMode)&&v(r,"gamefunmode",m),p[0]&32768&&g!==(g=t[69].isFavorite)&&v(r,"gamefavorite",g),p[0]&32768&&b!==(b=t[69].details?t[69].launchUrl:"")&&v(r,"livelobbyendpoint",b),p[0]&32&&v(r,"integratedgameframedesktop",t[5]),p[0]&64&&v(r,"integratedgameframemobile",t[6]),p[0]&8&&v(r,"clientstyling",t[3]),p[0]&16&&v(r,"clientstylingurl",t[4]),p[0]&256&&v(r,"gamepagemodalurl",t[8]),p[0]&4&&v(r,"mbsource",t[2]),p[0]&4096&&v(r,"allowsingleclickgameentry",t[12])},d(w){w&&W(r)}}}function Yr(e){let t,r,n,a=e[23]("notFound")+"",i,o,s,u=e[23]("notFoundText")+"",l,c,h=e[11]==="true"&&Xr();return{c(){t=N("div"),h&&h.c(),r=Z(),n=N("p"),i=te(a),o=Z(),s=N("p"),l=te(u),_(n,"class","SearchMessage"),_(t,"class",c="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(d,m){$(d,t,m),h&&h.m(t,null),M(t,r),M(t,n),M(n,i),M(t,o),M(t,s),M(s,l)},p(d,m){d[11]==="true"?h||(h=Xr(),h.c(),h.m(t,r)):h&&(h.d(1),h=null),m[0]&8388608&&a!==(a=d[23]("notFound")+"")&&le(i,a),m[0]&8388608&&u!==(u=d[23]("notFoundText")+"")&&le(l,u),m[0]&2048&&c!==(c="ResultsContainerError "+(d[11]=="true"?"WithIcon":""))&&_(t,"class",c)},d(d){d&&W(t),h&&h.d()}}}function Xr(e){let t;return{c(){t=N("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function ou(e){let t,r,n,a,i,o,s,u,l,c,h,d,m,g,b,w,p,R,P,U,F,T=e[10]==="true"&&Fr(e);function O(C,E){return C[20]?nu:ru}let G=O(e),A=G(e);return{c(){t=N("div"),r=N("div"),n=N("div"),a=N("div"),a.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',i=Z(),o=N("input"),u=Z(),l=N("span"),c=rt("svg"),h=rt("path"),m=Z(),T&&T.c(),b=Z(),w=N("div"),R=Z(),A.c(),_(a,"class","SearchIcon"),_(o,"class","SearchInput"),_(o,"type","search"),_(o,"placeholder",s=e[23]("placeHolderSearchGames")),_(o,"maxlength",$n),_(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(h,"stroke","#717171"),_(h,"stroke-width","2"),_(h,"stroke-linecap","round"),_(h,"stroke-linejoin","round"),_(c,"width","11"),_(c,"height","11"),_(c,"fill","none"),_(c,"xmlns","http://www.w3.org/2000/svg"),_(l,"class",d="SearchClearButton "+(e[10]!="true"?"WithoutCancel":"")+" "+(e[16].length!=0?"":"NotVisible")),_(n,"class",g="Search "+(e[18]?"":"SearchAnimation")),_(r,"class","SearchWrap"),_(w,"class",p=e[10]!="true"?"OverlayCancel":""),_(t,"class",P=(je(e[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(e[13]==="true"?"ResponsiveGrid":""))},m(C,E){$(C,t,E),M(t,r),M(r,n),M(n,a),M(n,i),M(n,o),fr(o,e[16]),e[42](o),M(n,u),M(n,l),M(l,c),M(c,h),M(n,m),T&&T.m(n,null),M(t,b),M(t,w),M(t,R),A.m(t,null),e[45](t),U||(F=[de(o,"input",e[41]),de(o,"focus",e[26]),de(o,"input",e[31]),de(l,"click",e[43]),de(w,"click",e[27])],U=!0)},p(C,E){E[0]&8388608&&s!==(s=C[23]("placeHolderSearchGames"))&&_(o,"placeholder",s),E[0]&65536&&o.value!==C[16]&&fr(o,C[16]),E[0]&66560&&d!==(d="SearchClearButton "+(C[10]!="true"?"WithoutCancel":"")+" "+(C[16].length!=0?"":"NotVisible"))&&_(l,"class",d),C[10]==="true"?T?T.p(C,E):(T=Fr(C),T.c(),T.m(n,null)):T&&(T.d(1),T=null),E[0]&262144&&g!==(g="Search "+(C[18]?"":"SearchAnimation"))&&_(n,"class",g),E[0]&1024&&p!==(p=C[10]!="true"?"OverlayCancel":"")&&_(w,"class",p),G===(G=O(C))&&A?A.p(C,E):(A.d(1),A=G(C),A&&(A.c(),A.m(t,null))),E[0]&8192&&P!==(P=(je(C[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(C[13]==="true"?"ResponsiveGrid":""))&&_(t,"class",P)},i:J,o:J,d(C){C&&W(t),e[42](null),T&&T.d(),A.d(),e[45](null),U=!1,ge(F)}}}let $n=50;function su(e,t,r){let n;Qr(e,Mn,f=>r(23,n=f));let{endpoint:a=""}=t,{datasource:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{mbsource:l}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:d="false"}=t,{integratedgameframemobile:m="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:p=""}=t,{cancelbutton:R="true"}=t,{notfoundicon:P="false"}=t,{controlchannel:U="casino-search"}=t,{allowedorigins:F=window.location.origin}=t,{requiredicon:T="false"}=t,{allowsingleclickgameentry:O="false"}=t,{enablesearchcontainergrid:G="false"}=t;const A=()=>(F||"").split(",").map(f=>f.trim()).filter(Boolean);let C=window.navigator.userAgent,E=[],Y=[],oe={},re="",ce,Ve=!0,ne=!1,K=!1,ae,Re,Yn,Ye=!1,Xe,qe,rr=[];const pt=f=>{Object.keys(f).forEach(y=>{To(y,f[y])})},Xn=()=>{fetch(w).then(y=>y.json()).then(y=>{pt(y)}).catch(y=>{console.log(y)})};pt(Po);const nr=f=>{var y;f.data&&f.data.type=="SearchedItemClicked"&&na(f.data.gameId),f.data.type=="UserSessionID"&&(r(21,Xe=f.data.session),r(22,qe=f.data.userid),r(40,Ye=!0)),f.data.type=="CategoryChange"&&Be();try{const I=f.origin===window.location.origin,D=A();if(!(I||D.length>0&&D.includes(f.origin))||!f.data||f.data.channel!==U)return;switch(f.data.type){case"OpenSearch":bt();break;case"CloseSearch":ar();break;case"ToggleSearch":zn();break;case"SetSearchQuery":Qn(String((y=f.data.value)!=null?y:""));break}}catch(I){}},qn=f=>T!=="true"?void 0:Object.values(f!=null?f:{}).pop(),vt=()=>{if(r(18,Ve=!1),r(19,ne=!0),a&&i&&u&&re.length<2){r(15,E=[]);let f=localStorage.getItem("searchedGamesWds_casino"),y=[];f&&(y=f.split(","));let I=[],D=0,j=y.length;if(j>0){for(D=0;D<j;D++){let Q=new URL(`${a}/v1/casino/games/${y[D]}`);Q.searchParams.append("language",u),Q.searchParams.append("datasource",i),Q.searchParams.append("platform",je(C)),I.push(Kn(Q,y[D]))}Promise.all(I).then(Q=>{Q=Q.filter(function(he){return!!he}),r(15,E=Q.map(he=>(he.isFavorite=ir(he.id),he))),E.length?Ae("searchSuccess","SearchWidget"):Ae("searchFail","SearchWidget")}).catch(Q=>{Ae("searchError","SearchWidget")})}}sr(ne),Ae("searchAttempt","SearchWidget"),Ae("SearchInitialized","SearchWidget")};function bt(){ne||(vt(),requestAnimationFrame(()=>ce==null?void 0:ce.focus()),be({type:"SearchOpen"}))}function ar(){ne&&(Be(),be({type:"SearchClose"}))}function zn(){ne?ar():bt()}function Qn(f){r(16,re=(f!=null?f:"").slice(0,$n)),ne||bt(),ur()}const Ae=(f,y)=>{typeof gtag=="function"&>ag("event",f,{context:y})},Zn=()=>{R!="true"&&Be()},Jn=f=>new Promise((y,I)=>{r(20,K=!0),fetch(f.href).then(D=>D.json()).then(D=>{r(20,K=!1),y(D)}).catch(D=>{r(20,K=!1),console.error(D);try{be({type:"SearchError",message:String(D)})}catch(j){}I(D)})}),Kn=(f,y)=>new Promise((I,D)=>{r(20,K=!0),y&&Object.keys(oe).indexOf(y)>=0?(r(20,K=!1),I(oe[y])):fetch(f).then(j=>j.json()).then(j=>{r(20,K=!1),j.error||(oe[j[0].gameId]=j[0]),I(j[0])}).catch(j=>{r(20,K=!1),console.error(j);try{be({type:"SearchError",message:String(j)})}catch(Q){}D(j)})}),ea=()=>{const f=new URL(`${a}/v1/player/${qe}/favorites/`);r(20,K=!0);let y={method:"GET",headers:{"X-SessionID":Xe}};fetch(f.href,y).then(I=>I.json()).then(I=>{r(20,K=!1),rr=I.items.map(D=>D.id)})},ta=()=>{r(40,Ye=!0),r(21,Xe=o),r(22,qe=s)},ir=f=>rr.findIndex(y=>y==f)!==-1,ra=f=>{if((f==null?void 0:f.length)===0)return"";let y,I=99999999999,D;const j=new Date(Date.now());return f.forEach((Q,he)=>{const ha=new Date(Q.schedules[0].startTime),yt=new Date(Q.schedules[0].endTime);Lr(new Date(yt),new Date(j))<I&&(I=Lr(new Date(yt),new Date(j)),D=he),Ks(new Date(j),new Date(ha))&&eu(new Date(j),new Date(yt))&&(y=f[D].name)}),y},na=f=>{if(Y=localStorage.getItem("searchedGamesWds_casino"),Y?Y=Y.split(","):Y=[],Y.indexOf(f)===-1){let y;Y.unshift(f),y=Y.join(","),localStorage.setItem("searchedGamesWds_casino",y)}},Be=()=>{r(16,re=""),r(18,Ve=!0),r(20,K=!1),r(15,E=[]),r(19,ne=!1),sr(ne)},or=()=>{r(16,re=""),ce.focus()},sr=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href),be({type:f?"SearchOpen":"SearchClose"})};function be(f){try{const y=_t({channel:U},f);window.postMessage(y,window.location.href)}catch(y){}}const aa=()=>{Co(u)},ur=()=>St(this,null,function*(){if(re.length>=2){const f=new URL(`${a}/v1/casino/games`);f.searchParams.append("datasource",i),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",je(C)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${re}`),Jn(f).then(y=>{if(y.error)throw y.error;r(15,E=y.items.map(I=>(I.isFavorite=ir(I.id),I)));try{be({type:"SearchResults",count:E.length})}catch(I){}}).catch(y=>{console.error(y),r(15,E=[])})}else Ve||vt()}),ia=Vo(ur,500);Jr(()=>(window.addEventListener("message",nr,!1),()=>{Re&&Re.unsubscribe(),window.removeEventListener("message",nr)}));function oa(){re=this.value,r(16,re)}function sa(f){Ue[f?"unshift":"push"](()=>{ce=f,r(17,ce)})}const ua=()=>or(),la=()=>Be();function ca(f){Ue[f?"unshift":"push"](()=>{ae=f,r(14,ae)})}return e.$$set=f=>{"endpoint"in f&&r(0,a=f.endpoint),"datasource"in f&&r(32,i=f.datasource),"session"in f&&r(33,o=f.session),"userid"in f&&r(34,s=f.userid),"lang"in f&&r(1,u=f.lang),"mbsource"in f&&r(2,l=f.mbsource),"clientstyling"in f&&r(3,c=f.clientstyling),"clientstylingurl"in f&&r(4,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(5,d=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(6,m=f.integratedgameframemobile),"showgamename"in f&&r(7,g=f.showgamename),"gamepagemodalurl"in f&&r(8,b=f.gamepagemodalurl),"translationurl"in f&&r(35,w=f.translationurl),"showfavorites"in f&&r(9,p=f.showfavorites),"cancelbutton"in f&&r(10,R=f.cancelbutton),"notfoundicon"in f&&r(11,P=f.notfoundicon),"controlchannel"in f&&r(36,U=f.controlchannel),"allowedorigins"in f&&r(37,F=f.allowedorigins),"requiredicon"in f&&r(38,T=f.requiredicon),"allowsingleclickgameentry"in f&&r(12,O=f.allowsingleclickgameentry),"enablesearchcontainergrid"in f&&r(13,G=f.enablesearchcontainergrid)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&aa(),e.$$.dirty[1]&16&&w&&Xn(),e.$$.dirty[1]&12&&o&&s&&ta(),e.$$.dirty[0]&512|e.$$.dirty[1]&512&&p&&Ye&&ea(),e.$$.dirty[0]&16392&&c&&ae&&Rn(ae,c),e.$$.dirty[0]&16400&&h&&ae&&An(ae,h),e.$$.dirty[0]&16388|e.$$.dirty[1]&256&&l&&ae&&r(39,Re=Bn(ae,`${l}.Style`,Re,!0)),e.$$.dirty[0]&4|e.$$.dirty[1]&16&&l&&!w&&Wn(`${l}.Translation`,Yn,pt)},[a,u,l,c,h,d,m,g,b,p,R,P,O,G,ae,E,re,ce,Ve,ne,K,Xe,qe,n,C,qn,vt,Zn,ra,Be,or,ia,i,o,s,w,U,F,T,Re,Ye,oa,sa,ua,la,ca]}class Vn extends on{constructor(t){super(),rn(this,t,su,ou,Zt,{endpoint:0,datasource:32,session:33,userid:34,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:35,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:36,allowedorigins:37,requiredicon:38,allowsingleclickgameentry:12,enablesearchcontainergrid:13},tu,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),B()}get datasource(){return this.$$.ctx[32]}set datasource(t){this.$$set({datasource:t}),B()}get session(){return this.$$.ctx[33]}set session(t){this.$$set({session:t}),B()}get userid(){return this.$$.ctx[34]}set userid(t){this.$$set({userid:t}),B()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),B()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),B()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),B()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),B()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),B()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),B()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),B()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),B()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),B()}get controlchannel(){return this.$$.ctx[36]}set controlchannel(t){this.$$set({controlchannel:t}),B()}get allowedorigins(){return this.$$.ctx[37]}set allowedorigins(t){this.$$set({allowedorigins:t}),B()}get requiredicon(){return this.$$.ctx[38]}set requiredicon(t){this.$$set({requiredicon:t}),B()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),B()}get enablesearchcontainergrid(){return this.$$.ctx[13]}set enablesearchcontainergrid(t){this.$$set({enablesearchcontainergrid:t}),B()}}an(Vn,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{},enablesearchcontainergrid:{}},[],[],!0);const uu=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"}));exports.$format=Mn;exports.$locale=ve;exports.CasinoSearchNd_ce=uu;exports.HtmlTag=xa;exports.SvelteComponent=on;exports.addMessages=er;exports.append=M;exports.append_styles=Zr;exports.attr=_;exports.binding_callbacks=Ue;exports.component_subscribe=Qr;exports.create_custom_element=an;exports.destroy_each=_a;exports.detach=W;exports.element=N;exports.empty=Jt;exports.ensure_array_like=Lt;exports.flush=B;exports.format=Zs;exports.getDevice=je;exports.getStreamTranslations=Wn;exports.init=rn;exports.insert=$;exports.isMobile=$o;exports.listen=de;exports.noop=J;exports.onMount=Jr;exports.safe_not_equal=Zt;exports.setClientStyling=Rn;exports.setClientStylingURL=An;exports.setStreamStyling=Bn;exports.set_custom_element_data=v;exports.set_data=le;exports.space=Z;exports.src_url_equal=va;exports.svg_element=rt;exports.text=te;exports.tick=Pa;exports.toggle_class=Ea;
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function qt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var mt=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,a,i;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=Vt(o),u=s.next();!u.done;u=s.next()){var l=u.value;l.remove(this)}}catch(b){t={error:b}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}else o.remove(this);var c=this.initialTeardown;if(ie(c))try{c()}catch(b){i=b instanceof Mt?b.errors:[b]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var d=Vt(h),m=d.next();!m.done;m=d.next()){var g=m.value;try{Pr(g)}catch(b){i=i!=null?i:[],b instanceof Mt?i=Xt(Xt([],Yt(i)),Yt(b.errors)):i.push(b)}}}catch(b){n={error:b}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(n)throw n.error}}}if(i)throw new Mt(i)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Pr(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)&&qt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&qt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Nn=mt.EMPTY;function In(e){return e instanceof mt||e&&"closed"in e&&ie(e.remove)&&ie(e.add)&&ie(e.unsubscribe)}function Pr(e){ie(e)?e():e.unsubscribe()}var Ro={Promise:void 0},Ao={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Xt([e,t],Yt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Bo(e){Ao.setTimeout(function(){throw e})}function Or(){}function tt(e){e()}var Dn=function(e){$e(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,In(r)&&r.add(n)):n.destination=Io,n}return t.create=function(r,n,a){return new zt(r,n,a)},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}(mt),Lo=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){Ze(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ze(n)}else Ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ze(r)}},e}(),zt=function(e){$e(t,e);function t(r,n,a){var i=e.call(this)||this,o;return ie(r)||!r?o={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:a!=null?a:void 0}:o=r,i.destination=new Lo(o),i}return t}(Dn);function Ze(e){Bo(e)}function No(e){throw e}var Io={closed:!0,next:Or,error:No,complete:Or},Do=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ko(e){return e}function Uo(e){return e.length===0?ko:e.length===1?e[0]:function(r){return e.reduce(function(n,a){return a(n)},r)}}var Hr=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 a=this,i=Go(t)?t:new zt(t,r,n);return tt(function(){var o=a,s=o.operator,u=o.source;i.add(s?s.call(i,u):u?a._subscribe(i):a._trySubscribe(i))}),i},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=Mr(r),new r(function(a,i){var o=new zt({next:function(s){try{t(s)}catch(u){i(u),o.unsubscribe()}},error:i,complete:a});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[Do]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Uo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Mr(t),new t(function(n,a){var i;r.subscribe(function(o){return i=o},function(o){return a(o)},function(){return n(i)})})},e.create=function(t){return new e(t)},e}();function Mr(e){var t;return(t=e!=null?e:Ro.Promise)!==null&&t!==void 0?t:Promise}function Fo(e){return e&&ie(e.next)&&ie(e.error)&&ie(e.complete)}function Go(e){return e&&e instanceof Dn||Fo(e)&&In(e)}var jo=Ln(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),kn=function(e){$e(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 Rr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new jo},t.prototype.next=function(r){var n=this;tt(function(){var a,i;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var o=Vt(n.currentObservers),s=o.next();!s.done;s=o.next()){var u=s.value;u.next(r)}}catch(l){a={error:l}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(a)throw a.error}}}})},t.prototype.error=function(r){var n=this;tt(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var a=n.observers;a.length;)a.shift().error(r)}})},t.prototype.complete=function(){var r=this;tt(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,a=this,i=a.hasError,o=a.isStopped,s=a.observers;return i||o?Nn:(this.currentObservers=null,s.push(r),new mt(function(){n.currentObservers=null,qt(s,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,a=n.hasError,i=n.thrownError,o=n.isStopped;a?r.error(i):o&&r.complete()},t.prototype.asObservable=function(){var r=new Hr;return r.source=this,r},t.create=function(r,n){return new Rr(r,n)},t}(Hr),Rr=function(e){$e(t,e);function t(r,n){var a=e.call(this)||this;return a.destination=r,a.source=n,a}return t.prototype.next=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.next)===null||a===void 0||a.call(n,r)},t.prototype.error=function(r){var n,a;(a=(n=this.destination)===null||n===void 0?void 0:n.error)===null||a===void 0||a.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,a;return(a=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&a!==void 0?a:Nn},t}(kn),Un={now:function(){return(Un.delegate||Date).now()},delegate:void 0},Wo=function(e){$e(t,e);function t(r,n,a){r===void 0&&(r=1/0),n===void 0&&(n=1/0),a===void 0&&(a=Un);var i=e.call(this)||this;return i._bufferSize=r,i._windowTime=n,i._timestampProvider=a,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,r),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(r){var n=this,a=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,u=n._windowTime;a||(i.push(r),!o&&i.push(s.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),a=this,i=a._infiniteTimeWindow,o=a._buffer,s=o.slice(),u=0;u<s.length&&!r.closed;u+=i?1:2)r.next(s[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,a=r._timestampProvider,i=r._buffer,o=r._infiniteTimeWindow,s=(o?1:2)*n;if(n<1/0&&s<i.length&&i.splice(0,i.length-s),!o){for(var u=a.now(),l=0,c=1;c<i.length&&i[c]<=u;c+=2)l=c;l&&i.splice(0,l+1)}},t}(kn);const Ar=[],Br={},$o=(e,t=0)=>{if(Ar.indexOf(e)==-1){const r=new Wo(t);Br[e]=r,Ar.push(e)}return Br[e]};window.emWidgets={topic:$o};const Vo=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)),je=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;const Yo=(e,t)=>function(...r){clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{e.apply(this,r)},t)};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnailNd-CFEmqcJs.cjs")).then(({default:t})=>{!customElements.get("casino-game-thumbnail-nd")&&customElements.define("casino-game-thumbnail-nd",t.element)})}function ot(e){"@babel/helpers - typeof";return ot=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},ot(e)}function me(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 V(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function q(e){V(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ot(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 Xo(e,t){V(2,arguments);var r=q(e).getTime(),n=me(t);return new Date(r+n)}var qo={};function gt(){return qo}function zo(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 Qo(e){return V(1,arguments),e instanceof Date||ot(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Zo(e){if(V(1,arguments),!Qo(e)&&typeof e!="number")return!1;var t=q(e);return!isNaN(Number(t))}function Lr(e,t){return V(2,arguments),q(e).getTime()-q(t).getTime()}function Jo(e,t){V(2,arguments);var r=me(t);return Xo(e,-r)}var Ko=864e5;function es(e){V(1,arguments);var t=q(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Ko)+1}function st(e){V(1,arguments);var t=1,r=q(e),n=r.getUTCDay(),a=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-a),r.setUTCHours(0,0,0,0),r}function Fn(e){V(1,arguments);var t=q(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var a=st(n),i=new Date(0);i.setUTCFullYear(r,0,4),i.setUTCHours(0,0,0,0);var o=st(i);return t.getTime()>=a.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function ts(e){V(1,arguments);var t=Fn(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=st(r);return n}var rs=6048e5;function ns(e){V(1,arguments);var t=q(e),r=st(t).getTime()-ts(t).getTime();return Math.round(r/rs)+1}function ut(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&a!==void 0?a:c.weekStartsOn)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=q(e),m=d.getUTCDay(),g=(m<h?7:0)+m-h;return d.setUTCDate(d.getUTCDate()-g),d.setUTCHours(0,0,0,0),d}function Gn(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=q(e),h=c.getUTCFullYear(),d=gt(),m=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:d.firstWeekContainsDate)!==null&&n!==void 0?n:(u=d.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(h+1,0,m),g.setUTCHours(0,0,0,0);var b=ut(g,t),w=new Date(0);w.setUTCFullYear(h,0,m),w.setUTCHours(0,0,0,0);var p=ut(w,t);return c.getTime()>=b.getTime()?h+1:c.getTime()>=p.getTime()?h:h-1}function as(e,t){var r,n,a,i,o,s,u,l;V(1,arguments);var c=gt(),h=me((r=(n=(a=(i=t==null?void 0:t.firstWeekContainsDate)!==null&&i!==void 0?i:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&a!==void 0?a:c.firstWeekContainsDate)!==null&&n!==void 0?n:(u=c.locale)===null||u===void 0||(l=u.options)===null||l===void 0?void 0:l.firstWeekContainsDate)!==null&&r!==void 0?r:1),d=Gn(e,t),m=new Date(0);m.setUTCFullYear(d,0,h),m.setUTCHours(0,0,0,0);var g=ut(m,t);return g}var is=6048e5;function os(e,t){V(1,arguments);var r=q(e),n=ut(r,t).getTime()-as(r,t).getTime();return Math.round(n/is)+1}function H(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var se={y:function(t,r){var n=t.getUTCFullYear(),a=n>0?n:1-n;return H(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):H(n+1,2)},d:function(t,r){return H(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 H(t.getUTCHours()%12||12,r.length)},H:function(t,r){return H(t.getUTCHours(),r.length)},m:function(t,r){return H(t.getUTCMinutes(),r.length)},s:function(t,r){return H(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),i=Math.floor(a*Math.pow(10,n-3));return H(i,r.length)}},_e={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ss={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),i=a>0?a:1-a;return n.ordinalNumber(i,{unit:"year"})}return se.y(t,r)},Y:function(t,r,n,a){var i=Gn(t,a),o=i>0?i:1-i;if(r==="YY"){var s=o%100;return H(s,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):H(o,r.length)},R:function(t,r){var n=Fn(t);return H(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return H(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return H(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return H(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return se.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return H(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var i=os(t,a);return r==="wo"?n.ordinalNumber(i,{unit:"week"}):H(i,r.length)},I:function(t,r,n){var a=ns(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):H(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):se.d(t,r)},D:function(t,r,n){var a=es(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):H(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":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"})}},e:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return H(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});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"})}},c:function(t,r,n,a){var i=t.getUTCDay(),o=(i-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return H(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),i=a===0?7:a;switch(r){case"i":return String(i);case"ii":return H(i,r.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),i=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),i;switch(a===12?i=_e.noon:a===0?i=_e.midnight:i=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),i;switch(a>=17?i=_e.evening:a>=12?i=_e.afternoon:a>=4?i=_e.morning:i=_e.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return se.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):se.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):H(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):H(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):se.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):se.s(t,r)},S:function(t,r){return se.S(t,r)},X:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return Ir(o);case"XXXX":case"XX":return fe(o);case"XXXXX":case"XXX":default:return fe(o,":")}},x:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"x":return Ir(o);case"xxxx":case"xx":return fe(o);case"xxxxx":case"xxx":default:return fe(o,":")}},O:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+Nr(o,":");case"OOOO":default:return"GMT"+fe(o,":")}},z:function(t,r,n,a){var i=a._originalDate||t,o=i.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+Nr(o,":");case"zzzz":default:return"GMT"+fe(o,":")}},t:function(t,r,n,a){var i=a._originalDate||t,o=Math.floor(i.getTime()/1e3);return H(o,r.length)},T:function(t,r,n,a){var i=a._originalDate||t,o=i.getTime();return H(o,r.length)}};function Nr(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),i=n%60;if(i===0)return r+String(a);var o=t;return r+String(a)+o+H(i,2)}function Ir(e,t){if(e%60===0){var r=e>0?"-":"+";return r+H(Math.abs(e)/60,2)}return fe(e,t)}function fe(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),i=H(Math.floor(a/60),2),o=H(a%60,2);return n+i+r+o}var Dr=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"})}},jn=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"})}},us=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],i=n[2];if(!i)return Dr(t,r);var o;switch(a){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}}",Dr(a,r)).replace("{{time}}",jn(i,r))},ls={p:jn,P:us},cs=["D","DD"],hs=["YY","YYYY"];function fs(e){return cs.indexOf(e)!==-1}function ds(e){return hs.indexOf(e)!==-1}function kr(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 ms={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"}},gs=function(t,r,n){var a,i=ms[t];return typeof i=="string"?a=i:r===1?a=i.one:a=i.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};function Rt(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 ps={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},vs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ys={date:Rt({formats:ps,defaultWidth:"full"}),time:Rt({formats:vs,defaultWidth:"full"}),dateTime:Rt({formats:bs,defaultWidth:"full"})},ws={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},_s=function(t,r,n,a){return ws[t]};function Ne(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):i;a=e.formattingValues[o]||e.formattingValues[i]}else{var s=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return a[l]}}var Ss={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Es={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},xs={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"]},Ts={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"]},Cs={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"}},Ps={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"}},Os=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Hs={ordinalNumber:Os,era:Ne({values:Ss,defaultWidth:"wide"}),quarter:Ne({values:Es,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ne({values:xs,defaultWidth:"wide"}),day:Ne({values:Ts,defaultWidth:"wide"}),dayPeriod:Ne({values:Cs,defaultWidth:"wide",formattingValues:Ps,defaultFormattingWidth:"wide"})};function Ie(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],i=t.match(a);if(!i)return null;var o=i[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(s)?Rs(s,function(h){return h.test(o)}):Ms(s,function(h){return h.test(o)}),l;l=e.valueCallback?e.valueCallback(u):u,l=r.valueCallback?r.valueCallback(l):l;var c=t.slice(o.length);return{value:l,rest:c}}}function Ms(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Rs(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function As(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 a=n[0],i=t.match(e.parsePattern);if(!i)return null;var o=e.valueCallback?e.valueCallback(i[0]):i[0];o=r.valueCallback?r.valueCallback(o):o;var s=t.slice(a.length);return{value:o,rest:s}}}var Bs=/^(\d+)(th|st|nd|rd)?/i,Ls=/\d+/i,Ns={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},Is={any:[/^b/i,/^(a|c)/i]},Ds={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ks={any:[/1/i,/2/i,/3/i,/4/i]},Us={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},Fs={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]},Gs={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},js={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]},Ws={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},$s={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}},Vs={ordinalNumber:As({matchPattern:Bs,parsePattern:Ls,valueCallback:function(t){return parseInt(t,10)}}),era:Ie({matchPatterns:Ns,defaultMatchWidth:"wide",parsePatterns:Is,defaultParseWidth:"any"}),quarter:Ie({matchPatterns:Ds,defaultMatchWidth:"wide",parsePatterns:ks,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Ie({matchPatterns:Us,defaultMatchWidth:"wide",parsePatterns:Fs,defaultParseWidth:"any"}),day:Ie({matchPatterns:Gs,defaultMatchWidth:"wide",parsePatterns:js,defaultParseWidth:"any"}),dayPeriod:Ie({matchPatterns:Ws,defaultMatchWidth:"any",parsePatterns:$s,defaultParseWidth:"any"})},Ys={code:"en-US",formatDistance:gs,formatLong:ys,formatRelative:_s,localize:Hs,match:Vs,options:{weekStartsOn:0,firstWeekContainsDate:1}},Xs=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,qs=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zs=/^'([^]*?)'?$/,Qs=/''/g,Zs=/[a-zA-Z]/;function Js(e,t,r){var n,a,i,o,s,u,l,c,h,d,m,g,b,w;V(2,arguments);var p=String(t),R=gt(),P=(n=(a=void 0)!==null&&a!==void 0?a:R.locale)!==null&&n!==void 0?n:Ys,U=me((i=(o=(s=(u=void 0)!==null&&u!==void 0?u:void 0)!==null&&s!==void 0?s:R.firstWeekContainsDate)!==null&&o!==void 0?o:(l=R.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&i!==void 0?i:1);if(!(U>=1&&U<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var F=me((h=(d=(m=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&m!==void 0?m:R.weekStartsOn)!==null&&d!==void 0?d:(b=R.locale)===null||b===void 0||(w=b.options)===null||w===void 0?void 0:w.weekStartsOn)!==null&&h!==void 0?h:0);if(!(F>=0&&F<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!P.localize)throw new RangeError("locale must contain localize property");if(!P.formatLong)throw new RangeError("locale must contain formatLong property");var T=q(e);if(!Zo(T))throw new RangeError("Invalid time value");var O=zo(T),G=Jo(T,O),A={firstWeekContainsDate:U,weekStartsOn:F,locale:P,_originalDate:T},C=p.match(qs).map(function(E){var Y=E[0];if(Y==="p"||Y==="P"){var oe=ls[Y];return oe(E,P.formatLong)}return E}).join("").match(Xs).map(function(E){if(E==="''")return"'";var Y=E[0];if(Y==="'")return Ks(E);var oe=ss[Y];if(oe)return ds(E)&&kr(E,t,String(e)),fs(E)&&kr(E,t,String(e)),oe(G,E,P.localize,A);if(Y.match(Zs))throw new RangeError("Format string contains an unescaped latin alphabet character `"+Y+"`");return E}).join("");return C}function Ks(e){var t=e.match(zs);return t?t[1].replace(Qs,"'"):e}function eu(e,t){V(2,arguments);var r=q(e),n=q(t);return r.getTime()>n.getTime()}function tu(e,t){V(2,arguments);var r=q(e),n=q(t);return r.getTime()<n.getTime()}function Wn(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}function ru(e){Zr(e,"svelte-1kmljoj","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:10px 10px;position:relative}.CasinoSearch.ResponsiveGrid{container-type:inline-size}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:var(--emw--color-secondary, #194127);border-radius:var(--emw--border-radius-medium, 10px);display:block;font-size:16px;font-weight:300;padding:14px 30px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{background:var(--emw--color-primary, #194127)}.SearchInput:focus-visible{outline-width:0}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{gap:var(--emw--casino-category-grid-gap, 16px);grid-template-columns:repeat(auto-fill, minmax(min(var(--emw--casino-category-grid-cell-size-scroll, 237px), 46%), 1fr));grid-template-rows:unset;grid-auto-rows:auto;grid-auto-columns:var(--emw--casino-category-grid-cell-size-scroll, 237px);grid-auto-flow:row dense}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:3/2}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x1{grid-row:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 2;grid-column:span 2;aspect-ratio:unset}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-2x2{grid-row:span 1;grid-column:span 1;aspect-ratio:3/2}}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer .game-tile-1x2{grid-column:span 1}}@container (max-width: 836px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(4, 1fr);column-gap:8px;row-gap:4px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/10}}@container (max-width: 550px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(3, 1fr)}}@container (max-width: 350px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:repeat(2, 1fr)}}@container (max-width: 230px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{grid-template-columns:1fr;row-gap:10px}:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer casino-game-thumbnail-nd{aspect-ratio:16/9}}@media screen and (max-width: 1300px){:where(.CasinoSearch.ResponsiveGrid) .SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;grid-column:1/-1;margin:10px auto 0;z-index:1}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:10px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:relative;margin:10px auto 0;z-index:1}.Desktop .ResultsContainerError.WithIcon{margin-top:10px}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}")}function Ur(e,t,r){const n=e.slice();return n[69]=t[r],n}function Fr(e){let t,r=e[23]("cancel")+"",n,a,i,o;return{c(){t=N("small"),n=te(r),_(t,"class",a="SearchCancelButton "+(e[18]?"NotVisible":""))},m(s,u){$(s,t,u),M(t,n),i||(o=de(t,"click",e[44]),i=!0)},p(s,u){u[0]&8388608&&r!==(r=s[23]("cancel")+"")&&le(n,r),u[0]&262144&&a!==(a="SearchCancelButton "+(s[18]?"NotVisible":""))&&_(t,"class",a)},d(s){s&&W(t),i=!1,o()}}}function nu(e){let t,r,n,a;function i(c,h){if(c[19]==!0&&c[16].length<2)return ou;if(c[15].length!=0)return iu}let o=i(e),s=o&&o(e),u=e[18]===!1&&$r(e),l=e[16].length>=2&&e[15].length==0&&Yr(e);return{c(){s&&s.c(),t=Z(),r=N("div"),u&&u.c(),n=Z(),l&&l.c(),_(r,"class",a="SearchResultsContainer "+(e[19]==!0?"":"NotVisible"))},m(c,h){s&&s.m(c,h),$(c,t,h),$(c,r,h),u&&u.m(r,null),M(r,n),l&&l.m(r,null)},p(c,h){o===(o=i(c))&&s?s.p(c,h):(s&&s.d(1),s=o&&o(c),s&&(s.c(),s.m(t.parentNode,t))),c[18]===!1?u?u.p(c,h):(u=$r(c),u.c(),u.m(r,n)):u&&(u.d(1),u=null),c[16].length>=2&&c[15].length==0?l?l.p(c,h):(l=Yr(c),l.c(),l.m(r,null)):l&&(l.d(1),l=null),h[0]&524288&&a!==(a="SearchResultsContainer "+(c[19]==!0?"":"NotVisible"))&&_(r,"class",a)},d(c){c&&(W(t),W(r)),s&&s.d(c),u&&u.d(),l&&l.d()}}}function au(e){let t,r=e[23]("loading")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","LoadingContent")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("loading")+"")&&le(n,r)},d(a){a&&W(t)}}}function iu(e){let t,r=e[23]("searchResult")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("searchResult")+"")&&le(n,r)},d(a){a&&W(t)}}}function ou(e){let t,r,n=e[15].length!==0&&Gr(e),a=e[15].length==0&&jr(e);return{c(){n&&n.c(),t=Z(),a&&a.c(),r=Jt()},m(i,o){n&&n.m(i,o),$(i,t,o),a&&a.m(i,o),$(i,r,o)},p(i,o){i[15].length!==0?n?n.p(i,o):(n=Gr(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),i[15].length==0?a?a.p(i,o):(a=jr(i),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(i){i&&(W(t),W(r)),n&&n.d(i),a&&a.d(i)}}}function Gr(e){let t,r=e[23]("recentSearch")+"",n;return{c(){t=N("p"),n=te(r),_(t,"class","SearchMessage")},m(a,i){$(a,t,i),M(t,n)},p(a,i){i[0]&8388608&&r!==(r=a[23]("recentSearch")+"")&&le(n,r)},d(a){a&&W(t)}}}function jr(e){let t,r,n,a=e[23]("noRecentSearches")+"",i,o,s=e[11]==="true"&&Wr();return{c(){t=N("div"),s&&s.c(),r=Z(),n=N("p"),i=te(a),_(n,"class","SearchMessage"),_(t,"class",o="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(u,l){$(u,t,l),s&&s.m(t,null),M(t,r),M(t,n),M(n,i)},p(u,l){u[11]==="true"?s||(s=Wr(),s.c(),s.m(t,r)):s&&(s.d(1),s=null),l[0]&8388608&&a!==(a=u[23]("noRecentSearches")+"")&&le(i,a),l[0]&2048&&o!==(o="ResultsContainerError "+(u[11]=="true"?"WithIcon":""))&&_(t,"class",o)},d(u){u&&W(t),s&&s.d()}}}function Wr(e){let t;return{c(){t=N("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function $r(e){let t=[],r=new Map,n,a=Lt(e[15]);const i=o=>o[69].id;for(let o=0;o<a.length;o+=1){let s=Ur(e,a,o),u=i(s);r.set(u,t[o]=Vr(u,s))}return{c(){for(let o=0;o<t.length;o+=1)t[o].c();n=Jt()},m(o,s){for(let u=0;u<t.length;u+=1)t[u]&&t[u].m(o,s);$(o,n,s)},p(o,s){s[0]&308319231&&(a=Lt(o[15]),t=Ba(t,s,i,1,o,a,r,n.parentNode,Aa,Vr,n,Ur))},d(o){o&&W(n);for(let s=0;s<t.length;s+=1)t[s].d(o)}}}function Vr(e,t){let r,n,a,i,o,s,u,l,c,h,d,m,g,b;return{key:e,first:null,c(){var w,p;r=N("casino-game-thumbnail-nd"),v(r,"class",n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1")),v(r,"endpoint",t[0]),v(r,"session",t[21]),v(r,"userid",t[22]),v(r,"favorites",t[9]),v(r,"lang",t[1]),v(r,"gamethumbnail",a=t[69].thumbnail),v(r,"icon",i=t[25]((w=t[69])==null?void 0:w.icons)),v(r,"gamename",o=t[69].name),v(r,"gamevendor",s=t[69].vendor.name),v(r,"gameLaunchUrl",u=t[69].launchUrl),v(r,"gameisnew",l=t[69].isNew),v(r,"gametag",c=((p=t[69].advancedTags)==null?void 0:p.length)>0&&t[28](t[69].advancedTags)),v(r,"gamecellsize",h=t[69].cellSize),v(r,"gameid",d=t[69].id),v(r,"showgamename",t[7]),v(r,"gamefunmode",m=t[69].hasFunMode),v(r,"gamefavorite",g=t[69].isFavorite),v(r,"livelobbyendpoint",b=t[69].details?t[69].launchUrl:""),v(r,"integratedgameframedesktop",t[5]),v(r,"integratedgameframemobile",t[6]),v(r,"clientstyling",t[3]),v(r,"clientstylingurl",t[4]),v(r,"gamepagemodalurl",t[8]),v(r,"mbsource",t[2]),v(r,"allowsingleclickgameentry",t[12]),this.first=r},m(w,p){$(w,r,p)},p(w,p){var R,P;t=w,p[0]&32768&&n!==(n="game-tile-"+(t[69].cellSize?t[69].cellSize:"1x1"))&&v(r,"class",n),p[0]&1&&v(r,"endpoint",t[0]),p[0]&2097152&&v(r,"session",t[21]),p[0]&4194304&&v(r,"userid",t[22]),p[0]&512&&v(r,"favorites",t[9]),p[0]&2&&v(r,"lang",t[1]),p[0]&32768&&a!==(a=t[69].thumbnail)&&v(r,"gamethumbnail",a),p[0]&32768&&i!==(i=t[25]((R=t[69])==null?void 0:R.icons))&&v(r,"icon",i),p[0]&32768&&o!==(o=t[69].name)&&v(r,"gamename",o),p[0]&32768&&s!==(s=t[69].vendor.name)&&v(r,"gamevendor",s),p[0]&32768&&u!==(u=t[69].launchUrl)&&v(r,"gameLaunchUrl",u),p[0]&32768&&l!==(l=t[69].isNew)&&v(r,"gameisnew",l),p[0]&32768&&c!==(c=((P=t[69].advancedTags)==null?void 0:P.length)>0&&t[28](t[69].advancedTags))&&v(r,"gametag",c),p[0]&32768&&h!==(h=t[69].cellSize)&&v(r,"gamecellsize",h),p[0]&32768&&d!==(d=t[69].id)&&v(r,"gameid",d),p[0]&128&&v(r,"showgamename",t[7]),p[0]&32768&&m!==(m=t[69].hasFunMode)&&v(r,"gamefunmode",m),p[0]&32768&&g!==(g=t[69].isFavorite)&&v(r,"gamefavorite",g),p[0]&32768&&b!==(b=t[69].details?t[69].launchUrl:"")&&v(r,"livelobbyendpoint",b),p[0]&32&&v(r,"integratedgameframedesktop",t[5]),p[0]&64&&v(r,"integratedgameframemobile",t[6]),p[0]&8&&v(r,"clientstyling",t[3]),p[0]&16&&v(r,"clientstylingurl",t[4]),p[0]&256&&v(r,"gamepagemodalurl",t[8]),p[0]&4&&v(r,"mbsource",t[2]),p[0]&4096&&v(r,"allowsingleclickgameentry",t[12])},d(w){w&&W(r)}}}function Yr(e){let t,r,n,a=e[23]("notFound")+"",i,o,s,u=e[23]("notFoundText")+"",l,c,h=e[11]==="true"&&Xr();return{c(){t=N("div"),h&&h.c(),r=Z(),n=N("p"),i=te(a),o=Z(),s=N("p"),l=te(u),_(n,"class","SearchMessage"),_(t,"class",c="ResultsContainerError "+(e[11]=="true"?"WithIcon":""))},m(d,m){$(d,t,m),h&&h.m(t,null),M(t,r),M(t,n),M(n,i),M(t,o),M(t,s),M(s,l)},p(d,m){d[11]==="true"?h||(h=Xr(),h.c(),h.m(t,r)):h&&(h.d(1),h=null),m[0]&8388608&&a!==(a=d[23]("notFound")+"")&&le(i,a),m[0]&8388608&&u!==(u=d[23]("notFoundText")+"")&&le(l,u),m[0]&2048&&c!==(c="ResultsContainerError "+(d[11]=="true"?"WithIcon":""))&&_(t,"class",c)},d(d){d&&W(t),h&&h.d()}}}function Xr(e){let t;return{c(){t=N("div"),t.innerHTML='<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>',_(t,"class","SearchErrorIcon")},m(r,n){$(r,t,n)},d(r){r&&W(t)}}}function su(e){let t,r,n,a,i,o,s,u,l,c,h,d,m,g,b,w,p,R,P,U,F,T=e[10]==="true"&&Fr(e);function O(C,E){return C[20]?au:nu}let G=O(e),A=G(e);return{c(){t=N("div"),r=N("div"),n=N("div"),a=N("div"),a.innerHTML='<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>',i=Z(),o=N("input"),u=Z(),l=N("span"),c=rt("svg"),h=rt("path"),m=Z(),T&&T.c(),b=Z(),w=N("div"),R=Z(),A.c(),_(a,"class","SearchIcon"),_(o,"class","SearchInput"),_(o,"type","search"),_(o,"placeholder",s=e[23]("placeHolderSearchGames")),_(o,"maxlength",$n),_(h,"d","m1.45 1.5 8.1 8M1.45 9.5l8.1-8"),_(h,"stroke","#717171"),_(h,"stroke-width","2"),_(h,"stroke-linecap","round"),_(h,"stroke-linejoin","round"),_(c,"width","11"),_(c,"height","11"),_(c,"fill","none"),_(c,"xmlns","http://www.w3.org/2000/svg"),_(l,"class",d="SearchClearButton "+(e[10]!="true"?"WithoutCancel":"")+" "+(e[16].length!=0?"":"NotVisible")),_(n,"class",g="Search "+(e[18]?"":"SearchAnimation")),_(r,"class","SearchWrap"),_(w,"class",p=e[10]!="true"?"OverlayCancel":""),_(t,"class",P=(je(e[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(e[13]==="true"?"ResponsiveGrid":""))},m(C,E){$(C,t,E),M(t,r),M(r,n),M(n,a),M(n,i),M(n,o),fr(o,e[16]),e[42](o),M(n,u),M(n,l),M(l,c),M(c,h),M(n,m),T&&T.m(n,null),M(t,b),M(t,w),M(t,R),A.m(t,null),e[45](t),U||(F=[de(o,"input",e[41]),de(o,"focus",e[26]),de(o,"input",e[31]),de(l,"click",e[43]),de(w,"click",e[27])],U=!0)},p(C,E){E[0]&8388608&&s!==(s=C[23]("placeHolderSearchGames"))&&_(o,"placeholder",s),E[0]&65536&&o.value!==C[16]&&fr(o,C[16]),E[0]&66560&&d!==(d="SearchClearButton "+(C[10]!="true"?"WithoutCancel":"")+" "+(C[16].length!=0?"":"NotVisible"))&&_(l,"class",d),C[10]==="true"?T?T.p(C,E):(T=Fr(C),T.c(),T.m(n,null)):T&&(T.d(1),T=null),E[0]&262144&&g!==(g="Search "+(C[18]?"":"SearchAnimation"))&&_(n,"class",g),E[0]&1024&&p!==(p=C[10]!="true"?"OverlayCancel":"")&&_(w,"class",p),G===(G=O(C))&&A?A.p(C,E):(A.d(1),A=G(C),A&&(A.c(),A.m(t,null))),E[0]&8192&&P!==(P=(je(C[24])!=="PC"?"":"Desktop")+" CasinoSearch "+(C[13]==="true"?"ResponsiveGrid":""))&&_(t,"class",P)},i:J,o:J,d(C){C&&W(t),e[42](null),T&&T.d(),A.d(),e[45](null),U=!1,ge(F)}}}let $n=50;function uu(e,t,r){let n;Qr(e,Mn,f=>r(23,n=f));let{endpoint:a=""}=t,{datasource:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{lang:u="en"}=t,{mbsource:l}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{integratedgameframedesktop:d="false"}=t,{integratedgameframemobile:m="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:b="true"}=t,{translationurl:w=""}=t,{showfavorites:p=""}=t,{cancelbutton:R="true"}=t,{notfoundicon:P="false"}=t,{controlchannel:U="casino-search"}=t,{allowedorigins:F=window.location.origin}=t,{requiredicon:T="false"}=t,{allowsingleclickgameentry:O="false"}=t,{enablesearchcontainergrid:G="false"}=t;const A=()=>(F||"").split(",").map(f=>f.trim()).filter(Boolean);let C=window.navigator.userAgent,E=[],Y=[],oe={},re="",ce,Ve=!0,ne=!1,K=!1,ae,Re,Yn,Ye=!1,Xe,qe,rr=[];const pt=f=>{Object.keys(f).forEach(y=>{Co(y,f[y])})},Xn=()=>{fetch(w).then(y=>y.json()).then(y=>{pt(y)}).catch(y=>{console.log(y)})};pt(Oo);const nr=f=>{var y;f.data&&f.data.type=="SearchedItemClicked"&&na(f.data.gameId),f.data.type=="UserSessionID"&&(r(21,Xe=f.data.session),r(22,qe=f.data.userid),r(40,Ye=!0)),f.data.type=="CategoryChange"&&Be();try{const I=f.origin===window.location.origin,D=A();if(!(I||D.length>0&&D.includes(f.origin))||!f.data||f.data.channel!==U)return;switch(f.data.type){case"OpenSearch":bt();break;case"CloseSearch":ar();break;case"ToggleSearch":zn();break;case"SetSearchQuery":Qn(String((y=f.data.value)!=null?y:""));break}}catch(I){}},qn=f=>T!=="true"?void 0:Object.values(f!=null?f:{}).pop(),vt=()=>{if(r(18,Ve=!1),r(19,ne=!0),a&&i&&u&&re.length<2){r(15,E=[]);let f=localStorage.getItem("searchedGamesWds_casino"),y=[];f&&(y=f.split(","));let I=[],D=0,j=y.length;if(j>0){for(D=0;D<j;D++){let Q=new URL(`${a}/v1/casino/games/${y[D]}`);Q.searchParams.append("language",u),Q.searchParams.append("datasource",i),Q.searchParams.append("platform",je(C)),I.push(Kn(Q,y[D]))}Promise.all(I).then(Q=>{Q=Q.filter(function(he){return!!he}),r(15,E=Q.map(he=>(he.isFavorite=ir(he.id),he))),E.length?Ae("searchSuccess","SearchWidget"):Ae("searchFail","SearchWidget")}).catch(Q=>{Ae("searchError","SearchWidget")})}}sr(ne),Ae("searchAttempt","SearchWidget"),Ae("SearchInitialized","SearchWidget")};function bt(){ne||(vt(),requestAnimationFrame(()=>ce==null?void 0:ce.focus()),be({type:"SearchOpen"}))}function ar(){ne&&(Be(),be({type:"SearchClose"}))}function zn(){ne?ar():bt()}function Qn(f){r(16,re=(f!=null?f:"").slice(0,$n)),ne||bt(),ur()}const Ae=(f,y)=>{typeof gtag=="function"&>ag("event",f,{context:y})},Zn=()=>{R!="true"&&Be()},Jn=f=>new Promise((y,I)=>{r(20,K=!0),fetch(f.href).then(D=>D.json()).then(D=>{r(20,K=!1),y(D)}).catch(D=>{r(20,K=!1),console.error(D);try{be({type:"SearchError",message:String(D)})}catch(j){}I(D)})}),Kn=(f,y)=>new Promise((I,D)=>{r(20,K=!0),y&&Object.keys(oe).indexOf(y)>=0?(r(20,K=!1),I(oe[y])):fetch(f).then(j=>j.json()).then(j=>{r(20,K=!1),j.error||(oe[j[0].gameId]=j[0]),I(j[0])}).catch(j=>{r(20,K=!1),console.error(j);try{be({type:"SearchError",message:String(j)})}catch(Q){}D(j)})}),ea=()=>{const f=new URL(`${a}/v1/player/${qe}/favorites/`);r(20,K=!0);let y={method:"GET",headers:{"X-SessionID":Xe}};fetch(f.href,y).then(I=>I.json()).then(I=>{r(20,K=!1),rr=I.items.map(D=>D.id)})},ta=()=>{r(40,Ye=!0),r(21,Xe=o),r(22,qe=s)},ir=f=>rr.findIndex(y=>y==f)!==-1,ra=f=>{if((f==null?void 0:f.length)===0)return"";let y,I=99999999999,D;const j=new Date(Date.now());return f.forEach((Q,he)=>{const ha=new Date(Q.schedules[0].startTime),yt=new Date(Q.schedules[0].endTime);Lr(new Date(yt),new Date(j))<I&&(I=Lr(new Date(yt),new Date(j)),D=he),eu(new Date(j),new Date(ha))&&tu(new Date(j),new Date(yt))&&(y=f[D].name)}),y},na=f=>{if(Y=localStorage.getItem("searchedGamesWds_casino"),Y?Y=Y.split(","):Y=[],Y.indexOf(f)===-1){let y;Y.unshift(f),y=Y.join(","),localStorage.setItem("searchedGamesWds_casino",y)}},Be=()=>{r(16,re=""),r(18,Ve=!0),r(20,K=!1),r(15,E=[]),r(19,ne=!1),sr(ne)},or=()=>{r(16,re=""),ce.focus()},sr=f=>{window.postMessage({type:f===!0?"searchActive":"searchCancelled",searchStatus:f},window.location.href),be({type:f?"SearchOpen":"SearchClose"})};function be(f){try{const y=_t({channel:U},f);window.postMessage(y,window.location.href)}catch(y){}}const aa=()=>{Po(u)},ur=()=>St(this,null,function*(){if(re.length>=2){const f=new URL(`${a}/v1/casino/games`);f.searchParams.append("datasource",i),f.searchParams.append("expand","vendor"),f.searchParams.append("platform",je(C)),f.searchParams.append("language",u),f.searchParams.append("pagination","offset=0,limit=30"),f.searchParams.append("filter",`name=${re}`),Jn(f).then(y=>{if(y.error)throw y.error;r(15,E=y.items.map(I=>(I.isFavorite=ir(I.id),I)));try{be({type:"SearchResults",count:E.length})}catch(I){}}).catch(y=>{console.error(y),r(15,E=[])})}else Ve||vt()}),ia=Yo(ur,500);Jr(()=>(window.addEventListener("message",nr,!1),()=>{Re&&Re.unsubscribe(),window.removeEventListener("message",nr)}));function oa(){re=this.value,r(16,re)}function sa(f){Ue[f?"unshift":"push"](()=>{ce=f,r(17,ce)})}const ua=()=>or(),la=()=>Be();function ca(f){Ue[f?"unshift":"push"](()=>{ae=f,r(14,ae)})}return e.$$set=f=>{"endpoint"in f&&r(0,a=f.endpoint),"datasource"in f&&r(32,i=f.datasource),"session"in f&&r(33,o=f.session),"userid"in f&&r(34,s=f.userid),"lang"in f&&r(1,u=f.lang),"mbsource"in f&&r(2,l=f.mbsource),"clientstyling"in f&&r(3,c=f.clientstyling),"clientstylingurl"in f&&r(4,h=f.clientstylingurl),"integratedgameframedesktop"in f&&r(5,d=f.integratedgameframedesktop),"integratedgameframemobile"in f&&r(6,m=f.integratedgameframemobile),"showgamename"in f&&r(7,g=f.showgamename),"gamepagemodalurl"in f&&r(8,b=f.gamepagemodalurl),"translationurl"in f&&r(35,w=f.translationurl),"showfavorites"in f&&r(9,p=f.showfavorites),"cancelbutton"in f&&r(10,R=f.cancelbutton),"notfoundicon"in f&&r(11,P=f.notfoundicon),"controlchannel"in f&&r(36,U=f.controlchannel),"allowedorigins"in f&&r(37,F=f.allowedorigins),"requiredicon"in f&&r(38,T=f.requiredicon),"allowsingleclickgameentry"in f&&r(12,O=f.allowsingleclickgameentry),"enablesearchcontainergrid"in f&&r(13,G=f.enablesearchcontainergrid)},e.$$.update=()=>{e.$$.dirty[0]&2&&u&&aa(),e.$$.dirty[1]&16&&w&&Xn(),e.$$.dirty[1]&12&&o&&s&&ta(),e.$$.dirty[0]&512|e.$$.dirty[1]&512&&p&&Ye&&ea(),e.$$.dirty[0]&16392&&c&&ae&&Rn(ae,c),e.$$.dirty[0]&16400&&h&&ae&&An(ae,h),e.$$.dirty[0]&16388|e.$$.dirty[1]&256&&l&&ae&&r(39,Re=Bn(ae,`${l}.Style`,Re,!0)),e.$$.dirty[0]&4|e.$$.dirty[1]&16&&l&&!w&&Wn(`${l}.Translation`,Yn,pt)},[a,u,l,c,h,d,m,g,b,p,R,P,O,G,ae,E,re,ce,Ve,ne,K,Xe,qe,n,C,qn,vt,Zn,ra,Be,or,ia,i,o,s,w,U,F,T,Re,Ye,oa,sa,ua,la,ca]}class Vn extends on{constructor(t){super(),rn(this,t,uu,su,Zt,{endpoint:0,datasource:32,session:33,userid:34,lang:1,mbsource:2,clientstyling:3,clientstylingurl:4,integratedgameframedesktop:5,integratedgameframemobile:6,showgamename:7,gamepagemodalurl:8,translationurl:35,showfavorites:9,cancelbutton:10,notfoundicon:11,controlchannel:36,allowedorigins:37,requiredicon:38,allowsingleclickgameentry:12,enablesearchcontainergrid:13},ru,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),B()}get datasource(){return this.$$.ctx[32]}set datasource(t){this.$$set({datasource:t}),B()}get session(){return this.$$.ctx[33]}set session(t){this.$$set({session:t}),B()}get userid(){return this.$$.ctx[34]}set userid(t){this.$$set({userid:t}),B()}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),B()}get mbsource(){return this.$$.ctx[2]}set mbsource(t){this.$$set({mbsource:t}),B()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(t){this.$$set({clientstyling:t}),B()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),B()}get integratedgameframedesktop(){return this.$$.ctx[5]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),B()}get integratedgameframemobile(){return this.$$.ctx[6]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),B()}get showgamename(){return this.$$.ctx[7]}set showgamename(t){this.$$set({showgamename:t}),B()}get gamepagemodalurl(){return this.$$.ctx[8]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),B()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),B()}get showfavorites(){return this.$$.ctx[9]}set showfavorites(t){this.$$set({showfavorites:t}),B()}get cancelbutton(){return this.$$.ctx[10]}set cancelbutton(t){this.$$set({cancelbutton:t}),B()}get notfoundicon(){return this.$$.ctx[11]}set notfoundicon(t){this.$$set({notfoundicon:t}),B()}get controlchannel(){return this.$$.ctx[36]}set controlchannel(t){this.$$set({controlchannel:t}),B()}get allowedorigins(){return this.$$.ctx[37]}set allowedorigins(t){this.$$set({allowedorigins:t}),B()}get requiredicon(){return this.$$.ctx[38]}set requiredicon(t){this.$$set({requiredicon:t}),B()}get allowsingleclickgameentry(){return this.$$.ctx[12]}set allowsingleclickgameentry(t){this.$$set({allowsingleclickgameentry:t}),B()}get enablesearchcontainergrid(){return this.$$.ctx[13]}set enablesearchcontainergrid(t){this.$$set({enablesearchcontainergrid:t}),B()}}an(Vn,{endpoint:{},datasource:{},session:{},userid:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},integratedgameframedesktop:{},integratedgameframemobile:{},showgamename:{},gamepagemodalurl:{},translationurl:{},showfavorites:{},cancelbutton:{},notfoundicon:{},controlchannel:{},allowedorigins:{},requiredicon:{},allowsingleclickgameentry:{},enablesearchcontainergrid:{}},[],[],!0);const lu=Object.freeze(Object.defineProperty({__proto__:null,default:Vn},Symbol.toStringTag,{value:"Module"}));exports.$format=Mn;exports.$locale=ve;exports.CasinoSearchNd_ce=lu;exports.HtmlTag=Ta;exports.SvelteComponent=on;exports.addMessages=er;exports.append=M;exports.append_styles=Zr;exports.attr=_;exports.binding_callbacks=Ue;exports.component_subscribe=Qr;exports.create_custom_element=an;exports.destroy_each=_a;exports.detach=W;exports.element=N;exports.empty=Jt;exports.ensure_array_like=Lt;exports.flush=B;exports.format=Js;exports.getDevice=je;exports.getStreamTranslations=Wn;exports.init=rn;exports.insert=$;exports.isMobile=Vo;exports.listen=de;exports.noop=J;exports.onMount=Jr;exports.safe_not_equal=Zt;exports.setClientStyling=Rn;exports.setClientStylingURL=An;exports.setStreamStyling=Bn;exports.set_custom_element_data=v;exports.set_data=le;exports.set_style=Ea;exports.space=Z;exports.src_url_equal=va;exports.svg_element=rt;exports.text=te;exports.tick=Oa;exports.toggle_class=xa;
|