@everymatrix/general-player-forgot-password-form 1.7.2 → 1.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function g(){}function B(e){return e()}function A(){return Object.create(null)}function Z(e){e.forEach(B)}function oe(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let C,$;function H(e,t){return(C=C||document.createElement("a")).href=t,e===C.href}function j(e,...t){if(null==e)return g;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function K(e,t){e.appendChild(t)}function q(e,t,r){e.insertBefore(t,r||null)}function Y(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function J(){return W(" ")}function N(){return W("")}function Q(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function ee(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function te(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function re(e,t){e.value=null==t?"":t}function L(e,t,r,o){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,o?"important":"")}function F(e){$=e}const I=[],V=[],O=[],x=[],R=Promise.resolve();let M=!1;function k(e){O.push(e)}const U=new Set;let D=0;function w(){const e=$;do{for(;D<I.length;){const e=I[D];D++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),Z(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(k))}for(F(null),I.length=0,D=0;V.length;)V.pop()();for(let e=0;e<O.length;e+=1){const o=O[e];U.has(o)||(U.add(o),o())}}while(O.length=0,I.length);for(;x.length;)x.pop()();M=!1,U.clear(),F(e)}const z=new Set;var X="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ne(o,e,t,r,n,s,i,a=[-1]){var l=$;F(o);const c=o.$$={fragment:null,ctx:null,props:s,update:g,not_equal:n,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=o).$$.dirty[0]&&(I.push(e),M||(M=!0,R.then(w)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,Z(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const g=Array.from(s.childNodes);c.fragment&&c.fragment.l(g),g.forEach(Y)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(z.delete(a),a.i(void 0));{var h=o;i=e.target;t=e.anchor;r=e.customElement;const{fragment:f,on_mount:p,on_destroy:d,after_update:m}=h.$$;f&&f.m(i,t),r||k(()=>{var e=p.map(B).filter(oe);d?d.push(...e):Z(e),h.$$.on_mount=[]}),m.forEach(k)}w()}F(l)}let se;"function"==typeof HTMLElement&&(se=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(B).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Z(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ie,ae,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,le="URLSearchParams"in a,ce="Symbol"in a&&"iterator"in Symbol,ue="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),he="FormData"in a,fe="ArrayBuffer"in a;function pe(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 de(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ce&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function we(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function ye(e){var t=new FileReader,r=we(t);return t.readAsArrayBuffer(e),r}function be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ee(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ue&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:he&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fe&&ue&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||ae(e))?this._bodyArrayBuffer=be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ue&&(this.blob=function(){var e=ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ye)}),this.text=function(){var e,t,r=ge(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=we(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},he&&(this.formData=function(){return this.text().then(Pe)}),this.json=function(){return this.text().then(JSON.parse)},this}fe&&(ie=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ae=ArrayBuffer.isView||function(e){return e&&-1<ie.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=pe(e),t=de(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[pe(e)]},l.prototype.get=function(e){return e=pe(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(pe(e))},l.prototype.set=function(e,t){this.map[pe(e)]=de(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),me(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),me(r)},ce&&(l.prototype[Symbol.iterator]=l.prototype.entries);var ve=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ve.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Pe(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Ee.call(c.prototype),Ee.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Te=[301,302,303,307,308],h=(u.redirect=function(e,t){if(-1===Te.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},a.DOMException);try{new h}catch(g){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function _e(o,i){return new Promise(function(n,e){var t=new c(o,i);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},o=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new u(o,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(ue?s.responseType="blob":fe&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){s.setRequestHeader(e,de(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}_e.polyfill=!0,a.fetch||(a.fetch=_e,a.Headers=l,a.Request=c,a.Response=u),self.fetch.bind(self);var Be=function(e,t){return(Be=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 Ae(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}Be(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Se(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 Ce(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,s=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(o=s.next()).done;)i.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i}function He(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function f(e){return"function"==typeof e}function Ne(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 Le=Ne(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 Fe(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=Se(s),a=i.next();!a.done;a=i.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(f(s))try{s()}catch(e){n=e instanceof Le?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=Se(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{Re(u)}catch(e){n=null!=n?n:[],e instanceof Le?n=He(He([],Ce(n)),Ce(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 Le(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Re(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)&&Fe(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Fe(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Ie=r,Oe=Ie.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function xe(e){return e instanceof Ie||e&&"closed"in e&&f(e.remove)&&f(e.add)&&f(e.unsubscribe)}function Re(e){f(e)?e():e.unsubscribe()}var Me=void 0,ke=!1,Ue=!1,De={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=De.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,He([e,t],Ce(r))):setTimeout.apply(void 0,He([e,t],Ce(r)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var $e=null;function je(e){if(ke){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var t=$e,r=t.errorThrown,t=t.error;if($e=null,r)throw t}}else e()}Ae(e,Ve=Ie),e.create=function(e,t,r){return new Ye(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,Ve.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 Ve,ze=e,Xe=Function.prototype.bind;function e(e){var t=Ve.call(this)||this;return t.isStopped=!1,e?xe(t.destination=e)&&e.add(t):t.destination=et,t}function Ze(e,t){return Xe.call(e,t)}Je.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Qe(e)}},Je.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Qe(e)}else Qe(e)},Je.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Qe(e)}};var Ke,qe=Je,Ye=(Ae(We,Ke=ze),We);function We(e,t,r){var o=Ke.call(this)||this,r=f(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ue?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&Ze(e.next,t),error:e.error&&Ze(e.error,t),complete:e.complete&&Ze(e.complete,t)}):e;return o.destination=new qe(r),o}function Je(e){this.partialObserver=e}function Qe(e){var t=e;De.setTimeout(function(){throw t})}var et={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,r){var o,n=this,s=(o=e)&&o instanceof ze||o&&f(o.next)&&f(o.error)&&f(o.complete)&&xe(o)?e:new Ye(e,t,r);return je(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=ot(e))(function(e,t){var r=new Ye({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?tt: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=ot(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 rt=n;function n(e){e&&(this._subscribe=e)}function ot(e){return null!=(e=null!=e?e:Me)?e:Promise}var nt,st,it,at=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Ae(i,it=rt),i.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new at},i.prototype.next=function(n){var s=this;je(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=Se(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;je(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},i.prototype.complete=function(){var t=this;je(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),it.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?Oe:(this.currentObservers=null,n.push(e),new Ie(function(){t.currentObservers=null,Fe(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 rt;return e.source=this,e},i.create=function(e,t){return new lt(e,t)},i),lt=(Ae(s,st=o),s.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},s.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},s.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},s.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Oe},s),ct={now:function(){return(ct.delegate||Date).now()},delegate:void 0},ut=(Ae(ht,nt=o),ht.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(),nt.prototype.next.call(this,e)},ht.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},ht.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)}},ht);function ht(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=ct);var o=nt.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function s(e,t){var r=st.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=it.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],pt={};const p=[];function dt(o,n=g){let s;const i=new Set;function a(e){if(S(o,e)&&(o=e,s)){const e=!p.length;for(const e of i)e[1](),p.push(e,o);if(e){for(let e=0;e<p.length;e+=2)p[e][0](p[e+1]);p.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=g){const r=[e,t];return i.add(r),1===i.size&&(s=n(a)||g),e(o),()=>{i.delete(r),0===i.size&&(s(),s=null)}}}}function mt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:dt(t,t=>{let r=!1;const o=[];let n=0,s=g;const i=()=>{var e;n||(s(),e=a(l?o[0]:o,t),u?t(e):s=oe(e)?e:g)},e=c.map((e,t)=>j(e,e=>{o[t]=e,n&=~(1<<t),r&&i()},()=>{n|=1<<t}));return r=!0,i(),function(){Z(e),s()}}).subscribe}}function gt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===wt));var t}var wt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function yt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Tt(Array.isArray(e)?[]:{},e,t):e}function bt(e,t,r){return e.concat(t).map(function(e){return yt(e,r)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function vt(e,t){try{return t in e}catch(e){return!1}}function Pt(o,n,s){var i={};return s.isMergeableObject(o)&&Et(o).forEach(function(e){i[e]=yt(o[e],s)}),Et(n).forEach(function(t){var e,r;(!vt(e=o,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(vt(o,t)&&s.isMergeableObject(n[t])?i[t]=function(e){if(!e.customMerge)return Tt;e=e.customMerge(t);return"function"==typeof e?e:Tt}(s)(o[t],n[t],s):i[t]=yt(n[t],s))}),i}function Tt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||bt,r.isMergeableObject=r.isMergeableObject||gt,r.cloneUnlessOtherwiseSpecified=yt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):Pt(e,t,r):yt(t,r)}Tt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Tt(e,t,r)},{});throw new Error("first argument should be an array")};var _t=Tt,Bt=function(e,t){return(Bt=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 At(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}Bt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,St,b=function(){return(b=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ct(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Nt(e){return e.type===y.number}function Lt(e){return e.type===y.date}function Ft(e){return e.type===y.time}function It(e){return e.type===y.select}function Ot(e){return e.type===y.plural}function xt(e){return e.type===y.tag}function Rt(e){return e&&"object"==typeof e&&e.type===St.number}function Mt(e){return e&&"object"==typeof e&&e.type===St.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=St=St||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,kt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Gt=/^(@+)?(\+|#+)?[rs]?$/g,$t=/(\*)(0+)|(#+)(0+)|(0+)/g,jt=/^(0+)$/;function Vt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Gt,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 zt(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 Xt(e){return zt(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=b(b(b({},i),{notation:"scientific"}),n.options.reduce(function(e,t){return b(b({},e),Xt(t))},{}));continue;case"engineering":i=b(b(b({},i),{notation:"engineering"}),n.options.reduce(function(e,t){return b(b({},e),Xt(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($t,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(jt.test(n.stem))i.minimumIntegerDigits=n.stem.length;else if(Dt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Dt,function(e,t,r,o,n,s){return"*"===r?i.minimumFractionDigits=t.length:o&&"#"===o[0]?i.maximumFractionDigits=o.length:n&&s?(i.minimumFractionDigits=n.length,i.maximumFractionDigits=n.length+s.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?i=b(b({},i),{trailingZeroDisplay:"stripIfInteger"}):s&&(i=b(b({},i),Vt(s)))}else Gt.test(n.stem)?i=b(b({},i),Vt(n.stem)):((s=zt(n.stem))&&(i=b(b({},i),s)),(o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(i=b(b({},i),o)))}return i}var Kt={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 qt=new RegExp("^".concat(o.source,"*")),Yt=new RegExp("".concat(o.source,"*$"));function E(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Wt=!!String.fromCodePoint,Jt=!!Object.fromEntries,Qt=!!String.prototype.codePointAt,er=!!String.prototype.trimStart,tr=!!String.prototype.trimEnd,rr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},or=!0;try{or="a"===(null==(_r=fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:_r[0])}catch(g){or=!1}var nr,sr,ir=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ar=Wt?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},lr=Jt?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},cr=Qt?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},ur=er?function(e){return e.trimStart()}:function(e){return e.replace(qt,"")},hr=tr?function(e){return e.trimEnd()}:function(e){return e.replace(Yt,"")};function fr(e,t){return new RegExp(e,t)}sr=or?(nr=fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return nr.lastIndex=t,null!=(t=nr.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=cr(e,t);if(void 0===n||mr(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 ar.apply(void 0,o)};d.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},d.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&dr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;o.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}}else{s=this.clonePosition();this.bump(),o.push({type:y.pound,location:E(s,this.clonePosition())})}}}return{val:o,err:null}},d.prototype.parseTag=function(e,t){var r=this.clonePosition(),o=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(o,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dr(this.char()))return this.error(m.INVALID_TAG,E(e,this.clonePosition()));var n=this.clonePosition();return o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,E(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:E(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(m.INVALID_TAG,E(r,this.clonePosition()))},d.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},d.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=E(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},d.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(dr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},d.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ar.apply(void 0,t)},d.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ar(r))},d.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,E(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},d.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=sr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},d.prototype.parseArgumentOptions=function(e,t,r,o){var n,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(i){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=hr(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:E(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(o)).err)return c;var u=E(o,this.clonePosition());if(l&&ir(null==l?void 0:l.style,"::",0)){var h=ur(l.style.slice(2));if("number"===i)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:u,style:d.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var f=h,p=(this.locale&&(f=function(e,t){for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var s=0;o+1<e.length&&e.charAt(o+1)===n;)s++,o++;var i=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Kt[t||""]||Kt[r||""]||Kt["".concat(r,"-001")]||Kt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<i--;)r=l+r}else r+="J"===n?"H":n}return r}(h,this.locale)),{type:St.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},f.replace(kt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}});return{val:{type:"date"===i?y.date:y.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===i?y.number:"date"===i?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(f,b({},f)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),u=0;if("select"!==i&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=d.val}l=this.tryParsePluralOrSelectOptions(e,i,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(o)).err)return c;h=E(o,this.clonePosition());return"select"===i?{val:{type:y.select,value:r,options:lr(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:lr(l.val),offset:u,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,E(s,a))}},d.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},d.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},d.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Ut).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),i=0,a=n;i<a.length;i++)if(0===a[i].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:St.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Zt(r):{}},err:null}},d.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,s=[],i=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;s.push([a,{value:c.val,location:E(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},d.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;n=!0,s=10*s+(i-48),this.bump()}o=E(o,this.clonePosition());return n?rr(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},d.prototype.offset=function(){return this.position.offset},d.prototype.isEOF=function(){return this.offset()===this.message.length},d.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},d.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=cr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},d.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},d.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},d.prototype.bumpIf=function(e){if(ir(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},d.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},d.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},d.prototype.bumpSpace=function(){for(;!this.isEOF()&&mr(this.char());)this.bump()},d.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var pr=d;function d(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function dr(e){return 97<=e&&e<=122||65<=e&&e<=90}function mr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function gr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new pr(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,It(e)||Ot(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Nt(e)&&Rt(e.style)||(Lt(e)||Ft(e))&&Mt(e.style)?delete e.style.location:xt(e)&&r(e.children)})}(e.val),e.val}function wr(e,t){var r=t&&t.cache?t.cache:Br,o=t&&t.serializer?t.serializer:vr;return(t&&t.strategy?t.strategy:function(e,t){return Er(e,this,1===e.length?yr:br,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function yr(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 br(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 Er(e,t,r,o,n){return r.bind(t,e,o,n)}var vr=function(){return JSON.stringify(arguments)};function Pr(){this.cache=Object.create(null)}Pr.prototype.get=function(e){return this.cache[e]},Pr.prototype.set=function(e,t){this.cache[e]=t};var Tr,_r,Br={create:function(){return new Pr}},Ar={variadic:function(e,t){return Er(e,this,br,t.cache.create(),t.serializer)},monadic:function(e,t){return Er(e,this,yr,t.cache.create(),t.serializer)}};(_r=Tr=Tr||{}).MISSING_VALUE="MISSING_VALUE",_r.INVALID_VALUE="INVALID_VALUE",_r.MISSING_INTL_API="MISSING_INTL_API";At(kr,Nr=Error),kr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Sr,Cr,Hr,Nr,Lr=kr,Fr=(At(Mr,Hr=Lr),Mr),Ir=(At(Rr,Cr=Lr),Rr),Or=(At(xr,Sr=Lr),xr);function xr(e,t){return Sr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Tr.MISSING_VALUE,t)||this}function Rr(e,t,r){return Cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Tr.INVALID_VALUE,r)||this}function Mr(e,t,r,o){return Hr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tr.INVALID_VALUE,o)||this}function kr(e,t,r){e=Nr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Ur(e,t,r,o,n,s,i){if(1===e.length&&Ht(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&a.push({type:v.literal,value:r.getNumberFormat(t).format(s)});else{var h=u.value;if(!(n&&h in n))throw new Or(h,i);h=n[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Lt(u)){var f="string"==typeof u.style?o.date[u.style]:Mt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Ft(u))f="string"==typeof u.style?o.time[u.style]:Mt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(Nt(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(Ur(p,t,r,o,n,s).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(It(u)){if(!(g=u.options[h]||u.options.other))throw new Fr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n))}else if(Ot(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tr.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 Fr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Dr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=gr,P.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Gr=P;function P(e,t,r,o){var n,s,i=this;if(void 0===t&&(t=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ur(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=t,this.resolvedLocale=P.resolveLocale(t),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=P.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=s[t])?b(b(b({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),o[t]||{}),e},{})):r),e},b({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ar.variadic}),getDateTimeFormat:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr(t.dateTime),strategy:Ar.variadic}),getPluralRules:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr(t.pluralRules),strategy:Ar.variadic})}}const T={},$r=(e,t,r)=>r&&(t in T||(T[t]={}),e in T[t]||(T[t][e]=r),r),jr=(t,r)=>{if(null!=r){if(r in T&&t in T[r])return T[r][t];var o=so(r);for(let e=0;e<o.length;e++){var n=function(e,r){if(!Xr(e))return null;e=function(e){return Vr[e]||null}(e);{var o=r;if(null==o)return;if(o in e)return e[o];const n=o.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const o=n.slice(e,n.length).join(".");if(o in t){t=t[o];break}}t=t[n[e]]}else t=void 0;return t}}(o[e],t);if(n)return $r(t,r,n)}}};let Vr;const zr=dt({});function Xr(e){return e in Vr}function Zr(t,...r){delete T[t],zr.update(e=>(e[t]=_t.all([e[t]||{},...r]),e))}mt([zr],([e])=>Object.keys(e)),zr.subscribe(e=>Vr=e);const Kr={};function qr(e){return Kr[e]}function Yr(e){return null!=e&&so(e).some(e=>{return null==(e=qr(e))?void 0:e.size})}const Wr={};function Jr(e){if(!Yr(e))return e in Wr?Wr[e]:Promise.resolve();const t=so(e).map(e=>{var t=qr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Wr[e]=Promise.all(t.map(([e,t])=>{{var o=e;e=t;const r=Promise.all(e.map(e=>{var t=o,r=e;return Kr[t].delete(r),0===Kr[t].size&&delete Kr[t],e().then(e=>e.default||e)}));return r.then(e=>Zr(o,...e))}})).then(()=>{if(Yr(e))return Jr(e);delete Wr[e]}),Wr[e]}function Qr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}const eo={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 to=dt(!1);let ro;const oo=dt(null);function no(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function so(e,t=eo.fallbackLocale){e=no(e);return t?[...new Set([...e,...no(t)])]:e}function _(){return null!=ro?ro:void 0}oo.subscribe(e=>{ro=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const io=Object.assign(Object.assign({},oo),{set:t=>{if(t&&function(e){if(null!=e){var t=so(e);for(let e=0;e<t.length;e++){var r=t[e];if(Xr(r))return r}}}(t)&&Yr(t)){var r=eo["loadingDelay"];let e;return"undefined"!=typeof window&&null!=_()&&r?e=window.setTimeout(()=>to.set(!0),r):to.set(!0),Jr(t).then(()=>{oo.set(t)}).finally(()=>{clearTimeout(e),to.set(!1)})}return oo.set(t)}}),ao=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},lo=(e,t)=>{var r=eo["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},co=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=lo("number",r)),new Intl.NumberFormat(t,e)}),uo=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=lo("date",r):0===Object.keys(e).length&&(e=lo("date","short")),new Intl.DateTimeFormat(t,e)}),ho=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=lo("time",r):0===Object.keys(e).length&&(e=lo("time","short")),new Intl.DateTimeFormat(t,e)}),fo=ao((e,t=_())=>new Gr(e,t,eo.formats,{ignoreTag:eo.ignoreTag})),po=mt([io,zr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:i=_(),default:a}=n;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=jr(e,i);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(o=null!=(r=null==(r=(o=eo).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=fo(l,i).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function mo(e,t){Zr(e,t)}mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return ho(Object.assign({locale:t},e))})(t).format(e)),mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return uo(Object.assign({locale:t},e))})(t).format(e)),mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return co(Object.assign({locale:t},e))})(t).format(e)),mt([io,zr],()=>(e,t=_())=>jr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ut(t),pt[e]=t,ft.push(e)),pt[e]}};const go={en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long."}},"zh-hk":{forgotPasswordForm:{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"}},fr:{forgotPasswordForm:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Onay şifresi yeni şifreyle eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için tıklayınız",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},es:{forgotPasswordForm:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"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:{forgotPasswordForm:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres."}}},wo=X["document"];function yo(e){let r,o;return{c(){H((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[1])||ee(r,"src",o),r.async=!0,r.defer=!0},m(e,t){q(e,r,t)},p(e,t){2&t[0]&&!H(r.src,o="//www.google.com/recaptcha/api.js?render="+e[1])&&ee(r,"src",o)},d(e){e&&Y(r)}}}function bo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,B,A,S=r[23]("forgotPasswordForm.forgotChangePasswordTitle")+"",C=r[23]("forgotPasswordForm.forgotChangePasswordDescription")+"",H=r[23]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=t("div"),n=t("div"),s=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=G("g"),h=G("g"),f=G("path"),p=G("g"),d=G("circle"),m=G("circle"),g=J(),w=t("h4"),y=W(S),b=J(),E=t("p"),v=W(C),P=J(),T=t("button"),_=W(H),ee(f,"class","a"),ee(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),ee(f,"transform","translate(264.272 482.563)"),ee(h,"transform","translate(-7360.574 8503.438)"),ee(d,"class","c"),ee(d,"cx","30"),ee(d,"cy","30"),ee(d,"r","30"),ee(m,"class","d"),ee(m,"cx","30"),ee(m,"cy","30"),ee(m,"r","29"),ee(p,"class","b"),ee(p,"transform","translate(-7106 8970)"),ee(u,"transform","translate(7106 -8970)"),ee(i,"xmlns","http://www.w3.org/2000/svg"),ee(i,"width","60"),ee(i,"height","60"),ee(i,"viewBox","0 0 60 60"),ee(s,"class","NewPasswordSuccess"),ee(s,"part","NewPasswordSuccess"),ee(T,"class","resetPasswordButton"),ee(T,"part","resetPasswordButton"),ee(n,"class","FormContent"),ee(n,"part","FormContent"),ee(o,"class","FormLeftSide"),ee(o,"part","FormLeftSide")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(l,c),K(i,u),K(u,h),K(h,f),K(u,p),K(p,d),K(p,m),K(s,g),K(s,w),K(w,y),K(s,b),K(s,E),K(E,v),K(n,P),K(n,T),K(T,_),B||(A=Q(T,"click",r[48]),B=!0)},p(e,t){8388608&t[0]&&S!==(S=e[23]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&te(y,S),8388608&t[0]&&C!==(C=e[23]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&te(v,C),8388608&t[0]&&H!==(H=e[23]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&te(_,H)},d(e){e&&Y(o),B=!1,A()}}}function Eo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,k,w,U,y,b,E,D,v,G,P,$,T,j,_,B,A,S,V,C=r[23]("forgotPasswordForm.forgotNewPasswordTitle")+"",H=r[23]("forgotPasswordForm.forgotNewPasswordPassword")+"",N=r[23]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",L=r[23]("forgotPasswordForm.forgotNewPasswordButton")+"";function z(e){return e[19]?_o:To}let F=z(r),I=F(r),O=r[15]&&Bo(r);function X(e){return e[20]?Ho:Co}let x=X(r),R=x(r),M=r[16]&&No(r);return{c(){o=t("div"),n=t("div"),s=t("h4"),i=W(C),a=J(),l=t("form"),c=t("div"),u=t("label"),h=W(H),f=W(":"),(p=t("span")).textContent="*",d=J(),m=t("input"),k=J(),I.c(),w=J(),O&&O.c(),U=J(),y=t("div"),b=t("label"),E=W(N),D=W(":"),(v=t("span")).textContent="*",G=J(),P=t("input"),$=J(),R.c(),T=J(),M&&M.c(),j=J(),_=t("button"),B=W(L),ee(s,"class","FormHeaderTitle"),ee(s,"part","FormHeaderTitle"),ee(n,"class","FormHeader"),ee(n,"part","FormHeader"),ee(p,"class","FormRequired"),ee(p,"part","FormRequired"),ee(u,"for","NewPassword"),ee(m,"type","password"),ee(m,"id","new-password"),ee(m,"autocomplete",g=r[3]?"new-password":"off"),ee(c,"class","NewPassword"),ee(c,"part","NewPassword"),ee(v,"class","FormRequired"),ee(v,"part","FormRequired"),ee(b,"for","RetypePassword"),ee(P,"type","password"),ee(P,"id","RetypePassword"),ee(y,"class","ConfirmPassword"),ee(y,"part","ConfirmPassword"),ee(_,"class","resetPasswordButton"),ee(_,"part","resetPasswordButton"),_.disabled=A=!r[14],ee(l,"class","FormContent"),ee(l,"part","FormContent"),ee(o,"class","FormLeftSide test"),ee(o,"part","FormLeftSide test")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(o,l),K(l,c),K(c,u),K(u,h),K(u,f),K(u,p),K(c,d),K(c,m),re(m,r[21]),r[40](m),K(c,k),I.m(c,null),K(c,w),O&&O.m(c,null),K(l,U),K(l,y),K(y,b),K(b,E),K(b,D),K(b,v),K(y,G),K(y,P),re(P,r[22]),r[44](P),K(y,$),R.m(y,null),K(y,T),M&&M.m(y,null),K(l,j),K(l,_),K(_,B),S||(V=[Q(m,"input",r[39]),Q(m,"keyup",function(){oe(r[29](r[15],r[21],r[17]))&&r[29](r[15],r[21],r[17]).apply(this,arguments)}),Q(P,"input",r[43]),Q(P,"keyup",function(){oe(r[29](r[16],r[22],r[18]))&&r[29](r[16],r[22],r[18]).apply(this,arguments)}),Q(_,"click",r[47])],S=!0)},p(e,t){r=e,8388608&t[0]&&C!==(C=r[23]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&te(i,C),8388608&t[0]&&H!==(H=r[23]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&te(h,H),8&t[0]&&g!==(g=r[3]?"new-password":"off")&&ee(m,"autocomplete",g),2097152&t[0]&&m.value!==r[21]&&re(m,r[21]),F===(F=z(r))&&I?I.p(r,t):(I.d(1),(I=F(r))&&(I.c(),I.m(c,w))),r[15]?O?O.p(r,t):((O=Bo(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),8388608&t[0]&&N!==(N=r[23]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&te(E,N),4194304&t[0]&&P.value!==r[22]&&re(P,r[22]),x===(x=X(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(y,T))),r[16]?M?M.p(r,t):((M=No(r)).c(),M.m(y,null)):M&&(M.d(1),M=null),8388608&t[0]&&L!==(L=r[23]("forgotPasswordForm.forgotNewPasswordButton")+"")&&te(B,L),16384&t[0]&&A!==(A=!r[14])&&(_.disabled=A)},d(e){e&&Y(o),r[40](null),I.d(),O&&O.d(),r[44](null),R.d(),M&&M.d(),S=!1,Z(V)}}}function vo(e){let r,o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v=e[23]("forgotPasswordForm.forgotPasswordSuccess")+"",P=e[23]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),n=t("div"),s=G("svg"),i=G("defs"),a=G("style"),l=W(".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=J(),g=t("h4"),w=W(v),y=J(),b=t("p"),E=W(P),ee(h,"class","a"),ee(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),ee(h,"transform","translate(264.272 482.563)"),ee(u,"transform","translate(-7360.574 8503.438)"),ee(p,"class","c"),ee(p,"cx","30"),ee(p,"cy","30"),ee(p,"r","30"),ee(d,"class","d"),ee(d,"cx","30"),ee(d,"cy","30"),ee(d,"r","29"),ee(f,"class","b"),ee(f,"transform","translate(-7106 8970)"),ee(c,"transform","translate(7106 -8970)"),ee(s,"xmlns","http://www.w3.org/2000/svg"),ee(s,"width","60"),ee(s,"height","60"),ee(s,"viewBox","0 0 60 60"),ee(n,"class","NewPasswordSuccess"),ee(n,"part","NewPasswordSuccess"),ee(o,"class","FormContent"),ee(o,"part","FormContent"),ee(r,"class","FormLeftSide"),ee(r,"part","FormLeftSide")},m(e,t){q(e,r,t),K(r,o),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(s,c),K(c,u),K(u,h),K(c,f),K(f,p),K(f,d),K(n,m),K(n,g),K(g,w),K(n,y),K(n,b),K(b,E)},p(e,t){8388608&t[0]&&v!==(v=e[23]("forgotPasswordForm.forgotPasswordSuccess")+"")&&te(w,v),8388608&t[0]&&P!==(P=e[23]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&te(E,P)},d(e){e&&Y(r)}}}function Po(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,k,B,A,S,U,C,H,N,L,D,F=r[23]("forgotPasswordForm.goToLogin")+"",I=r[23]("forgotPasswordForm.forgotPasswordTitle")+"",O=r[23]("forgotPasswordForm.forgotPasswordEmail")+"",x=r[23]("forgotPasswordForm.forgotPasswordReset")+"",R=r[12]&&Lo(r),M=r[6]&&Fo(r);return{c(){o=t("div"),n=t("div"),s=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=W(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=G("path"),h=J(),f=W(F),p=J(),d=t("h4"),m=W(I),g=J(),w=t("form"),y=t("div"),b=t("label"),E=W(O),v=W(":"),(P=t("span")).textContent="*",T=J(),_=t("input"),k=J(),R&&R.c(),B=J(),M&&M.c(),U=J(),C=t("button"),H=W(x),ee(u,"class","a"),ee(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),ee(u,"transform","translate(24 24) rotate(180)"),ee(i,"xmlns","http://www.w3.org/2000/svg"),ee(i,"viewBox","0 0 24 24"),ee(s,"class","backButtonForgotPassword"),ee(s,"part","backButtonForgotPassword"),ee(d,"class","FormHeaderTitle"),ee(d,"part","FormHeaderTitle"),ee(n,"class","FormHeader"),ee(n,"part","FormHeader"),ee(P,"class","FormRequired"),ee(P,"part","FormRequired"),ee(b,"for","ResetPasswordByEmail"),ee(_,"type","text"),ee(_,"id","ResetPasswordByEmail"),ee(y,"class",A="ResetPasswordByEmail "+(r[12]?"InvalidField":"")),ee(y,"part",S="ResetPasswordByEmail "+(r[12]?"InvalidField":"")),ee(C,"class","resetPasswordButton"),ee(C,"part","resetPasswordButton"),C.disabled=N=!r[13],ee(w,"class","FormContent"),ee(w,"part","FormContent"),ee(o,"class","FormLeftSide"),ee(o,"part","FormLeftSide")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(l,c),K(i,u),K(s,h),K(s,f),K(n,p),K(n,d),K(d,m),K(o,g),K(o,w),K(w,y),K(y,b),K(b,E),K(b,v),K(b,P),K(y,T),K(y,_),re(_,r[8]),K(y,k),R&&R.m(y,null),K(y,B),M&&M.m(y,null),K(w,U),K(w,C),K(C,H),L||(D=[Q(s,"click",r[36]),Q(_,"input",r[37]),Q(_,"keyup",r[24]),Q(C,"click",r[38])],L=!0)},p(e,t){8388608&t[0]&&F!==(F=e[23]("forgotPasswordForm.goToLogin")+"")&&te(f,F),8388608&t[0]&&I!==(I=e[23]("forgotPasswordForm.forgotPasswordTitle")+"")&&te(m,I),8388608&t[0]&&O!==(O=e[23]("forgotPasswordForm.forgotPasswordEmail")+"")&&te(E,O),256&t[0]&&_.value!==e[8]&&re(_,e[8]),e[12]?R?R.p(e,t):((R=Lo(e)).c(),R.m(y,B)):R&&(R.d(1),R=null),e[6]?M?M.p(e,t):((M=Fo(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),4096&t[0]&&A!==(A="ResetPasswordByEmail "+(e[12]?"InvalidField":""))&&ee(y,"class",A),4096&t[0]&&S!==(S="ResetPasswordByEmail "+(e[12]?"InvalidField":""))&&ee(y,"part",S),8388608&t[0]&&x!==(x=e[23]("forgotPasswordForm.forgotPasswordReset")+"")&&te(H,x),8192&t[0]&&N!==(N=!e[13])&&(C.disabled=N)},d(e){e&&Y(o),R&&R.d(),M&&M.d(),L=!1,Z(D)}}}function To(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),ee(l,"class","a"),ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ee(l,"transform","translate(0)"),ee(c,"class","a"),ee(c,"cx","2.779"),ee(c,"cy","2.779"),ee(c,"r","2.779"),ee(c,"transform","translate(20.827 30.303)"),ee(a,"transform","translate(-14.185 -27.832)"),ee(o,"class",u="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.843"),ee(o,"height","10.5"),ee(o,"viewBox","0 0 18.843 10.5")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),h||(f=Q(o,"click",r[42]),h=!0)},p(e,t){32768&t[0]&&u!==(u="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&ee(o,"class",u)},d(e){e&&Y(o),h=!1,f()}}}function _o(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=W(".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"),ee(l,"class","a"),ee(l,"cx","0.05"),ee(l,"cy","0.05"),ee(l,"r","0.05"),ee(l,"transform","translate(121.017 31.148)"),ee(u,"class","a"),ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ee(u,"transform","translate(-142.164 -39.123)"),ee(h,"class","a"),ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ee(h,"transform","translate(-136.413 -42.068)"),ee(c,"transform","translate(117.499 27.37)"),ee(p,"class","a"),ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ee(p,"transform","translate(-110.856 -33.157)"),ee(d,"class","a"),ee(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"),ee(d,"transform","translate(-130.743 -29.617)"),ee(f,"transform","translate(110.856 24.899)"),ee(m,"class","a"),ee(m,"width","0.972"),ee(m,"height","15.861"),ee(m,"rx","0.486"),ee(m,"transform","translate(114.827 23.858) rotate(-39.315)"),ee(a,"transform","translate(-110.856 -23.242)"),ee(o,"class",g="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.844"),ee(o,"height","12.887"),ee(o,"viewBox","0 0 18.844 12.887")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),K(c,u),K(c,h),K(a,f),K(f,p),K(f,d),K(a,m),w||(y=Q(o,"click",r[41]),w=!0)},p(e,t){32768&t[0]&&g!==(g="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&ee(o,"class",g)},d(e){e&&Y(o),w=!1,y()}}}function Bo(e){let r;function o(e){return"true"==e[2]?So:Ao}let n=o(e),s=n(e);return{c(){s.c(),r=N()},m(e,t){s.m(e,t),q(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&&Y(r)}}}function Ao(e){let r,o,n=e[23]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function So(e){let r,o,n=e[23]("forgotPasswordForm.simplePasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.simplePasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Co(r){let o,n,s,i,a,l,c,u,h,f,p;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),ee(l,"class","a"),ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ee(l,"transform","translate(0)"),ee(c,"class","a"),ee(c,"cx","2.779"),ee(c,"cy","2.779"),ee(c,"r","2.779"),ee(c,"transform","translate(20.827 30.303)"),ee(a,"transform","translate(-14.185 -27.832)"),ee(o,"class",u="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"part",h="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.843"),ee(o,"height","10.5"),ee(o,"viewBox","0 0 18.843 10.5")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),f||(p=Q(o,"click",r[46]),f=!0)},p(e,t){65536&t[0]&&u!==(u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"class",u),65536&t[0]&&h!==(h="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"part",h)},d(e){e&&Y(o),f=!1,p()}}}function Ho(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".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"),ee(l,"class","a"),ee(l,"cx","0.05"),ee(l,"cy","0.05"),ee(l,"r","0.05"),ee(l,"transform","translate(121.017 31.148)"),ee(u,"class","a"),ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ee(u,"transform","translate(-142.164 -39.123)"),ee(h,"class","a"),ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ee(h,"transform","translate(-136.413 -42.068)"),ee(c,"transform","translate(117.499 27.37)"),ee(p,"class","a"),ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ee(p,"transform","translate(-110.856 -33.157)"),ee(d,"class","a"),ee(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"),ee(d,"transform","translate(-130.743 -29.617)"),ee(f,"transform","translate(110.856 24.899)"),ee(m,"class","a"),ee(m,"width","0.972"),ee(m,"height","15.861"),ee(m,"rx","0.486"),ee(m,"transform","translate(114.827 23.858) rotate(-39.315)"),ee(a,"transform","translate(-110.856 -23.242)"),ee(o,"class",g="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"part",w="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.844"),ee(o,"height","12.887"),ee(o,"viewBox","0 0 18.844 12.887")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),K(c,u),K(c,h),K(a,f),K(f,p),K(f,d),K(a,m),y||(b=Q(o,"click",r[45]),y=!0)},p(e,t){65536&t[0]&&g!==(g="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"class",g),65536&t[0]&&w!==(w="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"part",w)},d(e){e&&Y(o),y=!1,b()}}}function No(e){let r,o,n=e[23]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Lo(e){let r,o,n=e[23]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","ForgotPasswordError"),ee(r,"part","ForgotPasswordError")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Fo(e){let r,o,n=e[23]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","ForgotPasswordError"),ee(r,"part","ForgotPasswordError")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotPasswordEmailError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Io(e){let r;return{c(){ee(r=t("div"),"class","FormRightSide"),ee(r,"part","FormRightSide"),L(r,"background-image","url('"+e[0]+"')")},m(e,t){q(e,r,t)},p(e,t){1&t[0]&&L(r,"background-image","url('"+e[0]+"')")},d(e){e&&Y(r)}}}function Oo(r){let o,n,s,i,a,l=r[1]&&yo(r),c=function(e){let r,o,n;function s(e){return e[5]?Po:e[7]?vo:e[9]?Eo:e[10]?bo:void 0}let i=s(e),a=i&&i(e),l=!e[11]&&Io(e);return{c(){r=t("div"),a&&a.c(),o=J(),l&&l.c(),ee(r,"class",n="FormContainer "+(e[11]?"FormMobileContainer":"")),ee(r,"part","FormContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),K(r,o),l&&l.m(r,null)},p(e,t){i===(i=s(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(r,o))),e[11]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Io(e)).c(),l.m(r,null)),2048&t[0]&&n!==(n="FormContainer "+(e[11]?"FormMobileContainer":""))&&ee(r,"class",n)},d(e){e&&Y(r),a&&a.d(),l&&l.d()}}}(r);return{c(){l&&l.c(),o=N(),n=J(),s=t("div"),i=J(),a=t("div"),c.c(),this.c=g,ee(s,"class","g-recaptcha"),ee(s,"data-sitekey",r[1])},m(e,t){l&&l.m(wo.head,null),K(wo.head,o),q(e,n,t),q(e,s,t),q(e,i,t),q(e,a,t),c.m(a,null),r[49](a)},p(e,t){e[1]?l?l.p(e,t):((l=yo(e)).c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null),2&t[0]&&ee(s,"data-sitekey",e[1]),c.p(e,t)},i:g,o:g,d(e){l&&l.d(e),Y(o),e&&Y(n),e&&Y(s),e&&Y(i),e&&Y(a),c.d(),r[49](null)}}}function xo(t,e,o){let r;var n=po;t.$$.on_destroy.push(j(n,e=>o(23,r=e)));let s,i,a,{endpoint:l=""}=e,{forgotpasswordkey:c=""}=e,{imagedesktop:u=""}=e,{captchakey:h=""}=e,{lang:f=""}=e,{simplepasswordvalidation:p="false"}=e,{clientstyling:d=""}=e,{clientstylingurl:m=""}=e,{translationurl:g=""}=e,{savecredentials:w=""}=e,y=!0,b=!1,E=!1,v="",P=!1,T=!1,_=!1,R,M,k=window.navigator.userAgent,U,B=!1,A=!1,S=!1,C=!1,H="",N="";Object.keys(go).forEach(e=>{mo(e,go[e])});const L={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},F=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)}},I=e=>{switch(e){case"ToEmailSuccess":o(6,b=!1),o(5,y=!1),o(7,E=!0);break;case"ToReset":o(5,y=!1),o(9,P=!0);break;case"ToSuccess":o(9,P=!1),o(10,T=!0)}},O=()=>{window.postMessage({type:"ToLogin"},window.location.href)},D=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(h,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{let t=new URL(l+"/player/resetpassword"),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",v),fetch(t,r).then(e=>{200==e.status?I("ToEmailSuccess"):o(6,b=!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&&I("ToSuccess")})},x=e=>("true"==p&&(L.password=/^(?!.* ).{8,20}$/),!!L.password.test(e));return n=async()=>{var e;((e=k).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(11,_=!0)},function(){if($)return $;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"endpoint"in e&&o(30,l=e.endpoint),"forgotpasswordkey"in e&&o(31,c=e.forgotpasswordkey),"imagedesktop"in e&&o(0,u=e.imagedesktop),"captchakey"in e&&o(1,h=e.captchakey),"lang"in e&&o(32,f=e.lang),"simplepasswordvalidation"in e&&o(2,p=e.simplepasswordvalidation),"clientstyling"in e&&o(33,d=e.clientstyling),"clientstylingurl"in e&&o(34,m=e.clientstylingurl),"translationurl"in e&&o(35,g=e.translationurl),"savecredentials"in e&&o(3,w=e.savecredentials)},t.$$.update=()=>{if(1&t.$$.dirty[1]&&c&&c&&0<c.length&&I("ToReset"),2&t.$$.dirty[1]&&f&&(e=f,io.set(e)),16&t.$$.dirty[0]|4&t.$$.dirty[1]&&d&&a){let e=document.createElement("style");e.innerHTML=d,a.appendChild(e)}if(16&t.$$.dirty[0]|8&t.$$.dirty[1]&&m&&a){let e=new URL(m),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;16&t.$$.dirty[1]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mo(e,t[e])})}).catch(e=>{console.log(e)})},[u,h,p,w,a,y,b,E,v,P,T,_,!1,!1,!1,B,A,s,i,S,C,H,N,r,()=>{var e;o(12,(e=v,R=!(L.email.test(e)&&e.length<=100))),o(13,M=!R)},F,O,D,G,(e,t,r)=>{"new-password"===r.id?(o(15,B=!x(t)),N&&o(16,A=H!==N||!x(t))):o(16,A=H!==N||!x(t)),o(14,U=!(B||A||!H||!N))},l,c,f,d,m,g,()=>O(),function(){v=this.value,o(8,v)},e=>D(e),function(){H=this.value,o(21,H)},function(e){V[e?"unshift":"push"](()=>{s=e,o(17,s)})},()=>F("userNewPassword"),()=>F("userNewPassword"),function(){N=this.value,o(22,N)},function(e){V[e?"unshift":"push"](()=>{i=e,o(18,i)})},()=>F("userConfirmPassword"),()=>F("userConfirmPassword"),e=>G(e),()=>O(),function(e){V[e?"unshift":"push"](()=>{a=e,o(4,a)})}]}class Ro extends se{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px;line-height:24px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px;height:460px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{flex:1 1 100%;padding:50px}.FormMobileContainer{height:100%;background-color:var(--emfe-w-color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormLeftSide{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>',ne(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},xo,Oo,S,{endpoint:30,forgotpasswordkey:31,imagedesktop:0,captchakey:1,lang:32,simplepasswordvalidation:2,clientstyling:33,clientstylingurl:34,translationurl:35,savecredentials:3},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials"]}get endpoint(){return this.$$.ctx[30]}set endpoint(e){this.$$set({endpoint:e}),w()}get forgotpasswordkey(){return this.$$.ctx[31]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),w()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(e){this.$$set({imagedesktop:e}),w()}get captchakey(){return this.$$.ctx[1]}set captchakey(e){this.$$set({captchakey:e}),w()}get lang(){return this.$$.ctx[32]}set lang(e){this.$$set({lang:e}),w()}get simplepasswordvalidation(){return this.$$.ctx[2]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),w()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),w()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),w()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),w()}get savecredentials(){return this.$$.ctx[3]}set savecredentials(e){this.$$set({savecredentials:e}),w()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Ro),Ro});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function g(){}function B(e){return e()}function A(){return Object.create(null)}function Z(e){e.forEach(B)}function oe(e){return"function"==typeof e}function S(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let C,$;function H(e,t){return(C=C||document.createElement("a")).href=t,e===C.href}function j(e,...t){if(null==e)return g;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function K(e,t){e.appendChild(t)}function q(e,t,r){e.insertBefore(t,r||null)}function Y(e){e.parentNode.removeChild(e)}function t(e){return document.createElement(e)}function G(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function W(e){return document.createTextNode(e)}function J(){return W(" ")}function N(){return W("")}function Q(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function ee(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function te(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function re(e,t){e.value=null==t?"":t}function L(e,t,r,o){null===r?e.style.removeProperty(t):e.style.setProperty(t,r,o?"important":"")}function F(e){$=e}const I=[],V=[],O=[],x=[],R=Promise.resolve();let M=!1;function k(e){O.push(e)}const U=new Set;let D=0;function w(){const e=$;do{for(;D<I.length;){const e=I[D];D++,F(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),Z(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(k))}for(F(null),I.length=0,D=0;V.length;)V.pop()();for(let e=0;e<O.length;e+=1){const o=O[e];U.has(o)||(U.add(o),o())}}while(O.length=0,I.length);for(;x.length;)x.pop()();M=!1,U.clear(),F(e)}const z=new Set;var X="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function ne(o,e,t,r,n,s,i,a=[-1]){var l=$;F(o);const c=o.$$={fragment:null,ctx:null,props:s,update:g,not_equal:n,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:A(),dirty:a,skip_bound:!1,root:e.target||l.$$.root};i&&i(c.root);let u=!1;if(c.ctx=t?t(o,e.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return c.ctx&&n(c.ctx[e],c.ctx[e]=r)&&(!c.skip_bound&&c.bound[e]&&c.bound[e](r),u&&(r=e,-1===(e=o).$$.dirty[0]&&(I.push(e),M||(M=!0,R.then(w)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],c.update(),u=!0,Z(c.before_update),c.fragment=!!r&&r(c.ctx),e.target){if(e.hydrate){s=e.target;const g=Array.from(s.childNodes);c.fragment&&c.fragment.l(g),g.forEach(Y)}else c.fragment&&c.fragment.c();e.intro&&(a=o.$$.fragment)&&a.i&&(z.delete(a),a.i(void 0));{var h=o;i=e.target;t=e.anchor;r=e.customElement;const{fragment:f,on_mount:p,on_destroy:d,after_update:m}=h.$$;f&&f.m(i,t),r||k(()=>{var e=p.map(B).filter(oe);d?d.push(...e):Z(e),h.$$.on_mount=[]}),m.forEach(k)}w()}F(l)}let se;"function"==typeof HTMLElement&&(se=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(B).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){Z(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(Z(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=g}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var ie,ae,a="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==a&&a,le="URLSearchParams"in a,ce="Symbol"in a&&"iterator"in Symbol,ue="FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch(e){return!1}}(),he="FormData"in a,fe="ArrayBuffer"in a;function pe(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 de(e){return e="string"!=typeof e?String(e):e}function me(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return ce&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach(function(e,t){this.append(t,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function ge(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function we(r){return new Promise(function(e,t){r.onload=function(){e(r.result)},r.onerror=function(){t(r.error)}})}function ye(e){var t=new FileReader,r=we(t);return t.readAsArrayBuffer(e),r}function be(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Ee(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,(this._bodyInit=e)?"string"==typeof e?this._bodyText=e:ue&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:he&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:le&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():fe&&ue&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=be(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):fe&&(ArrayBuffer.prototype.isPrototypeOf(e)||ae(e))?this._bodyArrayBuffer=be(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):le&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ue&&(this.blob=function(){var e=ge(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?ge(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer)):this.blob().then(ye)}),this.text=function(){var e,t,r=ge(this);if(r)return r;if(this._bodyBlob)return r=this._bodyBlob,t=we(e=new FileReader),e.readAsText(r),t;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),o=0;o<t.length;o++)r[o]=String.fromCharCode(t[o]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},he&&(this.formData=function(){return this.text().then(Pe)}),this.json=function(){return this.text().then(JSON.parse)},this}fe&&(ie=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ae=ArrayBuffer.isView||function(e){return e&&-1<ie.indexOf(Object.prototype.toString.call(e))}),l.prototype.append=function(e,t){e=pe(e),t=de(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},l.prototype.delete=function(e){delete this.map[pe(e)]},l.prototype.get=function(e){return e=pe(e),this.has(e)?this.map[e]:null},l.prototype.has=function(e){return this.map.hasOwnProperty(pe(e))},l.prototype.set=function(e,t){this.map[pe(e)]=de(t)},l.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},l.prototype.keys=function(){var r=[];return this.forEach(function(e,t){r.push(t)}),me(r)},l.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),me(t)},l.prototype.entries=function(){var r=[];return this.forEach(function(e,t){r.push([t,e])}),me(r)},ce&&(l.prototype[Symbol.iterator]=l.prototype.entries);var ve=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,o=(t=t||{}).body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new l(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new l(t.headers)),this.method=(r=(e=t.method||this.method||"GET").toUpperCase(),-1<ve.indexOf(r)?r:e),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache||((r=/([?&])_=[^&]*/).test(this.url)?this.url=this.url.replace(r,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function Pe(e){var r=new FormData;return e.trim().split("&").forEach(function(e){var t;e&&(t=(e=e.split("=")).shift().replace(/\+/g," "),e=e.join("=").replace(/\+/g," "),r.append(decodeURIComponent(t),decodeURIComponent(e)))}),r}function u(e,t){if(!(this instanceof u))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{},this.type="default",this.status=void 0===t.status?200:t.status,this.ok=200<=this.status&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new l(t.headers),this.url=t.url||"",this._initBody(e)}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})},Ee.call(c.prototype),Ee.call(u.prototype),u.prototype.clone=function(){return new u(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},u.error=function(){var e=new u(null,{status:0,statusText:""});return e.type="error",e};var Te=[301,302,303,307,308],h=(u.redirect=function(e,t){if(-1===Te.indexOf(t))throw new RangeError("Invalid status code");return new u(null,{status:t,headers:{location:e}})},a.DOMException);try{new h}catch(g){(h=function(e,t){this.message=e,this.name=t;t=Error(e);this.stack=t.stack}).prototype=Object.create(Error.prototype),h.prototype.constructor=h}function _e(o,i){return new Promise(function(n,e){var t=new c(o,i);if(t.signal&&t.signal.aborted)return e(new h("Aborted","AbortError"));var s=new XMLHttpRequest;function r(){s.abort()}s.onload=function(){var e,r,t={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",r=new l,e.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e}).forEach(function(e){var e=e.split(":"),t=e.shift().trim();t&&(e=e.join(":").trim(),r.append(t,e))}),r)},o=(t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL"),"response"in s?s.response:s.responseText);setTimeout(function(){n(new u(o,t))},0)},s.onerror=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.ontimeout=function(){setTimeout(function(){e(new TypeError("Network request failed"))},0)},s.onabort=function(){setTimeout(function(){e(new h("Aborted","AbortError"))},0)},s.open(t.method,function(t){try{return""===t&&a.location.href?a.location.href:t}catch(e){return t}}(t.url),!0),"include"===t.credentials?s.withCredentials=!0:"omit"===t.credentials&&(s.withCredentials=!1),"responseType"in s&&(ue?s.responseType="blob":fe&&t.headers.get("Content-Type")&&-1!==t.headers.get("Content-Type").indexOf("application/octet-stream")&&(s.responseType="arraybuffer")),!i||"object"!=typeof i.headers||i.headers instanceof l?t.headers.forEach(function(e,t){s.setRequestHeader(t,e)}):Object.getOwnPropertyNames(i.headers).forEach(function(e){s.setRequestHeader(e,de(i.headers[e]))}),t.signal&&(t.signal.addEventListener("abort",r),s.onreadystatechange=function(){4===s.readyState&&t.signal.removeEventListener("abort",r)}),s.send(void 0===t._bodyInit?null:t._bodyInit)})}_e.polyfill=!0,a.fetch||(a.fetch=_e,a.Headers=l,a.Request=c,a.Response=u),self.fetch.bind(self);var Be=function(e,t){return(Be=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 Ae(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}Be(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Se(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 Ce(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var o,n,s=r.call(e),i=[];try{for(;(void 0===t||0<t--)&&!(o=s.next()).done;)i.push(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return i}function He(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function f(e){return"function"==typeof e}function Ne(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 Le=Ne(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 Fe(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=Se(s),a=i.next();!a.done;a=i.next())a.value.remove(this)}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}else s.remove(this);s=this.initialTeardown;if(f(s))try{s()}catch(e){n=e instanceof Le?e.errors:[e]}s=this._finalizers;if(s){this._finalizers=null;try{for(var l=Se(s),c=l.next();!c.done;c=l.next()){var u=c.value;try{Re(u)}catch(e){n=null!=n?n:[],e instanceof Le?n=He(He([],Ce(n)),Ce(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 Le(n)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Re(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)&&Fe(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Fe(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=((o=new r).closed=!0,o);var Ie=r,Oe=Ie.EMPTY;function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}function xe(e){return e instanceof Ie||e&&"closed"in e&&f(e.remove)&&f(e.add)&&f(e.unsubscribe)}function Re(e){f(e)?e():e.unsubscribe()}var Me=void 0,ke=!1,Ue=!1,De={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var n=De.delegate;return null!=n&&n.setTimeout?n.setTimeout.apply(n,He([e,t],Ce(r))):setTimeout.apply(void 0,He([e,t],Ce(r)))},clearTimeout:function(e){var t=De.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ge(){}var $e=null;function je(e){if(ke){var t=!$e;if(t&&($e={errorThrown:!1,error:null}),e(),t){var t=$e,r=t.errorThrown,t=t.error;if($e=null,r)throw t}}else e()}Ae(e,Ve=Ie),e.create=function(e,t,r){return new Ye(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,Ve.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 Ve,ze=e,Xe=Function.prototype.bind;function e(e){var t=Ve.call(this)||this;return t.isStopped=!1,e?xe(t.destination=e)&&e.add(t):t.destination=et,t}function Ze(e,t){return Xe.call(e,t)}Je.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Qe(e)}},Je.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Qe(e)}else Qe(e)},Je.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Qe(e)}};var Ke,qe=Je,Ye=(Ae(We,Ke=ze),We);function We(e,t,r){var o=Ke.call(this)||this,r=f(e)||!e?{next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=r?r:void 0}:o&&Ue?((t=Object.create(e)).unsubscribe=function(){return o.unsubscribe()},{next:e.next&&Ze(e.next,t),error:e.error&&Ze(e.error,t),complete:e.complete&&Ze(e.complete,t)}):e;return o.destination=new qe(r),o}function Je(e){this.partialObserver=e}function Qe(e){var t=e;De.setTimeout(function(){throw t})}var et={closed:!0,next:Ge,error:function(e){throw e},complete:Ge},o="function"==typeof Symbol&&Symbol.observable||"@@observable";function tt(e){return e}n.prototype.lift=function(e){var t=new n;return t.source=this,t.operator=e,t},n.prototype.subscribe=function(e,t,r){var o,n=this,s=(o=e)&&o instanceof ze||o&&f(o.next)&&f(o.error)&&f(o.complete)&&xe(o)?e:new Ye(e,t,r);return je(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=ot(e))(function(e,t){var r=new Ye({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?tt: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=ot(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 rt=n;function n(e){e&&(this._subscribe=e)}function ot(e){return null!=(e=null!=e?e:Me)?e:Promise}var nt,st,it,at=Ne(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=(Ae(i,it=rt),i.prototype.lift=function(e){var t=new lt(this,this);return t.operator=e,t},i.prototype._throwIfClosed=function(){if(this.closed)throw new at},i.prototype.next=function(n){var s=this;je(function(){var t,e;if(s._throwIfClosed(),!s.isStopped){s.currentObservers||(s.currentObservers=Array.from(s.observers));try{for(var r=Se(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;je(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=t;for(var e=r.observers;e.length;)e.shift().error(t)}})},i.prototype.complete=function(){var t=this;je(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var e=t.observers;e.length;)e.shift().complete()}})},i.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(i.prototype,"observed",{get:function(){var e;return 0<(null==(e=this.observers)?void 0:e.length)},enumerable:!1,configurable:!0}),i.prototype._trySubscribe=function(e){return this._throwIfClosed(),it.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?Oe:(this.currentObservers=null,n.push(e),new Ie(function(){t.currentObservers=null,Fe(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 rt;return e.source=this,e},i.create=function(e,t){return new lt(e,t)},i),lt=(Ae(s,st=o),s.prototype.next=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.next)&&r.call(t,e)},s.prototype.error=function(e){var t,r;null!=(r=null==(t=this.destination)?void 0:t.error)&&r.call(t,e)},s.prototype.complete=function(){var e,t;null!=(t=null==(e=this.destination)?void 0:e.complete)&&t.call(e)},s.prototype._subscribe=function(e){var t;return null!=(t=null==(t=this.source)?void 0:t.subscribe(e))?t:Oe},s),ct={now:function(){return(ct.delegate||Date).now()},delegate:void 0},ut=(Ae(ht,nt=o),ht.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(),nt.prototype.next.call(this,e)},ht.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},ht.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)}},ht);function ht(e,t,r){void 0===e&&(e=1/0),void 0===t&&(t=1/0),void 0===r&&(r=ct);var o=nt.call(this)||this;return o._bufferSize=e,o._windowTime=t,o._timestampProvider=r,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=t===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,t),o}function s(e,t){var r=st.call(this)||this;return r.destination=e,r.source=t,r}function i(){var e=it.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}let ft=[],pt={};const p=[];function dt(o,n=g){let s;const i=new Set;function a(e){if(S(o,e)&&(o=e,s)){const e=!p.length;for(const e of i)e[1](),p.push(e,o);if(e){for(let e=0;e<p.length;e+=2)p[e][0](p[e+1]);p.length=0}}}return{set:a,update:function(e){a(e(o))},subscribe:function(e,t=g){const r=[e,t];return i.add(r),1===i.size&&(s=n(a)||g),e(o),()=>{i.delete(r),0===i.size&&(s(),s=null)}}}}function mt(e,a,t){const l=!Array.isArray(e),c=l?[e]:e,u=a.length<2;return{subscribe:dt(t,t=>{let r=!1;const o=[];let n=0,s=g;const i=()=>{var e;n||(s(),e=a(l?o[0]:o,t),u?t(e):s=oe(e)?e:g)},e=c.map((e,t)=>j(e,e=>{o[t]=e,n&=~(1<<t),r&&i()},()=>{n|=1<<t}));return r=!0,i(),function(){Z(e),s()}}).subscribe}}function gt(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===wt));var t}var wt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function yt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Tt(Array.isArray(e)?[]:{},e,t):e}function bt(e,t,r){return e.concat(t).map(function(e){return yt(e,r)})}function Et(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function vt(e,t){try{return t in e}catch(e){return!1}}function Pt(o,n,s){var i={};return s.isMergeableObject(o)&&Et(o).forEach(function(e){i[e]=yt(o[e],s)}),Et(n).forEach(function(t){var e,r;(!vt(e=o,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(vt(o,t)&&s.isMergeableObject(n[t])?i[t]=function(e){if(!e.customMerge)return Tt;e=e.customMerge(t);return"function"==typeof e?e:Tt}(s)(o[t],n[t],s):i[t]=yt(n[t],s))}),i}function Tt(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||bt,r.isMergeableObject=r.isMergeableObject||gt,r.cloneUnlessOtherwiseSpecified=yt;var o=Array.isArray(t);return o===Array.isArray(e)?o?r.arrayMerge(e,t,r):Pt(e,t,r):yt(t,r)}Tt.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return Tt(e,t,r)},{});throw new Error("first argument should be an array")};var _t=Tt,Bt=function(e,t){return(Bt=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 At(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}Bt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var m,y,St,b=function(){return(b=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function Ct(e,t,r){if(r||2===arguments.length)for(var o,n=0,s=t.length;n<s;n++)!o&&n in t||((o=o||Array.prototype.slice.call(t,0,n))[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function Ht(e){return e.type===y.literal}function Nt(e){return e.type===y.number}function Lt(e){return e.type===y.date}function Ft(e){return e.type===y.time}function It(e){return e.type===y.select}function Ot(e){return e.type===y.plural}function xt(e){return e.type===y.tag}function Rt(e){return e&&"object"==typeof e&&e.type===St.number}function Mt(e){return e&&"object"==typeof e&&e.type===St.dateTime}(o=m=m||{})[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(o=y=y||{})[o.literal=0]="literal",o[o.argument=1]="argument",o[o.number=2]="number",o[o.date=3]="date",o[o.time=4]="time",o[o.select=5]="select",o[o.plural=6]="plural",o[o.pound=7]="pound",o[o.tag=8]="tag",(o=St=St||{})[o.number=0]="number",o[o.dateTime=1]="dateTime";var o=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,kt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Ut=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Dt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Gt=/^(@+)?(\+|#+)?[rs]?$/g,$t=/(\*)(0+)|(#+)(0+)|(0+)/g,jt=/^(0+)$/;function Vt(e){var o={};return"r"===e[e.length-1]?o.roundingPriority="morePrecision":"s"===e[e.length-1]&&(o.roundingPriority="lessPrecision"),e.replace(Gt,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 zt(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 Xt(e){return zt(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=b(b(b({},i),{notation:"scientific"}),n.options.reduce(function(e,t){return b(b({},e),Xt(t))},{}));continue;case"engineering":i=b(b(b({},i),{notation:"engineering"}),n.options.reduce(function(e,t){return b(b({},e),Xt(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($t,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(jt.test(n.stem))i.minimumIntegerDigits=n.stem.length;else if(Dt.test(n.stem)){if(1<n.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Dt,function(e,t,r,o,n,s){return"*"===r?i.minimumFractionDigits=t.length:o&&"#"===o[0]?i.maximumFractionDigits=o.length:n&&s?(i.minimumFractionDigits=n.length,i.maximumFractionDigits=n.length+s.length):(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length),""});var s=n.options[0];"w"===s?i=b(b({},i),{trailingZeroDisplay:"stripIfInteger"}):s&&(i=b(b({},i),Vt(s)))}else Gt.test(n.stem)?i=b(b({},i),Vt(n.stem)):((s=zt(n.stem))&&(i=b(b({},i),s)),(o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!jt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem))&&(i=b(b({},i),o)))}return i}var Kt={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 qt=new RegExp("^".concat(o.source,"*")),Yt=new RegExp("".concat(o.source,"*$"));function E(e,t){return{start:e,end:t}}var o=!!String.prototype.startsWith,Wt=!!String.fromCodePoint,Jt=!!Object.fromEntries,Qt=!!String.prototype.codePointAt,er=!!String.prototype.trimStart,tr=!!String.prototype.trimEnd,rr=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},or=!0;try{or="a"===(null==(_r=fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:_r[0])}catch(g){or=!1}var nr,sr,ir=o?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ar=Wt?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},lr=Jt?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},cr=Qt?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},ur=er?function(e){return e.trimStart()}:function(e){return e.replace(qt,"")},hr=tr?function(e){return e.trimEnd()}:function(e){return e.replace(Yt,"")};function fr(e,t){return new RegExp(e,t)}sr=or?(nr=fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return nr.lastIndex=t,null!=(t=nr.exec(e)[1])?t:""}):function(e,t){for(var r,o=[];;){var n=cr(e,t);if(void 0===n||mr(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 ar.apply(void 0,o)};d.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},d.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var n,s=this.char();if(123===s){if((n=this.parseArgument(e,r)).err)return n;o.push(n.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(m.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&dr(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;o.push(n.val)}else{if((n=this.parseLiteral(e,t)).err)return n;o.push(n.val)}}else{s=this.clonePosition();this.bump(),o.push({type:y.pound,location:E(s,this.clonePosition())})}}}return{val:o,err:null}},d.prototype.parseTag=function(e,t){var r=this.clonePosition(),o=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(o,"/>"),location:E(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!dr(this.char()))return this.error(m.INVALID_TAG,E(e,this.clonePosition()));var n=this.clonePosition();return o!==this.parseTagName()?this.error(m.UNMATCHED_CLOSING_TAG,E(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:o,children:t,location:E(r,this.clonePosition())},err:null}:this.error(m.INVALID_TAG,E(e,this.clonePosition())))}return this.error(m.UNCLOSED_TAG,E(r,this.clonePosition()))}return this.error(m.INVALID_TAG,E(r,this.clonePosition()))},d.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},d.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),o="";;){var n=this.tryParseQuote(t);if(n)o+=n;else{n=this.tryParseUnquoted(e,t);if(n)o+=n;else{n=this.tryParseLeftAngleBracket();if(!n)break;o+=n}}}r=E(r,this.clonePosition());return{val:{type:y.literal,value:o,location:r},err:null}},d.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(dr(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},d.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ar.apply(void 0,t)},d.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ar(r))},d.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(m.EMPTY_ARGUMENT,E(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:o,location:E(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(r,this.clonePosition())):this.parseArgumentOptions(e,t,o,r);default:return this.error(m.MALFORMED_ARGUMENT,E(r,this.clonePosition()))}},d.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=sr(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:E(e,this.clonePosition())}},d.prototype.parseArgumentOptions=function(e,t,r,o){var n,s=this.clonePosition(),i=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(i){case"":return this.error(m.EXPECT_ARGUMENT_TYPE,E(s,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(p=hr(d.val)).length)return this.error(m.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));l={style:p,styleLocation:E(c,this.clonePosition())}}if((c=this.tryParseArgumentClose(o)).err)return c;var u=E(o,this.clonePosition());if(l&&ir(null==l?void 0:l.style,"::",0)){var h=ur(l.style.slice(2));if("number"===i)return(d=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?d:{val:{type:y.number,value:r,location:u,style:d.val},err:null};if(0===h.length)return this.error(m.EXPECT_DATE_TIME_SKELETON,u);var f=h,p=(this.locale&&(f=function(e,t){for(var r="",o=0;o<e.length;o++){var n=e.charAt(o);if("j"===n){for(var s=0;o+1<e.length&&e.charAt(o+1)===n;)s++,o++;var i=1+(1&s),a=s<2?1:3+(s>>1),l=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Kt[t||""]||Kt[r||""]||Kt["".concat(r,"-001")]||Kt["001"])[0]}(t);for("H"!=l&&"k"!=l||(a=0);0<a--;)r+="a";for(;0<i--;)r=l+r}else r+="J"===n?"H":n}return r}(h,this.locale)),{type:St.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(n={},f.replace(kt,function(e){var t=e.length;switch(e[0]){case"G":n.era=4===t?"long":5===t?"narrow":"short";break;case"y":n.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":n.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":n.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":n.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");n.weekday=["short","long","narrow","short"][t-4];break;case"a":n.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":n.hourCycle="h12",n.hour=["numeric","2-digit"][t-1];break;case"H":n.hourCycle="h23",n.hour=["numeric","2-digit"][t-1];break;case"K":n.hourCycle="h11",n.hour=["numeric","2-digit"][t-1];break;case"k":n.hourCycle="h24",n.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":n.minute=["numeric","2-digit"][t-1];break;case"s":n.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":n.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),n):{}});return{val:{type:"date"===i?y.date:y.time,value:r,location:u,style:p},err:null}}return{val:{type:"number"===i?y.number:"date"===i?y.date:y.time,value:r,location:u,style:null!=(h=null==l?void 0:l.style)?h:null},err:null};case"plural":case"selectordinal":case"select":f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS,E(f,b({},f)));this.bumpSpace();var d,p=this.parseIdentifierIfPossible(),u=0;if("select"!==i&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),p=this.parseIdentifierIfPossible(),u=d.val}l=this.tryParsePluralOrSelectOptions(e,i,t,p);if(l.err)return l;if((c=this.tryParseArgumentClose(o)).err)return c;h=E(o,this.clonePosition());return"select"===i?{val:{type:y.select,value:r,options:lr(l.val),location:h},err:null}:{val:{type:y.plural,value:r,options:lr(l.val),offset:u,pluralType:"plural"===i?"cardinal":"ordinal",location:h},err:null};default:return this.error(m.INVALID_ARGUMENT_TYPE,E(s,a))}},d.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE,E(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},d.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},d.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,o=e.split(Ut).filter(function(e){return 0<e.length});r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],n=n.slice(1),i=0,a=n;i<a.length;i++)if(0===a[i].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:n})}return t}(e)}catch(e){return this.error(m.INVALID_NUMBER_SKELETON,t)}return{val:{type:St.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?Zt(r):{}},err:null}},d.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var n=!1,s=[],i=new Set,a=o.value,l=o.location;;){if(0===a.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR,m.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(c,this.clonePosition()),a=this.message.slice(c.offset,this.offset())}if(i.has(a))return this.error("select"===t?m.DUPLICATE_SELECT_ARGUMENT_SELECTOR:m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===a&&(n=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;var h=this.tryParseArgumentClose(u);if(h.err)return h;s.push([a,{value:c.val,location:E(u,this.clonePosition())}]),i.add(a),this.bumpSpace(),a=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?m.EXPECT_SELECT_ARGUMENT_SELECTOR:m.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(m.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},d.prototype.tryParseDecimalInteger=function(e,t){var r=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var i=this.char();if(!(48<=i&&i<=57))break;n=!0,s=10*s+(i-48),this.bump()}o=E(o,this.clonePosition());return n?rr(s*=r)?{val:s,err:null}:this.error(t,o):this.error(e,o)},d.prototype.offset=function(){return this.position.offset},d.prototype.isEOF=function(){return this.offset()===this.message.length},d.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},d.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=cr(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},d.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},d.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},d.prototype.bumpIf=function(e){if(ir(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},d.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},d.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},d.prototype.bumpSpace=function(){for(;!this.isEOF()&&mr(this.char());)this.bump()},d.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var pr=d;function d(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function dr(e){return 97<=e&&e<=122||65<=e&&e<=90}function mr(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function gr(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new pr(e,t).parse();if(e.err)throw(r=SyntaxError(m[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,It(e)||Ot(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Nt(e)&&Rt(e.style)||(Lt(e)||Ft(e))&&Mt(e.style)?delete e.style.location:xt(e)&&r(e.children)})}(e.val),e.val}function wr(e,t){var r=t&&t.cache?t.cache:Br,o=t&&t.serializer?t.serializer:vr;return(t&&t.strategy?t.strategy:function(e,t){return Er(e,this,1===e.length?yr:br,t.cache.create(),t.serializer)})(e,{cache:r,serializer:o})}function yr(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 br(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 Er(e,t,r,o,n){return r.bind(t,e,o,n)}var vr=function(){return JSON.stringify(arguments)};function Pr(){this.cache=Object.create(null)}Pr.prototype.get=function(e){return this.cache[e]},Pr.prototype.set=function(e,t){this.cache[e]=t};var Tr,_r,Br={create:function(){return new Pr}},Ar={variadic:function(e,t){return Er(e,this,br,t.cache.create(),t.serializer)},monadic:function(e,t){return Er(e,this,yr,t.cache.create(),t.serializer)}};(_r=Tr=Tr||{}).MISSING_VALUE="MISSING_VALUE",_r.INVALID_VALUE="INVALID_VALUE",_r.MISSING_INTL_API="MISSING_INTL_API";At(kr,Nr=Error),kr.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var v,Sr,Cr,Hr,Nr,Lr=kr,Fr=(At(Mr,Hr=Lr),Mr),Ir=(At(Rr,Cr=Lr),Rr),Or=(At(xr,Sr=Lr),xr);function xr(e,t){return Sr.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),Tr.MISSING_VALUE,t)||this}function Rr(e,t,r){return Cr.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),Tr.INVALID_VALUE,r)||this}function Mr(e,t,r,o){return Hr.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tr.INVALID_VALUE,o)||this}function kr(e,t,r){e=Nr.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Ur(e,t,r,o,n,s,i){if(1===e.length&&Ht(e[0]))return[{type:v.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];if(Ht(u))a.push({type:v.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&a.push({type:v.literal,value:r.getNumberFormat(t).format(s)});else{var h=u.value;if(!(n&&h in n))throw new Or(h,i);h=n[h];if(u.type===y.argument)h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),a.push({type:"string"==typeof h?v.literal:v.object,value:h});else if(Lt(u)){var f="string"==typeof u.style?o.date[u.style]:Mt(u.style)?u.style.parsedOptions:void 0;a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)})}else if(Ft(u))f="string"==typeof u.style?o.time[u.style]:Mt(u.style)?u.style.parsedOptions:o.time.medium,a.push({type:v.literal,value:r.getDateTimeFormat(t,f).format(h)});else if(Nt(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(Ur(p,t,r,o,n,s).map(function(e){return e.value}));Array.isArray(d)||(d=[d]),a.push.apply(a,d.map(function(e){return{type:"string"==typeof e?v.literal:v.object,value:e}}))}if(It(u)){if(!(g=u.options[h]||u.options.other))throw new Fr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n))}else if(Ot(u)){if(!(g=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Lr('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tr.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 Fr(u.value,h,Object.keys(u.options),i);a.push.apply(a,Ur(g.value,t,r,o,n,h-(u.offset||0)))}}}}return(e=a).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===v.literal&&t.type===v.literal?r.value+=t.value:e.push(t),e},[])}function Dr(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(o=v=v||{})[o.literal=0]="literal",o[o.object=1]="object",Object.defineProperty(P,"defaultLocale",{get:function(){return P.memoizedDefaultLocale||(P.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),P.memoizedDefaultLocale},enumerable:!1,configurable:!0}),P.memoizedDefaultLocale=null,P.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},P.__parse=gr,P.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Gr=P;function P(e,t,r,o){var n,s,i=this;if(void 0===t&&(t=P.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=i.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===v.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return Ur(i.ast,i.locales,i.formatters,i.formats,e,void 0,i.message)},this.resolvedOptions=function(){return{locale:i.resolvedLocale.toString()}},this.getAst=function(){return i.ast},this.locales=t,this.resolvedLocale=P.resolveLocale(t),"string"==typeof e){if(this.message=e,!P.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=P.__parse(e,{ignoreTag:null==o?void 0:o.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(n=P.formats,(s=r)?Object.keys(n).reduce(function(e,t){var r,o;return e[t]=(r=n[t],(o=s[t])?b(b(b({},r||{}),o||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),o[t]||{}),e},{})):r),e},b({},n)):n),this.formatters=o&&o.formatters||{getNumberFormat:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ar.variadic}),getDateTimeFormat:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr(t.dateTime),strategy:Ar.variadic}),getPluralRules:wr(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Ct([void 0],t,!1)))},{cache:Dr(t.pluralRules),strategy:Ar.variadic})}}const T={},$r=(e,t,r)=>r&&(t in T||(T[t]={}),e in T[t]||(T[t][e]=r),r),jr=(t,r)=>{if(null!=r){if(r in T&&t in T[r])return T[r][t];var o=so(r);for(let e=0;e<o.length;e++){var n=function(e,r){if(!Xr(e))return null;e=function(e){return Vr[e]||null}(e);{var o=r;if(null==o)return;if(o in e)return e[o];const n=o.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const o=n.slice(e,n.length).join(".");if(o in t){t=t[o];break}}t=t[n[e]]}else t=void 0;return t}}(o[e],t);if(n)return $r(t,r,n)}}};let Vr;const zr=dt({});function Xr(e){return e in Vr}function Zr(t,...r){delete T[t],zr.update(e=>(e[t]=_t.all([e[t]||{},...r]),e))}mt([zr],([e])=>Object.keys(e)),zr.subscribe(e=>Vr=e);const Kr={};function qr(e){return Kr[e]}function Yr(e){return null!=e&&so(e).some(e=>{return null==(e=qr(e))?void 0:e.size})}const Wr={};function Jr(e){if(!Yr(e))return e in Wr?Wr[e]:Promise.resolve();const t=so(e).map(e=>{var t=qr(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Wr[e]=Promise.all(t.map(([e,t])=>{{var o=e;e=t;const r=Promise.all(e.map(e=>{var t=o,r=e;return Kr[t].delete(r),0===Kr[t].size&&delete Kr[t],e().then(e=>e.default||e)}));return r.then(e=>Zr(o,...e))}})).then(()=>{if(Yr(e))return Jr(e);delete Wr[e]}),Wr[e]}function Qr(e,t){var r={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}const eo={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 to=dt(!1);let ro;const oo=dt(null);function no(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function so(e,t=eo.fallbackLocale){e=no(e);return t?[...new Set([...e,...no(t)])]:e}function _(){return null!=ro?ro:void 0}oo.subscribe(e=>{ro=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const io=Object.assign(Object.assign({},oo),{set:t=>{if(t&&function(e){if(null!=e){var t=so(e);for(let e=0;e<t.length;e++){var r=t[e];if(Xr(r))return r}}}(t)&&Yr(t)){var r=eo["loadingDelay"];let e;return"undefined"!=typeof window&&null!=_()&&r?e=window.setTimeout(()=>to.set(!0),r):to.set(!0),Jr(t).then(()=>{oo.set(t)}).finally(()=>{clearTimeout(e),to.set(!1)})}return oo.set(t)}}),ao=r=>{const o=Object.create(null);return e=>{var t=JSON.stringify(e);return t in o?o[t]:o[t]=r(e)}},lo=(e,t)=>{var r=eo["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},co=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=lo("number",r)),new Intl.NumberFormat(t,e)}),uo=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=lo("date",r):0===Object.keys(e).length&&(e=lo("date","short")),new Intl.DateTimeFormat(t,e)}),ho=ao(e=>{var{locale:t,format:r}=e,e=Qr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=lo("time",r):0===Object.keys(e).length&&(e=lo("time","short")),new Intl.DateTimeFormat(t,e)}),fo=ao((e,t=_())=>new Gr(e,t,eo.formats,{ignoreTag:eo.ignoreTag})),po=mt([io,zr],()=>(e,t={})=>{var r,o;let n=t;"object"==typeof e&&(e=(n=e).id);var{values:s,locale:i=_(),default:a}=n;if(null==i)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=jr(e,i);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(o=null!=(r=null==(r=(o=eo).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=fo(l,i).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function mo(e,t){Zr(e,t)}mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return ho(Object.assign({locale:t},e))})(t).format(e)),mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return uo(Object.assign({locale:t},e))})(t).format(e)),mt([io],()=>(e,t)=>((e={})=>{var{locale:t=_()}=e,e=Qr(e,["locale"]);return co(Object.assign({locale:t},e))})(t).format(e)),mt([io,zr],()=>(e,t=_())=>jr(e,t)),window.emWidgets={topic:(e,t=0)=>{return-1==ft.indexOf(e)&&(t=new ut(t),pt[e]=t,ft.push(e)),pt[e]}};const go={en:{forgotPasswordForm:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email should contain '@' and a 2-3 letter long domain.",forgotPasswordEmailError:"This email does not exist.",forgotPasswordReset:"Reset Password",forgotPasswordSuccess:"Success!",forgotPasswordSuccessDescription:"We sent an email with the instructions to reset your password.",forgotNewPasswordTitle:"New Password",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",forgotNewPasswordConfirmPassword:"Confirm Password",forgotNewPasswordConfirmPasswordError:"Confirm password must match the new password and must follow the same rules.",forgotNewPasswordButton:"Change Password",forgotChangePasswordTitle:"Success!",forgotChangePasswordDescription:"Your password has been changed successfully.",forgotChangePasswordLogin:"Click here to Login",simplePasswordError:"Password must be 8-20 characters long."}},"zh-hk":{forgotPasswordForm:{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"}},fr:{forgotPasswordForm:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."}},tr:{forgotPasswordForm:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir etki alanı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlamak için talimatları içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir.",forgotNewPasswordConfirmPassword:"Şifreyi Onayla",forgotNewPasswordConfirmPasswordError:"Onay şifresi yeni şifreyle eşleşmeli ve aynı kurallara uymalıdır.",forgotNewPasswordButton:"Şifre değiştir",forgotChangePasswordTitle:"Başarı!",forgotChangePasswordDescription:"Şifreniz başarıyla değiştirildi.",forgotChangePasswordLogin:"Giriş yapmak için tıklayınız",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},ro:{forgotPasswordForm:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parola Uitata",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui sa contina '@' si 2-3 litere.",forgotPasswordEmailError:"Acest email nu exista",forgotPasswordReset:"Reseteaza parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instructiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parola",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie sa fie intre 8 si 20 de caractere, sa contina o litera mare, o cifra si un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmata trebuie sa fie la fel ca parola noua si sa respecte aceleasi reguli",forgotNewPasswordButton:"Schimba parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbata cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."}},es:{forgotPasswordForm:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"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:{forgotPasswordForm:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",forgotPasswordEmail:"E-mail",forgotPasswordEmailInputError:"O e-mail deve conter '@' e um domínio de 2 a 3 letras.",forgotPasswordEmailError:"Este e-mail não existe.",forgotPasswordReset:"Redefinir senha",forgotPasswordSuccess:"Sucesso!",forgotPasswordSuccessDescription:"Enviamos um e-mail com as instruções para redefinir sua senha.",forgotNewPasswordTitle:"Senha",forgotNewPasswordPassword:"Password",forgotNewPasswordPasswordError:"A senha deve ter de 8 a 20 caracteres e conter pelo menos 1 letra maiúscula, 1 número e 1 caractere especial.",forgotNewPasswordConfirmPassword:"Confirme sua senha",forgotNewPasswordConfirmPasswordError:"A senha de confirmação deve corresponder à nova senha e deve seguir as mesmas regras.",forgotNewPasswordButton:"Mudar senha",forgotChangePasswordTitle:"Sucesso!",forgotChangePasswordDescription:"Sua senha foi alterada com sucesso.",forgotChangePasswordLogin:"Clique aqui para entrar",simplePasswordError:"A senha deve ter de 8 a 20 caracteres."}}},wo=X["document"];function yo(e){let r,o;return{c(){H((r=t("script")).src,o="//www.google.com/recaptcha/api.js?render="+e[1])||ee(r,"src",o),r.async=!0,r.defer=!0},m(e,t){q(e,r,t)},p(e,t){2&t[0]&&!H(r.src,o="//www.google.com/recaptcha/api.js?render="+e[1])&&ee(r,"src",o)},d(e){e&&Y(r)}}}function bo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,B,A,S=r[23]("forgotPasswordForm.forgotChangePasswordTitle")+"",C=r[23]("forgotPasswordForm.forgotChangePasswordDescription")+"",H=r[23]("forgotPasswordForm.forgotChangePasswordLogin")+"";return{c(){o=t("div"),n=t("div"),s=t("div"),i=G("svg"),a=G("defs"),l=G("style"),c=W(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=G("g"),h=G("g"),f=G("path"),p=G("g"),d=G("circle"),m=G("circle"),g=J(),w=t("h4"),y=W(S),b=J(),E=t("p"),v=W(C),P=J(),T=t("button"),_=W(H),ee(f,"class","a"),ee(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),ee(f,"transform","translate(264.272 482.563)"),ee(h,"transform","translate(-7360.574 8503.438)"),ee(d,"class","c"),ee(d,"cx","30"),ee(d,"cy","30"),ee(d,"r","30"),ee(m,"class","d"),ee(m,"cx","30"),ee(m,"cy","30"),ee(m,"r","29"),ee(p,"class","b"),ee(p,"transform","translate(-7106 8970)"),ee(u,"transform","translate(7106 -8970)"),ee(i,"xmlns","http://www.w3.org/2000/svg"),ee(i,"width","60"),ee(i,"height","60"),ee(i,"viewBox","0 0 60 60"),ee(s,"class","NewPasswordSuccess"),ee(s,"part","NewPasswordSuccess"),ee(T,"class","resetPasswordButton"),ee(T,"part","resetPasswordButton"),ee(n,"class","FormContent"),ee(n,"part","FormContent"),ee(o,"class","FormLeftSide"),ee(o,"part","FormLeftSide")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(l,c),K(i,u),K(u,h),K(h,f),K(u,p),K(p,d),K(p,m),K(s,g),K(s,w),K(w,y),K(s,b),K(s,E),K(E,v),K(n,P),K(n,T),K(T,_),B||(A=Q(T,"click",r[48]),B=!0)},p(e,t){8388608&t[0]&&S!==(S=e[23]("forgotPasswordForm.forgotChangePasswordTitle")+"")&&te(y,S),8388608&t[0]&&C!==(C=e[23]("forgotPasswordForm.forgotChangePasswordDescription")+"")&&te(v,C),8388608&t[0]&&H!==(H=e[23]("forgotPasswordForm.forgotChangePasswordLogin")+"")&&te(_,H)},d(e){e&&Y(o),B=!1,A()}}}function Eo(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,k,w,U,y,b,E,D,v,G,P,$,T,j,_,B,A,S,V,C=r[23]("forgotPasswordForm.forgotNewPasswordTitle")+"",H=r[23]("forgotPasswordForm.forgotNewPasswordPassword")+"",N=r[23]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"",L=r[23]("forgotPasswordForm.forgotNewPasswordButton")+"";function z(e){return e[19]?_o:To}let F=z(r),I=F(r),O=r[15]&&Bo(r);function X(e){return e[20]?Ho:Co}let x=X(r),R=x(r),M=r[16]&&No(r);return{c(){o=t("div"),n=t("div"),s=t("h4"),i=W(C),a=J(),l=t("form"),c=t("div"),u=t("label"),h=W(H),f=W(":"),(p=t("span")).textContent="*",d=J(),m=t("input"),k=J(),I.c(),w=J(),O&&O.c(),U=J(),y=t("div"),b=t("label"),E=W(N),D=W(":"),(v=t("span")).textContent="*",G=J(),P=t("input"),$=J(),R.c(),T=J(),M&&M.c(),j=J(),_=t("button"),B=W(L),ee(s,"class","FormHeaderTitle"),ee(s,"part","FormHeaderTitle"),ee(n,"class","FormHeader"),ee(n,"part","FormHeader"),ee(p,"class","FormRequired"),ee(p,"part","FormRequired"),ee(u,"for","NewPassword"),ee(m,"type","password"),ee(m,"id","new-password"),ee(m,"autocomplete",g=r[3]?"new-password":"off"),ee(c,"class","NewPassword"),ee(c,"part","NewPassword"),ee(v,"class","FormRequired"),ee(v,"part","FormRequired"),ee(b,"for","RetypePassword"),ee(P,"type","password"),ee(P,"id","RetypePassword"),ee(y,"class","ConfirmPassword"),ee(y,"part","ConfirmPassword"),ee(_,"class","resetPasswordButton"),ee(_,"part","resetPasswordButton"),_.disabled=A=!r[14],ee(l,"class","FormContent"),ee(l,"part","FormContent"),ee(o,"class","FormLeftSide test"),ee(o,"part","FormLeftSide test")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(o,l),K(l,c),K(c,u),K(u,h),K(u,f),K(u,p),K(c,d),K(c,m),re(m,r[21]),r[40](m),K(c,k),I.m(c,null),K(c,w),O&&O.m(c,null),K(l,U),K(l,y),K(y,b),K(b,E),K(b,D),K(b,v),K(y,G),K(y,P),re(P,r[22]),r[44](P),K(y,$),R.m(y,null),K(y,T),M&&M.m(y,null),K(l,j),K(l,_),K(_,B),S||(V=[Q(m,"input",r[39]),Q(m,"keyup",function(){oe(r[29](r[15],r[21],r[17]))&&r[29](r[15],r[21],r[17]).apply(this,arguments)}),Q(P,"input",r[43]),Q(P,"keyup",function(){oe(r[29](r[16],r[22],r[18]))&&r[29](r[16],r[22],r[18]).apply(this,arguments)}),Q(_,"click",r[47])],S=!0)},p(e,t){r=e,8388608&t[0]&&C!==(C=r[23]("forgotPasswordForm.forgotNewPasswordTitle")+"")&&te(i,C),8388608&t[0]&&H!==(H=r[23]("forgotPasswordForm.forgotNewPasswordPassword")+"")&&te(h,H),8&t[0]&&g!==(g=r[3]?"new-password":"off")&&ee(m,"autocomplete",g),2097152&t[0]&&m.value!==r[21]&&re(m,r[21]),F===(F=z(r))&&I?I.p(r,t):(I.d(1),(I=F(r))&&(I.c(),I.m(c,w))),r[15]?O?O.p(r,t):((O=Bo(r)).c(),O.m(c,null)):O&&(O.d(1),O=null),8388608&t[0]&&N!==(N=r[23]("forgotPasswordForm.forgotNewPasswordConfirmPassword")+"")&&te(E,N),4194304&t[0]&&P.value!==r[22]&&re(P,r[22]),x===(x=X(r))&&R?R.p(r,t):(R.d(1),(R=x(r))&&(R.c(),R.m(y,T))),r[16]?M?M.p(r,t):((M=No(r)).c(),M.m(y,null)):M&&(M.d(1),M=null),8388608&t[0]&&L!==(L=r[23]("forgotPasswordForm.forgotNewPasswordButton")+"")&&te(B,L),16384&t[0]&&A!==(A=!r[14])&&(_.disabled=A)},d(e){e&&Y(o),r[40](null),I.d(),O&&O.d(),r[44](null),R.d(),M&&M.d(),S=!1,Z(V)}}}function vo(e){let r,o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v=e[23]("forgotPasswordForm.forgotPasswordSuccess")+"",P=e[23]("forgotPasswordForm.forgotPasswordSuccessDescription")+"";return{c(){r=t("div"),o=t("div"),n=t("div"),s=G("svg"),i=G("defs"),a=G("style"),l=W(".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=J(),g=t("h4"),w=W(v),y=J(),b=t("p"),E=W(P),ee(h,"class","a"),ee(h,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),ee(h,"transform","translate(264.272 482.563)"),ee(u,"transform","translate(-7360.574 8503.438)"),ee(p,"class","c"),ee(p,"cx","30"),ee(p,"cy","30"),ee(p,"r","30"),ee(d,"class","d"),ee(d,"cx","30"),ee(d,"cy","30"),ee(d,"r","29"),ee(f,"class","b"),ee(f,"transform","translate(-7106 8970)"),ee(c,"transform","translate(7106 -8970)"),ee(s,"xmlns","http://www.w3.org/2000/svg"),ee(s,"width","60"),ee(s,"height","60"),ee(s,"viewBox","0 0 60 60"),ee(n,"class","NewPasswordSuccess"),ee(n,"part","NewPasswordSuccess"),ee(o,"class","FormContent"),ee(o,"part","FormContent"),ee(r,"class","FormLeftSide"),ee(r,"part","FormLeftSide")},m(e,t){q(e,r,t),K(r,o),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(s,c),K(c,u),K(u,h),K(c,f),K(f,p),K(f,d),K(n,m),K(n,g),K(g,w),K(n,y),K(n,b),K(b,E)},p(e,t){8388608&t[0]&&v!==(v=e[23]("forgotPasswordForm.forgotPasswordSuccess")+"")&&te(w,v),8388608&t[0]&&P!==(P=e[23]("forgotPasswordForm.forgotPasswordSuccessDescription")+"")&&te(E,P)},d(e){e&&Y(r)}}}function Po(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b,E,v,P,T,_,k,B,A,S,U,C,H,N,L,D,F=r[23]("forgotPasswordForm.goToLogin")+"",I=r[23]("forgotPasswordForm.forgotPasswordTitle")+"",O=r[23]("forgotPasswordForm.forgotPasswordEmail")+"",x=r[23]("forgotPasswordForm.forgotPasswordReset")+"",R=r[12]&&Lo(r),M=r[6]&&Fo(r);return{c(){o=t("div"),n=t("div"),s=t("button"),i=G("svg"),a=G("defs"),l=G("style"),c=W(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=G("path"),h=J(),f=W(F),p=J(),d=t("h4"),m=W(I),g=J(),w=t("form"),y=t("div"),b=t("label"),E=W(O),v=W(":"),(P=t("span")).textContent="*",T=J(),_=t("input"),k=J(),R&&R.c(),B=J(),M&&M.c(),U=J(),C=t("button"),H=W(x),ee(u,"class","a"),ee(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),ee(u,"transform","translate(24 24) rotate(180)"),ee(i,"xmlns","http://www.w3.org/2000/svg"),ee(i,"viewBox","0 0 24 24"),ee(s,"class","backButtonForgotPassword"),ee(s,"part","backButtonForgotPassword"),ee(d,"class","FormHeaderTitle"),ee(d,"part","FormHeaderTitle"),ee(n,"class","FormHeader"),ee(n,"part","FormHeader"),ee(P,"class","FormRequired"),ee(P,"part","FormRequired"),ee(b,"for","ResetPasswordByEmail"),ee(_,"type","text"),ee(_,"id","ResetPasswordByEmail"),ee(y,"class",A="ResetPasswordByEmail "+(r[12]?"InvalidField":"")),ee(y,"part",S="ResetPasswordByEmail "+(r[12]?"InvalidField":"")),ee(C,"class","resetPasswordButton"),ee(C,"part","resetPasswordButton"),C.disabled=N=!r[13],ee(w,"class","FormContent"),ee(w,"part","FormContent"),ee(o,"class","FormLeftSide"),ee(o,"part","FormLeftSide")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(i,a),K(a,l),K(l,c),K(i,u),K(s,h),K(s,f),K(n,p),K(n,d),K(d,m),K(o,g),K(o,w),K(w,y),K(y,b),K(b,E),K(b,v),K(b,P),K(y,T),K(y,_),re(_,r[8]),K(y,k),R&&R.m(y,null),K(y,B),M&&M.m(y,null),K(w,U),K(w,C),K(C,H),L||(D=[Q(s,"click",r[36]),Q(_,"input",r[37]),Q(_,"keyup",r[24]),Q(C,"click",r[38])],L=!0)},p(e,t){8388608&t[0]&&F!==(F=e[23]("forgotPasswordForm.goToLogin")+"")&&te(f,F),8388608&t[0]&&I!==(I=e[23]("forgotPasswordForm.forgotPasswordTitle")+"")&&te(m,I),8388608&t[0]&&O!==(O=e[23]("forgotPasswordForm.forgotPasswordEmail")+"")&&te(E,O),256&t[0]&&_.value!==e[8]&&re(_,e[8]),e[12]?R?R.p(e,t):((R=Lo(e)).c(),R.m(y,B)):R&&(R.d(1),R=null),e[6]?M?M.p(e,t):((M=Fo(e)).c(),M.m(y,null)):M&&(M.d(1),M=null),4096&t[0]&&A!==(A="ResetPasswordByEmail "+(e[12]?"InvalidField":""))&&ee(y,"class",A),4096&t[0]&&S!==(S="ResetPasswordByEmail "+(e[12]?"InvalidField":""))&&ee(y,"part",S),8388608&t[0]&&x!==(x=e[23]("forgotPasswordForm.forgotPasswordReset")+"")&&te(H,x),8192&t[0]&&N!==(N=!e[13])&&(C.disabled=N)},d(e){e&&Y(o),R&&R.d(),M&&M.d(),L=!1,Z(D)}}}function To(r){let o,n,s,i,a,l,c,u,h,f;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),ee(l,"class","a"),ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ee(l,"transform","translate(0)"),ee(c,"class","a"),ee(c,"cx","2.779"),ee(c,"cy","2.779"),ee(c,"r","2.779"),ee(c,"transform","translate(20.827 30.303)"),ee(a,"transform","translate(-14.185 -27.832)"),ee(o,"class",u="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.843"),ee(o,"height","10.5"),ee(o,"viewBox","0 0 18.843 10.5")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),h||(f=Q(o,"click",r[42]),h=!0)},p(e,t){32768&t[0]&&u!==(u="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&ee(o,"class",u)},d(e){e&&Y(o),h=!1,f()}}}function _o(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=W(".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"),ee(l,"class","a"),ee(l,"cx","0.05"),ee(l,"cy","0.05"),ee(l,"r","0.05"),ee(l,"transform","translate(121.017 31.148)"),ee(u,"class","a"),ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ee(u,"transform","translate(-142.164 -39.123)"),ee(h,"class","a"),ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ee(h,"transform","translate(-136.413 -42.068)"),ee(c,"transform","translate(117.499 27.37)"),ee(p,"class","a"),ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ee(p,"transform","translate(-110.856 -33.157)"),ee(d,"class","a"),ee(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"),ee(d,"transform","translate(-130.743 -29.617)"),ee(f,"transform","translate(110.856 24.899)"),ee(m,"class","a"),ee(m,"width","0.972"),ee(m,"height","15.861"),ee(m,"rx","0.486"),ee(m,"transform","translate(114.827 23.858) rotate(-39.315)"),ee(a,"transform","translate(-110.856 -23.242)"),ee(o,"class",g="TogglePasswordVisibility "+(r[15]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.844"),ee(o,"height","12.887"),ee(o,"viewBox","0 0 18.844 12.887")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),K(c,u),K(c,h),K(a,f),K(f,p),K(f,d),K(a,m),w||(y=Q(o,"click",r[41]),w=!0)},p(e,t){32768&t[0]&&g!==(g="TogglePasswordVisibility "+(e[15]?"InvalidToggle":""))&&ee(o,"class",g)},d(e){e&&Y(o),w=!1,y()}}}function Bo(e){let r;function o(e){return"true"==e[2]?So:Ao}let n=o(e),s=n(e);return{c(){s.c(),r=N()},m(e,t){s.m(e,t),q(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&&Y(r)}}}function Ao(e){let r,o,n=e[23]("forgotPasswordForm.forgotNewPasswordPasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotNewPasswordPasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function So(e){let r,o,n=e[23]("forgotPasswordForm.simplePasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.simplePasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Co(r){let o,n,s,i,a,l,c,u,h,f,p;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),a=G("g"),l=G("path"),c=G("circle"),ee(l,"class","a"),ee(l,"d","M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z"),ee(l,"transform","translate(0)"),ee(c,"class","a"),ee(c,"cx","2.779"),ee(c,"cy","2.779"),ee(c,"r","2.779"),ee(c,"transform","translate(20.827 30.303)"),ee(a,"transform","translate(-14.185 -27.832)"),ee(o,"class",u="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"part",h="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.843"),ee(o,"height","10.5"),ee(o,"viewBox","0 0 18.843 10.5")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),f||(p=Q(o,"click",r[46]),f=!0)},p(e,t){65536&t[0]&&u!==(u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"class",u),65536&t[0]&&h!==(h="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"part",h)},d(e){e&&Y(o),f=!1,p()}}}function Ho(r){let o,n,s,i,a,l,c,u,h,f,p,d,m,g,w,y,b;return{c(){o=G("svg"),n=G("defs"),s=G("style"),i=W(".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"),ee(l,"class","a"),ee(l,"cx","0.05"),ee(l,"cy","0.05"),ee(l,"r","0.05"),ee(l,"transform","translate(121.017 31.148)"),ee(u,"class","a"),ee(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),ee(u,"transform","translate(-142.164 -39.123)"),ee(h,"class","a"),ee(h,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),ee(h,"transform","translate(-136.413 -42.068)"),ee(c,"transform","translate(117.499 27.37)"),ee(p,"class","a"),ee(p,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),ee(p,"transform","translate(-110.856 -33.157)"),ee(d,"class","a"),ee(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"),ee(d,"transform","translate(-130.743 -29.617)"),ee(f,"transform","translate(110.856 24.899)"),ee(m,"class","a"),ee(m,"width","0.972"),ee(m,"height","15.861"),ee(m,"rx","0.486"),ee(m,"transform","translate(114.827 23.858) rotate(-39.315)"),ee(a,"transform","translate(-110.856 -23.242)"),ee(o,"class",g="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"part",w="TogglePasswordVisibility "+(r[16]?"InvalidToggle":"")),ee(o,"xmlns","http://www.w3.org/2000/svg"),ee(o,"width","18.844"),ee(o,"height","12.887"),ee(o,"viewBox","0 0 18.844 12.887")},m(e,t){q(e,o,t),K(o,n),K(n,s),K(s,i),K(o,a),K(a,l),K(a,c),K(c,u),K(c,h),K(a,f),K(f,p),K(f,d),K(a,m),y||(b=Q(o,"click",r[45]),y=!0)},p(e,t){65536&t[0]&&g!==(g="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"class",g),65536&t[0]&&w!==(w="TogglePasswordVisibility "+(e[16]?"InvalidToggle":""))&&ee(o,"part",w)},d(e){e&&Y(o),y=!1,b()}}}function No(e){let r,o,n=e[23]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","InvalidInput"),ee(r,"part","InvalidInput")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotNewPasswordConfirmPasswordError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Lo(e){let r,o,n=e[23]("forgotPasswordForm.forgotPasswordEmailInputError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","ForgotPasswordError"),ee(r,"part","ForgotPasswordError")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotPasswordEmailInputError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Fo(e){let r,o,n=e[23]("forgotPasswordForm.forgotPasswordEmailError")+"";return{c(){r=t("p"),o=W(n),ee(r,"class","ForgotPasswordError"),ee(r,"part","ForgotPasswordError")},m(e,t){q(e,r,t),K(r,o)},p(e,t){8388608&t[0]&&n!==(n=e[23]("forgotPasswordForm.forgotPasswordEmailError")+"")&&te(o,n)},d(e){e&&Y(r)}}}function Io(e){let r;return{c(){ee(r=t("div"),"class","FormRightSide"),ee(r,"part","FormRightSide"),L(r,"background-image","url('"+e[0]+"')")},m(e,t){q(e,r,t)},p(e,t){1&t[0]&&L(r,"background-image","url('"+e[0]+"')")},d(e){e&&Y(r)}}}function Oo(r){let o,n,s,i,a,l=r[1]&&yo(r),c=function(e){let r,o,n;function s(e){return e[5]?Po:e[7]?vo:e[9]?Eo:e[10]?bo:void 0}let i=s(e),a=i&&i(e),l=!e[11]&&Io(e);return{c(){r=t("div"),a&&a.c(),o=J(),l&&l.c(),ee(r,"class",n="FormContainer "+(e[11]?"FormMobileContainer":"")),ee(r,"part","FormContainer")},m(e,t){q(e,r,t),a&&a.m(r,null),K(r,o),l&&l.m(r,null)},p(e,t){i===(i=s(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(r,o))),e[11]?l&&(l.d(1),l=null):l?l.p(e,t):((l=Io(e)).c(),l.m(r,null)),2048&t[0]&&n!==(n="FormContainer "+(e[11]?"FormMobileContainer":""))&&ee(r,"class",n)},d(e){e&&Y(r),a&&a.d(),l&&l.d()}}}(r);return{c(){l&&l.c(),o=N(),n=J(),s=t("div"),i=J(),a=t("div"),c.c(),this.c=g,ee(s,"class","g-recaptcha"),ee(s,"data-sitekey",r[1])},m(e,t){l&&l.m(wo.head,null),K(wo.head,o),q(e,n,t),q(e,s,t),q(e,i,t),q(e,a,t),c.m(a,null),r[49](a)},p(e,t){e[1]?l?l.p(e,t):((l=yo(e)).c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null),2&t[0]&&ee(s,"data-sitekey",e[1]),c.p(e,t)},i:g,o:g,d(e){l&&l.d(e),Y(o),e&&Y(n),e&&Y(s),e&&Y(i),e&&Y(a),c.d(),r[49](null)}}}function xo(t,e,o){let r;var n=po;t.$$.on_destroy.push(j(n,e=>o(23,r=e)));let s,i,a,{endpoint:l=""}=e,{forgotpasswordkey:c=""}=e,{imagedesktop:u=""}=e,{captchakey:h=""}=e,{lang:f=""}=e,{simplepasswordvalidation:p="false"}=e,{clientstyling:d=""}=e,{clientstylingurl:m=""}=e,{translationurl:g=""}=e,{savecredentials:w=""}=e,y=!0,b=!1,E=!1,v="",P=!1,T=!1,_=!1,R,M,k=window.navigator.userAgent,U,B=!1,A=!1,S=!1,C=!1,H="",N="";Object.keys(go).forEach(e=>{mo(e,go[e])});const L={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},F=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)}},I=e=>{switch(e){case"ToEmailSuccess":o(6,b=!1),o(5,y=!1),o(7,E=!0);break;case"ToReset":o(5,y=!1),o(9,P=!0);break;case"ToSuccess":o(9,P=!1),o(10,T=!0)}},O=()=>{window.postMessage({type:"ToLogin"},window.location.href)},D=e=>{e.preventDefault(),new Promise((t,e)=>{grecaptcha.ready(()=>{grecaptcha.execute(h,{action:"submit"}).then(e=>{t(e)})})}).then(e=>{let t=new URL(l+"/player/resetpassword"),r={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":e}};t.searchParams.append("email",v),fetch(t,r).then(e=>{200==e.status?I("ToEmailSuccess"):o(6,b=!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&&I("ToSuccess")})},x=e=>("true"==p&&(L.password=/^(?!.* ).{8,20}$/),!!L.password.test(e));return n=async()=>{var e;((e=k).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(11,_=!0)},function(){if($)return $;throw new Error("Function called outside component initialization")}().$$.on_mount.push(n),t.$$set=e=>{"endpoint"in e&&o(30,l=e.endpoint),"forgotpasswordkey"in e&&o(31,c=e.forgotpasswordkey),"imagedesktop"in e&&o(0,u=e.imagedesktop),"captchakey"in e&&o(1,h=e.captchakey),"lang"in e&&o(32,f=e.lang),"simplepasswordvalidation"in e&&o(2,p=e.simplepasswordvalidation),"clientstyling"in e&&o(33,d=e.clientstyling),"clientstylingurl"in e&&o(34,m=e.clientstylingurl),"translationurl"in e&&o(35,g=e.translationurl),"savecredentials"in e&&o(3,w=e.savecredentials)},t.$$.update=()=>{if(1&t.$$.dirty[1]&&c&&c&&0<c.length&&I("ToReset"),2&t.$$.dirty[1]&&f&&(e=f,io.set(e)),16&t.$$.dirty[0]|4&t.$$.dirty[1]&&d&&a){let e=document.createElement("style");e.innerHTML=d,a.appendChild(e)}if(16&t.$$.dirty[0]|8&t.$$.dirty[1]&&m&&a){let e=new URL(m),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;16&t.$$.dirty[1]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{mo(e,t[e])})}).catch(e=>{console.log(e)})},[u,h,p,w,a,y,b,E,v,P,T,_,!1,!1,!1,B,A,s,i,S,C,H,N,r,()=>{var e;o(12,(e=v,R=!(L.email.test(e)&&e.length<=100))),o(13,M=!R)},F,O,D,G,(e,t,r)=>{"new-password"===r.id?(o(15,B=!x(t)),N&&o(16,A=H!==N||!x(t))):o(16,A=H!==N||!x(t)),o(14,U=!(B||A||!H||!N))},l,c,f,d,m,g,()=>O(),function(){v=this.value,o(8,v)},e=>D(e),function(){H=this.value,o(21,H)},function(e){V[e?"unshift":"push"](()=>{s=e,o(17,s)})},()=>F("userNewPassword"),()=>F("userNewPassword"),function(){N=this.value,o(22,N)},function(e){V[e?"unshift":"push"](()=>{i=e,o(18,i)})},()=>F("userConfirmPassword"),()=>F("userConfirmPassword"),e=>G(e),()=>O(),function(e){V[e?"unshift":"push"](()=>{a=e,o(4,a)})}]}class Ro extends se{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.backButtonForgotPassword{display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:24px;line-height:24px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:16px;cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emfe-w-color-primary, #D0046C)}.FormContainer{display:inline-flex;width:100%}.FormLeftSide,.FormRightSide{flex:1 1 100%;padding:50px;height:460px}.FormLeftSide{background:var(--emfe-w-color-gray-50, #F9F8F8)}.FormRightSide{background-repeat:no-repeat;background-size:cover;background-position:center}.FormHeaderTitle{color:var(--emfe-w-color-black, #000000);font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.FormRequired{color:var(--emfe-w-color-error, #FD2839)}.ForgotPasswordError{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emfe-w-color-green, #48952a);font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:16px;color:var(--emfe-w-color-black, #000000);text-transform:initial;padding:15px 0;margin-bottom:110px}.TogglePasswordVisibility{height:19px;position:absolute;right:8px;top:34px;cursor:pointer}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emfe-w-color-primary, #D0046C)}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emfe-w-color-gray-300, #58586B)}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:14px;font-weight:300;padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;padding:5px;font-size:14px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.ResetPasswordByEmail.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.resetPasswordButton{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.resetPasswordButton[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:10px;line-height:10px}.FormLeftSide{flex:1 1 100%;padding:50px}.FormMobileContainer{height:100%;background-color:var(--emfe-w-color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset}.FormMobileContainer{height:100%}.FormMobileContainer .FormLeftSide{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}</style>",ne(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},xo,Oo,S,{endpoint:30,forgotpasswordkey:31,imagedesktop:0,captchakey:1,lang:32,simplepasswordvalidation:2,clientstyling:33,clientstylingurl:34,translationurl:35,savecredentials:3},null,[-1,-1,-1]),e&&(e.target&&q(e.target,this,e.anchor),e.props&&(this.$set(e.props),w()))}static get observedAttributes(){return["endpoint","forgotpasswordkey","imagedesktop","captchakey","lang","simplepasswordvalidation","clientstyling","clientstylingurl","translationurl","savecredentials"]}get endpoint(){return this.$$.ctx[30]}set endpoint(e){this.$$set({endpoint:e}),w()}get forgotpasswordkey(){return this.$$.ctx[31]}set forgotpasswordkey(e){this.$$set({forgotpasswordkey:e}),w()}get imagedesktop(){return this.$$.ctx[0]}set imagedesktop(e){this.$$set({imagedesktop:e}),w()}get captchakey(){return this.$$.ctx[1]}set captchakey(e){this.$$set({captchakey:e}),w()}get lang(){return this.$$.ctx[32]}set lang(e){this.$$set({lang:e}),w()}get simplepasswordvalidation(){return this.$$.ctx[2]}set simplepasswordvalidation(e){this.$$set({simplepasswordvalidation:e}),w()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),w()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),w()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),w()}get savecredentials(){return this.$$.ctx[3]}set savecredentials(e){this.$$set({savecredentials:e}),w()}}return customElements.get("general-player-forgot-password-form")||customElements.define("general-player-forgot-password-form",Ro),Ro});
2
2
  //# sourceMappingURL=general-player-forgot-password-form.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-forgot-password-form",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "main": "dist/general-player-forgot-password-form.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "d38acb0f8e7dfbaadfc047558a121ec1d5f543f8"
39
+ "gitHead": "af607736d2fefc2fcb0fc155b2023fcd62806a5c"
40
40
  }