@everymatrix/casino-coinroyale-details 1.74.0 → 1.74.2
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/{CasinoCoinroyaleDetails-BLU7mfUD.js → CasinoCoinroyaleDetails-BgemCizv.js} +831 -852
- package/components/{CasinoCoinroyaleDetails-CjUbp-i7.js → CasinoCoinroyaleDetails-CYSIBDYL.js} +811 -832
- package/components/CasinoCoinroyaleDetails-Dd-wM7Ve.cjs +19 -0
- package/es2015/casino-coinroyale-details.cjs +1 -1
- package/es2015/casino-coinroyale-details.js +1 -1
- package/esnext/casino-coinroyale-details.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCoinroyaleDetails-Cq_UYhfF.cjs +0 -19
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";var Dr=Object.defineProperty,jr=Object.defineProperties;var Gr=Object.getOwnPropertyDescriptors;var xe=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable;var je=(e,t,r)=>t in e?Dr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ee=(e,t)=>{for(var r in t||(t={}))Et.call(t,r)&&je(e,r,t[r]);if(xe)for(var r of xe(t))Bt.call(t,r)&&je(e,r,t[r]);return e},Ge=(e,t)=>jr(e,Gr(t));var wt=(e,t)=>{var r={};for(var n in e)Et.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&xe)for(var n of xe(e))t.indexOf(n)<0&&Bt.call(e,n)&&(r[n]=e[n]);return r};var N=(e,t,r)=>(je(e,typeof t!="symbol"?t+"":t,r),r);var V=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(u){i(u)}},s=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function M(){}function Kt(e){return e()}function St(){return Object.create(null)}function he(e){e.forEach(Kt)}function ft(e){return typeof e=="function"}function Jt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Be;function Ie(e,t){return e===t?!0:(Be||(Be=document.createElement("a")),Be.href=t,e===Be.href)}function Fr(e){return Object.keys(e).length===0}function Yt(e,...t){if(e==null){for(const n of t)n(void 0);return M}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function kr(e,t,r){e.$$.on_destroy.push(Yt(t,r))}function x(e,t){e.appendChild(t)}function zr(e,t,r){const n=Vr(e);if(!n.getElementById(t)){const i=E("style");i.id=t,i.textContent=r,Xr(n,i)}}function Vr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Xr(e,t){return x(e.head||e,t),t.sheet}function k(e,t,r){e.insertBefore(t,r||null)}function D(e){e.parentNode&&e.parentNode.removeChild(e)}function E(e){return document.createElement(e)}function W(e){return document.createTextNode(e)}function F(){return W(" ")}function de(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function v(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function qr(e){return Array.from(e.childNodes)}function ne(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ht(e,t,r,n){r==null?e.style.removeProperty(t):e.style.setProperty(t,r,"")}function Qr(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Ae;function be(e){Ae=e}function Wr(){if(!Ae)throw new Error("Function called outside component initialization");return Ae}function Zr(e){Wr().$$.on_mount.push(e)}const re=[],Ze=[];let ie=[];const Tt=[],Kr=Promise.resolve();let Ke=!1;function Jr(){Ke||(Ke=!0,Kr.then(G))}function Je(e){ie.push(e)}const Fe=new Set;let ee=0;function G(){if(ee!==0)return;const e=Ae;do{try{for(;ee<re.length;){const t=re[ee];ee++,be(t),Yr(t.$$)}}catch(t){throw re.length=0,ee=0,t}for(be(null),re.length=0,ee=0;Ze.length;)Ze.pop()();for(let t=0;t<ie.length;t+=1){const r=ie[t];Fe.has(r)||(Fe.add(r),r())}ie.length=0}while(re.length);for(;Tt.length;)Tt.pop()();Ke=!1,Fe.clear(),be(e)}function Yr(e){if(e.fragment!==null){e.update(),he(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Je)}}function $r(e){const t=[],r=[];ie.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ie=t}const en=new Set;function tn(e,t){e&&e.i&&(en.delete(e),e.i(t))}function rn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Je(()=>{const o=e.$$.on_mount.map(Kt).filter(ft);e.$$.on_destroy?e.$$.on_destroy.push(...o):he(o),e.$$.on_mount=[]}),i.forEach(Je)}function nn(e,t){const r=e.$$;r.fragment!==null&&($r(r.after_update),he(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function on(e,t){e.$$.dirty[0]===-1&&(re.push(e),Jr(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function sn(e,t,r,n,i,o,s=null,a=[-1]){const l=Ae;be(e);const u=e.$$={fragment:null,ctx:[],props:o,update:M,not_equal:i,bound:St(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:St(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(c,f,...p)=>{const m=p.length?p[0]:f;return u.ctx&&i(u.ctx[c],u.ctx[c]=m)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](m),h&&on(e,c)),f}):[],u.update(),h=!0,he(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=qr(t.target);u.fragment&&u.fragment.l(c),c.forEach(D)}else u.fragment&&u.fragment.c();t.intro&&tn(e.$$.fragment),rn(e,t.target,t.anchor),G()}be(l)}let $t;typeof HTMLElement=="function"&&($t=class extends HTMLElement{constructor(t,r,n){super();N(this,"$$ctor");N(this,"$$s");N(this,"$$c");N(this,"$$cn",!1);N(this,"$$d",{});N(this,"$$r",!1);N(this,"$$p_d",{});N(this,"$$l",{});N(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=E("slot"),o!=="default"&&v(s,"name",o)},m:function(u,h){k(u,s,h)},d:function(u){u&&D(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Qr(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Te(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Ge(Ee({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=Te(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Te(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Te(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function an(e,t,r,n,i,o){let s=class extends $t{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Te(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class un{constructor(){N(this,"$$");N(this,"$$set")}$destroy(){nn(this,1),this.$destroy=M}$on(t,r){if(!ft(r))return M;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!Fr(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ln="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ln);const te=[];function hn(e,t){return{subscribe:Re(e,t).subscribe}}function Re(e,t=M){let r;const n=new Set;function i(a){if(Jt(e,a)&&(e=a,r)){const l=!te.length;for(const u of n)u[1](),te.push(u,e);if(l){for(let u=0;u<te.length;u+=2)te[u][0](te[u+1]);te.length=0}}}function o(a){i(a(e))}function s(a,l=M){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,o)||M),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ce(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return hn(r,(s,a)=>{let l=!1;const u=[];let h=0,c=M;const f=()=>{if(h)return;c();const m=t(n?u[0]:u,s,a);o?s(m):c=ft(m)?m:M},p=i.map((m,d)=>Yt(m,_=>{u[d]=_,h&=~(1<<d),l&&f()},()=>{h|=1<<d}));return l=!0,f(),function(){he(p),c(),l=!1}})}function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fn=function(t){return mn(t)&&!pn(t)};function mn(e){return!!e&&typeof e=="object"}function pn(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||An(e)}var dn=typeof Symbol=="function"&&Symbol.for,bn=dn?Symbol.for("react.element"):60103;function An(e){return e.$$typeof===bn}function gn(e){return Array.isArray(e)?[]:{}}function ge(e,t){return t.clone!==!1&&t.isMergeableObject(e)?se(gn(e),e,t):e}function vn(e,t,r){return e.concat(t).map(function(n){return ge(n,r)})}function yn(e,t){if(!t.customMerge)return se;var r=t.customMerge(e);return typeof r=="function"?r:se}function xn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ct(e){return Object.keys(e).concat(xn(e))}function er(e,t){try{return t in e}catch(r){return!1}}function En(e,t){return er(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Bn(e,t,r){var n={};return r.isMergeableObject(e)&&Ct(e).forEach(function(i){n[i]=ge(e[i],r)}),Ct(t).forEach(function(i){En(e,i)||(er(e,i)&&r.isMergeableObject(t[i])?n[i]=yn(i,r)(e[i],t[i],r):n[i]=ge(t[i],r))}),n}function se(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||vn,r.isMergeableObject=r.isMergeableObject||fn,r.cloneUnlessOtherwiseSpecified=ge;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Bn(e,t,r):ge(t,r)}se.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return se(n,i,r)},{})};var wn=se,Sn=wn;const Hn=cn(Sn);/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var Ye=function(e,t){return Ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ye(e,t)};function q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ye(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var y=function(){return y=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},y.apply(this,arguments)};function Tn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function $e(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 et(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function oe(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function ke(e,t){var r=t&&t.cache?t.cache:Ln,n=t&&t.serializer?t.serializer:On,i=t&&t.strategy?t.strategy:_n;return i(e,{cache:r,serializer:n})}function Cn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function tr(e,t,r,n){var i=Cn(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function rr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function mt(e,t,r,n,i){return r.bind(t,e,n,i)}function _n(e,t){var r=e.length===1?tr:rr;return mt(e,this,r,t.cache.create(),t.serializer)}function Pn(e,t){return mt(e,this,rr,t.cache.create(),t.serializer)}function In(e,t){return mt(e,this,tr,t.cache.create(),t.serializer)}var On=function(){return JSON.stringify(arguments)};function pt(){this.cache=Object.create(null)}pt.prototype.get=function(e){return this.cache[e]};pt.prototype.set=function(e,t){this.cache[e]=t};var Ln={create:function(){return new pt}},ze={variadic:Pn,monadic:In},A;(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"})(A||(A={}));var S;(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"})(S||(S={}));var ae;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ae||(ae={}));function _t(e){return e.type===S.literal}function Rn(e){return e.type===S.argument}function nr(e){return e.type===S.number}function ir(e){return e.type===S.date}function or(e){return e.type===S.time}function sr(e){return e.type===S.select}function ar(e){return e.type===S.plural}function Nn(e){return e.type===S.pound}function ur(e){return e.type===S.tag}function lr(e){return!!(e&&typeof e=="object"&&e.type===ae.number)}function tt(e){return!!(e&&typeof e=="object"&&e.type===ae.dateTime)}var hr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Un=/(?:[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 Mn(e){var t={};return e.replace(Un,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 Dn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function jn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Dn).filter(function(f){return f.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,h=l;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function Gn(e){return e.replace(/^(.*?)-/,"")}var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,cr=/^(@+)?(\+|#+)?[rs]?$/g,Fn=/(\*)(0+)|(#+)(0+)|(0+)/g,fr=/^(0+)$/;function It(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(cr,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function mr(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 kn(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)),!fr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ot(e){var t={},r=mr(e);return r||t}function zn(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Gn(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=y(y(y({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return y(y({},l),Ot(u))},{}));continue;case"engineering":t=y(y(y({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return y(y({},l),Ot(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Fn,function(l,u,h,c,f,p){if(u)t.minimumIntegerDigits=h.length;else{if(c&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Pt.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,function(l,u,h,c,f,p){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=y(y({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=y(y({},t),It(o)));continue}if(cr.test(i.stem)){t=y(y({},t),It(i.stem));continue}var s=mr(i.stem);s&&(t=y(y({},t),s));var a=kn(i.stem);a&&(t=y(y({},t),a))}return t}var we={"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 Vn(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=Xn(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function Xn(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=we[n||""]||we[r||""]||we["".concat(r,"-001")]||we["001"];return i[0]}var Ve,qn=new RegExp("^".concat(hr.source,"*")),Qn=new RegExp("".concat(hr.source,"*$"));function g(e,t){return{start:e,end:t}}var Wn=!!String.prototype.startsWith&&"_a".startsWith("a",1),Zn=!!String.fromCodePoint,Kn=!!Object.fromEntries,Jn=!!String.prototype.codePointAt,Yn=!!String.prototype.trimStart,$n=!!String.prototype.trimEnd,ei=!!Number.isSafeInteger,ti=ei?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},rt=!0;try{var ri=dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");rt=((Ve=ri.exec("a"))===null||Ve===void 0?void 0:Ve[0])==="a"}catch(e){rt=!1}var Lt=Wn?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},nt=Zn?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Rt=Kn?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},pr=Jn?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},ni=Yn?function(t){return t.trimStart()}:function(t){return t.replace(qn,"")},ii=$n?function(t){return t.trimEnd()}:function(t){return t.replace(Qn,"")};function dr(e,t){return new RegExp(e,t)}var it;if(rt){var Nt=dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");it=function(t,r){var n;Nt.lastIndex=r;var i=Nt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else it=function(t,r){for(var n=[];;){var i=pr(t,r);if(i===void 0||br(i)||ui(i))break;n.push(i),r+=i>=65536?2:1}return nt.apply(void 0,n)};var oi=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:S.pound,location:g(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(A.UNMATCHED_CLOSING_TAG,g(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&ot(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:S.literal,value:"<".concat(i,"/>"),location:g(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!ot(this.char()))return this.error(A.INVALID_TAG,g(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(A.UNMATCHED_CLOSING_TAG,g(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:S.tag,value:i,children:s,location:g(n,this.clonePosition())},err:null}:this.error(A.INVALID_TAG,g(a,this.clonePosition())))}else return this.error(A.UNCLOSED_TAG,g(n,this.clonePosition()))}else return this.error(A.INVALID_TAG,g(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ai(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=g(n,this.clonePosition());return{val:{type:S.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!si(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 nt.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(),nt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,g(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(A.EMPTY_ARGUMENT,g(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(A.MALFORMED_ARGUMENT,g(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,g(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:S.argument,value:i,location:g(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,g(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(A.MALFORMED_ARGUMENT,g(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=it(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=g(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(A.EXPECT_ARGUMENT_TYPE,g(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var f=ii(c.val);if(f.length===0)return this.error(A.EXPECT_ARGUMENT_STYLE,g(this.clonePosition(),this.clonePosition()));var p=g(h,this.clonePosition());u={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var d=g(i,this.clonePosition());if(u&&Lt(u==null?void 0:u.style,"::",0)){var _=ni(u.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(_,u.styleLocation);return c.err?c:{val:{type:S.number,value:n,location:d,style:c.val},err:null}}else{if(_.length===0)return this.error(A.EXPECT_DATE_TIME_SKELETON,d);var O=_;this.locale&&(O=Vn(_,this.locale));var f={type:ae.dateTime,pattern:O,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Mn(O):{}},B=a==="date"?S.date:S.time;return{val:{type:B,value:n,location:d,style:f},err:null}}}return{val:{type:a==="number"?S.number:a==="date"?S.date:S.time,value:n,location:d,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var w=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS,g(w,y({},w)));this.bumpSpace();var U=this.parseIdentifierIfPossible(),I=0;if(a!=="select"&&U.value==="offset"){if(!this.bumpIf(":"))return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),U=this.parseIdentifierIfPossible(),I=c.val}var L=this.tryParsePluralOrSelectOptions(t,a,r,U);if(L.err)return L;var m=this.tryParseArgumentClose(i);if(m.err)return m;var C=g(i,this.clonePosition());return a==="select"?{val:{type:S.select,value:n,options:Rt(L.val),location:C},err:null}:{val:{type:S.plural,value:n,options:Rt(L.val),offset:I,pluralType:a==="plural"?"cardinal":"ordinal",location:C},err:null}}default:return this.error(A.INVALID_ARGUMENT_TYPE,g(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE,g(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,g(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=jn(t)}catch(i){return this.error(A.INVALID_NUMBER_SKELETON,r)}return{val:{type:ae.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?zn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR,A.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=g(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?A.DUPLICATE_SELECT_ARGUMENT_SELECTOR:A.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,g(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var d=this.tryParseArgumentClose(p);if(d.err)return d;a.push([u,{value:m.val,location:g(p,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,h=o.location}return a.length===0?this.error(r==="select"?A.EXPECT_SELECT_ARGUMENT_SELECTOR:A.EXPECT_PLURAL_ARGUMENT_SELECTOR,g(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(A.MISSING_OTHER_CLAUSE,g(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=g(i,this.clonePosition());return o?(s*=n,ti(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=pr(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(Lt(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()&&br(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 ot(e){return e>=97&&e<=122||e>=65&&e<=90}function si(e){return ot(e)||e===47}function ai(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 br(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ui(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 st(e){e.forEach(function(t){if(delete t.location,sr(t)||ar(t))for(var r in t.options)delete t.options[r].location,st(t.options[r].value);else nr(t)&&lr(t.style)||(ir(t)||or(t))&&tt(t.style)?delete t.style.location:ur(t)&&st(t.children)})}function li(e,t){t===void 0&&(t={}),t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new oi(e,t).parse();if(r.err){var n=SyntaxError(A[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||st(r.val),r.val}var ue;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ue||(ue={}));var Ne=function(e){q(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ut=function(e){q(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ue.INVALID_VALUE,o)||this}return t}(Ne),hi=function(e){q(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ue.INVALID_VALUE,i)||this}return t}(Ne),ci=function(e){q(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,'"'),ue.MISSING_VALUE,n)||this}return t}(Ne),P;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(P||(P={}));function fi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==P.literal||r.type!==P.literal?t.push(r):n.value+=r.value,t},[])}function mi(e){return typeof e=="function"}function Ce(e,t,r,n,i,o,s){if(e.length===1&&_t(e[0]))return[{type:P.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var h=u[l];if(_t(h)){a.push({type:P.literal,value:h.value});continue}if(Nn(h)){typeof o=="number"&&a.push({type:P.literal,value:r.getNumberFormat(t).format(o)});continue}var c=h.value;if(!(i&&c in i))throw new ci(c,s);var f=i[c];if(Rn(h)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?P.literal:P.object,value:f});continue}if(ir(h)){var p=typeof h.style=="string"?n.date[h.style]:tt(h.style)?h.style.parsedOptions:void 0;a.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(f)});continue}if(or(h)){var p=typeof h.style=="string"?n.time[h.style]:tt(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:P.literal,value:r.getDateTimeFormat(t,p).format(f)});continue}if(nr(h)){var p=typeof h.style=="string"?n.number[h.style]:lr(h.style)?h.style.parsedOptions:void 0;p&&p.scale&&(f=f*(p.scale||1)),a.push({type:P.literal,value:r.getNumberFormat(t,p).format(f)});continue}if(ur(h)){var m=h.children,d=h.value,_=i[d];if(!mi(_))throw new hi(d,"function",s);var O=Ce(m,t,r,n,i,o),B=_(O.map(function(I){return I.value}));Array.isArray(B)||(B=[B]),a.push.apply(a,B.map(function(I){return{type:typeof I=="string"?P.literal:P.object,value:I}}))}if(sr(h)){var w=h.options[f]||h.options.other;if(!w)throw new Ut(h.value,f,Object.keys(h.options),s);a.push.apply(a,Ce(w.value,t,r,n,i));continue}if(ar(h)){var w=h.options["=".concat(f)];if(!w){if(!Intl.PluralRules)throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,ue.MISSING_INTL_API,s);var U=r.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));w=h.options[U]||h.options.other}if(!w)throw new Ut(h.value,f,Object.keys(h.options),s);a.push.apply(a,Ce(w.value,t,r,n,i,f-(h.offset||0)));continue}}return fi(a)}function pi(e,t){return t?y(y(y({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=y(y({},e[n]),t[n]||{}),r},{})):e}function di(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=pi(e[n],t[n]),r},y({},e)):e}function Xe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function bi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ke(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,oe([void 0],r,!1)))},{cache:Xe(e.number),strategy:ze.variadic}),getDateTimeFormat:ke(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,oe([void 0],r,!1)))},{cache:Xe(e.dateTime),strategy:ze.variadic}),getPluralRules:ke(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,oe([void 0],r,!1)))},{cache:Xe(e.pluralRules),strategy:ze.variadic})}}var Ai=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,f){return!c.length||f.type!==P.literal||typeof c[c.length-1]!="string"?c.push(f.value):c[c.length-1]+=f.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return Ce(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.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 s=i||{};s.formatters;var a=Tn(s,["formatters"]);this.ast=e.__parse(t,y(y({},a),{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=di(e.formats,n),this.formatters=i&&i.formatters||bi(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=li,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 gi(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const Z={},vi=(e,t,r)=>r&&(t in Z||(Z[t]={}),e in Z[t]||(Z[t][e]=r),r),Ar=(e,t)=>{if(t==null)return;if(t in Z&&e in Z[t])return Z[t][e];const r=Ue(t);for(let n=0;n<r.length;n++){const i=r[n],o=xi(i,e);if(o)return vi(e,t,o)}};let dt;const ye=Re({});function yi(e){return dt[e]||null}function gr(e){return e in dt}function xi(e,t){if(!gr(e))return null;const r=yi(e);return gi(r,t)}function Ei(e){if(e==null)return;const t=Ue(e);for(let r=0;r<t.length;r++){const n=t[r];if(gr(n))return n}}function vr(e,...t){delete Z[e],ye.update(r=>(r[e]=Hn.all([r[e]||{},...t]),r))}ce([ye],([e])=>Object.keys(e));ye.subscribe(e=>dt=e);const _e={};function Bi(e,t){_e[e].delete(t),_e[e].size===0&&delete _e[e]}function yr(e){return _e[e]}function wi(e){return Ue(e).map(t=>{const r=yr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function at(e){return e==null?!1:Ue(e).some(t=>{var r;return(r=yr(t))==null?void 0:r.size})}function Si(e,t){return Promise.all(t.map(n=>(Bi(e,n),n().then(i=>i.default||i)))).then(n=>vr(e,...n))}const pe={};function xr(e){if(!at(e))return e in pe?pe[e]:Promise.resolve();const t=wi(e);return pe[e]=Promise.all(t.map(([r,n])=>Si(r,n))).then(()=>{if(at(e))return xr(e);delete pe[e]}),pe[e]}const Hi={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"}}},Ti={fallbackLocale:null,loadingDelay:200,formats:Hi,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ci=Ti;function le(){return Ci}const qe=Re(!1);var _i=Object.defineProperty,Pi=Object.defineProperties,Ii=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,Oi=Object.prototype.hasOwnProperty,Li=Object.prototype.propertyIsEnumerable,Dt=(e,t,r)=>t in e?_i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ri=(e,t)=>{for(var r in t||(t={}))Oi.call(t,r)&&Dt(e,r,t[r]);if(Mt)for(var r of Mt(t))Li.call(t,r)&&Dt(e,r,t[r]);return e},Ni=(e,t)=>Pi(e,Ii(t));let ut;const Oe=Re(null);function jt(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Ue(e,t=le().fallbackLocale){const r=jt(e);return t?[...new Set([...r,...jt(t)])]:r}function Y(){return ut!=null?ut:void 0}Oe.subscribe(e=>{ut=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ui=e=>{if(e&&Ei(e)&&at(e)){const{loadingDelay:t}=le();let r;return typeof window!="undefined"&&Y()!=null&&t?r=window.setTimeout(()=>qe.set(!0),t):qe.set(!0),xr(e).then(()=>{Oe.set(e)}).finally(()=>{clearTimeout(r),qe.set(!1)})}return Oe.set(e)},fe=Ni(Ri({},Oe),{set:Ui}),Me=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Mi=Object.defineProperty,Le=Object.getOwnPropertySymbols,Er=Object.prototype.hasOwnProperty,Br=Object.prototype.propertyIsEnumerable,Gt=(e,t,r)=>t in e?Mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bt=(e,t)=>{for(var r in t||(t={}))Er.call(t,r)&&Gt(e,r,t[r]);if(Le)for(var r of Le(t))Br.call(t,r)&&Gt(e,r,t[r]);return e},me=(e,t)=>{var r={};for(var n in e)Er.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Le)for(var n of Le(e))t.indexOf(n)<0&&Br.call(e,n)&&(r[n]=e[n]);return r};const ve=(e,t)=>{const{formats:r}=le();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Di=Me(e=>{var t=e,{locale:r,format:n}=t,i=me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ve("number",n)),new Intl.NumberFormat(r,i)}),ji=Me(e=>{var t=e,{locale:r,format:n}=t,i=me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ve("date",n):Object.keys(i).length===0&&(i=ve("date","short")),new Intl.DateTimeFormat(r,i)}),Gi=Me(e=>{var t=e,{locale:r,format:n}=t,i=me(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ve("time",n):Object.keys(i).length===0&&(i=ve("time","short")),new Intl.DateTimeFormat(r,i)}),Fi=(e={})=>{var t=e,{locale:r=Y()}=t,n=me(t,["locale"]);return Di(bt({locale:r},n))},ki=(e={})=>{var t=e,{locale:r=Y()}=t,n=me(t,["locale"]);return ji(bt({locale:r},n))},zi=(e={})=>{var t=e,{locale:r=Y()}=t,n=me(t,["locale"]);return Gi(bt({locale:r},n))},Vi=Me((e,t=Y())=>new Ai(e,t,le().formats,{ignoreTag:le().ignoreTag})),Xi=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Y(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Ar(e,l);if(!h)h=(o=(i=(n=(r=le()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let c=h;try{c=Vi(h,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return c},qi=(e,t)=>zi(t).format(e),Qi=(e,t)=>ki(t).format(e),Wi=(e,t)=>Fi(t).format(e),Zi=(e,t=Y())=>Ar(e,t),Ki=ce([fe,ye],()=>Xi);ce([fe],()=>qi);ce([fe],()=>Qi);ce([fe],()=>Wi);ce([fe,ye],()=>Zi);function Ft(e,t){vr(e,t)}function Ji(e){fe.set(e)}const Se=e=>window.postMessage(e,window.location.href),Yi=e=>r=>{Object.keys(e).map(n=>{if(r.data&&r.data.type==n){const i=r.data,{type:o}=i,s=wt(i,["type"]);e[n](s)}})},$i=e=>{const t=Yi(e);Zr(()=>(window.addEventListener("message",t),()=>{window.removeEventListener("message",t)}))};var J=(e=>(e.en="en",e.default="*",e))(J||{}),At=(e=>(e.draw="draw",e))(At||{});const lt="data:image/webp;base64,UklGRn4wAABXRUJQVlA4WAoAAAAwAAAA7wAA7gAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBIIwgAAAHwh223aTna/91jrl2dChul2Gbbtm3btm3btm3bCBrVtrvjSlWy1xz3YyRjjPzVxxERE4C/AJR/I5X2HTt36tyhc2VuRgCgpvviu59x2R3PvNX85XfffPf1Tx+//Nyjd998wT4brrjI4PrK3IQAkD5bXv7e9Cr/x1pt+6P55Ycv3WfDpXrUSvgESKNOeKOVs6dO+eq9u4/ZfvW+HdK/kHgJ0HTwByVn+5Yf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8SIGYVmD1bSJwc/8riWTawfgWURBhbKW6TwMxGVJa0gohDw48QoeJpRuQJasDCzFk2BUwVxLLdCYT75VImFOWneRsilN4ORd7m7F3vzDei0RnNOQxclS7xGe0GHRB1TKhJhyMAUtQVJjfzlolEUsRSPbIY2g96e/a2Qi1kjzZUZm5R5+zD4zo/JvGUoU+436BebBKTNeA8hmQAAAABJRU5ErkJggg==",to=e=>V(exports,null,function*(){const{path:t,params:r={},options:n={}}=e,i=new URL(t);return Object.keys(r).map(o=>{i.searchParams.append(o,r[o])}),yield ro(i,n)}),ro=(r,...n)=>V(exports,[r,...n],function*(e,t={}){let i;try{i=yield fetch(e,t),i=yield i.text(),i=JSON.parse(i)}catch(o){throw new Error(o.message)}return i}),no=(e,t,r)=>V(exports,null,function*(){const{session:n}=r,i={headers:Ee({"Content-Type":"application/json",accept:"text/plain"},n?{"x-SessionId":n}:{})},s={[At.draw]:()=>{const{id:a,guid:l}=r;return{path:`/wof/draw/${a}`,params:{},options:Ge(Ee({},i),{method:"PUT",body:JSON.stringify({guid:l})})}}}[e]();return s.path=t+"/v1"+s.path,yield to(s)}),io={draw:(e,t,r)=>V(exports,null,function*(){return yield no(At.draw,e,{id:r,session:t,guid:oo()})})},oo=()=>typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():so(),so=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,r=e=="x"?t:t&3|8;return r.toString(16)}),kt={en:{remainingKeys:"Remaining Times",noMoreKeys:"You used all the Remaining Flips here",flipCoin:"Flip",ok:"OK"}};function X(e){return typeof e=="function"}function wr(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 Qe=wr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
+
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function ht(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var De=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=$e(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(d){t={error:d}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if(X(h))try{h()}catch(d){o=d instanceof Qe?d.errors:[d]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var f=$e(c),p=f.next();!p.done;p=f.next()){var m=p.value;try{zt(m)}catch(d){o=o!=null?o:[],d instanceof Qe?o=oe(oe([],et(o)),et(d.errors)):o.push(d)}}}catch(d){n={error:d}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new Qe(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)zt(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)&&ht(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&ht(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Sr=De.EMPTY;function Hr(e){return e instanceof De||e&&"closed"in e&&X(e.remove)&&X(e.add)&&X(e.unsubscribe)}function zt(e){X(e)?e():e.unsubscribe()}var Tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ao={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,oe([e,t],et(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function uo(e){ao.setTimeout(function(){throw e})}function Vt(){}function Pe(e){e()}var Cr=function(e){q(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Hr(r)&&r.add(n)):n.destination=fo,n}return t.create=function(r,n,i){return new ct(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(De),lo=Function.prototype.bind;function We(e,t){return lo.call(e,t)}var ho=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){He(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){He(n)}else He(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){He(r)}},e}(),ct=function(e){q(t,e);function t(r,n,i){var o=e.call(this)||this,s;if(X(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var a;o&&Tr.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&We(r.next,a),error:r.error&&We(r.error,a),complete:r.complete&&We(r.complete,a)}):s=r}return o.destination=new ho(s),o}return t}(Cr);function He(e){uo(e)}function co(e){throw e}var fo={closed:!0,next:Vt,error:co,complete:Vt},mo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function po(e){return e}function bo(e){return e.length===0?po:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Xt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=go(t)?t:new ct(t,r,n);return Pe(function(){var s=i,a=s.operator,l=s.source;o.add(a?a.call(o,l):l?i._subscribe(o):i._trySubscribe(o))}),o},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=qt(r),new r(function(i,o){var s=new ct({next:function(a){try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[mo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return bo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=qt(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function qt(e){var t;return(t=e!=null?e:Tr.Promise)!==null&&t!==void 0?t:Promise}function Ao(e){return e&&X(e.next)&&X(e.error)&&X(e.complete)}function go(e){return e&&e instanceof Cr||Ao(e)&&Hr(e)}var vo=wr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),_r=function(e){q(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 Qt(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new vo},t.prototype.next=function(r){var n=this;Pe(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=$e(n.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Pe(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Pe(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?Sr:(this.currentObservers=null,a.push(r),new De(function(){n.currentObservers=null,ht(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new Xt;return r.source=this,r},t.create=function(r,n){return new Qt(r,n)},t}(Xt),Qt=function(e){q(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Sr},t}(_r),Pr={now:function(){return(Pr.delegate||Date).now()},delegate:void 0},yo=function(e){q(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Pr);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),l=0;l<a.length&&!r.closed;l+=o?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var l=i.now(),u=0,h=1;h<o.length&&o[h]<=l;h+=2)u=h;u&&o.splice(0,u+1)}},t}(_r);const Wt=[],Zt={},xo=(e,t=0)=>{if(Wt.indexOf(e)==-1){const r=new yo(t);Zt[e]=r,Wt.push(e)}return Zt[e]};window.emWidgets={topic:xo};const Eo=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));function Bo(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function wo(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function So(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Ho(e){zr(e,"svelte-1hs7upt",`.coin-icon__container{perspective:2000px}.coin{position:relative;width:265px;height:265px;transform-style:preserve-3d;transition:transform 0.3s;z-index:1}.coin.heads{transform:rotateY(0deg)}.coin.tails{transform:rotateY(180deg)}.coin-heads,.coin-tails{position:absolute;width:100%;height:100%;backface-visibility:hidden}.coin-tails{transform:rotateY(180deg)}.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .icon-button{width:24px;height:24px}.mobile .coin-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .coin-icon{width:initial;height:initial}.mobile .coin-icon__container{flex-grow:1;padding:0}.mobile .coin-footer{gap:10px}.mobile .coin-footer__btn{width:170px;height:48px;font-size:var(--emw--font-size-medium, 16px)}.mobile .coin-footer__text{font-size:var(--emw--font-size-x-small, 12px);line-height:14px}.mobile .coin-footer__keys{font-size:var(--emw--font-size-small, 14px);line-height:16px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:10;transition:bottom 0.5s ease-in-out;bottom:0px;opacity:1;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;display:flex;flex-direction:column}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;opacity:0;bottom:0px;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.icon-button.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.coin-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.coin-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.additional-coin-glare{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-40deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(50px);mix-blend-mode:hard-light;width:325px;height:325px;border-radius:40px}.coin-icon{position:relative;z-index:1;width:265px}.coin-icon__container{position:relative;padding:100px 0;align-self:center;align-content:center}.coin-icon__container::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-15deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);mix-blend-mode:hard-light;width:225px;height:225px;border-radius:40px;pointer-events:none}.coin-icon.empty{filter:grayscale(100%)}.coin-footer{display:flex;flex-direction:column;gap:20px;align-items:center;padding:32px 0}.coin-footer__btn{cursor:pointer;width:280px;height:60px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c)}.coin-footer__text{margin:0;font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center;color:var(--emw--color-primary, #d3ffed);display:flex;align-items:center;gap:8px}.coin-footer__keys{display:flex;align-items:center;gap:3px;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center}`)}function To(e){let t,r,n;return{c(){t=E("img"),v(t,"class",r="coin-icon "+(e[0].current.remainingTimes?"":"empty")),Ie(t.src,n=lt)||v(t,"src",n),v(t,"alt","Coin Royale")},m(i,o){k(i,t,o)},p(i,o){o[0]&1&&r!==(r="coin-icon "+(i[0].current.remainingTimes?"":"empty"))&&v(t,"class",r)},d(i){i&&D(t)}}}function Co(e){let t,r,n,i,o,s,a,l,u,h,c;return{c(){t=E("div"),r=E("div"),n=E("img"),s=F(),a=E("div"),l=E("img"),v(n,"class",i="coin-icon "+(e[0].current.remainingTimes?"":"empty")),Ie(n.src,o=lt)||v(n,"src",o),v(n,"alt","Coin Royale"),v(r,"class","coin-heads"),v(l,"class",u="coin-icon "+(e[0].current.remainingTimes?"":"empty")),Ie(l.src,h=lt)||v(l,"src",h),v(l,"alt","Coin Royale"),v(a,"class","coin-tails"),v(t,"class",c=`coin ${e[5]?"heads":"tails"}`),Ht(t,"transform","rotateY("+e[4]+"deg)")},m(f,p){k(f,t,p),x(t,r),x(r,n),x(t,s),x(t,a),x(a,l)},p(f,p){p[0]&1&&i!==(i="coin-icon "+(f[0].current.remainingTimes?"":"empty"))&&v(n,"class",i),p[0]&1&&u!==(u="coin-icon "+(f[0].current.remainingTimes?"":"empty"))&&v(l,"class",u),p[0]&32&&c!==(c=`coin ${f[5]?"heads":"tails"}`)&&v(t,"class",c),p[0]&16&&Ht(t,"transform","rotateY("+f[4]+"deg)")},d(f){f&&D(t)}}}function _o(e){let t,r=e[6]("noMoreKeys")+"",n,i,o,s=e[6]("ok")+"",a,l,u;return{c(){t=E("p"),n=W(r),i=F(),o=E("button"),a=W(s),v(t,"class","coin-footer__text"),v(o,"class","coin-footer__btn")},m(h,c){k(h,t,c),x(t,n),k(h,i,c),k(h,o,c),x(o,a),l||(u=de(o,"click",e[9]),l=!0)},p(h,c){c[0]&64&&r!==(r=h[6]("noMoreKeys")+"")&&ne(n,r),c[0]&64&&s!==(s=h[6]("ok")+"")&&ne(a,s)},d(h){h&&(D(t),D(i),D(o)),l=!1,u()}}}function Po(e){let t,r=e[6]("flipCoin")+"",n,i,o,s=e[6]("remainingKeys")+"",a,l,u,h,c,f,p,m=e[0].current.remainingTimes+"",d,_,O;return{c(){t=E("button"),n=W(r),i=F(),o=E("p"),a=W(s),l=W(`:
|
|
19
|
+
`),u=E("span"),h=E("img"),f=F(),p=E("span"),d=W(m),v(t,"class","coin-footer__btn"),Ie(h.src,c=eo)||v(h,"src",c),v(h,"alt","Key"),v(u,"class","coin-footer__keys"),v(o,"class","coin-footer__text")},m(B,w){k(B,t,w),x(t,n),k(B,i,w),k(B,o,w),x(o,a),x(o,l),x(o,u),x(u,h),x(u,f),x(u,p),x(p,d),_||(O=de(t,"click",e[10]),_=!0)},p(B,w){w[0]&64&&r!==(r=B[6]("flipCoin")+"")&&ne(n,r),w[0]&64&&s!==(s=B[6]("remainingKeys")+"")&&ne(a,s),w[0]&1&&m!==(m=B[0].current.remainingTimes+"")&&ne(d,m)},d(B){B&&(D(t),D(i),D(o)),_=!1,O()}}}function Io(e){let t,r,n,i,o,s,a,l,u=(e[0].program.name[e[1]]||e[0].program.name[J.default])+"",h,c,f,p,m,d,_,O,B,w,U;function I(T,z){return T[3]?Co:To}let L=I(e),C=L(e);function K(T,z){return T[0].current.remainingTimes?Po:_o}let Q=K(e),R=Q(e);return{c(){t=E("div"),r=E("button"),n=F(),i=E("div"),o=E("div"),s=E("button"),a=F(),l=E("div"),h=W(u),c=F(),f=E("button"),p=F(),m=E("div"),d=E("div"),_=F(),C.c(),O=F(),B=E("div"),R.c(),v(r,"class","overlay"),v(s,"class","icon-button back"),v(l,"class","coin-header__title"),v(f,"class","icon-button close"),v(o,"class","coin-header"),v(d,"class","additional-coin-glare"),v(m,"class","coin-icon__container"),v(B,"class","coin-footer"),v(i,"class","drawer "+(e[7]?"mobile":"")),v(t,"part","CustomStylingContainer")},m(T,z){k(T,t,z),x(t,r),x(t,n),x(t,i),x(i,o),x(o,s),x(o,a),x(o,l),x(l,h),x(o,c),x(o,f),x(i,p),x(i,m),x(m,d),x(m,_),C.m(m,null),x(i,O),x(i,B),R.m(B,null),e[17](t),w||(U=[de(r,"click",e[8]),de(s,"click",e[9]),de(f,"click",e[8])],w=!0)},p(T,z){z[0]&3&&u!==(u=(T[0].program.name[T[1]]||T[0].program.name[J.default])+"")&&ne(h,u),L===(L=I(T))&&C?C.p(T,z):(C.d(1),C=L(T),C&&(C.c(),C.m(m,null))),Q===(Q=K(T))&&R?R.p(T,z):(R.d(1),R=Q(T),R&&(R.c(),R.m(B,null)))},i:M,o:M,d(T){T&&D(t),C.d(),R.d(),e[17](null),w=!1,he(U)}}}let Oo=3e3;function Lo(e,t,r){let n;kr(e,Ki,b=>r(6,n=b));let{lang:i=J.en}=t,{endpoint:o=""}=t,{session:s=""}=t,{clientstyling:a=""}=t,{clientstylingurl:l=""}=t,{translationurl:u=""}=t,{activeCoin:h}=t,{mbsource:c}=t,f=window.navigator.userAgent,p=Eo(f),m,d=!1;const _=()=>{fetch(u).then(j=>j.json()).then(j=>{Object.keys(j).forEach($=>{Ft($,j[$])})})};Object.keys(kt).forEach(b=>{Ft(b,kt[b])});const O=()=>{Ji(i)},B=()=>{Se({type:"CloseCoinRoyaleDrawer"})},w=()=>{Se({type:"BackToCoinRoyaleList"})};let U=0,I=0,L=0,C=null,K=!0,Q=!1;const R=()=>{I=0;const b=()=>{I+=30,r(4,L=I),C=requestAnimationFrame(b)};C=requestAnimationFrame(b)},T=()=>V(this,null,function*(){return new Promise(b=>{C?(cancelAnimationFrame(C),C=null,Q=!1,requestAnimationFrame(()=>{r(4,L=K?0:180),b()})):b()})}),z=()=>V(this,null,function*(){return new Promise(b=>{const j=()=>{performance.now()-U>=Oo?b():requestAnimationFrame(j)};requestAnimationFrame(j)})}),Or=()=>V(this,null,function*(){var b,j,$;if(r(3,d=!0),!Q&&h){Q=!0,U=performance.now(),R();const Rr=io.draw(o,s,h.program.id),[Nr]=yield Promise.all([Rr,z()]),gt=Nr;if(((b=gt.item)==null?void 0:b.state)==="fulfilled"){const H=h.program.wheelOfFortune.partitions[gt.item.result.wheelOfFortunePartitionIndex],vt=(H==null?void 0:H.prizeText[i])||(H==null?void 0:H.prizeText[J.default]),Ur=(H==null?void 0:H.name[i])||(H==null?void 0:H.name[J.default]),yt=(H==null?void 0:H.prizeImage[i])||(H==null?void 0:H.prizeImage[J.default]),xt=(($=(j=H==null?void 0:H.rules[0])==null?void 0:j.then)==null?void 0:$.type)==="noprize";r(5,K=!xt);const Mr=xt?{type:"noprize",text:vt,image:yt}:{type:"success",text:vt,image:yt,bold:Ur};yield T(),Se({type:"ShowCoinMessage",data:Mr}),r(0,h.current.remainingTimes=+h.current.remainingTimes-1,h)}else r(5,K=!1),yield T(),Se({type:"ShowCoinMessage",data:{type:"error"}})}});$i({HideDialog:()=>{r(3,d=!1)}});function Lr(b){Ze[b?"unshift":"push"](()=>{m=b,r(2,m)})}return e.$$set=b=>{"lang"in b&&r(1,i=b.lang),"endpoint"in b&&r(11,o=b.endpoint),"session"in b&&r(12,s=b.session),"clientstyling"in b&&r(13,a=b.clientstyling),"clientstylingurl"in b&&r(14,l=b.clientstylingurl),"translationurl"in b&&r(15,u=b.translationurl),"activeCoin"in b&&r(0,h=b.activeCoin),"mbsource"in b&&r(16,c=b.mbsource)},e.$$.update=()=>{e.$$.dirty[0]&2&&i&&O(),e.$$.dirty[0]&8196&&a&&m&&Bo(m,a),e.$$.dirty[0]&16388&&l&&m&&wo(m,l),e.$$.dirty[0]&32768&&u&&_(),e.$$.dirty[0]&65540&&c&&m&&So(m,`${c}.Style`)},[h,i,m,d,L,K,n,p,B,w,Or,o,s,a,l,u,c,Lr]}class Ir extends un{constructor(t){super(),sn(this,t,Lo,Io,Jt,{lang:1,endpoint:11,session:12,clientstyling:13,clientstylingurl:14,translationurl:15,activeCoin:0,mbsource:16},Ho,[-1,-1])}get lang(){return this.$$.ctx[1]}set lang(t){this.$$set({lang:t}),G()}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),G()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),G()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),G()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),G()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),G()}get activeCoin(){return this.$$.ctx[0]}set activeCoin(t){this.$$set({activeCoin:t}),G()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),G()}}an(Ir,{lang:{},endpoint:{},session:{},clientstyling:{},clientstylingurl:{},translationurl:{},activeCoin:{},mbsource:{}},[],[],!0);exports.default=Ir;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoCoinroyaleDetails-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoCoinroyaleDetails-Dd-wM7Ve.cjs")).then(({default:t})=>{!customElements.get("casino-coinroyale-details")&&customElements.define("casino-coinroyale-details",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoCoinroyaleDetails-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoCoinroyaleDetails-BgemCizv.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-coinroyale-details") && customElements.define("casino-coinroyale-details", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|