@everymatrix/player-change-password 0.0.249 → 0.0.252
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 h(){}function p(e){return e()}function d(){return Object.create(null)}function fe(e){e.forEach(p)}function ge(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function L(e,...t){if(null==e)return h;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 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 _e(e,t){e.value=null==t?"":t}let N;function f(e){N=e}const g=[],F=[],n=[],o=[],m=Promise.resolve();let y=!1;function w(e){n.push(e)}let i=!1;const s=new Set;function b(){if(!i){i=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];f(t),function(e){{var t;null!==e.fragment&&(e.update(),fe(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(w))}}(t.$$)}for(f(null),g.length=0;F.length;)F.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];s.has(r)||(s.add(r),r())}}while(n.length=0,g.length);for(;o.length;)o.pop()();y=!1,i=!1,s.clear()}}const P=new Set;function a(n,e,t,r,o,i,s=[-1]){var a,l=N;f(n);const c=n.$$={fragment:null,ctx:null,props:i,update:h,not_equal:o,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{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),u&&(r=e,-1===(e=n).$$.dirty[0]&&(g.push(e),y||(y=!0,m.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,fe(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const h=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(h),h.forEach(we)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(P.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||w(()=>{var e=i.map(p).filter(ge);s?s.push(...e):fe(e),t.$$.on_mount=[]}),a.forEach(w)}(n,e.target,e.anchor,e.customElement),b()}f(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(p).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(){!function(e){const t=e.$$;null!==t.fragment&&(fe(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$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 c,u,v="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==v&&v,E="URLSearchParams"in v,T="Symbol"in v&&"iterator"in Symbol,_="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch(e){return!1}}(),C="FormData"in v,x="ArrayBuffer"in v;function A(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 S(e){return e="string"!=typeof e?String(e):e}function I(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function O(t){this.map={},t instanceof O?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 M(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function R(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function B(e){var t=new FileReader,r=R(t);return t.readAsArrayBuffer(e),r}function U(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function D(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:C&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:E&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():x&&_&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=U(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):x&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=U(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):E&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_&&(this.blob=function(){var e=M(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?M(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(B)}),this.text=function(){var e,t,r=M(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=R(t=new FileReader),t.readAsText(e),r;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)},C&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}x&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),O.prototype.append=function(e,t){e=A(e),t=S(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},O.prototype.delete=function(e){delete this.map[A(e)]},O.prototype.get=function(e){return e=A(e),this.has(e)?this.map[e]:null},O.prototype.has=function(e){return this.map.hasOwnProperty(A(e))},O.prototype.set=function(e,t){this.map[A(e)]=S(t)},O.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},O.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),I(r)},O.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),I(t)},O.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),I(r)},T&&(O.prototype[Symbol.iterator]=O.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function V(e,t){if(!(this instanceof V))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 V){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new O(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 O(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<k.indexOf(e)?e:r),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||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function G(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function j(e,t){if(!(this instanceof j))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 O(t.headers),this.url=t.url||"",this._initBody(e)}V.prototype.clone=function(){return new V(this,{body:this._bodyInit})},D.call(V.prototype),D.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},j.error=function(){var e=new j(null,{status:0,statusText:""});return e.type="error",e};var $=[301,302,303,307,308];j.redirect=function(e,t){if(-1===$.indexOf(t))throw new RangeError("Invalid status code");return new j(null,{status:t,headers:{location:e}})};var W=v.DOMException;try{new W}catch(h){(W=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),W.prototype.constructor=W}function z(n,s){return new Promise(function(o,e){var t=new V(n,s);if(t.signal&&t.signal.aborted)return e(new W("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new O,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 t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new j(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new W("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&v.location.href?v.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(_?i.responseType="blob":x&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof O?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,S(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}z.polyfill=!0,v.fetch||(v.fetch=z,v.Headers=O,v.Request=V,v.Response=j),self.fetch.bind(self);var X=function(e,t){return(X=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 Z(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}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function H(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 Y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function q(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function K(e){return"function"==typeof e}function Q(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 J=Q(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 ee(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var te=(ne.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=H(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(K(i))try{i()}catch(e){o=e instanceof J?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=H(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{ie(u)}catch(e){o=null!=o?o:[],e instanceof J?o=q(q([],Y(o)),Y(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 J(o)}},ne.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ie(e);else{if(e instanceof ne){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ne.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ne.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ne.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ee(t,e)},ne.prototype.remove=function(e){var t=this._teardowns;t&&ee(t,e),e instanceof ne&&e._removeParent(this)},ne.EMPTY=((Dt=new ne).closed=!0,Dt),ne),re=te.EMPTY;function ne(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function oe(e){return e instanceof te||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function ie(e){K(e)?e():e.unsubscribe()}var se=void 0,ae=!1,le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,q([],Y(e)))};function ce(){}function ue(e){e()}var he,pe,de=(Z(Ae,pe=te),Ae.create=function(e,t,r){return new Ce(e,t,r)},Ae.prototype.next=function(e){this.isStopped||this._next(e)},Ae.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ae.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ae.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,pe.prototype.unsubscribe.call(this),this.destination=null)},Ae.prototype._next=function(e){this.destination.next(e)},Ae.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ae.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ae),Ce=(Z(xe,he=de),xe);function xe(e,t,r){var n,o,i=he.call(this)||this;return K(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&ae?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Se(o):ce,error:Se(null!=t?t:Ie),complete:r?Se(r):ce},i}function Ae(e){var t=pe.call(this)||this;return t.isStopped=!1,e?oe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Se(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,q([],Y(e)))}catch(e){t=e,le(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:ce,error:Ie,complete:ce},Me="function"==typeof Symbol&&Symbol.observable||"@@observable";function Le(e){return e}var Ne=(Fe.prototype.lift=function(e){var t=new Fe;return t.source=this,t.operator=e,t},Fe.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof de||n&&K(n.next)&&K(n.error)&&K(n.complete)&&oe(n)?e:new Ce(e,t,r);return ue(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},Fe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Fe.prototype.forEach=function(n,e){var o=this;return new(e=Re(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},Fe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Fe.prototype[Me]=function(){return this},Fe.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Le:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Fe.prototype.toPromise=function(e){var n=this;return new(e=Re(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},Fe.create=function(e){return new Fe(e)},Fe);function Fe(e){e&&(this._subscribe=e)}function Re(e){return null!==(e=null!=e?e:se)&&void 0!==e?e:Promise}var Be,Ue,De,ke=Q(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ve=(Z(Xe,De=Ne),Xe.prototype.lift=function(e){var t=new Ge(this,this);return t.operator=e,t},Xe.prototype._throwIfClosed=function(){if(this.closed)throw new ke},Xe.prototype.next=function(i){var s=this;ue(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=H(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Xe.prototype.error=function(t){var r=this;ue(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)}})},Xe.prototype.complete=function(){var t=this;ue(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Xe.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Xe.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Xe.prototype._trySubscribe=function(e){return this._throwIfClosed(),De.prototype._trySubscribe.call(this,e)},Xe.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Xe.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?re:(n.push(e),new te(function(){return ee(n,e)}))},Xe.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},Xe.prototype.asObservable=function(){var e=new Ne;return e.source=this,e},Xe.create=function(e,t){return new Ge(e,t)},Xe),Ge=(Z(ze,Ue=Ve),ze.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},ze.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},ze.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},ze.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:re},ze),je={now:function(){return(je.delegate||Date).now()},delegate:void 0},$e=(Z(We,Be=Ve),We.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},We.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},We.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 i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},We);function We(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=je);var n=Be.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 ze(e,t){var r=Ue.call(this)||this;return r.destination=e,r.source=t,r}function Xe(){var e=De.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],He={};const Ye=[];function qe(n,o=h){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!Ye.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Ye.push(t,n)}if(e){for(let e=0;e<Ye.length;e+=2)Ye[e][0](Ye[e+1]);Ye.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=h){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||h),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function Ke(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qe(t,t=>{let r=!1;const n=[];let o=0,i=h;const s=()=>{var e;o||(i(),e=a(l?n[0]:n,t),u?t(e):i=ge(e)?e:h)},e=c.map((e,t)=>L(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){fe(e),i()}}).subscribe}}var Qe=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Je));var t},Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?it(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function nt(e,t){try{return t in e}catch(e){return!1}}function ot(n,o,i){var s={};return i.isMergeableObject(n)&&rt(n).forEach(function(e){s[e]=et(n[e],i)}),rt(o).forEach(function(t){var e,r;(!nt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(nt(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return it;var e=i.customMerge(t);return"function"==typeof e?e:it}()(n[t],o[t],i):s[t]=et(o[t],i))}),s}function it(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||Qe,r.cloneUnlessOtherwiseSpecified=et;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ot(e,t,r):et(t,r)}it.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return it(e,t,r)},{})};var st=it,at=function(e,t){return(at=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 lt(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}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ct,ut,ht,pt=function(){return(pt=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 dt(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function ft(e){return e.type===ut.literal}function gt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function yt(e){return e.type===ut.time}function wt(e){return e.type===ut.select}function bt(e){return e.type===ut.plural}function Pt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===ht.number}function Et(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(kt=ct=ct||{})[kt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",kt[kt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",kt[kt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",kt[kt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",kt[kt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",kt[kt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",kt[kt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",kt[kt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",kt[kt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",kt[kt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",kt[kt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",kt[kt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",kt[kt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",kt[kt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",kt[kt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",kt[kt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",kt[kt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",kt[kt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",kt[kt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",kt[kt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",kt[kt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",kt[kt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",kt[kt.INVALID_TAG=23]="INVALID_TAG",kt[kt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",kt[kt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",kt[kt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Vt=ut=ut||{})[Vt.literal=0]="literal",Vt[Vt.argument=1]="argument",Vt[Vt.number=2]="number",Vt[Vt.date=3]="date",Vt[Vt.time=4]="time",Vt[Vt.select=5]="select",Vt[Vt.plural=6]="plural",Vt[Vt.pound=7]="pound",Vt[Vt.tag=8]="tag",(Gt=ht=ht||{})[Gt.number=0]="number",Gt[Gt.dateTime=1]="dateTime";var Tt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Ct,xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Mt(e){var n={};return e.replace(St,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 Lt(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 Nt(e){return Lt(e)||{}}function Ft(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=pt(pt(pt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return pt(pt({},e),Nt(t))},{}));continue;case"engineering":s=pt(pt(pt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return pt(pt({},e),Nt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(It,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ot.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(At.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(At,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=pt(pt({},s),Mt(o.options[0])))}else St.test(o.stem)?s=pt(pt({},s),Mt(o.stem)):((n=Lt(o.stem))&&(s=pt(pt({},s),n)),(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)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=pt(pt({},s),n)))}return s}var Rt=new RegExp("^"+Tt.source+"*"),Bt=new RegExp(Tt.source+"*$");function Ut(e,t){return{start:e,end:t}}var Dt=!!String.prototype.startsWith,Me=!!String.fromCodePoint,Ve=!!Object.fromEntries,kt=!!String.prototype.codePointAt,Vt=!!String.prototype.trimStart,Gt=!!String.prototype.trimEnd,jt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Tt=!0;try{Tt="a"===(null===(Ct=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ct?void 0:Ct[0])}catch(h){Tt=!1}var $t,Wt,zt=Dt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Xt=Me?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))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},Zt=Ve?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Ht=kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Yt=Vt?function(e){return e.trimStart()}:function(e){return e.replace(Rt,"")},qt=Gt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function Kt(e,t){return new RegExp(e,t)}Wt=Tt?($t=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!==(e=$t.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||tr(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 Xt.apply(void 0,n)};var Qt=(Jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Jt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ct.UNMATCHED_CLOSING_TAG,Ut(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&er(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{i=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Ut(i,this.clonePosition())})}}}return{val:n,err:null}},Jt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Ut(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!er(this.char()))return this.error(ct.INVALID_TAG,Ut(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(ct.UNMATCHED_CLOSING_TAG,Ut(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Ut(r,this.clonePosition())},err:null}:this.error(ct.INVALID_TAG,Ut(t,this.clonePosition())))}return this.error(ct.UNCLOSED_TAG,Ut(r,this.clonePosition()))}return this.error(ct.INVALID_TAG,Ut(r,this.clonePosition()))},Jt.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())},Jt.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=Ut(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(er(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Jt.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 Xt.apply(void 0,t)},Jt.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(),Xt(r))},Jt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ct.EMPTY_ARGUMENT,Ut(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ct.MALFORMED_ARGUMENT,Ut(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Ut(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ct.MALFORMED_ARGUMENT,Ut(r,this.clonePosition()))}},Jt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Wt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Ut(e,this.clonePosition())}},Jt.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ct.EXPECT_ARGUMENT_TYPE,Ut(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(h=qt(p.val)).length)return this.error(ct.EXPECT_ARGUMENT_STYLE,Ut(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Ut(c,this.clonePosition())}}if((d=this.tryParseArgumentClose(n)).err)return d;var u=Ut(n,this.clonePosition());if(l&&zt(null==l?void 0:l.style,"::",0)){c=Yt(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:ut.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(ct.EXPECT_DATE_TIME_SKELETON,u);var h={type:ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(_t,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"===s?ut.date:ut.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===s?ut.number:"date"===s?ut.date:ut.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ct.EXPECT_SELECT_ARGUMENT_OPTIONS,Ut(l,pt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ut(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,s,t,u);if(u.err)return u;if((d=this.tryParseArgumentClose(n)).err)return d;var d=Ut(n,this.clonePosition());return"select"===s?{val:{type:ut.select,value:r,options:Zt(u.val),location:d},err:null}:{val:{type:ut.plural,value:r,options:Zt(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:d},err:null};default:return this.error(ct.INVALID_ARGUMENT_TYPE,Ut(i,a))}},Jt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Jt.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(ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ut(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}},Jt.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(xt).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 i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ct.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ft(r):{}},err:null}},Jt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Ut(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ut(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;i.push([a,{value:u.val,location:Ut(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ut(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ct.MISSING_OTHER_CLAUSE,Ut(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Jt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=Ut(n,this.clonePosition());return o?jt(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},Jt.prototype.offset=function(){return this.position.offset},Jt.prototype.isEOF=function(){return this.offset()===this.message.length},Jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Jt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Jt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Jt.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))},Jt.prototype.bumpIf=function(e){if(zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Jt.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Jt.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},Jt.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Jt);function Jt(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function er(e){return 97<=e&&e<=122||65<=e&&e<=90}function tr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function rr(e,t){t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Qt(e,t).parse();if(r.err){e=SyntaxError(ct[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,wt(e)||bt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else gt(e)&&vt(e.style)||(mt(e)||yt(e))&&Et(e.style)?delete e.style.location:Pt(e)&&r(e.children)})}(r.val),r.val}function nr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ar;return(t&&t.strategy?t.strategy:function(e,t){return sr(e,this,1===e.length?or:ir,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function or(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function ir(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function sr(e,t,r,n,o){return r.bind(t,e,n,o)}var ar=function(){return JSON.stringify(arguments)};function lr(){this.cache=Object.create(null)}lr.prototype.has=function(e){return e in this.cache},lr.prototype.get=function(e){return this.cache[e]},lr.prototype.set=function(e,t){this.cache[e]=t};var cr,ur={create:function(){return new lr}},hr={variadic:function(e,t){return sr(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return sr(e,this,or,t.cache.create(),t.serializer)}};(Tt=cr=cr||{}).MISSING_VALUE="MISSING_VALUE",Tt.INVALID_VALUE="INVALID_VALUE",Tt.MISSING_INTL_API="MISSING_INTL_API";var pr,dr,fr,gr,mr,yr=(lt(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),wr=(lt(Tr,gr=yr),Tr),br=(lt(Er,fr=yr),Er),Pr=(lt(vr,dr=yr),vr);function vr(e,t){return dr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',cr.MISSING_VALUE,t)||this}function Er(e,t,r){return fr.call(this,'Value for "'+e+'" must be of type '+t,cr.INVALID_VALUE,r)||this}function Tr(e,t,r,n){return gr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',cr.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Cr(e,t,r,n,o,i,s){if(1===e.length&&ft(e[0]))return[{type:pr.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(ft(u))a.push({type:pr.literal,value:u.value});else if(u.type===ut.pound)"number"==typeof i&&a.push({type:pr.literal,value:r.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new Pr(h,s);var p=o[h];if(u.type===ut.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?pr.literal:pr.object,value:p});else if(mt(u)){var d="string"==typeof u.style?n.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)})}else if(yt(u))d="string"==typeof u.style?n.time[u.style]:Et(u.style)?u.style.parsedOptions:void 0,a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)});else if(gt(u))(d="string"==typeof u.style?n.number[u.style]:vt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(p*=d.scale||1),a.push({type:pr.literal,value:r.getNumberFormat(t,d).format(p)});else{if(Pt(u)){var f=u.children,g=u.value,h=o[g];if("function"!=typeof h)throw new br(g,"function",s);f=h(Cr(f,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?pr.literal:pr.object,value:e}}))}if(wt(u)){if(!(m=u.options[p]||u.options.other))throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o))}else if(bt(u)){if(!(m=u.options["="+p])){if(!Intl.PluralRules)throw new yr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',cr.MISSING_INTL_API,s);var f=r.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),m=u.options[f]||u.options.other}if(!m)throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===pr.literal&&t.type===pr.literal?r.value+=t.value:e.push(t),e},[])}function xr(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(Tt=pr=pr||{})[Tt.literal=0]="literal",Tt[Tt.object=1]="object";var Ar=(Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.__parse=rr,Sr.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"}}},Sr);function Sr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===pr.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 Cr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}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=Sr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?pt(pt(pt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=pt(pt({},r[t]),n[t]||{}),e},{})):r),e},pt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,dt([void 0],t)))},{cache:xr((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,dt([void 0],t)))},{cache:xr(n.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,dt([void 0],t)))},{cache:xr(n.pluralRules),strategy:hr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,i=Xr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Nr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Mr[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=s),s)}}};let Mr;const Lr=qe({});function Nr(e){return e in Mr}function Fr(t,...r){delete Ir[t],Lr.update(e=>(e[t]=st.all([e[t]||{},...r]),e))}Ke([Lr],([e])=>Object.keys(e)),Lr.subscribe(e=>Mr=e);const Rr={};function Br(e){return Rr[e]}function Ur(e){return Xr(e).some(e=>{return null===(e=Br(e))||void 0===e?void 0:e.size})}const Dr={};function kr(e){if(!Ur(e))return e in Dr?Dr[e]:void 0;const t=Xr(e).map(e=>{var t=Br(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Dr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Rr[e].delete(t),0===Rr[e].size&&delete Rr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Fr(t,...e))}(e))).then(()=>Ur(e)?kr(e):void delete Dr[e]),Dr[e]}function Vr(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 Gr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const jr=qe(!1);let $r;const Wr=qe(null);function zr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Xr(e,t=Gr.fallbackLocale){e=zr(e);return t?[...new Set([...e,...zr(t)])]:e}Wr.subscribe(e=>{$r=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Zr=Wr.set;Wr.set=t=>{if(function(e){if(null!=e){var t=Xr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Nr(r))return r}}}(t)&&Ur(t)){var{loadingDelay:r}=Gr;let e;return"undefined"!=typeof window&&null!=$r&&r?e=window.setTimeout(()=>jr.set(!0),r):jr.set(!0),kr(t).then(()=>{Zr(t)}).finally(()=>{clearTimeout(e),jr.set(!1)})}return Zr(t)},Wr.update=e=>Zr(e($r));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Yr=(e,t)=>{var{formats:r}=Gr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Yr("number",r)),new Intl.NumberFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Yr("date",r):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Qr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Yr("time",r):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Hr((e,t=$r)=>new Ar(e,t,Gr.formats,{ignoreTag:Gr.ignoreTag})),en=Ke([Wr,Lr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=$r,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(e,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Gr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Xr(n).join('", "')}".${Ur($r)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=Jr(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return Qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr,Lr],()=>(e,t=$r)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new $e(t),He[e]=t,Ze.push(e)),He[e]}};const tn={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",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back to Casino"}},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",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi la Cazino"}}};function rn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T=r[17]("changePassword.changePasswordText")+"",_=r[17]("changePassword.passwordReset")+"",C=r[17]("changePassword.passwordResetConfirmation")+"",x=r[17]("changePassword.backButtonText")+"",A=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p=r[17]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),i=e("g"),s=e("path"),a=Pe(),l=t("span"),c=be(p),Ee(s,"id","Chevron_Right"),Ee(s,"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,i),me(i,s),me(n,a),me(n,l),me(l,c),u||(h=ve(n,"click",r[40]),u=!0)},p(e,t){131072&t[0]&&p!==(p=e[17]("changePassword.returnToMenu")+"")&&Te(c,p)},d(e){e&&we(n),u=!1,h()}}}(r);return{c(){A&&A.c(),n=Pe(),o=t("div"),i=t("h3"),s=be(T),a=Pe(),l=t("div"),c=t("div"),u=t("div"),u.innerHTML='<div class="Checkmark" part="Checkmark"></div>',h=Pe(),p=t("div"),d=t("h3"),f=be(_),g=Pe(),m=t("p"),y=be(C),w=Pe(),b=t("div"),P=be(x),Ee(o,"class","PlayerChangePasswordHeader"),Ee(o,"part","PlayerChangePasswordHeader"),Ee(u,"class","IconContainer"),Ee(u,"part","IconContainer"),Ee(p,"class","TextContainer"),Ee(p,"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,i),me(i,s),ye(e,a,t),ye(e,l,t),me(l,c),me(c,u),me(c,h),me(c,p),me(p,d),me(d,f),me(p,g),me(p,m),me(m,y),me(l,w),me(l,b),me(b,P),v||(E=ve(b,"click",r[41]),v=!0)},p(e,t){e[18]&&A.p(e,t),131072&t[0]&&T!==(T=e[17]("changePassword.changePasswordText")+"")&&Te(s,T),131072&t[0]&&_!==(_=e[17]("changePassword.passwordReset")+"")&&Te(f,_),131072&t[0]&&C!==(C=e[17]("changePassword.passwordResetConfirmation")+"")&&Te(y,C),131072&t[0]&&x!==(x=e[17]("changePassword.backButtonText")+"")&&Te(P,x)},d(e){A&&A.d(e),e&&we(n),e&&we(o),e&&we(a),e&&we(l),v=!1,E()}}}function nn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T,_,C,x,A,S,I,O,M,L,N,F,R,B,U,D,k,V,G,j,$,W,z,X,Z=r[17]("changePassword.title")+"",H=r[17]("changePassword.currentPassword")+"",Y=r[17]("changePassword.newPassword")+"",q=r[17]("changePassword.confirmPassword")+"",K=r[17]("changePassword.submitChangePassword")+"",Q=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m=r[17]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),i=e("defs"),s=e("style"),a=be(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),c=e("g"),u=e("path"),h=Pe(),p=t("h2"),d=be(m),Ee(u,"class","aaa"),Ee(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),Ee(u,"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(p,"class","ChangePasswordTitleMobile"),Ee(p,"part","ChangePasswordTitleMobile"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,i),me(i,s),me(s,a),me(o,l),me(l,c),me(c,u),me(n,h),me(n,p),me(p,d),f||(g=ve(n,"click",r[26]),f=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("changePassword.title")+"")&&Te(d,m)},d(e){e&&we(n),f=!1,g()}}}(r);function J(e){return e[8]?sn:on}let ee=J(r),te=ee(r),re=r[2]&&an(r);function ne(e){return e[9]?cn:ln}let oe=ne(r),ie=oe(r);function se(e){return e[11]?hn:e[3]?un:void 0}let ae=se(r),le=ae&&ae(r);function ce(e){return e[10]?dn:pn}let ue=ce(r),he=ue(r),pe=r[4]&&fn(r),de=r[16]&&gn(r);return{c(){Q&&Q.c(),n=Pe(),o=t("h2"),i=be(Z),s=Pe(),a=t("section"),l=t("div"),c=t("label"),u=be(H),h=Pe(),p=t("input"),d=Pe(),te.c(),f=Pe(),re&&re.c(),y=Pe(),w=t("div"),b=t("label"),P=be(Y),v=Pe(),E=t("input"),T=Pe(),ie.c(),_=Pe(),le&&le.c(),A=Pe(),S=t("div"),I=t("label"),O=be(q),M=Pe(),L=t("input"),N=Pe(),he.c(),F=Pe(),pe&&pe.c(),U=Pe(),de&&de.c(),D=Pe(),k=t("section"),V=t("div"),G=be(K),Ee(o,"class","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),Ee(o,"part","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),Ee(c,"for","CurrentPassword"),Ee(p,"id","CurrentPassword"),Ee(p,"type","password"),Ee(l,"class",g="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),Ee(l,"part",m="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),Ee(b,"for","NewPassword"),Ee(E,"id","NewPassword"),Ee(E,"type","password"),Ee(w,"class",C="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),Ee(w,"part",x="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),Ee(I,"for","ConfirmPassword"),Ee(L,"id","ConfirmPassword"),Ee(L,"type","password"),Ee(S,"class",R="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(S,"part",B="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(a,"class","PlayerChangePasswordContent"),Ee(a,"part","PlayerChangePasswordContent"),Ee(V,"class",j="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),Ee(V,"part",$="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),Ee(V,"disabled",W=!r[1]),Ee(k,"class","PlayerChangePasswordButtonsArea"),Ee(k,"part","PlayerChangePasswordButtonsArea")},m(e,t){Q&&Q.m(e,t),ye(e,n,t),ye(e,o,t),me(o,i),ye(e,s,t),ye(e,a,t),me(a,l),me(l,c),me(c,u),me(l,h),me(l,p),_e(p,r[12]),r[28](p),me(l,d),te.m(l,null),me(l,f),re&&re.m(l,null),me(a,y),me(a,w),me(w,b),me(b,P),me(w,v),me(w,E),_e(E,r[13]),r[32](E),me(w,T),ie.m(w,null),me(w,_),le&&le.m(w,null),me(a,A),me(a,S),me(S,I),me(I,O),me(S,M),me(S,L),_e(L,r[14]),r[36](L),me(S,N),he.m(S,null),me(S,F),pe&&pe.m(S,null),ye(e,U,t),de&&de.m(e,t),ye(e,D,t),ye(e,k,t),me(k,V),me(V,G),z||(X=[ve(p,"input",r[27]),ve(p,"blur",function(){ge(r[21](r[2],r[12],r[5]))&&r[21](r[2],r[12],r[5]).apply(this,arguments)}),ve(E,"input",r[31]),ve(E,"blur",function(){ge(r[21](r[3],r[13],r[6]))&&r[21](r[3],r[13],r[6]).apply(this,arguments)}),ve(L,"input",r[35]),ve(L,"blur",function(){ge(r[21](r[4],r[14],r[7]))&&r[21](r[4],r[14],r[7]).apply(this,arguments)}),ve(V,"click",r[39])],z=!0)},p(e,t){(r=e)[18]&&Q.p(r,t),131072&t[0]&&Z!==(Z=r[17]("changePassword.title")+"")&&Te(i,Z),131072&t[0]&&H!==(H=r[17]("changePassword.currentPassword")+"")&&Te(u,H),4096&t[0]&&p.value!==r[12]&&_e(p,r[12]),ee===(ee=J(r))&&te?te.p(r,t):(te.d(1),te=ee(r),te&&(te.c(),te.m(l,f))),r[2]?re?re.p(r,t):(re=an(r),re.c(),re.m(l,null)):re&&(re.d(1),re=null),4&t[0]&&g!==(g="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&Ee(l,"class",g),4&t[0]&&m!==(m="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&Ee(l,"part",m),131072&t[0]&&Y!==(Y=r[17]("changePassword.newPassword")+"")&&Te(P,Y),8192&t[0]&&E.value!==r[13]&&_e(E,r[13]),oe===(oe=ne(r))&&ie?ie.p(r,t):(ie.d(1),ie=oe(r),ie&&(ie.c(),ie.m(w,_))),ae===(ae=se(r))&&le?le.p(r,t):(le&&le.d(1),le=ae&&ae(r),le&&(le.c(),le.m(w,null))),8&t[0]&&C!==(C="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&Ee(w,"class",C),8&t[0]&&x!==(x="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&Ee(w,"part",x),131072&t[0]&&q!==(q=r[17]("changePassword.confirmPassword")+"")&&Te(O,q),16384&t[0]&&L.value!==r[14]&&_e(L,r[14]),ue===(ue=ce(r))&&he?he.p(r,t):(he.d(1),he=ue(r),he&&(he.c(),he.m(S,F))),r[4]?pe?pe.p(r,t):(pe=fn(r),pe.c(),pe.m(S,null)):pe&&(pe.d(1),pe=null),16&t[0]&&R!==(R="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(S,"class",R),16&t[0]&&B!==(B="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(S,"part",B),r[16]?de?de.p(r,t):(de=gn(r),de.c(),de.m(D.parentNode,D)):de&&(de.d(1),de=null),131072&t[0]&&K!==(K=r[17]("changePassword.submitChangePassword")+"")&&Te(G,K),2&t[0]&&j!==(j="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&Ee(V,"class",j),2&t[0]&&$!==($="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&Ee(V,"part",$),2&t[0]&&W!==(W=!r[1])&&Ee(V,"disabled",W)},d(e){Q&&Q.d(e),e&&we(n),e&&we(o),e&&we(s),e&&we(a),r[28](null),te.d(),re&&re.d(),r[32](null),ie.d(),le&&le.d(),r[36](null),he.d(),pe&&pe.d(),e&&we(U),de&&de.d(e),e&&we(D),e&&we(k),z=!1,fe(X)}}}function on(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[30]),p=!0)},p(e,t){4&t[0]&&u!==(u="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),4&t[0]&&h!==(h="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function sn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[29]),w=!0)},p(e,t){4&t[0]&&m!==(m="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),4&t[0]&&y!==(y="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function an(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidCurrentPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function ln(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[34]),p=!0)},p(e,t){8&t[0]&&u!==(u="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),8&t[0]&&h!==(h="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function cn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[33]),w=!0)},p(e,t){8&t[0]&&m!==(m="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),8&t[0]&&y!==(y="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function un(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPasswordSecondary")+"")&&Te(n,o)},d(e){e&&we(r)}}}function hn(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function pn(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[38]),p=!0)},p(e,t){16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),16&t[0]&&h!==(h="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function dn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[37]),w=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),16&t[0]&&y!==(y="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function fn(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.confirmPasswordInvalid")+"")&&Te(n,o)},d(e){e&&we(r)}}}function gn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=be(e[15]),Ee(n,"class","PasswordChangedError"),Ee(n,"part","PasswordChangedError")},m(e,t){ye(e,r,t),me(r,n),me(n,o)},p(e,t){32768&t[0]&&Te(o,e[15])},d(e){e&&we(r)}}}function mn(e){let r,n=function(e){let r;function n(e){return e[0]?rn:nn}let o=n(e),i=o(e);return{c(){r=t("form"),i.c(),Ee(r,"class","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":"")),Ee(r,"part","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){ye(e,r,t),i.m(r,null)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r,null)))},d(e){e&&we(r),i.d()}}}(e);return{c(){n.c(),r=be(""),this.c=h},m(e,t){n.m(e,t),ye(e,r,t)},p(e,t){n.p(e,t)},i:h,o:h,d(e){n.d(e),e&&we(r)}}}function yn(t,e,n){let r;var o=en;t.$$.on_destroy.push(L(o,e=>n(17,r=e)));let{lang:i="en"}=e,s="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),a=!1;const l=window.matchMedia("(min-width: 768px)"),c={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let u,h,p,d=!1,f=!1,g=!1,m=!1,y=!1,w=!1,b,P="",v="",E="",T=!1,_="",C=!1;Object.keys(tn).forEach(e=>{Fr(e,tn[e])});const x=e=>{switch(e){case"userCurrentPassword":n(8,m=!m),n(5,u.type=m?"text":"password",u);break;case"userNewPassword":n(9,y=!y),n(6,h.type=y?"text":"password",h);break;case"userConfirmPassword":n(10,w=!w),n(7,p.type=w?"text":"password",p)}},A=e=>!!c.password.test(e),S=()=>{a&&window.postMessage({type:"ChangePassword",userCurrentPassword:P,userNewPassword:v},window.location.href)},I=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},O=()=>{window.postMessage({type:"GoToCasino"},window.location.href)},M=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(0,T=!0);break;case"ShowPasswordChangedError":n(16,C=e.data.showErrorPasswordChanged),n(15,_=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}),function(){if(!N)throw new Error("Function called outside component initialization");return N}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(25,i=e.lang)},t.$$.update=()=>{var e;33554432&t.$$.dirty[0]&&i&&(e=i,Wr.set(e)),t.$$.dirty[0]},[T,a,d,f,g,u,h,p,m,y,w,!1,P,v,E,_,C,r,s,l,x,(e,t,r)=>{"CurrentPassword"===r.id?n(2,d=!A(t)):"NewPassword"===r.id?(n(3,f=!A(t)),P&&n(11,b=P===v),E&&n(4,g=v!==E||!A(t))):n(4,g=v!==E||!A(t)),n(1,a=!(d||f||g||!P||!v||!E))},S,I,O,i,()=>I(),function(){P=this.value,n(12,P)},function(e){F[e?"unshift":"push"](()=>{u=e,n(5,u)})},()=>x("userCurrentPassword"),()=>x("userCurrentPassword"),function(){v=this.value,n(13,v)},function(e){F[e?"unshift":"push"](()=>{h=e,n(6,h)})},()=>x("userNewPassword"),()=>x("userNewPassword"),function(){E=this.value,n(14,E)},function(e){F[e?"unshift":"push"](()=>{p=e,n(7,p)})},()=>x("userConfirmPassword"),()=>x("userConfirmPassword"),()=>S(),()=>I(),()=>O()]}class wn extends l{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:19.2px;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;height:100%}.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>",a(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},yn,mn,r,{lang:25},[-1,-1]),e&&(e.target&&ye(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang"]}get lang(){return this.$$.ctx[25]}set lang(e){this.$set({lang:e}),b()}}return customElements.get("player-change-password")||customElements.define("player-change-password",wn),wn});
|
|
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 h(){}function p(e){return e()}function d(){return Object.create(null)}function fe(e){e.forEach(p)}function ge(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function L(e,...t){if(null==e)return h;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 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 _e(e,t){e.value=null==t?"":t}let N;function f(e){N=e}const g=[],F=[],n=[],o=[],m=Promise.resolve();let y=!1;function w(e){n.push(e)}let i=!1;const s=new Set;function b(){if(!i){i=!0;do{for(let e=0;e<g.length;e+=1){var t=g[e];f(t),function(e){{var t;null!==e.fragment&&(e.update(),fe(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(w))}}(t.$$)}for(f(null),g.length=0;F.length;)F.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];s.has(r)||(s.add(r),r())}}while(n.length=0,g.length);for(;o.length;)o.pop()();y=!1,i=!1,s.clear()}}const P=new Set;function a(n,e,t,r,o,i,s=[-1]){var a,l=N;f(n);const c=n.$$={fragment:null,ctx:null,props:i,update:h,not_equal:o,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:s,skip_bound:!1};let u=!1;if(c.ctx=t?t(n,e.props||{},(e,t,...r)=>{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),u&&(r=e,-1===(e=n).$$.dirty[0]&&(g.push(e),y||(y=!0,m.then(b)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,fe(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){const h=(r=e.target,Array.from(r.childNodes));c.fragment&&c.fragment.l(h),h.forEach(we)}else c.fragment&&c.fragment.c();e.intro&&(a=n.$$.fragment)&&a.i&&(P.delete(a),a.i(void 0)),function(t,e,r,n){const{fragment:o,on_mount:i,on_destroy:s,after_update:a}=t.$$;o&&o.m(e,r),n||w(()=>{var e=i.map(p).filter(ge);s?s.push(...e):fe(e),t.$$.on_mount=[]}),a.forEach(w)}(n,e.target,e.anchor,e.customElement),b()}f(l)}let l;"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(p).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(){!function(e){const t=e.$$;null!==t.fragment&&(fe(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=h}$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 c,u,v="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==v&&v,E="URLSearchParams"in v,T="Symbol"in v&&"iterator"in Symbol,_="FileReader"in v&&"Blob"in v&&function(){try{return new Blob,!0}catch(e){return!1}}(),C="FormData"in v,x="ArrayBuffer"in v;function A(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 S(e){return e="string"!=typeof e?String(e):e}function I(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return T&&(e[Symbol.iterator]=function(){return e}),e}function O(t){this.map={},t instanceof O?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 M(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function R(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function B(e){var t=new FileReader,r=R(t);return t.readAsArrayBuffer(e),r}function U(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function D(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:_&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:C&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:E&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():x&&_&&e&&DataView.prototype.isPrototypeOf(e)?(this._bodyArrayBuffer=U(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):x&&(ArrayBuffer.prototype.isPrototypeOf(e)||u(e))?this._bodyArrayBuffer=U(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):E&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_&&(this.blob=function(){var e=M(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?M(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(B)}),this.text=function(){var e,t,r=M(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,r=R(t=new FileReader),t.readAsText(e),r;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)},C&&(this.formData=function(){return this.text().then(G)}),this.json=function(){return this.text().then(JSON.parse)},this}x&&(c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))}),O.prototype.append=function(e,t){e=A(e),t=S(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},O.prototype.delete=function(e){delete this.map[A(e)]},O.prototype.get=function(e){return e=A(e),this.has(e)?this.map[e]:null},O.prototype.has=function(e){return this.map.hasOwnProperty(A(e))},O.prototype.set=function(e,t){this.map[A(e)]=S(t)},O.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},O.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),I(r)},O.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),I(t)},O.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),I(r)},T&&(O.prototype[Symbol.iterator]=O.prototype.entries);var k=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function V(e,t){if(!(this instanceof V))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 V){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new O(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 O(t.headers)),this.method=(e=(r=t.method||this.method||"GET").toUpperCase(),-1<k.indexOf(e)?e:r),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||((t=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(t,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function G(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(e=(t=e.split("=")).shift().replace(/\+/g," "),t=t.join("=").replace(/\+/g," "),r.append(decodeURIComponent(e),decodeURIComponent(t)))}),r}function j(e,t){if(!(this instanceof j))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 O(t.headers),this.url=t.url||"",this._initBody(e)}V.prototype.clone=function(){return new V(this,{body:this._bodyInit})},D.call(V.prototype),D.call(j.prototype),j.prototype.clone=function(){return new j(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new O(this.headers),url:this.url})},j.error=function(){var e=new j(null,{status:0,statusText:""});return e.type="error",e};var $=[301,302,303,307,308];j.redirect=function(e,t){if(-1===$.indexOf(t))throw new RangeError("Invalid status code");return new j(null,{status:t,headers:{location:e}})};var W=v.DOMException;try{new W}catch(h){(W=function(e,t){this.message=e,this.name=t;e=Error(e);this.stack=e.stack}).prototype=Object.create(Error.prototype),W.prototype.constructor=W}function z(n,s){return new Promise(function(o,e){var t=new V(n,s);if(t.signal&&t.signal.aborted)return e(new W("Aborted","AbortError"));var i=new XMLHttpRequest;function r(){i.abort()}i.onload=function(){var e,r,t={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",r=new O,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 t=e.split(":"),e=t.shift().trim();e&&(t=t.join(":").trim(),r.append(e,t))}),r)};t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL");var n="response"in i?i.response:i.responseText;setTimeout(function(){o(new j(n,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.onabort=function(){setTimeout(function(){e(new W("Aborted","AbortError"))},0)},i.open(t.method,function(t){try{return""===t&&v.location.href?v.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?i.withCredentials=!0:"omit"===t.credentials&&(i.withCredentials=!1),"responseType"in i&&(_?i.responseType="blob":x&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!s||"object"!=typeof s.headers||s.headers instanceof O?t.headers.forEach(function(e,t){i.setRequestHeader(t,e)}):Object.getOwnPropertyNames(s.headers).forEach(function(e){i.setRequestHeader(e,S(s.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),i.onreadystatechange=function(){4===i.readyState&&t.signal.removeEventListener("abort",r)}),i.send(void 0===t._bodyInit?null:t._bodyInit)})}z.polyfill=!0,v.fetch||(v.fetch=z,v.Headers=O,v.Request=V,v.Response=j),self.fetch.bind(self);var X=function(e,t){return(X=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 Z(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}X(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function H(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 Y(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)s.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return s}function q(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function K(e){return"function"==typeof e}function Q(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 J=Q(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 ee(e,t){!e||0<=(t=e.indexOf(t))&&e.splice(t,1)}var te=(ne.prototype.unsubscribe=function(){var e,t,r,n,o;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=H(i),a=s.next();!a.done;a=s.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);i=this.initialTeardown;if(K(i))try{i()}catch(e){o=e instanceof J?e.errors:[e]}i=this._teardowns;if(i){this._teardowns=null;try{for(var l=H(i),c=l.next();!c.done;c=l.next()){var u=c.value;try{ie(u)}catch(e){o=null!=o?o:[],e instanceof J?o=q(q([],Y(o)),Y(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 J(o)}},ne.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)ie(e);else{if(e instanceof ne){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._teardowns=null!==(t=this._teardowns)&&void 0!==t?t:[]).push(e)}},ne.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},ne.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},ne.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ee(t,e)},ne.prototype.remove=function(e){var t=this._teardowns;t&&ee(t,e),e instanceof ne&&e._removeParent(this)},ne.EMPTY=((Dt=new ne).closed=!0,Dt),ne),re=te.EMPTY;function ne(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._teardowns=null}function oe(e){return e instanceof te||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function ie(e){K(e)?e():e.unsubscribe()}var se=void 0,ae=!1,le=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return setTimeout.apply(void 0,q([],Y(e)))};function ce(){}function ue(e){e()}var he,pe,de=(Z(Ae,pe=te),Ae.create=function(e,t,r){return new Ce(e,t,r)},Ae.prototype.next=function(e){this.isStopped||this._next(e)},Ae.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Ae.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Ae.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,pe.prototype.unsubscribe.call(this),this.destination=null)},Ae.prototype._next=function(e){this.destination.next(e)},Ae.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},Ae.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Ae),Ce=(Z(xe,he=de),xe);function xe(e,t,r){var n,o,i=he.call(this)||this;return K(e)?o=e:e&&(o=e.next,t=e.error,r=e.complete,i&&ae?(n=Object.create(e)).unsubscribe=function(){return i.unsubscribe()}:n=e,o=null==o?void 0:o.bind(n),t=null==t?void 0:t.bind(n),r=null==r?void 0:r.bind(n)),i.destination={next:o?Se(o):ce,error:Se(null!=t?t:Ie),complete:r?Se(r):ce},i}function Ae(e){var t=pe.call(this)||this;return t.isStopped=!1,e?oe(t.destination=e)&&e.add(t):t.destination=Oe,t}function Se(n){return function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];try{n.apply(void 0,q([],Y(e)))}catch(e){t=e,le(function(){throw t})}}}function Ie(e){throw e}var Oe={closed:!0,next:ce,error:Ie,complete:ce},Me="function"==typeof Symbol&&Symbol.observable||"@@observable";function Le(e){return e}var Ne=(Fe.prototype.lift=function(e){var t=new Fe;return t.source=this,t.operator=e,t},Fe.prototype.subscribe=function(e,t,r){var n,o=this,i=(n=e)&&n instanceof de||n&&K(n.next)&&K(n.error)&&K(n.complete)&&oe(n)?e:new Ce(e,t,r);return ue(function(){var e=o.operator,t=o.source;i.add(e?e.call(i,t):t?o._subscribe(i):o._trySubscribe(i))}),i},Fe.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},Fe.prototype.forEach=function(n,e){var o=this;return new(e=Re(e))(function(e,t){var r=o.subscribe(function(e){try{n(e)}catch(e){t(e),null==r||r.unsubscribe()}},t,e)})},Fe.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},Fe.prototype[Me]=function(){return this},Fe.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?Le:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},Fe.prototype.toPromise=function(e){var n=this;return new(e=Re(e))(function(e,t){var r;n.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},Fe.create=function(e){return new Fe(e)},Fe);function Fe(e){e&&(this._subscribe=e)}function Re(e){return null!==(e=null!=e?e:se)&&void 0!==e?e:Promise}var Be,Ue,De,ke=Q(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ve=(Z(Xe,De=Ne),Xe.prototype.lift=function(e){var t=new Ge(this,this);return t.operator=e,t},Xe.prototype._throwIfClosed=function(){if(this.closed)throw new ke},Xe.prototype.next=function(i){var s=this;ue(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){var r=s.observers.slice();try{for(var n=H(r),o=n.next();!o.done;o=n.next())o.value.next(i)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}}})},Xe.prototype.error=function(t){var r=this;ue(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)}})},Xe.prototype.complete=function(){var t=this;ue(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},Xe.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=null},Object.defineProperty(Xe.prototype,"observed",{get:function(){var e;return 0<(null===(e=this.observers)||void 0===e?void 0:e.length)},enumerable:!1,configurable:!0}),Xe.prototype._trySubscribe=function(e){return this._throwIfClosed(),De.prototype._trySubscribe.call(this,e)},Xe.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},Xe.prototype._innerSubscribe=function(e){var t=this.hasError,r=this.isStopped,n=this.observers;return t||r?re:(n.push(e),new te(function(){return ee(n,e)}))},Xe.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,n=this.isStopped;t?e.error(r):n&&e.complete()},Xe.prototype.asObservable=function(){var e=new Ne;return e.source=this,e},Xe.create=function(e,t){return new Ge(e,t)},Xe),Ge=(Z(ze,Ue=Ve),ze.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},ze.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},ze.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},ze.prototype._subscribe=function(e){var t;return null!==(e=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==e?e:re},ze),je={now:function(){return(je.delegate||Date).now()},delegate:void 0},$e=(Z(We,Be=Ve),We.prototype.next=function(e){var t=this,r=t.isStopped,n=t._buffer,o=t._infiniteTimeWindow,i=t._timestampProvider,t=t._windowTime;r||(n.push(e),o||n.push(i.now()+t)),this._trimBuffer(),Be.prototype.next.call(this,e)},We.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},We.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 i=t.now(),s=0,a=1;a<r.length&&r[a]<=i;a+=2)s=a;s&&r.splice(0,s+1)}},We);function We(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=je);var n=Be.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 ze(e,t){var r=Ue.call(this)||this;return r.destination=e,r.source=t,r}function Xe(){var e=De.call(this)||this;return e.closed=!1,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let Ze=[],He={};const Ye=[];function qe(n,o=h){let i;const s=[];function a(e){if(r(n,e)&&(n=e,i)){const e=!Ye.length;for(let e=0;e<s.length;e+=1){const t=s[e];t[1](),Ye.push(t,n)}if(e){for(let e=0;e<Ye.length;e+=2)Ye[e][0](Ye[e+1]);Ye.length=0}}}return{set:a,update:function(e){a(e(n))},subscribe:function(e,t=h){const r=[e,t];return s.push(r),1===s.length&&(i=o(a)||h),e(n),()=>{var e=s.indexOf(r);-1!==e&&s.splice(e,1),0===s.length&&(i(),i=null)}}}}function Ke(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:qe(t,t=>{let r=!1;const n=[];let o=0,i=h;const s=()=>{var e;o||(i(),e=a(l?n[0]:n,t),u?t(e):i=ge(e)?e:h)},e=c.map((e,t)=>L(e,e=>{n[t]=e,o&=~(1<<t),r&&s()},()=>{o|=1<<t}));return r=!0,s(),function(){fe(e),i()}}).subscribe}}var Qe=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===Je));var t},Je="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function et(e,t){return!1!==t.clone&&t.isMergeableObject(e)?it(Array.isArray(e)?[]:{},e,t):e}function tt(e,t,r){return e.concat(t).map(function(e){return et(e,r)})}function rt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function nt(e,t){try{return t in e}catch(e){return!1}}function ot(n,o,i){var s={};return i.isMergeableObject(n)&&rt(n).forEach(function(e){s[e]=et(n[e],i)}),rt(o).forEach(function(t){var e,r;(!nt(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(nt(n,t)&&i.isMergeableObject(o[t])?s[t]=function(){if(!i.customMerge)return it;var e=i.customMerge(t);return"function"==typeof e?e:it}()(n[t],o[t],i):s[t]=et(o[t],i))}),s}function it(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||tt,r.isMergeableObject=r.isMergeableObject||Qe,r.cloneUnlessOtherwiseSpecified=et;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):ot(e,t,r):et(t,r)}it.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return it(e,t,r)},{})};var st=it,at=function(e,t){return(at=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 lt(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}at(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var ct,ut,ht,pt=function(){return(pt=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 dt(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e}function ft(e){return e.type===ut.literal}function gt(e){return e.type===ut.number}function mt(e){return e.type===ut.date}function yt(e){return e.type===ut.time}function wt(e){return e.type===ut.select}function bt(e){return e.type===ut.plural}function Pt(e){return e.type===ut.tag}function vt(e){return e&&"object"==typeof e&&e.type===ht.number}function Et(e){return e&&"object"==typeof e&&e.type===ht.dateTime}(kt=ct=ct||{})[kt.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",kt[kt.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",kt[kt.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",kt[kt.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",kt[kt.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",kt[kt.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",kt[kt.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",kt[kt.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",kt[kt.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",kt[kt.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",kt[kt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",kt[kt.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",kt[kt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",kt[kt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",kt[kt.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",kt[kt.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",kt[kt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",kt[kt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",kt[kt.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",kt[kt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",kt[kt.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",kt[kt.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",kt[kt.INVALID_TAG=23]="INVALID_TAG",kt[kt.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",kt[kt.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",kt[kt.UNCLOSED_TAG=27]="UNCLOSED_TAG",(Vt=ut=ut||{})[Vt.literal=0]="literal",Vt[Vt.argument=1]="argument",Vt[Vt.number=2]="number",Vt[Vt.date=3]="date",Vt[Vt.time=4]="time",Vt[Vt.select=5]="select",Vt[Vt.plural=6]="plural",Vt[Vt.pound=7]="pound",Vt[Vt.tag=8]="tag",(Gt=ht=ht||{})[Gt.number=0]="number",Gt[Gt.dateTime=1]="dateTime";var Tt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,_t=/(?:[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 Ct,xt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,At=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,St=/^(@+)?(\+|#+)?$/g,It=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Mt(e){var n={};return e.replace(St,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 Lt(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 Nt(e){return Lt(e)||{}}function Ft(e){for(var s={},t=0,r=e;t<r.length;t++){var n,o=r[t];switch(o.stem){case"percent":case"%":s.style="percent";continue;case"%x100":s.style="percent",s.scale=100;continue;case"currency":s.style="currency",s.currency=o.options[0];continue;case"group-off":case",_":s.useGrouping=!1;continue;case"precision-integer":case".":s.maximumFractionDigits=0;continue;case"measure-unit":case"unit":s.style="unit",s.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":s.notation="compact",s.compactDisplay="short";continue;case"compact-long":case"KK":s.notation="compact",s.compactDisplay="long";continue;case"scientific":s=pt(pt(pt({},s),{notation:"scientific"}),o.options.reduce(function(e,t){return pt(pt({},e),Nt(t))},{}));continue;case"engineering":s=pt(pt(pt({},s),{notation:"engineering"}),o.options.reduce(function(e,t){return pt(pt({},e),Nt(t))},{}));continue;case"notation-simple":s.notation="standard";continue;case"unit-width-narrow":s.currencyDisplay="narrowSymbol",s.unitDisplay="narrow";continue;case"unit-width-short":s.currencyDisplay="code",s.unitDisplay="short";continue;case"unit-width-full-name":s.currencyDisplay="name",s.unitDisplay="long";continue;case"unit-width-iso-code":s.currencyDisplay="symbol";continue;case"scale":s.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(It,function(e,t,r,n,o,i){if(t)s.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(i)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ot.test(o.stem))s.minimumIntegerDigits=o.stem.length;else if(At.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(At,function(e,t,r,n,o,i){return"*"===r?s.minimumFractionDigits=t.length:n&&"#"===n[0]?s.maximumFractionDigits=n.length:o&&i?(s.minimumFractionDigits=o.length,s.maximumFractionDigits=o.length+i.length):(s.minimumFractionDigits=t.length,s.maximumFractionDigits=t.length),""}),o.options.length&&(s=pt(pt({},s),Mt(o.options[0])))}else St.test(o.stem)?s=pt(pt({},s),Mt(o.stem)):((n=Lt(o.stem))&&(s=pt(pt({},s),n)),(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)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem))&&(s=pt(pt({},s),n)))}return s}var Rt=new RegExp("^"+Tt.source+"*"),Bt=new RegExp(Tt.source+"*$");function Ut(e,t){return{start:e,end:t}}var Dt=!!String.prototype.startsWith,Me=!!String.fromCodePoint,Ve=!!Object.fromEntries,kt=!!String.prototype.codePointAt,Vt=!!String.prototype.trimStart,Gt=!!String.prototype.trimEnd,jt=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Tt=!0;try{Tt="a"===(null===(Ct=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ct?void 0:Ct[0])}catch(h){Tt=!1}var $t,Wt,zt=Dt?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Xt=Me?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;i<o;){if(1114111<(r=e[i++]))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},Zt=Ve?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],o=o[1];t[i]=o}return t},Ht=kt?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,o=e.charCodeAt(t);return o<55296||56319<o||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?o:n-56320+(o-55296<<10)+65536}},Yt=Vt?function(e){return e.trimStart()}:function(e){return e.replace(Rt,"")},qt=Gt?function(e){return e.trimEnd()}:function(e){return e.replace(Bt,"")};function Kt(e,t){return new RegExp(e,t)}Wt=Tt?($t=Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return $t.lastIndex=t,null!==(e=$t.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var o=Ht(e,t);if(void 0===o||tr(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 Xt.apply(void 0,n)};var Qt=(Jt.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Jt.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var o,i=this.char();if(123===i){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&0<e)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(ct.UNMATCHED_CLOSING_TAG,Ut(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&er(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{i=this.clonePosition();this.bump(),n.push({type:ut.pound,location:Ut(i,this.clonePosition())})}}}return{val:n,err:null}},Jt.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:ut.literal,value:"<"+n+"/>",location:Ut(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;e=o.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!er(this.char()))return this.error(ct.INVALID_TAG,Ut(t,this.clonePosition()));o=this.clonePosition();return n!==this.parseTagName()?this.error(ct.UNMATCHED_CLOSING_TAG,Ut(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ut.tag,value:n,children:e,location:Ut(r,this.clonePosition())},err:null}:this.error(ct.INVALID_TAG,Ut(t,this.clonePosition())))}return this.error(ct.UNCLOSED_TAG,Ut(r,this.clonePosition()))}return this.error(ct.INVALID_TAG,Ut(r,this.clonePosition()))},Jt.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())},Jt.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=Ut(r,this.clonePosition());return{val:{type:ut.literal,value:n,location:r},err:null}},Jt.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(er(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Jt.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 Xt.apply(void 0,t)},Jt.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(),Xt(r))},Jt.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(ct.EMPTY_ARGUMENT,Ut(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ct.MALFORMED_ARGUMENT,Ut(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:ut.argument,value:n,location:Ut(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(ct.MALFORMED_ARGUMENT,Ut(r,this.clonePosition()))}},Jt.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Wt(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:Ut(e,this.clonePosition())}},Jt.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(ct.EXPECT_ARGUMENT_TYPE,Ut(i,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((p=this.parseSimpleArgStyleIfPossible()).err)return p;if(0===(h=qt(p.val)).length)return this.error(ct.EXPECT_ARGUMENT_STYLE,Ut(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:Ut(c,this.clonePosition())}}if((d=this.tryParseArgumentClose(n)).err)return d;var u=Ut(n,this.clonePosition());if(l&&zt(null==l?void 0:l.style,"::",0)){c=Yt(l.style.slice(2));if("number"===s)return(p=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?p:{val:{type:ut.number,value:r,location:u,style:p.val},err:null};if(0===c.length)return this.error(ct.EXPECT_DATE_TIME_SKELETON,u);var h={type:ht.dateTime,pattern:c,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(o={},c.replace(_t,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"===s?ut.date:ut.time,value:r,location:u,style:h},err:null}}return{val:{type:"number"===s?ut.number:"date"===s?ut.date:ut.time,value:r,location:u,style:null!==(u=null==l?void 0:l.style)&&void 0!==u?u:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ct.EXPECT_SELECT_ARGUMENT_OPTIONS,Ut(l,pt({},l)));this.bumpSpace();var p,u=this.parseIdentifierIfPossible(),l=0;if("select"!==s&&"offset"===u.value){if(!this.bumpIf(":"))return this.error(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ut(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(p=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return p;this.bumpSpace(),u=this.parseIdentifierIfPossible(),l=p.val}u=this.tryParsePluralOrSelectOptions(e,s,t,u);if(u.err)return u;if((d=this.tryParseArgumentClose(n)).err)return d;var d=Ut(n,this.clonePosition());return"select"===s?{val:{type:ut.select,value:r,options:Zt(u.val),location:d},err:null}:{val:{type:ut.plural,value:r,options:Zt(u.val),offset:l,pluralType:"plural"===s?"cardinal":"ordinal",location:d},err:null};default:return this.error(ct.INVALID_ARGUMENT_TYPE,Ut(i,a))}},Jt.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(ct.EXPECT_ARGUMENT_CLOSING_BRACE,Ut(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Jt.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(ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ut(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}},Jt.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(xt).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 i=o[0],o=o.slice(1),s=0,a=o;s<a.length;s++)if(0===a[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:o})}return t}(e)}catch(e){return this.error(ct.INVALID_NUMBER_SKELETON,t)}return{val:{type:ht.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Ft(r):{}},err:null}},Jt.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var o=!1,i=[],s=new Set,a=n.value,l=n.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,ct.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=Ut(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(s.has(a))return this.error("select"===t?ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(o=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ut(this.clonePosition(),this.clonePosition()));u=this.parseMessage(e+1,t,r);if(u.err)return u;c=this.tryParseArgumentClose(h);if(c.err)return c;i.push([a,{value:u.val,location:Ut(h,this.clonePosition())}]),s.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===i.length?this.error("select"===t?ct.EXPECT_SELECT_ARGUMENT_SELECTOR:ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ut(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ct.MISSING_OTHER_CLAUSE,Ut(this.clonePosition(),this.clonePosition())):{val:i,err:null}},Jt.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var s=this.char();if(!(48<=s&&s<=57))break;o=!0,i=10*i+(s-48),this.bump()}n=Ut(n,this.clonePosition());return o?jt(i*=r)?{val:i,err:null}:this.error(t,n):this.error(e,n)},Jt.prototype.offset=function(){return this.position.offset},Jt.prototype.isEOF=function(){return this.offset()===this.message.length},Jt.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Jt.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ht(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Jt.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Jt.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))},Jt.prototype.bumpIf=function(e){if(zt(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Jt.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Jt.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Jt.prototype.bumpSpace=function(){for(;!this.isEOF()&&tr(this.char());)this.bump()},Jt.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Jt);function Jt(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function er(e){return 97<=e&&e<=122||65<=e&&e<=90}function tr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function rr(e,t){t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Qt(e,t).parse();if(r.err){e=SyntaxError(ct[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,wt(e)||bt(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else gt(e)&&vt(e.style)||(mt(e)||yt(e))&&Et(e.style)?delete e.style.location:Pt(e)&&r(e.children)})}(r.val),r.val}function nr(e,t){var r=t&&t.cache?t.cache:ur,n=t&&t.serializer?t.serializer:ar;return(t&&t.strategy?t.strategy:function(e,t){return sr(e,this,1===e.length?or:ir,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function or(e,t,r,n){var o=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(o);return void 0===r&&(r=e.call(this,n),t.set(o,r)),r}function ir(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),r=t.get(o);return void 0===r&&(r=e.apply(this,n),t.set(o,r)),r}function sr(e,t,r,n,o){return r.bind(t,e,n,o)}var ar=function(){return JSON.stringify(arguments)};function lr(){this.cache=Object.create(null)}lr.prototype.has=function(e){return e in this.cache},lr.prototype.get=function(e){return this.cache[e]},lr.prototype.set=function(e,t){this.cache[e]=t};var cr,ur={create:function(){return new lr}},hr={variadic:function(e,t){return sr(e,this,ir,t.cache.create(),t.serializer)},monadic:function(e,t){return sr(e,this,or,t.cache.create(),t.serializer)}};(Tt=cr=cr||{}).MISSING_VALUE="MISSING_VALUE",Tt.INVALID_VALUE="INVALID_VALUE",Tt.MISSING_INTL_API="MISSING_INTL_API";var pr,dr,fr,gr,mr,yr=(lt(_r,mr=Error),_r.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},_r),wr=(lt(Tr,gr=yr),Tr),br=(lt(Er,fr=yr),Er),Pr=(lt(vr,dr=yr),vr);function vr(e,t){return dr.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',cr.MISSING_VALUE,t)||this}function Er(e,t,r){return fr.call(this,'Value for "'+e+'" must be of type '+t,cr.INVALID_VALUE,r)||this}function Tr(e,t,r,n){return gr.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',cr.INVALID_VALUE,n)||this}function _r(e,t,r){e=mr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Cr(e,t,r,n,o,i,s){if(1===e.length&&ft(e[0]))return[{type:pr.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(ft(u))a.push({type:pr.literal,value:u.value});else if(u.type===ut.pound)"number"==typeof i&&a.push({type:pr.literal,value:r.getNumberFormat(t).format(i)});else{var h=u.value;if(!(o&&h in o))throw new Pr(h,s);var p=o[h];if(u.type===ut.argument)p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?pr.literal:pr.object,value:p});else if(mt(u)){var d="string"==typeof u.style?n.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)})}else if(yt(u))d="string"==typeof u.style?n.time[u.style]:Et(u.style)?u.style.parsedOptions:void 0,a.push({type:pr.literal,value:r.getDateTimeFormat(t,d).format(p)});else if(gt(u))(d="string"==typeof u.style?n.number[u.style]:vt(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(p*=d.scale||1),a.push({type:pr.literal,value:r.getNumberFormat(t,d).format(p)});else{if(Pt(u)){var f=u.children,g=u.value,h=o[g];if("function"!=typeof h)throw new br(g,"function",s);f=h(Cr(f,t,r,n,o,i).map(function(e){return e.value}));Array.isArray(f)||(f=[f]),a.push.apply(a,f.map(function(e){return{type:"string"==typeof e?pr.literal:pr.object,value:e}}))}if(wt(u)){if(!(m=u.options[p]||u.options.other))throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o))}else if(bt(u)){if(!(m=u.options["="+p])){if(!Intl.PluralRules)throw new yr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',cr.MISSING_INTL_API,s);var f=r.getPluralRules(t,{type:u.pluralType}).select(p-(u.offset||0)),m=u.options[f]||u.options.other}if(!m)throw new wr(u.value,p,Object.keys(u.options),s);a.push.apply(a,Cr(m.value,t,r,n,o,p-(u.offset||0)))}}}}return a.length<2?a:a.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===pr.literal&&t.type===pr.literal?r.value+=t.value:e.push(t),e},[])}function xr(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(Tt=pr=pr||{})[Tt.literal=0]="literal",Tt[Tt.object=1]="object";var Ar=(Object.defineProperty(Sr,"defaultLocale",{get:function(){return Sr.memoizedDefaultLocale||(Sr.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),Sr.memoizedDefaultLocale},enumerable:!1,configurable:!0}),Sr.memoizedDefaultLocale=null,Sr.__parse=rr,Sr.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"}}},Sr);function Sr(e,t,r,n){var o,i,s=this;if(void 0===t&&(t=Sr.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=s.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===pr.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 Cr(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof e){if(this.message=e,!Sr.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=Sr.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}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=Sr.formats,(i=r)?Object.keys(o).reduce(function(e,t){var r,n;return e[t]=(r=o[t],(n=i[t])?pt(pt(pt({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=pt(pt({},r[t]),n[t]||{}),e},{})):r),e},pt({},o)):o),this.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,dt([void 0],t)))},{cache:xr((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:hr.variadic}),getDateTimeFormat:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,dt([void 0],t)))},{cache:xr(n.dateTime),strategy:hr.variadic}),getPluralRules:nr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,dt([void 0],t)))},{cache:xr(n.pluralRules),strategy:hr.variadic})}}const Ir={},Or=(t,r)=>{if(null!=r){if(r in Ir&&t in Ir[r])return Ir[r][t];var n,o,i=Xr(r);for(let e=0;e<i.length;e++){var s=(n=i[e],o=t,Nr(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return Mr[e]||null}(n),o):null);if(s)return n=t,o=r,(s=s)&&(o in Ir||(Ir[o]={}),n in Ir[o]||(Ir[o][n]=s),s)}}};let Mr;const Lr=qe({});function Nr(e){return e in Mr}function Fr(t,...r){delete Ir[t],Lr.update(e=>(e[t]=st.all([e[t]||{},...r]),e))}Ke([Lr],([e])=>Object.keys(e)),Lr.subscribe(e=>Mr=e);const Rr={};function Br(e){return Rr[e]}function Ur(e){return Xr(e).some(e=>{return null===(e=Br(e))||void 0===e?void 0:e.size})}const Dr={};function kr(e){if(!Ur(e))return e in Dr?Dr[e]:void 0;const t=Xr(e).map(e=>{var t=Br(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Dr[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){Rr[e].delete(t),0===Rr[e].size&&delete Rr[e]}(t,e),e().then(e=>e.default||e)))).then(e=>Fr(t,...e))}(e))).then(()=>Ur(e)?kr(e):void delete Dr[e]),Dr[e]}function Vr(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 Gr={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const jr=qe(!1);let $r;const Wr=qe(null);function zr(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Xr(e,t=Gr.fallbackLocale){e=zr(e);return t?[...new Set([...e,...zr(t)])]:e}Wr.subscribe(e=>{$r=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Zr=Wr.set;Wr.set=t=>{if(function(e){if(null!=e){var t=Xr(e);for(let e=0;e<t.length;e++){var r=t[e];if(Nr(r))return r}}}(t)&&Ur(t)){var{loadingDelay:r}=Gr;let e;return"undefined"!=typeof window&&null!=$r&&r?e=window.setTimeout(()=>jr.set(!0),r):jr.set(!0),kr(t).then(()=>{Zr(t)}).finally(()=>{clearTimeout(e),jr.set(!1)})}return Zr(t)},Wr.update=e=>Zr(e($r));const Hr=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Yr=(e,t)=>{var{formats:r}=Gr;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Yr("number",r)),new Intl.NumberFormat(t,e)}),Kr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Yr("date",r):0===Object.keys(e).length&&(e=Yr("date","short")),new Intl.DateTimeFormat(t,e)}),Qr=Hr(e=>{var{locale:t,format:r}=e,e=Vr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Yr("time",r):0===Object.keys(e).length&&(e=Yr("time","short")),new Intl.DateTimeFormat(t,e)}),Jr=Hr((e,t=$r)=>new Ar(e,t,Gr.formats,{ignoreTag:Gr.ignoreTag})),en=Ke([Wr,Lr],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=$r,default:o}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let i=Or(e,n);if(i){if("string"!=typeof i)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof i}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),i}else Gr.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Xr(n).join('", "')}".${Ur($r)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),i=o||e;if(!r)return i;let s=i;try{s=Jr(i,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return s});Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return Qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return Kr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr],()=>(e,t)=>((e={})=>{var{locale:t=$r}=e,e=Vr(e,["locale"]);return qr(Object.assign({locale:t},e))})(t).format(e)),Ke([Wr,Lr],()=>(e,t=$r)=>Or(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==Ze.indexOf(e)&&(t=new $e(t),He[e]=t,Ze.push(e)),He[e]}};const tn={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",returnToMenu:"Return to menu",changePasswordText:"Change Password",passwordReset:"PASSWORD RESET",passwordResetConfirmation:"Your password has been reset successfully.",backButtonText:"Back to Casino"}},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",returnToMenu:"Înapoi la meniu",changePasswordText:"Schimbă parola",passwordReset:"Resetează parola",passwordResetConfirmation:"Parola a fost resetată cu succes.",backButtonText:"Înapoi la Cazino"}}};function rn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T=r[17]("changePassword.changePasswordText")+"",_=r[17]("changePassword.passwordReset")+"",C=r[17]("changePassword.passwordResetConfirmation")+"",x=r[17]("changePassword.backButtonText")+"",A=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p=r[17]("changePassword.returnToMenu")+"";return{c(){n=t("div"),o=e("svg"),i=e("g"),s=e("path"),a=Pe(),l=t("span"),c=be(p),Ee(s,"id","Chevron_Right"),Ee(s,"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,i),me(i,s),me(n,a),me(n,l),me(l,c),u||(h=ve(n,"click",r[40]),u=!0)},p(e,t){131072&t[0]&&p!==(p=e[17]("changePassword.returnToMenu")+"")&&Te(c,p)},d(e){e&&we(n),u=!1,h()}}}(r);return{c(){A&&A.c(),n=Pe(),o=t("div"),i=t("h3"),s=be(T),a=Pe(),l=t("div"),c=t("div"),u=t("div"),u.innerHTML='<div class="Checkmark" part="Checkmark"></div>',h=Pe(),p=t("div"),d=t("h3"),f=be(_),g=Pe(),m=t("p"),y=be(C),w=Pe(),b=t("div"),P=be(x),Ee(o,"class","PlayerChangePasswordHeader"),Ee(o,"part","PlayerChangePasswordHeader"),Ee(u,"class","IconContainer"),Ee(u,"part","IconContainer"),Ee(p,"class","TextContainer"),Ee(p,"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,i),me(i,s),ye(e,a,t),ye(e,l,t),me(l,c),me(c,u),me(c,h),me(c,p),me(p,d),me(d,f),me(p,g),me(p,m),me(m,y),me(l,w),me(l,b),me(b,P),v||(E=ve(b,"click",r[41]),v=!0)},p(e,t){e[18]&&A.p(e,t),131072&t[0]&&T!==(T=e[17]("changePassword.changePasswordText")+"")&&Te(s,T),131072&t[0]&&_!==(_=e[17]("changePassword.passwordReset")+"")&&Te(f,_),131072&t[0]&&C!==(C=e[17]("changePassword.passwordResetConfirmation")+"")&&Te(y,C),131072&t[0]&&x!==(x=e[17]("changePassword.backButtonText")+"")&&Te(P,x)},d(e){A&&A.d(e),e&&we(n),e&&we(o),e&&we(a),e&&we(l),v=!1,E()}}}function nn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b,P,v,E,T,_,C,x,A,S,I,O,M,L,N,F,R,B,U,D,k,V,G,j,$,W,z,X,Z=r[17]("changePassword.title")+"",H=r[17]("changePassword.currentPassword")+"",Y=r[17]("changePassword.newPassword")+"",q=r[17]("changePassword.confirmPassword")+"",K=r[17]("changePassword.submitChangePassword")+"",Q=r[18]&&function(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m=r[17]("changePassword.title")+"";return{c(){n=t("div"),o=e("svg"),i=e("defs"),s=e("style"),a=be(".aaa{fill:var(--emfe-w-color-primary, #D0046C);}"),l=e("g"),c=e("g"),u=e("path"),h=Pe(),p=t("h2"),d=be(m),Ee(u,"class","aaa"),Ee(u,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),Ee(u,"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(p,"class","ChangePasswordTitleMobile"),Ee(p,"part","ChangePasswordTitleMobile"),Ee(n,"class","MenuReturnButton"),Ee(n,"part","MenuReturnButton")},m(e,t){ye(e,n,t),me(n,o),me(o,i),me(i,s),me(s,a),me(o,l),me(l,c),me(c,u),me(n,h),me(n,p),me(p,d),f||(g=ve(n,"click",r[26]),f=!0)},p(e,t){131072&t[0]&&m!==(m=e[17]("changePassword.title")+"")&&Te(d,m)},d(e){e&&we(n),f=!1,g()}}}(r);function J(e){return e[8]?sn:on}let ee=J(r),te=ee(r),re=r[2]&&an(r);function ne(e){return e[9]?cn:ln}let oe=ne(r),ie=oe(r);function se(e){return e[11]?hn:e[3]?un:void 0}let ae=se(r),le=ae&&ae(r);function ce(e){return e[10]?dn:pn}let ue=ce(r),he=ue(r),pe=r[4]&&fn(r),de=r[16]&&gn(r);return{c(){Q&&Q.c(),n=Pe(),o=t("h2"),i=be(Z),s=Pe(),a=t("section"),l=t("div"),c=t("label"),u=be(H),h=Pe(),p=t("input"),d=Pe(),te.c(),f=Pe(),re&&re.c(),y=Pe(),w=t("div"),b=t("label"),P=be(Y),v=Pe(),E=t("input"),T=Pe(),ie.c(),_=Pe(),le&&le.c(),A=Pe(),S=t("div"),I=t("label"),O=be(q),M=Pe(),L=t("input"),N=Pe(),he.c(),F=Pe(),pe&&pe.c(),U=Pe(),de&&de.c(),D=Pe(),k=t("section"),V=t("div"),G=be(K),Ee(o,"class","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),Ee(o,"part","ChangePasswordTitle "+(r[18]?"ChangePasswordTitleNone":"")),Ee(c,"for","CurrentPassword"),Ee(p,"id","CurrentPassword"),Ee(p,"type","password"),Ee(l,"class",g="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),Ee(l,"part",m="PlayerChangePasswordBox "+(r[2]?"InvalidField":"")),Ee(b,"for","NewPassword"),Ee(E,"id","NewPassword"),Ee(E,"type","password"),Ee(w,"class",C="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),Ee(w,"part",x="PlayerChangePasswordBox "+(r[3]?"InvalidField":"")),Ee(I,"for","ConfirmPassword"),Ee(L,"id","ConfirmPassword"),Ee(L,"type","password"),Ee(S,"class",R="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(S,"part",B="PlayerChangePasswordBox "+(r[4]?"InvalidField":"")),Ee(a,"class","PlayerChangePasswordContent"),Ee(a,"part","PlayerChangePasswordContent"),Ee(V,"class",j="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),Ee(V,"part",$="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive")),Ee(V,"disabled",W=!r[1]),Ee(k,"class","PlayerChangePasswordButtonsArea"),Ee(k,"part","PlayerChangePasswordButtonsArea")},m(e,t){Q&&Q.m(e,t),ye(e,n,t),ye(e,o,t),me(o,i),ye(e,s,t),ye(e,a,t),me(a,l),me(l,c),me(c,u),me(l,h),me(l,p),_e(p,r[12]),r[28](p),me(l,d),te.m(l,null),me(l,f),re&&re.m(l,null),me(a,y),me(a,w),me(w,b),me(b,P),me(w,v),me(w,E),_e(E,r[13]),r[32](E),me(w,T),ie.m(w,null),me(w,_),le&&le.m(w,null),me(a,A),me(a,S),me(S,I),me(I,O),me(S,M),me(S,L),_e(L,r[14]),r[36](L),me(S,N),he.m(S,null),me(S,F),pe&&pe.m(S,null),ye(e,U,t),de&&de.m(e,t),ye(e,D,t),ye(e,k,t),me(k,V),me(V,G),z||(X=[ve(p,"input",r[27]),ve(p,"blur",function(){ge(r[21](r[2],r[12],r[5]))&&r[21](r[2],r[12],r[5]).apply(this,arguments)}),ve(E,"input",r[31]),ve(E,"blur",function(){ge(r[21](r[3],r[13],r[6]))&&r[21](r[3],r[13],r[6]).apply(this,arguments)}),ve(L,"input",r[35]),ve(L,"blur",function(){ge(r[21](r[4],r[14],r[7]))&&r[21](r[4],r[14],r[7]).apply(this,arguments)}),ve(V,"click",r[39])],z=!0)},p(e,t){(r=e)[18]&&Q.p(r,t),131072&t[0]&&Z!==(Z=r[17]("changePassword.title")+"")&&Te(i,Z),131072&t[0]&&H!==(H=r[17]("changePassword.currentPassword")+"")&&Te(u,H),4096&t[0]&&p.value!==r[12]&&_e(p,r[12]),ee===(ee=J(r))&&te?te.p(r,t):(te.d(1),te=ee(r),te&&(te.c(),te.m(l,f))),r[2]?re?re.p(r,t):(re=an(r),re.c(),re.m(l,null)):re&&(re.d(1),re=null),4&t[0]&&g!==(g="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&Ee(l,"class",g),4&t[0]&&m!==(m="PlayerChangePasswordBox "+(r[2]?"InvalidField":""))&&Ee(l,"part",m),131072&t[0]&&Y!==(Y=r[17]("changePassword.newPassword")+"")&&Te(P,Y),8192&t[0]&&E.value!==r[13]&&_e(E,r[13]),oe===(oe=ne(r))&&ie?ie.p(r,t):(ie.d(1),ie=oe(r),ie&&(ie.c(),ie.m(w,_))),ae===(ae=se(r))&&le?le.p(r,t):(le&&le.d(1),le=ae&&ae(r),le&&(le.c(),le.m(w,null))),8&t[0]&&C!==(C="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&Ee(w,"class",C),8&t[0]&&x!==(x="PlayerChangePasswordBox "+(r[3]?"InvalidField":""))&&Ee(w,"part",x),131072&t[0]&&q!==(q=r[17]("changePassword.confirmPassword")+"")&&Te(O,q),16384&t[0]&&L.value!==r[14]&&_e(L,r[14]),ue===(ue=ce(r))&&he?he.p(r,t):(he.d(1),he=ue(r),he&&(he.c(),he.m(S,F))),r[4]?pe?pe.p(r,t):(pe=fn(r),pe.c(),pe.m(S,null)):pe&&(pe.d(1),pe=null),16&t[0]&&R!==(R="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(S,"class",R),16&t[0]&&B!==(B="PlayerChangePasswordBox "+(r[4]?"InvalidField":""))&&Ee(S,"part",B),r[16]?de?de.p(r,t):(de=gn(r),de.c(),de.m(D.parentNode,D)):de&&(de.d(1),de=null),131072&t[0]&&K!==(K=r[17]("changePassword.submitChangePassword")+"")&&Te(G,K),2&t[0]&&j!==(j="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&Ee(V,"class",j),2&t[0]&&$!==($="PlayerChangePasswordSaveButton "+(r[1]?"":"ButtonInactive"))&&Ee(V,"part",$),2&t[0]&&W!==(W=!r[1])&&Ee(V,"disabled",W)},d(e){Q&&Q.d(e),e&&we(n),e&&we(o),e&&we(s),e&&we(a),r[28](null),te.d(),re&&re.d(),r[32](null),ie.d(),le&&le.d(),r[36](null),he.d(),pe&&pe.d(),e&&we(U),de&&de.d(e),e&&we(D),e&&we(k),z=!1,fe(X)}}}function on(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[30]),p=!0)},p(e,t){4&t[0]&&u!==(u="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),4&t[0]&&h!==(h="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function sn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[2]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[29]),w=!0)},p(e,t){4&t[0]&&m!==(m="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),4&t[0]&&y!==(y="TogglePasswordVisibility "+(e[2]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function an(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidCurrentPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function ln(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[34]),p=!0)},p(e,t){8&t[0]&&u!==(u="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),8&t[0]&&h!==(h="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function cn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[3]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[33]),w=!0)},p(e,t){8&t[0]&&m!==(m="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),8&t[0]&&y!==(y="TogglePasswordVisibility "+(e[3]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function un(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPasswordSecondary")+"")&&Te(n,o)},d(e){e&&we(r)}}}function hn(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.invalidNewPassword")+"")&&Te(n,o)},d(e){e&&we(r)}}}function pn(r){let n,o,i,s,a,l,c,u,h,p,d;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=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(a,"transform","translate(-14.185 -27.832)"),Ee(n,"class",u="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",h="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),p||(d=ve(n,"click",r[38]),p=!0)},p(e,t){16&t[0]&&u!==(u="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",u),16&t[0]&&h!==(h="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",h)},d(e){e&&we(n),p=!1,d()}}}function dn(r){let n,o,i,s,a,l,c,u,h,p,d,f,g,m,y,w,b;return{c(){n=e("svg"),o=e("defs"),i=e("style"),s=be(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=e("g"),l=e("circle"),c=e("g"),u=e("path"),h=e("path"),p=e("g"),d=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(u,"class","a"),Ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Ee(u,"transform","translate(-142.164 -39.123)"),Ee(h,"class","a"),Ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Ee(h,"transform","translate(-136.413 -42.068)"),Ee(c,"transform","translate(117.499 27.37)"),Ee(d,"class","a"),Ee(d,"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(d,"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(p,"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(a,"transform","translate(-110.856 -23.242)"),Ee(n,"class",m="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"TogglePasswordVisibilityMobile":"")),Ee(n,"part",y="TogglePasswordVisibility "+(r[4]?"InvalidToggle":"")+" "+(r[18]?"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,i),me(i,s),me(n,a),me(a,l),me(a,c),me(c,u),me(c,h),me(a,p),me(p,d),me(p,f),me(a,g),w||(b=ve(n,"click",r[37]),w=!0)},p(e,t){16&t[0]&&m!==(m="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"class",m),16&t[0]&&y!==(y="TogglePasswordVisibility "+(e[4]?"InvalidToggle":"")+" "+(e[18]?"TogglePasswordVisibilityMobile":""))&&Ee(n,"part",y)},d(e){e&&we(n),w=!1,b()}}}function fn(e){let r,n,o=e[17]("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){131072&t[0]&&o!==(o=e[17]("changePassword.confirmPasswordInvalid")+"")&&Te(n,o)},d(e){e&&we(r)}}}function gn(e){let r,n,o;return{c(){r=t("div"),n=t("p"),o=be(e[15]),Ee(n,"class","PasswordChangedError"),Ee(n,"part","PasswordChangedError")},m(e,t){ye(e,r,t),me(r,n),me(n,o)},p(e,t){32768&t[0]&&Te(o,e[15])},d(e){e&&we(r)}}}function mn(e){let r,n=function(e){let r;function n(e){return e[0]?rn:nn}let o=n(e),i=o(e);return{c(){r=t("form"),i.c(),Ee(r,"class","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":"")),Ee(r,"part","PlayerChangePasswordWrapper "+(e[18]?"PlayerChangePasswordWrapperMobile":"")+" "+(e[19].matches&&e[18]?"PlayerChangePasswordWrapperTablet":""))},m(e,t){ye(e,r,t),i.m(r,null)},p(e,t){o===(o=n(e))&&i?i.p(e,t):(i.d(1),i=o(e),i&&(i.c(),i.m(r,null)))},d(e){e&&we(r),i.d()}}}(e);return{c(){n.c(),r=be(""),this.c=h},m(e,t){n.m(e,t),ye(e,r,t)},p(e,t){n.p(e,t)},i:h,o:h,d(e){n.d(e),e&&we(r)}}}function yn(t,e,n){let r;var o=en;t.$$.on_destroy.push(L(o,e=>n(17,r=e)));let{lang:i="en"}=e,s="PC"!=((e=window.navigator.userAgent).toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"),a=!1;const l=window.matchMedia("(min-width: 768px)"),c={password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/};let u,h,p,d=!1,f=!1,g=!1,m=!1,y=!1,w=!1,b=!1,P="",v="",E="",T=!1,_="",C=!1;Object.keys(tn).forEach(e=>{Fr(e,tn[e])});const x=e=>{switch(e){case"userCurrentPassword":n(8,m=!m),n(5,u.type=m?"text":"password",u);break;case"userNewPassword":n(9,y=!y),n(6,h.type=y?"text":"password",h);break;case"userConfirmPassword":n(10,w=!w),n(7,p.type=w?"text":"password",p)}},A=e=>!!c.password.test(e),S=()=>{a&&window.postMessage({type:"ChangePassword",userCurrentPassword:P,userNewPassword:v},window.location.href)},I=()=>{window.postMessage({type:"ReturnToMenu"},window.location.href)},O=()=>{window.postMessage({type:"GoToCasino"},window.location.href)},M=e=>{if(e.data)switch(e.data.type){case"PasswordChangedSuccessfully":n(0,T=!0);break;case"ShowPasswordChangedError":n(16,C=e.data.showErrorPasswordChanged),n(15,_=e.data.errorPasswordChanged)}};return e=()=>(window.addEventListener("message",M,!1),()=>{window.removeEventListener("message",M)}),function(){if(!N)throw new Error("Function called outside component initialization");return N}().$$.on_mount.push(e),t.$$set=e=>{"lang"in e&&n(25,i=e.lang)},t.$$.update=()=>{var e;33554432&t.$$.dirty[0]&&i&&(e=i,Wr.set(e)),t.$$.dirty[0]},[T,a,d,f,g,u,h,p,m,y,w,b,P,v,E,_,C,r,s,l,x,(e,t,r)=>{"CurrentPassword"===r.id?n(2,d=!A(t)):"NewPassword"===r.id?(n(3,f=!A(t)),P&&n(11,b=P===v),E&&n(4,g=v!==E||!A(t))):n(4,g=v!==E||!A(t)),n(1,a=!(d||f||g||b||!P||!v||!E))},S,I,O,i,()=>I(),function(){P=this.value,n(12,P)},function(e){F[e?"unshift":"push"](()=>{u=e,n(5,u)})},()=>x("userCurrentPassword"),()=>x("userCurrentPassword"),function(){v=this.value,n(13,v)},function(e){F[e?"unshift":"push"](()=>{h=e,n(6,h)})},()=>x("userNewPassword"),()=>x("userNewPassword"),function(){E=this.value,n(14,E)},function(e){F[e?"unshift":"push"](()=>{p=e,n(7,p)})},()=>x("userConfirmPassword"),()=>x("userConfirmPassword"),()=>S(),()=>I(),()=>O()]}class wn extends l{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:19.2px;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;height:100%}.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>",a(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},yn,mn,r,{lang:25},[-1,-1]),e&&(e.target&&ye(e.target,this,e.anchor),e.props&&(this.$set(e.props),b()))}static get observedAttributes(){return["lang"]}get lang(){return this.$$.ctx[25]}set lang(e){this.$set({lang:e}),b()}}return customElements.get("player-change-password")||customElements.define("player-change-password",wn),wn});
|
|
2
2
|
//# sourceMappingURL=player-change-password.js.map
|