@everymatrix/player-profile-info 1.86.2 → 1.86.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,21 @@
1
+ "use strict";var ps=Object.defineProperty,hs=Object.defineProperties;var ds=Object.getOwnPropertyDescriptors;var To=Object.getOwnPropertySymbols;var ms=Object.prototype.hasOwnProperty,bs=Object.prototype.propertyIsEnumerable;var bn=(e,t,r)=>t in e?ps(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,No=(e,t)=>{for(var r in t||(t={}))ms.call(t,r)&&bn(e,r,t[r]);if(To)for(var r of To(t))bs.call(t,r)&&bn(e,r,t[r]);return e},Mo=(e,t)=>hs(e,ds(t));var Ie=(e,t,r)=>(bn(e,typeof t!="symbol"?t+"":t,r),r);var Te=(e,t,r)=>new Promise((i,n)=>{var o=c=>{try{u(r.next(c))}catch(p){n(p)}},a=c=>{try{u(r.throw(c))}catch(p){n(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../stencil/ui-skeleton-C7KTfaPd.cjs");function we(){}function Ba(e){return e()}function Do(){return Object.create(null)}function rt(e){e.forEach(Ba)}function Gt(e){return typeof e=="function"}function Ha(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function vs(e){return Object.keys(e).length===0}function Oa(e,...t){if(e==null){for(const i of t)i(void 0);return we}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function ys(e,t,r){e.$$.on_destroy.push(Oa(t,r))}function s(e,t){e.appendChild(t)}function gs(e,t,r){const i=Cs(e);if(!i.getElementById(t)){const n=d("style");n.id=t,n.textContent=r,_s(i,n)}}function Cs(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function _s(e,t){return s(e.head||e,t),t.sheet}function L(e,t,r){e.insertBefore(t,r||null)}function M(e){e.parentNode&&e.parentNode.removeChild(e)}function Dt(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function d(e){return document.createElement(e)}function It(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function k(e){return document.createTextNode(e)}function P(){return k(" ")}function Ia(){return k("")}function U(e,t,r,i){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r,i)}function l(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 B(e,t){t=""+t,e.data!==t&&(e.data=t)}function V(e,t){e.value=t==null?"":t}function Lo(e,t,r){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function Ss(e){const t=e.querySelector(":checked");return t&&t.__value}function Es(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Ur;function Dr(e){Ur=e}function ws(){if(!Ur)throw new Error("Function called outside component initialization");return Ur}function As(e){ws().$$.on_mount.push(e)}const Mt=[],Lr=[];let Lt=[];const Uo=[],ks=Promise.resolve();let wn=!1;function xs(){wn||(wn=!0,ks.then(Ee))}function $i(e){Lt.push(e)}const vn=new Set;let Tt=0;function Ee(){if(Tt!==0)return;const e=Ur;do{try{for(;Tt<Mt.length;){const t=Mt[Tt];Tt++,Dr(t),Bs(t.$$)}}catch(t){throw Mt.length=0,Tt=0,t}for(Dr(null),Mt.length=0,Tt=0;Lr.length;)Lr.pop()();for(let t=0;t<Lt.length;t+=1){const r=Lt[t];vn.has(r)||(vn.add(r),r())}Lt.length=0}while(Mt.length);for(;Uo.length;)Uo.pop()();wn=!1,vn.clear(),Dr(e)}function Bs(e){if(e.fragment!==null){e.update(),rt(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach($i)}}function Hs(e){const t=[],r=[];Lt.forEach(i=>e.indexOf(i)===-1?t.push(i):r.push(i)),r.forEach(i=>i()),Lt=t}const Os=new Set;function Is(e,t){e&&e.i&&(Os.delete(e),e.i(t))}function Qe(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ts(e,t,r){const{fragment:i,after_update:n}=e.$$;i&&i.m(t,r),$i(()=>{const o=e.$$.on_mount.map(Ba).filter(Gt);e.$$.on_destroy?e.$$.on_destroy.push(...o):rt(o),e.$$.on_mount=[]}),n.forEach($i)}function Ns(e,t){const r=e.$$;r.fragment!==null&&(Hs(r.after_update),rt(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Ms(e,t){e.$$.dirty[0]===-1&&(Mt.push(e),xs(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Ds(e,t,r,i,n,o,a=null,u=[-1]){const c=Ur;Dr(e);const p=e.$$={fragment:null,ctx:[],props:o,update:we,not_equal:n,bound:Do(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(c?c.$$.context:[])),callbacks:Do(),dirty:u,skip_bound:!1,root:t.target||c.$$.root};a&&a(p.root);let f=!1;if(p.ctx=r?r(e,t.props||{},(m,v,..._)=>{const E=_.length?_[0]:v;return p.ctx&&n(p.ctx[m],p.ctx[m]=E)&&(!p.skip_bound&&p.bound[m]&&p.bound[m](E),f&&Ms(e,m)),v}):[],p.update(),f=!0,rt(p.before_update),p.fragment=i?i(p.ctx):!1,t.target){if(t.hydrate){const m=Ps(t.target);p.fragment&&p.fragment.l(m),m.forEach(M)}else p.fragment&&p.fragment.c();t.intro&&Is(e.$$.fragment),Ts(e,t.target,t.anchor),Ee()}Dr(c)}let Ta;typeof HTMLElement=="function"&&(Ta=class extends HTMLElement{constructor(t,r,i){super();Ie(this,"$$ctor");Ie(this,"$$s");Ie(this,"$$c");Ie(this,"$$cn",!1);Ie(this,"$$d",{});Ie(this,"$$r",!1);Ie(this,"$$p_d",{});Ie(this,"$$l",{});Ie(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,i&&this.attachShadow({mode:"open"})}addEventListener(t,r,i){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const n=this.$$c.$on(t,r);this.$$l_u.set(r,n)}super.addEventListener(t,r,i)}removeEventListener(t,r,i){if(super.removeEventListener(t,r,i),this.$$c){const n=this.$$l_u.get(r);n&&(n(),this.$$l_u.delete(r))}}connectedCallback(){return Te(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let a;return{c:function(){a=d("slot"),o!=="default"&&l(a,"name",o)},m:function(p,f){L(p,a,f)},d:function(p){p&&M(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},i=Es(this);for(const o of this.$$s)o in i&&(r[o]=[t(o)]);for(const o of this.attributes){const a=this.$$g_p(o.name);a in this.$$d||(this.$$d[a]=zi(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:Mo(No({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const n=()=>{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=zi(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(n),n();for(const o in this.$$l)for(const a of this.$$l[o]){const u=this.$$c.$on(o,a);this.$$l_u.set(a,u)}this.$$l={}}})}attributeChangedCallback(t,r,i){var n;this.$$r||(t=this.$$g_p(t),this.$$d[t]=zi(t,i,this.$$p_d,"toProp"),(n=this.$$c)==null||n.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function zi(e,t,r,i){var o;const n=(o=r[e])==null?void 0:o.type;if(t=n==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!r[e])return t;if(i==="toAttribute")switch(n){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Ls(e,t,r,i,n,o){let a=class extends Ta{constructor(){super(e,r,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(u=>(t[u].attribute||u).toLowerCase())}};return Object.keys(t).forEach(u=>{Object.defineProperty(a.prototype,u,{get(){return this.$$c&&u in this.$$c?this.$$c[u]:this.$$d[u]},set(c){var p;c=zi(u,c,t),this.$$d[u]=c,(p=this.$$c)==null||p.$set({[u]:c})}})}),i.forEach(u=>{Object.defineProperty(a.prototype,u,{get(){var c;return(c=this.$$c)==null?void 0:c[u]}})}),e.element=a,a}class Us{constructor(){Ie(this,"$$");Ie(this,"$$set")}$destroy(){Ns(this,1),this.$destroy=we}$on(t,r){if(!Gt(r))return we;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(r),()=>{const n=i.indexOf(r);n!==-1&&i.splice(n,1)}}$set(t){this.$$set&&!vs(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Rs="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Rs);const Nt=[];function js(e,t){return{subscribe:qi(e,t).subscribe}}function qi(e,t=we){let r;const i=new Set;function n(u){if(Ha(e,u)&&(e=u,r)){const c=!Nt.length;for(const p of i)p[1](),Nt.push(p,e);if(c){for(let p=0;p<Nt.length;p+=2)Nt[p][0](Nt[p+1]);Nt.length=0}}}function o(u){n(u(e))}function a(u,c=we){const p=[u,c];return i.add(p),i.size===1&&(r=t(n,o)||we),u(e),()=>{i.delete(p),i.size===0&&r&&(r(),r=null)}}return{set:n,update:o,subscribe:a}}function Vt(e,t,r){const i=!Array.isArray(e),n=i?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return js(r,(a,u)=>{let c=!1;const p=[];let f=0,m=we;const v=()=>{if(f)return;m();const E=t(i?p[0]:p,a,u);o?a(E):m=Gt(E)?E:we},_=n.map((E,C)=>Oa(E,w=>{p[C]=w,f&=~(1<<C),c&&v()},()=>{f|=1<<C}));return c=!0,v(),function(){rt(_),m(),c=!1}})}function Fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zs=function(t){return Gs(t)&&!Vs(t)};function Gs(e){return!!e&&typeof e=="object"}function Vs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Qs(e)}var Ws=typeof Symbol=="function"&&Symbol.for,$s=Ws?Symbol.for("react.element"):60103;function Qs(e){return e.$$typeof===$s}function Xs(e){return Array.isArray(e)?[]:{}}function Rr(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Rt(Xs(e),e,t):e}function qs(e,t,r){return e.concat(t).map(function(i){return Rr(i,r)})}function Zs(e,t){if(!t.customMerge)return Rt;var r=t.customMerge(e);return typeof r=="function"?r:Rt}function Ys(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ro(e){return Object.keys(e).concat(Ys(e))}function Na(e,t){try{return t in e}catch(r){return!1}}function Js(e,t){return Na(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ks(e,t,r){var i={};return r.isMergeableObject(e)&&Ro(e).forEach(function(n){i[n]=Rr(e[n],r)}),Ro(t).forEach(function(n){Js(e,n)||(Na(e,n)&&r.isMergeableObject(t[n])?i[n]=Zs(n,r)(e[n],t[n],r):i[n]=Rr(t[n],r))}),i}function Rt(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||qs,r.isMergeableObject=r.isMergeableObject||zs,r.cloneUnlessOtherwiseSpecified=Rr;var i=Array.isArray(t),n=Array.isArray(e),o=i===n;return o?i?r.arrayMerge(e,t,r):Ks(e,t,r):Rr(t,r)}Rt.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Rt(i,n,r)},{})};var el=Rt,tl=el;const rl=Fs(tl);/*! *****************************************************************************
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 An=function(e,t){return An=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},An(e,t)};function qe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");An(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var T=function(){return T=Object.assign||function(t){for(var r,i=1,n=arguments.length;i<n;i++){r=arguments[i];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},T.apply(this,arguments)};function il(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}function kn(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],i=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function xn(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var i=r.call(e),n,o=[],a;try{for(;(t===void 0||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(u){a={error:u}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}function Ut(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,o;i<n;i++)(o||!(i in t))&&(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||t)}function yn(e,t){var r=t&&t.cache?t.cache:ul,i=t&&t.serializer?t.serializer:ll,n=t&&t.strategy?t.strategy:ol;return n(e,{cache:r,serializer:i})}function nl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ma(e,t,r,i){var n=nl(i)?i:r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.call(this,i),t.set(n,o)),o}function Da(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=t.get(n);return typeof o=="undefined"&&(o=e.apply(this,i),t.set(n,o)),o}function Rn(e,t,r,i,n){return r.bind(t,e,i,n)}function ol(e,t){var r=e.length===1?Ma:Da;return Rn(e,this,r,t.cache.create(),t.serializer)}function al(e,t){return Rn(e,this,Da,t.cache.create(),t.serializer)}function sl(e,t){return Rn(e,this,Ma,t.cache.create(),t.serializer)}var ll=function(){return JSON.stringify(arguments)};function jn(){this.cache=Object.create(null)}jn.prototype.get=function(e){return this.cache[e]};jn.prototype.set=function(e,t){this.cache[e]=t};var ul={create:function(){return new jn}},gn={variadic:al,monadic:sl},O;(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"})(O||(O={}));var W;(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"})(W||(W={}));var jt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(jt||(jt={}));function jo(e){return e.type===W.literal}function cl(e){return e.type===W.argument}function La(e){return e.type===W.number}function Ua(e){return e.type===W.date}function Ra(e){return e.type===W.time}function ja(e){return e.type===W.select}function Fa(e){return e.type===W.plural}function fl(e){return e.type===W.pound}function za(e){return e.type===W.tag}function Ga(e){return!!(e&&typeof e=="object"&&e.type===jt.number)}function Bn(e){return!!(e&&typeof e=="object"&&e.type===jt.dateTime)}var Va=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,pl=/(?:[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 hl(e){var t={};return e.replace(pl,function(r){var i=r.length;switch(r[0]){case"G":t.era=i===4?"long":i===5?"narrow":"short";break;case"y":t.year=i===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"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-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=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-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"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-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"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<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 dl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function ml(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(dl).filter(function(v){return v.length>0}),r=[],i=0,n=t;i<n.length;i++){var o=n[i],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var u=a[0],c=a.slice(1),p=0,f=c;p<f.length;p++){var m=f[p];if(m.length===0)throw new Error("Invalid number skeleton")}r.push({stem:u,options:c})}return r}function bl(e){return e.replace(/^(.*?)-/,"")}var Fo=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Wa=/^(@+)?(\+|#+)?[rs]?$/g,vl=/(\*)(0+)|(#+)(0+)|(0+)/g,$a=/^(0+)$/;function zo(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Wa,function(r,i,n){return typeof n!="string"?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):n==="+"?t.minimumSignificantDigits=i.length:i[0]==="#"?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+(typeof n=="string"?n.length:0)),""}),t}function Qa(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 yl(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)),!$a.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Go(e){var t={},r=Qa(e);return r||t}function gl(e){for(var t={},r=0,i=e;r<i.length;r++){var n=i[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=bl(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=T(T(T({},t),{notation:"scientific"}),n.options.reduce(function(c,p){return T(T({},c),Go(p))},{}));continue;case"engineering":t=T(T(T({},t),{notation:"engineering"}),n.options.reduce(function(c,p){return T(T({},c),Go(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(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(vl,function(c,p,f,m,v,_){if(p)t.minimumIntegerDigits=f.length;else{if(m&&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($a.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Fo.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Fo,function(c,p,f,m,v,_){return f==="*"?t.minimumFractionDigits=p.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:v&&_?(t.minimumFractionDigits=v.length,t.maximumFractionDigits=v.length+_.length):(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length),""});var o=n.options[0];o==="w"?t=T(T({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=T(T({},t),zo(o)));continue}if(Wa.test(n.stem)){t=T(T({},t),zo(n.stem));continue}var a=Qa(n.stem);a&&(t=T(T({},t),a));var u=yl(n.stem);u&&(t=T(T({},t),u))}return t}var ji={"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="",i=0;i<e.length;i++){var n=e.charAt(i);if(n==="j"){for(var o=0;i+1<e.length&&e.charAt(i+1)===n;)o++,i++;var a=1+(o&1),u=o<2?1:3+(o>>1),c="a",p=_l(t);for((p=="H"||p=="k")&&(u=0);u-- >0;)r+=c;for(;a-- >0;)r=p+r}else n==="J"?r+="H":r+=n}return r}function _l(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,i;r!=="root"&&(i=e.maximize().region);var n=ji[i||""]||ji[r||""]||ji["".concat(r,"-001")]||ji["001"];return n[0]}var Cn,Pl=new RegExp("^".concat(Va.source,"*")),Sl=new RegExp("".concat(Va.source,"*$"));function I(e,t){return{start:e,end:t}}var El=!!String.prototype.startsWith&&"_a".startsWith("a",1),wl=!!String.fromCodePoint,Al=!!Object.fromEntries,kl=!!String.prototype.codePointAt,xl=!!String.prototype.trimStart,Bl=!!String.prototype.trimEnd,Hl=!!Number.isSafeInteger,Ol=Hl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Hn=!0;try{var Il=qa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Hn=((Cn=Il.exec("a"))===null||Cn===void 0?void 0:Cn[0])==="a"}catch(e){Hn=!1}var Vo=El?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},On=wl?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var i="",n=t.length,o=0,a;n>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");i+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return i},Wo=Al?Object.fromEntries:function(t){for(var r={},i=0,n=t;i<n.length;i++){var o=n[i],a=o[0],u=o[1];r[a]=u}return r},Xa=kl?function(t,r){return t.codePointAt(r)}:function(t,r){var i=t.length;if(!(r<0||r>=i)){var n=t.charCodeAt(r),o;return n<55296||n>56319||r+1===i||(o=t.charCodeAt(r+1))<56320||o>57343?n:(n-55296<<10)+(o-56320)+65536}},Tl=xl?function(t){return t.trimStart()}:function(t){return t.replace(Pl,"")},Nl=Bl?function(t){return t.trimEnd()}:function(t){return t.replace(Sl,"")};function qa(e,t){return new RegExp(e,t)}var In;if(Hn){var $o=qa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");In=function(t,r){var i;$o.lastIndex=r;var n=$o.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}}else In=function(t,r){for(var i=[];;){var n=Xa(t,r);if(n===void 0||Za(n)||Ul(n))break;i.push(n),r+=n>=65536?2:1}return On.apply(void 0,i)};var Ml=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,i){for(var n=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,i);if(a.err)return a;n.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var u=this.clonePosition();this.bump(),n.push({type:W.pound,location:I(u,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(O.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Tn(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;n.push(a.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:W.literal,value:"<".concat(n,"/>"),location:I(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,u=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Tn(this.char()))return this.error(O.INVALID_TAG,I(u,this.clonePosition()));var c=this.clonePosition(),p=this.parseTagName();return n!==p?this.error(O.UNMATCHED_CLOSING_TAG,I(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:W.tag,value:n,children:a,location:I(i,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,I(u,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,I(i,this.clonePosition()))}else return this.error(O.INVALID_TAG,I(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ll(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var o=this.tryParseQuote(r);if(o){n+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){n+=a;continue}var u=this.tryParseLeftAngleBracket();if(u){n+=u;continue}break}var c=I(i,this.clonePosition());return{val:{type:W.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Dl(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 i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return On.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),On(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,I(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(O.MALFORMED_ARGUMENT,I(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:W.argument,value:n,location:I(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(O.MALFORMED_ARGUMENT,I(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=In(this.message,r),n=r+i.length;this.bumpTo(n);var o=this.clonePosition(),a=I(t,o);return{value:i,location:a}},e.prototype.parseArgumentOptions=function(t,r,i,n){var o,a=this.clonePosition(),u=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(u){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,I(a,c));case"number":case"date":case"time":{this.bumpSpace();var p=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var v=Nl(m.val);if(v.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var _=I(f,this.clonePosition());p={style:v,styleLocation:_}}var E=this.tryParseArgumentClose(n);if(E.err)return E;var C=I(n,this.clonePosition());if(p&&Vo(p==null?void 0:p.style,"::",0)){var w=Tl(p.style.slice(2));if(u==="number"){var m=this.parseNumberSkeletonFromString(w,p.styleLocation);return m.err?m:{val:{type:W.number,value:i,location:C,style:m.val},err:null}}else{if(w.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,C);var x=w;this.locale&&(x=Cl(w,this.locale));var v={type:jt.dateTime,pattern:x,location:p.styleLocation,parsedOptions:this.shouldParseSkeletons?hl(x):{}},N=u==="date"?W.date:W.time;return{val:{type:N,value:i,location:C,style:v},err:null}}}return{val:{type:u==="number"?W.number:u==="date"?W.date:W.time,value:i,location:C,style:(o=p==null?void 0:p.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,I(S,T({},S)));this.bumpSpace();var R=this.parseIdentifierIfPossible(),F=0;if(u!=="select"&&R.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),R=this.parseIdentifierIfPossible(),F=m.val}var $=this.tryParsePluralOrSelectOptions(t,u,r,R);if($.err)return $;var E=this.tryParseArgumentClose(n);if(E.err)return E;var ae=I(n,this.clonePosition());return u==="select"?{val:{type:W.select,value:i,options:Wo($.val),location:ae},err:null}:{val:{type:W.plural,value:i,options:Wo($.val),offset:F,pluralType:u==="plural"?"cardinal":"ordinal",location:ae},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,I(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(n,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var i=[];try{i=ml(t)}catch(n){return this.error(O.INVALID_NUMBER_SKELETON,r)}return{val:{type:jt.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?gl(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var o,a=!1,u=[],c=new Set,p=n.value,f=n.location;;){if(p.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var v=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(v.err)return v;f=I(m,this.clonePosition()),p=this.message.slice(m.offset,this.offset())}else break}if(c.has(p))return this.error(r==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);p==="other"&&(a=!0),this.bumpSpace();var _=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,r,i);if(E.err)return E;var C=this.tryParseArgumentClose(_);if(C.err)return C;u.push([p,{value:E.val,location:I(_,this.clonePosition())}]),c.add(p),this.bumpSpace(),o=this.parseIdentifierIfPossible(),p=o.value,f=o.location}return u.length===0?this.error(r==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(O.MISSING_OTHER_CLAUSE,I(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,a=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)o=!0,a=a*10+(u-48),this.bump();else break}var c=I(n,this.clonePosition());return o?(a*=i,Ol(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=Xa(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(Vo(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(),i=this.message.indexOf(t,r);return i>=0?(this.bumpTo(i),!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()&&Za(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i!=null?i:null},e}();function Tn(e){return e>=97&&e<=122||e>=65&&e<=90}function Dl(e){return Tn(e)||e===47}function Ll(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 Za(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ul(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 Nn(e){e.forEach(function(t){if(delete t.location,ja(t)||Fa(t))for(var r in t.options)delete t.options[r].location,Nn(t.options[r].value);else La(t)&&Ga(t.style)||(Ua(t)||Ra(t))&&Bn(t.style)?delete t.style.location:za(t)&&Nn(t.children)})}function Rl(e,t){t===void 0&&(t={}),t=T({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ml(e,t).parse();if(r.err){var i=SyntaxError(O[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t!=null&&t.captureLocation||Nn(r.val),r.val}var Ft;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ft||(Ft={}));var Zi=function(e){qe(t,e);function t(r,i,n){var o=e.call(this,r)||this;return o.code=i,o.originalMessage=n,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qo=function(e){qe(t,e);function t(r,i,n,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Ft.INVALID_VALUE,o)||this}return t}(Zi),jl=function(e){qe(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),Ft.INVALID_VALUE,n)||this}return t}(Zi),Fl=function(e){qe(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),Ft.MISSING_VALUE,i)||this}return t}(Zi),oe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(oe||(oe={}));function zl(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==oe.literal||r.type!==oe.literal?t.push(r):i.value+=r.value,t},[])}function Gl(e){return typeof e=="function"}function Gi(e,t,r,i,n,o,a){if(e.length===1&&jo(e[0]))return[{type:oe.literal,value:e[0].value}];for(var u=[],c=0,p=e;c<p.length;c++){var f=p[c];if(jo(f)){u.push({type:oe.literal,value:f.value});continue}if(fl(f)){typeof o=="number"&&u.push({type:oe.literal,value:r.getNumberFormat(t).format(o)});continue}var m=f.value;if(!(n&&m in n))throw new Fl(m,a);var v=n[m];if(cl(f)){(!v||typeof v=="string"||typeof v=="number")&&(v=typeof v=="string"||typeof v=="number"?String(v):""),u.push({type:typeof v=="string"?oe.literal:oe.object,value:v});continue}if(Ua(f)){var _=typeof f.style=="string"?i.date[f.style]:Bn(f.style)?f.style.parsedOptions:void 0;u.push({type:oe.literal,value:r.getDateTimeFormat(t,_).format(v)});continue}if(Ra(f)){var _=typeof f.style=="string"?i.time[f.style]:Bn(f.style)?f.style.parsedOptions:i.time.medium;u.push({type:oe.literal,value:r.getDateTimeFormat(t,_).format(v)});continue}if(La(f)){var _=typeof f.style=="string"?i.number[f.style]:Ga(f.style)?f.style.parsedOptions:void 0;_&&_.scale&&(v=v*(_.scale||1)),u.push({type:oe.literal,value:r.getNumberFormat(t,_).format(v)});continue}if(za(f)){var E=f.children,C=f.value,w=n[C];if(!Gl(w))throw new jl(C,"function",a);var x=Gi(E,t,r,i,n,o),N=w(x.map(function(F){return F.value}));Array.isArray(N)||(N=[N]),u.push.apply(u,N.map(function(F){return{type:typeof F=="string"?oe.literal:oe.object,value:F}}))}if(ja(f)){var S=f.options[v]||f.options.other;if(!S)throw new Qo(f.value,v,Object.keys(f.options),a);u.push.apply(u,Gi(S.value,t,r,i,n));continue}if(Fa(f)){var S=f.options["=".concat(v)];if(!S){if(!Intl.PluralRules)throw new Zi(`Intl.PluralRules is not available in this environment.
15
+ Try polyfilling it using "@formatjs/intl-pluralrules"
16
+ `,Ft.MISSING_INTL_API,a);var R=r.getPluralRules(t,{type:f.pluralType}).select(v-(f.offset||0));S=f.options[R]||f.options.other}if(!S)throw new Qo(f.value,v,Object.keys(f.options),a);u.push.apply(u,Gi(S.value,t,r,i,n,v-(f.offset||0)));continue}}return zl(u)}function Vl(e,t){return t?T(T(T({},e||{}),t||{}),Object.keys(e).reduce(function(r,i){return r[i]=T(T({},e[i]),t[i]||{}),r},{})):e}function Wl(e,t){return t?Object.keys(e).reduce(function(r,i){return r[i]=Vl(e[i],t[i]),r},T({},e)):e}function _n(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function $l(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:yn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.NumberFormat).bind.apply(t,Ut([void 0],r,!1)))},{cache:_n(e.number),strategy:gn.variadic}),getDateTimeFormat:yn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.DateTimeFormat).bind.apply(t,Ut([void 0],r,!1)))},{cache:_n(e.dateTime),strategy:gn.variadic}),getPluralRules:yn(function(){for(var t,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];return new((t=Intl.PluralRules).bind.apply(t,Ut([void 0],r,!1)))},{cache:_n(e.pluralRules),strategy:gn.variadic})}}var Ql=function(){function e(t,r,i,n){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(m,v){return!m.length||v.type!==oe.literal||typeof m[m.length-1]!="string"?m.push(v.value):m[m.length-1]+=v.value,m},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(c){return Gi(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=n||{};a.formatters;var u=il(a,["formatters"]);this.ast=e.__parse(t,T(T({},u),{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=Wl(e.formats,i),this.formatters=n&&n.formatters||$l(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=Rl,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 Xl(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let i=e;for(let n=0;n<r.length;n++)if(typeof i=="object"){if(n>0){const o=r.slice(n,r.length).join(".");if(o in i){i=i[o];break}}i=i[r[n]]}else i=void 0;return i}const tt={},ql=(e,t,r)=>r&&(t in tt||(tt[t]={}),e in tt[t]||(tt[t][e]=r),r),Ya=(e,t)=>{if(t==null)return;if(t in tt&&e in tt[t])return tt[t][e];const r=Yi(t);for(let i=0;i<r.length;i++){const n=r[i],o=Yl(n,e);if(o)return ql(e,t,o)}};let Fn;const Fr=qi({});function Zl(e){return Fn[e]||null}function Ja(e){return e in Fn}function Yl(e,t){if(!Ja(e))return null;const r=Zl(e);return Xl(r,t)}function Jl(e){if(e==null)return;const t=Yi(e);for(let r=0;r<t.length;r++){const i=t[r];if(Ja(i))return i}}function Ka(e,...t){delete tt[e],Fr.update(r=>(r[e]=rl.all([r[e]||{},...t]),r))}Vt([Fr],([e])=>Object.keys(e));Fr.subscribe(e=>Fn=e);const Vi={};function Kl(e,t){Vi[e].delete(t),Vi[e].size===0&&delete Vi[e]}function es(e){return Vi[e]}function eu(e){return Yi(e).map(t=>{const r=es(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Mn(e){return e==null?!1:Yi(e).some(t=>{var r;return(r=es(t))==null?void 0:r.size})}function tu(e,t){return Promise.all(t.map(i=>(Kl(e,i),i().then(n=>n.default||n)))).then(i=>Ka(e,...i))}const Mr={};function ts(e){if(!Mn(e))return e in Mr?Mr[e]:Promise.resolve();const t=eu(e);return Mr[e]=Promise.all(t.map(([r,i])=>tu(r,i))).then(()=>{if(Mn(e))return ts(e);delete Mr[e]}),Mr[e]}const ru={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"}}},iu={fallbackLocale:null,loadingDelay:200,formats:ru,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},nu=iu;function zt(){return nu}const Pn=qi(!1);var ou=Object.defineProperty,au=Object.defineProperties,su=Object.getOwnPropertyDescriptors,Xo=Object.getOwnPropertySymbols,lu=Object.prototype.hasOwnProperty,uu=Object.prototype.propertyIsEnumerable,qo=(e,t,r)=>t in e?ou(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,cu=(e,t)=>{for(var r in t||(t={}))lu.call(t,r)&&qo(e,r,t[r]);if(Xo)for(var r of Xo(t))uu.call(t,r)&&qo(e,r,t[r]);return e},fu=(e,t)=>au(e,su(t));let Dn;const Qi=qi(null);function Zo(e){return e.split("-").map((t,r,i)=>i.slice(0,r+1).join("-")).reverse()}function Yi(e,t=zt().fallbackLocale){const r=Zo(e);return t?[...new Set([...r,...Zo(t)])]:r}function ht(){return Dn!=null?Dn:void 0}Qi.subscribe(e=>{Dn=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const pu=e=>{if(e&&Jl(e)&&Mn(e)){const{loadingDelay:t}=zt();let r;return typeof window!="undefined"&&ht()!=null&&t?r=window.setTimeout(()=>Pn.set(!0),t):Pn.set(!0),ts(e).then(()=>{Qi.set(e)}).finally(()=>{clearTimeout(r),Pn.set(!1)})}return Qi.set(e)},Wt=fu(cu({},Qi),{set:pu}),Ji=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var hu=Object.defineProperty,Xi=Object.getOwnPropertySymbols,rs=Object.prototype.hasOwnProperty,is=Object.prototype.propertyIsEnumerable,Yo=(e,t,r)=>t in e?hu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,zn=(e,t)=>{for(var r in t||(t={}))rs.call(t,r)&&Yo(e,r,t[r]);if(Xi)for(var r of Xi(t))is.call(t,r)&&Yo(e,r,t[r]);return e},$t=(e,t)=>{var r={};for(var i in e)rs.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(e!=null&&Xi)for(var i of Xi(e))t.indexOf(i)<0&&is.call(e,i)&&(r[i]=e[i]);return r};const jr=(e,t)=>{const{formats:r}=zt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},du=Ji(e=>{var t=e,{locale:r,format:i}=t,n=$t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(n=jr("number",i)),new Intl.NumberFormat(r,n)}),mu=Ji(e=>{var t=e,{locale:r,format:i}=t,n=$t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?n=jr("date",i):Object.keys(n).length===0&&(n=jr("date","short")),new Intl.DateTimeFormat(r,n)}),bu=Ji(e=>{var t=e,{locale:r,format:i}=t,n=$t(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?n=jr("time",i):Object.keys(n).length===0&&(n=jr("time","short")),new Intl.DateTimeFormat(r,n)}),vu=(e={})=>{var t=e,{locale:r=ht()}=t,i=$t(t,["locale"]);return du(zn({locale:r},i))},yu=(e={})=>{var t=e,{locale:r=ht()}=t,i=$t(t,["locale"]);return mu(zn({locale:r},i))},gu=(e={})=>{var t=e,{locale:r=ht()}=t,i=$t(t,["locale"]);return bu(zn({locale:r},i))},Cu=Ji((e,t=ht())=>new Ql(e,t,zt().formats,{ignoreTag:zt().ignoreTag})),_u=(e,t={})=>{var r,i,n,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:u,locale:c=ht(),default:p}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Ya(e,c);if(!f)f=(o=(n=(i=(r=zt()).handleMissingMessage)==null?void 0:i.call(r,{locale:c,id:e,defaultValue:p}))!=null?n: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(!u)return f;let m=f;try{m=Cu(f,c).format(u)}catch(v){v instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,v.message)}return m},Pu=(e,t)=>gu(t).format(e),Su=(e,t)=>yu(t).format(e),Eu=(e,t)=>vu(t).format(e),wu=(e,t=ht())=>Ya(e,t),Au=Vt([Wt,Fr],()=>_u);Vt([Wt],()=>Pu);Vt([Wt],()=>Su);Vt([Wt],()=>Eu);Vt([Wt,Fr],()=>wu);function Jo(e,t){Ka(e,t)}function ku(e){Wt.set(e)}const Ko={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:",firstNameError:"Please enter a valid first name (2–30 letters only).",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:",lastNameError:"Please enter a valid last name (2–30 letters only).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userPrefixError:"需要前綴值",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",firstNameError:"請輸入有效的名字(僅限 2–30 個字母)。",lastNameError:"請輸入有效的姓氏(僅限 2–30 個字母)。",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:",firstNameError:"Veuillez entrer un prénom valide (2 à 30 lettres uniquement).",lastNameError:"Veuillez entrer un nom valide (2 à 30 lettres uniquement).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},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:",firstNameError:"Vă rugăm să introduceţi un prenume valid (doar 2-30 litere).",lastNameError:"Vă rugăm să introduceţi un nume de familie valid (doar 2-30 litere).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},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ı:",firstNameError:"Lütfen geçerli bir isim girin (yalnızca 2–30 harf).",lastNameError:"Lütfen geçerli bir soyisim girin (yalnızca 2–30 harf).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},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",firstNameError:"Por favor, introduce un nombre válido (solo 2–30 letras).",lastNameError:"Por favor, introduce un apellido válido (solo 2–30 letras).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},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:",firstNameError:"Por favor, insira um nome válido (apenas 2 a 30 letras).",lastNameError:"Por favor, insira um apelido/sobrenome válido (apenas 2 a 30 letras).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},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",firstNameError:"Molimo unesite valjano ime (samo 2–30 slova).",lastNameError:"Molimo unesite valjano prezime (samo 2–30 slova).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"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:",firstNameError:"Por favor, insira um nome válido (apenas 2 a 30 letras).",lastNameError:"Por favor, insira um sobrenome válido (apenas 2 a 30 letras).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"},"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:",firstNameError:"Por favor, introduce un nombre válido (solo 2–30 letras).",lastNameError:"Por favor, introduce un apellido válido (solo 2–30 letras).",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.",welcomePanelTitle:"Welcome back, {fullName} ✌️",welcomePanelDescription:"You can view your active Bonuses & Promotions and edit your profile️",welcomePanelUser:"User Profile"}};function xu(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function Bu(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(i=>i.text()).then(i=>{const n=document.createElement("style");n.innerHTML=i,e&&e.appendChild(n)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function Hu(e,t,r){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,n=>{i.innerHTML=n,e&&e.appendChild(i)})}}function Xe(e){return typeof e=="function"}function ns(e){var t=function(i){Error.call(i),i.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var Sn=ns(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
17
+ `+r.map(function(i,n){return n+1+") "+i.toString()}).join(`
18
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Ln(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ki=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,i,n,o;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var u=kn(a),c=u.next();!c.done;c=u.next()){var p=c.value;p.remove(this)}}catch(C){t={error:C}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(Xe(f))try{f()}catch(C){o=C instanceof Sn?C.errors:[C]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var v=kn(m),_=v.next();!_.done;_=v.next()){var E=_.value;try{ea(E)}catch(C){o=o!=null?o:[],C instanceof Sn?o=Ut(Ut([],xn(o)),xn(C.errors)):o.push(C)}}}catch(C){i={error:C}}finally{try{_&&!_.done&&(n=v.return)&&n.call(v)}finally{if(i)throw i.error}}}if(o)throw new Sn(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)ea(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)&&Ln(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Ln(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),os=Ki.EMPTY;function as(e){return e instanceof Ki||e&&"closed"in e&&Xe(e.remove)&&Xe(e.add)&&Xe(e.unsubscribe)}function ea(e){Xe(e)?e():e.unsubscribe()}var ss={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ou={setTimeout:function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return setTimeout.apply(void 0,Ut([e,t],xn(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Iu(e){Ou.setTimeout(function(){throw e})}function ta(){}function Wi(e){e()}var ls=function(e){qe(t,e);function t(r){var i=e.call(this)||this;return i.isStopped=!1,r?(i.destination=r,as(r)&&r.add(i)):i.destination=Du,i}return t.create=function(r,i,n){return new Un(r,i,n)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ki),Tu=Function.prototype.bind;function En(e,t){return Tu.call(e,t)}var Nu=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(i){Fi(i)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(i){Fi(i)}else Fi(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Fi(r)}},e}(),Un=function(e){qe(t,e);function t(r,i,n){var o=e.call(this)||this,a;if(Xe(r)||!r)a={next:r!=null?r:void 0,error:i!=null?i:void 0,complete:n!=null?n:void 0};else{var u;o&&ss.useDeprecatedNextContext?(u=Object.create(r),u.unsubscribe=function(){return o.unsubscribe()},a={next:r.next&&En(r.next,u),error:r.error&&En(r.error,u),complete:r.complete&&En(r.complete,u)}):a=r}return o.destination=new Nu(a),o}return t}(ls);function Fi(e){Iu(e)}function Mu(e){throw e}var Du={closed:!0,next:ta,error:Mu,complete:ta},Lu=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Uu(e){return e}function Ru(e){return e.length===0?Uu:e.length===1?e[0]:function(r){return e.reduce(function(i,n){return n(i)},r)}}var ra=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,i){var n=this,o=Fu(t)?t:new Un(t,r,i);return Wi(function(){var a=n,u=a.operator,c=a.source;o.add(u?u.call(o,c):c?n._subscribe(o):n._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 i=this;return r=ia(r),new r(function(n,o){var a=new Un({next:function(u){try{t(u)}catch(c){o(c),a.unsubscribe()}},error:o,complete:n});i.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Lu]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Ru(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=ia(t),new t(function(i,n){var o;r.subscribe(function(a){return o=a},function(a){return n(a)},function(){return i(o)})})},e.create=function(t){return new e(t)},e}();function ia(e){var t;return(t=e!=null?e:ss.Promise)!==null&&t!==void 0?t:Promise}function ju(e){return e&&Xe(e.next)&&Xe(e.error)&&Xe(e.complete)}function Fu(e){return e&&e instanceof ls||ju(e)&&as(e)}var zu=ns(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),us=function(e){qe(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 i=new na(this,this);return i.operator=r,i},t.prototype._throwIfClosed=function(){if(this.closed)throw new zu},t.prototype.next=function(r){var i=this;Wi(function(){var n,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var a=kn(i.currentObservers),u=a.next();!u.done;u=a.next()){var c=u.value;c.next(r)}}catch(p){n={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}}})},t.prototype.error=function(r){var i=this;Wi(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=r;for(var n=i.observers;n.length;)n.shift().error(r)}})},t.prototype.complete=function(){var r=this;Wi(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var i=r.observers;i.length;)i.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 i=this,n=this,o=n.hasError,a=n.isStopped,u=n.observers;return o||a?os:(this.currentObservers=null,u.push(r),new Ki(function(){i.currentObservers=null,Ln(u,r)}))},t.prototype._checkFinalizedStatuses=function(r){var i=this,n=i.hasError,o=i.thrownError,a=i.isStopped;n?r.error(o):a&&r.complete()},t.prototype.asObservable=function(){var r=new ra;return r.source=this,r},t.create=function(r,i){return new na(r,i)},t}(ra),na=function(e){qe(t,e);function t(r,i){var n=e.call(this)||this;return n.destination=r,n.source=i,n}return t.prototype.next=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.next)===null||n===void 0||n.call(i,r)},t.prototype.error=function(r){var i,n;(n=(i=this.destination)===null||i===void 0?void 0:i.error)===null||n===void 0||n.call(i,r)},t.prototype.complete=function(){var r,i;(i=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||i===void 0||i.call(r)},t.prototype._subscribe=function(r){var i,n;return(n=(i=this.source)===null||i===void 0?void 0:i.subscribe(r))!==null&&n!==void 0?n:os},t}(us),cs={now:function(){return(cs.delegate||Date).now()},delegate:void 0},Gu=function(e){qe(t,e);function t(r,i,n){r===void 0&&(r=1/0),i===void 0&&(i=1/0),n===void 0&&(n=cs);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=i,o._timestampProvider=n,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,i),o}return t.prototype.next=function(r){var i=this,n=i.isStopped,o=i._buffer,a=i._infiniteTimeWindow,u=i._timestampProvider,c=i._windowTime;n||(o.push(r),!a&&o.push(u.now()+c)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(r),n=this,o=n._infiniteTimeWindow,a=n._buffer,u=a.slice(),c=0;c<u.length&&!r.closed;c+=o?1:2)r.next(u[c]);return this._checkFinalizedStatuses(r),i},t.prototype._trimBuffer=function(){var r=this,i=r._bufferSize,n=r._timestampProvider,o=r._buffer,a=r._infiniteTimeWindow,u=(a?1:2)*i;if(i<1/0&&u<o.length&&o.splice(0,o.length-u),!a){for(var c=n.now(),p=0,f=1;f<o.length&&o[f]<=c;f+=2)p=f;p&&o.splice(0,p+1)}},t}(us);const oa=[],aa={},Vu=(e,t=0)=>{if(oa.indexOf(e)==-1){const r=new Gu(t);aa[e]=r,oa.push(e)}return aa[e]};window.emWidgets={topic:Vu};const Wu=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));String(Number.MAX_SAFE_INTEGER).length;function $u(e){gs(e,"svelte-1jx0ehu",`button{font-family:var(--emw--button-typography)}.Hidden{display:none}input,select,option{font-family:inherit}.WelcomeSection{display:grid;gap:0.5rem}.WelcomeSection .WelcomeSectionTitle{margin:0;font-size:1.25rem;line-height:1.2;font-weight:700}.WelcomeSection .WelcomeSectionDescription{margin:0;font-size:0.95rem;line-height:1.4;opacity:0.9}.WelcomeSection .WelcomeSectionProfileRow{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.75rem;margin-top:0.25rem}.WelcomeSection .WelcomeSectionProfilePicture{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;color:#333}.WelcomeSection .WelcomeSectionProfilePicture .AvatarIcon{width:100%;height:100%}.WelcomeSection .WelcomeSectionFullName{font-weight:600;font-size:1rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.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 input.FieldDisabled:focus,.PlayerInfoBox input.FieldDisabled:focus-within,.PlayerInfoBox input.FieldDisabled:focus-visible{border:1px solid var(--emw--color-gray-100, #353535);box-shadow:none}.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 sa(e,t,r){const i=e.slice();return i[78]=t[r],i[79]=t,i[80]=r,i}function la(e,t,r){const i=e.slice();return i[81]=t[r],i[82]=t,i[83]=r,i}function ua(e,t,r){const i=e.slice();return i[84]=t[r],i}function Qu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function Xu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function qu(e,t,r){const i=e.slice();return i[87]=t[r],i[89]=r,i}function Zu(e){let t;return{c(){t=d("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> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function Yu(e){let t;return{c(){t=d("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> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function Ju(e){let t;return{c(){t=d("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> ',l(t,"class","skeletonInputContainer")},m(r,i){L(r,t,i)},p:we,d(r){r&&M(t)}}}function ca(e){var go,Co,_o,Po,So,Eo;let t,r,i,n,o,a=e[12]("titleProfileInfo")+"",u,c,p,f,m,v=e[12]("personalDetails")+"",_,E,C,w,x,N=e[12]("userName")+"",S,R,F,$,ae,te,ze,se,D,h,j=e[12]("userPhone")+"",Q,zr,Re,Z,Ne,Ge,Ze,X,it,Me,je,Qt,dt,Gr,Be,Ye,mt=(e[0]=="true"?e[12]("profileSecurityQuestion2"):e[12]("profileSecurityQuestion"))+"",Xt,Vr,bt,Wr,q,nt,ot,$r,at,qt,He,Je,vt=(e[0]=="true"?e[12]("profileSecurityAnswer2"):e[12]("profileSecurityAnswer"))+"",Zt,Qr,yt,st,K,gt,Ct,Xr,_t,qr,Ke,Pt,St=e[12]("userEmail")+"",Yt,Zr,Ae,Et,lt,wt,y,g,A,z=e[12]("dateOfBirth")+"",Y,G,H,Ve,ee,We,et,De,Yr,Jr=e[12]("firstName")+"",en,Gn,ke,Kr,ei,Vn,Wn,$e,ti,ri=e[12]("lastName")+"",tn,$n,xe,ii,ni,Qn,Xn,At,oi,ai=e[12]("userTitle")+"",rn,qn,Le,si,Jt,li,Zn,kt,ui,ci=e[12]("currency")+"",nn,Yn,Ue,fi,Kt,pi,Jn,Kn,hi,on,di=e[12]("locationDetails")+"",an,eo,re,xt,mi,bi=e[12]("userCountry")+"",sn,to,ie,vi,yi,gi,ro,ut,Ci,_i=e[12]("userCity")+"",ln,io,le,Pi,Si,no,oo,ct,Ei,wi=e[12]("userAddress")+"",un,ao,ue,Ai,ki,so,lo,ft,xi,Bi=e[12]("userAddress2")+"",cn,uo,ce,Hi,Oi,co,fo,pt,Ii,Ti=e[12]("userPostalCode")+"",fn,po,fe,Ni,Mi,ho,mo,bo,pn=Object.keys(e[5].consents).length>0,hn,er,Bt,Di=e[12]("userProfileSaveChanges")+"",dn,Li,Ui,vo,Ri,mn,yo,pe=e[1]==="true"&&fa(e),he=e[8]&&pa(e),Ht=Qe(e[4]),ne=[];for(let J=0;J<Ht.length;J+=1)ne[J]=ha(ua(e,Ht,J));let de=!((go=e[5].mobile)!=null&&go.isNumberValid)&&da(e),me=!((Co=e[5].mobile)!=null&&Co.isPrefixValid)&&ma(e),be=!((_o=e[5].securityQuestion)!=null&&_o.isValid)&&ba(e),ve=!((Po=e[5].securityAnswer)!=null&&Po.isValid)&&va(e),ye=!((So=e[5].firstname)!=null&&So.isValid)&&ya(e),ge=!((Eo=e[5].lastname)!=null&&Eo.isValid)&&ga(e),Ce=e[5].iban.value&&Ca(e),_e=e[2]==="true"&&_a(e),Pe=pn&&Pa(e),Se=e[11]&&ka(e);return{c(){var J,b,Fe,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Br,Hr,Or,Ir,Tr,Nr;pe&&pe.c(),t=P(),r=d("form"),i=d("div"),he&&he.c(),n=P(),o=d("h2"),u=k(a),p=P(),f=d("div"),m=d("h3"),_=k(v),E=P(),C=d("section"),w=d("div"),x=d("label"),S=k(N),R=P(),F=d("input"),se=P(),D=d("div"),h=d("label"),Q=k(j),zr=P(),Re=d("div"),Z=d("select");for(let Ot=0;Ot<ne.length;Ot+=1)ne[Ot].c();Ze=P(),X=d("input"),je=P(),de&&de.c(),Qt=P(),me&&me.c(),Gr=P(),Be=d("div"),Ye=d("label"),Xt=k(mt),Vr=k(":"),bt=d("span"),bt.textContent="*",Wr=P(),q=d("input"),$r=P(),be&&be.c(),qt=P(),He=d("div"),Je=d("label"),Zt=k(vt),Qr=k(":"),yt=d("span"),yt.textContent="*",st=P(),K=d("input"),Xr=P(),ve&&ve.c(),qr=P(),Ke=d("div"),Pt=d("label"),Yt=k(St),Zr=P(),Ae=d("input"),y=P(),g=d("div"),A=d("label"),Y=k(z),G=P(),H=d("input"),et=P(),De=d("div"),Yr=d("label"),en=k(Jr),Gn=P(),ke=d("input"),Vn=P(),ye&&ye.c(),Wn=P(),$e=d("div"),ti=d("label"),tn=k(ri),$n=P(),xe=d("input"),Qn=P(),ge&&ge.c(),Xn=P(),At=d("div"),oi=d("label"),rn=k(ai),qn=P(),Le=d("input"),Zn=P(),kt=d("div"),ui=d("label"),nn=k(ci),Yn=P(),Ue=d("input"),Jn=P(),Ce&&Ce.c(),Kn=P(),hi=d("div"),on=d("h3"),an=k(di),eo=P(),re=d("section"),xt=d("div"),mi=d("label"),sn=k(bi),to=P(),ie=d("input"),ro=P(),ut=d("div"),Ci=d("label"),ln=k(_i),io=P(),le=d("input"),no=P(),oo=P(),ct=d("div"),Ei=d("label"),un=k(wi),ao=P(),ue=d("input"),so=P(),lo=P(),ft=d("div"),xi=d("label"),cn=k(Bi),uo=P(),ce=d("input"),co=P(),fo=P(),pt=d("div"),Ii=d("label"),fn=k(Ti),po=P(),fe=d("input"),ho=P(),mo=P(),_e&&_e.c(),bo=P(),Pe&&Pe.c(),hn=P(),er=d("section"),Bt=d("button"),dn=k(Di),vo=P(),Se&&Se.c(),l(o,"class",c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":"")),l(f,"class","PlayerNotificationsHeader"),l(x,"for","Username"),l(F,"id","Username"),l(F,"type","text"),l(F,"class",$=`${(J=e[5].username)!=null&&J.readOnly?"FieldDisabled":""}`),F.value=ae=e[5].username.value,F.readOnly=te=(b=e[5].username)==null?void 0:b.readOnly,l(w,"class",ze="PlayerInfoBox "+(e[5].username.isValid?"":"InvalidField")),l(h,"for","UserMobile"),l(Z,"id","UserMobilePrefix"),l(Z,"class",Ne=`${(Fe=e[5].mobile)!=null&&Fe.readOnly?"FieldDisabled":""} ${(tr=e[5].mobile)!=null&&tr.isPrefixValid?"":"InvalidPrefix"}`),Z.disabled=Ge=(rr=e[5].mobile)==null?void 0:rr.readOnly,e[5].mobile.prefix===void 0&&$i(()=>e[33].call(Z)),l(X,"id","UserMobile"),l(X,"type","text"),l(X,"class",it=`${(ir=e[5].mobile)!=null&&ir.readOnly?"FieldDisabled":""} ${(nr=e[5].mobile)!=null&&nr.isNumberValid?"":"InvalidNumber"}`),l(X,"placeholder",e[13].mobile.number),X.readOnly=Me=(or=e[5].mobile)==null?void 0:or.readOnly,l(Re,"class","PlayerPhoneNumber"),l(Re,"id","UserMobile"),l(D,"class",dt="PlayerInfoBox "+((ar=e[5].mobile)!=null&&ar.isValid?"":"InvalidField")),l(bt,"class","FormRequired"),l(Ye,"for","SecurityQuestion"),l(q,"id","SecurityQuestion"),l(q,"type","text"),l(q,"class",nt=`${(sr=e[5].securityQuestion)!=null&&sr.readOnly?"FieldDisabled":""}`),l(q,"placeholder",e[13].securityQuestion),q.readOnly=ot=(lr=e[5].securityQuestion)==null?void 0:lr.readOnly,l(Be,"class",at="PlayerInfoBox "+((ur=e[5].securityQuestion)!=null&&ur.isValid?"":"InvalidField")),l(yt,"class","FormRequired"),l(Je,"for","SecurityAnswer"),l(K,"id","SecurityAnswer"),l(K,"type","text"),l(K,"class",gt=`${(cr=e[5].securityAnswer)!=null&&cr.readOnly?"FieldDisabled":""}`),l(K,"placeholder",e[13].securityAnswer),K.readOnly=Ct=(fr=e[5].securityAnswer)==null?void 0:fr.readOnly,l(He,"class",_t="PlayerInfoBox "+((pr=e[5].securityAnswer)!=null&&pr.isValid?"":"InvalidField")),l(Pt,"for","UserEmail"),l(Ae,"id","UserEmail"),l(Ae,"type","email"),l(Ae,"class",Et=`${(hr=e[5].email)!=null&&hr.readOnly?"FieldDisabled":""}`),Ae.value=lt=e[5].email.value,Ae.readOnly=wt=(dr=e[5].email)==null?void 0:dr.readOnly,l(Ke,"class","PlayerInfoBox"),l(A,"for","DateOfBirth"),l(H,"id","DateOfBirth"),l(H,"type","text"),l(H,"class",Ve=`${(mr=e[5].birth)!=null&&mr.readOnly?"FieldDisabled":""}`),H.value=ee=e[5].birth.value,H.readOnly=We=(br=e[5].birth)==null?void 0:br.readOnly,l(g,"class","PlayerInfoBox"),l(Yr,"for","FirstName"),l(ke,"id","FirstName"),l(ke,"type","text"),l(ke,"class",Kr=`${(vr=e[5].firstname)!=null&&vr.readOnly?"FieldDisabled":""}`),ke.readOnly=ei=(yr=e[5].firstname)==null?void 0:yr.readOnly,l(De,"class","PlayerInfoBox"),l(ti,"for","LastName"),l(xe,"id","LastName"),l(xe,"type","text"),l(xe,"class",ii=`${(gr=e[5].lastname)!=null&&gr.readOnly?"FieldDisabled":""}`),xe.readOnly=ni=(Cr=e[5].lastname)==null?void 0:Cr.readOnly,l($e,"class","PlayerInfoBox"),l(oi,"for","UserTitle"),l(Le,"id","UserTitle"),l(Le,"type","text"),l(Le,"class",si=`${(_r=e[5].title)!=null&&_r.readOnly?"FieldDisabled":""}`),Le.value=Jt=e[5].title.value,Le.readOnly=li=(Pr=e[5].title)==null?void 0:Pr.readOnly,l(At,"class","PlayerInfoBox"),l(ui,"for","Currrency"),l(Ue,"id","Currency"),l(Ue,"type","text"),l(Ue,"class",fi=`${(Sr=e[5].currency)!=null&&Sr.readOnly?"FieldDisabled":""}`),Ue.value=Kt=e[5].currency.value,Ue.readOnly=pi=(Er=e[5].currency)==null?void 0:Er.readOnly,l(kt,"class","PlayerInfoBox"),l(C,"class","PlayerDetailsContent"),l(hi,"class","PlayerLocationHeader"),l(mi,"for","UserCountry"),l(ie,"id","UserCountry"),l(ie,"type","text"),l(ie,"class",vi=`PlayerCountry ${(wr=e[5].country)!=null&&wr.readOnly?"FieldDisabled":""}`),l(ie,"placeholder",yi=e[5].country.countryCode),ie.readOnly=gi=(Ar=e[5].country)==null?void 0:Ar.readOnly,l(xt,"class","PlayerInfoBox"),l(Ci,"for","UserCity"),l(le,"id","UserCity"),l(le,"type","text"),l(le,"class",Pi=`${(kr=e[5].city)!=null&&kr.readOnly?"FieldDisabled":""}`),l(le,"placeholder",e[13].city),le.readOnly=Si=(xr=e[5].city)==null?void 0:xr.readOnly,l(ut,"class","PlayerInfoBox "),l(Ei,"for","UserAddress"),l(ue,"id","UserAddress"),l(ue,"type","text"),l(ue,"class",Ai=`${(Br=e[5].address1)!=null&&Br.readOnly?"FieldDisabled":""}`),l(ue,"placeholder",e[13].address1),ue.readOnly=ki=(Hr=e[5].address1)==null?void 0:Hr.readOnly,l(ct,"class","PlayerInfoBox "),l(xi,"for","UserAddress"),l(ce,"id","UserAddress2"),l(ce,"type","text"),l(ce,"class",Hi=`${(Or=e[5].address2)!=null&&Or.readOnly?"FieldDisabled":""}`),l(ce,"placeholder",e[13].address2),ce.readOnly=Oi=(Ir=e[5].address2)==null?void 0:Ir.readOnly,l(ft,"class","PlayerInfoBox "),l(Ii,"for","UserPostalCode"),l(fe,"id","UserPostalCode"),l(fe,"type","text"),l(fe,"class",Ni=`${(Tr=e[5].postalCode)!=null&&Tr.readOnly?"FieldDisabled":""}`),l(fe,"placeholder",e[13].postalCode),fe.readOnly=Mi=(Nr=e[5].postalCode)==null?void 0:Nr.readOnly,l(pt,"class","PlayerInfoBox "),l(re,"class","PlayerLocationContent"),l(Bt,"class",Li="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled")),l(er,"class",Ui="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":"")),l(i,"class","PlayerFadeInWarapper"),l(r,"class",Ri="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))},m(J,b){pe&&pe.m(J,b),L(J,t,b),L(J,r,b),s(r,i),he&&he.m(i,null),s(i,n),s(i,o),s(o,u),s(i,p),s(i,f),s(f,m),s(m,_),s(i,E),s(i,C),s(C,w),s(w,x),s(x,S),s(w,R),s(w,F),s(C,se),s(C,D),s(D,h),s(h,Q),s(D,zr),s(D,Re),s(Re,Z);for(let Fe=0;Fe<ne.length;Fe+=1)ne[Fe]&&ne[Fe].m(Z,null);Lo(Z,e[5].mobile.prefix,!0),s(Re,Ze),s(Re,X),V(X,e[5].mobile.number),s(D,je),de&&de.m(D,null),s(D,Qt),me&&me.m(D,null),s(C,Gr),s(C,Be),s(Be,Ye),s(Ye,Xt),s(Ye,Vr),s(Ye,bt),s(Be,Wr),s(Be,q),V(q,e[5].securityQuestion.value),s(Be,$r),be&&be.m(Be,null),s(C,qt),s(C,He),s(He,Je),s(Je,Zt),s(Je,Qr),s(Je,yt),s(He,st),s(He,K),V(K,e[5].securityAnswer.value),s(He,Xr),ve&&ve.m(He,null),s(C,qr),s(C,Ke),s(Ke,Pt),s(Pt,Yt),s(Ke,Zr),s(Ke,Ae),s(C,y),s(C,g),s(g,A),s(A,Y),s(g,G),s(g,H),s(C,et),s(C,De),s(De,Yr),s(Yr,en),s(De,Gn),s(De,ke),V(ke,e[5].firstname.value),s(De,Vn),ye&&ye.m(De,null),s(C,Wn),s(C,$e),s($e,ti),s(ti,tn),s($e,$n),s($e,xe),V(xe,e[5].lastname.value),s($e,Qn),ge&&ge.m($e,null),s(C,Xn),s(C,At),s(At,oi),s(oi,rn),s(At,qn),s(At,Le),s(C,Zn),s(C,kt),s(kt,ui),s(ui,nn),s(kt,Yn),s(kt,Ue),s(C,Jn),Ce&&Ce.m(C,null),s(i,Kn),s(i,hi),s(hi,on),s(on,an),s(i,eo),s(i,re),s(re,xt),s(xt,mi),s(mi,sn),s(xt,to),s(xt,ie),V(ie,e[5].country.countryName),s(re,ro),s(re,ut),s(ut,Ci),s(Ci,ln),s(ut,io),s(ut,le),V(le,e[5].city.value),s(ut,no),s(re,oo),s(re,ct),s(ct,Ei),s(Ei,un),s(ct,ao),s(ct,ue),V(ue,e[5].address1.value),s(ct,so),s(re,lo),s(re,ft),s(ft,xi),s(xi,cn),s(ft,uo),s(ft,ce),V(ce,e[5].address2.value),s(ft,co),s(re,fo),s(re,pt),s(pt,Ii),s(Ii,fn),s(pt,po),s(pt,fe),V(fe,e[5].postalCode.value),s(pt,ho),s(re,mo),_e&&_e.m(re,null),s(i,bo),Pe&&Pe.m(i,null),s(i,hn),s(i,er),s(er,Bt),s(Bt,dn),s(i,vo),Se&&Se.m(i,null),mn||(yo=[U(Z,"change",e[33]),U(Z,"change",e[15]("mobilePrefix")),U(X,"input",e[34]),U(X,"keyup",e[15]("mobileNumber")),U(X,"input",function(){Gt(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(e[5].mobile.number=e[5].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),U(q,"input",e[35]),U(q,"keyup",e[15]("securityQuestion")),U(K,"input",e[36]),U(K,"keyup",e[15]("securityAnswer")),U(ke,"input",e[37]),U(ke,"keyup",e[15]("firstname")),U(xe,"input",e[38]),U(xe,"keyup",e[15]("lastname")),U(ie,"input",e[39]),U(ie,"keyup",e[15]("country")),U(le,"input",e[40]),U(le,"keyup",e[15]("city")),U(ue,"input",e[41]),U(ue,"keyup",e[15]("address1")),U(ce,"input",e[42]),U(ce,"keyup",e[15]("address2")),U(fe,"input",e[43]),U(fe,"keyup",e[15]("postalCode")),U(Bt,"click",e[16])],mn=!0)},p(J,b){var Fe,tr,rr,ir,nr,or,ar,sr,lr,ur,cr,fr,pr,hr,dr,mr,br,vr,yr,gr,Cr,_r,Pr,Sr,Er,wr,Ar,kr,xr,Br,Hr,Or,Ir,Tr,Nr,Ot,wo,Ao,ko,xo,Bo,Ho,Oo;if(e=J,e[1]==="true"?pe?pe.p(e,b):(pe=fa(e),pe.c(),pe.m(t.parentNode,t)):pe&&(pe.d(1),pe=null),e[8]?he?he.p(e,b):(he=pa(e),he.c(),he.m(i,n)):he&&(he.d(1),he=null),b[0]&4096&&a!==(a=e[12]("titleProfileInfo")+"")&&B(u,a),b[0]&256&&c!==(c="MyAccountCategoryTitle "+(e[8]?"MyAccountCategoryTitleNone":""))&&l(o,"class",c),b[0]&4096&&v!==(v=e[12]("personalDetails")+"")&&B(_,v),b[0]&4096&&N!==(N=e[12]("userName")+"")&&B(S,N),b[0]&48&&$!==($=`${(Fe=e[5].username)!=null&&Fe.readOnly?"FieldDisabled":""}`)&&l(F,"class",$),b[0]&48&&ae!==(ae=e[5].username.value)&&F.value!==ae&&(F.value=ae),b[0]&48&&te!==(te=(tr=e[5].username)==null?void 0:tr.readOnly)&&(F.readOnly=te),b[0]&48&&ze!==(ze="PlayerInfoBox "+(e[5].username.isValid?"":"InvalidField"))&&l(w,"class",ze),b[0]&4096&&j!==(j=e[12]("userPhone")+"")&&B(Q,j),b[0]&48){Ht=Qe(e[4]);let Oe;for(Oe=0;Oe<Ht.length;Oe+=1){const Io=ua(e,Ht,Oe);ne[Oe]?ne[Oe].p(Io,b):(ne[Oe]=ha(Io),ne[Oe].c(),ne[Oe].m(Z,null))}for(;Oe<ne.length;Oe+=1)ne[Oe].d(1);ne.length=Ht.length}b[0]&48&&Ne!==(Ne=`${(rr=e[5].mobile)!=null&&rr.readOnly?"FieldDisabled":""} ${(ir=e[5].mobile)!=null&&ir.isPrefixValid?"":"InvalidPrefix"}`)&&l(Z,"class",Ne),b[0]&48&&Ge!==(Ge=(nr=e[5].mobile)==null?void 0:nr.readOnly)&&(Z.disabled=Ge),b[0]&48&&Lo(Z,e[5].mobile.prefix),b[0]&48&&it!==(it=`${(or=e[5].mobile)!=null&&or.readOnly?"FieldDisabled":""} ${(ar=e[5].mobile)!=null&&ar.isNumberValid?"":"InvalidNumber"}`)&&l(X,"class",it),b[0]&48&&Me!==(Me=(sr=e[5].mobile)==null?void 0:sr.readOnly)&&(X.readOnly=Me),b[0]&48&&X.value!==e[5].mobile.number&&V(X,e[5].mobile.number),(lr=e[5].mobile)!=null&&lr.isNumberValid?de&&(de.d(1),de=null):de?de.p(e,b):(de=da(e),de.c(),de.m(D,Qt)),(ur=e[5].mobile)!=null&&ur.isPrefixValid?me&&(me.d(1),me=null):me?me.p(e,b):(me=ma(e),me.c(),me.m(D,null)),b[0]&48&&dt!==(dt="PlayerInfoBox "+((cr=e[5].mobile)!=null&&cr.isValid?"":"InvalidField"))&&l(D,"class",dt),b[0]&4097&&mt!==(mt=(e[0]=="true"?e[12]("profileSecurityQuestion2"):e[12]("profileSecurityQuestion"))+"")&&B(Xt,mt),b[0]&48&&nt!==(nt=`${(fr=e[5].securityQuestion)!=null&&fr.readOnly?"FieldDisabled":""}`)&&l(q,"class",nt),b[0]&48&&ot!==(ot=(pr=e[5].securityQuestion)==null?void 0:pr.readOnly)&&(q.readOnly=ot),b[0]&48&&q.value!==e[5].securityQuestion.value&&V(q,e[5].securityQuestion.value),(hr=e[5].securityQuestion)!=null&&hr.isValid?be&&(be.d(1),be=null):be?be.p(e,b):(be=ba(e),be.c(),be.m(Be,null)),b[0]&48&&at!==(at="PlayerInfoBox "+((dr=e[5].securityQuestion)!=null&&dr.isValid?"":"InvalidField"))&&l(Be,"class",at),b[0]&4097&&vt!==(vt=(e[0]=="true"?e[12]("profileSecurityAnswer2"):e[12]("profileSecurityAnswer"))+"")&&B(Zt,vt),b[0]&48&&gt!==(gt=`${(mr=e[5].securityAnswer)!=null&&mr.readOnly?"FieldDisabled":""}`)&&l(K,"class",gt),b[0]&48&&Ct!==(Ct=(br=e[5].securityAnswer)==null?void 0:br.readOnly)&&(K.readOnly=Ct),b[0]&48&&K.value!==e[5].securityAnswer.value&&V(K,e[5].securityAnswer.value),(vr=e[5].securityAnswer)!=null&&vr.isValid?ve&&(ve.d(1),ve=null):ve?ve.p(e,b):(ve=va(e),ve.c(),ve.m(He,null)),b[0]&48&&_t!==(_t="PlayerInfoBox "+((yr=e[5].securityAnswer)!=null&&yr.isValid?"":"InvalidField"))&&l(He,"class",_t),b[0]&4096&&St!==(St=e[12]("userEmail")+"")&&B(Yt,St),b[0]&48&&Et!==(Et=`${(gr=e[5].email)!=null&&gr.readOnly?"FieldDisabled":""}`)&&l(Ae,"class",Et),b[0]&48&&lt!==(lt=e[5].email.value)&&Ae.value!==lt&&(Ae.value=lt),b[0]&48&&wt!==(wt=(Cr=e[5].email)==null?void 0:Cr.readOnly)&&(Ae.readOnly=wt),b[0]&4096&&z!==(z=e[12]("dateOfBirth")+"")&&B(Y,z),b[0]&48&&Ve!==(Ve=`${(_r=e[5].birth)!=null&&_r.readOnly?"FieldDisabled":""}`)&&l(H,"class",Ve),b[0]&48&&ee!==(ee=e[5].birth.value)&&H.value!==ee&&(H.value=ee),b[0]&48&&We!==(We=(Pr=e[5].birth)==null?void 0:Pr.readOnly)&&(H.readOnly=We),b[0]&4096&&Jr!==(Jr=e[12]("firstName")+"")&&B(en,Jr),b[0]&48&&Kr!==(Kr=`${(Sr=e[5].firstname)!=null&&Sr.readOnly?"FieldDisabled":""}`)&&l(ke,"class",Kr),b[0]&48&&ei!==(ei=(Er=e[5].firstname)==null?void 0:Er.readOnly)&&(ke.readOnly=ei),b[0]&48&&ke.value!==e[5].firstname.value&&V(ke,e[5].firstname.value),(wr=e[5].firstname)!=null&&wr.isValid?ye&&(ye.d(1),ye=null):ye?ye.p(e,b):(ye=ya(e),ye.c(),ye.m(De,null)),b[0]&4096&&ri!==(ri=e[12]("lastName")+"")&&B(tn,ri),b[0]&48&&ii!==(ii=`${(Ar=e[5].lastname)!=null&&Ar.readOnly?"FieldDisabled":""}`)&&l(xe,"class",ii),b[0]&48&&ni!==(ni=(kr=e[5].lastname)==null?void 0:kr.readOnly)&&(xe.readOnly=ni),b[0]&48&&xe.value!==e[5].lastname.value&&V(xe,e[5].lastname.value),(xr=e[5].lastname)!=null&&xr.isValid?ge&&(ge.d(1),ge=null):ge?ge.p(e,b):(ge=ga(e),ge.c(),ge.m($e,null)),b[0]&4096&&ai!==(ai=e[12]("userTitle")+"")&&B(rn,ai),b[0]&48&&si!==(si=`${(Br=e[5].title)!=null&&Br.readOnly?"FieldDisabled":""}`)&&l(Le,"class",si),b[0]&48&&Jt!==(Jt=e[5].title.value)&&Le.value!==Jt&&(Le.value=Jt),b[0]&48&&li!==(li=(Hr=e[5].title)==null?void 0:Hr.readOnly)&&(Le.readOnly=li),b[0]&4096&&ci!==(ci=e[12]("currency")+"")&&B(nn,ci),b[0]&48&&fi!==(fi=`${(Or=e[5].currency)!=null&&Or.readOnly?"FieldDisabled":""}`)&&l(Ue,"class",fi),b[0]&48&&Kt!==(Kt=e[5].currency.value)&&Ue.value!==Kt&&(Ue.value=Kt),b[0]&48&&pi!==(pi=(Ir=e[5].currency)==null?void 0:Ir.readOnly)&&(Ue.readOnly=pi),e[5].iban.value?Ce?Ce.p(e,b):(Ce=Ca(e),Ce.c(),Ce.m(C,null)):Ce&&(Ce.d(1),Ce=null),b[0]&4096&&di!==(di=e[12]("locationDetails")+"")&&B(an,di),b[0]&4096&&bi!==(bi=e[12]("userCountry")+"")&&B(sn,bi),b[0]&48&&vi!==(vi=`PlayerCountry ${(Tr=e[5].country)!=null&&Tr.readOnly?"FieldDisabled":""}`)&&l(ie,"class",vi),b[0]&48&&yi!==(yi=e[5].country.countryCode)&&l(ie,"placeholder",yi),b[0]&48&&gi!==(gi=(Nr=e[5].country)==null?void 0:Nr.readOnly)&&(ie.readOnly=gi),b[0]&48&&ie.value!==e[5].country.countryName&&V(ie,e[5].country.countryName),b[0]&4096&&_i!==(_i=e[12]("userCity")+"")&&B(ln,_i),b[0]&48&&Pi!==(Pi=`${(Ot=e[5].city)!=null&&Ot.readOnly?"FieldDisabled":""}`)&&l(le,"class",Pi),b[0]&48&&Si!==(Si=(wo=e[5].city)==null?void 0:wo.readOnly)&&(le.readOnly=Si),b[0]&48&&le.value!==e[5].city.value&&V(le,e[5].city.value),b[0]&4096&&wi!==(wi=e[12]("userAddress")+"")&&B(un,wi),b[0]&48&&Ai!==(Ai=`${(Ao=e[5].address1)!=null&&Ao.readOnly?"FieldDisabled":""}`)&&l(ue,"class",Ai),b[0]&48&&ki!==(ki=(ko=e[5].address1)==null?void 0:ko.readOnly)&&(ue.readOnly=ki),b[0]&48&&ue.value!==e[5].address1.value&&V(ue,e[5].address1.value),b[0]&4096&&Bi!==(Bi=e[12]("userAddress2")+"")&&B(cn,Bi),b[0]&48&&Hi!==(Hi=`${(xo=e[5].address2)!=null&&xo.readOnly?"FieldDisabled":""}`)&&l(ce,"class",Hi),b[0]&48&&Oi!==(Oi=(Bo=e[5].address2)==null?void 0:Bo.readOnly)&&(ce.readOnly=Oi),b[0]&48&&ce.value!==e[5].address2.value&&V(ce,e[5].address2.value),b[0]&4096&&Ti!==(Ti=e[12]("userPostalCode")+"")&&B(fn,Ti),b[0]&48&&Ni!==(Ni=`${(Ho=e[5].postalCode)!=null&&Ho.readOnly?"FieldDisabled":""}`)&&l(fe,"class",Ni),b[0]&48&&Mi!==(Mi=(Oo=e[5].postalCode)==null?void 0:Oo.readOnly)&&(fe.readOnly=Mi),b[0]&48&&fe.value!==e[5].postalCode.value&&V(fe,e[5].postalCode.value),e[2]==="true"?_e?_e.p(e,b):(_e=_a(e),_e.c(),_e.m(re,null)):_e&&(_e.d(1),_e=null),b[0]&32&&(pn=Object.keys(e[5].consents).length>0),pn?Pe?Pe.p(e,b):(Pe=Pa(e),Pe.c(),Pe.m(i,hn)):Pe&&(Pe.d(1),Pe=null),b[0]&4096&&Di!==(Di=e[12]("userProfileSaveChanges")+"")&&B(dn,Di),b[0]&1536&&Li!==(Li="PlayerDetailsSaveButton "+(e[9]&&e[10]?"":"PlayerButtonDisabled"))&&l(Bt,"class",Li),b[0]&256&&Ui!==(Ui="PlayerDetailsButtonsArea "+(e[8]?"PlayerDetailsButtonsAreaMobile":""))&&l(er,"class",Ui),e[11]?Se?Se.p(e,b):(Se=ka(e),Se.c(),Se.m(i,null)):Se&&(Se.d(1),Se=null),b[0]&256&&Ri!==(Ri="PlayerInfoWrapper "+(e[8]?"PlayerInfoWrapperMobile":""))&&l(r,"class",Ri)},d(J){J&&(M(t),M(r)),pe&&pe.d(J),he&&he.d(),Dt(ne,J),de&&de.d(),me&&me.d(),be&&be.d(),ve&&ve.d(),ye&&ye.d(),ge&&ge.d(),Ce&&Ce.d(),_e&&_e.d(),Pe&&Pe.d(),Se&&Se.d(),mn=!1,rt(yo)}}}function fa(e){let t,r,i=e[12]("welcomePanelTitle").replace("{fullName}",`${e[5].firstname.value} ${e[5].lastname.value}`)+"",n,o,a,u=e[12]("welcomePanelDescription")+"",c,p,f,m,v,_,E=e[5].firstname.value+"",C,w,x=e[5].lastname.value+"",N;return{c(){t=d("section"),r=d("h2"),n=k(i),o=P(),a=d("p"),c=k(u),p=P(),f=d("div"),m=d("div"),m.innerHTML='<svg viewBox="0 0 48 48" class="AvatarIcon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><circle cx="24" cy="24" r="22" fill="currentColor" opacity="0.12"></circle><circle cx="24" cy="19" r="7" fill="currentColor" opacity="0.35"></circle><path d="M10 38c3.6-7 11-8.5 14-8.5S34.4 31 38 38" fill="currentColor" opacity="0.35"></path></svg>',v=P(),_=d("div"),C=k(E),w=P(),N=k(x),l(r,"class","WelcomeSectionTitle"),l(a,"class","WelcomeSectionDescription"),l(m,"class","WelcomeSectionProfilePicture"),l(m,"aria-hidden","true"),l(_,"class","WelcomeSectionFullName"),l(f,"class","WelcomeSectionProfileRow"),l(f,"role","group"),l(t,"class","WelcomeSection"),l(t,"role","region")},m(S,R){L(S,t,R),s(t,r),s(r,n),s(t,o),s(t,a),s(a,c),s(t,p),s(t,f),s(f,m),s(f,v),s(f,_),s(_,C),s(_,w),s(_,N)},p(S,R){R[0]&4128&&i!==(i=S[12]("welcomePanelTitle").replace("{fullName}",`${S[5].firstname.value} ${S[5].lastname.value}`)+"")&&B(n,i),R[0]&4096&&u!==(u=S[12]("welcomePanelDescription")+"")&&B(c,u),R[0]&32&&E!==(E=S[5].firstname.value+"")&&B(C,E),R[0]&32&&x!==(x=S[5].lastname.value+"")&&B(N,x)},d(S){S&&M(t)}}}function pa(e){let t,r,i,n,o,a,u,c,p,f,m=e[12]("titleProfileInfo")+"",v,_,E;return{c(){t=d("div"),r=It("svg"),i=It("defs"),n=It("style"),o=k(`.aaa {
19
+ fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
20
+ }
21
+ `),a=It("g"),u=It("g"),c=It("path"),p=P(),f=d("h2"),v=k(m),l(c,"class","aaa"),l(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),l(c,"transform","translate(15 15) rotate(180)"),l(u,"transform","translate(20 158)"),l(a,"transform","translate(-20 -158)"),l(r,"xmlns","http://www.w3.org/2000/svg"),l(r,"width","15"),l(r,"height","15"),l(r,"viewBox","0 0 15 15"),l(f,"class","MyAccountCategoryTitleMobile"),l(t,"class","MenuReturnButton")},m(C,w){L(C,t,w),s(t,r),s(r,i),s(i,n),s(n,o),s(r,a),s(a,u),s(u,c),s(t,p),s(t,f),s(f,v),_||(E=[U(t,"click",e[17]),U(t,"keyup",null)],_=!0)},p(C,w){w[0]&4096&&m!==(m=C[12]("titleProfileInfo")+"")&&B(v,m)},d(C){C&&M(t),_=!1,rt(E)}}}function Ku(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=k(r),t.__value=n=e[84],V(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&B(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,V(t,t.__value))},d(o){o&&M(t)}}}function ec(e){let t,r=e[84]+"",i,n;return{c(){t=d("option"),i=k(r),t.selected=!0,t.__value=n=e[84],V(t,t.__value)},m(o,a){L(o,t,a),s(t,i)},p(o,a){a[0]&16&&r!==(r=o[84]+"")&&B(i,r),a[0]&16&&n!==(n=o[84])&&(t.__value=n,V(t,t.__value))},d(o){o&&M(t)}}}function ha(e){let t;function r(o,a){return o[84]===o[5].mobile.prefix?ec:Ku}let i=r(e),n=i(e);return{c(){n.c(),t=Ia()},m(o,a){n.m(o,a),L(o,t,a)},p(o,a){i===(i=r(o))&&n?n.p(o,a):(n.d(1),n=i(o),n&&(n.c(),n.m(t.parentNode,t)))},d(o){o&&M(t),n.d(o)}}}function da(e){let t,r=e[12]("userPhoneError")+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPhoneError")+"")&&B(i,r)},d(n){n&&M(t)}}}function ma(e){let t,r=e[12]("userPrefixError")+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("userPrefixError")+"")&&B(i,r)},d(n){n&&M(t)}}}function ba(e){let t,r=(e[0]=="true"?e[12]("profileSecurityQuestionError2"):e[12]("profileSecurityQuestionError"))+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityQuestionError2"):n[12]("profileSecurityQuestionError"))+"")&&B(i,r)},d(n){n&&M(t)}}}function va(e){let t,r=(e[0]=="true"?e[12]("profileSecurityAnswerError2"):e[12]("profileSecurityAnswerError"))+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4097&&r!==(r=(n[0]=="true"?n[12]("profileSecurityAnswerError2"):n[12]("profileSecurityAnswerError"))+"")&&B(i,r)},d(n){n&&M(t)}}}function ya(e){let t,r=e[12]("firstNameError")+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("firstNameError")+"")&&B(i,r)},d(n){n&&M(t)}}}function ga(e){let t,r=e[12]("lastNameError")+"",i;return{c(){t=d("p"),i=k(r),l(t,"class","InvalidInput")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("lastNameError")+"")&&B(i,r)},d(n){n&&M(t)}}}function Ca(e){let t,r,i=e[12]("iban")+"",n,o,a,u,c,p;return{c(){var f,m;t=d("div"),r=d("label"),n=k(i),o=P(),a=d("input"),l(r,"for","Iban"),l(a,"id","Iban"),l(a,"type","text"),l(a,"class",u=`${(f=e[5].iban)!=null&&f.readOnly?"FieldDisabled":""}`),a.value=c=e[5].iban.value,a.readOnly=p=(m=e[5].iban)==null?void 0:m.readOnly,l(t,"class","PlayerInfoBox")},m(f,m){L(f,t,m),s(t,r),s(r,n),s(t,o),s(t,a)},p(f,m){var v,_;m[0]&4096&&i!==(i=f[12]("iban")+"")&&B(n,i),m[0]&48&&u!==(u=`${(v=f[5].iban)!=null&&v.readOnly?"FieldDisabled":""}`)&&l(a,"class",u),m[0]&48&&c!==(c=f[5].iban.value)&&a.value!==c&&(a.value=c),m[0]&48&&p!==(p=(_=f[5].iban)==null?void 0:_.readOnly)&&(a.readOnly=p)},d(f){f&&M(t)}}}function _a(e){let t,r=e[12]("locationDetailsDescription")+"",i;return{c(){t=d("div"),i=k(r),l(t,"class","LocationDetailsDescription")},m(n,o){L(n,t,o),s(t,i)},p(n,o){o[0]&4096&&r!==(r=n[12]("locationDetailsDescription")+"")&&B(i,r)},d(n){n&&M(t)}}}function Pa(e){var p;let t,r,i=e[12]("userNotifications")+"",n,o,a,u=Qe(Object.keys((p=e[5].consents)!=null?p:{})),c=[];for(let f=0;f<u.length;f+=1)c[f]=Aa(sa(e,u,f));return{c(){t=d("div"),r=d("h3"),n=k(i),o=P(),a=d("section");for(let f=0;f<c.length;f+=1)c[f].c();l(t,"class","PlayerNotificationsHeader"),l(a,"class","PlayerNotificationsCheckboxArea")},m(f,m){L(f,t,m),s(t,r),s(r,n),L(f,o,m),L(f,a,m);for(let v=0;v<c.length;v+=1)c[v]&&c[v].m(a,null)},p(f,m){var v;if(m[0]&4096&&i!==(i=f[12]("userNotifications")+"")&&B(n,i),m[0]&807008){u=Qe(Object.keys((v=f[5].consents)!=null?v:{}));let _;for(_=0;_<u.length;_+=1){const E=sa(f,u,_);c[_]?c[_].p(E,m):(c[_]=Aa(E),c[_].c(),c[_].m(a,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=u.length}},d(f){f&&(M(t),M(o),M(a)),Dt(c,f)}}}function Sa(e){let t,r=e[14].includes(e[78]),i,n,o=r&&Ea(e),a=Qe(e[5].consents[e[78]]),u=[];for(let c=0;c<a.length;c+=1)u[c]=wa(la(e,a,c));return{c(){t=d("div"),o&&o.c(),i=P();for(let c=0;c<u.length;c+=1)u[c].c();n=P(),l(t,"class","ConsentGroup")},m(c,p){L(c,t,p),o&&o.m(t,null),s(t,i);for(let f=0;f<u.length;f+=1)u[f]&&u[f].m(t,null);s(t,n)},p(c,p){if(p[0]&32&&(r=c[14].includes(c[78])),r?o?o.p(c,p):(o=Ea(c),o.c(),o.m(t,i)):o&&(o.d(1),o=null),p[0]&544864){a=Qe(c[5].consents[c[78]]);let f;for(f=0;f<a.length;f+=1){const m=la(c,a,f);u[f]?u[f].p(m,p):(u[f]=wa(m),u[f].c(),u[f].m(t,n))}for(;f<u.length;f+=1)u[f].d(1);u.length=a.length}},d(c){c&&M(t),o&&o.d(),Dt(u,c)}}}function Ea(e){let t,r,i,n,o=e[78],a,u,c,p,f=e[12](`consentCategoryHeader${e[78]}`)+"",m,v,_;const E=()=>e[44](i,o),C=()=>e[44](null,o);return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=k(f),i.checked=n=e[5].consents[e[78]].every(xa),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class","PlayerNotificationBox Parent")},m(w,x){L(w,t,x),s(t,r),s(r,i),E(),s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),v||(_=U(i,"change",function(){Gt(e[18](e[78]))&&e[18](e[78]).apply(this,arguments)}),v=!0)},p(w,x){e=w,x[0]&48&&n!==(n=e[5].consents[e[78]].every(xa))&&(i.checked=n),o!==e[78]&&(C(),o=e[78],E()),x[0]&4128&&f!==(f=e[12](`consentCategoryHeader${e[78]}`)+"")&&B(m,f)},d(w){w&&M(t),C(),v=!1,_()}}}function wa(e){let t,r,i,n=e[78],o=e[81],a,u,c,p,f=e[12](`${e[81].tagCode}Consent`)+"",m,v,_,E;const C=()=>e[45](i,n,o),w=()=>e[45](null,n,o);function x(){e[46].call(i,e[82],e[83])}return{c(){t=d("div"),r=d("label"),i=d("input"),a=P(),u=d("span"),c=P(),p=d("span"),m=k(f),l(i,"type","checkbox"),l(u,"class","Checkmark"),l(t,"class",v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))},m(N,S){L(N,t,S),s(t,r),s(r,i),C(),i.checked=e[81].status,s(r,a),s(r,u),s(r,c),s(r,p),s(p,m),_||(E=[U(i,"change",x),U(i,"change",function(){Gt(e[19](e[78]))&&e[19](e[78]).apply(this,arguments)})],_=!0)},p(N,S){e=N,(n!==e[78]||o!==e[81])&&(w(),n=e[78],o=e[81],C()),S[0]&48&&(i.checked=e[81].status),S[0]&4128&&f!==(f=e[12](`${e[81].tagCode}Consent`)+"")&&B(m,f),S[0]&48&&v!==(v="PlayerNotificationBox "+(e[14].includes(e[78])?"Child":""))&&l(t,"class",v)},d(N){N&&M(t),w(),_=!1,rt(E)}}}function Aa(e){var i;let t,r=((i=e[5].consents[e[78]])==null?void 0:i.length)>0&&Sa(e);return{c(){r&&r.c(),t=Ia()},m(n,o){r&&r.m(n,o),L(n,t,o)},p(n,o){var a;((a=n[5].consents[n[78]])==null?void 0:a.length)>0?r?r.p(n,o):(r=Sa(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&M(t),r&&r.d(n)}}}function ka(e){let t,r,i=e[12]("userProfileConfirmationMessage")+"",n;return{c(){t=d("section"),r=d("p"),n=k(i),l(r,"class","PlayerDetailsConfirmSaveText"),l(t,"class","PlayerDetailsConfirmSave")},m(o,a){L(o,t,a),s(t,r),s(r,n)},p(o,a){a[0]&4096&&i!==(i=o[12]("userProfileConfirmationMessage")+"")&&B(n,i)},d(o){o&&M(t)}}}function tc(e){let t,r,i,n,o,a,u,c,p,f,m,v,_,E,C,w,x,N,S,R,F=Qe({length:10}),$=[];for(let h=0;h<F.length;h+=1)$[h]=Zu(qu(e,F,h));let ae=Qe({length:4}),te=[];for(let h=0;h<ae.length;h+=1)te[h]=Yu(Xu(e,ae,h));let ze=Qe({length:4}),se=[];for(let h=0;h<ze.length;h+=1)se[h]=Ju(Qu(e,ze,h));let D=!e[7]&&ca(e);return{c(){t=d("div"),r=d("div"),i=d("div"),i.innerHTML='<ui-skeleton structure="title" width="auto" height="25px"></ui-skeleton>',n=P(),o=d("div"),o.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',a=P(),u=d("div");for(let h=0;h<$.length;h+=1)$[h].c();c=P(),p=d("div"),p.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',f=P(),m=d("div");for(let h=0;h<te.length;h+=1)te[h].c();v=P(),_=d("div"),_.innerHTML='<ui-skeleton structure="text" width="auto" height="15px"></ui-skeleton>',E=P(),C=d("div");for(let h=0;h<se.length;h+=1)se[h].c();w=P(),x=d("div"),x.innerHTML='<ui-skeleton structure="rectangle" width="auto" height="45px"></ui-skeleton>',S=P(),R=d("div"),D&&D.c(),l(i,"class","skeletonHeaderText"),l(o,"class","skeletonSectionText"),l(u,"class","skeletonSectionContainer"),l(p,"class","skeletonSectionText"),l(m,"class","skeletonSectionContainer"),l(_,"class","skeletonSectionText"),l(C,"class","skeletonConsentsContainer"),l(x,"class","skeletonButton"),l(r,"class","skeletonWrapper"),l(t,"class",N="skeletonContainer "+(e[7]?"":"Hidden"))},m(h,j){L(h,t,j),s(t,r),s(r,i),s(r,n),s(r,o),s(r,a),s(r,u);for(let Q=0;Q<$.length;Q+=1)$[Q]&&$[Q].m(u,null);s(r,c),s(r,p),s(r,f),s(r,m);for(let Q=0;Q<te.length;Q+=1)te[Q]&&te[Q].m(m,null);s(r,v),s(r,_),s(r,E),s(r,C);for(let Q=0;Q<se.length;Q+=1)se[Q]&&se[Q].m(C,null);s(r,w),s(r,x),L(h,S,j),L(h,R,j),D&&D.m(R,null),e[47](R)},p(h,j){j[0]&128&&N!==(N="skeletonContainer "+(h[7]?"":"Hidden"))&&l(t,"class",N),h[7]?D&&(D.d(1),D=null):D?D.p(h,j):(D=ca(h),D.c(),D.m(R,null))},i:we,o:we,d(h){h&&(M(t),M(S),M(R)),Dt($,h),Dt(te,h),Dt(se,h),D&&D.d(),e[47](null)}}}const xa=e=>e.status;function rc(e,t,r){let i;ys(e,Au,y=>r(12,i=y));let{userid:n}=t,{sessionid:o}=t,{endpoint:a}=t,{lang:u="en"}=t,{clientstyling:c}=t,{clientstylingurl:p}=t,{mbsource:f}=t,{translationurl:m}=t,{custominputtextswitch:v="false"}=t,{showwelcomepanel:_="false"}=t,{showlocationdetailsdescription:E="false"}=t,{disabledfields:C="username,motherMaidenName,personalId,phone,region,userActiveStatus,userRoles,email,firstname,lastname,language,birth,currency,iban,title,countryCode,countryName"}=t,w,x=[],N=[],S={},R=[],F=[],$=[],ae,te,ze=window.navigator.userAgent,se="";const D={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"},h={},j={},Q=["Marketing","Casino","Sports","Bingo","VirtualSports"],zr=["Casino","Sports","Bingo","VirtualSports"];let Re=!0,Z=!1,Ne=!1,Ge=!1,Ze=!0,X=!1;const it={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/,name:new RegExp("^(?!.*[-'’·\\s]{2})(?![-'’·\\s])[A-Za-zÀ-ÖØ-öø-ÿĀ-žḀ-ỿ’'·\\- ]{2,30}(?<![-'’·\\s])$")};window.matchMedia("(min-width: 768px)");const Me=y=>{try{return JSON.stringify(y)}catch(g){return null}},je=y=>Te(this,null,function*(){try{const g=new URL(`${a}${y}`),z={method:"GET",headers:new Headers({"X-SessionID":o})},Y=yield fetch(g.href,z);if(!Y.ok)throw new Error(`HTTP error! Status: ${Y.status}`);return yield Y.json()}catch(g){throw console.error("Fetch error:",g),g}});function Qt(){return Te(this,null,function*(){r(30,S=yield je(`/v1/player/${n}/profile`))})}function dt(){return Te(this,null,function*(){r(31,R=(yield je(`/v1/player/${n}/consent`)).items)})}function Gr(){return Te(this,null,function*(){r(32,F=(yield je("/v1/player/consentRequirements")).items)})}function Be(){return Te(this,null,function*(){r(29,N=(yield je("/v1/player/countries")).countries)})}const Ye=()=>{Object.keys(S).forEach(g=>{var A,z,Y,G,H,Ve;switch(r(5,h[g]={},h),g){case"birth":const ee=((A=S[g])==null?void 0:A.day)||"",We=((z=S[g])==null?void 0:z.month)||"",et=((Y=S[g])==null?void 0:Y.year)||"";r(5,h[g].value=`${ee}/${We}/${et}`,h);break;case"country":r(5,h[g].countryName=((G=N.find(De=>De.Alpha2Code===S.country))==null?void 0:G.Name)||"I.E. Ireland",h),r(5,h[g].countryCode=S.country||"",h);break;case"mobile":r(5,h[g].prefix=(H=S.mobile)==null?void 0:H.prefix,h),r(5,h[g].number=(Ve=S.mobile)==null?void 0:Ve.number,h),r(5,h.mobile.isPrefixValid=!0,h),r(5,h.mobile.isNumberValid=!0,h);break;default:r(5,h[g].value=S[g],h)}r(5,h[g].readOnly=$.includes(g),h),r(5,h[g].isValid=!0,h)}),r(5,h.consents={},h),F.forEach(g=>{if(Q.includes(g.category)&&!g.mustAccept){const A=R.find(z=>z.tagCode===g.tagCode);r(5,h.consents[g.category]=h.consents[g.category]||[],h),A?h.consents[g.category].push({tagCode:A.tagCode,status:A.status==="Accepted"}):h.consents[g.category].push({tagCode:g.tagCode,status:!1})}});const y=h.consents;for(const[g,A]of Object.entries(y))j[g]||(r(6,j[g]={},j),r(6,j[g].parent=null,j),A.forEach(z=>r(6,j[g][z.tagCode]=null,j)));te=Me(h),ae=Me(h.consents),r(7,Re=!1)},mt=y=>y.split(","),Xt=()=>{const y=new URL(`${a}/v1/player/operatorSupportedPhoneCodes`);fetch(y.href).then(g=>g.json()).then(g=>r(4,x=g.phoneCodes)).catch(g=>console.log("Failed to fetch phone codes:",g))},Vr=()=>(r(10,Ze=Object.values(h).every(y=>!y||typeof y.isValid!="boolean"?!0:y.isValid)),Ze),bt=()=>{r(9,Ne=Me(h)!==te)},Wr=()=>{Ge=Me(h.consents)!==ae},q=y=>()=>{var z,Y;const g=y==="mobilePrefix"||y==="mobileNumber";if(g&&((z=h.mobile)!=null&&z.readOnly)||(Y=h[y])!=null&&Y.readOnly)return;const A=g?"":h[y].value.trim();switch(y){case"lastname":case"firstname":r(5,h[y].isValid=it.name.test(A),h);break;case"mobilePrefix":case"mobileNumber":{const G=!!h.mobile.prefix,H=!!h.mobile.number&&h.mobile.number.length>=5&&h.mobile.number.length<=12;r(5,h.mobile.isPrefixValid=G,h),r(5,h.mobile.isNumberValid=H,h),r(5,h.mobile.isValid=G&&H,h)}break;case"city":r(5,h[y].isValid=A&&A.length<=50,h);break;case"postalCode":r(5,h[y].isValid=A&&A.length<=20,h);break;case"address1":case"address2":r(5,h[y].isValid=A&&A.length<=100,h);break;case"securityQuestion":case"securityAnswer":if(r(5,h[y].isValid=!1,h),A)switch(v){case"true":it.document.test(A)&&A.length<=50&&r(5,h[y].isValid=!0,h);break;case"false":A&&A.length<=120&&r(5,h[y].isValid=!0,h);break}break;case"consents":Wr();break}bt(),Vr()},nt=()=>{r(11,X=!0),setTimeout(()=>{r(11,X=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("profileUpdateSuccess")}},window.location.href)},ot=()=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:se}},window.location.href)},$r=y=>Te(this,null,function*(){if(y.preventDefault(),Ne&&!Ge&&Ze){at().then(g=>Te(this,null,function*(){g?(r(30,S=yield je(`/v1/player/${n}/profile`)),r(9,Ne=!1),nt()):ot()}));return}if(Ne&&Ge&&Ze){Promise.all([at(),He()]).then(g=>Te(this,null,function*(){g[0]&&g[1]?(r(31,R=(yield je(`/v1/player/${n}/consent`)).items),r(30,S=yield je(`/v1/player/${n}/profile`)),r(9,Ne=!1),Ge=!1,nt()):ot()}));return}}),at=()=>Te(this,null,function*(){const y=new URL(`${a}/v1/player/${n}/profile`),g=new Headers;g.append("X-SessionID",o),g.append("Content-Type","application/json"),g.append("Accept","application/json");const A=Object.entries(h).reduce((G,[H,Ve])=>{var We;const ee=Ve;if(!ee.readOnly)if(H==="mobile"||H==="phone")G[H]={prefix:ee.prefix,number:ee.number};else if(H==="consents")G[H]=ee;else if(H==="country")G[H]=ee.countryCode;else if(H==="birth"&&typeof ee.value=="string"){const et=ee.value.split("/");G[H]={year:et[2],month:et[1],day:et[0]}}else G[H]=(We=ee.value)!=null?We:null;return G},{}),z=Me(A);if(z===null)return!1;const Y={method:"POST",headers:g,body:z};try{const G=yield fetch(y.href,Y);if(G.status===200)return!0;const H=yield G.json();return qt(H),!1}catch(G){return console.error(G),qt(G),!1}}),qt=y=>{var A;const g=(A=y.thirdPartyResponse)==null?void 0:A.message;g&&g.includes("Mandatory input parameter is missing: mobilePrefix")?(se=i("userPrefixError"),q("mobilePrefix")()):se=i("userProfileUpdateError")},He=()=>Te(this,null,function*(){const y=[],g=h.consents;for(let H of Object.values(g).flat())y.push({tagCode:H.tagCode,status:H.status?"Accepted":"Denied"});const A=new URL(`${a}/v1/player/${n}/consent`),z=new Headers;z.append("X-SessionID",o),z.append("Content-Type","application/json"),z.append("Accept","application/json");const Y=Me({items:y});if(Y===null)return!1;const G={method:"POST",headers:z,body:Y};return yield fetch(A.href,G).then(H=>H.status==200,H=>(console.error(H),!1))}),Je=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:Z},window.location.href)},vt=()=>{ku(u)},Zt=()=>{fetch(m).then(g=>g.json()).then(g=>{Object.keys(g).forEach(A=>{Jo(A,g[A])})}).catch(g=>{console.log(g)})};Object.keys(Ko).forEach(y=>{Jo(y,Ko[y])});const Qr=y=>g=>{h.consents[y].forEach(A=>{A.status=g.target.checked,Object.values(j[y]).forEach(z=>{z&&(z.checked=A.status)})}),q("consents")()},yt=y=>g=>{j[y].parent&&r(6,j[y].parent.checked=h.consents[y].every(A=>A.status),j),q("consents")()},st=y=>Array.isArray(y)?y.length>0:Object.keys(y).length>0;As(()=>(Wu(ze)&&r(8,Z=!0),()=>{}));function K(){h.mobile.prefix=Ss(this),r(5,h),r(4,x)}function gt(){h.mobile.number=this.value,r(5,h),r(4,x)}function Ct(){h.securityQuestion.value=this.value,r(5,h),r(4,x)}function Xr(){h.securityAnswer.value=this.value,r(5,h),r(4,x)}function _t(){h.firstname.value=this.value,r(5,h),r(4,x)}function qr(){h.lastname.value=this.value,r(5,h),r(4,x)}function Ke(){h.country.countryName=this.value,r(5,h),r(4,x)}function Pt(){h.city.value=this.value,r(5,h),r(4,x)}function St(){h.address1.value=this.value,r(5,h),r(4,x)}function Yt(){h.address2.value=this.value,r(5,h),r(4,x)}function Zr(){h.postalCode.value=this.value,r(5,h),r(4,x)}function Ae(y,g){Lr[y?"unshift":"push"](()=>{j[g].parent=y,r(6,j)})}function Et(y,g,A){Lr[y?"unshift":"push"](()=>{j[g][A.tagCode]=y,r(6,j)})}function lt(y,g){y[g].status=this.checked,r(5,h),r(4,x)}function wt(y){Lr[y?"unshift":"push"](()=>{w=y,r(3,w)})}return e.$$set=y=>{"userid"in y&&r(20,n=y.userid),"sessionid"in y&&r(21,o=y.sessionid),"endpoint"in y&&r(22,a=y.endpoint),"lang"in y&&r(23,u=y.lang),"clientstyling"in y&&r(24,c=y.clientstyling),"clientstylingurl"in y&&r(25,p=y.clientstylingurl),"mbsource"in y&&r(26,f=y.mbsource),"translationurl"in y&&r(27,m=y.translationurl),"custominputtextswitch"in y&&r(0,v=y.custominputtextswitch),"showwelcomepanel"in y&&r(1,_=y.showwelcomepanel),"showlocationdetailsdescription"in y&&r(2,E=y.showlocationdetailsdescription),"disabledfields"in y&&r(28,C=y.disabledfields)},e.$$.update=()=>{e.$$.dirty[0]&7340032&&a&&n&&o&&Qt()&&dt()&&Gr(),e.$$.dirty[0]&4194304&&a&&Be()&&Xt(),e.$$.dirty[0]&1610612736|e.$$.dirty[1]&3&&st(S)&&st(R)&&st(F)&&st(N)&&Ye(),e.$$.dirty[0]&8388608&&u&&vt(),e.$$.dirty[0]&268435456&&C&&($=mt(C)),e.$$.dirty[0]&16777224&&c&&w&&xu(w,c),e.$$.dirty[0]&33554440&&p&&w&&Bu(w,p),e.$$.dirty[0]&67108872&&f&&w&&Hu(w,`${f}.Style`),e.$$.dirty[0]&134217728&&m&&Zt()},[v,_,E,w,x,h,j,Re,Z,Ne,Ze,X,i,D,zr,q,$r,Je,Qr,yt,n,o,a,u,c,p,f,m,C,N,S,R,F,K,gt,Ct,Xr,_t,qr,Ke,Pt,St,Yt,Zr,Ae,Et,lt,wt]}class fs extends Us{constructor(t){super(),Ds(this,t,rc,tc,Ha,{userid:20,sessionid:21,endpoint:22,lang:23,clientstyling:24,clientstylingurl:25,mbsource:26,translationurl:27,custominputtextswitch:0,showwelcomepanel:1,showlocationdetailsdescription:2,disabledfields:28},$u,[-1,-1,-1])}get userid(){return this.$$.ctx[20]}set userid(t){this.$$set({userid:t}),Ee()}get sessionid(){return this.$$.ctx[21]}set sessionid(t){this.$$set({sessionid:t}),Ee()}get endpoint(){return this.$$.ctx[22]}set endpoint(t){this.$$set({endpoint:t}),Ee()}get lang(){return this.$$.ctx[23]}set lang(t){this.$$set({lang:t}),Ee()}get clientstyling(){return this.$$.ctx[24]}set clientstyling(t){this.$$set({clientstyling:t}),Ee()}get clientstylingurl(){return this.$$.ctx[25]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),Ee()}get mbsource(){return this.$$.ctx[26]}set mbsource(t){this.$$set({mbsource:t}),Ee()}get translationurl(){return this.$$.ctx[27]}set translationurl(t){this.$$set({translationurl:t}),Ee()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),Ee()}get showwelcomepanel(){return this.$$.ctx[1]}set showwelcomepanel(t){this.$$set({showwelcomepanel:t}),Ee()}get showlocationdetailsdescription(){return this.$$.ctx[2]}set showlocationdetailsdescription(t){this.$$set({showlocationdetailsdescription:t}),Ee()}get disabledfields(){return this.$$.ctx[28]}set disabledfields(t){this.$$set({disabledfields:t}),Ee()}}Ls(fs,{userid:{},sessionid:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},custominputtextswitch:{},showwelcomepanel:{},showlocationdetailsdescription:{},disabledfields:{}},[],[],!0);exports.default=fs;