@everymatrix/general-player-forgot-password-form 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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 g(){}function B(e){return e()}function A(){return Object.create(null)}function X(e){e.forEach(B)}function re(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let H,M;function C(e,t){return(H=H||document.createElement("a")).href=t,e===H.href}function k(e,...t){if(null==e)return g;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Z(e,t){e.appendChild(t)}function K(e,t,r){e.insertBefore(t,r||null)}function q(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Y(e){return document.createTextNode(e)}function W(){return Y(" ")}function N(){return Y("")}function J(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function Q(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ee(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function te(e,t){e.value=null==t?"":t}function L(e,t,r,o){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,o?"important":"")}function F(e){M=e}const I=[],U=[],O=[],x=[],R=Promise.resolve();let D=!1;function j(e){O.push(e)}const $=new Set;let V=0;function w(){const e=M;do{for(;V<I.length;){const e=I[V];V++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),X(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(j))}for(F(null),I.length=0,V=0;U.length;)U.pop()();for(let e=0;e<O.length;e+=1){const o=O[e];$.has(o)||($.add(o),o())}}while(O.length=0,I.length);for(;x.length;)x.pop()();D=!1,$.clear(),F(e)}const z=new Set;function oe(o,e,t,r,s,n,i,a=[-1]){var l=M;F(o);const c=o.$$={fragment:null,ctx:null,props:n,update:g,not_equal:s,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&s(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=o).$$.dirty[0]&&(I.push(e),D||(D=!0,R.then(w)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){n=e.target;const g=Array.from(n.childNodes);c.fragment&&c.fragment.l(g),g.forEach(q)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(z.delete(a),a.i(void 0));{var h=o;i=e.target;t=e.anchor;r=e.customElement;const{fragment:f,on_mount:p,on_destroy:d,after_update:m}=h.$$;f&&f.m(i,t),r||j(()=>{var e=p.map(B).filter(re);d?d.push(...e):X(e),h.$$.on_mount=[]}),m.forEach(j)}w()}F(l)}let se;"function"==typeof HTMLElement&&(se=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(B).filter(re);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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 ne,ie,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,ae="URLSearchParams"in a,le="Symbol"in a&&"iterator"in Symbol,ce="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),ue="FormData"in a,he="ArrayBuffer"in a;function fe(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 pe(e){return e="string"!=typeof e?String(e):e}function de(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return le&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function we(e){var t=new FileReader,r=ge(t);return t.readAsArrayBuffer(e),r}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ue&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():he&&ce&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):he&&(ArrayBuffer.prototype.isPrototypeOf(e)||ie(e))?this._bodyArrayBuffer=ye(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):ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ce&&(this.blob=function(){var e=me(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?me(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(we)}),this.text=function(){var e,t,r=me(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ge(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ue&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}he&&(ne=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ie=ArrayBuffer.isView||function(e){return e&&-1<ne.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=fe(e),t=pe(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[fe(e)]},l.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},l.prototype.set=function(e,t){this.map[fe(e)]=pe(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),de(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),de(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),de(r)},le&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ve(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},be.call(c.prototype),be.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Pe=[301,302,303,307,308],h=(u.redirect=function(e,t){if(-1===Pe.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},a.DOMException);try{new h}catch(g){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function Te(o,i){return new Promise(function(s,e){var t=new c(o,i);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var n=new XMLHttpRequest;function r(){n.abort()}n.onload=function(){var e,r,t={status:n.status,statusText:n.statusText,headers:(e=n.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},o=(t.url="responseURL"in n?n.responseURL:t.headers.get("X-Request-URL"),"response"in n?n.response:n.responseText);setTimeout(function(){s(new u(o,t))},0)},n.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},n.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},n.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?n.withCredentials=!0:"omit"===t.credentials&&(n.withCredentials=!1),"responseType"in n&&(ce?n.responseType="blob":he&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(n.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof l?t.headers.forEach(function(e,t){n.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){n.setRequestHeader(e,pe(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),n.onreadystatechange=function(){4===n.readyState&&t.signal.removeEventListener("abort",r)}),n.send(void 0===t._bodyInit?null:t._bodyInit)})}Te.polyfill=!0,a.fetch||(a.fetch=Te,a.Headers=l,a.Request=c,a.Response=u),self.fetch.bind(self);var _e=function(e,t){return(_e=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 Be(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}_e(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Ae(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Se(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,s,n=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(o=n.next()).done;)i.push(o.value)}catch(e){s={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function He(e,t,r){if(r||2===arguments.length)for(var o,s=0,n=t.length;s<n;s++)!o&&s in t||((o=o||Array.prototype.slice.call(t,0,s))[s]=t[s]);return e.concat(o||Array.prototype.slice.call(t))}function f(e){return"function"==typeof e}function Ce(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ne=Ce(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 Le(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,s;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var i=Ae(n),a=i.next();!a.done;a=i.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else n.remove(this);n=this.initialTeardown;if(f(n))try{n()}catch(e){s=e instanceof Ne?e.errors:[e]}n=this._finalizers;if(n){this._finalizers=null;try{for(var l=Ae(n),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){s=null!=s?s:[],e instanceof Ne?s=He(He([],Se(s)),Se(e.errors)):s.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(s)throw new Ne(s)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Le(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Le(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Fe=r,Ie=Fe.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Oe(e){return e instanceof Fe||e&&"closed"in e&&f(e.remove)&&f(e.add)&&f(e.unsubscribe)}function xe(e){f(e)?e():e.unsubscribe()}var Re=void 0,Me=!1,ke=!1,Ue={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var s=Ue.delegate;return null!=s&&s.setTimeout?s.setTimeout.apply(s,He([e,t],Se(r))):setTimeout.apply(void 0,He([e,t],Se(r)))},clearTimeout:function(e){var t=Ue.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function De(){}var Ge=null;function je(e){if(Me){var t=!Ge;if(t&&(Ge={errorThrown:!1,error:null}),e(),t){var t=Ge,r=t.errorThrown,t=t.error;if(Ge=null,r)throw t}}else e()}Be(e,$e=Fe),e.create=function(e,t,r){return new qe(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,$e.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var $e,Ve=e,ze=Function.prototype.bind;function e(e){var t=$e.call(this)||this;return t.isStopped=!1,e?Oe(t.destination=e)&&e.add(t):t.destination=Qe,t}function Xe(e,t){return ze.call(e,t)}We.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Je(e)}},We.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Je(e)}else Je(e)},We.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Je(e)}};var Ze,Ke=We,qe=(Be(Ye,Ze=Ve),Ye);function Ye(e,t,r){var o=Ze.call(this)||this,r=f(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&ke?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&Xe(e.next,t),error:e.error&&Xe(e.error,t),complete:e.complete&&Xe(e.complete,t)}):e;return o.destination=new Ke(r),o}function We(e){this.partialObserver=e}function Je(e){var t=e;Ue.setTimeout(function(){throw t})}var Qe={closed:!0,next:De,error:function(e){throw e},complete:De},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function et(e){return e}s.prototype.lift=function(e){var t=new s;return t.source=this,t.operator=e,t},s.prototype.subscribe=function(e,t,r){var o,s=this,n=(o=e)&&o instanceof Ve||o&&f(o.next)&&f(o.error)&&f(o.complete)&&Oe(o)?e:new qe(e,t,r);return je(function(){var e=s.operator,t=s.source;n.add(e?e.call(n,t):t?s._subscribe(n):s._trySubscribe(n))}),n},s.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},s.prototype.forEach=function(o,e){var s=this;return new(e=rt(e))(function(e,t){var r=new qe({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});s.subscribe(r)})},s.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},s.prototype[o]=function(){return this},s.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?et:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},s.prototype.toPromise=function(e){var o=this;return new(e=rt(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},s.create=function(e){return new s(e)};var tt=s;function s(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Re)?e:Promise}var ot,st,nt,it=Ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Be(i,nt=tt),i.prototype.lift=function(e){var t=new at(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new it},i.prototype.next=function(s){var n=this;je(function(){var t,e;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var r=Ae(n.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(s)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var r=this;je(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)}})},i.prototype.complete=function(){var t=this;je(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),nt.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,s=this.observers;return r||o?Ie:(this.currentObservers=null,s.push(e),new Fe(function(){t.currentObservers=null,Le(s,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},i.prototype.asObservable=function(){var e=new tt;return e.source=this,e},i.create=function(e,t){return new at(e,t)},i),at=(Be(n,st=o),n.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},n.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},n.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},n.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ie},n),lt={now:function(){return(lt.delegate||Date).now()},delegate:void 0},ct=(Be(ut,ot=o),ut.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,s=t._infiniteTimeWindow,n=t._timestampProvider,t=t._windowTime;r||(o.push(e),s||o.push(n.now()+t)),this._trimBuffer(),ot.prototype.next.call(this,e)},ut.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),s=0;s<o.length&&!e.closed;s+=r?1:2)e.next(o[s]);return this._checkFinalizedStatuses(e),t},ut.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,s=(o?1:2)*e;if(e<1/0&&s<r.length&&r.splice(0,r.length-s),!o){for(var n=t.now(),i=0,a=1;a<r.length&&r[a]<=n;a+=2)i=a;i&&r.splice(0,i+1)}},ut);function ut(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=lt);var o=ot.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function n(e,t){var r=st.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=nt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ht=[],ft={};const p=[];function pt(o,s=g){let n;const i=new Set;function a(e){if(S(o,e)&&(o=e,n)){const e=!p.length;for(const e of i)e[1](),p.push(e,o);if(e){for(let e=0;e<p.length;e+=2)p[e][0](p[e+1]);p.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=g){const r=[e,t];return i.add(r),1===i.size&&(n=s(a)||g),e(o),()=>{i.delete(r),0===i.size&&(n(),n=null)}}}}function dt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:pt(t,t=>{let r=!1;const o=[];let s=0,n=g;const i=()=>{var e;s||(n(),e=a(l?o[0]:o,t),u?t(e):n=re(e)?e:g)},e=c.map((e,t)=>k(e,e=>{o[t]=e,s&=~(1<<t),r&&i()},()=>{s|=1<<t}));return r=!0,i(),function(){X(e),n()}}).subscribe}}function mt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===gt));var t}var gt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function wt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pt(Array.isArray(e)?[]:{},e,t):e}function yt(e,t,r){return e.concat(t).map(function(e){return wt(e,r)})}function bt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Et(e,t){try{return t in e}catch(e){return!1}}function vt(o,s,n){var i={};return n.isMergeableObject(o)&&bt(o).forEach(function(e){i[e]=wt(o[e],n)}),bt(s).forEach(function(t){var e,r;(!Et(e=o,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(Et(o,t)&&n.isMergeableObject(s[t])?i[t]=function(e){if(!e.customMerge)return Pt;e=e.customMerge(t);return"function"==typeof e?e:Pt}(n)(o[t],s[t],n):i[t]=wt(s[t],n))}),i}function Pt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||yt,r.isMergeableObject=r.isMergeableObject||mt,r.cloneUnlessOtherwiseSpecified=wt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):vt(e,t,r):wt(t,r)}Pt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Pt(e,t,r)},{});throw new Error("first argument should be an array")};var Tt=Pt,_t=function(e,t){return(_t=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 Bt(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}_t(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,At,b=function(){return(b=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)};function St(e,t,r){if(r||2===arguments.length)for(var o,s=0,n=t.length;s<n;s++)!o&&s in t||((o=o||Array.prototype.slice.call(t,0,s))[s]=t[s]);return e.concat(o||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Ct(e){return e.type===y.number}function Nt(e){return e.type===y.date}function Lt(e){return e.type===y.time}function Ft(e){return e.type===y.select}function It(e){return e.type===y.plural}function Ot(e){return e.type===y.tag}function xt(e){return e&&"object"==typeof e&&e.type===At.number}function Rt(e){return e&&"object"==typeof e&&e.type===At.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=At=At||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[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 kt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Ut=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,Gt=/(\*)(0+)|(#+)(0+)|(0+)/g,jt=/^(0+)$/;function $t(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Dt,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Vt(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 zt(e){return Vt(e)||{}}function Xt(e){for(var i={},t=0,r=e;t<r.length;t++){var o,s=r[t];switch(s.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=s.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=s.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=b(b(b({},i),{notation:"scientific"}),s.options.reduce(function(e,t){return b(b({},e),zt(t))},{}));continue;case"engineering":i=b(b(b({},i),{notation:"engineering"}),s.options.reduce(function(e,t){return b(b({},e),zt(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(s.options[0]);continue;case"integer-width":if(1<s.options.length)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(Gt,function(e,t,r,o,s,n){if(t)i.minimumIntegerDigits=r.length;else{if(o&&s)throw new Error("We currently do not support maximum integer digits");if(n)throw new Error("We currently do not support exact integer digits")}return""});continue}if(jt.test(s.stem))i.minimumIntegerDigits=s.stem.length;else if(Ut.test(s.stem)){if(1<s.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Ut,function(e,t,r,o,s,n){return"*"===r?i.minimumFractionDigits=t.length:o&&"#"===o[0]?i.maximumFractionDigits=o.length:s&&n?(i.minimumFractionDigits=s.length,i.maximumFractionDigits=s.length+n.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""});var n=s.options[0];"w"===n?i=b(b({},i),{trailingZeroDisplay:"stripIfInteger"}):n&&(i=b(b({},i),$t(n)))}else Dt.test(s.stem)?i=b(b({},i),$t(s.stem)):((n=Vt(s.stem))&&(i=b(b({},i),n)),(o=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)),!jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(s.stem))&&(i=b(b({},i),o)))}return i}var Zt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Kt=new RegExp("^".concat(o.source,"*")),qt=new RegExp("".concat(o.source,"*$"));function E(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Yt=!!String.fromCodePoint,Wt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,er=!!String.prototype.trimEnd,tr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},rr=!0;try{rr="a"===(null==(Tr=hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Tr[0])}catch(g){rr=!1}var or,sr,nr=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ir=Yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",s=e.length,n=0;n<s;){if(1114111<(r=e[n++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},ar=Wt?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var s=o[r],n=s[0],s=s[1];t[n]=s}return t},lr=Jt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},cr=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},ur=er?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function hr(e,t){return new RegExp(e,t)}sr=rr?(or=hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return or.lastIndex=t,null!=(t=or.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var s=lr(e,t);if(void 0===s||dr(s)||(33<=(r=s)&&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;o.push(s),t+=65536<=s?2:1}return ir.apply(void 0,o)};d.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},d.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var s,n=this.char();if(123===n){if((s=this.parseArgument(e,r)).err)return s;o.push(s.val)}else{if(125===n&&0<e)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&pr(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;o.push(s.val)}else{if((s=this.parseLiteral(e,t)).err)return s;o.push(s.val)}}else{n=this.clonePosition();this.bump(),o.push({type:y.pound,location:E(n,this.clonePosition())})}}}return{val:o,err:null}},d.prototype.parseTag=function(e,t){var r=this.clonePosition(),o=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(o,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!pr(this.char()))return this.error(m.INVALID_TAG,E(e,this.clonePosition()));var s=this.clonePosition();return o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,E(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:E(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(m.INVALID_TAG,E(r,this.clonePosition()))},d.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())},d.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var s=this.tryParseQuote(t);if(s)o+=s;else{s=this.tryParseUnquoted(e,t);if(s)o+=s;else{s=this.tryParseLeftAngleBracket();if(!s)break;o+=s}}}r=E(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},d.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(pr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},d.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 ir.apply(void 0,t)},d.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(),ir(r))},d.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,E(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},d.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=sr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},d.prototype.parseArgumentOptions=function(e,t,r,o){var s,n=this.clonePosition(),i=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(i){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(n,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=ur(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:E(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(o)).err)return c;var u=E(o,this.clonePosition());if(l&&nr(null==l?void 0:l.style,"::",0)){var h=cr(l.style.slice(2));if("number"===i)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:u,style:d.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var f=h,p=(this.locale&&(f=function(e,t){for(var r="",o=0;o<e.length;o++){var s=e.charAt(o);if("j"===s){for(var n=0;o+1<e.length&&e.charAt(o+1)===s;)n++,o++;var i=1+(1&n),a=n<2?1:3+(n>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Zt[t||""]||Zt[r||""]||Zt["".concat(r,"-001")]||Zt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<i--;)r=l+r}else r+="J"===s?"H":s}return r}(h,this.locale)),{type:At.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(s={},f.replace(Mt,function(e){var t=e.length;switch(e[0]){case"G":s.era=4===t?"long":5===t?"narrow":"short";break;case"y":s.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":s.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":s.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":s.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");s.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");s.weekday=["short","long","narrow","short"][t-4];break;case"a":s.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":s.hourCycle="h12",s.hour=["numeric","2-digit"][t-1];break;case"H":s.hourCycle="h23",s.hour=["numeric","2-digit"][t-1];break;case"K":s.hourCycle="h11",s.hour=["numeric","2-digit"][t-1];break;case"k":s.hourCycle="h24",s.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":s.minute=["numeric","2-digit"][t-1];break;case"s":s.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":s.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""}),s):{}});return{val:{type:"date"===i?y.date:y.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===i?y.number:"date"===i?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(f,b({},f)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),u=0;if("select"!==i&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=d.val}l=this.tryParsePluralOrSelectOptions(e,i,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(o)).err)return c;h=E(o,this.clonePosition());return"select"===i?{val:{type:y.select,value:r,options:ar(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:ar(l.val),offset:u,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,E(n,a))}},d.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},d.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(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(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}},d.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,o=e.split(kt).filter(function(e){return 0<e.length});r<o.length;r++){var s=o[r].split("/");if(0===s.length)throw new Error("Invalid number skeleton");for(var n=s[0],s=s.slice(1),i=0,a=s;i<a.length;i++)if(0===a[i].length)throw new Error("Invalid number skeleton");t.push({stem:n,options:s})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Xt(r):{}},err:null}},d.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var s=!1,n=[],i=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(s=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;n.push([a,{value:c.val,location:E(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===n.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:n,err:null}},d.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var s=!1,n=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;s=!0,n=10*n+(i-48),this.bump()}o=E(o,this.clonePosition());return s?tr(n*=r)?{val:n,err:null}:this.error(t,o):this.error(e,o)},d.prototype.offset=function(){return this.position.offset},d.prototype.isEOF=function(){return this.offset()===this.message.length},d.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},d.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=lr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},d.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},d.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))},d.prototype.bumpIf=function(e){if(nr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},d.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},d.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},d.prototype.bumpSpace=function(){for(;!this.isEOF()&&dr(this.char());)this.bump()},d.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var fr=d;function d(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function pr(e){return 97<=e&&e<=122||65<=e&&e<=90}function dr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function mr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new fr(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Ft(e)||It(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ct(e)&&xt(e.style)||(Nt(e)||Lt(e))&&Rt(e.style)?delete e.style.location:Ot(e)&&r(e.children)})}(e.val),e.val}function gr(e,t){var r=t&&t.cache?t.cache:_r,o=t&&t.serializer?t.serializer:Er;return(t&&t.strategy?t.strategy:function(e,t){return br(e,this,1===e.length?wr:yr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function wr(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),s=t.get(r);return void 0===s&&(s=e.call(this,o),t.set(r,s)),s}function yr(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),s=t.get(r);return void 0===s&&(s=e.apply(this,o),t.set(r,s)),s}function br(e,t,r,o,s){return r.bind(t,e,o,s)}var Er=function(){return JSON.stringify(arguments)};function vr(){this.cache=Object.create(null)}vr.prototype.get=function(e){return this.cache[e]},vr.prototype.set=function(e,t){this.cache[e]=t};var Pr,Tr,_r={create:function(){return new vr}},Br={variadic:function(e,t){return br(e,this,yr,t.cache.create(),t.serializer)},monadic:function(e,t){return br(e,this,wr,t.cache.create(),t.serializer)}};(Tr=Pr=Pr||{}).MISSING_VALUE="MISSING_VALUE",Tr.INVALID_VALUE="INVALID_VALUE",Tr.MISSING_INTL_API="MISSING_INTL_API";Bt(Mr,Cr=Error),Mr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Ar,Sr,Hr,Cr,Nr=Mr,Lr=(Bt(Rr,Hr=Nr),Rr),Fr=(Bt(xr,Sr=Nr),xr),Ir=(Bt(Or,Ar=Nr),Or);function Or(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Pr.MISSING_VALUE,t)||this}function xr(e,t,r){return Sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function Rr(e,t,r,o){return Hr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pr.INVALID_VALUE,o)||this}function Mr(e,t,r){e=Cr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function kr(e,t,r,o,s,n,i){if(1===e.length&&Ht(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof n&&a.push({type:v.literal,value:r.getNumberFormat(t).format(n)});else{var h=u.value;if(!(s&&h in s))throw new Ir(h,i);h=s[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Nt(u)){var f="string"==typeof u.style?o.date[u.style]:Rt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Lt(u))f="string"==typeof u.style?o.time[u.style]:Rt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(Ct(u))(f="string"==typeof u.style?o.number[u.style]:xt(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:v.literal,value:r.getNumberFormat(t,f).format(h)});else{if(Ot(u)){var p=u.children,d=u.value,m=s[d];if("function"!=typeof m)throw new Fr(d,"function",i);d=m(kr(p,t,r,o,s,n).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(Ft(u)){if(!(g=u.options[h]||u.options.other))throw new Lr(u.value,h,Object.keys(u.options),i);a.push.apply(a,kr(g.value,t,r,o,s))}else if(It(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Nr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Pr.MISSING_INTL_API,i);var m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Lr(u.value,h,Object.keys(u.options),i);a.push.apply(a,kr(g.value,t,r,o,s,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Ur(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=mr,P.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Dr=P;function P(e,t,r,o){var s,n,i=this;if(void 0===t&&(t=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return kr(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=t,this.resolvedLocale=P.resolveLocale(t),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(s=P.formats,(n=r)?Object.keys(s).reduce(function(e,t){var r,o;return e[t]=(r=s[t],(o=n[t])?b(b(b({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),o[t]||{}),e},{})):r),e},b({},s)):s),this.formatters=o&&o.formatters||{getNumberFormat:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,St([void 0],t,!1)))},{cache:Ur((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Br.variadic}),getDateTimeFormat:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,St([void 0],t,!1)))},{cache:Ur(t.dateTime),strategy:Br.variadic}),getPluralRules:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,St([void 0],t,!1)))},{cache:Ur(t.pluralRules),strategy:Br.variadic})}}const T={},Gr=(e,t,r)=>r&&(t in T||(T[t]={}),e in T[t]||(T[t][e]=r),r),jr=(t,r)=>{if(null!=r){if(r in T&&t in T[r])return T[r][t];var o=so(r);for(let e=0;e<o.length;e++){var s=function(e,r){if(!zr(e))return null;e=function(e){return $r[e]||null}(e);{var o=r;if(null==o)return;if(o in e)return e[o];const s=o.split(".");let t=e;for(let e=0;e<s.length;e++)if("object"==typeof t){if(0<e){const o=s.slice(e,s.length).join(".");if(o in t){t=t[o];break}}t=t[s[e]]}else t=void 0;return t}}(o[e],t);if(s)return Gr(t,r,s)}}};let $r;const Vr=pt({});function zr(e){return e in $r}function Xr(t,...r){delete T[t],Vr.update(e=>(e[t]=Tt.all([e[t]||{},...r]),e))}dt([Vr],([e])=>Object.keys(e)),Vr.subscribe(e=>$r=e);const Zr={};function Kr(e){return Zr[e]}function qr(e){return null!=e&&so(e).some(e=>{return null==(e=Kr(e))?void 0:e.size})}const Yr={};function Wr(e){if(!qr(e))return e in Yr?Yr[e]:Promise.resolve();const t=so(e).map(e=>{var t=Kr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Yr[e]=Promise.all(t.map(([e,t])=>{{var o=e;e=t;const r=Promise.all(e.map(e=>{var t=o,r=e;return Zr[t].delete(r),0===Zr[t].size&&delete Zr[t],e().then(e=>e.default||e)}));return r.then(e=>Xr(o,...e))}})).then(()=>{if(qr(e))return Wr(e);delete Yr[e]}),Yr[e]}function Jr(e,t){var r={};for(s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,s=Object.getOwnPropertySymbols(e);o<s.length;o++)t.indexOf(s[o])<0&&Object.prototype.propertyIsEnumerable.call(e,s[o])&&(r[s[o]]=e[s[o]]);return r}const Qr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const eo=pt(!1);let to;const ro=pt(null);function oo(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function so(e,t=Qr.fallbackLocale){e=oo(e);return t?[...new Set([...e,...oo(t)])]:e}function _(){return null!=to?to:void 0}ro.subscribe(e=>{to=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const no=Object.assign(Object.assign({},ro),{set:t=>{if(t&&function(e){if(null!=e){var t=so(e);for(let e=0;e<t.length;e++){var r=t[e];if(zr(r))return r}}}(t)&&qr(t)){var r=Qr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=_()&&r?e=window.setTimeout(()=>eo.set(!0),r):eo.set(!0),Wr(t).then(()=>{ro.set(t)}).finally(()=>{clearTimeout(e),eo.set(!1)})}return ro.set(t)}}),io=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},ao=(e,t)=>{var r=Qr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lo=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ao("number",r)),new Intl.NumberFormat(t,e)}),co=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ao("date",r):0===Object.keys(e).length&&(e=ao("date","short")),new Intl.DateTimeFormat(t,e)}),uo=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ao("time",r):0===Object.keys(e).length&&(e=ao("time","short")),new Intl.DateTimeFormat(t,e)}),ho=io((e,t=_())=>new Dr(e,t,Qr.formats,{ignoreTag:Qr.ignoreTag})),fo=dt([no,Vr],()=>(e,t={})=>{var r,o;let s=t;"object"==typeof e&&(e=(s=e).id);var{values:n,locale:i=_(),default:a}=s;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=jr(e,i);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(o=null!=(r=null==(r=(o=Qr).handleMissingMessage)?void 0:r.call(o,{locale:i,id:e,defaultValue:a}))?r:a)?o:e;if(!n)return l;let c=l;try{c=ho(l,i).format(n)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c}),po=(dt([no],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return uo(Object.assign({locale:t},e))})(t).format(e)),dt([no],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return co(Object.assign({locale:t},e))})(t).format(e)),dt([no],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return lo(Object.assign({locale:t},e))})(t).format(e)),dt([no,Vr],()=>(e,t=_())=>jr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ht.indexOf(e)&&(t=new ct(t),ft[e]=t,ht.push(e)),ft[e]}},{en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long."}},zh:{forgotPasswordForm:{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"}},fr:{forgotPasswordForm:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Onay şifresi yeni şifreyle eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için tıklayınız",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},es:{forgotPasswordForm:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvidaste tu contraseña",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"El e-mail debe contener '@' y un dominio de 2-3 letras.",forgotPasswordEmailError:"Este e-mail no existe.",forgotPasswordReset:"Redefinir contraseña",forgotPasswordSuccess:"¡Éxito!",forgotPasswordSuccessDescription:"Le hemos enviado un e-mail con instrucciones para restablecer su contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar la contraseña",forgotNewPasswordConfirmPasswordError:"La contraseña de confirmación debe coincidir con la nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar la contraseña",forgotChangePasswordTitle:"¡Éxito!",forgotChangePasswordDescription:"Su contraseña ha sido cambiada con éxito.",forgotChangePasswordLogin:"Haga clic aquí para ingresar",simplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres."}},pt:{forgotPasswordForm:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres."}}});function mo(e){let r,o;return{c(){C((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[1])||Q(r,"src",o),r.async=!0,r.defer=!0},m(e,t){K(e,r,t)},p(e,t){2&t[0]&&!C(r.src,o="//www.google.com/recaptcha/api.js?render="+e[1])&&Q(r,"src",o)},d(e){e&&q(r)}}}function go(r){let o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,B,A,S=r[21]("forgotPasswordForm.forgotChangePasswordTitle")+"",H=r[21]("forgotPasswordForm.forgotChangePasswordDescription")+"",C=r[21]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=t("div"),s=t("div"),n=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=Y(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=G("g"),h=G("g"),f=G("path"),p=G("g"),d=G("circle"),m=G("circle"),g=W(),w=t("h4"),y=Y(S),b=W(),E=t("p"),v=Y(H),P=W(),T=t("button"),_=Y(C),Q(f,"class","a"),Q(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),Q(f,"transform","translate(264.272 482.563)"),Q(h,"transform","translate(-7360.574 8503.438)"),Q(d,"class","c"),Q(d,"cx","30"),Q(d,"cy","30"),Q(d,"r","30"),Q(m,"class","d"),Q(m,"cx","30"),Q(m,"cy","30"),Q(m,"r","29"),Q(p,"class","b"),Q(p,"transform","translate(-7106 8970)"),Q(u,"transform","translate(7106 -8970)"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"width","60"),Q(i,"height","60"),Q(i,"viewBox","0 0 60 60"),Q(n,"class","NewPasswordSuccess"),Q(n,"part","NewPasswordSuccess"),Q(T,"class","resetPasswordButton"),Q(T,"part","resetPasswordButton"),Q(s,"class","FormContent"),Q(s,"part","FormContent"),Q(o,"class","FormLeftSide"),Q(o,"part","FormLeftSide")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(i,a),Z(a,l),Z(l,c),Z(i,u),Z(u,h),Z(h,f),Z(u,p),Z(p,d),Z(p,m),Z(n,g),Z(n,w),Z(w,y),Z(n,b),Z(n,E),Z(E,v),Z(s,P),Z(s,T),Z(T,_),B||(A=J(T,"click",r[43]),B=!0)},p(e,t){2097152&t[0]&&S!==(S=e[21]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&ee(y,S),2097152&t[0]&&H!==(H=e[21]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&ee(v,H),2097152&t[0]&&C!==(C=e[21]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&ee(_,C)},d(e){e&&q(o),B=!1,A()}}}function wo(r){let o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,k,y,b,E,U,v,D,P,G,T,j,_,B,A,S,$,H=r[21]("forgotPasswordForm.forgotNewPasswordTitle")+"",C=r[21]("forgotPasswordForm.forgotNewPasswordPassword")+"",N=r[21]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",L=r[21]("forgotPasswordForm.forgotNewPasswordButton")+"";function V(e){return e[17]?vo:Eo}let F=V(r),I=F(r),O=r[13]&&Po(r);function z(e){return e[18]?Ao:Bo}let x=z(r),R=x(r),M=r[14]&&So(r);return{c(){o=t("div"),s=t("div"),n=t("h4"),i=Y(H),a=W(),l=t("form"),c=t("div"),u=t("label"),h=Y(C),f=Y(":"),(p=t("span")).textContent="*",d=W(),m=t("input"),g=W(),I.c(),w=W(),O&&O.c(),k=W(),y=t("div"),b=t("label"),E=Y(N),U=Y(":"),(v=t("span")).textContent="*",D=W(),P=t("input"),G=W(),R.c(),T=W(),M&&M.c(),j=W(),_=t("button"),B=Y(L),Q(n,"class","FormHeaderTitle"),Q(n,"part","FormHeaderTitle"),Q(s,"class","FormHeader"),Q(s,"part","FormHeader"),Q(p,"class","FormRequired"),Q(p,"part","FormRequired"),Q(u,"for","NewPassword"),Q(m,"type","password"),Q(m,"id","new-password"),Q(m,"autocomplete","new-password"),Q(c,"class","NewPassword"),Q(c,"part","NewPassword"),Q(v,"class","FormRequired"),Q(v,"part","FormRequired"),Q(b,"for","RetypePassword"),Q(P,"type","password"),Q(P,"id","RetypePassword"),Q(y,"class","ConfirmPassword"),Q(y,"part","ConfirmPassword"),Q(_,"class","resetPasswordButton"),Q(_,"part","resetPasswordButton"),_.disabled=A=!r[12],Q(l,"class","FormContent"),Q(l,"part","FormContent"),Q(o,"class","FormLeftSide test"),Q(o,"part","FormLeftSide test")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(o,a),Z(o,l),Z(l,c),Z(c,u),Z(u,h),Z(u,f),Z(u,p),Z(c,d),Z(c,m),te(m,r[19]),r[35](m),Z(c,g),I.m(c,null),Z(c,w),O&&O.m(c,null),Z(l,k),Z(l,y),Z(y,b),Z(b,E),Z(b,U),Z(b,v),Z(y,D),Z(y,P),te(P,r[20]),r[39](P),Z(y,G),R.m(y,null),Z(y,T),M&&M.m(y,null),Z(l,j),Z(l,_),Z(_,B),S||($=[J(m,"input",r[34]),J(m,"keyup",function(){re(r[27](r[13],r[19],r[15]))&&r[27](r[13],r[19],r[15]).apply(this,arguments)}),J(P,"input",r[38]),J(P,"keyup",function(){re(r[27](r[14],r[20],r[16]))&&r[27](r[14],r[20],r[16]).apply(this,arguments)}),J(_,"click",r[42])],S=!0)},p(e,t){r=e,2097152&t[0]&&H!==(H=r[21]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&ee(i,H),2097152&t[0]&&C!==(C=r[21]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&ee(h,C),524288&t[0]&&m.value!==r[19]&&te(m,r[19]),F===(F=V(r))&&I?I.p(r,t):(I.d(1),(I=F(r))&&(I.c(),I.m(c,w))),r[13]?O?O.p(r,t):((O=Po(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),2097152&t[0]&&N!==(N=r[21]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&ee(E,N),1048576&t[0]&&P.value!==r[20]&&te(P,r[20]),x===(x=z(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(y,T))),r[14]?M?M.p(r,t):((M=So(r)).c(),M.m(y,null)):M&&(M.d(1),M=null),2097152&t[0]&&L!==(L=r[21]("forgotPasswordForm.forgotNewPasswordButton")+"")&&ee(B,L),4096&t[0]&&A!==(A=!r[12])&&(_.disabled=A)},d(e){e&&q(o),r[35](null),I.d(),O&&O.d(),r[39](null),R.d(),M&&M.d(),S=!1,X($)}}}function yo(e){let r,o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v=e[21]("forgotPasswordForm.forgotPasswordSuccess")+"",P=e[21]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),s=t("div"),n=G("svg"),i=G("defs"),a=G("style"),l=Y(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),c=G("g"),u=G("g"),h=G("path"),f=G("g"),p=G("circle"),d=G("circle"),m=W(),g=t("h4"),w=Y(v),y=W(),b=t("p"),E=Y(P),Q(h,"class","a"),Q(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),Q(h,"transform","translate(264.272 482.563)"),Q(u,"transform","translate(-7360.574 8503.438)"),Q(p,"class","c"),Q(p,"cx","30"),Q(p,"cy","30"),Q(p,"r","30"),Q(d,"class","d"),Q(d,"cx","30"),Q(d,"cy","30"),Q(d,"r","29"),Q(f,"class","b"),Q(f,"transform","translate(-7106 8970)"),Q(c,"transform","translate(7106 -8970)"),Q(n,"xmlns","http://www.w3.org/2000/svg"),Q(n,"width","60"),Q(n,"height","60"),Q(n,"viewBox","0 0 60 60"),Q(s,"class","NewPasswordSuccess"),Q(s,"part","NewPasswordSuccess"),Q(o,"class","FormContent"),Q(o,"part","FormContent"),Q(r,"class","FormLeftSide"),Q(r,"part","FormLeftSide")},m(e,t){K(e,r,t),Z(r,o),Z(o,s),Z(s,n),Z(n,i),Z(i,a),Z(a,l),Z(n,c),Z(c,u),Z(u,h),Z(c,f),Z(f,p),Z(f,d),Z(s,m),Z(s,g),Z(g,w),Z(s,y),Z(s,b),Z(b,E)},p(e,t){2097152&t[0]&&v!==(v=e[21]("forgotPasswordForm.forgotPasswordSuccess")+"")&&ee(w,v),2097152&t[0]&&P!==(P=e[21]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&ee(E,P)},d(e){e&&q(r)}}}function bo(r){let o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,k,B,A,S,U,H,C,N,L,D,F=r[21]("forgotPasswordForm.goToLogin")+"",I=r[21]("forgotPasswordForm.forgotPasswordTitle")+"",O=r[21]("forgotPasswordForm.forgotPasswordEmail")+"",x=r[21]("forgotPasswordForm.forgotPasswordReset")+"",R=r[10]&&Ho(r),M=r[4]&&Co(r);return{c(){o=t("div"),s=t("div"),n=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=Y(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=G("path"),h=W(),f=Y(F),p=W(),d=t("h4"),m=Y(I),g=W(),w=t("form"),y=t("div"),b=t("label"),E=Y(O),v=Y(":"),(P=t("span")).textContent="*",T=W(),_=t("input"),k=W(),R&&R.c(),B=W(),M&&M.c(),U=W(),H=t("button"),C=Y(x),Q(u,"class","a"),Q(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Q(u,"transform","translate(24 24) rotate(180)"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"viewBox","0 0 24 24"),Q(n,"class","backButtonForgotPassword"),Q(n,"part","backButtonForgotPassword"),Q(d,"class","FormHeaderTitle"),Q(d,"part","FormHeaderTitle"),Q(s,"class","FormHeader"),Q(s,"part","FormHeader"),Q(P,"class","FormRequired"),Q(P,"part","FormRequired"),Q(b,"for","ResetPasswordByEmail"),Q(_,"type","text"),Q(_,"id","ResetPasswordByEmail"),Q(y,"class",A="ResetPasswordByEmail "+(r[10]?"InvalidField":"")),Q(y,"part",S="ResetPasswordByEmail "+(r[10]?"InvalidField":"")),Q(H,"class","resetPasswordButton"),Q(H,"part","resetPasswordButton"),H.disabled=N=!r[11],Q(w,"class","FormContent"),Q(w,"part","FormContent"),Q(o,"class","FormLeftSide"),Q(o,"part","FormLeftSide")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(i,a),Z(a,l),Z(l,c),Z(i,u),Z(n,h),Z(n,f),Z(s,p),Z(s,d),Z(d,m),Z(o,g),Z(o,w),Z(w,y),Z(y,b),Z(b,E),Z(b,v),Z(b,P),Z(y,T),Z(y,_),te(_,r[6]),Z(y,k),R&&R.m(y,null),Z(y,B),M&&M.m(y,null),Z(w,U),Z(w,H),Z(H,C),L||(D=[J(n,"click",r[31]),J(_,"input",r[32]),J(_,"keyup",r[22]),J(H,"click",r[33])],L=!0)},p(e,t){2097152&t[0]&&F!==(F=e[21]("forgotPasswordForm.goToLogin")+"")&&ee(f,F),2097152&t[0]&&I!==(I=e[21]("forgotPasswordForm.forgotPasswordTitle")+"")&&ee(m,I),2097152&t[0]&&O!==(O=e[21]("forgotPasswordForm.forgotPasswordEmail")+"")&&ee(E,O),64&t[0]&&_.value!==e[6]&&te(_,e[6]),e[10]?R?R.p(e,t):((R=Ho(e)).c(),R.m(y,B)):R&&(R.d(1),R=null),e[4]?M?M.p(e,t):((M=Co(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),1024&t[0]&&A!==(A="ResetPasswordByEmail "+(e[10]?"InvalidField":""))&&Q(y,"class",A),1024&t[0]&&S!==(S="ResetPasswordByEmail "+(e[10]?"InvalidField":""))&&Q(y,"part",S),2097152&t[0]&&x!==(x=e[21]("forgotPasswordForm.forgotPasswordReset")+"")&&ee(C,x),2048&t[0]&&N!==(N=!e[11])&&(H.disabled=N)},d(e){e&&q(o),R&&R.d(),M&&M.d(),L=!1,X(D)}}}function Eo(r){let o,s,n,i,a,l,c,u,h,f;return{c(){o=G("svg"),s=G("defs"),n=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),Q(l,"class","a"),Q(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"),Q(l,"transform","translate(0)"),Q(c,"class","a"),Q(c,"cx","2.779"),Q(c,"cy","2.779"),Q(c,"r","2.779"),Q(c,"transform","translate(20.827 30.303)"),Q(a,"transform","translate(-14.185 -27.832)"),Q(o,"class",u="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.843"),Q(o,"height","10.5"),Q(o,"viewBox","0 0 18.843 10.5")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(o,a),Z(a,l),Z(a,c),h||(f=J(o,"click",r[37]),h=!0)},p(e,t){8192&t[0]&&u!==(u="TogglePasswordVisibility "+(e[13]?"InvalidToggle":""))&&Q(o,"class",u)},d(e){e&&q(o),h=!1,f()}}}function vo(r){let o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,y;return{c(){o=G("svg"),s=G("defs"),n=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("circle"),c=G("g"),u=G("path"),h=G("path"),f=G("g"),p=G("path"),d=G("path"),m=G("rect"),Q(l,"class","a"),Q(l,"cx","0.05"),Q(l,"cy","0.05"),Q(l,"r","0.05"),Q(l,"transform","translate(121.017 31.148)"),Q(u,"class","a"),Q(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Q(u,"transform","translate(-142.164 -39.123)"),Q(h,"class","a"),Q(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Q(h,"transform","translate(-136.413 -42.068)"),Q(c,"transform","translate(117.499 27.37)"),Q(p,"class","a"),Q(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Q(p,"transform","translate(-110.856 -33.157)"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-130.743 -29.617)"),Q(f,"transform","translate(110.856 24.899)"),Q(m,"class","a"),Q(m,"width","0.972"),Q(m,"height","15.861"),Q(m,"rx","0.486"),Q(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Q(a,"transform","translate(-110.856 -23.242)"),Q(o,"class",g="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.844"),Q(o,"height","12.887"),Q(o,"viewBox","0 0 18.844 12.887")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(o,a),Z(a,l),Z(a,c),Z(c,u),Z(c,h),Z(a,f),Z(f,p),Z(f,d),Z(a,m),w||(y=J(o,"click",r[36]),w=!0)},p(e,t){8192&t[0]&&g!==(g="TogglePasswordVisibility "+(e[13]?"InvalidToggle":""))&&Q(o,"class",g)},d(e){e&&q(o),w=!1,y()}}}function Po(e){let r;function o(e){return"true"==e[2]?_o:To}let s=o(e),n=s(e);return{c(){n.c(),r=N()},m(e,t){n.m(e,t),K(e,r,t)},p(e,t){s===(s=o(e))&&n?n.p(e,t):(n.d(1),(n=s(e))&&(n.c(),n.m(r.parentNode,r)))},d(e){n.d(e),e&&q(r)}}}function To(e){let r,o,s=e[21]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=Y(s),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&s!==(s=e[21]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&ee(o,s)},d(e){e&&q(r)}}}function _o(e){let r,o,s=e[21]("forgotPasswordForm.simplePasswordError")+"";return{c(){r=t("p"),o=Y(s),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&s!==(s=e[21]("forgotPasswordForm.simplePasswordError")+"")&&ee(o,s)},d(e){e&&q(r)}}}function Bo(r){let o,s,n,i,a,l,c,u,h,f,p;return{c(){o=G("svg"),s=G("defs"),n=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),Q(l,"class","a"),Q(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"),Q(l,"transform","translate(0)"),Q(c,"class","a"),Q(c,"cx","2.779"),Q(c,"cy","2.779"),Q(c,"r","2.779"),Q(c,"transform","translate(20.827 30.303)"),Q(a,"transform","translate(-14.185 -27.832)"),Q(o,"class",u="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"part",h="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.843"),Q(o,"height","10.5"),Q(o,"viewBox","0 0 18.843 10.5")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(o,a),Z(a,l),Z(a,c),f||(p=J(o,"click",r[41]),f=!0)},p(e,t){16384&t[0]&&u!==(u="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"class",u),16384&t[0]&&h!==(h="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"part",h)},d(e){e&&q(o),f=!1,p()}}}function Ao(r){let o,s,n,i,a,l,c,u,h,f,p,d,m,g,w,y,b;return{c(){o=G("svg"),s=G("defs"),n=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("circle"),c=G("g"),u=G("path"),h=G("path"),f=G("g"),p=G("path"),d=G("path"),m=G("rect"),Q(l,"class","a"),Q(l,"cx","0.05"),Q(l,"cy","0.05"),Q(l,"r","0.05"),Q(l,"transform","translate(121.017 31.148)"),Q(u,"class","a"),Q(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Q(u,"transform","translate(-142.164 -39.123)"),Q(h,"class","a"),Q(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Q(h,"transform","translate(-136.413 -42.068)"),Q(c,"transform","translate(117.499 27.37)"),Q(p,"class","a"),Q(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Q(p,"transform","translate(-110.856 -33.157)"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-130.743 -29.617)"),Q(f,"transform","translate(110.856 24.899)"),Q(m,"class","a"),Q(m,"width","0.972"),Q(m,"height","15.861"),Q(m,"rx","0.486"),Q(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Q(a,"transform","translate(-110.856 -23.242)"),Q(o,"class",g="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"part",w="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.844"),Q(o,"height","12.887"),Q(o,"viewBox","0 0 18.844 12.887")},m(e,t){K(e,o,t),Z(o,s),Z(s,n),Z(n,i),Z(o,a),Z(a,l),Z(a,c),Z(c,u),Z(c,h),Z(a,f),Z(f,p),Z(f,d),Z(a,m),y||(b=J(o,"click",r[40]),y=!0)},p(e,t){16384&t[0]&&g!==(g="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"class",g),16384&t[0]&&w!==(w="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"part",w)},d(e){e&&q(o),y=!1,b()}}}function So(e){let r,o,s=e[21]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=Y(s),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&s!==(s=e[21]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&ee(o,s)},d(e){e&&q(r)}}}function Ho(e){let r,o,s=e[21]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=Y(s),Q(r,"class","ForgotPasswordError"),Q(r,"part","ForgotPasswordError")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&s!==(s=e[21]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&ee(o,s)},d(e){e&&q(r)}}}function Co(e){let r,o,s=e[21]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=t("p"),o=Y(s),Q(r,"class","ForgotPasswordError"),Q(r,"part","ForgotPasswordError")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&s!==(s=e[21]("forgotPasswordForm.forgotPasswordEmailError")+"")&&ee(o,s)},d(e){e&&q(r)}}}function No(e){let r;return{c(){Q(r=t("div"),"class","FormRightSide"),Q(r,"part","FormRightSide"),L(r,"background-image","url('"+e[0]+"')")},m(e,t){K(e,r,t)},p(e,t){1&t[0]&&L(r,"background-image","url('"+e[0]+"')")},d(e){e&&q(r)}}}function Lo(e){let r,o,s,n,i,a=e[1]&&mo(e),l=function(e){let r,o,s;function n(e){return e[3]?bo:e[5]?yo:e[7]?wo:e[8]?go:void 0}let i=n(e),a=i&&i(e),l=!e[9]&&No(e);return{c(){r=t("div"),a&&a.c(),o=W(),l&&l.c(),Q(r,"class",s="FormContainer "+(e[9]?"FormMobileContainer":"")),Q(r,"part","FormContainer")},m(e,t){K(e,r,t),a&&a.m(r,null),Z(r,o),l&&l.m(r,null)},p(e,t){i===(i=n(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(r,o))),e[9]?l&&(l.d(1),l=null):l?l.p(e,t):((l=No(e)).c(),l.m(r,null)),512&t[0]&&s!==(s="FormContainer "+(e[9]?"FormMobileContainer":""))&&Q(r,"class",s)},d(e){e&&q(r),a&&a.d(),l&&l.d()}}}(e);return{c(){a&&a.c(),r=N(),o=W(),s=t("div"),n=W(),l.c(),i=N(),this.c=g,Q(s,"class","g-recaptcha"),Q(s,"data-sitekey",e[1])},m(e,t){a&&a.m(document.head,null),Z(document.head,r),K(e,o,t),K(e,s,t),K(e,n,t),l.m(e,t),K(e,i,t)},p(e,t){e[1]?a?a.p(e,t):((a=mo(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null),2&t[0]&&Q(s,"data-sitekey",e[1]),l.p(e,t)},i:g,o:g,d(e){a&&a.d(e),q(r),e&&q(o),e&&q(s),e&&q(n),l.d(e),e&&q(i)}}}function Fo(t,e,o){let r;var s=fo;t.$$.on_destroy.push(k(s,e=>o(21,r=e)));let n,i,{endpoint:a=""}=e,{forgotpasswordkey:l=""}=e,{imagedesktop:c=""}=e,{captchakey:u=""}=e,{lang:h=""}=e,{simplepasswordvalidation:f="false"}=e,p=!0,d=!1,m=!1,g="",w=!1,y=!1,b=!1,E,v,P=window.navigator.userAgent,R,T=!1,_=!1,B=!1,A=!1,S="",H="";Object.keys(po).forEach(e=>{Xr(e,po[e])});const C={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},N=e=>{switch(e){case"userNewPassword":o(17,B=!B),o(15,n.type=B?"text":"password",n);break;case"userConfirmPassword":o(18,A=!A),o(16,i.type=A?"text":"password",i)}},L=e=>{switch(e){case"ToEmailSuccess":o(4,d=!1),o(3,p=!1),o(5,m=!0);break;case"ToReset":o(3,p=!1),o(7,w=!0);break;case"ToSuccess":o(7,w=!1),o(8,y=!0)}},F=()=>{window.postMessage({type:"ToLogin"},window.location.href)},I=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(u,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{let t=new URL(a+"/player/resetpassword"),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",g),fetch(t,r).then(e=>{200==e.status?L("ToEmailSuccess"):o(4,d=!0)})})},O=e=>{e.preventDefault();var e=new URL(a+"/player/ResetPasswordByHashKey"),t={hashKey:l,plainTextPassword:S},t={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e,t).then(e=>{200==e.status&&L("ToSuccess")})},x=e=>("true"==f&&(C.password=/^(?!.* ).{8,20}$/),!!C.password.test(e));return s=async()=>{var e;((e=P).toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))&&o(9,b=!0)},function(){if(M)return M;throw new Error("Function called outside component initialization")}().$$.on_mount.push(s),t.$$set=e=>{"endpoint"in e&&o(28,a=e.endpoint),"forgotpasswordkey"in e&&o(29,l=e.forgotpasswordkey),"imagedesktop"in e&&o(0,c=e.imagedesktop),"captchakey"in e&&o(1,u=e.captchakey),"lang"in e&&o(30,h=e.lang),"simplepasswordvalidation"in e&&o(2,f=e.simplepasswordvalidation)},t.$$.update=()=>{var e;536870912&t.$$.dirty[0]&&l&&l&&0<l.length&&L("ToReset"),1073741824&t.$$.dirty[0]&&h&&(e=h,no.set(e))},[c,u,f,p,d,m,g,w,y,b,!1,!1,!1,T,_,n,i,B,A,S,H,r,()=>{var e;o(10,(e=g,E=!(C.email.test(e)&&e.length<=100))),o(11,v=!E)},N,F,I,O,(e,t,r)=>{"new-password"===r.id?(o(13,T=!x(t)),H&&o(14,_=S!==H||!x(t))):o(14,_=S!==H||!x(t)),o(12,R=!(T||_||!S||!H))},a,l,h,()=>F(),function(){g=this.value,o(6,g)},e=>I(e),function(){S=this.value,o(19,S)},function(e){U[e?"unshift":"push"](()=>{n=e,o(15,n)})},()=>N("userNewPassword"),()=>N("userNewPassword"),function(){H=this.value,o(20,H)},function(e){U[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>N("userConfirmPassword"),()=>N("userConfirmPassword"),e=>O(e),()=>F()]}class Io extends se{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'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px;line-height:24px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px;height:460px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.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)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.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)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{flex:1 1 100%;padding:50px}.FormMobileContainer{height:100%}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormLeftSide{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>",oe(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},Fo,Lo,S,{endpoint:28,forgotpasswordkey:29,imagedesktop:0,captchakey:1,lang:30,simplepasswordvalidation:2},null,[-1,-1]),e&&(e.target&&K(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang","simplepasswordvalidation"]}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),w()}get forgotpasswordkey(){return this.$$.ctx[29]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),w()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(e){this.$$set({imagedesktop:e}),w()}get captchakey(){return this.$$.ctx[1]}set captchakey(e){this.$$set({captchakey:e}),w()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),w()}get simplepasswordvalidation(){return this.$$.ctx[2]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),w()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Io),Io});
|
|
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 g(){}function B(e){return e()}function A(){return Object.create(null)}function X(e){e.forEach(B)}function re(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let H,U;function C(e,t){return(H=H||document.createElement("a")).href=t,e===H.href}function k(e,...t){if(null==e)return g;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function Z(e,t){e.appendChild(t)}function K(e,t,r){e.insertBefore(t,r||null)}function q(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Y(e){return document.createTextNode(e)}function W(){return Y(" ")}function N(){return Y("")}function J(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function Q(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ee(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function te(e,t){e.value=null==t?"":t}function L(e,t,r,o){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,o?"important":"")}function F(e){U=e}const I=[],D=[],O=[],x=[],R=Promise.resolve();let M=!1;function $(e){O.push(e)}const j=new Set;let V=0;function w(){const e=U;do{for(;V<I.length;){const e=I[V];V++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),X(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach($))}for(F(null),I.length=0,V=0;D.length;)D.pop()();for(let e=0;e<O.length;e+=1){const o=O[e];j.has(o)||(j.add(o),o())}}while(O.length=0,I.length);for(;x.length;)x.pop()();M=!1,j.clear(),F(e)}const z=new Set;function oe(o,e,t,r,n,s,i,a=[-1]){var l=U;F(o);const c=o.$$={fragment:null,ctx:null,props:s,update:g,not_equal:n,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=o).$$.dirty[0]&&(I.push(e),M||(M=!0,R.then(w)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,X(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const g=Array.from(s.childNodes);c.fragment&&c.fragment.l(g),g.forEach(q)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(z.delete(a),a.i(void 0));{var h=o;i=e.target;t=e.anchor;r=e.customElement;const{fragment:f,on_mount:p,on_destroy:d,after_update:m}=h.$$;f&&f.m(i,t),r||$(()=>{var e=p.map(B).filter(re);d?d.push(...e):X(e),h.$$.on_mount=[]}),m.forEach($)}w()}F(l)}let ne;"function"==typeof HTMLElement&&(ne=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(B).filter(re);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){X(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(X(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$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 se,ie,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,ae="URLSearchParams"in a,le="Symbol"in a&&"iterator"in Symbol,ce="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),ue="FormData"in a,he="ArrayBuffer"in a;function fe(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 pe(e){return e="string"!=typeof e?String(e):e}function de(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return le&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function me(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ge(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function we(e){var t=new FileReader,r=ge(t);return t.readAsArrayBuffer(e),r}function ye(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function be(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ce&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ue&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:ae&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():he&&ce&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ye(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):he&&(ArrayBuffer.prototype.isPrototypeOf(e)||ie(e))?this._bodyArrayBuffer=ye(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):ae&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ce&&(this.blob=function(){var e=me(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?me(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(we)}),this.text=function(){var e,t,r=me(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=ge(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ue&&(this.formData=function(){return this.text().then(ve)}),this.json=function(){return this.text().then(JSON.parse)},this}he&&(se=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ie=ArrayBuffer.isView||function(e){return e&&-1<se.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=fe(e),t=pe(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[fe(e)]},l.prototype.get=function(e){return e=fe(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(fe(e))},l.prototype.set=function(e,t){this.map[fe(e)]=pe(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),de(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),de(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),de(r)},le&&(l.prototype[Symbol.iterator]=l.prototype.entries);var Ee=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<Ee.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ve(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},be.call(c.prototype),be.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Pe=[301,302,303,307,308],h=(u.redirect=function(e,t){if(-1===Pe.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},a.DOMException);try{new h}catch(g){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function Te(o,i){return new Promise(function(n,e){var t=new c(o,i);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},o=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new u(o,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(ce?s.responseType="blob":he&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){s.setRequestHeader(e,pe(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}Te.polyfill=!0,a.fetch||(a.fetch=Te,a.Headers=l,a.Request=c,a.Response=u),self.fetch.bind(self);var _e=function(e,t){return(_e=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 Be(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}_e(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Ae(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&o>=e.length?void 0:e)&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Se(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,s=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(o=s.next()).done;)i.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i}function He(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function f(e){return"function"==typeof e}function Ce(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var Ne=Ce(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 Le(e,t){e&&0<=(t=e.indexOf(t))&&e.splice(t,1)}r.prototype.unsubscribe=function(){var e,t,r,o,n;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var i=Ae(s),a=i.next();!a.done;a=i.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(f(s))try{s()}catch(e){n=e instanceof Ne?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=Ae(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){n=null!=n?n:[],e instanceof Ne?n=He(He([],Se(n)),Se(e.errors)):n.push(e)}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}}if(n)throw new Ne(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)xe(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(t=this._finalizers)?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Le(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Le(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Fe=r,Ie=Fe.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Oe(e){return e instanceof Fe||e&&"closed"in e&&f(e.remove)&&f(e.add)&&f(e.unsubscribe)}function xe(e){f(e)?e():e.unsubscribe()}var Re=void 0,Me=!1,Ue=!1,ke={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=ke.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,He([e,t],Se(r))):setTimeout.apply(void 0,He([e,t],Se(r)))},clearTimeout:function(e){var t=ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function De(){}var Ge=null;function $e(e){if(Me){var t=!Ge;if(t&&(Ge={errorThrown:!1,error:null}),e(),t){var t=Ge,r=t.errorThrown,t=t.error;if(Ge=null,r)throw t}}else e()}Be(e,je=Fe),e.create=function(e,t,r){return new qe(e,t,r)},e.prototype.next=function(e){this.isStopped||this._next(e)},e.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,je.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(e){this.destination.next(e)},e.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}};var je,Ve=e,ze=Function.prototype.bind;function e(e){var t=je.call(this)||this;return t.isStopped=!1,e?Oe(t.destination=e)&&e.add(t):t.destination=Qe,t}function Xe(e,t){return ze.call(e,t)}We.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Je(e)}},We.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Je(e)}else Je(e)},We.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Je(e)}};var Ze,Ke=We,qe=(Be(Ye,Ze=Ve),Ye);function Ye(e,t,r){var o=Ze.call(this)||this,r=f(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ue?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&Xe(e.next,t),error:e.error&&Xe(e.error,t),complete:e.complete&&Xe(e.complete,t)}):e;return o.destination=new Ke(r),o}function We(e){this.partialObserver=e}function Je(e){var t=e;ke.setTimeout(function(){throw t})}var Qe={closed:!0,next:De,error:function(e){throw e},complete:De},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function et(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,r){var o,n=this,s=(o=e)&&o instanceof Ve||o&&f(o.next)&&f(o.error)&&f(o.complete)&&Oe(o)?e:new qe(e,t,r);return $e(function(){var e=n.operator,t=n.source;s.add(e?e.call(s,t):t?n._subscribe(s):n._trySubscribe(s))}),s},n.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},n.prototype.forEach=function(o,e){var n=this;return new(e=rt(e))(function(e,t){var r=new qe({next:function(e){try{o(e)}catch(e){t(e),r.unsubscribe()}},error:t,complete:e});n.subscribe(r)})},n.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},n.prototype[o]=function(){return this},n.prototype.pipe=function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return(0===(t=e).length?et:1===t.length?t[0]:function(e){return t.reduce(function(e,t){return t(e)},e)})(this)},n.prototype.toPromise=function(e){var o=this;return new(e=rt(e))(function(e,t){var r;o.subscribe(function(e){return r=e},function(e){return t(e)},function(){return e(r)})})},n.create=function(e){return new n(e)};var tt=n;function n(e){e&&(this._subscribe=e)}function rt(e){return null!=(e=null!=e?e:Re)?e:Promise}var ot,nt,st,it=Ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Be(i,st=tt),i.prototype.lift=function(e){var t=new at(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new it},i.prototype.next=function(n){var s=this;$e(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=Ae(s.currentObservers),o=r.next();!o.done;o=r.next())o.value.next(n)}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}}})},i.prototype.error=function(t){var r=this;$e(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)}})},i.prototype.complete=function(){var t=this;$e(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),st.prototype._trySubscribe.call(this,e)},i.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},i.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?Ie:(this.currentObservers=null,n.push(e),new Fe(function(){t.currentObservers=null,Le(n,e)}))},i.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},i.prototype.asObservable=function(){var e=new tt;return e.source=this,e},i.create=function(e,t){return new at(e,t)},i),at=(Be(s,nt=o),s.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},s.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},s.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},s.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ie},s),lt={now:function(){return(lt.delegate||Date).now()},delegate:void 0},ct=(Be(ut,ot=o),ut.prototype.next=function(e){var t=this,r=t.isStopped,o=t._buffer,n=t._infiniteTimeWindow,s=t._timestampProvider,t=t._windowTime;r||(o.push(e),n||o.push(s.now()+t)),this._trimBuffer(),ot.prototype.next.call(this,e)},ut.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,o=this._buffer.slice(),n=0;n<o.length&&!e.closed;n+=r?1:2)e.next(o[n]);return this._checkFinalizedStatuses(e),t},ut.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,o=this._infiniteTimeWindow,n=(o?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!o){for(var s=t.now(),i=0,a=1;a<r.length&&r[a]<=s;a+=2)i=a;i&&r.splice(0,i+1)}},ut);function ut(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=lt);var o=ot.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function s(e,t){var r=nt.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=st.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ht=[],ft={};const p=[];function pt(o,n=g){let s;const i=new Set;function a(e){if(S(o,e)&&(o=e,s)){const e=!p.length;for(const e of i)e[1](),p.push(e,o);if(e){for(let e=0;e<p.length;e+=2)p[e][0](p[e+1]);p.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=g){const r=[e,t];return i.add(r),1===i.size&&(s=n(a)||g),e(o),()=>{i.delete(r),0===i.size&&(s(),s=null)}}}}function dt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:pt(t,t=>{let r=!1;const o=[];let n=0,s=g;const i=()=>{var e;n||(s(),e=a(l?o[0]:o,t),u?t(e):s=re(e)?e:g)},e=c.map((e,t)=>k(e,e=>{o[t]=e,n&=~(1<<t),r&&i()},()=>{n|=1<<t}));return r=!0,i(),function(){X(e),s()}}).subscribe}}function mt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===gt));var t}var gt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function wt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Pt(Array.isArray(e)?[]:{},e,t):e}function yt(e,t,r){return e.concat(t).map(function(e){return wt(e,r)})}function bt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function Et(e,t){try{return t in e}catch(e){return!1}}function vt(o,n,s){var i={};return s.isMergeableObject(o)&&bt(o).forEach(function(e){i[e]=wt(o[e],s)}),bt(n).forEach(function(t){var e,r;(!Et(e=o,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(Et(o,t)&&s.isMergeableObject(n[t])?i[t]=function(e){if(!e.customMerge)return Pt;e=e.customMerge(t);return"function"==typeof e?e:Pt}(s)(o[t],n[t],s):i[t]=wt(n[t],s))}),i}function Pt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||yt,r.isMergeableObject=r.isMergeableObject||mt,r.cloneUnlessOtherwiseSpecified=wt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):vt(e,t,r):wt(t,r)}Pt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Pt(e,t,r)},{});throw new Error("first argument should be an array")};var Tt=Pt,_t=function(e,t){return(_t=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 Bt(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}_t(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,At,b=function(){return(b=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function St(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Ct(e){return e.type===y.number}function Nt(e){return e.type===y.date}function Lt(e){return e.type===y.time}function Ft(e){return e.type===y.select}function It(e){return e.type===y.plural}function Ot(e){return e.type===y.tag}function xt(e){return e&&"object"==typeof e&&e.type===At.number}function Rt(e){return e&&"object"==typeof e&&e.type===At.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=At=At||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Mt=/(?:[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 Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Dt=/^(@+)?(\+|#+)?[rs]?$/g,Gt=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function jt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Dt,function(e,t,r){return"string"!=typeof r?(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length):"+"===r?o.minimumSignificantDigits=t.length:"#"===t[0]?o.maximumSignificantDigits=t.length:(o.minimumSignificantDigits=t.length,o.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),o}function Vt(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 zt(e){return Vt(e)||{}}function Xt(e){for(var i={},t=0,r=e;t<r.length;t++){var o,n=r[t];switch(n.stem){case"percent":case"%":i.style="percent";continue;case"%x100":i.style="percent",i.scale=100;continue;case"currency":i.style="currency",i.currency=n.options[0];continue;case"group-off":case",_":i.useGrouping=!1;continue;case"precision-integer":case".":i.maximumFractionDigits=0;continue;case"measure-unit":case"unit":i.style="unit",i.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":i.notation="compact",i.compactDisplay="short";continue;case"compact-long":case"KK":i.notation="compact",i.compactDisplay="long";continue;case"scientific":i=b(b(b({},i),{notation:"scientific"}),n.options.reduce(function(e,t){return b(b({},e),zt(t))},{}));continue;case"engineering":i=b(b(b({},i),{notation:"engineering"}),n.options.reduce(function(e,t){return b(b({},e),zt(t))},{}));continue;case"notation-simple":i.notation="standard";continue;case"unit-width-narrow":i.currencyDisplay="narrowSymbol",i.unitDisplay="narrow";continue;case"unit-width-short":i.currencyDisplay="code",i.unitDisplay="short";continue;case"unit-width-full-name":i.currencyDisplay="name",i.unitDisplay="long";continue;case"unit-width-iso-code":i.currencyDisplay="symbol";continue;case"scale":i.scale=parseFloat(n.options[0]);continue;case"integer-width":if(1<n.options.length)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Gt,function(e,t,r,o,n,s){if(t)i.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if($t.test(n.stem))i.minimumIntegerDigits=n.stem.length;else if(kt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(kt,function(e,t,r,o,n,s){return"*"===r?i.minimumFractionDigits=t.length:o&&"#"===o[0]?i.maximumFractionDigits=o.length:n&&s?(i.minimumFractionDigits=n.length,i.maximumFractionDigits=n.length+s.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?i=b(b({},i),{trailingZeroDisplay:"stripIfInteger"}):s&&(i=b(b({},i),jt(s)))}else Dt.test(n.stem)?i=b(b({},i),jt(n.stem)):((s=Vt(n.stem))&&(i=b(b({},i),s)),(o=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)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(i=b(b({},i),o)))}return i}var Zt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var Kt=new RegExp("^".concat(o.source,"*")),qt=new RegExp("".concat(o.source,"*$"));function E(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Yt=!!String.fromCodePoint,Wt=!!Object.fromEntries,Jt=!!String.prototype.codePointAt,Qt=!!String.prototype.trimStart,er=!!String.prototype.trimEnd,tr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},rr=!0;try{rr="a"===(null==(Tr=hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Tr[0])}catch(g){rr=!1}var or,nr,sr=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ir=Yt?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,o="",n=e.length,s=0;s<n;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");o+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return o},ar=Wt?Object.fromEntries:function(e){for(var t={},r=0,o=e;r<o.length;r++){var n=o[r],s=n[0],n=n[1];t[s]=n}return t},lr=Jt?function(e,t){return e.codePointAt(t)}:function(e,t){var r,o=e.length;if(!(t<0||o<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===o||(o=e.charCodeAt(t+1))<56320||57343<o?r:o-56320+(r-55296<<10)+65536},cr=Qt?function(e){return e.trimStart()}:function(e){return e.replace(Kt,"")},ur=er?function(e){return e.trimEnd()}:function(e){return e.replace(qt,"")};function hr(e,t){return new RegExp(e,t)}nr=rr?(or=hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return or.lastIndex=t,null!=(t=or.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=lr(e,t);if(void 0===n||dr(n)||(33<=(r=n)&&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;o.push(n),t+=65536<=n?2:1}return ir.apply(void 0,o)};d.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},d.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&pr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;o.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}}else{s=this.clonePosition();this.bump(),o.push({type:y.pound,location:E(s,this.clonePosition())})}}}return{val:o,err:null}},d.prototype.parseTag=function(e,t){var r=this.clonePosition(),o=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(o,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!pr(this.char()))return this.error(m.INVALID_TAG,E(e,this.clonePosition()));var n=this.clonePosition();return o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,E(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:E(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(m.INVALID_TAG,E(r,this.clonePosition()))},d.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())},d.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=E(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},d.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(pr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},d.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 ir.apply(void 0,t)},d.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(),ir(r))},d.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,E(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},d.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=nr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},d.prototype.parseArgumentOptions=function(e,t,r,o){var n,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(i){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=ur(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:E(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(o)).err)return c;var u=E(o,this.clonePosition());if(l&&sr(null==l?void 0:l.style,"::",0)){var h=cr(l.style.slice(2));if("number"===i)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:u,style:d.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var f=h,p=(this.locale&&(f=function(e,t){for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var s=0;o+1<e.length&&e.charAt(o+1)===n;)s++,o++;var i=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Zt[t||""]||Zt[r||""]||Zt["".concat(r,"-001")]||Zt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<i--;)r=l+r}else r+="J"===n?"H":n}return r}(h,this.locale)),{type:At.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},f.replace(Mt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.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":n.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":n.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":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.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":n.minute=["numeric","2-digit"][t-1];break;case"s":n.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":n.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""}),n):{}});return{val:{type:"date"===i?y.date:y.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===i?y.number:"date"===i?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(f,b({},f)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),u=0;if("select"!==i&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=d.val}l=this.tryParsePluralOrSelectOptions(e,i,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(o)).err)return c;h=E(o,this.clonePosition());return"select"===i?{val:{type:y.select,value:r,options:ar(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:ar(l.val),offset:u,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,E(s,a))}},d.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},d.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(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(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}},d.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,o=e.split(Ut).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),i=0,a=n;i<a.length;i++)if(0===a[i].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Xt(r):{}},err:null}},d.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,s=[],i=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;s.push([a,{value:c.val,location:E(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},d.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;n=!0,s=10*s+(i-48),this.bump()}o=E(o,this.clonePosition());return n?tr(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},d.prototype.offset=function(){return this.position.offset},d.prototype.isEOF=function(){return this.offset()===this.message.length},d.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},d.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=lr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},d.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},d.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))},d.prototype.bumpIf=function(e){if(sr(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},d.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},d.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},d.prototype.bumpSpace=function(){for(;!this.isEOF()&&dr(this.char());)this.bump()},d.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var fr=d;function d(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function pr(e){return 97<=e&&e<=122||65<=e&&e<=90}function dr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function mr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new fr(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Ft(e)||It(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ct(e)&&xt(e.style)||(Nt(e)||Lt(e))&&Rt(e.style)?delete e.style.location:Ot(e)&&r(e.children)})}(e.val),e.val}function gr(e,t){var r=t&&t.cache?t.cache:_r,o=t&&t.serializer?t.serializer:Er;return(t&&t.strategy?t.strategy:function(e,t){return br(e,this,1===e.length?wr:yr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function wr(e,t,r,o){var r=null==o||"number"==typeof o||"boolean"==typeof o?o:r(o),n=t.get(r);return void 0===n&&(n=e.call(this,o),t.set(r,n)),n}function yr(e,t,r){var o=Array.prototype.slice.call(arguments,3),r=r(o),n=t.get(r);return void 0===n&&(n=e.apply(this,o),t.set(r,n)),n}function br(e,t,r,o,n){return r.bind(t,e,o,n)}var Er=function(){return JSON.stringify(arguments)};function vr(){this.cache=Object.create(null)}vr.prototype.get=function(e){return this.cache[e]},vr.prototype.set=function(e,t){this.cache[e]=t};var Pr,Tr,_r={create:function(){return new vr}},Br={variadic:function(e,t){return br(e,this,yr,t.cache.create(),t.serializer)},monadic:function(e,t){return br(e,this,wr,t.cache.create(),t.serializer)}};(Tr=Pr=Pr||{}).MISSING_VALUE="MISSING_VALUE",Tr.INVALID_VALUE="INVALID_VALUE",Tr.MISSING_INTL_API="MISSING_INTL_API";Bt(Mr,Cr=Error),Mr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Ar,Sr,Hr,Cr,Nr=Mr,Lr=(Bt(Rr,Hr=Nr),Rr),Fr=(Bt(xr,Sr=Nr),xr),Ir=(Bt(Or,Ar=Nr),Or);function Or(e,t){return Ar.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Pr.MISSING_VALUE,t)||this}function xr(e,t,r){return Sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function Rr(e,t,r,o){return Hr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Pr.INVALID_VALUE,o)||this}function Mr(e,t,r){e=Cr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Ur(e,t,r,o,n,s,i){if(1===e.length&&Ht(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&a.push({type:v.literal,value:r.getNumberFormat(t).format(s)});else{var h=u.value;if(!(n&&h in n))throw new Ir(h,i);h=n[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Nt(u)){var f="string"==typeof u.style?o.date[u.style]:Rt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Lt(u))f="string"==typeof u.style?o.time[u.style]:Rt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(Ct(u))(f="string"==typeof u.style?o.number[u.style]:xt(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(h*=f.scale||1),a.push({type:v.literal,value:r.getNumberFormat(t,f).format(h)});else{if(Ot(u)){var p=u.children,d=u.value,m=n[d];if("function"!=typeof m)throw new Fr(d,"function",i);d=m(Ur(p,t,r,o,n,s).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(Ft(u)){if(!(g=u.options[h]||u.options.other))throw new Lr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n))}else if(It(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Nr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Pr.MISSING_INTL_API,i);var m=r.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0)),g=u.options[m]||u.options.other}if(!g)throw new Lr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function kr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=mr,P.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Dr=P;function P(e,t,r,o){var n,s,i=this;if(void 0===t&&(t=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ur(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=t,this.resolvedLocale=P.resolveLocale(t),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=P.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=s[t])?b(b(b({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),o[t]||{}),e},{})):r),e},b({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,St([void 0],t,!1)))},{cache:kr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Br.variadic}),getDateTimeFormat:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,St([void 0],t,!1)))},{cache:kr(t.dateTime),strategy:Br.variadic}),getPluralRules:gr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,St([void 0],t,!1)))},{cache:kr(t.pluralRules),strategy:Br.variadic})}}const T={},Gr=(e,t,r)=>r&&(t in T||(T[t]={}),e in T[t]||(T[t][e]=r),r),$r=(t,r)=>{if(null!=r){if(r in T&&t in T[r])return T[r][t];var o=no(r);for(let e=0;e<o.length;e++){var n=function(e,r){if(!zr(e))return null;e=function(e){return jr[e]||null}(e);{var o=r;if(null==o)return;if(o in e)return e[o];const n=o.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const o=n.slice(e,n.length).join(".");if(o in t){t=t[o];break}}t=t[n[e]]}else t=void 0;return t}}(o[e],t);if(n)return Gr(t,r,n)}}};let jr;const Vr=pt({});function zr(e){return e in jr}function Xr(t,...r){delete T[t],Vr.update(e=>(e[t]=Tt.all([e[t]||{},...r]),e))}dt([Vr],([e])=>Object.keys(e)),Vr.subscribe(e=>jr=e);const Zr={};function Kr(e){return Zr[e]}function qr(e){return null!=e&&no(e).some(e=>{return null==(e=Kr(e))?void 0:e.size})}const Yr={};function Wr(e){if(!qr(e))return e in Yr?Yr[e]:Promise.resolve();const t=no(e).map(e=>{var t=Kr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Yr[e]=Promise.all(t.map(([e,t])=>{{var o=e;e=t;const r=Promise.all(e.map(e=>{var t=o,r=e;return Zr[t].delete(r),0===Zr[t].size&&delete Zr[t],e().then(e=>e.default||e)}));return r.then(e=>Xr(o,...e))}})).then(()=>{if(qr(e))return Wr(e);delete Yr[e]}),Yr[e]}function Jr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}const Qr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const eo=pt(!1);let to;const ro=pt(null);function oo(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function no(e,t=Qr.fallbackLocale){e=oo(e);return t?[...new Set([...e,...oo(t)])]:e}function _(){return null!=to?to:void 0}ro.subscribe(e=>{to=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const so=Object.assign(Object.assign({},ro),{set:t=>{if(t&&function(e){if(null!=e){var t=no(e);for(let e=0;e<t.length;e++){var r=t[e];if(zr(r))return r}}}(t)&&qr(t)){var r=Qr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=_()&&r?e=window.setTimeout(()=>eo.set(!0),r):eo.set(!0),Wr(t).then(()=>{ro.set(t)}).finally(()=>{clearTimeout(e),eo.set(!1)})}return ro.set(t)}}),io=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},ao=(e,t)=>{var r=Qr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lo=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=ao("number",r)),new Intl.NumberFormat(t,e)}),co=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=ao("date",r):0===Object.keys(e).length&&(e=ao("date","short")),new Intl.DateTimeFormat(t,e)}),uo=io(e=>{var{locale:t,format:r}=e,e=Jr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=ao("time",r):0===Object.keys(e).length&&(e=ao("time","short")),new Intl.DateTimeFormat(t,e)}),ho=io((e,t=_())=>new Dr(e,t,Qr.formats,{ignoreTag:Qr.ignoreTag})),fo=dt([so,Vr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:i=_(),default:a}=n;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=$r(e,i);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(o=null!=(r=null==(r=(o=Qr).handleMissingMessage)?void 0:r.call(o,{locale:i,id:e,defaultValue:a}))?r:a)?o:e;if(!s)return l;let c=l;try{c=ho(l,i).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function po(e,t){Xr(e,t)}dt([so],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return uo(Object.assign({locale:t},e))})(t).format(e)),dt([so],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return co(Object.assign({locale:t},e))})(t).format(e)),dt([so],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Jr(e,["locale"]);return lo(Object.assign({locale:t},e))})(t).format(e)),dt([so,Vr],()=>(e,t=_())=>$r(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ht.indexOf(e)&&(t=new ct(t),ft[e]=t,ht.push(e)),ft[e]}};const mo={en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long."}},zh:{forgotPasswordForm:{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"}},fr:{forgotPasswordForm:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Onay şifresi yeni şifreyle eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için tıklayınız",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},es:{forgotPasswordForm:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvidaste tu contraseña",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"El e-mail debe contener '@' y un dominio de 2-3 letras.",forgotPasswordEmailError:"Este e-mail no existe.",forgotPasswordReset:"Redefinir contraseña",forgotPasswordSuccess:"¡Éxito!",forgotPasswordSuccessDescription:"Le hemos enviado un e-mail con instrucciones para restablecer su contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener de 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar la contraseña",forgotNewPasswordConfirmPasswordError:"La contraseña de confirmación debe coincidir con la nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar la contraseña",forgotChangePasswordTitle:"¡Éxito!",forgotChangePasswordDescription:"Su contraseña ha sido cambiada con éxito.",forgotChangePasswordLogin:"Haga clic aquí para ingresar",simplePasswordError:"La contraseña debe tener entre 8 y 20 caracteres."}},pt:{forgotPasswordForm:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres."}}};function go(e){let r,o;return{c(){C((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[1])||Q(r,"src",o),r.async=!0,r.defer=!0},m(e,t){K(e,r,t)},p(e,t){2&t[0]&&!C(r.src,o="//www.google.com/recaptcha/api.js?render="+e[1])&&Q(r,"src",o)},d(e){e&&q(r)}}}function wo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,B,A,S=r[21]("forgotPasswordForm.forgotChangePasswordTitle")+"",H=r[21]("forgotPasswordForm.forgotChangePasswordDescription")+"",C=r[21]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=t("div"),n=t("div"),s=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=Y(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=G("g"),h=G("g"),f=G("path"),p=G("g"),d=G("circle"),m=G("circle"),g=W(),w=t("h4"),y=Y(S),b=W(),E=t("p"),v=Y(H),P=W(),T=t("button"),_=Y(C),Q(f,"class","a"),Q(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),Q(f,"transform","translate(264.272 482.563)"),Q(h,"transform","translate(-7360.574 8503.438)"),Q(d,"class","c"),Q(d,"cx","30"),Q(d,"cy","30"),Q(d,"r","30"),Q(m,"class","d"),Q(m,"cx","30"),Q(m,"cy","30"),Q(m,"r","29"),Q(p,"class","b"),Q(p,"transform","translate(-7106 8970)"),Q(u,"transform","translate(7106 -8970)"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"width","60"),Q(i,"height","60"),Q(i,"viewBox","0 0 60 60"),Q(s,"class","NewPasswordSuccess"),Q(s,"part","NewPasswordSuccess"),Q(T,"class","resetPasswordButton"),Q(T,"part","resetPasswordButton"),Q(n,"class","FormContent"),Q(n,"part","FormContent"),Q(o,"class","FormLeftSide"),Q(o,"part","FormLeftSide")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(i,a),Z(a,l),Z(l,c),Z(i,u),Z(u,h),Z(h,f),Z(u,p),Z(p,d),Z(p,m),Z(s,g),Z(s,w),Z(w,y),Z(s,b),Z(s,E),Z(E,v),Z(n,P),Z(n,T),Z(T,_),B||(A=J(T,"click",r[44]),B=!0)},p(e,t){2097152&t[0]&&S!==(S=e[21]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&ee(y,S),2097152&t[0]&&H!==(H=e[21]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&ee(v,H),2097152&t[0]&&C!==(C=e[21]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&ee(_,C)},d(e){e&&q(o),B=!1,A()}}}function yo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,U,y,b,E,k,v,D,P,G,T,$,_,B,A,S,j,H=r[21]("forgotPasswordForm.forgotNewPasswordTitle")+"",C=r[21]("forgotPasswordForm.forgotNewPasswordPassword")+"",N=r[21]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",L=r[21]("forgotPasswordForm.forgotNewPasswordButton")+"";function V(e){return e[17]?Po:vo}let F=V(r),I=F(r),O=r[13]&&To(r);function z(e){return e[18]?So:Ao}let x=z(r),R=x(r),M=r[14]&&Ho(r);return{c(){o=t("div"),n=t("div"),s=t("h4"),i=Y(H),a=W(),l=t("form"),c=t("div"),u=t("label"),h=Y(C),f=Y(":"),(p=t("span")).textContent="*",d=W(),m=t("input"),g=W(),I.c(),w=W(),O&&O.c(),U=W(),y=t("div"),b=t("label"),E=Y(N),k=Y(":"),(v=t("span")).textContent="*",D=W(),P=t("input"),G=W(),R.c(),T=W(),M&&M.c(),$=W(),_=t("button"),B=Y(L),Q(s,"class","FormHeaderTitle"),Q(s,"part","FormHeaderTitle"),Q(n,"class","FormHeader"),Q(n,"part","FormHeader"),Q(p,"class","FormRequired"),Q(p,"part","FormRequired"),Q(u,"for","NewPassword"),Q(m,"type","password"),Q(m,"id","new-password"),Q(m,"autocomplete","new-password"),Q(c,"class","NewPassword"),Q(c,"part","NewPassword"),Q(v,"class","FormRequired"),Q(v,"part","FormRequired"),Q(b,"for","RetypePassword"),Q(P,"type","password"),Q(P,"id","RetypePassword"),Q(y,"class","ConfirmPassword"),Q(y,"part","ConfirmPassword"),Q(_,"class","resetPasswordButton"),Q(_,"part","resetPasswordButton"),_.disabled=A=!r[12],Q(l,"class","FormContent"),Q(l,"part","FormContent"),Q(o,"class","FormLeftSide test"),Q(o,"part","FormLeftSide test")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(o,a),Z(o,l),Z(l,c),Z(c,u),Z(u,h),Z(u,f),Z(u,p),Z(c,d),Z(c,m),te(m,r[19]),r[36](m),Z(c,g),I.m(c,null),Z(c,w),O&&O.m(c,null),Z(l,U),Z(l,y),Z(y,b),Z(b,E),Z(b,k),Z(b,v),Z(y,D),Z(y,P),te(P,r[20]),r[40](P),Z(y,G),R.m(y,null),Z(y,T),M&&M.m(y,null),Z(l,$),Z(l,_),Z(_,B),S||(j=[J(m,"input",r[35]),J(m,"keyup",function(){re(r[27](r[13],r[19],r[15]))&&r[27](r[13],r[19],r[15]).apply(this,arguments)}),J(P,"input",r[39]),J(P,"keyup",function(){re(r[27](r[14],r[20],r[16]))&&r[27](r[14],r[20],r[16]).apply(this,arguments)}),J(_,"click",r[43])],S=!0)},p(e,t){r=e,2097152&t[0]&&H!==(H=r[21]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&ee(i,H),2097152&t[0]&&C!==(C=r[21]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&ee(h,C),524288&t[0]&&m.value!==r[19]&&te(m,r[19]),F===(F=V(r))&&I?I.p(r,t):(I.d(1),(I=F(r))&&(I.c(),I.m(c,w))),r[13]?O?O.p(r,t):((O=To(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),2097152&t[0]&&N!==(N=r[21]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&ee(E,N),1048576&t[0]&&P.value!==r[20]&&te(P,r[20]),x===(x=z(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(y,T))),r[14]?M?M.p(r,t):((M=Ho(r)).c(),M.m(y,null)):M&&(M.d(1),M=null),2097152&t[0]&&L!==(L=r[21]("forgotPasswordForm.forgotNewPasswordButton")+"")&&ee(B,L),4096&t[0]&&A!==(A=!r[12])&&(_.disabled=A)},d(e){e&&q(o),r[36](null),I.d(),O&&O.d(),r[40](null),R.d(),M&&M.d(),S=!1,X(j)}}}function bo(e){let r,o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v=e[21]("forgotPasswordForm.forgotPasswordSuccess")+"",P=e[21]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),n=t("div"),s=G("svg"),i=G("defs"),a=G("style"),l=Y(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),c=G("g"),u=G("g"),h=G("path"),f=G("g"),p=G("circle"),d=G("circle"),m=W(),g=t("h4"),w=Y(v),y=W(),b=t("p"),E=Y(P),Q(h,"class","a"),Q(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),Q(h,"transform","translate(264.272 482.563)"),Q(u,"transform","translate(-7360.574 8503.438)"),Q(p,"class","c"),Q(p,"cx","30"),Q(p,"cy","30"),Q(p,"r","30"),Q(d,"class","d"),Q(d,"cx","30"),Q(d,"cy","30"),Q(d,"r","29"),Q(f,"class","b"),Q(f,"transform","translate(-7106 8970)"),Q(c,"transform","translate(7106 -8970)"),Q(s,"xmlns","http://www.w3.org/2000/svg"),Q(s,"width","60"),Q(s,"height","60"),Q(s,"viewBox","0 0 60 60"),Q(n,"class","NewPasswordSuccess"),Q(n,"part","NewPasswordSuccess"),Q(o,"class","FormContent"),Q(o,"part","FormContent"),Q(r,"class","FormLeftSide"),Q(r,"part","FormLeftSide")},m(e,t){K(e,r,t),Z(r,o),Z(o,n),Z(n,s),Z(s,i),Z(i,a),Z(a,l),Z(s,c),Z(c,u),Z(u,h),Z(c,f),Z(f,p),Z(f,d),Z(n,m),Z(n,g),Z(g,w),Z(n,y),Z(n,b),Z(b,E)},p(e,t){2097152&t[0]&&v!==(v=e[21]("forgotPasswordForm.forgotPasswordSuccess")+"")&&ee(w,v),2097152&t[0]&&P!==(P=e[21]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&ee(E,P)},d(e){e&&q(r)}}}function Eo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,U,B,A,S,k,H,C,N,L,D,F=r[21]("forgotPasswordForm.goToLogin")+"",I=r[21]("forgotPasswordForm.forgotPasswordTitle")+"",O=r[21]("forgotPasswordForm.forgotPasswordEmail")+"",x=r[21]("forgotPasswordForm.forgotPasswordReset")+"",R=r[10]&&Co(r),M=r[4]&&No(r);return{c(){o=t("div"),n=t("div"),s=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=Y(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=G("path"),h=W(),f=Y(F),p=W(),d=t("h4"),m=Y(I),g=W(),w=t("form"),y=t("div"),b=t("label"),E=Y(O),v=Y(":"),(P=t("span")).textContent="*",T=W(),_=t("input"),U=W(),R&&R.c(),B=W(),M&&M.c(),k=W(),H=t("button"),C=Y(x),Q(u,"class","a"),Q(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Q(u,"transform","translate(24 24) rotate(180)"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"viewBox","0 0 24 24"),Q(s,"class","backButtonForgotPassword"),Q(s,"part","backButtonForgotPassword"),Q(d,"class","FormHeaderTitle"),Q(d,"part","FormHeaderTitle"),Q(n,"class","FormHeader"),Q(n,"part","FormHeader"),Q(P,"class","FormRequired"),Q(P,"part","FormRequired"),Q(b,"for","ResetPasswordByEmail"),Q(_,"type","text"),Q(_,"id","ResetPasswordByEmail"),Q(y,"class",A="ResetPasswordByEmail "+(r[10]?"InvalidField":"")),Q(y,"part",S="ResetPasswordByEmail "+(r[10]?"InvalidField":"")),Q(H,"class","resetPasswordButton"),Q(H,"part","resetPasswordButton"),H.disabled=N=!r[11],Q(w,"class","FormContent"),Q(w,"part","FormContent"),Q(o,"class","FormLeftSide"),Q(o,"part","FormLeftSide")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(i,a),Z(a,l),Z(l,c),Z(i,u),Z(s,h),Z(s,f),Z(n,p),Z(n,d),Z(d,m),Z(o,g),Z(o,w),Z(w,y),Z(y,b),Z(b,E),Z(b,v),Z(b,P),Z(y,T),Z(y,_),te(_,r[6]),Z(y,U),R&&R.m(y,null),Z(y,B),M&&M.m(y,null),Z(w,k),Z(w,H),Z(H,C),L||(D=[J(s,"click",r[32]),J(_,"input",r[33]),J(_,"keyup",r[22]),J(H,"click",r[34])],L=!0)},p(e,t){2097152&t[0]&&F!==(F=e[21]("forgotPasswordForm.goToLogin")+"")&&ee(f,F),2097152&t[0]&&I!==(I=e[21]("forgotPasswordForm.forgotPasswordTitle")+"")&&ee(m,I),2097152&t[0]&&O!==(O=e[21]("forgotPasswordForm.forgotPasswordEmail")+"")&&ee(E,O),64&t[0]&&_.value!==e[6]&&te(_,e[6]),e[10]?R?R.p(e,t):((R=Co(e)).c(),R.m(y,B)):R&&(R.d(1),R=null),e[4]?M?M.p(e,t):((M=No(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),1024&t[0]&&A!==(A="ResetPasswordByEmail "+(e[10]?"InvalidField":""))&&Q(y,"class",A),1024&t[0]&&S!==(S="ResetPasswordByEmail "+(e[10]?"InvalidField":""))&&Q(y,"part",S),2097152&t[0]&&x!==(x=e[21]("forgotPasswordForm.forgotPasswordReset")+"")&&ee(C,x),2048&t[0]&&N!==(N=!e[11])&&(H.disabled=N)},d(e){e&&q(o),R&&R.d(),M&&M.d(),L=!1,X(D)}}}function vo(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),Q(l,"class","a"),Q(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"),Q(l,"transform","translate(0)"),Q(c,"class","a"),Q(c,"cx","2.779"),Q(c,"cy","2.779"),Q(c,"r","2.779"),Q(c,"transform","translate(20.827 30.303)"),Q(a,"transform","translate(-14.185 -27.832)"),Q(o,"class",u="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.843"),Q(o,"height","10.5"),Q(o,"viewBox","0 0 18.843 10.5")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(o,a),Z(a,l),Z(a,c),h||(f=J(o,"click",r[38]),h=!0)},p(e,t){8192&t[0]&&u!==(u="TogglePasswordVisibility "+(e[13]?"InvalidToggle":""))&&Q(o,"class",u)},d(e){e&&q(o),h=!1,f()}}}function Po(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("circle"),c=G("g"),u=G("path"),h=G("path"),f=G("g"),p=G("path"),d=G("path"),m=G("rect"),Q(l,"class","a"),Q(l,"cx","0.05"),Q(l,"cy","0.05"),Q(l,"r","0.05"),Q(l,"transform","translate(121.017 31.148)"),Q(u,"class","a"),Q(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Q(u,"transform","translate(-142.164 -39.123)"),Q(h,"class","a"),Q(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Q(h,"transform","translate(-136.413 -42.068)"),Q(c,"transform","translate(117.499 27.37)"),Q(p,"class","a"),Q(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Q(p,"transform","translate(-110.856 -33.157)"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-130.743 -29.617)"),Q(f,"transform","translate(110.856 24.899)"),Q(m,"class","a"),Q(m,"width","0.972"),Q(m,"height","15.861"),Q(m,"rx","0.486"),Q(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Q(a,"transform","translate(-110.856 -23.242)"),Q(o,"class",g="TogglePasswordVisibility "+(r[13]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.844"),Q(o,"height","12.887"),Q(o,"viewBox","0 0 18.844 12.887")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(o,a),Z(a,l),Z(a,c),Z(c,u),Z(c,h),Z(a,f),Z(f,p),Z(f,d),Z(a,m),w||(y=J(o,"click",r[37]),w=!0)},p(e,t){8192&t[0]&&g!==(g="TogglePasswordVisibility "+(e[13]?"InvalidToggle":""))&&Q(o,"class",g)},d(e){e&&q(o),w=!1,y()}}}function To(e){let r;function o(e){return"true"==e[2]?Bo:_o}let n=o(e),s=n(e);return{c(){s.c(),r=N()},m(e,t){s.m(e,t),K(e,r,t)},p(e,t){n===(n=o(e))&&s?s.p(e,t):(s.d(1),(s=n(e))&&(s.c(),s.m(r.parentNode,r)))},d(e){s.d(e),e&&q(r)}}}function _o(e){let r,o,n=e[21]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=Y(n),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&n!==(n=e[21]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&ee(o,n)},d(e){e&&q(r)}}}function Bo(e){let r,o,n=e[21]("forgotPasswordForm.simplePasswordError")+"";return{c(){r=t("p"),o=Y(n),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&n!==(n=e[21]("forgotPasswordForm.simplePasswordError")+"")&&ee(o,n)},d(e){e&&q(r)}}}function Ao(r){let o,n,s,i,a,l,c,u,h,f,p;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),Q(l,"class","a"),Q(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"),Q(l,"transform","translate(0)"),Q(c,"class","a"),Q(c,"cx","2.779"),Q(c,"cy","2.779"),Q(c,"r","2.779"),Q(c,"transform","translate(20.827 30.303)"),Q(a,"transform","translate(-14.185 -27.832)"),Q(o,"class",u="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"part",h="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.843"),Q(o,"height","10.5"),Q(o,"viewBox","0 0 18.843 10.5")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(o,a),Z(a,l),Z(a,c),f||(p=J(o,"click",r[42]),f=!0)},p(e,t){16384&t[0]&&u!==(u="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"class",u),16384&t[0]&&h!==(h="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"part",h)},d(e){e&&q(o),f=!1,p()}}}function So(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=Y(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("circle"),c=G("g"),u=G("path"),h=G("path"),f=G("g"),p=G("path"),d=G("path"),m=G("rect"),Q(l,"class","a"),Q(l,"cx","0.05"),Q(l,"cy","0.05"),Q(l,"r","0.05"),Q(l,"transform","translate(121.017 31.148)"),Q(u,"class","a"),Q(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),Q(u,"transform","translate(-142.164 -39.123)"),Q(h,"class","a"),Q(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),Q(h,"transform","translate(-136.413 -42.068)"),Q(c,"transform","translate(117.499 27.37)"),Q(p,"class","a"),Q(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),Q(p,"transform","translate(-110.856 -33.157)"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-130.743 -29.617)"),Q(f,"transform","translate(110.856 24.899)"),Q(m,"class","a"),Q(m,"width","0.972"),Q(m,"height","15.861"),Q(m,"rx","0.486"),Q(m,"transform","translate(114.827 23.858) rotate(-39.315)"),Q(a,"transform","translate(-110.856 -23.242)"),Q(o,"class",g="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"part",w="TogglePasswordVisibility "+(r[14]?"InvalidToggle":"")),Q(o,"xmlns","http://www.w3.org/2000/svg"),Q(o,"width","18.844"),Q(o,"height","12.887"),Q(o,"viewBox","0 0 18.844 12.887")},m(e,t){K(e,o,t),Z(o,n),Z(n,s),Z(s,i),Z(o,a),Z(a,l),Z(a,c),Z(c,u),Z(c,h),Z(a,f),Z(f,p),Z(f,d),Z(a,m),y||(b=J(o,"click",r[41]),y=!0)},p(e,t){16384&t[0]&&g!==(g="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"class",g),16384&t[0]&&w!==(w="TogglePasswordVisibility "+(e[14]?"InvalidToggle":""))&&Q(o,"part",w)},d(e){e&&q(o),y=!1,b()}}}function Ho(e){let r,o,n=e[21]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=Y(n),Q(r,"class","InvalidInput"),Q(r,"part","InvalidInput")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&n!==(n=e[21]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&ee(o,n)},d(e){e&&q(r)}}}function Co(e){let r,o,n=e[21]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=Y(n),Q(r,"class","ForgotPasswordError"),Q(r,"part","ForgotPasswordError")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&n!==(n=e[21]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&ee(o,n)},d(e){e&&q(r)}}}function No(e){let r,o,n=e[21]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=t("p"),o=Y(n),Q(r,"class","ForgotPasswordError"),Q(r,"part","ForgotPasswordError")},m(e,t){K(e,r,t),Z(r,o)},p(e,t){2097152&t[0]&&n!==(n=e[21]("forgotPasswordForm.forgotPasswordEmailError")+"")&&ee(o,n)},d(e){e&&q(r)}}}function Lo(e){let r;return{c(){Q(r=t("div"),"class","FormRightSide"),Q(r,"part","FormRightSide"),L(r,"background-image","url('"+e[0]+"')")},m(e,t){K(e,r,t)},p(e,t){1&t[0]&&L(r,"background-image","url('"+e[0]+"')")},d(e){e&&q(r)}}}function Fo(e){let r,o,n,s,i,a=e[1]&&go(e),l=function(e){let r,o,n;function s(e){return e[3]?Eo:e[5]?bo:e[7]?yo:e[8]?wo:void 0}let i=s(e),a=i&&i(e),l=!e[9]&&Lo(e);return{c(){r=t("div"),a&&a.c(),o=W(),l&&l.c(),Q(r,"class",n="FormContainer "+(e[9]?"FormMobileContainer":"")),Q(r,"part","FormContainer")},m(e,t){K(e,r,t),a&&a.m(r,null),Z(r,o),l&&l.m(r,null)},p(e,t){i===(i=s(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(r,o))),e[9]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Lo(e)).c(),l.m(r,null)),512&t[0]&&n!==(n="FormContainer "+(e[9]?"FormMobileContainer":""))&&Q(r,"class",n)},d(e){e&&q(r),a&&a.d(),l&&l.d()}}}(e);return{c(){a&&a.c(),r=N(),o=W(),n=t("div"),s=W(),l.c(),i=N(),this.c=g,Q(n,"class","g-recaptcha"),Q(n,"data-sitekey",e[1])},m(e,t){a&&a.m(document.head,null),Z(document.head,r),K(e,o,t),K(e,n,t),K(e,s,t),l.m(e,t),K(e,i,t)},p(e,t){e[1]?a?a.p(e,t):((a=go(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null),2&t[0]&&Q(n,"data-sitekey",e[1]),l.p(e,t)},i:g,o:g,d(e){a&&a.d(e),q(r),e&&q(o),e&&q(n),e&&q(s),l.d(e),e&&q(i)}}}function Io(t,e,o){let r;var n=fo;t.$$.on_destroy.push(k(n,e=>o(21,r=e)));let s,i,{endpoint:a=""}=e,{forgotpasswordkey:l=""}=e,{imagedesktop:c=""}=e,{captchakey:u=""}=e,{lang:h=""}=e,{simplepasswordvalidation:f="false"}=e,{translationUrl:p=""}=e,d=!0,m=!1,g=!1,w="",y=!1,b=!1,E=!1,v,P,R=window.navigator.userAgent,M,T=!1,_=!1,B=!1,A=!1,S="",H="";Object.keys(mo).forEach(e=>{po(e,mo[e])});const C={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},N=e=>{switch(e){case"userNewPassword":o(17,B=!B),o(15,s.type=B?"text":"password",s);break;case"userConfirmPassword":o(18,A=!A),o(16,i.type=A?"text":"password",i)}},L=e=>{switch(e){case"ToEmailSuccess":o(4,m=!1),o(3,d=!1),o(5,g=!0);break;case"ToReset":o(3,d=!1),o(7,y=!0);break;case"ToSuccess":o(7,y=!1),o(8,b=!0)}},F=()=>{window.postMessage({type:"ToLogin"},window.location.href)},I=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(u,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{let t=new URL(a+"/player/resetpassword"),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",w),fetch(t,r).then(e=>{200==e.status?L("ToEmailSuccess"):o(4,m=!0)})})},O=e=>{e.preventDefault();var e=new URL(a+"/player/ResetPasswordByHashKey"),t={hashKey:l,plainTextPassword:S},t={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e,t).then(e=>{200==e.status&&L("ToSuccess")})},x=e=>("true"==f&&(C.password=/^(?!.* ).{8,20}$/),!!C.password.test(e));return n=async()=>{var e;((e=R).toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i))&&o(9,E=!0)},function(){if(U)return U;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"endpoint"in e&&o(28,a=e.endpoint),"forgotpasswordkey"in e&&o(29,l=e.forgotpasswordkey),"imagedesktop"in e&&o(0,c=e.imagedesktop),"captchakey"in e&&o(1,u=e.captchakey),"lang"in e&&o(30,h=e.lang),"simplepasswordvalidation"in e&&o(2,f=e.simplepasswordvalidation),"translationUrl"in e&&o(31,p=e.translationUrl)},t.$$.update=()=>{var e;536870912&t.$$.dirty[0]&&l&&l&&0<l.length&&L("ToReset"),1073741824&t.$$.dirty[0]&&h&&(e=h,so.set(e)),1&t.$$.dirty[1]&&p&&fetch(p).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{po(e,t[e])})}).catch(e=>{console.log(e)})},[c,u,f,d,m,g,w,y,b,E,!1,!1,!1,T,_,s,i,B,A,S,H,r,()=>{var e;o(10,(e=w,v=!(C.email.test(e)&&e.length<=100))),o(11,P=!v)},N,F,I,O,(e,t,r)=>{"new-password"===r.id?(o(13,T=!x(t)),H&&o(14,_=S!==H||!x(t))):o(14,_=S!==H||!x(t)),o(12,M=!(T||_||!S||!H))},a,l,h,p,()=>F(),function(){w=this.value,o(6,w)},e=>I(e),function(){S=this.value,o(19,S)},function(e){D[e?"unshift":"push"](()=>{s=e,o(15,s)})},()=>N("userNewPassword"),()=>N("userNewPassword"),function(){H=this.value,o(20,H)},function(e){D[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>N("userConfirmPassword"),()=>N("userConfirmPassword"),e=>O(e),()=>F()]}class Oo extends ne{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'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px;line-height:24px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px;height:460px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.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)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.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)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{flex:1 1 100%;padding:50px}.FormMobileContainer{height:100%}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormLeftSide{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>",oe(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},Io,Fo,S,{endpoint:28,forgotpasswordkey:29,imagedesktop:0,captchakey:1,lang:30,simplepasswordvalidation:2,translationUrl:31},null,[-1,-1]),e&&(e.target&&K(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang","simplepasswordvalidation","translationUrl"]}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),w()}get forgotpasswordkey(){return this.$$.ctx[29]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),w()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(e){this.$$set({imagedesktop:e}),w()}get captchakey(){return this.$$.ctx[1]}set captchakey(e){this.$$set({captchakey:e}),w()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),w()}get simplepasswordvalidation(){return this.$$.ctx[2]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),w()}get translationUrl(){return this.$$.ctx[31]}set translationUrl(e){this.$$set({translationUrl:e}),w()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Oo),Oo});
|
|
2
2
|
//# sourceMappingURL=general-player-forgot-password-form.js.map
|