@everymatrix/player-bonus-history 1.67.0 → 1.67.3
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/PlayerBonusCard-4VyjorSe.cjs +18 -0
- package/components/{PlayerBonusCard-hZAYWQ5b.js → PlayerBonusCard-DpHm_kzq.js} +1978 -2011
- package/components/{PlayerBonusCard-AYayTWZ9.js → PlayerBonusCard-Dz1TmtI_.js} +1944 -1977
- package/components/{PlayerBonusHistory-B4BL_qYl.js → PlayerBonusHistory-C7nnkEch.js} +855 -853
- package/components/{PlayerBonusHistory-CgvOppmD.cjs → PlayerBonusHistory-DGjJJuFq.cjs} +154 -154
- package/components/{PlayerBonusHistory-BWSWOXbz.js → PlayerBonusHistory-e1GCKzmi.js} +1177 -1175
- package/es2015/player-bonus-history.cjs +1 -1
- package/es2015/player-bonus-history.js +1 -1
- package/esnext/player-bonus-history.js +1 -1
- package/package.json +1 -1
- package/components/PlayerBonusCard-BsbinyWD.cjs +0 -18
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";var wr=Object.defineProperty,_r=Object.defineProperties;var Tr=Object.getOwnPropertyDescriptors;var $t=Object.getOwnPropertySymbols;var Er=Object.prototype.hasOwnProperty,xr=Object.prototype.propertyIsEnumerable;var st=(e,t,n)=>t in e?wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ft=(e,t)=>{for(var n in t||(t={}))Er.call(t,n)&&st(e,n,t[n]);if($t)for(var n of $t(t))xr.call(t,n)&&st(e,n,t[n]);return e},Gt=(e,t)=>_r(e,Tr(t));var q=(e,t,n)=>(st(e,typeof t!="symbol"?t+"":t,n),n);var jt=(e,t,n)=>new Promise((r,i)=>{var a=l=>{try{s(n.next(l))}catch(u){i(u)}},o=l=>{try{s(n.throw(l))}catch(u){i(u)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,o);s((n=n.apply(e,t)).next())});function Q(){}function Sn(e){return e()}function Wt(){return Object.create(null)}function Be(e){e.forEach(Sn)}function Ht(e){return typeof e=="function"}function Nt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ue;function Vt(e,t){return e===t?!0:(Ue||(Ue=document.createElement("a")),Ue.href=t,e===Ue.href)}function Br(e){return Object.keys(e).length===0}function Cn(e,...t){if(e==null){for(const r of t)r(void 0);return Q}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function On(e,t,n){e.$$.on_destroy.push(Cn(t,n))}function m(e,t){e.appendChild(t)}function Pn(e,t,n){const r=Sr(e);if(!r.getElementById(t)){const i=B("style");i.id=t,i.textContent=n,Cr(r,i)}}function Sr(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Cr(e,t){return m(e.head||e,t),t.sheet}function ie(e,t,n){e.insertBefore(t,n||null)}function J(e){e.parentNode&&e.parentNode.removeChild(e)}function Or(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function B(e){return document.createElement(e)}function Pr(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function A(e){return document.createTextNode(e)}function R(){return A(" ")}function Mr(){return A("")}function Mn(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function p(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function Ar(e,t,n){const r=t.toLowerCase();r in e?e[r]=typeof e[r]=="boolean"&&n===""?!0:n:t in e?e[t]=typeof e[t]=="boolean"&&n===""?!0:n:p(e,t,n)}function Hr(e){return Array.from(e.childNodes)}function D(e,t){t=""+t,e.data!==t&&(e.data=t)}function Nr(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let He;function Ae(e){He=e}function Rr(){if(!He)throw new Error("Function called outside component initialization");return He}function An(e){Rr().$$.on_mount.push(e)}const ve=[],Ve=[];let ye=[];const Yt=[],Dr=Promise.resolve();let gt=!1;function Ir(){gt||(gt=!0,Dr.then(M))}function pt(e){ye.push(e)}const ut=new Set;let be=0;function M(){if(be!==0)return;const e=He;do{try{for(;be<ve.length;){const t=ve[be];be++,Ae(t),Lr(t.$$)}}catch(t){throw ve.length=0,be=0,t}for(Ae(null),ve.length=0,be=0;Ve.length;)Ve.pop()();for(let t=0;t<ye.length;t+=1){const n=ye[t];ut.has(n)||(ut.add(n),n())}ye.length=0}while(ve.length);for(;Yt.length;)Yt.pop()();gt=!1,ut.clear(),Ae(e)}function Lr(e){if(e.fragment!==null){e.update(),Be(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(pt)}}function Ur(e){const t=[],n=[];ye.forEach(r=>e.indexOf(r)===-1?t.push(r):n.push(r)),n.forEach(r=>r()),ye=t}const kr=new Set;function $r(e,t){e&&e.i&&(kr.delete(e),e.i(t))}function Fr(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Gr(e,t,n){const{fragment:r,after_update:i}=e.$$;r&&r.m(t,n),pt(()=>{const a=e.$$.on_mount.map(Sn).filter(Ht);e.$$.on_destroy?e.$$.on_destroy.push(...a):Be(a),e.$$.on_mount=[]}),i.forEach(pt)}function jr(e,t){const n=e.$$;n.fragment!==null&&(Ur(n.after_update),Be(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Wr(e,t){e.$$.dirty[0]===-1&&(ve.push(e),Ir(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Hn(e,t,n,r,i,a,o=null,s=[-1]){const l=He;Ae(e);const u=e.$$={fragment:null,ctx:[],props:a,update:Q,not_equal:i,bound:Wt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Wt(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};o&&o(u.root);let f=!1;if(u.ctx=n?n(e,t.props||{},(c,h,...d)=>{const g=d.length?d[0]:h;return u.ctx&&i(u.ctx[c],u.ctx[c]=g)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](g),f&&Wr(e,c)),h}):[],u.update(),f=!0,Be(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){const c=Hr(t.target);u.fragment&&u.fragment.l(c),c.forEach(J)}else u.fragment&&u.fragment.c();t.intro&&$r(e.$$.fragment),Gr(e,t.target,t.anchor),M()}Ae(l)}let Nn;typeof HTMLElement=="function"&&(Nn=class extends HTMLElement{constructor(t,n,r){super();q(this,"$$ctor");q(this,"$$s");q(this,"$$c");q(this,"$$cn",!1);q(this,"$$d",{});q(this,"$$r",!1);q(this,"$$p_d",{});q(this,"$$l",{});q(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,r&&this.attachShadow({mode:"open"})}addEventListener(t,n,r){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const i=this.$$c.$on(t,n);this.$$l_u.set(n,i)}super.addEventListener(t,n,r)}removeEventListener(t,n,r){if(super.removeEventListener(t,n,r),this.$$c){const i=this.$$l_u.get(n);i&&(i(),this.$$l_u.delete(n))}}connectedCallback(){return jt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=B("slot"),a!=="default"&&p(o,"name",a)},m:function(u,f){ie(u,o,f)},d:function(u){u&&J(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},r=Nr(this);for(const a of this.$$s)a in r&&(n[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=Fe(o,a.value,this.$$p_d,"toProp"))}for(const a in this.$$p_d)!(a in this.$$d)&&this[a]!==void 0&&(this.$$d[a]=this[a],delete this[a]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Gt(Ft({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const a in this.$$p_d)if(this.$$d[a]=this.$$c.$$.ctx[this.$$c.$$.props[a]],this.$$p_d[a].reflect){const o=Fe(a,this.$$d[a],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[a].attribute||a):this.setAttribute(this.$$p_d[a].attribute||a,o)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const a in this.$$l)for(const o of this.$$l[a]){const s=this.$$c.$on(a,o);this.$$l_u.set(o,s)}this.$$l={}}})}attributeChangedCallback(t,n,r){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Fe(t,r,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function Fe(e,t,n,r){var a;const i=(a=n[e])==null?void 0:a.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!r||!n[e])return t;if(r==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Rn(e,t,n,r,i,a){let o=class extends Nn{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(o.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var u;l=Fe(s,l,t),this.$$d[s]=l,(u=this.$$c)==null||u.$set({[s]:l})}})}),r.forEach(s=>{Object.defineProperty(o.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),e.element=o,o}class Dn{constructor(){q(this,"$$");q(this,"$$set")}$destroy(){jr(this,1),this.$destroy=Q}$on(t,n){if(!Ht(n))return Q;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const i=r.indexOf(n);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!Br(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Vr="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Vr);function In(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function Ln(e,t){const n=new URL(t);fetch(n.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,e&&e.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Un(e,t,n){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(t,i=>{r.innerHTML=i,e&&e.appendChild(r)})}}/*! *****************************************************************************
|
|
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 vt=function(e,t){return vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},vt(e,t)};function ae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");vt(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var T=function(){return T=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},T.apply(this,arguments)};function Yr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function yt(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function wt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return a}function we(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||t)}function ne(e){return typeof e=="function"}function kn(e){var t=function(r){Error.call(r),r.stack=new Error().stack},n=e(t);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var lt=kn(function(e){return function(n){e(this),this.message=n?n.length+` errors occurred during unsubscription:
|
|
15
|
+
`+n.map(function(r,i){return i+1+") "+r.toString()}).join(`
|
|
16
|
+
`):"",this.name="UnsubscriptionError",this.errors=n}});function _t(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ze=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,n,r,i,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var s=yt(o),l=s.next();!l.done;l=s.next()){var u=l.value;u.remove(this)}}catch(v){t={error:v}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}else o.remove(this);var f=this.initialTeardown;if(ne(f))try{f()}catch(v){a=v instanceof lt?v.errors:[v]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var h=yt(c),d=h.next();!d.done;d=h.next()){var g=d.value;try{Xt(g)}catch(v){a=a!=null?a:[],v instanceof lt?a=we(we([],wt(a)),wt(v.errors)):a.push(v)}}}catch(v){r={error:v}}finally{try{d&&!d.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}if(a)throw new lt(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Xt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(t)}},e.prototype._hasParent=function(t){var n=this._parentage;return n===t||Array.isArray(n)&&n.includes(t)},e.prototype._addParent=function(t){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t},e.prototype._removeParent=function(t){var n=this._parentage;n===t?this._parentage=null:Array.isArray(n)&&_t(n,t)},e.prototype.remove=function(t){var n=this._finalizers;n&&_t(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),$n=Ze.EMPTY;function Fn(e){return e instanceof Ze||e&&"closed"in e&&ne(e.remove)&&ne(e.add)&&ne(e.unsubscribe)}function Xt(e){ne(e)?e():e.unsubscribe()}var Xr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zr={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout.apply(void 0,we([e,t],wt(n)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function qr(e){zr.setTimeout(function(){throw e})}function zt(){}function Ge(e){e()}var Gn=function(e){ae(t,e);function t(n){var r=e.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Fn(n)&&n.add(r)):r.destination=Jr,r}return t.create=function(n,r,i){return new Tt(n,r,i)},t.prototype.next=function(n){this.isStopped||this._next(n)},t.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(n){this.destination.next(n)},t.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ze),Qr=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var n=this.partialObserver;if(n.next)try{n.next(t)}catch(r){ke(r)}},e.prototype.error=function(t){var n=this.partialObserver;if(n.error)try{n.error(t)}catch(r){ke(r)}else ke(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(n){ke(n)}},e}(),Tt=function(e){ae(t,e);function t(n,r,i){var a=e.call(this)||this,o;return ne(n)||!n?o={next:n!=null?n:void 0,error:r!=null?r:void 0,complete:i!=null?i:void 0}:o=n,a.destination=new Qr(o),a}return t}(Gn);function ke(e){qr(e)}function Zr(e){throw e}var Jr={closed:!0,next:zt,error:Zr,complete:zt},Kr=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ei(e){return e}function ti(e){return e.length===0?ei:e.length===1?e[0]:function(n){return e.reduce(function(r,i){return i(r)},n)}}var qt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(t,n,r){var i=this,a=ri(t)?t:new Tt(t,n,r);return Ge(function(){var o=i,s=o.operator,l=o.source;a.add(s?s.call(a,l):l?i._subscribe(a):i._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(n){t.error(n)}},e.prototype.forEach=function(t,n){var r=this;return n=Qt(n),new n(function(i,a){var o=new Tt({next:function(s){try{t(s)}catch(l){a(l),o.unsubscribe()}},error:a,complete:i});r.subscribe(o)})},e.prototype._subscribe=function(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)},e.prototype[Kr]=function(){return this},e.prototype.pipe=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return ti(t)(this)},e.prototype.toPromise=function(t){var n=this;return t=Qt(t),new t(function(r,i){var a;n.subscribe(function(o){return a=o},function(o){return i(o)},function(){return r(a)})})},e.create=function(t){return new e(t)},e}();function Qt(e){var t;return(t=e!=null?e:Xr.Promise)!==null&&t!==void 0?t:Promise}function ni(e){return e&&ne(e.next)&&ne(e.error)&&ne(e.complete)}function ri(e){return e&&e instanceof Gn||ni(e)&&Fn(e)}var ii=kn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),jn=function(e){ae(t,e);function t(){var n=e.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return t.prototype.lift=function(n){var r=new Zt(this,this);return r.operator=n,r},t.prototype._throwIfClosed=function(){if(this.closed)throw new ii},t.prototype.next=function(n){var r=this;Ge(function(){var i,a;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var o=yt(r.currentObservers),s=o.next();!s.done;s=o.next()){var l=s.value;l.next(n)}}catch(u){i={error:u}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}}})},t.prototype.error=function(n){var r=this;Ge(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var i=r.observers;i.length;)i.shift().error(n)}})},t.prototype.complete=function(){var n=this;Ge(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(n){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,n)},t.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},t.prototype._innerSubscribe=function(n){var r=this,i=this,a=i.hasError,o=i.isStopped,s=i.observers;return a||o?$n:(this.currentObservers=null,s.push(n),new Ze(function(){r.currentObservers=null,_t(s,n)}))},t.prototype._checkFinalizedStatuses=function(n){var r=this,i=r.hasError,a=r.thrownError,o=r.isStopped;i?n.error(a):o&&n.complete()},t.prototype.asObservable=function(){var n=new qt;return n.source=this,n},t.create=function(n,r){return new Zt(n,r)},t}(qt),Zt=function(e){ae(t,e);function t(n,r){var i=e.call(this)||this;return i.destination=n,i.source=r,i}return t.prototype.next=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.next)===null||i===void 0||i.call(r,n)},t.prototype.error=function(n){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.error)===null||i===void 0||i.call(r,n)},t.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},t.prototype._subscribe=function(n){var r,i;return(i=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&i!==void 0?i:$n},t}(jn),Wn={now:function(){return(Wn.delegate||Date).now()},delegate:void 0},ai=function(e){ae(t,e);function t(n,r,i){n===void 0&&(n=1/0),r===void 0&&(r=1/0),i===void 0&&(i=Wn);var a=e.call(this)||this;return a._bufferSize=n,a._windowTime=r,a._timestampProvider=i,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=r===1/0,a._bufferSize=Math.max(1,n),a._windowTime=Math.max(1,r),a}return t.prototype.next=function(n){var r=this,i=r.isStopped,a=r._buffer,o=r._infiniteTimeWindow,s=r._timestampProvider,l=r._windowTime;i||(a.push(n),!o&&a.push(s.now()+l)),this._trimBuffer(),e.prototype.next.call(this,n)},t.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),i=this,a=i._infiniteTimeWindow,o=i._buffer,s=o.slice(),l=0;l<s.length&&!n.closed;l+=a?1:2)n.next(s[l]);return this._checkFinalizedStatuses(n),r},t.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,i=n._timestampProvider,a=n._buffer,o=n._infiniteTimeWindow,s=(o?1:2)*r;if(r<1/0&&s<a.length&&a.splice(0,a.length-s),!o){for(var l=i.now(),u=0,f=1;f<a.length&&a[f]<=l;f+=2)u=f;u&&a.splice(0,u+1)}},t}(jn);const Jt=[],Kt={},oi=(e,t=0)=>{if(Jt.indexOf(e)==-1){const n=new ai(t);Kt[e]=n,Jt.push(e)}return Kt[e]},ge=[];function si(e,t){return{subscribe:Je(e,t).subscribe}}function Je(e,t=Q){let n;const r=new Set;function i(s){if(Nt(e,s)&&(e=s,n)){const l=!ge.length;for(const u of r)u[1](),ge.push(u,e);if(l){for(let u=0;u<ge.length;u+=2)ge[u][0](ge[u+1]);ge.length=0}}}function a(s){i(s(e))}function o(s,l=Q){const u=[s,l];return r.add(u),r.size===1&&(n=t(i,a)||Q),s(e),()=>{r.delete(u),r.size===0&&n&&(n(),n=null)}}return{set:i,update:a,subscribe:o}}function Se(e,t,n){const r=!Array.isArray(e),i=r?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return si(n,(o,s)=>{let l=!1;const u=[];let f=0,c=Q;const h=()=>{if(f)return;c();const g=t(r?u[0]:u,o,s);a?o(g):c=Ht(g)?g:Q},d=i.map((g,v)=>Cn(g,S=>{u[v]=S,f&=~(1<<v),l&&h()},()=>{f|=1<<v}));return l=!0,h(),function(){Be(d),c(),l=!1}})}function ui(e){return e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var li=function(t){return fi(t)&&!hi(t)};function fi(e){return!!e&&typeof e=="object"}function hi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||mi(e)}var ci=typeof Symbol=="function"&&Symbol.for,di=ci?Symbol.for("react.element"):60103;function mi(e){return e.$$typeof===di}function bi(e){return Array.isArray(e)?[]:{}}function Ne(e,t){return t.clone!==!1&&t.isMergeableObject(e)?_e(bi(e),e,t):e}function gi(e,t,n){return e.concat(t).map(function(r){return Ne(r,n)})}function pi(e,t){if(!t.customMerge)return _e;var n=t.customMerge(e);return typeof n=="function"?n:_e}function vi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function en(e){return Object.keys(e).concat(vi(e))}function Vn(e,t){try{return t in e}catch(n){return!1}}function yi(e,t){return Vn(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function wi(e,t,n){var r={};return n.isMergeableObject(e)&&en(e).forEach(function(i){r[i]=Ne(e[i],n)}),en(t).forEach(function(i){yi(e,i)||(Vn(e,i)&&n.isMergeableObject(t[i])?r[i]=pi(i,n)(e[i],t[i],n):r[i]=Ne(t[i],n))}),r}function _e(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||gi,n.isMergeableObject=n.isMergeableObject||li,n.cloneUnlessOtherwiseSpecified=Ne;var r=Array.isArray(t),i=Array.isArray(e),a=r===i;return a?r?n.arrayMerge(e,t,n):wi(e,t,n):Ne(t,n)}_e.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return _e(r,i,n)},{})};var _i=_e,Ti=_i;const Ei=ui(Ti);function ft(e,t){var n=t&&t.cache?t.cache:Mi,r=t&&t.serializer?t.serializer:Oi,i=t&&t.strategy?t.strategy:Bi;return i(e,{cache:n,serializer:r})}function xi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Yn(e,t,n,r){var i=xi(r)?r:n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.call(this,r),t.set(i,a)),a}function Xn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return typeof a=="undefined"&&(a=e.apply(this,r),t.set(i,a)),a}function Rt(e,t,n,r,i){return n.bind(t,e,r,i)}function Bi(e,t){var n=e.length===1?Yn:Xn;return Rt(e,this,n,t.cache.create(),t.serializer)}function Si(e,t){return Rt(e,this,Xn,t.cache.create(),t.serializer)}function Ci(e,t){return Rt(e,this,Yn,t.cache.create(),t.serializer)}var Oi=function(){return JSON.stringify(arguments)},Pi=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n},e}(),Mi={create:function(){return new Pi}},ht={variadic:Si,monadic:Ci},w;(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"})(w||(w={}));var C;(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"})(C||(C={}));var Te;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Te||(Te={}));function tn(e){return e.type===C.literal}function Ai(e){return e.type===C.argument}function zn(e){return e.type===C.number}function qn(e){return e.type===C.date}function Qn(e){return e.type===C.time}function Zn(e){return e.type===C.select}function Jn(e){return e.type===C.plural}function Hi(e){return e.type===C.pound}function Kn(e){return e.type===C.tag}function er(e){return!!(e&&typeof e=="object"&&e.type===Te.number)}function Et(e){return!!(e&&typeof e=="object"&&e.type===Te.dateTime)}var tr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ni=/(?:[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 Ri(e){var t={};return e.replace(Ni,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Di=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ii(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Di).filter(function(h){return h.length>0}),n=[],r=0,i=t;r<i.length;r++){var a=i[r],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var s=o[0],l=o.slice(1),u=0,f=l;u<f.length;u++){var c=f[u];if(c.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:l})}return n}function Li(e){return e.replace(/^(.*?)-/,"")}var nn=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nr=/^(@+)?(\+|#+)?[rs]?$/g,Ui=/(\*)(0+)|(#+)(0+)|(0+)/g,rr=/^(0+)$/;function rn(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(nr,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function ir(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 ki(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!rr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function an(e){var t={},n=ir(e);return n||t}function $i(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Li(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=T(T(T({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return T(T({},l),an(u))},{}));continue;case"engineering":t=T(T(T({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return T(T({},l),an(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(Ui,function(l,u,f,c,h,d){if(u)t.minimumIntegerDigits=f.length;else{if(c&&h)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(rr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(nn.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(nn,function(l,u,f,c,h,d){return f==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:h&&d?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+d.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=i.options[0];a==="w"?t=T(T({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=T(T({},t),rn(a)));continue}if(nr.test(i.stem)){t=T(T({},t),rn(i.stem));continue}var o=ir(i.stem);o&&(t=T(T({},t),o));var s=ki(i.stem);s&&(t=T(T({},t),s))}return t}var $e={"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 Fi(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var a=0;r+1<e.length&&e.charAt(r+1)===i;)a++,r++;var o=1+(a&1),s=a<2?1:3+(a>>1),l="a",u=Gi(t);for((u=="H"||u=="k")&&(s=0);s-- >0;)n+=l;for(;o-- >0;)n=u+n}else i==="J"?n+="H":n+=i}return n}function Gi(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=$e[r||""]||$e[n||""]||$e["".concat(n,"-001")]||$e["001"];return i[0]}var ct,ji=new RegExp("^".concat(tr.source,"*")),Wi=new RegExp("".concat(tr.source,"*$"));function _(e,t){return{start:e,end:t}}var Vi=!!String.prototype.startsWith&&"_a".startsWith("a",1),Yi=!!String.fromCodePoint,Xi=!!Object.fromEntries,zi=!!String.prototype.codePointAt,qi=!!String.prototype.trimStart,Qi=!!String.prototype.trimEnd,Zi=!!Number.isSafeInteger,Ji=Zi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xt=!0;try{var Ki=or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=((ct=Ki.exec("a"))===null||ct===void 0?void 0:ct[0])==="a"}catch(e){xt=!1}var on=Vi?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},Bt=Yi?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,a=0,o;i>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");r+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return r},sn=Xi?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var a=i[r],o=a[0],s=a[1];n[o]=s}return n},ar=zi?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),a;return i<55296||i>56319||n+1===r||(a=t.charCodeAt(n+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},ea=qi?function(t){return t.trimStart()}:function(t){return t.replace(ji,"")},ta=Qi?function(t){return t.trimEnd()}:function(t){return t.replace(Wi,"")};function or(e,t){return new RegExp(e,t)}var St;if(xt){var un=or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");St=function(t,n){var r;un.lastIndex=n;var i=un.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else St=function(t,n){for(var r=[];;){var i=ar(t,n);if(i===void 0||sr(i)||aa(i))break;r.push(i),n+=i>=65536?2:1}return Bt.apply(void 0,r)};var na=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,r);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:C.pound,location:_(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(w.UNMATCHED_CLOSING_TAG,_(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ct(this.peek()||0)){var o=this.parseTag(t,n);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,n);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:C.literal,value:"<".concat(i,"/>"),location:_(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,n,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ct(this.char()))return this.error(w.INVALID_TAG,_(s,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(w.UNMATCHED_CLOSING_TAG,_(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:C.tag,value:i,children:o,location:_(r,this.clonePosition())},err:null}:this.error(w.INVALID_TAG,_(s,this.clonePosition())))}else return this.error(w.UNCLOSED_TAG,_(r,this.clonePosition()))}else return this.error(w.INVALID_TAG,_(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ia(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var a=this.tryParseQuote(n);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,n);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=_(r,this.clonePosition());return{val:{type:C.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ra(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Bt.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Bt(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,_(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(w.EMPTY_ARGUMENT,_(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(w.MALFORMED_ARGUMENT,_(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,_(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:C.argument,value:i,location:_(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,_(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(w.MALFORMED_ARGUMENT,_(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=St(this.message,n),i=n+r.length;this.bumpTo(i);var a=this.clonePosition(),o=_(t,a);return{value:r,location:o}},e.prototype.parseArgumentOptions=function(t,n,r,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(w.EXPECT_ARGUMENT_TYPE,_(o,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var h=ta(c.val);if(h.length===0)return this.error(w.EXPECT_ARGUMENT_STYLE,_(this.clonePosition(),this.clonePosition()));var d=_(f,this.clonePosition());u={style:h,styleLocation:d}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var v=_(i,this.clonePosition());if(u&&on(u==null?void 0:u.style,"::",0)){var S=ea(u.style.slice(2));if(s==="number"){var c=this.parseNumberSkeletonFromString(S,u.styleLocation);return c.err?c:{val:{type:C.number,value:r,location:v,style:c.val},err:null}}else{if(S.length===0)return this.error(w.EXPECT_DATE_TIME_SKELETON,v);var k=S;this.locale&&(k=Fi(S,this.locale));var h={type:Te.dateTime,pattern:k,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ri(k):{}},P=s==="date"?C.date:C.time;return{val:{type:P,value:r,location:v,style:h},err:null}}}return{val:{type:s==="number"?C.number:s==="date"?C.date:C.time,value:r,location:v,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS,_(E,T({},E)));this.bumpSpace();var $=this.parseIdentifierIfPossible(),H=0;if(s!=="select"&&$.value==="offset"){if(!this.bumpIf(":"))return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,_(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),$=this.parseIdentifierIfPossible(),H=c.val}var O=this.tryParsePluralOrSelectOptions(t,s,n,$);if(O.err)return O;var g=this.tryParseArgumentClose(i);if(g.err)return g;var K=_(i,this.clonePosition());return s==="select"?{val:{type:C.select,value:r,options:sn(O.val),location:K},err:null}:{val:{type:C.plural,value:r,options:sn(O.val),offset:H,pluralType:s==="plural"?"cardinal":"ordinal",location:K},err:null}}default:return this.error(w.INVALID_ARGUMENT_TYPE,_(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,_(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,_(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Ii(t)}catch(i){return this.error(w.INVALID_NUMBER_SKELETON,n)}return{val:{type:Te.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?$i(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var a,o=!1,s=[],l=new Set,u=i.value,f=i.location;;){if(u.length===0){var c=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR,w.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=_(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(n==="select"?w.DUPLICATE_SELECT_ARGUMENT_SELECTOR:w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);u==="other"&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,_(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,n,r);if(g.err)return g;var v=this.tryParseArgumentClose(d);if(v.err)return v;s.push([u,{value:g.val,location:_(d,this.clonePosition())}]),l.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,f=a.location}return s.length===0?this.error(n==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR:w.EXPECT_PLURAL_ARGUMENT_SELECTOR,_(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(w.MISSING_OTHER_CLAUSE,_(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=_(i,this.clonePosition());return a?(o*=r,Ji(o)?{val:o,err:null}:this.error(n,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=ar(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(on(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&sr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r!=null?r:null},e}();function Ct(e){return e>=97&&e<=122||e>=65&&e<=90}function ra(e){return Ct(e)||e===47}function ia(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 sr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function aa(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 Ot(e){e.forEach(function(t){if(delete t.location,Zn(t)||Jn(t))for(var n in t.options)delete t.options[n].location,Ot(t.options[n].value);else zn(t)&&er(t.style)||(qn(t)||Qn(t))&&Et(t.style)?delete t.style.location:Kn(t)&&Ot(t.children)})}function oa(e,t){t===void 0&&(t={}),t=T({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new na(e,t).parse();if(n.err){var r=SyntaxError(w[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t!=null&&t.captureLocation||Ot(n.val),n.val}var Ee;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ee||(Ee={}));var Ke=function(e){ae(t,e);function t(n,r,i){var a=e.call(this,n)||this;return a.code=r,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ln=function(e){ae(t,e);function t(n,r,i,a){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ee.INVALID_VALUE,a)||this}return t}(Ke),sa=function(e){ae(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),Ee.INVALID_VALUE,i)||this}return t}(Ke),ua=function(e){ae(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),Ee.MISSING_VALUE,r)||this}return t}(Ke),F;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(F||(F={}));function la(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==F.literal||n.type!==F.literal?t.push(n):r.value+=n.value,t},[])}function fa(e){return typeof e=="function"}function je(e,t,n,r,i,a,o){if(e.length===1&&tn(e[0]))return[{type:F.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var f=u[l];if(tn(f)){s.push({type:F.literal,value:f.value});continue}if(Hi(f)){typeof a=="number"&&s.push({type:F.literal,value:n.getNumberFormat(t).format(a)});continue}var c=f.value;if(!(i&&c in i))throw new ua(c,o);var h=i[c];if(Ai(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),s.push({type:typeof h=="string"?F.literal:F.object,value:h});continue}if(qn(f)){var d=typeof f.style=="string"?r.date[f.style]:Et(f.style)?f.style.parsedOptions:void 0;s.push({type:F.literal,value:n.getDateTimeFormat(t,d).format(h)});continue}if(Qn(f)){var d=typeof f.style=="string"?r.time[f.style]:Et(f.style)?f.style.parsedOptions:r.time.medium;s.push({type:F.literal,value:n.getDateTimeFormat(t,d).format(h)});continue}if(zn(f)){var d=typeof f.style=="string"?r.number[f.style]:er(f.style)?f.style.parsedOptions:void 0;d&&d.scale&&(h=h*(d.scale||1)),s.push({type:F.literal,value:n.getNumberFormat(t,d).format(h)});continue}if(Kn(f)){var g=f.children,v=f.value,S=i[v];if(!fa(S))throw new sa(v,"function",o);var k=je(g,t,n,r,i,a),P=S(k.map(function(H){return H.value}));Array.isArray(P)||(P=[P]),s.push.apply(s,P.map(function(H){return{type:typeof H=="string"?F.literal:F.object,value:H}}))}if(Zn(f)){var E=f.options[h]||f.options.other;if(!E)throw new ln(f.value,h,Object.keys(f.options),o);s.push.apply(s,je(E.value,t,n,r,i));continue}if(Jn(f)){var E=f.options["=".concat(h)];if(!E){if(!Intl.PluralRules)throw new Ke(`Intl.PluralRules is not available in this environment.
|
|
17
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
18
|
+
`,Ee.MISSING_INTL_API,o);var $=n.getPluralRules(t,{type:f.pluralType}).select(h-(f.offset||0));E=f.options[$]||f.options.other}if(!E)throw new ln(f.value,h,Object.keys(f.options),o);s.push.apply(s,je(E.value,t,n,r,i,h-(f.offset||0)));continue}}return la(s)}function ha(e,t){return t?T(T(T({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=T(T({},e[r]),t[r]||{}),n},{})):e}function ca(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=ha(e[r],t[r]),n},T({},e)):e}function dt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function da(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,we([void 0],n,!1)))},{cache:dt(e.number),strategy:ht.variadic}),getDateTimeFormat:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,we([void 0],n,!1)))},{cache:dt(e.dateTime),strategy:ht.variadic}),getPluralRules:ft(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,we([void 0],n,!1)))},{cache:dt(e.pluralRules),strategy:ht.variadic})}}var ma=function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var a=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=a.formatToParts(l);if(u.length===1)return u[0].value;var f=u.reduce(function(c,h){return!c.length||h.type!==F.literal||typeof c[c.length-1]!="string"?c.push(h.value):c[c.length-1]+=h.value,c},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(l){return je(a.ast,a.locales,a.formatters,a.formats,l,void 0,a.message)},this.resolvedOptions=function(){var l;return{locale:((l=a.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=i||{};o.formatters;var s=Yr(o,["formatters"]);this.ast=e.__parse(t,T(T({},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=ca(e.formats,r),this.formatters=i&&i.formatters||da(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=oa,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 ba(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let i=0;i<n.length;i++)if(typeof r=="object"){if(i>0){const a=n.slice(i,n.length).join(".");if(a in r){r=r[a];break}}r=r[n[i]]}else r=void 0;return r}const le={},ga=(e,t,n)=>n&&(t in le||(le[t]={}),e in le[t]||(le[t][e]=n),n),ur=(e,t)=>{if(t==null)return;if(t in le&&e in le[t])return le[t][e];const n=et(t);for(let r=0;r<n.length;r++){const i=n[r],a=va(i,e);if(a)return ga(e,t,a)}};let Dt;const De=Je({});function pa(e){return Dt[e]||null}function lr(e){return e in Dt}function va(e,t){if(!lr(e))return null;const n=pa(e);return ba(n,t)}function ya(e){if(e==null)return;const t=et(e);for(let n=0;n<t.length;n++){const r=t[n];if(lr(r))return r}}function It(e,...t){delete le[e],De.update(n=>(n[e]=Ei.all([n[e]||{},...t]),n))}Se([De],([e])=>Object.keys(e));De.subscribe(e=>Dt=e);const We={};function wa(e,t){We[e].delete(t),We[e].size===0&&delete We[e]}function fr(e){return We[e]}function _a(e){return et(e).map(t=>{const n=fr(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function Pt(e){return e==null?!1:et(e).some(t=>{var n;return(n=fr(t))==null?void 0:n.size})}function Ta(e,t){return Promise.all(t.map(r=>(wa(e,r),r().then(i=>i.default||i)))).then(r=>It(e,...r))}const Oe={};function hr(e){if(!Pt(e))return e in Oe?Oe[e]:Promise.resolve();const t=_a(e);return Oe[e]=Promise.all(t.map(([n,r])=>Ta(n,r))).then(()=>{if(Pt(e))return hr(e);delete Oe[e]}),Oe[e]}const Ea={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"}}},xa={fallbackLocale:null,loadingDelay:200,formats:Ea,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ba=xa;function xe(){return Ba}const mt=Je(!1);var Sa=Object.defineProperty,Ca=Object.defineProperties,Oa=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,hn=(e,t,n)=>t in e?Sa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Aa=(e,t)=>{for(var n in t)Pa.call(t,n)&&hn(e,n,t[n]);if(fn)for(var n of fn(t))Ma.call(t,n)&&hn(e,n,t[n]);return e},Ha=(e,t)=>Ca(e,Oa(t));let Mt;const Ye=Je(null);function cn(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function et(e,t=xe().fallbackLocale){const n=cn(e);return t?[...new Set([...n,...cn(t)])]:n}function ce(){return Mt!=null?Mt:void 0}Ye.subscribe(e=>{Mt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Na=e=>{if(e&&ya(e)&&Pt(e)){const{loadingDelay:t}=xe();let n;return typeof window!="undefined"&&ce()!=null&&t?n=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),hr(e).then(()=>{Ye.set(e)}).finally(()=>{clearTimeout(n),mt.set(!1)})}return Ye.set(e)},de=Ha(Aa({},Ye),{set:Na}),tt=e=>{const t=Object.create(null);return r=>{const i=JSON.stringify(r);return i in t?t[i]:t[i]=e(r)}};var Ra=Object.defineProperty,Xe=Object.getOwnPropertySymbols,cr=Object.prototype.hasOwnProperty,dr=Object.prototype.propertyIsEnumerable,dn=(e,t,n)=>t in e?Ra(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Lt=(e,t)=>{for(var n in t||(t={}))cr.call(t,n)&&dn(e,n,t[n]);if(Xe)for(var n of Xe(t))dr.call(t,n)&&dn(e,n,t[n]);return e},Ce=(e,t)=>{var n={};for(var r in e)cr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Xe)for(var r of Xe(e))t.indexOf(r)<0&&dr.call(e,r)&&(n[r]=e[r]);return n};const Re=(e,t)=>{const{formats:n}=xe();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Da=tt(e=>{var t=e,{locale:n,format:r}=t,i=Ce(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Re("number",r)),new Intl.NumberFormat(n,i)}),Ia=tt(e=>{var t=e,{locale:n,format:r}=t,i=Ce(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Re("date",r):Object.keys(i).length===0&&(i=Re("date","short")),new Intl.DateTimeFormat(n,i)}),La=tt(e=>{var t=e,{locale:n,format:r}=t,i=Ce(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Re("time",r):Object.keys(i).length===0&&(i=Re("time","short")),new Intl.DateTimeFormat(n,i)}),Ua=(e={})=>{var t=e,{locale:n=ce()}=t,r=Ce(t,["locale"]);return Da(Lt({locale:n},r))},ka=(e={})=>{var t=e,{locale:n=ce()}=t,r=Ce(t,["locale"]);return Ia(Lt({locale:n},r))},$a=(e={})=>{var t=e,{locale:n=ce()}=t,r=Ce(t,["locale"]);return La(Lt({locale:n},r))},Fa=tt((e,t=ce())=>new ma(e,t,xe().formats,{ignoreTag:xe().ignoreTag})),Ga=(e,t={})=>{var n,r,i,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:s,locale:l=ce(),default:u}=o;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=ur(e,l);if(!f)f=(a=(i=(r=(n=xe()).handleMissingMessage)==null?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?a:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!s)return f;let c=f;try{c=Fa(f,l).format(s)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return c},ja=(e,t)=>$a(t).format(e),Wa=(e,t)=>ka(t).format(e),Va=(e,t)=>Ua(t).format(e),Ya=(e,t=ce())=>ur(e,t),mr=Se([de,De],()=>Ga);Se([de],()=>ja);Se([de],()=>Wa);Se([de],()=>Va);Se([de,De],()=>Ya);window.emWidgets={topic:oi};const br=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function ze(e){"@babel/helpers - typeof";return ze=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},ze(e)}function re(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 I(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function z(e){I(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ze(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 Xa(e,t){I(2,arguments);var n=z(e),r=re(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),a=new Date(n.getTime());a.setMonth(n.getMonth()+r+1,0);var o=a.getDate();return i>=o?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}function za(e,t){I(2,arguments);var n=z(e).getTime(),r=re(t);return new Date(n+r)}var qa={};function nt(){return qa}function Qa(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 Za(e){I(1,arguments);var t=z(e);return t.setHours(0,0,0,0),t}function Ja(e){return I(1,arguments),e instanceof Date||ze(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Ka(e){if(I(1,arguments),!Ja(e)&&typeof e!="number")return!1;var t=z(e);return!isNaN(Number(t))}function eo(e){I(1,arguments);var t=z(e);return t.setHours(23,59,59,999),t}function to(e,t){I(2,arguments);var n=re(t);return za(e,-n)}var no=864e5;function ro(e){I(1,arguments);var t=z(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime(),i=n-r;return Math.floor(i/no)+1}function qe(e){I(1,arguments);var t=1,n=z(e),r=n.getUTCDay(),i=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function gr(e){I(1,arguments);var t=z(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=qe(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var o=qe(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function io(e){I(1,arguments);var t=gr(e),n=new Date(0);n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0);var r=qe(n);return r}var ao=6048e5;function oo(e){I(1,arguments);var t=z(e),n=qe(t).getTime()-io(t).getTime();return Math.round(n/ao)+1}function Qe(e,t){var n,r,i,a,o,s,l,u;I(1,arguments);var f=nt(),c=re((n=(r=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:f.weekStartsOn)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&n!==void 0?n:0);if(!(c>=0&&c<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=z(e),d=h.getUTCDay(),g=(d<c?7:0)+d-c;return h.setUTCDate(h.getUTCDate()-g),h.setUTCHours(0,0,0,0),h}function pr(e,t){var n,r,i,a,o,s,l,u;I(1,arguments);var f=z(e),c=f.getUTCFullYear(),h=nt(),d=re((n=(r=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:h.firstWeekContainsDate)!==null&&r!==void 0?r:(l=h.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=new Date(0);g.setUTCFullYear(c+1,0,d),g.setUTCHours(0,0,0,0);var v=Qe(g,t),S=new Date(0);S.setUTCFullYear(c,0,d),S.setUTCHours(0,0,0,0);var k=Qe(S,t);return f.getTime()>=v.getTime()?c+1:f.getTime()>=k.getTime()?c:c-1}function so(e,t){var n,r,i,a,o,s,l,u;I(1,arguments);var f=nt(),c=re((n=(r=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(s=o.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:f.firstWeekContainsDate)!==null&&r!==void 0?r:(l=f.locale)===null||l===void 0||(u=l.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&n!==void 0?n:1),h=pr(e,t),d=new Date(0);d.setUTCFullYear(h,0,c),d.setUTCHours(0,0,0,0);var g=Qe(d,t);return g}var uo=6048e5;function lo(e,t){I(1,arguments);var n=z(e),r=Qe(n,t).getTime()-so(n,t).getTime();return Math.round(r/uo)+1}function x(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var ue={y:function(t,n){var r=t.getUTCFullYear(),i=r>0?r:1-r;return x(n==="yy"?i%100:i,n.length)},M:function(t,n){var r=t.getUTCMonth();return n==="M"?String(r+1):x(r+1,2)},d:function(t,n){return x(t.getUTCDate(),n.length)},a:function(t,n){var r=t.getUTCHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(t,n){return x(t.getUTCHours()%12||12,n.length)},H:function(t,n){return x(t.getUTCHours(),n.length)},m:function(t,n){return x(t.getUTCMinutes(),n.length)},s:function(t,n){return x(t.getUTCSeconds(),n.length)},S:function(t,n){var r=n.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,r-3));return x(a,n.length)}},pe={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},fo={G:function(t,n,r){var i=t.getUTCFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return r.ordinalNumber(a,{unit:"year"})}return ue.y(t,n)},Y:function(t,n,r,i){var a=pr(t,i),o=a>0?a:1-a;if(n==="YY"){var s=o%100;return x(s,2)}return n==="Yo"?r.ordinalNumber(o,{unit:"year"}):x(o,n.length)},R:function(t,n){var r=gr(t);return x(r,n.length)},u:function(t,n){var r=t.getUTCFullYear();return x(r,n.length)},Q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"Q":return String(i);case"QQ":return x(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,n,r){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(n){case"q":return String(i);case"qq":return x(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,n,r){var i=t.getUTCMonth();switch(n){case"M":case"MM":return ue.M(t,n);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(t,n,r){var i=t.getUTCMonth();switch(n){case"L":return String(i+1);case"LL":return x(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(t,n,r,i){var a=lo(t,i);return n==="wo"?r.ordinalNumber(a,{unit:"week"}):x(a,n.length)},I:function(t,n,r){var i=oo(t);return n==="Io"?r.ordinalNumber(i,{unit:"week"}):x(i,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getUTCDate(),{unit:"date"}):ue.d(t,n)},D:function(t,n,r){var i=ro(t);return n==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):x(i,n.length)},E:function(t,n,r){var i=t.getUTCDay();switch(n){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(t,n,r,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(n){case"e":return String(o);case"ee":return x(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(t,n,r,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(n){case"c":return String(o);case"cc":return x(o,n.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(t,n,r){var i=t.getUTCDay(),a=i===0?7:i;switch(n){case"i":return String(a);case"ii":return x(a,n.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(t,n,r){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,n,r){var i=t.getUTCHours(),a;switch(i===12?a=pe.noon:i===0?a=pe.midnight:a=i/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,n,r){var i=t.getUTCHours(),a;switch(i>=17?a=pe.evening:i>=12?a=pe.afternoon:i>=4?a=pe.morning:a=pe.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return ue.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getUTCHours(),{unit:"hour"}):ue.H(t,n)},K:function(t,n,r){var i=t.getUTCHours()%12;return n==="Ko"?r.ordinalNumber(i,{unit:"hour"}):x(i,n.length)},k:function(t,n,r){var i=t.getUTCHours();return i===0&&(i=24),n==="ko"?r.ordinalNumber(i,{unit:"hour"}):x(i,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):ue.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):ue.s(t,n)},S:function(t,n){return ue.S(t,n)},X:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(n){case"X":return bn(o);case"XXXX":case"XX":return he(o);case"XXXXX":case"XXX":default:return he(o,":")}},x:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"x":return bn(o);case"xxxx":case"xx":return he(o);case"xxxxx":case"xxx":default:return he(o,":")}},O:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+mn(o,":");case"OOOO":default:return"GMT"+he(o,":")}},z:function(t,n,r,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+mn(o,":");case"zzzz":default:return"GMT"+he(o,":")}},t:function(t,n,r,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return x(o,n.length)},T:function(t,n,r,i){var a=i._originalDate||t,o=a.getTime();return x(o,n.length)}};function mn(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;if(a===0)return n+String(i);var o=t;return n+String(i)+o+x(a,2)}function bn(e,t){if(e%60===0){var n=e>0?"-":"+";return n+x(Math.abs(e)/60,2)}return he(e,t)}function he(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e),a=x(Math.floor(i/60),2),o=x(i%60,2);return r+a+n+o}var gn=function(t,n){switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});case"PPPP":default:return n.date({width:"full"})}},vr=function(t,n){switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});case"pppp":default:return n.time({width:"full"})}},ho=function(t,n){var r=t.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return gn(t,n);var o;switch(i){case"P":o=n.dateTime({width:"short"});break;case"PP":o=n.dateTime({width:"medium"});break;case"PPP":o=n.dateTime({width:"long"});break;case"PPPP":default:o=n.dateTime({width:"full"});break}return o.replace("{{date}}",gn(i,n)).replace("{{time}}",vr(a,n))},co={p:vr,P:ho},mo=["D","DD"],bo=["YY","YYYY"];function go(e){return mo.indexOf(e)!==-1}function po(e){return bo.indexOf(e)!==-1}function pn(e,t,n){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var vo={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"}},yo=function(t,n,r){var i,a=vo[t];return typeof a=="string"?i=a:n===1?i=a.one:i=a.other.replace("{{count}}",n.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};function bt(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var wo={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},_o={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},To={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Eo={date:bt({formats:wo,defaultWidth:"full"}),time:bt({formats:_o,defaultWidth:"full"}),dateTime:bt({formats:To,defaultWidth:"full"})},xo={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Bo=function(t,n,r,i){return xo[t]};function Pe(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var u=e.argumentCallback?e.argumentCallback(t):t;return i[u]}}var So={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Co={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Oo={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"]},Po={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"]},Mo={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"}},Ao={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"}},Ho=function(t,n){var r=Number(t),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},No={ordinalNumber:Ho,era:Pe({values:So,defaultWidth:"wide"}),quarter:Pe({values:Co,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Pe({values:Oo,defaultWidth:"wide"}),day:Pe({values:Po,defaultWidth:"wide"}),dayPeriod:Pe({values:Mo,defaultWidth:"wide",formattingValues:Ao,defaultFormattingWidth:"wide"})};function Me(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?Do(s,function(c){return c.test(o)}):Ro(s,function(c){return c.test(o)}),u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;var f=t.slice(o.length);return{value:u,rest:f}}}function Ro(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Do(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function Io(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var Lo=/^(\d+)(th|st|nd|rd)?/i,Uo=/\d+/i,ko={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},$o={any:[/^b/i,/^(a|c)/i]},Fo={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Go={any:[/1/i,/2/i,/3/i,/4/i]},jo={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},Wo={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]},Vo={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},Yo={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]},Xo={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},zo={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}},qo={ordinalNumber:Io({matchPattern:Lo,parsePattern:Uo,valueCallback:function(t){return parseInt(t,10)}}),era:Me({matchPatterns:ko,defaultMatchWidth:"wide",parsePatterns:$o,defaultParseWidth:"any"}),quarter:Me({matchPatterns:Fo,defaultMatchWidth:"wide",parsePatterns:Go,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Me({matchPatterns:jo,defaultMatchWidth:"wide",parsePatterns:Wo,defaultParseWidth:"any"}),day:Me({matchPatterns:Vo,defaultMatchWidth:"wide",parsePatterns:Yo,defaultParseWidth:"any"}),dayPeriod:Me({matchPatterns:Xo,defaultMatchWidth:"any",parsePatterns:zo,defaultParseWidth:"any"})},Qo={code:"en-US",formatDistance:yo,formatLong:Eo,formatRelative:Bo,localize:No,match:qo,options:{weekStartsOn:0,firstWeekContainsDate:1}},Zo=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Jo=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ko=/^'([^]*?)'?$/,es=/''/g,ts=/[a-zA-Z]/;function At(e,t,n){var r,i,a,o,s,l,u,f,c,h,d,g,v,S;I(2,arguments);var k=String(t),P=nt(),E=(r=(i=void 0)!==null&&i!==void 0?i:P.locale)!==null&&r!==void 0?r:Qo,$=re((a=(o=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:P.firstWeekContainsDate)!==null&&o!==void 0?o:(u=P.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!($>=1&&$<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var H=re((c=(h=(d=(g=void 0)!==null&&g!==void 0?g:void 0)!==null&&d!==void 0?d:P.weekStartsOn)!==null&&h!==void 0?h:(v=P.locale)===null||v===void 0||(S=v.options)===null||S===void 0?void 0:S.weekStartsOn)!==null&&c!==void 0?c:0);if(!(H>=0&&H<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!E.localize)throw new RangeError("locale must contain localize property");if(!E.formatLong)throw new RangeError("locale must contain formatLong property");var O=z(e);if(!Ka(O))throw new RangeError("Invalid time value");var K=Qa(O),oe=to(O,K),se={firstWeekContainsDate:$,weekStartsOn:H,locale:E,_originalDate:O},ee=k.match(Jo).map(function(L){var U=L[0];if(U==="p"||U==="P"){var Z=co[U];return Z(L,E.formatLong)}return L}).join("").match(Zo).map(function(L){if(L==="''")return"'";var U=L[0];if(U==="'")return ns(L);var Z=fo[U];if(Z)return po(L)&&pn(L,t,String(e)),go(L)&&pn(L,t,String(e)),Z(oe,L,E.localize,se);if(U.match(ts))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");return L}).join("");return ee}function ns(e){var t=e.match(Ko);return t?t[1].replace(es,"'"):e}function rs(e,t){I(2,arguments);var n=re(t);return Xa(e,-n)}function vn(e,t){It(e,t)}function is(e){de.set(e)}const yn={en:{date:"Granted date:",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonus:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"},"zh-hk":{date:"授予日期:",bonusName:"獎金名稱",bonusType:"獎金類型",bonusAmount:"獎金金額",wageringAmount:"投注進展",remainingBonus:"剩餘紅利金額",forfeitBonus:"沒收獎金",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"條款及細則",termsConditionsTitle:"條款及細則",wagering:"投注挑戰",tournamentTicket:"錦標賽門票",tournament:"錦標賽",bonusMoney:"獎金",freeSpins:"免費旋轉",freeBet:"免費投注",cashBack:"現金回贈",freeRound:"Free Round",oddsBoost:"Odds Boost"},fr:{date:"Date d'attribution:",bonusName:"Nom du bonus",bonusType:"Type de bonus",bonusAmount:"Montant du bonus",wageringAmount:"Changer les progrès",remainingBonus:"Montant du bonus restant",forfeitBonus:"Supprimer le bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fermé",termsConditionsLink:"Termes et Conditions",termsConditionsTitle:"Termes et Conditions",wagering:"Défi de mise",tournamentTicket:"Billet de tournoi",tournament:"Tournoi",bonusMoney:"Argent bonus",freeSpins:"Tours gratuits",freeBet:"Paris gratuit",cashBack:"Remboursement",freeRound:"Free Round",oddsBoost:"Odds Boost"},ro:{date:"Dată Alocare:",bonusName:"Nume bonus",bonusType:"Tip de bonus",bonusAmount:"Sumă",wageringAmount:"Progresul de pariere",remainingBonus:"Bonus rămas",forfeitBonus:"Anulează bonusul",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"închis",termsConditionsLink:"Termeni si Conditii",termsConditionsTitle:"Termeni si Conditii",wagering:"Provocare de pariere",tournamentTicket:"Bilet de turneu",tournament:"Turneu",bonusMoney:"Bani bonus",freeSpins:"Rotiri gratuite",freeBet:"Pariu gratuit",cashBack:"Rambursare",freeRound:"Free Round",oddsBoost:"Odds Boost"},es:{date:"Fecha de Canje",bonusName:"Nombre de Bono",bonusType:"Tipo de Bono",bonusAmount:"Monto de Bono",wageringAmount:"Progreso ( Rollover)",remainingBonus:"Saldo Actual de Bono",forfeitBonus:"cancelar bono",active:"Activo",released:"released",expired:"expired",forfeited:"forfeited",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Desafío de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bonificación",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},pt:{date:"Data de atribuição do bônus:",bonusName:"Nome do bônus",bonusType:"Tipo de bônus",bonusAmount:"Valor do bônus",wageringAmount:"Progresso de apostas",remainingBonus:"Valor do bônus restante",forfeitBonus:"Bônus de Perda",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Bilhete de torneio",tournament:"Torneio",bonusMoney:"Dinheiro de bónus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},hr:{date:"Datum:",bonusName:"Ime bonusa",bonusType:"Vrsta bonusa",bonusAmount:"Iznos bonusa",wageringAmount:"Odigravanje",remainingBonus:"Trenutno stanje bonusa",forfeitBonus:"Otkaži bonus",active:"aktivan",released:"razriješen",expired:"Istekao",forfeited:"otkazan",closed:"Zatvoren",termsConditionsLink:"Uvjeti i odredbe",termsConditionsTitle:"Uvjeti i odredbe",wagering:"Izazov odigravanja",tournamentTicket:"Turnir",tournament:"Turnir",bonusMoney:"Bonus novac",freeSpins:"Besplatne vrtnje",freeBet:"Besplatna oklada",cashBack:"CashBack",freeRound:"Besplatne runde",oddsBoost:"Odds Boost"},"pt-br":{date:"Data concedida:",bonusName:"Nome do bônus:",bonusType:"Tipo de bônus:",bonusAmount:"Valor do bônus:",wageringAmount:"Progresso da Quantidade de Apostas (Rollover)",remainingBonus:"Saldo atual de bônus:",forfeitBonus:"Recusar bônus",active:"Ativo",released:"Lançado",expired:"Expirado",forfeited:"Perdido",closed:"fechado",termsConditionsLink:"Termos e Condições",termsConditionsTitle:"Termos e Condições",wagering:"Desafio de apostas",tournamentTicket:"Ingresso para torneio",tournament:"Torneio",bonusMoney:"Dinheiro bônus",freeSpins:"Rodadas grátis",freeBet:"Aposta grátis",cashBack:"Dinheiro de volta",freeRound:"Free Round",oddsBoost:"Odds Boost"},"es-mx":{date:"Fecha concedida:",bonusName:"Nombre de bono:",bonusType:"Tipo de Bono:",bonusAmount:"valor de Bono:",wageringAmount:"Progreso de monto de apuestas (Rollover)",remainingBonus:"Saldo de bono actual:",forfeitBonus:"Declinar bono",active:"Activo",released:"Liberado",expired:"Expirado",forfeited:"Perdido",closed:"cerrado",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Reto de apuestas",tournamentTicket:"Boleto de torneo",tournament:"Torneo",bonusMoney:"Dinero de bono",freeSpins:"Giros gratis",freeBet:"Apuesta gratis",cashBack:"Reembolso",freeRound:"Free Round",oddsBoost:"Odds Boost"},tr:{date:"Verilen tarih:",bonusName:"Bonus Adı",bonusType:"Bonus Türü",bonusAmount:"Bonus Tutarı",wageringAmount:"Bahis İlerlemesi (Rollover)",remainingBonus:"Mevcut Bonus Bakiyesi",forfeitBonus:"Fesih Bonusu",active:"aktif",released:"piyasaya sürülmüş",expired:"günü geçmiş",forfeited:"kaybedilen",closed:"kapalı",termsConditionsLink:"Términos y Condiciones",termsConditionsTitle:"Términos y Condiciones",wagering:"Bahis mücadelesi",tournamentTicket:"Turnuva bileti",tournament:"Turnuva",bonusMoney:"Bonus para",freeSpins:"Bedava dönüş",freeBet:"Bedava bahis",cashBack:"Para iadesi",freeRound:"Free Round",oddsBoost:"Odds Boost"},"en-us":{date:"Granted date:",bonusName:"Bonus Name",bonusType:"Bonus Type",bonusAmount:"Bonus Amount",wageringAmount:"Wagering Progress (Rollover)",remainingBonus:"Current Bonus Balance",forfeitBonus:"Forfeit Bonus",active:"active",released:"released",expired:"expired",forfeited:"forfeited",closed:"closed",termsConditionsLink:"Terms and Conditions",termsConditionsTitle:"Terms and Conditions",wagering:"Wagering",tournamentTicket:"Tournament Ticket",tournament:"Tournament",bonusMoney:"Bonus Money",freeSpins:"Free Spins",freeBet:"Free Bet",cashBack:"CashBack",freeRound:"Free Round",oddsBoost:"Odds Boost"}};function as(e){Pn(e,"svelte-15xuos2",".ButtonTermsAndConditions{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-decoration:underline;margin:10px 0;cursor:pointer}.BonusImage{width:100%;max-height:200px;border-radius:var(--emw--border-radius-small, 5px)}.BonusCard{background-color:var(--emw--color-white, #FFFFFF);padding:10px 20px 20px;border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 5px 12px 5px var(--emw--color-gray-100, #E6E6E6)}.BonusCardRow{display:flex;justify-content:space-between;align-items:center;padding:2px 10px;font-size:var(--emw--font-size-small, 14px)}.BonusCardRow .BonusCardRowTitle{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-bold, 700)}.BonusCardRow .BonusCardRowTitle span{font-weight:var(--emw--font-weigh-normal, 400);color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText{color:var(--emw--color-gray-300, #58586B)}.BonusCardRow .BonusCardRowText.BonusCardStatus{font-weight:var(--emw--font-weight-bold, 700);color:var(--emw--color-typography-cotrast, #444444)}.BonusCardRow .BonusCardRowText.StatusActive{color:var(--emw--color-valid, #48952a)}.BonusCardRow .BonusCardRowText.StatusExpired{color:var(--emw--color-error, #FD2839)}.BonusCardRow .BonusCardRowText.StatusForfeited{color:#fd8c2d}.BonusCardRow .BonusCardRowText.TextCapitalize{text-transform:capitalize}.BonusCardRow:nth-child(even){background-color:var(--emw--color-gray-50, #F9F8F8);border-radius:var(--emw--border-radius-small, 5px)}.DeleteBonus{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:var(--emw--border-radius-small, 5px);width:50%;height:44px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;margin-top:10px}.DeleteBonus.DeleteBonusMobile{width:100%}.DeleteBonus:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCardRowRemovePadding{padding:0}")}function wn(e){let t,n,r;return{c(){t=B("div"),n=B("img"),p(n,"class","BonusImage"),Vt(n.src,r=e[9])||p(n,"src",r),p(n,"alt",e[10]),p(t,"class","BonusCardRow BonusCardRowRemovePadding")},m(i,a){ie(i,t,a),m(t,n)},p(i,a){a&512&&!Vt(n.src,r=i[9])&&p(n,"src",r),a&1024&&p(n,"alt",i[10])},d(i){i&&J(t)}}}function _n(e){let t,n,r=e[15]("bonusAmount")+"",i,a,o,s,l,u=(e[11]?"":e[7])+"",f,c;return{c(){t=B("div"),n=B("p"),i=A(r),a=R(),o=B("p"),s=A(e[4]),l=R(),f=A(u),p(n,"class","BonusCardRowTitle"),p(o,"class","BonusCardRowText"),p(t,"class",c=`BonusCardRow ${e[15]("bonusAmount")}`)},m(h,d){ie(h,t,d),m(t,n),m(n,i),m(t,a),m(t,o),m(o,s),m(o,l),m(o,f)},p(h,d){d&32768&&r!==(r=h[15]("bonusAmount")+"")&&D(i,r),d&16&&D(s,h[4]),d&2176&&u!==(u=(h[11]?"":h[7])+"")&&D(f,u),d&32768&&c!==(c=`BonusCardRow ${h[15]("bonusAmount")}`)&&p(t,"class",c)},d(h){h&&J(t)}}}function Tn(e){let t,n,r=e[15]("wageringAmount")+"",i,a,o,s,l,u=(e[11]?"":e[7])+"",f,c;return{c(){t=B("div"),n=B("p"),i=A(r),a=R(),o=B("p"),s=A(e[5]),l=R(),f=A(u),p(n,"class","BonusCardRowTitle"),p(o,"class","BonusCardRowText"),p(t,"class",c=`BonusCardRow ${e[15]("wageringAmount")} ${e[3]}`)},m(h,d){ie(h,t,d),m(t,n),m(n,i),m(t,a),m(t,o),m(o,s),m(o,l),m(o,f)},p(h,d){d&32768&&r!==(r=h[15]("wageringAmount")+"")&&D(i,r),d&32&&D(s,h[5]),d&2176&&u!==(u=(h[11]?"":h[7])+"")&&D(f,u),d&32776&&c!==(c=`BonusCardRow ${h[15]("wageringAmount")} ${h[3]}`)&&p(t,"class",c)},d(h){h&&J(t)}}}function En(e){let t,n,r=e[15]("remainingBonus")+"",i,a,o,s,l,u=(e[11]?"":e[7])+"",f,c;return{c(){t=B("div"),n=B("p"),i=A(r),a=R(),o=B("p"),s=A(e[6]),l=R(),f=A(u),p(n,"class","BonusCardRowTitle"),p(o,"class","BonusCardRowText"),p(t,"class",c=`BonusCardRow ${e[15]("remainingBonus")}`)},m(h,d){ie(h,t,d),m(t,n),m(n,i),m(t,a),m(t,o),m(o,s),m(o,l),m(o,f)},p(h,d){d&32768&&r!==(r=h[15]("remainingBonus")+"")&&D(i,r),d&64&&D(s,h[6]),d&2176&&u!==(u=(h[11]?"":h[7])+"")&&D(f,u),d&32768&&c!==(c=`BonusCardRow ${h[15]("remainingBonus")}`)&&p(t,"class",c)},d(h){h&&J(t)}}}function xn(e){let t,n,r=e[15]("termsConditionsLink")+"",i,a;return{c(){t=B("div"),n=B("a"),i=A(r),p(n,"class","ButtonTermsAndConditions"),p(n,"href",e[8]),p(n,"target","_blank"),p(t,"class",a=`BonusCardRow ${e[15]("termsConditionsLink")}`)},m(o,s){ie(o,t,s),m(t,n),m(n,i)},p(o,s){s&32768&&r!==(r=o[15]("termsConditionsLink")+"")&&D(i,r),s&256&&p(n,"href",o[8]),s&32768&&a!==(a=`BonusCardRow ${o[15]("termsConditionsLink")}`)&&p(t,"class",a)},d(o){o&&J(t)}}}function Bn(e){let t,n=e[15]("forfeitBonus")+"",r,i,a;return{c(){t=B("button"),r=A(n),p(t,"class","DeleteBonus "+(e[16]?"DeleteBonusMobile":""))},m(o,s){ie(o,t,s),m(t,r),i||(a=Mn(t,"click",e[17]),i=!0)},p(o,s){s&32768&&n!==(n=o[15]("forfeitBonus")+"")&&D(r,n)},d(o){o&&J(t),i=!1,a()}}}function os(e){let t,n,r,i,a=e[15]("date")+"",o,s,l,u=At(new Date(e[0]),"dd/MM/yyyy h:mm a")+"",f,c,h,d=e[15](`${e[1]}`)+"",g,v,S,k,P,E,$,H=e[15]("bonusName")+"",O,K,oe,se,ee,L,U,Z,me=e[15]("bonusType")+"",b,te,fe,Ie=e[15](`${e[3]}`)+"",rt,Le,Ut,it,at,ot,kt,G=e[14]===!0&&wn(e),j=e[4]&&_n(e),W=e[5]&&Tn(e),V=e[6]&&En(e),Y=e[13]&&xn(e),X=e[1]==="active"&&Bn(e);return{c(){t=B("div"),n=B("div"),r=B("div"),i=B("p"),o=A(a),s=R(),l=B("span"),f=A(u),c=R(),h=B("p"),g=A(d),k=R(),G&&G.c(),P=R(),E=B("div"),$=B("p"),O=A(H),K=R(),oe=B("p"),se=A(e[2]),L=R(),U=B("div"),Z=B("p"),b=A(me),te=R(),fe=B("p"),rt=A(Ie),Ut=R(),j&&j.c(),it=R(),W&&W.c(),at=R(),V&&V.c(),ot=R(),Y&&Y.c(),kt=R(),X&&X.c(),p(i,"class","BonusCardRowTitle"),p(h,"class",v="BonusCardRowText BonusCardStatus TextCapitalize "+(e[1]==="active"||e[1]==="released"?"StatusActive":"")+" "+(e[1]==="expired"?"StatusExpired":"")+" "+(e[1]==="forfeited"?"StatusForfeited":"")),p(r,"class",S=`BonusCardRow Date ${e[15]("date")}`),p($,"class","BonusCardRowTitle"),p(oe,"class","BonusCardRowText"),p(E,"class",ee=`BonusCardRow ${e[15]("bonusName")}`),p(Z,"class","BonusCardRowTitle"),p(fe,"class","BonusCardRowText TextCapitalize"),p(U,"class",Le=`BonusCardRow ${e[15]("bonusType")}`),p(n,"class","BonusCardInfo"),p(t,"class","BonusCard")},m(y,N){ie(y,t,N),m(t,n),m(n,r),m(r,i),m(i,o),m(i,s),m(i,l),m(l,f),m(r,c),m(r,h),m(h,g),m(n,k),G&&G.m(n,null),m(n,P),m(n,E),m(E,$),m($,O),m(E,K),m(E,oe),m(oe,se),m(n,L),m(n,U),m(U,Z),m(Z,b),m(U,te),m(U,fe),m(fe,rt),m(n,Ut),j&&j.m(n,null),m(n,it),W&&W.m(n,null),m(n,at),V&&V.m(n,null),m(n,ot),Y&&Y.m(n,null),m(t,kt),X&&X.m(t,null),e[24](t)},p(y,[N]){N&32768&&a!==(a=y[15]("date")+"")&&D(o,a),N&1&&u!==(u=At(new Date(y[0]),"dd/MM/yyyy h:mm a")+"")&&D(f,u),N&32770&&d!==(d=y[15](`${y[1]}`)+"")&&D(g,d),N&2&&v!==(v="BonusCardRowText BonusCardStatus TextCapitalize "+(y[1]==="active"||y[1]==="released"?"StatusActive":"")+" "+(y[1]==="expired"?"StatusExpired":"")+" "+(y[1]==="forfeited"?"StatusForfeited":""))&&p(h,"class",v),N&32768&&S!==(S=`BonusCardRow Date ${y[15]("date")}`)&&p(r,"class",S),y[14]===!0?G?G.p(y,N):(G=wn(y),G.c(),G.m(n,P)):G&&(G.d(1),G=null),N&32768&&H!==(H=y[15]("bonusName")+"")&&D(O,H),N&4&&D(se,y[2]),N&32768&&ee!==(ee=`BonusCardRow ${y[15]("bonusName")}`)&&p(E,"class",ee),N&32768&&me!==(me=y[15]("bonusType")+"")&&D(b,me),N&32776&&Ie!==(Ie=y[15](`${y[3]}`)+"")&&D(rt,Ie),N&32768&&Le!==(Le=`BonusCardRow ${y[15]("bonusType")}`)&&p(U,"class",Le),y[4]?j?j.p(y,N):(j=_n(y),j.c(),j.m(n,it)):j&&(j.d(1),j=null),y[5]?W?W.p(y,N):(W=Tn(y),W.c(),W.m(n,at)):W&&(W.d(1),W=null),y[6]?V?V.p(y,N):(V=En(y),V.c(),V.m(n,ot)):V&&(V.d(1),V=null),y[13]?Y?Y.p(y,N):(Y=xn(y),Y.c(),Y.m(n,null)):Y&&(Y.d(1),Y=null),y[1]==="active"?X?X.p(y,N):(X=Bn(y),X.c(),X.m(t,null)):X&&(X.d(1),X=null)},i:Q,o:Q,d(y){y&&J(t),G&&G.d(),j&&j.d(),W&&W.d(),V&&V.d(),Y&&Y.d(),X&&X.d(),e[24](null)}}}function ss(e,t,n){let r;On(e,mr,b=>n(15,r=b));let{bonuswalletid:i=""}=t,{bonusdate:a=""}=t,{bonusstatus:o=""}=t,{bonusname:s=""}=t,{bonustype:l=""}=t,{bonusamount:u=""}=t,{bonuswageringamount:f=""}=t,{bonusremainingamount:c=""}=t,{bonuscurrency:h=""}=t,{lang:d="en"}=t,{clientstyling:g=""}=t,{clientstylingurl:v=""}=t,{mbsource:S}=t,{translationurl:k=""}=t,{termsandconditionsurl:P=""}=t,{termsandconditionsasset:E=""}=t,{termsandconditionsdescription:$=""}=t,{currencylocale:H=""}=t,O,K=window.navigator.userAgent,oe=br(K)!=="PC",se=!1,ee=!0;const L=()=>{fetch(k).then(te=>te.json()).then(te=>{Object.keys(te).forEach(fe=>{vn(fe,te[fe])})}).catch(te=>{console.log(te)})};Object.keys(yn).forEach(b=>{vn(b,yn[b])});const U=()=>{window.postMessage({type:"DisableScroll"},window.location.href),window.postMessage({type:"DeleteActiveBonus",bonuswalletid:i},window.location.href)},Z=()=>{is(d)};An(()=>()=>{});function me(b){Ve[b?"unshift":"push"](()=>{O=b,n(12,O)})}return e.$$set=b=>{"bonuswalletid"in b&&n(18,i=b.bonuswalletid),"bonusdate"in b&&n(0,a=b.bonusdate),"bonusstatus"in b&&n(1,o=b.bonusstatus),"bonusname"in b&&n(2,s=b.bonusname),"bonustype"in b&&n(3,l=b.bonustype),"bonusamount"in b&&n(4,u=b.bonusamount),"bonuswageringamount"in b&&n(5,f=b.bonuswageringamount),"bonusremainingamount"in b&&n(6,c=b.bonusremainingamount),"bonuscurrency"in b&&n(7,h=b.bonuscurrency),"lang"in b&&n(19,d=b.lang),"clientstyling"in b&&n(20,g=b.clientstyling),"clientstylingurl"in b&&n(21,v=b.clientstylingurl),"mbsource"in b&&n(22,S=b.mbsource),"translationurl"in b&&n(23,k=b.translationurl),"termsandconditionsurl"in b&&n(8,P=b.termsandconditionsurl),"termsandconditionsasset"in b&&n(9,E=b.termsandconditionsasset),"termsandconditionsdescription"in b&&n(10,$=b.termsandconditionsdescription),"currencylocale"in b&&n(11,H=b.currencylocale)},e.$$.update=()=>{e.$$.dirty&524288&&d&&Z(),e.$$.dirty&1052672&&g&&O&&In(O,g),e.$$.dirty&2101248&&v&&O&&Ln(O,v),e.$$.dirty&4198400&&S&&O&&Un(O,`${S}.Style`),e.$$.dirty&8388608&&k&&L(),e.$$.dirty&512&&n(14,ee=!(E===null||E==="")),e.$$.dirty&256&&n(13,se=P!==null&&P!=="")},[a,o,s,l,u,f,c,h,P,E,$,H,O,se,ee,r,oe,U,i,d,g,v,S,k,me]}class yr extends Dn{constructor(t){super(),Hn(this,t,ss,os,Nt,{bonuswalletid:18,bonusdate:0,bonusstatus:1,bonusname:2,bonustype:3,bonusamount:4,bonuswageringamount:5,bonusremainingamount:6,bonuscurrency:7,lang:19,clientstyling:20,clientstylingurl:21,mbsource:22,translationurl:23,termsandconditionsurl:8,termsandconditionsasset:9,termsandconditionsdescription:10,currencylocale:11},as)}get bonuswalletid(){return this.$$.ctx[18]}set bonuswalletid(t){this.$$set({bonuswalletid:t}),M()}get bonusdate(){return this.$$.ctx[0]}set bonusdate(t){this.$$set({bonusdate:t}),M()}get bonusstatus(){return this.$$.ctx[1]}set bonusstatus(t){this.$$set({bonusstatus:t}),M()}get bonusname(){return this.$$.ctx[2]}set bonusname(t){this.$$set({bonusname:t}),M()}get bonustype(){return this.$$.ctx[3]}set bonustype(t){this.$$set({bonustype:t}),M()}get bonusamount(){return this.$$.ctx[4]}set bonusamount(t){this.$$set({bonusamount:t}),M()}get bonuswageringamount(){return this.$$.ctx[5]}set bonuswageringamount(t){this.$$set({bonuswageringamount:t}),M()}get bonusremainingamount(){return this.$$.ctx[6]}set bonusremainingamount(t){this.$$set({bonusremainingamount:t}),M()}get bonuscurrency(){return this.$$.ctx[7]}set bonuscurrency(t){this.$$set({bonuscurrency:t}),M()}get lang(){return this.$$.ctx[19]}set lang(t){this.$$set({lang:t}),M()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(t){this.$$set({clientstyling:t}),M()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),M()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),M()}get translationurl(){return this.$$.ctx[23]}set translationurl(t){this.$$set({translationurl:t}),M()}get termsandconditionsurl(){return this.$$.ctx[8]}set termsandconditionsurl(t){this.$$set({termsandconditionsurl:t}),M()}get termsandconditionsasset(){return this.$$.ctx[9]}set termsandconditionsasset(t){this.$$set({termsandconditionsasset:t}),M()}get termsandconditionsdescription(){return this.$$.ctx[10]}set termsandconditionsdescription(t){this.$$set({termsandconditionsdescription:t}),M()}get currencylocale(){return this.$$.ctx[11]}set currencylocale(t){this.$$set({currencylocale:t}),M()}}Rn(yr,{bonuswalletid:{},bonusdate:{},bonusstatus:{},bonusname:{},bonustype:{},bonusamount:{},bonuswageringamount:{},bonusremainingamount:{},bonuscurrency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},termsandconditionsurl:{},termsandconditionsasset:{},termsandconditionsdescription:{},currencylocale:{}},[],[],!0);const us=Object.freeze(Object.defineProperty({__proto__:null,default:yr},Symbol.toStringTag,{value:"Module"}));exports.$format=mr;exports.$locale=de;exports.PlayerBonusCard_ce=us;exports.SvelteComponent=Dn;exports.addMessages=It;exports.append=m;exports.append_styles=Pn;exports.attr=p;exports.binding_callbacks=Ve;exports.component_subscribe=On;exports.create_custom_element=Rn;exports.destroy_each=Or;exports.detach=J;exports.element=B;exports.empty=Mr;exports.endOfDay=eo;exports.ensure_array_like=Fr;exports.flush=M;exports.format=At;exports.getDevice=br;exports.init=Hn;exports.insert=ie;exports.listen=Mn;exports.noop=Q;exports.onMount=An;exports.run_all=Be;exports.safe_not_equal=Nt;exports.setClientStyling=In;exports.setClientStylingURL=Ln;exports.setStreamStyling=Un;exports.set_custom_element_data=Ar;exports.set_data=D;exports.space=R;exports.startOfDay=Za;exports.subMonths=rs;exports.svg_element=Pr;exports.text=A;
|