@everymatrix/general-player-forgot-password-form 1.16.1 → 1.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function f(){}function _(e){return e()}function B(){return Object.create(null)}function q(e){e.forEach(_)}function Y(e){return"function"==typeof e}function A(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let S;function C(e,t){return(S=S||document.createElement("a")).href=t,e===S.href}function j(e,...t){if(null==e)return f;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}var H="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function W(e,t){e.appendChild(t)}function J(e,t,r){e.insertBefore(t,r||null)}function Q(e){e.parentNode&&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 ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function N(){return ee("")}function re(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function oe(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ne(e,t){e.data!==(t=""+t)&&(e.data=t)}function se(e,t){e.value=null==t?"":t}let V;function L(e){V=e}const p=[],z=[];let s=[];const I=[],O=Promise.resolve();let x=!1;function R(e){s.push(e)}const F=new Set;let M=0;function d(){if(0===M){const o=V;do{try{for(;M<p.length;){const o=p[M];M++,L(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),q(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(R))}}catch(o){throw p.length=0,M=0,o}for(L(null),p.length=0,M=0;z.length;)z.pop()();for(let e=0;e<s.length;e+=1){var r=s[e];F.has(r)||(F.add(r),r())}}while(s.length=0,p.length);for(;I.length;)I.pop()();x=!1,F.clear(),L(o)}}const k=new Set;function U(o,e,t,r,n,s,i,a=[-1]){var l=V;L(o);const c=o.$$={fragment:null,ctx:[],props:s,update:f,not_equal:n,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:B(),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]&&(p.push(e),x||(x=!0,O.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,q(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const f=Array.from(s.childNodes);c.fragment&&c.fragment.l(f),f.forEach(Q)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(k.delete(a),a.i(void 0));var h=o,i=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=h.$$;s&&s.m(i,t),r||R(()=>{var e=h.$$.on_mount.map(_).filter(Y);h.$$.on_destroy?h.$$.on_destroy.push(...e):q(e),h.$$.on_mount=[]}),a.forEach(R),d()}L(l)}let D;"function"==typeof HTMLElement&&(D=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(_).filter(Y);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],n=[];s.forEach(e=>(-1===r.indexOf(e)?o:n).push(e)),n.forEach(e=>e()),s=o}q(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=f}$on(e,t){if(!Y(t))return f;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 $,X,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},Z="URLSearchParams"in l,K="Symbol"in l&&"iterator"in Symbol,ie="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),ae="FormData"in l,le="ArrayBuffer"in l;function ce(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 ue(e){return e="string"!=typeof e?String(e):e}function he(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return K&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function fe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function pe(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function de(e){var t=new FileReader,r=pe(t);return t.readAsArrayBuffer(e),r}function me(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function ge(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ie&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:ae&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():le&&ie&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=me(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):le&&(ArrayBuffer.prototype.isPrototypeOf(e)||X(e))?this._bodyArrayBuffer=me(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ie&&(this.blob=function(){var e=fe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return fe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(ie)return this.blob().then(de);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=fe(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=pe(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,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)},ae&&(this.formData=function(){return this.text().then(ye)}),this.json=function(){return this.text().then(JSON.parse)},this}le&&($=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],X=ArrayBuffer.isView||function(e){return e&&-1<$.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=ce(e),t=ue(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[ce(e)]},c.prototype.get=function(e){return e=ce(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(ce(e))},c.prototype.set=function(e,t){this.map[ce(e)]=ue(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),he(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),he(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),he(r)},K&&(c.prototype[Symbol.iterator]=c.prototype.entries);var we=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<we.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==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 ye(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},ge.call(u.prototype),ge.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var be=[301,302,303,307,308],ve=(h.redirect=function(e,t){if(-1===be.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new ve}catch(f){(ve=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),ve.prototype.constructor=ve}function Ee(o,a){return new Promise(function(n,e){var s=new u(o,a);if(s.signal&&s.signal.aborted)return e(new ve("Aborted","AbortError"));var r,i=new XMLHttpRequest;function t(){i.abort()}i.onload=function(){var e,o,t={statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",o=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(s.url.startsWith("file://")&&(i.status<200||599<i.status)?t.status=200:t.status=i.status,t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){n(new h(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){e(new ve("Aborted","AbortError"))},0)},i.open(s.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?i.withCredentials=!0:"omit"===s.credentials&&(i.withCredentials=!1),"responseType"in i&&(ie?i.responseType="blob":le&&(i.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(ce(e)),i.setRequestHeader(e,ue(a.headers[e]))}),s.headers.forEach(function(e,t){-1===r.indexOf(t)&&i.setRequestHeader(t,e)})):s.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",t),i.onreadystatechange=function(){4===i.readyState&&s.signal.removeEventListener("abort",t)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})}Ee.polyfill=!0,l.fetch||(l.fetch=Ee,l.Headers=c,l.Request=u,l.Response=h),self.fetch.bind(self);var Pe=function(e,t){return(Pe=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 Te(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}Pe(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function _e(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 Be(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 Ae(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 m(e){return"function"==typeof e}function Se(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 Ce=Se(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 He(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=_e(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(m(s))try{s()}catch(e){n=e instanceof Ce?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=_e(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{Oe(u)}catch(e){n=null!=n?n:[],e instanceof Ce?n=Ae(Ae([],Be(n)),Be(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 Ce(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Oe(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)&&He(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&He(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Ne=r,Le=Ne.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Ie(e){return e instanceof Ne||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function Oe(e){m(e)?e():e.unsubscribe()}var xe=void 0,Re=!1,Fe=!1,Me={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=Me.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,Ae([e,t],Be(r))):setTimeout.apply(void 0,Ae([e,t],Be(r)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function ke(){}var Ue=null;function De(e){if(Re){var t=!Ue;if(t&&(Ue={errorThrown:!1,error:null}),e(),t){var t=Ue,r=t.errorThrown,t=t.error;if(Ue=null,r)throw t}}else e()}Te(e,Ge=Ne),e.create=function(e,t,r){return new Ze(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,Ge.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 Ge,$e=e,je=Function.prototype.bind;function e(e){var t=Ge.call(this)||this;return t.isStopped=!1,e?Ie(t.destination=e)&&e.add(t):t.destination=We,t}function Ve(e,t){return je.call(e,t)}qe.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ye(e)}},qe.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ye(e)}else Ye(e)},qe.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ye(e)}};var ze,Xe=qe,Ze=(Te(Ke,ze=$e),Ke);function Ke(e,t,r){var o=ze.call(this)||this,r=m(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Fe?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&Ve(e.next,t),error:e.error&&Ve(e.error,t),complete:e.complete&&Ve(e.complete,t)}):e;return o.destination=new Xe(r),o}function qe(e){this.partialObserver=e}function Ye(e){var t=e;Me.setTimeout(function(){throw t})}var We={closed:!0,next:ke,error:function(e){throw e},complete:ke},o="function"==typeof Symbol&&Symbol.observable||"@@observable";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 $e||o&&m(o.next)&&m(o.error)&&m(o.complete)&&Ie(o)?e:new Ze(e,t,r);return De(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=Qe(e))(function(e,t){var r=new Ze({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?function(e){return e}: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=Qe(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 Je=n;function n(e){e&&(this._subscribe=e)}function Qe(e){return null!=(e=null!=e?e:xe)?e:Promise}var et,tt,rt,ot=Se(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Te(i,rt=Je),i.prototype.lift=function(e){var t=new nt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new ot},i.prototype.next=function(n){var s=this;De(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=_e(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;De(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;De(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(),rt.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?Le:(this.currentObservers=null,n.push(e),new Ne(function(){t.currentObservers=null,He(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 Je;return e.source=this,e},i.create=function(e,t){return new nt(e,t)},i),nt=(Te(lt,tt=o),lt.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},lt.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},lt.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},lt.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Le},lt),st={now:function(){return(st.delegate||Date).now()},delegate:void 0},it=(Te(at,et=o),at.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(),et.prototype.next.call(this,e)},at.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},at.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)}},at);function at(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=st);var o=et.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 lt(e,t){var r=tt.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=rt.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ct=[],ut={};const ht=[];function ft(o,n=f){let s;const i=new Set;function a(e){if(A(o,e)&&(o=e,s)){const e=!ht.length;for(const e of i)e[1](),ht.push(e,o);if(e){for(let e=0;e<ht.length;e+=2)ht[e][0](ht[e+1]);ht.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=f){const r=[e,t];return i.add(r),1===i.size&&(s=n(a)||f),e(o),()=>{i.delete(r),0===i.size&&s&&(s(),s=null)}}}}function pt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:ft(t,t=>{let r=!1;const o=[];let n=0,s=f;const i=()=>{var e;n||(s(),e=a(l?o[0]:o,t),u?t(e):s=Y(e)?e:f)},e=c.map((e,t)=>j(e,e=>{o[t]=e,n&=~(1<<t),r&&i()},()=>{n|=1<<t}));return r=!0,i(),function(){q(e),s(),r=!1}}).subscribe}}function dt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===mt);var t}var mt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function gt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Et(Array.isArray(e)?[]:{},e,t):e}function wt(e,t,r){return e.concat(t).map(function(e){return gt(e,r)})}function yt(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function bt(e,t){try{return t in e}catch(e){return!1}}function vt(o,n,s){var i={};return s.isMergeableObject(o)&&yt(o).forEach(function(e){i[e]=gt(o[e],s)}),yt(n).forEach(function(e){var t,r;(!bt(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(bt(o,e)&&s.isMergeableObject(n[e])?i[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Et)(o[e],n[e],s):i[e]=gt(n[e],s))}),i}function Et(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||wt,r.isMergeableObject=r.isMergeableObject||dt,r.cloneUnlessOtherwiseSpecified=gt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):vt(e,t,r):gt(t,r)}Et.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Et(e,t,r)},{});throw new Error("first argument should be an array")};var Pt=Et,Tt=function(e,t){return(Tt=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 _t(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}Tt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,w,Bt,y=function(){return(y=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 At(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 St(e){return e.type===w.literal}function Ct(e){return e.type===w.number}function Ht(e){return e.type===w.date}function Nt(e){return e.type===w.time}function Lt(e){return e.type===w.select}function It(e){return e.type===w.plural}function Ot(e){return e.type===w.tag}function xt(e){return e&&"object"==typeof e&&e.type===Bt.number}function Rt(e){return e&&"object"==typeof e&&e.type===Bt.dateTime}(o=g=g||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=w=w||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=Bt=Bt||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ft=/(?:[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 Mt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,kt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ut=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,Gt=/^(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(Ut,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 jt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Vt(e){return jt(e)||{}}function zt(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=y(y(y({},i),{notation:"scientific"}),n.options.reduce(function(e,t){return y(y({},e),Vt(t))},{}));continue;case"engineering":i=y(y(y({},i),{notation:"engineering"}),n.options.reduce(function(e,t){return y(y({},e),Vt(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(Dt,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(Gt.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=y(y({},i),{trailingZeroDisplay:"stripIfInteger"}):s&&(i=y(y({},i),$t(s)))}else Ut.test(n.stem)?i=y(y({},i),$t(n.stem)):((s=jt(n.stem))&&(i=y(y({},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)),!Gt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(i=y(y({},i),o)))}return i}var Xt={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 Zt=new RegExp("^".concat(o.source,"*")),Kt=new RegExp("".concat(o.source,"*$"));function b(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,qt=!!String.fromCodePoint,Yt=!!Object.fromEntries,Wt=!!String.prototype.codePointAt,Jt=!!String.prototype.trimStart,Qt=!!String.prototype.trimEnd,er=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},tr=!0;try{tr="a"===(null==(Pr=ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:Pr[0])}catch(f){tr=!1}var rr,or,nr=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},sr=qt?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},ir=Yt?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},ar=Wt?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},lr=Jt?function(e){return e.trimStart()}:function(e){return e.replace(Zt,"")},cr=Qt?function(e){return e.trimEnd()}:function(e){return e.replace(Kt,"")};function ur(e,t){return new RegExp(e,t)}or=tr?(rr=ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return rr.lastIndex=t,null!=(t=rr.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=ar(e,t);if(void 0===n||pr(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 sr.apply(void 0,o)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.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(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&fr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{s=this.clonePosition();this.bump(),o.push({type:w.pound,location:b(s,this.clonePosition())})}}}return{val:o,err:null}},a.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:w.literal,value:"<".concat(n,"/>"),location:b(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!fr(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:w.tag,value:n,children:t,location:b(o,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(o,this.clonePosition()))):this.error(g.INVALID_TAG,b(o,this.clonePosition()))},a.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())},a.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=b(r,this.clonePosition());return{val:{type:w.literal,value:o,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(fr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 sr.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),sr(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:w.argument,value:o,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=or(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:b(e,this.clonePosition())}},a.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(g.EXPECT_ARGUMENT_TYPE,b(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(f=cr(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(o)).err?c:(p=b(o,this.clonePosition()),l&&nr(null==l?void 0:l.style,"::",0)?(d=lr(l.style.slice(2)),"number"===i?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:w.number,value:r,location:p,style:h.val},err:null}:0===d.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(u=d,this.locale&&(u=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),(Xt[t||""]||Xt[r||""]||Xt["".concat(r,"-001")]||Xt["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}(d,this.locale)),f={type:Bt.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.replace(Ft,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):{}},{val:{type:"date"===i?w.date:w.time,value:r,location:p,style:f},err:null})):{val:{type:"number"===i?w.number:"date"===i?w.date:w.time,value:r,location:p,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,y({},u)));this.bumpSpace();var h,f=this.parseIdentifierIfPossible(),p=0;if("select"!==i&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),f=this.parseIdentifierIfPossible(),p=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,i,t,f);return l.err?l:(c=this.tryParseArgumentClose(o)).err?c:(d=b(o,this.clonePosition()),"select"===i?{val:{type:w.select,value:r,options:ir(l.val),location:d},err:null}:{val:{type:w.plural,value:r,options:ir(l.val),offset:p,pluralType:"plural"===i?"cardinal":"ordinal",location:d},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(s,a))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(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}},a.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(Mt).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(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:Bt.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?zt(r):{}},err:null}},a.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(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(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:b(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.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=b(o,this.clonePosition());return n?er(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ar(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.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},a.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)},a.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}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&pr(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var hr=a;function a(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 fr(e){return 97<=e&&e<=122||65<=e&&e<=90}function pr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function dr(e,t){t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new hr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,Lt(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)||(Ht(e)||Nt(e))&&Rt(e.style)?delete e.style.location:Ot(e)&&r(e.children)})}(e.val),e.val}function mr(e,t){var r=t&&t.cache?t.cache:Tr,o=t&&t.serializer?t.serializer:br;return(t&&t.strategy?t.strategy:function(e,t){return yr(e,this,1===e.length?gr:wr,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function gr(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 wr(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 yr(e,t,r,o,n){return r.bind(t,e,o,n)}var br=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 Er,Pr,Tr={create:function(){return new vr}},_r={variadic:function(e,t){return yr(e,this,wr,t.cache.create(),t.serializer)},monadic:function(e,t){return yr(e,this,gr,t.cache.create(),t.serializer)}};(Pr=Er=Er||{}).MISSING_VALUE="MISSING_VALUE",Pr.INVALID_VALUE="INVALID_VALUE",Pr.MISSING_INTL_API="MISSING_INTL_API";_t(Fr,Cr=Error),Fr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Br,Ar,Sr,Cr,Hr=Fr,Nr=(_t(Rr,Sr=Hr),Rr),Lr=(_t(xr,Ar=Hr),xr),Ir=(_t(Or,Br=Hr),Or);function Or(e,t){return Br.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Er.MISSING_VALUE,t)||this}function xr(e,t,r){return Ar.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Er.INVALID_VALUE,r)||this}function Rr(e,t,r,o){return Sr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Er.INVALID_VALUE,o)||this}function Fr(e,t,r){e=Cr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Mr(e,t,r,o,n,s,i){if(1===e.length&&St(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(St(u))a.push({type:v.literal,value:u.value});else if(u.type===w.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===w.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(Ht(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(Nt(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 Lr(d,"function",i);d=m(Mr(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(Lt(u)){if(!(g=u.options[h]||u.options.other))throw new Nr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Mr(g.value,t,r,o,n))}else if(It(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Hr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Er.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 Nr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Mr(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(E,"defaultLocale",{get:function(){return E.memoizedDefaultLocale||(E.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),E.memoizedDefaultLocale},enumerable:!1,configurable:!0}),E.memoizedDefaultLocale=null,E.resolveLocale=function(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])},E.__parse=dr,E.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Ur=E;function E(e,t,r,o){var n,s,i=this;if(void 0===t&&(t=E.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=i.formatToParts(e);return 1===e.length?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},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Mr(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=E.resolveLocale(t),"string"==typeof e){if(this.message=e,!E.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=E.__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=E.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=s[t])?y(y(y({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=y(y({},r[t]),o[t]||{}),e},{})):r),e},y({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:mr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,At([void 0],t,!1)))},{cache:kr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:_r.variadic}),getDateTimeFormat:mr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,At([void 0],t,!1)))},{cache:kr(t.dateTime),strategy:_r.variadic}),getPluralRules:mr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,At([void 0],t,!1)))},{cache:kr(t.pluralRules),strategy:_r.variadic})}}const P={},Dr=(e,t,r)=>r&&(t in P||(P[t]={}),e in P[t]||(P[t][e]=r),r),Gr=(t,r)=>{if(null!=r){if(r in P&&t in P[r])return P[r][t];var o=ao(r);for(let e=0;e<o.length;e++){var n=function(e,t){if(!Vr(e))return null;e=function(e){return $r[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[e]]}else t=void 0;return t}}}(o[e],t);if(n)return Dr(t,r,n)}}};let $r;const jr=ft({});function Vr(e){return e in $r}function zr(t,...r){delete P[t],jr.update(e=>(e[t]=Pt.all([e[t]||{},...r]),e))}pt([jr],([e])=>Object.keys(e)),jr.subscribe(e=>$r=e);const Xr={};function Zr(e){return Xr[e]}function Kr(e){return null!=e&&ao(e).some(e=>{return null==(e=Zr(e))?void 0:e.size})}function qr(o,e){return Promise.all(e.map(e=>{return t=o,r=e,Xr[t].delete(r),0===Xr[t].size&&delete Xr[t],e().then(e=>e.default||e);var t,r})).then(e=>zr(o,...e))}const Yr={};const Wr={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 Jr=ft(!1);var Qr=Object.defineProperty,qt=Object.defineProperties,Yt=Object.getOwnPropertyDescriptors,eo=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,oo=(e,t,r)=>t in e?Qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let no;const so=ft(null);function io(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function ao(e,t=Wr.fallbackLocale){e=io(e);return t?[...new Set([...e,...io(t)])]:e}function T(){return null!=no?no:void 0}so.subscribe(e=>{no=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const lo=qt(((e,t)=>{for(var r in t=t||{})to.call(t,r)&&oo(e,r,t[r]);if(eo)for(var r of eo(t))ro.call(t,r)&&oo(e,r,t[r]);return e})({},so),Yt({set:t=>{if(t&&function(e){if(null!=e){var t=ao(e);for(let e=0;e<t.length;e++){var r=t[e];if(Vr(r))return r}}}(t)&&Kr(t)){var r=Wr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=T()&&r?e=window.setTimeout(()=>Jr.set(!0),r):Jr.set(!0),function e(t){var r;return Kr(t)?(r=ao(t).map(e=>{var t=Zr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Yr[t]=Promise.all(r.map(([e,t])=>qr(e,t))).then(()=>{if(Kr(t))return e(t);delete Yr[t]}),Yr[t]):t in Yr?Yr[t]:Promise.resolve()}(t).then(()=>{so.set(t)}).finally(()=>{clearTimeout(e),Jr.set(!1)})}return so.set(t)}}));var Wt=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},co=Object.defineProperty,uo=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,po=(e,t,r)=>t in e?co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mo=(e,t)=>{for(var r in t=t||{})ho.call(t,r)&&po(e,r,t[r]);if(uo)for(var r of uo(t))fo.call(t,r)&&po(e,r,t[r]);return e},go=(e,t)=>{var r={};for(o in e)ho.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&uo)for(var o of uo(e))t.indexOf(o)<0&&fo.call(e,o)&&(r[o]=e[o]);return r};const wo=(e,t)=>{var r=Wr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},yo=Wt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=wo("number",r)),new Intl.NumberFormat(t,e)}),bo=Wt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=wo("date",r):0===Object.keys(e).length&&(e=wo("date","short")),new Intl.DateTimeFormat(t,e)}),vo=Wt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=wo("time",r):0===Object.keys(e).length&&(e=wo("time","short")),new Intl.DateTimeFormat(t,e)}),Eo=Wt((e,t=T())=>new Ur(e,t,Wr.formats,{ignoreTag:Wr.ignoreTag})),Po=pt([lo,jr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:i=T(),default:a}=n;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=Gr(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=Wr).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=Eo(l,i).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function To(e,t){zr(e,t)}pt([lo],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=go(e,["locale"]);return vo(mo({locale:t},e))})(t).format(e)),pt([lo],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=go(e,["locale"]);return bo(mo({locale:t},e))})(t).format(e)),pt([lo],()=>(e,t)=>((e={})=>{var{locale:t=T()}=e,e=go(e,["locale"]);return yo(mo({locale:t},e))})(t).format(e)),pt([lo,jr],()=>(e,t=T())=>Gr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ct.indexOf(e)&&(t=new it(t),ut[e]=t,ct.push(e)),ut[e]}};const _o={en:{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-hk":{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:{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:{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:{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:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres"},pt:{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."}},Bo=H["document"];function Ao(e){let r,o;return{c(){C((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[0])||oe(r,"src",o),r.async=!0,r.defer=!0},m(e,t){J(e,r,t)},p(e,t){1&t[0]&&!C(r.src,o="//www.google.com/recaptcha/api.js?render="+e[0])&&oe(r,"src",o)},d(e){e&&Q(r)}}}function So(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E,P,T,_,B,A,S=r[24]("forgotChangePasswordTitle")+"",C=r[24]("forgotChangePasswordDescription")+"",H=r[24]("forgotChangePasswordLogin")+"";return{c(){o=t("div"),n=t("div"),s=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=ee(".a{fill:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));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=te(),w=t("h4"),y=ee(S),b=te(),v=t("p"),E=ee(C),P=te(),T=t("button"),_=ee(H),oe(f,"class","a"),oe(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),oe(f,"transform","translate(264.272 482.563)"),oe(h,"transform","translate(-7360.574 8503.438)"),oe(d,"class","c"),oe(d,"cx","30"),oe(d,"cy","30"),oe(d,"r","30"),oe(m,"class","d"),oe(m,"cx","30"),oe(m,"cy","30"),oe(m,"r","29"),oe(p,"class","b"),oe(p,"transform","translate(-7106 8970)"),oe(u,"transform","translate(7106 -8970)"),oe(i,"xmlns","http://www.w3.org/2000/svg"),oe(i,"width","60"),oe(i,"height","60"),oe(i,"viewBox","0 0 60 60"),oe(s,"class","NewPasswordSuccess"),oe(s,"part","NewPasswordSuccess"),oe(T,"class","resetPasswordButton"),oe(T,"part","resetPasswordButton"),oe(n,"class","FormContent"),oe(n,"part","FormContent"),oe(o,"class","FormForgotPassword"),oe(o,"part","FormForgotPassword")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(l,c),W(i,u),W(u,h),W(h,f),W(u,p),W(p,d),W(p,m),W(s,g),W(s,w),W(w,y),W(s,b),W(s,v),W(v,E),W(n,P),W(n,T),W(T,_),B||(A=re(T,"click",r[49]),B=!0)},p(e,t){16777216&t[0]&&S!==(S=e[24]("forgotChangePasswordTitle")+"")&&ne(y,S),16777216&t[0]&&C!==(C=e[24]("forgotChangePasswordDescription")+"")&&ne(E,C),16777216&t[0]&&H!==(H=e[24]("forgotChangePasswordLogin")+"")&&ne(_,H)},d(e){e&&Q(o),B=!1,A()}}}function Co(r){let o,n,s,i,a,l,c,u,h,k,f,U,p,d,D,m,G,g,w,y,$,b,j,v,V,E,z,P,T,_,B,A,X,S=r[24]("forgotNewPasswordTitle")+"",C=r[24]("forgotNewPasswordPassword")+"",H=r[24]("forgotNewPasswordConfirmPassword")+"",N=r[24]("forgotNewPasswordButton")+"";function Z(e){return e[19]?Io:Lo}let L=Z(r),I=L(r),O=r[15]&&Oo(r);function K(e){return e[20]?Mo:Fo}let x=K(r),R=x(r),F=r[16]&&ko(r),M=r[23]&&Uo(r);return{c(){o=t("div"),n=t("div"),s=t("h4"),i=ee(S),a=te(),l=t("form"),c=t("div"),u=t("label"),h=ee(C),k=ee(":"),(f=t("span")).textContent="*",U=te(),p=t("input"),D=te(),I.c(),m=te(),O&&O.c(),G=te(),g=t("div"),w=t("label"),y=ee(H),$=ee(":"),(b=t("span")).textContent="*",j=te(),v=t("input"),V=te(),R.c(),E=te(),F&&F.c(),z=te(),M&&M.c(),P=te(),T=t("button"),_=ee(N),oe(s,"class","FormHeaderTitle"),oe(s,"part","FormHeaderTitle"),oe(n,"class","FormHeader"),oe(n,"part","FormHeader"),oe(f,"class","FormRequired"),oe(f,"part","FormRequired"),oe(u,"for","NewPassword"),oe(p,"type","password"),oe(p,"id","new-password"),oe(p,"autocomplete",d=r[2]?"new-password":"off"),oe(c,"class","NewPassword"),oe(c,"part","NewPassword"),oe(b,"class","FormRequired"),oe(b,"part","FormRequired"),oe(w,"for","RetypePassword"),oe(v,"type","password"),oe(v,"id","RetypePassword"),oe(g,"class","ConfirmPassword"),oe(g,"part","ConfirmPassword"),oe(T,"class","resetPasswordButton"),oe(T,"part","resetPasswordButton"),T.disabled=B=!r[14],oe(l,"class","FormContent"),oe(l,"part","FormContent"),oe(o,"class","FormForgotPassword test"),oe(o,"part","FormForgotPassword test")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(o,l),W(l,c),W(c,u),W(u,h),W(u,k),W(u,f),W(c,U),W(c,p),se(p,r[21]),r[41](p),W(c,D),I.m(c,null),W(c,m),O&&O.m(c,null),W(l,G),W(l,g),W(g,w),W(w,y),W(w,$),W(w,b),W(g,j),W(g,v),se(v,r[22]),r[45](v),W(g,V),R.m(g,null),W(g,E),F&&F.m(g,null),W(l,z),M&&M.m(l,null),W(l,P),W(l,T),W(T,_),A||(X=[re(p,"input",r[40]),re(p,"keyup",function(){Y(r[30](r[15],r[21],r[17]))&&r[30](r[15],r[21],r[17]).apply(this,arguments)}),re(v,"input",r[44]),re(v,"keyup",function(){Y(r[30](r[16],r[22],r[18]))&&r[30](r[16],r[22],r[18]).apply(this,arguments)}),re(T,"click",r[48])],A=!0)},p(e,t){r=e,16777216&t[0]&&S!==(S=r[24]("forgotNewPasswordTitle")+"")&&ne(i,S),16777216&t[0]&&C!==(C=r[24]("forgotNewPasswordPassword")+"")&&ne(h,C),4&t[0]&&d!==(d=r[2]?"new-password":"off")&&oe(p,"autocomplete",d),2097152&t[0]&&p.value!==r[21]&&se(p,r[21]),L===(L=Z(r))&&I?I.p(r,t):(I.d(1),(I=L(r))&&(I.c(),I.m(c,m))),r[15]?O?O.p(r,t):((O=Oo(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),16777216&t[0]&&H!==(H=r[24]("forgotNewPasswordConfirmPassword")+"")&&ne(y,H),4194304&t[0]&&v.value!==r[22]&&se(v,r[22]),x===(x=K(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(g,E))),r[16]?F?F.p(r,t):((F=ko(r)).c(),F.m(g,null)):F&&(F.d(1),F=null),r[23]?M?M.p(r,t):((M=Uo(r)).c(),M.m(l,P)):M&&(M.d(1),M=null),16777216&t[0]&&N!==(N=r[24]("forgotNewPasswordButton")+"")&&ne(_,N),16384&t[0]&&B!==(B=!r[14])&&(T.disabled=B)},d(e){e&&Q(o),r[41](null),I.d(),O&&O.d(),r[45](null),R.d(),F&&F.d(),M&&M.d(),A=!1,q(X)}}}function Ho(e){let r,o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E=e[24]("forgotPasswordSuccess")+"",P=e[24]("forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),n=t("div"),s=G("svg"),i=G("defs"),a=G("style"),l=ee(".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=te(),g=t("h4"),w=ee(E),y=te(),b=t("p"),v=ee(P),oe(h,"class","a"),oe(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),oe(h,"transform","translate(264.272 482.563)"),oe(u,"transform","translate(-7360.574 8503.438)"),oe(p,"class","c"),oe(p,"cx","30"),oe(p,"cy","30"),oe(p,"r","30"),oe(d,"class","d"),oe(d,"cx","30"),oe(d,"cy","30"),oe(d,"r","29"),oe(f,"class","b"),oe(f,"transform","translate(-7106 8970)"),oe(c,"transform","translate(7106 -8970)"),oe(s,"xmlns","http://www.w3.org/2000/svg"),oe(s,"width","60"),oe(s,"height","60"),oe(s,"viewBox","0 0 60 60"),oe(n,"class","NewPasswordSuccess"),oe(n,"part","NewPasswordSuccess"),oe(o,"class","FormContent"),oe(o,"part","FormContent"),oe(r,"class","FormForgotPassword"),oe(r,"part","FormForgotPassword")},m(e,t){J(e,r,t),W(r,o),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(s,c),W(c,u),W(u,h),W(c,f),W(f,p),W(f,d),W(n,m),W(n,g),W(g,w),W(n,y),W(n,b),W(b,v)},p(e,t){16777216&t[0]&&E!==(E=e[24]("forgotPasswordSuccess")+"")&&ne(w,E),16777216&t[0]&&P!==(P=e[24]("forgotPasswordSuccessDescription")+"")&&ne(v,P)},d(e){e&&Q(r)}}}function No(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E,P,T,_,k,B,A,S,U,C,H,N,L,D,I=r[24]("goToLogin")+"",O=r[24]("forgotPasswordTitle")+"",x=r[24]("forgotPasswordEmail")+"",R=r[24]("forgotPasswordReset")+"",F=r[11]&&Do(r),M=r[5]&&Go(r);return{c(){o=t("div"),n=t("div"),s=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=ee(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),u=G("path"),h=te(),f=ee(I),p=te(),d=t("h4"),m=ee(O),g=te(),w=t("form"),y=t("div"),b=t("label"),v=ee(x),E=ee(":"),(P=t("span")).textContent="*",T=te(),_=t("input"),k=te(),F&&F.c(),B=te(),M&&M.c(),U=te(),C=t("button"),H=ee(R),oe(u,"class","a"),oe(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),oe(u,"transform","translate(24 24) rotate(180)"),oe(i,"xmlns","http://www.w3.org/2000/svg"),oe(i,"viewBox","0 0 24 24"),oe(s,"class","backButtonForgotPassword"),oe(d,"class","FormHeaderTitle"),oe(d,"part","FormHeaderTitle"),oe(n,"class","FormHeader"),oe(P,"class","FormRequired"),oe(P,"part","FormRequired"),oe(b,"for","ResetPasswordByEmail"),oe(_,"type","text"),oe(_,"id","ResetPasswordByEmail"),oe(y,"class",A="ResetPasswordByEmail "+(r[11]?"InvalidField":"")),oe(y,"part",S="ResetPasswordByEmail "+(r[11]?"InvalidField":"")),oe(C,"class","resetPasswordButton"),oe(C,"part","resetPasswordButton"),C.disabled=N=!r[12],oe(w,"class","FormContent"),oe(w,"part","FormContent"),oe(o,"class","FormForgotPassword")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(l,c),W(i,u),W(s,h),W(s,f),W(n,p),W(n,d),W(d,m),W(o,g),W(o,w),W(w,y),W(y,b),W(b,v),W(b,E),W(b,P),W(y,T),W(y,_),se(_,r[7]),W(y,k),F&&F.m(y,null),W(y,B),M&&M.m(y,null),W(w,U),W(w,C),W(C,H),L||(D=[re(s,"click",r[37]),re(_,"input",r[38]),re(_,"keyup",r[25]),re(C,"click",r[39])],L=!0)},p(e,t){16777216&t[0]&&I!==(I=e[24]("goToLogin")+"")&&ne(f,I),16777216&t[0]&&O!==(O=e[24]("forgotPasswordTitle")+"")&&ne(m,O),16777216&t[0]&&x!==(x=e[24]("forgotPasswordEmail")+"")&&ne(v,x),128&t[0]&&_.value!==e[7]&&se(_,e[7]),e[11]?F?F.p(e,t):((F=Do(e)).c(),F.m(y,B)):F&&(F.d(1),F=null),e[5]?M?M.p(e,t):((M=Go(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),2048&t[0]&&A!==(A="ResetPasswordByEmail "+(e[11]?"InvalidField":""))&&oe(y,"class",A),2048&t[0]&&S!==(S="ResetPasswordByEmail "+(e[11]?"InvalidField":""))&&oe(y,"part",S),16777216&t[0]&&R!==(R=e[24]("forgotPasswordReset")+"")&&ne(H,R),4096&t[0]&&N!==(N=!e[12])&&(C.disabled=N)},d(e){e&&Q(o),F&&F.d(),M&&M.d(),L=!1,q(D)}}}function Lo(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),oe(l,"class","a"),oe(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"),oe(l,"transform","translate(0)"),oe(c,"class","a"),oe(c,"cx","2.779"),oe(c,"cy","2.779"),oe(c,"r","2.779"),oe(c,"transform","translate(20.827 30.303)"),oe(a,"transform","translate(-14.185 -27.832)"),oe(o,"class",u="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.843"),oe(o,"height","10.5"),oe(o,"viewBox","0 0 18.843 10.5")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),h||(f=re(o,"click",r[43]),h=!0)},p(e,t){32768&t[0]&&u!==(u="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&oe(o,"class",u)},d(e){e&&Q(o),h=!1,f()}}}function Io(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=ee(".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"),oe(l,"class","a"),oe(l,"cx","0.05"),oe(l,"cy","0.05"),oe(l,"r","0.05"),oe(l,"transform","translate(121.017 31.148)"),oe(u,"class","a"),oe(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),oe(u,"transform","translate(-142.164 -39.123)"),oe(h,"class","a"),oe(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),oe(h,"transform","translate(-136.413 -42.068)"),oe(c,"transform","translate(117.499 27.37)"),oe(p,"class","a"),oe(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"),oe(p,"transform","translate(-110.856 -33.157)"),oe(d,"class","a"),oe(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"),oe(d,"transform","translate(-130.743 -29.617)"),oe(f,"transform","translate(110.856 24.899)"),oe(m,"class","a"),oe(m,"width","0.972"),oe(m,"height","15.861"),oe(m,"rx","0.486"),oe(m,"transform","translate(114.827 23.858) rotate(-39.315)"),oe(a,"transform","translate(-110.856 -23.242)"),oe(o,"class",g="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.844"),oe(o,"height","12.887"),oe(o,"viewBox","0 0 18.844 12.887")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),W(c,u),W(c,h),W(a,f),W(f,p),W(f,d),W(a,m),w||(y=re(o,"click",r[42]),w=!0)},p(e,t){32768&t[0]&&g!==(g="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&oe(o,"class",g)},d(e){e&&Q(o),w=!1,y()}}}function Oo(e){let r;function o(e){return"true"==e[1]?Ro:xo}let n=o(e),s=n(e);return{c(){s.c(),r=N()},m(e,t){s.m(e,t),J(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 xo(e){let r,o,n=e[24]("forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotNewPasswordPasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Ro(e){let r,o,n=e[24]("simplePasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("simplePasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Fo(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),oe(l,"class","a"),oe(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"),oe(l,"transform","translate(0)"),oe(c,"class","a"),oe(c,"cx","2.779"),oe(c,"cy","2.779"),oe(c,"r","2.779"),oe(c,"transform","translate(20.827 30.303)"),oe(a,"transform","translate(-14.185 -27.832)"),oe(o,"class",u="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.843"),oe(o,"height","10.5"),oe(o,"viewBox","0 0 18.843 10.5")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),h||(f=re(o,"click",r[47]),h=!0)},p(e,t){65536&t[0]&&u!==(u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&oe(o,"class",u)},d(e){e&&Q(o),h=!1,f()}}}function Mo(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=ee(".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"),oe(l,"class","a"),oe(l,"cx","0.05"),oe(l,"cy","0.05"),oe(l,"r","0.05"),oe(l,"transform","translate(121.017 31.148)"),oe(u,"class","a"),oe(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),oe(u,"transform","translate(-142.164 -39.123)"),oe(h,"class","a"),oe(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),oe(h,"transform","translate(-136.413 -42.068)"),oe(c,"transform","translate(117.499 27.37)"),oe(p,"class","a"),oe(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"),oe(p,"transform","translate(-110.856 -33.157)"),oe(d,"class","a"),oe(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"),oe(d,"transform","translate(-130.743 -29.617)"),oe(f,"transform","translate(110.856 24.899)"),oe(m,"class","a"),oe(m,"width","0.972"),oe(m,"height","15.861"),oe(m,"rx","0.486"),oe(m,"transform","translate(114.827 23.858) rotate(-39.315)"),oe(a,"transform","translate(-110.856 -23.242)"),oe(o,"class",g="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.844"),oe(o,"height","12.887"),oe(o,"viewBox","0 0 18.844 12.887")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),W(c,u),W(c,h),W(a,f),W(f,p),W(f,d),W(a,m),w||(y=re(o,"click",r[46]),w=!0)},p(e,t){65536&t[0]&&g!==(g="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&oe(o,"class",g)},d(e){e&&Q(o),w=!1,y()}}}function ko(e){let r,o,n=e[24]("forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotNewPasswordConfirmPasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Uo(e){let r,o;return{c(){r=t("p"),o=ee(e[13]),oe(r,"class","ErrorMessage"),oe(r,"part","ErrorMessage")},m(e,t){J(e,r,t),W(r,o)},p(e,t){8192&t[0]&&ne(o,e[13])},d(e){e&&Q(r)}}}function Do(e){let r,o,n=e[24]("forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","ForgotPasswordError"),oe(r,"part","ForgotPasswordError")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotPasswordEmailInputError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Go(e){let r,o,n=e[24]("forgotPasswordEmailError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","ForgotPasswordError"),oe(r,"part","ForgotPasswordError")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotPasswordEmailError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function $o(r){let o,n,s,i,a,l=r[0]&&Ao(r),c=function(e){let r,o;function n(e){return e[4]?No:e[6]?Ho:e[8]?Co:e[9]?So:void 0}let s=n(e),i=s&&s(e);return{c(){r=t("div"),i&&i.c(),oe(r,"class",o="FormContainer "+(e[10]?"FormMobileContainer":""))},m(e,t){J(e,r,t),i&&i.m(r,null)},p(e,t){s===(s=n(e))&&i?i.p(e,t):(i&&i.d(1),(i=s&&s(e))&&(i.c(),i.m(r,null))),1024&t[0]&&o!==(o="FormContainer "+(e[10]?"FormMobileContainer":""))&&oe(r,"class",o)},d(e){e&&Q(r),i&&i.d()}}}(r);return{c(){l&&l.c(),o=N(),n=te(),s=t("div"),i=te(),a=t("div"),c.c(),this.c=f,oe(s,"class","g-recaptcha"),oe(s,"data-sitekey",r[0])},m(e,t){l&&l.m(Bo.head,null),W(Bo.head,o),J(e,n,t),J(e,s,t),J(e,i,t),J(e,a,t),c.m(a,null),r[50](a)},p(e,t){e[0]?l?l.p(e,t):((l=Ao(e)).c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null),1&t[0]&&oe(s,"data-sitekey",e[0]),c.p(e,t)},i:f,o:f,d(e){l&&l.d(e),Q(o),e&&Q(n),e&&Q(s),e&&Q(i),e&&Q(a),c.d(),r[50](null)}}}function jo(t,e,o){let r;var n=Po;t.$$.on_destroy.push(j(n,e=>o(24,r=e)));let s,i,a,{endpoint:l=""}=e,{forgotpasswordkey:c=""}=e,{captchakey:u=""}=e,{lang:h="en"}=e,{simplepasswordvalidation:f="false"}=e,{clientstyling:p=""}=e,{clientstylingurl:d=""}=e,{translationurl:m=""}=e,{savecredentials:g=""}=e,w=!0,y=!1,b=!1,v="",E=!1,P=!1,T=!1,_,F,M=window.navigator.userAgent,k="",U,B=!1,A=!1,S=!1,C=!1,H="",N="",L=!1;Object.keys(_o).forEach(e=>{To(e,_o[e])});const I={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},O=e=>{switch(e){case"userNewPassword":o(19,S=!S),o(17,s.type=S?"text":"password",s);break;case"userConfirmPassword":o(20,C=!C),o(18,i.type=C?"text":"password",i)}},x=e=>{switch(e){case"ToEmailSuccess":o(5,y=!1),o(4,w=!1),o(6,b=!0);break;case"ToReset":o(4,w=!1),o(8,E=!0);break;case"ToSuccess":o(8,E=!1),o(9,P=!0)}},R=()=>{window.postMessage({type:"ToLogin"},window.location.href)},D=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(u,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{var t=new URL(l+"/player/resetpassword"),e={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",v),fetch(t,e).then(e=>{200==e.status?x("ToEmailSuccess"):o(5,y=!0)})})},G=e=>{e.preventDefault();var e=new URL(l+"/player/ResetPasswordByHashKey"),t={hashKey:c,plainTextPassword:H},t={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e,t).then(e=>(200==e.status?(o(23,L=!1),x("ToSuccess")):o(23,L=!0),e.json())).then(e=>{o(13,k=e.error)})},$=e=>("true"==f&&(I.password=/^(?!.* ).{8,20}$/),!!I.password.test(e));return n=async()=>{var e;((e=M).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(10,T=!0)},function(){if(V)return V;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"endpoint"in e&&o(31,l=e.endpoint),"forgotpasswordkey"in e&&o(32,c=e.forgotpasswordkey),"captchakey"in e&&o(0,u=e.captchakey),"lang"in e&&o(33,h=e.lang),"simplepasswordvalidation"in e&&o(1,f=e.simplepasswordvalidation),"clientstyling"in e&&o(34,p=e.clientstyling),"clientstylingurl"in e&&o(35,d=e.clientstylingurl),"translationurl"in e&&o(36,m=e.translationurl),"savecredentials"in e&&o(2,g=e.savecredentials)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&c&&c&&0<c.length&&x("ToReset"),4&t.$$.dirty[1]&&h&&(e=h,lo.set(e)),8&t.$$.dirty[0]|8&t.$$.dirty[1]&&p&&a&&((e=document.createElement("style")).innerHTML=p,a.appendChild(e)),8&t.$$.dirty[0]|16&t.$$.dirty[1]&&d&&a){let e=new URL(d),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{a.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32&t.$$.dirty[1]&&m&&fetch(m).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{To(e,t[e])})}).catch(e=>{console.log(e)})},[u,f,g,a,w,y,b,v,E,P,T,!1,!1,k,!1,B,A,s,i,S,C,H,N,L,r,()=>{var e;o(11,(e=v,_=!(I.email.test(e)&&e.length<=100))),o(12,F=!_)},O,R,D,G,(e,t,r)=>{"new-password"===r.id&&(o(15,B=!$(t)),!N)||o(16,A=H!==N||!$(t)),o(14,U=!(B||A||!H||!N))},l,c,h,p,d,m,()=>R(),function(){v=this.value,o(7,v)},e=>D(e),function(){H=this.value,o(21,H)},function(e){z[e?"unshift":"push"](()=>{s=e,o(17,s)})},()=>O("userNewPassword"),()=>O("userNewPassword"),function(){N=this.value,o(22,N)},function(e){z[e?"unshift":"push"](()=>{i=e,o(18,i)})},()=>O("userConfirmPassword"),()=>O("userConfirmPassword"),e=>G(e),()=>R(),function(e){z[e?"unshift":"push"](()=>{a=e,o(3,a)})}]}class Vo extends D{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-registration-typography, var(--emfe-w-color-dunkel, #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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.ForgotPasswordError{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));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-valid, 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-registration-typography, var(--emfe-w-color-dunkel, #07072A));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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-registration-contrast, 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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.resetPasswordButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #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, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emfe-w-color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},jo,$o,A,{endpoint:31,forgotpasswordkey:32,captchakey:0,lang:33,simplepasswordvalidation:1,clientstyling:34,clientstylingurl:35,translationurl:36,savecredentials:2},null,[-1,-1,-1]),e&&(e.target&&J(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","forgotpasswordkey","captchakey","lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials"]}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),d()}get forgotpasswordkey(){return this.$$.ctx[32]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),d()}get captchakey(){return this.$$.ctx[0]}set captchakey(e){this.$$set({captchakey:e}),d()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),d()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),d()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),d()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(e){this.$$set({savecredentials:e}),d()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Vo),Vo});
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 f(){}function T(e){return e()}function _(){return Object.create(null)}function q(e){e.forEach(T)}function Y(e){return"function"==typeof e}function B(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let A;function S(e,t){return(A=A||document.createElement("a")).href=t,e===A.href}function X(e,...t){if(null==e)return f;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}var C="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function W(e,t){e.appendChild(t)}function J(e,t,r){e.insertBefore(t,r||null)}function Q(e){e.parentNode&&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 ee(e){return document.createTextNode(e)}function te(){return ee(" ")}function H(){return ee("")}function re(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function oe(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function ne(e,t){e.data!==(t=""+t)&&(e.data=t)}function se(e,t){e.value=null==t?"":t}let Z;function N(e){Z=e}const p=[],K=[];let L=[];const I=[],O=Promise.resolve();let x=!1;function R(e){L.push(e)}const F=new Set;let M=0;function d(){if(0===M){const o=Z;do{try{for(;M<p.length;){const o=p[M];M++,N(o),e=t=void 0;var e,t=o.$$;null!==t.fragment&&(t.update(),q(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(R))}}catch(o){throw p.length=0,M=0,o}for(N(null),p.length=0,M=0;K.length;)K.pop()();for(let e=0;e<L.length;e+=1){var r=L[e];F.has(r)||(F.add(r),r())}}while(L.length=0,p.length);for(;I.length;)I.pop()();x=!1,F.clear(),N(o)}}const k=new Set;function U(o,e,t,r,n,s,i,a=[-1]){var l=Z;N(o);const c=o.$$={fragment:null,ctx:[],props:s,update:f,not_equal:n,bound:_(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:_(),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]&&(p.push(e),x||(x=!0,O.then(d)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],c.update(),u=!0,q(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const f=Array.from(s.childNodes);c.fragment&&c.fragment.l(f),f.forEach(Q)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(k.delete(a),a.i(void 0));var h=o,i=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:a}=h.$$;s&&s.m(i,t),r||R(()=>{var e=h.$$.on_mount.map(T).filter(Y);h.$$.on_destroy?h.$$.on_destroy.push(...e):q(e),h.$$.on_mount=[]}),a.forEach(R),d()}N(l)}let D;"function"==typeof HTMLElement&&(D=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(Y);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){q(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const o=[],n=[];L.forEach(e=>(-1===r.indexOf(e)?o:n).push(e)),n.forEach(e=>e()),L=o}q(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=f}$on(e,t){if(!Y(t))return f;const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var $,j,l="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||{},V="URLSearchParams"in l,ie="Symbol"in l&&"iterator"in Symbol,ae="FileReader"in l&&"Blob"in l&&function(){try{return new Blob,!0}catch(e){return!1}}(),le="FormData"in l,ce="ArrayBuffer"in l;function ue(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 he(e){return e="string"!=typeof e?String(e):e}function fe(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ie&&(e[Symbol.iterator]=function(){return e}),e}function c(t){this.map={},t instanceof c?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function pe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function de(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function me(e){var t=new FileReader,r=de(t);return t.readAsArrayBuffer(e),r}function ge(e){var t;return e.slice?e.slice(0):((t=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),t.buffer)}function we(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ae&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:le&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:V&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():ce&&ae&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=ge(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ce&&(ArrayBuffer.prototype.isPrototypeOf(e)||j(e))?this._bodyArrayBuffer=ge(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):V&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ae&&(this.blob=function(){var e=pe(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer)return pe(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(ae)return this.blob().then(me);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,r,o=pe(this);if(o)return o;if(this._bodyBlob)return o=this._bodyBlob,t=de(e=new FileReader),r=(r=/charset=([A-Za-z0-9_-]+)/.exec(o.type))?r[1]:"utf-8",e.readAsText(o,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)},le&&(this.formData=function(){return this.text().then(be)}),this.json=function(){return this.text().then(JSON.parse)},this}ce&&($=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],j=ArrayBuffer.isView||function(e){return e&&-1<$.indexOf(Object.prototype.toString.call(e))}),c.prototype.append=function(e,t){e=ue(e),t=he(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},c.prototype.delete=function(e){delete this.map[ue(e)]},c.prototype.get=function(e){return e=ue(e),this.has(e)?this.map[e]:null},c.prototype.has=function(e){return this.map.hasOwnProperty(ue(e))},c.prototype.set=function(e,t){this.map[ue(e)]=he(t)},c.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},c.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),fe(r)},c.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),fe(t)},c.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),fe(r)},ie&&(c.prototype[Symbol.iterator]=c.prototype.entries);var ye=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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.');var r,o=(t=t||{}).body;if(e instanceof u){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new c(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 c(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ye.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in l)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==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 be(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function h(e,t){if(!(this instanceof h))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||599<this.status)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new c(t.headers),this.url=t.url||"",this._initBody(e)}u.prototype.clone=function(){return new u(this,{body:this._bodyInit})},we.call(u.prototype),we.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new c(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var ve=[301,302,303,307,308],Ee=(h.redirect=function(e,t){if(-1===ve.indexOf(t))throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},l.DOMException);try{new Ee}catch(f){(Ee=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),Ee.prototype.constructor=Ee}function Pe(o,a){return new Promise(function(n,e){var s=new u(o,a);if(s.signal&&s.signal.aborted)return e(new Ee("Aborted","AbortError"));var r,i=new XMLHttpRequest;function t(){i.abort()}i.onload=function(){var e,o,t={statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",o=new c,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var t=e.split(":"),r=t.shift().trim();if(r){t=t.join(":").trim();try{o.append(r,t)}catch(e){console.warn("Response "+e.message)}}}),o)},r=(s.url.startsWith("file://")&&(i.status<200||599<i.status)?t.status=200:t.status=i.status,t.url="responseURL"in i?i.responseURL:t.headers.get("X-Request-URL"),"response"in i?i.response:i.responseText);setTimeout(function(){n(new h(r,t))},0)},i.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){e(new Ee("Aborted","AbortError"))},0)},i.open(s.method,function(t){try{return""===t&&l.location.href?l.location.href:t}catch(e){return t}}(s.url),!0),"include"===s.credentials?i.withCredentials=!0:"omit"===s.credentials&&(i.withCredentials=!1),"responseType"in i&&(ae?i.responseType="blob":ce&&(i.responseType="arraybuffer")),a&&"object"==typeof a.headers&&!(a.headers instanceof c||l.Headers&&a.headers instanceof l.Headers)?(r=[],Object.getOwnPropertyNames(a.headers).forEach(function(e){r.push(ue(e)),i.setRequestHeader(e,he(a.headers[e]))}),s.headers.forEach(function(e,t){-1===r.indexOf(t)&&i.setRequestHeader(t,e)})):s.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",t),i.onreadystatechange=function(){4===i.readyState&&s.signal.removeEventListener("abort",t)}),i.send(void 0===s._bodyInit?null:s._bodyInit)})}Pe.polyfill=!0,l.fetch||(l.fetch=Pe,l.Headers=c,l.Request=u,l.Response=h),self.fetch.bind(self);var Te=function(e,t){return(Te=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 _e(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}Te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Be(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 Ae(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 Se(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 m(e){return"function"==typeof e}function Ce(e){e=e(function(e){Error.call(e),e.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e}var He=Ce(function(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 Ne(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=Be(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(m(s))try{s()}catch(e){n=e instanceof He?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=Be(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{xe(u)}catch(e){n=null!=n?n:[],e instanceof He?n=Se(Se([],Ae(n)),Ae(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 He(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)&&Ne(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Ne(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Le=r,Ie=Le.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function Oe(e){return e instanceof Le||e&&"closed"in e&&m(e.remove)&&m(e.add)&&m(e.unsubscribe)}function xe(e){m(e)?e():e.unsubscribe()}var Re=void 0,Fe=!1,Me=!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,Se([e,t],Ae(r))):setTimeout.apply(void 0,Se([e,t],Ae(r)))},clearTimeout:function(e){var t=ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ue(){}var De=null;function Ge(e){if(Fe){var t=!De;if(t&&(De={errorThrown:!1,error:null}),e(),t){var t=De,r=t.errorThrown,t=t.error;if(De=null,r)throw t}}else e()}_e(e,$e=Le),e.create=function(e,t,r){return new Ke(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,je=e,Ve=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=Je,t}function ze(e,t){return Ve.call(e,t)}Ye.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){We(e)}},Ye.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){We(e)}else We(e)},Ye.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){We(e)}};var Xe,Ze=Ye,Ke=(_e(qe,Xe=je),qe);function qe(e,t,r){var o=Xe.call(this)||this,r=m(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Me?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&ze(e.next,t),error:e.error&&ze(e.error,t),complete:e.complete&&ze(e.complete,t)}):e;return o.destination=new Ze(r),o}function Ye(e){this.partialObserver=e}function We(e){var t=e;ke.setTimeout(function(){throw t})}var Je={closed:!0,next:Ue,error:function(e){throw e},complete:Ue},o="function"==typeof Symbol&&Symbol.observable||"@@observable";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 je||o&&m(o.next)&&m(o.error)&&m(o.complete)&&Oe(o)?e:new Ke(e,t,r);return Ge(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=et(e))(function(e,t){var r=new Ke({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?function(e){return e}: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=et(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 Qe=n;function n(e){e&&(this._subscribe=e)}function et(e){return null!=(e=null!=e?e:Re)?e:Promise}var tt,rt,ot,nt=Ce(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(_e(s,ot=Qe),s.prototype.lift=function(e){var t=new st(this,this);return t.operator=e,t},s.prototype._throwIfClosed=function(){if(this.closed)throw new nt},s.prototype.next=function(n){var s=this;Ge(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=Be(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}}}})},s.prototype.error=function(t){var r=this;Ge(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)}})},s.prototype.complete=function(){var t=this;Ge(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},s.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(s.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),s.prototype._trySubscribe=function(e){return this._throwIfClosed(),ot.prototype._trySubscribe.call(this,e)},s.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},s.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,o=this.isStopped,n=this.observers;return r||o?Ie:(this.currentObservers=null,n.push(e),new Le(function(){t.currentObservers=null,Ne(n,e)}))},s.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,o=this.isStopped;t?e.error(r):o&&e.complete()},s.prototype.asObservable=function(){var e=new Qe;return e.source=this,e},s.create=function(e,t){return new st(e,t)},s),st=(_e(ct,rt=o),ct.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},ct.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},ct.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},ct.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Ie},ct),it={now:function(){return(it.delegate||Date).now()},delegate:void 0},at=(_e(lt,tt=o),lt.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(),tt.prototype.next.call(this,e)},lt.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},lt.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)}},lt);function lt(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=it);var o=tt.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 ct(e,t){var r=rt.call(this)||this;return r.destination=e,r.source=t,r}function s(){var e=ot.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ut=[],ht={};const ft=[];function pt(o,n=f){let s;const i=new Set;function a(e){if(B(o,e)&&(o=e,s)){const e=!ft.length;for(const e of i)e[1](),ft.push(e,o);if(e){for(let e=0;e<ft.length;e+=2)ft[e][0](ft[e+1]);ft.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=f){const r=[e,t];return i.add(r),1===i.size&&(s=n(a)||f),e(o),()=>{i.delete(r),0===i.size&&s&&(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=f;const i=()=>{var e;n||(s(),e=a(l?o[0]:o,t),u?t(e):s=Y(e)?e:f)},e=c.map((e,t)=>X(e,e=>{o[t]=e,n&=~(1<<t),r&&i()},()=>{n|=1<<t}));return r=!0,i(),function(){q(e),s(),r=!1}}).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 Object.propertyIsEnumerable.call(t,e)}):[]));var t}function vt(e,t){try{return t in e}catch(e){return!1}}function Et(o,n,s){var i={};return s.isMergeableObject(o)&&bt(o).forEach(function(e){i[e]=wt(o[e],s)}),bt(n).forEach(function(e){var t,r;(!vt(t=o,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(vt(o,e)&&s.isMergeableObject(n[e])?i[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:Pt)(o[e],n[e],s):i[e]=wt(n[e],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):Et(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 g,w,At,y=function(){return(y=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 Ct(e){return e.type===w.literal}function Ht(e){return e.type===w.number}function Nt(e){return e.type===w.date}function Lt(e){return e.type===w.time}function It(e){return e.type===w.select}function Ot(e){return e.type===w.plural}function xt(e){return e.type===w.tag}function Rt(e){return e&&"object"==typeof e&&e.type===At.number}function Ft(e){return e&&"object"==typeof e&&e.type===At.dateTime}(o=g=g||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=w=w||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=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,$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=y(y(y({},i),{notation:"scientific"}),n.options.reduce(function(e,t){return y(y({},e),zt(t))},{}));continue;case"engineering":i=y(y(y({},i),{notation:"engineering"}),n.options.reduce(function(e,t){return y(y({},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(Ut.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Ut,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=y(y({},i),{trailingZeroDisplay:"stripIfInteger"}):s&&(i=y(y({},i),jt(s)))}else Dt.test(n.stem)?i=y(y({},i),jt(n.stem)):((s=Vt(n.stem))&&(i=y(y({},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=y(y({},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 b(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(f){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)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.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(g.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&pr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n}else if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}else{s=this.clonePosition();this.bump(),o.push({type:w.pound,location:b(s,this.clonePosition())})}}}return{val:o,err:null}},i.prototype.parseTag=function(e,t){var r,o=this.clonePosition(),n=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:w.literal,value:"<".concat(n,"/>"),location:b(o,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!pr(this.char())?this.error(g.INVALID_TAG,b(e,this.clonePosition())):(r=this.clonePosition(),n!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,b(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:w.tag,value:n,children:t,location:b(o,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,b(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,b(o,this.clonePosition()))):this.error(g.INVALID_TAG,b(o,this.clonePosition()))},i.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())},i.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=b(r,this.clonePosition());return{val:{type:w.literal,value:o,location:r},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(pr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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)},i.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ir(r))},i.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,b(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:w.argument,value:o,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(g.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},i.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:b(e,this.clonePosition())}},i.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(g.EXPECT_ARGUMENT_TYPE,b(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((h=this.parseSimpleArgStyleIfPossible()).err)return h;if(0===(f=ur(h.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:b(c,this.clonePosition())}}return(c=this.tryParseArgumentClose(o)).err?c:(p=b(o,this.clonePosition()),l&&sr(null==l?void 0:l.style,"::",0)?(d=cr(l.style.slice(2)),"number"===i?(h=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?h:{val:{type:w.number,value:r,location:p,style:h.val},err:null}:0===d.length?this.error(g.EXPECT_DATE_TIME_SKELETON,p):(u=d,this.locale&&(u=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}(d,this.locale)),f={type:At.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},u.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):{}},{val:{type:"date"===i?w.date:w.time,value:r,location:p,style:f},err:null})):{val:{type:"number"===i?w.number:"date"===i?w.date:w.time,value:r,location:p,style:null!=(d=null==l?void 0:l.style)?d:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,b(u,y({},u)));this.bumpSpace();var h,f=this.parseIdentifierIfPossible(),p=0;if("select"!==i&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(h=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return h;this.bumpSpace(),f=this.parseIdentifierIfPossible(),p=h.val}var d,l=this.tryParsePluralOrSelectOptions(e,i,t,f);return l.err?l:(c=this.tryParseArgumentClose(o)).err?c:(d=b(o,this.clonePosition()),"select"===i?{val:{type:w.select,value:r,options:ar(l.val),location:d},err:null}:{val:{type:w.plural,value:r,options:ar(l.val),offset:p,pluralType:"plural"===i?"cardinal":"ordinal",location:d},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,b(s,a))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,b(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(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}},i.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 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(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:At.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Xt(r):{}},err:null}},i.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(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=b(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(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:b(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(g.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:s,err:null}},i.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=b(o,this.clonePosition());return n?tr(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.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},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.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},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&dr(this.char());)this.bump()},i.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var fr=i;function i(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=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new fr(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,It(e)||Ot(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Ht(e)&&Rt(e.style)||(Nt(e)||Lt(e))&&Ft(e.style)?delete e.style.location:xt(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:vr;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 vr=function(){return JSON.stringify(arguments)};function Er(){this.cache=Object.create(null)}Er.prototype.get=function(e){return this.cache[e]},Er.prototype.set=function(e,t){this.cache[e]=t};var Pr,Tr,_r={create:function(){return new Er}},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,Hr=Error),Mr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Ar,Sr,Cr,Hr,Nr=Mr,Lr=(Bt(Fr,Cr=Nr),Fr),Ir=(Bt(Rr,Sr=Nr),Rr),Or=(Bt(xr,Ar=Nr),xr);function xr(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 Rr(e,t,r){return Sr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Pr.INVALID_VALUE,r)||this}function Fr(e,t,r,o){return Cr.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=Hr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function kr(e,t,r,o,n,s,i){if(1===e.length&&Ct(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(Ct(u))a.push({type:v.literal,value:u.value});else if(u.type===w.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 Or(h,i);h=n[h];if(u.type===w.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]:Ft(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]:Ft(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(Ht(u))(f="string"==typeof u.style?o.number[u.style]:Rt(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(xt(u)){var p=u.children,d=u.value,m=n[d];if("function"!=typeof m)throw new Ir(d,"function",i);d=m(kr(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(It(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,n))}else if(Ot(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,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 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(a,"defaultLocale",{get:function(){return a.memoizedDefaultLocale||(a.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),a.memoizedDefaultLocale},enumerable:!1,configurable:!0}),a.memoizedDefaultLocale=null,a.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])},a.__parse=mr,a.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=a;function a(e,t,r,o){var n,s,i=this;if(void 0===t&&(t=a.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=i.formatToParts(e);return 1===e.length?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},[])).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=a.resolveLocale(t),"string"==typeof e){if(this.message=e,!a.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=a.__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=a.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=s[t])?y(y(y({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=y(y({},r[t]),o[t]||{}),e},{})):r),e},y({},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: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 E={},Gr=(e,t,r)=>r&&(t in E||(E[t]={}),e in E[t]||(E[t][e]=r),r),$r=(t,r)=>{if(null!=r){if(r in E&&t in E[r])return E[r][t];var o=lo(r);for(let e=0;e<o.length;e++){var n=function(e,t){if(!zr(e))return null;e=function(e){return jr[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var o=r.split(".");let t=e;for(let e=0;e<o.length;e++)if("object"==typeof t){if(0<e){const r=o.slice(e,o.length).join(".");if(r in t){t=t[r];break}}t=t[o[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 E[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&&lo(e).some(e=>{return null==(e=Kr(e))?void 0:e.size})}function Yr(o,e){return Promise.all(e.map(e=>{return t=o,r=e,Zr[t].delete(r),0===Zr[t].size&&delete Zr[t],e().then(e=>e.default||e);var t,r})).then(e=>Xr(o,...e))}const Wr={};const Jr={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Qr=pt(!1);var eo=Object.defineProperty,Yt=Object.defineProperties,Wt=Object.getOwnPropertyDescriptors,to=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,no=(e,t,r)=>t in e?eo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let so;const io=pt(null);function ao(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function lo(e,t=Jr.fallbackLocale){e=ao(e);return t?[...new Set([...e,...ao(t)])]:e}function P(){return null!=so?so:void 0}io.subscribe(e=>{so=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const z=Yt(((e,t)=>{for(var r in t=t||{})ro.call(t,r)&&no(e,r,t[r]);if(to)for(var r of to(t))oo.call(t,r)&&no(e,r,t[r]);return e})({},io),Wt({set:t=>{if(t&&function(e){if(null!=e){var t=lo(e);for(let e=0;e<t.length;e++){var r=t[e];if(zr(r))return r}}}(t)&&qr(t)){var r=Jr["loadingDelay"];let e;return"undefined"!=typeof window&&null!=P()&&r?e=window.setTimeout(()=>Qr.set(!0),r):Qr.set(!0),function e(t){var r;return qr(t)?(r=lo(t).map(e=>{var t=Kr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),Wr[t]=Promise.all(r.map(([e,t])=>Yr(e,t))).then(()=>{if(qr(t))return e(t);delete Wr[t]}),Wr[t]):t in Wr?Wr[t]:Promise.resolve()}(t).then(()=>{io.set(t)}).finally(()=>{clearTimeout(e),Qr.set(!1)})}return io.set(t)}}));var Jt=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},co=Object.defineProperty,uo=Object.getOwnPropertySymbols,ho=Object.prototype.hasOwnProperty,fo=Object.prototype.propertyIsEnumerable,po=(e,t,r)=>t in e?co(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,mo=(e,t)=>{for(var r in t=t||{})ho.call(t,r)&&po(e,r,t[r]);if(uo)for(var r of uo(t))fo.call(t,r)&&po(e,r,t[r]);return e},go=(e,t)=>{var r={};for(o in e)ho.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&uo)for(var o of uo(e))t.indexOf(o)<0&&fo.call(e,o)&&(r[o]=e[o]);return r};const wo=(e,t)=>{var r=Jr["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},yo=Jt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=wo("number",r)),new Intl.NumberFormat(t,e)}),bo=Jt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=wo("date",r):0===Object.keys(e).length&&(e=wo("date","short")),new Intl.DateTimeFormat(t,e)}),vo=Jt(e=>{var{locale:t,format:r}=e,e=go(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=wo("time",r):0===Object.keys(e).length&&(e=wo("time","short")),new Intl.DateTimeFormat(t,e)}),Eo=Jt((e,t=P())=>new Dr(e,t,Jr.formats,{ignoreTag:Jr.ignoreTag})),Po=dt([z,Vr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:i=P(),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=Jr).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=Eo(l,i).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function To(e,t){Xr(e,t)}dt([z],()=>(e,t)=>((e={})=>{var{locale:t=P()}=e,e=go(e,["locale"]);return vo(mo({locale:t},e))})(t).format(e)),dt([z],()=>(e,t)=>((e={})=>{var{locale:t=P()}=e,e=go(e,["locale"]);return bo(mo({locale:t},e))})(t).format(e)),dt([z],()=>(e,t)=>((e={})=>{var{locale:t=P()}=e,e=go(e,["locale"]);return yo(mo({locale:t},e))})(t).format(e)),dt([z,Vr],()=>(e,t=P())=>$r(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ut.indexOf(e)&&(t=new at(t),ht[e]=t,ut.push(e)),ht[e]}};const _o={en:{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-hk":{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:{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:{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:{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:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres"},pt:{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."}},Bo=C["document"];function Ao(e){let r,o;return{c(){S((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[0])||oe(r,"src",o),r.async=!0,r.defer=!0},m(e,t){J(e,r,t)},p(e,t){1&t[0]&&!S(r.src,o="//www.google.com/recaptcha/api.js?render="+e[0])&&oe(r,"src",o)},d(e){e&&Q(r)}}}function So(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E,P,T,_,B,A,S=r[24]("forgotChangePasswordTitle")+"",C=r[24]("forgotChangePasswordDescription")+"",H=r[24]("forgotChangePasswordLogin")+"";return{c(){o=t("div"),n=t("div"),s=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=ee(".a{fill:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emfe-w-color-valid, var(--emfe-w-color-green, #48952a));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=te(),w=t("h4"),y=ee(S),b=te(),v=t("p"),E=ee(C),P=te(),T=t("button"),_=ee(H),oe(f,"class","a"),oe(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),oe(f,"transform","translate(264.272 482.563)"),oe(h,"transform","translate(-7360.574 8503.438)"),oe(d,"class","c"),oe(d,"cx","30"),oe(d,"cy","30"),oe(d,"r","30"),oe(m,"class","d"),oe(m,"cx","30"),oe(m,"cy","30"),oe(m,"r","29"),oe(p,"class","b"),oe(p,"transform","translate(-7106 8970)"),oe(u,"transform","translate(7106 -8970)"),oe(i,"xmlns","http://www.w3.org/2000/svg"),oe(i,"width","60"),oe(i,"height","60"),oe(i,"viewBox","0 0 60 60"),oe(s,"class","NewPasswordSuccess"),oe(s,"part","NewPasswordSuccess"),oe(T,"class","resetPasswordButton"),oe(T,"part","resetPasswordButton"),oe(n,"class","FormContent"),oe(n,"part","FormContent"),oe(o,"class","FormForgotPassword"),oe(o,"part","FormForgotPassword")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(l,c),W(i,u),W(u,h),W(h,f),W(u,p),W(p,d),W(p,m),W(s,g),W(s,w),W(w,y),W(s,b),W(s,v),W(v,E),W(n,P),W(n,T),W(T,_),B||(A=re(T,"click",r[49]),B=!0)},p(e,t){16777216&t[0]&&S!==(S=e[24]("forgotChangePasswordTitle")+"")&&ne(y,S),16777216&t[0]&&C!==(C=e[24]("forgotChangePasswordDescription")+"")&&ne(E,C),16777216&t[0]&&H!==(H=e[24]("forgotChangePasswordLogin")+"")&&ne(_,H)},d(e){e&&Q(o),B=!1,A()}}}function Co(r){let o,n,s,i,a,l,c,u,h,k,f,U,p,d,D,m,G,g,w,y,$,b,j,v,V,E,z,P,T,_,B,A,X,S=r[24]("forgotNewPasswordTitle")+"",C=r[24]("forgotNewPasswordPassword")+"",H=r[24]("forgotNewPasswordConfirmPassword")+"",N=r[24]("forgotNewPasswordButton")+"";function Z(e){return e[19]?Io:Lo}let L=Z(r),I=L(r),O=r[15]&&Oo(r);function K(e){return e[20]?Mo:Fo}let x=K(r),R=x(r),F=r[16]&&ko(r),M=r[23]&&Uo(r);return{c(){o=t("div"),n=t("div"),s=t("h4"),i=ee(S),a=te(),l=t("form"),c=t("div"),u=t("label"),h=ee(C),k=ee(":"),(f=t("span")).textContent="*",U=te(),p=t("input"),D=te(),I.c(),m=te(),O&&O.c(),G=te(),g=t("div"),w=t("label"),y=ee(H),$=ee(":"),(b=t("span")).textContent="*",j=te(),v=t("input"),V=te(),R.c(),E=te(),F&&F.c(),z=te(),M&&M.c(),P=te(),T=t("button"),_=ee(N),oe(s,"class","FormHeaderTitle"),oe(s,"part","FormHeaderTitle"),oe(n,"class","FormHeader"),oe(n,"part","FormHeader"),oe(f,"class","FormRequired"),oe(f,"part","FormRequired"),oe(u,"for","NewPassword"),oe(p,"type","password"),oe(p,"id","new-password"),oe(p,"autocomplete",d=r[2]?"new-password":"off"),oe(c,"class","NewPassword"),oe(c,"part","NewPassword"),oe(b,"class","FormRequired"),oe(b,"part","FormRequired"),oe(w,"for","RetypePassword"),oe(v,"type","password"),oe(v,"id","RetypePassword"),oe(g,"class","ConfirmPassword"),oe(g,"part","ConfirmPassword"),oe(T,"class","resetPasswordButton"),oe(T,"part","resetPasswordButton"),T.disabled=B=!r[14],oe(l,"class","FormContent"),oe(l,"part","FormContent"),oe(o,"class","FormForgotPassword test"),oe(o,"part","FormForgotPassword test")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(o,l),W(l,c),W(c,u),W(u,h),W(u,k),W(u,f),W(c,U),W(c,p),se(p,r[21]),r[41](p),W(c,D),I.m(c,null),W(c,m),O&&O.m(c,null),W(l,G),W(l,g),W(g,w),W(w,y),W(w,$),W(w,b),W(g,j),W(g,v),se(v,r[22]),r[45](v),W(g,V),R.m(g,null),W(g,E),F&&F.m(g,null),W(l,z),M&&M.m(l,null),W(l,P),W(l,T),W(T,_),A||(X=[re(p,"input",r[40]),re(p,"keyup",function(){Y(r[30](r[15],r[21],r[17]))&&r[30](r[15],r[21],r[17]).apply(this,arguments)}),re(v,"input",r[44]),re(v,"keyup",function(){Y(r[30](r[16],r[22],r[18]))&&r[30](r[16],r[22],r[18]).apply(this,arguments)}),re(T,"click",r[48])],A=!0)},p(e,t){r=e,16777216&t[0]&&S!==(S=r[24]("forgotNewPasswordTitle")+"")&&ne(i,S),16777216&t[0]&&C!==(C=r[24]("forgotNewPasswordPassword")+"")&&ne(h,C),4&t[0]&&d!==(d=r[2]?"new-password":"off")&&oe(p,"autocomplete",d),2097152&t[0]&&p.value!==r[21]&&se(p,r[21]),L===(L=Z(r))&&I?I.p(r,t):(I.d(1),(I=L(r))&&(I.c(),I.m(c,m))),r[15]?O?O.p(r,t):((O=Oo(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),16777216&t[0]&&H!==(H=r[24]("forgotNewPasswordConfirmPassword")+"")&&ne(y,H),4194304&t[0]&&v.value!==r[22]&&se(v,r[22]),x===(x=K(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(g,E))),r[16]?F?F.p(r,t):((F=ko(r)).c(),F.m(g,null)):F&&(F.d(1),F=null),r[23]?M?M.p(r,t):((M=Uo(r)).c(),M.m(l,P)):M&&(M.d(1),M=null),16777216&t[0]&&N!==(N=r[24]("forgotNewPasswordButton")+"")&&ne(_,N),16384&t[0]&&B!==(B=!r[14])&&(T.disabled=B)},d(e){e&&Q(o),r[41](null),I.d(),O&&O.d(),r[45](null),R.d(),F&&F.d(),M&&M.d(),A=!1,q(X)}}}function Ho(e){let r,o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E=e[24]("forgotPasswordSuccess")+"",P=e[24]("forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),n=t("div"),s=G("svg"),i=G("defs"),a=G("style"),l=ee(".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=te(),g=t("h4"),w=ee(E),y=te(),b=t("p"),v=ee(P),oe(h,"class","a"),oe(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),oe(h,"transform","translate(264.272 482.563)"),oe(u,"transform","translate(-7360.574 8503.438)"),oe(p,"class","c"),oe(p,"cx","30"),oe(p,"cy","30"),oe(p,"r","30"),oe(d,"class","d"),oe(d,"cx","30"),oe(d,"cy","30"),oe(d,"r","29"),oe(f,"class","b"),oe(f,"transform","translate(-7106 8970)"),oe(c,"transform","translate(7106 -8970)"),oe(s,"xmlns","http://www.w3.org/2000/svg"),oe(s,"width","60"),oe(s,"height","60"),oe(s,"viewBox","0 0 60 60"),oe(n,"class","NewPasswordSuccess"),oe(n,"part","NewPasswordSuccess"),oe(o,"class","FormContent"),oe(o,"part","FormContent"),oe(r,"class","FormForgotPassword"),oe(r,"part","FormForgotPassword")},m(e,t){J(e,r,t),W(r,o),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(s,c),W(c,u),W(u,h),W(c,f),W(f,p),W(f,d),W(n,m),W(n,g),W(g,w),W(n,y),W(n,b),W(b,v)},p(e,t){16777216&t[0]&&E!==(E=e[24]("forgotPasswordSuccess")+"")&&ne(w,E),16777216&t[0]&&P!==(P=e[24]("forgotPasswordSuccessDescription")+"")&&ne(v,P)},d(e){e&&Q(r)}}}function No(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,v,E,P,T,_,k,B,A,S,U,C,H,N,L,D,I=r[24]("goToLogin")+"",O=r[24]("forgotPasswordTitle")+"",x=r[24]("forgotPasswordEmail")+"",R=r[24]("forgotPasswordReset")+"",F=r[11]&&Do(r),M=r[5]&&Go(r);return{c(){o=t("div"),n=t("div"),s=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=ee(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));}"),u=G("path"),h=te(),f=ee(I),p=te(),d=t("h4"),m=ee(O),g=te(),w=t("form"),y=t("div"),b=t("label"),v=ee(x),E=ee(":"),(P=t("span")).textContent="*",T=te(),_=t("input"),k=te(),F&&F.c(),B=te(),M&&M.c(),U=te(),C=t("button"),H=ee(R),oe(u,"class","a"),oe(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),oe(u,"transform","translate(24 24) rotate(180)"),oe(i,"xmlns","http://www.w3.org/2000/svg"),oe(i,"viewBox","0 0 24 24"),oe(s,"class","backButtonForgotPassword"),oe(d,"class","FormHeaderTitle"),oe(d,"part","FormHeaderTitle"),oe(n,"class","FormHeader"),oe(P,"class","FormRequired"),oe(P,"part","FormRequired"),oe(b,"for","ResetPasswordByEmail"),oe(_,"type","text"),oe(_,"id","ResetPasswordByEmail"),oe(y,"class",A="ResetPasswordByEmail "+(r[11]?"InvalidField":"")),oe(y,"part",S="ResetPasswordByEmail "+(r[11]?"InvalidField":"")),oe(C,"class","resetPasswordButton"),oe(C,"part","resetPasswordButton"),C.disabled=N=!r[12],oe(w,"class","FormContent"),oe(w,"part","FormContent"),oe(o,"class","FormForgotPassword")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(i,a),W(a,l),W(l,c),W(i,u),W(s,h),W(s,f),W(n,p),W(n,d),W(d,m),W(o,g),W(o,w),W(w,y),W(y,b),W(b,v),W(b,E),W(b,P),W(y,T),W(y,_),se(_,r[7]),W(y,k),F&&F.m(y,null),W(y,B),M&&M.m(y,null),W(w,U),W(w,C),W(C,H),L||(D=[re(s,"click",r[37]),re(_,"input",r[38]),re(_,"keyup",r[25]),re(C,"click",r[39])],L=!0)},p(e,t){16777216&t[0]&&I!==(I=e[24]("goToLogin")+"")&&ne(f,I),16777216&t[0]&&O!==(O=e[24]("forgotPasswordTitle")+"")&&ne(m,O),16777216&t[0]&&x!==(x=e[24]("forgotPasswordEmail")+"")&&ne(v,x),128&t[0]&&_.value!==e[7]&&se(_,e[7]),e[11]?F?F.p(e,t):((F=Do(e)).c(),F.m(y,B)):F&&(F.d(1),F=null),e[5]?M?M.p(e,t):((M=Go(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),2048&t[0]&&A!==(A="ResetPasswordByEmail "+(e[11]?"InvalidField":""))&&oe(y,"class",A),2048&t[0]&&S!==(S="ResetPasswordByEmail "+(e[11]?"InvalidField":""))&&oe(y,"part",S),16777216&t[0]&&R!==(R=e[24]("forgotPasswordReset")+"")&&ne(H,R),4096&t[0]&&N!==(N=!e[12])&&(C.disabled=N)},d(e){e&&Q(o),F&&F.d(),M&&M.d(),L=!1,q(D)}}}function Lo(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),oe(l,"class","a"),oe(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"),oe(l,"transform","translate(0)"),oe(c,"class","a"),oe(c,"cx","2.779"),oe(c,"cy","2.779"),oe(c,"r","2.779"),oe(c,"transform","translate(20.827 30.303)"),oe(a,"transform","translate(-14.185 -27.832)"),oe(o,"class",u="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.843"),oe(o,"height","10.5"),oe(o,"viewBox","0 0 18.843 10.5")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),h||(f=re(o,"click",r[43]),h=!0)},p(e,t){32768&t[0]&&u!==(u="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&oe(o,"class",u)},d(e){e&&Q(o),h=!1,f()}}}function Io(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=ee(".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"),oe(l,"class","a"),oe(l,"cx","0.05"),oe(l,"cy","0.05"),oe(l,"r","0.05"),oe(l,"transform","translate(121.017 31.148)"),oe(u,"class","a"),oe(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),oe(u,"transform","translate(-142.164 -39.123)"),oe(h,"class","a"),oe(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),oe(h,"transform","translate(-136.413 -42.068)"),oe(c,"transform","translate(117.499 27.37)"),oe(p,"class","a"),oe(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"),oe(p,"transform","translate(-110.856 -33.157)"),oe(d,"class","a"),oe(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"),oe(d,"transform","translate(-130.743 -29.617)"),oe(f,"transform","translate(110.856 24.899)"),oe(m,"class","a"),oe(m,"width","0.972"),oe(m,"height","15.861"),oe(m,"rx","0.486"),oe(m,"transform","translate(114.827 23.858) rotate(-39.315)"),oe(a,"transform","translate(-110.856 -23.242)"),oe(o,"class",g="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.844"),oe(o,"height","12.887"),oe(o,"viewBox","0 0 18.844 12.887")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),W(c,u),W(c,h),W(a,f),W(f,p),W(f,d),W(a,m),w||(y=re(o,"click",r[42]),w=!0)},p(e,t){32768&t[0]&&g!==(g="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&oe(o,"class",g)},d(e){e&&Q(o),w=!1,y()}}}function Oo(e){let r;function o(e){return"true"==e[1]?Ro:xo}let n=o(e),s=n(e);return{c(){s.c(),r=H()},m(e,t){s.m(e,t),J(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 xo(e){let r,o,n=e[24]("forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotNewPasswordPasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Ro(e){let r,o,n=e[24]("simplePasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("simplePasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Fo(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=ee(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),oe(l,"class","a"),oe(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"),oe(l,"transform","translate(0)"),oe(c,"class","a"),oe(c,"cx","2.779"),oe(c,"cy","2.779"),oe(c,"r","2.779"),oe(c,"transform","translate(20.827 30.303)"),oe(a,"transform","translate(-14.185 -27.832)"),oe(o,"class",u="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.843"),oe(o,"height","10.5"),oe(o,"viewBox","0 0 18.843 10.5")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),h||(f=re(o,"click",r[47]),h=!0)},p(e,t){65536&t[0]&&u!==(u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&oe(o,"class",u)},d(e){e&&Q(o),h=!1,f()}}}function Mo(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=ee(".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"),oe(l,"class","a"),oe(l,"cx","0.05"),oe(l,"cy","0.05"),oe(l,"r","0.05"),oe(l,"transform","translate(121.017 31.148)"),oe(u,"class","a"),oe(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),oe(u,"transform","translate(-142.164 -39.123)"),oe(h,"class","a"),oe(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),oe(h,"transform","translate(-136.413 -42.068)"),oe(c,"transform","translate(117.499 27.37)"),oe(p,"class","a"),oe(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"),oe(p,"transform","translate(-110.856 -33.157)"),oe(d,"class","a"),oe(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"),oe(d,"transform","translate(-130.743 -29.617)"),oe(f,"transform","translate(110.856 24.899)"),oe(m,"class","a"),oe(m,"width","0.972"),oe(m,"height","15.861"),oe(m,"rx","0.486"),oe(m,"transform","translate(114.827 23.858) rotate(-39.315)"),oe(a,"transform","translate(-110.856 -23.242)"),oe(o,"class",g="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),oe(o,"xmlns","http://www.w3.org/2000/svg"),oe(o,"width","18.844"),oe(o,"height","12.887"),oe(o,"viewBox","0 0 18.844 12.887")},m(e,t){J(e,o,t),W(o,n),W(n,s),W(s,i),W(o,a),W(a,l),W(a,c),W(c,u),W(c,h),W(a,f),W(f,p),W(f,d),W(a,m),w||(y=re(o,"click",r[46]),w=!0)},p(e,t){65536&t[0]&&g!==(g="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&oe(o,"class",g)},d(e){e&&Q(o),w=!1,y()}}}function ko(e){let r,o,n=e[24]("forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","InvalidInput"),oe(r,"part","InvalidInput")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotNewPasswordConfirmPasswordError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Uo(e){let r,o;return{c(){r=t("p"),o=ee(e[13]),oe(r,"class","ErrorMessage"),oe(r,"part","ErrorMessage")},m(e,t){J(e,r,t),W(r,o)},p(e,t){8192&t[0]&&ne(o,e[13])},d(e){e&&Q(r)}}}function Do(e){let r,o,n=e[24]("forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","ForgotPasswordError"),oe(r,"part","ForgotPasswordError")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotPasswordEmailInputError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function Go(e){let r,o,n=e[24]("forgotPasswordEmailError")+"";return{c(){r=t("p"),o=ee(n),oe(r,"class","ForgotPasswordError"),oe(r,"part","ForgotPasswordError")},m(e,t){J(e,r,t),W(r,o)},p(e,t){16777216&t[0]&&n!==(n=e[24]("forgotPasswordEmailError")+"")&&ne(o,n)},d(e){e&&Q(r)}}}function $o(r){let o,n,s,i,a,l=r[0]&&Ao(r),c=function(e){let r,o;function n(e){return e[4]?No:e[6]?Ho:e[8]?Co:e[9]?So:void 0}let s=n(e),i=s&&s(e);return{c(){r=t("div"),i&&i.c(),oe(r,"class",o="FormContainer "+(e[10]?"FormMobileContainer":""))},m(e,t){J(e,r,t),i&&i.m(r,null)},p(e,t){s===(s=n(e))&&i?i.p(e,t):(i&&i.d(1),(i=s&&s(e))&&(i.c(),i.m(r,null))),1024&t[0]&&o!==(o="FormContainer "+(e[10]?"FormMobileContainer":""))&&oe(r,"class",o)},d(e){e&&Q(r),i&&i.d()}}}(r);return{c(){l&&l.c(),o=H(),n=te(),s=t("div"),i=te(),a=t("div"),c.c(),this.c=f,oe(s,"class","g-recaptcha"),oe(s,"data-sitekey",r[0])},m(e,t){l&&l.m(Bo.head,null),W(Bo.head,o),J(e,n,t),J(e,s,t),J(e,i,t),J(e,a,t),c.m(a,null),r[50](a)},p(e,t){e[0]?l?l.p(e,t):((l=Ao(e)).c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null),1&t[0]&&oe(s,"data-sitekey",e[0]),c.p(e,t)},i:f,o:f,d(e){l&&l.d(e),Q(o),e&&Q(n),e&&Q(s),e&&Q(i),e&&Q(a),c.d(),r[50](null)}}}function jo(t,e,o){let r;var n,s,i=Po;t.$$.on_destroy.push(X(i,e=>o(24,r=e)));let a,l,c,{endpoint:u=""}=e,{forgotpasswordkey:h=""}=e,{captchakey:f=""}=e,{lang:p="en"}=e,{simplepasswordvalidation:d="false"}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,{translationurl:w=""}=e,{savecredentials:y=""}=e,b=!0,v=!1,E=!1,P="",T=!1,_=!1,F=!1,M,k,U=window.navigator.userAgent,D="",G,B=!1,A=!1,S=!1,C=!1,H="",N="",L=!1;({withLocale:n,translations:s}={withLocale:"en",translations:{}}),z.subscribe(e=>{null==e&&(Vr.set(s),z.set(n))}),Object.keys(_o).forEach(e=>{To(e,_o[e])});const I={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},O=e=>{switch(e){case"userNewPassword":o(19,S=!S),o(17,a.type=S?"text":"password",a);break;case"userConfirmPassword":o(20,C=!C),o(18,l.type=C?"text":"password",l)}},x=e=>{switch(e){case"ToEmailSuccess":o(5,v=!1),o(4,b=!1),o(6,E=!0);break;case"ToReset":o(4,b=!1),o(8,T=!0);break;case"ToSuccess":o(8,T=!1),o(9,_=!0)}},R=()=>{window.postMessage({type:"ToLogin"},window.location.href)},$=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(f,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{var t=new URL(u+"/player/resetpassword"),e={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",P),fetch(t,e).then(e=>{200==e.status?x("ToEmailSuccess"):o(5,v=!0)})})},j=e=>{e.preventDefault();var e=new URL(u+"/player/ResetPasswordByHashKey"),t={hashKey:h,plainTextPassword:H},t={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(t)};fetch(e,t).then(e=>(200==e.status?(o(23,L=!1),x("ToSuccess")):o(23,L=!0),e.json())).then(e=>{o(13,D=e.error)})},V=e=>("true"==d&&(I.password=/^(?!.* ).{8,20}$/),!!I.password.test(e));return i=async()=>{var e;((e=U).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(10,F=!0)},function(){if(Z)return Z;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"endpoint"in e&&o(31,u=e.endpoint),"forgotpasswordkey"in e&&o(32,h=e.forgotpasswordkey),"captchakey"in e&&o(0,f=e.captchakey),"lang"in e&&o(33,p=e.lang),"simplepasswordvalidation"in e&&o(1,d=e.simplepasswordvalidation),"clientstyling"in e&&o(34,m=e.clientstyling),"clientstylingurl"in e&&o(35,g=e.clientstylingurl),"translationurl"in e&&o(36,w=e.translationurl),"savecredentials"in e&&o(2,y=e.savecredentials)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&h&&h&&0<h.length&&x("ToReset"),4&t.$$.dirty[1]&&p&&(e=p,z.set(e)),8&t.$$.dirty[0]|8&t.$$.dirty[1]&&m&&c&&((e=document.createElement("style")).innerHTML=m,c.appendChild(e)),8&t.$$.dirty[0]|16&t.$$.dirty[1]&&g&&c){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500)})}var e;32&t.$$.dirty[1]&&w&&fetch(w).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{To(e,t[e])})}).catch(e=>{console.log(e)})},[f,d,y,c,b,v,E,P,T,_,F,!1,!1,D,!1,B,A,a,l,S,C,H,N,L,r,()=>{var e;o(11,(e=P,M=!(I.email.test(e)&&e.length<=100))),o(12,k=!M)},O,R,$,j,(e,t,r)=>{"new-password"===r.id&&(o(15,B=!V(t)),!N)||o(16,A=H!==N||!V(t)),o(14,G=!(B||A||!H||!N))},u,h,p,m,g,w,()=>R(),function(){P=this.value,o(7,P)},e=>$(e),function(){H=this.value,o(21,H)},function(e){K[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>O("userNewPassword"),()=>O("userNewPassword"),function(){N=this.value,o(22,N)},function(e){K[e?"unshift":"push"](()=>{l=e,o(18,l)})},()=>O("userConfirmPassword"),()=>O("userConfirmPassword"),e=>j(e),()=>R(),function(e){K[e?"unshift":"push"](()=>{c=e,o(3,c)})}]}class Vo extends D{constructor(e){super();var t=document.createElement("style");t.textContent="*,*::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-registration-typography, var(--emfe-w-color-dunkel, #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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emfe-w-registration-color-bg, var(--emfe-w-color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emfe-w-registration-typography, var(--emfe-w-color-dunkel, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.ForgotPasswordError{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));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-valid, 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-registration-typography, var(--emfe-w-color-dunkel, #07072A));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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-registration-contrast, var(--emfe-w-color-gray-300, #58586B))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-registration-contrast, 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-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C))}.resetPasswordButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-pink-500, #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, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909))}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emfe-w-color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},jo,$o,B,{endpoint:31,forgotpasswordkey:32,captchakey:0,lang:33,simplepasswordvalidation:1,clientstyling:34,clientstylingurl:35,translationurl:36,savecredentials:2},null,[-1,-1,-1]),e&&(e.target&&J(e.target,this,e.anchor),e.props)&&(this.$set(e.props),d())}static get observedAttributes(){return["endpoint","forgotpasswordkey","captchakey","lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials"]}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),d()}get forgotpasswordkey(){return this.$$.ctx[32]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),d()}get captchakey(){return this.$$.ctx[0]}set captchakey(e){this.$$set({captchakey:e}),d()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),d()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),d()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),d()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),d()}get translationurl(){return this.$$.ctx[36]}set translationurl(e){this.$$set({translationurl:e}),d()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(e){this.$$set({savecredentials:e}),d()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Vo),Vo});
2
2
  //# sourceMappingURL=general-player-forgot-password-form.js.map