@everymatrix/player-change-password 1.0.69 → 1.0.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";var rs=Object.defineProperty,ss=Object.defineProperties;var ns=Object.getOwnPropertyDescriptors;var Dt=Object.getOwnPropertySymbols;var as=Object.prototype.hasOwnProperty,is=Object.prototype.propertyIsEnumerable;var ft=(e,t,r)=>t in e?rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gt=(e,t)=>{for(var r in t||(t={}))as.call(t,r)&&ft(e,r,t[r]);if(Dt)for(var r of Dt(t))is.call(t,r)&&ft(e,r,t[r]);return e},jt=(e,t)=>ss(e,ns(t));var q=(e,t,r)=>ft(e,typeof t!="symbol"?t+"":t,r);var Vt=(e,t,r)=>new Promise((s,n)=>{var a=c=>{try{l(r.next(c))}catch(u){n(u)}},o=c=>{try{l(r.throw(c))}catch(u){n(u)}},l=c=>c.done?s(c.value):Promise.resolve(c.value).then(a,o);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ee(){}function br(e){return e()}function zt(){return Object.create(null)}function Oe(e){e.forEach(br)}function Se(e){return typeof e=="function"}function wr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function os(e){return Object.keys(e).length===0}function yr(e,...t){if(e==null){for(const s of t)s(void 0);return ee}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ls(e,t,r){e.$$.on_destroy.push(yr(t,r))}function d(e,t){e.appendChild(t)}function us(e,t,r){const s=cs(e);if(!s.getElementById(t)){const n=x("style");n.id=t,n.textContent=r,hs(s,n)}}function cs(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function hs(e,t){return d(e.head||e,t),t.sheet}function H(e,t,r){e.insertBefore(t,r||null)}function I(e){e.parentNode&&e.parentNode.removeChild(e)}function x(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function M(e){return document.createTextNode(e)}function F(){return M(" ")}function Pr(){return M("")}function W(e,t,r,s){return e.addEventListener(t,r,s),()=>e.removeEventListener(t,r,s)}function i(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ds(e){return Array.from(e.childNodes)}function G(e,t){t=""+t,e.data!==t&&(e.data=t)}function _e(e,t){e.value=t==null?"":t}function fs(e,t,r,s){e.style.setProperty(t,r,"")}function ms(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let je;function Ge(e){je=e}function ps(){if(!je)throw new Error("Function called outside component initialization");return je}function gs(e){ps().$$.on_mount.push(e)}const Ce=[],Te=[];let Be=[];const Wt=[],vs=Promise.resolve();let _t=!1;function bs(){_t||(_t=!0,vs.then(de))}function xt(e){Be.push(e)}const mt=new Set;let xe=0;function de(){if(xe!==0)return;const e=je;do{try{for(;xe<Ce.length;){const t=Ce[xe];xe++,Ge(t),ws(t.$$)}}catch(t){throw Ce.length=0,xe=0,t}for(Ge(null),Ce.length=0,xe=0;Te.length;)Te.pop()();for(let t=0;t<Be.length;t+=1){const r=Be[t];mt.has(r)||(mt.add(r),r())}Be.length=0}while(Ce.length);for(;Wt.length;)Wt.pop()();_t=!1,mt.clear(),Ge(e)}function ws(e){if(e.fragment!==null){e.update(),Oe(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(xt)}}function ys(e){const t=[],r=[];Be.forEach(s=>e.indexOf(s)===-1?t.push(s):r.push(s)),r.forEach(s=>s()),Be=t}const Ps=new Set;function _s(e,t){e&&e.i&&(Ps.delete(e),e.i(t))}function xs(e,t,r){const{fragment:s,after_update:n}=e.$$;s&&s.m(t,r),xt(()=>{const a=e.$$.on_mount.map(br).filter(Se);e.$$.on_destroy?e.$$.on_destroy.push(...a):Oe(a),e.$$.on_mount=[]}),n.forEach(xt)}function Es(e,t){const r=e.$$;r.fragment!==null&&(ys(r.after_update),Oe(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Cs(e,t){e.$$.dirty[0]===-1&&(Ce.push(e),bs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ts(e,t,r,s,n,a,o=null,l=[-1]){const c=je;Ge(e);const u=e.$$={fragment:null,ctx:[],props:a,update:ee,not_equal:n,bound:zt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:zt(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};o&&o(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(f,m,...p)=>{const w=p.length?p[0]:m;return u.ctx&&n(u.ctx[f],u.ctx[f]=w)&&(!u.skip_bound&&u.bound[f]&&u.bound[f](w),h&&Cs(e,f)),m}):[],u.update(),h=!0,Oe(u.before_update),u.fragment=s?s(u.ctx):!1,t.target){if(t.hydrate){const f=ds(t.target);u.fragment&&u.fragment.l(f),f.forEach(I)}else u.fragment&&u.fragment.c();t.intro&&_s(e.$$.fragment),xs(e,t.target,t.anchor),de()}Ge(c)}let _r;typeof HTMLElement=="function"&&(_r=class extends HTMLElement{constructor(t,r,s){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=r,s&&this.attachShadow({mode:"open"})}addEventListener(t,r,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,s)}removeEventListener(t,r,s){if(super.removeEventListener(t,r,s),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return Vt(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(a){return()=>{let o;return{c:function(){o=x("slot"),a!=="default"&&i(o,"name",a)},m:function(u,h){H(u,o,h)},d:function(u){u&&I(o)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},s=ms(this);for(const a of this.$$s)a in s&&(r[a]=[t(a)]);for(const a of this.attributes){const o=this.$$g_p(a.name);o in this.$$d||(this.$$d[o]=rt(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:jt(Gt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{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=rt(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(n),n();for(const a in this.$$l)for(const o of this.$$l[a]){const l=this.$$c.$on(a,o);this.$$l_u.set(o,l)}this.$$l={}}})}attributeChangedCallback(t,r,s){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=rt(t,s,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function rt(e,t,r,s){var a;const n=(a=r[e])==null?void 0:a.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!r[e])return t;if(s==="toAttribute")switch(n){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(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ss(e,t,r,s,n,a){let o=class extends _r{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(o.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=rt(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),s.forEach(l=>{Object.defineProperty(o.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=o,o}class Bs{constructor(){q(this,"$$");q(this,"$$set")}$destroy(){Es(this,1),this.$destroy=ee}$on(t,r){if(!Se(r))return ee;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(r),()=>{const n=s.indexOf(r);n!==-1&&s.splice(n,1)}}$set(t){this.$$set&&!os(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const As="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(As);var Et=function(e,t){return Et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,s){r.__proto__=s}||function(r,s){for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(r[n]=s[n])},Et(e,t)};function ie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Et(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,s=1,n=arguments.length;s<n;s++){r=arguments[s];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},A.apply(this,arguments)};function Is(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,s=Object.getOwnPropertySymbols(e);n<s.length;n++)t.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(e,s[n])&&(r[s[n]]=e[s[n]]);return r}function Ct(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],s=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Tt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var s=r.call(e),n,a=[],o;try{for(;(t===void 0||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(l){o={error:l}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}function Ae(e,t,r){if(r||arguments.length===2)for(var s=0,n=t.length,a;s<n;s++)(a||!(s in t))&&(a||(a=Array.prototype.slice.call(t,0,s)),a[s]=t[s]);return e.concat(a||Array.prototype.slice.call(t))}function ae(e){return typeof e=="function"}function xr(e){var t=function(s){Error.call(s),s.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var pt=xr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
2
|
+
`+r.map(function(s,n){return n+1+") "+s.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function St(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var lt=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,s,n,a;if(!this.closed){this.closed=!0;var o=this._parentage;if(o)if(this._parentage=null,Array.isArray(o))try{for(var l=Ct(o),c=l.next();!c.done;c=l.next()){var u=c.value;u.remove(this)}}catch(b){t={error:b}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else o.remove(this);var h=this.initialTeardown;if(ae(h))try{h()}catch(b){a=b instanceof pt?b.errors:[b]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var m=Ct(f),p=m.next();!p.done;p=m.next()){var w=p.value;try{Xt(w)}catch(b){a=a!=null?a:[],b instanceof pt?a=Ae(Ae([],Tt(a)),Tt(b.errors)):a.push(b)}}}catch(b){s={error:b}}finally{try{p&&!p.done&&(n=m.return)&&n.call(m)}finally{if(s)throw s.error}}}if(a)throw new pt(a)}},e.prototype.add=function(t){var r;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=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&St(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&St(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Er=lt.EMPTY;function Cr(e){return e instanceof lt||e&&"closed"in e&&ae(e.remove)&&ae(e.add)&&ae(e.unsubscribe)}function Xt(e){ae(e)?e():e.unsubscribe()}var Tr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Sr={setTimeout:function(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];return setTimeout.apply(void 0,Ae([e,t],Tt(r)))},clearTimeout:function(e){var t=Sr.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Hs(e){Sr.setTimeout(function(){throw e})}function Zt(){}function st(e){e()}var Br=function(e){ie(t,e);function t(r){var s=e.call(this)||this;return s.isStopped=!1,r?(s.destination=r,Cr(r)&&r.add(s)):s.destination=Ls,s}return t.create=function(r,s,n){return new Bt(r,s,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(lt),Ns=Function.prototype.bind;function gt(e,t){return Ns.call(e,t)}var Ms=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(s){et(s)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(s){et(s)}else et(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){et(r)}},e}(),Bt=function(e){ie(t,e);function t(r,s,n){var a=e.call(this)||this,o;if(ae(r)||!r)o={next:r!=null?r:void 0,error:s!=null?s:void 0,complete:n!=null?n:void 0};else{var l;a&&Tr.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return a.unsubscribe()},o={next:r.next&>(r.next,l),error:r.error&>(r.error,l),complete:r.complete&>(r.complete,l)}):o=r}return a.destination=new Ms(o),a}return t}(Br);function et(e){Hs(e)}function Os(e){throw e}var Ls={closed:!0,next:Zt,error:Os,complete:Zt},Rs=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Fs(e){return e}function ks(e){return e.length===0?Fs:e.length===1?e[0]:function(r){return e.reduce(function(s,n){return n(s)},r)}}var Qt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,s){var n=this,a=$s(t)?t:new Bt(t,r,s);return st(function(){var o=n,l=o.operator,c=o.source;a.add(l?l.call(a,c):c?n._subscribe(a):n._trySubscribe(a))}),a},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var s=this;return r=Jt(r),new r(function(n,a){var o=new Bt({next:function(l){try{t(l)}catch(c){a(c),o.unsubscribe()}},error:a,complete:n});s.subscribe(o)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Rs]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ks(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Jt(t),new t(function(s,n){var a;r.subscribe(function(o){return a=o},function(o){return n(o)},function(){return s(a)})})},e.create=function(t){return new e(t)},e}();function Jt(e){var t;return(t=e!=null?e:Tr.Promise)!==null&&t!==void 0?t:Promise}function Us(e){return e&&ae(e.next)&&ae(e.error)&&ae(e.complete)}function $s(e){return e&&e instanceof Br||Us(e)&&Cr(e)}var Ds=xr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ar=function(e){ie(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var s=new Yt(this,this);return s.operator=r,s},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ds},t.prototype.next=function(r){var s=this;st(function(){var n,a;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var o=Ct(s.currentObservers),l=o.next();!l.done;l=o.next()){var c=l.value;c.next(r)}}catch(u){n={error:u}}finally{try{l&&!l.done&&(a=o.return)&&a.call(o)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var s=this;st(function(){if(s._throwIfClosed(),!s.isStopped){s.hasError=s.isStopped=!0,s.thrownError=r;for(var n=s.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;st(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var s=r.observers;s.length;)s.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var s=this,n=this,a=n.hasError,o=n.isStopped,l=n.observers;return a||o?Er:(this.currentObservers=null,l.push(r),new lt(function(){s.currentObservers=null,St(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var s=this,n=s.hasError,a=s.thrownError,o=s.isStopped;n?r.error(a):o&&r.complete()},t.prototype.asObservable=function(){var r=new Qt;return r.source=this,r},t.create=function(r,s){return new Yt(r,s)},t}(Qt),Yt=function(e){ie(t,e);function t(r,s){var n=e.call(this)||this;return n.destination=r,n.source=s,n}return t.prototype.next=function(r){var s,n;(n=(s=this.destination)===null||s===void 0?void 0:s.next)===null||n===void 0||n.call(s,r)},t.prototype.error=function(r){var s,n;(n=(s=this.destination)===null||s===void 0?void 0:s.error)===null||n===void 0||n.call(s,r)},t.prototype.complete=function(){var r,s;(s=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||s===void 0||s.call(r)},t.prototype._subscribe=function(r){var s,n;return(n=(s=this.source)===null||s===void 0?void 0:s.subscribe(r))!==null&&n!==void 0?n:Er},t}(Ar),Ir={now:function(){return(Ir.delegate||Date).now()},delegate:void 0},Gs=function(e){ie(t,e);function t(r,s,n){r===void 0&&(r=1/0),s===void 0&&(s=1/0),n===void 0&&(n=Ir);var a=e.call(this)||this;return a._bufferSize=r,a._windowTime=s,a._timestampProvider=n,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=s===1/0,a._bufferSize=Math.max(1,r),a._windowTime=Math.max(1,s),a}return t.prototype.next=function(r){var s=this,n=s.isStopped,a=s._buffer,o=s._infiniteTimeWindow,l=s._timestampProvider,c=s._windowTime;n||(a.push(r),!o&&a.push(l.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var s=this._innerSubscribe(r),n=this,a=n._infiniteTimeWindow,o=n._buffer,l=o.slice(),c=0;c<l.length&&!r.closed;c+=a?1:2)r.next(l[c]);return this._checkFinalizedStatuses(r),s},t.prototype._trimBuffer=function(){var r=this,s=r._bufferSize,n=r._timestampProvider,a=r._buffer,o=r._infiniteTimeWindow,l=(o?1:2)*s;if(s<1/0&&l<a.length&&a.splice(0,a.length-l),!o){for(var c=n.now(),u=0,h=1;h<a.length&&a[h]<=c;h+=2)u=h;u&&a.splice(0,u+1)}},t}(Ar);const qt=[],Kt={},js=(e,t=0)=>{if(qt.indexOf(e)==-1){const r=new Gs(t);Kt[e]=r,qt.push(e)}return Kt[e]},Ee=[];function Vs(e,t){return{subscribe:ut(e,t).subscribe}}function ut(e,t=ee){let r;const s=new Set;function n(l){if(wr(e,l)&&(e=l,r)){const c=!Ee.length;for(const u of s)u[1](),Ee.push(u,e);if(c){for(let u=0;u<Ee.length;u+=2)Ee[u][0](Ee[u+1]);Ee.length=0}}}function a(l){n(l(e))}function o(l,c=ee){const u=[l,c];return s.add(u),s.size===1&&(r=t(n,a)||ee),l(e),()=>{s.delete(u),s.size===0&&r&&(r(),r=null)}}return{set:n,update:a,subscribe:o}}function Le(e,t,r){const s=!Array.isArray(e),n=s?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const a=t.length<2;return Vs(r,(o,l)=>{let c=!1;const u=[];let h=0,f=ee;const m=()=>{if(h)return;f();const w=t(s?u[0]:u,o,l);a?o(w):f=Se(w)?w:ee},p=n.map((w,b)=>yr(w,C=>{u[b]=C,h&=~(1<<b),c&&m()},()=>{h|=1<<b}));return c=!0,m(),function(){Oe(p),f(),c=!1}})}function zs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ws=function(t){return Xs(t)&&!Zs(t)};function Xs(e){return!!e&&typeof e=="object"}function Zs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ys(e)}var Qs=typeof Symbol=="function"&&Symbol.for,Js=Qs?Symbol.for("react.element"):60103;function Ys(e){return e.$$typeof===Js}function qs(e){return Array.isArray(e)?[]:{}}function Ve(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Ie(qs(e),e,t):e}function Ks(e,t,r){return e.concat(t).map(function(s){return Ve(s,r)})}function en(e,t){if(!t.customMerge)return Ie;var r=t.customMerge(e);return typeof r=="function"?r:Ie}function tn(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function er(e){return Object.keys(e).concat(tn(e))}function Hr(e,t){try{return t in e}catch(r){return!1}}function rn(e,t){return Hr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function sn(e,t,r){var s={};return r.isMergeableObject(e)&&er(e).forEach(function(n){s[n]=Ve(e[n],r)}),er(t).forEach(function(n){rn(e,n)||(Hr(e,n)&&r.isMergeableObject(t[n])?s[n]=en(n,r)(e[n],t[n],r):s[n]=Ve(t[n],r))}),s}function Ie(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Ks,r.isMergeableObject=r.isMergeableObject||Ws,r.cloneUnlessOtherwiseSpecified=Ve;var s=Array.isArray(t),n=Array.isArray(e),a=s===n;return a?s?r.arrayMerge(e,t,r):sn(e,t,r):Ve(t,r)}Ie.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(s,n){return Ie(s,n,r)},{})};var nn=Ie,an=nn;const on=zs(an);var E;(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"})(E||(E={}));var R;(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"})(R||(R={}));var He;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(He||(He={}));function tr(e){return e.type===R.literal}function ln(e){return e.type===R.argument}function Nr(e){return e.type===R.number}function Mr(e){return e.type===R.date}function Or(e){return e.type===R.time}function Lr(e){return e.type===R.select}function Rr(e){return e.type===R.plural}function un(e){return e.type===R.pound}function Fr(e){return e.type===R.tag}function kr(e){return!!(e&&typeof e=="object"&&e.type===He.number)}function At(e){return!!(e&&typeof e=="object"&&e.type===He.dateTime)}var Ur=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,cn=/(?:[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 hn(e){var t={};return e.replace(cn,function(r){var s=r.length;switch(r[0]){case"G":t.era=s===4?"long":s===5?"narrow":"short";break;case"y":t.year=s===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"][s-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][s-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=s===4?"long":s===5?"narrow":"short";break;case"e":if(s<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-4];break;case"c":if(s<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][s-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"][s-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][s-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][s-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][s-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"][s-1];break;case"s":t.second=["numeric","2-digit"][s-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=s<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var dn=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function fn(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(dn).filter(function(m){return m.length>0}),r=[],s=0,n=t;s<n.length;s++){var a=n[s],o=a.split("/");if(o.length===0)throw new Error("Invalid number skeleton");for(var l=o[0],c=o.slice(1),u=0,h=c;u<h.length;u++){var f=h[u];if(f.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:c})}return r}function mn(e){return e.replace(/^(.*?)-/,"")}var rr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$r=/^(@+)?(\+|#+)?[rs]?$/g,pn=/(\*)(0+)|(#+)(0+)|(0+)/g,Dr=/^(0+)$/;function sr(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace($r,function(r,s,n){return typeof n!="string"?(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length):n==="+"?t.minimumSignificantDigits=s.length:s[0]==="#"?t.maximumSignificantDigits=s.length:(t.minimumSignificantDigits=s.length,t.maximumSignificantDigits=s.length+(typeof n=="string"?n.length:0)),""}),t}function Gr(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 gn(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function nr(e){var t={},r=Gr(e);return r||t}function vn(e){for(var t={},r=0,s=e;r<s.length;r++){var n=s[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.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=mn(n.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=A(A(A({},t),{notation:"scientific"}),n.options.reduce(function(c,u){return A(A({},c),nr(u))},{}));continue;case"engineering":t=A(A(A({},t),{notation:"engineering"}),n.options.reduce(function(c,u){return A(A({},c),nr(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(n.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(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(pn,function(c,u,h,f,m,p){if(u)t.minimumIntegerDigits=h.length;else{if(f&&m)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dr.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(rr.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(rr,function(c,u,h,f,m,p){return h==="*"?t.minimumFractionDigits=u.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:m&&p?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+p.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var a=n.options[0];a==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=A(A({},t),sr(a)));continue}if($r.test(n.stem)){t=A(A({},t),sr(n.stem));continue}var o=Gr(n.stem);o&&(t=A(A({},t),o));var l=gn(n.stem);l&&(t=A(A({},t),l))}return t}var tt={"001":["H","h"],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","hB","h","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","hB","h","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","hB","h","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"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["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 bn(e,t){for(var r="",s=0;s<e.length;s++){var n=e.charAt(s);if(n==="j"){for(var a=0;s+1<e.length&&e.charAt(s+1)===n;)a++,s++;var o=1+(a&1),l=a<2?1:3+(a>>1),c="a",u=wn(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)r+=c;for(;o-- >0;)r=u+r}else n==="J"?r+="H":r+=n}return r}function wn(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,s;r!=="root"&&(s=e.maximize().region);var n=tt[s||""]||tt[r||""]||tt["".concat(r,"-001")]||tt["001"];return n[0]}var vt,yn=new RegExp("^".concat(Ur.source,"*")),Pn=new RegExp("".concat(Ur.source,"*$"));function S(e,t){return{start:e,end:t}}var _n=!!String.prototype.startsWith&&"_a".startsWith("a",1),xn=!!String.fromCodePoint,En=!!Object.fromEntries,Cn=!!String.prototype.codePointAt,Tn=!!String.prototype.trimStart,Sn=!!String.prototype.trimEnd,Bn=!!Number.isSafeInteger,An=Bn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},It=!0;try{var In=Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");It=((vt=In.exec("a"))===null||vt===void 0?void 0:vt[0])==="a"}catch(e){It=!1}var ar=_n?function(t,r,s){return t.startsWith(r,s)}:function(t,r,s){return t.slice(s,s+r.length)===r},Ht=xn?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s="",n=t.length,a=0,o;n>a;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");s+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return s},ir=En?Object.fromEntries:function(t){for(var r={},s=0,n=t;s<n.length;s++){var a=n[s],o=a[0],l=a[1];r[o]=l}return r},jr=Cn?function(t,r){return t.codePointAt(r)}:function(t,r){var s=t.length;if(!(r<0||r>=s)){var n=t.charCodeAt(r),a;return n<55296||n>56319||r+1===s||(a=t.charCodeAt(r+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},Hn=Tn?function(t){return t.trimStart()}:function(t){return t.replace(yn,"")},Nn=Sn?function(t){return t.trimEnd()}:function(t){return t.replace(Pn,"")};function Vr(e,t){return new RegExp(e,t)}var Nt;if(It){var or=Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Nt=function(t,r){var s;or.lastIndex=r;var n=or.exec(t);return(s=n[1])!==null&&s!==void 0?s:""}}else Nt=function(t,r){for(var s=[];;){var n=jr(t,r);if(n===void 0||zr(n)||Rn(n))break;s.push(n),r+=n>=65536?2:1}return Ht.apply(void 0,s)};var Mn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,s){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,s);if(o.err)return o;n.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),n.push({type:R.pound,location:S(l,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(s)break;return this.error(E.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Mt(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;n.push(o.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var s=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:R.literal,value:"<".concat(n,"/>"),location:S(s,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Mt(this.char()))return this.error(E.INVALID_TAG,S(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return n!==u?this.error(E.UNMATCHED_CLOSING_TAG,S(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:R.tag,value:n,children:o,location:S(s,this.clonePosition())},err:null}:this.error(E.INVALID_TAG,S(l,this.clonePosition())))}else return this.error(E.UNCLOSED_TAG,S(s,this.clonePosition()))}else return this.error(E.INVALID_TAG,S(s,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ln(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var s=this.clonePosition(),n="";;){var a=this.tryParseQuote(r);if(a){n+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){n+=o;continue}var l=this.tryParseLeftAngleBracket();if(l){n+=l;continue}break}var c=S(s,this.clonePosition());return{val:{type:R.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!On(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var s=this.char();if(s===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(s);this.bump()}return Ht.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var s=this.char();return s===60||s===123||s===35&&(r==="plural"||r==="selectordinal")||s===125&&t>0?null:(this.bump(),Ht(s))},e.prototype.parseArgument=function(t,r){var s=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(s,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(E.EMPTY_ARGUMENT,S(s,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(E.MALFORMED_ARGUMENT,S(s,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(s,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:R.argument,value:n,location:S(s,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(s,this.clonePosition())):this.parseArgumentOptions(t,r,n,s);default:return this.error(E.MALFORMED_ARGUMENT,S(s,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),s=Nt(this.message,r),n=r+s.length;this.bumpTo(n);var a=this.clonePosition(),o=S(t,a);return{value:s,location:o}},e.prototype.parseArgumentOptions=function(t,r,s,n){var a,o=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(E.EXPECT_ARGUMENT_TYPE,S(o,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var m=Nn(f.val);if(m.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var p=S(h,this.clonePosition());u={style:m,styleLocation:p}}var w=this.tryParseArgumentClose(n);if(w.err)return w;var b=S(n,this.clonePosition());if(u&&ar(u==null?void 0:u.style,"::",0)){var C=Hn(u.style.slice(2));if(l==="number"){var f=this.parseNumberSkeletonFromString(C,u.styleLocation);return f.err?f:{val:{type:R.number,value:s,location:b,style:f.val},err:null}}else{if(C.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,b);var y=C;this.locale&&(y=bn(C,this.locale));var m={type:He.dateTime,pattern:y,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?hn(y):{}},T=l==="date"?R.date:R.time;return{val:{type:T,value:s,location:b,style:m},err:null}}}return{val:{type:l==="number"?R.number:l==="date"?R.date:R.time,value:s,location:b,style:(a=u==null?void 0:u.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,S(L,A({},L)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),U=0;if(l!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),k=this.parseIdentifierIfPossible(),U=f.val}var O=this.tryParsePluralOrSelectOptions(t,l,r,k);if(O.err)return O;var w=this.tryParseArgumentClose(n);if(w.err)return w;var Z=S(n,this.clonePosition());return l==="select"?{val:{type:R.select,value:s,options:ir(O.val),location:Z},err:null}:{val:{type:R.plural,value:s,options:ir(O.val),offset:U,pluralType:l==="plural"?"cardinal":"ordinal",location:Z},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,S(o,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var s=this.char();switch(s){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var s=[];try{s=fn(t)}catch(n){return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:He.number,tokens:s,location:r,parsedOptions:this.shouldParseSkeletons?vn(s):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,s,n){for(var a,o=!1,l=[],c=new Set,u=n.value,h=n.location;;){if(u.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=S(f,this.clonePosition()),u=this.message.slice(f.offset,this.offset())}else break}if(c.has(u))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var w=this.parseMessage(t+1,r,s);if(w.err)return w;var b=this.tryParseArgumentClose(p);if(b.err)return b;l.push([u,{value:w.val,location:S(p,this.clonePosition())}]),c.add(u),this.bumpSpace(),a=this.parseIdentifierIfPossible(),u=a.value,h=a.location}return l.length===0?this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR:E.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(E.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var s=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(s=-1);for(var a=!1,o=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)a=!0,o=o*10+(l-48),this.bump();else break}var c=S(n,this.clonePosition());return a?(o*=s,An(o)?{val:o,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=jr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(ar(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),s=this.message.indexOf(t,r);return s>=0?(this.bumpTo(s),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),s=this.message.charCodeAt(r+(t>=65536?2:1));return s!=null?s:null},e}();function Mt(e){return e>=97&&e<=122||e>=65&&e<=90}function On(e){return Mt(e)||e===47}function Ln(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 zr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Rn(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,Lr(t)||Rr(t))for(var r in t.options)delete t.options[r].location,Ot(t.options[r].value);else Nr(t)&&kr(t.style)||(Mr(t)||Or(t))&&At(t.style)?delete t.style.location:Fr(t)&&Ot(t.children)})}function Fn(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Mn(e,t).parse();if(r.err){var s=SyntaxError(E[r.err.kind]);throw s.location=r.err.location,s.originalMessage=r.err.message,s}return t!=null&&t.captureLocation||Ot(r.val),r.val}function bt(e,t){var r=t&&t.cache?t.cache:jn,s=t&&t.serializer?t.serializer:Gn,n=t&&t.strategy?t.strategy:Un;return n(e,{cache:r,serializer:s})}function kn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Wr(e,t,r,s){var n=kn(s)?s:r(s),a=t.get(n);return typeof a=="undefined"&&(a=e.call(this,s),t.set(n,a)),a}function Xr(e,t,r){var s=Array.prototype.slice.call(arguments,3),n=r(s),a=t.get(n);return typeof a=="undefined"&&(a=e.apply(this,s),t.set(n,a)),a}function Ft(e,t,r,s,n){return r.bind(t,e,s,n)}function Un(e,t){var r=e.length===1?Wr:Xr;return Ft(e,this,r,t.cache.create(),t.serializer)}function $n(e,t){return Ft(e,this,Xr,t.cache.create(),t.serializer)}function Dn(e,t){return Ft(e,this,Wr,t.cache.create(),t.serializer)}var Gn=function(){return JSON.stringify(arguments)};function kt(){this.cache=Object.create(null)}kt.prototype.get=function(e){return this.cache[e]};kt.prototype.set=function(e,t){this.cache[e]=t};var jn={create:function(){return new kt}},wt={variadic:$n,monadic:Dn},Ne;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ne||(Ne={}));var ct=function(e){ie(t,e);function t(r,s,n){var a=e.call(this,r)||this;return a.code=s,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),lr=function(e){ie(t,e);function t(r,s,n,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(s,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ne.INVALID_VALUE,a)||this}return t}(ct),Vn=function(e){ie(t,e);function t(r,s,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(s),Ne.INVALID_VALUE,n)||this}return t}(ct),zn=function(e){ie(t,e);function t(r,s){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(s,'"'),Ne.MISSING_VALUE,s)||this}return t}(ct),X;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(X||(X={}));function Wn(e){return e.length<2?e:e.reduce(function(t,r){var s=t[t.length-1];return!s||s.type!==X.literal||r.type!==X.literal?t.push(r):s.value+=r.value,t},[])}function Xn(e){return typeof e=="function"}function nt(e,t,r,s,n,a,o){if(e.length===1&&tr(e[0]))return[{type:X.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var h=u[c];if(tr(h)){l.push({type:X.literal,value:h.value});continue}if(un(h)){typeof a=="number"&&l.push({type:X.literal,value:r.getNumberFormat(t).format(a)});continue}var f=h.value;if(!(n&&f in n))throw new zn(f,o);var m=n[f];if(ln(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),l.push({type:typeof m=="string"?X.literal:X.object,value:m});continue}if(Mr(h)){var p=typeof h.style=="string"?s.date[h.style]:At(h.style)?h.style.parsedOptions:void 0;l.push({type:X.literal,value:r.getDateTimeFormat(t,p).format(m)});continue}if(Or(h)){var p=typeof h.style=="string"?s.time[h.style]:At(h.style)?h.style.parsedOptions:s.time.medium;l.push({type:X.literal,value:r.getDateTimeFormat(t,p).format(m)});continue}if(Nr(h)){var p=typeof h.style=="string"?s.number[h.style]:kr(h.style)?h.style.parsedOptions:void 0;p&&p.scale&&(m=m*(p.scale||1)),l.push({type:X.literal,value:r.getNumberFormat(t,p).format(m)});continue}if(Fr(h)){var w=h.children,b=h.value,C=n[b];if(!Xn(C))throw new Vn(b,"function",o);var y=nt(w,t,r,s,n,a),T=C(y.map(function(U){return U.value}));Array.isArray(T)||(T=[T]),l.push.apply(l,T.map(function(U){return{type:typeof U=="string"?X.literal:X.object,value:U}}))}if(Lr(h)){var L=h.options[m]||h.options.other;if(!L)throw new lr(h.value,m,Object.keys(h.options),o);l.push.apply(l,nt(L.value,t,r,s,n));continue}if(Rr(h)){var L=h.options["=".concat(m)];if(!L){if(!Intl.PluralRules)throw new ct(`Intl.PluralRules is not available in this environment.
|
|
4
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
5
|
+
`,Ne.MISSING_INTL_API,o);var k=r.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));L=h.options[k]||h.options.other}if(!L)throw new lr(h.value,m,Object.keys(h.options),o);l.push.apply(l,nt(L.value,t,r,s,n,m-(h.offset||0)));continue}}return Wn(l)}function Zn(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(r,s){return r[s]=A(A({},e[s]),t[s]||{}),r},{})):e}function Qn(e,t){return t?Object.keys(e).reduce(function(r,s){return r[s]=Zn(e[s],t[s]),r},A({},e)):e}function yt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Jn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.NumberFormat).bind.apply(t,Ae([void 0],r,!1)))},{cache:yt(e.number),strategy:wt.variadic}),getDateTimeFormat:bt(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.DateTimeFormat).bind.apply(t,Ae([void 0],r,!1)))},{cache:yt(e.dateTime),strategy:wt.variadic}),getPluralRules:bt(function(){for(var t,r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];return new((t=Intl.PluralRules).bind.apply(t,Ae([void 0],r,!1)))},{cache:yt(e.pluralRules),strategy:wt.variadic})}}var Yn=function(){function e(t,r,s,n){var a=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=a.formatToParts(c);if(u.length===1)return u[0].value;var h=u.reduce(function(f,m){return!f.length||m.type!==X.literal||typeof f[f.length-1]!="string"?f.push(m.value):f[f.length-1]+=m.value,f},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return nt(a.ast,a.locales,a.formatters,a.formats,c,void 0,a.message)},this.resolvedOptions=function(){var c;return{locale:((c=a.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var o=n||{};o.formatters;var l=Is(o,["formatters"]);this.ast=e.__parse(t,A(A({},l),{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=Qn(e.formats,s),this.formatters=n&&n.formatters||Jn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Fn,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 qn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let s=e;for(let n=0;n<r.length;n++)if(typeof s=="object"){if(n>0){const a=r.slice(n,r.length).join(".");if(a in s){s=s[a];break}}s=s[r[n]]}else s=void 0;return s}const ce={},Kn=(e,t,r)=>r&&(t in ce||(ce[t]={}),e in ce[t]||(ce[t][e]=r),r),Zr=(e,t)=>{if(t==null)return;if(t in ce&&e in ce[t])return ce[t][e];const r=ht(t);for(let s=0;s<r.length;s++){const n=r[s],a=ta(n,e);if(a)return Kn(e,t,a)}};let Ut;const We=ut({});function ea(e){return Ut[e]||null}function Qr(e){return e in Ut}function ta(e,t){if(!Qr(e))return null;const r=ea(e);return qn(r,t)}function ra(e){if(e==null)return;const t=ht(e);for(let r=0;r<t.length;r++){const s=t[r];if(Qr(s))return s}}function Jr(e,...t){delete ce[e],We.update(r=>(r[e]=on.all([r[e]||{},...t]),r))}Le([We],([e])=>Object.keys(e));We.subscribe(e=>Ut=e);const at={};function sa(e,t){at[e].delete(t),at[e].size===0&&delete at[e]}function Yr(e){return at[e]}function na(e){return ht(e).map(t=>{const r=Yr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Lt(e){return e==null?!1:ht(e).some(t=>{var r;return(r=Yr(t))==null?void 0:r.size})}function aa(e,t){return Promise.all(t.map(s=>(sa(e,s),s().then(n=>n.default||n)))).then(s=>Jr(e,...s))}const De={};function qr(e){if(!Lt(e))return e in De?De[e]:Promise.resolve();const t=na(e);return De[e]=Promise.all(t.map(([r,s])=>aa(r,s))).then(()=>{if(Lt(e))return qr(e);delete De[e]}),De[e]}const ia={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"}}},oa={fallbackLocale:null,loadingDelay:200,formats:ia,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},la=oa;function Me(){return la}const Pt=ut(!1);var ua=Object.defineProperty,ca=Object.defineProperties,ha=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,da=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable,cr=(e,t,r)=>t in e?ua(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ma=(e,t)=>{for(var r in t||(t={}))da.call(t,r)&&cr(e,r,t[r]);if(ur)for(var r of ur(t))fa.call(t,r)&&cr(e,r,t[r]);return e},pa=(e,t)=>ca(e,ha(t));let Rt;const it=ut(null);function hr(e){return e.split("-").map((t,r,s)=>s.slice(0,r+1).join("-")).reverse()}function ht(e,t=Me().fallbackLocale){const r=hr(e);return t?[...new Set([...r,...hr(t)])]:r}function fe(){return Rt!=null?Rt:void 0}it.subscribe(e=>{Rt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ga=e=>{if(e&&ra(e)&&Lt(e)){const{loadingDelay:t}=Me();let r;return typeof window!="undefined"&&fe()!=null&&t?r=window.setTimeout(()=>Pt.set(!0),t):Pt.set(!0),qr(e).then(()=>{it.set(e)}).finally(()=>{clearTimeout(r),Pt.set(!1)})}return it.set(e)},Re=pa(ma({},it),{set:ga}),dt=e=>{const t=Object.create(null);return s=>{const n=JSON.stringify(s);return n in t?t[n]:t[n]=e(s)}};var va=Object.defineProperty,ot=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,es=Object.prototype.propertyIsEnumerable,dr=(e,t,r)=>t in e?va(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,$t=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&dr(e,r,t[r]);if(ot)for(var r of ot(t))es.call(t,r)&&dr(e,r,t[r]);return e},Fe=(e,t)=>{var r={};for(var s in e)Kr.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(e!=null&&ot)for(var s of ot(e))t.indexOf(s)<0&&es.call(e,s)&&(r[s]=e[s]);return r};const ze=(e,t)=>{const{formats:r}=Me();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ba=dt(e=>{var t=e,{locale:r,format:s}=t,n=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return s&&(n=ze("number",s)),new Intl.NumberFormat(r,n)}),wa=dt(e=>{var t=e,{locale:r,format:s}=t,n=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return s?n=ze("date",s):Object.keys(n).length===0&&(n=ze("date","short")),new Intl.DateTimeFormat(r,n)}),ya=dt(e=>{var t=e,{locale:r,format:s}=t,n=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return s?n=ze("time",s):Object.keys(n).length===0&&(n=ze("time","short")),new Intl.DateTimeFormat(r,n)}),Pa=(e={})=>{var t=e,{locale:r=fe()}=t,s=Fe(t,["locale"]);return ba($t({locale:r},s))},_a=(e={})=>{var t=e,{locale:r=fe()}=t,s=Fe(t,["locale"]);return wa($t({locale:r},s))},xa=(e={})=>{var t=e,{locale:r=fe()}=t,s=Fe(t,["locale"]);return ya($t({locale:r},s))},Ea=dt((e,t=fe())=>new Yn(e,t,Me().formats,{ignoreTag:Me().ignoreTag})),Ca=(e,t={})=>{var r,s,n,a;let o=t;typeof e=="object"&&(o=e,e=o.id);const{values:l,locale:c=fe(),default:u}=o;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Zr(e,c);if(!h)h=(a=(n=(s=(r=Me()).handleMissingMessage)==null?void 0:s.call(r,{locale:c,id:e,defaultValue:u}))!=null?n:u)!=null?a:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let f=h;try{f=Ea(h,c).format(l)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return f},Ta=(e,t)=>xa(t).format(e),Sa=(e,t)=>_a(t).format(e),Ba=(e,t)=>Pa(t).format(e),Aa=(e,t=fe())=>Zr(e,t),Ia=Le([Re,We],()=>Ca);Le([Re],()=>Ta);Le([Re],()=>Sa);Le([Re],()=>Ba);Le([Re,We],()=>Aa);window.emWidgets={topic:js};const Ha=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function fr(e,t){Jr(e,t)}function Na(e){Re.set(e)}const mr={en:{titleChangePassword:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",simplePasswordError:"Password must be 8-20 characters long.",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back"},"zh-hk":{titleChangePassword:"更改密碼",currentPassword:"當前密碼",invalidCurrentPassword:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",newPassword:"新密碼",invalidNewPassword:"新密碼必須與舊密碼不同。",invalidNewPasswordSecondary:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",confirmPassword:"確認密碼",simplePasswordError:"密码长度必须为 8-20 个字符。",confirmPasswordInvalid:"密碼必須與新密碼匹配,並且必須遵循相同的規則。",submitChangePassword:"更改密碼",returnToMenu:"返回菜單",changePasswordText:"更改密碼",passwordReset:"重設密碼",passwordResetConfirmation:"您的密碼已成功重置。",backButtonText:"回到賭場"},fr:{titleChangePassword:"Modifier le mot de passe",currentPassword:"Mot de passe actuel:",invalidCurrentPassword:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",newPassword:"Nouveau mot de passe:",invalidNewPassword:"Le nouveau mot de passe doit être different de l'ancien.",invalidNewPasswordSecondary:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",confirmPassword:"Confirmer le mot de passe:",confirmPasswordInvalid:"Le mot de passe doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",submitChangePassword:"Modifier le mot de passe",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",returnToMenu:"Retour au menu",changePasswordText:"Modifier le mot de passe",passwordReset:"Réinitialisation du mot de passe",passwordResetConfirmation:"Votre mot de passe a été réinitialisé avec succès.",backButtonText:"Retour"},ro:{titleChangePassword:"Schimbă parola",currentPassword:"Parola curentă",invalidCurrentPassword:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special.",newPassword:"Parola nouă",invalidNewPassword:"Noua parolă trebuie să fie diferită de cea veche.",invalidNewPasswordSecondary:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special.",confirmPassword:"Confirmă parola",confirmPasswordInvalid:"Parolele trebuie să coincidă și să îndeplinească aceleași condiții.",submitChangePassword:"Schimbă parola",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi"},es:{titleChangePassword:"Cambiar Contraseña",currentPassword:"Contraseña Actual",invalidCurrentPassword:"La contraseña debe ser entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",newPassword:"Nueva contraseña:",invalidNewPassword:"La nueva contraseña debe ser diferente de la contraseña anterior.",invalidNewPasswordSecondary:"Cambiar Contraseñay contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",confirmPassword:"Confirmar Contraseña:",confirmPasswordInvalid:"La Contraseña debe coincidir con la Nueva Contraseña y debe seguir las mismas reglas.",submitChangePassword:"Cambiar Contraseña",simplePasswordError:"La contraseña debe ser entre 8 a 20 caracteres.",returnToMenu:"Regresar al menu",changePasswordText:"Cambiar Contraseña",passwordReset:"REESTABLECER CONTRASEÑA",passwordResetConfirmation:"Tu contraseña se ha reestablecido exitosamente..",backButtonText:"Regresar"},pt:{titleChangePassword:"Mudar senha",currentPassword:"Senha atual",invalidCurrentPassword:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",newPassword:"Nova Senha",invalidNewPassword:"A nova senha deve ser diferente da senha antiga.",invalidNewPasswordSecondary:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",confirmPassword:"Confirme sua senha",confirmPasswordInvalid:"A senha deve corresponder à nova senha e deve seguir as mesmas regras.",submitChangePassword:"Mudar senha",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",returnToMenu:"Voltar ao menu",changePasswordText:"Mudar senha",passwordReset:"REDEFINIÇÃO DE SENHA",passwordResetConfirmation:"Sua senha foi redefinida com sucesso.",backButtonText:"Voltar"},hr:{titleChangePassword:"Promijeni lozinku",currentPassword:"Trenutna lozinka",invalidCurrentPassword:"Lozinka bi trebala imati 8-20 znakova",newPassword:"Nova lozinka",invalidNewPassword:"Nova lozinka mora se razlikovati od stare lozinke.",invalidNewPasswordSecondary:"Lozinka bi trebala imati 8-20 znakova",confirmPassword:"Potvrdi lozinku",confirmPasswordInvalid:"Lozinka mora odgovarati novoj lozinci i mora slijediti ista pravila.",submitChangePassword:"Promjena lozinke",simplePasswordError:"Lozinka mora imati 8-20 znakova.",returnToMenu:"Povratak na izbornik",changePasswordText:"Promjena lozinke",passwordReset:"RESETIRANJE LOZINKE",passwordResetConfirmation:"Vaša lozinka je uspješno resetirana.",backButtonText:"Natrag",currentPasswordError:"Pogrešna lozinka",newPasswordError:"Nova lozinka mora imati 8-20 znakova",confirmPasswordError:"Lozinke se ne podudaraju",successMessage:"Vaša je lozinka promijenjena",save:"Spremi",requiredError:"Potreban unos"},"pt-br":{titleChangePassword:"Alterar a senha",currentpassword:"Senha atual:",invalidCurrentpassword:"A senha deve ter de 8 a 20 caracteres,e ter pelo menos 1 maiúscula, 1 número e 1 caractere especial",newpassword:"Senha nova:",invalidNewpassword:"A nova senha deve ser diferente da senha antiga",invalidNewPasswordSecondary:"A senha deve ter de 8 a 20 caracteres,e ter pelo menos 1 maiúscula, 1 número e 1 caractere especial",confirmPassword:"Confirmar senha:",confirmpasswordInvalid:"A confirmação da senha deverá corresponder à nova senha e deverá seguir as mesmas regras",submitChangepassword:"Alterar a senha",simplePasswordError:"A senha deve ter de 8 a 20 caracteres",returnToMenu:"Voltar ao cardápio",changepasswordText:"Alterar a senha",PasswordReset:"Restaurar senha",PasswordResetConfirmation:"Sua senha foi redefinida com sucesso",backButtonText:"Voltar"},"es-mx":{titleChangePassword:"Cambiar Contraseña",currentpassword:"Password actual:",invalidCurrentpassword:"La Contraseña debe tener de 8 a 20 caracteres de largo,y debe contener una mayúscula, 1 número y 1 caracter especial",newpassword:"Contraseña nueva:",invalidNewpassword:"La nueva contraseña debe ser diferente a la contraseña anterior",invalidNewPasswordSecondary:"La Contraseña debe tener de 8 a 20 caracteres de largo, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirmar contraseña:",confirmpasswordInvalid:"La confirmación de contraseña debe coincidir con la nueva contraseña y debe seguir las mismas reglas",submitChangepassword:"Cambiar Contraseña",simplePasswordError:"La Contraseña debe tener de 8 a 20 caracteres de largo",returnToMenu:"Regresar al menú",changepasswordText:"Cambiar Contraseña",PasswordReset:"Restablecer Contraseña",PasswordResetConfirmation:"Su Contraseña ha sido restablecida de forma exitosa",backButtonText:"Atrás"},tr:{titleChangePassword:"Şifre değiştir",currentPassword:"Mevcut Şifre:",invalidCurrentPassword:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",newPassword:"Yeni Şifre:",invalidNewPassword:"Yeni şifre eski şifreden farklı olmalıdır.",invalidNewPasswordSecondary:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",confirmPassword:"Şifreyi Onayla:",confirmPasswordInvalid:"Şifre yeni şifreyle eşleşmeli ve aynı kurallara uymalıdır.",submitChangePassword:"Şifre değiştir",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalıdır.",returnToMenu:"Menüye dön",changePasswordText:"Şifre değiştir",passwordReset:"PAROLA SIFIRLAMA",passwordResetConfirmation:"Şifreniz başarıyla sıfırlandı.",backButtonText:"Geri"}};function Ma(e){us(e,"svelte-1rc0gdm",'.PlayerChangePasswordWrapper.svelte-1rc0gdm.svelte-1rc0gdm{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:400px;background-color:var(--emw--pam-typography, var(--emw--color-typography, #F1F1F1));border-radius:5%}.ChangePasswordTitle.svelte-1rc0gdm.svelte-1rc0gdm{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--color-primary, #22B04E);font-weight:var(--emw--font-weight-semibold, 500)}.ChangePasswordTitleMobile.svelte-1rc0gdm.svelte-1rc0gdm{font-size:var(--emw--font-size-large, 20px);color:var(--emw--color-primary, #22B04E)}.ChangePasswordTitleNone.svelte-1rc0gdm.svelte-1rc0gdm{display:none}.PlayerChangePasswordContent.svelte-1rc0gdm.svelte-1rc0gdm{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea.svelte-1rc0gdm.svelte-1rc0gdm{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton.svelte-1rc0gdm.svelte-1rc0gdm{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;font-family:var(--emw--button-typography);color:var(--emw--pam-typography, var(---emw--button-text-color, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive.svelte-1rc0gdm.svelte-1rc0gdm{opacity:0.3}.PlayerChangePasswordSaveButton.svelte-1rc0gdm.svelte-1rc0gdm{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordBox.svelte-1rc0gdm.svelte-1rc0gdm{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox.svelte-1rc0gdm label.svelte-1rc0gdm{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm{font-family:inherit;font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--color-contrast, #07072A);padding:10px;line-height:16px;border:2px solid var(--emw--color-gray-100, #D6D6D6);background:var(--emw-pam-typography, var(--emw--color-typography, #FFFFFF));border-radius:10px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm:focus,.PlayerChangePasswordBox.svelte-1rc0gdm input .svelte-1rc0gdm:focus-within,.PlayerChangePasswordBox.svelte-1rc0gdm input .svelte-1rc0gdm:focus-visible,.PlayerChangePasswordBox.svelte-1rc0gdm input .svelte-1rc0gdm:visited{box-shadow:0 0 0 1pt var(--emw--color-primary, #22B04E)}.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm::-webkit-outer-spin-button,.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm::-ms-reveal,.PlayerChangePasswordBox.svelte-1rc0gdm input.svelte-1rc0gdm::-ms-clear{display:none}.PlayerChangePasswordBox.InvalidField.svelte-1rc0gdm input.svelte-1rc0gdm{border:1px solid var(--emw--color-error, #FD2839);background:var(--emw--color-pale, #FBECF4);color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordBox:last-child.InvalidField.svelte-1rc0gdm .InvalidInput.svelte-1rc0gdm{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField.svelte-1rc0gdm .InvalidInputNew.svelte-1rc0gdm{bottom:-24px}.TogglePasswordVisibility.svelte-1rc0gdm.svelte-1rc0gdm{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle.svelte-1rc0gdm path.svelte-1rc0gdm,.TogglePasswordVisibility.InvalidToggle.svelte-1rc0gdm circle.svelte-1rc0gdm,.TogglePasswordVisibility.InvalidToggle.svelte-1rc0gdm rect.svelte-1rc0gdm{fill:var(--emw--color-error, #FD2839)}.TogglePasswordVisibility.svelte-1rc0gdm path.svelte-1rc0gdm,.TogglePasswordVisibility.svelte-1rc0gdm circle.svelte-1rc0gdm,.TogglePasswordVisibility.svelte-1rc0gdm rect.svelte-1rc0gdm{fill:var(--emw--color-gray-300, #58586B)}.TogglePasswordVisibilityMobile.svelte-1rc0gdm.svelte-1rc0gdm{top:35px}.InvalidInput.svelte-1rc0gdm.svelte-1rc0gdm,.InvalidInputNew.svelte-1rc0gdm.svelte-1rc0gdm{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-2x-small, 10px);padding-top:5px;margin:0;line-height:12px}.InvalidInputNew.svelte-1rc0gdm.svelte-1rc0gdm{bottom:-24px}.PasswordChangedError.svelte-1rc0gdm.svelte-1rc0gdm{color:var(--emw--color-error, #FD2839);font-size:var(--emw--font-size-medium, 16px);line-height:18px;margin-top:0}.ChangedPasswordSuccessfully.svelte-1rc0gdm.svelte-1rc0gdm{color:var(--emw--button-text-color, #FFFFFF);position:relative}.ChangedPasswordSuccessfully.svelte-1rc0gdm .SuccessWrapper.svelte-1rc0gdm{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully.svelte-1rc0gdm .IconContainer.svelte-1rc0gdm{width:45px;height:45px;border:1px solid var(--emw--color-valid, #48952a);border-radius:var(--emw--button-border-radius, 50px);display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully.svelte-1rc0gdm .Checkmark.svelte-1rc0gdm{width:12px;height:22px;border:1px solid var(--emw--color-valid, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully.svelte-1rc0gdm h3.svelte-1rc0gdm{font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-normal, 400);margin:10px 0;color:var(--emw--color-valid, #48952a)}.ChangedPasswordSuccessfully.svelte-1rc0gdm p.svelte-1rc0gdm{margin:0;font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.ChangedPasswordSuccessfully.svelte-1rc0gdm .TextContainer.svelte-1rc0gdm{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully.svelte-1rc0gdm .PlayerChangePasswordBackButton.svelte-1rc0gdm{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-text-color, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emw--color-primary, #22B04E);background:var(--emw--color-primary, #22B04E);max-width:185px}.ChangedPasswordSuccessfully.svelte-1rc0gdm .PlayerChangePasswordBackButton.svelte-1rc0gdm:hover{color:var(--emw--color-primary, #22B04E);background:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm.svelte-1rc0gdm{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm.svelte-1rc0gdm:after{content:"";position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordHeader h3.svelte-1rc0gdm{color:var(--emw-pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordBox label.svelte-1rc0gdm{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordBox input.svelte-1rc0gdm{font-family:inherit;color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--font-size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordButtonsArea.svelte-1rc0gdm{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordSaveButton.svelte-1rc0gdm{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px);height:44px;color:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordSaveButton.svelte-1rc0gdm{font-family:inherit;color:var(--emw--button-text-color, #FFFFFF)}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .PlayerChangePasswordSaveButton.ButtonInactive.svelte-1rc0gdm{opacity:0.3}.PlayerChangePasswordWrapperMobile.svelte-1rc0gdm .ChangedPasswordSuccessfully.svelte-1rc0gdm{color:var(--emw--color-gray-300, #58586B)}.MenuReturnButton.svelte-1rc0gdm.svelte-1rc0gdm{font-family:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm.svelte-1rc0gdm{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordContent.svelte-1rc0gdm{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .MenuReturnButton.svelte-1rc0gdm{font-family:inherit;margin-bottom:30px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .MenuReturnButton span.svelte-1rc0gdm{font-size:var(--emw--font-size-large, 20px)}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox label.svelte-1rc0gdm{font-size:var(--emw--font-size-large, 20px);font-family:inherit}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox input.svelte-1rc0gdm{font-family:inherit;height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility.svelte-1rc0gdm{width:30px;top:46px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path.svelte-1rc0gdm,.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle.svelte-1rc0gdm,.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect.svelte-1rc0gdm{fill:var(--emw--color-error, #FD2839)}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility path.svelte-1rc0gdm,.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility circle.svelte-1rc0gdm,.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .TogglePasswordVisibility rect.svelte-1rc0gdm{fill:var(--emw--color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox .InvalidInput.svelte-1rc0gdm{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordBox:last-child .InvalidInput.svelte-1rc0gdm{font-size:var(--emw--font-size-medium, 16px);bottom:-50px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordButtonsArea.svelte-1rc0gdm{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.svelte-1rc0gdm{font-size:18px;font-family:inherit;height:56px}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.svelte-1rc0gdm{color:var(--emw--button-text-color, #FFFFFF);font-family:inherit}.PlayerChangePasswordWrapperTablet.svelte-1rc0gdm .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive.svelte-1rc0gdm{color:var(--emw--color-gray-300, #58586B)}')}function Oa(e){let t;function r(a,o){return a[2]?La:Ra}let s=r(e),n=s(e);return{c(){t=x("form"),n.c(),i(t,"class","PlayerChangePasswordWrapper "+(e[20]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[21].matches&&e[20]?"PlayerChangePasswordWrapperTablet":"")+" svelte-1rc0gdm")},m(a,o){H(a,t,o),n.m(t,null)},p(a,o){s===(s=r(a))&&n?n.p(a,o):(n.d(1),n=s(a),n&&(n.c(),n.m(t,null)))},d(a){a&&I(t),n.d()}}}function La(e){let t,r,s,n=e[19]("changePasswordText")+"",a,o,l,c,u,h,f,m,p=e[19]("passwordReset")+"",w,b,C,y=e[19]("passwordResetConfirmation")+"",T,L,k,U=e[19]("backButtonText")+"",O,Z,te,$=e[20]&&Fa(e);return{c(){$&&$.c(),t=F(),r=x("div"),s=x("h3"),a=M(n),o=F(),l=x("div"),c=x("div"),u=x("div"),u.innerHTML='<div class="Checkmark svelte-1rc0gdm"></div>',h=F(),f=x("div"),m=x("h3"),w=M(p),b=F(),C=x("p"),T=M(y),L=F(),k=x("div"),O=M(U),i(s,"class","svelte-1rc0gdm"),i(r,"class","PlayerChangePasswordHeader"),i(u,"class","IconContainer svelte-1rc0gdm"),i(m,"class","svelte-1rc0gdm"),i(C,"class","svelte-1rc0gdm"),i(f,"class","TextContainer svelte-1rc0gdm"),i(c,"class","SuccessWrapper svelte-1rc0gdm"),i(k,"class","PlayerChangePasswordBackButton svelte-1rc0gdm"),i(l,"class","ChangedPasswordSuccessfully svelte-1rc0gdm")},m(N,B){$&&$.m(N,B),H(N,t,B),H(N,r,B),d(r,s),d(s,a),H(N,o,B),H(N,l,B),d(l,c),d(c,u),d(c,h),d(c,f),d(f,m),d(m,w),d(f,b),d(f,C),d(C,T),d(l,L),d(l,k),d(k,O),Z||(te=W(k,"click",e[46]),Z=!0)},p(N,B){N[20]&&$.p(N,B),B[0]&524288&&n!==(n=N[19]("changePasswordText")+"")&&G(a,n),B[0]&524288&&p!==(p=N[19]("passwordReset")+"")&&G(w,p),B[0]&524288&&y!==(y=N[19]("passwordResetConfirmation")+"")&&G(T,y),B[0]&524288&&U!==(U=N[19]("backButtonText")+"")&&G(O,U)},d(N){N&&(I(t),I(r),I(o),I(l)),$&&$.d(N),Z=!1,te()}}}function Ra(e){let t,r,s=e[19]("titleChangePassword")+"",n,a,o,l,c,u=e[19]("currentPassword")+"",h,f,m,p,w,b,C,y,T,L=e[19]("newPassword")+"",k,U,O,Z,te,$,N,B,oe,he=e[19]("confirmPassword")+"",me,Xe,D,Ze,ke,re,Ue,le,se,K,pe=e[19]("submitChangePassword")+"",ge,ve,be,$e,Qe,ne=e[20]&&ka(e);function Je(_,P){return _[10]?$a:Ua}let we=Je(e),Q=we(e),j=e[4]&&pr(e);function Ye(_,P){return _[11]?Va:ja}let ye=Ye(e),J=ye(e);function qe(_,P){if(_[13])return Wa;if(_[5])return za}let ue=qe(e),V=ue&&ue(e);function Ke(_,P){return _[12]?Ja:Qa}let Pe=Ke(e),Y=Pe(e),z=e[6]&&gr(e),v=e[18]&&vr(e);return{c(){ne&&ne.c(),t=F(),r=x("h2"),n=M(s),a=F(),o=x("section"),l=x("div"),c=x("label"),h=M(u),f=F(),m=x("input"),p=F(),Q.c(),w=F(),j&&j.c(),C=F(),y=x("div"),T=x("label"),k=M(L),U=F(),O=x("input"),Z=F(),J.c(),te=F(),V&&V.c(),N=F(),B=x("div"),oe=x("label"),me=M(he),Xe=F(),D=x("input"),Ze=F(),Y.c(),ke=F(),z&&z.c(),Ue=F(),v&&v.c(),le=F(),se=x("section"),K=x("button"),ge=M(pe),i(r,"class","ChangePasswordTitle "+(e[20]?"ChangePasswordTitleNone":"")+" svelte-1rc0gdm"),i(c,"for","CurrentPassword"),i(c,"class","svelte-1rc0gdm"),i(m,"id","CurrentPassword"),i(m,"type","password"),i(m,"class","svelte-1rc0gdm"),i(l,"class",b="PlayerChangePasswordBox "+(e[4]?"InvalidField":"")+" svelte-1rc0gdm"),i(T,"for","NewPassword"),i(T,"class","svelte-1rc0gdm"),i(O,"id","NewPassword"),i(O,"autocomplete","new-password"),i(O,"type","password"),i(O,"class","svelte-1rc0gdm"),i(y,"class",$="PlayerChangePasswordBox "+(e[5]?"InvalidField":"")+" svelte-1rc0gdm"),i(oe,"for","ConfirmPassword"),i(oe,"class","svelte-1rc0gdm"),i(D,"id","ConfirmPassword"),i(D,"type","password"),i(D,"class","svelte-1rc0gdm"),i(B,"class",re="PlayerChangePasswordBox "+(e[6]?"InvalidField":"")+" svelte-1rc0gdm"),i(o,"class","PlayerChangePasswordContent svelte-1rc0gdm"),i(K,"class",ve="PlayerChangePasswordSaveButton "+(e[3]?"":"ButtonInactive")+" svelte-1rc0gdm"),K.disabled=be=!e[3],i(se,"class","PlayerChangePasswordButtonsArea svelte-1rc0gdm")},m(_,P){ne&&ne.m(_,P),H(_,t,P),H(_,r,P),d(r,n),H(_,a,P),H(_,o,P),d(o,l),d(l,c),d(c,h),d(l,f),d(l,m),_e(m,e[14]),e[33](m),d(l,p),Q.m(l,null),d(l,w),j&&j.m(l,null),d(o,C),d(o,y),d(y,T),d(T,k),d(y,U),d(y,O),_e(O,e[15]),e[37](O),d(y,Z),J.m(y,null),d(y,te),V&&V.m(y,null),d(o,N),d(o,B),d(B,oe),d(oe,me),d(B,Xe),d(B,D),_e(D,e[16]),e[41](D),d(B,Ze),Y.m(B,null),d(B,ke),z&&z.m(B,null),H(_,Ue,P),v&&v.m(_,P),H(_,le,P),H(_,se,P),d(se,K),d(K,ge),$e||(Qe=[W(m,"input",e[32]),W(m,"blur",function(){Se(e[23](e[4],e[14],e[7]))&&e[23](e[4],e[14],e[7]).apply(this,arguments)}),W(O,"input",e[36]),W(O,"blur",function(){Se(e[23](e[5],e[15],e[8]))&&e[23](e[5],e[15],e[8]).apply(this,arguments)}),W(D,"input",e[40]),W(D,"blur",function(){Se(e[23](e[6],e[16],e[9]))&&e[23](e[6],e[16],e[9]).apply(this,arguments)}),W(K,"click",e[44])],$e=!0)},p(_,P){e=_,e[20]&&ne.p(e,P),P[0]&524288&&s!==(s=e[19]("titleChangePassword")+"")&&G(n,s),P[0]&524288&&u!==(u=e[19]("currentPassword")+"")&&G(h,u),P[0]&16384&&m.value!==e[14]&&_e(m,e[14]),we===(we=Je(e))&&Q?Q.p(e,P):(Q.d(1),Q=we(e),Q&&(Q.c(),Q.m(l,w))),e[4]?j?j.p(e,P):(j=pr(e),j.c(),j.m(l,null)):j&&(j.d(1),j=null),P[0]&16&&b!==(b="PlayerChangePasswordBox "+(e[4]?"InvalidField":"")+" svelte-1rc0gdm")&&i(l,"class",b),P[0]&524288&&L!==(L=e[19]("newPassword")+"")&&G(k,L),P[0]&32768&&O.value!==e[15]&&_e(O,e[15]),ye===(ye=Ye(e))&&J?J.p(e,P):(J.d(1),J=ye(e),J&&(J.c(),J.m(y,te))),ue===(ue=qe(e))&&V?V.p(e,P):(V&&V.d(1),V=ue&&ue(e),V&&(V.c(),V.m(y,null))),P[0]&32&&$!==($="PlayerChangePasswordBox "+(e[5]?"InvalidField":"")+" svelte-1rc0gdm")&&i(y,"class",$),P[0]&524288&&he!==(he=e[19]("confirmPassword")+"")&&G(me,he),P[0]&65536&&D.value!==e[16]&&_e(D,e[16]),Pe===(Pe=Ke(e))&&Y?Y.p(e,P):(Y.d(1),Y=Pe(e),Y&&(Y.c(),Y.m(B,ke))),e[6]?z?z.p(e,P):(z=gr(e),z.c(),z.m(B,null)):z&&(z.d(1),z=null),P[0]&64&&re!==(re="PlayerChangePasswordBox "+(e[6]?"InvalidField":"")+" svelte-1rc0gdm")&&i(B,"class",re),e[18]?v?v.p(e,P):(v=vr(e),v.c(),v.m(le.parentNode,le)):v&&(v.d(1),v=null),P[0]&524288&&pe!==(pe=e[19]("submitChangePassword")+"")&&G(ge,pe),P[0]&8&&ve!==(ve="PlayerChangePasswordSaveButton "+(e[3]?"":"ButtonInactive")+" svelte-1rc0gdm")&&i(K,"class",ve),P[0]&8&&be!==(be=!e[3])&&(K.disabled=be)},d(_){_&&(I(t),I(r),I(a),I(o),I(Ue),I(le),I(se)),ne&&ne.d(_),e[33](null),Q.d(),j&&j.d(),e[37](null),J.d(),V&&V.d(),e[41](null),Y.d(),z&&z.d(),v&&v.d(_),$e=!1,Oe(Qe)}}}function Fa(e){let t,r,s,n,a,o,l=e[19]("returnToMenu")+"",c,u,h;return{c(){t=x("div"),r=g("svg"),s=g("g"),n=g("path"),a=F(),o=x("span"),c=M(l),i(n,"id","Chevron_Right"),i(n,"d",`M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179
|
|
6
|
+
l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816
|
|
7
|
+
C52.942,116.507,52.942,124.327,57.633,129.007z`),i(n,"class","svelte-1rc0gdm"),i(r,"version","1.1"),i(r,"id","Capa_1"),i(r,"xmlns","http://www.w3.org/2000/svg"),i(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),i(r,"x","0px"),i(r,"y","0px"),i(r,"viewBox","0 0 240.823 240.823"),fs(r,"enable-background","new 0 0 240.823 240.823"),i(r,"xml:space","preserve"),i(r,"width","18px"),i(r,"fill","var(--emw--color-gray-300, #58586B)"),i(o,"class","svelte-1rc0gdm"),i(t,"class","MenuReturnButton svelte-1rc0gdm")},m(f,m){H(f,t,m),d(t,r),d(r,s),d(s,n),d(t,a),d(t,o),d(o,c),u||(h=W(t,"click",e[45]),u=!0)},p(f,m){m[0]&524288&&l!==(l=f[19]("returnToMenu")+"")&&G(c,l)},d(f){f&&I(t),u=!1,h()}}}function ka(e){let t,r,s,n,a,o,l,c,u,h,f=e[19]("titleChangePassword")+"",m,p,w;return{c(){t=x("div"),r=g("svg"),s=g("defs"),n=g("style"),a=M(".aaa{fill:var(--emw--color-primary, #22B04E);;}"),o=g("g"),l=g("g"),c=g("path"),u=F(),h=x("h2"),m=M(f),i(c,"class","aaa svelte-1rc0gdm"),i(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),i(c,"transform","translate(15 15) rotate(180)"),i(l,"transform","translate(20 158)"),i(o,"transform","translate(-20 -158)"),i(r,"xmlns","http://www.w3.org/2000/svg"),i(r,"width","15"),i(r,"height","15"),i(r,"viewBox","0 0 15 15"),i(h,"class","ChangePasswordTitleMobile svelte-1rc0gdm"),i(t,"class","MenuReturnButton svelte-1rc0gdm")},m(b,C){H(b,t,C),d(t,r),d(r,s),d(s,n),d(n,a),d(r,o),d(o,l),d(l,c),d(t,u),d(t,h),d(h,m),p||(w=W(t,"click",e[31]),p=!0)},p(b,C){C[0]&524288&&f!==(f=b[19]("titleChangePassword")+"")&&G(m,f)},d(b){b&&I(t),p=!1,w()}}}function Ua(e){let t,r,s,n,a,o,l,c,u,h;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("path"),l=g("circle"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),i(o,"transform","translate(0)"),i(l,"class","a svelte-1rc0gdm"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(a,"transform","translate(-14.185 -27.832)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",c="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(f,m){H(f,t,m),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),u||(h=W(t,"click",e[35]),u=!0)},p(f,m){m[0]&16&&c!==(c="TogglePasswordVisibility "+(f[4]?"InvalidToggle":"")+" "+(f[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",c)},d(f){f&&I(t),u=!1,h()}}}function $a(e){let t,r,s,n,a,o,l,c,u,h,f,m,p,w,b,C;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("circle"),l=g("g"),c=g("path"),u=g("path"),h=g("g"),f=g("path"),m=g("path"),p=g("rect"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"cx","0.05"),i(o,"cy","0.05"),i(o,"r","0.05"),i(o,"transform","translate(121.017 31.148)"),i(c,"class","a svelte-1rc0gdm"),i(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(c,"transform","translate(-142.164 -39.123)"),i(u,"class","a svelte-1rc0gdm"),i(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(u,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(l,"class","svelte-1rc0gdm"),i(f,"class","a svelte-1rc0gdm"),i(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(f,"transform","translate(-110.856 -33.157)"),i(m,"class","a svelte-1rc0gdm"),i(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),i(m,"transform","translate(-130.743 -29.617)"),i(h,"transform","translate(110.856 24.899)"),i(h,"class","svelte-1rc0gdm"),i(p,"class","a svelte-1rc0gdm"),i(p,"width","0.972"),i(p,"height","15.861"),i(p,"rx","0.486"),i(p,"transform","translate(114.827 23.858) rotate(-39.315)"),i(a,"transform","translate(-110.856 -23.242)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",w="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(y,T){H(y,t,T),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),d(l,c),d(l,u),d(a,h),d(h,f),d(h,m),d(a,p),b||(C=W(t,"click",e[34]),b=!0)},p(y,T){T[0]&16&&w!==(w="TogglePasswordVisibility "+(y[4]?"InvalidToggle":"")+" "+(y[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",w)},d(y){y&&I(t),b=!1,C()}}}function pr(e){let t;function r(a,o){return a[0]=="true"?Ga:Da}let s=r(e),n=s(e);return{c(){n.c(),t=Pr()},m(a,o){n.m(a,o),H(a,t,o)},p(a,o){s===(s=r(a))&&n?n.p(a,o):(n.d(1),n=s(a),n&&(n.c(),n.m(t.parentNode,t)))},d(a){a&&I(t),n.d(a)}}}function Da(e){let t,r=e[19]("invalidCurrentPassword")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInput svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("invalidCurrentPassword")+"")&&G(s,r)},d(n){n&&I(t)}}}function Ga(e){let t,r=e[19]("simplePasswordError")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInput svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("simplePasswordError")+"")&&G(s,r)},d(n){n&&I(t)}}}function ja(e){let t,r,s,n,a,o,l,c,u,h;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("path"),l=g("circle"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),i(o,"transform","translate(0)"),i(l,"class","a svelte-1rc0gdm"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(a,"transform","translate(-14.185 -27.832)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",c="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(f,m){H(f,t,m),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),u||(h=W(t,"click",e[39]),u=!0)},p(f,m){m[0]&32&&c!==(c="TogglePasswordVisibility "+(f[5]?"InvalidToggle":"")+" "+(f[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",c)},d(f){f&&I(t),u=!1,h()}}}function Va(e){let t,r,s,n,a,o,l,c,u,h,f,m,p,w,b,C;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("circle"),l=g("g"),c=g("path"),u=g("path"),h=g("g"),f=g("path"),m=g("path"),p=g("rect"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"cx","0.05"),i(o,"cy","0.05"),i(o,"r","0.05"),i(o,"transform","translate(121.017 31.148)"),i(c,"class","a svelte-1rc0gdm"),i(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(c,"transform","translate(-142.164 -39.123)"),i(u,"class","a svelte-1rc0gdm"),i(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(u,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(l,"class","svelte-1rc0gdm"),i(f,"class","a svelte-1rc0gdm"),i(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(f,"transform","translate(-110.856 -33.157)"),i(m,"class","a svelte-1rc0gdm"),i(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),i(m,"transform","translate(-130.743 -29.617)"),i(h,"transform","translate(110.856 24.899)"),i(h,"class","svelte-1rc0gdm"),i(p,"class","a svelte-1rc0gdm"),i(p,"width","0.972"),i(p,"height","15.861"),i(p,"rx","0.486"),i(p,"transform","translate(114.827 23.858) rotate(-39.315)"),i(a,"transform","translate(-110.856 -23.242)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",w="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(y,T){H(y,t,T),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),d(l,c),d(l,u),d(a,h),d(h,f),d(h,m),d(a,p),b||(C=W(t,"click",e[38]),b=!0)},p(y,T){T[0]&32&&w!==(w="TogglePasswordVisibility "+(y[5]?"InvalidToggle":"")+" "+(y[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",w)},d(y){y&&I(t),b=!1,C()}}}function za(e){let t;function r(a,o){return a[0]=="true"?Za:Xa}let s=r(e),n=s(e);return{c(){n.c(),t=Pr()},m(a,o){n.m(a,o),H(a,t,o)},p(a,o){s===(s=r(a))&&n?n.p(a,o):(n.d(1),n=s(a),n&&(n.c(),n.m(t.parentNode,t)))},d(a){a&&I(t),n.d(a)}}}function Wa(e){let t,r=e[19]("invalidNewPassword")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInputNew svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("invalidNewPassword")+"")&&G(s,r)},d(n){n&&I(t)}}}function Xa(e){let t,r=e[19]("invalidNewPasswordSecondary")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInput svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("invalidNewPasswordSecondary")+"")&&G(s,r)},d(n){n&&I(t)}}}function Za(e){let t,r=e[19]("simplePasswordError")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInput svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("simplePasswordError")+"")&&G(s,r)},d(n){n&&I(t)}}}function Qa(e){let t,r,s,n,a,o,l,c,u,h;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("path"),l=g("circle"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),i(o,"transform","translate(0)"),i(l,"class","a svelte-1rc0gdm"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(a,"transform","translate(-14.185 -27.832)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",c="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(f,m){H(f,t,m),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),u||(h=W(t,"click",e[43]),u=!0)},p(f,m){m[0]&64&&c!==(c="TogglePasswordVisibility "+(f[6]?"InvalidToggle":"")+" "+(f[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",c)},d(f){f&&I(t),u=!1,h()}}}function Ja(e){let t,r,s,n,a,o,l,c,u,h,f,m,p,w,b,C;return{c(){t=g("svg"),r=g("defs"),s=g("style"),n=M(".a{fill:var(--emw--color-white, #FFFFFF);}"),a=g("g"),o=g("circle"),l=g("g"),c=g("path"),u=g("path"),h=g("g"),f=g("path"),m=g("path"),p=g("rect"),i(s,"class","svelte-1rc0gdm"),i(r,"class","svelte-1rc0gdm"),i(o,"class","a svelte-1rc0gdm"),i(o,"cx","0.05"),i(o,"cy","0.05"),i(o,"r","0.05"),i(o,"transform","translate(121.017 31.148)"),i(c,"class","a svelte-1rc0gdm"),i(c,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(c,"transform","translate(-142.164 -39.123)"),i(u,"class","a svelte-1rc0gdm"),i(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(u,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(l,"class","svelte-1rc0gdm"),i(f,"class","a svelte-1rc0gdm"),i(f,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(f,"transform","translate(-110.856 -33.157)"),i(m,"class","a svelte-1rc0gdm"),i(m,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),i(m,"transform","translate(-130.743 -29.617)"),i(h,"transform","translate(110.856 24.899)"),i(h,"class","svelte-1rc0gdm"),i(p,"class","a svelte-1rc0gdm"),i(p,"width","0.972"),i(p,"height","15.861"),i(p,"rx","0.486"),i(p,"transform","translate(114.827 23.858) rotate(-39.315)"),i(a,"transform","translate(-110.856 -23.242)"),i(a,"class","svelte-1rc0gdm"),i(t,"class",w="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(y,T){H(y,t,T),d(t,r),d(r,s),d(s,n),d(t,a),d(a,o),d(a,l),d(l,c),d(l,u),d(a,h),d(h,f),d(h,m),d(a,p),b||(C=W(t,"click",e[42]),b=!0)},p(y,T){T[0]&64&&w!==(w="TogglePasswordVisibility "+(y[6]?"InvalidToggle":"")+" "+(y[20]?"TogglePasswordVisibilityMobile":"")+" svelte-1rc0gdm")&&i(t,"class",w)},d(y){y&&I(t),b=!1,C()}}}function gr(e){let t,r=e[19]("confirmPasswordInvalid")+"",s;return{c(){t=x("p"),s=M(r),i(t,"class","InvalidInput svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,s)},p(n,a){a[0]&524288&&r!==(r=n[19]("confirmPasswordInvalid")+"")&&G(s,r)},d(n){n&&I(t)}}}function vr(e){let t,r,s;return{c(){t=x("div"),r=x("p"),s=M(e[17]),i(r,"class","PasswordChangedError svelte-1rc0gdm")},m(n,a){H(n,t,a),d(t,r),d(r,s)},p(n,a){a[0]&131072&&G(s,n[17])},d(n){n&&I(t)}}}function Ya(e){let t;function r(a,o){return Oa}let n=r()(e);return{c(){t=x("div"),n.c()},m(a,o){H(a,t,o),n.m(t,null),e[47](t)},p(a,o){n.p(a,o)},i:ee,o:ee,d(a){a&&I(t),n.d(),e[47](null)}}}function qa(e,t,r){let s;ls(e,Ia,v=>r(19,s=v));let{lang:n="en"}=t,{simplepasswordvalidation:a="false"}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{translationurl:c=""}=t,u,h=window.navigator.userAgent,f=Ha(h)!=="PC",m=!1;const p=window.matchMedia("(min-width: 768px)"),w={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let b=!1,C=!1,y=!1,T,L,k,U=!1,O=!1,Z=!1,te=!1,$="",N="",B="",oe=!1,he="",me=!1;const Xe=()=>{fetch(c).then(_=>_.json()).then(_=>{Object.keys(_).forEach(P=>{fr(P,_[P])})}).catch(_=>{console.log(_)})};Object.keys(mr).forEach(v=>{fr(v,mr[v])});const D=v=>{switch(v){case"userCurrentPassword":r(10,U=!U),r(7,T.type=U?"text":"password",T);break;case"userNewPassword":r(11,O=!O),r(8,L.type=O?"text":"password",L);break;case"userConfirmPassword":r(12,Z=!Z),r(9,k.type=Z?"text":"password",k);break}},Ze=()=>{a=="true"&&(w.password=/^(?!.* ).{8,20}$/)},ke=(v,_,P)=>{P.id==="CurrentPassword"?r(4,b=!re(_)):P.id==="NewPassword"?(r(5,C=!re(_)),$&&r(13,te=$===N),B&&r(6,y=N===B?!re(_):!0)):r(6,y=N===B?!re(_):!0),Ue()},re=v=>!!w.password.test(v),Ue=()=>{!b&&!C&&!y&&!te&&$&&N&&B?r(3,m=!0):r(3,m=!1)},le=v=>{v.preventDefault(),m&&window.postMessage({type:"ChangePassword",userCurrentPassword:$,userNewPassword:N},window.location.href)},se=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:f},window.location.href)},K=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},pe=()=>{Na(n)},ge=v=>{if(v.data)switch(v.data.type){case"PasswordChangedSuccessfully":r(2,oe=!0);break;case"ShowPasswordChangedError":r(18,me=v.data.showErrorPasswordChanged),r(17,he=v.data.errorPasswordChanged);break}},ve=()=>{let v=document.createElement("style");v.innerHTML=o,u.appendChild(v)},be=()=>{let v=new URL(l),_=document.createElement("style");fetch(v.href).then(P=>P.text()).then(P=>{_.innerHTML=P,setTimeout(()=>{u.appendChild(_)},1)})};gs(()=>(window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge)}));const $e=()=>se();function Qe(){$=this.value,r(14,$)}function ne(v){Te[v?"unshift":"push"](()=>{T=v,r(7,T)})}const Je=()=>D("userCurrentPassword"),we=()=>D("userCurrentPassword");function Q(){N=this.value,r(15,N)}function j(v){Te[v?"unshift":"push"](()=>{L=v,r(8,L)})}const Ye=()=>D("userNewPassword"),ye=()=>D("userNewPassword");function J(){B=this.value,r(16,B)}function qe(v){Te[v?"unshift":"push"](()=>{k=v,r(9,k)})}const ue=()=>D("userConfirmPassword"),V=()=>D("userConfirmPassword"),Ke=v=>le(v),Pe=()=>se(),Y=()=>K();function z(v){Te[v?"unshift":"push"](()=>{u=v,r(1,u)})}return e.$$set=v=>{"lang"in v&&r(27,n=v.lang),"simplepasswordvalidation"in v&&r(0,a=v.simplepasswordvalidation),"clientstyling"in v&&r(28,o=v.clientstyling),"clientstylingurl"in v&&r(29,l=v.clientstylingurl),"translationurl"in v&&r(30,c=v.translationurl)},e.$$.update=()=>{e.$$.dirty[0]&1&&a&&Ze(),e.$$.dirty[0]&134217728&&n&&pe(),e.$$.dirty[0]&4,e.$$.dirty[0]&536870914&&l&&u&&be(),e.$$.dirty[0]&268435458&&o&&u&&ve(),e.$$.dirty[0]&1073741824&&c&&Xe()},[a,u,oe,m,b,C,y,T,L,k,U,O,Z,te,$,N,B,he,me,s,f,p,D,ke,le,se,K,n,o,l,c,$e,Qe,ne,Je,we,Q,j,Ye,ye,J,qe,ue,V,Ke,Pe,Y,z]}class ts extends Bs{constructor(t){super(),Ts(this,t,qa,Ya,wr,{lang:27,simplepasswordvalidation:0,clientstyling:28,clientstylingurl:29,translationurl:30},Ma,[-1,-1])}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),de()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),de()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),de()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),de()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),de()}}Ss(ts,{lang:{},simplepasswordvalidation:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=ts;
|