@everymatrix/player-change-password 1.2.1 → 1.2.2
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
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function m(){}function C(e){return e()}function B(){return Object.create(null)}function fe(e){e.forEach(C)}function ge(e){return"function"==typeof e}function _(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function U(e,...t){if(null==e)return m;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function me(e,t){e.appendChild(t)}function ye(e,t,r){e.insertBefore(t,r||null)}function we(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function be(e){return document.createTextNode(e)}function Pe(){return be(" ")}function A(){return be("")}function ve(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Ee(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Te(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Ce(e,t){e.value=null==t?"":t}let D;function x(e){D=e}const S=[],F=[],I=[],H=[],M=Promise.resolve();let L=!1;function N(e){I.push(e)}const O=new Set;let R=0;function y(){const e=D;do{for(;R<S.length;){const e=S[R];R++,x(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),fe(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(N))}for(x(null),S.length=0,R=0;F.length;)F.pop()();for(let e=0;e<I.length;e+=1){const n=I[e];O.has(n)||(O.add(n),n())}}while(I.length=0,S.length);for(;H.length;)H.pop()();L=!1,O.clear(),x(e)}const k=new Set;function G(n,e,t,r,o,s,a,i=[-1]){var l=D;x(n);const c=n.$$={fragment:null,ctx:null,props:s,update:m,not_equal:o,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:B(),dirty:i,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let h=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),h&&(r=e,-1===(e=n).$$.dirty[0]&&(S.push(e),L||(L=!0,M.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),h=!0,fe(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const m=Array.from(s.childNodes);c.fragment&&c.fragment.l(m),m.forEach(we)}else c.fragment&&c.fragment.c();e.intro&&(i=n.$$.fragment)&&i.i&&(k.delete(i),i.i(void 0));{var u=n;a=e.target;t=e.anchor;r=e.customElement;const{fragment:d,on_mount:p,on_destroy:f,after_update:g}=u.$$;d&&d.m(a,t),r||N(()=>{var e=p.map(C).filter(ge);f?f.push(...e):fe(e),u.$$.on_mount=[]}),g.forEach(N)}y()}x(l)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(C).filter(ge);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){fe(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(fe(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=m}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var j,$,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==i&&i,W="URLSearchParams"in i,z="Symbol"in i&&"iterator"in Symbol,X="FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch(e){return!1}}(),Z="FormData"in i,K="ArrayBuffer"in i;function Y(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 q(e){return e="string"!=typeof e?String(e):e}function J(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return z&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Q(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ee(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function te(e){var t=new FileReader,r=ee(t);return t.readAsArrayBuffer(e),r}function re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ne(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:X&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Z&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():K&&X&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):K&&(ArrayBuffer.prototype.isPrototypeOf(e)||$(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):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):W&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},X&&(this.blob=function(){var e=Q(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(){return this._bodyArrayBuffer?Q(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(te)}),this.text=function(){var e,t,r=Q(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ee(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Z&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}K&&(j=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$=ArrayBuffer.isView||function(e){return e&&-1<j.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Y(e),t=q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[Y(e)]},l.prototype.get=function(e){return e=Y(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Y(e))},l.prototype.set=function(e,t){this.map[Y(e)]=q(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),J(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),J(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),J(r)},z&&(l.prototype[Symbol.iterator]=l.prototype.entries);var oe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<oe.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function se(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},ne.call(c.prototype),ne.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var ae=[301,302,303,307,308],u=(h.redirect=function(e,t){if(-1===ae.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},i.DOMException);try{new u}catch(m){(u=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),u.prototype.constructor=u}function ie(n,a){return new Promise(function(o,e){var t=new c(n,a);if(t.signal&&t.signal.aborted)return e(new u("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},n=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){o(new h(n,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new u("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&i.location.href?i.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(X?s.responseType="blob":K&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){s.setRequestHeader(e,q(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}ie.polyfill=!0,i.fetch||(i.fetch=ie,i.Headers=l,i.Request=c,i.Response=h),self.fetch.bind(self);var le=function(e,t){return(le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ce(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}le(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function he(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ue(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=s.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}function de(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function pe(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 Be=pe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function _e(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=he(s),i=a.next();!i.done;i=a.next())i.value.remove(this)}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){o=e instanceof Be?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=he(s),c=l.next();!c.done;c=l.next()){var h=c.value;try{Ie(h)}catch(e){o=null!=o?o:[],e instanceof Be?o=de(de([],ue(o)),ue(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new Be(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ie(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&_e(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Ae=r,xe=Ae.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Se(e){return e instanceof Ae||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function Ie(e){d(e)?e():e.unsubscribe()}var He=void 0,Me=!1,Le=!1,Ne={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Ne.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,de([e,t],ue(r))):setTimeout.apply(void 0,de([e,t],ue(r)))},clearTimeout:function(e){var t=Ne.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Oe(){}var Re=null;function Fe(e){if(Me){var t=!Re;if(t&&(Re={errorThrown:!1,error:null}),e(),t){var t=Re,r=t.errorThrown,t=t.error;if(Re=null,r)throw t}}else e()}ce(n,Ue=Ae),n.create=function(e,t,r){return new $e(e,t,r)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ue.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ue,De=n,ke=Function.prototype.bind;function n(e){var t=Ue.call(this)||this;return t.isStopped=!1,e?Se(t.destination=e)&&e.add(t):t.destination=Ze,t}function Ge(e,t){return ke.call(e,t)}ze.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Xe(e)}},ze.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Xe(e)}else Xe(e)},ze.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Xe(e)}};var Ve,je=ze,$e=(ce(We,Ve=De),We);function We(e,t,r){var n=Ve.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:n&&Le?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&Ge(e.next,t),error:e.error&&Ge(e.error,t),complete:e.complete&&Ge(e.complete,t)}):e;return n.destination=new je(r),n}function ze(e){this.partialObserver=e}function Xe(e){var t=e;Ne.setTimeout(function(){throw t})}var Ze={closed:!0,next:Oe,error:function(e){throw e},complete:Oe},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ke(e){return e}s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var n,o=this,s=(n=e)&&n instanceof De||n&&d(n.next)&&d(n.error)&&d(n.complete)&&Se(n)?e:new $e(e,t,r);return Fe(function(){var e=o.operator,t=o.source;s.add(e?e.call(s,t):t?o._subscribe(s):o._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(n,e){var o=this;return new(e=qe(e))(function(e,t){var r=new $e({next:function(e){try{n(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[o]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ke:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var n=this;return new(e=qe(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var Ye=s;function s(e){e&&(this._subscribe=e)}function qe(e){return null!=(e=null!=e?e:He)?e:Promise}var Je,Qe,et,tt=pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ce(a,et=Ye),a.prototype.lift=function(e){var t=new rt(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new tt},a.prototype.next=function(o){var s=this;Fe(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=he(s.currentObservers),n=r.next();!n.done;n=r.next())n.value.next(o)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Fe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;Fe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),et.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,o=this.observers;return r||n?xe:(this.currentObservers=null,o.push(e),new Ae(function(){t.currentObservers=null,_e(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},a.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},a.create=function(e,t){return new rt(e,t)},a),rt=(ce(at,Qe=o),at.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},at.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},at.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},at.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:xe},at),nt={now:function(){return(nt.delegate||Date).now()},delegate:void 0},ot=(ce(st,Je=o),st.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(s.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},st.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},st.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=t.now(),a=0,i=1;i<r.length&&r[i]<=s;i+=2)a=i;a&&r.splice(0,a+1)}},st);function st(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=nt);var n=Je.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function at(e,t){var r=Qe.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=et.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let it=[],lt={};const ct=[];function ht(n,o=m){let s;const a=new Set;function i(e){if(_(n,e)&&(n=e,s)){const e=!ct.length;for(const e of a)e[1](),ct.push(e,n);if(e){for(let e=0;e<ct.length;e+=2)ct[e][0](ct[e+1]);ct.length=0}}}return{set:i,update:function(e){i(e(n))},subscribe:function(e,t=m){const r=[e,t];return a.add(r),1===a.size&&(s=o(i)||m),e(n),()=>{a.delete(r),0===a.size&&(s(),s=null)}}}}function ut(e,i,t){const l=!Array.isArray(e),c=l?[e]:e,h=i.length<2;return{subscribe:ht(t,t=>{let r=!1;const n=[];let o=0,s=m;const a=()=>{var e;o||(s(),e=i(l?n[0]:n,t),h?t(e):s=ge(e)?e:m)},e=c.map((e,t)=>U(e,e=>{n[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){fe(e),s()}}).subscribe}}function dt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===pt));var t}var pt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?bt(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,r){return e.concat(t).map(function(e){return ft(e,r)})}function mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function yt(e,t){try{return t in e}catch(e){return!1}}function wt(n,o,s){var a={};return s.isMergeableObject(n)&&mt(n).forEach(function(e){a[e]=ft(n[e],s)}),mt(o).forEach(function(t){var e,r;(!yt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(yt(n,t)&&s.isMergeableObject(o[t])?a[t]=function(e){if(!e.customMerge)return bt;e=e.customMerge(t);return"function"==typeof e?e:bt}(s)(n[t],o[t],s):a[t]=ft(o[t],s))}),a}function bt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||gt,r.isMergeableObject=r.isMergeableObject||dt,r.cloneUnlessOtherwiseSpecified=ft;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):wt(e,t,r):ft(t,r)}bt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return bt(e,t,r)},{});throw new Error("first argument should be an array")};var Pt=bt,vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Et(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,w,Tt,b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Ct(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function Bt(e){return e.type===w.literal}function _t(e){return e.type===w.number}function At(e){return e.type===w.date}function xt(e){return e.type===w.time}function St(e){return e.type===w.select}function It(e){return e.type===w.plural}function Ht(e){return e.type===w.tag}function Mt(e){return e&&"object"==typeof e&&e.type===Tt.number}function Lt(e){return e&&"object"==typeof e&&e.type===Tt.dateTime}(o=g=g||{})[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=w=w||{})[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=Tt=Tt||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Nt=/(?:[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 Ot=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Rt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ft=/^(@+)?(\+|#+)?[rs]?$/g,Ut=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function kt(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(Ft,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Gt(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 Vt(e){return Gt(e)||{}}function jt(e){for(var a={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.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=o.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=b(b(b({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return b(b({},e),Vt(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return b(b({},e),Vt(t))},{}));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(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Ut,function(e,t,r,n,o,s){if(t)a.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dt.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Rt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Rt,function(e,t,r,n,o,s){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:o&&s?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var s=o.options[0];"w"===s?a=b(b({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=b(b({},a),kt(s)))}else Ft.test(o.stem)?a=b(b({},a),kt(o.stem)):((s=Gt(o.stem))&&(a=b(b({},a),s)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=b(b({},a),n)))}return a}var $t={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 Wt=new RegExp("^".concat(o.source,"*")),zt=new RegExp("".concat(o.source,"*$"));function P(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Xt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,Yt=!!String.prototype.trimStart,qt=!!String.prototype.trimEnd,Jt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{Qt="a"===(null==(Pr=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pr[0])}catch(m){Qt=!1}var er,tr,rr=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},nr=Xt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,s=0;s<o;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},or=Zt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],s=o[0],o=o[1];t[s]=o}return t},sr=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},ar=Yt?function(e){return e.trimStart()}:function(e){return e.replace(Wt,"")},ir=qt?function(e){return e.trimEnd()}:function(e){return e.replace(zt,"")};function lr(e,t){return new RegExp(e,t)}tr=Qt?(er=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return er.lastIndex=t,null!=(t=er.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var o=sr(e,t);if(void 0===o||ur(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),t+=65536<=o?2:1}return nr.apply(void 0,n)};p.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},p.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,s=this.char();if(123===s){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&hr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{s=this.clonePosition();this.bump(),n.push({type:w.pound,location:P(s,this.clonePosition())})}}}return{val:n,err:null}},p.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:w.literal,value:"<".concat(n,"/>"),location:P(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hr(this.char()))return this.error(g.INVALID_TAG,P(e,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,P(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:w.tag,value:n,children:t,location:P(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,P(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,P(r,this.clonePosition()))}return this.error(g.INVALID_TAG,P(r,this.clonePosition()))},p.prototype.parseTagName=function(){var e,t=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(t,this.offset())},p.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=P(r,this.clonePosition());return{val:{type:w.literal,value:n,location:r},err:null}},p.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},p.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 t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return nr.apply(void 0,t)},p.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),nr(r))},p.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,P(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,P(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:w.argument,value:n,location:P(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,P(r,this.clonePosition()))}},p.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=tr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:P(e,this.clonePosition())}},p.prototype.parseArgumentOptions=function(e,t,r,n){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,i=this.clonePosition();switch(a){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,P(s,i));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(p=ir(f.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:P(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(n)).err)return c;var h=P(n,this.clonePosition());if(l&&rr(null==l?void 0:l.style,"::",0)){var u=ar(l.style.slice(2));if("number"===a)return(f=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?f:{val:{type:w.number,value:r,location:h,style:f.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,h);var d=u,p=(this.locale&&(d=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var s=0;n+1<e.length&&e.charAt(n+1)===o;)s++,n++;var a=1+(1&s),i=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),($t[t||""]||$t[r||""]||$t["".concat(r,"-001")]||$t["001"])[0]}(t);for("H"!=l&&"k"!=l||(i=0);0<i--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(u,this.locale)),{type:Tt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},d.replace(Nt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"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":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<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""}),o):{}});return{val:{type:"date"===a?w.date:w.time,value:r,location:h,style:p},err:null}}return{val:{type:"number"===a?w.number:"date"===a?w.date:w.time,value:r,location:h,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,P(d,b({},d)));this.bumpSpace();var f,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=f.val}l=this.tryParsePluralOrSelectOptions(e,a,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(n)).err)return c;u=P(n,this.clonePosition());return"select"===a?{val:{type:w.select,value:r,options:or(l.val),location:u},err:null}:{val:{type:w.plural,value:r,options:or(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,P(s,i))}},p.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},p.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},p.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Ot).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],o=o.slice(1),a=0,i=o;a<i.length;a++)if(0===i[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:o})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Tt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?jt(r):{}},err:null}},p.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,s=[],a=new Set,i=n.value,l=n.location;;){if(0===i.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=P(c,this.clonePosition()),i=this.message.slice(c.offset,this.offset())}if(a.has(i))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===i&&(o=!0),this.bumpSpace();h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([i,{value:c.val,location:P(h,this.clonePosition())}]),a.add(i),this.bumpSpace(),i=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===s.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(g.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:s,err:null}},p.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,s=10*s+(a-48),this.bump()}n=P(n,this.clonePosition());return o?Jt(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},p.prototype.offset=function(){return this.position.offset},p.prototype.isEOF=function(){return this.offset()===this.message.length},p.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},p.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=sr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},p.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},p.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))},p.prototype.bumpIf=function(e){if(rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},p.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},p.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 t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},p.prototype.bumpSpace=function(){for(;!this.isEOF()&&ur(this.char());)this.bump()},p.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var cr=p;function p(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function hr(e){return 97<=e&&e<=122||65<=e&&e<=90}function ur(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function dr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new cr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,St(e)||It(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else _t(e)&&Mt(e.style)||(At(e)||xt(e))&&Lt(e.style)?delete e.style.location:Ht(e)&&r(e.children)})}(e.val),e.val}function pr(e,t){var r=t&&t.cache?t.cache:vr,n=t&&t.serializer?t.serializer:yr;return(t&&t.strategy?t.strategy:function(e,t){return mr(e,this,1===e.length?fr:gr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function fr(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(r);return void 0===o&&(o=e.call(this,n),t.set(r,o)),o}function gr(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function mr(e,t,r,n,o){return r.bind(t,e,n,o)}var yr=function(){return JSON.stringify(arguments)};function wr(){this.cache=Object.create(null)}wr.prototype.get=function(e){return this.cache[e]},wr.prototype.set=function(e,t){this.cache[e]=t};var br,Pr,vr={create:function(){return new wr}},Er={variadic:function(e,t){return mr(e,this,gr,t.cache.create(),t.serializer)},monadic:function(e,t){return mr(e,this,fr,t.cache.create(),t.serializer)}};(Pr=br=br||{}).MISSING_VALUE="MISSING_VALUE",Pr.INVALID_VALUE="INVALID_VALUE",Pr.MISSING_INTL_API="MISSING_INTL_API";Et(Nr,_r=Error),Nr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Tr,Cr,Br,_r,Ar=Nr,xr=(Et(Lr,Br=Ar),Lr),Sr=(Et(Mr,Cr=Ar),Mr),Ir=(Et(Hr,Tr=Ar),Hr);function Hr(e,t){return Tr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),br.MISSING_VALUE,t)||this}function Mr(e,t,r){return Cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),br.INVALID_VALUE,r)||this}function Lr(e,t,r,n){return Br.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),br.INVALID_VALUE,n)||this}function Nr(e,t,r){e=_r.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Or(e,t,r,n,o,s,a){if(1===e.length&&Bt(e[0]))return[{type:v.literal,value:e[0].value}];for(var i=[],l=0,c=e;l<c.length;l++){var h=c[l];if(Bt(h))i.push({type:v.literal,value:h.value});else if(h.type===w.pound)"number"==typeof s&&i.push({type:v.literal,value:r.getNumberFormat(t).format(s)});else{var u=h.value;if(!(o&&u in o))throw new Ir(u,a);u=o[u];if(h.type===w.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),i.push({type:"string"==typeof u?v.literal:v.object,value:u});else if(At(h)){var d="string"==typeof h.style?n.date[h.style]:Lt(h.style)?h.style.parsedOptions:void 0;i.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(u)})}else if(xt(h))d="string"==typeof h.style?n.time[h.style]:Lt(h.style)?h.style.parsedOptions:n.time.medium,i.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(u)});else if(_t(h))(d="string"==typeof h.style?n.number[h.style]:Mt(h.style)?h.style.parsedOptions:void 0)&&d.scale&&(u*=d.scale||1),i.push({type:v.literal,value:r.getNumberFormat(t,d).format(u)});else{if(Ht(h)){var p=h.children,f=h.value,g=o[f];if("function"!=typeof g)throw new Sr(f,"function",a);f=g(Or(p,t,r,n,o,s).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),i.push.apply(i,f.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(St(h)){if(!(m=h.options[u]||h.options.other))throw new xr(h.value,u,Object.keys(h.options),a);i.push.apply(i,Or(m.value,t,r,n,o))}else if(It(h)){if(!(m=h.options["=".concat(u)])){if(!Intl.PluralRules)throw new Ar('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',br.MISSING_INTL_API,a);var g=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0)),m=h.options[g]||h.options.other}if(!m)throw new xr(h.value,u,Object.keys(h.options),a);i.push.apply(i,Or(m.value,t,r,n,o,u-(h.offset||0)))}}}}return(e=i).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Rr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=dr,f.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 Fr=f;function f(e,t,r,n){var o,s,a=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Or(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=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==n?void 0:n.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=(o=f.formats,(s=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=s[t])?b(b(b({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),n[t]||{}),e},{})):r),e},b({},o)):o),this.formatters=n&&n.formatters||{getNumberFormat:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Er.variadic}),getDateTimeFormat:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr(t.dateTime),strategy:Er.variadic}),getPluralRules:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr(t.pluralRules),strategy:Er.variadic})}}const E={},Ur=(e,t,r)=>r&&(t in E||(E[t]={}),e in E[t]||(E[t][e]=r),r),Dr=(t,r)=>{if(null!=r){if(r in E&&t in E[r])return E[r][t];var n=tn(r);for(let e=0;e<n.length;e++){var o=function(e,r){if(!Vr(e))return null;e=function(e){return kr[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const o=n.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const n=o.slice(e,o.length).join(".");if(n in t){t=t[n];break}}t=t[o[e]]}else t=void 0;return t}}(n[e],t);if(o)return Ur(t,r,o)}}};let kr;const Gr=ht({});function Vr(e){return e in kr}function jr(t,...r){delete E[t],Gr.update(e=>(e[t]=Pt.all([e[t]||{},...r]),e))}ut([Gr],([e])=>Object.keys(e)),Gr.subscribe(e=>kr=e);const $r={};function Wr(e){return $r[e]}function zr(e){return null!=e&&tn(e).some(e=>{return null==(e=Wr(e))?void 0:e.size})}const Xr={};function Zr(e){if(!zr(e))return e in Xr?Xr[e]:Promise.resolve();const t=tn(e).map(e=>{var t=Wr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Xr[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return $r[t].delete(r),0===$r[t].size&&delete $r[t],e().then(e=>e.default||e)}));return r.then(e=>jr(n,...e))}})).then(()=>{if(zr(e))return Zr(e);delete Xr[e]}),Xr[e]}function Kr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const Yr={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};const qr=ht(!1);let Jr;const Qr=ht(null);function en(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function tn(e,t=Yr.fallbackLocale){e=en(e);return t?[...new Set([...e,...en(t)])]:e}function T(){return null!=Jr?Jr:void 0}Qr.subscribe(e=>{Jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const rn=Object.assign(Object.assign({},Qr),{set:t=>{if(t&&function(e){if(null!=e){var t=tn(e);for(let e=0;e<t.length;e++){var r=t[e];if(Vr(r))return r}}}(t)&&zr(t)){var r=Yr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=T()&&r?e=window.setTimeout(()=>qr.set(!0),r):qr.set(!0),Zr(t).then(()=>{Qr.set(t)}).finally(()=>{clearTimeout(e),qr.set(!1)})}return Qr.set(t)}}),nn=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},on=(e,t)=>{var r=Yr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sn=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=on("number",r)),new Intl.NumberFormat(t,e)}),an=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=on("date",r):0===Object.keys(e).length&&(e=on("date","short")),new Intl.DateTimeFormat(t,e)}),ln=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=on("time",r):0===Object.keys(e).length&&(e=on("time","short")),new Intl.DateTimeFormat(t,e)}),cn=nn((e,t=T())=>new Fr(e,t,Yr.formats,{ignoreTag:Yr.ignoreTag})),hn=ut([rn,Gr],()=>(e,t={})=>{var r,n;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:a=T(),default:i}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Dr(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(n=null!=(r=null==(r=(n=Yr).handleMissingMessage)?void 0:r.call(n,{locale:a,id:e,defaultValue:i}))?r:i)?n:e;if(!s)return l;let c=l;try{c=cn(l,a).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function un(e,t){jr(e,t)}ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return ln(Object.assign({locale:t},e))})(t).format(e)),ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return an(Object.assign({locale:t},e))})(t).format(e)),ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return sn(Object.assign({locale:t},e))})(t).format(e)),ut([rn,Gr],()=>(e,t=T())=>Dr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==it.indexOf(e)&&(t=new ot(t),lt[e]=t,it.push(e)),lt[e]}};const dn={en:{changePassword:{title:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",simplePasswordError:"Password must be 8-20 characters long.",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back"}},zh:{changePassword:{title:"更改密碼",currentPassword:"當前密碼",invalidCurrentPassword:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",newPassword:"新密碼",invalidNewPassword:"新密碼必須與舊密碼不同。",invalidNewPasswordSecondary:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",confirmPassword:"確認密碼",simplePasswordError:"密码长度必须为 8-20 个字符。",confirmPasswordInvalid:"密碼必須與新密碼匹配,並且必須遵循相同的規則。",submitChangePassword:"更改密碼",returnToMenu:"返回菜單",changePasswordText:"更改密碼",passwordReset:"重設密碼",passwordResetConfirmation:"您的密碼已成功重置。",backButtonText:"回到賭場"}},fr:{changePassword:{title:"Modifier le mot de passe",currentPassword:"Mot de passe actuel:",invalidCurrentPassword:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",newPassword:"Nouveau mot de passe:",invalidNewPassword:"Le nouveau mot de passe doit être different de l'ancien.",invalidNewPasswordSecondary:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",confirmPassword:"Confirmer le mot de passe:",confirmPasswordInvalid:"Le mot de passe doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",submitChangePassword:"Modifier le mot de passe",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",returnToMenu:"Retour au menu",changePasswordText:"Modifier le mot de passe",passwordReset:"Réinitialisation du mot de passe",passwordResetConfirmation:"Votre mot de passe a été réinitialisé avec succès.",backButtonText:"Retour"}},ro:{changePassword:{title:"Schimbă parola",currentPassword:"Parola curentă",invalidCurrentPassword:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special. ",newPassword:"Parola nouă",invalidNewPassword:"Noua parolă trebuie să fie diferită de cea veche.",invalidNewPasswordSecondary:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special.",confirmPassword:"Confirmă parola",confirmPasswordInvalid:"Parolele trebuie să coincidă și să îndeplinească aceleași condiții.",submitChangePassword:"Schimbă parola",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi"}},es:{changePassword:{title:"Cambiar la contraseña",currentPassword:"Contraseña actual",invalidCurrentPassword:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",newPassword:"Nueva contraseña",invalidNewPassword:"La nueva contraseña debe ser diferente de la contraseña anterior.",invalidNewPasswordSecondary:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",confirmPassword:"Confirmar la contraseña",confirmPasswordInvalid:"La contraseña debe coincidir con la nueva contraseña y debe seguir las mismas reglas.",submitChangePassword:"Cambia la contraseña",simplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",returnToMenu:"Regresar al menú",changePasswordText:"Cambiar la contraseña",passwordReset:"RESTABLECIMIENTO DE CONTRASEÑA",passwordResetConfirmation:"Su contraseña ha sido restablecida con éxito.",backButtonText:"Regresar"}},pt:{changePassword:{title:"Mudar senha",currentPassword:"Senha atual",invalidCurrentPassword:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",newPassword:"Nova Senha",invalidNewPassword:"A nova senha deve ser diferente da senha antiga.",invalidNewPasswordSecondary:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",confirmPassword:"Confirme sua senha",confirmPasswordInvalid:"A senha deve corresponder à nova senha e deve seguir as mesmas regras.",submitChangePassword:"Mudar senha",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",returnToMenu:"Voltar ao menu",changePasswordText:"Mudar senha",passwordReset:"REDEFINIÇÃO DE SENHA",passwordResetConfirmation:"Sua senha foi redefinida com sucesso.",backButtonText:"Voltar"}}};function pn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b,P,v,E,T=r[19]("changePassword.changePasswordText")+"",C=r[19]("changePassword.passwordReset")+"",B=r[19]("changePassword.passwordResetConfirmation")+"",_=r[19]("changePassword.backButtonText")+"",A=r[20]&&function(r){let n,o,s,a,i,l,c,h,u,d=r[19]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),s=e("g"),a=e("path"),i=Pe(),l=t("span"),c=be(d),Ee(a,"id","Chevron_Right"),Ee(a,"d","M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"),Ee(o,"version","1.1"),Ee(o,"id","Capa_1"),Ee(o,"xmlns","http://www.w3.org/2000/svg"),Ee(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),Ee(o,"x","0px"),Ee(o,"y","0px"),Ee(o,"viewBox","0 0 240.823 240.823"),o.style.setProperty("enable-background","new 0 0 240.823 240.823",""),Ee(o,"xml:space","preserve"),Ee(o,"width","18px"),Ee(o,"fill","var(--emfe-w-color-gray-300, #58586B)"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(n,l),me(l,c),h||(u=ve(n,"click",r[45]),h=!0)},p(e,t){524288&t[0]&&d!==(d=e[19]("changePassword.returnToMenu")+"")&&Te(c,d)},d(e){e&&we(n),h=!1,u()}}}(r);return{c(){A&&A.c(),n=Pe(),o=t("div"),s=t("h3"),a=be(T),i=Pe(),l=t("div"),c=t("div"),(h=t("div")).innerHTML='<div class="Checkmark" part="Checkmark"></div>',u=Pe(),d=t("div"),p=t("h3"),f=be(C),g=Pe(),m=t("p"),y=be(B),w=Pe(),b=t("div"),P=be(_),Ee(o,"class","PlayerChangePasswordHeader"),Ee(o,"part","PlayerChangePasswordHeader"),Ee(h,"class","IconContainer"),Ee(h,"part","IconContainer"),Ee(d,"class","TextContainer"),Ee(d,"part","TextContainer"),Ee(c,"class","SuccessWrapper"),Ee(c,"part","SuccessWrapper"),Ee(b,"class","PlayerChangePasswordBackButton"),Ee(b,"part","PlayerChangePasswordBackButton"),Ee(l,"class","ChangedPasswordSuccessfully"),Ee(l,"part","ChangedPasswordSuccessfully")},m(e,t){A&&A.m(e,t),ye(e,n,t),ye(e,o,t),me(o,s),me(s,a),ye(e,i,t),ye(e,l,t),me(l,c),me(c,h),me(c,u),me(c,d),me(d,p),me(p,f),me(d,g),me(d,m),me(m,y),me(l,w),me(l,b),me(b,P),v||(E=ve(b,"click",r[46]),v=!0)},p(e,t){e[20]&&A.p(e,t),524288&t[0]&&T!==(T=e[19]("changePassword.changePasswordText")+"")&&Te(a,T),524288&t[0]&&C!==(C=e[19]("changePassword.passwordReset")+"")&&Te(f,C),524288&t[0]&&B!==(B=e[19]("changePassword.passwordResetConfirmation")+"")&&Te(y,B),524288&t[0]&&_!==(_=e[19]("changePassword.backButtonText")+"")&&Te(P,_)},d(e){A&&A.d(e),e&&we(n),e&&we(o),e&&we(i),e&&we(l),v=!1,E()}}}function fn(r){let U,n,D,k,o,s,a,G,V,i,j,$,l,c,W,h,u,z,X,d,Z,K,p,f,Y,g,m,q,J,y,Q,ee,w,b,te,P,v,E,re,T,C,B,ne,oe,_=r[19]("changePassword.title")+"",A=r[19]("changePassword.currentPassword")+"",x=r[19]("changePassword.newPassword")+"",se=r[19]("changePassword.confirmPassword")+"",ae=r[19]("changePassword.submitChangePassword")+"",S=r[20]&&function(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m=r[19]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),s=e("defs"),a=e("style"),i=be(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),c=e("g"),h=e("path"),u=Pe(),d=t("h2"),p=be(m),Ee(h,"class","aaa"),Ee(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),Ee(h,"transform","translate(15 15) rotate(180)"),Ee(c,"transform","translate(20 158)"),Ee(l,"transform","translate(-20 -158)"),Ee(o,"xmlns","http://www.w3.org/2000/svg"),Ee(o,"width","15"),Ee(o,"height","15"),Ee(o,"viewBox","0 0 15 15"),Ee(d,"class","ChangePasswordTitleMobile"),Ee(d,"part","ChangePasswordTitleMobile"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(a,i),me(o,l),me(l,c),me(c,h),me(n,u),me(n,d),me(d,p),f||(g=ve(n,"click",r[31]),f=!0)},p(e,t){524288&t[0]&&m!==(m=e[19]("changePassword.title")+"")&&Te(p,m)},d(e){e&&we(n),f=!1,g()}}}(r);function ie(e){return e[10]?mn:gn}let le=ie(r),I=le(r),H=r[4]&&yn(r);function ce(e){return e[11]?vn:Pn}let he=ce(r),M=he(r);function ue(e){return e[13]?Tn:e[5]?En:void 0}let L=ue(r),N=L&&L(r);function de(e){return e[12]?An:_n}let pe=de(r),O=pe(r),R=r[6]&&xn(r),F=r[18]&&Sn(r);return{c(){S&&S.c(),U=Pe(),n=t("h2"),D=be(_),k=Pe(),o=t("section"),s=t("div"),a=t("label"),G=be(A),V=Pe(),i=t("input"),j=Pe(),I.c(),$=Pe(),H&&H.c(),W=Pe(),h=t("div"),u=t("label"),z=be(x),X=Pe(),d=t("input"),Z=Pe(),M.c(),K=Pe(),N&&N.c(),Y=Pe(),g=t("div"),m=t("label"),q=be(se),J=Pe(),y=t("input"),Q=Pe(),O.c(),ee=Pe(),R&&R.c(),te=Pe(),F&&F.c(),P=Pe(),v=t("section"),E=t("button"),re=be(ae),Ee(n,"class","ChangePasswordTitle "+(r[20]?"ChangePasswordTitleNone":"")),Ee(n,"part","ChangePasswordTitle "+(r[20]?"ChangePasswordTitleNone":"")),Ee(a,"for","CurrentPassword"),Ee(i,"id","CurrentPassword"),Ee(i,"type","password"),Ee(s,"class",l="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(s,"part",c="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(u,"for","NewPassword"),Ee(d,"id","NewPassword"),Ee(d,"autocomplete","new-password"),Ee(d,"type","password"),Ee(h,"class",p="PlayerChangePasswordBox "+(r[5]?"InvalidField":"")),Ee(h,"part",f="PlayerChangePasswordBox "+(r[5]?"InvalidField":"")),Ee(m,"for","ConfirmPassword"),Ee(y,"id","ConfirmPassword"),Ee(y,"type","password"),Ee(g,"class",w="PlayerChangePasswordBox "+(r[6]?"InvalidField":"")),Ee(g,"part",b="PlayerChangePasswordBox "+(r[6]?"InvalidField":"")),Ee(o,"class","PlayerChangePasswordContent"),Ee(o,"part","PlayerChangePasswordContent"),Ee(E,"class",T="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive")),Ee(E,"part",C="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive")),E.disabled=B=!r[3],Ee(v,"class","PlayerChangePasswordButtonsArea"),Ee(v,"part","PlayerChangePasswordButtonsArea")},m(e,t){S&&S.m(e,t),ye(e,U,t),ye(e,n,t),me(n,D),ye(e,k,t),ye(e,o,t),me(o,s),me(s,a),me(a,G),me(s,V),me(s,i),Ce(i,r[14]),r[33](i),me(s,j),I.m(s,null),me(s,$),H&&H.m(s,null),me(o,W),me(o,h),me(h,u),me(u,z),me(h,X),me(h,d),Ce(d,r[15]),r[37](d),me(h,Z),M.m(h,null),me(h,K),N&&N.m(h,null),me(o,Y),me(o,g),me(g,m),me(m,q),me(g,J),me(g,y),Ce(y,r[16]),r[41](y),me(g,Q),O.m(g,null),me(g,ee),R&&R.m(g,null),ye(e,te,t),F&&F.m(e,t),ye(e,P,t),ye(e,v,t),me(v,E),me(E,re),ne||(oe=[ve(i,"input",r[32]),ve(i,"blur",function(){ge(r[23](r[4],r[14],r[7]))&&r[23](r[4],r[14],r[7]).apply(this,arguments)}),ve(d,"input",r[36]),ve(d,"blur",function(){ge(r[23](r[5],r[15],r[8]))&&r[23](r[5],r[15],r[8]).apply(this,arguments)}),ve(y,"input",r[40]),ve(y,"blur",function(){ge(r[23](r[6],r[16],r[9]))&&r[23](r[6],r[16],r[9]).apply(this,arguments)}),ve(E,"click",r[44])],ne=!0)},p(e,t){(r=e)[20]&&S.p(r,t),524288&t[0]&&_!==(_=r[19]("changePassword.title")+"")&&Te(D,_),524288&t[0]&&A!==(A=r[19]("changePassword.currentPassword")+"")&&Te(G,A),16384&t[0]&&i.value!==r[14]&&Ce(i,r[14]),le===(le=ie(r))&&I?I.p(r,t):(I.d(1),(I=le(r))&&(I.c(),I.m(s,$))),r[4]?H?H.p(r,t):((H=yn(r)).c(),H.m(s,null)):H&&(H.d(1),H=null),16&t[0]&&l!==(l="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(s,"class",l),16&t[0]&&c!==(c="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(s,"part",c),524288&t[0]&&x!==(x=r[19]("changePassword.newPassword")+"")&&Te(z,x),32768&t[0]&&d.value!==r[15]&&Ce(d,r[15]),he===(he=ce(r))&&M?M.p(r,t):(M.d(1),(M=he(r))&&(M.c(),M.m(h,K))),L===(L=ue(r))&&N?N.p(r,t):(N&&N.d(1),(N=L&&L(r))&&(N.c(),N.m(h,null))),32&t[0]&&p!==(p="PlayerChangePasswordBox "+(r[5]?"InvalidField":""))&&Ee(h,"class",p),32&t[0]&&f!==(f="PlayerChangePasswordBox "+(r[5]?"InvalidField":""))&&Ee(h,"part",f),524288&t[0]&&se!==(se=r[19]("changePassword.confirmPassword")+"")&&Te(q,se),65536&t[0]&&y.value!==r[16]&&Ce(y,r[16]),pe===(pe=de(r))&&O?O.p(r,t):(O.d(1),(O=pe(r))&&(O.c(),O.m(g,ee))),r[6]?R?R.p(r,t):((R=xn(r)).c(),R.m(g,null)):R&&(R.d(1),R=null),64&t[0]&&w!==(w="PlayerChangePasswordBox "+(r[6]?"InvalidField":""))&&Ee(g,"class",w),64&t[0]&&b!==(b="PlayerChangePasswordBox "+(r[6]?"InvalidField":""))&&Ee(g,"part",b),r[18]?F?F.p(r,t):((F=Sn(r)).c(),F.m(P.parentNode,P)):F&&(F.d(1),F=null),524288&t[0]&&ae!==(ae=r[19]("changePassword.submitChangePassword")+"")&&Te(re,ae),8&t[0]&&T!==(T="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive"))&&Ee(E,"class",T),8&t[0]&&C!==(C="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive"))&&Ee(E,"part",C),8&t[0]&&B!==(B=!r[3])&&(E.disabled=B)},d(e){S&&S.d(e),e&&we(U),e&&we(n),e&&we(k),e&&we(o),r[33](null),I.d(),H&&H.d(),r[37](null),M.d(),N&&N.d(),r[41](null),O.d(),R&&R.d(),e&&we(te),F&&F.d(e),e&&we(P),e&&we(v),ne=!1,fe(oe)}}}function gn(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[35]),d=!0)},p(e,t){16&t[0]&&h!==(h="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function mn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[34]),w=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),16&t[0]&&y!==(y="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function yn(e){let r;function n(e){return"true"==e[0]?bn:wn}let o=n(e),s=o(e);return{c(){s.c(),r=A()},m(e,t){s.m(e,t),ye(e,r,t)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&we(r)}}}function wn(e){let r,n,o=e[19]("changePassword.invalidCurrentPassword")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidCurrentPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function bn(e){let r,n,o=e[19]("changePassword.simplePasswordError")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.simplePasswordError")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Pn(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[39]),d=!0)},p(e,t){32&t[0]&&h!==(h="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),32&t[0]&&u!==(u="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function vn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[38]),w=!0)},p(e,t){32&t[0]&&m!==(m="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),32&t[0]&&y!==(y="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function En(e){let r;function n(e){return"true"==e[0]?Bn:Cn}let o=n(e),s=o(e);return{c(){s.c(),r=A()},m(e,t){s.m(e,t),ye(e,r,t)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&we(r)}}}function Tn(e){let r,n,o=e[19]("changePassword.invalidNewPassword")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInputNew"),Ee(r,"part","InvalidInputNew")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidNewPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Cn(e){let r,n,o=e[19]("changePassword.invalidNewPasswordSecondary")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidNewPasswordSecondary")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Bn(e){let r,n,o=e[19]("changePassword.simplePasswordError")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.simplePasswordError")+"")&&Te(n,o)},d(e){e&&we(r)}}}function _n(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[43]),d=!0)},p(e,t){64&t[0]&&h!==(h="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),64&t[0]&&u!==(u="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function An(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[42]),w=!0)},p(e,t){64&t[0]&&m!==(m="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),64&t[0]&&y!==(y="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function xn(e){let r,n,o=e[19]("changePassword.confirmPasswordInvalid")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.confirmPasswordInvalid")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Sn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=be(e[17]),Ee(n,"class","PasswordChangedError"),Ee(n,"part","PasswordChangedError")},m(e,t){ye(e,r,t),me(r,n),me(n,o)},p(e,t){131072&t[0]&&Te(o,e[17])},d(e){e&&we(r)}}}function In(r){let n,o=function(e){let r;function n(e){return e[2]?pn:fn}let o=n(e),s=o(e);return{c(){r=t("form"),s.c(),Ee(r,"class","PlayerChangePasswordWrapper "+(e[20]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[21].matches&&e[20]?"PlayerChangePasswordWrapperTablet":"")),Ee(r,"part","PlayerChangePasswordWrapper "+(e[20]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[21].matches&&e[20]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){ye(e,r,t),s.m(r,null)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},d(e){e&&we(r),s.d()}}}(r);return{c(){n=t("div"),o.c(),this.c=m},m(e,t){ye(e,n,t),o.m(n,null),r[47](n)},p(e,t){o.p(e,t)},i:m,o:m,d(e){e&&we(n),o.d(),r[47](null)}}}function Hn(t,e,n){let r;var o=hn;t.$$.on_destroy.push(U(o,e=>n(19,r=e)));let s,{lang:a="en"}=e,{simplepasswordvalidation:i="false"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{translationUrl:h=""}=e,u="PC"!=((o=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":o.toLowerCase().match(/iphone/i)?"iPhone":o.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),d=!1;const R=window.matchMedia("(min-width: 768px)"),p={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let f,g,m,y=!1,w=!1,b=!1,P=!1,v=!1,E=!1,T=!1,C="",B="",_="",A=!1,x="",S=!1;Object.keys(dn).forEach(e=>{un(e,dn[e])});const I=e=>{switch(e){case"userCurrentPassword":n(10,P=!P),n(7,f.type=P?"text":"password",f);break;case"userNewPassword":n(11,v=!v),n(8,g.type=v?"text":"password",g);break;case"userConfirmPassword":n(12,E=!E),n(9,m.type=E?"text":"password",m)}},H=e=>!!p.password.test(e),M=e=>{e.preventDefault(),d&&window.postMessage({type:"ChangePassword",userCurrentPassword:C,userNewPassword:B},window.location.href)},L=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:u},window.location.href)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},O=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(2,A=!0);break;case"ShowPasswordChangedError":n(18,S=e.data.showErrorPasswordChanged),n(17,x=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",O,!1),()=>{window.removeEventListener("message",O)}),function(){if(D)return D;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(27,a=e.lang),"simplepasswordvalidation"in e&&n(0,i=e.simplepasswordvalidation),"clientstyling"in e&&n(28,l=e.clientstyling),"clientstylingurl"in e&&n(29,c=e.clientstylingurl),"translationUrl"in e&&n(30,h=e.translationUrl)},t.$$.update=()=>{if(1&t.$$.dirty[0]&&i&&"true"==i&&(p.password=/^(?!.* ).{8,20}$/),134217728&t.$$.dirty[0]&&a&&(e=a,rn.set(e)),t.$$.dirty[0],536870914&t.$$.dirty[0]&&c&&s){let e=new URL(c),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}if(268435458&t.$$.dirty[0]&&l&&s){let e=document.createElement("style");e.innerHTML=l,s.appendChild(e)}var e;1073741824&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.log(e)})},[i,s,A,d,y,w,b,f,g,m,P,v,E,T,C,B,_,x,S,r,u,R,I,(e,t,r)=>{"CurrentPassword"===r.id?n(4,y=!H(t)):"NewPassword"===r.id?(n(5,w=!H(t)),C&&n(13,T=C===B),_&&n(6,b=B!==_||!H(t))):n(6,b=B!==_||!H(t)),n(3,d=!(y||w||b||T||!C||!B||!_))},M,L,N,a,l,c,h,()=>L(),function(){C=this.value,n(14,C)},function(e){F[e?"unshift":"push"](()=>{f=e,n(7,f)})},()=>I("userCurrentPassword"),()=>I("userCurrentPassword"),function(){B=this.value,n(15,B)},function(e){F[e?"unshift":"push"](()=>{g=e,n(8,g)})},()=>I("userNewPassword"),()=>I("userNewPassword"),function(){_=this.value,n(16,_)},function(e){F[e?"unshift":"push"](()=>{m=e,n(9,m)})},()=>I("userConfirmPassword"),()=>I("userConfirmPassword"),e=>M(e),()=>L(),()=>N(),function(e){F[e?"unshift":"push"](()=>{s=e,n(1,s)})}]}class Mn extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerChangePasswordWrapper{color:var(--emfe-w-color-contrast, #07072A);padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emfe-w-color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emfe-w-color-error, #FD2839);font-size:10px;padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emfe-w-color-error, #FD2839);font-size:16px;line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emfe-w-color-white, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emfe-w-color-green, #48952a);border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emfe-w-color-green, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:var(--emfe-w-color-green, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A)}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:var(--emfe-w-color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emfe-w-color-gray-300, #58586B)}.MenuReturnButton{color:var(--emfe-w-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emfe-w-color-gray-300, #58586B)}</style>",G(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Hn,In,_,{lang:27,simplepasswordvalidation:0,clientstyling:28,clientstylingurl:29,translationUrl:30},null,[-1,-1]),e&&(e.target&&ye(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationUrl"]}get lang(){return this.$$.ctx[27]}set lang(e){this.$$set({lang:e}),y()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),y()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$$set({clientstyling:e}),y()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),y()}get translationUrl(){return this.$$.ctx[30]}set translationUrl(e){this.$$set({translationUrl:e}),y()}}return customElements.get("player-change-password")||customElements.define("player-change-password",Mn),Mn});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function m(){}function C(e){return e()}function B(){return Object.create(null)}function fe(e){e.forEach(C)}function ge(e){return"function"==typeof e}function _(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function U(e,...t){if(null==e)return m;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function me(e,t){e.appendChild(t)}function ye(e,t,r){e.insertBefore(t,r||null)}function we(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function e(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function be(e){return document.createTextNode(e)}function Pe(){return be(" ")}function A(){return be("")}function ve(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Ee(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Te(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Ce(e,t){e.value=null==t?"":t}let D;function x(e){D=e}const S=[],F=[],I=[],H=[],M=Promise.resolve();let L=!1;function N(e){I.push(e)}const O=new Set;let R=0;function y(){const e=D;do{for(;R<S.length;){const e=S[R];R++,x(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),fe(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(N))}for(x(null),S.length=0,R=0;F.length;)F.pop()();for(let e=0;e<I.length;e+=1){const n=I[e];O.has(n)||(O.add(n),n())}}while(I.length=0,S.length);for(;H.length;)H.pop()();L=!1,O.clear(),x(e)}const k=new Set;function G(n,e,t,r,o,s,a,i=[-1]){var l=D;x(n);const c=n.$$={fragment:null,ctx:null,props:s,update:m,not_equal:o,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:B(),dirty:i,skip_bound:!1,root:e.target||l.$$.root};a&&a(c.root);let h=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&o(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),h&&(r=e,-1===(e=n).$$.dirty[0]&&(S.push(e),L||(L=!0,M.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),h=!0,fe(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const m=Array.from(s.childNodes);c.fragment&&c.fragment.l(m),m.forEach(we)}else c.fragment&&c.fragment.c();e.intro&&(i=n.$$.fragment)&&i.i&&(k.delete(i),i.i(void 0));{var u=n;a=e.target;t=e.anchor;r=e.customElement;const{fragment:d,on_mount:p,on_destroy:f,after_update:g}=u.$$;d&&d.m(a,t),r||N(()=>{var e=p.map(C).filter(ge);f?f.push(...e):fe(e),u.$$.on_mount=[]}),g.forEach(N)}y()}x(l)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(C).filter(ge);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){fe(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(fe(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=m}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var j,$,i="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==i&&i,W="URLSearchParams"in i,z="Symbol"in i&&"iterator"in Symbol,X="FileReader"in i&&"Blob"in i&&function(){try{return new Blob,!0}catch(e){return!1}}(),Z="FormData"in i,K="ArrayBuffer"in i;function Y(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 q(e){return e="string"!=typeof e?String(e):e}function J(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return z&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function Q(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ee(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function te(e){var t=new FileReader,r=ee(t);return t.readAsArrayBuffer(e),r}function re(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ne(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:X&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Z&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():K&&X&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=re(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):K&&(ArrayBuffer.prototype.isPrototypeOf(e)||$(e))?this._bodyArrayBuffer=re(e):this._bodyText=e=Object.prototype.toString.call(e):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):W&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},X&&(this.blob=function(){var e=Q(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(){return this._bodyArrayBuffer?Q(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(te)}),this.text=function(){var e,t,r=Q(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ee(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Z&&(this.formData=function(){return this.text().then(se)}),this.json=function(){return this.text().then(JSON.parse)},this}K&&(j=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],$=ArrayBuffer.isView||function(e){return e&&-1<j.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=Y(e),t=q(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[Y(e)]},l.prototype.get=function(e){return e=Y(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(Y(e))},l.prototype.set=function(e,t){this.map[Y(e)]=q(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),J(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),J(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),J(r)},z&&(l.prototype[Symbol.iterator]=l.prototype.entries);var oe=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<oe.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function se(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},ne.call(c.prototype),ne.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var ae=[301,302,303,307,308],u=(h.redirect=function(e,t){if(-1===ae.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},i.DOMException);try{new u}catch(m){(u=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),u.prototype.constructor=u}function ie(n,a){return new Promise(function(o,e){var t=new c(n,a);if(t.signal&&t.signal.aborted)return e(new u("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,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 e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},n=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){o(new h(n,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new u("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&i.location.href?i.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(X?s.responseType="blob":K&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!a||"object"!=typeof a.headers||a.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(a.headers).forEach(function(e){s.setRequestHeader(e,q(a.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}ie.polyfill=!0,i.fetch||(i.fetch=ie,i.Headers=l,i.Request=c,i.Response=h),self.fetch.bind(self);var le=function(e,t){return(le=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function ce(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}le(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function he(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ue(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=s.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}function de(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function d(e){return"function"==typeof e}function pe(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 Be=pe(function(t){return function(e){t(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e}});function _e(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=he(s),i=a.next();!i.done;i=a.next())i.value.remove(this)}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(d(s))try{s()}catch(e){o=e instanceof Be?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=he(s),c=l.next();!c.done;c=l.next()){var h=c.value;try{Ie(h)}catch(e){o=null!=o?o:[],e instanceof Be?o=de(de([],ue(o)),ue(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}}if(o)throw new Be(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Ie(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&_e(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&_e(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Ae=r,xe=Ae.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Se(e){return e instanceof Ae||e&&"closed"in e&&d(e.remove)&&d(e.add)&&d(e.unsubscribe)}function Ie(e){d(e)?e():e.unsubscribe()}var He=void 0,Me=!1,Le=!1,Ne={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=Ne.delegate;return null!=o&&o.setTimeout?o.setTimeout.apply(o,de([e,t],ue(r))):setTimeout.apply(void 0,de([e,t],ue(r)))},clearTimeout:function(e){var t=Ne.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Oe(){}var Re=null;function Fe(e){if(Me){var t=!Re;if(t&&(Re={errorThrown:!1,error:null}),e(),t){var t=Re,r=t.errorThrown,t=t.error;if(Re=null,r)throw t}}else e()}ce(n,Ue=Ae),n.create=function(e,t,r){return new $e(e,t,r)},n.prototype.next=function(e){this.isStopped||this._next(e)},n.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,Ue.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(e){this.destination.next(e)},n.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var Ue,De=n,ke=Function.prototype.bind;function n(e){var t=Ue.call(this)||this;return t.isStopped=!1,e?Se(t.destination=e)&&e.add(t):t.destination=Ze,t}function Ge(e,t){return ke.call(e,t)}ze.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Xe(e)}},ze.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Xe(e)}else Xe(e)},ze.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Xe(e)}};var Ve,je=ze,$e=(ce(We,Ve=De),We);function We(e,t,r){var n=Ve.call(this)||this,r=d(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:n&&Le?((t=Object.create(e)).unsubscribe=function(){return n.unsubscribe()},{next:e.next&&Ge(e.next,t),error:e.error&&Ge(e.error,t),complete:e.complete&&Ge(e.complete,t)}):e;return n.destination=new je(r),n}function ze(e){this.partialObserver=e}function Xe(e){var t=e;Ne.setTimeout(function(){throw t})}var Ze={closed:!0,next:Oe,error:function(e){throw e},complete:Oe},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ke(e){return e}s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var n,o=this,s=(n=e)&&n instanceof De||n&&d(n.next)&&d(n.error)&&d(n.complete)&&Se(n)?e:new $e(e,t,r);return Fe(function(){var e=o.operator,t=o.source;s.add(e?e.call(s,t):t?o._subscribe(s):o._trySubscribe(s))}),s},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(n,e){var o=this;return new(e=qe(e))(function(e,t){var r=new $e({next:function(e){try{n(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});o.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[o]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Ke:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var n=this;return new(e=qe(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var Ye=s;function s(e){e&&(this._subscribe=e)}function qe(e){return null!=(e=null!=e?e:He)?e:Promise}var Je,Qe,et,tt=pe(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(ce(a,et=Ye),a.prototype.lift=function(e){var t=new rt(this,this);return t.operator=e,t},a.prototype._throwIfClosed=function(){if(this.closed)throw new tt},a.prototype.next=function(o){var s=this;Fe(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=he(s.currentObservers),n=r.next();!n.done;n=r.next())n.value.next(o)}catch(e){t={error:e}}finally{try{n&&!n.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},a.prototype.error=function(t){var r=this;Fe(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},a.prototype.complete=function(){var t=this;Fe(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},a.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(a.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),a.prototype._trySubscribe=function(e){return this._throwIfClosed(),et.prototype._trySubscribe.call(this,e)},a.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},a.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,n=this.isStopped,o=this.observers;return r||n?xe:(this.currentObservers=null,o.push(e),new Ae(function(){t.currentObservers=null,_e(o,e)}))},a.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},a.prototype.asObservable=function(){var e=new Ye;return e.source=this,e},a.create=function(e,t){return new rt(e,t)},a),rt=(ce(at,Qe=o),at.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},at.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},at.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},at.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:xe},at),nt={now:function(){return(nt.delegate||Date).now()},delegate:void 0},ot=(ce(st,Je=o),st.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(s.now()+t)),this._trimBuffer(),Je.prototype.next.call(this,e)},st.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),o=0;o<n.length&&!e.closed;o+=r?1:2)e.next(n[o]);return this._checkFinalizedStatuses(e),t},st.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,n=this._infiniteTimeWindow,o=(n?1:2)*e;if(e<1/0&&o<r.length&&r.splice(0,r.length-o),!n){for(var s=t.now(),a=0,i=1;i<r.length&&r[i]<=s;i+=2)a=i;a&&r.splice(0,a+1)}},st);function st(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=nt);var n=Je.call(this)||this;return n._bufferSize=e,n._windowTime=t,n._timestampProvider=r,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=t===1/0,n._bufferSize=Math.max(1,e),n._windowTime=Math.max(1,t),n}function at(e,t){var r=Qe.call(this)||this;return r.destination=e,r.source=t,r}function a(){var e=et.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let it=[],lt={};const ct=[];function ht(n,o=m){let s;const a=new Set;function i(e){if(_(n,e)&&(n=e,s)){const e=!ct.length;for(const e of a)e[1](),ct.push(e,n);if(e){for(let e=0;e<ct.length;e+=2)ct[e][0](ct[e+1]);ct.length=0}}}return{set:i,update:function(e){i(e(n))},subscribe:function(e,t=m){const r=[e,t];return a.add(r),1===a.size&&(s=o(i)||m),e(n),()=>{a.delete(r),0===a.size&&(s(),s=null)}}}}function ut(e,i,t){const l=!Array.isArray(e),c=l?[e]:e,h=i.length<2;return{subscribe:ht(t,t=>{let r=!1;const n=[];let o=0,s=m;const a=()=>{var e;o||(s(),e=i(l?n[0]:n,t),h?t(e):s=ge(e)?e:m)},e=c.map((e,t)=>U(e,e=>{n[t]=e,o&=~(1<<t),r&&a()},()=>{o|=1<<t}));return r=!0,a(),function(){fe(e),s()}}).subscribe}}function dt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===pt));var t}var pt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function ft(e,t){return!1!==t.clone&&t.isMergeableObject(e)?bt(Array.isArray(e)?[]:{},e,t):e}function gt(e,t,r){return e.concat(t).map(function(e){return ft(e,r)})}function mt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function yt(e,t){try{return t in e}catch(e){return!1}}function wt(n,o,s){var a={};return s.isMergeableObject(n)&&mt(n).forEach(function(e){a[e]=ft(n[e],s)}),mt(o).forEach(function(t){var e,r;(!yt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(yt(n,t)&&s.isMergeableObject(o[t])?a[t]=function(e){if(!e.customMerge)return bt;e=e.customMerge(t);return"function"==typeof e?e:bt}(s)(n[t],o[t],s):a[t]=ft(o[t],s))}),a}function bt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||gt,r.isMergeableObject=r.isMergeableObject||dt,r.cloneUnlessOtherwiseSpecified=ft;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):wt(e,t,r):ft(t,r)}bt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return bt(e,t,r)},{});throw new Error("first argument should be an array")};var Pt=bt,vt=function(e,t){return(vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function Et(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}vt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,w,Tt,b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function Ct(e,t,r){if(r||2===arguments.length)for(var n,o=0,s=t.length;o<s;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function Bt(e){return e.type===w.literal}function _t(e){return e.type===w.number}function At(e){return e.type===w.date}function xt(e){return e.type===w.time}function St(e){return e.type===w.select}function It(e){return e.type===w.plural}function Ht(e){return e.type===w.tag}function Mt(e){return e&&"object"==typeof e&&e.type===Tt.number}function Lt(e){return e&&"object"==typeof e&&e.type===Tt.dateTime}(o=g=g||{})[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=w=w||{})[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=Tt=Tt||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Nt=/(?:[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 Ot=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Rt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ft=/^(@+)?(\+|#+)?[rs]?$/g,Ut=/(\*)(0+)|(#+)(0+)|(0+)/g,Dt=/^(0+)$/;function kt(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(Ft,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Gt(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 Vt(e){return Gt(e)||{}}function jt(e){for(var a={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=o.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=o.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=b(b(b({},a),{notation:"scientific"}),o.options.reduce(function(e,t){return b(b({},e),Vt(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),o.options.reduce(function(e,t){return b(b({},e),Vt(t))},{}));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(o.options[0]);continue;case"integer-width":if(1<o.options.length)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Ut,function(e,t,r,n,o,s){if(t)a.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Dt.test(o.stem))a.minimumIntegerDigits=o.stem.length;else if(Rt.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Rt,function(e,t,r,n,o,s){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:o&&s?(a.minimumFractionDigits=o.length,a.maximumFractionDigits=o.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var s=o.options[0];"w"===s?a=b(b({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=b(b({},a),kt(s)))}else Ft.test(o.stem)?a=b(b({},a),kt(o.stem)):((s=Gt(o.stem))&&(a=b(b({},a),s)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!Dt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(a=b(b({},a),n)))}return a}var $t={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 Wt=new RegExp("^".concat(o.source,"*")),zt=new RegExp("".concat(o.source,"*$"));function P(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Xt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Kt=!!String.prototype.codePointAt,Yt=!!String.prototype.trimStart,qt=!!String.prototype.trimEnd,Jt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{Qt="a"===(null==(Pr=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pr[0])}catch(m){Qt=!1}var er,tr,rr=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},nr=Xt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,s=0;s<o;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},or=Zt?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],s=o[0],o=o[1];t[s]=o}return t},sr=Kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},ar=Yt?function(e){return e.trimStart()}:function(e){return e.replace(Wt,"")},ir=qt?function(e){return e.trimEnd()}:function(e){return e.replace(zt,"")};function lr(e,t){return new RegExp(e,t)}tr=Qt?(er=lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return er.lastIndex=t,null!=(t=er.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var o=sr(e,t);if(void 0===o||ur(o)||(33<=(r=o)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094))break;n.push(o),t+=65536<=o?2:1}return nr.apply(void 0,n)};p.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},p.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,s=this.char();if(123===s){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&hr(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{s=this.clonePosition();this.bump(),n.push({type:w.pound,location:P(s,this.clonePosition())})}}}return{val:n,err:null}},p.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:w.literal,value:"<".concat(n,"/>"),location:P(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!hr(this.char()))return this.error(g.INVALID_TAG,P(e,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,P(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:w.tag,value:n,children:t,location:P(r,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,P(e,this.clonePosition())))}return this.error(g.UNCLOSED_TAG,P(r,this.clonePosition()))}return this.error(g.INVALID_TAG,P(r,this.clonePosition()))},p.prototype.parseTagName=function(){var e,t=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(t,this.offset())},p.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o)n+=o;else{o=this.tryParseUnquoted(e,t);if(o)n+=o;else{o=this.tryParseLeftAngleBracket();if(!o)break;n+=o}}}r=P(r,this.clonePosition());return{val:{type:w.literal,value:n,location:r},err:null}},p.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(hr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},p.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 t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return nr.apply(void 0,t)},p.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),nr(r))},p.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,P(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,P(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:w.argument,value:n,location:P(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,P(r,this.clonePosition()))}},p.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=tr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:P(e,this.clonePosition())}},p.prototype.parseArgumentOptions=function(e,t,r,n){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,i=this.clonePosition();switch(a){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,P(s,i));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((f=this.parseSimpleArgStyleIfPossible()).err)return f;if(0===(p=ir(f.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:P(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(n)).err)return c;var h=P(n,this.clonePosition());if(l&&rr(null==l?void 0:l.style,"::",0)){var u=ar(l.style.slice(2));if("number"===a)return(f=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?f:{val:{type:w.number,value:r,location:h,style:f.val},err:null};if(0===u.length)return this.error(g.EXPECT_DATE_TIME_SKELETON,h);var d=u,p=(this.locale&&(d=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var s=0;n+1<e.length&&e.charAt(n+1)===o;)s++,n++;var a=1+(1&s),i=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),($t[t||""]||$t[r||""]||$t["".concat(r,"-001")]||$t["001"])[0]}(t);for("H"!=l&&"k"!=l||(i=0);0<i--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===o?"H":o}return r}(u,this.locale)),{type:Tt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},d.replace(Nt,function(e){var t=e.length;switch(e[0]){case"G":o.era=4===t?"long":5===t?"narrow":"short";break;case"y":o.year=2===t?"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":o.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][t-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][t-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][t-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][t-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][t-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":o.minute=["numeric","2-digit"][t-1];break;case"s":o.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=t<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""}),o):{}});return{val:{type:"date"===a?w.date:w.time,value:r,location:h,style:p},err:null}}return{val:{type:"number"===a?w.number:"date"===a?w.date:w.time,value:r,location:h,style:null!=(u=null==l?void 0:l.style)?u:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,P(d,b({},d)));this.bumpSpace();var f,p=this.parseIdentifierIfPossible(),h=0;if("select"!==a&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(f=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return f;this.bumpSpace(),p=this.parseIdentifierIfPossible(),h=f.val}l=this.tryParsePluralOrSelectOptions(e,a,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(n)).err)return c;u=P(n,this.clonePosition());return"select"===a?{val:{type:w.select,value:r,options:or(l.val),location:u},err:null}:{val:{type:w.plural,value:r,options:or(l.val),offset:h,pluralType:"plural"===a?"cardinal":"ordinal",location:u},err:null};default:return this.error(g.INVALID_ARGUMENT_TYPE,P(s,i))}},p.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,P(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},p.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},p.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Ot).filter(function(e){return 0<e.length});r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],o=o.slice(1),a=0,i=o;a<i.length;a++)if(0===i[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:o})}return t}(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Tt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?jt(r):{}},err:null}},p.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,s=[],a=new Set,i=n.value,l=n.location;;){if(0===i.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=P(c,this.clonePosition()),i=this.message.slice(c.offset,this.offset())}if(a.has(i))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===i&&(o=!0),this.bumpSpace();h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([i,{value:c.val,location:P(h,this.clonePosition())}]),a.add(i),this.bumpSpace(),i=(u=this.parseIdentifierIfPossible()).value,l=u.location}return 0===s.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(g.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:s,err:null}},p.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;o=!0,s=10*s+(a-48),this.bump()}n=P(n,this.clonePosition());return o?Jt(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},p.prototype.offset=function(){return this.position.offset},p.prototype.isEOF=function(){return this.offset()===this.message.length},p.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},p.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=sr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},p.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},p.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))},p.prototype.bumpIf=function(e){if(rr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},p.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},p.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 t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},p.prototype.bumpSpace=function(){for(;!this.isEOF()&&ur(this.char());)this.bump()},p.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var cr=p;function p(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function hr(e){return 97<=e&&e<=122||65<=e&&e<=90}function ur(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function dr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new cr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,St(e)||It(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else _t(e)&&Mt(e.style)||(At(e)||xt(e))&&Lt(e.style)?delete e.style.location:Ht(e)&&r(e.children)})}(e.val),e.val}function pr(e,t){var r=t&&t.cache?t.cache:vr,n=t&&t.serializer?t.serializer:yr;return(t&&t.strategy?t.strategy:function(e,t){return mr(e,this,1===e.length?fr:gr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function fr(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(r);return void 0===o&&(o=e.call(this,n),t.set(r,o)),o}function gr(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),o=t.get(r);return void 0===o&&(o=e.apply(this,n),t.set(r,o)),o}function mr(e,t,r,n,o){return r.bind(t,e,n,o)}var yr=function(){return JSON.stringify(arguments)};function wr(){this.cache=Object.create(null)}wr.prototype.get=function(e){return this.cache[e]},wr.prototype.set=function(e,t){this.cache[e]=t};var br,Pr,vr={create:function(){return new wr}},Er={variadic:function(e,t){return mr(e,this,gr,t.cache.create(),t.serializer)},monadic:function(e,t){return mr(e,this,fr,t.cache.create(),t.serializer)}};(Pr=br=br||{}).MISSING_VALUE="MISSING_VALUE",Pr.INVALID_VALUE="INVALID_VALUE",Pr.MISSING_INTL_API="MISSING_INTL_API";Et(Nr,_r=Error),Nr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Tr,Cr,Br,_r,Ar=Nr,xr=(Et(Lr,Br=Ar),Lr),Sr=(Et(Mr,Cr=Ar),Mr),Ir=(Et(Hr,Tr=Ar),Hr);function Hr(e,t){return Tr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),br.MISSING_VALUE,t)||this}function Mr(e,t,r){return Cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),br.INVALID_VALUE,r)||this}function Lr(e,t,r,n){return Br.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),br.INVALID_VALUE,n)||this}function Nr(e,t,r){e=_r.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Or(e,t,r,n,o,s,a){if(1===e.length&&Bt(e[0]))return[{type:v.literal,value:e[0].value}];for(var i=[],l=0,c=e;l<c.length;l++){var h=c[l];if(Bt(h))i.push({type:v.literal,value:h.value});else if(h.type===w.pound)"number"==typeof s&&i.push({type:v.literal,value:r.getNumberFormat(t).format(s)});else{var u=h.value;if(!(o&&u in o))throw new Ir(u,a);u=o[u];if(h.type===w.argument)u&&"string"!=typeof u&&"number"!=typeof u||(u="string"==typeof u||"number"==typeof u?String(u):""),i.push({type:"string"==typeof u?v.literal:v.object,value:u});else if(At(h)){var d="string"==typeof h.style?n.date[h.style]:Lt(h.style)?h.style.parsedOptions:void 0;i.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(u)})}else if(xt(h))d="string"==typeof h.style?n.time[h.style]:Lt(h.style)?h.style.parsedOptions:n.time.medium,i.push({type:v.literal,value:r.getDateTimeFormat(t,d).format(u)});else if(_t(h))(d="string"==typeof h.style?n.number[h.style]:Mt(h.style)?h.style.parsedOptions:void 0)&&d.scale&&(u*=d.scale||1),i.push({type:v.literal,value:r.getNumberFormat(t,d).format(u)});else{if(Ht(h)){var p=h.children,f=h.value,g=o[f];if("function"!=typeof g)throw new Sr(f,"function",a);f=g(Or(p,t,r,n,o,s).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),i.push.apply(i,f.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(St(h)){if(!(m=h.options[u]||h.options.other))throw new xr(h.value,u,Object.keys(h.options),a);i.push.apply(i,Or(m.value,t,r,n,o))}else if(It(h)){if(!(m=h.options["=".concat(u)])){if(!Intl.PluralRules)throw new Ar('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',br.MISSING_INTL_API,a);var g=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0)),m=h.options[g]||h.options.other}if(!m)throw new xr(h.value,u,Object.keys(h.options),a);i.push.apply(i,Or(m.value,t,r,n,o,u-(h.offset||0)))}}}}return(e=i).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Rr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(f,"defaultLocale",{get:function(){return f.memoizedDefaultLocale||(f.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),f.memoizedDefaultLocale},enumerable:!1,configurable:!0}),f.memoizedDefaultLocale=null,f.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},f.__parse=dr,f.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 Fr=f;function f(e,t,r,n){var o,s,a=this;if(void 0===t&&(t=f.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Or(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=t,this.resolvedLocale=f.resolveLocale(t),"string"==typeof e){if(this.message=e,!f.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=f.__parse(e,{ignoreTag:null==n?void 0:n.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=(o=f.formats,(s=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=s[t])?b(b(b({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),n[t]||{}),e},{})):r),e},b({},o)):o),this.formatters=n&&n.formatters||{getNumberFormat:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Er.variadic}),getDateTimeFormat:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr(t.dateTime),strategy:Er.variadic}),getPluralRules:pr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ct([void 0],t,!1)))},{cache:Rr(t.pluralRules),strategy:Er.variadic})}}const E={},Ur=(e,t,r)=>r&&(t in E||(E[t]={}),e in E[t]||(E[t][e]=r),r),Dr=(t,r)=>{if(null!=r){if(r in E&&t in E[r])return E[r][t];var n=tn(r);for(let e=0;e<n.length;e++){var o=function(e,r){if(!Vr(e))return null;e=function(e){return kr[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const o=n.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const n=o.slice(e,o.length).join(".");if(n in t){t=t[n];break}}t=t[o[e]]}else t=void 0;return t}}(n[e],t);if(o)return Ur(t,r,o)}}};let kr;const Gr=ht({});function Vr(e){return e in kr}function jr(t,...r){delete E[t],Gr.update(e=>(e[t]=Pt.all([e[t]||{},...r]),e))}ut([Gr],([e])=>Object.keys(e)),Gr.subscribe(e=>kr=e);const $r={};function Wr(e){return $r[e]}function zr(e){return null!=e&&tn(e).some(e=>{return null==(e=Wr(e))?void 0:e.size})}const Xr={};function Zr(e){if(!zr(e))return e in Xr?Xr[e]:Promise.resolve();const t=tn(e).map(e=>{var t=Wr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Xr[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return $r[t].delete(r),0===$r[t].size&&delete $r[t],e().then(e=>e.default||e)}));return r.then(e=>jr(n,...e))}})).then(()=>{if(zr(e))return Zr(e);delete Xr[e]}),Xr[e]}function Kr(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}const Yr={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};const qr=ht(!1);let Jr;const Qr=ht(null);function en(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function tn(e,t=Yr.fallbackLocale){e=en(e);return t?[...new Set([...e,...en(t)])]:e}function T(){return null!=Jr?Jr:void 0}Qr.subscribe(e=>{Jr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const rn=Object.assign(Object.assign({},Qr),{set:t=>{if(t&&function(e){if(null!=e){var t=tn(e);for(let e=0;e<t.length;e++){var r=t[e];if(Vr(r))return r}}}(t)&&zr(t)){var r=Yr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=T()&&r?e=window.setTimeout(()=>qr.set(!0),r):qr.set(!0),Zr(t).then(()=>{Qr.set(t)}).finally(()=>{clearTimeout(e),qr.set(!1)})}return Qr.set(t)}}),nn=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},on=(e,t)=>{var r=Yr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},sn=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=on("number",r)),new Intl.NumberFormat(t,e)}),an=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=on("date",r):0===Object.keys(e).length&&(e=on("date","short")),new Intl.DateTimeFormat(t,e)}),ln=nn(e=>{var{locale:t,format:r}=e,e=Kr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=on("time",r):0===Object.keys(e).length&&(e=on("time","short")),new Intl.DateTimeFormat(t,e)}),cn=nn((e,t=T())=>new Fr(e,t,Yr.formats,{ignoreTag:Yr.ignoreTag})),hn=ut([rn,Gr],()=>(e,t={})=>{var r,n;let o=t;"object"==typeof e&&(e=(o=e).id);var{values:s,locale:a=T(),default:i}=o;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Dr(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(n=null!=(r=null==(r=(n=Yr).handleMissingMessage)?void 0:r.call(n,{locale:a,id:e,defaultValue:i}))?r:i)?n:e;if(!s)return l;let c=l;try{c=cn(l,a).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function un(e,t){jr(e,t)}ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return ln(Object.assign({locale:t},e))})(t).format(e)),ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return an(Object.assign({locale:t},e))})(t).format(e)),ut([rn],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=Kr(e,["locale"]);return sn(Object.assign({locale:t},e))})(t).format(e)),ut([rn,Gr],()=>(e,t=T())=>Dr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==it.indexOf(e)&&(t=new ot(t),lt[e]=t,it.push(e)),lt[e]}};const dn={en:{changePassword:{title:"Change Password",currentPassword:"Current Password:",invalidCurrentPassword:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",newPassword:"New Password:",invalidNewPassword:"The new password must be different from the old password.",invalidNewPasswordSecondary:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",confirmPassword:"Confirm Password:",confirmPasswordInvalid:"Password must match the new password and must follow the same rules.",submitChangePassword:"Change Password",simplePasswordError:"Password must be 8-20 characters long.",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back"}},zh:{changePassword:{title:"更改密碼",currentPassword:"當前密碼",invalidCurrentPassword:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",newPassword:"新密碼",invalidNewPassword:"新密碼必須與舊密碼不同。",invalidNewPasswordSecondary:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",confirmPassword:"確認密碼",simplePasswordError:"密码长度必须为 8-20 个字符。",confirmPasswordInvalid:"密碼必須與新密碼匹配,並且必須遵循相同的規則。",submitChangePassword:"更改密碼",returnToMenu:"返回菜單",changePasswordText:"更改密碼",passwordReset:"重設密碼",passwordResetConfirmation:"您的密碼已成功重置。",backButtonText:"回到賭場"}},fr:{changePassword:{title:"Modifier le mot de passe",currentPassword:"Mot de passe actuel:",invalidCurrentPassword:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",newPassword:"Nouveau mot de passe:",invalidNewPassword:"Le nouveau mot de passe doit être different de l'ancien.",invalidNewPasswordSecondary:"Le mot de passe doit comporter de 8 à 20 caractères et contenir au moins une lettre majuscule ,un chiffre et un caratère spécial.",confirmPassword:"Confirmer le mot de passe:",confirmPasswordInvalid:"Le mot de passe doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",submitChangePassword:"Modifier le mot de passe",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères.",returnToMenu:"Retour au menu",changePasswordText:"Modifier le mot de passe",passwordReset:"Réinitialisation du mot de passe",passwordResetConfirmation:"Votre mot de passe a été réinitialisé avec succès.",backButtonText:"Retour"}},ro:{changePassword:{title:"Schimbă parola",currentPassword:"Parola curentă",invalidCurrentPassword:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special. ",newPassword:"Parola nouă",invalidNewPassword:"Noua parolă trebuie să fie diferită de cea veche.",invalidNewPasswordSecondary:"Parola ar trebui să aibă între 8 și 20 de caractere și să conțină cel putin 1 majusculă, 1 număr și 1 caracter special.",confirmPassword:"Confirmă parola",confirmPasswordInvalid:"Parolele trebuie să coincidă și să îndeplinească aceleași condiții.",submitChangePassword:"Schimbă parola",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere.",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi"}},es:{changePassword:{title:"Cambiar la contraseña",currentPassword:"Contraseña actual",invalidCurrentPassword:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",newPassword:"Nueva contraseña",invalidNewPassword:"La nueva contraseña debe ser diferente de la contraseña anterior.",invalidNewPasswordSecondary:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",confirmPassword:"Confirmar la contraseña",confirmPasswordInvalid:"La contraseña debe coincidir con la nueva contraseña y debe seguir las mismas reglas.",submitChangePassword:"Cambia la contraseña",simplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres.",returnToMenu:"Regresar al menú",changePasswordText:"Cambiar la contraseña",passwordReset:"RESTABLECIMIENTO DE CONTRASEÑA",passwordResetConfirmation:"Su contraseña ha sido restablecida con éxito.",backButtonText:"Regresar"}},pt:{changePassword:{title:"Mudar senha",currentPassword:"Senha atual",invalidCurrentPassword:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",newPassword:"Nova Senha",invalidNewPassword:"A nova senha deve ser diferente da senha antiga.",invalidNewPasswordSecondary:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",confirmPassword:"Confirme sua senha",confirmPasswordInvalid:"A senha deve corresponder à nova senha e deve seguir as mesmas regras.",submitChangePassword:"Mudar senha",simplePasswordError:"A senha deve ter de 8 a 20 caracteres.",returnToMenu:"Voltar ao menu",changePasswordText:"Mudar senha",passwordReset:"REDEFINIÇÃO DE SENHA",passwordResetConfirmation:"Sua senha foi redefinida com sucesso.",backButtonText:"Voltar"}}};function pn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b,P,v,E,T=r[19]("changePassword.changePasswordText")+"",C=r[19]("changePassword.passwordReset")+"",B=r[19]("changePassword.passwordResetConfirmation")+"",_=r[19]("changePassword.backButtonText")+"",A=r[20]&&function(r){let n,o,s,a,i,l,c,h,u,d=r[19]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),s=e("g"),a=e("path"),i=Pe(),l=t("span"),c=be(d),Ee(a,"id","Chevron_Right"),Ee(a,"d","M57.633,129.007L165.93,237.268c4.752,4.74,12.451,4.74,17.215,0c4.752-4.74,4.752-12.439,0-17.179\n l-99.707-99.671l99.695-99.671c4.752-4.74,4.752-12.439,0-17.191c-4.752-4.74-12.463-4.74-17.215,0L57.621,111.816\n C52.942,116.507,52.942,124.327,57.633,129.007z"),Ee(o,"version","1.1"),Ee(o,"id","Capa_1"),Ee(o,"xmlns","http://www.w3.org/2000/svg"),Ee(o,"xmlns:xlink","http://www.w3.org/1999/xlink"),Ee(o,"x","0px"),Ee(o,"y","0px"),Ee(o,"viewBox","0 0 240.823 240.823"),o.style.setProperty("enable-background","new 0 0 240.823 240.823",""),Ee(o,"xml:space","preserve"),Ee(o,"width","18px"),Ee(o,"fill","var(--emfe-w-color-gray-300, #58586B)"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(n,l),me(l,c),h||(u=ve(n,"click",r[45]),h=!0)},p(e,t){524288&t[0]&&d!==(d=e[19]("changePassword.returnToMenu")+"")&&Te(c,d)},d(e){e&&we(n),h=!1,u()}}}(r);return{c(){A&&A.c(),n=Pe(),o=t("div"),s=t("h3"),a=be(T),i=Pe(),l=t("div"),c=t("div"),(h=t("div")).innerHTML='<div class="Checkmark" part="Checkmark"></div>',u=Pe(),d=t("div"),p=t("h3"),f=be(C),g=Pe(),m=t("p"),y=be(B),w=Pe(),b=t("div"),P=be(_),Ee(o,"class","PlayerChangePasswordHeader"),Ee(o,"part","PlayerChangePasswordHeader"),Ee(h,"class","IconContainer"),Ee(h,"part","IconContainer"),Ee(d,"class","TextContainer"),Ee(d,"part","TextContainer"),Ee(c,"class","SuccessWrapper"),Ee(c,"part","SuccessWrapper"),Ee(b,"class","PlayerChangePasswordBackButton"),Ee(b,"part","PlayerChangePasswordBackButton"),Ee(l,"class","ChangedPasswordSuccessfully"),Ee(l,"part","ChangedPasswordSuccessfully")},m(e,t){A&&A.m(e,t),ye(e,n,t),ye(e,o,t),me(o,s),me(s,a),ye(e,i,t),ye(e,l,t),me(l,c),me(c,h),me(c,u),me(c,d),me(d,p),me(p,f),me(d,g),me(d,m),me(m,y),me(l,w),me(l,b),me(b,P),v||(E=ve(b,"click",r[46]),v=!0)},p(e,t){e[20]&&A.p(e,t),524288&t[0]&&T!==(T=e[19]("changePassword.changePasswordText")+"")&&Te(a,T),524288&t[0]&&C!==(C=e[19]("changePassword.passwordReset")+"")&&Te(f,C),524288&t[0]&&B!==(B=e[19]("changePassword.passwordResetConfirmation")+"")&&Te(y,B),524288&t[0]&&_!==(_=e[19]("changePassword.backButtonText")+"")&&Te(P,_)},d(e){A&&A.d(e),e&&we(n),e&&we(o),e&&we(i),e&&we(l),v=!1,E()}}}function fn(r){let U,n,D,k,o,s,a,G,V,i,j,$,l,c,W,h,u,z,X,d,Z,K,p,f,Y,g,m,q,J,y,Q,ee,w,b,te,P,v,E,re,T,C,B,ne,oe,_=r[19]("changePassword.title")+"",A=r[19]("changePassword.currentPassword")+"",x=r[19]("changePassword.newPassword")+"",se=r[19]("changePassword.confirmPassword")+"",ae=r[19]("changePassword.submitChangePassword")+"",S=r[20]&&function(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m=r[19]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),s=e("defs"),a=e("style"),i=be(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),c=e("g"),h=e("path"),u=Pe(),d=t("h2"),p=be(m),Ee(h,"class","aaa"),Ee(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),Ee(h,"transform","translate(15 15) rotate(180)"),Ee(c,"transform","translate(20 158)"),Ee(l,"transform","translate(-20 -158)"),Ee(o,"xmlns","http://www.w3.org/2000/svg"),Ee(o,"width","15"),Ee(o,"height","15"),Ee(o,"viewBox","0 0 15 15"),Ee(d,"class","ChangePasswordTitleMobile"),Ee(d,"part","ChangePasswordTitleMobile"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(a,i),me(o,l),me(l,c),me(c,h),me(n,u),me(n,d),me(d,p),f||(g=ve(n,"click",r[31]),f=!0)},p(e,t){524288&t[0]&&m!==(m=e[19]("changePassword.title")+"")&&Te(p,m)},d(e){e&&we(n),f=!1,g()}}}(r);function ie(e){return e[10]?mn:gn}let le=ie(r),I=le(r),H=r[4]&&yn(r);function ce(e){return e[11]?vn:Pn}let he=ce(r),M=he(r);function ue(e){return e[13]?Tn:e[5]?En:void 0}let L=ue(r),N=L&&L(r);function de(e){return e[12]?An:_n}let pe=de(r),O=pe(r),R=r[6]&&xn(r),F=r[18]&&Sn(r);return{c(){S&&S.c(),U=Pe(),n=t("h2"),D=be(_),k=Pe(),o=t("section"),s=t("div"),a=t("label"),G=be(A),V=Pe(),i=t("input"),j=Pe(),I.c(),$=Pe(),H&&H.c(),W=Pe(),h=t("div"),u=t("label"),z=be(x),X=Pe(),d=t("input"),Z=Pe(),M.c(),K=Pe(),N&&N.c(),Y=Pe(),g=t("div"),m=t("label"),q=be(se),J=Pe(),y=t("input"),Q=Pe(),O.c(),ee=Pe(),R&&R.c(),te=Pe(),F&&F.c(),P=Pe(),v=t("section"),E=t("button"),re=be(ae),Ee(n,"class","ChangePasswordTitle "+(r[20]?"ChangePasswordTitleNone":"")),Ee(n,"part","ChangePasswordTitle "+(r[20]?"ChangePasswordTitleNone":"")),Ee(a,"for","CurrentPassword"),Ee(i,"id","CurrentPassword"),Ee(i,"type","password"),Ee(s,"class",l="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(s,"part",c="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(u,"for","NewPassword"),Ee(d,"id","NewPassword"),Ee(d,"autocomplete","new-password"),Ee(d,"type","password"),Ee(h,"class",p="PlayerChangePasswordBox "+(r[5]?"InvalidField":"")),Ee(h,"part",f="PlayerChangePasswordBox "+(r[5]?"InvalidField":"")),Ee(m,"for","ConfirmPassword"),Ee(y,"id","ConfirmPassword"),Ee(y,"type","password"),Ee(g,"class",w="PlayerChangePasswordBox "+(r[6]?"InvalidField":"")),Ee(g,"part",b="PlayerChangePasswordBox "+(r[6]?"InvalidField":"")),Ee(o,"class","PlayerChangePasswordContent"),Ee(o,"part","PlayerChangePasswordContent"),Ee(E,"class",T="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive")),Ee(E,"part",C="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive")),E.disabled=B=!r[3],Ee(v,"class","PlayerChangePasswordButtonsArea"),Ee(v,"part","PlayerChangePasswordButtonsArea")},m(e,t){S&&S.m(e,t),ye(e,U,t),ye(e,n,t),me(n,D),ye(e,k,t),ye(e,o,t),me(o,s),me(s,a),me(a,G),me(s,V),me(s,i),Ce(i,r[14]),r[33](i),me(s,j),I.m(s,null),me(s,$),H&&H.m(s,null),me(o,W),me(o,h),me(h,u),me(u,z),me(h,X),me(h,d),Ce(d,r[15]),r[37](d),me(h,Z),M.m(h,null),me(h,K),N&&N.m(h,null),me(o,Y),me(o,g),me(g,m),me(m,q),me(g,J),me(g,y),Ce(y,r[16]),r[41](y),me(g,Q),O.m(g,null),me(g,ee),R&&R.m(g,null),ye(e,te,t),F&&F.m(e,t),ye(e,P,t),ye(e,v,t),me(v,E),me(E,re),ne||(oe=[ve(i,"input",r[32]),ve(i,"blur",function(){ge(r[23](r[4],r[14],r[7]))&&r[23](r[4],r[14],r[7]).apply(this,arguments)}),ve(d,"input",r[36]),ve(d,"blur",function(){ge(r[23](r[5],r[15],r[8]))&&r[23](r[5],r[15],r[8]).apply(this,arguments)}),ve(y,"input",r[40]),ve(y,"blur",function(){ge(r[23](r[6],r[16],r[9]))&&r[23](r[6],r[16],r[9]).apply(this,arguments)}),ve(E,"click",r[44])],ne=!0)},p(e,t){(r=e)[20]&&S.p(r,t),524288&t[0]&&_!==(_=r[19]("changePassword.title")+"")&&Te(D,_),524288&t[0]&&A!==(A=r[19]("changePassword.currentPassword")+"")&&Te(G,A),16384&t[0]&&i.value!==r[14]&&Ce(i,r[14]),le===(le=ie(r))&&I?I.p(r,t):(I.d(1),(I=le(r))&&(I.c(),I.m(s,$))),r[4]?H?H.p(r,t):((H=yn(r)).c(),H.m(s,null)):H&&(H.d(1),H=null),16&t[0]&&l!==(l="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(s,"class",l),16&t[0]&&c!==(c="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(s,"part",c),524288&t[0]&&x!==(x=r[19]("changePassword.newPassword")+"")&&Te(z,x),32768&t[0]&&d.value!==r[15]&&Ce(d,r[15]),he===(he=ce(r))&&M?M.p(r,t):(M.d(1),(M=he(r))&&(M.c(),M.m(h,K))),L===(L=ue(r))&&N?N.p(r,t):(N&&N.d(1),(N=L&&L(r))&&(N.c(),N.m(h,null))),32&t[0]&&p!==(p="PlayerChangePasswordBox "+(r[5]?"InvalidField":""))&&Ee(h,"class",p),32&t[0]&&f!==(f="PlayerChangePasswordBox "+(r[5]?"InvalidField":""))&&Ee(h,"part",f),524288&t[0]&&se!==(se=r[19]("changePassword.confirmPassword")+"")&&Te(q,se),65536&t[0]&&y.value!==r[16]&&Ce(y,r[16]),pe===(pe=de(r))&&O?O.p(r,t):(O.d(1),(O=pe(r))&&(O.c(),O.m(g,ee))),r[6]?R?R.p(r,t):((R=xn(r)).c(),R.m(g,null)):R&&(R.d(1),R=null),64&t[0]&&w!==(w="PlayerChangePasswordBox "+(r[6]?"InvalidField":""))&&Ee(g,"class",w),64&t[0]&&b!==(b="PlayerChangePasswordBox "+(r[6]?"InvalidField":""))&&Ee(g,"part",b),r[18]?F?F.p(r,t):((F=Sn(r)).c(),F.m(P.parentNode,P)):F&&(F.d(1),F=null),524288&t[0]&&ae!==(ae=r[19]("changePassword.submitChangePassword")+"")&&Te(re,ae),8&t[0]&&T!==(T="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive"))&&Ee(E,"class",T),8&t[0]&&C!==(C="PlayerChangePasswordSaveButton "+(r[3]?"":"ButtonInactive"))&&Ee(E,"part",C),8&t[0]&&B!==(B=!r[3])&&(E.disabled=B)},d(e){S&&S.d(e),e&&we(U),e&&we(n),e&&we(k),e&&we(o),r[33](null),I.d(),H&&H.d(),r[37](null),M.d(),N&&N.d(),r[41](null),O.d(),R&&R.d(),e&&we(te),F&&F.d(e),e&&we(P),e&&we(v),ne=!1,fe(oe)}}}function gn(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[35]),d=!0)},p(e,t){16&t[0]&&h!==(h="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function mn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[34]),w=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),16&t[0]&&y!==(y="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function yn(e){let r;function n(e){return"true"==e[0]?bn:wn}let o=n(e),s=o(e);return{c(){s.c(),r=A()},m(e,t){s.m(e,t),ye(e,r,t)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&we(r)}}}function wn(e){let r,n,o=e[19]("changePassword.invalidCurrentPassword")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidCurrentPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function bn(e){let r,n,o=e[19]("changePassword.simplePasswordError")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.simplePasswordError")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Pn(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[39]),d=!0)},p(e,t){32&t[0]&&h!==(h="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),32&t[0]&&u!==(u="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function vn(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[5]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[38]),w=!0)},p(e,t){32&t[0]&&m!==(m="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),32&t[0]&&y!==(y="TogglePasswordVisibility "+(e[5]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function En(e){let r;function n(e){return"true"==e[0]?Bn:Cn}let o=n(e),s=o(e);return{c(){s.c(),r=A()},m(e,t){s.m(e,t),ye(e,r,t)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&we(r)}}}function Tn(e){let r,n,o=e[19]("changePassword.invalidNewPassword")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInputNew"),Ee(r,"part","InvalidInputNew")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidNewPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Cn(e){let r,n,o=e[19]("changePassword.invalidNewPasswordSecondary")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.invalidNewPasswordSecondary")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Bn(e){let r,n,o=e[19]("changePassword.simplePasswordError")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.simplePasswordError")+"")&&Te(n,o)},d(e){e&&we(r)}}}function _n(r){let n,o,s,a,i,l,c,h,u,d,p;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("path"),c=e("circle"),Ee(l,"class","a"),Ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),Ee(l,"transform","translate(0)"),Ee(c,"class","a"),Ee(c,"cx","2.779"),Ee(c,"cy","2.779"),Ee(c,"r","2.779"),Ee(c,"transform","translate(20.827 30.303)"),Ee(i,"transform","translate(-14.185 -27.832)"),Ee(n,"class",h="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",u="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.843"),Ee(n,"height","10.5"),Ee(n,"viewBox","0 0 18.843 10.5")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),d||(p=ve(n,"click",r[43]),d=!0)},p(e,t){64&t[0]&&h!==(h="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",h),64&t[0]&&u!==(u="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",u)},d(e){e&&we(n),d=!1,p()}}}function An(r){let n,o,s,a,i,l,c,h,u,d,p,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),s=e("style"),a=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),i=e("g"),l=e("circle"),c=e("g"),h=e("path"),u=e("path"),d=e("g"),p=e("path"),f=e("path"),g=e("rect"),Ee(l,"class","a"),Ee(l,"cx","0.05"),Ee(l,"cy","0.05"),Ee(l,"r","0.05"),Ee(l,"transform","translate(121.017 31.148)"),Ee(h,"class","a"),Ee(h,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(h,"transform","translate(-142.164 -39.123)"),Ee(u,"class","a"),Ee(u,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(u,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(p,"class","a"),Ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Ee(p,"transform","translate(-110.856 -33.157)"),Ee(f,"class","a"),Ee(f,"d","M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z"),Ee(f,"transform","translate(-130.743 -29.617)"),Ee(d,"transform","translate(110.856 24.899)"),Ee(g,"class","a"),Ee(g,"width","0.972"),Ee(g,"height","15.861"),Ee(g,"rx","0.486"),Ee(g,"transform","translate(114.827 23.858) rotate(-39.315)"),Ee(i,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[6]?"InvalidToggle":"")+" "+(r[20]?"TogglePasswordVisibilityMobile":"")),Ee(n,"xmlns","http://www.w3.org/2000/svg"),Ee(n,"width","18.844"),Ee(n,"height","12.887"),Ee(n,"viewBox","0 0 18.844 12.887")},m(e,t){ye(e,n,t),me(n,o),me(o,s),me(s,a),me(n,i),me(i,l),me(i,c),me(c,h),me(c,u),me(i,d),me(d,p),me(d,f),me(i,g),w||(b=ve(n,"click",r[42]),w=!0)},p(e,t){64&t[0]&&m!==(m="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),64&t[0]&&y!==(y="TogglePasswordVisibility "+(e[6]?"InvalidToggle":"")+" "+(e[20]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function xn(e){let r,n,o=e[19]("changePassword.confirmPasswordInvalid")+"";return{c(){r=t("p"),n=be(o),Ee(r,"class","InvalidInput"),Ee(r,"part","InvalidInput")},m(e,t){ye(e,r,t),me(r,n)},p(e,t){524288&t[0]&&o!==(o=e[19]("changePassword.confirmPasswordInvalid")+"")&&Te(n,o)},d(e){e&&we(r)}}}function Sn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=be(e[17]),Ee(n,"class","PasswordChangedError"),Ee(n,"part","PasswordChangedError")},m(e,t){ye(e,r,t),me(r,n),me(n,o)},p(e,t){131072&t[0]&&Te(o,e[17])},d(e){e&&we(r)}}}function In(r){let n,o=function(e){let r;function n(e){return e[2]?pn:fn}let o=n(e),s=o(e);return{c(){r=t("form"),s.c(),Ee(r,"class","PlayerChangePasswordWrapper "+(e[20]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[21].matches&&e[20]?"PlayerChangePasswordWrapperTablet":"")),Ee(r,"part","PlayerChangePasswordWrapper "+(e[20]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[21].matches&&e[20]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){ye(e,r,t),s.m(r,null)},p(e,t){o===(o=n(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null)))},d(e){e&&we(r),s.d()}}}(r);return{c(){n=t("div"),o.c(),this.c=m},m(e,t){ye(e,n,t),o.m(n,null),r[47](n)},p(e,t){o.p(e,t)},i:m,o:m,d(e){e&&we(n),o.d(),r[47](null)}}}function Hn(t,e,n){let r;var o=hn;t.$$.on_destroy.push(U(o,e=>n(19,r=e)));let s,{lang:a="en"}=e,{simplepasswordvalidation:i="false"}=e,{clientstyling:l=""}=e,{clientstylingurl:c=""}=e,{translationurl:h=""}=e,u="PC"!=((o=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":o.toLowerCase().match(/iphone/i)?"iPhone":o.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),d=!1;const R=window.matchMedia("(min-width: 768px)"),p={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let f,g,m,y=!1,w=!1,b=!1,P=!1,v=!1,E=!1,T=!1,C="",B="",_="",A=!1,x="",S=!1;Object.keys(dn).forEach(e=>{un(e,dn[e])});const I=e=>{switch(e){case"userCurrentPassword":n(10,P=!P),n(7,f.type=P?"text":"password",f);break;case"userNewPassword":n(11,v=!v),n(8,g.type=v?"text":"password",g);break;case"userConfirmPassword":n(12,E=!E),n(9,m.type=E?"text":"password",m)}},H=e=>!!p.password.test(e),M=e=>{e.preventDefault(),d&&window.postMessage({type:"ChangePassword",userCurrentPassword:C,userNewPassword:B},window.location.href)},L=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:u},window.location.href)},N=()=>{window.postMessage({type:"GoToHomepage"},window.location.href)},O=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(2,A=!0);break;case"ShowPasswordChangedError":n(18,S=e.data.showErrorPasswordChanged),n(17,x=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",O,!1),()=>{window.removeEventListener("message",O)}),function(){if(D)return D;throw new Error("Function called outside component initialization")}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(27,a=e.lang),"simplepasswordvalidation"in e&&n(0,i=e.simplepasswordvalidation),"clientstyling"in e&&n(28,l=e.clientstyling),"clientstylingurl"in e&&n(29,c=e.clientstylingurl),"translationurl"in e&&n(30,h=e.translationurl)},t.$$.update=()=>{if(1&t.$$.dirty[0]&&i&&"true"==i&&(p.password=/^(?!.* ).{8,20}$/),134217728&t.$$.dirty[0]&&a&&(e=a,rn.set(e)),t.$$.dirty[0],536870914&t.$$.dirty[0]&&c&&s){let e=new URL(c),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{s.appendChild(t)},1)})}if(268435458&t.$$.dirty[0]&&l&&s){let e=document.createElement("style");e.innerHTML=l,s.appendChild(e)}var e;1073741824&t.$$.dirty[0]&&h&&fetch(h).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{un(e,t[e])})}).catch(e=>{console.log(e)})},[i,s,A,d,y,w,b,f,g,m,P,v,E,T,C,B,_,x,S,r,u,R,I,(e,t,r)=>{"CurrentPassword"===r.id?n(4,y=!H(t)):"NewPassword"===r.id?(n(5,w=!H(t)),C&&n(13,T=C===B),_&&n(6,b=B!==_||!H(t))):n(6,b=B!==_||!H(t)),n(3,d=!(y||w||b||T||!C||!B||!_))},M,L,N,a,l,c,h,()=>L(),function(){C=this.value,n(14,C)},function(e){F[e?"unshift":"push"](()=>{f=e,n(7,f)})},()=>I("userCurrentPassword"),()=>I("userCurrentPassword"),function(){B=this.value,n(15,B)},function(e){F[e?"unshift":"push"](()=>{g=e,n(8,g)})},()=>I("userNewPassword"),()=>I("userNewPassword"),function(){_=this.value,n(16,_)},function(e){F[e?"unshift":"push"](()=>{m=e,n(9,m)})},()=>I("userConfirmPassword"),()=>I("userConfirmPassword"),e=>M(e),()=>L(),()=>N(),function(e){F[e?"unshift":"push"](()=>{s=e,n(1,s)})}]}class Mn extends V{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.PlayerChangePasswordWrapper{color:var(--emfe-w-color-contrast, #07072A);padding:50px;max-width:400px}.ChangePasswordTitle{font-size:26px;color:var(--emfe-w-color-primary, #D0046C);font-weight:400}.ChangePasswordTitleMobile{font-size:16px;color:var(--emfe-w-color-primary, #D0046C)}.ChangePasswordTitleNone{display:none}.PlayerChangePasswordContent{display:grid;grid-column-gap:50px;grid-row-gap:30px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerChangePasswordButtonsArea{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr}.PlayerChangePasswordSaveButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordSaveButton{background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordBox{display:flex;flex-direction:column;position:relative}.PlayerChangePasswordBox label{font-size:14px;font-weight:300;margin-bottom:10px}.PlayerChangePasswordBox input{font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A);padding:10px;line-height:16px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);background:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;outline:none;transition-duration:0.3s}.PlayerChangePasswordBox input:focus,.PlayerChangePasswordBox input :focus-within,.PlayerChangePasswordBox input :focus-visible,.PlayerChangePasswordBox input :visited{border:1px solid var(--emfe-w-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordBox input::-webkit-outer-spin-button,.PlayerChangePasswordBox input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.PlayerChangePasswordBox input::-ms-reveal,.PlayerChangePasswordBox input::-ms-clear{display:none}.PlayerChangePasswordBox.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInput{bottom:-16px}.PlayerChangePasswordBox:last-child.InvalidField .InvalidInputNew{bottom:-24px}.TogglePasswordVisibility{height:20px;position:absolute;right:10px;top:38px;cursor:pointer;color:var(--emfe-w-color-gray-300, #58586B)}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.TogglePasswordVisibilityMobile{top:35px}.InvalidInput,.InvalidInputNew{color:var(--emfe-w-color-error, #FD2839);font-size:10px;padding-top:5px;margin:0;line-height:12px}.InvalidInputNew{bottom:-24px}.PasswordChangedError{color:var(--emfe-w-color-error, #FD2839);font-size:16px;line-height:18px;margin-top:0}.ChangedPasswordSuccessfully{color:var(--emfe-w-color-white, #FFFFFF);position:relative}.ChangedPasswordSuccessfully .SuccessWrapper{display:inline-flex;align-items:center;margin-bottom:20px}.ChangedPasswordSuccessfully .IconContainer{width:45px;height:45px;border:1px solid var(--emfe-w-color-green, #48952a);border-radius:50px;display:flex;align-items:center;justify-content:center}.ChangedPasswordSuccessfully .Checkmark{width:12px;height:22px;border:1px solid var(--emfe-w-color-green, #48952a);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);position:relative;top:-3px}.ChangedPasswordSuccessfully h3{font-size:20px;font-weight:400;margin:10px 0;color:var(--emfe-w-color-green, #48952a)}.ChangedPasswordSuccessfully p{margin:0;font-size:14px;font-weight:300;color:var(--emfe-w-color-contrast, #07072A)}.ChangedPasswordSuccessfully .TextContainer{display:flex;flex-direction:column;padding:10px 20px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emfe-w-color-white, #FFFFFF);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);max-width:185px}.ChangedPasswordSuccessfully .PlayerChangePasswordBackButton:hover{color:var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperMobile{height:100%;max-width:unset;padding:20px 20px 40px 20px;display:flex;flex-flow:column}.PlayerChangePasswordWrapperMobile:after{content:'';position:absolute;bottom:0}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordHeader h3{color:var(--emfe-w-color-primary, #D0046C);font-size:14px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox label{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:400}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordBox input{color:var(--emfe-w-color-gray-300, #58586B);font-size:12px;font-weight:300}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordButtonsArea{grid-column-gap:10px}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{font-size:12px;height:44px;color:var(--emfe-w-color-gray-300, #58586B)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperMobile .PlayerChangePasswordSaveButton.ButtonInactive{opacity:0.3}.PlayerChangePasswordWrapperMobile .ChangedPasswordSuccessfully{color:var(--emfe-w-color-gray-300, #58586B)}.MenuReturnButton{color:var(--emfe-w-color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.PlayerChangePasswordWrapperTablet{padding:40px 25% 100% 25%}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordContent{grid-row-gap:20px}.PlayerChangePasswordWrapperTablet .MenuReturnButton{margin-bottom:30px}.PlayerChangePasswordWrapperTablet .MenuReturnButton span{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox label{font-size:20px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox input{height:30px;font-size:20px;line-height:30px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility{width:30px;top:46px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility path,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility circle,.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordBox:last-child .InvalidInput{font-size:16px;bottom:-50px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea{grid-column-gap:40px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{font-size:18px;height:56px}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton{color:var(--emfe-w-color-white, #FFFFFF)}.PlayerChangePasswordWrapperTablet .PlayerChangePasswordButtonsArea .PlayerChangePasswordSaveButton.ButtonInactive{color:var(--emfe-w-color-gray-300, #58586B)}</style>",G(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},Hn,In,_,{lang:27,simplepasswordvalidation:0,clientstyling:28,clientstylingurl:29,translationurl:30},null,[-1,-1]),e&&(e.target&&ye(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl"]}get lang(){return this.$$.ctx[27]}set lang(e){this.$$set({lang:e}),y()}get simplepasswordvalidation(){return this.$$.ctx[0]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),y()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(e){this.$$set({clientstyling:e}),y()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),y()}get translationurl(){return this.$$.ctx[30]}set translationurl(e){this.$$set({translationurl:e}),y()}}return customElements.get("player-change-password")||customElements.define("player-change-password",Mn),Mn});
|
|
2
2
|
//# sourceMappingURL=player-change-password.js.map
|