@everymatrix/player-profile-info 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,5 @@
1
+ "use strict";var po=Object.defineProperty,mo=Object.defineProperties;var yo=Object.getOwnPropertyDescriptors;var Gn=Object.getOwnPropertySymbols;var vo=Object.prototype.hasOwnProperty,bo=Object.prototype.propertyIsEnumerable;var en=(e,t,r)=>t in e?po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,jn=(e,t)=>{for(var r in t||(t={}))vo.call(t,r)&&en(e,r,t[r]);if(Gn)for(var r of Gn(t))bo.call(t,r)&&en(e,r,t[r]);return e},zn=(e,t)=>mo(e,yo(t));var me=(e,t,r)=>en(e,typeof t!="symbol"?t+"":t,r);var $n=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{a(r.next(c))}catch(f){i(f)}},s=c=>{try{a(r.throw(c))}catch(f){i(f)}},a=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,s);a((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function de(){}function Ni(e){return e()}function Qn(){return Object.create(null)}function Ve(e){e.forEach(Ni)}function Sn(e){return typeof e=="function"}function Ti(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function go(e){return Object.keys(e).length===0}function Hi(e,...t){if(e==null){for(const n of t)n(void 0);return de}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function xo(e,t,r){e.$$.on_destroy.push(Hi(t,r))}function l(e,t){e.appendChild(t)}function Eo(e,t,r){const n=_o(e);if(!n.getElementById(t)){const i=d("style");i.id=t,i.textContent=r,Po(n,i)}}function _o(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Po(e,t){return l(e.head||e,t),t.sheet}function R(e,t,r){e.insertBefore(t,r||null)}function k(e){e.parentNode&&e.parentNode.removeChild(e)}function So(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function d(e){return document.createElement(e)}function At(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function _(e){return document.createTextNode(e)}function x(){return _(" ")}function wo(){return _("")}function O(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function u(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Ao(e){return Array.from(e.childNodes)}function B(e,t){t=""+t,e.data!==t&&(e.data=t)}function Ie(e,t){e.value=t==null?"":t}function Vn(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Bo(e){const t=e.querySelector(":checked");return t&&t.__value}function Io(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let nr;function rr(e){nr=e}function Co(){if(!nr)throw new Error("Function called outside component initialization");return nr}function No(e){Co().$$.on_mount.push(e)}const Ct=[],Nt=[];let Tt=[];const Wn=[],To=Promise.resolve();let cn=!1;function Ho(){cn||(cn=!0,To.then(He))}function Ur(e){Tt.push(e)}const tn=new Set;let Bt=0;function He(){if(Bt!==0)return;const e=nr;do{try{for(;Bt<Ct.length;){const t=Ct[Bt];Bt++,rr(t),Mo(t.$$)}}catch(t){throw Ct.length=0,Bt=0,t}for(rr(null),Ct.length=0,Bt=0;Nt.length;)Nt.pop()();for(let t=0;t<Tt.length;t+=1){const r=Tt[t];tn.has(r)||(tn.add(r),r())}Tt.length=0}while(Ct.length);for(;Wn.length;)Wn.pop()();cn=!1,tn.clear(),rr(e)}function Mo(e){if(e.fragment!==null){e.update(),Ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ur)}}function Oo(e){const t=[],r=[];Tt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Tt=t}const Do=new Set;function ko(e,t){e&&e.i&&(Do.delete(e),e.i(t))}function Xn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Lo(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ur(()=>{const o=e.$$.on_mount.map(Ni).filter(Sn);e.$$.on_destroy?e.$$.on_destroy.push(...o):Ve(o),e.$$.on_mount=[]}),i.forEach(Ur)}function Fo(e,t){const r=e.$$;r.fragment!==null&&(Oo(r.after_update),Ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ro(e,t){e.$$.dirty[0]===-1&&(Ct.push(e),Ho(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Uo(e,t,r,n,i,o,s=null,a=[-1]){const c=nr;rr(e);const f=e.$$={fragment:null,ctx:[],props:o,update:de,not_equal:i,bound:Qn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Qn(),dirty:a,skip_bound:!1,root:t.target||c.$$.root};s&&s(f.root);let h=!1;if(f.ctx=r?r(e,t.props||{},(y,m,...g)=>{const S=g.length?g[0]:m;return f.ctx&&i(f.ctx[y],f.ctx[y]=S)&&(!f.skip_bound&&f.bound[y]&&f.bound[y](S),h&&Ro(e,y)),m}):[],f.update(),h=!0,Ve(f.before_update),f.fragment=n?n(f.ctx):!1,t.target){if(t.hydrate){const y=Ao(t.target);f.fragment&&f.fragment.l(y),y.forEach(k)}else f.fragment&&f.fragment.c();t.intro&&ko(e.$$.fragment),Lo(e,t.target,t.anchor),He()}rr(c)}let Mi;typeof HTMLElement=="function"&&(Mi=class extends HTMLElement{constructor(t,r,n){super();me(this,"$$ctor");me(this,"$$s");me(this,"$$c");me(this,"$$cn",!1);me(this,"$$d",{});me(this,"$$r",!1);me(this,"$$p_d",{});me(this,"$$l",{});me(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return $n(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=d("slot"),o!=="default"&&u(s,"name",o)},m:function(f,h){R(f,s,h)},d:function(f){f&&k(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Io(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=kr(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:zn(jn({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=kr(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=kr(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function kr(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Go(e,t,r,n,i,o){let s=class extends Mi{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(c){var f;c=kr(a,c,t),this.$$d[a]=c,(f=this.$$c)==null||f.$set({[a]:c})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var c;return(c=this.$$c)==null?void 0:c[a]}})}),e.element=s,s}class jo{constructor(){me(this,"$$");me(this,"$$set")}$destroy(){Fo(this,1),this.$destroy=de}$on(t,r){if(!Sn(r))return de;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!go(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const zo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(zo);var fn=function(e,t){return fn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},fn(e,t)};function Oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");fn(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,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},A.apply(this,arguments)};function $o(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function hn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function pn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Ht(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Me(e){return typeof e=="function"}function Oi(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var rn=Oi(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
+ `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function mn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var zr=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=hn(s),c=a.next();!c.done;c=a.next()){var f=c.value;f.remove(this)}}catch(E){t={error:E}}finally{try{c&&!c.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if(Me(h))try{h()}catch(E){o=E instanceof rn?E.errors:[E]}var y=this._finalizers;if(y){this._finalizers=null;try{for(var m=hn(y),g=m.next();!g.done;g=m.next()){var S=g.value;try{Zn(S)}catch(E){o=o!=null?o:[],E instanceof rn?o=Ht(Ht([],pn(o)),pn(E.errors)):o.push(E)}}}catch(E){n={error:E}}finally{try{g&&!g.done&&(i=m.return)&&i.call(m)}finally{if(n)throw n.error}}}if(o)throw new rn(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Zn(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)&&mn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&mn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Di=zr.EMPTY;function ki(e){return e instanceof zr||e&&"closed"in e&&Me(e.remove)&&Me(e.add)&&Me(e.unsubscribe)}function Zn(e){Me(e)?e():e.unsubscribe()}var Li={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fi={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Ht([e,t],pn(r)))},clearTimeout:function(e){var t=Fi.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Qo(e){Fi.setTimeout(function(){throw e})}function Jn(){}function Lr(e){e()}var Ri=function(e){Oe(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,ki(r)&&r.add(n)):n.destination=Zo,n}return t.create=function(r,n,i){return new dn(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(zr),Vo=Function.prototype.bind;function nn(e,t){return Vo.call(e,t)}var Wo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Or(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Or(n)}else Or(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Or(r)}},e}(),dn=function(e){Oe(t,e);function t(r,n,i){var o=e.call(this)||this,s;if(Me(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var a;o&&Li.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&nn(r.next,a),error:r.error&&nn(r.error,a),complete:r.complete&&nn(r.complete,a)}):s=r}return o.destination=new Wo(s),o}return t}(Ri);function Or(e){Qo(e)}function Xo(e){throw e}var Zo={closed:!0,next:Jn,error:Xo,complete:Jn},Jo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function qo(e){return e}function Yo(e){return e.length===0?qo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var qn=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=es(t)?t:new dn(t,r,n);return Lr(function(){var s=i,a=s.operator,c=s.source;o.add(a?a.call(o,c):c?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=Yn(r),new r(function(i,o){var s=new dn({next:function(a){try{t(a)}catch(c){o(c),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Jo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Yo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Yn(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function Yn(e){var t;return(t=e!=null?e:Li.Promise)!==null&&t!==void 0?t:Promise}function Ko(e){return e&&Me(e.next)&&Me(e.error)&&Me(e.complete)}function es(e){return e&&e instanceof Ri||Ko(e)&&ki(e)}var ts=Oi(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ui=function(e){Oe(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Kn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ts},t.prototype.next=function(r){var n=this;Lr(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=hn(n.currentObservers),a=s.next();!a.done;a=s.next()){var c=a.value;c.next(r)}}catch(f){i={error:f}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Lr(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Lr(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?Di:(this.currentObservers=null,a.push(r),new zr(function(){n.currentObservers=null,mn(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new qn;return r.source=this,r},t.create=function(r,n){return new Kn(r,n)},t}(qn),Kn=function(e){Oe(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Di},t}(Ui),Gi={now:function(){return(Gi.delegate||Date).now()},delegate:void 0},rs=function(e){Oe(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Gi);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,c=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),c=0;c<a.length&&!r.closed;c+=o?1:2)r.next(a[c]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var c=i.now(),f=0,h=1;h<o.length&&o[h]<=c;h+=2)f=h;f&&o.splice(0,f+1)}},t}(Ui);const ei=[],ti={},ns=(e,t=0)=>{if(ei.indexOf(e)==-1){const r=new rs(t);ti[e]=r,ei.push(e)}return ti[e]},It=[];function is(e,t){return{subscribe:$r(e,t).subscribe}}function $r(e,t=de){let r;const n=new Set;function i(a){if(Ti(e,a)&&(e=a,r)){const c=!It.length;for(const f of n)f[1](),It.push(f,e);if(c){for(let f=0;f<It.length;f+=2)It[f][0](It[f+1]);It.length=0}}}function o(a){i(a(e))}function s(a,c=de){const f=[a,c];return n.add(f),n.size===1&&(r=t(i,o)||de),a(e),()=>{n.delete(f),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function Lt(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return is(r,(s,a)=>{let c=!1;const f=[];let h=0,y=de;const m=()=>{if(h)return;y();const S=t(n?f[0]:f,s,a);o?s(S):y=Sn(S)?S:de},g=i.map((S,E)=>Hi(S,N=>{f[E]=N,h&=~(1<<E),c&&m()},()=>{h|=1<<E}));return c=!0,m(),function(){Ve(g),y(),c=!1}})}function os(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ss=function(t){return as(t)&&!ls(t)};function as(e){return!!e&&typeof e=="object"}function ls(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||fs(e)}var us=typeof Symbol=="function"&&Symbol.for,cs=us?Symbol.for("react.element"):60103;function fs(e){return e.$$typeof===cs}function hs(e){return Array.isArray(e)?[]:{}}function ir(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Mt(hs(e),e,t):e}function ps(e,t,r){return e.concat(t).map(function(n){return ir(n,r)})}function ms(e,t){if(!t.customMerge)return Mt;var r=t.customMerge(e);return typeof r=="function"?r:Mt}function ds(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ri(e){return Object.keys(e).concat(ds(e))}function ji(e,t){try{return t in e}catch(r){return!1}}function ys(e,t){return ji(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function vs(e,t,r){var n={};return r.isMergeableObject(e)&&ri(e).forEach(function(i){n[i]=ir(e[i],r)}),ri(t).forEach(function(i){ys(e,i)||(ji(e,i)&&r.isMergeableObject(t[i])?n[i]=ms(i,r)(e[i],t[i],r):n[i]=ir(t[i],r))}),n}function Mt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ps,r.isMergeableObject=r.isMergeableObject||ss,r.cloneUnlessOtherwiseSpecified=ir;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):vs(e,t,r):ir(t,r)}Mt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Mt(n,i,r)},{})};var bs=Mt,gs=bs;const xs=os(gs);var P;(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"})(P||(P={}));var H;(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"})(H||(H={}));var Ot;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ot||(Ot={}));function ni(e){return e.type===H.literal}function Es(e){return e.type===H.argument}function zi(e){return e.type===H.number}function $i(e){return e.type===H.date}function Qi(e){return e.type===H.time}function Vi(e){return e.type===H.select}function Wi(e){return e.type===H.plural}function _s(e){return e.type===H.pound}function Xi(e){return e.type===H.tag}function Zi(e){return!!(e&&typeof e=="object"&&e.type===Ot.number)}function yn(e){return!!(e&&typeof e=="object"&&e.type===Ot.dateTime)}var Ji=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ps=/(?:[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 Ss(e){var t={};return e.replace(Ps,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var ws=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function As(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ws).filter(function(m){return m.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],c=s.slice(1),f=0,h=c;f<h.length;f++){var y=h[f];if(y.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:c})}return r}function Bs(e){return e.replace(/^(.*?)-/,"")}var ii=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,qi=/^(@+)?(\+|#+)?[rs]?$/g,Is=/(\*)(0+)|(#+)(0+)|(0+)/g,Yi=/^(0+)$/;function oi(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(qi,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Ki(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 Cs(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)),!Yi.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function si(e){var t={},r=Ki(e);return r||t}function Ns(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Bs(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=A(A(A({},t),{notation:"scientific"}),i.options.reduce(function(c,f){return A(A({},c),si(f))},{}));continue;case"engineering":t=A(A(A({},t),{notation:"engineering"}),i.options.reduce(function(c,f){return A(A({},c),si(f))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Is,function(c,f,h,y,m,g){if(f)t.minimumIntegerDigits=h.length;else{if(y&&m)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Yi.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ii.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ii,function(c,f,h,y,m,g){return h==="*"?t.minimumFractionDigits=f.length:y&&y[0]==="#"?t.maximumFractionDigits=y.length:m&&g?(t.minimumFractionDigits=m.length,t.maximumFractionDigits=m.length+g.length):(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),oi(o)));continue}if(qi.test(i.stem)){t=A(A({},t),oi(i.stem));continue}var s=Ki(i.stem);s&&(t=A(A({},t),s));var a=Cs(i.stem);a&&(t=A(A({},t),a))}return t}var Dr={"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 Ts(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),c="a",f=Hs(t);for((f=="H"||f=="k")&&(a=0);a-- >0;)r+=c;for(;s-- >0;)r=f+r}else i==="J"?r+="H":r+=i}return r}function Hs(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Dr[n||""]||Dr[r||""]||Dr["".concat(r,"-001")]||Dr["001"];return i[0]}var on,Ms=new RegExp("^".concat(Ji.source,"*")),Os=new RegExp("".concat(Ji.source,"*$"));function w(e,t){return{start:e,end:t}}var Ds=!!String.prototype.startsWith&&"_a".startsWith("a",1),ks=!!String.fromCodePoint,Ls=!!Object.fromEntries,Fs=!!String.prototype.codePointAt,Rs=!!String.prototype.trimStart,Us=!!String.prototype.trimEnd,Gs=!!Number.isSafeInteger,js=Gs?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vn=!0;try{var zs=to("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");vn=((on=zs.exec("a"))===null||on===void 0?void 0:on[0])==="a"}catch(e){vn=!1}var ai=Ds?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},bn=ks?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},li=Ls?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},eo=Fs?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},$s=Rs?function(t){return t.trimStart()}:function(t){return t.replace(Ms,"")},Qs=Us?function(t){return t.trimEnd()}:function(t){return t.replace(Os,"")};function to(e,t){return new RegExp(e,t)}var gn;if(vn){var ui=to("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");gn=function(t,r){var n;ui.lastIndex=r;var i=ui.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else gn=function(t,r){for(var n=[];;){var i=eo(t,r);if(i===void 0||ro(i)||Zs(i))break;n.push(i),r+=i>=65536?2:1}return bn.apply(void 0,n)};var Vs=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:H.pound,location:w(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(P.UNMATCHED_CLOSING_TAG,w(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&xn(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:H.literal,value:"<".concat(i,"/>"),location:w(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!xn(this.char()))return this.error(P.INVALID_TAG,w(a,this.clonePosition()));var c=this.clonePosition(),f=this.parseTagName();return i!==f?this.error(P.UNMATCHED_CLOSING_TAG,w(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:H.tag,value:i,children:s,location:w(n,this.clonePosition())},err:null}:this.error(P.INVALID_TAG,w(a,this.clonePosition())))}else return this.error(P.UNCLOSED_TAG,w(n,this.clonePosition()))}else return this.error(P.INVALID_TAG,w(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Xs(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var c=w(n,this.clonePosition());return{val:{type:H.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ws(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return bn.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),bn(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(P.EMPTY_ARGUMENT,w(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(P.MALFORMED_ARGUMENT,w(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:H.argument,value:i,location:w(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,w(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(P.MALFORMED_ARGUMENT,w(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=gn(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=w(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(a){case"":return this.error(P.EXPECT_ARGUMENT_TYPE,w(s,c));case"number":case"date":case"time":{this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),y=this.parseSimpleArgStyleIfPossible();if(y.err)return y;var m=Qs(y.val);if(m.length===0)return this.error(P.EXPECT_ARGUMENT_STYLE,w(this.clonePosition(),this.clonePosition()));var g=w(h,this.clonePosition());f={style:m,styleLocation:g}}var S=this.tryParseArgumentClose(i);if(S.err)return S;var E=w(i,this.clonePosition());if(f&&ai(f==null?void 0:f.style,"::",0)){var N=$s(f.style.slice(2));if(a==="number"){var y=this.parseNumberSkeletonFromString(N,f.styleLocation);return y.err?y:{val:{type:H.number,value:n,location:E,style:y.val},err:null}}else{if(N.length===0)return this.error(P.EXPECT_DATE_TIME_SKELETON,E);var V=N;this.locale&&(V=Ts(N,this.locale));var m={type:Ot.dateTime,pattern:V,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?Ss(V):{}},D=a==="date"?H.date:H.time;return{val:{type:D,value:n,location:E,style:m},err:null}}}return{val:{type:a==="number"?H.number:a==="date"?H.date:H.time,value:n,location:E,style:(o=f==null?void 0:f.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var L=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(P.EXPECT_SELECT_ARGUMENT_OPTIONS,w(L,A({},L)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),U=0;if(a!=="select"&&T.value==="offset"){if(!this.bumpIf(":"))return this.error(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w(this.clonePosition(),this.clonePosition()));this.bumpSpace();var y=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(y.err)return y;this.bumpSpace(),T=this.parseIdentifierIfPossible(),U=y.val}var W=this.tryParsePluralOrSelectOptions(t,a,r,T);if(W.err)return W;var S=this.tryParseArgumentClose(i);if(S.err)return S;var ue=w(i,this.clonePosition());return a==="select"?{val:{type:H.select,value:n,options:li(W.val),location:ue},err:null}:{val:{type:H.plural,value:n,options:li(W.val),offset:U,pluralType:a==="plural"?"cardinal":"ordinal",location:ue},err:null}}default:return this.error(P.INVALID_ARGUMENT_TYPE,w(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(P.EXPECT_ARGUMENT_CLOSING_BRACE,w(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(P.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,w(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=As(t)}catch(i){return this.error(P.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ot.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ns(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],c=new Set,f=i.value,h=i.location;;){if(f.length===0){var y=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var m=this.tryParseDecimalInteger(P.EXPECT_PLURAL_ARGUMENT_SELECTOR,P.INVALID_PLURAL_ARGUMENT_SELECTOR);if(m.err)return m;h=w(y,this.clonePosition()),f=this.message.slice(y.offset,this.offset())}else break}if(c.has(f))return this.error(r==="select"?P.DUPLICATE_SELECT_ARGUMENT_SELECTOR:P.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);f==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:P.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,w(this.clonePosition(),this.clonePosition()));var S=this.parseMessage(t+1,r,n);if(S.err)return S;var E=this.tryParseArgumentClose(g);if(E.err)return E;a.push([f,{value:S.val,location:w(g,this.clonePosition())}]),c.add(f),this.bumpSpace(),o=this.parseIdentifierIfPossible(),f=o.value,h=o.location}return a.length===0?this.error(r==="select"?P.EXPECT_SELECT_ARGUMENT_SELECTOR:P.EXPECT_PLURAL_ARGUMENT_SELECTOR,w(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(P.MISSING_OTHER_CLAUSE,w(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var c=w(i,this.clonePosition());return o?(s*=n,js(s)?{val:s,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=eo(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(ai(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ro(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function xn(e){return e>=97&&e<=122||e>=65&&e<=90}function Ws(e){return xn(e)||e===47}function Xs(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 ro(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Zs(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 En(e){e.forEach(function(t){if(delete t.location,Vi(t)||Wi(t))for(var r in t.options)delete t.options[r].location,En(t.options[r].value);else zi(t)&&Zi(t.style)||($i(t)||Qi(t))&&yn(t.style)?delete t.style.location:Xi(t)&&En(t.children)})}function Js(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Vs(e,t).parse();if(r.err){var n=SyntaxError(P[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||En(r.val),r.val}function sn(e,t){var r=t&&t.cache?t.cache:ra,n=t&&t.serializer?t.serializer:ta,i=t&&t.strategy?t.strategy:Ys;return i(e,{cache:r,serializer:n})}function qs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function no(e,t,r,n){var i=qs(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function io(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function wn(e,t,r,n,i){return r.bind(t,e,n,i)}function Ys(e,t){var r=e.length===1?no:io;return wn(e,this,r,t.cache.create(),t.serializer)}function Ks(e,t){return wn(e,this,io,t.cache.create(),t.serializer)}function ea(e,t){return wn(e,this,no,t.cache.create(),t.serializer)}var ta=function(){return JSON.stringify(arguments)};function An(){this.cache=Object.create(null)}An.prototype.get=function(e){return this.cache[e]};An.prototype.set=function(e,t){this.cache[e]=t};var ra={create:function(){return new An}},an={variadic:Ks,monadic:ea},Dt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Dt||(Dt={}));var Qr=function(e){Oe(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ci=function(e){Oe(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Dt.INVALID_VALUE,o)||this}return t}(Qr),na=function(e){Oe(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Dt.INVALID_VALUE,i)||this}return t}(Qr),ia=function(e){Oe(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Dt.MISSING_VALUE,n)||this}return t}(Qr),q;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(q||(q={}));function oa(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==q.literal||r.type!==q.literal?t.push(r):n.value+=r.value,t},[])}function sa(e){return typeof e=="function"}function Fr(e,t,r,n,i,o,s){if(e.length===1&&ni(e[0]))return[{type:q.literal,value:e[0].value}];for(var a=[],c=0,f=e;c<f.length;c++){var h=f[c];if(ni(h)){a.push({type:q.literal,value:h.value});continue}if(_s(h)){typeof o=="number"&&a.push({type:q.literal,value:r.getNumberFormat(t).format(o)});continue}var y=h.value;if(!(i&&y in i))throw new ia(y,s);var m=i[y];if(Es(h)){(!m||typeof m=="string"||typeof m=="number")&&(m=typeof m=="string"||typeof m=="number"?String(m):""),a.push({type:typeof m=="string"?q.literal:q.object,value:m});continue}if($i(h)){var g=typeof h.style=="string"?n.date[h.style]:yn(h.style)?h.style.parsedOptions:void 0;a.push({type:q.literal,value:r.getDateTimeFormat(t,g).format(m)});continue}if(Qi(h)){var g=typeof h.style=="string"?n.time[h.style]:yn(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:q.literal,value:r.getDateTimeFormat(t,g).format(m)});continue}if(zi(h)){var g=typeof h.style=="string"?n.number[h.style]:Zi(h.style)?h.style.parsedOptions:void 0;g&&g.scale&&(m=m*(g.scale||1)),a.push({type:q.literal,value:r.getNumberFormat(t,g).format(m)});continue}if(Xi(h)){var S=h.children,E=h.value,N=i[E];if(!sa(N))throw new na(E,"function",s);var V=Fr(S,t,r,n,i,o),D=N(V.map(function(U){return U.value}));Array.isArray(D)||(D=[D]),a.push.apply(a,D.map(function(U){return{type:typeof U=="string"?q.literal:q.object,value:U}}))}if(Vi(h)){var L=h.options[m]||h.options.other;if(!L)throw new ci(h.value,m,Object.keys(h.options),s);a.push.apply(a,Fr(L.value,t,r,n,i));continue}if(Wi(h)){var L=h.options["=".concat(m)];if(!L){if(!Intl.PluralRules)throw new Qr(`Intl.PluralRules is not available in this environment.
4
+ Try polyfilling it using "@formatjs/intl-pluralrules"
5
+ `,Dt.MISSING_INTL_API,s);var T=r.getPluralRules(t,{type:h.pluralType}).select(m-(h.offset||0));L=h.options[T]||h.options.other}if(!L)throw new ci(h.value,m,Object.keys(h.options),s);a.push.apply(a,Fr(L.value,t,r,n,i,m-(h.offset||0)));continue}}return oa(a)}function aa(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=A(A({},e[n]),t[n]||{}),r},{})):e}function la(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=aa(e[n],t[n]),r},A({},e)):e}function ln(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ua(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:sn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,Ht([void 0],r,!1)))},{cache:ln(e.number),strategy:an.variadic}),getDateTimeFormat:sn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,Ht([void 0],r,!1)))},{cache:ln(e.dateTime),strategy:an.variadic}),getPluralRules:sn(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,Ht([void 0],r,!1)))},{cache:ln(e.pluralRules),strategy:an.variadic})}}var ca=function(){function e(t,r,n,i){var o=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var f=o.formatToParts(c);if(f.length===1)return f[0].value;var h=f.reduce(function(y,m){return!y.length||m.type!==q.literal||typeof y[y.length-1]!="string"?y.push(m.value):y[y.length-1]+=m.value,y},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return Fr(o.ast,o.locales,o.formatters,o.formats,c,void 0,o.message)},this.resolvedOptions=function(){var c;return{locale:((c=o.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=$o(s,["formatters"]);this.ast=e.__parse(t,A(A({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=la(e.formats,n),this.formatters=i&&i.formatters||ua(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=Js,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 fa(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const Qe={},ha=(e,t,r)=>r&&(t in Qe||(Qe[t]={}),e in Qe[t]||(Qe[t][e]=r),r),oo=(e,t)=>{if(t==null)return;if(t in Qe&&e in Qe[t])return Qe[t][e];const r=Vr(t);for(let n=0;n<r.length;n++){const i=r[n],o=ma(i,e);if(o)return ha(e,t,o)}};let Bn;const sr=$r({});function pa(e){return Bn[e]||null}function so(e){return e in Bn}function ma(e,t){if(!so(e))return null;const r=pa(e);return fa(r,t)}function da(e){if(e==null)return;const t=Vr(e);for(let r=0;r<t.length;r++){const n=t[r];if(so(n))return n}}function ao(e,...t){delete Qe[e],sr.update(r=>(r[e]=xs.all([r[e]||{},...t]),r))}Lt([sr],([e])=>Object.keys(e));sr.subscribe(e=>Bn=e);const Rr={};function ya(e,t){Rr[e].delete(t),Rr[e].size===0&&delete Rr[e]}function lo(e){return Rr[e]}function va(e){return Vr(e).map(t=>{const r=lo(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function _n(e){return e==null?!1:Vr(e).some(t=>{var r;return(r=lo(t))==null?void 0:r.size})}function ba(e,t){return Promise.all(t.map(n=>(ya(e,n),n().then(i=>i.default||i)))).then(n=>ao(e,...n))}const tr={};function uo(e){if(!_n(e))return e in tr?tr[e]:Promise.resolve();const t=va(e);return tr[e]=Promise.all(t.map(([r,n])=>ba(r,n))).then(()=>{if(_n(e))return uo(e);delete tr[e]}),tr[e]}const ga={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},xa={fallbackLocale:null,loadingDelay:200,formats:ga,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ea=xa;function kt(){return Ea}const un=$r(!1);var _a=Object.defineProperty,Pa=Object.defineProperties,Sa=Object.getOwnPropertyDescriptors,fi=Object.getOwnPropertySymbols,wa=Object.prototype.hasOwnProperty,Aa=Object.prototype.propertyIsEnumerable,hi=(e,t,r)=>t in e?_a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ba=(e,t)=>{for(var r in t||(t={}))wa.call(t,r)&&hi(e,r,t[r]);if(fi)for(var r of fi(t))Aa.call(t,r)&&hi(e,r,t[r]);return e},Ia=(e,t)=>Pa(e,Sa(t));let Pn;const Gr=$r(null);function pi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Vr(e,t=kt().fallbackLocale){const r=pi(e);return t?[...new Set([...r,...pi(t)])]:r}function Ke(){return Pn!=null?Pn:void 0}Gr.subscribe(e=>{Pn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ca=e=>{if(e&&da(e)&&_n(e)){const{loadingDelay:t}=kt();let r;return typeof window!="undefined"&&Ke()!=null&&t?r=window.setTimeout(()=>un.set(!0),t):un.set(!0),uo(e).then(()=>{Gr.set(e)}).finally(()=>{clearTimeout(r),un.set(!1)})}return Gr.set(e)},Ft=Ia(Ba({},Gr),{set:Ca}),Wr=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Na=Object.defineProperty,jr=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,mi=(e,t,r)=>t in e?Na(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,In=(e,t)=>{for(var r in t||(t={}))co.call(t,r)&&mi(e,r,t[r]);if(jr)for(var r of jr(t))fo.call(t,r)&&mi(e,r,t[r]);return e},Rt=(e,t)=>{var r={};for(var n in e)co.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&jr)for(var n of jr(e))t.indexOf(n)<0&&fo.call(e,n)&&(r[n]=e[n]);return r};const or=(e,t)=>{const{formats:r}=kt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ta=Wr(e=>{var t=e,{locale:r,format:n}=t,i=Rt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=or("number",n)),new Intl.NumberFormat(r,i)}),Ha=Wr(e=>{var t=e,{locale:r,format:n}=t,i=Rt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=or("date",n):Object.keys(i).length===0&&(i=or("date","short")),new Intl.DateTimeFormat(r,i)}),Ma=Wr(e=>{var t=e,{locale:r,format:n}=t,i=Rt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=or("time",n):Object.keys(i).length===0&&(i=or("time","short")),new Intl.DateTimeFormat(r,i)}),Oa=(e={})=>{var t=e,{locale:r=Ke()}=t,n=Rt(t,["locale"]);return Ta(In({locale:r},n))},Da=(e={})=>{var t=e,{locale:r=Ke()}=t,n=Rt(t,["locale"]);return Ha(In({locale:r},n))},ka=(e={})=>{var t=e,{locale:r=Ke()}=t,n=Rt(t,["locale"]);return Ma(In({locale:r},n))},La=Wr((e,t=Ke())=>new ca(e,t,kt().formats,{ignoreTag:kt().ignoreTag})),Fa=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:c=Ke(),default:f}=s;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=oo(e,c);if(!h)h=(o=(i=(n=(r=kt()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:f}))!=null?i:f)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let y=h;try{y=La(h,c).format(a)}catch(m){m instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,m.message)}return y},Ra=(e,t)=>ka(t).format(e),Ua=(e,t)=>Da(t).format(e),Ga=(e,t)=>Oa(t).format(e),ja=(e,t=Ke())=>oo(e,t),za=Lt([Ft,sr],()=>Fa);Lt([Ft],()=>Ra);Lt([Ft],()=>Ua);Lt([Ft],()=>Ga);Lt([Ft,sr],()=>ja);window.emWidgets={topic:ns};const $a=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function di(e,t){ao(e,t)}function Qa(e){Ft.set(e)}const yi={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır."},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!"}};function Va(e){Eo(e,"svelte-1n7xy37",`button.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{font-family:var(--emw--button-typography)}input.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37,select.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37,option.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{font-family:inherit}.MyAccountCategoryTitle.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{display:none}.PlayerInfoWrapper.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));background:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;max-width:760px;border-radius:20px}.PlayerNotificationsHeader.svelte-1n7xy37 h3.svelte-1n7xy37.svelte-1n7xy37,.PlayerLocationHeader.svelte-1n7xy37 h3.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{display:flex;flex-direction:column}.PlayerInfoBox.svelte-1n7xy37 label.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox.svelte-1n7xy37 input.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw-color-white, #FFFFFF);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px}.PlayerInfoBox.svelte-1n7xy37 input.svelte-1n7xy37.svelte-1n7xy37:focus,.PlayerInfoBox.svelte-1n7xy37 input .svelte-1n7xy37.svelte-1n7xy37:focus-within,.PlayerInfoBox.svelte-1n7xy37 input .svelte-1n7xy37.svelte-1n7xy37:focus-visible,.PlayerInfoBox.svelte-1n7xy37 input .svelte-1n7xy37.svelte-1n7xy37:visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.InvalidField.svelte-1n7xy37 input.svelte-1n7xy37.svelte-1n7xy37{border:1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));background:var(--emw-color-pale, #FBECF4);color:var(--emw-color-error, var(--emw-color-red, #FD2839))}.PlayerInfoBox.svelte-1n7xy37 .InvalidInput.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-error, var(--emw-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox.svelte-1n7xy37 .FieldDisabled.svelte-1n7xy37.svelte-1n7xy37{opacity:0.5}.PlayerInfoBox.svelte-1n7xy37 .PlayerPhoneNumber.svelte-1n7xy37.svelte-1n7xy37{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox.svelte-1n7xy37 select.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox.svelte-1n7xy37 select.svelte-1n7xy37.svelte-1n7xy37:focus,.PlayerInfoBox.svelte-1n7xy37 select .svelte-1n7xy37.svelte-1n7xy37:focus-within,.PlayerInfoBox.svelte-1n7xy37 select .svelte-1n7xy37.svelte-1n7xy37:focus-visible,.PlayerInfoBox.svelte-1n7xy37 select .svelte-1n7xy37.svelte-1n7xy37:visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.svelte-1n7xy37 input.svelte-1n7xy37.svelte-1n7xy37::-webkit-outer-spin-button,.PlayerInfoBox.svelte-1n7xy37 input.svelte-1n7xy37.svelte-1n7xy37::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37:first-child{margin-bottom:10px}.PlayerNotificationBox.svelte-1n7xy37 label.svelte-1n7xy37.svelte-1n7xy37{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox.svelte-1n7xy37 label.svelte-1n7xy37 span.svelte-1n7xy37{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox.svelte-1n7xy37 label input.svelte-1n7xy37.svelte-1n7xy37{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox.svelte-1n7xy37 label input.svelte-1n7xy37.svelte-1n7xy37:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox.svelte-1n7xy37 label .Checkmark.svelte-1n7xy37.svelte-1n7xy37{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea.svelte-1n7xy37 .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.PlayerDetailsButtonsArea.svelte-1n7xy37 .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{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);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px)}.PlayerDetailsButtonsArea.svelte-1n7xy37 .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea.svelte-1n7xy37 .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-1n7xy37.svelte-1n7xy37{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile.svelte-1n7xy37 .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{padding-bottom:30px}.PlayerInfoWrapperMobile.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{padding:20px 15px;background:var(--emw-color-gray-50, #F9F8F8);max-width:unset}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerDetailsContent.svelte-1n7xy37.svelte-1n7xy37{grid-template-columns:1fr}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerNotificationsHeader h3.svelte-1n7xy37.svelte-1n7xy37,.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerDetailsHeader h3.svelte-1n7xy37.svelte-1n7xy37,.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerLocationHeader h3.svelte-1n7xy37.svelte-1n7xy37{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerInfoBox label.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(-emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerInfoBox input.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerInfoBox select.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerLocationContent.svelte-1n7xy37.svelte-1n7xy37{grid-template-columns:1fr}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerNotificationsCheckboxArea .PlayerNotificationBox label.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerDetailsButtonsArea.svelte-1n7xy37.svelte-1n7xy37{grid-column-gap:10px}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperMobile.svelte-1n7xy37 .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsContent.svelte-1n7xy37.svelte-1n7xy37{grid-row-gap:20px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .MenuReturnButton.svelte-1n7xy37.svelte-1n7xy37{margin-bottom:30px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .MenuReturnButton span.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsHeader h3.svelte-1n7xy37.svelte-1n7xy37,.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerLocationHeader h3.svelte-1n7xy37.svelte-1n7xy37,.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerNotificationsHeader h3.svelte-1n7xy37.svelte-1n7xy37{font-size:24px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerInfoBox label.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerInfoBox input.svelte-1n7xy37.svelte-1n7xy37{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerInfoBox select.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerInfoBox .InvalidInput.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerInfoBox:last-child .InvalidInput.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsButtonsArea.svelte-1n7xy37.svelte-1n7xy37{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled.svelte-1n7xy37.svelte-1n7xy37{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerNotificationBox label span.svelte-1n7xy37.svelte-1n7xy37{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerNotificationBox label input.svelte-1n7xy37.svelte-1n7xy37{height:26px;width:26px}.PlayerInfoWrapperTablet.svelte-1n7xy37 .PlayerNotificationBox label .Checkmark.svelte-1n7xy37.svelte-1n7xy37{left:50px;top:9px}.PlayerDetailsConfirmSave.svelte-1n7xy37.svelte-1n7xy37.svelte-1n7xy37{background:var(--emw-color-valid, var(--emw-color-green, #48952a));color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave.svelte-1n7xy37 .PlayerDetailsConfirmSaveText.svelte-1n7xy37.svelte-1n7xy37{padding:0;margin:0}`)}function vi(e,t,r){const n=e.slice();return n[106]=t[r],n}function Wa(e){let t,r,n,i=e[37]("titleProfileInfo")+"",o,s,a,c,f=e[37]("personalDetails")+"",h,y,m,g,S,E=e[37]("userName")+"",N,V,D,L,T,U,W=e[37]("userPhone")+"",ue,ye,ce,ae,et,z,De,tt,ke,We,X,ve,Le=(e[1]=="true"?e[37]("profileSecurityQuestion2"):e[37]("profileSecurityQuestion"))+"",Xe,rt,Fe,nt,$,Ze,ar,it,ot,I,C,st=(e[1]=="true"?e[37]("profileSecurityAnswer2"):e[37]("profileSecurityAnswer"))+"",at,lr,Ut,Gt,F,Je,jt,qe,ur,Ce,lt,be=e[37]("userEmail")+"",xe,zt,Ne,$t,Te,ut,ct=e[37]("dateOfBirth")+"",Qt,Ee,_e,cr,Re,ft,ht=e[37]("firstName")+"",Vt,fr,Pe,hr,Ue,pt,mt=e[37]("lastName")+"",dt,Wt,G,pr,Ge,yt,vt=e[37]("userTitle")+"",Xt,mr,Se,dr,je,bt,gt=e[37]("currency")+"",Zt,yr,we,vr,br,xt,Et,_t=e[37]("locationDetails")+"",Jt,gr,fe,ze,Pt,v=e[37]("userCountry")+"",M,Q,le,$e,qt,Z,xr,Er=e[37]("userCity")+"",Xr,Cn,he,_r,Yt,Nn,Pr,Tn,Ae,Sr,wr=e[37]("userAddress")+"",Zr,Hn,ge,Kt,Mn,Ar,On,Be,Br,Ir=e[37]("userPostalCode")+"",Jr,Dn,pe,Cr,er,kn,Nr,Ln,qr,Tr,St,Hr=e[37]("userProfileSaveChanges")+"",Yr,Mr,Fn,Kr,Rn,Ye=e[38]&&Za(e),wt=Xn(e[16]),J=[];for(let p=0;p<wt.length;p+=1)J[p]=bi(vi(e,wt,p));let Y=e[25]&&gi(e),K=e[23]&&xi(e),ee=e[24]&&Ei(e),te=e[36]&&_i(e),re=e[20]&&Pi(e),ne=e[22]&&Si(e),ie=e[21]&&wi(e),oe=(e[17]||e[18])&&Ai(e),se=e[26]&&Ci(e);return{c(){t=d("form"),Ye&&Ye.c(),r=x(),n=d("h2"),o=_(i),s=x(),a=d("div"),c=d("h3"),h=_(f),y=x(),m=d("section"),g=d("div"),S=d("label"),N=_(E),V=x(),D=d("input"),L=x(),T=d("div"),U=d("label"),ue=_(W),ye=x(),ce=d("div"),ae=d("select");for(let p=0;p<J.length;p+=1)J[p].c();et=x(),z=d("input"),tt=x(),Y&&Y.c(),We=x(),X=d("div"),ve=d("label"),Xe=_(Le),rt=_(":"),Fe=d("span"),Fe.textContent="*",nt=x(),$=d("input"),ar=x(),K&&K.c(),ot=x(),I=d("div"),C=d("label"),at=_(st),lr=_(":"),Ut=d("span"),Ut.textContent="*",Gt=x(),F=d("input"),jt=x(),ee&&ee.c(),ur=x(),Ce=d("div"),lt=d("label"),xe=_(be),zt=x(),Ne=d("input"),$t=x(),Te=d("div"),ut=d("label"),Qt=_(ct),Ee=x(),_e=d("input"),cr=x(),Re=d("div"),ft=d("label"),Vt=_(ht),fr=x(),Pe=d("input"),hr=x(),Ue=d("div"),pt=d("label"),dt=_(mt),Wt=x(),G=d("input"),pr=x(),Ge=d("div"),yt=d("label"),Xt=_(vt),mr=x(),Se=d("input"),dr=x(),je=d("div"),bt=d("label"),Zt=_(gt),yr=x(),we=d("input"),vr=x(),te&&te.c(),br=x(),xt=d("div"),Et=d("h3"),Jt=_(_t),gr=x(),fe=d("section"),ze=d("div"),Pt=d("label"),M=_(v),Q=x(),le=d("input"),qt=x(),Z=d("div"),xr=d("label"),Xr=_(Er),Cn=x(),he=d("input"),Nn=x(),re&&re.c(),Tn=x(),Ae=d("div"),Sr=d("label"),Zr=_(wr),Hn=x(),ge=d("input"),Mn=x(),ne&&ne.c(),On=x(),Be=d("div"),Br=d("label"),Jr=_(Ir),Dn=x(),pe=d("input"),kn=x(),ie&&ie.c(),Ln=x(),oe&&oe.c(),qr=x(),Tr=d("section"),St=d("button"),Yr=_(Hr),Fn=x(),se&&se.c(),u(n,"class","MyAccountCategoryTitle "+(e[38]?"MyAccountCategoryTitleNone":"")+" svelte-1n7xy37"),u(c,"class","svelte-1n7xy37"),u(a,"class","PlayerNotificationsHeader svelte-1n7xy37"),u(S,"class","svelte-1n7xy37"),u(D,"type","text"),u(D,"class","FieldDisabled svelte-1n7xy37"),D.value=e[35],D.readOnly=!0,u(g,"class","PlayerInfoBox svelte-1n7xy37"),u(U,"class","svelte-1n7xy37"),u(ae,"class","svelte-1n7xy37"),e[12]===void 0&&Ur(()=>e[60].call(ae)),u(z,"type","text"),u(z,"oninput","this.value = this.value.replace(/[^0-9.]/g, ''); this.value = this.value.replace(/(\\..*)\\./g, '$1');"),u(z,"placeholder",De=e[4]?e[30].number:""),u(z,"class","svelte-1n7xy37"),u(ce,"class","PlayerPhoneNumber svelte-1n7xy37"),u(T,"class",ke="PlayerInfoBox "+(e[25]?"InvalidField":"")+" svelte-1n7xy37"),u(Fe,"class","FormRequired svelte-1n7xy37"),u(ve,"for","SecurityQuestion"),u(ve,"class","svelte-1n7xy37"),u($,"type","text"),u($,"placeholder",Ze=e[4]?e[44]:""),u($,"class","svelte-1n7xy37"),u(X,"class",it="PlayerInfoBox "+(e[23]?"InvalidField":"")+" svelte-1n7xy37"),u(Ut,"class","FormRequired svelte-1n7xy37"),u(C,"for","SecurityAnswer"),u(C,"class","svelte-1n7xy37"),u(F,"type","text"),u(F,"placeholder",Je=e[4]?e[43]:""),u(F,"class","svelte-1n7xy37"),u(I,"class",qe="PlayerInfoBox "+(e[24]?"InvalidField":"")+" svelte-1n7xy37"),u(lt,"class","svelte-1n7xy37"),u(Ne,"type","email"),u(Ne,"class","FieldDisabled svelte-1n7xy37"),Ne.value=e[31],Ne.readOnly=!0,u(Ce,"class","PlayerInfoBox svelte-1n7xy37"),u(ut,"class","svelte-1n7xy37"),u(_e,"type","text"),u(_e,"class","FieldDisabled svelte-1n7xy37"),_e.value=e[28],_e.readOnly=!0,u(Te,"class","PlayerInfoBox svelte-1n7xy37"),u(ft,"class","svelte-1n7xy37"),u(Pe,"type","text"),u(Pe,"class","FieldDisabled svelte-1n7xy37"),Pe.value=e[32],Pe.readOnly=!0,u(Re,"class","PlayerInfoBox svelte-1n7xy37"),u(pt,"class","svelte-1n7xy37"),u(G,"type","text"),u(G,"class","FieldDisabled svelte-1n7xy37"),G.value=e[34],G.readOnly=!0,u(Ue,"class","PlayerInfoBox svelte-1n7xy37"),u(yt,"class","svelte-1n7xy37"),u(Se,"type","text"),u(Se,"class","FieldDisabled svelte-1n7xy37"),Se.value=e[33],Se.readOnly=!0,u(Ge,"class","PlayerInfoBox svelte-1n7xy37"),u(bt,"class","svelte-1n7xy37"),u(we,"type","text"),u(we,"class","FieldDisabled svelte-1n7xy37"),we.value=e[29],we.readOnly=!0,u(je,"class","PlayerInfoBox svelte-1n7xy37"),u(m,"class","PlayerDetailsContent svelte-1n7xy37"),u(Et,"class","svelte-1n7xy37"),u(xt,"class","PlayerLocationHeader svelte-1n7xy37"),u(Pt,"class","svelte-1n7xy37"),u(le,"type","text"),u(le,"class","PlayerCountry FieldDisabled svelte-1n7xy37"),u(le,"placeholder",e[0]),le.value=$e=e[15].Name,le.readOnly=!0,u(ze,"class","PlayerInfoBox svelte-1n7xy37"),u(xr,"class","svelte-1n7xy37"),u(he,"type","text"),u(he,"placeholder",_r=e[4]?e[41]:""),he.value=Yt=e[4]?"":e[27].city,u(he,"class","svelte-1n7xy37"),u(Z,"class",Pr="PlayerInfoBox "+(e[20]?"InvalidField":"")+" svelte-1n7xy37"),u(Sr,"class","svelte-1n7xy37"),u(ge,"placeholder",e[40]),u(ge,"type","text"),ge.value=Kt=e[4]?"":e[27].address,u(ge,"class","svelte-1n7xy37"),u(Ae,"class",Ar="PlayerInfoBox "+(e[22]?"InvalidField":"")+" svelte-1n7xy37"),u(Br,"class","svelte-1n7xy37"),u(pe,"type","text"),u(pe,"placeholder",Cr=e[4]?e[42]:""),pe.value=er=e[4]?"":e[27].postalCode,u(pe,"class","svelte-1n7xy37"),u(Be,"class",Nr="PlayerInfoBox "+(e[21]?"InvalidField":"")+" svelte-1n7xy37"),u(fe,"class","PlayerLocationContent svelte-1n7xy37"),u(St,"class",Mr="PlayerDetailsSaveButton "+(e[14]&&e[19]?"":"PlayerButtonDisabled")+" svelte-1n7xy37"),u(Tr,"class","PlayerDetailsButtonsArea "+(e[38]?"PlayerDetailsButtonsAreaMobile":"")+" svelte-1n7xy37"),u(t,"class","PlayerInfoWrapper "+(e[38]?"PlayerInfoWrapperMobile":"")+" "+(e[39].matches&&e[38]?"PlayerInfoWrapperTablet":"")+" svelte-1n7xy37")},m(p,b){R(p,t,b),Ye&&Ye.m(t,null),l(t,r),l(t,n),l(n,o),l(t,s),l(t,a),l(a,c),l(c,h),l(t,y),l(t,m),l(m,g),l(g,S),l(S,N),l(g,V),l(g,D),l(m,L),l(m,T),l(T,U),l(U,ue),l(T,ye),l(T,ce),l(ce,ae);for(let j=0;j<J.length;j+=1)J[j]&&J[j].m(ae,null);Vn(ae,e[12],!0),l(ce,et),l(ce,z),Ie(z,e[13]),l(T,tt),Y&&Y.m(T,null),l(m,We),l(m,X),l(X,ve),l(ve,Xe),l(ve,rt),l(ve,Fe),l(X,nt),l(X,$),Ie($,e[10]),l(X,ar),K&&K.m(X,null),l(m,ot),l(m,I),l(I,C),l(C,at),l(C,lr),l(C,Ut),l(I,Gt),l(I,F),Ie(F,e[11]),l(I,jt),ee&&ee.m(I,null),l(m,ur),l(m,Ce),l(Ce,lt),l(lt,xe),l(Ce,zt),l(Ce,Ne),l(m,$t),l(m,Te),l(Te,ut),l(ut,Qt),l(Te,Ee),l(Te,_e),l(m,cr),l(m,Re),l(Re,ft),l(ft,Vt),l(Re,fr),l(Re,Pe),l(m,hr),l(m,Ue),l(Ue,pt),l(pt,dt),l(Ue,Wt),l(Ue,G),l(m,pr),l(m,Ge),l(Ge,yt),l(yt,Xt),l(Ge,mr),l(Ge,Se),l(m,dr),l(m,je),l(je,bt),l(bt,Zt),l(je,yr),l(je,we),l(m,vr),te&&te.m(m,null),l(t,br),l(t,xt),l(xt,Et),l(Et,Jt),l(t,gr),l(t,fe),l(fe,ze),l(ze,Pt),l(Pt,M),l(ze,Q),l(ze,le),l(fe,qt),l(fe,Z),l(Z,xr),l(xr,Xr),l(Z,Cn),l(Z,he),e[68](he),l(Z,Nn),re&&re.m(Z,null),l(fe,Tn),l(fe,Ae),l(Ae,Sr),l(Sr,Zr),l(Ae,Hn),l(Ae,ge),e[70](ge),l(Ae,Mn),ne&&ne.m(Ae,null),l(fe,On),l(fe,Be),l(Be,Br),l(Br,Jr),l(Be,Dn),l(Be,pe),e[72](pe),l(Be,kn),ie&&ie.m(Be,null),l(t,Ln),oe&&oe.m(t,null),l(t,qr),l(t,Tr),l(Tr,St),l(St,Yr),l(t,Fn),se&&se.m(t,null),Kr||(Rn=[O(ae,"change",e[60]),O(ae,"change",e[61]),O(z,"input",e[62]),O(z,"keyup",e[45]),O(z,"keyup",e[63]),O($,"input",e[64]),O($,"keyup",e[65]),O($,"blur",e[46]),O(F,"input",e[66]),O(F,"keyup",e[67]),O(F,"blur",e[47]),O(he,"blur",e[48]),O(he,"keyup",e[69]),O(ge,"blur",e[50]),O(ge,"keyup",e[71]),O(pe,"blur",e[49]),O(pe,"keyup",e[73]),O(St,"click",e[76])],Kr=!0)},p(p,b){if(p[38]&&Ye.p(p,b),b[1]&64&&i!==(i=p[37]("titleProfileInfo")+"")&&B(o,i),b[1]&64&&f!==(f=p[37]("personalDetails")+"")&&B(h,f),b[1]&64&&E!==(E=p[37]("userName")+"")&&B(N,E),b[1]&16&&D.value!==p[35]&&(D.value=p[35]),b[1]&64&&W!==(W=p[37]("userPhone")+"")&&B(ue,W),b[0]&134283264){wt=Xn(p[16]);let j;for(j=0;j<wt.length;j+=1){const Un=vi(p,wt,j);J[j]?J[j].p(Un,b):(J[j]=bi(Un),J[j].c(),J[j].m(ae,null))}for(;j<J.length;j+=1)J[j].d(1);J.length=wt.length}b[0]&69632&&Vn(ae,p[12]),b[0]&1073741840&&De!==(De=p[4]?p[30].number:"")&&u(z,"placeholder",De),b[0]&8192&&z.value!==p[13]&&Ie(z,p[13]),p[25]?Y?Y.p(p,b):(Y=gi(p),Y.c(),Y.m(T,null)):Y&&(Y.d(1),Y=null),b[0]&33554432&&ke!==(ke="PlayerInfoBox "+(p[25]?"InvalidField":"")+" svelte-1n7xy37")&&u(T,"class",ke),b[0]&2|b[1]&64&&Le!==(Le=(p[1]=="true"?p[37]("profileSecurityQuestion2"):p[37]("profileSecurityQuestion"))+"")&&B(Xe,Le),b[0]&16&&Ze!==(Ze=p[4]?p[44]:"")&&u($,"placeholder",Ze),b[0]&1024&&$.value!==p[10]&&Ie($,p[10]),p[23]?K?K.p(p,b):(K=xi(p),K.c(),K.m(X,null)):K&&(K.d(1),K=null),b[0]&8388608&&it!==(it="PlayerInfoBox "+(p[23]?"InvalidField":"")+" svelte-1n7xy37")&&u(X,"class",it),b[0]&2|b[1]&64&&st!==(st=(p[1]=="true"?p[37]("profileSecurityAnswer2"):p[37]("profileSecurityAnswer"))+"")&&B(at,st),b[0]&16&&Je!==(Je=p[4]?p[43]:"")&&u(F,"placeholder",Je),b[0]&2048&&F.value!==p[11]&&Ie(F,p[11]),p[24]?ee?ee.p(p,b):(ee=Ei(p),ee.c(),ee.m(I,null)):ee&&(ee.d(1),ee=null),b[0]&16777216&&qe!==(qe="PlayerInfoBox "+(p[24]?"InvalidField":"")+" svelte-1n7xy37")&&u(I,"class",qe),b[1]&64&&be!==(be=p[37]("userEmail")+"")&&B(xe,be),b[1]&1&&Ne.value!==p[31]&&(Ne.value=p[31]),b[1]&64&&ct!==(ct=p[37]("dateOfBirth")+"")&&B(Qt,ct),b[0]&268435456&&_e.value!==p[28]&&(_e.value=p[28]),b[1]&64&&ht!==(ht=p[37]("firstName")+"")&&B(Vt,ht),b[1]&2&&Pe.value!==p[32]&&(Pe.value=p[32]),b[1]&64&&mt!==(mt=p[37]("lastName")+"")&&B(dt,mt),b[1]&8&&G.value!==p[34]&&(G.value=p[34]),b[1]&64&&vt!==(vt=p[37]("userTitle")+"")&&B(Xt,vt),b[1]&4&&Se.value!==p[33]&&(Se.value=p[33]),b[1]&64&&gt!==(gt=p[37]("currency")+"")&&B(Zt,gt),b[0]&536870912&&we.value!==p[29]&&(we.value=p[29]),p[36]?te?te.p(p,b):(te=_i(p),te.c(),te.m(m,null)):te&&(te.d(1),te=null),b[1]&64&&_t!==(_t=p[37]("locationDetails")+"")&&B(Jt,_t),b[1]&64&&v!==(v=p[37]("userCountry")+"")&&B(M,v),b[0]&1&&u(le,"placeholder",p[0]),b[0]&32768&&$e!==($e=p[15].Name)&&le.value!==$e&&(le.value=$e),b[1]&64&&Er!==(Er=p[37]("userCity")+"")&&B(Xr,Er),b[0]&16&&_r!==(_r=p[4]?p[41]:"")&&u(he,"placeholder",_r),b[0]&134217744&&Yt!==(Yt=p[4]?"":p[27].city)&&he.value!==Yt&&(he.value=Yt),p[20]?re?re.p(p,b):(re=Pi(p),re.c(),re.m(Z,null)):re&&(re.d(1),re=null),b[0]&1048576&&Pr!==(Pr="PlayerInfoBox "+(p[20]?"InvalidField":"")+" svelte-1n7xy37")&&u(Z,"class",Pr),b[1]&64&&wr!==(wr=p[37]("userAddress")+"")&&B(Zr,wr),b[0]&134217744&&Kt!==(Kt=p[4]?"":p[27].address)&&ge.value!==Kt&&(ge.value=Kt),p[22]?ne?ne.p(p,b):(ne=Si(p),ne.c(),ne.m(Ae,null)):ne&&(ne.d(1),ne=null),b[0]&4194304&&Ar!==(Ar="PlayerInfoBox "+(p[22]?"InvalidField":"")+" svelte-1n7xy37")&&u(Ae,"class",Ar),b[1]&64&&Ir!==(Ir=p[37]("userPostalCode")+"")&&B(Jr,Ir),b[0]&16&&Cr!==(Cr=p[4]?p[42]:"")&&u(pe,"placeholder",Cr),b[0]&134217744&&er!==(er=p[4]?"":p[27].postalCode)&&pe.value!==er&&(pe.value=er),p[21]?ie?ie.p(p,b):(ie=wi(p),ie.c(),ie.m(Be,null)):ie&&(ie.d(1),ie=null),b[0]&2097152&&Nr!==(Nr="PlayerInfoBox "+(p[21]?"InvalidField":"")+" svelte-1n7xy37")&&u(Be,"class",Nr),p[17]||p[18]?oe?oe.p(p,b):(oe=Ai(p),oe.c(),oe.m(t,qr)):oe&&(oe.d(1),oe=null),b[1]&64&&Hr!==(Hr=p[37]("userProfileSaveChanges")+"")&&B(Yr,Hr),b[0]&540672&&Mr!==(Mr="PlayerDetailsSaveButton "+(p[14]&&p[19]?"":"PlayerButtonDisabled")+" svelte-1n7xy37")&&u(St,"class",Mr),p[26]?se?se.p(p,b):(se=Ci(p),se.c(),se.m(t,null)):se&&(se.d(1),se=null)},d(p){p&&k(t),Ye&&Ye.d(),So(J,p),Y&&Y.d(),K&&K.d(),ee&&ee.d(),te&&te.d(),e[68](null),re&&re.d(),e[70](null),ne&&ne.d(),e[72](null),ie&&ie.d(),oe&&oe.d(),se&&se.d(),Kr=!1,Ve(Rn)}}}function Xa(e){let t;return{c(){t=d("div"),u(t,"class","ModalLoader")},m(r,n){R(r,t,n)},p:de,d(r){r&&k(t)}}}function Za(e){let t,r,n,i,o,s,a,c,f,h,y=e[37]("titleProfileInfo")+"",m,g,S;return{c(){t=d("div"),r=At("svg"),n=At("defs"),i=At("style"),o=_(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),s=At("g"),a=At("g"),c=At("path"),f=x(),h=d("h2"),m=_(y),u(c,"class","aaa"),u(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),u(c,"transform","translate(15 15) rotate(180)"),u(a,"transform","translate(20 158)"),u(s,"transform","translate(-20 -158)"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(r,"width","15"),u(r,"height","15"),u(r,"viewBox","0 0 15 15"),u(h,"class","MyAccountCategoryTitleMobile svelte-1n7xy37"),u(t,"class","MenuReturnButton svelte-1n7xy37")},m(E,N){R(E,t,N),l(t,r),l(r,n),l(n,i),l(i,o),l(r,s),l(s,a),l(a,c),l(t,f),l(t,h),l(h,m),g||(S=O(t,"click",e[59]),g=!0)},p(E,N){N[1]&64&&y!==(y=E[37]("titleProfileInfo")+"")&&B(m,y)},d(E){E&&k(t),g=!1,S()}}}function Ja(e){let t,r=e[106].Prefix+"",n,i;return{c(){t=d("option"),n=_(r),t.__value=i=e[106].Prefix,Ie(t,t.__value),u(t,"class","svelte-1n7xy37")},m(o,s){R(o,t,s),l(t,n)},p(o,s){s[0]&65536&&r!==(r=o[106].Prefix+"")&&B(n,r),s[0]&65536&&i!==(i=o[106].Prefix)&&(t.__value=i,Ie(t,t.__value))},d(o){o&&k(t)}}}function qa(e){let t,r=e[106].Prefix+"",n,i;return{c(){t=d("option"),n=_(r),t.selected=!0,t.__value=i=e[106].Prefix,Ie(t,t.__value),u(t,"class","svelte-1n7xy37")},m(o,s){R(o,t,s),l(t,n)},p(o,s){s[0]&65536&&r!==(r=o[106].Prefix+"")&&B(n,r),s[0]&65536&&i!==(i=o[106].Prefix)&&(t.__value=i,Ie(t,t.__value))},d(o){o&&k(t)}}}function bi(e){let t;function r(o,s){return o[106].Prefix===o[27].mobiePrefix?qa:Ja}let n=r(e),i=n(e);return{c(){i.c(),t=wo()},m(o,s){i.m(o,s),R(o,t,s)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&k(t),i.d(o)}}}function gi(e){let t,r=e[37]("userPhoneError")+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[1]&64&&r!==(r=i[37]("userPhoneError")+"")&&B(n,r)},d(i){i&&k(t)}}}function xi(e){let t,r=(e[1]=="true"?e[37]("profileSecurityQuestionError2"):e[37]("profileSecurityQuestionError"))+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[0]&2|o[1]&64&&r!==(r=(i[1]=="true"?i[37]("profileSecurityQuestionError2"):i[37]("profileSecurityQuestionError"))+"")&&B(n,r)},d(i){i&&k(t)}}}function Ei(e){let t,r=(e[1]=="true"?e[37]("profileSecurityAnswerError2"):e[37]("profileSecurityAnswerError"))+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[0]&2|o[1]&64&&r!==(r=(i[1]=="true"?i[37]("profileSecurityAnswerError2"):i[37]("profileSecurityAnswerError"))+"")&&B(n,r)},d(i){i&&k(t)}}}function _i(e){let t,r,n=e[37]("iban")+"",i,o,s;return{c(){t=d("div"),r=d("label"),i=_(n),o=x(),s=d("input"),u(r,"class","svelte-1n7xy37"),u(s,"type","text"),u(s,"class","FieldDisabled svelte-1n7xy37"),s.value=e[36],s.readOnly=!0,u(t,"class","PlayerInfoBox svelte-1n7xy37")},m(a,c){R(a,t,c),l(t,r),l(r,i),l(t,o),l(t,s)},p(a,c){c[1]&64&&n!==(n=a[37]("iban")+"")&&B(i,n),c[1]&32&&s.value!==a[36]&&(s.value=a[36])},d(a){a&&k(t)}}}function Pi(e){let t,r=e[37]("userCityError")+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[1]&64&&r!==(r=i[37]("userCityError")+"")&&B(n,r)},d(i){i&&k(t)}}}function Si(e){let t,r=e[37]("userAddressError")+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[1]&64&&r!==(r=i[37]("userAddressError")+"")&&B(n,r)},d(i){i&&k(t)}}}function wi(e){let t,r=e[37]("userPostalCodeError")+"",n;return{c(){t=d("p"),n=_(r),u(t,"class","InvalidInput svelte-1n7xy37")},m(i,o){R(i,t,o),l(t,n)},p(i,o){o[1]&64&&r!==(r=i[37]("userPostalCodeError")+"")&&B(n,r)},d(i){i&&k(t)}}}function Ai(e){let t,r,n=e[37]("userNotifications")+"",i,o,s,a,c=e[18]&&Bi(e),f=e[17]&&Ii(e);return{c(){t=d("div"),r=d("h3"),i=_(n),o=x(),s=d("section"),c&&c.c(),a=x(),f&&f.c(),u(r,"class","svelte-1n7xy37"),u(t,"class","PlayerNotificationsHeader svelte-1n7xy37"),u(s,"class","PlayerNotificationsCheckboxArea svelte-1n7xy37")},m(h,y){R(h,t,y),l(t,r),l(r,i),R(h,o,y),R(h,s,y),c&&c.m(s,null),l(s,a),f&&f.m(s,null)},p(h,y){y[1]&64&&n!==(n=h[37]("userNotifications")+"")&&B(i,n),h[18]?c?c.p(h,y):(c=Bi(h),c.c(),c.m(s,a)):c&&(c.d(1),c=null),h[17]?f?f.p(h,y):(f=Ii(h),f.c(),f.m(s,null)):f&&(f.d(1),f=null)},d(h){h&&(k(t),k(o),k(s)),c&&c.d(),f&&f.d()}}}function Bi(e){let t,r,n,i,o,s,a,c=e[37]("userSMSNotification")+"",f,h,y;return{c(){t=d("div"),r=d("label"),n=d("input"),i=x(),o=d("span"),s=x(),a=d("span"),f=_(c),u(n,"type","checkbox"),u(n,"id","SMSNotification"),u(n,"name","Enable SMS notifications"),u(n,"class","svelte-1n7xy37"),u(o,"class","Checkmark svelte-1n7xy37"),u(a,"class","svelte-1n7xy37"),u(r,"for","SMSNotification"),u(r,"class","svelte-1n7xy37"),u(t,"class","PlayerNotificationBox svelte-1n7xy37")},m(m,g){R(m,t,g),l(t,r),l(r,n),n.checked=e[8],l(r,i),l(r,o),l(r,s),l(r,a),l(a,f),h||(y=[O(n,"change",e[74]),O(n,"change",e[53])],h=!0)},p(m,g){g[0]&256&&(n.checked=m[8]),g[1]&64&&c!==(c=m[37]("userSMSNotification")+"")&&B(f,c)},d(m){m&&k(t),h=!1,Ve(y)}}}function Ii(e){let t,r,n,i,o,s,a,c=e[37]("userEmailNotification")+"",f,h,y;return{c(){t=d("div"),r=d("label"),n=d("input"),i=x(),o=d("span"),s=x(),a=d("span"),f=_(c),u(n,"type","checkbox"),u(n,"id","EmailNotification"),u(n,"name","Enable Emails"),u(n,"class","svelte-1n7xy37"),u(o,"class","Checkmark svelte-1n7xy37"),u(a,"class","svelte-1n7xy37"),u(r,"for","EmailNotification"),u(r,"class","svelte-1n7xy37"),u(t,"class","PlayerNotificationBox svelte-1n7xy37")},m(m,g){R(m,t,g),l(t,r),l(r,n),n.checked=e[9],l(r,i),l(r,o),l(r,s),l(r,a),l(a,f),h||(y=[O(n,"change",e[75]),O(n,"change",e[53])],h=!0)},p(m,g){g[0]&512&&(n.checked=m[9]),g[1]&64&&c!==(c=m[37]("userEmailNotification")+"")&&B(f,c)},d(m){m&&k(t),h=!1,Ve(y)}}}function Ci(e){let t,r,n=e[37]("userProfileConfirmationMessage")+"",i;return{c(){t=d("section"),r=d("p"),i=_(n),u(r,"class","PlayerDetailsConfirmSaveText svelte-1n7xy37"),u(t,"class","PlayerDetailsConfirmSave svelte-1n7xy37")},m(o,s){R(o,t,s),l(t,r),l(r,i)},p(o,s){s[1]&64&&n!==(n=o[37]("userProfileConfirmationMessage")+"")&&B(i,n)},d(o){o&&k(t)}}}function Ya(e){let t;function r(o,s){return o[3]?Xa:Wa}let n=r(e),i=n(e);return{c(){t=d("div"),i.c()},m(o,s){R(o,t,s),i.m(t,null),e[77](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:de,o:de,d(o){o&&k(t),i.d(),e[77](null)}}}function Ka(e,t,r){let n;xo(e,za,v=>r(37,n=v));let{endpoint:i=""}=t,{lang:o="en"}=t,{countrycode:s="IR"}=t,{clientstyling:a=""}=t,{clientstylingurl:c=""}=t,{translationurl:f=""}=t,{custominputtextswitch:h="false"}=t,y,m=!0,g=window.navigator.userAgent,S=$a(g)!=="PC",E=!0,N,V,D,L=!1,T=!1,U="",W="",ue="",ye="",ce=!1,ae={Name:"I.e Ireland"},et=[],z=[],De=[],tt=!1,ke=!1,We={items:[]},X=!1,ve="",Le="",Xe="",rt=!1,Fe=!1,nt,$=!1,Ze={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};const ar=()=>{fetch(f).then(M=>M.json()).then(M=>{Object.keys(M).forEach(Q=>{di(Q,M[Q])})}).catch(M=>{console.log(M)})};Object.keys(yi).forEach(v=>{di(v,yi[v])});const it=window.matchMedia("(min-width: 768px)");let ot={address1:"",address2:"",city:"",acceptNewsEmail:!1,acceptSMSOffers:!1,country:"",mobile:{prefix:"",number:""},postalCode:"",securityAnswer:"",securityQuestion:""},I={acceptNewsEmail:!1,acceptSMSOffers:!1,address:"",city:"",mobileNumber:"",mobilePrefix:"",postalCode:"",securityAnswer:"",securityQuestion:""},C={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",country:"i.e.: Ireland",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},{address1:st,birth:at,city:lr,country:Ut,currency:Gt,mobile:F,email:Je,firstname:jt,userTitles:qe,language:ur,lastname:Ce,postalCode:lt,securityAnswer:be,securityQuestion:xe,username:zt,consents:Ne,iban:$t}=C;const Te=v=>{var M,Q,le,$e,qt;if(v.data)switch(v.data.type){case"ProfileDetailsData":r(4,E=!1),C=v.data.profileDetails,r(35,zt=C.username),r(30,F=C.mobile),r(31,Je=C.email),r(32,jt=C.firstname),r(34,Ce=C.lastname),ur=C.language,r(28,at=((M=C.birth)==null?void 0:M.day)+"/"+((Q=C.birth)==null?void 0:Q.month)+"/"+((le=C.birth)==null?void 0:le.year)),r(29,Gt=C.currency),r(36,$t=C.iban),r(33,qe=C.title),r(10,U=C.securityQuestion),r(11,W=C.securityAnswer),r(12,ue=($e=C.mobile)==null?void 0:$e.prefix),r(13,ye=(qt=C.mobile)==null?void 0:qt.number),r(27,I.address=C.address1,I),r(27,I.city=C.city,I),r(27,I.mobilePrefix=F==null?void 0:F.prefix,I),r(27,I.mobileNumber=F==null?void 0:F.number,I),r(27,I.postalCode=C.postalCode,I),r(27,I.securityAnswer=C.securityAnswer,I),r(27,I.securityQuestion=C.securityQuestion,I);break;case"ProfileConsentData":De=v.data.consent.items,Array.isArray(De)&&De.forEach(Z=>{Z.tagCode=="emailmarketing"?(r(17,tt=!0),r(9,T=Z.status=="Accepted"),r(27,I.acceptNewsEmail=T,I)):Z.tagCode=="sms"&&(r(18,ke=!0),r(8,L=Z.status=="Accepted"),r(27,I.acceptSMSOffers=L,I))});break;case"ConfirmProfileInfoSave":r(14,ce=!1),Qt();break}},ut=()=>{fetch(`${i}/v1/player/countries`).then(v=>v.status>=300?new Error("Error while fetching the countries"):v.json()).then(v=>{fetch(`${i}/v1/player/operatorSupportedCountries`).then(M=>M.status>=300?new Error("Error while fetching the supported countries"):M.json()).then(M=>{z=v.countries.filter(Q=>M.countries.indexOf(Q.Alpha2Code)>=0),r(15,ae=z.find(Q=>Q.Alpha2Code===s)||{Name:"I.E. Ireland"}),r(3,m=!1)})})},ct=()=>{fetch(`${i}/v1/player/phonecodes`).then(v=>v.json()).then(v=>{r(16,et=v.phoneCodes)})},Qt=()=>{r(26,$=!0),setTimeout(()=>{r(26,$=!1)},3e3)},Ee=()=>{rt||Fe||ve||Xe||Le||nt?r(19,X=!1):r(19,X=!0)},_e=()=>!!(ye&&ye.length>=5&&ye.length<=12),cr=()=>{r(25,nt=!_e()),Ee()},Re=()=>{if(xe)switch(h){case"true":if(Ze.document.test(xe)&&xe.length<=50)return!0;break;case"false":if(xe&&xe.length<=120)return!0;break}return!1},ft=()=>{r(23,rt=!Re()),Ee()},ht=()=>{if(be)switch(h){case"true":if(Ze.document.test(be)&&be.length<=50)return!0;break;case"false":if(be&&be.length<=120)return!0;break}return!1},Vt=()=>{r(24,Fe=!ht()),Ee()},fr=()=>!!(D.value&&D.value.length<=50),Pe=()=>{r(20,ve=!fr()),Ee()},hr=()=>!!(N.value&&N.value.length<=20),Ue=()=>{r(21,Le=!hr()),Ee()},pt=()=>!!(V.value&&V.value.length<=100),mt=()=>{r(22,Xe=!pt()),Ee()},dt=v=>{v.preventDefault(),ce==!0&&X==!0&&(window.postMessage({type:"UpdatePlayerInfo",provisionalArray:ot},window.location.href),window.postMessage({type:"UpdatePlayerConsent",consentArray:We},window.location.href))},Wt=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:S},window.location.href)},G=()=>{ot={acceptNewsEmail:T,acceptSMSOffers:L,address:V.value,city:D.value,mobileNumber:ye,mobilePrefix:ue,postalCode:N.value,securityAnswer:W,securityQuestion:U},Ge(ot,I),pr(),Ee()},pr=()=>{We={items:[]},ke&&We.items.push({tagCode:"sms",status:L?"Accepted":"Denied"}),tt&&We.items.push({tagCode:"emailmarketing",status:T?"Accepted":"Denied"})},Ge=(v,M)=>{JSON.stringify(v)===JSON.stringify(M)?r(14,ce=!1):r(14,ce=!0)},yt=()=>{Qa(o)},vt=()=>{let v=document.createElement("style");v.innerHTML=a,y.appendChild(v)},Xt=()=>{let v=new URL(c),M=document.createElement("style");fetch(v.href).then(Q=>Q.text()).then(Q=>{M.innerHTML=Q,setTimeout(()=>{y.appendChild(M)},1)})};No(()=>(window.addEventListener("message",Te,!1),()=>{window.removeEventListener("message",Te)}));const mr=()=>Wt();function Se(){ue=Bo(this),r(12,ue),r(16,et)}const dr=()=>G();function je(){ye=this.value,r(13,ye)}const bt=()=>G();function gt(){U=this.value,r(10,U)}const Zt=()=>G();function yr(){W=this.value,r(11,W)}const we=()=>G();function vr(v){Nt[v?"unshift":"push"](()=>{D=v,r(7,D)})}const br=()=>G();function xt(v){Nt[v?"unshift":"push"](()=>{V=v,r(6,V)})}const Et=()=>G();function _t(v){Nt[v?"unshift":"push"](()=>{N=v,r(5,N)})}const Jt=()=>G();function gr(){L=this.checked,r(8,L)}function fe(){T=this.checked,r(9,T)}const ze=v=>dt(v);function Pt(v){Nt[v?"unshift":"push"](()=>{y=v,r(2,y)})}return e.$$set=v=>{"endpoint"in v&&r(54,i=v.endpoint),"lang"in v&&r(55,o=v.lang),"countrycode"in v&&r(0,s=v.countrycode),"clientstyling"in v&&r(56,a=v.clientstyling),"clientstylingurl"in v&&r(57,c=v.clientstylingurl),"translationurl"in v&&r(58,f=v.translationurl),"custominputtextswitch"in v&&r(1,h=v.custominputtextswitch)},e.$$.update=()=>{e.$$.dirty[1]&16777216&&o&&yt(),e.$$.dirty[0]&1|e.$$.dirty[1]&8388608&&i&&s&&ut(),e.$$.dirty[1]&8388608&&i&&ct(),e.$$.dirty[0]&4|e.$$.dirty[1]&67108864&&c&&y&&Xt(),e.$$.dirty[0]&4|e.$$.dirty[1]&33554432&&a&&y&&vt(),e.$$.dirty[1]&134217728&&f&&ar()},[s,h,y,m,E,N,V,D,L,T,U,W,ue,ye,ce,ae,et,tt,ke,X,ve,Le,Xe,rt,Fe,nt,$,I,at,Gt,F,Je,jt,qe,Ce,zt,$t,n,S,it,st,lr,lt,be,xe,cr,ft,Vt,Pe,Ue,mt,dt,Wt,G,i,o,a,c,f,mr,Se,dr,je,bt,gt,Zt,yr,we,vr,br,xt,Et,_t,Jt,gr,fe,ze,Pt]}class ho extends jo{constructor(t){super(),Uo(this,t,Ka,Ya,Ti,{endpoint:54,lang:55,countrycode:0,clientstyling:56,clientstylingurl:57,translationurl:58,custominputtextswitch:1},Va,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[54]}set endpoint(t){this.$$set({endpoint:t}),He()}get lang(){return this.$$.ctx[55]}set lang(t){this.$$set({lang:t}),He()}get countrycode(){return this.$$.ctx[0]}set countrycode(t){this.$$set({countrycode:t}),He()}get clientstyling(){return this.$$.ctx[56]}set clientstyling(t){this.$$set({clientstyling:t}),He()}get clientstylingurl(){return this.$$.ctx[57]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),He()}get translationurl(){return this.$$.ctx[58]}set translationurl(t){this.$$set({translationurl:t}),He()}get custominputtextswitch(){return this.$$.ctx[1]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),He()}}Go(ho,{endpoint:{},lang:{},countrycode:{},clientstyling:{},clientstylingurl:{},translationurl:{},custominputtextswitch:{}},[],[],!0);exports.default=ho;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/player-profile-info",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "type": "module",
5
5
  "main": "es2015/player-profile-info.cjs",
6
6
  "module": "es2015/player-profile-info.js",
@@ -11,8 +11,9 @@
11
11
  },
12
12
  "./es2015/player-profile-info.cjs": "./es2015/player-profile-info.cjs"
13
13
  },
14
- "files": [
15
- "es2015/"
14
+ "files": [
15
+ "es2015/",
16
+ "components"
16
17
  ],
17
18
  "publishConfig": {
18
19
  "access": "public"