@everymatrix/player-profile-info 1.76.13 → 1.76.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerProfileInfo-CeZxcWRW.cjs +21 -0
- package/components/{PlayerProfileInfo-XuJ_I4KK.js → PlayerProfileInfo-Cwu9rdBK.js} +1221 -1242
- package/components/{PlayerProfileInfo-DM8lnuXb.js → PlayerProfileInfo-DWUsj9nJ.js} +1268 -1289
- package/es2015/player-profile-info.cjs +1 -1
- package/es2015/player-profile-info.js +1 -1
- package/esnext/player-profile-info.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerProfileInfo-L-tyq7HH.cjs +0 -21
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";var rs=Object.defineProperty,ns=Object.defineProperties;var is=Object.getOwnPropertyDescriptors;var So=Object.getOwnPropertySymbols;var os=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable;var Ci=(e,t,r)=>t in e?rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Eo=(e,t)=>{for(var r in t||(t={}))os.call(t,r)&&Ci(e,r,t[r]);if(So)for(var r of So(t))as.call(t,r)&&Ci(e,r,t[r]);return e},Po=(e,t)=>ns(e,is(t));var Te=(e,t,r)=>(Ci(e,typeof t!="symbol"?t+"":t,r),r);var Me=(e,t,r)=>new Promise((n,i)=>{var o=c=>{try{l(r.next(c))}catch(p){i(p)}},a=c=>{try{l(r.throw(c))}catch(p){i(p)}},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"});require("../stencil/ui-skeleton-BPqjm-YB.cjs");function Ee(){}function ga(e){return e()}function Ao(){return Object.create(null)}function ct(e){e.forEach(ga)}function qt(e){return typeof e=="function"}function Ca(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ss(e){return Object.keys(e).length===0}function _a(e,...t){if(e==null){for(const n of t)n(void 0);return Ee}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ls(e,t,r){e.$$.on_destroy.push(_a(t,r))}function s(e,t){e.appendChild(t)}function us(e,t,r){const n=cs(e);if(!n.getElementById(t)){const i=h("style");i.id=t,i.textContent=r,fs(n,i)}}function cs(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function fs(e,t){return s(e.head||e,t),t.sheet}function M(e,t,r){e.insertBefore(t,r||null)}function T(e){e.parentNode&&e.parentNode.removeChild(e)}function zt(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function h(e){return document.createElement(e)}function Rt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function S(){return w(" ")}function Sa(){return w("")}function G(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function u(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ps(e){return Array.from(e.childNodes)}function x(e,t){t=""+t,e.data!==t&&(e.data=t)}function X(e,t){e.value=t==null?"":t}function wo(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 hs(e){const t=e.querySelector(":checked");return t&&t.__value}function ds(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let zr;function Ur(e){zr=e}function ms(){if(!zr)throw new Error("Function called outside component initialization");return zr}function bs(e){ms().$$.on_mount.push(e)}const Ft=[],Fr=[];let Gt=[];const ko=[],vs=Promise.resolve();let Bi=!1;function ys(){Bi||(Bi=!0,vs.then(xe))}function Yn(e){Gt.push(e)}const _i=new Set;let jt=0;function xe(){if(jt!==0)return;const e=zr;do{try{for(;jt<Ft.length;){const t=Ft[jt];jt++,Ur(t),gs(t.$$)}}catch(t){throw Ft.length=0,jt=0,t}for(Ur(null),Ft.length=0,jt=0;Fr.length;)Fr.pop()();for(let t=0;t<Gt.length;t+=1){const r=Gt[t];_i.has(r)||(_i.add(r),r())}Gt.length=0}while(Ft.length);for(;ko.length;)ko.pop()();Bi=!1,_i.clear(),Ur(e)}function gs(e){if(e.fragment!==null){e.update(),ct(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Yn)}}function Cs(e){const t=[],r=[];Gt.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),Gt=t}const _s=new Set;function Ss(e,t){e&&e.i&&(_s.delete(e),e.i(t))}function Ye(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Es(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Yn(()=>{const o=e.$$.on_mount.map(ga).filter(qt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ct(o),e.$$.on_mount=[]}),i.forEach(Yn)}function Ps(e,t){const r=e.$$;r.fragment!==null&&(Cs(r.after_update),ct(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function As(e,t){e.$$.dirty[0]===-1&&(Ft.push(e),ys(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ws(e,t,r,n,i,o,a=null,l=[-1]){const c=zr;Ur(e);const p=e.$$={fragment:null,ctx:[],props:o,update:Ee,not_equal:i,bound:Ao(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Ao(),dirty:l,skip_bound:!1,root:t.target||c.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r?r(e,t.props||{},(d,v,..._)=>{const C=_.length?_[0]:v;return p.ctx&&i(p.ctx[d],p.ctx[d]=C)&&(!p.skip_bound&&p.bound[d]&&p.bound[d](C),f&&As(e,d)),v}):[],p.update(),f=!0,ct(p.before_update),p.fragment=n?n(p.ctx):!1,t.target){if(t.hydrate){const d=ps(t.target);p.fragment&&p.fragment.l(d),d.forEach(T)}else p.fragment&&p.fragment.c();t.intro&&Ss(e.$$.fragment),Es(e,t.target,t.anchor),xe()}Ur(c)}let Ea;typeof HTMLElement=="function"&&(Ea=class extends HTMLElement{constructor(t,r,n){super();Te(this,"$$ctor");Te(this,"$$s");Te(this,"$$c");Te(this,"$$cn",!1);Te(this,"$$d",{});Te(this,"$$r",!1);Te(this,"$$p_d",{});Te(this,"$$l",{});Te(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 Me(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=h("slot"),o!=="default"&&u(a,"name",o)},m:function(p,f){M(p,a,f)},d:function(p){p&&T(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=ds(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]=Xn(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:Po(Eo({},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=Xn(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]=Xn(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 Xn(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 ks(e,t,r,n,i,o){let a=class extends Ea{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 p;c=Xn(l,c,t),this.$$d[l]=c,(p=this.$$c)==null||p.$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 xs{constructor(){Te(this,"$$");Te(this,"$$set")}$destroy(){Ps(this,1),this.$destroy=Ee}$on(t,r){if(!qt(r))return Ee;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&&!ss(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Bs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Bs);const Ut=[];function Hs(e,t){return{subscribe:ti(e,t).subscribe}}function ti(e,t=Ee){let r;const n=new Set;function i(l){if(Ca(e,l)&&(e=l,r)){const c=!Ut.length;for(const p of n)p[1](),Ut.push(p,e);if(c){for(let p=0;p<Ut.length;p+=2)Ut[p][0](Ut[p+1]);Ut.length=0}}}function o(l){i(l(e))}function a(l,c=Ee){const p=[l,c];return n.add(p),n.size===1&&(r=t(i,o)||Ee),l(e),()=>{n.delete(p),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function Zt(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 Hs(r,(a,l)=>{let c=!1;const p=[];let f=0,d=Ee;const v=()=>{if(f)return;d();const C=t(n?p[0]:p,a,l);o?a(C):d=qt(C)?C:Ee},_=i.map((C,P)=>_a(C,A=>{p[P]=A,f&=~(1<<P),c&&v()},()=>{f|=1<<P}));return c=!0,v(),function(){ct(_),d(),c=!1}})}function Is(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Os=function(t){return Ts(t)&&!Ms(t)};function Ts(e){return!!e&&typeof e=="object"}function Ms(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Ls(e)}var Ns=typeof Symbol=="function"&&Symbol.for,Ds=Ns?Symbol.for("react.element"):60103;function Ls(e){return e.$$typeof===Ds}function Rs(e){return Array.isArray(e)?[]:{}}function Gr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Vt(Rs(e),e,t):e}function js(e,t,r){return e.concat(t).map(function(n){return Gr(n,r)})}function Us(e,t){if(!t.customMerge)return Vt;var r=t.customMerge(e);return typeof r=="function"?r:Vt}function Fs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function xo(e){return Object.keys(e).concat(Fs(e))}function Pa(e,t){try{return t in e}catch(r){return!1}}function zs(e,t){return Pa(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Gs(e,t,r){var n={};return r.isMergeableObject(e)&&xo(e).forEach(function(i){n[i]=Gr(e[i],r)}),xo(t).forEach(function(i){zs(e,i)||(Pa(e,i)&&r.isMergeableObject(t[i])?n[i]=Us(i,r)(e[i],t[i],r):n[i]=Gr(t[i],r))}),n}function Vt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||js,r.isMergeableObject=r.isMergeableObject||Os,r.cloneUnlessOtherwiseSpecified=Gr;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):Gs(e,t,r):Gr(t,r)}Vt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return Vt(n,i,r)},{})};var $s=Vt,Vs=$s;const Qs=Is(Vs);/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */var Hi=function(e,t){return Hi=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])},Hi(e,t)};function et(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Hi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var O=function(){return O=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},O.apply(this,arguments)};function Ws(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 Ii(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 Oi(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 $t(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function Si(e,t){var r=t&&t.cache?t.cache:Ks,n=t&&t.serializer?t.serializer:Ys,i=t&&t.strategy?t.strategy:qs;return i(e,{cache:r,serializer:n})}function Xs(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Aa(e,t,r,n){var i=Xs(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function wa(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 Gi(e,t,r,n,i){return r.bind(t,e,n,i)}function qs(e,t){var r=e.length===1?Aa:wa;return Gi(e,this,r,t.cache.create(),t.serializer)}function Zs(e,t){return Gi(e,this,wa,t.cache.create(),t.serializer)}function Js(e,t){return Gi(e,this,Aa,t.cache.create(),t.serializer)}var Ys=function(){return JSON.stringify(arguments)};function $i(){this.cache=Object.create(null)}$i.prototype.get=function(e){return this.cache[e]};$i.prototype.set=function(e,t){this.cache[e]=t};var Ks={create:function(){return new $i}},Ei={variadic:Zs,monadic:Js},B;(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"})(B||(B={}));var F;(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"})(F||(F={}));var Qt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Qt||(Qt={}));function Bo(e){return e.type===F.literal}function el(e){return e.type===F.argument}function ka(e){return e.type===F.number}function xa(e){return e.type===F.date}function Ba(e){return e.type===F.time}function Ha(e){return e.type===F.select}function Ia(e){return e.type===F.plural}function tl(e){return e.type===F.pound}function Oa(e){return e.type===F.tag}function Ta(e){return!!(e&&typeof e=="object"&&e.type===Qt.number)}function Ti(e){return!!(e&&typeof e=="object"&&e.type===Qt.dateTime)}var Ma=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,rl=/(?:[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 nl(e){var t={};return e.replace(rl,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 il=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ol(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(il).filter(function(v){return v.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),p=0,f=c;p<f.length;p++){var d=f[p];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:c})}return r}function al(e){return e.replace(/^(.*?)-/,"")}var Ho=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Na=/^(@+)?(\+|#+)?[rs]?$/g,sl=/(\*)(0+)|(#+)(0+)|(0+)/g,Da=/^(0+)$/;function Io(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Na,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 La(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 ll(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)),!Da.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Oo(e){var t={},r=La(e);return r||t}function ul(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=al(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=O(O(O({},t),{notation:"scientific"}),i.options.reduce(function(c,p){return O(O({},c),Oo(p))},{}));continue;case"engineering":t=O(O(O({},t),{notation:"engineering"}),i.options.reduce(function(c,p){return O(O({},c),Oo(p))},{}));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(sl,function(c,p,f,d,v,_){if(p)t.minimumIntegerDigits=f.length;else{if(d&&v)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(Da.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ho.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ho,function(c,p,f,d,v,_){return f==="*"?t.minimumFractionDigits=p.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:v&&_?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+_.length):(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length),""});var o=i.options[0];o==="w"?t=O(O({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=O(O({},t),Io(o)));continue}if(Na.test(i.stem)){t=O(O({},t),Io(i.stem));continue}var a=La(i.stem);a&&(t=O(O({},t),a));var l=ll(i.stem);l&&(t=O(O({},t),l))}return t}var Qn={"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 cl(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",p=fl(t);for((p=="H"||p=="k")&&(l=0);l-- >0;)r+=c;for(;a-- >0;)r=p+r}else i==="J"?r+="H":r+=i}return r}function fl(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=Qn[n||""]||Qn[r||""]||Qn["".concat(r,"-001")]||Qn["001"];return i[0]}var Pi,pl=new RegExp("^".concat(Ma.source,"*")),hl=new RegExp("".concat(Ma.source,"*$"));function H(e,t){return{start:e,end:t}}var dl=!!String.prototype.startsWith&&"_a".startsWith("a",1),ml=!!String.fromCodePoint,bl=!!Object.fromEntries,vl=!!String.prototype.codePointAt,yl=!!String.prototype.trimStart,gl=!!String.prototype.trimEnd,Cl=!!Number.isSafeInteger,_l=Cl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mi=!0;try{var Sl=ja("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Mi=((Pi=Sl.exec("a"))===null||Pi===void 0?void 0:Pi[0])==="a"}catch(e){Mi=!1}var To=dl?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ni=ml?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},Mo=bl?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},Ra=vl?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}},El=yl?function(t){return t.trimStart()}:function(t){return t.replace(pl,"")},Pl=gl?function(t){return t.trimEnd()}:function(t){return t.replace(hl,"")};function ja(e,t){return new RegExp(e,t)}var Di;if(Mi){var No=ja("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Di=function(t,r){var n;No.lastIndex=r;var i=No.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Di=function(t,r){for(var n=[];;){var i=Ra(t,r);if(i===void 0||Ua(i)||xl(i))break;n.push(i),r+=i>=65536?2:1}return Ni.apply(void 0,n)};var Al=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:F.pound,location:H(l,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(B.UNMATCHED_CLOSING_TAG,H(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Li(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:F.literal,value:"<".concat(i,"/>"),location:H(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()||!Li(this.char()))return this.error(B.INVALID_TAG,H(l,this.clonePosition()));var c=this.clonePosition(),p=this.parseTagName();return i!==p?this.error(B.UNMATCHED_CLOSING_TAG,H(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:F.tag,value:i,children:a,location:H(n,this.clonePosition())},err:null}:this.error(B.INVALID_TAG,H(l,this.clonePosition())))}else return this.error(B.UNCLOSED_TAG,H(n,this.clonePosition()))}else return this.error(B.INVALID_TAG,H(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&kl(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=H(n,this.clonePosition());return{val:{type:F.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!wl(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 Ni.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(),Ni(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(B.EMPTY_ARGUMENT,H(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(B.MALFORMED_ARGUMENT,H(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:F.argument,value:i,location:H(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,H(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(B.MALFORMED_ARGUMENT,H(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Di(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=H(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(B.EXPECT_ARGUMENT_TYPE,H(a,c));case"number":case"date":case"time":{this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var v=Pl(d.val);if(v.length===0)return this.error(B.EXPECT_ARGUMENT_STYLE,H(this.clonePosition(),this.clonePosition()));var _=H(f,this.clonePosition());p={style:v,styleLocation:_}}var C=this.tryParseArgumentClose(i);if(C.err)return C;var P=H(i,this.clonePosition());if(p&&To(p==null?void 0:p.style,"::",0)){var A=El(p.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(A,p.styleLocation);return d.err?d:{val:{type:F.number,value:n,location:P,style:d.val},err:null}}else{if(A.length===0)return this.error(B.EXPECT_DATE_TIME_SKELETON,P);var L=A;this.locale&&(L=cl(A,this.locale));var v={type:Qt.dateTime,pattern:L,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?nl(L):{}},k=l==="date"?F.date:F.time;return{val:{type:k,value:n,location:P,style:v},err:null}}}return{val:{type:l==="number"?F.number:l==="date"?F.date:F.time,value:n,location:P,style:(o=p==null?void 0:p.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var N=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(B.EXPECT_SELECT_ARGUMENT_OPTIONS,H(N,O({},N)));this.bumpSpace();var D=this.parseIdentifierIfPossible(),W=0;if(l!=="select"&&D.value==="offset"){if(!this.bumpIf(":"))return this.error(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,H(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),D=this.parseIdentifierIfPossible(),W=d.val}var $=this.tryParsePluralOrSelectOptions(t,l,r,D);if($.err)return $;var C=this.tryParseArgumentClose(i);if(C.err)return C;var Pe=H(i,this.clonePosition());return l==="select"?{val:{type:F.select,value:n,options:Mo($.val),location:Pe},err:null}:{val:{type:F.plural,value:n,options:Mo($.val),offset:W,pluralType:l==="plural"?"cardinal":"ordinal",location:Pe},err:null}}default:return this.error(B.INVALID_ARGUMENT_TYPE,H(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(B.EXPECT_ARGUMENT_CLOSING_BRACE,H(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(B.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,H(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=ol(t)}catch(i){return this.error(B.INVALID_NUMBER_SKELETON,r)}return{val:{type:Qt.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ul(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,l=[],c=new Set,p=i.value,f=i.location;;){if(p.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(B.EXPECT_PLURAL_ARGUMENT_SELECTOR,B.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;f=H(d,this.clonePosition()),p=this.message.slice(d.offset,this.offset())}else break}if(c.has(p))return this.error(r==="select"?B.DUPLICATE_SELECT_ARGUMENT_SELECTOR:B.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);p==="other"&&(a=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:B.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,H(this.clonePosition(),this.clonePosition()));var C=this.parseMessage(t+1,r,n);if(C.err)return C;var P=this.tryParseArgumentClose(_);if(P.err)return P;l.push([p,{value:C.val,location:H(_,this.clonePosition())}]),c.add(p),this.bumpSpace(),o=this.parseIdentifierIfPossible(),p=o.value,f=o.location}return l.length===0?this.error(r==="select"?B.EXPECT_SELECT_ARGUMENT_SELECTOR:B.EXPECT_PLURAL_ARGUMENT_SELECTOR,H(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(B.MISSING_OTHER_CLAUSE,H(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=H(i,this.clonePosition());return o?(a*=n,_l(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=Ra(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(To(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()&&Ua(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 Li(e){return e>=97&&e<=122||e>=65&&e<=90}function wl(e){return Li(e)||e===47}function kl(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 Ua(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function xl(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 Ri(e){e.forEach(function(t){if(delete t.location,Ha(t)||Ia(t))for(var r in t.options)delete t.options[r].location,Ri(t.options[r].value);else ka(t)&&Ta(t.style)||(xa(t)||Ba(t))&&Ti(t.style)?delete t.style.location:Oa(t)&&Ri(t.children)})}function Bl(e,t){t===void 0&&(t={}),t=O({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Al(e,t).parse();if(r.err){var n=SyntaxError(B[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||Ri(r.val),r.val}var Wt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Wt||(Wt={}));var ri=function(e){et(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),Do=function(e){et(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('", "'),'"'),Wt.INVALID_VALUE,o)||this}return t}(ri),Hl=function(e){et(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Wt.INVALID_VALUE,i)||this}return t}(ri),Il=function(e){et(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,'"'),Wt.MISSING_VALUE,n)||this}return t}(ri),re;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(re||(re={}));function Ol(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==re.literal||r.type!==re.literal?t.push(r):n.value+=r.value,t},[])}function Tl(e){return typeof e=="function"}function qn(e,t,r,n,i,o,a){if(e.length===1&&Bo(e[0]))return[{type:re.literal,value:e[0].value}];for(var l=[],c=0,p=e;c<p.length;c++){var f=p[c];if(Bo(f)){l.push({type:re.literal,value:f.value});continue}if(tl(f)){typeof o=="number"&&l.push({type:re.literal,value:r.getNumberFormat(t).format(o)});continue}var d=f.value;if(!(i&&d in i))throw new Il(d,a);var v=i[d];if(el(f)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),l.push({type:typeof v=="string"?re.literal:re.object,value:v});continue}if(xa(f)){var _=typeof f.style=="string"?n.date[f.style]:Ti(f.style)?f.style.parsedOptions:void 0;l.push({type:re.literal,value:r.getDateTimeFormat(t,_).format(v)});continue}if(Ba(f)){var _=typeof f.style=="string"?n.time[f.style]:Ti(f.style)?f.style.parsedOptions:n.time.medium;l.push({type:re.literal,value:r.getDateTimeFormat(t,_).format(v)});continue}if(ka(f)){var _=typeof f.style=="string"?n.number[f.style]:Ta(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(v=v*(_.scale||1)),l.push({type:re.literal,value:r.getNumberFormat(t,_).format(v)});continue}if(Oa(f)){var C=f.children,P=f.value,A=i[P];if(!Tl(A))throw new Hl(P,"function",a);var L=qn(C,t,r,n,i,o),k=A(L.map(function(W){return W.value}));Array.isArray(k)||(k=[k]),l.push.apply(l,k.map(function(W){return{type:typeof W=="string"?re.literal:re.object,value:W}}))}if(Ha(f)){var N=f.options[v]||f.options.other;if(!N)throw new Do(f.value,v,Object.keys(f.options),a);l.push.apply(l,qn(N.value,t,r,n,i));continue}if(Ia(f)){var N=f.options["=".concat(v)];if(!N){if(!Intl.PluralRules)throw new ri(`Intl.PluralRules is not available in this environment.
|
|
15
|
+
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
16
|
+
`,Wt.MISSING_INTL_API,a);var D=r.getPluralRules(t,{type:f.pluralType}).select(v-(f.offset||0));N=f.options[D]||f.options.other}if(!N)throw new Do(f.value,v,Object.keys(f.options),a);l.push.apply(l,qn(N.value,t,r,n,i,v-(f.offset||0)));continue}}return Ol(l)}function Ml(e,t){return t?O(O(O({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=O(O({},e[n]),t[n]||{}),r},{})):e}function Nl(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=Ml(e[n],t[n]),r},O({},e)):e}function Ai(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Dl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,$t([void 0],r,!1)))},{cache:Ai(e.number),strategy:Ei.variadic}),getDateTimeFormat:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,$t([void 0],r,!1)))},{cache:Ai(e.dateTime),strategy:Ei.variadic}),getPluralRules:Si(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,$t([void 0],r,!1)))},{cache:Ai(e.pluralRules),strategy:Ei.variadic})}}var Ll=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 p=o.formatToParts(c);if(p.length===1)return p[0].value;var f=p.reduce(function(d,v){return!d.length||v.type!==re.literal||typeof d[d.length-1]!="string"?d.push(v.value):d[d.length-1]+=v.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return qn(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=Ws(a,["formatters"]);this.ast=e.__parse(t,O(O({},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=Nl(e.formats,n),this.formatters=i&&i.formatters||Dl(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=Bl,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 Rl(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 ut={},jl=(e,t,r)=>r&&(t in ut||(ut[t]={}),e in ut[t]||(ut[t][e]=r),r),Fa=(e,t)=>{if(t==null)return;if(t in ut&&e in ut[t])return ut[t][e];const r=ni(t);for(let n=0;n<r.length;n++){const i=r[n],o=Fl(i,e);if(o)return jl(e,t,o)}};let Vi;const Vr=ti({});function Ul(e){return Vi[e]||null}function za(e){return e in Vi}function Fl(e,t){if(!za(e))return null;const r=Ul(e);return Rl(r,t)}function zl(e){if(e==null)return;const t=ni(e);for(let r=0;r<t.length;r++){const n=t[r];if(za(n))return n}}function Ga(e,...t){delete ut[e],Vr.update(r=>(r[e]=Qs.all([r[e]||{},...t]),r))}Zt([Vr],([e])=>Object.keys(e));Vr.subscribe(e=>Vi=e);const Zn={};function Gl(e,t){Zn[e].delete(t),Zn[e].size===0&&delete Zn[e]}function $a(e){return Zn[e]}function $l(e){return ni(e).map(t=>{const r=$a(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ji(e){return e==null?!1:ni(e).some(t=>{var r;return(r=$a(t))==null?void 0:r.size})}function Vl(e,t){return Promise.all(t.map(n=>(Gl(e,n),n().then(i=>i.default||i)))).then(n=>Ga(e,...n))}const jr={};function Va(e){if(!ji(e))return e in jr?jr[e]:Promise.resolve();const t=$l(e);return jr[e]=Promise.all(t.map(([r,n])=>Vl(r,n))).then(()=>{if(ji(e))return Va(e);delete jr[e]}),jr[e]}const Ql={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"}}},Wl={fallbackLocale:null,loadingDelay:200,formats:Ql,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Xl=Wl;function Xt(){return Xl}const wi=ti(!1);var ql=Object.defineProperty,Zl=Object.defineProperties,Jl=Object.getOwnPropertyDescriptors,Lo=Object.getOwnPropertySymbols,Yl=Object.prototype.hasOwnProperty,Kl=Object.prototype.propertyIsEnumerable,Ro=(e,t,r)=>t in e?ql(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eu=(e,t)=>{for(var r in t||(t={}))Yl.call(t,r)&&Ro(e,r,t[r]);if(Lo)for(var r of Lo(t))Kl.call(t,r)&&Ro(e,r,t[r]);return e},tu=(e,t)=>Zl(e,Jl(t));let Ui;const Kn=ti(null);function jo(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ni(e,t=Xt().fallbackLocale){const r=jo(e);return t?[...new Set([...r,...jo(t)])]:r}function bt(){return Ui!=null?Ui:void 0}Kn.subscribe(e=>{Ui=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const ru=e=>{if(e&&zl(e)&&ji(e)){const{loadingDelay:t}=Xt();let r;return typeof window!="undefined"&&bt()!=null&&t?r=window.setTimeout(()=>wi.set(!0),t):wi.set(!0),Va(e).then(()=>{Kn.set(e)}).finally(()=>{clearTimeout(r),wi.set(!1)})}return Kn.set(e)},Jt=tu(eu({},Kn),{set:ru}),ii=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var nu=Object.defineProperty,ei=Object.getOwnPropertySymbols,Qa=Object.prototype.hasOwnProperty,Wa=Object.prototype.propertyIsEnumerable,Uo=(e,t,r)=>t in e?nu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qi=(e,t)=>{for(var r in t||(t={}))Qa.call(t,r)&&Uo(e,r,t[r]);if(ei)for(var r of ei(t))Wa.call(t,r)&&Uo(e,r,t[r]);return e},Yt=(e,t)=>{var r={};for(var n in e)Qa.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ei)for(var n of ei(e))t.indexOf(n)<0&&Wa.call(e,n)&&(r[n]=e[n]);return r};const $r=(e,t)=>{const{formats:r}=Xt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},iu=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=$r("number",n)),new Intl.NumberFormat(r,i)}),ou=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=$r("date",n):Object.keys(i).length===0&&(i=$r("date","short")),new Intl.DateTimeFormat(r,i)}),au=ii(e=>{var t=e,{locale:r,format:n}=t,i=Yt(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=$r("time",n):Object.keys(i).length===0&&(i=$r("time","short")),new Intl.DateTimeFormat(r,i)}),su=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return iu(Qi({locale:r},n))},lu=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return ou(Qi({locale:r},n))},uu=(e={})=>{var t=e,{locale:r=bt()}=t,n=Yt(t,["locale"]);return au(Qi({locale:r},n))},cu=ii((e,t=bt())=>new Ll(e,t,Xt().formats,{ignoreTag:Xt().ignoreTag})),fu=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:c=bt(),default:p}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Fa(e,c);if(!f)f=(o=(i=(n=(r=Xt()).handleMissingMessage)==null?void 0:n.call(r,{locale:c,id:e,defaultValue:p}))!=null?i:p)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let d=f;try{d=cu(f,c).format(l)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return d},pu=(e,t)=>uu(t).format(e),hu=(e,t)=>lu(t).format(e),du=(e,t)=>su(t).format(e),mu=(e,t=bt())=>Fa(e,t),bu=Zt([Jt,Vr],()=>fu);Zt([Jt],()=>pu);Zt([Jt],()=>hu);Zt([Jt],()=>du);Zt([Jt,Vr],()=>mu);function Fo(e,t){Ga(e,t)}function vu(e){Jt.set(e)}const zo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userPrefixError:"Prefix value is required",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:",userAddress2:"Address 2:",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",casinosmsConsent:"Enable SMS notifications",casinoemailConsent:"Enable Emails",casino3rdpartyConsent:"Enable phone call notifications",casinopushConsent:"Enable push notifications",casinomarketingConsent:"Enable marketing materials",casinophonecallConsent:"Enable phone call notifications",sportssmsConsent:"Enable SMS notifications",sportsemailConsent:"Enable Emails",sports3rdpartyConsent:"Enable phone call notifications",sportspushConsent:"Enable push notifications",sportsmarketingConsent:"Enable marketing materials",sportsphonecallConsent:"Enable phone call notifications",bingosmsConsent:"Enable SMS notifications",bingoemailConsent:"Enable Emails",bingo3rdpartyConsent:"Enable phone call notifications",bingopushConsent:"Enable push notifications",bingomarketingConsent:"Enable marketing materials",bingophonecallConsent:"Enable phone call notifications",virtualsportssmsConsent:"Enable SMS notifications",virtualsportsemailConsent:"Enable Emails",virtualsports3rdpartyConsent:"Enable phone call notifications",virtualsportspushConsent:"Enable push notifications",virtualsportsmarketingConsent:"Enable marketing materials",virtualsportsphonecallConsent:"Enable phone call notifications",consentCategoryHeaderCasino:"Casino Promotions",consentCategoryHeaderSports:"Sports Promotions",consentCategoryHeaderBingo:"Bingo Promotions",consentCategoryHeaderVirtualSports:"Virtual Sports Promotions",consentCategoryHeaderMarketing:"Marketing Promotions",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information",locationDetailsDescription:"If you wish to update any of your personal details, please contact Customer Services who may request proof of these changes before updating your account."},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",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:"地址:",userAddress2:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",smsConsent:"啟用短信通知",emailmarketingConsent:"啟用電子郵件",phonecallConsent:"啟用電話通知",postConsent:"啟用郵件通知","3rdpartyConsent":"啟用第三方通知",smsandemailConsent:"啟用短信和電子郵件通知",casinosmsConsent:"啟用短信通知",casinoemailConsent:"啟用電子郵件",casino3rdpartyConsent:"啟用電話通知",casinopushConsent:"啟用推送通知",casinomarketingConsent:"啟用市場推廣資料",casinophonecallConsent:"啟用電話通知",sportssmsConsent:"啟用短信通知",sportsemailConsent:"啟用電子郵件",sports3rdpartyConsent:"啟用電話通知",sportspushConsent:"啟用推送通知",sportsmarketingConsent:"啟用市場推廣資料",sportsphonecallConsent:"啟用電話通知",bingosmsConsent:"啟用短信通知",bingoemailConsent:"啟用電子郵件",bingo3rdpartyConsent:"啟用電話通知",bingopushConsent:"啟用推送通知",bingomarketingConsent:"啟用市場推廣資料",bingophonecallConsent:"啟用電話通知",virtualsportssmsConsent:"啟用短信通知",virtualsportsemailConsent:"啟用電子郵件",virtualsports3rdpartyConsent:"啟用電話通知",virtualsportspushConsent:"啟用推送通知",virtualsportsmarketingConsent:"啟用市場推廣資料",virtualsportsphonecallConsent:"啟用電話通知",consentCategoryHeaderCasino:"賭場促銷",consentCategoryHeaderSports:"體育促銷",consentCategoryHeaderBingo:"賓果促銷",consentCategoryHeaderVirtualSports:"虛擬體育促銷",consentCategoryHeaderMarketing:"營銷促銷",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤",locationDetailsDescription:"如果您希望更新任何個人資料,請聯絡客戶服務部門,他們可能會要求您提供這些變更的證明,然後才會更新您的帳戶。"},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.",userPrefixError:"La valeur du préfixe est requise",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:",userAddress2:"Adresse 2:",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",casinosmsConsent:"Activer les notifications par SMS",casinoemailConsent:"Activer les e-mails",casino3rdpartyConsent:"Activer les notifications par appel téléphonique",casinopushConsent:"Activer les notifications push",casinomarketingConsent:"Activer les supports marketing",casinophonecallConsent:"Activer les notifications par appel téléphonique",sportssmsConsent:"Activer les notifications par SMS",sportsemailConsent:"Activer les e-mails",sports3rdpartyConsent:"Activer les notifications par appel téléphonique",sportspushConsent:"Activer les notifications push",sportsmarketingConsent:"Activer les supports marketing",sportsphonecallConsent:"Activer les notifications par appel téléphonique",bingosmsConsent:"Activer les notifications par SMS",bingoemailConsent:"Activer les e-mails",bingo3rdpartyConsent:"Activer les notifications par appel téléphonique",bingopushConsent:"Activer les notifications push",bingomarketingConsent:"Activer les supports marketing",bingophonecallConsent:"Activer les notifications par appel téléphonique",virtualsportssmsConsent:"Activer les notifications par SMS",virtualsportsemailConsent:"Activer les e-mails",virtualsports3rdpartyConsent:"Activer les notifications par appel téléphonique",virtualsportspushConsent:"Activer les notifications push",virtualsportsmarketingConsent:"Activer les supports marketing",virtualsportsphonecallConsent:"Activer les notifications par appel téléphonique",consentCategoryHeaderCasino:"Promotions de casino",consentCategoryHeaderSports:"Promotions sportives",consentCategoryHeaderBingo:"Promotions de bingo",consentCategoryHeaderVirtualSports:"Promotions de sports virtuels",consentCategoryHeaderMarketing:"Promotions marketing",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",locationDetailsDescription:"Si vous souhaitez mettre à jour vos informations personnelles, veuillez contacter le service client qui pourrait vous demander une preuve de ces modifications avant de mettre à jour votre compte."},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.",userPrefixError:"Prefixul este necesar",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ă:",userAddress2:"Adresă 2:",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",casinosmsConsent:"Activează notificările prin SMS",casinoemailConsent:"Activează e-mailurile",casino3rdpartyConsent:"Activează notificările prin apel telefonic",casinopushConsent:"Activează notificările push",casinomarketingConsent:"Activează materialele de marketing",casinophonecallConsent:"Activează notificările prin apel telefonic",sportssmsConsent:"Activează notificările prin SMS",sportsemailConsent:"Activează e-mailurile",sports3rdpartyConsent:"Activează notificările prin apel telefonic",sportspushConsent:"Activează notificările push",sportsmarketingConsent:"Activează materialele de marketing",sportsphonecallConsent:"Activează notificările prin apel telefonic",bingosmsConsent:"Activează notificările prin SMS",bingoemailConsent:"Activează e-mailurile",bingo3rdpartyConsent:"Activează notificările prin apel telefonic",bingopushConsent:"Activează notificările push",bingomarketingConsent:"Activează materialele de marketing",bingophonecallConsent:"Activează notificările prin apel telefonic",virtualsportssmsConsent:"Activează notificările prin SMS",virtualsportsemailConsent:"Activează e-mailurile",virtualsports3rdpartyConsent:"Activează notificările prin apel telefonic",virtualsportspushConsent:"Activează notificările push",virtualsportsmarketingConsent:"Activează materialele de marketing",virtualsportsphonecallConsent:"Activează notificările prin apel telefonic",consentCategoryHeaderCasino:"Promoții de cazino",consentCategoryHeaderSports:"Promoții sportive",consentCategoryHeaderBingo:"Promoții de bingo",consentCategoryHeaderVirtualSports:"Promoții pentru sporturi virtuale",consentCategoryHeaderMarketing:"Promoții de marketing",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului",locationDetailsDescription:"Dacă doriți să actualizați orice detalii personale, vă rugăm să contactați Serviciul Clienți, care poate solicita o dovadă a acestor modificări înainte de a vă actualiza contul."},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.",userPrefixError:"Önek değeri gereklidir",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:",userAddress2:"Adres 2:",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",casinosmsConsent:"SMS bildirimlerini etkinleştir",casinoemailConsent:"E-postaları etkinleştir",casino3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",casinopushConsent:"Anlık bildirimleri etkinleştir",casinomarketingConsent:"Pazarlama materyallerini etkinleştir",casinophonecallConsent:"Telefon arama bildirimlerini etkinleştir",sportssmsConsent:"SMS bildirimlerini etkinleştir",sportsemailConsent:"E-postaları etkinleştir",sports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",sportspushConsent:"Anlık bildirimleri etkinleştir",sportsmarketingConsent:"Pazarlama materyallerini etkinleştir",sportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",bingosmsConsent:"SMS bildirimlerini etkinleştir",bingoemailConsent:"E-postaları etkinleştir",bingo3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",bingopushConsent:"Anlık bildirimleri etkinleştir",bingomarketingConsent:"Pazarlama materyallerini etkinleştir",bingophonecallConsent:"Telefon arama bildirimlerini etkinleştir",virtualsportssmsConsent:"SMS bildirimlerini etkinleştir",virtualsportsemailConsent:"E-postaları etkinleştir",virtualsports3rdpartyConsent:"Telefon araması bildirimlerini etkinleştir",virtualsportspushConsent:"Anlık bildirimleri etkinleştir",virtualsportsmarketingConsent:"Pazarlama materyallerini etkinleştir",virtualsportsphonecallConsent:"Telefon arama bildirimlerini etkinleştir",consentCategoryHeaderCasino:"Kumarhane Promosyonları",consentCategoryHeaderSports:"Spor Promosyonları",consentCategoryHeaderBingo:"Bingo Promosyonları",consentCategoryHeaderVirtualSports:"Sanal Sporlar Promosyonları",consentCategoryHeaderMarketing:"Pazarlama Promosyonları",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",locationDetailsDescription:"Kişisel bilgilerinizi güncellemek istiyorsanız, hesabınızı güncellemeden önce bu değişikliklerin kanıtını isteyebilecek Müşteri Hizmetleri ile iletişime geçin."},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",userPrefixError:"Se requiere el valor del prefijo",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:",userAddress2:"Dirección 2:",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",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta."},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.",userPrefixError:"O valor do prefixo é obrigatório",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:",userAddress2:"Endereço 2:",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",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta."},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.",userPrefixError:"Vrijednost prefiksa je potrebna",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:",userAddress2:"Adresa 2:",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",casinosmsConsent:"Omogući SMS obavijesti",casinoemailConsent:"Omogući e-poštu",casino3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",casinopushConsent:"Omogući push obavijesti",casinomarketingConsent:"Omogući marketinške materijale",casinophonecallConsent:"Omogući obavijesti putem telefonskog poziva",sportssmsConsent:"Omogući SMS obavijesti",sportsemailConsent:"Omogući e-poštu",sports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",sportspushConsent:"Omogući push obavijesti",sportsmarketingConsent:"Omogući marketinške materijale",sportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",bingosmsConsent:"Omogući SMS obavijesti",bingoemailConsent:"Omogući e-poštu",bingo3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",bingopushConsent:"Omogući push obavijesti",bingomarketingConsent:"Omogući marketinške materijale",bingophonecallConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportssmsConsent:"Omogući SMS obavijesti",virtualsportsemailConsent:"Omogući e-poštu",virtualsports3rdpartyConsent:"Omogući obavijesti putem telefonskog poziva",virtualsportspushConsent:"Omogući push obavijesti",virtualsportsmarketingConsent:"Omogući marketinške materijale",virtualsportsphonecallConsent:"Omogući obavijesti putem telefonskog poziva",consentCategoryHeaderCasino:"Promocije kasina",consentCategoryHeaderSports:"Sportske promocije",consentCategoryHeaderBingo:"Bingo promocije",consentCategoryHeaderVirtualSports:"Promocije virtualnih sportova",consentCategoryHeaderMarketing:"Marketinške promocije",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila",locationDetailsDescription:"Ako želite ažurirati bilo koje svoje osobne podatke, obratite se Službi za korisnike koja može zatražiti dokaz o tim promjenama prije ažuriranja vašeg računa."},"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",userPrefixError:"O valor do prefixo é obrigatório",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:",userAddress2:"Endereço 2:",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",casinosmsConsent:"Ativar notificações por SMS",casinoemailConsent:"Ativar e-mails",casino3rdpartyConsent:"Ativar notificações por chamada telefônica",casinopushConsent:"Ativar notificações push",casinomarketingConsent:"Ativar materiais de marketing",casinophonecallConsent:"Ativar notificações por chamada telefónica",sportssmsConsent:"Ativar notificações por SMS",sportsemailConsent:"Ativar e-mails",sports3rdpartyConsent:"Ativar notificações por chamada telefônica",sportspushConsent:"Ativar notificações push",sportsmarketingConsent:"Ativar materiais de marketing",sportsphonecallConsent:"Ativar notificações por chamada telefónica",bingosmsConsent:"Ativar notificações por SMS",bingoemailConsent:"Ativar e-mails",bingo3rdpartyConsent:"Ativar notificações por chamada telefônica",bingopushConsent:"Ativar notificações push",bingomarketingConsent:"Ativar materiais de marketing",bingophonecallConsent:"Ativar notificações por chamada telefónica",virtualsportssmsConsent:"Ativar notificações por SMS",virtualsportsemailConsent:"Ativar e-mails",virtualsports3rdpartyConsent:"Ativar notificações por chamada telefônica",virtualsportspushConsent:"Ativar notificações push",virtualsportsmarketingConsent:"Ativar materiais de marketing",virtualsportsphonecallConsent:"Ativar notificações por chamada telefónica",consentCategoryHeaderCasino:"Promoções de cassino",consentCategoryHeaderSports:"Promoções esportivas",consentCategoryHeaderBingo:"Promoções de bingo",consentCategoryHeaderVirtualSports:"Promoções de esportes virtuais",consentCategoryHeaderMarketing:"Promoções de marketing",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil",locationDetailsDescription:"Se desejar atualizar qualquer um dos seus dados pessoais, entre em contato com o Serviço de Atendimento ao Cliente, que poderá solicitar uma prova dessas alterações antes de atualizar sua conta."},"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",userPrefixError:"Se requiere el valor del prefijo",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:",userAddress2:"Dirección 2:",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",casinosmsConsent:"Habilitar notificaciones por SMS",casinoemailConsent:"Habilitar correos electrónicos",casino3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",casinopushConsent:"Activar notificaciones push",casinomarketingConsent:"Activar materiales de marketing",casinophonecallConsent:"Activar notificaciones por llamada telefónica",sportssmsConsent:"Habilitar notificaciones por SMS",sportsemailConsent:"Habilitar correos electrónicos",sports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",sportspushConsent:"Activar notificaciones push",sportsmarketingConsent:"Activar materiales de marketing",sportsphonecallConsent:"Activar notificaciones por llamada telefónica",bingosmsConsent:"Habilitar notificaciones por SMS",bingoemailConsent:"Habilitar correos electrónicos",bingo3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",bingopushConsent:"Activar notificaciones push",bingomarketingConsent:"Activar materiales de marketing",bingophonecallConsent:"Activar notificaciones por llamada telefónica",virtualsportssmsConsent:"Habilitar notificaciones por SMS",virtualsportsemailConsent:"Habilitar correos electrónicos",virtualsports3rdpartyConsent:"Habilitar notificaciones por llamada telefónica",virtualsportspushConsent:"Activar notificaciones push",virtualsportsmarketingConsent:"Activar materiales de marketing",virtualsportsphonecallConsent:"Activar notificaciones por llamada telefónica",consentCategoryHeaderCasino:"Promociones de casino",consentCategoryHeaderSports:"Promociones deportivas",consentCategoryHeaderBingo:"Promociones de bingo",consentCategoryHeaderVirtualSports:"Promociones de deportes virtuales",consentCategoryHeaderMarketing:"Promociones de marketing",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil",locationDetailsDescription:"Si desea actualizar alguno de sus datos personales, póngase en contacto con el Servicio de Atención al Cliente, que puede solicitar una prueba de estos cambios antes de actualizar su cuenta."}};function yu(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function gu(e,t){const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function Cu(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function Ke(e){return typeof e=="function"}function Xa(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 ki=Xa(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
|
+
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Fi(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var oi=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=Ii(a),c=l.next();!c.done;c=l.next()){var p=c.value;p.remove(this)}}catch(P){t={error:P}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Ke(f))try{f()}catch(P){o=P instanceof ki?P.errors:[P]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var v=Ii(d),_=v.next();!_.done;_=v.next()){var C=_.value;try{Go(C)}catch(P){o=o!=null?o:[],P instanceof ki?o=$t($t([],Oi(o)),Oi(P.errors)):o.push(P)}}}catch(P){n={error:P}}finally{try{_&&!_.done&&(i=v.return)&&i.call(v)}finally{if(n)throw n.error}}}if(o)throw new ki(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Go(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)&&Fi(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Fi(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),qa=oi.EMPTY;function Za(e){return e instanceof oi||e&&"closed"in e&&Ke(e.remove)&&Ke(e.add)&&Ke(e.unsubscribe)}function Go(e){Ke(e)?e():e.unsubscribe()}var Ja={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},_u={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,$t([e,t],Oi(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Su(e){_u.setTimeout(function(){throw e})}function $o(){}function Jn(e){e()}var Ya=function(e){et(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Za(r)&&r.add(n)):n.destination=wu,n}return t.create=function(r,n,i){return new zi(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}(oi),Eu=Function.prototype.bind;function xi(e,t){return Eu.call(e,t)}var Pu=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){Wn(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Wn(n)}else Wn(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Wn(r)}},e}(),zi=function(e){et(t,e);function t(r,n,i){var o=e.call(this)||this,a;if(Ke(r)||!r)a={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var l;o&&Ja.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return o.unsubscribe()},a={next:r.next&&xi(r.next,l),error:r.error&&xi(r.error,l),complete:r.complete&&xi(r.complete,l)}):a=r}return o.destination=new Pu(a),o}return t}(Ya);function Wn(e){Su(e)}function Au(e){throw e}var wu={closed:!0,next:$o,error:Au,complete:$o},ku=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function xu(e){return e}function Bu(e){return e.length===0?xu:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var Vo=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=Iu(t)?t:new zi(t,r,n);return Jn(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=Qo(r),new r(function(i,o){var a=new zi({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[ku]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Bu(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=Qo(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 Qo(e){var t;return(t=e!=null?e:Ja.Promise)!==null&&t!==void 0?t:Promise}function Hu(e){return e&&Ke(e.next)&&Ke(e.error)&&Ke(e.complete)}function Iu(e){return e&&e instanceof Ya||Hu(e)&&Za(e)}var Ou=Xa(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ka=function(e){et(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 Wo(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ou},t.prototype.next=function(r){var n=this;Jn(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var a=Ii(n.currentObservers),l=a.next();!l.done;l=a.next()){var c=l.value;c.next(r)}}catch(p){i={error:p}}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;Jn(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;Jn(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?qa:(this.currentObservers=null,l.push(r),new oi(function(){n.currentObservers=null,Fi(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 Vo;return r.source=this,r},t.create=function(r,n){return new Wo(r,n)},t}(Vo),Wo=function(e){et(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:qa},t}(Ka),es={now:function(){return(es.delegate||Date).now()},delegate:void 0},Tu=function(e){et(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=es);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(),p=0,f=1;f<o.length&&o[f]<=c;f+=2)p=f;p&&o.splice(0,p+1)}},t}(Ka);const Xo=[],qo={},Mu=(e,t=0)=>{if(Xo.indexOf(e)==-1){const r=new Tu(t);qo[e]=r,Xo.push(e)}return qo[e]};window.emWidgets={topic:Mu};const Nu=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Du(e){us(e,"svelte-1vp20x9",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}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:10px}.PlayerInfoWrapper .PlayerFadeInWarapper{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.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:var(--emw--border-radius-medium, 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,.PlayerInfoBox.InvalidPrefix select{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:var(--emw--border-radius-medium, 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}.LocationDetailsDescription{grid-column:span 2}.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}.PlayerNotificationBox.Parent span{font-weight:var(--emw--font-weight-bold, 700)}.PlayerNotificationBox.Child{margin-left:20px}.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, 10px);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{display:flex;gap:50px;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)}.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}.skeletonContainer{max-width:unset;container-type:inline-size}.skeletonContainer .skeletonWrapper{background:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));padding:50px;height:100%;border-radius:10px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.skeletonContainer .skeletonWrapper .skeletonHeaderText{width:200px;margin:25px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{width:150px;margin:16px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{display:grid;grid-column-gap:50px;grid-row-gap:23px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:25px;margin-top:15px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer{display:flex;flex-direction:column}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skletonInputText{width:70px;margin:0px 0px 11px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer .skeletonInputContainer .skeletonInputField{border-radius:var(--emw--border-radius-medium, 10px);overflow:hidden}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer{display:flex;flex-direction:column;justify-content:flex-start;padding-bottom:30px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputCircle{margin:5px}.skeletonContainer .skeletonWrapper .skeletonConsentsContainer .skeletonInputContainer .skletonInputText{width:150px}.skeletonContainer .skeletonWrapper .skeletonButton{width:400px;border-radius:var(--emw--button-border-radius, 10px);overflow:hidden;margin-top:10px}@container (max-width: 768px){.skeletonContainer .skeletonWrapper{padding:20px 15px;width:auto;max-width:unset;border-radius:0px}.skeletonContainer .skeletonWrapper .skeletonHeaderText{margin:10px 0px}.skeletonContainer .skeletonWrapper .skeletonSectionText{margin-top:31px}.skeletonContainer .skeletonWrapper .skeletonSectionContainer{grid-template-columns:1fr;margin-top:13px;grid-row-gap:18px}.skeletonContainer .skeletonWrapper .skeletonButton{width:100%}}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`)}function Zo(e,t,r){const n=e.slice();return n[82]=t[r],n[83]=t,n[84]=r,n}function Jo(e,t,r){const n=e.slice();return n[85]=t[r],n[86]=t,n[87]=r,n}function Yo(e,t,r){const n=e.slice();return n[88]=t[r],n}function Lu(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function Ru(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function ju(e,t,r){const n=e.slice();return n[91]=t[r],n[93]=r,n}function Uu(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputText"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function Fu(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <div class="skeletonInputField"><ui-skeleton structure="text" width="auto" height="35px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function zu(e){let t;return{c(){t=h("div"),t.innerHTML='<div class="skletonInputCircle"><ui-skeleton structure="circle" size="20px" height="10px"></ui-skeleton></div> <div class="skletonInputText"><ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton></div> ',u(t,"class","skeletonInputContainer")},m(r,n){M(r,t,n)},p:Ee,d(r){r&&T(t)}}}function Ko(e){let t,r,n,i,o=e[19]("titleProfileInfo")+"",a,l,c,p,f,d=e[19]("personalDetails")+"",v,_,C,P,A,L=e[19]("userName")+"",k,N,D,W,$,Pe,Be,V,Ae,b=e[19]("userPhone")+"",E,Ne,z,J,tt,De,ft,Q,We,Xe,pt,rt,Ue,nt,K,Fe,it=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"",vt,qe,He,Qr,Y,yt,gt,Wr,Ct,Xr,Ie,ot,_t=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"",at,Kt,ht,qr,q,St,Et,Zr,Pt,Jr,st,At,Ze=e[19]("userEmail")+"",er,Yr,we,wt,dt,kt,Kr,lt,xt,Bt=e[19]("dateOfBirth")+"",tr,en,y,g,I,j,ne,U,R,Je=e[19]("firstName")+"",ie,mt,Z,Ht,rr,tn,Wi,It,rn,nn=e[19]("lastName")+"",ai,Xi,Le,on,nr,an,qi,Ot,sn,ln=e[19]("userTitle")+"",si,Zi,Re,un,ir,cn,Ji,Tt,fn,pn=e[19]("currency")+"",li,Yi,je,hn,or,dn,Ki,eo,mn,ui,bn=e[19]("locationDetails")+"",ci,to,ee,Mt,vn,yn=e[19]("userCountry")+"",fi,ro,ke,gn,ar,Cn,_n,no,ze,Sn,En=e[19]("userCity")+"",pi,io,oe,Pn,An,oo,wn,ao,Ge,kn,xn=e[19]("userAddress")+"",hi,so,ae,Bn,Hn,lo,In,uo,$e,On,Tn=e[19]("userAddress2")+"",di,co,se,Mn,Nn,fo,Dn,po,Ve,Ln,Rn=e[19]("userPostalCode")+"",mi,ho,le,jn,Un,mo,Fn,bo,vo,bi=Object.keys(e[4].consents).length>0,vi,sr,Nt,zn=e[19]("userProfileSaveChanges")+"",yi,Gn,$n,yo,Vn,gi,go,ue=e[7]&&ea(e),Dt=Ye(e[3]),te=[];for(let Se=0;Se<Dt.length;Se+=1)te[Se]=ta(Yo(e,Dt,Se));let ce=!e[16]&&ra(e),fe=!e[17]&&na(e),pe=!e[14]&&ia(e),he=!e[15]&&oa(e),de=e[4].iban.value&&aa(e),me=!e[10]&&sa(e),be=!e[12]&&la(e),ve=!e[13]&&ua(e),ye=!e[11]&&ca(e),ge=e[1]==="true"&&fa(e),Ce=bi&&pa(e),_e=e[18]&&va(e);return{c(){var Se,m,Qe,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Sr,Er,Pr,Ar,wr,kr,xr,Br,Hr,Ir,Or,Tr,Mr,Nr,Dr,Lr,Rr;t=h("form"),r=h("div"),ue&&ue.c(),n=S(),i=h("h2"),a=w(o),c=S(),p=h("div"),f=h("h3"),v=w(d),_=S(),C=h("section"),P=h("div"),A=h("label"),k=w(L),N=S(),D=h("input"),Be=S(),V=h("div"),Ae=h("label"),E=w(b),Ne=S(),z=h("div"),J=h("select");for(let Lt=0;Lt<te.length;Lt+=1)te[Lt].c();ft=S(),Q=h("input"),pt=S(),ce&&ce.c(),rt=S(),fe&&fe.c(),nt=S(),K=h("div"),Fe=h("label"),vt=w(it),qe=w(":"),He=h("span"),He.textContent="*",Qr=S(),Y=h("input"),Wr=S(),pe&&pe.c(),Xr=S(),Ie=h("div"),ot=h("label"),at=w(_t),Kt=w(":"),ht=h("span"),ht.textContent="*",qr=S(),q=h("input"),Zr=S(),he&&he.c(),Jr=S(),st=h("div"),At=h("label"),er=w(Ze),Yr=S(),we=h("input"),Kr=S(),lt=h("div"),xt=h("label"),tr=w(Bt),en=S(),y=h("input"),ne=S(),U=h("div"),R=h("label"),ie=w(Je),mt=S(),Z=h("input"),Wi=S(),It=h("div"),rn=h("label"),ai=w(nn),Xi=S(),Le=h("input"),qi=S(),Ot=h("div"),sn=h("label"),si=w(ln),Zi=S(),Re=h("input"),Ji=S(),Tt=h("div"),fn=h("label"),li=w(pn),Yi=S(),je=h("input"),Ki=S(),de&&de.c(),eo=S(),mn=h("div"),ui=h("h3"),ci=w(bn),to=S(),ee=h("section"),Mt=h("div"),vn=h("label"),fi=w(yn),ro=S(),ke=h("input"),no=S(),ze=h("div"),Sn=h("label"),pi=w(En),io=S(),oe=h("input"),oo=S(),me&&me.c(),ao=S(),Ge=h("div"),kn=h("label"),hi=w(xn),so=S(),ae=h("input"),lo=S(),be&&be.c(),uo=S(),$e=h("div"),On=h("label"),di=w(Tn),co=S(),se=h("input"),fo=S(),ve&&ve.c(),po=S(),Ve=h("div"),Ln=h("label"),mi=w(Rn),ho=S(),le=h("input"),mo=S(),ye&&ye.c(),bo=S(),ge&&ge.c(),vo=S(),Ce&&Ce.c(),vi=S(),sr=h("section"),Nt=h("button"),yi=w(zn),yo=S(),_e&&_e.c(),u(i,"class",l="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":"")),u(p,"class","PlayerNotificationsHeader"),u(D,"type","text"),u(D,"class",W=`${(Se=e[4].username)!=null&&Se.readOnly?"FieldDisabled":""}`),D.value=$=(Qe=(m=e[4].username)==null?void 0:m.value)!=null?Qe:"",D.readOnly=Pe=(lr=e[4].username)==null?void 0:lr.readOnly,u(P,"class","PlayerInfoBox"),u(J,"class",tt=`${(ur=e[4].mobile)!=null&&ur.readOnly?"FieldDisabled":""}`),J.disabled=De=(cr=e[4].mobile)==null?void 0:cr.readOnly,e[4].mobile.prefix===void 0&&Yn(()=>e[40].call(J)),u(Q,"type","text"),u(Q,"class",We=`${(fr=e[4].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`),u(Q,"placeholder",e[20].mobile.number),Q.readOnly=Xe=(pr=e[4].mobile)==null?void 0:pr.readOnly,u(z,"class","PlayerPhoneNumber"),u(V,"class",Ue="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix")),u(He,"class","FormRequired"),u(Fe,"for","SecurityQuestion"),u(Y,"id","SecurityQuestion"),u(Y,"type","text"),u(Y,"class",yt=`${(hr=e[4].securityQuestion)!=null&&hr.readOnly?"FieldDisabled":""}`),u(Y,"placeholder",e[20].securityQuestion),Y.readOnly=gt=(dr=e[4].securityQuestion)==null?void 0:dr.readOnly,u(K,"class",Ct="PlayerInfoBox "+(e[14]?"":"InvalidField")),u(ht,"class","FormRequired"),u(ot,"for","SecurityAnswer"),u(q,"id","SecurityAnswer"),u(q,"type","text"),u(q,"class",St=`${(mr=e[4].securityAnswer)!=null&&mr.readOnly?"FieldDisabled":""}`),u(q,"placeholder",e[20].securityAnswer),q.readOnly=Et=(br=e[4].securityAnswer)==null?void 0:br.readOnly,u(Ie,"class",Pt="PlayerInfoBox "+(e[15]?"":"InvalidField")),u(At,"for","UserEmail"),u(we,"id","UserEmail"),u(we,"type","email"),u(we,"class",wt=`${(vr=e[4].email)!=null&&vr.readOnly?"FieldDisabled":""}`),we.value=dt=e[4].email.value,we.readOnly=kt=(yr=e[4].email)==null?void 0:yr.readOnly,u(st,"class","PlayerInfoBox"),u(xt,"for","DateOfBirth"),u(y,"id","DateOfBirth"),u(y,"type","text"),u(y,"class",g=`${(gr=e[4].birth)!=null&&gr.readOnly?"FieldDisabled":""}`),y.value=I=e[4].birth.value,y.readOnly=j=(Cr=e[4].birth)==null?void 0:Cr.readOnly,u(lt,"class","PlayerInfoBox"),u(R,"for","FirstName"),u(Z,"id","FirstName"),u(Z,"type","text"),u(Z,"class",Ht=`${(_r=e[4].firstname)!=null&&_r.readOnly?"FieldDisabled":""}`),Z.value=rr=e[4].firstname.value,Z.readOnly=tn=(Sr=e[4].firstname)==null?void 0:Sr.readOnly,u(U,"class","PlayerInfoBox"),u(rn,"for","LastName"),u(Le,"id","LastName"),u(Le,"type","text"),u(Le,"class",on=`${(Er=e[4].lastname)!=null&&Er.readOnly?"FieldDisabled":""}`),Le.value=nr=e[4].lastname.value,Le.readOnly=an=(Pr=e[4].lastname)==null?void 0:Pr.readOnly,u(It,"class","PlayerInfoBox"),u(sn,"for","UserTitle"),u(Re,"id","UserTitle"),u(Re,"type","text"),u(Re,"class",un=`${(Ar=e[4].title)!=null&&Ar.readOnly?"FieldDisabled":""}`),Re.value=ir=e[4].title.value,Re.readOnly=cn=(wr=e[4].title)==null?void 0:wr.readOnly,u(Ot,"class","PlayerInfoBox"),u(fn,"for","Currrency"),u(je,"id","Currency"),u(je,"type","text"),u(je,"class",hn=`${(kr=e[4].currency)!=null&&kr.readOnly?"FieldDisabled":""}`),je.value=or=e[4].currency.value,je.readOnly=dn=(xr=e[4].currency)==null?void 0:xr.readOnly,u(Tt,"class","PlayerInfoBox"),u(C,"class","PlayerDetailsContent"),u(mn,"class","PlayerLocationHeader"),u(vn,"for","UserCountry"),u(ke,"id","UserCountry"),u(ke,"type","text"),u(ke,"class",gn=`PlayerCountry ${(Br=e[4].country)!=null&&Br.readOnly?"FieldDisabled":""}`),ke.value=ar=e[4].country.countryName,u(ke,"placeholder",Cn=e[4].country.countryCode),ke.readOnly=_n=(Hr=e[4].country)==null?void 0:Hr.readOnly,u(Mt,"class","PlayerInfoBox"),u(Sn,"for","UserCity"),u(oe,"id","UserCity"),u(oe,"type","text"),u(oe,"class",Pn=`${(Ir=e[4].city)!=null&&Ir.readOnly?"FieldDisabled":""}`),u(oe,"placeholder",e[20].city),oe.readOnly=An=(Or=e[4].city)==null?void 0:Or.readOnly,u(ze,"class",wn="PlayerInfoBox "+(e[10]?"":"InvalidField")),u(kn,"for","UserAddress"),u(ae,"id","UserAddress"),u(ae,"type","text"),u(ae,"class",Bn=`${(Tr=e[4].address1)!=null&&Tr.readOnly?"FieldDisabled":""}`),u(ae,"placeholder",e[20].address1),ae.readOnly=Hn=(Mr=e[4].address1)==null?void 0:Mr.readOnly,u(Ge,"class",In="PlayerInfoBox "+(e[12]?"":"InvalidField")),u(On,"for","UserAddress"),u(se,"id","UserAddress2"),u(se,"type","text"),u(se,"class",Mn=`${(Nr=e[4].address2)!=null&&Nr.readOnly?"FieldDisabled":""}`),u(se,"placeholder",e[20].address2),se.readOnly=Nn=(Dr=e[4].address2)==null?void 0:Dr.readOnly,u($e,"class",Dn="PlayerInfoBox "+(e[13]?"":"InvalidField")),u(Ln,"for","UserPostalCode"),u(le,"id","UserPostalCode"),u(le,"type","text"),u(le,"class",jn=`${(Lr=e[4].postalCode)!=null&&Lr.readOnly?"FieldDisabled":""}`),u(le,"placeholder",e[20].postalCode),le.readOnly=Un=(Rr=e[4].postalCode)==null?void 0:Rr.readOnly,u(Ve,"class",Fn="PlayerInfoBox "+(e[11]?"":"InvalidField")),u(ee,"class","PlayerLocationContent"),u(Nt,"class",Gn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled")),u(sr,"class",$n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":"")),u(r,"class","PlayerFadeInWarapper"),u(t,"class",Vn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))},m(Se,m){M(Se,t,m),s(t,r),ue&&ue.m(r,null),s(r,n),s(r,i),s(i,a),s(r,c),s(r,p),s(p,f),s(f,v),s(r,_),s(r,C),s(C,P),s(P,A),s(A,k),s(P,N),s(P,D),s(C,Be),s(C,V),s(V,Ae),s(Ae,E),s(V,Ne),s(V,z),s(z,J);for(let Qe=0;Qe<te.length;Qe+=1)te[Qe]&&te[Qe].m(J,null);wo(J,e[4].mobile.prefix,!0),s(z,ft),s(z,Q),X(Q,e[4].mobile.number),s(V,pt),ce&&ce.m(V,null),s(V,rt),fe&&fe.m(V,null),s(C,nt),s(C,K),s(K,Fe),s(Fe,vt),s(Fe,qe),s(Fe,He),s(K,Qr),s(K,Y),X(Y,e[4].securityQuestion.value),s(K,Wr),pe&&pe.m(K,null),s(C,Xr),s(C,Ie),s(Ie,ot),s(ot,at),s(ot,Kt),s(ot,ht),s(Ie,qr),s(Ie,q),X(q,e[4].securityAnswer.value),s(Ie,Zr),he&&he.m(Ie,null),s(C,Jr),s(C,st),s(st,At),s(At,er),s(st,Yr),s(st,we),s(C,Kr),s(C,lt),s(lt,xt),s(xt,tr),s(lt,en),s(lt,y),s(C,ne),s(C,U),s(U,R),s(R,ie),s(U,mt),s(U,Z),s(C,Wi),s(C,It),s(It,rn),s(rn,ai),s(It,Xi),s(It,Le),s(C,qi),s(C,Ot),s(Ot,sn),s(sn,si),s(Ot,Zi),s(Ot,Re),s(C,Ji),s(C,Tt),s(Tt,fn),s(fn,li),s(Tt,Yi),s(Tt,je),s(C,Ki),de&&de.m(C,null),s(r,eo),s(r,mn),s(mn,ui),s(ui,ci),s(r,to),s(r,ee),s(ee,Mt),s(Mt,vn),s(vn,fi),s(Mt,ro),s(Mt,ke),s(ee,no),s(ee,ze),s(ze,Sn),s(Sn,pi),s(ze,io),s(ze,oe),X(oe,e[4].city.value),s(ze,oo),me&&me.m(ze,null),s(ee,ao),s(ee,Ge),s(Ge,kn),s(kn,hi),s(Ge,so),s(Ge,ae),X(ae,e[4].address1.value),s(Ge,lo),be&&be.m(Ge,null),s(ee,uo),s(ee,$e),s($e,On),s(On,di),s($e,co),s($e,se),X(se,e[4].address2.value),s($e,fo),ve&&ve.m($e,null),s(ee,po),s(ee,Ve),s(Ve,Ln),s(Ln,mi),s(Ve,ho),s(Ve,le),X(le,e[4].postalCode.value),s(Ve,mo),ye&&ye.m(Ve,null),s(ee,bo),ge&&ge.m(ee,null),s(r,vo),Ce&&Ce.m(r,null),s(r,vi),s(r,sr),s(sr,Nt),s(Nt,yi),s(r,yo),_e&&_e.m(r,null),gi||(go=[G(J,"change",e[40]),G(J,"change",e[22]("mobilePrefix")),G(Q,"input",e[41]),G(Q,"keyup",e[22]("mobileNumber")),G(Q,"input",function(){qt(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)}),G(Y,"input",e[42]),G(Y,"keyup",e[22]("securityQuestion")),G(q,"input",e[43]),G(q,"keyup",e[22]("securityAnswer")),G(oe,"input",e[44]),G(oe,"keyup",e[22]("city")),G(ae,"input",e[45]),G(ae,"keyup",e[22]("address")),G(se,"input",e[46]),G(se,"keyup",e[22]("address")),G(le,"input",e[47]),G(le,"keyup",e[22]("postalCode")),G(Nt,"click",e[23])],gi=!0)},p(Se,m){var Qe,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Sr,Er,Pr,Ar,wr,kr,xr,Br,Hr,Ir,Or,Tr,Mr,Nr,Dr,Lr,Rr,Lt,Co;if(e=Se,e[7]?ue?ue.p(e,m):(ue=ea(e),ue.c(),ue.m(r,n)):ue&&(ue.d(1),ue=null),m[0]&524288&&o!==(o=e[19]("titleProfileInfo")+"")&&x(a,o),m[0]&128&&l!==(l="MyAccountCategoryTitle "+(e[7]?"MyAccountCategoryTitleNone":""))&&u(i,"class",l),m[0]&524288&&d!==(d=e[19]("personalDetails")+"")&&x(v,d),m[0]&524288&&L!==(L=e[19]("userName")+"")&&x(k,L),m[0]&24&&W!==(W=`${(Qe=e[4].username)!=null&&Qe.readOnly?"FieldDisabled":""}`)&&u(D,"class",W),m[0]&24&&$!==($=(ur=(lr=e[4].username)==null?void 0:lr.value)!=null?ur:"")&&D.value!==$&&(D.value=$),m[0]&24&&Pe!==(Pe=(cr=e[4].username)==null?void 0:cr.readOnly)&&(D.readOnly=Pe),m[0]&524288&&b!==(b=e[19]("userPhone")+"")&&x(E,b),m[0]&24){Dt=Ye(e[3]);let Oe;for(Oe=0;Oe<Dt.length;Oe+=1){const _o=Yo(e,Dt,Oe);te[Oe]?te[Oe].p(_o,m):(te[Oe]=ta(_o),te[Oe].c(),te[Oe].m(J,null))}for(;Oe<te.length;Oe+=1)te[Oe].d(1);te.length=Dt.length}m[0]&24&&tt!==(tt=`${(fr=e[4].mobile)!=null&&fr.readOnly?"FieldDisabled":""}`)&&u(J,"class",tt),m[0]&24&&De!==(De=(pr=e[4].mobile)==null?void 0:pr.readOnly)&&(J.disabled=De),m[0]&24&&wo(J,e[4].mobile.prefix),m[0]&24&&We!==(We=`${(hr=e[4].mobile)!=null&&hr.readOnly?"FieldDisabled":""}`)&&u(Q,"class",We),m[0]&24&&Xe!==(Xe=(dr=e[4].mobile)==null?void 0:dr.readOnly)&&(Q.readOnly=Xe),m[0]&24&&Q.value!==e[4].mobile.number&&X(Q,e[4].mobile.number),e[16]?ce&&(ce.d(1),ce=null):ce?ce.p(e,m):(ce=ra(e),ce.c(),ce.m(V,rt)),e[17]?fe&&(fe.d(1),fe=null):fe?fe.p(e,m):(fe=na(e),fe.c(),fe.m(V,null)),m[0]&196608&&Ue!==(Ue="PlayerInfoBox "+(e[16]?"":"InvalidField")+" "+(e[17]?"":"InvalidPrefix"))&&u(V,"class",Ue),m[0]&524289&&it!==(it=(e[0]=="true"?e[19]("profileSecurityQuestion2"):e[19]("profileSecurityQuestion"))+"")&&x(vt,it),m[0]&24&&yt!==(yt=`${(mr=e[4].securityQuestion)!=null&&mr.readOnly?"FieldDisabled":""}`)&&u(Y,"class",yt),m[0]&24&>!==(gt=(br=e[4].securityQuestion)==null?void 0:br.readOnly)&&(Y.readOnly=gt),m[0]&24&&Y.value!==e[4].securityQuestion.value&&X(Y,e[4].securityQuestion.value),e[14]?pe&&(pe.d(1),pe=null):pe?pe.p(e,m):(pe=ia(e),pe.c(),pe.m(K,null)),m[0]&16384&&Ct!==(Ct="PlayerInfoBox "+(e[14]?"":"InvalidField"))&&u(K,"class",Ct),m[0]&524289&&_t!==(_t=(e[0]=="true"?e[19]("profileSecurityAnswer2"):e[19]("profileSecurityAnswer"))+"")&&x(at,_t),m[0]&24&&St!==(St=`${(vr=e[4].securityAnswer)!=null&&vr.readOnly?"FieldDisabled":""}`)&&u(q,"class",St),m[0]&24&&Et!==(Et=(yr=e[4].securityAnswer)==null?void 0:yr.readOnly)&&(q.readOnly=Et),m[0]&24&&q.value!==e[4].securityAnswer.value&&X(q,e[4].securityAnswer.value),e[15]?he&&(he.d(1),he=null):he?he.p(e,m):(he=oa(e),he.c(),he.m(Ie,null)),m[0]&32768&&Pt!==(Pt="PlayerInfoBox "+(e[15]?"":"InvalidField"))&&u(Ie,"class",Pt),m[0]&524288&&Ze!==(Ze=e[19]("userEmail")+"")&&x(er,Ze),m[0]&24&&wt!==(wt=`${(gr=e[4].email)!=null&&gr.readOnly?"FieldDisabled":""}`)&&u(we,"class",wt),m[0]&24&&dt!==(dt=e[4].email.value)&&we.value!==dt&&(we.value=dt),m[0]&24&&kt!==(kt=(Cr=e[4].email)==null?void 0:Cr.readOnly)&&(we.readOnly=kt),m[0]&524288&&Bt!==(Bt=e[19]("dateOfBirth")+"")&&x(tr,Bt),m[0]&24&&g!==(g=`${(_r=e[4].birth)!=null&&_r.readOnly?"FieldDisabled":""}`)&&u(y,"class",g),m[0]&24&&I!==(I=e[4].birth.value)&&y.value!==I&&(y.value=I),m[0]&24&&j!==(j=(Sr=e[4].birth)==null?void 0:Sr.readOnly)&&(y.readOnly=j),m[0]&524288&&Je!==(Je=e[19]("firstName")+"")&&x(ie,Je),m[0]&24&&Ht!==(Ht=`${(Er=e[4].firstname)!=null&&Er.readOnly?"FieldDisabled":""}`)&&u(Z,"class",Ht),m[0]&24&&rr!==(rr=e[4].firstname.value)&&Z.value!==rr&&(Z.value=rr),m[0]&24&&tn!==(tn=(Pr=e[4].firstname)==null?void 0:Pr.readOnly)&&(Z.readOnly=tn),m[0]&524288&&nn!==(nn=e[19]("lastName")+"")&&x(ai,nn),m[0]&24&&on!==(on=`${(Ar=e[4].lastname)!=null&&Ar.readOnly?"FieldDisabled":""}`)&&u(Le,"class",on),m[0]&24&&nr!==(nr=e[4].lastname.value)&&Le.value!==nr&&(Le.value=nr),m[0]&24&&an!==(an=(wr=e[4].lastname)==null?void 0:wr.readOnly)&&(Le.readOnly=an),m[0]&524288&&ln!==(ln=e[19]("userTitle")+"")&&x(si,ln),m[0]&24&&un!==(un=`${(kr=e[4].title)!=null&&kr.readOnly?"FieldDisabled":""}`)&&u(Re,"class",un),m[0]&24&&ir!==(ir=e[4].title.value)&&Re.value!==ir&&(Re.value=ir),m[0]&24&&cn!==(cn=(xr=e[4].title)==null?void 0:xr.readOnly)&&(Re.readOnly=cn),m[0]&524288&&pn!==(pn=e[19]("currency")+"")&&x(li,pn),m[0]&24&&hn!==(hn=`${(Br=e[4].currency)!=null&&Br.readOnly?"FieldDisabled":""}`)&&u(je,"class",hn),m[0]&24&&or!==(or=e[4].currency.value)&&je.value!==or&&(je.value=or),m[0]&24&&dn!==(dn=(Hr=e[4].currency)==null?void 0:Hr.readOnly)&&(je.readOnly=dn),e[4].iban.value?de?de.p(e,m):(de=aa(e),de.c(),de.m(C,null)):de&&(de.d(1),de=null),m[0]&524288&&bn!==(bn=e[19]("locationDetails")+"")&&x(ci,bn),m[0]&524288&&yn!==(yn=e[19]("userCountry")+"")&&x(fi,yn),m[0]&24&&gn!==(gn=`PlayerCountry ${(Ir=e[4].country)!=null&&Ir.readOnly?"FieldDisabled":""}`)&&u(ke,"class",gn),m[0]&24&&ar!==(ar=e[4].country.countryName)&&ke.value!==ar&&(ke.value=ar),m[0]&24&&Cn!==(Cn=e[4].country.countryCode)&&u(ke,"placeholder",Cn),m[0]&24&&_n!==(_n=(Or=e[4].country)==null?void 0:Or.readOnly)&&(ke.readOnly=_n),m[0]&524288&&En!==(En=e[19]("userCity")+"")&&x(pi,En),m[0]&24&&Pn!==(Pn=`${(Tr=e[4].city)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&u(oe,"class",Pn),m[0]&24&&An!==(An=(Mr=e[4].city)==null?void 0:Mr.readOnly)&&(oe.readOnly=An),m[0]&24&&oe.value!==e[4].city.value&&X(oe,e[4].city.value),e[10]?me&&(me.d(1),me=null):me?me.p(e,m):(me=sa(e),me.c(),me.m(ze,null)),m[0]&1024&&wn!==(wn="PlayerInfoBox "+(e[10]?"":"InvalidField"))&&u(ze,"class",wn),m[0]&524288&&xn!==(xn=e[19]("userAddress")+"")&&x(hi,xn),m[0]&24&&Bn!==(Bn=`${(Nr=e[4].address1)!=null&&Nr.readOnly?"FieldDisabled":""}`)&&u(ae,"class",Bn),m[0]&24&&Hn!==(Hn=(Dr=e[4].address1)==null?void 0:Dr.readOnly)&&(ae.readOnly=Hn),m[0]&24&&ae.value!==e[4].address1.value&&X(ae,e[4].address1.value),e[12]?be&&(be.d(1),be=null):be?be.p(e,m):(be=la(e),be.c(),be.m(Ge,null)),m[0]&4096&&In!==(In="PlayerInfoBox "+(e[12]?"":"InvalidField"))&&u(Ge,"class",In),m[0]&524288&&Tn!==(Tn=e[19]("userAddress2")+"")&&x(di,Tn),m[0]&24&&Mn!==(Mn=`${(Lr=e[4].address2)!=null&&Lr.readOnly?"FieldDisabled":""}`)&&u(se,"class",Mn),m[0]&24&&Nn!==(Nn=(Rr=e[4].address2)==null?void 0:Rr.readOnly)&&(se.readOnly=Nn),m[0]&24&&se.value!==e[4].address2.value&&X(se,e[4].address2.value),e[13]?ve&&(ve.d(1),ve=null):ve?ve.p(e,m):(ve=ua(e),ve.c(),ve.m($e,null)),m[0]&8192&&Dn!==(Dn="PlayerInfoBox "+(e[13]?"":"InvalidField"))&&u($e,"class",Dn),m[0]&524288&&Rn!==(Rn=e[19]("userPostalCode")+"")&&x(mi,Rn),m[0]&24&&jn!==(jn=`${(Lt=e[4].postalCode)!=null&&Lt.readOnly?"FieldDisabled":""}`)&&u(le,"class",jn),m[0]&24&&Un!==(Un=(Co=e[4].postalCode)==null?void 0:Co.readOnly)&&(le.readOnly=Un),m[0]&24&&le.value!==e[4].postalCode.value&&X(le,e[4].postalCode.value),e[11]?ye&&(ye.d(1),ye=null):ye?ye.p(e,m):(ye=ca(e),ye.c(),ye.m(Ve,null)),m[0]&2048&&Fn!==(Fn="PlayerInfoBox "+(e[11]?"":"InvalidField"))&&u(Ve,"class",Fn),e[1]==="true"?ge?ge.p(e,m):(ge=fa(e),ge.c(),ge.m(ee,null)):ge&&(ge.d(1),ge=null),m[0]&16&&(bi=Object.keys(e[4].consents).length>0),bi?Ce?Ce.p(e,m):(Ce=pa(e),Ce.c(),Ce.m(r,vi)):Ce&&(Ce.d(1),Ce=null),m[0]&524288&&zn!==(zn=e[19]("userProfileSaveChanges")+"")&&x(yi,zn),m[0]&768&&Gn!==(Gn="PlayerDetailsSaveButton "+(e[8]&&e[9]?"":"PlayerButtonDisabled"))&&u(Nt,"class",Gn),m[0]&128&&$n!==($n="PlayerDetailsButtonsArea "+(e[7]?"PlayerDetailsButtonsAreaMobile":""))&&u(sr,"class",$n),e[18]?_e?_e.p(e,m):(_e=va(e),_e.c(),_e.m(r,null)):_e&&(_e.d(1),_e=null),m[0]&128&&Vn!==(Vn="PlayerInfoWrapper "+(e[7]?"PlayerInfoWrapperMobile":""))&&u(t,"class",Vn)},d(Se){Se&&T(t),ue&&ue.d(),zt(te,Se),ce&&ce.d(),fe&&fe.d(),pe&&pe.d(),he&&he.d(),de&&de.d(),me&&me.d(),be&&be.d(),ve&&ve.d(),ye&&ye.d(),ge&&ge.d(),Ce&&Ce.d(),_e&&_e.d(),gi=!1,ct(go)}}}function ea(e){let t,r,n,i,o,a,l,c,p,f,d=e[19]("titleProfileInfo")+"",v,_,C;return{c(){t=h("div"),r=Rt("svg"),n=Rt("defs"),i=Rt("style"),o=w(`.aaa {
|
|
19
|
+
fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
|
|
20
|
+
}
|
|
21
|
+
`),a=Rt("g"),l=Rt("g"),c=Rt("path"),p=S(),f=h("h2"),v=w(d),u(c,"class","aaa"),u(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),u(c,"transform","translate(15 15) rotate(180)"),u(l,"transform","translate(20 158)"),u(a,"transform","translate(-20 -158)"),u(r,"xmlns","http://www.w3.org/2000/svg"),u(r,"width","15"),u(r,"height","15"),u(r,"viewBox","0 0 15 15"),u(f,"class","MyAccountCategoryTitleMobile"),u(t,"class","MenuReturnButton")},m(P,A){M(P,t,A),s(t,r),s(r,n),s(n,i),s(i,o),s(r,a),s(a,l),s(l,c),s(t,p),s(t,f),s(f,v),_||(C=[G(t,"click",e[24]),G(t,"keyup",null)],_=!0)},p(P,A){A[0]&524288&&d!==(d=P[19]("titleProfileInfo")+"")&&x(v,d)},d(P){P&&T(t),_=!1,ct(C)}}}function Gu(e){let t,r=e[88]+"",n,i;return{c(){t=h("option"),n=w(r),t.__value=i=e[88],X(t,t.__value)},m(o,a){M(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[88]+"")&&x(n,r),a[0]&8&&i!==(i=o[88])&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function $u(e){let t,r=e[88]+"",n,i;return{c(){t=h("option"),n=w(r),t.selected=!0,t.__value=i=e[88],X(t,t.__value)},m(o,a){M(o,t,a),s(t,n)},p(o,a){a[0]&8&&r!==(r=o[88]+"")&&x(n,r),a[0]&8&&i!==(i=o[88])&&(t.__value=i,X(t,t.__value))},d(o){o&&T(t)}}}function ta(e){let t;function r(o,a){return o[88]===o[4].mobile.prefix?$u:Gu}let n=r(e),i=n(e);return{c(){i.c(),t=Sa()},m(o,a){i.m(o,a),M(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&&T(t),i.d(o)}}}function ra(e){let t,r=e[19]("userPhoneError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPhoneError")+"")&&x(n,r)},d(i){i&&T(t)}}}function na(e){let t,r=e[19]("userPrefixError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPrefixError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ia(e){let t,r=(e[0]=="true"?e[19]("profileSecurityQuestionError2"):e[19]("profileSecurityQuestionError"))+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityQuestionError2"):i[19]("profileSecurityQuestionError"))+"")&&x(n,r)},d(i){i&&T(t)}}}function oa(e){let t,r=(e[0]=="true"?e[19]("profileSecurityAnswerError2"):e[19]("profileSecurityAnswerError"))+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524289&&r!==(r=(i[0]=="true"?i[19]("profileSecurityAnswerError2"):i[19]("profileSecurityAnswerError"))+"")&&x(n,r)},d(i){i&&T(t)}}}function aa(e){let t,r,n=e[19]("iban")+"",i,o,a,l,c,p;return{c(){var f,d;t=h("div"),r=h("label"),i=w(n),o=S(),a=h("input"),u(r,"for","Iban"),u(a,"id","Iban"),u(a,"type","text"),u(a,"class",l=`${(f=e[4].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=c=e[4].iban.value,a.readOnly=p=(d=e[4].iban)==null?void 0:d.readOnly,u(t,"class","PlayerInfoBox")},m(f,d){M(f,t,d),s(t,r),s(r,i),s(t,o),s(t,a)},p(f,d){var v,_;d[0]&524288&&n!==(n=f[19]("iban")+"")&&x(i,n),d[0]&24&&l!==(l=`${(v=f[4].iban)!=null&&v.readOnly?"FieldDisabled":""}`)&&u(a,"class",l),d[0]&24&&c!==(c=f[4].iban.value)&&a.value!==c&&(a.value=c),d[0]&24&&p!==(p=(_=f[4].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&T(t)}}}function sa(e){let t,r=e[19]("userCityError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userCityError")+"")&&x(n,r)},d(i){i&&T(t)}}}function la(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ua(e){let t,r=e[19]("userAddressError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userAddressError")+"")&&x(n,r)},d(i){i&&T(t)}}}function ca(e){let t,r=e[19]("userPostalCodeError")+"",n;return{c(){t=h("p"),n=w(r),u(t,"class","InvalidInput")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("userPostalCodeError")+"")&&x(n,r)},d(i){i&&T(t)}}}function fa(e){let t,r=e[19]("locationDetailsDescription")+"",n;return{c(){t=h("div"),n=w(r),u(t,"class","LocationDetailsDescription")},m(i,o){M(i,t,o),s(t,n)},p(i,o){o[0]&524288&&r!==(r=i[19]("locationDetailsDescription")+"")&&x(n,r)},d(i){i&&T(t)}}}function pa(e){var p;let t,r,n=e[19]("userNotifications")+"",i,o,a,l=Ye(Object.keys((p=e[4].consents)!=null?p:{})),c=[];for(let f=0;f<l.length;f+=1)c[f]=ba(Zo(e,l,f));return{c(){t=h("div"),r=h("h3"),i=w(n),o=S(),a=h("section");for(let f=0;f<c.length;f+=1)c[f].c();u(t,"class","PlayerNotificationsHeader"),u(a,"class","PlayerNotificationsCheckboxArea")},m(f,d){M(f,t,d),s(t,r),s(r,i),M(f,o,d),M(f,a,d);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(a,null)},p(f,d){var v;if(d[0]&524288&&n!==(n=f[19]("userNotifications")+"")&&x(i,n),d[0]&103284784){l=Ye(Object.keys((v=f[4].consents)!=null?v:{}));let _;for(_=0;_<l.length;_+=1){const C=Zo(f,l,_);c[_]?c[_].p(C,d):(c[_]=ba(C),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=l.length}},d(f){f&&(T(t),T(o),T(a)),zt(c,f)}}}function ha(e){let t,r=e[21].includes(e[82]),n,i,o=r&&da(e),a=Ye(e[4].consents[e[82]]),l=[];for(let c=0;c<a.length;c+=1)l[c]=ma(Jo(e,a,c));return{c(){t=h("div"),o&&o.c(),n=S();for(let c=0;c<l.length;c+=1)l[c].c();i=S(),u(t,"class","ConsentGroup")},m(c,p){M(c,t,p),o&&o.m(t,null),s(t,n);for(let f=0;f<l.length;f+=1)l[f]&&l[f].m(t,null);s(t,i)},p(c,p){if(p[0]&16&&(r=c[21].includes(c[82])),r?o?o.p(c,p):(o=da(c),o.c(),o.m(t,n)):o&&(o.d(1),o=null),p[0]&69730352){a=Ye(c[4].consents[c[82]]);let f;for(f=0;f<a.length;f+=1){const d=Jo(c,a,f);l[f]?l[f].p(d,p):(l[f]=ma(d),l[f].c(),l[f].m(t,i))}for(;f<l.length;f+=1)l[f].d(1);l.length=a.length}},d(c){c&&T(t),o&&o.d(),zt(l,c)}}}function da(e){let t,r,n,i,o=e[82],a,l,c,p,f=e[19](`consentCategoryHeader${e[82]}`)+"",d,v,_;const C=()=>e[48](n,o),P=()=>e[48](null,o);return{c(){t=h("div"),r=h("label"),n=h("input"),a=S(),l=h("span"),c=S(),p=h("span"),d=w(f),n.checked=i=e[4].consents[e[82]].every(ya),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class","PlayerNotificationBox Parent")},m(A,L){M(A,t,L),s(t,r),s(r,n),C(),s(r,a),s(r,l),s(r,c),s(r,p),s(p,d),v||(_=G(n,"change",function(){qt(e[25](e[82]))&&e[25](e[82]).apply(this,arguments)}),v=!0)},p(A,L){e=A,L[0]&24&&i!==(i=e[4].consents[e[82]].every(ya))&&(n.checked=i),o!==e[82]&&(P(),o=e[82],C()),L[0]&524304&&f!==(f=e[19](`consentCategoryHeader${e[82]}`)+"")&&x(d,f)},d(A){A&&T(t),P(),v=!1,_()}}}function ma(e){let t,r,n,i=e[82],o=e[85],a,l,c,p,f=e[19](`${e[85].tagCode}Consent`)+"",d,v,_,C;const P=()=>e[49](n,i,o),A=()=>e[49](null,i,o);function L(){e[50].call(n,e[86],e[87])}return{c(){t=h("div"),r=h("label"),n=h("input"),a=S(),l=h("span"),c=S(),p=h("span"),d=w(f),u(n,"type","checkbox"),u(l,"class","Checkmark"),u(t,"class",v="PlayerNotificationBox "+(e[21].includes(e[82])?"Child":""))},m(k,N){M(k,t,N),s(t,r),s(r,n),P(),n.checked=e[85].status,s(r,a),s(r,l),s(r,c),s(r,p),s(p,d),_||(C=[G(n,"change",L),G(n,"change",function(){qt(e[26](e[82]))&&e[26](e[82]).apply(this,arguments)})],_=!0)},p(k,N){e=k,(i!==e[82]||o!==e[85])&&(A(),i=e[82],o=e[85],P()),N[0]&24&&(n.checked=e[85].status),N[0]&524304&&f!==(f=e[19](`${e[85].tagCode}Consent`)+"")&&x(d,f),N[0]&24&&v!==(v="PlayerNotificationBox "+(e[21].includes(e[82])?"Child":""))&&u(t,"class",v)},d(k){k&&T(t),A(),_=!1,ct(C)}}}function ba(e){var n;let t,r=((n=e[4].consents[e[82]])==null?void 0:n.length)>0&&ha(e);return{c(){r&&r.c(),t=Sa()},m(i,o){r&&r.m(i,o),M(i,t,o)},p(i,o){var a;((a=i[4].consents[i[82]])==null?void 0:a.length)>0?r?r.p(i,o):(r=ha(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(i){i&&T(t),r&&r.d(i)}}}function va(e){let t,r,n=e[19]("userProfileConfirmationMessage")+"",i;return{c(){t=h("section"),r=h("p"),i=w(n),u(r,"class","PlayerDetailsConfirmSaveText"),u(t,"class","PlayerDetailsConfirmSave")},m(o,a){M(o,t,a),s(t,r),s(r,i)},p(o,a){a[0]&524288&&n!==(n=o[19]("userProfileConfirmationMessage")+"")&&x(i,n)},d(o){o&&T(t)}}}function Vu(e){let t,r,n,i,o,a,l,c,p,f,d,v,_,C,P,A,L,k,N,D,W=Ye({length:10}),$=[];for(let E=0;E<W.length;E+=1)$[E]=Uu(ju(e,W,E));let Pe=Ye({length:4}),Be=[];for(let E=0;E<Pe.length;E+=1)Be[E]=Fu(Ru(e,Pe,E));let V=Ye({length:4}),Ae=[];for(let E=0;E<V.length;E+=1)Ae[E]=zu(Lu(e,V,E));let b=!e[6]&&Ko(e);return{c(){t=h("div"),r=h("div"),n=h("div"),n.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',i=S(),o=h("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=S(),l=h("div");for(let E=0;E<$.length;E+=1)$[E].c();c=S(),p=h("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=S(),d=h("div");for(let E=0;E<Be.length;E+=1)Be[E].c();v=S(),_=h("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',C=S(),P=h("div");for(let E=0;E<Ae.length;E+=1)Ae[E].c();A=S(),L=h("div"),L.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',N=S(),D=h("div"),b&&b.c(),u(n,"class","skeletonHeaderText"),u(o,"class","skeletonSectionText"),u(l,"class","skeletonSectionContainer"),u(p,"class","skeletonSectionText"),u(d,"class","skeletonSectionContainer"),u(_,"class","skeletonSectionText"),u(P,"class","skeletonConsentsContainer"),u(L,"class","skeletonButton"),u(r,"class","skeletonWrapper"),u(t,"class",k="skeletonContainer "+(e[6]?"":"Hidden"))},m(E,Ne){M(E,t,Ne),s(t,r),s(r,n),s(r,i),s(r,o),s(r,a),s(r,l);for(let z=0;z<$.length;z+=1)$[z]&&$[z].m(l,null);s(r,c),s(r,p),s(r,f),s(r,d);for(let z=0;z<Be.length;z+=1)Be[z]&&Be[z].m(d,null);s(r,v),s(r,_),s(r,C),s(r,P);for(let z=0;z<Ae.length;z+=1)Ae[z]&&Ae[z].m(P,null);s(r,A),s(r,L),M(E,N,Ne),M(E,D,Ne),b&&b.m(D,null),e[51](D)},p(E,Ne){Ne[0]&64&&k!==(k="skeletonContainer "+(E[6]?"":"Hidden"))&&u(t,"class",k),E[6]?b&&(b.d(1),b=null):b?b.p(E,Ne):(b=Ko(E),b.c(),b.m(D,null))},i:Ee,o:Ee,d(E){E&&(T(t),T(N),T(D)),zt($,E),zt(Be,E),zt(Ae,E),b&&b.d(),e[51](null)}}}const ya=e=>e.status;function Qu(e,t,r){let n;ls(e,bu,y=>r(19,n=y));let{userid:i}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:l="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:d}=t,{custominputtextswitch:v="false"}=t,{showlocationdetailsdescription:_="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,P,A=[],L=[],k={},N=[],D=[],W=[],$,Pe,Be=window.navigator.userAgent,V="";const Ae={address1:"i.e.: Glanmire Rd.",address2:"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"},b={},E={},Ne=["Marketing","Casino","Sports","Bingo","VirtualSports"],z=["Casino","Sports","Bingo","VirtualSports"];let J=!0,tt=!1,De=!1,ft=!1,Q=!0,We=!0,Xe=!0,pt=!0,rt=!0,Ue=!0,nt=!0,K=!0,Fe=!0,it=!1;const vt={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/};window.matchMedia("(min-width: 768px)");const qe=y=>{try{return JSON.stringify(y)}catch(g){return null}},He=y=>Me(this,null,function*(){try{const g=new URL(`${a}${y}`),j={method:"GET",headers:new Headers({"X-SessionID":o})},ne=yield fetch(g.href,j);if(!ne.ok)throw new Error(`HTTP error! Status: ${ne.status}`);return yield ne.json()}catch(g){throw console.error("Fetch error:",g),g}});function Qr(){return Me(this,null,function*(){r(37,k=yield He(`/v1/player/${i}/profile`))})}function Y(){return Me(this,null,function*(){r(38,N=(yield He(`/v1/player/${i}/consent`)).items)})}function yt(){return Me(this,null,function*(){r(39,D=(yield He("/v1/player/consentRequirements")).items)})}function gt(){return Me(this,null,function*(){r(36,L=(yield He("/v1/player/countries")).countries)})}const Wr=()=>{Object.keys(k).forEach(g=>{var I,j,ne,U,R,Je;switch(r(4,b[g]={},b),g){case"birth":const ie=((I=k[g])==null?void 0:I.day)||"",mt=((j=k[g])==null?void 0:j.month)||"",Z=((ne=k[g])==null?void 0:ne.year)||"";r(4,b[g].value=`${ie}/${mt}/${Z}`,b);break;case"country":r(4,b[g].countryName=((U=L.find(Ht=>Ht.Alpha2Code===k.country))==null?void 0:U.Name)||"I.E. Ireland",b),r(4,b[g].countryCode=k.country||"",b);break;case"mobile":r(4,b[g].prefix=(R=k.mobile)==null?void 0:R.prefix,b),r(4,b[g].number=(Je=k.mobile)==null?void 0:Je.number,b);break;default:r(4,b[g].value=k[g],b)}r(4,b[g].readOnly=W.includes(g),b)}),r(4,b.consents={},b),D.forEach(g=>{if(Ne.includes(g.category)&&!g.mustAccept){const I=N.find(j=>j.tagCode===g.tagCode);r(4,b.consents[g.category]=b.consents[g.category]||[],b),I?b.consents[g.category].push({tagCode:I.tagCode,status:I.status==="Accepted"}):b.consents[g.category].push({tagCode:g.tagCode,status:!1})}});const y=b.consents;for(const[g,I]of Object.entries(y))E[g]||(r(5,E[g]={},E),r(5,E[g].parent=null,E),I.forEach(j=>r(5,E[g][j.tagCode]=null,E)));Pe=qe(b),$=qe(b.consents),r(6,J=!1)},Ct=y=>y.split(","),Xr=()=>{const y=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(y.href).then(g=>g.json()).then(g=>r(3,A=g.phoneCodes)).catch(g=>console.log("Failed to fetch phone codes:",g))},Ie=()=>{r(9,Q=!1),Ue&&nt&&We&&pt&&rt&&Xe&&K&&Fe&&r(9,Q=!0)},ot=()=>{r(8,De=qe(b)!==Pe)},_t=()=>{ft=qe(b.consents)!==$},at=y=>()=>{switch(y){case"mobilePrefix":r(17,Fe=!!b.mobile.prefix);break;case"mobileNumber":r(16,K=!1),b.mobile.number&&b.mobile.number.length>=5&&b.mobile.number.length<=12&&r(16,K=!0);break;case"city":r(10,We=!1),b.city.value&&b.city.value.length<=50&&r(10,We=!0);break;case"postalCode":r(11,Xe=!1),b.postalCode.value&&b.postalCode.value.length<=20&&r(11,Xe=!0);break;case"address":r(12,pt=!1),b.address1.value&&b.address1.value.length<=100&&r(12,pt=!0);break;case"address2":r(13,rt=!1),b.address2.value&&b.address2.value.length<=100&&r(13,rt=!0);break;case"securityQuestion":if(r(14,Ue=!1),b.securityQuestion.value)switch(v){case"true":vt.document.test(b.securityQuestion.value)&&b.securityQuestion.value.length<=50&&r(14,Ue=!0);break;case"false":b.securityQuestion.value&&b.securityQuestion.value.length<=120&&r(14,Ue=!0);break}break;case"securityAnswer":if(r(15,nt=!1),b.securityAnswer.value)switch(v){case"true":vt.document.test(b.securityAnswer.value)&&b.securityAnswer.value.length<=50&&r(15,nt=!0);break;case"false":b.securityAnswer.value&&b.securityAnswer.value.length<=120&&r(15,nt=!0);break}break;case"consents":_t();break}ot(),Ie()},Kt=()=>{r(18,it=!0),setTimeout(()=>{r(18,it=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:n("profileUpdateSuccess")}},window.location.href)},ht=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:V}},window.location.href)},qr=y=>Me(this,null,function*(){if(y.preventDefault(),De&&!ft&&Q){q().then(g=>Me(this,null,function*(){g?(r(37,k=yield He(`/v1/player/${i}/profile`)),r(8,De=!1),Kt()):ht()}));return}if(De&&ft&&Q){Promise.all([q(),Et()]).then(g=>Me(this,null,function*(){g[0]&&g[1]?(r(38,N=(yield He(`/v1/player/${i}/consent`)).items),r(37,k=yield He(`/v1/player/${i}/profile`)),r(8,De=!1),ft=!1,Kt()):ht()}));return}}),q=()=>Me(this,null,function*(){const y=new URL(`${a}/v1/player/${i}/profile`),g=new Headers;g.append("X-SessionID",o),g.append("Content-Type","application/json"),g.append("Accept","application/json");const I=Object.entries(b).reduce((U,[R,Je])=>{var mt;const ie=Je;if(!ie.readOnly)if(R==="mobile"||R==="phone")U[R]={prefix:ie.prefix,number:ie.number};else if(R==="consents")U[R]=ie;else if(R==="country")U[R]=ie.countryCode;else if(R==="birth"&&typeof ie.value=="string"){const Z=ie.value.split("/");U[R]={year:Z[2],month:Z[1],day:Z[0]}}else U[R]=(mt=ie.value)!=null?mt:null;return U},{}),j=qe(I);if(j===null)return!1;const ne={method:"POST",headers:g,body:j};try{const U=yield fetch(y.href,ne);if(U.status===200)return!0;const R=yield U.json();return St(R),!1}catch(U){return console.error(U),!1}}),St=y=>{var I;const g=(I=y.thirdPartyResponse)==null?void 0:I.message;g&&g.includes("Mandatory input parameter is missing: mobilePrefix")?(V=n("userPrefixError"),at("mobilePrefix")()):V=n("userProfileUpdateError")},Et=()=>Me(this,null,function*(){const y=[],g=b.consents;for(let R of Object.values(g).flat())y.push({tagCode:R.tagCode,status:R.status?"Accepted":"Denied"});const I=new URL(`${a}/v1/player/${i}/consent`),j=new Headers;j.append("X-SessionID",o),j.append("Content-Type","application/json"),j.append("Accept","application/json");const ne=qe({items:y});if(ne===null)return!1;const U={method:"POST",headers:j,body:ne};return yield fetch(I.href,U).then(R=>R.status==200,R=>(console.error(R),!1))}),Zr=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:tt},window.location.href)},Pt=()=>{vu(l)},Jr=()=>{fetch(d).then(g=>g.json()).then(g=>{Object.keys(g).forEach(I=>{Fo(I,g[I])})}).catch(g=>{console.log(g)})};Object.keys(zo).forEach(y=>{Fo(y,zo[y])});const st=y=>g=>{b.consents[y].forEach(I=>{I.status=g.target.checked,Object.values(E[y]).forEach(j=>{j&&(j.checked=I.status)})}),at("consents")()},At=y=>g=>{E[y].parent&&r(5,E[y].parent.checked=b.consents[y].every(I=>I.status),E),at("consents")()},Ze=y=>Array.isArray(y)?y.length>0:Object.keys(y).length>0;bs(()=>(Nu(Be)&&r(7,tt=!0),()=>{}));function er(){b.mobile.prefix=hs(this),r(4,b),r(3,A)}function Yr(){b.mobile.number=this.value,r(4,b),r(3,A)}function we(){b.securityQuestion.value=this.value,r(4,b),r(3,A)}function wt(){b.securityAnswer.value=this.value,r(4,b),r(3,A)}function dt(){b.city.value=this.value,r(4,b),r(3,A)}function kt(){b.address1.value=this.value,r(4,b),r(3,A)}function Kr(){b.address2.value=this.value,r(4,b),r(3,A)}function lt(){b.postalCode.value=this.value,r(4,b),r(3,A)}function xt(y,g){Fr[y?"unshift":"push"](()=>{E[g].parent=y,r(5,E)})}function Bt(y,g,I){Fr[y?"unshift":"push"](()=>{E[g][I.tagCode]=y,r(5,E)})}function tr(y,g){y[g].status=this.checked,r(4,b),r(3,A)}function en(y){Fr[y?"unshift":"push"](()=>{P=y,r(2,P)})}return e.$$set=y=>{"userid"in y&&r(27,i=y.userid),"sessionid"in y&&r(28,o=y.sessionid),"endpoint"in y&&r(29,a=y.endpoint),"lang"in y&&r(30,l=y.lang),"clientstyling"in y&&r(31,c=y.clientstyling),"clientstylingurl"in y&&r(32,p=y.clientstylingurl),"mbsource"in y&&r(33,f=y.mbsource),"translationurl"in y&&r(34,d=y.translationurl),"custominputtextswitch"in y&&r(0,v=y.custominputtextswitch),"showlocationdetailsdescription"in y&&r(1,_=y.showlocationdetailsdescription),"disabledfields"in y&&r(35,C=y.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&939524096&&a&&i&&o&&Qr()&&Y()&&yt(),e.$$.dirty[0]&536870912&&a&>()&&Xr(),e.$$.dirty[1]&480&&Ze(k)&&Ze(N)&&Ze(D)&&Ze(L)&&Wr(),e.$$.dirty[0]&1073741824&&l&&Pt(),e.$$.dirty[1]&16&&C&&(W=Ct(C)),e.$$.dirty[0]&4|e.$$.dirty[1]&1&&c&&P&&yu(P,c),e.$$.dirty[0]&4|e.$$.dirty[1]&2&&p&&P&&gu(P,p),e.$$.dirty[0]&4|e.$$.dirty[1]&4&&f&&P&&Cu(P,`${f}.Style`),e.$$.dirty[1]&8&&d&&Jr()},[v,_,P,A,b,E,J,tt,De,Q,We,Xe,pt,rt,Ue,nt,K,Fe,it,n,Ae,z,at,qr,Zr,st,At,i,o,a,l,c,p,f,d,C,L,k,N,D,er,Yr,we,wt,dt,kt,Kr,lt,xt,Bt,tr,en]}class ts extends xs{constructor(t){super(),ws(this,t,Qu,Vu,Ca,{userid:27,sessionid:28,endpoint:29,lang:30,clientstyling:31,clientstylingurl:32,mbsource:33,translationurl:34,custominputtextswitch:0,showlocationdetailsdescription:1,disabledfields:35},Du,[-1,-1,-1,-1])}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),xe()}get sessionid(){return this.$$.ctx[28]}set sessionid(t){this.$$set({sessionid:t}),xe()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),xe()}get lang(){return this.$$.ctx[30]}set lang(t){this.$$set({lang:t}),xe()}get clientstyling(){return this.$$.ctx[31]}set clientstyling(t){this.$$set({clientstyling:t}),xe()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),xe()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),xe()}get translationurl(){return this.$$.ctx[34]}set translationurl(t){this.$$set({translationurl:t}),xe()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),xe()}get showlocationdetailsdescription(){return this.$$.ctx[1]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),xe()}get disabledfields(){return this.$$.ctx[35]}set disabledfields(t){this.$$set({disabledfields:t}),xe()}}ks(ts,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=ts;
|