@everymatrix/player-profile-info 1.53.12 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/PlayerProfileInfo-B0DWY_Sn.cjs +5 -0
- package/components/{PlayerProfileInfo-BqaXiv9W.js → PlayerProfileInfo-Bv1LGhVO.js} +1236 -1198
- package/es2015/player-profile-info.cjs +1 -0
- package/es2015/player-profile-info.js +16 -0
- package/package.json +8 -12
- package/esnext/player-profile-info.js +0 -14
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";var po=Object.defineProperty,mo=Object.defineProperties;var yo=Object.getOwnPropertyDescriptors;var Gn=Object.getOwnPropertySymbols;var bo=Object.prototype.hasOwnProperty,go=Object.prototype.propertyIsEnumerable;var Qr=(e,t,r)=>t in e?po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zn=(e,t)=>{for(var r in t||(t={}))bo.call(t,r)&&Qr(e,r,t[r]);if(Gn)for(var r of Gn(t))go.call(t,r)&&Qr(e,r,t[r]);return e},Qn=(e,t)=>mo(e,yo(t));var ue=(e,t,r)=>Qr(e,typeof t!="symbol"?t+"":t,r);var pr=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{l(r.next(c))}catch(u){i(u)}},a=c=>{try{l(r.throw(c))}catch(u){i(u)}},l=c=>c.done?n(c.value):Promise.resolve(c.value).then(o,a);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function ce(){}function Ti(e){return e()}function Vn(){return Object.create(null)}function je(e){e.forEach(Ti)}function wr(e){return typeof e=="function"}function Ni(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function vo(e){return Object.keys(e).length===0}function Hi(e,...t){if(e==null){for(const n of t)n(void 0);return ce}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Eo(e,t,r){e.$$.on_destroy.push(Hi(t,r))}function s(e,t){e.appendChild(t)}function _o(e,t,r){const n=Po(e);if(!n.getElementById(t)){const i=m("style");i.id=t,i.textContent=r,So(n,i)}}function Po(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function So(e,t){return s(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function D(e){e.parentNode&&e.parentNode.removeChild(e)}function Mi(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function m(e){return document.createElement(e)}function st(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function E(){return w(" ")}function Oi(){return w("")}function F(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function f(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function wo(e){return Array.from(e.childNodes)}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function G(e,t){e.value=t==null?"":t}function $n(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 xo(e){const t=e.querySelector(":checked");return t&&t.__value}function Co(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let dn;function Nt(e){dn=e}const ct=[],Yr=[];let ft=[];const Wn=[],Ao=Promise.resolve();let Kr=!1;function Bo(){Kr||(Kr=!0,Ao.then(we))}function Er(e){ft.push(e)}const Vr=new Set;let lt=0;function we(){if(lt!==0)return;const e=dn;do{try{for(;lt<ct.length;){const t=ct[lt];lt++,Nt(t),Io(t.$$)}}catch(t){throw ct.length=0,lt=0,t}for(Nt(null),ct.length=0,lt=0;Yr.length;)Yr.pop()();for(let t=0;t<ft.length;t+=1){const r=ft[t];Vr.has(r)||(Vr.add(r),r())}ft.length=0}while(ct.length);for(;Wn.length;)Wn.pop()();Kr=!1,Vr.clear(),Nt(e)}function Io(e){if(e.fragment!==null){e.update(),je(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Er)}}function To(e){const t=[],r=[];ft.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),ft=t}const No=new Set;function Ho(e,t){e&&e.i&&(No.delete(e),e.i(t))}function _r(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Mo(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Er(()=>{const o=e.$$.on_mount.map(Ti).filter(wr);e.$$.on_destroy?e.$$.on_destroy.push(...o):je(o),e.$$.on_mount=[]}),i.forEach(Er)}function Oo(e,t){const r=e.$$;r.fragment!==null&&(To(r.after_update),je(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Do(e,t){e.$$.dirty[0]===-1&&(ct.push(e),Bo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ko(e,t,r,n,i,o,a=null,l=[-1]){const c=dn;Nt(e);const u=e.$$={fragment:null,ctx:[],props:o,update:ce,not_equal:i,bound:Vn(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Vn(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(u.root);let h=!1;if(u.ctx=r(e,t.props||{},(d,p,..._)=>{const S=_.length?_[0]:p;return u.ctx&&i(u.ctx[d],u.ctx[d]=S)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](S),h&&Do(e,d)),p}),u.update(),h=!0,je(u.before_update),u.fragment=n(u.ctx),t.target){if(t.hydrate){const d=wo(t.target);u.fragment&&u.fragment.l(d),d.forEach(D)}else u.fragment&&u.fragment.c();t.intro&&Ho(e.$$.fragment),Mo(e,t.target,t.anchor),we()}Nt(c)}let Di;typeof HTMLElement=="function"&&(Di=class extends HTMLElement{constructor(t,r,n){super();ue(this,"$$ctor");ue(this,"$$s");ue(this,"$$c");ue(this,"$$cn",!1);ue(this,"$$d",{});ue(this,"$$r",!1);ue(this,"$$p_d",{});ue(this,"$$l",{});ue(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 pr(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=m("slot"),o!=="default"&&f(a,"name",o)},m:function(u,h){L(u,a,h)},d:function(u){u&&D(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Co(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=yr(a,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:Qn(zn({},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 a=yr(o,this.$$d[o],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,a)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const a of this.$$l[o]){const l=this.$$c.$on(o,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=yr(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 yr(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 Lo(e,t,r,n,i,o){let a=class extends Di{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(c){var u;c=yr(l,c,t),this.$$d[l]=c,(u=this.$$c)==null||u.$set({[l]:c})}})}),n.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var c;return(c=this.$$c)==null?void 0:c[l]}})}),e.element=a,a}class Fo{constructor(){ue(this,"$$");ue(this,"$$set")}$destroy(){Oo(this,1),this.$destroy=ce}$on(t,r){if(!wr(r))return ce;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&&!vo(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ro="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ro);var en=function(e,t){return en=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])},en(e,t)};function Me(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");en(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var I=function(){return I=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},I.apply(this,arguments)};function Uo(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 tn(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 rn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(l){a={error:l}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.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 He(e){return typeof e=="function"}function ki(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 $r=ki(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 nn(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var xr=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 a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=tn(a),c=l.next();!c.done;c=l.next()){var u=c.value;u.remove(this)}}catch(v){t={error:v}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var h=this.initialTeardown;if(He(h))try{h()}catch(v){o=v instanceof $r?v.errors:[v]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=tn(d),_=p.next();!_.done;_=p.next()){var S=_.value;try{Xn(S)}catch(v){o=o!=null?o:[],v instanceof $r?o=ht(ht([],rn(o)),rn(v.errors)):o.push(v)}}}catch(v){n={error:v}}finally{try{_&&!_.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(o)throw new $r(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Xn(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)&&nn(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&nn(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Li=xr.EMPTY;function Fi(e){return e instanceof xr||e&&"closed"in e&&He(e.remove)&&He(e.add)&&He(e.unsubscribe)}function Xn(e){He(e)?e():e.unsubscribe()}var jo={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Go={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],rn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function zo(e){Go.setTimeout(function(){throw e})}function Zn(){}function br(e){e()}var Ri=function(e){Me(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Fi(r)&&r.add(n)):n.destination=$o,n}return t.create=function(r,n,i){return new on(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}(xr),Qo=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){dr(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){dr(n)}else dr(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){dr(r)}},e}(),on=function(e){Me(t,e);function t(r,n,i){var o=e.call(this)||this,a;return He(r)||!r?a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:a=r,o.destination=new Qo(a),o}return t}(Ri);function dr(e){zo(e)}function Vo(e){throw e}var $o={closed:!0,next:Zn,error:Vo,complete:Zn},Wo=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Xo(e){return e}function Zo(e){return e.length===0?Xo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Jn=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=qo(t)?t:new on(t,r,n);return br(function(){var a=i,l=a.operator,c=a.source;o.add(l?l.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=qn(r),new r(function(i,o){var a=new on({next:function(l){try{t(l)}catch(c){o(c),a.unsubscribe()}},error:o,complete:i});n.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Wo]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Zo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=qn(t),new t(function(n,i){var o;r.subscribe(function(a){return o=a},function(a){return i(a)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function qn(e){var t;return(t=e!=null?e:jo.Promise)!==null&&t!==void 0?t:Promise}function Jo(e){return e&&He(e.next)&&He(e.error)&&He(e.complete)}function qo(e){return e&&e instanceof Ri||Jo(e)&&Fi(e)}var Yo=ki(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ui=function(e){Me(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 Yn(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Yo},t.prototype.next=function(r){var n=this;br(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=tn(n.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(r)}}catch(u){i={error:u}}finally{try{l&&!l.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;br(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;br(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,a=i.isStopped,l=i.observers;return o||a?Li:(this.currentObservers=null,l.push(r),new xr(function(){n.currentObservers=null,nn(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,a=n.isStopped;i?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new Jn;return r.source=this,r},t.create=function(r,n){return new Yn(r,n)},t}(Jn),Yn=function(e){Me(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:Li},t}(Ui),ji={now:function(){return(ji.delegate||Date).now()},delegate:void 0},Ko=function(e){Me(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=ji);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,a=n._infiniteTimeWindow,l=n._timestampProvider,c=n._windowTime;i||(o.push(r),!a&&o.push(l.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,a=i._buffer,l=a.slice(),c=0;c<l.length&&!r.closed;c+=o?1:2)r.next(l[c]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*n;if(n<1/0&&l<o.length&&o.splice(0,o.length-l),!a){for(var c=i.now(),u=0,h=1;h<o.length&&o[h]<=c;h+=2)u=h;u&&o.splice(0,u+1)}},t}(Ui);const Kn=[],ei={},ea=(e,t=0)=>{if(Kn.indexOf(e)==-1){const r=new Ko(t);ei[e]=r,Kn.push(e)}return ei[e]},ut=[];function ta(e,t){return{subscribe:Cr(e,t).subscribe}}function Cr(e,t=ce){let r;const n=new Set;function i(l){if(Ni(e,l)&&(e=l,r)){const c=!ut.length;for(const u of n)u[1](),ut.push(u,e);if(c){for(let u=0;u<ut.length;u+=2)ut[u][0](ut[u+1]);ut.length=0}}}function o(l){i(l(e))}function a(l,c=ce){const u=[l,c];return n.add(u),n.size===1&&(r=t(i,o)||ce),l(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function bt(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 ta(r,(a,l)=>{let c=!1;const u=[];let h=0,d=ce;const p=()=>{if(h)return;d();const S=t(n?u[0]:u,a,l);o?a(S):d=wr(S)?S:ce},_=i.map((S,v)=>Hi(S,O=>{u[v]=O,h&=~(1<<v),c&&p()},()=>{h|=1<<v}));return c=!0,p(),function(){je(_),d(),c=!1}})}function ra(e){return e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var na=function(t){return ia(t)&&!oa(t)};function ia(e){return!!e&&typeof e=="object"}function oa(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||la(e)}var aa=typeof Symbol=="function"&&Symbol.for,sa=aa?Symbol.for("react.element"):60103;function la(e){return e.$$typeof===sa}function ua(e){return Array.isArray(e)?[]:{}}function Ht(e,t){return t.clone!==!1&&t.isMergeableObject(e)?pt(ua(e),e,t):e}function ca(e,t,r){return e.concat(t).map(function(n){return Ht(n,r)})}function fa(e,t){if(!t.customMerge)return pt;var r=t.customMerge(e);return typeof r=="function"?r:pt}function ha(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function ti(e){return Object.keys(e).concat(ha(e))}function Gi(e,t){try{return t in e}catch(r){return!1}}function pa(e,t){return Gi(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function da(e,t,r){var n={};return r.isMergeableObject(e)&&ti(e).forEach(function(i){n[i]=Ht(e[i],r)}),ti(t).forEach(function(i){pa(e,i)||(Gi(e,i)&&r.isMergeableObject(t[i])?n[i]=fa(i,r)(e[i],t[i],r):n[i]=Ht(t[i],r))}),n}function pt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||ca,r.isMergeableObject=r.isMergeableObject||na,r.cloneUnlessOtherwiseSpecified=Ht;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):da(e,t,r):Ht(t,r)}pt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return pt(n,i,r)},{})};var ma=pt,ya=ma;const ba=ra(ya);function Wr(e,t){var r=t&&t.cache?t.cache:wa,n=t&&t.serializer?t.serializer:Pa,i=t&&t.strategy?t.strategy:va;return i(e,{cache:r,serializer:n})}function ga(e){return e==null||typeof e=="number"||typeof e=="boolean"}function zi(e,t,r,n){var i=ga(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function Qi(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 mn(e,t,r,n,i){return r.bind(t,e,n,i)}function va(e,t){var r=e.length===1?zi:Qi;return mn(e,this,r,t.cache.create(),t.serializer)}function Ea(e,t){return mn(e,this,Qi,t.cache.create(),t.serializer)}function _a(e,t){return mn(e,this,zi,t.cache.create(),t.serializer)}var Pa=function(){return JSON.stringify(arguments)},Sa=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e}(),wa={create:function(){return new Sa}},Xr={variadic:Ea,monadic:_a},x;(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"})(x||(x={}));var M;(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"})(M||(M={}));var dt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(dt||(dt={}));function ri(e){return e.type===M.literal}function xa(e){return e.type===M.argument}function Vi(e){return e.type===M.number}function $i(e){return e.type===M.date}function Wi(e){return e.type===M.time}function Xi(e){return e.type===M.select}function Zi(e){return e.type===M.plural}function Ca(e){return e.type===M.pound}function Ji(e){return e.type===M.tag}function qi(e){return!!(e&&typeof e=="object"&&e.type===dt.number)}function an(e){return!!(e&&typeof e=="object"&&e.type===dt.dateTime)}var Yi=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Aa=/(?:[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 Ba(e){var t={};return e.replace(Aa,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 Ia=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Ta(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Ia).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],c=a.slice(1),u=0,h=c;u<h.length;u++){var d=h[u];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:c})}return r}function Na(e){return e.replace(/^(.*?)-/,"")}var ni=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ki=/^(@+)?(\+|#+)?[rs]?$/g,Ha=/(\*)(0+)|(#+)(0+)|(0+)/g,eo=/^(0+)$/;function ii(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Ki,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 to(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 Ma(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)),!eo.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function oi(e){var t={},r=to(e);return r||t}function Oa(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=Na(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=I(I(I({},t),{notation:"scientific"}),i.options.reduce(function(c,u){return I(I({},c),oi(u))},{}));continue;case"engineering":t=I(I(I({},t),{notation:"engineering"}),i.options.reduce(function(c,u){return I(I({},c),oi(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ha,function(c,u,h,d,p,_){if(u)t.minimumIntegerDigits=h.length;else{if(d&&p)throw new Error("We currently do not support maximum integer digits");if(_)throw new Error("We currently do not support exact integer digits")}return""});continue}if(eo.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ni.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ni,function(c,u,h,d,p,_){return h==="*"?t.minimumFractionDigits=u.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&_?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+_.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=I(I({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=I(I({},t),ii(o)));continue}if(Ki.test(i.stem)){t=I(I({},t),ii(i.stem));continue}var a=to(i.stem);a&&(t=I(I({},t),a));var l=Ma(i.stem);l&&(t=I(I({},t),l))}return t}var mr={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Da(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 a=1+(o&1),l=o<2?1:3+(o>>1),c="a",u=ka(t);for((u=="H"||u=="k")&&(l=0);l-- >0;)r+=c;for(;a-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function ka(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=mr[n||""]||mr[r||""]||mr["".concat(r,"-001")]||mr["001"];return i[0]}var Zr,La=new RegExp("^".concat(Yi.source,"*")),Fa=new RegExp("".concat(Yi.source,"*$"));function A(e,t){return{start:e,end:t}}var Ra=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ua=!!String.fromCodePoint,ja=!!Object.fromEntries,Ga=!!String.prototype.codePointAt,za=!!String.prototype.trimStart,Qa=!!String.prototype.trimEnd,Va=!!Number.isSafeInteger,$a=Va?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},sn=!0;try{var Wa=no("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");sn=((Zr=Wa.exec("a"))===null||Zr===void 0?void 0:Zr[0])==="a"}catch(e){sn=!1}var ai=Ra?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},ln=Ua?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,a;i>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},si=ja?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],a=o[0],l=o[1];r[a]=l}return r},ro=Ga?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}},Xa=za?function(t){return t.trimStart()}:function(t){return t.replace(La,"")},Za=Qa?function(t){return t.trimEnd()}:function(t){return t.replace(Fa,"")};function no(e,t){return new RegExp(e,t)}var un;if(sn){var li=no("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");un=function(t,r){var n;li.lastIndex=r;var i=li.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else un=function(t,r){for(var n=[];;){var i=ro(t,r);if(i===void 0||io(i)||Ka(i))break;n.push(i),r+=i>=65536?2:1}return ln.apply(void 0,n)};var Ja=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 a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),i.push({type:M.pound,location:A(l,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(x.UNMATCHED_CLOSING_TAG,A(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&cn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.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:M.literal,value:"<".concat(i,"/>"),location:A(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!cn(this.char()))return this.error(x.INVALID_TAG,A(l,this.clonePosition()));var c=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(x.UNMATCHED_CLOSING_TAG,A(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:M.tag,value:i,children:a,location:A(n,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,A(l,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,A(n,this.clonePosition()))}else return this.error(x.INVALID_TAG,A(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ya(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 a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){i+=l;continue}break}var c=A(n,this.clonePosition());return{val:{type:M.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!qa(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 ln.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(),ln(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,A(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(x.MALFORMED_ARGUMENT,A(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:M.argument,value:i,location:A(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(x.MALFORMED_ARGUMENT,A(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=un(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=A(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(l){case"":return this.error(x.EXPECT_ARGUMENT_TYPE,A(a,c));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=Za(d.val);if(p.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,A(this.clonePosition(),this.clonePosition()));var _=A(h,this.clonePosition());u={style:p,styleLocation:_}}var S=this.tryParseArgumentClose(i);if(S.err)return S;var v=A(i,this.clonePosition());if(u&&ai(u==null?void 0:u.style,"::",0)){var O=Xa(u.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(O,u.styleLocation);return d.err?d:{val:{type:M.number,value:n,location:v,style:d.val},err:null}}else{if(O.length===0)return this.error(x.EXPECT_DATE_TIME_SKELETON,v);var B=O;this.locale&&(B=Da(O,this.locale));var p={type:dt.dateTime,pattern:B,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ba(B):{}},k=l==="date"?M.date:M.time;return{val:{type:k,value:n,location:v,style:p},err:null}}}return{val:{type:l==="number"?M.number:l==="date"?M.date:M.time,value:n,location:v,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,A(R,I({},R)));this.bumpSpace();var fe=this.parseIdentifierIfPossible(),y=0;if(l!=="select"&&fe.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,A(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),fe=this.parseIdentifierIfPossible(),y=d.val}var C=this.tryParsePluralOrSelectOptions(t,l,r,fe);if(C.err)return C;var S=this.tryParseArgumentClose(i);if(S.err)return S;var xe=A(i,this.clonePosition());return l==="select"?{val:{type:M.select,value:n,options:si(C.val),location:xe},err:null}:{val:{type:M.plural,value:n,options:si(C.val),offset:y,pluralType:l==="plural"?"cardinal":"ordinal",location:xe},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,A(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,A(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(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,A(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=Ta(t)}catch(i){return this.error(x.INVALID_NUMBER_SKELETON,r)}return{val:{type:dt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Oa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,l=[],c=new Set,u=i.value,h=i.location;;){if(u.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=A(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(c.has(u))return this.error(r==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(a=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,A(this.clonePosition(),this.clonePosition()));var S=this.parseMessage(t+1,r,n);if(S.err)return S;var v=this.tryParseArgumentClose(_);if(v.err)return v;l.push([u,{value:S.val,location:A(_,this.clonePosition())}]),c.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,h=o.location}return l.length===0?this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,A(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(x.MISSING_OTHER_CLAUSE,A(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)o=!0,a=a*10+(l-48),this.bump();else break}var c=A(i,this.clonePosition());return o?(a*=n,$a(a)?{val:a,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=ro(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()&&io(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 cn(e){return e>=97&&e<=122||e>=65&&e<=90}function qa(e){return cn(e)||e===47}function Ya(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 io(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ka(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 fn(e){e.forEach(function(t){if(delete t.location,Xi(t)||Zi(t))for(var r in t.options)delete t.options[r].location,fn(t.options[r].value);else Vi(t)&&qi(t.style)||($i(t)||Wi(t))&&an(t.style)?delete t.style.location:Ji(t)&&fn(t.children)})}function es(e,t){t===void 0&&(t={}),t=I({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ja(e,t).parse();if(r.err){var n=SyntaxError(x[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||fn(r.val),r.val}var mt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(mt||(mt={}));var Ar=function(e){Me(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),ui=function(e){Me(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('", "'),'"'),mt.INVALID_VALUE,o)||this}return t}(Ar),ts=function(e){Me(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),mt.INVALID_VALUE,i)||this}return t}(Ar),rs=function(e){Me(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,'"'),mt.MISSING_VALUE,n)||this}return t}(Ar),$;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})($||($={}));function ns(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==$.literal||r.type!==$.literal?t.push(r):n.value+=r.value,t},[])}function is(e){return typeof e=="function"}function gr(e,t,r,n,i,o,a){if(e.length===1&&ri(e[0]))return[{type:$.literal,value:e[0].value}];for(var l=[],c=0,u=e;c<u.length;c++){var h=u[c];if(ri(h)){l.push({type:$.literal,value:h.value});continue}if(Ca(h)){typeof o=="number"&&l.push({type:$.literal,value:r.getNumberFormat(t).format(o)});continue}var d=h.value;if(!(i&&d in i))throw new rs(d,a);var p=i[d];if(xa(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),l.push({type:typeof p=="string"?$.literal:$.object,value:p});continue}if($i(h)){var _=typeof h.style=="string"?n.date[h.style]:an(h.style)?h.style.parsedOptions:void 0;l.push({type:$.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(Wi(h)){var _=typeof h.style=="string"?n.time[h.style]:an(h.style)?h.style.parsedOptions:n.time.medium;l.push({type:$.literal,value:r.getDateTimeFormat(t,_).format(p)});continue}if(Vi(h)){var _=typeof h.style=="string"?n.number[h.style]:qi(h.style)?h.style.parsedOptions:void 0;_&&_.scale&&(p=p*(_.scale||1)),l.push({type:$.literal,value:r.getNumberFormat(t,_).format(p)});continue}if(Ji(h)){var S=h.children,v=h.value,O=i[v];if(!is(O))throw new ts(v,"function",a);var B=gr(S,t,r,n,i,o),k=O(B.map(function(y){return y.value}));Array.isArray(k)||(k=[k]),l.push.apply(l,k.map(function(y){return{type:typeof y=="string"?$.literal:$.object,value:y}}))}if(Xi(h)){var R=h.options[p]||h.options.other;if(!R)throw new ui(h.value,p,Object.keys(h.options),a);l.push.apply(l,gr(R.value,t,r,n,i));continue}if(Zi(h)){var R=h.options["=".concat(p)];if(!R){if(!Intl.PluralRules)throw new Ar(`Intl.PluralRules is not available in this environment.
|
4
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
5
|
+
`,mt.MISSING_INTL_API,a);var fe=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));R=h.options[fe]||h.options.other}if(!R)throw new ui(h.value,p,Object.keys(h.options),a);l.push.apply(l,gr(R.value,t,r,n,i,p-(h.offset||0)));continue}}return ns(l)}function os(e,t){return t?I(I(I({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=I(I({},e[n]),t[n]||{}),r},{})):e}function as(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=os(e[n],t[n]),r},I({},e)):e}function Jr(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ss(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Wr(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:Jr(e.number),strategy:Xr.variadic}),getDateTimeFormat:Wr(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:Jr(e.dateTime),strategy:Xr.variadic}),getPluralRules:Wr(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:Jr(e.pluralRules),strategy:Xr.variadic})}}var ls=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var u=o.formatToParts(c);if(u.length===1)return u[0].value;var h=u.reduce(function(d,p){return!d.length||p.type!==$.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(c){return gr(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 a=i||{};a.formatters;var l=Uo(a,["formatters"]);this.ast=e.__parse(t,I(I({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=as(e.formats,n),this.formatters=i&&i.formatters||ss(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=es,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 us(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 Ue={},cs=(e,t,r)=>r&&(t in Ue||(Ue[t]={}),e in Ue[t]||(Ue[t][e]=r),r),oo=(e,t)=>{if(t==null)return;if(t in Ue&&e in Ue[t])return Ue[t][e];const r=Br(t);for(let n=0;n<r.length;n++){const i=r[n],o=hs(i,e);if(o)return cs(e,t,o)}};let yn;const Ot=Cr({});function fs(e){return yn[e]||null}function ao(e){return e in yn}function hs(e,t){if(!ao(e))return null;const r=fs(e);return us(r,t)}function ps(e){if(e==null)return;const t=Br(e);for(let r=0;r<t.length;r++){const n=t[r];if(ao(n))return n}}function so(e,...t){delete Ue[e],Ot.update(r=>(r[e]=ba.all([r[e]||{},...t]),r))}bt([Ot],([e])=>Object.keys(e));Ot.subscribe(e=>yn=e);const vr={};function ds(e,t){vr[e].delete(t),vr[e].size===0&&delete vr[e]}function lo(e){return vr[e]}function ms(e){return Br(e).map(t=>{const r=lo(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function hn(e){return e==null?!1:Br(e).some(t=>{var r;return(r=lo(t))==null?void 0:r.size})}function ys(e,t){return Promise.all(t.map(n=>(ds(e,n),n().then(i=>i.default||i)))).then(n=>so(e,...n))}const Tt={};function uo(e){if(!hn(e))return e in Tt?Tt[e]:Promise.resolve();const t=ms(e);return Tt[e]=Promise.all(t.map(([r,n])=>ys(r,n))).then(()=>{if(hn(e))return uo(e);delete Tt[e]}),Tt[e]}const bs={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"}}},gs={fallbackLocale:null,loadingDelay:200,formats:bs,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},vs=gs;function yt(){return vs}const qr=Cr(!1);var Es=Object.defineProperty,_s=Object.defineProperties,Ps=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,Ss=Object.prototype.hasOwnProperty,ws=Object.prototype.propertyIsEnumerable,fi=(e,t,r)=>t in e?Es(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xs=(e,t)=>{for(var r in t)Ss.call(t,r)&&fi(e,r,t[r]);if(ci)for(var r of ci(t))ws.call(t,r)&&fi(e,r,t[r]);return e},Cs=(e,t)=>_s(e,Ps(t));let pn;const Pr=Cr(null);function hi(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Br(e,t=yt().fallbackLocale){const r=hi(e);return t?[...new Set([...r,...hi(t)])]:r}function Xe(){return pn!=null?pn:void 0}Pr.subscribe(e=>{pn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const As=e=>{if(e&&ps(e)&&hn(e)){const{loadingDelay:t}=yt();let r;return typeof window!="undefined"&&Xe()!=null&&t?r=window.setTimeout(()=>qr.set(!0),t):qr.set(!0),uo(e).then(()=>{Pr.set(e)}).finally(()=>{clearTimeout(r),qr.set(!1)})}return Pr.set(e)},gt=Cs(xs({},Pr),{set:As}),Ir=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Bs=Object.defineProperty,Sr=Object.getOwnPropertySymbols,co=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,pi=(e,t,r)=>t in e?Bs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,bn=(e,t)=>{for(var r in t||(t={}))co.call(t,r)&&pi(e,r,t[r]);if(Sr)for(var r of Sr(t))fo.call(t,r)&&pi(e,r,t[r]);return e},vt=(e,t)=>{var r={};for(var n in e)co.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Sr)for(var n of Sr(e))t.indexOf(n)<0&&fo.call(e,n)&&(r[n]=e[n]);return r};const Mt=(e,t)=>{const{formats:r}=yt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Is=Ir(e=>{var t=e,{locale:r,format:n}=t,i=vt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Mt("number",n)),new Intl.NumberFormat(r,i)}),Ts=Ir(e=>{var t=e,{locale:r,format:n}=t,i=vt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Mt("date",n):Object.keys(i).length===0&&(i=Mt("date","short")),new Intl.DateTimeFormat(r,i)}),Ns=Ir(e=>{var t=e,{locale:r,format:n}=t,i=vt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Mt("time",n):Object.keys(i).length===0&&(i=Mt("time","short")),new Intl.DateTimeFormat(r,i)}),Hs=(e={})=>{var t=e,{locale:r=Xe()}=t,n=vt(t,["locale"]);return Is(bn({locale:r},n))},Ms=(e={})=>{var t=e,{locale:r=Xe()}=t,n=vt(t,["locale"]);return Ts(bn({locale:r},n))},Os=(e={})=>{var t=e,{locale:r=Xe()}=t,n=vt(t,["locale"]);return Ns(bn({locale:r},n))},Ds=Ir((e,t=Xe())=>new ls(e,t,yt().formats,{ignoreTag:yt().ignoreTag})),ks=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:c=Xe(),default:u}=a;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=yt()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!l)return h;let d=h;try{d=Ds(h,c).format(l)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return d},Ls=(e,t)=>Os(t).format(e),Fs=(e,t)=>Ms(t).format(e),Rs=(e,t)=>Hs(t).format(e),Us=(e,t=Xe())=>oo(e,t),js=bt([gt,Ot],()=>ks);bt([gt],()=>Ls);bt([gt],()=>Fs);bt([gt],()=>Rs);bt([gt,Ot],()=>Us);window.emWidgets={topic:ea};const Gs=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){so(e,t)}function zs(e){gt.set(e)}const mi={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:","Mr.":"Mr.","Mrs.":"Mrs.",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",smsConsent:"Enable SMS notifications",emailmarketingConsent:"Enable Emails",phonecallConsent:"Enable phone call notifications",postConsent:"Enable post notifications","3rdpartyConsent":"Enable third-party notifications",smsandemailConsent:"Enable SMS and email notifications",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information"},"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:"標題:","Mr.":"先生","Mrs.":"太太",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",smsConsent:"啟用短信通知",emailmarketingConsent:"啟用電子郵件",phonecallConsent:"啟用電話通知",postConsent:"啟用郵件通知","3rdpartyConsent":"啟用第三方通知",smsandemailConsent:"啟用短信和電子郵件通知",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤"},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:","Mr.":"M.","Mrs.":"Mme",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",smsConsent:"Activer les notifications par sms",emailmarketingConsent:"Activer les e-mails",phonecallConsent:"Activer les notifications d'appel téléphonique",postConsent:"Activer les notifications par courrier","3rdpartyConsent":"Activer les notifications de tiers",smsandemailConsent:"Activer les notifications par SMS et e-mail",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil"},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:","Mr.":"Dl.","Mrs.":"Dna.",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",smsConsent:"Activează notificări prin SMS",emailmarketingConsent:"Activează notificări prin E-mail",phonecallConsent:"Activează notificările prin apel telefonic",postConsent:"Activează notificările prin poștă","3rdpartyConsent":"Activează notificările de la parte terță",smsandemailConsent:"Activează notificările prin SMS și e-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului"},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:","Mr.":"Bay","Mrs.":"Bayan",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",smsConsent:"SMS bildirimlerini etkinleştir",emailmarketingConsent:"E-postaları Etkinleştir",phonecallConsent:"Telefon araması bildirimlerini etkinleştir",postConsent:"Posta bildirimlerini etkinleştir","3rdpartyConsent":"Üçüncü taraf bildirimlerini etkinleştir",smsandemailConsent:"SMS ve e-posta bildirimlerini 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.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu"},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:","Mr.":"Sr.","Mrs.":"Sra.",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",smsConsent:"Habilitar notificaciones SMS",emailmarketingConsent:"Habilitar Emails",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"},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:","Mr.":"Sr.","Mrs.":"Sra.",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",smsConsent:"Ativar notificações por SMS",emailmarketingConsent:"Ativar notificações por e-mail",phonecallConsent:"Ativar notificações de chamadas telefónicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},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:","Mr.":"Gosp.","Mrs.":"Gđa.",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",smsConsent:"Omogućite SMS obavijesti",emailmarketingConsent:"Omogući e-mail",phonecallConsent:"Omogući obavijesti o telefonskim pozivima",postConsent:"Omogući obavijesti o pošti","3rdpartyConsent":"Omogući obavijesti od trećih strana",smsandemailConsent:"Omogući obavijesti putem SMS-a i e-pošte",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila"},"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:","Mr.":"Sr.","Mrs.":"Sra.",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",smsConsent:"Habilitar notificações por SMS",emailmarketingConsent:"Ativar e-mail",phonecallConsent:"Ativar notificações de chamadas telefônicas",postConsent:"Ativar notificações de correio","3rdpartyConsent":"Ativar notificações de terceiros",smsandemailConsent:"Ativar notificações por SMS e e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},"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:","Mr.":"Sr.","Mrs.":"Sra.",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",smsConsent:"Habilitar notificaciones de SMS",emailmarketingConsent:"Habilitar correo electrónico",phonecallConsent:"Habilitar notificaciones de llamadas telefónicas",postConsent:"Habilitar notificaciones por correo","3rdpartyConsent":"Habilitar notificaciones de terceros",smsandemailConsent:"Habilitar notificaciones por SMS y correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"}};function Qs(e){_o(e,"svelte-vpzxpi",`button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.MyAccountCategoryTitle{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{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));background:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;height:100%;border-radius:20px}.PlayerNotificationsHeader h3,.PlayerDetailsHeader h3,.PlayerLocationHeader h3{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{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{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 input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :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 input{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 .InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{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 select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :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 input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerInfoBox input[type=number]{-moz-appearance:textfield;appearance:textfield}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox{margin-top:5px;margin-bottom:5px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{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 label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox label .Checkmark{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{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{cursor:pointer;border-radius:5px;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;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{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);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea .PlayerDetailsCancelButton.PlayerButtonDisabled{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton,.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsCancelButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw--color-gray-50, #F9F8F8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{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 .PlayerInfoBox label{color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw--color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw--color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{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 .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled,.PlayerInfoWrapperMobile .PlayerDetailsCancelButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerDetailsCancelButton{color:var(--emw--color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox .TogglePasswordVisibility{width:30px;top:26px}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton,.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsCancelButton{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw--color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{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 .PlayerDetailsConfirmSaveText{padding:0;margin:0}`)}function yi(e,t,r){const n=e.slice();return n[63]=t[r],n[64]=t,n[65]=r,n}function bi(e,t,r){const n=e.slice();return n[66]=t[r],n}function Vs(e){let t,r,n,i=e[15]("titleProfileInfo")+"",o,a,l,c,u=e[15]("personalDetails")+"",h,d,p,_,S,v=e[15]("userName")+"",O,B,k,R,fe,y,C,xe=e[15]("userPhone")+"",Ce,Ge,oe,W,ze,z,Oe,me,Qe,X,Ae,Ze=(e[0]=="true"?e[15]("profileSecurityQuestion2"):e[15]("profileSecurityQuestion"))+"",ye,Dt,De,Et,ae,kt,Je,_t,se,ke,Ve=(e[0]=="true"?e[15]("profileSecurityAnswer2"):e[15]("profileSecurityAnswer"))+"",Pt,Lt,Le,St,le,Ft,qe,Rt,Fe,Ye,Ke=e[15]("userEmail")+"",wt,Ut,he,$e,jt,Re,et,b=e[15]("dateOfBirth")+"",P,H,N,Z,pe,j,Gt,zt=e[15]("firstName")+"",Tr,gn,Be,xt,vn,tt,Qt,Vt=e[15]("lastName")+"",Nr,En,Ie,Ct,_n,rt,$t,Wt=e[15]("userTitle")+"",Hr,Pn,Te,At,Sn,nt,Xt,Zt=e[15]("currency")+"",Mr,wn,Ne,Bt,xn,Cn,Jt,Or,qt=e[15]("locationDetails")+"",Dr,An,be,it,Yt,Kt=e[15]("userCountry")+"",kr,Bn,de,It,er,In,ge,tr,rr=e[15]("userCity")+"",Lr,Tn,ve,Nn,nr,Hn,Ee,ir,or=e[15]("userAddress")+"",Fr,Mn,_e,On,ar,Dn,Pe,sr,lr=e[15]("userPostalCode")+"",Rr,kn,Se,Ln,ur,Fn,Ur=Object.keys(e[4].consents).length>0,jr,cr,ot,fr=e[15]("userProfileSaveChanges")+"",Gr,hr,Rn,zr,Un,We=e[16]&&Ws(e),at=_r(e[3]),Q=[];for(let V=0;V<at.length;V+=1)Q[V]=gi(bi(e,at,V));let J=!e[13]&&vi(e),q=!e[11]&&Ei(e),Y=!e[12]&&_i(e),K=e[5].iban&&Pi(e),ee=!e[8]&&Si(e),te=!e[10]&&wi(e),re=!e[9]&&xi(e),ne=Ur&&Ci(e),ie=e[14]&&Ii(e);return{c(){t=m("form"),We&&We.c(),r=E(),n=m("h2"),o=w(i),a=E(),l=m("div"),c=m("h3"),h=w(u),d=E(),p=m("section"),_=m("div"),S=m("p"),O=w(v),B=E(),k=m("input"),fe=E(),y=m("div"),C=m("p"),Ce=w(xe),Ge=E(),oe=m("div"),W=m("select");for(let V=0;V<Q.length;V+=1)Q[V].c();ze=E(),z=m("input"),Oe=E(),J&&J.c(),Qe=E(),X=m("div"),Ae=m("label"),ye=w(Ze),Dt=w(":"),De=m("span"),De.textContent="*",Et=E(),ae=m("input"),kt=E(),q&&q.c(),_t=E(),se=m("div"),ke=m("label"),Pt=w(Ve),Lt=w(":"),Le=m("span"),Le.textContent="*",St=E(),le=m("input"),Ft=E(),Y&&Y.c(),Rt=E(),Fe=m("div"),Ye=m("label"),wt=w(Ke),Ut=E(),he=m("input"),jt=E(),Re=m("div"),et=m("label"),P=w(b),H=E(),N=m("input"),pe=E(),j=m("div"),Gt=m("label"),Tr=w(zt),gn=E(),Be=m("input"),vn=E(),tt=m("div"),Qt=m("label"),Nr=w(Vt),En=E(),Ie=m("input"),_n=E(),rt=m("div"),$t=m("label"),Hr=w(Wt),Pn=E(),Te=m("input"),Sn=E(),nt=m("div"),Xt=m("label"),Mr=w(Zt),wn=E(),Ne=m("input"),xn=E(),K&&K.c(),Cn=E(),Jt=m("div"),Or=m("h3"),Dr=w(qt),An=E(),be=m("section"),it=m("div"),Yt=m("label"),kr=w(Kt),Bn=E(),de=m("input"),In=E(),ge=m("div"),tr=m("label"),Lr=w(rr),Tn=E(),ve=m("input"),Nn=E(),ee&&ee.c(),Hn=E(),Ee=m("div"),ir=m("label"),Fr=w(or),Mn=E(),_e=m("input"),On=E(),te&&te.c(),Dn=E(),Pe=m("div"),sr=m("label"),Rr=w(lr),kn=E(),Se=m("input"),Ln=E(),re&&re.c(),Fn=E(),ne&&ne.c(),jr=E(),cr=m("section"),ot=m("button"),Gr=w(fr),Rn=E(),ie&&ie.c(),f(n,"class","MyAccountCategoryTitle "+(e[16]?"MyAccountCategoryTitleNone":"")),f(l,"class","PlayerNotificationsHeader"),f(k,"type","text"),f(k,"class","FieldDisabled"),k.value=R=e[5].username,k.readOnly=!0,f(_,"class","PlayerInfoBox"),e[4].mobile.prefix===void 0&&Er(()=>e[33].call(W)),f(z,"type","text"),f(z,"placeholder",e[17].mobile.number),f(oe,"class","PlayerPhoneNumber"),f(y,"class",me="PlayerInfoBox "+(e[13]?"":"InvalidField")),f(De,"class","FormRequired"),f(Ae,"for","SecurityQuestion"),f(ae,"id","SecurityQuestion"),f(ae,"type","text"),f(ae,"placeholder",e[17].securityQuestion),f(X,"class",Je="PlayerInfoBox "+(e[11]?"":"InvalidField")),f(Le,"class","FormRequired"),f(ke,"for","SecurityAnswer"),f(le,"id","SecurityAnswer"),f(le,"type","text"),f(le,"placeholder",e[17].securityAnswer),f(se,"class",qe="PlayerInfoBox "+(e[12]?"":"InvalidField")),f(Ye,"for","UserEmail"),f(he,"id","UserEmail"),f(he,"type","email"),f(he,"class","FieldDisabled"),he.value=$e=e[5].email,he.readOnly=!0,f(Fe,"class","PlayerInfoBox"),f(et,"for","DateOfBirth"),f(N,"id","DateOfBirth"),f(N,"type","text"),f(N,"class","FieldDisabled"),N.value=Z=e[5].birth,N.readOnly=!0,f(Re,"class","PlayerInfoBox"),f(Gt,"for","FirstName"),f(Be,"id","FirstName"),f(Be,"type","text"),f(Be,"class","FieldDisabled"),Be.value=xt=e[5].firstname,Be.readOnly=!0,f(j,"class","PlayerInfoBox"),f(Qt,"for","LastName"),f(Ie,"id","LastName"),f(Ie,"type","text"),f(Ie,"class","FieldDisabled"),Ie.value=Ct=e[5].lastname,Ie.readOnly=!0,f(tt,"class","PlayerInfoBox"),f($t,"for","UserTitle"),f(Te,"id","UserTitle"),f(Te,"type","text"),f(Te,"class","FieldDisabled"),Te.value=At=e[15](e[5].userTitles),Te.readOnly=!0,f(rt,"class","PlayerInfoBox"),f(Xt,"for","Currrency"),f(Ne,"id","Currency"),f(Ne,"type","text"),f(Ne,"class","FieldDisabled"),Ne.value=Bt=e[5].currency,Ne.readOnly=!0,f(nt,"class","PlayerInfoBox"),f(p,"class","PlayerDetailsContent"),f(Jt,"class","PlayerLocationHeader"),f(Yt,"for","UserCountry"),f(de,"id","UserCountry"),f(de,"type","text"),f(de,"class","PlayerCountry FieldDisabled"),de.value=It=e[5].countryName,f(de,"placeholder",er=e[5].countryCode),de.readOnly=!0,f(it,"class","PlayerInfoBox"),f(tr,"for","UserCity"),f(ve,"id","UserCity"),f(ve,"type","text"),f(ve,"placeholder",e[17].city),f(ge,"class",nr="PlayerInfoBox "+(e[8]?"":"InvalidField")),f(ir,"for","UserAdress"),f(_e,"id","UserAdress"),f(_e,"type","text"),f(_e,"placeholder",e[17].adress),f(Ee,"class",ar="PlayerInfoBox "+(e[10]?"":"InvalidField")),f(sr,"for","UserPostalCode"),f(Se,"id","UserPostalCode"),f(Se,"type","text"),f(Se,"placeholder",e[17].postalCode),f(Pe,"class",ur="PlayerInfoBox "+(e[9]?"":"InvalidField")),f(be,"class","PlayerLocationContent"),f(ot,"class",hr="PlayerDetailsSaveButton "+(e[6]&&e[7]?"":"PlayerButtonDisabled")),f(cr,"class","PlayerDetailsButtonsArea "+(e[16]?"PlayerDetailsButtonsAreaMobile":"")),f(t,"class","PlayerInfoWrapper "+(e[16]?"PlayerInfoWrapperMobile":"")+" "+(e[18].matches&&e[16]?"PlayerInfoWrapperTablet":""))},m(V,g){L(V,t,g),We&&We.m(t,null),s(t,r),s(t,n),s(n,o),s(t,a),s(t,l),s(l,c),s(c,h),s(t,d),s(t,p),s(p,_),s(_,S),s(S,O),s(_,B),s(_,k),s(p,fe),s(p,y),s(y,C),s(C,Ce),s(y,Ge),s(y,oe),s(oe,W);for(let U=0;U<Q.length;U+=1)Q[U]&&Q[U].m(W,null);$n(W,e[4].mobile.prefix,!0),s(oe,ze),s(oe,z),G(z,e[4].mobile.number),s(y,Oe),J&&J.m(y,null),s(p,Qe),s(p,X),s(X,Ae),s(Ae,ye),s(Ae,Dt),s(Ae,De),s(X,Et),s(X,ae),G(ae,e[4].securityQuestion),s(X,kt),q&&q.m(X,null),s(p,_t),s(p,se),s(se,ke),s(ke,Pt),s(ke,Lt),s(ke,Le),s(se,St),s(se,le),G(le,e[4].securityAnswer),s(se,Ft),Y&&Y.m(se,null),s(p,Rt),s(p,Fe),s(Fe,Ye),s(Ye,wt),s(Fe,Ut),s(Fe,he),s(p,jt),s(p,Re),s(Re,et),s(et,P),s(Re,H),s(Re,N),s(p,pe),s(p,j),s(j,Gt),s(Gt,Tr),s(j,gn),s(j,Be),s(p,vn),s(p,tt),s(tt,Qt),s(Qt,Nr),s(tt,En),s(tt,Ie),s(p,_n),s(p,rt),s(rt,$t),s($t,Hr),s(rt,Pn),s(rt,Te),s(p,Sn),s(p,nt),s(nt,Xt),s(Xt,Mr),s(nt,wn),s(nt,Ne),s(p,xn),K&&K.m(p,null),s(t,Cn),s(t,Jt),s(Jt,Or),s(Or,Dr),s(t,An),s(t,be),s(be,it),s(it,Yt),s(Yt,kr),s(it,Bn),s(it,de),s(be,In),s(be,ge),s(ge,tr),s(tr,Lr),s(ge,Tn),s(ge,ve),G(ve,e[4].city),s(ge,Nn),ee&&ee.m(ge,null),s(be,Hn),s(be,Ee),s(Ee,ir),s(ir,Fr),s(Ee,Mn),s(Ee,_e),G(_e,e[4].address1),s(Ee,On),te&&te.m(Ee,null),s(be,Dn),s(be,Pe),s(Pe,sr),s(sr,Rr),s(Pe,kn),s(Pe,Se),G(Se,e[4].postalCode),s(Pe,Ln),re&&re.m(Pe,null),s(t,Fn),ne&&ne.m(t,null),s(t,jr),s(t,cr),s(cr,ot),s(ot,Gr),s(t,Rn),ie&&ie.m(t,null),zr||(Un=[F(W,"change",e[33]),F(W,"change",e[19]),F(z,"input",e[34]),F(z,"keyup",e[20]("mobileNumber")),F(z,"input",function(){wr(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[4].mobile.number=e[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),F(ae,"input",e[35]),F(ae,"keyup",e[20]("securityQuestion")),F(le,"input",e[36]),F(le,"keyup",e[20]("securityAnswer")),F(ve,"input",e[37]),F(ve,"keyup",e[20]("city")),F(_e,"input",e[38]),F(_e,"keyup",e[20]("address")),F(Se,"input",e[39]),F(Se,"keyup",e[20]("postalCode")),F(ot,"click",e[21])],zr=!0)},p(V,g){if(e=V,e[16]&&We.p(e,g),g[0]&32768&&i!==(i=e[15]("titleProfileInfo")+"")&&T(o,i),g[0]&32768&&u!==(u=e[15]("personalDetails")+"")&&T(h,u),g[0]&32768&&v!==(v=e[15]("userName")+"")&&T(O,v),g[0]&32&&R!==(R=e[5].username)&&k.value!==R&&(k.value=R),g[0]&32768&&xe!==(xe=e[15]("userPhone")+"")&&T(Ce,xe),g[0]&24){at=_r(e[3]);let U;for(U=0;U<at.length;U+=1){const jn=bi(e,at,U);Q[U]?Q[U].p(jn,g):(Q[U]=gi(jn),Q[U].c(),Q[U].m(W,null))}for(;U<Q.length;U+=1)Q[U].d(1);Q.length=at.length}g[0]&24&&$n(W,e[4].mobile.prefix),g[0]&24&&z.value!==e[4].mobile.number&&G(z,e[4].mobile.number),e[13]?J&&(J.d(1),J=null):J?J.p(e,g):(J=vi(e),J.c(),J.m(y,null)),g[0]&8192&&me!==(me="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&f(y,"class",me),g[0]&32769&&Ze!==(Ze=(e[0]=="true"?e[15]("profileSecurityQuestion2"):e[15]("profileSecurityQuestion"))+"")&&T(ye,Ze),g[0]&24&&ae.value!==e[4].securityQuestion&&G(ae,e[4].securityQuestion),e[11]?q&&(q.d(1),q=null):q?q.p(e,g):(q=Ei(e),q.c(),q.m(X,null)),g[0]&2048&&Je!==(Je="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&f(X,"class",Je),g[0]&32769&&Ve!==(Ve=(e[0]=="true"?e[15]("profileSecurityAnswer2"):e[15]("profileSecurityAnswer"))+"")&&T(Pt,Ve),g[0]&24&&le.value!==e[4].securityAnswer&&G(le,e[4].securityAnswer),e[12]?Y&&(Y.d(1),Y=null):Y?Y.p(e,g):(Y=_i(e),Y.c(),Y.m(se,null)),g[0]&4096&&qe!==(qe="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&f(se,"class",qe),g[0]&32768&&Ke!==(Ke=e[15]("userEmail")+"")&&T(wt,Ke),g[0]&32&&$e!==($e=e[5].email)&&he.value!==$e&&(he.value=$e),g[0]&32768&&b!==(b=e[15]("dateOfBirth")+"")&&T(P,b),g[0]&32&&Z!==(Z=e[5].birth)&&N.value!==Z&&(N.value=Z),g[0]&32768&&zt!==(zt=e[15]("firstName")+"")&&T(Tr,zt),g[0]&32&&xt!==(xt=e[5].firstname)&&Be.value!==xt&&(Be.value=xt),g[0]&32768&&Vt!==(Vt=e[15]("lastName")+"")&&T(Nr,Vt),g[0]&32&&Ct!==(Ct=e[5].lastname)&&Ie.value!==Ct&&(Ie.value=Ct),g[0]&32768&&Wt!==(Wt=e[15]("userTitle")+"")&&T(Hr,Wt),g[0]&32800&&At!==(At=e[15](e[5].userTitles))&&Te.value!==At&&(Te.value=At),g[0]&32768&&Zt!==(Zt=e[15]("currency")+"")&&T(Mr,Zt),g[0]&32&&Bt!==(Bt=e[5].currency)&&Ne.value!==Bt&&(Ne.value=Bt),e[5].iban?K?K.p(e,g):(K=Pi(e),K.c(),K.m(p,null)):K&&(K.d(1),K=null),g[0]&32768&&qt!==(qt=e[15]("locationDetails")+"")&&T(Dr,qt),g[0]&32768&&Kt!==(Kt=e[15]("userCountry")+"")&&T(kr,Kt),g[0]&32&&It!==(It=e[5].countryName)&&de.value!==It&&(de.value=It),g[0]&32&&er!==(er=e[5].countryCode)&&f(de,"placeholder",er),g[0]&32768&&rr!==(rr=e[15]("userCity")+"")&&T(Lr,rr),g[0]&24&&ve.value!==e[4].city&&G(ve,e[4].city),e[8]?ee&&(ee.d(1),ee=null):ee?ee.p(e,g):(ee=Si(e),ee.c(),ee.m(ge,null)),g[0]&256&&nr!==(nr="PlayerInfoBox "+(e[8]?"":"InvalidField"))&&f(ge,"class",nr),g[0]&32768&&or!==(or=e[15]("userAddress")+"")&&T(Fr,or),g[0]&24&&_e.value!==e[4].address1&&G(_e,e[4].address1),e[10]?te&&(te.d(1),te=null):te?te.p(e,g):(te=wi(e),te.c(),te.m(Ee,null)),g[0]&1024&&ar!==(ar="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&f(Ee,"class",ar),g[0]&32768&&lr!==(lr=e[15]("userPostalCode")+"")&&T(Rr,lr),g[0]&24&&Se.value!==e[4].postalCode&&G(Se,e[4].postalCode),e[9]?re&&(re.d(1),re=null):re?re.p(e,g):(re=xi(e),re.c(),re.m(Pe,null)),g[0]&512&&ur!==(ur="PlayerInfoBox "+(e[9]?"":"InvalidField"))&&f(Pe,"class",ur),g[0]&16&&(Ur=Object.keys(e[4].consents).length>0),Ur?ne?ne.p(e,g):(ne=Ci(e),ne.c(),ne.m(t,jr)):ne&&(ne.d(1),ne=null),g[0]&32768&&fr!==(fr=e[15]("userProfileSaveChanges")+"")&&T(Gr,fr),g[0]&192&&hr!==(hr="PlayerDetailsSaveButton "+(e[6]&&e[7]?"":"PlayerButtonDisabled"))&&f(ot,"class",hr),e[14]?ie?ie.p(e,g):(ie=Ii(e),ie.c(),ie.m(t,null)):ie&&(ie.d(1),ie=null)},d(V){V&&D(t),We&&We.d(),Mi(Q,V),J&&J.d(),q&&q.d(),Y&&Y.d(),K&&K.d(),ee&&ee.d(),te&&te.d(),re&&re.d(),ne&&ne.d(),ie&&ie.d(),zr=!1,je(Un)}}}function $s(e){let t;return{c(){t=m("div"),f(t,"class","ModalLoader")},m(r,n){L(r,t,n)},p:ce,d(r){r&&D(t)}}}function Ws(e){let t,r,n,i,o,a,l,c,u,h,d=e[15]("titleProfileInfo")+"",p,_,S;return{c(){t=m("div"),r=st("svg"),n=st("defs"),i=st("style"),o=w(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),a=st("g"),l=st("g"),c=st("path"),u=E(),h=m("h2"),p=w(d),f(c,"class","aaa"),f(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),f(c,"transform","translate(15 15) rotate(180)"),f(l,"transform","translate(20 158)"),f(a,"transform","translate(-20 -158)"),f(r,"xmlns","http://www.w3.org/2000/svg"),f(r,"width","15"),f(r,"height","15"),f(r,"viewBox","0 0 15 15"),f(h,"class","MyAccountCategoryTitleMobile"),f(t,"class","MenuReturnButton")},m(v,O){L(v,t,O),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,l),s(l,c),s(t,u),s(t,h),s(h,p),_||(S=[F(t,"click",e[22]),F(t,"keyup",null)],_=!0)},p(v,O){O[0]&32768&&d!==(d=v[15]("titleProfileInfo")+"")&&T(p,d)},d(v){v&&D(t),_=!1,je(S)}}}function Xs(e){let t,r=e[66].Prefix+"",n,i;return{c(){t=m("option"),n=w(r),t.__value=i=e[66].Prefix,G(t,t.__value)},m(o,a){L(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[66].Prefix+"")&&T(n,r),a[0]&8&&i!==(i=o[66].Prefix)&&(t.__value=i,G(t,t.__value))},d(o){o&&D(t)}}}function Zs(e){let t,r=e[66].Prefix+"",n,i;return{c(){t=m("option"),n=w(r),t.selected=!0,t.__value=i=e[66].Prefix,G(t,t.__value)},m(o,a){L(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[66].Prefix+"")&&T(n,r),a[0]&8&&i!==(i=o[66].Prefix)&&(t.__value=i,G(t,t.__value))},d(o){o&&D(t)}}}function gi(e){let t;function r(o,a){return o[66].Prefix===o[4].mobile.prefix?Zs:Xs}let n=r(e),i=n(e);return{c(){i.c(),t=Oi()},m(o,a){i.m(o,a),L(o,t,a)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&D(t),i.d(o)}}}function vi(e){let t,r=e[15]("userPhoneError")+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32768&&r!==(r=i[15]("userPhoneError")+"")&&T(n,r)},d(i){i&&D(t)}}}function Ei(e){let t,r=(e[0]=="true"?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32769&&r!==(r=(i[0]=="true"?i[15]("profileSecurityQuestionError2"):i[15]("profileSecurityQuestionError"))+"")&&T(n,r)},d(i){i&&D(t)}}}function _i(e){let t,r=(e[0]=="true"?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32769&&r!==(r=(i[0]=="true"?i[15]("profileSecurityAnswerError2"):i[15]("profileSecurityAnswerError"))+"")&&T(n,r)},d(i){i&&D(t)}}}function Pi(e){let t,r,n=e[15]("iban")+"",i,o,a,l;return{c(){t=m("div"),r=m("label"),i=w(n),o=E(),a=m("input"),f(r,"for","Iban"),f(a,"id","Iban"),f(a,"type","text"),f(a,"class","FieldDisabled"),a.value=l=e[5].iban,a.readOnly=!0,f(t,"class","PlayerInfoBox")},m(c,u){L(c,t,u),s(t,r),s(r,i),s(t,o),s(t,a)},p(c,u){u[0]&32768&&n!==(n=c[15]("iban")+"")&&T(i,n),u[0]&32&&l!==(l=c[5].iban)&&a.value!==l&&(a.value=l)},d(c){c&&D(t)}}}function Si(e){let t,r=e[15]("userCityError")+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32768&&r!==(r=i[15]("userCityError")+"")&&T(n,r)},d(i){i&&D(t)}}}function wi(e){let t,r=e[15]("userAddressError")+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32768&&r!==(r=i[15]("userAddressError")+"")&&T(n,r)},d(i){i&&D(t)}}}function xi(e){let t,r=e[15]("userPostalCodeError")+"",n;return{c(){t=m("p"),n=w(r),f(t,"class","InvalidInput")},m(i,o){L(i,t,o),s(t,n)},p(i,o){o[0]&32768&&r!==(r=i[15]("userPostalCodeError")+"")&&T(n,r)},d(i){i&&D(t)}}}function Ci(e){let t,r,n=e[15]("userNotifications")+"",i,o,a,l=_r(Object.keys(e[4].consents)),c=[];for(let u=0;u<l.length;u+=1)c[u]=Bi(yi(e,l,u));return{c(){t=m("div"),r=m("h3"),i=w(n),o=E(),a=m("section");for(let u=0;u<c.length;u+=1)c[u].c();f(t,"class","PlayerNotificationsHeader"),f(a,"class","PlayerNotificationsCheckboxArea")},m(u,h){L(u,t,h),s(t,r),s(r,i),L(u,o,h),L(u,a,h);for(let d=0;d<c.length;d+=1)c[d]&&c[d].m(a,null)},p(u,h){if(h[0]&32768&&n!==(n=u[15]("userNotifications")+"")&&T(i,n),h[0]&1081360){l=_r(Object.keys(u[4].consents));let d;for(d=0;d<l.length;d+=1){const p=yi(u,l,d);c[d]?c[d].p(p,h):(c[d]=Bi(p),c[d].c(),c[d].m(a,null))}for(;d<c.length;d+=1)c[d].d(1);c.length=l.length}},d(u){u&&(D(t),D(o),D(a)),Mi(c,u)}}}function Ai(e){let t,r,n,i,o,a,l,c=e[15](`${e[63]}Consent`)+"",u,h,d,p;function _(){e[40].call(n,e[63])}return{c(){t=m("div"),r=m("label"),n=m("input"),i=E(),o=m("span"),a=E(),l=m("span"),u=w(c),h=E(),f(n,"type","checkbox"),f(o,"class","Checkmark"),f(t,"class","PlayerNotificationBox")},m(S,v){L(S,t,v),s(t,r),s(r,n),n.checked=e[4].consents[e[63]],s(r,i),s(r,o),s(r,a),s(r,l),s(l,u),s(t,h),d||(p=[F(n,"change",_),F(n,"change",e[20]("consents"))],d=!0)},p(S,v){e=S,v[0]&24&&(n.checked=e[4].consents[e[63]]),v[0]&32784&&c!==(c=e[15](`${e[63]}Consent`)+"")&&T(u,c)},d(S){S&&D(t),d=!1,je(p)}}}function Bi(e){let t,r=e[63]!==void 0&&Ai(e);return{c(){r&&r.c(),t=Oi()},m(n,i){r&&r.m(n,i),L(n,t,i)},p(n,i){n[63]!==void 0?r?r.p(n,i):(r=Ai(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&D(t),r&&r.d(n)}}}function Ii(e){let t,r,n=e[15]("userProfileConfirmationMessage")+"",i;return{c(){t=m("section"),r=m("p"),i=w(n),f(r,"class","PlayerDetailsConfirmSaveText"),f(t,"class","PlayerDetailsConfirmSave")},m(o,a){L(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&32768&&n!==(n=o[15]("userProfileConfirmationMessage")+"")&&T(i,n)},d(o){o&&D(t)}}}function Js(e){let t;function r(o,a){return o[2]?$s:Vs}let n=r(e),i=n(e);return{c(){t=m("div"),i.c()},m(o,a){L(o,t,a),i.m(t,null),e[41](t)},p(o,a){n===(n=r(o))&&i?i.p(o,a):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:ce,o:ce,d(o){o&&D(t),i.d(),e[41](null)}}}function qs(e,t,r){let n;Eo(e,js,b=>r(15,n=b));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:l="en"}=t,{clientstyling:c}=t,{clientstylingurl:u}=t,{translationurl:h}=t,{custominputtextswitch:d="false"}=t,p,_=!0;const S=Gs(window.navigator.userAgent)!=="PC";let v=null,O=null,B=null,k=null,R,fe;const y={},C={},xe={address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",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"};let Ce=!1,Ge=!1,oe=!0,W=!0,ze=!0,z=!0,Oe=!0,me=!0,Qe=!0,X=!1;const Ae={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/},Ze=window.matchMedia("(min-width: 768px)"),ye=b=>{try{return JSON.stringify(b)}catch(P){return null}},Dt=()=>{var b,P,H,N,Z,pe;r(5,C.username=B.username,C),r(5,C.mobile=B.mobile,C),r(5,C.email=B.email,C),r(5,C.firstname=B.firstname,C),r(5,C.lastname=B.lastname,C),r(5,C.language=B.language,C),r(5,C.birth=((b=B.birth)==null?void 0:b.day)+"/"+((P=B.birth)==null?void 0:P.month)+"/"+((H=B.birth)==null?void 0:H.year),C),r(5,C.currency=B.currency,C),r(5,C.iban=B.iban,C),r(5,C.userTitles=B.title,C),r(5,C.countryCode=B.country,C),r(5,C.countryName=((N=O.find(j=>j.Alpha2Code===B.country))==null?void 0:N.Name)||"I.E. Ireland",C),r(4,y.address1=B.address1,y),r(4,y.city=B.city,y),r(4,y.mobile={},y),r(4,y.mobile.prefix=(Z=B.mobile)==null?void 0:Z.prefix,y),r(4,y.mobile.number=(pe=B.mobile)==null?void 0:pe.number,y),r(4,y.postalCode=B.postalCode,y),r(4,y.securityAnswer=B.securityAnswer,y),r(4,y.securityQuestion=B.securityQuestion,y),Array.isArray(k)&&(r(4,y.consents={},y),k.forEach(j=>{j.tagCode!=="termsandconditions"&&j.tagCode!=="privacypolicy"&&j.tagCode!=="pepconsent"&&r(4,y.consents[j.tagCode]=j.status==="Accepted",y)})),fe=ye(y),R=ye(y.consents),r(2,_=!1)},De=()=>{const b=new URL(`${a}/v1/player/${i}/profile`),P=new Headers;P.append("X-SessionID",o);const H={method:"GET",headers:P};fetch(b.href,H).then(N=>N.json()).then(N=>{r(31,B=N)},N=>{console.error(N)})},Et=()=>{const b=new URL(`${a}/v1/player/${i}/consent`),P=new Headers;P.append("X-SessionID",o);const H={method:"GET",headers:P};fetch(b.href,H).then(N=>N.json()).then(N=>{r(32,k=N.items)},N=>{console.error(N)})},ae=()=>{fetch(`${a}/v1/player/countries`).then(b=>b.status>=300?new Error("Error while fetching the countries"):b.json()).then(b=>{fetch(`${a}/v1/player/operatorSupportedCountries`).then(P=>P.status>=300?new Error("Error while fetching the supported countries"):P.json()).then(P=>{r(30,O=b.countries.filter(H=>P.countries.indexOf(H.Alpha2Code)>=0))})})},kt=()=>{fetch(`${a}/v1/player/phonecodes`).then(b=>b.json()).then(b=>{r(3,v=b.phoneCodes)})},Je=()=>{r(7,oe=!1),Oe&&me&&W&&z&&ze&&Qe&&r(7,oe=!0)},_t=()=>{r(6,Ce=ye(y)!==fe)},se=()=>{Ge=ye(y.consents)!==R},ke=b=>()=>{switch(b){case"mobileNumber":r(13,Qe=!1),y.mobile.number&&y.mobile.number.length>=5&&y.mobile.number.length<=12&&r(13,Qe=!0);break;case"city":r(8,W=!1),y.city&&y.city.length<=50&&r(8,W=!0);break;case"postalCode":r(9,ze=!1),y.postalCode&&y.postalCode.length<=20&&r(9,ze=!0);break;case"address":r(10,z=!1),y.address1&&y.address1.length<=100&&r(10,z=!0);break;case"securityQuestion":if(r(11,Oe=!1),y.securityQuestion)switch(d){case"true":Ae.document.test(y.securityQuestion)&&y.securityQuestion.length<=50&&r(11,Oe=!0);break;case"false":y.securityQuestion&&y.securityQuestion.length<=120&&r(11,Oe=!0);break}break;case"securityAnswer":if(r(12,me=!1),y.securityAnswer)switch(d){case"true":Ae.document.test(y.securityAnswer)&&y.securityAnswer.length<=50&&r(12,me=!0);break;case"false":y.securityAnswer&&y.securityAnswer.length<=120&&r(12,me=!0);break}break;case"consents":se();break}_t(),Je()},Ve=()=>{r(14,X=!0),setTimeout(()=>{r(14,X=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},Pt=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:n("userProfileUpdateError")}},window.location.href)},Lt=b=>{if(b.preventDefault(),Ce&&!Ge&&oe){Le().then(P=>{P&&(De(),Ve())});return}if(Ce&&Ge&&oe){Le(),St(),Promise.all([Le(),St()]).then(P=>{P[0]&&P[1]?(De(),Et(),Ve(),r(6,Ce=!1),Ge=!1):Pt()});return}},Le=()=>pr(this,null,function*(){const b=new URL(`${a}/v1/player/${i}/profile`),P=new Headers;P.append("X-SessionID",o),P.append("Content-Type","application/json"),P.append("Accept","application/json");const H=ye(y);if(H===null)return!1;let N={method:"POST",headers:P,body:H};return yield fetch(b.href,N).then(Z=>Z.status==200,Z=>(console.error(Z),!1))}),St=()=>pr(this,null,function*(){const b=[...Object.entries(y.consents).map(([pe,j])=>({tagCode:pe,status:j?"Accepted":"Denied"}))],P=new URL(`${a}/v1/player/${i}/consent`),H=new Headers;H.append("X-SessionID",o),H.append("Content-Type","application/json"),H.append("Accept","application/json");const N=ye({items:b});if(N===null)return!1;const Z={method:"POST",headers:H,body:N};return yield fetch(P.href,Z).then(pe=>pe.status==200,pe=>(console.error(pe),!1))}),le=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:S},window.location.href)},Ft=()=>{zs(l)},qe=()=>{let b=document.createElement("style");b.innerHTML=c,p.appendChild(b)},Rt=()=>{let b=new URL(u),P=document.createElement("style");fetch(b.href).then(H=>H.text()).then(H=>{P.innerHTML=H,setTimeout(()=>{p.appendChild(P)},1)})},Fe=()=>{fetch(h).then(P=>P.json()).then(P=>{Object.keys(P).forEach(H=>{di(H,P[H])})}).catch(P=>{console.log(P)})};Object.keys(mi).forEach(b=>{di(b,mi[b])});function Ye(){y.mobile.prefix=xo(this),r(4,y),r(3,v)}function Ke(){y.mobile.number=this.value,r(4,y),r(3,v)}function wt(){y.securityQuestion=this.value,r(4,y),r(3,v)}function Ut(){y.securityAnswer=this.value,r(4,y),r(3,v)}function he(){y.city=this.value,r(4,y),r(3,v)}function $e(){y.address1=this.value,r(4,y),r(3,v)}function jt(){y.postalCode=this.value,r(4,y),r(3,v)}function Re(b){y.consents[b]=this.checked,r(4,y),r(3,v)}function et(b){Yr[b?"unshift":"push"](()=>{p=b,r(1,p)})}return e.$$set=b=>{"userid"in b&&r(23,i=b.userid),"sessionid"in b&&r(24,o=b.sessionid),"endpoint"in b&&r(25,a=b.endpoint),"lang"in b&&r(26,l=b.lang),"clientstyling"in b&&r(27,c=b.clientstyling),"clientstylingurl"in b&&r(28,u=b.clientstylingurl),"translationurl"in b&&r(29,h=b.translationurl),"custominputtextswitch"in b&&r(0,d=b.custominputtextswitch)},e.$$.update=()=>{e.$$.dirty[0]&58720256&&a&&i&&o&&De(),e.$$.dirty[0]&58720256&&a&&i&&o&&Et(),e.$$.dirty[0]&33554432&&a&&ae(),e.$$.dirty[0]&33554432&&a&&kt(),e.$$.dirty[0]&1073741824|e.$$.dirty[1]&3&&B&&k&&O&&Dt(),e.$$.dirty[0]&67108864&&l&&Ft(),e.$$.dirty[0]&268435458&&u&&p&&Rt(),e.$$.dirty[0]&134217730&&c&&p&&qe(),e.$$.dirty[0]&536870912&&h&&Fe()},[d,p,_,v,y,C,Ce,oe,W,ze,z,Oe,me,Qe,X,n,S,xe,Ze,_t,ke,Lt,le,i,o,a,l,c,u,h,O,B,k,Ye,Ke,wt,Ut,he,$e,jt,Re,et]}class ho extends Fo{constructor(t){super(),ko(this,t,qs,Js,Ni,{userid:23,sessionid:24,endpoint:25,lang:26,clientstyling:27,clientstylingurl:28,translationurl:29,custominputtextswitch:0},Qs,[-1,-1,-1])}get userid(){return this.$$.ctx[23]}set userid(t){this.$$set({userid:t}),we()}get sessionid(){return this.$$.ctx[24]}set sessionid(t){this.$$set({sessionid:t}),we()}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),we()}get lang(){return this.$$.ctx[26]}set lang(t){this.$$set({lang:t}),we()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(t){this.$$set({clientstyling:t}),we()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),we()}get translationurl(){return this.$$.ctx[29]}set translationurl(t){this.$$set({translationurl:t}),we()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),we()}}Lo(ho,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},custominputtextswitch:{}},[],[],!0);exports.default=ho;
|