@everymatrix/player-profile-info 1.43.4 → 1.44.0

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.
@@ -1,2 +1,2 @@
1
- ((e,r)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).app=r()})(this,function(){function p(){}function B(e){return e()}function T(){return Object.create(null)}function at(e){e.forEach(B)}function bt(e){return"function"==typeof e}function _(e,r){return e!=e?r==r:e!==r||e&&"object"==typeof e||"function"==typeof e}function z(e,...r){if(null==e)return p;let t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function st(e,r){e.appendChild(r)}function lt(e,r,t){e.insertBefore(r,t||null)}function ut(e){e.parentNode&&e.parentNode.removeChild(e)}function ct(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ht(e){return document.createTextNode(e)}function pt(){return ht(" ")}function ft(e,r,t,o){return e.addEventListener(r,t,o),()=>e.removeEventListener(r,t,o)}function dt(e,r,t){null==t?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}function mt(e,r){e.data!==(r=""+r)&&(e.data=r)}function yt(e,r){e.value=null==r?"":r}function gt(r,t,e){for(let e=0;e<r.options.length;e+=1){var o=r.options[e];if(o.__value===t)return o.selected=!0}e&&void 0===t||(r.selectedIndex=-1)}let x;function C(e){x=e}let f=[],$=[],i=[],N=[],I=Promise.resolve(),H=!1;function vt(e){i.push(e)}let O=new Set,n=0;function d(){if(0===n){let e=x;do{try{for(;n<f.length;){let e=f[n];n++,C(e),r=t=void 0;var r,t=e.$$;null!==t.fragment&&(t.update(),at(t.before_update),r=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,r),t.after_update.forEach(vt))}}catch(e){throw f.length=0,n=0,e}for(C(null),f.length=0,n=0;$.length;)$.pop()();for(let e=0;e<i.length;e+=1){var o=i[e];O.has(o)||(O.add(o),o())}}while(i.length=0,f.length);for(;N.length;)N.pop()();H=!1,O.clear(),C(e)}}let D=new Set;function M(o,r,e,t,i,n,a,s=[-1]){var l=x;C(o);let u=o.$$={fragment:null,ctx:[],props:n,update:p,not_equal:i,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(l?l.$$.context:[])),callbacks:T(),dirty:s,skip_bound:!1,root:r.target||l.$$.root},c=(a&&a(u.root),!1);if(u.ctx=e?e(o,r.props||{},(e,r,...t)=>{var t=t.length?t[0]:r;return u.ctx&&i(u.ctx[e],u.ctx[e]=t)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](t),c)&&(t=e,-1===(e=o).$$.dirty[0]&&(f.push(e),H||(H=!0,I.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31),r}):[],u.update(),c=!0,at(u.before_update),u.fragment=!!t&&t(u.ctx),r.target){if(r.hydrate){n=r.target;let e=Array.from(n.childNodes);u.fragment&&u.fragment.l(e),e.forEach(ut)}else u.fragment&&u.fragment.c();r.intro&&(s=o.$$.fragment)&&s.i&&(D.delete(s),s.i(void 0));var h=o,a=r.customElement,{fragment:e,after_update:t}=h.$$;e&&e.m(r.target,r.anchor),a||vt(()=>{var e=h.$$.on_mount.map(B).filter(bt);h.$$.on_destroy?h.$$.on_destroy.push(...e):at(e),h.$$.on_mount=[]}),t.forEach(vt),d()}C(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(B).filter(bt);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,r,t){this[e]=t}disconnectedCallback(){at(this.$$.on_disconnect)}$destroy(){var e=this,r=1;if(null!==(e=e.$$).fragment){{var o=e.after_update;let r=[],t=[];i.forEach(e=>(-1===o.indexOf(e)?r:t).push(e)),t.forEach(e=>e()),i=r}at(e.on_destroy),e.fragment&&e.fragment.d(r),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=p}$on(e,r){if(!bt(r))return p;let t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(r),()=>{var e=t.indexOf(r);-1!==e&&t.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var k,R,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},U="URLSearchParams"in l,F="Symbol"in l&&"iterator"in Symbol,j="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),G="FormData"in l,Q="ArrayBuffer"in l;function V(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function W(e){return e="string"!=typeof e?String(e):e}function X(r){var e={next:function(){var e=r.shift();return{done:void 0===e,value:e}}};return F&&(e[Symbol.iterator]=function(){return e}),e}function u(r){this.map={},r instanceof u?r.forEach(function(e,r){this.append(r,e)},this):Array.isArray(r)?r.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):r&&Object.getOwnPropertyNames(r).forEach(function(e){this.append(e,r[e])},this)}function K(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Y(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Z(e){var r=new FileReader,t=Y(r);return r.readAsArrayBuffer(e),t}function q(e){var r;return e.slice?e.slice(0):((r=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),r.buffer)}function J(){return this.bodyUsed=!1,this._initBody=function(e){var r;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:j&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:G&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&j&&(r=e)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=q(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||R(e))?this._bodyArrayBuffer=q(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},j&&(this.blob=function(){var e=K(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return K(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(j)return this.blob().then(Z);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,r,t,o=K(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,r=Y(e=new FileReader),t=(t=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?t[1]:"utf-8",e.readAsText(o,t),r;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var r=new Uint8Array(e),t=new Array(r.length),o=0;o<r.length;o++)t[o]=String.fromCharCode(r[o]);return t.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},G&&(this.formData=function(){return this.text().then(re)}),this.json=function(){return this.text().then(JSON.parse)},this}Q&&(k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],R=ArrayBuffer.isView||function(e){return e&&-1<k.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,r){e=V(e),r=W(r);var t=this.map[e];this.map[e]=t?t+", "+r:r},u.prototype.delete=function(e){delete this.map[V(e)]},u.prototype.get=function(e){return e=V(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(V(e))},u.prototype.set=function(e,r){this.map[V(e)]=W(r)},u.prototype.forEach=function(e,r){for(var t in this.map)this.map.hasOwnProperty(t)&&e.call(r,this.map[t],t,this)},u.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),X(t)},u.prototype.values=function(){var r=[];return this.forEach(function(e){r.push(e)}),X(r)},u.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),X(t)},F&&(u.prototype[Symbol.iterator]=u.prototype.entries);var ee=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function c(e,r){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var t,o=(r=r||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",!r.headers&&this.headers||(this.headers=new u(r.headers)),this.method=(t=(e=r.method||this.method||"GET").toUpperCase(),-1<ee.indexOf(t)?t:e),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function re(e){var t=new FormData;return e.trim().split("&").forEach(function(e){var r;e&&(r=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),t.append(decodeURIComponent(r),decodeURIComponent(e)))}),t}function h(e,r){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(r=r||{},this.type="default",this.status=void 0===r.status?200:r.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===r.statusText?"":""+r.statusText,this.headers=new u(r.headers),this.url=r.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},J.call(c.prototype),J.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var te=[301,302,303,307,308],oe=(h.redirect=function(e,r){if(-1===te.indexOf(r))throw new RangeError("Invalid status code");return new h(null,{status:r,headers:{location:e}})},l.DOMException);try{new oe}catch(p){(oe=function(e,r){this.message=e,this.name=r;r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),oe.prototype.constructor=oe}function ie(o,s){return new Promise(function(i,e){var n=new c(o,s);if(n.signal&&n.signal.aborted)return e(new oe("Aborted","AbortError"));var t,a=new XMLHttpRequest;function r(){a.abort()}a.onload=function(){var e,o,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",o=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),t=r.shift().trim();if(t){r=r.join(":").trim();try{o.append(t,r)}catch(e){console.warn("Response "+e.message)}}}),o)},t=(0===n.url.indexOf("file://")&&(a.status<200||599<a.status)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new h(t,r))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new oe("Aborted","AbortError"))},0)},a.open(n.method,(r=>{try{return""===r&&l.location.href?l.location.href:r}catch(e){return r}})(n.url),!0),"include"===n.credentials?a.withCredentials=!0:"omit"===n.credentials&&(a.withCredentials=!1),"responseType"in a&&(j?a.responseType="blob":Q&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(t=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){t.push(V(e)),a.setRequestHeader(e,W(s.headers[e]))}),n.headers.forEach(function(e,r){-1===t.indexOf(r)&&a.setRequestHeader(r,e)})):n.headers.forEach(function(e,r){a.setRequestHeader(r,e)}),n.signal&&(n.signal.addEventListener("abort",r),a.onreadystatechange=function(){4===a.readyState&&n.signal.removeEventListener("abort",r)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})}ie.polyfill=!0,l.fetch||(l.fetch=ie,l.Headers=u,l.Request=c,l.Response=h),self.fetch.bind(self);var ne=function(e,r){return(ne=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,r){e.__proto__=r}:function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}))(e,r)};function ae(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}ne(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}function se(e){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&e[r],o=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,i,n=t.call(e),a=[];try{for(;(void 0===r||0<r--)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(i)throw i.error}}return a}function ue(e,r,t){if(t||2===arguments.length)for(var o,i=0,n=r.length;i<n;i++)!o&&i in r||((o=o||Array.prototype.slice.call(r,0,i))[i]=r[i]);return e.concat(o||Array.prototype.slice.call(r))}function m(e){return"function"==typeof e}function ce(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var he=ce(function(r){return function(e){r(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,r){return r+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function pe(e,r){e&&0<=(r=e.indexOf(r))&&e.splice(r,1)}t.prototype.unsubscribe=function(){var e,r,t,o,i;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=se(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(r){e={error:r}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(m(n))try{n()}catch(e){i=e instanceof he?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=se(n),u=l.next();!u.done;u=l.next()){var c=u.value;try{ye(c)}catch(e){i=null!=i?i:[],e instanceof he?i=ue(ue([],le(i)),le(e.errors)):i.push(e)}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(t)throw t.error}}}if(i)throw new he(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)ye(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&pe(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&pe(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((o=new t).closed=!0,o);var fe=t,de=fe.EMPTY;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function me(e){return e instanceof fe||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function ye(e){m(e)?e():e.unsubscribe()}var be=void 0,ge=!1,ve=!1,Ee={setTimeout:function(e,r){for(var t=[],o=2;o<arguments.length;o++)t[o-2]=arguments[o];var i=Ee.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ue([e,r],le(t))):setTimeout.apply(void 0,ue([e,r],le(t)))},clearTimeout:function(e){var r=Ee.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function we(){}var Pe=null;function Se(e){if(ge){var r=!Pe;if(r&&(Pe={errorThrown:!1,error:null}),e(),r){var r=Pe,t=r.errorThrown;if(Pe=null,t)throw r.error}}else e()}ae(r,Ae=fe),r.create=function(e,r,t){return new Ne(e,r,t)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ae.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ae,Be=r,Te=Function.prototype.bind;function r(e){var r=Ae.call(this)||this;return r.isStopped=!1,e?me(r.destination=e)&&e.add(r):r.destination=De,r}function _e(e,r){return Te.call(e,r)}He.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(e){Oe(e)}},He.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(e){Oe(e)}else Oe(e)},He.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Oe(e)}};var xe,Ce=He,Ne=(ae(Ie,xe=Be),Ie);function Ie(e,r,t){var o=xe.call(this)||this,t=m(e)||!e?{next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=t?t:void 0}:o&&ve?((r=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&_e(e.next,r),error:e.error&&_e(e.error,r),complete:e.complete&&_e(e.complete,r)}):e;return o.destination=new Ce(t),o}function He(e){this.partialObserver=e}function Oe(e){var r=e;Ee.setTimeout(function(){throw r})}var De={closed:!0,next:we,error:function(e){throw e},complete:we},o="function"==typeof Symbol&&Symbol.observable||"@@observable";a.prototype.lift=function(e){var r=new a;return r.source=this,r.operator=e,r},a.prototype.subscribe=function(e,r,t){var o,i=this,n=(o=e)&&o instanceof Be||o&&m(o.next)&&m(o.error)&&m(o.complete)&&me(o)?e:new Ne(e,r,t);return Se(function(){var e=i.operator,r=i.source;n.add(e?e.call(n,r):r?i._subscribe(n):i._trySubscribe(n))}),n},a.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},a.prototype.forEach=function(o,e){var i=this;return new(e=Le(e))(function(e,r){var t=new Ne({next:function(e){try{o(e)}catch(e){r(e),t.unsubscribe()}},error:r,complete:e});i.subscribe(t)})},a.prototype._subscribe=function(e){var r;return null==(r=this.source)?void 0:r.subscribe(e)},a.prototype[o]=function(){return this},a.prototype.pipe=function(){for(var r,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===(r=e).length?function(e){return e}:1===r.length?r[0]:function(e){return r.reduce(function(e,r){return r(e)},e)})(this)},a.prototype.toPromise=function(e){var o=this;return new(e=Le(e))(function(e,r){var t;o.subscribe(function(e){return t=e},function(e){return r(e)},function(){return e(t)})})},a.create=function(e){return new a(e)};var Me=a;function a(e){e&&(this._subscribe=e)}function Le(e){return null!=(e=null!=e?e:be)?e:Promise}var ke,Re,Ue,Fe=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ae(s,Ue=Me),s.prototype.lift=function(e){var r=new je(this,this);return r.operator=e,r},s.prototype._throwIfClosed=function(){if(this.closed)throw new Fe},s.prototype.next=function(i){var n=this;Se(function(){var r,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var t=se(n.currentObservers),o=t.next();!o.done;o=t.next())o.value.next(i)}catch(e){r={error:e}}finally{try{o&&!o.done&&(e=t.return)&&e.call(t)}finally{if(r)throw r.error}}}})},s.prototype.error=function(r){var t=this;Se(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=r;for(var e=t.observers;e.length;)e.shift().error(r)}})},s.prototype.complete=function(){var r=this;Se(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var e=r.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ue.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var r=this,t=this.hasError,o=this.isStopped,i=this.observers;return t||o?de:(this.currentObservers=null,i.push(e),new fe(function(){r.currentObservers=null,pe(i,e)}))},s.prototype._checkFinalizedStatuses=function(e){var r=this.hasError,t=this.thrownError,o=this.isStopped;r?e.error(t):o&&e.complete()},s.prototype.asObservable=function(){var e=new Me;return e.source=this,e},s.create=function(e,r){return new je(e,r)},s),je=(ae(Qe,Re=o),Qe.prototype.next=function(e){var r,t;null!=(t=null==(r=this.destination)?void 0:r.next)&&t.call(r,e)},Qe.prototype.error=function(e){var r,t;null!=(t=null==(r=this.destination)?void 0:r.error)&&t.call(r,e)},Qe.prototype.complete=function(){var e,r;null!=(r=null==(e=this.destination)?void 0:e.complete)&&r.call(e)},Qe.prototype._subscribe=function(e){var r;return null!=(r=null==(r=this.source)?void 0:r.subscribe(e))?r:de},Qe),Ge={now:function(){return(Ge.delegate||Date).now()},delegate:void 0},ze=(ae($e,ke=o),$e.prototype.next=function(e){var r=this,t=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,n=r._timestampProvider,r=r._windowTime;t||(o.push(e),i)||o.push(n.now()+r),this._trimBuffer(),ke.prototype.next.call(this,e)},$e.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),t=this._infiniteTimeWindow,o=this._buffer.slice(),i=0;i<o.length&&!e.closed;i+=t?1:2)e.next(o[i]);return this._checkFinalizedStatuses(e),r},$e.prototype._trimBuffer=function(){var e=this._bufferSize,r=this._timestampProvider,t=this._buffer,o=this._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<t.length&&t.splice(0,t.length-i),!o){for(var n=r.now(),a=0,s=1;s<t.length&&t[s]<=n;s+=2)a=s;a&&t.splice(0,a+1)}},$e);function $e(e,r,t){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===t&&(t=Ge);var o=ke.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=t,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}function Qe(e,r){var t=Re.call(this)||this;return t.destination=e,t.source=r,t}function s(){var e=Ue.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ve=[],We={},Xe=[];function Ke(o,i=p){let n,a=new Set;function s(e){if(_(o,e)&&(o=e,n)){let e=!Xe.length;for(let e of a)e[1](),Xe.push(e,o);if(e){for(let e=0;e<Xe.length;e+=2)Xe[e][0](Xe[e+1]);Xe.length=0}}}return{set:s,update:function(e){s(e(o))},subscribe:function(e,r=p){let t=[e,r];return a.add(t),1===a.size&&(n=i(s)||p),e(o),()=>{a.delete(t),0===a.size&&n&&(n(),n=null)}}}}function Ye(e,s,r){let l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Ke(r,r=>{let t=!1,o=[],i=0,n=p,a=()=>{var e;i||(n(),e=s(l?o[0]:o,r),c?r(e):n=bt(e)?e:p)},e=u.map((e,r)=>z(e,e=>{o[r]=e,i&=~(1<<r),t&&a()},()=>{i|=1<<r}));return t=!0,a(),function(){at(e),n(),t=!1}}).subscribe}}function Ze(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(r=Object.prototype.toString.call(e)))||"[object Date]"===r||e.$$typeof===qe);var r}var qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Je(e,r){return!1!==r.clone&&r.isMergeableObject(e)?ir(Array.isArray(e)?[]:{},e,r):e}function er(e,r,t){return e.concat(r).map(function(e){return Je(e,t)})}function rr(e){return Object.keys(e).concat((r=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]));var r}function tr(e,r){try{return r in e}catch(e){return!1}}function or(o,i,n){var a={};return n.isMergeableObject(o)&&rr(o).forEach(function(e){a[e]=Je(o[e],n)}),rr(i).forEach(function(e){var r,t;(!tr(r=o,t=e)||Object.hasOwnProperty.call(r,t)&&Object.propertyIsEnumerable.call(r,t))&&(tr(o,e)&&n.isMergeableObject(i[e])?a[e]=((r=n).customMerge&&"function"==typeof(r=r.customMerge(e))?r:ir)(o[e],i[e],n):a[e]=Je(i[e],n))}),a}function ir(e,r,t){(t=t||{}).arrayMerge=t.arrayMerge||er,t.isMergeableObject=t.isMergeableObject||Ze,t.cloneUnlessOtherwiseSpecified=Je;var o=Array.isArray(r);return o===Array.isArray(e)?o?t.arrayMerge(e,r,t):or(e,r,t):Je(r,t)}ir.all=function(e,t){if(Array.isArray(e))return e.reduce(function(e,r){return ir(e,r,t)},{});throw new Error("first argument should be an array")};var nr=ir,ar=function(e,r){return(ar=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,r){e.__proto__=r}:function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}))(e,r)};function sr(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}ar(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var y,b,lr,g=function(){return(g=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)};function ur(e,r,t){if(t||2===arguments.length)for(var o,i=0,n=r.length;i<n;i++)!o&&i in r||((o=o||Array.prototype.slice.call(r,0,i))[i]=r[i]);return e.concat(o||Array.prototype.slice.call(r))}function cr(e){return e.type===b.literal}function hr(e){return e.type===b.number}function pr(e){return e.type===b.date}function fr(e){return e.type===b.time}function dr(e){return e.type===b.select}function mr(e){return e.type===b.plural}function yr(e){return e.type===b.tag}function br(e){return e&&"object"==typeof e&&e.type===lr.number}function gr(e){return e&&"object"==typeof e&&e.type===lr.dateTime}(o=y=y||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=b=b||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=lr=lr||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vr=/(?:[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;var Er=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pr=/^(@+)?(\+|#+)?[rs]?$/g,Sr=/(\*)(0+)|(#+)(0+)|(0+)/g,Ar=/^(0+)$/;function Br(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Pr,function(e,r,t){return"string"!=typeof t?(o.minimumSignificantDigits=r.length,o.maximumSignificantDigits=r.length):"+"===t?o.minimumSignificantDigits=r.length:"#"===r[0]?o.maximumSignificantDigits=r.length:(o.minimumSignificantDigits=r.length,o.maximumSignificantDigits=r.length+("string"==typeof t?t.length:0)),""}),o}function Tr(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 _r(e){return Tr(e)||{}}function xr(e){for(var a={},r=0,t=e;r<t.length;r++){var o,i=t[r];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),i.options.reduce(function(e,r){return g(g({},e),_r(r))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),i.options.reduce(function(e,r){return g(g({},e),_r(r))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Sr,function(e,r,t,o,i,n){if(r)a.minimumIntegerDigits=t.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ar.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(wr.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wr,function(e,r,t,o,i,n){return"*"===t?a.minimumFractionDigits=r.length:o&&"#"===o[0]?a.maximumFractionDigits=o.length:i&&n?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+n.length):(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length),""});var n=i.options[0];"w"===n?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=g(g({},a),Br(n)))}else Pr.test(i.stem)?a=g(g({},a),Br(i.stem)):((n=Tr(i.stem))&&(a=g(g({},a),n)),(o=(e=>{var r;if("E"===e[0]&&"E"===e[1]?(r={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(r={notation:"scientific"},e=e.slice(1)),r){var t=e.slice(0,2);if("+!"===t?(r.signDisplay="always",e=e.slice(2)):"+?"===t&&(r.signDisplay="exceptZero",e=e.slice(2)),!Ar.test(e))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=e.length}return r})(i.stem))&&(a=g(g({},a),o)))}return a}var Cr={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Nr=new RegExp("^".concat(o.source,"*")),Ir=new RegExp("".concat(o.source,"*$"));function v(e,r){return{start:e,end:r}}var o=!!String.prototype.startsWith,Hr=!!String.fromCodePoint,Or=!!Object.fromEntries,Dr=!!String.prototype.codePointAt,Mr=!!String.prototype.trimStart,Lr=!!String.prototype.trimEnd,kr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rr=!0;try{Rr="a"===(null==(nt=Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:nt[0])}catch(p){Rr=!1}var Ur,Fr,jr=o?function(e,r,t){return e.startsWith(r,t)}:function(e,r,t){return e.slice(t,t+r.length)===r},Gr=Hr?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t,o="",i=e.length,n=0;n<i;){if(1114111<(t=e[n++]))throw RangeError(t+" is not a valid code point");o+=t<65536?String.fromCharCode(t):String.fromCharCode(55296+((t-=65536)>>10),t%1024+56320)}return o},zr=Or?Object.fromEntries:function(e){for(var r={},t=0,o=e;t<o.length;t++){var i=o[t];r[i[0]]=i[1]}return r},$r=Dr?function(e,r){return e.codePointAt(r)}:function(e,r){var t,o=e.length;if(!(r<0||o<=r))return(t=e.charCodeAt(r))<55296||56319<t||r+1===o||(o=e.charCodeAt(r+1))<56320||57343<o?t:o-56320+(t-55296<<10)+65536},Qr=Mr?function(e){return e.trimStart()}:function(e){return e.replace(Nr,"")},Vr=Lr?function(e){return e.trimEnd()}:function(e){return e.replace(Ir,"")};function Wr(e,r){return new RegExp(e,r)}Fr=Rr?(Ur=Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,r){return Ur.lastIndex=r,null!=(r=Ur.exec(e)[1])?r:""}):function(e,r){for(var t,o=[];;){var i=$r(e,r);if(void 0===i||Yr(i)||33<=(t=i)&&t<=35||36===t||37<=t&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||46<=t&&t<=47||58<=t&&t<=59||60<=t&&t<=62||63<=t&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||162<=t&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||8208<=t&&t<=8213||8214<=t&&t<=8215||8216===t||8217===t||8218===t||8219<=t&&t<=8220||8221===t||8222===t||8223===t||8224<=t&&t<=8231||8240<=t&&t<=8248||8249===t||8250===t||8251<=t&&t<=8254||8257<=t&&t<=8259||8260===t||8261===t||8262===t||8263<=t&&t<=8273||8274===t||8275===t||8277<=t&&t<=8286||8592<=t&&t<=8596||8597<=t&&t<=8601||8602<=t&&t<=8603||8604<=t&&t<=8607||8608===t||8609<=t&&t<=8610||8611===t||8612<=t&&t<=8613||8614===t||8615<=t&&t<=8621||8622===t||8623<=t&&t<=8653||8654<=t&&t<=8655||8656<=t&&t<=8657||8658===t||8659===t||8660===t||8661<=t&&t<=8691||8692<=t&&t<=8959||8960<=t&&t<=8967||8968===t||8969===t||8970===t||8971===t||8972<=t&&t<=8991||8992<=t&&t<=8993||8994<=t&&t<=9e3||9001===t||9002===t||9003<=t&&t<=9083||9084===t||9085<=t&&t<=9114||9115<=t&&t<=9139||9140<=t&&t<=9179||9180<=t&&t<=9185||9186<=t&&t<=9254||9255<=t&&t<=9279||9280<=t&&t<=9290||9291<=t&&t<=9311||9472<=t&&t<=9654||9655===t||9656<=t&&t<=9664||9665===t||9666<=t&&t<=9719||9720<=t&&t<=9727||9728<=t&&t<=9838||9839===t||9840<=t&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||10132<=t&&t<=10175||10176<=t&&t<=10180||10181===t||10182===t||10183<=t&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||10224<=t&&t<=10239||10240<=t&&t<=10495||10496<=t&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||10649<=t&&t<=10711||10712===t||10713===t||10714===t||10715===t||10716<=t&&t<=10747||10748===t||10749===t||10750<=t&&t<=11007||11008<=t&&t<=11055||11056<=t&&t<=11076||11077<=t&&t<=11078||11079<=t&&t<=11084||11085<=t&&t<=11123||11124<=t&&t<=11125||11126<=t&&t<=11157||11158===t||11159<=t&&t<=11263||11776<=t&&t<=11777||11778===t||11779===t||11780===t||11781===t||11782<=t&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||11790<=t&&t<=11798||11799===t||11800<=t&&t<=11801||11802===t||11803===t||11804===t||11805===t||11806<=t&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||11818<=t&&t<=11822||11823===t||11824<=t&&t<=11833||11834<=t&&t<=11835||11836<=t&&t<=11839||11840===t||11841===t||11842===t||11843<=t&&t<=11855||11856<=t&&t<=11857||11858===t||11859<=t&&t<=11903||12289<=t&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||12306<=t&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||12318<=t&&t<=12319||12320===t||12336===t||64830===t||64831===t||65093<=t&&t<=65094)break;o.push(i),r+=65536<=i?2:1}return Gr.apply(void 0,o)};E.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},E.prototype.parseMessage=function(e,r,t){for(var o=[];!this.isEOF();){var i,n=this.char();if(123===n){if((i=this.parseArgument(e,t)).err)return i;o.push(i.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==r&&"selectordinal"!==r){if(60===n&&!this.ignoreTag&&47===this.peek()){if(t)break;return this.error(y.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Kr(this.peek()||0)){if((i=this.parseTag(e,r)).err)return i}else if((i=this.parseLiteral(e,r)).err)return i;o.push(i.val)}else{n=this.clonePosition();this.bump(),o.push({type:b.pound,location:v(n,this.clonePosition())})}}}return{val:o,err:null}},E.prototype.parseTag=function(e,r){var t,o=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:b.literal,value:"<".concat(i,"/>"),location:v(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,r,!0)).err?e:(r=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Kr(this.char())?this.error(y.INVALID_TAG,v(e,this.clonePosition())):(t=this.clonePosition(),i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,v(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:b.tag,value:i,children:r,location:v(o,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,v(e,this.clonePosition())))):this.error(y.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(y.INVALID_TAG,v(o,this.clonePosition()))},E.prototype.parseTagName=function(){var e,r=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(r,this.offset())},E.prototype.parseLiteral=function(e,r){for(var t=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i)o+=i;else{i=this.tryParseUnquoted(e,r);if(i)o+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;o+=i}}}t=v(t,this.clonePosition());return{val:{type:b.literal,value:o,location:t},err:null}},E.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Kr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},E.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(t);this.bump()}return Gr.apply(void 0,r)},E.prototype.tryParseUnquoted=function(e,r){var t;return this.isEOF()||60===(t=this.char())||123===t||35===t&&("plural"===r||"selectordinal"===r)||125===t&&0<e?null:(this.bump(),Gr(t))},E.prototype.parseArgument=function(e,r){var t=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,v(t,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(y.MALFORMED_ARGUMENT,v(t,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:b.argument,value:o,location:v(t,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition())):this.parseArgumentOptions(e,r,o,t);default:return this.error(y.MALFORMED_ARGUMENT,v(t,this.clonePosition()))}},E.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),t=Fr(this.message,r),r=r+t.length;return this.bumpTo(r),{value:t,location:v(e,this.clonePosition())}},E.prototype.parseArgumentOptions=function(e,r,t,o){var i,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,v(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Vr(h.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(o)).err?u:(f=v(o,this.clonePosition()),l&&jr(null==l?void 0:l.style,"::",0)?(d=Qr(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:b.number,value:t,location:f,style:h.val},err:null}:0===d.length?this.error(y.EXPECT_DATE_TIME_SKELETON,f):(c=d,this.locale&&(c=((e,r)=>{for(var t="",o=0;o<e.length;o++){var i=e.charAt(o);if("j"===i){for(var n=0;o+1<e.length&&e.charAt(o+1)===i;)n++,o++;var a=1+(1&n),s=n<2?1:3+(n>>1),l=(e=>{var r,t=e.hourCycle;if(t=void 0===t&&e.hourCycles&&e.hourCycles.length?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")}return"root"!==(t=e.language)&&(r=e.maximize().region),(Cr[r||""]||Cr[t||""]||Cr["".concat(t,"-001")]||Cr["001"])[0]})(r);for("H"!=l&&"k"!=l||(s=0);0<s--;)t+="a";for(;0<a--;)t=l+t}else t+="J"===i?"H":i}return t})(d,this.locale)),p={type:lr.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(vr,function(e){var r=e.length;switch(e[0]){case"G":i.era=4===r?"long":5===r?"narrow":"short";break;case"y":i.year=2===r?"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":i.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==r&&5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][r-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][r-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][r-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][r-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":i.minute=["numeric","2-digit"][r-1];break;case"s":i.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=r<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""}),i):{}},{val:{type:"date"===a?b.date:b.time,value:t,location:f,style:p},err:null})):{val:{type:"number"===a?b.number:"date"===a?b.date:b.time,value:t,location:f,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,v(c,g({},c)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),f=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,a,r,p);return l.err?l:(u=this.tryParseArgumentClose(o)).err?u:(d=v(o,this.clonePosition()),"select"===a?{val:{type:b.select,value:t,options:zr(l.val),location:d},err:null}:{val:{type:b.plural,value:t,options:zr(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null});default:return this.error(y.INVALID_ARGUMENT_TYPE,v(n,s))}},E.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},E.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(t,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(r.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},E.prototype.parseNumberSkeletonFromString=function(e,r){var t=[];try{t=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var r=[],t=0,o=e.split(Er).filter(function(e){return 0<e.length});t<o.length;t++){var i=o[t].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var n=i[0],i=i.slice(1),a=0,s=i;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");r.push({stem:n,options:i})}return r})(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,r)}return{val:{type:lr.number,tokens:t,location:r,parsedOptions:this.shouldParseSkeletons?xr(t):{}},err:null}},E.prototype.tryParsePluralOrSelectOptions=function(e,r,t,o){for(var i=!1,n=[],a=new Set,s=o.value,l=o.location;;){if(0===s.length){var u=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR,y.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===r?y.DUPLICATE_SELECT_ARGUMENT_SELECTOR:y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,r,t);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;n.push([s,{value:u.val,location:v(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===r?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(y.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:n,err:null}},E.prototype.tryParseDecimalInteger=function(e,r){var t=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(t=-1);for(var i=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,n=10*n+(a-48),this.bump()}o=v(o,this.clonePosition());return i?kr(n*=t)?{val:n,err:null}:this.error(r,o):this.error(e,o)},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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=$r(this.message,e);if(void 0===r)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},E.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},E.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},E.prototype.bumpIf=function(e){if(jr(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},E.prototype.bumpUntil=function(e){var r=this.offset(),e=this.message.indexOf(e,r);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},E.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(e<r)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},E.prototype.bumpSpace=function(){for(;!this.isEOF()&&Yr(this.char());)this.bump()},E.prototype.peek=function(){var e,r;return!this.isEOF()&&(e=this.char(),r=this.offset(),null!=(r=this.message.charCodeAt(r+(65536<=e?2:1))))?r:null};var Xr=E;function E(e,r){void 0===r&&(r={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}function Kr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Yr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zr(e,r){r=g({shouldParseSkeletons:!0,requiresOtherClause:!0},r=void 0===r?{}:r);var t,e=new Xr(e,r).parse();if(e.err)throw(t=SyntaxError(y[e.err.kind])).location=e.err.location,t.originalMessage=e.err.message,t;return null!=r&&r.captureLocation||function t(e){e.forEach(function(e){if(delete e.location,dr(e)||mr(e))for(var r in e.options)delete e.options[r].location,t(e.options[r].value);else hr(e)&&br(e.style)||(pr(e)||fr(e))&&gr(e.style)?delete e.style.location:yr(e)&&t(e.children)})}(e.val),e.val}function qr(e,r){var t=r&&r.cache?r.cache:Et,o=r&&r.serializer?r.serializer:tt;return(r&&r.strategy?r.strategy:function(e,r){return rt(e,this,1===e.length?Jr:et,r.cache.create(),r.serializer)})(e,{cache:t,serializer:o})}function Jr(e,r,t,o){var t=null==o||"number"==typeof o||"boolean"==typeof o?o:t(o),i=r.get(t);return void 0===i&&(i=e.call(this,o),r.set(t,i)),i}function et(e,r,t){var o=Array.prototype.slice.call(arguments,3),t=t(o),i=r.get(t);return void 0===i&&(i=e.apply(this,o),r.set(t,i)),i}function rt(e,r,t,o,i){return t.bind(r,e,o,i)}var tt=function(){return JSON.stringify(arguments)};function ot(){this.cache=Object.create(null)}ot.prototype.get=function(e){return this.cache[e]},ot.prototype.set=function(e,r){this.cache[e]=r};var it,nt,Et={create:function(){return new ot}},wt={variadic:function(e,r){return rt(e,this,et,r.cache.create(),r.serializer)},monadic:function(e,r){return rt(e,this,Jr,r.cache.create(),r.serializer)}};(nt=it=it||{}).MISSING_VALUE="MISSING_VALUE",nt.INVALID_VALUE="INVALID_VALUE",nt.MISSING_INTL_API="MISSING_INTL_API";sr(Ot,Bt=Error),Ot.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Pt,St,At,Bt,Tt=Ot,_t=(sr(Ht,At=Tt),Ht),xt=(sr(It,St=Tt),It),Ct=(sr(Nt,Pt=Tt),Nt);function Nt(e,r){return Pt.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),it.MISSING_VALUE,r)||this}function It(e,r,t){return St.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),it.INVALID_VALUE,t)||this}function Ht(e,r,t,o){return At.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(t).join('", "'),'"'),it.INVALID_VALUE,o)||this}function Ot(e,r,t){e=Bt.call(this,e)||this;return e.code=r,e.originalMessage=t,e}function Dt(e,r,t,o,i,n,a){if(1===e.length&&cr(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(cr(c))s.push({type:w.literal,value:c.value});else if(c.type===b.pound)"number"==typeof n&&s.push({type:w.literal,value:t.getNumberFormat(r).format(n)});else{var h=c.value;if(!(i&&h in i))throw new Ct(h,a);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(pr(c)){var p="string"==typeof c.style?o.date[c.style]:gr(c.style)?c.style.parsedOptions:void 0;s.push({type:w.literal,value:t.getDateTimeFormat(r,p).format(h)})}else if(fr(c))p="string"==typeof c.style?o.time[c.style]:gr(c.style)?c.style.parsedOptions:o.time.medium,s.push({type:w.literal,value:t.getDateTimeFormat(r,p).format(h)});else if(hr(c))(p="string"==typeof c.style?o.number[c.style]:br(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:t.getNumberFormat(r,p).format(h)});else{if(yr(c)){var f=c.children,d=c.value,m=i[d];if("function"!=typeof m)throw new xt(d,"function",a);d=m(Dt(f,r,t,o,i,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(dr(c)){if(!(y=c.options[h]||c.options.other))throw new _t(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dt(y.value,r,t,o,i))}else if(mr(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',it.MISSING_INTL_API,a);var m=t.getPluralRules(r,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new _t(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dt(y.value,r,t,o,i,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,r){var t=e[e.length-1];return t&&t.type===w.literal&&r.type===w.literal?t.value+=r.value:e.push(r),e},[])}function Mt(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.object=1]="object";Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var r=Intl.NumberFormat.supportedLocalesOf(e);return 0<r.length?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=Zr,P.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"}}};var Lt=P;function P(e,r,t,o){var i,n,a=this;if(void 0===r&&(r=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,r){return e.length&&r.type===w.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=r.value:e.push(r.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Dt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=P.resolveLocale(r),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=P.formats,(n=t)?Object.keys(i).reduce(function(e,r){var t,o;return e[r]=(t=i[r],(o=n[r])?g(g(g({},t||{}),o||{}),Object.keys(t).reduce(function(e,r){return e[r]=g(g({},t[r]),o[r]||{}),e},{})):t),e},g({},i)):i),this.formatters=o&&o.formatters||{getNumberFormat:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.NumberFormat).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:wt.variadic}),getDateTimeFormat:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.DateTimeFormat).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt(r.dateTime),strategy:wt.variadic}),getPluralRules:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.PluralRules).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt(r.pluralRules),strategy:wt.variadic})}}let S={},kt=(e,r,t)=>t&&(r in S||(S[r]={}),e in S[r]||(S[r][e]=t),t),Rt=(r,t)=>{if(null!=t){if(t in S&&r in S[t])return S[t][r];var o=io(t);for(let e=0;e<o.length;e++){var i=((e,r)=>{if(!jt(e))return null;e=(e=>Ut[e]||null)(e);var o=r;if(null!=o){if(o in e)return e[o];var i=o.split(".");let t=e;for(let r=0;r<i.length;r++)if("object"==typeof t){if(0<r){let e=i.slice(r,i.length).join(".");if(e in t){t=t[e];break}}t=t[i[r]]}else t=void 0;return t}})(o[e],r);if(i)return kt(r,t,i)}}},Ut,Ft=Ke({});function jt(e){return e in Ut}function Gt(r,...t){delete S[r],Ft.update(e=>(e[r]=nr.all([e[r]||{},...t]),e))}Ye([Ft],([e])=>Object.keys(e)),Ft.subscribe(e=>Ut=e);let zt={};function $t(e){return zt[e]}function Qt(e){return null!=e&&io(e).some(e=>null==(e=$t(e))?void 0:e.size)}function Vt(o,e){return Promise.all(e.map(e=>{return r=o,t=e,zt[r].delete(t),0===zt[r].size&&delete zt[r],e().then(e=>e.default||e);var r,t})).then(e=>Gt(o,...e))}let Wt={};let Xt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};let Kt=Ke(!1);var Yt=Object.defineProperty,Hr=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,eo=(e,r,t)=>r in e?Yt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;let ro,to=Ke(null);function oo(e){return e.split("-").map((e,r,t)=>t.slice(0,r+1).join("-")).reverse()}function io(e,r=Xt.fallbackLocale){e=oo(e);return r?[...new Set([...e,...oo(r)])]:e}function A(){return null!=ro?ro:void 0}to.subscribe(e=>{ro=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let no=Hr(((e,r)=>{for(var t in r=r||{})qt.call(r,t)&&eo(e,t,r[t]);if(Zt)for(var t of Zt(r))Jt.call(r,t)&&eo(e,t,r[t]);return e})({},to),Or({set:r=>{if(r&&(e=>{if(null!=e){var r=io(e);for(let e=0;e<r.length;e++){var t=r[e];if(jt(t))return t}}})(r)&&Qt(r)){var t=Xt.loadingDelay;let e;return"undefined"!=typeof window&&null!=A()&&t?e=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),function e(r){var t;return Qt(r)?(t=io(r).map(e=>{var r=$t(e);return[e,r?[...r]:[]]}).filter(([,e])=>0<e.length),Wt[r]=Promise.all(t.map(([e,r])=>Vt(e,r))).then(()=>{if(Qt(r))return e(r);delete Wt[r]}),Wt[r]):r in Wt?Wt[r]:Promise.resolve()}(r).then(()=>{to.set(r)}).finally(()=>{clearTimeout(e),Kt.set(!1)})}return to.set(r)}}));var Dr=t=>{let o=Object.create(null);return e=>{var r=JSON.stringify(e);return r in o?o[r]:o[r]=t(e)}},ao=Object.defineProperty,so=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,co=(e,r,t)=>r in e?ao(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,ho=(e,r)=>{for(var t in r=r||{})lo.call(r,t)&&co(e,t,r[t]);if(so)for(var t of so(r))uo.call(r,t)&&co(e,t,r[t]);return e},po=(e,r)=>{var t={};for(o in e)lo.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&so)for(var o of so(e))r.indexOf(o)<0&&uo.call(e,o)&&(t[o]=e[o]);return t};let fo=(e,r)=>{var t=Xt.formats;if(e in t&&r in t[e])return t[e][r];throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`)},mo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(e=fo("number",t)),new Intl.NumberFormat(r,e)}),yo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?e=fo("date",t):0===Object.keys(e).length&&(e=fo("date","short")),new Intl.DateTimeFormat(r,e)}),bo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?e=fo("time",t):0===Object.keys(e).length&&(e=fo("time","short")),new Intl.DateTimeFormat(r,e)}),go=Dr((e,r=A())=>new Lt(e,r,Xt.formats,{ignoreTag:Xt.ignoreTag})),vo=Ye([no,Ft],()=>(e,r={})=>{let t,o,i,n,a=r;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=A(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Rt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(n=null!=(i=null==(o=(t=Xt).handleMissingMessage)?void 0:o.call(t,{locale:l,id:e,defaultValue:u}))?i:u)?n:e;if(!s)return c;let h=c;try{h=go(c,l).format(s)}catch(r){r instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,r.message)}return h});function Eo(e,r){Gt(e,r)}Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return bo(ho({locale:r},e))})(r).format(e)),Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return yo(ho({locale:r},e))})(r).format(e)),Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return mo(ho({locale:r},e))})(r).format(e)),Ye([no,Ft],()=>(e,r=A())=>Rt(e,r)),window.emWidgets={topic:(e,r=0)=>(-1==Ve.indexOf(e)&&(r=new ze(r),We[e]=r,Ve.push(e)),We[e])};let wo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu"},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"}};function Po(e,r,t){e=e.slice();return e[72]=r[t],e}function So(o){let i,R,U,F,j,G,z,$,Q,n,V,W,X,K,a,r,Y,s,Z,q,J,ee,l,re,u,te,oe,ie,c,ne,ae,se,le,ue,h,ce,he,pe,p,fe,de,me,ye,be,f,ge,ve,Ee,we,Pe,Se,Ae,d,Be,Te,_e,xe,Ce,Ne,m,Ie,He,Oe,De,Me,Le,y,ke,Re,Ue,Fe,je,Ge,b,ze,$e,Qe,Ve,We,Xe,g,Ke,Ye,Ze,qe,Je,er,v,rr,tr,or,ir,nr,ar,sr,t,lr,ur,cr,hr,E,pr,fr,dr,w,mr,yr,br,P,gr,vr,Er,S,wr,Pr,Sr,A,Ar,Br,Tr,B,_r,xr,Cr,T,Nr,Ir,Hr,Or,Dr,Mr,Lr,kr,Rr,Ur,Fr,jr=o[15]("titleProfileInfo")+"",Gr=o[15]("personalDetails")+"",zr=o[15]("userName")+"",$r=o[15]("userPhone")+"",Qr=("true"==o[0]?o[15]("profileSecurityQuestion2"):o[15]("profileSecurityQuestion"))+"",Vr=("true"==o[0]?o[15]("profileSecurityAnswer2"):o[15]("profileSecurityAnswer"))+"",Wr=o[15]("userEmail")+"",Xr=o[15]("dateOfBirth")+"",Kr=o[15]("firstName")+"",Yr=o[15]("lastName")+"",Zr=o[15]("userTitle")+"",qr=o[15]("currency")+"",Jr=o[15]("locationDetails")+"",et=o[15]("userCountry")+"",rt=o[15]("userCity")+"",tt=o[15]("userAddress")+"",ot=o[15]("userPostalCode")+"",it=o[15]("userProfileSaveChanges")+"",_=o[16]&&(t=>{let o,i,n,a,s,l,u,c,h,p,f,d,m,y=t[15]("titleProfileInfo")+"";return{c(){o=ct("div"),i=e("svg"),n=e("defs"),a=e("style"),s=ht(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=e("g"),u=e("g"),c=e("path"),h=pt(),p=ct("h2"),f=ht(y),dt(c,"class","aaa"),dt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),dt(c,"transform","translate(15 15) rotate(180)"),dt(u,"transform","translate(20 158)"),dt(l,"transform","translate(-20 -158)"),dt(i,"xmlns","http://www.w3.org/2000/svg"),dt(i,"width","15"),dt(i,"height","15"),dt(i,"viewBox","0 0 15 15"),dt(p,"class","MyAccountCategoryTitleMobile"),dt(o,"class","MenuReturnButton")},m(e,r){lt(e,o,r),st(o,i),st(i,n),st(n,a),st(a,s),st(i,l),st(l,u),st(u,c),st(o,h),st(o,p),st(p,f),d||(m=[ft(o,"click",t[22]),ft(o,"keyup",null)],d=!0)},p(e,r){32768&r[0]&&y!==(y=e[15]("titleProfileInfo")+"")&&mt(f,y)},d(e){e&&ut(o),d=!1,at(m)}}})(o),nt=o[3],x=[];for(let e=0;e<nt.length;e+=1)x[e]=_o(Po(o,nt,e));let C=!o[13]&&xo(o),N=!o[11]&&Co(o),I=!o[12]&&No(o),H=o[5].iban&&Io(o),O=!o[8]&&Ho(o),D=!o[10]&&Oo(o),M=!o[9]&&Do(o),L=(void 0!==o[4].acceptSMSOffers||void 0!==o[4].acceptNewsEmail)&&Mo(o),k=o[14]&&Ro(o);return{c(){i=ct("form"),_&&_.c(),R=pt(),U=ct("h2"),F=ht(jr),j=pt(),G=ct("div"),z=ct("h3"),$=ht(Gr),Q=pt(),n=ct("section"),V=ct("div"),W=ct("p"),X=ht(zr),K=pt(),a=ct("input"),Y=pt(),s=ct("div"),Z=ct("p"),q=ht($r),J=pt(),ee=ct("div"),l=ct("select");for(let e=0;e<x.length;e+=1)x[e].c();re=pt(),u=ct("input"),te=pt(),C&&C.c(),ie=pt(),c=ct("div"),ne=ct("label"),ae=ht(Qr),se=ht(":"),(le=ct("span")).textContent="*",ue=pt(),h=ct("input"),ce=pt(),N&&N.c(),pe=pt(),p=ct("div"),fe=ct("label"),de=ht(Vr),me=ht(":"),(ye=ct("span")).textContent="*",be=pt(),f=ct("input"),ge=pt(),I&&I.c(),Ee=pt(),we=ct("div"),Pe=ct("label"),Se=ht(Wr),Ae=pt(),d=ct("input"),Te=pt(),_e=ct("div"),xe=ct("label"),Ce=ht(Xr),Ne=pt(),m=ct("input"),He=pt(),Oe=ct("div"),De=ct("label"),Me=ht(Kr),Le=pt(),y=ct("input"),Re=pt(),Ue=ct("div"),Fe=ct("label"),je=ht(Yr),Ge=pt(),b=ct("input"),$e=pt(),Qe=ct("div"),Ve=ct("label"),We=ht(Zr),Xe=pt(),g=ct("input"),Ye=pt(),Ze=ct("div"),qe=ct("label"),Je=ht(qr),er=pt(),v=ct("input"),tr=pt(),H&&H.c(),or=pt(),ir=ct("div"),nr=ct("h3"),ar=ht(Jr),sr=pt(),t=ct("section"),lr=ct("div"),ur=ct("label"),cr=ht(et),hr=pt(),E=ct("input"),dr=pt(),w=ct("div"),mr=ct("label"),yr=ht(rt),br=pt(),P=ct("input"),gr=pt(),O&&O.c(),Er=pt(),S=ct("div"),wr=ct("label"),Pr=ht(tt),Sr=pt(),A=ct("input"),Ar=pt(),D&&D.c(),Tr=pt(),B=ct("div"),_r=ct("label"),xr=ht(ot),Cr=pt(),T=ct("input"),Nr=pt(),M&&M.c(),Hr=pt(),L&&L.c(),Or=pt(),Dr=ct("section"),Mr=ct("button"),Lr=ht(it),Rr=pt(),k&&k.c(),dt(U,"class","MyAccountCategoryTitle "+(o[16]?"MyAccountCategoryTitleNone":"")),dt(G,"class","PlayerNotificationsHeader"),dt(a,"type","text"),dt(a,"class","FieldDisabled"),a.value=r=o[5].username,a.readOnly=!0,dt(V,"class","PlayerInfoBox"),void 0===o[4].mobile.prefix&&vt(()=>o[33].call(l)),dt(u,"type","text"),dt(u,"placeholder",o[17].mobile.number),dt(ee,"class","PlayerPhoneNumber"),dt(s,"class",oe="PlayerInfoBox "+(o[13]?"":"InvalidField")),dt(le,"class","FormRequired"),dt(ne,"for","SecurityQuestion"),dt(h,"id","SecurityQuestion"),dt(h,"type","text"),dt(h,"placeholder",o[17].securityQuestion),dt(c,"class",he="PlayerInfoBox "+(o[11]?"":"InvalidField")),dt(ye,"class","FormRequired"),dt(fe,"for","SecurityAnswer"),dt(f,"id","SecurityAnswer"),dt(f,"type","text"),dt(f,"placeholder",o[17].securityAnswer),dt(p,"class",ve="PlayerInfoBox "+(o[12]?"":"InvalidField")),dt(Pe,"for","UserEmail"),dt(d,"id","UserEmail"),dt(d,"type","email"),dt(d,"class","FieldDisabled"),d.value=Be=o[5].email,d.readOnly=!0,dt(we,"class","PlayerInfoBox"),dt(xe,"for","DateOfBirth"),dt(m,"id","DateOfBirth"),dt(m,"type","text"),dt(m,"class","FieldDisabled"),m.value=Ie=o[5].birth,m.readOnly=!0,dt(_e,"class","PlayerInfoBox"),dt(De,"for","FirstName"),dt(y,"id","FirstName"),dt(y,"type","text"),dt(y,"class","FieldDisabled"),y.value=ke=o[5].firstname,y.readOnly=!0,dt(Oe,"class","PlayerInfoBox"),dt(Fe,"for","LastName"),dt(b,"id","LastName"),dt(b,"type","text"),dt(b,"class","FieldDisabled"),b.value=ze=o[5].lastname,b.readOnly=!0,dt(Ue,"class","PlayerInfoBox"),dt(Ve,"for","UserTitle"),dt(g,"id","UserTitle"),dt(g,"type","text"),dt(g,"class","FieldDisabled"),g.value=Ke=o[5].userTitles,g.readOnly=!0,dt(Qe,"class","PlayerInfoBox"),dt(qe,"for","Currrency"),dt(v,"id","Currency"),dt(v,"type","text"),dt(v,"class","FieldDisabled"),v.value=rr=o[5].currency,v.readOnly=!0,dt(Ze,"class","PlayerInfoBox"),dt(n,"class","PlayerDetailsContent"),dt(ir,"class","PlayerLocationHeader"),dt(ur,"for","UserCountry"),dt(E,"id","UserCountry"),dt(E,"type","text"),dt(E,"class","PlayerCountry FieldDisabled"),E.value=pr=o[5].countryName,dt(E,"placeholder",fr=o[5].countryCode),E.readOnly=!0,dt(lr,"class","PlayerInfoBox"),dt(mr,"for","UserCity"),dt(P,"id","UserCity"),dt(P,"type","text"),dt(P,"placeholder",o[17].city),dt(w,"class",vr="PlayerInfoBox "+(o[8]?"":"InvalidField")),dt(wr,"for","UserAdress"),dt(A,"id","UserAdress"),dt(A,"type","text"),dt(A,"placeholder",o[17].adress),dt(S,"class",Br="PlayerInfoBox "+(o[10]?"":"InvalidField")),dt(_r,"for","UserPostalCode"),dt(T,"id","UserPostalCode"),dt(T,"type","text"),dt(T,"placeholder",o[17].postalCode),dt(B,"class",Ir="PlayerInfoBox "+(o[9]?"":"InvalidField")),dt(t,"class","PlayerLocationContent"),dt(Mr,"class",kr="PlayerDetailsSaveButton "+(o[6]&&o[7]?"":"PlayerButtonDisabled")),dt(Dr,"class","PlayerDetailsButtonsArea "+(o[16]?"PlayerDetailsButtonsAreaMobile":"")),dt(i,"class","PlayerInfoWrapper "+(o[16]?"PlayerInfoWrapperMobile":"")+" "+(o[18].matches&&o[16]?"PlayerInfoWrapperTablet":""))},m(e,r){lt(e,i,r),_&&_.m(i,null),st(i,R),st(i,U),st(U,F),st(i,j),st(i,G),st(G,z),st(z,$),st(i,Q),st(i,n),st(n,V),st(V,W),st(W,X),st(V,K),st(V,a),st(n,Y),st(n,s),st(s,Z),st(Z,q),st(s,J),st(s,ee),st(ee,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(l,null);gt(l,o[4].mobile.prefix,!0),st(ee,re),st(ee,u),yt(u,o[4].mobile.number),st(s,te),C&&C.m(s,null),st(n,ie),st(n,c),st(c,ne),st(ne,ae),st(ne,se),st(ne,le),st(c,ue),st(c,h),yt(h,o[4].securityQuestion),st(c,ce),N&&N.m(c,null),st(n,pe),st(n,p),st(p,fe),st(fe,de),st(fe,me),st(fe,ye),st(p,be),st(p,f),yt(f,o[4].securityAnswer),st(p,ge),I&&I.m(p,null),st(n,Ee),st(n,we),st(we,Pe),st(Pe,Se),st(we,Ae),st(we,d),st(n,Te),st(n,_e),st(_e,xe),st(xe,Ce),st(_e,Ne),st(_e,m),st(n,He),st(n,Oe),st(Oe,De),st(De,Me),st(Oe,Le),st(Oe,y),st(n,Re),st(n,Ue),st(Ue,Fe),st(Fe,je),st(Ue,Ge),st(Ue,b),st(n,$e),st(n,Qe),st(Qe,Ve),st(Ve,We),st(Qe,Xe),st(Qe,g),st(n,Ye),st(n,Ze),st(Ze,qe),st(qe,Je),st(Ze,er),st(Ze,v),st(n,tr),H&&H.m(n,null),st(i,or),st(i,ir),st(ir,nr),st(nr,ar),st(i,sr),st(i,t),st(t,lr),st(lr,ur),st(ur,cr),st(lr,hr),st(lr,E),st(t,dr),st(t,w),st(w,mr),st(mr,yr),st(w,br),st(w,P),yt(P,o[4].city),st(w,gr),O&&O.m(w,null),st(t,Er),st(t,S),st(S,wr),st(wr,Pr),st(S,Sr),st(S,A),yt(A,o[4].address1),st(S,Ar),D&&D.m(S,null),st(t,Tr),st(t,B),st(B,_r),st(_r,xr),st(B,Cr),st(B,T),yt(T,o[4].postalCode),st(B,Nr),M&&M.m(B,null),st(i,Hr),L&&L.m(i,null),st(i,Or),st(i,Dr),st(Dr,Mr),st(Mr,Lr),st(i,Rr),k&&k.m(i,null),Ur||(Fr=[ft(l,"change",o[33]),ft(l,"change",o[19]),ft(u,"input",o[34]),ft(u,"keyup",o[35]),ft(u,"input",function(){bt(o[4].mobile.number=o[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(o[4].mobile.number=o[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),ft(h,"input",o[36]),ft(h,"keyup",o[37]),ft(f,"input",o[38]),ft(f,"keyup",o[39]),ft(P,"input",o[40]),ft(P,"keyup",o[41]),ft(A,"input",o[42]),ft(A,"keyup",o[43]),ft(T,"input",o[44]),ft(T,"keyup",o[45]),ft(Mr,"click",o[21])],Ur=!0)},p(e,t){if((o=e)[16]&&_.p(o,t),32768&t[0]&&jr!==(jr=o[15]("titleProfileInfo")+"")&&mt(F,jr),32768&t[0]&&Gr!==(Gr=o[15]("personalDetails")+"")&&mt($,Gr),32768&t[0]&&zr!==(zr=o[15]("userName")+"")&&mt(X,zr),32&t[0]&&r!==(r=o[5].username)&&a.value!==r&&(a.value=r),32768&t[0]&&$r!==($r=o[15]("userPhone")+"")&&mt(q,$r),24&t[0]){let r;for(nt=o[3],r=0;r<nt.length;r+=1){let e=Po(o,nt,r);x[r]?x[r].p(e,t):(x[r]=_o(e),x[r].c(),x[r].m(l,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=nt.length}24&t[0]&&gt(l,o[4].mobile.prefix),24&t[0]&&u.value!==o[4].mobile.number&&yt(u,o[4].mobile.number),o[13]?C&&(C.d(1),C=null):C?C.p(o,t):((C=xo(o)).c(),C.m(s,null)),8192&t[0]&&oe!==(oe="PlayerInfoBox "+(o[13]?"":"InvalidField"))&&dt(s,"class",oe),32769&t[0]&&Qr!==(Qr=("true"==o[0]?o[15]("profileSecurityQuestion2"):o[15]("profileSecurityQuestion"))+"")&&mt(ae,Qr),24&t[0]&&h.value!==o[4].securityQuestion&&yt(h,o[4].securityQuestion),o[11]?N&&(N.d(1),N=null):N?N.p(o,t):((N=Co(o)).c(),N.m(c,null)),2048&t[0]&&he!==(he="PlayerInfoBox "+(o[11]?"":"InvalidField"))&&dt(c,"class",he),32769&t[0]&&Vr!==(Vr=("true"==o[0]?o[15]("profileSecurityAnswer2"):o[15]("profileSecurityAnswer"))+"")&&mt(de,Vr),24&t[0]&&f.value!==o[4].securityAnswer&&yt(f,o[4].securityAnswer),o[12]?I&&(I.d(1),I=null):I?I.p(o,t):((I=No(o)).c(),I.m(p,null)),4096&t[0]&&ve!==(ve="PlayerInfoBox "+(o[12]?"":"InvalidField"))&&dt(p,"class",ve),32768&t[0]&&Wr!==(Wr=o[15]("userEmail")+"")&&mt(Se,Wr),32&t[0]&&Be!==(Be=o[5].email)&&d.value!==Be&&(d.value=Be),32768&t[0]&&Xr!==(Xr=o[15]("dateOfBirth")+"")&&mt(Ce,Xr),32&t[0]&&Ie!==(Ie=o[5].birth)&&m.value!==Ie&&(m.value=Ie),32768&t[0]&&Kr!==(Kr=o[15]("firstName")+"")&&mt(Me,Kr),32&t[0]&&ke!==(ke=o[5].firstname)&&y.value!==ke&&(y.value=ke),32768&t[0]&&Yr!==(Yr=o[15]("lastName")+"")&&mt(je,Yr),32&t[0]&&ze!==(ze=o[5].lastname)&&b.value!==ze&&(b.value=ze),32768&t[0]&&Zr!==(Zr=o[15]("userTitle")+"")&&mt(We,Zr),32&t[0]&&Ke!==(Ke=o[5].userTitles)&&g.value!==Ke&&(g.value=Ke),32768&t[0]&&qr!==(qr=o[15]("currency")+"")&&mt(Je,qr),32&t[0]&&rr!==(rr=o[5].currency)&&v.value!==rr&&(v.value=rr),o[5].iban?H?H.p(o,t):((H=Io(o)).c(),H.m(n,null)):H&&(H.d(1),H=null),32768&t[0]&&Jr!==(Jr=o[15]("locationDetails")+"")&&mt(ar,Jr),32768&t[0]&&et!==(et=o[15]("userCountry")+"")&&mt(cr,et),32&t[0]&&pr!==(pr=o[5].countryName)&&E.value!==pr&&(E.value=pr),32&t[0]&&fr!==(fr=o[5].countryCode)&&dt(E,"placeholder",fr),32768&t[0]&&rt!==(rt=o[15]("userCity")+"")&&mt(yr,rt),24&t[0]&&P.value!==o[4].city&&yt(P,o[4].city),o[8]?O&&(O.d(1),O=null):O?O.p(o,t):((O=Ho(o)).c(),O.m(w,null)),256&t[0]&&vr!==(vr="PlayerInfoBox "+(o[8]?"":"InvalidField"))&&dt(w,"class",vr),32768&t[0]&&tt!==(tt=o[15]("userAddress")+"")&&mt(Pr,tt),24&t[0]&&A.value!==o[4].address1&&yt(A,o[4].address1),o[10]?D&&(D.d(1),D=null):D?D.p(o,t):((D=Oo(o)).c(),D.m(S,null)),1024&t[0]&&Br!==(Br="PlayerInfoBox "+(o[10]?"":"InvalidField"))&&dt(S,"class",Br),32768&t[0]&&ot!==(ot=o[15]("userPostalCode")+"")&&mt(xr,ot),24&t[0]&&T.value!==o[4].postalCode&&yt(T,o[4].postalCode),o[9]?M&&(M.d(1),M=null):M?M.p(o,t):((M=Do(o)).c(),M.m(B,null)),512&t[0]&&Ir!==(Ir="PlayerInfoBox "+(o[9]?"":"InvalidField"))&&dt(B,"class",Ir),void 0!==o[4].acceptSMSOffers||void 0!==o[4].acceptNewsEmail?L?L.p(o,t):((L=Mo(o)).c(),L.m(i,Or)):L&&(L.d(1),L=null),32768&t[0]&&it!==(it=o[15]("userProfileSaveChanges")+"")&&mt(Lr,it),192&t[0]&&kr!==(kr="PlayerDetailsSaveButton "+(o[6]&&o[7]?"":"PlayerButtonDisabled"))&&dt(Mr,"class",kr),o[14]?k?k.p(o,t):((k=Ro(o)).c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&ut(i),_&&_.d();var r=x,t=e;for(let e=0;e<r.length;e+=1)r[e]&&r[e].d(t);C&&C.d(),N&&N.d(),I&&I.d(),H&&H.d(),O&&O.d(),D&&D.d(),M&&M.d(),L&&L.d(),k&&k.d(),Ur=!1,at(Fr)}}}function Ao(e){let t;return{c(){dt(t=ct("div"),"class","ModalLoader")},m(e,r){lt(e,t,r)},p:p,d(e){e&&ut(t)}}}function Bo(e){let t,o,i,n=e[72].Prefix+"";return{c(){t=ct("option"),o=ht(n),t.__value=i=e[72].Prefix,t.value=t.__value},m(e,r){lt(e,t,r),st(t,o)},p(e,r){8&r[0]&&n!==(n=e[72].Prefix+"")&&mt(o,n),8&r[0]&&i!==(i=e[72].Prefix)&&(t.__value=i,t.value=t.__value)},d(e){e&&ut(t)}}}function To(e){let t,o,i,n=e[72].Prefix+"";return{c(){t=ct("option"),o=ht(n),t.selected=!0,t.__value=i=e[72].Prefix,t.value=t.__value},m(e,r){lt(e,t,r),st(t,o)},p(e,r){8&r[0]&&n!==(n=e[72].Prefix+"")&&mt(o,n),8&r[0]&&i!==(i=e[72].Prefix)&&(t.__value=i,t.value=t.__value)},d(e){e&&ut(t)}}}function _o(e){let t;function o(e){return e[72].Prefix===e[4].mobile.prefix?To:Bo}let i=o(e),n=i(e);return{c(){n.c(),t=ht("")},m(e,r){n.m(e,r),lt(e,t,r)},p(e,r){i===(i=o(e))&&n?n.p(e,r):(n.d(1),(n=i(e))&&(n.c(),n.m(t.parentNode,t)))},d(e){n.d(e),e&&ut(t)}}}function xo(e){let t,o,i=e[15]("userPhoneError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userPhoneError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Co(e){let t,o,i=("true"==e[0]?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32769&r[0]&&i!==(i=("true"==e[0]?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"")&&mt(o,i)},d(e){e&&ut(t)}}}function No(e){let t,o,i=("true"==e[0]?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32769&r[0]&&i!==(i=("true"==e[0]?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Io(e){let t,o,i,n,a,s,l=e[15]("iban")+"";return{c(){t=ct("div"),o=ct("label"),i=ht(l),n=pt(),a=ct("input"),dt(o,"for","Iban"),dt(a,"id","Iban"),dt(a,"type","text"),dt(a,"class","FieldDisabled"),a.value=s=e[5].iban,a.readOnly=!0,dt(t,"class","PlayerInfoBox")},m(e,r){lt(e,t,r),st(t,o),st(o,i),st(t,n),st(t,a)},p(e,r){32768&r[0]&&l!==(l=e[15]("iban")+"")&&mt(i,l),32&r[0]&&s!==(s=e[5].iban)&&a.value!==s&&(a.value=s)},d(e){e&&ut(t)}}}function Ho(e){let t,o,i=e[15]("userCityError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userCityError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Oo(e){let t,o,i=e[15]("userAddressError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userAddressError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Do(e){let t,o,i=e[15]("userPostalCodeError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userPostalCodeError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Mo(e){let t,o,i,n,a,s,l=e[15]("userNotifications")+"",u=void 0!==e[4].acceptSMSOffers&&Lo(e),c=void 0!==e[4].acceptNewsEmail&&ko(e);return{c(){t=ct("div"),o=ct("h3"),i=ht(l),n=pt(),a=ct("section"),u&&u.c(),s=pt(),c&&c.c(),dt(t,"class","PlayerNotificationsHeader"),dt(a,"class","PlayerNotificationsCheckboxArea")},m(e,r){lt(e,t,r),st(t,o),st(o,i),lt(e,n,r),lt(e,a,r),u&&u.m(a,null),st(a,s),c&&c.m(a,null)},p(e,r){32768&r[0]&&l!==(l=e[15]("userNotifications")+"")&&mt(i,l),void 0!==e[4].acceptSMSOffers?u?u.p(e,r):((u=Lo(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),void 0!==e[4].acceptNewsEmail?c?c.p(e,r):((c=ko(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&ut(t),e&&ut(n),e&&ut(a),u&&u.d(),c&&c.d()}}}function Lo(t){let o,i,n,a,s,l,u,c,h,p,f=t[15]("userSMSNotification")+"";return{c(){o=ct("div"),i=ct("label"),n=ct("input"),a=pt(),s=ct("span"),l=pt(),u=ct("span"),c=ht(f),dt(n,"type","checkbox"),dt(n,"id","SMSNotification"),dt(n,"name","Enable SMS notifications"),dt(s,"class","Checkmark"),dt(i,"for","SMSNotification"),dt(o,"class","PlayerNotificationBox")},m(e,r){lt(e,o,r),st(o,i),st(i,n),n.checked=t[4].acceptSMSOffers,st(i,a),st(i,s),st(i,l),st(i,u),st(u,c),h||(p=[ft(n,"change",t[46]),ft(n,"change",t[47])],h=!0)},p(e,r){24&r[0]&&(n.checked=e[4].acceptSMSOffers),32768&r[0]&&f!==(f=e[15]("userSMSNotification")+"")&&mt(c,f)},d(e){e&&ut(o),h=!1,at(p)}}}function ko(t){let o,i,n,a,s,l,u,c,h,p,f=t[15]("userEmailNotification")+"";return{c(){o=ct("div"),i=ct("label"),n=ct("input"),a=pt(),s=ct("span"),l=pt(),u=ct("span"),c=ht(f),dt(n,"type","checkbox"),dt(n,"id","EmailNotification"),dt(n,"name","Enable Emails"),dt(s,"class","Checkmark"),dt(i,"for","EmailNotification"),dt(o,"class","PlayerNotificationBox")},m(e,r){lt(e,o,r),st(o,i),st(i,n),n.checked=t[4].acceptNewsEmail,st(i,a),st(i,s),st(i,l),st(i,u),st(u,c),h||(p=[ft(n,"change",t[48]),ft(n,"change",t[49])],h=!0)},p(e,r){24&r[0]&&(n.checked=e[4].acceptNewsEmail),32768&r[0]&&f!==(f=e[15]("userEmailNotification")+"")&&mt(c,f)},d(e){e&&ut(o),h=!1,at(p)}}}function Ro(e){let t,o,i,n=e[15]("userProfileConfirmationMessage")+"";return{c(){t=ct("section"),o=ct("p"),i=ht(n),dt(o,"class","PlayerDetailsConfirmSaveText"),dt(t,"class","PlayerDetailsConfirmSave")},m(e,r){lt(e,t,r),st(t,o),st(o,i)},p(e,r){32768&r[0]&&n!==(n=e[15]("userProfileConfirmationMessage")+"")&&mt(i,n)},d(e){e&&ut(t)}}}function Uo(t){let o;function i(e){return e[2]?Ao:So}let n=i(t),a=n(t);return{c(){o=ct("div"),a.c(),this.c=p},m(e,r){lt(e,o,r),a.m(o,null),t[50](o)},p(e,r){n===(n=i(e))&&a?a.p(e,r):(a.d(1),(a=n(e))&&(a.c(),a.m(o,null)))},i:p,o:p,d(e){e&&ut(o),a.d(),t[50](null)}}}function Fo(t,e,o){let r,i;i=vo,t.$$.on_destroy.push(z(i,e=>o(15,r=e)));let n,a=e.userid,s=e.sessionid,l=e.endpoint,{lang:u="en"}=e,c=e.clientstyling,h=e.clientstylingurl,p=e.translationurl,{custominputtextswitch:f="false"}=e,d=!0,L="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");let m,y=null,b=null,g=null,v=null,E={},w={},P=!1,S=!1,A=!0,B=!0,T=!0,_=!0,x=!0,C=!0,N=!0,I=!1,k={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/},R=window.matchMedia("(min-width: 768px)"),H=e=>{try{return JSON.stringify(e)}catch(e){return null}},O=()=>{var e=new URL(`${l}/v1/player/${a}/profile`),r=new Headers,r=(r.append("X-SessionID",s),{method:"GET",headers:r});fetch(e.href,r).then(e=>e.json()).then(e=>{o(31,g=e)},e=>{console.error(e)})},U=()=>{var e=new URL(`${l}/v1/player/${a}/consent`),r=new Headers,r=(r.append("X-SessionID",s),{method:"GET",headers:r});fetch(e.href,r).then(e=>e.json()).then(e=>{o(32,v=e.items)},e=>{console.error(e)})},F=()=>{o(6,P=H(E)!==m)},D=e=>{switch(e){case"mobileNumber":o(13,N=!1),E.mobile.number&&5<=E.mobile.number.length&&E.mobile.number.length<=12&&o(13,N=!0);break;case"city":o(8,B=!1),E.city&&E.city.length<=50&&o(8,B=!0);break;case"postalCode":o(9,T=!1),E.postalCode&&E.postalCode.length<=20&&o(9,T=!0);break;case"address":o(10,_=!1),E.address1&&E.address1.length<=100&&o(10,_=!0);break;case"securityQuestion":if(o(11,x=!1),E.securityQuestion)switch(f){case"true":k.document.test(E.securityQuestion)&&E.securityQuestion.length<=50&&o(11,x=!0);break;case"false":E.securityQuestion&&E.securityQuestion.length<=120&&o(11,x=!0)}break;case"securityAnswer":if(o(12,C=!1),E.securityAnswer)switch(f){case"true":k.document.test(E.securityAnswer)&&E.securityAnswer.length<=50&&o(12,C=!0);break;case"false":E.securityAnswer&&E.securityAnswer.length<=120&&o(12,C=!0)}break;case"acceptSMSOffers":case"acceptNewsEmail":r=new Object({acceptNewsEmail:E.acceptNewsEmail,acceptSMSOffers:E.acceptSMSOffers}),S=H(r)!==m}var r;F(),o(7,A=!1),x&&C&&B&&_&&T&&N&&o(7,A=!0)},j=()=>{o(14,I=!0),setTimeout(()=>{o(14,I=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("profileUpdateSuccess")}},window.location.href)},M=async()=>{var e=new URL(`${l}/v1/player/${a}/profile`),r=new Headers,t=(r.append("X-SessionID",s),r.append("Content-Type","application/json"),r.append("Accept","application/json"),H(E));return null!==t&&fetch(e.href,{method:"POST",headers:r,body:t}).then(e=>200==e.status,e=>(console.error(e),!1))},G=async()=>{var e=[{tagCode:"sms",status:E.acceptSMSOffers?"Accepted":"Denied"},{tagCode:"emailmarketing",status:E.acceptNewsEmail?"Accepted":"Denied"}],r=new URL(`${l}/v1/player/${a}/consent`),t=new Headers,e=(t.append("X-SessionID",s),t.append("Content-Type","application/json"),t.append("Accept","application/json"),H({items:e}));return null!==e&&fetch(r.href,{method:"POST",headers:t,body:e}).then(e=>200==e.status,e=>(console.error(e),!1))};return Object.keys(wo).forEach(e=>{Eo(e,wo[e])}),t.$$set=e=>{"userid"in e&&o(23,a=e.userid),"sessionid"in e&&o(24,s=e.sessionid),"endpoint"in e&&o(25,l=e.endpoint),"lang"in e&&o(26,u=e.lang),"clientstyling"in e&&o(27,c=e.clientstyling),"clientstylingurl"in e&&o(28,h=e.clientstylingurl),"translationurl"in e&&o(29,p=e.translationurl),"custominputtextswitch"in e&&o(0,f=e.custominputtextswitch)},t.$$.update=()=>{if(58720256&t.$$.dirty[0]&&l&&a&&s&&O(),58720256&t.$$.dirty[0]&&l&&a&&s&&U(),33554432&t.$$.dirty[0]&&l&&fetch(l+"/v1/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(l+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(r=>{o(30,b=e.countries.filter(e=>0<=r.countries.indexOf(e.Alpha2Code)))})}),33554432&t.$$.dirty[0]&&l&&fetch(l+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{o(3,y=e.phoneCodes)}),1073741824&t.$$.dirty[0]|3&t.$$.dirty[1]&&g&&v&&b&&(o(5,w.username=g.username,w),o(5,w.mobile=g.mobile,w),o(5,w.email=g.email,w),o(5,w.firstname=g.firstname,w),o(5,w.lastname=g.lastname,w),o(5,w.language=g.language,w),o(5,w.birth=(null==(r=g.birth)?void 0:r.day)+"/"+(null==(r=g.birth)?void 0:r.month)+"/"+(null==(r=g.birth)?void 0:r.year),w),o(5,w.currency=g.currency,w),o(5,w.iban=g.iban,w),o(5,w.userTitles=g.title,w),o(5,w.countryCode=g.country,w),o(5,w.countryName=b.find(e=>e.Alpha2Code===g.country).Name||"I.E. Ireland",w),o(4,E.address1=g.address1,E),o(4,E.city=g.city,E),o(4,E.mobile={},E),o(4,E.mobile.prefix=null==(r=g.mobile)?void 0:r.prefix,E),o(4,E.mobile.number=null==(r=g.mobile)?void 0:r.number,E),o(4,E.postalCode=g.postalCode,E),o(4,E.securityAnswer=g.securityAnswer,E),o(4,E.securityQuestion=g.securityQuestion,E),Array.isArray(v)&&v.forEach(e=>{"emailmarketing"===e.tagCode?o(4,E.acceptNewsEmail="Accepted"===e.status,E):"sms"===e.tagCode&&o(4,E.acceptSMSOffers="Accepted"===e.status,E)}),H(E),m=H(new Object({acceptNewsEmail:E.acceptNewsEmail,acceptSMSOffers:E.acceptSMSOffers})),o(2,d=!1)),67108864&t.$$.dirty[0]&&u&&(r=u,no.set(r)),268435458&t.$$.dirty[0]&&h&&n){let e=new URL(h),r=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{r.innerHTML=e,setTimeout(()=>{n.appendChild(r)},1)})}var e,r;134217730&t.$$.dirty[0]&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),536870912&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(r=>{Object.keys(r).forEach(e=>{Eo(e,r[e])})}).catch(e=>{console.log(e)})},[f,n,d,y,E,w,P,A,B,T,_,x,C,N,I,r,L,{address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},R,F,D,e=>{if(e.preventDefault(),!P||S||!A)return P&&S&&A?(M(),G(),void Promise.all([M(),G()]).then(e=>{e[0]&&e[1]?(O(),U(),j(),o(6,P=!1),S=!1):window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("userProfileUpdateError")}},window.location.href)})):void 0;M().then(e=>{e&&(O(),j())})},()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:L},window.location.href)},a,s,l,u,c,h,p,b,g,v,function(){E.mobile.prefix=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(4,E),o(3,y)},function(){E.mobile.number=this.value,o(4,E),o(3,y)},()=>D("mobileNumber"),function(){E.securityQuestion=this.value,o(4,E),o(3,y)},()=>D("securityQuestion"),function(){E.securityAnswer=this.value,o(4,E),o(3,y)},()=>D("securityAnswer"),function(){E.city=this.value,o(4,E),o(3,y)},()=>D("city"),function(){E.address1=this.value,o(4,E),o(3,y)},()=>D("address"),function(){E.postalCode=this.value,o(4,E),o(3,y)},()=>D("postalCode"),function(){E.acceptSMSOffers=this.checked,o(4,E),o(3,y)},()=>D("acceptSMSOffers"),function(){E.acceptNewsEmail=this.checked,o(4,E),o(3,y)},()=>D("acceptNewsEmail"),function(e){$[e?"unshift":"push"](()=>{n=e,o(1,n)})}]}class jo extends L{constructor(e){super();var r=document.createElement("style");r.textContent="button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));background:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;height:100%;border-radius:20px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw-color-white, #FFFFFF);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.InvalidField input{border:1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));background:var(--emw-color-pale, #FBECF4);color:var(--emw-color-error, var(--emw-color-red, #FD2839))}.PlayerInfoBox .InvalidInput{color:var(--emw-color-error, var(--emw-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emw-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw-color-gray-50, #F9F8F8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(-emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emw-color-valid, var(--emw-color-green, #48952a));color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}",this.shadowRoot.appendChild(r),M(this,{target:this.shadowRoot,props:(e=>{var r,t={};for(r of e)t[r.name]=r.value;return t})(this.attributes),customElement:!0},Fo,Uo,_,{userid:23,sessionid:24,endpoint:25,lang:26,clientstyling:27,clientstylingurl:28,translationurl:29,custominputtextswitch:0},null,[-1,-1,-1]),e&&(e.target&&lt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["userid","sessionid","endpoint","lang","clientstyling","clientstylingurl","translationurl","custominputtextswitch"]}get userid(){return this.$$.ctx[23]}set userid(e){this.$$set({userid:e}),d()}get sessionid(){return this.$$.ctx[24]}set sessionid(e){this.$$set({sessionid:e}),d()}get endpoint(){return this.$$.ctx[25]}set endpoint(e){this.$$set({endpoint:e}),d()}get lang(){return this.$$.ctx[26]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),d()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),d()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",jo),jo});
1
+ ((e,r)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=r():"function"==typeof define&&define.amd?define(r):(e="undefined"!=typeof globalThis?globalThis:e||self).app=r()})(this,function(){function p(){}function B(e){return e()}function T(){return Object.create(null)}function at(e){e.forEach(B)}function bt(e){return"function"==typeof e}function _(e,r){return e!=e?r==r:e!==r||e&&"object"==typeof e||"function"==typeof e}function z(e,...r){if(null==e)return p;let t=e.subscribe(...r);return t.unsubscribe?()=>t.unsubscribe():t}function st(e,r){e.appendChild(r)}function lt(e,r,t){e.insertBefore(r,t||null)}function ut(e){e.parentNode&&e.parentNode.removeChild(e)}function ct(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function ht(e){return document.createTextNode(e)}function pt(){return ht(" ")}function ft(e,r,t,o){return e.addEventListener(r,t,o),()=>e.removeEventListener(r,t,o)}function dt(e,r,t){null==t?e.removeAttribute(r):e.getAttribute(r)!==t&&e.setAttribute(r,t)}function mt(e,r){e.data!==(r=""+r)&&(e.data=r)}function yt(e,r){e.value=null==r?"":r}function gt(r,t,e){for(let e=0;e<r.options.length;e+=1){var o=r.options[e];if(o.__value===t)return o.selected=!0}e&&void 0===t||(r.selectedIndex=-1)}let x;function C(e){x=e}let f=[],$=[],i=[],N=[],I=Promise.resolve(),H=!1;function vt(e){i.push(e)}let O=new Set,n=0;function d(){if(0===n){let e=x;do{try{for(;n<f.length;){let e=f[n];n++,C(e),r=t=void 0;var r,t=e.$$;null!==t.fragment&&(t.update(),at(t.before_update),r=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,r),t.after_update.forEach(vt))}}catch(e){throw f.length=0,n=0,e}for(C(null),f.length=0,n=0;$.length;)$.pop()();for(let e=0;e<i.length;e+=1){var o=i[e];O.has(o)||(O.add(o),o())}}while(i.length=0,f.length);for(;N.length;)N.pop()();H=!1,O.clear(),C(e)}}let D=new Set;function M(o,r,e,t,i,n,a,s=[-1]){var l=x;C(o);let u=o.$$={fragment:null,ctx:[],props:n,update:p,not_equal:i,bound:T(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(r.context||(l?l.$$.context:[])),callbacks:T(),dirty:s,skip_bound:!1,root:r.target||l.$$.root},c=(a&&a(u.root),!1);if(u.ctx=e?e(o,r.props||{},(e,r,...t)=>{var t=t.length?t[0]:r;return u.ctx&&i(u.ctx[e],u.ctx[e]=t)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](t),c)&&(t=e,-1===(e=o).$$.dirty[0]&&(f.push(e),H||(H=!0,I.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31),r}):[],u.update(),c=!0,at(u.before_update),u.fragment=!!t&&t(u.ctx),r.target){if(r.hydrate){n=r.target;let e=Array.from(n.childNodes);u.fragment&&u.fragment.l(e),e.forEach(ut)}else u.fragment&&u.fragment.c();r.intro&&(s=o.$$.fragment)&&s.i&&(D.delete(s),s.i(void 0));var h=o,a=r.customElement,{fragment:e,after_update:t}=h.$$;e&&e.m(r.target,r.anchor),a||vt(()=>{var e=h.$$.on_mount.map(B).filter(bt);h.$$.on_destroy?h.$$.on_destroy.push(...e):at(e),h.$$.on_mount=[]}),t.forEach(vt),d()}C(l)}let L;"function"==typeof HTMLElement&&(L=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(B).filter(bt);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,r,t){this[e]=t}disconnectedCallback(){at(this.$$.on_disconnect)}$destroy(){var e=this,r=1;if(null!==(e=e.$$).fragment){{var o=e.after_update;let r=[],t=[];i.forEach(e=>(-1===o.indexOf(e)?r:t).push(e)),t.forEach(e=>e()),i=r}at(e.on_destroy),e.fragment&&e.fragment.d(r),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=p}$on(e,r){if(!bt(r))return p;let t=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return t.push(r),()=>{var e=t.indexOf(r);-1!==e&&t.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var k,R,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},U="URLSearchParams"in l,F="Symbol"in l&&"iterator"in Symbol,j="FileReader"in l&&"Blob"in l&&(()=>{try{return new Blob,!0}catch(e){return!1}})(),G="FormData"in l,Q="ArrayBuffer"in l;function V(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function W(e){return e="string"!=typeof e?String(e):e}function X(r){var e={next:function(){var e=r.shift();return{done:void 0===e,value:e}}};return F&&(e[Symbol.iterator]=function(){return e}),e}function u(r){this.map={},r instanceof u?r.forEach(function(e,r){this.append(r,e)},this):Array.isArray(r)?r.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):r&&Object.getOwnPropertyNames(r).forEach(function(e){this.append(e,r[e])},this)}function K(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function Y(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Z(e){var r=new FileReader,t=Y(r);return r.readAsArrayBuffer(e),t}function q(e){var r;return e.slice?e.slice(0):((r=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),r.buffer)}function J(){return this.bodyUsed=!1,this._initBody=function(e){var r;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:j&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:G&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:U&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Q&&j&&(r=e)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=q(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Q&&(ArrayBuffer.prototype.isPrototypeOf(e)||R(e))?this._bodyArrayBuffer=q(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):U&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},j&&(this.blob=function(){var e=K(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return K(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(j)return this.blob().then(Z);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,r,t,o=K(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,r=Y(e=new FileReader),t=(t=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?t[1]:"utf-8",e.readAsText(o,t),r;if(this._bodyArrayBuffer)return Promise.resolve((e=>{for(var r=new Uint8Array(e),t=new Array(r.length),o=0;o<r.length;o++)t[o]=String.fromCharCode(r[o]);return t.join("")})(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},G&&(this.formData=function(){return this.text().then(re)}),this.json=function(){return this.text().then(JSON.parse)},this}Q&&(k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],R=ArrayBuffer.isView||function(e){return e&&-1<k.indexOf(Object.prototype.toString.call(e))}),u.prototype.append=function(e,r){e=V(e),r=W(r);var t=this.map[e];this.map[e]=t?t+", "+r:r},u.prototype.delete=function(e){delete this.map[V(e)]},u.prototype.get=function(e){return e=V(e),this.has(e)?this.map[e]:null},u.prototype.has=function(e){return this.map.hasOwnProperty(V(e))},u.prototype.set=function(e,r){this.map[V(e)]=W(r)},u.prototype.forEach=function(e,r){for(var t in this.map)this.map.hasOwnProperty(t)&&e.call(r,this.map[t],t,this)},u.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),X(t)},u.prototype.values=function(){var r=[];return this.forEach(function(e){r.push(e)}),X(r)},u.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),X(t)},F&&(u.prototype[Symbol.iterator]=u.prototype.entries);var ee=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function c(e,r){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var t,o=(r=r||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,r.headers||(this.headers=new u(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=r.credentials||this.credentials||"same-origin",!r.headers&&this.headers||(this.headers=new u(r.headers)),this.method=(t=(e=r.method||this.method||"GET").toUpperCase(),-1<ee.indexOf(t)?t:e),this.mode=r.mode||this.mode||null,this.signal=r.signal||this.signal||(()=>{if("AbortController"in l)return(new AbortController).signal})(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==r.cache&&"no-cache"!==r.cache||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function re(e){var t=new FormData;return e.trim().split("&").forEach(function(e){var r;e&&(r=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),t.append(decodeURIComponent(r),decodeURIComponent(e)))}),t}function h(e,r){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(r=r||{},this.type="default",this.status=void 0===r.status?200:r.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===r.statusText?"":""+r.statusText,this.headers=new u(r.headers),this.url=r.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},J.call(c.prototype),J.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new u(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var te=[301,302,303,307,308],oe=(h.redirect=function(e,r){if(-1===te.indexOf(r))throw new RangeError("Invalid status code");return new h(null,{status:r,headers:{location:e}})},l.DOMException);try{new oe}catch(p){(oe=function(e,r){this.message=e,this.name=r;r=Error(e);this.stack=r.stack}).prototype=Object.create(Error.prototype),oe.prototype.constructor=oe}function ie(o,s){return new Promise(function(i,e){var n=new c(o,s);if(n.signal&&n.signal.aborted)return e(new oe("Aborted","AbortError"));var t,a=new XMLHttpRequest;function r(){a.abort()}a.onload=function(){var e,o,r={statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",o=new u,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var r=e.split(":"),t=r.shift().trim();if(t){r=r.join(":").trim();try{o.append(t,r)}catch(e){console.warn("Response "+e.message)}}}),o)},t=(0===n.url.indexOf("file://")&&(a.status<200||599<a.status)?r.status=200:r.status=a.status,r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL"),"response"in a?a.response:a.responseText);setTimeout(function(){i(new h(t,r))},0)},a.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){e(new oe("Aborted","AbortError"))},0)},a.open(n.method,(r=>{try{return""===r&&l.location.href?l.location.href:r}catch(e){return r}})(n.url),!0),"include"===n.credentials?a.withCredentials=!0:"omit"===n.credentials&&(a.withCredentials=!1),"responseType"in a&&(j?a.responseType="blob":Q&&(a.responseType="arraybuffer")),s&&"object"==typeof s.headers&&!(s.headers instanceof u||l.Headers&&s.headers instanceof l.Headers)?(t=[],Object.getOwnPropertyNames(s.headers).forEach(function(e){t.push(V(e)),a.setRequestHeader(e,W(s.headers[e]))}),n.headers.forEach(function(e,r){-1===t.indexOf(r)&&a.setRequestHeader(r,e)})):n.headers.forEach(function(e,r){a.setRequestHeader(r,e)}),n.signal&&(n.signal.addEventListener("abort",r),a.onreadystatechange=function(){4===a.readyState&&n.signal.removeEventListener("abort",r)}),a.send(void 0===n._bodyInit?null:n._bodyInit)})}ie.polyfill=!0,l.fetch||(l.fetch=ie,l.Headers=u,l.Request=c,l.Response=h),self.fetch.bind(self);var ne=function(e,r){return(ne=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,r){e.__proto__=r}:function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}))(e,r)};function ae(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}ne(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}function se(e){var r="function"==typeof Symbol&&Symbol.iterator,t=r&&e[r],o=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function le(e,r){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,i,n=t.call(e),a=[];try{for(;(void 0===r||0<r--)&&!(o=n.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(i)throw i.error}}return a}function ue(e,r,t){if(t||2===arguments.length)for(var o,i=0,n=r.length;i<n;i++)!o&&i in r||((o=o||Array.prototype.slice.call(r,0,i))[i]=r[i]);return e.concat(o||Array.prototype.slice.call(r))}function m(e){return"function"==typeof e}function ce(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var he=ce(function(r){return function(e){r(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,r){return r+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function pe(e,r){e&&0<=(r=e.indexOf(r))&&e.splice(r,1)}t.prototype.unsubscribe=function(){var e,r,t,o,i;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=se(n),s=a.next();!s.done;s=a.next())s.value.remove(this)}catch(r){e={error:r}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(m(n))try{n()}catch(e){i=e instanceof he?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=se(n),u=l.next();!u.done;u=l.next()){var c=u.value;try{ye(c)}catch(e){i=null!=i?i:[],e instanceof he?i=ue(ue([],le(i)),le(e.errors)):i.push(e)}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(t)throw t.error}}}if(i)throw new he(i)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)ye(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var r=this._parentage;return r===e||Array.isArray(r)&&r.includes(e)},t.prototype._addParent=function(e){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(e),r):r?[r,e]:e},t.prototype._removeParent=function(e){var r=this._parentage;r===e?this._parentage=null:Array.isArray(r)&&pe(r,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&pe(r,e),e instanceof t&&e._removeParent(this)},t.EMPTY=((o=new t).closed=!0,o);var fe=t,de=fe.EMPTY;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function me(e){return e instanceof fe||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function ye(e){m(e)?e():e.unsubscribe()}var be=void 0,ge=!1,ve=!1,Ee={setTimeout:function(e,r){for(var t=[],o=2;o<arguments.length;o++)t[o-2]=arguments[o];var i=Ee.delegate;return null!=i&&i.setTimeout?i.setTimeout.apply(i,ue([e,r],le(t))):setTimeout.apply(void 0,ue([e,r],le(t)))},clearTimeout:function(e){var r=Ee.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0};function we(){}var Pe=null;function Se(e){if(ge){var r=!Pe;if(r&&(Pe={errorThrown:!1,error:null}),e(),r){var r=Pe,t=r.errorThrown;if(Pe=null,t)throw r.error}}else e()}ae(r,Ae=fe),r.create=function(e,r,t){return new Ne(e,r,t)},r.prototype.next=function(e){this.isStopped||this._next(e)},r.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ae.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ae,Be=r,Te=Function.prototype.bind;function r(e){var r=Ae.call(this)||this;return r.isStopped=!1,e?me(r.destination=e)&&e.add(r):r.destination=De,r}function _e(e,r){return Te.call(e,r)}He.prototype.next=function(e){var r=this.partialObserver;if(r.next)try{r.next(e)}catch(e){Oe(e)}},He.prototype.error=function(e){var r=this.partialObserver;if(r.error)try{r.error(e)}catch(e){Oe(e)}else Oe(e)},He.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Oe(e)}};var xe,Ce=He,Ne=(ae(Ie,xe=Be),Ie);function Ie(e,r,t){var o=xe.call(this)||this,t=m(e)||!e?{next:null!=e?e:void 0,error:null!=r?r:void 0,complete:null!=t?t:void 0}:o&&ve?((r=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&_e(e.next,r),error:e.error&&_e(e.error,r),complete:e.complete&&_e(e.complete,r)}):e;return o.destination=new Ce(t),o}function He(e){this.partialObserver=e}function Oe(e){var r=e;Ee.setTimeout(function(){throw r})}var De={closed:!0,next:we,error:function(e){throw e},complete:we},o="function"==typeof Symbol&&Symbol.observable||"@@observable";a.prototype.lift=function(e){var r=new a;return r.source=this,r.operator=e,r},a.prototype.subscribe=function(e,r,t){var o,i=this,n=(o=e)&&o instanceof Be||o&&m(o.next)&&m(o.error)&&m(o.complete)&&me(o)?e:new Ne(e,r,t);return Se(function(){var e=i.operator,r=i.source;n.add(e?e.call(n,r):r?i._subscribe(n):i._trySubscribe(n))}),n},a.prototype._trySubscribe=function(r){try{return this._subscribe(r)}catch(e){r.error(e)}},a.prototype.forEach=function(o,e){var i=this;return new(e=Le(e))(function(e,r){var t=new Ne({next:function(e){try{o(e)}catch(e){r(e),t.unsubscribe()}},error:r,complete:e});i.subscribe(t)})},a.prototype._subscribe=function(e){var r;return null==(r=this.source)?void 0:r.subscribe(e)},a.prototype[o]=function(){return this},a.prototype.pipe=function(){for(var r,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===(r=e).length?function(e){return e}:1===r.length?r[0]:function(e){return r.reduce(function(e,r){return r(e)},e)})(this)},a.prototype.toPromise=function(e){var o=this;return new(e=Le(e))(function(e,r){var t;o.subscribe(function(e){return t=e},function(e){return r(e)},function(){return e(t)})})},a.create=function(e){return new a(e)};var Me=a;function a(e){e&&(this._subscribe=e)}function Le(e){return null!=(e=null!=e?e:be)?e:Promise}var ke,Re,Ue,Fe=ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ae(s,Ue=Me),s.prototype.lift=function(e){var r=new je(this,this);return r.operator=e,r},s.prototype._throwIfClosed=function(){if(this.closed)throw new Fe},s.prototype.next=function(i){var n=this;Se(function(){var r,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var t=se(n.currentObservers),o=t.next();!o.done;o=t.next())o.value.next(i)}catch(e){r={error:e}}finally{try{o&&!o.done&&(e=t.return)&&e.call(t)}finally{if(r)throw r.error}}}})},s.prototype.error=function(r){var t=this;Se(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=r;for(var e=t.observers;e.length;)e.shift().error(r)}})},s.prototype.complete=function(){var r=this;Se(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var e=r.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),Ue.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var r=this,t=this.hasError,o=this.isStopped,i=this.observers;return t||o?de:(this.currentObservers=null,i.push(e),new fe(function(){r.currentObservers=null,pe(i,e)}))},s.prototype._checkFinalizedStatuses=function(e){var r=this.hasError,t=this.thrownError,o=this.isStopped;r?e.error(t):o&&e.complete()},s.prototype.asObservable=function(){var e=new Me;return e.source=this,e},s.create=function(e,r){return new je(e,r)},s),je=(ae(Qe,Re=o),Qe.prototype.next=function(e){var r,t;null!=(t=null==(r=this.destination)?void 0:r.next)&&t.call(r,e)},Qe.prototype.error=function(e){var r,t;null!=(t=null==(r=this.destination)?void 0:r.error)&&t.call(r,e)},Qe.prototype.complete=function(){var e,r;null!=(r=null==(e=this.destination)?void 0:e.complete)&&r.call(e)},Qe.prototype._subscribe=function(e){var r;return null!=(r=null==(r=this.source)?void 0:r.subscribe(e))?r:de},Qe),Ge={now:function(){return(Ge.delegate||Date).now()},delegate:void 0},ze=(ae($e,ke=o),$e.prototype.next=function(e){var r=this,t=r.isStopped,o=r._buffer,i=r._infiniteTimeWindow,n=r._timestampProvider,r=r._windowTime;t||(o.push(e),i)||o.push(n.now()+r),this._trimBuffer(),ke.prototype.next.call(this,e)},$e.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(e),t=this._infiniteTimeWindow,o=this._buffer.slice(),i=0;i<o.length&&!e.closed;i+=t?1:2)e.next(o[i]);return this._checkFinalizedStatuses(e),r},$e.prototype._trimBuffer=function(){var e=this._bufferSize,r=this._timestampProvider,t=this._buffer,o=this._infiniteTimeWindow,i=(o?1:2)*e;if(e<1/0&&i<t.length&&t.splice(0,t.length-i),!o){for(var n=r.now(),a=0,s=1;s<t.length&&t[s]<=n;s+=2)a=s;a&&t.splice(0,a+1)}},$e);function $e(e,r,t){void 0===e&&(e=1/0),void 0===r&&(r=1/0),void 0===t&&(t=Ge);var o=ke.call(this)||this;return o._bufferSize=e,o._windowTime=r,o._timestampProvider=t,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=r===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,r),o}function Qe(e,r){var t=Re.call(this)||this;return t.destination=e,t.source=r,t}function s(){var e=Ue.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ve=[],We={},Xe=[];function Ke(o,i=p){let n,a=new Set;function s(e){if(_(o,e)&&(o=e,n)){let e=!Xe.length;for(let e of a)e[1](),Xe.push(e,o);if(e){for(let e=0;e<Xe.length;e+=2)Xe[e][0](Xe[e+1]);Xe.length=0}}}return{set:s,update:function(e){s(e(o))},subscribe:function(e,r=p){let t=[e,r];return a.add(t),1===a.size&&(n=i(s)||p),e(o),()=>{a.delete(t),0===a.size&&n&&(n(),n=null)}}}}function Ye(e,s,r){let l=!Array.isArray(e),u=l?[e]:e,c=s.length<2;return{subscribe:Ke(r,r=>{let t=!1,o=[],i=0,n=p,a=()=>{var e;i||(n(),e=s(l?o[0]:o,r),c?r(e):n=bt(e)?e:p)},e=u.map((e,r)=>z(e,e=>{o[r]=e,i&=~(1<<r),t&&a()},()=>{i|=1<<r}));return t=!0,a(),function(){at(e),n(),t=!1}}).subscribe}}function Ze(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(r=Object.prototype.toString.call(e)))||"[object Date]"===r||e.$$typeof===qe);var r}var qe="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Je(e,r){return!1!==r.clone&&r.isMergeableObject(e)?ir(Array.isArray(e)?[]:{},e,r):e}function er(e,r,t){return e.concat(r).map(function(e){return Je(e,t)})}function rr(e){return Object.keys(e).concat((r=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]));var r}function tr(e,r){try{return r in e}catch(e){return!1}}function or(o,i,n){var a={};return n.isMergeableObject(o)&&rr(o).forEach(function(e){a[e]=Je(o[e],n)}),rr(i).forEach(function(e){var r,t;(!tr(r=o,t=e)||Object.hasOwnProperty.call(r,t)&&Object.propertyIsEnumerable.call(r,t))&&(tr(o,e)&&n.isMergeableObject(i[e])?a[e]=((r=n).customMerge&&"function"==typeof(r=r.customMerge(e))?r:ir)(o[e],i[e],n):a[e]=Je(i[e],n))}),a}function ir(e,r,t){(t=t||{}).arrayMerge=t.arrayMerge||er,t.isMergeableObject=t.isMergeableObject||Ze,t.cloneUnlessOtherwiseSpecified=Je;var o=Array.isArray(r);return o===Array.isArray(e)?o?t.arrayMerge(e,r,t):or(e,r,t):Je(r,t)}ir.all=function(e,t){if(Array.isArray(e))return e.reduce(function(e,r){return ir(e,r,t)},{});throw new Error("first argument should be an array")};var nr=ir,ar=function(e,r){return(ar=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,r){e.__proto__=r}:function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}))(e,r)};function sr(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function t(){this.constructor=e}ar(e,r),e.prototype=null===r?Object.create(r):(t.prototype=r.prototype,new t)}var y,b,lr,g=function(){return(g=Object.assign||function(e){for(var r,t=1,o=arguments.length;t<o;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e}).apply(this,arguments)};function ur(e,r,t){if(t||2===arguments.length)for(var o,i=0,n=r.length;i<n;i++)!o&&i in r||((o=o||Array.prototype.slice.call(r,0,i))[i]=r[i]);return e.concat(o||Array.prototype.slice.call(r))}function cr(e){return e.type===b.literal}function hr(e){return e.type===b.number}function pr(e){return e.type===b.date}function fr(e){return e.type===b.time}function dr(e){return e.type===b.select}function mr(e){return e.type===b.plural}function yr(e){return e.type===b.tag}function br(e){return e&&"object"==typeof e&&e.type===lr.number}function gr(e){return e&&"object"==typeof e&&e.type===lr.dateTime}(o=y=y||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=b=b||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=lr=lr||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,vr=/(?:[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;var Er=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,wr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pr=/^(@+)?(\+|#+)?[rs]?$/g,Sr=/(\*)(0+)|(#+)(0+)|(0+)/g,Ar=/^(0+)$/;function Br(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Pr,function(e,r,t){return"string"!=typeof t?(o.minimumSignificantDigits=r.length,o.maximumSignificantDigits=r.length):"+"===t?o.minimumSignificantDigits=r.length:"#"===r[0]?o.maximumSignificantDigits=r.length:(o.minimumSignificantDigits=r.length,o.maximumSignificantDigits=r.length+("string"==typeof t?t.length:0)),""}),o}function Tr(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 _r(e){return Tr(e)||{}}function xr(e){for(var a={},r=0,t=e;r<t.length;r++){var o,i=t[r];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=g(g(g({},a),{notation:"scientific"}),i.options.reduce(function(e,r){return g(g({},e),_r(r))},{}));continue;case"engineering":a=g(g(g({},a),{notation:"engineering"}),i.options.reduce(function(e,r){return g(g({},e),_r(r))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Sr,function(e,r,t,o,i,n){if(r)a.minimumIntegerDigits=t.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ar.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(wr.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(wr,function(e,r,t,o,i,n){return"*"===t?a.minimumFractionDigits=r.length:o&&"#"===o[0]?a.maximumFractionDigits=o.length:i&&n?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+n.length):(a.minimumFractionDigits=r.length,a.maximumFractionDigits=r.length),""});var n=i.options[0];"w"===n?a=g(g({},a),{trailingZeroDisplay:"stripIfInteger"}):n&&(a=g(g({},a),Br(n)))}else Pr.test(i.stem)?a=g(g({},a),Br(i.stem)):((n=Tr(i.stem))&&(a=g(g({},a),n)),(o=(e=>{var r;if("E"===e[0]&&"E"===e[1]?(r={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(r={notation:"scientific"},e=e.slice(1)),r){var t=e.slice(0,2);if("+!"===t?(r.signDisplay="always",e=e.slice(2)):"+?"===t&&(r.signDisplay="exceptZero",e=e.slice(2)),!Ar.test(e))throw new Error("Malformed concise eng/scientific notation");r.minimumIntegerDigits=e.length}return r})(i.stem))&&(a=g(g({},a),o)))}return a}var Cr={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Nr=new RegExp("^".concat(o.source,"*")),Ir=new RegExp("".concat(o.source,"*$"));function v(e,r){return{start:e,end:r}}var o=!!String.prototype.startsWith,Hr=!!String.fromCodePoint,Or=!!Object.fromEntries,Dr=!!String.prototype.codePointAt,Mr=!!String.prototype.trimStart,Lr=!!String.prototype.trimEnd,kr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Rr=!0;try{Rr="a"===(null==(nt=Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:nt[0])}catch(p){Rr=!1}var Ur,Fr,jr=o?function(e,r,t){return e.startsWith(r,t)}:function(e,r,t){return e.slice(t,t+r.length)===r},Gr=Hr?String.fromCodePoint:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var t,o="",i=e.length,n=0;n<i;){if(1114111<(t=e[n++]))throw RangeError(t+" is not a valid code point");o+=t<65536?String.fromCharCode(t):String.fromCharCode(55296+((t-=65536)>>10),t%1024+56320)}return o},zr=Or?Object.fromEntries:function(e){for(var r={},t=0,o=e;t<o.length;t++){var i=o[t];r[i[0]]=i[1]}return r},$r=Dr?function(e,r){return e.codePointAt(r)}:function(e,r){var t,o=e.length;if(!(r<0||o<=r))return(t=e.charCodeAt(r))<55296||56319<t||r+1===o||(o=e.charCodeAt(r+1))<56320||57343<o?t:o-56320+(t-55296<<10)+65536},Qr=Mr?function(e){return e.trimStart()}:function(e){return e.replace(Nr,"")},Vr=Lr?function(e){return e.trimEnd()}:function(e){return e.replace(Ir,"")};function Wr(e,r){return new RegExp(e,r)}Fr=Rr?(Ur=Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,r){return Ur.lastIndex=r,null!=(r=Ur.exec(e)[1])?r:""}):function(e,r){for(var t,o=[];;){var i=$r(e,r);if(void 0===i||Yr(i)||33<=(t=i)&&t<=35||36===t||37<=t&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||46<=t&&t<=47||58<=t&&t<=59||60<=t&&t<=62||63<=t&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||162<=t&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||8208<=t&&t<=8213||8214<=t&&t<=8215||8216===t||8217===t||8218===t||8219<=t&&t<=8220||8221===t||8222===t||8223===t||8224<=t&&t<=8231||8240<=t&&t<=8248||8249===t||8250===t||8251<=t&&t<=8254||8257<=t&&t<=8259||8260===t||8261===t||8262===t||8263<=t&&t<=8273||8274===t||8275===t||8277<=t&&t<=8286||8592<=t&&t<=8596||8597<=t&&t<=8601||8602<=t&&t<=8603||8604<=t&&t<=8607||8608===t||8609<=t&&t<=8610||8611===t||8612<=t&&t<=8613||8614===t||8615<=t&&t<=8621||8622===t||8623<=t&&t<=8653||8654<=t&&t<=8655||8656<=t&&t<=8657||8658===t||8659===t||8660===t||8661<=t&&t<=8691||8692<=t&&t<=8959||8960<=t&&t<=8967||8968===t||8969===t||8970===t||8971===t||8972<=t&&t<=8991||8992<=t&&t<=8993||8994<=t&&t<=9e3||9001===t||9002===t||9003<=t&&t<=9083||9084===t||9085<=t&&t<=9114||9115<=t&&t<=9139||9140<=t&&t<=9179||9180<=t&&t<=9185||9186<=t&&t<=9254||9255<=t&&t<=9279||9280<=t&&t<=9290||9291<=t&&t<=9311||9472<=t&&t<=9654||9655===t||9656<=t&&t<=9664||9665===t||9666<=t&&t<=9719||9720<=t&&t<=9727||9728<=t&&t<=9838||9839===t||9840<=t&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||10132<=t&&t<=10175||10176<=t&&t<=10180||10181===t||10182===t||10183<=t&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||10224<=t&&t<=10239||10240<=t&&t<=10495||10496<=t&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||10649<=t&&t<=10711||10712===t||10713===t||10714===t||10715===t||10716<=t&&t<=10747||10748===t||10749===t||10750<=t&&t<=11007||11008<=t&&t<=11055||11056<=t&&t<=11076||11077<=t&&t<=11078||11079<=t&&t<=11084||11085<=t&&t<=11123||11124<=t&&t<=11125||11126<=t&&t<=11157||11158===t||11159<=t&&t<=11263||11776<=t&&t<=11777||11778===t||11779===t||11780===t||11781===t||11782<=t&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||11790<=t&&t<=11798||11799===t||11800<=t&&t<=11801||11802===t||11803===t||11804===t||11805===t||11806<=t&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||11818<=t&&t<=11822||11823===t||11824<=t&&t<=11833||11834<=t&&t<=11835||11836<=t&&t<=11839||11840===t||11841===t||11842===t||11843<=t&&t<=11855||11856<=t&&t<=11857||11858===t||11859<=t&&t<=11903||12289<=t&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||12306<=t&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||12318<=t&&t<=12319||12320===t||12336===t||64830===t||64831===t||65093<=t&&t<=65094)break;o.push(i),r+=65536<=i?2:1}return Gr.apply(void 0,o)};E.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},E.prototype.parseMessage=function(e,r,t){for(var o=[];!this.isEOF();){var i,n=this.char();if(123===n){if((i=this.parseArgument(e,t)).err)return i;o.push(i.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==r&&"selectordinal"!==r){if(60===n&&!this.ignoreTag&&47===this.peek()){if(t)break;return this.error(y.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Kr(this.peek()||0)){if((i=this.parseTag(e,r)).err)return i}else if((i=this.parseLiteral(e,r)).err)return i;o.push(i.val)}else{n=this.clonePosition();this.bump(),o.push({type:b.pound,location:v(n,this.clonePosition())})}}}return{val:o,err:null}},E.prototype.parseTag=function(e,r){var t,o=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:b.literal,value:"<".concat(i,"/>"),location:v(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,r,!0)).err?e:(r=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Kr(this.char())?this.error(y.INVALID_TAG,v(e,this.clonePosition())):(t=this.clonePosition(),i!==this.parseTagName()?this.error(y.UNMATCHED_CLOSING_TAG,v(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:b.tag,value:i,children:r,location:v(o,this.clonePosition())},err:null}:this.error(y.INVALID_TAG,v(e,this.clonePosition())))):this.error(y.UNCLOSED_TAG,v(o,this.clonePosition()))):this.error(y.INVALID_TAG,v(o,this.clonePosition()))},E.prototype.parseTagName=function(){var e,r=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(r,this.offset())},E.prototype.parseLiteral=function(e,r){for(var t=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i)o+=i;else{i=this.tryParseUnquoted(e,r);if(i)o+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;o+=i}}}t=v(t,this.clonePosition());return{val:{type:b.literal,value:o,location:t},err:null}},E.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Kr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},E.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var t=this.char();if(39===t){if(39!==this.peek()){this.bump();break}r.push(39),this.bump()}else r.push(t);this.bump()}return Gr.apply(void 0,r)},E.prototype.tryParseUnquoted=function(e,r){var t;return this.isEOF()||60===(t=this.char())||123===t||35===t&&("plural"===r||"selectordinal"===r)||125===t&&0<e?null:(this.bump(),Gr(t))},E.prototype.parseArgument=function(e,r){var t=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition()));if(125===this.char())return this.bump(),this.error(y.EMPTY_ARGUMENT,v(t,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(y.MALFORMED_ARGUMENT,v(t,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:b.argument,value:o,location:v(t,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition())):this.parseArgumentOptions(e,r,o,t);default:return this.error(y.MALFORMED_ARGUMENT,v(t,this.clonePosition()))}},E.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),r=this.offset(),t=Fr(this.message,r),r=r+t.length;return this.bumpTo(r),{value:t,location:v(e,this.clonePosition())}},E.prototype.parseArgumentOptions=function(e,r,t,o){var i,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(y.EXPECT_ARGUMENT_TYPE,v(n,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(p=Vr(h.val)).length)return this.error(y.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:v(u,this.clonePosition())}}return(u=this.tryParseArgumentClose(o)).err?u:(f=v(o,this.clonePosition()),l&&jr(null==l?void 0:l.style,"::",0)?(d=Qr(l.style.slice(2)),"number"===a?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:b.number,value:t,location:f,style:h.val},err:null}:0===d.length?this.error(y.EXPECT_DATE_TIME_SKELETON,f):(c=d,this.locale&&(c=((e,r)=>{for(var t="",o=0;o<e.length;o++){var i=e.charAt(o);if("j"===i){for(var n=0;o+1<e.length&&e.charAt(o+1)===i;)n++,o++;var a=1+(1&n),s=n<2?1:3+(n>>1),l=(e=>{var r,t=e.hourCycle;if(t=void 0===t&&e.hourCycles&&e.hourCycles.length?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")}return"root"!==(t=e.language)&&(r=e.maximize().region),(Cr[r||""]||Cr[t||""]||Cr["".concat(t,"-001")]||Cr["001"])[0]})(r);for("H"!=l&&"k"!=l||(s=0);0<s--;)t+="a";for(;0<a--;)t=l+t}else t+="J"===i?"H":i}return t})(d,this.locale)),p={type:lr.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},c.replace(vr,function(e){var r=e.length;switch(e[0]){case"G":i.era=4===r?"long":5===r?"narrow":"short";break;case"y":i.year=2===r?"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":i.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==r&&5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][r-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][r-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][r-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][r-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][r-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":i.minute=["numeric","2-digit"][r-1];break;case"s":i.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=r<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""}),i):{}},{val:{type:"date"===a?b.date:b.time,value:t,location:f,style:p},err:null})):{val:{type:"number"===a?b.number:"date"===a?b.date:b.time,value:t,location:f,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var c=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS,v(c,g({},c)));this.bumpSpace();var h,p=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),p=this.parseIdentifierIfPossible(),f=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,a,r,p);return l.err?l:(u=this.tryParseArgumentClose(o)).err?u:(d=v(o,this.clonePosition()),"select"===a?{val:{type:b.select,value:t,options:zr(l.val),location:d},err:null}:{val:{type:b.plural,value:t,options:zr(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:d},err:null});default:return this.error(y.INVALID_ARGUMENT_TYPE,v(n,s))}},E.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},E.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,r=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(t,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(r.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(r.offset,this.offset()),err:null}},E.prototype.parseNumberSkeletonFromString=function(e,r){var t=[];try{t=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var r=[],t=0,o=e.split(Er).filter(function(e){return 0<e.length});t<o.length;t++){var i=o[t].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var n=i[0],i=i.slice(1),a=0,s=i;a<s.length;a++)if(0===s[a].length)throw new Error("Invalid number skeleton");r.push({stem:n,options:i})}return r})(e)}catch(e){return this.error(y.INVALID_NUMBER_SKELETON,r)}return{val:{type:lr.number,tokens:t,location:r,parsedOptions:this.shouldParseSkeletons?xr(t):{}},err:null}},E.prototype.tryParsePluralOrSelectOptions=function(e,r,t,o){for(var i=!1,n=[],a=new Set,s=o.value,l=o.location;;){if(0===s.length){var u=this.clonePosition();if("select"===r||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR,y.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=v(u,this.clonePosition()),s=this.message.slice(u.offset,this.offset())}if(a.has(s))return this.error("select"===r?y.DUPLICATE_SELECT_ARGUMENT_SELECTOR:y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===s&&(i=!0),this.bumpSpace();c=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===r?y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,r,t);if(u.err)return u;var h=this.tryParseArgumentClose(c);if(h.err)return h;n.push([s,{value:u.val,location:v(c,this.clonePosition())}]),a.add(s),this.bumpSpace(),s=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===r?y.EXPECT_SELECT_ARGUMENT_SELECTOR:y.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(y.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:n,err:null}},E.prototype.tryParseDecimalInteger=function(e,r){var t=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(t=-1);for(var i=!1,n=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,n=10*n+(a-48),this.bump()}o=v(o,this.clonePosition());return i?kr(n*=t)?{val:n,err:null}:this.error(r,o):this.error(e,o)},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 e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var r=$r(this.message,e);if(void 0===r)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return r},E.prototype.error=function(e,r){return{val:null,err:{kind:e,message:this.message,location:r}}},E.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},E.prototype.bumpIf=function(e){if(jr(this.message,e,this.offset())){for(var r=0;r<e.length;r++)this.bump();return!0}return!1},E.prototype.bumpUntil=function(e){var r=this.offset(),e=this.message.indexOf(e,r);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},E.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var r=this.offset();if(r===e)break;if(e<r)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},E.prototype.bumpSpace=function(){for(;!this.isEOF()&&Yr(this.char());)this.bump()},E.prototype.peek=function(){var e,r;return!this.isEOF()&&(e=this.char(),r=this.offset(),null!=(r=this.message.charCodeAt(r+(65536<=e?2:1))))?r:null};var Xr=E;function E(e,r){void 0===r&&(r={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}function Kr(e){return 97<=e&&e<=122||65<=e&&e<=90}function Yr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Zr(e,r){r=g({shouldParseSkeletons:!0,requiresOtherClause:!0},r=void 0===r?{}:r);var t,e=new Xr(e,r).parse();if(e.err)throw(t=SyntaxError(y[e.err.kind])).location=e.err.location,t.originalMessage=e.err.message,t;return null!=r&&r.captureLocation||function t(e){e.forEach(function(e){if(delete e.location,dr(e)||mr(e))for(var r in e.options)delete e.options[r].location,t(e.options[r].value);else hr(e)&&br(e.style)||(pr(e)||fr(e))&&gr(e.style)?delete e.style.location:yr(e)&&t(e.children)})}(e.val),e.val}function qr(e,r){var t=r&&r.cache?r.cache:Et,o=r&&r.serializer?r.serializer:tt;return(r&&r.strategy?r.strategy:function(e,r){return rt(e,this,1===e.length?Jr:et,r.cache.create(),r.serializer)})(e,{cache:t,serializer:o})}function Jr(e,r,t,o){var t=null==o||"number"==typeof o||"boolean"==typeof o?o:t(o),i=r.get(t);return void 0===i&&(i=e.call(this,o),r.set(t,i)),i}function et(e,r,t){var o=Array.prototype.slice.call(arguments,3),t=t(o),i=r.get(t);return void 0===i&&(i=e.apply(this,o),r.set(t,i)),i}function rt(e,r,t,o,i){return t.bind(r,e,o,i)}var tt=function(){return JSON.stringify(arguments)};function ot(){this.cache=Object.create(null)}ot.prototype.get=function(e){return this.cache[e]},ot.prototype.set=function(e,r){this.cache[e]=r};var it,nt,Et={create:function(){return new ot}},wt={variadic:function(e,r){return rt(e,this,et,r.cache.create(),r.serializer)},monadic:function(e,r){return rt(e,this,Jr,r.cache.create(),r.serializer)}};(nt=it=it||{}).MISSING_VALUE="MISSING_VALUE",nt.INVALID_VALUE="INVALID_VALUE",nt.MISSING_INTL_API="MISSING_INTL_API";sr(Ot,Bt=Error),Ot.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var w,Pt,St,At,Bt,Tt=Ot,_t=(sr(Ht,At=Tt),Ht),xt=(sr(It,St=Tt),It),Ct=(sr(Nt,Pt=Tt),Nt);function Nt(e,r){return Pt.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),it.MISSING_VALUE,r)||this}function It(e,r,t){return St.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),it.INVALID_VALUE,t)||this}function Ht(e,r,t,o){return At.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(t).join('", "'),'"'),it.INVALID_VALUE,o)||this}function Ot(e,r,t){e=Bt.call(this,e)||this;return e.code=r,e.originalMessage=t,e}function Dt(e,r,t,o,i,n,a){if(1===e.length&&cr(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],l=0,u=e;l<u.length;l++){var c=u[l];if(cr(c))s.push({type:w.literal,value:c.value});else if(c.type===b.pound)"number"==typeof n&&s.push({type:w.literal,value:t.getNumberFormat(r).format(n)});else{var h=c.value;if(!(i&&h in i))throw new Ct(h,a);h=i[h];if(c.type===b.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),s.push({type:"string"==typeof h?w.literal:w.object,value:h});else if(pr(c)){var p="string"==typeof c.style?o.date[c.style]:gr(c.style)?c.style.parsedOptions:void 0;s.push({type:w.literal,value:t.getDateTimeFormat(r,p).format(h)})}else if(fr(c))p="string"==typeof c.style?o.time[c.style]:gr(c.style)?c.style.parsedOptions:o.time.medium,s.push({type:w.literal,value:t.getDateTimeFormat(r,p).format(h)});else if(hr(c))(p="string"==typeof c.style?o.number[c.style]:br(c.style)?c.style.parsedOptions:void 0)&&p.scale&&(h*=p.scale||1),s.push({type:w.literal,value:t.getNumberFormat(r,p).format(h)});else{if(yr(c)){var f=c.children,d=c.value,m=i[d];if("function"!=typeof m)throw new xt(d,"function",a);d=m(Dt(f,r,t,o,i,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),s.push.apply(s,d.map(function(e){return{type:"string"==typeof e?w.literal:w.object,value:e}}))}if(dr(c)){if(!(y=c.options[h]||c.options.other))throw new _t(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dt(y.value,r,t,o,i))}else if(mr(c)){if(!(y=c.options["=".concat(h)])){if(!Intl.PluralRules)throw new Tt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',it.MISSING_INTL_API,a);var m=t.getPluralRules(r,{type:c.pluralType}).select(h-(c.offset||0)),y=c.options[m]||c.options.other}if(!y)throw new _t(c.value,h,Object.keys(c.options),a);s.push.apply(s,Dt(y.value,r,t,o,i,h-(c.offset||0)))}}}}return(e=s).length<2?e:e.reduce(function(e,r){var t=e[e.length-1];return t&&t.type===w.literal&&r.type===w.literal?t.value+=r.value:e.push(r),e},[])}function Mt(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}(o=w=w||{})[o.literal=0]="literal",o[o.object=1]="object";Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var r=Intl.NumberFormat.supportedLocalesOf(e);return 0<r.length?new Intl.Locale(r[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=Zr,P.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"}}};var Lt=P;function P(e,r,t,o){var i,n,a=this;if(void 0===r&&(r=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,r){return e.length&&r.type===w.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=r.value:e.push(r.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Dt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=P.resolveLocale(r),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=P.formats,(n=t)?Object.keys(i).reduce(function(e,r){var t,o;return e[r]=(t=i[r],(o=n[r])?g(g(g({},t||{}),o||{}),Object.keys(t).reduce(function(e,r){return e[r]=g(g({},t[r]),o[r]||{}),e},{})):t),e},g({},i)):i),this.formatters=o&&o.formatters||{getNumberFormat:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.NumberFormat).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt((r=void 0===(r=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:r).number),strategy:wt.variadic}),getDateTimeFormat:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.DateTimeFormat).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt(r.dateTime),strategy:wt.variadic}),getPluralRules:qr(function(){for(var e,r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return new((e=Intl.PluralRules).bind.apply(e,ur([void 0],r,!1)))},{cache:Mt(r.pluralRules),strategy:wt.variadic})}}let S={},kt=(e,r,t)=>t&&(r in S||(S[r]={}),e in S[r]||(S[r][e]=t),t),Rt=(r,t)=>{if(null!=t){if(t in S&&r in S[t])return S[t][r];var o=io(t);for(let e=0;e<o.length;e++){var i=((e,r)=>{if(!jt(e))return null;e=(e=>Ut[e]||null)(e);var o=r;if(null!=o){if(o in e)return e[o];var i=o.split(".");let t=e;for(let r=0;r<i.length;r++)if("object"==typeof t){if(0<r){let e=i.slice(r,i.length).join(".");if(e in t){t=t[e];break}}t=t[i[r]]}else t=void 0;return t}})(o[e],r);if(i)return kt(r,t,i)}}},Ut,Ft=Ke({});function jt(e){return e in Ut}function Gt(r,...t){delete S[r],Ft.update(e=>(e[r]=nr.all([e[r]||{},...t]),e))}Ye([Ft],([e])=>Object.keys(e)),Ft.subscribe(e=>Ut=e);let zt={};function $t(e){return zt[e]}function Qt(e){return null!=e&&io(e).some(e=>null==(e=$t(e))?void 0:e.size)}function Vt(o,e){return Promise.all(e.map(e=>{return r=o,t=e,zt[r].delete(t),0===zt[r].size&&delete zt[r],e().then(e=>e.default||e);var r,t})).then(e=>Gt(o,...e))}let Wt={};let Xt={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};let Kt=Ke(!1);var Yt=Object.defineProperty,Hr=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,eo=(e,r,t)=>r in e?Yt(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;let ro,to=Ke(null);function oo(e){return e.split("-").map((e,r,t)=>t.slice(0,r+1).join("-")).reverse()}function io(e,r=Xt.fallbackLocale){e=oo(e);return r?[...new Set([...e,...oo(r)])]:e}function A(){return null!=ro?ro:void 0}to.subscribe(e=>{ro=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let no=Hr(((e,r)=>{for(var t in r=r||{})qt.call(r,t)&&eo(e,t,r[t]);if(Zt)for(var t of Zt(r))Jt.call(r,t)&&eo(e,t,r[t]);return e})({},to),Or({set:r=>{if(r&&(e=>{if(null!=e){var r=io(e);for(let e=0;e<r.length;e++){var t=r[e];if(jt(t))return t}}})(r)&&Qt(r)){var t=Xt.loadingDelay;let e;return"undefined"!=typeof window&&null!=A()&&t?e=window.setTimeout(()=>Kt.set(!0),t):Kt.set(!0),function e(r){var t;return Qt(r)?(t=io(r).map(e=>{var r=$t(e);return[e,r?[...r]:[]]}).filter(([,e])=>0<e.length),Wt[r]=Promise.all(t.map(([e,r])=>Vt(e,r))).then(()=>{if(Qt(r))return e(r);delete Wt[r]}),Wt[r]):r in Wt?Wt[r]:Promise.resolve()}(r).then(()=>{to.set(r)}).finally(()=>{clearTimeout(e),Kt.set(!1)})}return to.set(r)}}));var Dr=t=>{let o=Object.create(null);return e=>{var r=JSON.stringify(e);return r in o?o[r]:o[r]=t(e)}},ao=Object.defineProperty,so=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,uo=Object.prototype.propertyIsEnumerable,co=(e,r,t)=>r in e?ao(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,ho=(e,r)=>{for(var t in r=r||{})lo.call(r,t)&&co(e,t,r[t]);if(so)for(var t of so(r))uo.call(r,t)&&co(e,t,r[t]);return e},po=(e,r)=>{var t={};for(o in e)lo.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&so)for(var o of so(e))r.indexOf(o)<0&&uo.call(e,o)&&(t[o]=e[o]);return t};let fo=(e,r)=>{var t=Xt.formats;if(e in t&&r in t[e])return t[e][r];throw new Error(`[svelte-i18n] Unknown "${r}" ${e} format.`)},mo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(e=fo("number",t)),new Intl.NumberFormat(r,e)}),yo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?e=fo("date",t):0===Object.keys(e).length&&(e=fo("date","short")),new Intl.DateTimeFormat(r,e)}),bo=Dr(e=>{var{locale:r,format:t}=e,e=po(e,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?e=fo("time",t):0===Object.keys(e).length&&(e=fo("time","short")),new Intl.DateTimeFormat(r,e)}),go=Dr((e,r=A())=>new Lt(e,r,Xt.formats,{ignoreTag:Xt.ignoreTag})),vo=Ye([no,Ft],()=>(e,r={})=>{let t,o,i,n,a=r;"object"==typeof e&&(e=(a=e).id);var{values:s,locale:l=A(),default:u}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Rt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(n=null!=(i=null==(o=(t=Xt).handleMissingMessage)?void 0:o.call(t,{locale:l,id:e,defaultValue:u}))?i:u)?n:e;if(!s)return c;let h=c;try{h=go(c,l).format(s)}catch(r){r instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,r.message)}return h});function Eo(e,r){Gt(e,r)}Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return bo(ho({locale:r},e))})(r).format(e)),Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return yo(ho({locale:r},e))})(r).format(e)),Ye([no],()=>(e,r)=>((e={})=>{var{locale:r=A()}=e,e=po(e,["locale"]);return mo(ho({locale:r},e))})(r).format(e)),Ye([no,Ft],()=>(e,r=A())=>Rt(e,r)),window.emWidgets={topic:(e,r=0)=>(-1==Ve.indexOf(e)&&(r=new ze(r),We[e]=r,Ve.push(e)),We[e])};let wo={en:{titleProfileInfo:"Profile Info",personalDetails:"Personal Details",userName:"Username:",userPhone:"Phone:",userPhoneError:"Mobile must be at least 5 character long and 12 characters maximum.",userEmail:"Email:",profileSecurityQuestion:"Security Question",profileSecurityQuestion2:"Document Type (DNI, Foreign ID Card, Passport)",profileSecurityQuestionError:"Security question must be at least 1 character long and maximum 120 characters.",profileSecurityQuestionError2:"Only letters and numbers are accepted.",firstName:"First Name:",profileSecurityAnswer:"Security Answer",profileSecurityAnswer2:"Document Number:",profileSecurityAnswerError:"Security answer must be at least 1 character long and maximum 120 characters.",profileSecurityAnswerError2:"Only letters and numbers are accepted.",lastName:"Last Name:",dateOfBirth:"Date of Birth:",currency:"Currency:",iban:"IBAN:",userTitle:"Title:",locationDetails:"Location Details",userCountry:"Country:",userCity:"City:",userCityError:"City must be at least 1 character long and 50 characters maximum.",userAddress:"Address:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"Postal Code:",userPostalCodeError:"Postal Code must be at least 1 character long and 20 characters maximum.",userNotifications:"Notifications",userSMSNotification:"Enable SMS notifications",userEmailNotification:"Enable Emails",userProfileSaveChanges:"Save Changes",userProfileConfirmationMessage:"Your changes have been saved!",userProfileUpdateError:"An error has occured when attempting to update the profile information"},"zh-hk":{titleProfileInfo:"資料信息",personalDetails:"個人資料",userName:"用戶名:",userPhone:"電話:",userPhoneError:"移動設備的長度必須至少為 5 個字符,最多 12 個字符。",userEmail:"電子郵件:",profileSecurityQuestion:"安全問題",profileSecurityQuestion2:"文檔類型(DNI、外國身份證、護照)",profileSecurityQuestionError:"安全問題長度必須至少1個字符,最多120個字符。",profileSecurityQuestionError2:"僅接受字母和數字。",firstName:"名:",profileSecurityAnswer:"安全答案",profileSecurityAnswer2:"文件號碼:",profileSecurityAnswerError:"安全答案長度必須至少1個字符,最多120個字符。",profileSecurityAnswerError2:"僅接受字母和數字。",lastName:"姓:",dateOfBirth:"出生日期:",currency:"貨幣:",iban:"銀行網",userTitle:"標題:",locationDetails:"位置詳情",userCountry:"國家:",userCity:"城市:",userCityError:"城市必須至少 1 個字符長,最多 50 個字符。",userAddress:"地址:",userAddressError:"地址必須至少 1 個字符長,最多 100 個字符。",userPostalCode:"郵政編碼:",userPostalCodeError:"郵政編碼必須至少 1 個字符長,最多 20 個字符。",userNotifications:"通知",userSMSNotification:"啟用短信通知",userEmailNotification:"啟用電子郵件",userProfileSaveChanges:"保存更改",userProfileConfirmationMessage:"你的修改已被保存!",userProfileUpdateError:"嘗試更新個人資料時出現錯誤"},fr:{titleProfileInfo:"Information sur le profil",personalDetails:"Détail personnel",userName:"Nom d'utilisateur:",userPhone:"Téléphone:",userPhoneError:"Le mobile doit comporter au moins 5 caractères et 12 caractères maximum.",userEmail:"Email:",profileSecurityQuestion:"Question de sécurité",profileSecurityQuestion2:"Type de document (DNI, carte d'identité étrangère, passeport)",profileSecurityQuestionError:"La question de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityQuestionError2:"Seuls les lettres et les chiffres sont acceptés.",firstName:"Prénom:",profileSecurityAnswer:"Réponse de sécurité",profileSecurityAnswer2:"Numéro de document :",profileSecurityAnswerError:"La réponse de sécurité doit comporter au moins 1 caractère et au maximum 120 caractères.",profileSecurityAnswerError2:"Seuls les lettres et les chiffres sont acceptés.",lastName:"Nom de famille:",dateOfBirth:"Date de naissance:",currency:"Monnaie:",iban:"IBAN:",userTitle:"Titre:",locationDetails:"Détails de l'emplacement",userCountry:"Pays:",userCity:"Ville:",userCityError:"La ville doit comporter au moins 1 caractère et 50 caractères au maximum.",userAddress:"Adresse:",userAddressError:"L'adresse doit comporter au moins 1 caractère et 100 caractères au maximum.",userPostalCode:"Code postal:",userPostalCodeError:"Le code postal doit comporter au moins 1 caractère et 20 caractères au maximum.",userNotifications:"Notifications",userSMSNotification:"Activer les notifications par sms",userEmailNotification:"Activer les e-mails",userProfileSaveChanges:"Sauvegarder les changements",userProfileConfirmationMessage:"Vos modifications ont été enregistrées!",userProfileUpdateError:"Une erreur s'est produite lors de la tentative de mise à jour des informations du profil"},ro:{titleProfileInfo:"Informații profil",personalDetails:"Detalii Personale",userName:"Nume utilizator:",userPhone:"Telefon:",userPhoneError:"Telefon-ul trebuie să aibă cel puțin 5 caractere și maximum 12 de caractere.",userEmail:"E-mail:",profileSecurityQuestion:"Întrebare de securitate",profileSecurityQuestion2:"Tip de document (DNI, carte de identitate străină, pașaport)",profileSecurityQuestionError:"Întrebarea de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityQuestionError2:"Sunt acceptate doar litere și cifre.",firstName:"Prenume:",profileSecurityAnswer:"Răspuns de securitate",profileSecurityAnswer2:"Număr document:",profileSecurityAnswerError:"Răspunsul de securitate trebuie să aibă cel puțin 1 caracter și maximum 120 de caractere.",profileSecurityAnswerError2:"Sunt acceptate doar litere și cifre.",lastName:"Nume:",dateOfBirth:"Data nașterii:",currency:"Monedă:",iban:"IBAN:",userTitle:"Titlu:",locationDetails:"Detalii de Localizare",userCountry:"Țară:",userCity:"Oraș:",userCityError:"Orașul trebuie să aibă cel puțin 1 caracter și maximum 50 de caractere.",userAddress:"Adresă:",userAddressError:"Adresa trebuie sa fie cuprinsa intre 1 si 100 de caractere.",userPostalCode:"Cod poștal:",userPostalCodeError:"Codul poștal trebuie să aibă cel puțin 1 caracter și maximum 20 de caractere.",userNotifications:"Notificări",userSMSNotification:"Activează notificări prin SMS",userEmailNotification:"Activează notificări prin E-mail",userProfileSaveChanges:"Salvează",userProfileConfirmationMessage:"Modificările au fost salvate!",userProfileUpdateError:"A apărut o eroare la încercarea de a actualiza informațiile profilului"},tr:{titleProfileInfo:"Profil bilgisi",personalDetails:"Kişisel detaylar",userName:"Kullanıcı adı:",userPhone:"Telefon:",userPhoneError:"Mobil en az 5 karakter uzunluğunda ve maksimum 12 karakter olmalıdır.",userEmail:"E-posta:",profileSecurityQuestion:"Güvenlik Sorusu",profileSecurityQuestion2:"Belge Türü (DNI, Yabancı Kimlik Kartı, Pasaport)",profileSecurityQuestionError:"Güvenlik sorusu en az 1 karakter uzunluğunda, en fazla 120 karakter uzunluğunda olmalıdır.",profileSecurityQuestionError2:"Yalnızca harf ve rakamlar kabul edilir.",firstName:"İlk adı:",profileSecurityAnswer:"Güvenlik cevabı",profileSecurityAnswer2:"Belge Numarası:",profileSecurityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",profileSecurityAnswerError2:"Yalnızca harf ve rakamlar kabul edilir.",lastName:"Soy isim:",dateOfBirth:"Doğum tarihi:",currency:"Para birimi:",iban:"IBAN:",userTitle:"Başlık:",locationDetails:"Konum Detayları",userCountry:"Ülke:",userCity:"Şehir:",userCityError:"Şehir en az 1 karakter, maksimum 50 karakter uzunluğunda olmalıdır.",userAddress:"Adres:",userAddressError:"Adres en az 1 karakter uzunluğunda ve maksimum 100 karakter olmalıdır.",userPostalCode:"Posta Kodu:",userPostalCodeError:"Posta Kodu en az 1 karakter uzunluğunda ve maksimum 20 karakter uzunluğunda olmalıdır.",userNotifications:"Bildirimler",userSMSNotification:"SMS bildirimlerini etkinleştir",userEmailNotification:"E-postaları Etkinleştir",userProfileSaveChanges:"Değişiklikleri Kaydet",userProfileConfirmationMessage:"Değişiklikleriniz kaydedildi!",securityQuestion:"Güvenlik Sorusu:",securityQuestionError:"Güvenlik sorusu en az 1, en fazla 120 karakter uzunluğunda olmalıdır.",securityAnswer:"Güvenlik cevabı",securityAnswerError:"Güvenlik cevabı en az 1 karakter uzunluğunda ve en fazla 120 karakter olmalıdır.",userProfileUpdateError:"Profil bilgilerini güncellemeye çalışırken bir hata oluştu"},es:{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles Personales",userName:"Usuario",userPhone:"Celular / Número / Número Celular",userPhoneError:"Número celular debe tener al menos 5 caracteres y un máximo de 20 caracteres",userEmail:"Email:",profileSecurityQuestion:"Pregunta de Seguridad",profileSecurityQuestion2:"Tipo de Documento (DNI, Carnet de identidad extranjero, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityQuestionError2:"Solo se aceptan letras y números.",firstName:"Nombre",profileSecurityAnswer:"Respuesta de Seguridad",profileSecurityAnswer2:"Número de Documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 caracter y como máximo 120 caracteres.",profileSecurityAnswerError2:"Solo se aceptan letras y números.",lastName:"Apellido",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación",userCountry:"País:",userCity:"Ciudad:",userCityError:"La ciudad debe tener al menos 1 carácter y un máximo de 50 caracteres.",userAddress:"Dirección:",userAddressError:"La dirección debe tener al menos 1 carácter y un máximo de 100 caracteres.",userPostalCode:"Código Postal:",userPostalCodeError:"El código postal debe tener al menos 1 carácter y un máximo de 20 caracteres.",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones SMS",userEmailNotification:"Habilitar Emails",userProfileSaveChanges:"Cambios Guardados",userProfileConfirmationMessage:"Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"},pt:{titleProfileInfo:"Informações do perfil",personalDetails:"Detalhes pessoais",userName:"Nome do usuário:",userPhone:"Celular:",userPhoneError:"O celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres.",userEmail:"E-mail:",profileSecurityQuestion:"Pergunta de Segurança",profileSecurityQuestion2:"Tipo de Documento (DNI, Cartão de Identificação Estrangeiro, Passaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityQuestionError2:"Somente letras e números são aceitos.",firstName:"Primeiro nome:",profileSecurityAnswer:"Resposta de Segurança",profileSecurityAnswer2:"Número do Documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos.",lastName:"Último nome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalhes do local",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres.",userAddress:"Endereço:",userAddressError:"Address must be at least 1 character long and 100 characters maximum.",userPostalCode:"CEP:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres.",userNotifications:"Notificações",userSMSNotification:"Ativar notificações por SMS",userEmailNotification:"Ativar notificações por e-mail",userProfileSaveChanges:"Salvar alterações",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},hr:{titleProfileInfo:"Informacije o profilu",personalDetails:"Osobni podatci",userName:"Korisničko ime:",userPhone:"Telefon:",userPhoneError:"Broj telefona mora imati najmanje 5 znakova i najviše 12 znakova.",userEmail:"E-mail:",profileSecurityQuestion:"Sigurnosno pitanje",profileSecurityQuestion2:"Vrsta dokumenta",profileSecurityQuestionError:"Sigurnosno pitanje mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityQuestionError2:"Prihvaćaju se samo slova i brojke.",firstName:"Ime",profileSecurityAnswer:"Sigurnosni odgovor",profileSecurityAnswer2:"Broj dokumenta:",profileSecurityAnswerError:"Sigurnosni odgovor mora imati najmanje 1 znak i najviše 120 znakova.",profileSecurityAnswerError2:"Prihvaćaju se samo slova i brojke.",lastName:"Prezime",dateOfBirth:"Datum rođenja:",currency:"Valuta:",iban:"IBAN:",userTitle:"Titula:",locationDetails:"Detalji lokacije",userCountry:"Zemlja:",userCity:"Grad:",userCityError:"Grad mora imati najmanje 1 znak i najviše 50 znakova.",userAddress:"Adresa:",userAddressError:"Adresa mora imati najmanje 1 znak i najviše 100 znakova.",userPostalCode:"Poštanski broj:",userPostalCodeError:"Poštanski broj mora imati najmanje 1 znak i najviše 20 znakova.",userNotifications:"Obavijesti",userSMSNotification:"Omogućite SMS obavijesti",userEmailNotification:"Omogući e-mail",userProfileSaveChanges:"Spremi promjene",userProfileConfirmationMessage:"Vaše izmjene su spremljene!",userProfileUpdateError:"Došlo je do pogreške prilikom pokušaja ažuriranja podataka profila"},"pt-br":{titleProfileInfo:"Informação do Perfil",personalDetails:"Detalhes pessoais",userName:"Do utilizador:",userPhone:"Telefone:",userPhoneError:"O número do celular deve ter pelo menos 5 caracteres e no máximo 12 caracteres",userEmail:"Correio eletrônico:",profileSecurityQuestion:"Pergunta de segurança:",profileSecurityQuestion2:"Tipo de documento de identidade (Documento de identidade nacional,identidade estrangeira, Pasaporte)",profileSecurityQuestionError:"A pergunta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres",profileSecurityQuestionError2:"Somente letras e números são aceitos",firstName:"Nome:",profileSecurityAnswer:"Pergunta de segurança:",profileSecurityAnswer2:"Número do documento:",profileSecurityAnswerError:"A resposta de segurança deve ter pelo menos 1 caractere e no máximo 120 caracteres.",profileSecurityAnswerError2:"Somente letras e números são aceitos",lastName:"Sobrenome:",dateOfBirth:"Data de nascimento:",currency:"Moeda:",iban:"IBAN:",userTitle:"Qualificação:",locationDetails:"Detalhes da localização:",userCountry:"País:",userCity:"Cidade:",userCityError:"A cidade deve ter pelo menos 1 caractere e no máximo 50 caracteres",userAddress:"Endereço:",userAddressError:"O endereço deve ter pelo menos 1 caractere e no máximo 100 caracteres",userPostalCode:"Código postal:",userPostalCodeError:"O código postal deve ter pelo menos 1 caractere e no máximo 20 caracteres",userNotifications:"Notificações",userSMSNotification:"Habilitar notificações por SMS",userEmailNotification:"Ativar e-mail",userProfileSaveChanges:"Guardar mudanças",userProfileConfirmationMessage:"Suas alterações foram salvas!",userProfileUpdateError:"Ocorreu um erro ao tentar atualizar as informações do perfil"},"es-mx":{titleProfileInfo:"Información de Perfil",personalDetails:"Detalles personales",userName:"Usuario:",userPhone:"Teléfono:",userPhoneError:"Número de Móvl debe tener al menos 5 caracteres de largo y 12 caracteres máximo",userEmail:"Correo electrónico:",profileSecurityQuestion:"Pregunta de Seguridad:",profileSecurityQuestion2:"Tipo de documento de identificación (Documento de identidad nacional, Identificación extranjera, Pasaporte)",profileSecurityQuestionError:"La pregunta de seguridad debe tener al menos 1 caracter de largo y máximo 120 caracteres",profileSecurityQuestionError2:"Solo letras y números son aceptados",firstName:"Nombre:",profileSecurityAnswer:"Pregunta de seguridad:",profileSecurityAnswer2:"Número de documento:",profileSecurityAnswerError:"La respuesta de seguridad debe tener al menos 1 carácter de largo y máximo 120 caracteres.",profileSecurityAnswerError2:"Solo letras y números son aceptados",lastName:"Apellido:",dateOfBirth:"Fecha de nacimiento:",currency:"Moneda:",iban:"IBAN:",userTitle:"Título:",locationDetails:"Detalles de ubicación:",userCountry:"País:",userCity:"Ciudad:",userCityError:"Ciudad debe tener al menos 1 carácter de largo y 50 caracteres máximo",userAddress:"Dirección:",userAddressError:"Dirección debe tener al menos 1 carácter de largo y 100 caracteres máximo",userPostalCode:"Código Postal:",userPostalCodeError:"Código Postal debe tener al menos 1 carácter de largo y 20 caracteres máximo",userNotifications:"Notificaciones",userSMSNotification:"Habilitar notificaciones de SMS",userEmailNotification:"Habilitar correo electrónico",userProfileSaveChanges:"Guardar cambios",userProfileConfirmationMessage:"¡Sus cambios han sido guardados!",userProfileUpdateError:"Se ha producido un error al intentar actualizar la información del perfil"}};function Po(e,r,t){e=e.slice();return e[72]=r[t],e}function So(o){let i,R,U,F,j,G,z,$,Q,n,V,W,X,K,a,r,Y,s,Z,q,J,ee,l,re,u,te,oe,ie,c,ne,ae,se,le,ue,h,ce,he,pe,p,fe,de,me,ye,be,f,ge,ve,Ee,we,Pe,Se,Ae,d,Be,Te,_e,xe,Ce,Ne,m,Ie,He,Oe,De,Me,Le,y,ke,Re,Ue,Fe,je,Ge,b,ze,$e,Qe,Ve,We,Xe,g,Ke,Ye,Ze,qe,Je,er,v,rr,tr,or,ir,nr,ar,sr,t,lr,ur,cr,hr,E,pr,fr,dr,w,mr,yr,br,P,gr,vr,Er,S,wr,Pr,Sr,A,Ar,Br,Tr,B,_r,xr,Cr,T,Nr,Ir,Hr,Or,Dr,Mr,Lr,kr,Rr,Ur,Fr,jr=o[15]("titleProfileInfo")+"",Gr=o[15]("personalDetails")+"",zr=o[15]("userName")+"",$r=o[15]("userPhone")+"",Qr=("true"==o[0]?o[15]("profileSecurityQuestion2"):o[15]("profileSecurityQuestion"))+"",Vr=("true"==o[0]?o[15]("profileSecurityAnswer2"):o[15]("profileSecurityAnswer"))+"",Wr=o[15]("userEmail")+"",Xr=o[15]("dateOfBirth")+"",Kr=o[15]("firstName")+"",Yr=o[15]("lastName")+"",Zr=o[15]("userTitle")+"",qr=o[15]("currency")+"",Jr=o[15]("locationDetails")+"",et=o[15]("userCountry")+"",rt=o[15]("userCity")+"",tt=o[15]("userAddress")+"",ot=o[15]("userPostalCode")+"",it=o[15]("userProfileSaveChanges")+"",_=o[16]&&(t=>{let o,i,n,a,s,l,u,c,h,p,f,d,m,y=t[15]("titleProfileInfo")+"";return{c(){o=ct("div"),i=e("svg"),n=e("defs"),a=e("style"),s=ht(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),l=e("g"),u=e("g"),c=e("path"),h=pt(),p=ct("h2"),f=ht(y),dt(c,"class","aaa"),dt(c,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),dt(c,"transform","translate(15 15) rotate(180)"),dt(u,"transform","translate(20 158)"),dt(l,"transform","translate(-20 -158)"),dt(i,"xmlns","http://www.w3.org/2000/svg"),dt(i,"width","15"),dt(i,"height","15"),dt(i,"viewBox","0 0 15 15"),dt(p,"class","MyAccountCategoryTitleMobile"),dt(o,"class","MenuReturnButton")},m(e,r){lt(e,o,r),st(o,i),st(i,n),st(n,a),st(a,s),st(i,l),st(l,u),st(u,c),st(o,h),st(o,p),st(p,f),d||(m=[ft(o,"click",t[22]),ft(o,"keyup",null)],d=!0)},p(e,r){32768&r[0]&&y!==(y=e[15]("titleProfileInfo")+"")&&mt(f,y)},d(e){e&&ut(o),d=!1,at(m)}}})(o),nt=o[3],x=[];for(let e=0;e<nt.length;e+=1)x[e]=_o(Po(o,nt,e));let C=!o[13]&&xo(o),N=!o[11]&&Co(o),I=!o[12]&&No(o),H=o[5].iban&&Io(o),O=!o[8]&&Ho(o),D=!o[10]&&Oo(o),M=!o[9]&&Do(o),L=(void 0!==o[4].acceptSMSOffers||void 0!==o[4].acceptNewsEmail)&&Mo(o),k=o[14]&&Ro(o);return{c(){i=ct("form"),_&&_.c(),R=pt(),U=ct("h2"),F=ht(jr),j=pt(),G=ct("div"),z=ct("h3"),$=ht(Gr),Q=pt(),n=ct("section"),V=ct("div"),W=ct("p"),X=ht(zr),K=pt(),a=ct("input"),Y=pt(),s=ct("div"),Z=ct("p"),q=ht($r),J=pt(),ee=ct("div"),l=ct("select");for(let e=0;e<x.length;e+=1)x[e].c();re=pt(),u=ct("input"),te=pt(),C&&C.c(),ie=pt(),c=ct("div"),ne=ct("label"),ae=ht(Qr),se=ht(":"),(le=ct("span")).textContent="*",ue=pt(),h=ct("input"),ce=pt(),N&&N.c(),pe=pt(),p=ct("div"),fe=ct("label"),de=ht(Vr),me=ht(":"),(ye=ct("span")).textContent="*",be=pt(),f=ct("input"),ge=pt(),I&&I.c(),Ee=pt(),we=ct("div"),Pe=ct("label"),Se=ht(Wr),Ae=pt(),d=ct("input"),Te=pt(),_e=ct("div"),xe=ct("label"),Ce=ht(Xr),Ne=pt(),m=ct("input"),He=pt(),Oe=ct("div"),De=ct("label"),Me=ht(Kr),Le=pt(),y=ct("input"),Re=pt(),Ue=ct("div"),Fe=ct("label"),je=ht(Yr),Ge=pt(),b=ct("input"),$e=pt(),Qe=ct("div"),Ve=ct("label"),We=ht(Zr),Xe=pt(),g=ct("input"),Ye=pt(),Ze=ct("div"),qe=ct("label"),Je=ht(qr),er=pt(),v=ct("input"),tr=pt(),H&&H.c(),or=pt(),ir=ct("div"),nr=ct("h3"),ar=ht(Jr),sr=pt(),t=ct("section"),lr=ct("div"),ur=ct("label"),cr=ht(et),hr=pt(),E=ct("input"),dr=pt(),w=ct("div"),mr=ct("label"),yr=ht(rt),br=pt(),P=ct("input"),gr=pt(),O&&O.c(),Er=pt(),S=ct("div"),wr=ct("label"),Pr=ht(tt),Sr=pt(),A=ct("input"),Ar=pt(),D&&D.c(),Tr=pt(),B=ct("div"),_r=ct("label"),xr=ht(ot),Cr=pt(),T=ct("input"),Nr=pt(),M&&M.c(),Hr=pt(),L&&L.c(),Or=pt(),Dr=ct("section"),Mr=ct("button"),Lr=ht(it),Rr=pt(),k&&k.c(),dt(U,"class","MyAccountCategoryTitle "+(o[16]?"MyAccountCategoryTitleNone":"")),dt(G,"class","PlayerNotificationsHeader"),dt(a,"type","text"),dt(a,"class","FieldDisabled"),a.value=r=o[5].username,a.readOnly=!0,dt(V,"class","PlayerInfoBox"),void 0===o[4].mobile.prefix&&vt(()=>o[33].call(l)),dt(u,"type","text"),dt(u,"placeholder",o[17].mobile.number),dt(ee,"class","PlayerPhoneNumber"),dt(s,"class",oe="PlayerInfoBox "+(o[13]?"":"InvalidField")),dt(le,"class","FormRequired"),dt(ne,"for","SecurityQuestion"),dt(h,"id","SecurityQuestion"),dt(h,"type","text"),dt(h,"placeholder",o[17].securityQuestion),dt(c,"class",he="PlayerInfoBox "+(o[11]?"":"InvalidField")),dt(ye,"class","FormRequired"),dt(fe,"for","SecurityAnswer"),dt(f,"id","SecurityAnswer"),dt(f,"type","text"),dt(f,"placeholder",o[17].securityAnswer),dt(p,"class",ve="PlayerInfoBox "+(o[12]?"":"InvalidField")),dt(Pe,"for","UserEmail"),dt(d,"id","UserEmail"),dt(d,"type","email"),dt(d,"class","FieldDisabled"),d.value=Be=o[5].email,d.readOnly=!0,dt(we,"class","PlayerInfoBox"),dt(xe,"for","DateOfBirth"),dt(m,"id","DateOfBirth"),dt(m,"type","text"),dt(m,"class","FieldDisabled"),m.value=Ie=o[5].birth,m.readOnly=!0,dt(_e,"class","PlayerInfoBox"),dt(De,"for","FirstName"),dt(y,"id","FirstName"),dt(y,"type","text"),dt(y,"class","FieldDisabled"),y.value=ke=o[5].firstname,y.readOnly=!0,dt(Oe,"class","PlayerInfoBox"),dt(Fe,"for","LastName"),dt(b,"id","LastName"),dt(b,"type","text"),dt(b,"class","FieldDisabled"),b.value=ze=o[5].lastname,b.readOnly=!0,dt(Ue,"class","PlayerInfoBox"),dt(Ve,"for","UserTitle"),dt(g,"id","UserTitle"),dt(g,"type","text"),dt(g,"class","FieldDisabled"),g.value=Ke=o[5].userTitles,g.readOnly=!0,dt(Qe,"class","PlayerInfoBox"),dt(qe,"for","Currrency"),dt(v,"id","Currency"),dt(v,"type","text"),dt(v,"class","FieldDisabled"),v.value=rr=o[5].currency,v.readOnly=!0,dt(Ze,"class","PlayerInfoBox"),dt(n,"class","PlayerDetailsContent"),dt(ir,"class","PlayerLocationHeader"),dt(ur,"for","UserCountry"),dt(E,"id","UserCountry"),dt(E,"type","text"),dt(E,"class","PlayerCountry FieldDisabled"),E.value=pr=o[5].countryName,dt(E,"placeholder",fr=o[5].countryCode),E.readOnly=!0,dt(lr,"class","PlayerInfoBox"),dt(mr,"for","UserCity"),dt(P,"id","UserCity"),dt(P,"type","text"),dt(P,"placeholder",o[17].city),dt(w,"class",vr="PlayerInfoBox "+(o[8]?"":"InvalidField")),dt(wr,"for","UserAdress"),dt(A,"id","UserAdress"),dt(A,"type","text"),dt(A,"placeholder",o[17].adress),dt(S,"class",Br="PlayerInfoBox "+(o[10]?"":"InvalidField")),dt(_r,"for","UserPostalCode"),dt(T,"id","UserPostalCode"),dt(T,"type","text"),dt(T,"placeholder",o[17].postalCode),dt(B,"class",Ir="PlayerInfoBox "+(o[9]?"":"InvalidField")),dt(t,"class","PlayerLocationContent"),dt(Mr,"class",kr="PlayerDetailsSaveButton "+(o[6]&&o[7]?"":"PlayerButtonDisabled")),dt(Dr,"class","PlayerDetailsButtonsArea "+(o[16]?"PlayerDetailsButtonsAreaMobile":"")),dt(i,"class","PlayerInfoWrapper "+(o[16]?"PlayerInfoWrapperMobile":"")+" "+(o[18].matches&&o[16]?"PlayerInfoWrapperTablet":""))},m(e,r){lt(e,i,r),_&&_.m(i,null),st(i,R),st(i,U),st(U,F),st(i,j),st(i,G),st(G,z),st(z,$),st(i,Q),st(i,n),st(n,V),st(V,W),st(W,X),st(V,K),st(V,a),st(n,Y),st(n,s),st(s,Z),st(Z,q),st(s,J),st(s,ee),st(ee,l);for(let e=0;e<x.length;e+=1)x[e]&&x[e].m(l,null);gt(l,o[4].mobile.prefix,!0),st(ee,re),st(ee,u),yt(u,o[4].mobile.number),st(s,te),C&&C.m(s,null),st(n,ie),st(n,c),st(c,ne),st(ne,ae),st(ne,se),st(ne,le),st(c,ue),st(c,h),yt(h,o[4].securityQuestion),st(c,ce),N&&N.m(c,null),st(n,pe),st(n,p),st(p,fe),st(fe,de),st(fe,me),st(fe,ye),st(p,be),st(p,f),yt(f,o[4].securityAnswer),st(p,ge),I&&I.m(p,null),st(n,Ee),st(n,we),st(we,Pe),st(Pe,Se),st(we,Ae),st(we,d),st(n,Te),st(n,_e),st(_e,xe),st(xe,Ce),st(_e,Ne),st(_e,m),st(n,He),st(n,Oe),st(Oe,De),st(De,Me),st(Oe,Le),st(Oe,y),st(n,Re),st(n,Ue),st(Ue,Fe),st(Fe,je),st(Ue,Ge),st(Ue,b),st(n,$e),st(n,Qe),st(Qe,Ve),st(Ve,We),st(Qe,Xe),st(Qe,g),st(n,Ye),st(n,Ze),st(Ze,qe),st(qe,Je),st(Ze,er),st(Ze,v),st(n,tr),H&&H.m(n,null),st(i,or),st(i,ir),st(ir,nr),st(nr,ar),st(i,sr),st(i,t),st(t,lr),st(lr,ur),st(ur,cr),st(lr,hr),st(lr,E),st(t,dr),st(t,w),st(w,mr),st(mr,yr),st(w,br),st(w,P),yt(P,o[4].city),st(w,gr),O&&O.m(w,null),st(t,Er),st(t,S),st(S,wr),st(wr,Pr),st(S,Sr),st(S,A),yt(A,o[4].address1),st(S,Ar),D&&D.m(S,null),st(t,Tr),st(t,B),st(B,_r),st(_r,xr),st(B,Cr),st(B,T),yt(T,o[4].postalCode),st(B,Nr),M&&M.m(B,null),st(i,Hr),L&&L.m(i,null),st(i,Or),st(i,Dr),st(Dr,Mr),st(Mr,Lr),st(i,Rr),k&&k.m(i,null),Ur||(Fr=[ft(l,"change",o[33]),ft(l,"change",o[19]),ft(u,"input",o[34]),ft(u,"keyup",o[35]),ft(u,"input",function(){bt(o[4].mobile.number=o[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1"))&&(o[4].mobile.number=o[4].mobile.number.replace(/[^0-9.]/g,"").replace(/(\..*)\./g,"$1")).apply(this,arguments)}),ft(h,"input",o[36]),ft(h,"keyup",o[37]),ft(f,"input",o[38]),ft(f,"keyup",o[39]),ft(P,"input",o[40]),ft(P,"keyup",o[41]),ft(A,"input",o[42]),ft(A,"keyup",o[43]),ft(T,"input",o[44]),ft(T,"keyup",o[45]),ft(Mr,"click",o[21])],Ur=!0)},p(e,t){if((o=e)[16]&&_.p(o,t),32768&t[0]&&jr!==(jr=o[15]("titleProfileInfo")+"")&&mt(F,jr),32768&t[0]&&Gr!==(Gr=o[15]("personalDetails")+"")&&mt($,Gr),32768&t[0]&&zr!==(zr=o[15]("userName")+"")&&mt(X,zr),32&t[0]&&r!==(r=o[5].username)&&a.value!==r&&(a.value=r),32768&t[0]&&$r!==($r=o[15]("userPhone")+"")&&mt(q,$r),24&t[0]){let r;for(nt=o[3],r=0;r<nt.length;r+=1){let e=Po(o,nt,r);x[r]?x[r].p(e,t):(x[r]=_o(e),x[r].c(),x[r].m(l,null))}for(;r<x.length;r+=1)x[r].d(1);x.length=nt.length}24&t[0]&&gt(l,o[4].mobile.prefix),24&t[0]&&u.value!==o[4].mobile.number&&yt(u,o[4].mobile.number),o[13]?C&&(C.d(1),C=null):C?C.p(o,t):((C=xo(o)).c(),C.m(s,null)),8192&t[0]&&oe!==(oe="PlayerInfoBox "+(o[13]?"":"InvalidField"))&&dt(s,"class",oe),32769&t[0]&&Qr!==(Qr=("true"==o[0]?o[15]("profileSecurityQuestion2"):o[15]("profileSecurityQuestion"))+"")&&mt(ae,Qr),24&t[0]&&h.value!==o[4].securityQuestion&&yt(h,o[4].securityQuestion),o[11]?N&&(N.d(1),N=null):N?N.p(o,t):((N=Co(o)).c(),N.m(c,null)),2048&t[0]&&he!==(he="PlayerInfoBox "+(o[11]?"":"InvalidField"))&&dt(c,"class",he),32769&t[0]&&Vr!==(Vr=("true"==o[0]?o[15]("profileSecurityAnswer2"):o[15]("profileSecurityAnswer"))+"")&&mt(de,Vr),24&t[0]&&f.value!==o[4].securityAnswer&&yt(f,o[4].securityAnswer),o[12]?I&&(I.d(1),I=null):I?I.p(o,t):((I=No(o)).c(),I.m(p,null)),4096&t[0]&&ve!==(ve="PlayerInfoBox "+(o[12]?"":"InvalidField"))&&dt(p,"class",ve),32768&t[0]&&Wr!==(Wr=o[15]("userEmail")+"")&&mt(Se,Wr),32&t[0]&&Be!==(Be=o[5].email)&&d.value!==Be&&(d.value=Be),32768&t[0]&&Xr!==(Xr=o[15]("dateOfBirth")+"")&&mt(Ce,Xr),32&t[0]&&Ie!==(Ie=o[5].birth)&&m.value!==Ie&&(m.value=Ie),32768&t[0]&&Kr!==(Kr=o[15]("firstName")+"")&&mt(Me,Kr),32&t[0]&&ke!==(ke=o[5].firstname)&&y.value!==ke&&(y.value=ke),32768&t[0]&&Yr!==(Yr=o[15]("lastName")+"")&&mt(je,Yr),32&t[0]&&ze!==(ze=o[5].lastname)&&b.value!==ze&&(b.value=ze),32768&t[0]&&Zr!==(Zr=o[15]("userTitle")+"")&&mt(We,Zr),32&t[0]&&Ke!==(Ke=o[5].userTitles)&&g.value!==Ke&&(g.value=Ke),32768&t[0]&&qr!==(qr=o[15]("currency")+"")&&mt(Je,qr),32&t[0]&&rr!==(rr=o[5].currency)&&v.value!==rr&&(v.value=rr),o[5].iban?H?H.p(o,t):((H=Io(o)).c(),H.m(n,null)):H&&(H.d(1),H=null),32768&t[0]&&Jr!==(Jr=o[15]("locationDetails")+"")&&mt(ar,Jr),32768&t[0]&&et!==(et=o[15]("userCountry")+"")&&mt(cr,et),32&t[0]&&pr!==(pr=o[5].countryName)&&E.value!==pr&&(E.value=pr),32&t[0]&&fr!==(fr=o[5].countryCode)&&dt(E,"placeholder",fr),32768&t[0]&&rt!==(rt=o[15]("userCity")+"")&&mt(yr,rt),24&t[0]&&P.value!==o[4].city&&yt(P,o[4].city),o[8]?O&&(O.d(1),O=null):O?O.p(o,t):((O=Ho(o)).c(),O.m(w,null)),256&t[0]&&vr!==(vr="PlayerInfoBox "+(o[8]?"":"InvalidField"))&&dt(w,"class",vr),32768&t[0]&&tt!==(tt=o[15]("userAddress")+"")&&mt(Pr,tt),24&t[0]&&A.value!==o[4].address1&&yt(A,o[4].address1),o[10]?D&&(D.d(1),D=null):D?D.p(o,t):((D=Oo(o)).c(),D.m(S,null)),1024&t[0]&&Br!==(Br="PlayerInfoBox "+(o[10]?"":"InvalidField"))&&dt(S,"class",Br),32768&t[0]&&ot!==(ot=o[15]("userPostalCode")+"")&&mt(xr,ot),24&t[0]&&T.value!==o[4].postalCode&&yt(T,o[4].postalCode),o[9]?M&&(M.d(1),M=null):M?M.p(o,t):((M=Do(o)).c(),M.m(B,null)),512&t[0]&&Ir!==(Ir="PlayerInfoBox "+(o[9]?"":"InvalidField"))&&dt(B,"class",Ir),void 0!==o[4].acceptSMSOffers||void 0!==o[4].acceptNewsEmail?L?L.p(o,t):((L=Mo(o)).c(),L.m(i,Or)):L&&(L.d(1),L=null),32768&t[0]&&it!==(it=o[15]("userProfileSaveChanges")+"")&&mt(Lr,it),192&t[0]&&kr!==(kr="PlayerDetailsSaveButton "+(o[6]&&o[7]?"":"PlayerButtonDisabled"))&&dt(Mr,"class",kr),o[14]?k?k.p(o,t):((k=Ro(o)).c(),k.m(i,null)):k&&(k.d(1),k=null)},d(e){e&&ut(i),_&&_.d();var r=x,t=e;for(let e=0;e<r.length;e+=1)r[e]&&r[e].d(t);C&&C.d(),N&&N.d(),I&&I.d(),H&&H.d(),O&&O.d(),D&&D.d(),M&&M.d(),L&&L.d(),k&&k.d(),Ur=!1,at(Fr)}}}function Ao(e){let t;return{c(){dt(t=ct("div"),"class","ModalLoader")},m(e,r){lt(e,t,r)},p:p,d(e){e&&ut(t)}}}function Bo(e){let t,o,i,n=e[72].Prefix+"";return{c(){t=ct("option"),o=ht(n),t.__value=i=e[72].Prefix,t.value=t.__value},m(e,r){lt(e,t,r),st(t,o)},p(e,r){8&r[0]&&n!==(n=e[72].Prefix+"")&&mt(o,n),8&r[0]&&i!==(i=e[72].Prefix)&&(t.__value=i,t.value=t.__value)},d(e){e&&ut(t)}}}function To(e){let t,o,i,n=e[72].Prefix+"";return{c(){t=ct("option"),o=ht(n),t.selected=!0,t.__value=i=e[72].Prefix,t.value=t.__value},m(e,r){lt(e,t,r),st(t,o)},p(e,r){8&r[0]&&n!==(n=e[72].Prefix+"")&&mt(o,n),8&r[0]&&i!==(i=e[72].Prefix)&&(t.__value=i,t.value=t.__value)},d(e){e&&ut(t)}}}function _o(e){let t;function o(e){return e[72].Prefix===e[4].mobile.prefix?To:Bo}let i=o(e),n=i(e);return{c(){n.c(),t=ht("")},m(e,r){n.m(e,r),lt(e,t,r)},p(e,r){i===(i=o(e))&&n?n.p(e,r):(n.d(1),(n=i(e))&&(n.c(),n.m(t.parentNode,t)))},d(e){n.d(e),e&&ut(t)}}}function xo(e){let t,o,i=e[15]("userPhoneError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userPhoneError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Co(e){let t,o,i=("true"==e[0]?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32769&r[0]&&i!==(i=("true"==e[0]?e[15]("profileSecurityQuestionError2"):e[15]("profileSecurityQuestionError"))+"")&&mt(o,i)},d(e){e&&ut(t)}}}function No(e){let t,o,i=("true"==e[0]?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32769&r[0]&&i!==(i=("true"==e[0]?e[15]("profileSecurityAnswerError2"):e[15]("profileSecurityAnswerError"))+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Io(e){let t,o,i,n,a,s,l=e[15]("iban")+"";return{c(){t=ct("div"),o=ct("label"),i=ht(l),n=pt(),a=ct("input"),dt(o,"for","Iban"),dt(a,"id","Iban"),dt(a,"type","text"),dt(a,"class","FieldDisabled"),a.value=s=e[5].iban,a.readOnly=!0,dt(t,"class","PlayerInfoBox")},m(e,r){lt(e,t,r),st(t,o),st(o,i),st(t,n),st(t,a)},p(e,r){32768&r[0]&&l!==(l=e[15]("iban")+"")&&mt(i,l),32&r[0]&&s!==(s=e[5].iban)&&a.value!==s&&(a.value=s)},d(e){e&&ut(t)}}}function Ho(e){let t,o,i=e[15]("userCityError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userCityError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Oo(e){let t,o,i=e[15]("userAddressError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userAddressError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Do(e){let t,o,i=e[15]("userPostalCodeError")+"";return{c(){t=ct("p"),o=ht(i),dt(t,"class","InvalidInput")},m(e,r){lt(e,t,r),st(t,o)},p(e,r){32768&r[0]&&i!==(i=e[15]("userPostalCodeError")+"")&&mt(o,i)},d(e){e&&ut(t)}}}function Mo(e){let t,o,i,n,a,s,l=e[15]("userNotifications")+"",u=void 0!==e[4].acceptSMSOffers&&Lo(e),c=void 0!==e[4].acceptNewsEmail&&ko(e);return{c(){t=ct("div"),o=ct("h3"),i=ht(l),n=pt(),a=ct("section"),u&&u.c(),s=pt(),c&&c.c(),dt(t,"class","PlayerNotificationsHeader"),dt(a,"class","PlayerNotificationsCheckboxArea")},m(e,r){lt(e,t,r),st(t,o),st(o,i),lt(e,n,r),lt(e,a,r),u&&u.m(a,null),st(a,s),c&&c.m(a,null)},p(e,r){32768&r[0]&&l!==(l=e[15]("userNotifications")+"")&&mt(i,l),void 0!==e[4].acceptSMSOffers?u?u.p(e,r):((u=Lo(e)).c(),u.m(a,s)):u&&(u.d(1),u=null),void 0!==e[4].acceptNewsEmail?c?c.p(e,r):((c=ko(e)).c(),c.m(a,null)):c&&(c.d(1),c=null)},d(e){e&&ut(t),e&&ut(n),e&&ut(a),u&&u.d(),c&&c.d()}}}function Lo(t){let o,i,n,a,s,l,u,c,h,p,f=t[15]("userSMSNotification")+"";return{c(){o=ct("div"),i=ct("label"),n=ct("input"),a=pt(),s=ct("span"),l=pt(),u=ct("span"),c=ht(f),dt(n,"type","checkbox"),dt(n,"id","SMSNotification"),dt(n,"name","Enable SMS notifications"),dt(s,"class","Checkmark"),dt(i,"for","SMSNotification"),dt(o,"class","PlayerNotificationBox")},m(e,r){lt(e,o,r),st(o,i),st(i,n),n.checked=t[4].acceptSMSOffers,st(i,a),st(i,s),st(i,l),st(i,u),st(u,c),h||(p=[ft(n,"change",t[46]),ft(n,"change",t[47])],h=!0)},p(e,r){24&r[0]&&(n.checked=e[4].acceptSMSOffers),32768&r[0]&&f!==(f=e[15]("userSMSNotification")+"")&&mt(c,f)},d(e){e&&ut(o),h=!1,at(p)}}}function ko(t){let o,i,n,a,s,l,u,c,h,p,f=t[15]("userEmailNotification")+"";return{c(){o=ct("div"),i=ct("label"),n=ct("input"),a=pt(),s=ct("span"),l=pt(),u=ct("span"),c=ht(f),dt(n,"type","checkbox"),dt(n,"id","EmailNotification"),dt(n,"name","Enable Emails"),dt(s,"class","Checkmark"),dt(i,"for","EmailNotification"),dt(o,"class","PlayerNotificationBox")},m(e,r){lt(e,o,r),st(o,i),st(i,n),n.checked=t[4].acceptNewsEmail,st(i,a),st(i,s),st(i,l),st(i,u),st(u,c),h||(p=[ft(n,"change",t[48]),ft(n,"change",t[49])],h=!0)},p(e,r){24&r[0]&&(n.checked=e[4].acceptNewsEmail),32768&r[0]&&f!==(f=e[15]("userEmailNotification")+"")&&mt(c,f)},d(e){e&&ut(o),h=!1,at(p)}}}function Ro(e){let t,o,i,n=e[15]("userProfileConfirmationMessage")+"";return{c(){t=ct("section"),o=ct("p"),i=ht(n),dt(o,"class","PlayerDetailsConfirmSaveText"),dt(t,"class","PlayerDetailsConfirmSave")},m(e,r){lt(e,t,r),st(t,o),st(o,i)},p(e,r){32768&r[0]&&n!==(n=e[15]("userProfileConfirmationMessage")+"")&&mt(i,n)},d(e){e&&ut(t)}}}function Uo(t){let o;function i(e){return e[2]?Ao:So}let n=i(t),a=n(t);return{c(){o=ct("div"),a.c(),this.c=p},m(e,r){lt(e,o,r),a.m(o,null),t[50](o)},p(e,r){n===(n=i(e))&&a?a.p(e,r):(a.d(1),(a=n(e))&&(a.c(),a.m(o,null)))},i:p,o:p,d(e){e&&ut(o),a.d(),t[50](null)}}}function Fo(t,e,o){let r,i;i=vo,t.$$.on_destroy.push(z(i,e=>o(15,r=e)));let n,a=e.userid,s=e.sessionid,l=e.endpoint,{lang:u="en"}=e,c=e.clientstyling,h=e.clientstylingurl,p=e.translationurl,{custominputtextswitch:f="false"}=e,d=!0,L="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC");let m,y=null,b=null,g=null,v=null,E={},w={},P=!1,S=!1,A=!0,B=!0,T=!0,_=!0,x=!0,C=!0,N=!0,I=!1,k={document:/^(?=.*[a-zA-Z0-9])[a-zA-Z0-9\s]+$/},R=window.matchMedia("(min-width: 768px)"),H=e=>{try{return JSON.stringify(e)}catch(e){return null}},O=()=>{var e=new URL(`${l}/v1/player/${a}/profile`),r=new Headers,r=(r.append("X-SessionID",s),{method:"GET",headers:r});fetch(e.href,r).then(e=>e.json()).then(e=>{o(31,g=e)},e=>{console.error(e)})},U=()=>{var e=new URL(`${l}/v1/player/${a}/consent`),r=new Headers,r=(r.append("X-SessionID",s),{method:"GET",headers:r});fetch(e.href,r).then(e=>e.json()).then(e=>{o(32,v=e.items)},e=>{console.error(e)})},F=()=>{o(6,P=H(E)!==m)},D=e=>{switch(e){case"mobileNumber":o(13,N=!1),E.mobile.number&&5<=E.mobile.number.length&&E.mobile.number.length<=12&&o(13,N=!0);break;case"city":o(8,B=!1),E.city&&E.city.length<=50&&o(8,B=!0);break;case"postalCode":o(9,T=!1),E.postalCode&&E.postalCode.length<=20&&o(9,T=!0);break;case"address":o(10,_=!1),E.address1&&E.address1.length<=100&&o(10,_=!0);break;case"securityQuestion":if(o(11,x=!1),E.securityQuestion)switch(f){case"true":k.document.test(E.securityQuestion)&&E.securityQuestion.length<=50&&o(11,x=!0);break;case"false":E.securityQuestion&&E.securityQuestion.length<=120&&o(11,x=!0)}break;case"securityAnswer":if(o(12,C=!1),E.securityAnswer)switch(f){case"true":k.document.test(E.securityAnswer)&&E.securityAnswer.length<=50&&o(12,C=!0);break;case"false":E.securityAnswer&&E.securityAnswer.length<=120&&o(12,C=!0)}break;case"acceptSMSOffers":case"acceptNewsEmail":r=new Object({acceptNewsEmail:E.acceptNewsEmail,acceptSMSOffers:E.acceptSMSOffers}),S=H(r)!==m}var r;F(),o(7,A=!1),x&&C&&B&&_&&T&&N&&o(7,A=!0)},j=()=>{o(14,I=!0),setTimeout(()=>{o(14,I=!1)},3e3),window.postMessage({type:"WidgetNotification",data:{type:"success",message:r("profileUpdateSuccess")}},window.location.href)},M=async()=>{var e=new URL(`${l}/v1/player/${a}/profile`),r=new Headers,t=(r.append("X-SessionID",s),r.append("Content-Type","application/json"),r.append("Accept","application/json"),H(E));return null!==t&&fetch(e.href,{method:"POST",headers:r,body:t}).then(e=>200==e.status,e=>(console.error(e),!1))},G=async()=>{var e=[{tagCode:"sms",status:E.acceptSMSOffers?"Accepted":"Denied"},{tagCode:"emailmarketing",status:E.acceptNewsEmail?"Accepted":"Denied"}],r=new URL(`${l}/v1/player/${a}/consent`),t=new Headers,e=(t.append("X-SessionID",s),t.append("Content-Type","application/json"),t.append("Accept","application/json"),H({items:e}));return null!==e&&fetch(r.href,{method:"POST",headers:t,body:e}).then(e=>200==e.status,e=>(console.error(e),!1))};return Object.keys(wo).forEach(e=>{Eo(e,wo[e])}),t.$$set=e=>{"userid"in e&&o(23,a=e.userid),"sessionid"in e&&o(24,s=e.sessionid),"endpoint"in e&&o(25,l=e.endpoint),"lang"in e&&o(26,u=e.lang),"clientstyling"in e&&o(27,c=e.clientstyling),"clientstylingurl"in e&&o(28,h=e.clientstylingurl),"translationurl"in e&&o(29,p=e.translationurl),"custominputtextswitch"in e&&o(0,f=e.custominputtextswitch)},t.$$.update=()=>{if(58720256&t.$$.dirty[0]&&l&&a&&s&&O(),58720256&t.$$.dirty[0]&&l&&a&&s&&U(),33554432&t.$$.dirty[0]&&l&&fetch(l+"/v1/player/countries").then(e=>300<=e.status?new Error("Error while fetching the countries"):e.json()).then(e=>{fetch(l+"/v1/player/operatorSupportedCountries").then(e=>300<=e.status?new Error("Error while fetching the supported countries"):e.json()).then(r=>{o(30,b=e.countries.filter(e=>0<=r.countries.indexOf(e.Alpha2Code)))})}),33554432&t.$$.dirty[0]&&l&&fetch(l+"/v1/player/phonecodes").then(e=>e.json()).then(e=>{o(3,y=e.phoneCodes)}),1073741824&t.$$.dirty[0]|3&t.$$.dirty[1]&&g&&v&&b&&(o(5,w.username=g.username,w),o(5,w.mobile=g.mobile,w),o(5,w.email=g.email,w),o(5,w.firstname=g.firstname,w),o(5,w.lastname=g.lastname,w),o(5,w.language=g.language,w),o(5,w.birth=(null==(r=g.birth)?void 0:r.day)+"/"+(null==(r=g.birth)?void 0:r.month)+"/"+(null==(r=g.birth)?void 0:r.year),w),o(5,w.currency=g.currency,w),o(5,w.iban=g.iban,w),o(5,w.userTitles=g.title,w),o(5,w.countryCode=g.country,w),o(5,w.countryName=(null==(r=b.find(e=>e.Alpha2Code===g.country))?void 0:r.Name)||"I.E. Ireland",w),o(4,E.address1=g.address1,E),o(4,E.city=g.city,E),o(4,E.mobile={},E),o(4,E.mobile.prefix=null==(r=g.mobile)?void 0:r.prefix,E),o(4,E.mobile.number=null==(r=g.mobile)?void 0:r.number,E),o(4,E.postalCode=g.postalCode,E),o(4,E.securityAnswer=g.securityAnswer,E),o(4,E.securityQuestion=g.securityQuestion,E),Array.isArray(v)&&v.forEach(e=>{"emailmarketing"===e.tagCode?o(4,E.acceptNewsEmail="Accepted"===e.status,E):"sms"===e.tagCode&&o(4,E.acceptSMSOffers="Accepted"===e.status,E)}),H(E),m=H(new Object({acceptNewsEmail:E.acceptNewsEmail,acceptSMSOffers:E.acceptSMSOffers})),o(2,d=!1)),67108864&t.$$.dirty[0]&&u&&(r=u,no.set(r)),268435458&t.$$.dirty[0]&&h&&n){let e=new URL(h),r=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{r.innerHTML=e,setTimeout(()=>{n.appendChild(r)},1)})}var e,r;134217730&t.$$.dirty[0]&&c&&n&&((e=document.createElement("style")).innerHTML=c,n.appendChild(e)),536870912&t.$$.dirty[0]&&p&&fetch(p).then(e=>e.json()).then(r=>{Object.keys(r).forEach(e=>{Eo(e,r[e])})}).catch(e=>{console.log(e)})},[f,n,d,y,E,w,P,A,B,T,_,x,C,N,I,r,L,{address1:"i.e.: Glanmire Rd.",birth:"01/01/1990",city:"i.e.: Cork",currency:"EUR",iban:"",email:"email@here.com",firstname:"Joe",userTitles:"M",lastname:"Johnson",mobile:{prefix:"+00",number:"00000000"},postalCode:"i.e.: 465531",securityAnswer:"i.e.: Jerry",securityQuestion:"i.e.: Pet name?",title:"",username:"Username"},R,F,D,e=>{if(e.preventDefault(),!P||S||!A)return P&&S&&A?(M(),G(),void Promise.all([M(),G()]).then(e=>{e[0]&&e[1]?(O(),U(),j(),o(6,P=!1),S=!1):window.postMessage({type:"WidgetNotification",data:{type:"error",message:r("userProfileUpdateError")}},window.location.href)})):void 0;M().then(e=>{e&&(O(),j())})},()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:L},window.location.href)},a,s,l,u,c,h,p,b,g,v,function(){E.mobile.prefix=(e=>(e=e.querySelector(":checked"))&&e.__value)(this),o(4,E),o(3,y)},function(){E.mobile.number=this.value,o(4,E),o(3,y)},()=>D("mobileNumber"),function(){E.securityQuestion=this.value,o(4,E),o(3,y)},()=>D("securityQuestion"),function(){E.securityAnswer=this.value,o(4,E),o(3,y)},()=>D("securityAnswer"),function(){E.city=this.value,o(4,E),o(3,y)},()=>D("city"),function(){E.address1=this.value,o(4,E),o(3,y)},()=>D("address"),function(){E.postalCode=this.value,o(4,E),o(3,y)},()=>D("postalCode"),function(){E.acceptSMSOffers=this.checked,o(4,E),o(3,y)},()=>D("acceptSMSOffers"),function(){E.acceptNewsEmail=this.checked,o(4,E),o(3,y)},()=>D("acceptNewsEmail"),function(e){$[e?"unshift":"push"](()=>{n=e,o(1,n)})}]}class jo extends L{constructor(e){super();var r=document.createElement("style");r.textContent="button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.MyAccountCategoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-semibold, 500)}.MyAccountCategoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MyAccountCategoryTitleNone{display:none}.PlayerInfoWrapper{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));background:var(--emw-color-pale, var(--emw--color-gray-50, #F1F1F1));padding:50px;height:100%;border-radius:20px}.PlayerNotificationsHeader h3,.PlayerLocationHeader h3{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));text-transform:capitalize;font-weight:var(--emw--font-weight-semibold, 500)}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.MenuReturnButton{color:var(--emw-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerInfoBox{display:flex;flex-direction:column}.PlayerInfoBox label{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:10px}.PlayerInfoBox input{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));padding:10px;line-height:16px;background:var(--emw-color-white, #FFFFFF);outline:none;transition-duration:0.3s;border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px}.PlayerInfoBox input:focus,.PlayerInfoBox input :focus-within,.PlayerInfoBox input :focus-visible,.PlayerInfoBox input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox.InvalidField input{border:1px solid var(--emw-color-error, var(--emw-color-red, #FD2839));background:var(--emw-color-pale, #FBECF4);color:var(--emw-color-error, var(--emw-color-red, #FD2839))}.PlayerInfoBox .InvalidInput{color:var(--emw-color-error, var(--emw-color-red, #FD2839));font-size:10px;line-height:10px}.PlayerInfoBox .FieldDisabled{opacity:0.5}.PlayerInfoBox .PlayerPhoneNumber{display:grid;grid-template-columns:2fr 4fr;column-gap:10px;position:relative}.PlayerInfoBox select{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding:10px;color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #353535);border-radius:10px;outline:none;transition-duration:0.3s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--emw-color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.PlayerInfoBox select:focus,.PlayerInfoBox select :focus-within,.PlayerInfoBox select :focus-visible,.PlayerInfoBox select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerInfoBox input::-webkit-outer-spin-button,.PlayerInfoBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerLocationContent{display:grid;grid-column-gap:50px;grid-row-gap:24px;grid-template-rows:auto;grid-template-columns:1fr 1fr;padding-bottom:30px}.PlayerNotificationBox:first-child{margin-bottom:10px}.PlayerNotificationBox label{display:inline-flex;position:relative;align-items:center}.PlayerNotificationBox label span{font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-light, 300)}.PlayerNotificationBox label input{height:20px;width:20px;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;appearance:none;border-radius:50px;outline:none;transition-duration:0.3s;background-color:var(--emw-color-gray-100, #E6E6E6);cursor:pointer;margin-right:10px}.PlayerNotificationBox label input:checked{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerNotificationBox label .Checkmark{left:10px;top:7px;width:4px;height:8px;border:solid var(--emw-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.PlayerDetailsButtonsArea{grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{cursor:pointer;border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-contrast, var(--emw-color-contrast, #07072A));text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;max-width:400px;min-width:200px}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 50px);max-width:400px;min-width:200px;padding:13px 0;width:100%}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{opacity:0.3;cursor:not-allowed}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile{width:100%;grid-template-columns:1fr 1fr}.PlayerDetailsButtonsArea.PlayerDetailsButtonsAreaMobile .PlayerDetailsSaveButton{height:40px;font-size:var(--emw--size-x-small, 12px)}.PlayerNotificationsCheckboxArea{padding-bottom:30px}.PlayerInfoWrapperMobile{padding:20px 15px;background:var(--emw-color-gray-50, #F9F8F8);max-width:unset;border-radius:0}.PlayerInfoWrapperMobile .PlayerDetailsContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsHeader h3,.PlayerInfoWrapperMobile .PlayerDetailsHeader h3,.PlayerInfoWrapperMobile .PlayerLocationHeader h3{color:ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500)}.PlayerInfoWrapperMobile .PlayerInfoBox label{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(-emw--font-weight-normal, 400)}.PlayerInfoWrapperMobile .PlayerInfoBox input{color:var(--emw-color-gray-300, #58586B);font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerInfoBox select{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperMobile .PlayerLocationContent{grid-template-columns:1fr}.PlayerInfoWrapperMobile .PlayerNotificationsCheckboxArea .PlayerNotificationBox label{color:var(--emw--pam-typography, var(--emw-color-contrast, #07072A));font-size:var(--emw--size-x-small, 12px);font-weight:var(--emw--font-weight-light, 300)}.PlayerInfoWrapperMobile .PlayerDetailsButtonsArea{grid-column-gap:10px}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton{font-size:var(--emw--size-x-small, 12px);height:40px;color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperMobile .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet{padding:40px 25% 40px 25%}.PlayerInfoWrapperTablet .PlayerDetailsContent{grid-row-gap:20px}.PlayerInfoWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerInfoWrapperTablet .MenuReturnButton span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerDetailsHeader h3,.PlayerInfoWrapperTablet .PlayerLocationHeader h3,.PlayerInfoWrapperTablet .PlayerNotificationsHeader h3{font-size:24px}.PlayerInfoWrapperTablet .PlayerInfoBox label{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox input{height:30px;font-size:var(--emw--font-size-large, 20px);line-height:30px}.PlayerInfoWrapperTablet .PlayerInfoBox select{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerInfoBox .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerInfoBox:last-child .InvalidInput{font-size:var(--emw--size-standard, 16px);bottom:-50px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea{font-family:var(--emw--button-typography);grid-column-gap:40px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{font-size:var(--emw--font-size-large, 20px);height:56px}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton{color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF))}.PlayerInfoWrapperTablet .PlayerDetailsButtonsArea .PlayerDetailsSaveButton.PlayerButtonDisabled{color:var(--emw-color-gray-300, #58586B)}.PlayerInfoWrapperTablet .PlayerNotificationBox label span{font-size:var(--emw--font-size-large, 20px)}.PlayerInfoWrapperTablet .PlayerNotificationBox label input{height:26px;width:26px}.PlayerInfoWrapperTablet .PlayerNotificationBox label .Checkmark{left:50px;top:9px}.PlayerDetailsConfirmSave{background:var(--emw-color-valid, var(--emw-color-green, #48952a));color:var(--emw-button-typography, var(--emw-color-white, #FFFFFF));padding:16px;border-radius:5px;margin-top:16px}.PlayerDetailsConfirmSave .PlayerDetailsConfirmSaveText{padding:0;margin:0}",this.shadowRoot.appendChild(r),M(this,{target:this.shadowRoot,props:(e=>{var r,t={};for(r of e)t[r.name]=r.value;return t})(this.attributes),customElement:!0},Fo,Uo,_,{userid:23,sessionid:24,endpoint:25,lang:26,clientstyling:27,clientstylingurl:28,translationurl:29,custominputtextswitch:0},null,[-1,-1,-1]),e&&(e.target&&lt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["userid","sessionid","endpoint","lang","clientstyling","clientstylingurl","translationurl","custominputtextswitch"]}get userid(){return this.$$.ctx[23]}set userid(e){this.$$set({userid:e}),d()}get sessionid(){return this.$$.ctx[24]}set sessionid(e){this.$$set({sessionid:e}),d()}get endpoint(){return this.$$.ctx[25]}set endpoint(e){this.$$set({endpoint:e}),d()}get lang(){return this.$$.ctx[26]}set lang(e){this.$$set({lang:e}),d()}get clientstyling(){return this.$$.ctx[27]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[28]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[29]}set translationurl(e){this.$$set({translationurl:e}),d()}get custominputtextswitch(){return this.$$.ctx[0]}set custominputtextswitch(e){this.$$set({custominputtextswitch:e}),d()}}return customElements.get("player-profile-info")||customElements.define("player-profile-info",jo),jo});
2
2
  //# sourceMappingURL=player-profile-info.js.map