@everymatrix/general-player-forgot-password-form-nd 1.50.1 → 1.52.0

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,5 +1,5 @@
1
- "use strict";var xo=Object.defineProperty,To=Object.defineProperties;var So=Object.getOwnPropertyDescriptors;var Rt=Object.getOwnPropertySymbols;var Bo=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable;var it=(e,t,r)=>t in e?xo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mt=(e,t)=>{for(var r in t||(t={}))Bo.call(t,r)&&it(e,r,t[r]);if(Rt)for(var r of Rt(t))Co.call(t,r)&&it(e,r,t[r]);return e},kt=(e,t)=>To(e,So(t));var fe=(e,t,r)=>it(e,typeof t!="symbol"?t+"":t,r);var at=(e,t,r)=>new Promise((o,s)=>{var n=u=>{try{l(r.next(u))}catch(c){s(c)}},a=u=>{try{l(r.throw(u))}catch(c){s(c)}},l=u=>u.done?o(u.value):Promise.resolve(u.value).then(n,a);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function he(){}function vr(e){return e()}function Dt(){return Object.create(null)}function ve(e){e.forEach(vr)}function De(e){return typeof e=="function"}function yr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ve;function Ut(e,t){return e===t?!0:(Ve||(Ve=document.createElement("a")),Ve.href=t,e===Ve.href)}function Ho(e){return Object.keys(e).length===0}function Pr(e,...t){if(e==null){for(const o of t)o(void 0);return he}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function No(e,t,r){e.$$.on_destroy.push(Pr(t,r))}const Ao=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function h(e,t){e.appendChild(t)}function Io(e,t,r){const o=Lo(e);if(!o.getElementById(t)){const s=y("style");s.id=t,s.textContent=r,Oo(o,s)}}function Lo(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Oo(e,t){return h(e.head||e,t),t.sheet}function k(e,t,r){e.insertBefore(t,r||null)}function F(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function w(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function R(){return C(" ")}function Er(){return C("")}function ae(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function i(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Fo(e){return Array.from(e.childNodes)}function V(e,t){t=""+t,e.data!==t&&(e.data=t)}function Se(e,t){e.value=t==null?"":t}function Ro(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Ue;function Me(e){Ue=e}function Mo(){if(!Ue)throw new Error("Function called outside component initialization");return Ue}function ko(e){Mo().$$.on_mount.push(e)}const Te=[],ke=[];let Be=[];const Gt=[],Do=Promise.resolve();let gt=!1;function Uo(){gt||(gt=!0,Do.then(ue))}function bt(e){Be.push(e)}const lt=new Set;let _e=0;function ue(){if(_e!==0)return;const e=Ue;do{try{for(;_e<Te.length;){const t=Te[_e];_e++,Me(t),Go(t.$$)}}catch(t){throw Te.length=0,_e=0,t}for(Me(null),Te.length=0,_e=0;ke.length;)ke.pop()();for(let t=0;t<Be.length;t+=1){const r=Be[t];lt.has(r)||(lt.add(r),r())}Be.length=0}while(Te.length);for(;Gt.length;)Gt.pop()();gt=!1,lt.clear(),Me(e)}function Go(e){if(e.fragment!==null){e.update(),ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(bt)}}function jo(e){const t=[],r=[];Be.forEach(o=>e.indexOf(o)===-1?t.push(o):r.push(o)),r.forEach(o=>o()),Be=t}const $o=new Set;function Vo(e,t){e&&e.i&&($o.delete(e),e.i(t))}function zo(e,t,r){const{fragment:o,after_update:s}=e.$$;o&&o.m(t,r),bt(()=>{const n=e.$$.on_mount.map(vr).filter(De);e.$$.on_destroy?e.$$.on_destroy.push(...n):ve(n),e.$$.on_mount=[]}),s.forEach(bt)}function Xo(e,t){const r=e.$$;r.fragment!==null&&(jo(r.after_update),ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Zo(e,t){e.$$.dirty[0]===-1&&(Te.push(e),Uo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Wo(e,t,r,o,s,n,a=null,l=[-1]){const u=Ue;Me(e);const c=e.$$={fragment:null,ctx:[],props:n,update:he,not_equal:s,bound:Dt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Dt(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};a&&a(c.root);let f=!1;if(c.ctx=r?r(e,t.props||{},(d,p,...m)=>{const v=m.length?m[0]:p;return c.ctx&&s(c.ctx[d],c.ctx[d]=v)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](v),f&&Zo(e,d)),p}):[],c.update(),f=!0,ve(c.before_update),c.fragment=o?o(c.ctx):!1,t.target){if(t.hydrate){const d=Fo(t.target);c.fragment&&c.fragment.l(d),d.forEach(F)}else c.fragment&&c.fragment.c();t.intro&&Vo(e.$$.fragment),zo(e,t.target,t.anchor),ue()}Me(u)}let _r;typeof HTMLElement=="function"&&(_r=class extends HTMLElement{constructor(t,r,o){super();fe(this,"$$ctor");fe(this,"$$s");fe(this,"$$c");fe(this,"$$cn",!1);fe(this,"$$d",{});fe(this,"$$r",!1);fe(this,"$$p_d",{});fe(this,"$$l",{});fe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,o&&this.attachShadow({mode:"open"})}addEventListener(t,r,o){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const s=this.$$c.$on(t,r);this.$$l_u.set(r,s)}super.addEventListener(t,r,o)}removeEventListener(t,r,o){if(super.removeEventListener(t,r,o),this.$$c){const s=this.$$l_u.get(r);s&&(s(),this.$$l_u.delete(r))}}connectedCallback(){return at(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(n){return()=>{let a;return{c:function(){a=y("slot"),n!=="default"&&i(a,"name",n)},m:function(c,f){k(c,a,f)},d:function(c){c&&F(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},o=Ro(this);for(const n of this.$$s)n in o&&(r[n]=[t(n)]);for(const n of this.attributes){const a=this.$$g_p(n.name);a in this.$$d||(this.$$d[a]=Ze(a,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:kt(Mt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const s=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const a=Ze(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const n in this.$$l)for(const a of this.$$l[n]){const l=this.$$c.$on(n,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,o){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ze(t,o,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Ze(e,t,r,o){var n;const s=(n=r[e])==null?void 0:n.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!r[e])return t;if(o==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qo(e,t,r,o,s,n){let a=class extends _r{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var c;u=Ze(l,u,t),this.$$d[l]=u,(c=this.$$c)==null||c.$set({[l]:u})}})}),o.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=a,a}class Qo{constructor(){fe(this,"$$");fe(this,"$$set")}$destroy(){Xo(this,1),this.$destroy=he}$on(t,r){if(!De(r))return he;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(r),()=>{const s=o.indexOf(r);s!==-1&&o.splice(s,1)}}$set(t){this.$$set&&!Ho(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Jo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Jo);var wt=function(e,t){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])},wt(e,t)};function ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,o=1,s=arguments.length;o<s;o++){r=arguments[o];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},N.apply(this,arguments)};function Yo(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]]);return r}function vt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),s,n=[],a;try{for(;(t===void 0||t-- >0)&&!(s=o.next()).done;)n.push(s.value)}catch(l){a={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return n}function Ce(e,t,r){if(r||arguments.length===2)for(var o=0,s=t.length,n;o<s;o++)(n||!(o in t))&&(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function me(e){return typeof e=="function"}function xr(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ut=xr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
1
+ "use strict";var xo=Object.defineProperty,To=Object.defineProperties;var So=Object.getOwnPropertyDescriptors;var Rt=Object.getOwnPropertySymbols;var Bo=Object.prototype.hasOwnProperty,Co=Object.prototype.propertyIsEnumerable;var it=(e,t,r)=>t in e?xo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mt=(e,t)=>{for(var r in t||(t={}))Bo.call(t,r)&&it(e,r,t[r]);if(Rt)for(var r of Rt(t))Co.call(t,r)&&it(e,r,t[r]);return e},kt=(e,t)=>To(e,So(t));var fe=(e,t,r)=>it(e,typeof t!="symbol"?t+"":t,r);var at=(e,t,r)=>new Promise((o,s)=>{var n=u=>{try{l(r.next(u))}catch(c){s(c)}},a=u=>{try{l(r.throw(u))}catch(c){s(c)}},l=u=>u.done?o(u.value):Promise.resolve(u.value).then(n,a);l((r=r.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function he(){}function vr(e){return e()}function Dt(){return Object.create(null)}function ve(e){e.forEach(vr)}function De(e){return typeof e=="function"}function yr(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Ve;function Ut(e,t){return e===t?!0:(Ve||(Ve=document.createElement("a")),Ve.href=t,e===Ve.href)}function Ho(e){return Object.keys(e).length===0}function Pr(e,...t){if(e==null){for(const o of t)o(void 0);return he}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function No(e,t,r){e.$$.on_destroy.push(Pr(t,r))}const Ao=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function h(e,t){e.appendChild(t)}function Io(e,t,r){const o=Lo(e);if(!o.getElementById(t)){const s=y("style");s.id=t,s.textContent=r,Oo(o,s)}}function Lo(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Oo(e,t){return h(e.head||e,t),t.sheet}function k(e,t,r){e.insertBefore(t,r||null)}function F(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function b(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function C(e){return document.createTextNode(e)}function R(){return C(" ")}function Er(){return C("")}function ae(e,t,r,o){return e.addEventListener(t,r,o),()=>e.removeEventListener(t,r,o)}function i(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Fo(e){return Array.from(e.childNodes)}function V(e,t){t=""+t,e.data!==t&&(e.data=t)}function Se(e,t){e.value=t==null?"":t}function Ro(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let Ue;function Me(e){Ue=e}function Mo(){if(!Ue)throw new Error("Function called outside component initialization");return Ue}function ko(e){Mo().$$.on_mount.push(e)}const Te=[],ke=[];let Be=[];const Gt=[],Do=Promise.resolve();let gt=!1;function Uo(){gt||(gt=!0,Do.then(ue))}function wt(e){Be.push(e)}const lt=new Set;let _e=0;function ue(){if(_e!==0)return;const e=Ue;do{try{for(;_e<Te.length;){const t=Te[_e];_e++,Me(t),Go(t.$$)}}catch(t){throw Te.length=0,_e=0,t}for(Me(null),Te.length=0,_e=0;ke.length;)ke.pop()();for(let t=0;t<Be.length;t+=1){const r=Be[t];lt.has(r)||(lt.add(r),r())}Be.length=0}while(Te.length);for(;Gt.length;)Gt.pop()();gt=!1,lt.clear(),Me(e)}function Go(e){if(e.fragment!==null){e.update(),ve(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(wt)}}function jo(e){const t=[],r=[];Be.forEach(o=>e.indexOf(o)===-1?t.push(o):r.push(o)),r.forEach(o=>o()),Be=t}const $o=new Set;function Vo(e,t){e&&e.i&&($o.delete(e),e.i(t))}function zo(e,t,r){const{fragment:o,after_update:s}=e.$$;o&&o.m(t,r),wt(()=>{const n=e.$$.on_mount.map(vr).filter(De);e.$$.on_destroy?e.$$.on_destroy.push(...n):ve(n),e.$$.on_mount=[]}),s.forEach(wt)}function Xo(e,t){const r=e.$$;r.fragment!==null&&(jo(r.after_update),ve(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Zo(e,t){e.$$.dirty[0]===-1&&(Te.push(e),Uo(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Wo(e,t,r,o,s,n,a=null,l=[-1]){const u=Ue;Me(e);const c=e.$$={fragment:null,ctx:[],props:n,update:he,not_equal:s,bound:Dt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:Dt(),dirty:l,skip_bound:!1,root:t.target||u.$$.root};a&&a(c.root);let f=!1;if(c.ctx=r?r(e,t.props||{},(d,p,...m)=>{const v=m.length?m[0]:p;return c.ctx&&s(c.ctx[d],c.ctx[d]=v)&&(!c.skip_bound&&c.bound[d]&&c.bound[d](v),f&&Zo(e,d)),p}):[],c.update(),f=!0,ve(c.before_update),c.fragment=o?o(c.ctx):!1,t.target){if(t.hydrate){const d=Fo(t.target);c.fragment&&c.fragment.l(d),d.forEach(F)}else c.fragment&&c.fragment.c();t.intro&&Vo(e.$$.fragment),zo(e,t.target,t.anchor),ue()}Me(u)}let _r;typeof HTMLElement=="function"&&(_r=class extends HTMLElement{constructor(t,r,o){super();fe(this,"$$ctor");fe(this,"$$s");fe(this,"$$c");fe(this,"$$cn",!1);fe(this,"$$d",{});fe(this,"$$r",!1);fe(this,"$$p_d",{});fe(this,"$$l",{});fe(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,o&&this.attachShadow({mode:"open"})}addEventListener(t,r,o){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const s=this.$$c.$on(t,r);this.$$l_u.set(r,s)}super.addEventListener(t,r,o)}removeEventListener(t,r,o){if(super.removeEventListener(t,r,o),this.$$c){const s=this.$$l_u.get(r);s&&(s(),this.$$l_u.delete(r))}}connectedCallback(){return at(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(n){return()=>{let a;return{c:function(){a=y("slot"),n!=="default"&&i(a,"name",n)},m:function(c,f){k(c,a,f)},d:function(c){c&&F(a)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},o=Ro(this);for(const n of this.$$s)n in o&&(r[n]=[t(n)]);for(const n of this.attributes){const a=this.$$g_p(n.name);a in this.$$d||(this.$$d[a]=Ze(a,n.value,this.$$p_d,"toProp"))}for(const n in this.$$p_d)!(n in this.$$d)&&this[n]!==void 0&&(this.$$d[n]=this[n],delete this[n]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:kt(Mt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const s=()=>{this.$$r=!0;for(const n in this.$$p_d)if(this.$$d[n]=this.$$c.$$.ctx[this.$$c.$$.props[n]],this.$$p_d[n].reflect){const a=Ze(n,this.$$d[n],this.$$p_d,"toAttribute");a==null?this.removeAttribute(this.$$p_d[n].attribute||n):this.setAttribute(this.$$p_d[n].attribute||n,a)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const n in this.$$l)for(const a of this.$$l[n]){const l=this.$$c.$on(n,a);this.$$l_u.set(a,l)}this.$$l={}}})}attributeChangedCallback(t,r,o){var s;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Ze(t,o,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Ze(e,t,r,o){var n;const s=(n=r[e])==null?void 0:n.type;if(t=s==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!r[e])return t;if(o==="toAttribute")switch(s){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(s){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function qo(e,t,r,o,s,n){let a=class extends _r{constructor(){super(e,r,s),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(l=>(t[l].attribute||l).toLowerCase())}};return Object.keys(t).forEach(l=>{Object.defineProperty(a.prototype,l,{get(){return this.$$c&&l in this.$$c?this.$$c[l]:this.$$d[l]},set(u){var c;u=Ze(l,u,t),this.$$d[l]=u,(c=this.$$c)==null||c.$set({[l]:u})}})}),o.forEach(l=>{Object.defineProperty(a.prototype,l,{get(){var u;return(u=this.$$c)==null?void 0:u[l]}})}),e.element=a,a}class Qo{constructor(){fe(this,"$$");fe(this,"$$set")}$destroy(){Xo(this,1),this.$destroy=he}$on(t,r){if(!De(r))return he;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(r),()=>{const s=o.indexOf(r);s!==-1&&o.splice(s,1)}}$set(t){this.$$set&&!Ho(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Yo="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Yo);var bt=function(e,t){return bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(r[s]=o[s])},bt(e,t)};function ge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var N=function(){return N=Object.assign||function(t){for(var r,o=1,s=arguments.length;o<s;o++){r=arguments[o];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},N.apply(this,arguments)};function Jo(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]]);return r}function vt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function yt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),s,n=[],a;try{for(;(t===void 0||t-- >0)&&!(s=o.next()).done;)n.push(s.value)}catch(l){a={error:l}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(a)throw a.error}}return n}function Ce(e,t,r){if(r||arguments.length===2)for(var o=0,s=t.length,n;o<s;o++)(n||!(o in t))&&(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function me(e){return typeof e=="function"}function xr(e){var t=function(o){Error.call(o),o.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ut=xr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
2
  `+r.map(function(o,s){return s+1+") "+o.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function Pt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ke=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,s,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=vt(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(g){t={error:g}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(me(f))try{f()}catch(g){n=g instanceof ut?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=vt(d),m=p.next();!m.done;m=p.next()){var v=m.value;try{jt(v)}catch(g){n=n!=null?n:[],g instanceof ut?n=Ce(Ce([],yt(n)),yt(g.errors)):n.push(g)}}}catch(g){o={error:g}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(o)throw o.error}}}if(n)throw new ut(n)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Pt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Pt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Tr=Ke.EMPTY;function Sr(e){return e instanceof Ke||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function jt(e){me(e)?e():e.unsubscribe()}var Br={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ko={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return setTimeout.apply(void 0,Ce([e,t],yt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function es(e){Ko.setTimeout(function(){throw e})}function $t(){}function We(e){e()}var Cr=function(e){ge(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,Sr(r)&&r.add(o)):o.destination=ss,o}return t.create=function(r,o,s){return new Et(r,o,s)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ke),ts=Function.prototype.bind;function ct(e,t){return ts.call(e,t)}var rs=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){ze(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){ze(o)}else ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){ze(r)}},e}(),Et=function(e){ge(t,e);function t(r,o,s){var n=e.call(this)||this,a;if(me(r)||!r)a={next:r!=null?r:void 0,error:o!=null?o:void 0,complete:s!=null?s:void 0};else{var l;n&&Br.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return n.unsubscribe()},a={next:r.next&&ct(r.next,l),error:r.error&&ct(r.error,l),complete:r.complete&&ct(r.complete,l)}):a=r}return n.destination=new rs(a),n}return t}(Cr);function ze(e){es(e)}function os(e){throw e}var ss={closed:!0,next:$t,error:os,complete:$t},ns=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function is(e){return e}function as(e){return e.length===0?is:e.length===1?e[0]:function(r){return e.reduce(function(o,s){return s(o)},r)}}var Vt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,o){var s=this,n=us(t)?t:new Et(t,r,o);return We(function(){var a=s,l=a.operator,u=a.source;n.add(l?l.call(n,u):u?s._subscribe(n):s._trySubscribe(n))}),n},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var o=this;return r=zt(r),new r(function(s,n){var a=new Et({next:function(l){try{t(l)}catch(u){n(u),a.unsubscribe()}},error:n,complete:s});o.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ns]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return as(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=zt(t),new t(function(o,s){var n;r.subscribe(function(a){return n=a},function(a){return s(a)},function(){return o(n)})})},e.create=function(t){return new e(t)},e}();function zt(e){var t;return(t=e!=null?e:Br.Promise)!==null&&t!==void 0?t:Promise}function ls(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}function us(e){return e&&e instanceof Cr||ls(e)&&Sr(e)}var cs=xr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Hr=function(e){ge(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var o=new Xt(this,this);return o.operator=r,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new cs},t.prototype.next=function(r){var o=this;We(function(){var s,n;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var a=vt(o.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){s={error:c}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(s)throw s.error}}}})},t.prototype.error=function(r){var o=this;We(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=r;for(var s=o.observers;s.length;)s.shift().error(r)}})},t.prototype.complete=function(){var r=this;We(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var o=r.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var o=this,s=this,n=s.hasError,a=s.isStopped,l=s.observers;return n||a?Tr:(this.currentObservers=null,l.push(r),new Ke(function(){o.currentObservers=null,Pt(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,s=o.hasError,n=o.thrownError,a=o.isStopped;s?r.error(n):a&&r.complete()},t.prototype.asObservable=function(){var r=new Vt;return r.source=this,r},t.create=function(r,o){return new Xt(r,o)},t}(Vt),Xt=function(e){ge(t,e);function t(r,o){var s=e.call(this)||this;return s.destination=r,s.source=o,s}return t.prototype.next=function(r){var o,s;(s=(o=this.destination)===null||o===void 0?void 0:o.next)===null||s===void 0||s.call(o,r)},t.prototype.error=function(r){var o,s;(s=(o=this.destination)===null||o===void 0?void 0:o.error)===null||s===void 0||s.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,s;return(s=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&s!==void 0?s:Tr},t}(Hr),Nr={now:function(){return(Nr.delegate||Date).now()},delegate:void 0},fs=function(e){ge(t,e);function t(r,o,s){r===void 0&&(r=1/0),o===void 0&&(o=1/0),s===void 0&&(s=Nr);var n=e.call(this)||this;return n._bufferSize=r,n._windowTime=o,n._timestampProvider=s,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=o===1/0,n._bufferSize=Math.max(1,r),n._windowTime=Math.max(1,o),n}return t.prototype.next=function(r){var o=this,s=o.isStopped,n=o._buffer,a=o._infiniteTimeWindow,l=o._timestampProvider,u=o._windowTime;s||(n.push(r),!a&&n.push(l.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),s=this,n=s._infiniteTimeWindow,a=s._buffer,l=a.slice(),u=0;u<l.length&&!r.closed;u+=n?1:2)r.next(l[u]);return this._checkFinalizedStatuses(r),o},t.prototype._trimBuffer=function(){var r=this,o=r._bufferSize,s=r._timestampProvider,n=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*o;if(o<1/0&&l<n.length&&n.splice(0,n.length-l),!a){for(var u=s.now(),c=0,f=1;f<n.length&&n[f]<=u;f+=2)c=f;c&&n.splice(0,c+1)}},t}(Hr);const Zt=[],Wt={},hs=(e,t=0)=>{if(Zt.indexOf(e)==-1){const r=new fs(t);Wt[e]=r,Zt.push(e)}return Wt[e]},xe=[];function ds(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=he){let r;const o=new Set;function s(l){if(yr(e,l)&&(e=l,r)){const u=!xe.length;for(const c of o)c[1](),xe.push(c,e);if(u){for(let c=0;c<xe.length;c+=2)xe[c][0](xe[c+1]);xe.length=0}}}function n(l){s(l(e))}function a(l,u=he){const c=[l,u];return o.add(c),o.size===1&&(r=t(s,n)||he),l(e),()=>{o.delete(c),o.size===0&&r&&(r(),r=null)}}return{set:s,update:n,subscribe:a}}function Le(e,t,r){const o=!Array.isArray(e),s=o?[e]:e;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=t.length<2;return ds(r,(a,l)=>{let u=!1;const c=[];let f=0,d=he;const p=()=>{if(f)return;d();const v=t(o?c[0]:c,a,l);n?a(v):d=De(v)?v:he},m=s.map((v,g)=>Pr(v,x=>{c[g]=x,f&=~(1<<g),u&&p()},()=>{f|=1<<g}));return u=!0,p(),function(){ve(m),d(),u=!1}})}function ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ms=function(t){return gs(t)&&!bs(t)};function gs(e){return!!e&&typeof e=="object"}function bs(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ys(e)}var ws=typeof Symbol=="function"&&Symbol.for,vs=ws?Symbol.for("react.element"):60103;function ys(e){return e.$$typeof===vs}function Ps(e){return Array.isArray(e)?[]:{}}function Ge(e,t){return t.clone!==!1&&t.isMergeableObject(e)?He(Ps(e),e,t):e}function Es(e,t,r){return e.concat(t).map(function(o){return Ge(o,r)})}function _s(e,t){if(!t.customMerge)return He;var r=t.customMerge(e);return typeof r=="function"?r:He}function xs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function qt(e){return Object.keys(e).concat(xs(e))}function Ar(e,t){try{return t in e}catch(r){return!1}}function Ts(e,t){return Ar(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ss(e,t,r){var o={};return r.isMergeableObject(e)&&qt(e).forEach(function(s){o[s]=Ge(e[s],r)}),qt(t).forEach(function(s){Ts(e,s)||(Ar(e,s)&&r.isMergeableObject(t[s])?o[s]=_s(s,r)(e[s],t[s],r):o[s]=Ge(t[s],r))}),o}function He(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Es,r.isMergeableObject=r.isMergeableObject||ms,r.cloneUnlessOtherwiseSpecified=Ge;var o=Array.isArray(t),s=Array.isArray(e),n=o===s;return n?o?r.arrayMerge(e,t,r):Ss(e,t,r):Ge(t,r)}He.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,s){return He(o,s,r)},{})};var Bs=He,Cs=Bs;const Hs=ps(Cs);function ft(e,t){var r=t&&t.cache?t.cache:Fs,o=t&&t.serializer?t.serializer:Os,s=t&&t.strategy?t.strategy:As;return s(e,{cache:r,serializer:o})}function Ns(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ir(e,t,r,o){var s=Ns(o)?o:r(o),n=t.get(s);return typeof n=="undefined"&&(n=e.call(this,o),t.set(s,n)),n}function Lr(e,t,r){var o=Array.prototype.slice.call(arguments,3),s=r(o),n=t.get(s);return typeof n=="undefined"&&(n=e.apply(this,o),t.set(s,n)),n}function At(e,t,r,o,s){return r.bind(t,e,o,s)}function As(e,t){var r=e.length===1?Ir:Lr;return At(e,this,r,t.cache.create(),t.serializer)}function Is(e,t){return At(e,this,Lr,t.cache.create(),t.serializer)}function Ls(e,t){return At(e,this,Ir,t.cache.create(),t.serializer)}var Os=function(){return JSON.stringify(arguments)};function It(){this.cache=Object.create(null)}It.prototype.get=function(e){return this.cache[e]};It.prototype.set=function(e,t){this.cache[e]=t};var Fs={create:function(){return new It}},ht={variadic:Is,monadic:Ls},T;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(T||(T={}));var D;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(D||(D={}));var Ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ne||(Ne={}));function Qt(e){return e.type===D.literal}function Rs(e){return e.type===D.argument}function Or(e){return e.type===D.number}function Fr(e){return e.type===D.date}function Rr(e){return e.type===D.time}function Mr(e){return e.type===D.select}function kr(e){return e.type===D.plural}function Ms(e){return e.type===D.pound}function Dr(e){return e.type===D.tag}function Ur(e){return!!(e&&typeof e=="object"&&e.type===Ne.number)}function _t(e){return!!(e&&typeof e=="object"&&e.type===Ne.dateTime)}var Gr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ks=/(?:[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;function Ds(e){var t={};return e.replace(ks,function(r){var o=r.length;switch(r[0]){case"G":t.era=o===4?"long":o===5?"narrow":"short";break;case"y":t.year=o===2?"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":t.month=["numeric","2-digit","short","long","narrow"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=o===4?"long":o===5?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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":t.minute=["numeric","2-digit"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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""}),t}var Us=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Gs(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Us).filter(function(p){return p.length>0}),r=[],o=0,s=t;o<s.length;o++){var n=s[o],a=n.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],u=a.slice(1),c=0,f=u;c<f.length;c++){var d=f[c];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:u})}return r}function js(e){return e.replace(/^(.*?)-/,"")}var Jt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,jr=/^(@+)?(\+|#+)?[rs]?$/g,$s=/(\*)(0+)|(#+)(0+)|(0+)/g,$r=/^(0+)$/;function Yt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(jr,function(r,o,s){return typeof s!="string"?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):s==="+"?t.minimumSignificantDigits=o.length:o[0]==="#"?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+(typeof s=="string"?s.length:0)),""}),t}function Vr(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 Vs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!$r.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Kt(e){var t={},r=Vr(e);return r||t}function zs(e){for(var t={},r=0,o=e;r<o.length;r++){var s=o[r];switch(s.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=s.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=js(s.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=N(N(N({},t),{notation:"scientific"}),s.options.reduce(function(u,c){return N(N({},u),Kt(c))},{}));continue;case"engineering":t=N(N(N({},t),{notation:"engineering"}),s.options.reduce(function(u,c){return N(N({},u),Kt(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(s.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace($s,function(u,c,f,d,p,m){if(c)t.minimumIntegerDigits=f.length;else{if(d&&p)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if($r.test(s.stem)){t.minimumIntegerDigits=s.stem.length;continue}if(Jt.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Jt,function(u,c,f,d,p,m){return f==="*"?t.minimumFractionDigits=c.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&m?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+m.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var n=s.options[0];n==="w"?t=N(N({},t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=N(N({},t),Yt(n)));continue}if(jr.test(s.stem)){t=N(N({},t),Yt(s.stem));continue}var a=Vr(s.stem);a&&(t=N(N({},t),a));var l=Vs(s.stem);l&&(t=N(N({},t),l))}return t}var Xe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Xs(e,t){for(var r="",o=0;o<e.length;o++){var s=e.charAt(o);if(s==="j"){for(var n=0;o+1<e.length&&e.charAt(o+1)===s;)n++,o++;var a=1+(n&1),l=n<2?1:3+(n>>1),u="a",c=Zs(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;a-- >0;)r=c+r}else s==="J"?r+="H":r+=s}return r}function Zs(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,o;r!=="root"&&(o=e.maximize().region);var s=Xe[o||""]||Xe[r||""]||Xe["".concat(r,"-001")]||Xe["001"];return s[0]}var dt,Ws=new RegExp("^".concat(Gr.source,"*")),qs=new RegExp("".concat(Gr.source,"*$"));function B(e,t){return{start:e,end:t}}var Qs=!!String.prototype.startsWith&&"_a".startsWith("a",1),Js=!!String.fromCodePoint,Ys=!!Object.fromEntries,Ks=!!String.prototype.codePointAt,en=!!String.prototype.trimStart,tn=!!String.prototype.trimEnd,rn=!!Number.isSafeInteger,on=rn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xt=!0;try{var sn=Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=((dt=sn.exec("a"))===null||dt===void 0?void 0:dt[0])==="a"}catch(e){xt=!1}var er=Qs?function(t,r,o){return t.startsWith(r,o)}:function(t,r,o){return t.slice(o,o+r.length)===r},Tt=Js?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var o="",s=t.length,n=0,a;s>n;){if(a=t[n++],a>1114111)throw RangeError(a+" is not a valid code point");o+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return o},tr=Ys?Object.fromEntries:function(t){for(var r={},o=0,s=t;o<s.length;o++){var n=s[o],a=n[0],l=n[1];r[a]=l}return r},zr=Ks?function(t,r){return t.codePointAt(r)}:function(t,r){var o=t.length;if(!(r<0||r>=o)){var s=t.charCodeAt(r),n;return s<55296||s>56319||r+1===o||(n=t.charCodeAt(r+1))<56320||n>57343?s:(s-55296<<10)+(n-56320)+65536}},nn=en?function(t){return t.trimStart()}:function(t){return t.replace(Ws,"")},an=tn?function(t){return t.trimEnd()}:function(t){return t.replace(qs,"")};function Xr(e,t){return new RegExp(e,t)}var St;if(xt){var rr=Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");St=function(t,r){var o;rr.lastIndex=r;var s=rr.exec(t);return(o=s[1])!==null&&o!==void 0?o:""}}else St=function(t,r){for(var o=[];;){var s=zr(t,r);if(s===void 0||Zr(s)||fn(s))break;o.push(s),r+=s>=65536?2:1}return Tt.apply(void 0,o)};var ln=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,o){for(var s=[];!this.isEOF();){var n=this.char();if(n===123){var a=this.parseArgument(t,o);if(a.err)return a;s.push(a.val)}else{if(n===125&&t>0)break;if(n===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),s.push({type:D.pound,location:B(l,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(o)break;return this.error(T.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(n===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;s.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;s.push(a.val)}}}return{val:s,err:null}},e.prototype.parseTag=function(t,r){var o=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<".concat(s,"/>"),location:B(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,r,!0);if(n.err)return n;var a=n.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(T.INVALID_TAG,B(l,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return s!==c?this.error(T.UNMATCHED_CLOSING_TAG,B(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:s,children:a,location:B(o,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,B(l,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,B(o,this.clonePosition()))}else return this.error(T.INVALID_TAG,B(o,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&cn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var o=this.clonePosition(),s="";;){var n=this.tryParseQuote(r);if(n){s+=n;continue}var a=this.tryParseUnquoted(t,r);if(a){s+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){s+=l;continue}break}var u=B(o,this.clonePosition());return{val:{type:D.literal,value:s,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!un(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(o===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(o);this.bump()}return Tt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var o=this.char();return o===60||o===123||o===35&&(r==="plural"||r==="selectordinal")||o===125&&t>0?null:(this.bump(),Tt(o))},e.prototype.parseArgument=function(t,r){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,B(o,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(T.MALFORMED_ARGUMENT,B(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:s,location:B(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition())):this.parseArgumentOptions(t,r,s,o);default:return this.error(T.MALFORMED_ARGUMENT,B(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),o=St(this.message,r),s=r+o.length;this.bumpTo(s);var n=this.clonePosition(),a=B(t,n);return{value:o,location:a}},e.prototype.parseArgumentOptions=function(t,r,o,s){var n,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,B(a,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=an(d.val);if(p.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var m=B(f,this.clonePosition());c={style:p,styleLocation:m}}var v=this.tryParseArgumentClose(s);if(v.err)return v;var g=B(s,this.clonePosition());if(c&&er(c==null?void 0:c.style,"::",0)){var x=nn(c.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(x,c.styleLocation);return d.err?d:{val:{type:D.number,value:o,location:g,style:d.val},err:null}}else{if(x.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,g);var E=x;this.locale&&(E=Xs(x,this.locale));var p={type:Ne.dateTime,pattern:E,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Ds(E):{}},P=l==="date"?D.date:D.time;return{val:{type:P,value:o,location:g,style:p},err:null}}}return{val:{type:l==="number"?D.number:l==="date"?D.date:D.time,value:o,location:g,style:(n=c==null?void 0:c.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,B(S,N({},S)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),A=0;if(l!=="select"&&_.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),_=this.parseIdentifierIfPossible(),A=d.val}var M=this.tryParsePluralOrSelectOptions(t,l,r,_);if(M.err)return M;var v=this.tryParseArgumentClose(s);if(v.err)return v;var O=B(s,this.clonePosition());return l==="select"?{val:{type:D.select,value:o,options:tr(M.val),location:O},err:null}:{val:{type:D.plural,value:o,options:tr(M.val),offset:A,pluralType:l==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,B(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var o=this.char();switch(o){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(s,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var o=[];try{o=Gs(t)}catch(s){return this.error(T.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ne.number,tokens:o,location:r,parsedOptions:this.shouldParseSkeletons?zs(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,o,s){for(var n,a=!1,l=[],u=new Set,c=s.value,f=s.location;;){if(c.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=B(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(u.has(c))return this.error(r==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,o);if(v.err)return v;var g=this.tryParseArgumentClose(m);if(g.err)return g;l.push([c,{value:v.val,location:B(m,this.clonePosition())}]),u.add(c),this.bumpSpace(),n=this.parseIdentifierIfPossible(),c=n.value,f=n.location}return l.length===0?this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(T.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var o=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var n=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)n=!0,a=a*10+(l-48),this.bump();else break}var u=B(s,this.clonePosition());return n?(a*=o,on(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=zr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(er(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),o=this.message.indexOf(t,r);return o>=0?(this.bumpTo(o),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),o=this.message.charCodeAt(r+(t>=65536?2:1));return o!=null?o:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function un(e){return Bt(e)||e===47}function cn(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Zr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function fn(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ct(e){e.forEach(function(t){if(delete t.location,Mr(t)||kr(t))for(var r in t.options)delete t.options[r].location,Ct(t.options[r].value);else Or(t)&&Ur(t.style)||(Fr(t)||Rr(t))&&_t(t.style)?delete t.style.location:Dr(t)&&Ct(t.children)})}function hn(e,t){t===void 0&&(t={}),t=N({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ln(e,t).parse();if(r.err){var o=SyntaxError(T[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return t!=null&&t.captureLocation||Ct(r.val),r.val}var Ae;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ae||(Ae={}));var tt=function(e){ge(t,e);function t(r,o,s){var n=e.call(this,r)||this;return n.code=o,n.originalMessage=s,n}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),or=function(e){ge(t,e);function t(r,o,s,n){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(o,'". Options are "').concat(Object.keys(s).join('", "'),'"'),Ae.INVALID_VALUE,n)||this}return t}(tt),dn=function(e){ge(t,e);function t(r,o,s){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(o),Ae.INVALID_VALUE,s)||this}return t}(tt),pn=function(e){ge(t,e);function t(r,o){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(o,'"'),Ae.MISSING_VALUE,o)||this}return t}(tt),oe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(oe||(oe={}));function mn(e){return e.length<2?e:e.reduce(function(t,r){var o=t[t.length-1];return!o||o.type!==oe.literal||r.type!==oe.literal?t.push(r):o.value+=r.value,t},[])}function gn(e){return typeof e=="function"}function qe(e,t,r,o,s,n,a){if(e.length===1&&Qt(e[0]))return[{type:oe.literal,value:e[0].value}];for(var l=[],u=0,c=e;u<c.length;u++){var f=c[u];if(Qt(f)){l.push({type:oe.literal,value:f.value});continue}if(Ms(f)){typeof n=="number"&&l.push({type:oe.literal,value:r.getNumberFormat(t).format(n)});continue}var d=f.value;if(!(s&&d in s))throw new pn(d,a);var p=s[d];if(Rs(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),l.push({type:typeof p=="string"?oe.literal:oe.object,value:p});continue}if(Fr(f)){var m=typeof f.style=="string"?o.date[f.style]:_t(f.style)?f.style.parsedOptions:void 0;l.push({type:oe.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Rr(f)){var m=typeof f.style=="string"?o.time[f.style]:_t(f.style)?f.style.parsedOptions:o.time.medium;l.push({type:oe.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Or(f)){var m=typeof f.style=="string"?o.number[f.style]:Ur(f.style)?f.style.parsedOptions:void 0;m&&m.scale&&(p=p*(m.scale||1)),l.push({type:oe.literal,value:r.getNumberFormat(t,m).format(p)});continue}if(Dr(f)){var v=f.children,g=f.value,x=s[g];if(!gn(x))throw new dn(g,"function",a);var E=qe(v,t,r,o,s,n),P=x(E.map(function(A){return A.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(A){return{type:typeof A=="string"?oe.literal:oe.object,value:A}}))}if(Mr(f)){var S=f.options[p]||f.options.other;if(!S)throw new or(f.value,p,Object.keys(f.options),a);l.push.apply(l,qe(S.value,t,r,o,s));continue}if(kr(f)){var S=f.options["=".concat(p)];if(!S){if(!Intl.PluralRules)throw new tt(`Intl.PluralRules is not available in this environment.
3
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function Pt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Ke=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,o,s,n;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var l=vt(a),u=l.next();!u.done;u=l.next()){var c=u.value;c.remove(this)}}catch(g){t={error:g}}finally{try{u&&!u.done&&(r=l.return)&&r.call(l)}finally{if(t)throw t.error}}else a.remove(this);var f=this.initialTeardown;if(me(f))try{f()}catch(g){n=g instanceof ut?g.errors:[g]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var p=vt(d),m=p.next();!m.done;m=p.next()){var v=m.value;try{jt(v)}catch(g){n=n!=null?n:[],g instanceof ut?n=Ce(Ce([],yt(n)),yt(g.errors)):n.push(g)}}}catch(g){o={error:g}}finally{try{m&&!m.done&&(s=p.return)&&s.call(p)}finally{if(o)throw o.error}}}if(n)throw new ut(n)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)jt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&Pt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Pt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Tr=Ke.EMPTY;function Sr(e){return e instanceof Ke||e&&"closed"in e&&me(e.remove)&&me(e.add)&&me(e.unsubscribe)}function jt(e){me(e)?e():e.unsubscribe()}var Br={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ko={setTimeout:function(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return setTimeout.apply(void 0,Ce([e,t],yt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function es(e){Ko.setTimeout(function(){throw e})}function $t(){}function We(e){e()}var Cr=function(e){ge(t,e);function t(r){var o=e.call(this)||this;return o.isStopped=!1,r?(o.destination=r,Sr(r)&&r.add(o)):o.destination=ss,o}return t.create=function(r,o,s){return new Et(r,o,s)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ke),ts=Function.prototype.bind;function ct(e,t){return ts.call(e,t)}var rs=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(o){ze(o)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(o){ze(o)}else ze(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){ze(r)}},e}(),Et=function(e){ge(t,e);function t(r,o,s){var n=e.call(this)||this,a;if(me(r)||!r)a={next:r!=null?r:void 0,error:o!=null?o:void 0,complete:s!=null?s:void 0};else{var l;n&&Br.useDeprecatedNextContext?(l=Object.create(r),l.unsubscribe=function(){return n.unsubscribe()},a={next:r.next&&ct(r.next,l),error:r.error&&ct(r.error,l),complete:r.complete&&ct(r.complete,l)}):a=r}return n.destination=new rs(a),n}return t}(Cr);function ze(e){es(e)}function os(e){throw e}var ss={closed:!0,next:$t,error:os,complete:$t},ns=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function is(e){return e}function as(e){return e.length===0?is:e.length===1?e[0]:function(r){return e.reduce(function(o,s){return s(o)},r)}}var Vt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,o){var s=this,n=us(t)?t:new Et(t,r,o);return We(function(){var a=s,l=a.operator,u=a.source;n.add(l?l.call(n,u):u?s._subscribe(n):s._trySubscribe(n))}),n},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var o=this;return r=zt(r),new r(function(s,n){var a=new Et({next:function(l){try{t(l)}catch(u){n(u),a.unsubscribe()}},error:n,complete:s});o.subscribe(a)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ns]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return as(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=zt(t),new t(function(o,s){var n;r.subscribe(function(a){return n=a},function(a){return s(a)},function(){return o(n)})})},e.create=function(t){return new e(t)},e}();function zt(e){var t;return(t=e!=null?e:Br.Promise)!==null&&t!==void 0?t:Promise}function ls(e){return e&&me(e.next)&&me(e.error)&&me(e.complete)}function us(e){return e&&e instanceof Cr||ls(e)&&Sr(e)}var cs=xr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Hr=function(e){ge(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var o=new Xt(this,this);return o.operator=r,o},t.prototype._throwIfClosed=function(){if(this.closed)throw new cs},t.prototype.next=function(r){var o=this;We(function(){var s,n;if(o._throwIfClosed(),!o.isStopped){o.currentObservers||(o.currentObservers=Array.from(o.observers));try{for(var a=vt(o.currentObservers),l=a.next();!l.done;l=a.next()){var u=l.value;u.next(r)}}catch(c){s={error:c}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(s)throw s.error}}}})},t.prototype.error=function(r){var o=this;We(function(){if(o._throwIfClosed(),!o.isStopped){o.hasError=o.isStopped=!0,o.thrownError=r;for(var s=o.observers;s.length;)s.shift().error(r)}})},t.prototype.complete=function(){var r=this;We(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var o=r.observers;o.length;)o.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var o=this,s=this,n=s.hasError,a=s.isStopped,l=s.observers;return n||a?Tr:(this.currentObservers=null,l.push(r),new Ke(function(){o.currentObservers=null,Pt(l,r)}))},t.prototype._checkFinalizedStatuses=function(r){var o=this,s=o.hasError,n=o.thrownError,a=o.isStopped;s?r.error(n):a&&r.complete()},t.prototype.asObservable=function(){var r=new Vt;return r.source=this,r},t.create=function(r,o){return new Xt(r,o)},t}(Vt),Xt=function(e){ge(t,e);function t(r,o){var s=e.call(this)||this;return s.destination=r,s.source=o,s}return t.prototype.next=function(r){var o,s;(s=(o=this.destination)===null||o===void 0?void 0:o.next)===null||s===void 0||s.call(o,r)},t.prototype.error=function(r){var o,s;(s=(o=this.destination)===null||o===void 0?void 0:o.error)===null||s===void 0||s.call(o,r)},t.prototype.complete=function(){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||o===void 0||o.call(r)},t.prototype._subscribe=function(r){var o,s;return(s=(o=this.source)===null||o===void 0?void 0:o.subscribe(r))!==null&&s!==void 0?s:Tr},t}(Hr),Nr={now:function(){return(Nr.delegate||Date).now()},delegate:void 0},fs=function(e){ge(t,e);function t(r,o,s){r===void 0&&(r=1/0),o===void 0&&(o=1/0),s===void 0&&(s=Nr);var n=e.call(this)||this;return n._bufferSize=r,n._windowTime=o,n._timestampProvider=s,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=o===1/0,n._bufferSize=Math.max(1,r),n._windowTime=Math.max(1,o),n}return t.prototype.next=function(r){var o=this,s=o.isStopped,n=o._buffer,a=o._infiniteTimeWindow,l=o._timestampProvider,u=o._windowTime;s||(n.push(r),!a&&n.push(l.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var o=this._innerSubscribe(r),s=this,n=s._infiniteTimeWindow,a=s._buffer,l=a.slice(),u=0;u<l.length&&!r.closed;u+=n?1:2)r.next(l[u]);return this._checkFinalizedStatuses(r),o},t.prototype._trimBuffer=function(){var r=this,o=r._bufferSize,s=r._timestampProvider,n=r._buffer,a=r._infiniteTimeWindow,l=(a?1:2)*o;if(o<1/0&&l<n.length&&n.splice(0,n.length-l),!a){for(var u=s.now(),c=0,f=1;f<n.length&&n[f]<=u;f+=2)c=f;c&&n.splice(0,c+1)}},t}(Hr);const Zt=[],Wt={},hs=(e,t=0)=>{if(Zt.indexOf(e)==-1){const r=new fs(t);Wt[e]=r,Zt.push(e)}return Wt[e]},xe=[];function ds(e,t){return{subscribe:et(e,t).subscribe}}function et(e,t=he){let r;const o=new Set;function s(l){if(yr(e,l)&&(e=l,r)){const u=!xe.length;for(const c of o)c[1](),xe.push(c,e);if(u){for(let c=0;c<xe.length;c+=2)xe[c][0](xe[c+1]);xe.length=0}}}function n(l){s(l(e))}function a(l,u=he){const c=[l,u];return o.add(c),o.size===1&&(r=t(s,n)||he),l(e),()=>{o.delete(c),o.size===0&&r&&(r(),r=null)}}return{set:s,update:n,subscribe:a}}function Le(e,t,r){const o=!Array.isArray(e),s=o?[e]:e;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=t.length<2;return ds(r,(a,l)=>{let u=!1;const c=[];let f=0,d=he;const p=()=>{if(f)return;d();const v=t(o?c[0]:c,a,l);n?a(v):d=De(v)?v:he},m=s.map((v,g)=>Pr(v,x=>{c[g]=x,f&=~(1<<g),u&&p()},()=>{f|=1<<g}));return u=!0,p(),function(){ve(m),d(),u=!1}})}function ps(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ms=function(t){return gs(t)&&!ws(t)};function gs(e){return!!e&&typeof e=="object"}function ws(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ys(e)}var bs=typeof Symbol=="function"&&Symbol.for,vs=bs?Symbol.for("react.element"):60103;function ys(e){return e.$$typeof===vs}function Ps(e){return Array.isArray(e)?[]:{}}function Ge(e,t){return t.clone!==!1&&t.isMergeableObject(e)?He(Ps(e),e,t):e}function Es(e,t,r){return e.concat(t).map(function(o){return Ge(o,r)})}function _s(e,t){if(!t.customMerge)return He;var r=t.customMerge(e);return typeof r=="function"?r:He}function xs(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function qt(e){return Object.keys(e).concat(xs(e))}function Ar(e,t){try{return t in e}catch(r){return!1}}function Ts(e,t){return Ar(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ss(e,t,r){var o={};return r.isMergeableObject(e)&&qt(e).forEach(function(s){o[s]=Ge(e[s],r)}),qt(t).forEach(function(s){Ts(e,s)||(Ar(e,s)&&r.isMergeableObject(t[s])?o[s]=_s(s,r)(e[s],t[s],r):o[s]=Ge(t[s],r))}),o}function He(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Es,r.isMergeableObject=r.isMergeableObject||ms,r.cloneUnlessOtherwiseSpecified=Ge;var o=Array.isArray(t),s=Array.isArray(e),n=o===s;return n?o?r.arrayMerge(e,t,r):Ss(e,t,r):Ge(t,r)}He.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,s){return He(o,s,r)},{})};var Bs=He,Cs=Bs;const Hs=ps(Cs);function ft(e,t){var r=t&&t.cache?t.cache:Fs,o=t&&t.serializer?t.serializer:Os,s=t&&t.strategy?t.strategy:As;return s(e,{cache:r,serializer:o})}function Ns(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ir(e,t,r,o){var s=Ns(o)?o:r(o),n=t.get(s);return typeof n=="undefined"&&(n=e.call(this,o),t.set(s,n)),n}function Lr(e,t,r){var o=Array.prototype.slice.call(arguments,3),s=r(o),n=t.get(s);return typeof n=="undefined"&&(n=e.apply(this,o),t.set(s,n)),n}function At(e,t,r,o,s){return r.bind(t,e,o,s)}function As(e,t){var r=e.length===1?Ir:Lr;return At(e,this,r,t.cache.create(),t.serializer)}function Is(e,t){return At(e,this,Lr,t.cache.create(),t.serializer)}function Ls(e,t){return At(e,this,Ir,t.cache.create(),t.serializer)}var Os=function(){return JSON.stringify(arguments)};function It(){this.cache=Object.create(null)}It.prototype.get=function(e){return this.cache[e]};It.prototype.set=function(e,t){this.cache[e]=t};var Fs={create:function(){return new It}},ht={variadic:Is,monadic:Ls},T;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(T||(T={}));var D;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(D||(D={}));var Ne;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Ne||(Ne={}));function Qt(e){return e.type===D.literal}function Rs(e){return e.type===D.argument}function Or(e){return e.type===D.number}function Fr(e){return e.type===D.date}function Rr(e){return e.type===D.time}function Mr(e){return e.type===D.select}function kr(e){return e.type===D.plural}function Ms(e){return e.type===D.pound}function Dr(e){return e.type===D.tag}function Ur(e){return!!(e&&typeof e=="object"&&e.type===Ne.number)}function _t(e){return!!(e&&typeof e=="object"&&e.type===Ne.dateTime)}var Gr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ks=/(?:[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;function Ds(e){var t={};return e.replace(ks,function(r){var o=r.length;switch(r[0]){case"G":t.era=o===4?"long":o===5?"narrow":"short";break;case"y":t.year=o===2?"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":t.month=["numeric","2-digit","short","long","narrow"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=o===4?"long":o===5?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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":t.minute=["numeric","2-digit"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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""}),t}var Us=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Gs(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Us).filter(function(p){return p.length>0}),r=[],o=0,s=t;o<s.length;o++){var n=s[o],a=n.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var l=a[0],u=a.slice(1),c=0,f=u;c<f.length;c++){var d=f[c];if(d.length===0)throw new Error("Invalid number skeleton")}r.push({stem:l,options:u})}return r}function js(e){return e.replace(/^(.*?)-/,"")}var Yt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,jr=/^(@+)?(\+|#+)?[rs]?$/g,$s=/(\*)(0+)|(#+)(0+)|(0+)/g,$r=/^(0+)$/;function Jt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(jr,function(r,o,s){return typeof s!="string"?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):s==="+"?t.minimumSignificantDigits=o.length:o[0]==="#"?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+(typeof s=="string"?s.length:0)),""}),t}function Vr(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 Vs(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(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)),!$r.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Kt(e){var t={},r=Vr(e);return r||t}function zs(e){for(var t={},r=0,o=e;r<o.length;r++){var s=o[r];switch(s.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=s.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=js(s.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=N(N(N({},t),{notation:"scientific"}),s.options.reduce(function(u,c){return N(N({},u),Kt(c))},{}));continue;case"engineering":t=N(N(N({},t),{notation:"engineering"}),s.options.reduce(function(u,c){return N(N({},u),Kt(c))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(s.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace($s,function(u,c,f,d,p,m){if(c)t.minimumIntegerDigits=f.length;else{if(d&&p)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if($r.test(s.stem)){t.minimumIntegerDigits=s.stem.length;continue}if(Yt.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(Yt,function(u,c,f,d,p,m){return f==="*"?t.minimumFractionDigits=c.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:p&&m?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+m.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var n=s.options[0];n==="w"?t=N(N({},t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=N(N({},t),Jt(n)));continue}if(jr.test(s.stem)){t=N(N({},t),Jt(s.stem));continue}var a=Vr(s.stem);a&&(t=N(N({},t),a));var l=Vs(s.stem);l&&(t=N(N({},t),l))}return t}var Xe={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Xs(e,t){for(var r="",o=0;o<e.length;o++){var s=e.charAt(o);if(s==="j"){for(var n=0;o+1<e.length&&e.charAt(o+1)===s;)n++,o++;var a=1+(n&1),l=n<2?1:3+(n>>1),u="a",c=Zs(t);for((c=="H"||c=="k")&&(l=0);l-- >0;)r+=u;for(;a-- >0;)r=c+r}else s==="J"?r+="H":r+=s}return r}function Zs(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,o;r!=="root"&&(o=e.maximize().region);var s=Xe[o||""]||Xe[r||""]||Xe["".concat(r,"-001")]||Xe["001"];return s[0]}var dt,Ws=new RegExp("^".concat(Gr.source,"*")),qs=new RegExp("".concat(Gr.source,"*$"));function B(e,t){return{start:e,end:t}}var Qs=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ys=!!String.fromCodePoint,Js=!!Object.fromEntries,Ks=!!String.prototype.codePointAt,en=!!String.prototype.trimStart,tn=!!String.prototype.trimEnd,rn=!!Number.isSafeInteger,on=rn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},xt=!0;try{var sn=Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");xt=((dt=sn.exec("a"))===null||dt===void 0?void 0:dt[0])==="a"}catch(e){xt=!1}var er=Qs?function(t,r,o){return t.startsWith(r,o)}:function(t,r,o){return t.slice(o,o+r.length)===r},Tt=Ys?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var o="",s=t.length,n=0,a;s>n;){if(a=t[n++],a>1114111)throw RangeError(a+" is not a valid code point");o+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return o},tr=Js?Object.fromEntries:function(t){for(var r={},o=0,s=t;o<s.length;o++){var n=s[o],a=n[0],l=n[1];r[a]=l}return r},zr=Ks?function(t,r){return t.codePointAt(r)}:function(t,r){var o=t.length;if(!(r<0||r>=o)){var s=t.charCodeAt(r),n;return s<55296||s>56319||r+1===o||(n=t.charCodeAt(r+1))<56320||n>57343?s:(s-55296<<10)+(n-56320)+65536}},nn=en?function(t){return t.trimStart()}:function(t){return t.replace(Ws,"")},an=tn?function(t){return t.trimEnd()}:function(t){return t.replace(qs,"")};function Xr(e,t){return new RegExp(e,t)}var St;if(xt){var rr=Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");St=function(t,r){var o;rr.lastIndex=r;var s=rr.exec(t);return(o=s[1])!==null&&o!==void 0?o:""}}else St=function(t,r){for(var o=[];;){var s=zr(t,r);if(s===void 0||Zr(s)||fn(s))break;o.push(s),r+=s>=65536?2:1}return Tt.apply(void 0,o)};var ln=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,o){for(var s=[];!this.isEOF();){var n=this.char();if(n===123){var a=this.parseArgument(t,o);if(a.err)return a;s.push(a.val)}else{if(n===125&&t>0)break;if(n===35&&(r==="plural"||r==="selectordinal")){var l=this.clonePosition();this.bump(),s.push({type:D.pound,location:B(l,this.clonePosition())})}else if(n===60&&!this.ignoreTag&&this.peek()===47){if(o)break;return this.error(T.UNMATCHED_CLOSING_TAG,B(this.clonePosition(),this.clonePosition()))}else if(n===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;s.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;s.push(a.val)}}}return{val:s,err:null}},e.prototype.parseTag=function(t,r){var o=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:D.literal,value:"<".concat(s,"/>"),location:B(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,r,!0);if(n.err)return n;var a=n.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Bt(this.char()))return this.error(T.INVALID_TAG,B(l,this.clonePosition()));var u=this.clonePosition(),c=this.parseTagName();return s!==c?this.error(T.UNMATCHED_CLOSING_TAG,B(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:D.tag,value:s,children:a,location:B(o,this.clonePosition())},err:null}:this.error(T.INVALID_TAG,B(l,this.clonePosition())))}else return this.error(T.UNCLOSED_TAG,B(o,this.clonePosition()))}else return this.error(T.INVALID_TAG,B(o,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&cn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var o=this.clonePosition(),s="";;){var n=this.tryParseQuote(r);if(n){s+=n;continue}var a=this.tryParseUnquoted(t,r);if(a){s+=a;continue}var l=this.tryParseLeftAngleBracket();if(l){s+=l;continue}break}var u=B(o,this.clonePosition());return{val:{type:D.literal,value:s,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!un(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var o=this.char();if(o===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(o);this.bump()}return Tt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var o=this.char();return o===60||o===123||o===35&&(r==="plural"||r==="selectordinal")||o===125&&t>0?null:(this.bump(),Tt(o))},e.prototype.parseArgument=function(t,r){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(T.EMPTY_ARGUMENT,B(o,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(T.MALFORMED_ARGUMENT,B(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:D.argument,value:s,location:B(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(o,this.clonePosition())):this.parseArgumentOptions(t,r,s,o);default:return this.error(T.MALFORMED_ARGUMENT,B(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),o=St(this.message,r),s=r+o.length;this.bumpTo(s);var n=this.clonePosition(),a=B(t,n);return{value:o,location:a}},e.prototype.parseArgumentOptions=function(t,r,o,s){var n,a=this.clonePosition(),l=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(l){case"":return this.error(T.EXPECT_ARGUMENT_TYPE,B(a,u));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var p=an(d.val);if(p.length===0)return this.error(T.EXPECT_ARGUMENT_STYLE,B(this.clonePosition(),this.clonePosition()));var m=B(f,this.clonePosition());c={style:p,styleLocation:m}}var v=this.tryParseArgumentClose(s);if(v.err)return v;var g=B(s,this.clonePosition());if(c&&er(c==null?void 0:c.style,"::",0)){var x=nn(c.style.slice(2));if(l==="number"){var d=this.parseNumberSkeletonFromString(x,c.styleLocation);return d.err?d:{val:{type:D.number,value:o,location:g,style:d.val},err:null}}else{if(x.length===0)return this.error(T.EXPECT_DATE_TIME_SKELETON,g);var E=x;this.locale&&(E=Xs(x,this.locale));var p={type:Ne.dateTime,pattern:E,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Ds(E):{}},P=l==="date"?D.date:D.time;return{val:{type:P,value:o,location:g,style:p},err:null}}}return{val:{type:l==="number"?D.number:l==="date"?D.date:D.time,value:o,location:g,style:(n=c==null?void 0:c.style)!==null&&n!==void 0?n:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS,B(S,N({},S)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),A=0;if(l!=="select"&&_.value==="offset"){if(!this.bumpIf(":"))return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,B(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),_=this.parseIdentifierIfPossible(),A=d.val}var M=this.tryParsePluralOrSelectOptions(t,l,r,_);if(M.err)return M;var v=this.tryParseArgumentClose(s);if(v.err)return v;var O=B(s,this.clonePosition());return l==="select"?{val:{type:D.select,value:o,options:tr(M.val),location:O},err:null}:{val:{type:D.plural,value:o,options:tr(M.val),offset:A,pluralType:l==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(T.INVALID_ARGUMENT_TYPE,B(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE,B(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var o=this.char();switch(o){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,B(s,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var o=[];try{o=Gs(t)}catch(s){return this.error(T.INVALID_NUMBER_SKELETON,r)}return{val:{type:Ne.number,tokens:o,location:r,parsedOptions:this.shouldParseSkeletons?zs(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,o,s){for(var n,a=!1,l=[],u=new Set,c=s.value,f=s.location;;){if(c.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR,T.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=B(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}else break}if(u.has(c))return this.error(r==="select"?T.DUPLICATE_SELECT_ARGUMENT_SELECTOR:T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);c==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,B(this.clonePosition(),this.clonePosition()));var v=this.parseMessage(t+1,r,o);if(v.err)return v;var g=this.tryParseArgumentClose(m);if(g.err)return g;l.push([c,{value:v.val,location:B(m,this.clonePosition())}]),u.add(c),this.bumpSpace(),n=this.parseIdentifierIfPossible(),c=n.value,f=n.location}return l.length===0?this.error(r==="select"?T.EXPECT_SELECT_ARGUMENT_SELECTOR:T.EXPECT_PLURAL_ARGUMENT_SELECTOR,B(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(T.MISSING_OTHER_CLAUSE,B(this.clonePosition(),this.clonePosition())):{val:l,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var o=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var n=!1,a=0;!this.isEOF();){var l=this.char();if(l>=48&&l<=57)n=!0,a=a*10+(l-48),this.bump();else break}var u=B(s,this.clonePosition());return n?(a*=o,on(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=zr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(er(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),o=this.message.indexOf(t,r);return o>=0?(this.bumpTo(o),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),o=this.message.charCodeAt(r+(t>=65536?2:1));return o!=null?o:null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function un(e){return Bt(e)||e===47}function cn(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Zr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function fn(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ct(e){e.forEach(function(t){if(delete t.location,Mr(t)||kr(t))for(var r in t.options)delete t.options[r].location,Ct(t.options[r].value);else Or(t)&&Ur(t.style)||(Fr(t)||Rr(t))&&_t(t.style)?delete t.style.location:Dr(t)&&Ct(t.children)})}function hn(e,t){t===void 0&&(t={}),t=N({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ln(e,t).parse();if(r.err){var o=SyntaxError(T[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return t!=null&&t.captureLocation||Ct(r.val),r.val}var Ae;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ae||(Ae={}));var tt=function(e){ge(t,e);function t(r,o,s){var n=e.call(this,r)||this;return n.code=o,n.originalMessage=s,n}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),or=function(e){ge(t,e);function t(r,o,s,n){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(o,'". Options are "').concat(Object.keys(s).join('", "'),'"'),Ae.INVALID_VALUE,n)||this}return t}(tt),dn=function(e){ge(t,e);function t(r,o,s){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(o),Ae.INVALID_VALUE,s)||this}return t}(tt),pn=function(e){ge(t,e);function t(r,o){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(o,'"'),Ae.MISSING_VALUE,o)||this}return t}(tt),oe;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(oe||(oe={}));function mn(e){return e.length<2?e:e.reduce(function(t,r){var o=t[t.length-1];return!o||o.type!==oe.literal||r.type!==oe.literal?t.push(r):o.value+=r.value,t},[])}function gn(e){return typeof e=="function"}function qe(e,t,r,o,s,n,a){if(e.length===1&&Qt(e[0]))return[{type:oe.literal,value:e[0].value}];for(var l=[],u=0,c=e;u<c.length;u++){var f=c[u];if(Qt(f)){l.push({type:oe.literal,value:f.value});continue}if(Ms(f)){typeof n=="number"&&l.push({type:oe.literal,value:r.getNumberFormat(t).format(n)});continue}var d=f.value;if(!(s&&d in s))throw new pn(d,a);var p=s[d];if(Rs(f)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),l.push({type:typeof p=="string"?oe.literal:oe.object,value:p});continue}if(Fr(f)){var m=typeof f.style=="string"?o.date[f.style]:_t(f.style)?f.style.parsedOptions:void 0;l.push({type:oe.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Rr(f)){var m=typeof f.style=="string"?o.time[f.style]:_t(f.style)?f.style.parsedOptions:o.time.medium;l.push({type:oe.literal,value:r.getDateTimeFormat(t,m).format(p)});continue}if(Or(f)){var m=typeof f.style=="string"?o.number[f.style]:Ur(f.style)?f.style.parsedOptions:void 0;m&&m.scale&&(p=p*(m.scale||1)),l.push({type:oe.literal,value:r.getNumberFormat(t,m).format(p)});continue}if(Dr(f)){var v=f.children,g=f.value,x=s[g];if(!gn(x))throw new dn(g,"function",a);var E=qe(v,t,r,o,s,n),P=x(E.map(function(A){return A.value}));Array.isArray(P)||(P=[P]),l.push.apply(l,P.map(function(A){return{type:typeof A=="string"?oe.literal:oe.object,value:A}}))}if(Mr(f)){var S=f.options[p]||f.options.other;if(!S)throw new or(f.value,p,Object.keys(f.options),a);l.push.apply(l,qe(S.value,t,r,o,s));continue}if(kr(f)){var S=f.options["=".concat(p)];if(!S){if(!Intl.PluralRules)throw new tt(`Intl.PluralRules is not available in this environment.
4
4
  Try polyfilling it using "@formatjs/intl-pluralrules"
5
- `,Ae.MISSING_INTL_API,a);var _=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));S=f.options[_]||f.options.other}if(!S)throw new or(f.value,p,Object.keys(f.options),a);l.push.apply(l,qe(S.value,t,r,o,s,p-(f.offset||0)));continue}}return mn(l)}function bn(e,t){return t?N(N(N({},e||{}),t||{}),Object.keys(e).reduce(function(r,o){return r[o]=N(N({},e[o]),t[o]||{}),r},{})):e}function wn(e,t){return t?Object.keys(e).reduce(function(r,o){return r[o]=bn(e[o],t[o]),r},N({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function vn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.NumberFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.number),strategy:ht.variadic}),getDateTimeFormat:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.DateTimeFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.dateTime),strategy:ht.variadic}),getPluralRules:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.PluralRules).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.pluralRules),strategy:ht.variadic})}}var yn=function(){function e(t,r,o,s){r===void 0&&(r=e.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=n.formatToParts(u);if(c.length===1)return c[0].value;var f=c.reduce(function(d,p){return!d.length||p.type!==oe.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return qe(n.ast,n.locales,n.formatters,n.formats,u,void 0,n.message)},this.resolvedOptions=function(){var u;return{locale:((u=n.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=s||{};a.formatters;var l=Yo(a,["formatters"]);this.ast=e.__parse(t,N(N({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=wn(e.formats,o),this.formatters=s&&s.formatters||vn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=hn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Pn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let o=e;for(let s=0;s<r.length;s++)if(typeof o=="object"){if(s>0){const n=r.slice(s,r.length).join(".");if(n in o){o=o[n];break}}o=o[r[s]]}else o=void 0;return o}const be={},En=(e,t,r)=>r&&(t in be||(be[t]={}),e in be[t]||(be[t][e]=r),r),Wr=(e,t)=>{if(t==null)return;if(t in be&&e in be[t])return be[t][e];const r=rt(t);for(let o=0;o<r.length;o++){const s=r[o],n=xn(s,e);if(n)return En(e,t,n)}};let Lt;const Oe=et({});function _n(e){return Lt[e]||null}function qr(e){return e in Lt}function xn(e,t){if(!qr(e))return null;const r=_n(e);return Pn(r,t)}function Tn(e){if(e==null)return;const t=rt(e);for(let r=0;r<t.length;r++){const o=t[r];if(qr(o))return o}}function Qr(e,...t){delete be[e],Oe.update(r=>(r[e]=Hs.all([r[e]||{},...t]),r))}Le([Oe],([e])=>Object.keys(e));Oe.subscribe(e=>Lt=e);const Qe={};function Sn(e,t){Qe[e].delete(t),Qe[e].size===0&&delete Qe[e]}function Jr(e){return Qe[e]}function Bn(e){return rt(e).map(t=>{const r=Jr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ht(e){return e==null?!1:rt(e).some(t=>{var r;return(r=Jr(t))==null?void 0:r.size})}function Cn(e,t){return Promise.all(t.map(o=>(Sn(e,o),o().then(s=>s.default||s)))).then(o=>Qr(e,...o))}const Re={};function Yr(e){if(!Ht(e))return e in Re?Re[e]:Promise.resolve();const t=Bn(e);return Re[e]=Promise.all(t.map(([r,o])=>Cn(r,o))).then(()=>{if(Ht(e))return Yr(e);delete Re[e]}),Re[e]}const Hn={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"}}},Nn={fallbackLocale:null,loadingDelay:200,formats:Hn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},An=Nn;function Ie(){return An}const mt=et(!1);var In=Object.defineProperty,Ln=Object.defineProperties,On=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mn=(e,t)=>{for(var r in t||(t={}))Fn.call(t,r)&&nr(e,r,t[r]);if(sr)for(var r of sr(t))Rn.call(t,r)&&nr(e,r,t[r]);return e},kn=(e,t)=>Ln(e,On(t));let Nt;const Je=et(null);function ir(e){return e.split("-").map((t,r,o)=>o.slice(0,r+1).join("-")).reverse()}function rt(e,t=Ie().fallbackLocale){const r=ir(e);return t?[...new Set([...r,...ir(t)])]:r}function ye(){return Nt!=null?Nt:void 0}Je.subscribe(e=>{Nt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Dn=e=>{if(e&&Tn(e)&&Ht(e)){const{loadingDelay:t}=Ie();let r;return typeof window!="undefined"&&ye()!=null&&t?r=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),Yr(e).then(()=>{Je.set(e)}).finally(()=>{clearTimeout(r),mt.set(!1)})}return Je.set(e)},we=kn(Mn({},Je),{set:Dn}),ot=e=>{const t=Object.create(null);return o=>{const s=JSON.stringify(o);return s in t?t[s]:t[s]=e(o)}};var Un=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,ar=(e,t,r)=>t in e?Un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ot=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&ar(e,r,t[r]);if(Ye)for(var r of Ye(t))eo.call(t,r)&&ar(e,r,t[r]);return e},Fe=(e,t)=>{var r={};for(var o in e)Kr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Ye)for(var o of Ye(e))t.indexOf(o)<0&&eo.call(e,o)&&(r[o]=e[o]);return r};const je=(e,t)=>{const{formats:r}=Ie();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gn=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return o&&(s=je("number",o)),new Intl.NumberFormat(r,s)}),jn=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return o?s=je("date",o):Object.keys(s).length===0&&(s=je("date","short")),new Intl.DateTimeFormat(r,s)}),$n=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return o?s=je("time",o):Object.keys(s).length===0&&(s=je("time","short")),new Intl.DateTimeFormat(r,s)}),Vn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return Gn(Ot({locale:r},o))},zn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return jn(Ot({locale:r},o))},Xn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return $n(Ot({locale:r},o))},Zn=ot((e,t=ye())=>new yn(e,t,Ie().formats,{ignoreTag:Ie().ignoreTag})),Wn=(e,t={})=>{var r,o,s,n;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:u=ye(),default:c}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Wr(e,u);if(!f)f=(n=(s=(o=(r=Ie()).handleMissingMessage)==null?void 0:o.call(r,{locale:u,id:e,defaultValue:c}))!=null?s:c)!=null?n:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let d=f;try{d=Zn(f,u).format(l)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return d},qn=(e,t)=>Xn(t).format(e),Qn=(e,t)=>zn(t).format(e),Jn=(e,t)=>Vn(t).format(e),Yn=(e,t=ye())=>Wr(e,t),Kn=Le([we,Oe],()=>Wn);Le([we],()=>qn);Le([we],()=>Qn);Le([we],()=>Jn);Le([we,Oe],()=>Yn);window.emWidgets={topic:hs};const ei=e=>!!(e.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));function ti({withLocale:e,translations:t}){we.subscribe(r=>{r==null&&(Oe.set(t),we.set(e))})}function lr(e,t){Qr(e,t)}function ri(e){we.set(e)}const ur={en:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset 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."},hr:{goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji."},"zh-hk":{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"},fr:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."},tr:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",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:"Parolayı onayla, yeni parolayla 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 buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir."},ro:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."},es:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres"},pt:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",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."}},{document:cr}=Ao;function oi(e){Io(e,"svelte-15o9f7t",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input,select{font-family:inherit}.GeneralPlayerForgotPasswordForm{height:auto}.GeneralPlayerForgotPasswordForm .ModalLoaderWrapper{display:flex;height:100%;align-items:center}.GeneralPlayerForgotPasswordForm .ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.GeneralPlayerForgotPasswordForm .ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}.backButtonForgotPassword{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));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(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail input:focus,.NewPassword input:focus,.ConfirmPassword input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField input,.NewPassword.InvalidField input,.ConfirmPassword.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.resetPasswordButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.ResetPasswordByEmail .InvalidInput{bottom:-3px}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function fr(e){let t,r;return{c(){t=y("script"),Ut(t.src,r="//www.google.com/recaptcha/api.js?render="+e[0])||i(t,"src",r),t.async=!0,t.defer=!0},m(o,s){k(o,t,s)},p(o,s){s[0]&1&&!Ut(t.src,r="//www.google.com/recaptcha/api.js?render="+o[0])&&i(t,"src",r)},d(o){o&&F(t)}}}function si(e){let t,r;function o(a,l){if(a[5])return ui;if(a[7])return li;if(a[9])return ai;if(a[10])return ii}let s=o(e),n=s&&s(e);return{c(){t=y("div"),n&&n.c(),i(t,"class",r="FormContainer "+(e[11]?"FormMobileContainer":""))},m(a,l){k(a,t,l),n&&n.m(t,null)},p(a,l){s===(s=o(a))&&n?n.p(a,l):(n&&n.d(1),n=s&&s(a),n&&(n.c(),n.m(t,null))),l[0]&2048&&r!==(r="FormContainer "+(a[11]?"FormMobileContainer":""))&&i(t,"class",r)},d(a){a&&F(t),n&&n.d()}}}function ni(e){let t;return{c(){t=y("div"),t.innerHTML='<div class="ModalLoader"></div>',i(t,"class","ModalLoaderWrapper")},m(r,o){k(r,t,o)},p:he,d(r){r&&F(t)}}}function ii(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x=e[27]("forgotChangePasswordTitle")+"",E,P,S,_=e[27]("forgotChangePasswordDescription")+"",A,M,O,se=e[27]("forgotChangePasswordLogin")+"",U,ce,G;return{c(){t=y("div"),r=y("div"),o=y("div"),s=w("svg"),n=w("defs"),a=w("style"),l=C(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"),u=w("g"),c=w("g"),f=w("path"),d=w("g"),p=w("circle"),m=w("circle"),v=R(),g=y("h4"),E=C(x),P=R(),S=y("p"),A=C(_),M=R(),O=y("button"),U=C(se),i(f,"class","a"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(p,"class","c"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"width","60"),i(s,"height","60"),i(s,"viewBox","0 0 60 60"),i(o,"class","NewPasswordSuccess"),i(o,"part","NewPasswordSuccess"),i(O,"class","resetPasswordButton"),i(O,"part","resetPasswordButton"),i(r,"class","FormContent"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword"),i(t,"part","FormForgotPassword")},m(X,Z){k(X,t,Z),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(o,v),h(o,g),h(g,E),h(o,P),h(o,S),h(S,A),h(r,M),h(r,O),h(O,U),ce||(G=ae(O,"click",e[54]),ce=!0)},p(X,Z){Z[0]&134217728&&x!==(x=X[27]("forgotChangePasswordTitle")+"")&&V(E,x),Z[0]&134217728&&_!==(_=X[27]("forgotChangePasswordDescription")+"")&&V(A,_),Z[0]&134217728&&se!==(se=X[27]("forgotChangePasswordLogin")+"")&&V(U,se)},d(X){X&&F(t),ce=!1,G()}}}function ai(e){let t,r,o,s,n,a,l,u,c,f=e[27]("forgotNewPasswordPassword")+"",d,p,m,v,g,x,E,P,S,_,A,M=e[27]("forgotNewPasswordConfirmPassword")+"",O,se,U,ce,G,X,Z,de,W,q,le=e[27]("forgotNewPasswordButton")+"",K,ee,ne,j,H=e[26]&&hr(e);function z(pe,$){return pe[20]?fi:ci}let I=z(e),L=I(e),te=e[16]&&dr(e);function $e(pe,$){return pe[21]?mi:pi}let Pe=$e(e),re=Pe(e),Q=e[17]&&pr(e),J=e[24]&&mr(e);return{c(){t=y("div"),r=y("div"),o=y("h4"),s=C(e[25]),n=R(),H&&H.c(),a=R(),l=y("form"),u=y("div"),c=y("label"),d=C(f),p=C(":"),m=y("span"),m.textContent="*",v=R(),g=y("input"),E=R(),L.c(),P=R(),te&&te.c(),S=R(),_=y("div"),A=y("label"),O=C(M),se=C(":"),U=y("span"),U.textContent="*",ce=R(),G=y("input"),X=R(),re.c(),Z=R(),Q&&Q.c(),de=R(),J&&J.c(),W=R(),q=y("button"),K=C(le),i(o,"class","FormHeaderTitle"),i(o,"part","FormHeaderTitle"),i(r,"class","FormHeader"),i(r,"part","FormHeader"),i(m,"class","FormRequired"),i(m,"part","FormRequired"),i(c,"for","NewPassword"),i(g,"type","password"),i(g,"id","new-password"),i(g,"autocomplete",x=e[2]?"new-password":"off"),i(u,"class","NewPassword"),i(u,"part","NewPassword"),i(U,"class","FormRequired"),i(U,"part","FormRequired"),i(A,"for","RetypePassword"),i(G,"type","password"),i(G,"id","RetypePassword"),i(_,"class","ConfirmPassword"),i(_,"part","ConfirmPassword"),i(q,"class","resetPasswordButton"),i(q,"part","resetPasswordButton"),q.disabled=ee=!e[15],i(l,"class","FormContent"),i(l,"part","FormContent"),i(t,"class","FormForgotPassword test"),i(t,"part","FormForgotPassword test")},m(pe,$){k(pe,t,$),h(t,r),h(r,o),h(o,s),h(r,n),H&&H.m(r,null),h(t,a),h(t,l),h(l,u),h(u,c),h(c,d),h(c,p),h(c,m),h(u,v),h(u,g),Se(g,e[22]),e[46](g),h(u,E),L.m(u,null),h(u,P),te&&te.m(u,null),h(l,S),h(l,_),h(_,A),h(A,O),h(A,se),h(A,U),h(_,ce),h(_,G),Se(G,e[23]),e[50](G),h(_,X),re.m(_,null),h(_,Z),Q&&Q.m(_,null),h(l,de),J&&J.m(l,null),h(l,W),h(l,q),h(q,K),ne||(j=[ae(g,"input",e[45]),ae(g,"keyup",function(){De(e[33](e[16],e[22],e[18]))&&e[33](e[16],e[22],e[18]).apply(this,arguments)}),ae(G,"input",e[49]),ae(G,"keyup",function(){De(e[33](e[17],e[23],e[19]))&&e[33](e[17],e[23],e[19]).apply(this,arguments)}),ae(q,"click",e[53])],ne=!0)},p(pe,$){e=pe,$[0]&33554432&&V(s,e[25]),e[26]?H?H.p(e,$):(H=hr(e),H.c(),H.m(r,null)):H&&(H.d(1),H=null),$[0]&134217728&&f!==(f=e[27]("forgotNewPasswordPassword")+"")&&V(d,f),$[0]&4&&x!==(x=e[2]?"new-password":"off")&&i(g,"autocomplete",x),$[0]&4194304&&g.value!==e[22]&&Se(g,e[22]),I===(I=z(e))&&L?L.p(e,$):(L.d(1),L=I(e),L&&(L.c(),L.m(u,P))),e[16]?te?te.p(e,$):(te=dr(e),te.c(),te.m(u,null)):te&&(te.d(1),te=null),$[0]&134217728&&M!==(M=e[27]("forgotNewPasswordConfirmPassword")+"")&&V(O,M),$[0]&8388608&&G.value!==e[23]&&Se(G,e[23]),Pe===(Pe=$e(e))&&re?re.p(e,$):(re.d(1),re=Pe(e),re&&(re.c(),re.m(_,Z))),e[17]?Q?Q.p(e,$):(Q=pr(e),Q.c(),Q.m(_,null)):Q&&(Q.d(1),Q=null),e[24]?J?J.p(e,$):(J=mr(e),J.c(),J.m(l,W)):J&&(J.d(1),J=null),$[0]&134217728&&le!==(le=e[27]("forgotNewPasswordButton")+"")&&V(K,le),$[0]&32768&&ee!==(ee=!e[15])&&(q.disabled=ee)},d(pe){pe&&F(t),H&&H.d(),e[46](null),L.d(),te&&te.d(),e[50](null),re.d(),Q&&Q.d(),J&&J.d(),ne=!1,ve(j)}}}function li(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x=e[27]("forgotPasswordSuccess")+"",E,P,S,_=e[27]("forgotPasswordSuccessDescription")+"",A;return{c(){t=y("div"),r=y("div"),o=y("div"),s=w("svg"),n=w("defs"),a=w("style"),l=C(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=w("g"),c=w("g"),f=w("path"),d=w("g"),p=w("circle"),m=w("circle"),v=R(),g=y("h4"),E=C(x),P=R(),S=y("p"),A=C(_),i(f,"class","a"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(p,"class","c"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"width","60"),i(s,"height","60"),i(s,"viewBox","0 0 60 60"),i(o,"class","NewPasswordSuccess"),i(o,"part","NewPasswordSuccess"),i(r,"class","FormContent"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword"),i(t,"part","FormForgotPassword")},m(M,O){k(M,t,O),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(o,v),h(o,g),h(g,E),h(o,P),h(o,S),h(S,A)},p(M,O){O[0]&134217728&&x!==(x=M[27]("forgotPasswordSuccess")+"")&&V(E,x),O[0]&134217728&&_!==(_=M[27]("forgotPasswordSuccessDescription")+"")&&V(A,_)},d(M){M&&F(t)}}}function ui(e){let t,r,o,s,n,a,l,u,c,f=e[27]("goToLogin")+"",d,p,m,v,g,x,E,P,S,_=e[27]("forgotPasswordEmail")+"",A,M,O,se,U,ce,G,X,Z,de,W,q=e[27]("forgotPasswordReset")+"",le,K,ee,ne,j=e[26]&&gr(e),H=e[12]&&br(e),z=e[6]&&wr(e);return{c(){t=y("div"),r=y("div"),o=y("button"),s=w("svg"),n=w("defs"),a=w("style"),l=C(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),u=w("path"),c=R(),d=C(f),p=R(),m=y("h4"),v=C(e[25]),g=R(),j&&j.c(),x=R(),E=y("form"),P=y("div"),S=y("label"),A=C(_),M=C(":"),O=y("span"),O.textContent="*",se=R(),U=y("input"),ce=R(),H&&H.c(),G=R(),z&&z.c(),de=R(),W=y("button"),le=C(q),i(u,"class","a"),i(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i(u,"transform","translate(24 24) rotate(180)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"viewBox","0 0 24 24"),i(o,"class","backButtonForgotPassword"),i(m,"class","FormHeaderTitle"),i(m,"part","FormHeaderTitle"),i(r,"class","FormHeader"),i(O,"class","FormRequired"),i(O,"part","FormRequired"),i(S,"for","ResetPasswordByEmail"),i(U,"type","text"),i(U,"id","ResetPasswordByEmail"),i(P,"class",X="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),i(P,"part",Z="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),i(W,"class","resetPasswordButton"),i(W,"part","resetPasswordButton"),W.disabled=K=!e[13],i(E,"class","FormContent"),i(E,"part","FormContent"),i(t,"class","FormForgotPassword")},m(I,L){k(I,t,L),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(o,c),h(o,d),h(r,p),h(r,m),h(m,v),h(r,g),j&&j.m(r,null),h(t,x),h(t,E),h(E,P),h(P,S),h(S,A),h(S,M),h(S,O),h(P,se),h(P,U),Se(U,e[8]),h(P,ce),H&&H.m(P,null),h(P,G),z&&z.m(P,null),h(E,de),h(E,W),h(W,le),ee||(ne=[ae(o,"click",e[42]),ae(U,"input",e[43]),ae(U,"keyup",e[28]),ae(W,"click",e[44])],ee=!0)},p(I,L){L[0]&134217728&&f!==(f=I[27]("goToLogin")+"")&&V(d,f),L[0]&33554432&&V(v,I[25]),I[26]?j?j.p(I,L):(j=gr(I),j.c(),j.m(r,null)):j&&(j.d(1),j=null),L[0]&134217728&&_!==(_=I[27]("forgotPasswordEmail")+"")&&V(A,_),L[0]&256&&U.value!==I[8]&&Se(U,I[8]),I[12]?H?H.p(I,L):(H=br(I),H.c(),H.m(P,G)):H&&(H.d(1),H=null),I[6]?z?z.p(I,L):(z=wr(I),z.c(),z.m(P,null)):z&&(z.d(1),z=null),L[0]&4096&&X!==(X="ResetPasswordByEmail "+(I[12]?"InvalidField":""))&&i(P,"class",X),L[0]&4096&&Z!==(Z="ResetPasswordByEmail "+(I[12]?"InvalidField":""))&&i(P,"part",Z),L[0]&134217728&&q!==(q=I[27]("forgotPasswordReset")+"")&&V(le,q),L[0]&8192&&K!==(K=!I[13])&&(W.disabled=K)},d(I){I&&F(t),j&&j.d(),H&&H.d(),z&&z.d(),ee=!1,ve(ne)}}}function hr(e){let t,r;return{c(){t=y("p"),r=C(e[26]),i(t,"class","FormHeaderSubtitle"),i(t,"part","FormHeaderSubtitle")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&67108864&&V(r,o[26])},d(o){o&&F(t)}}}function ci(e){let t,r,o,s,n,a,l,u,c,f;return{c(){t=w("svg"),r=w("defs"),o=w("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=w("g"),a=w("path"),l=w("circle"),i(a,"class","a"),i(a,"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"),i(a,"transform","translate(0)"),i(l,"class","a"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(t,"class",u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){k(d,t,p),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),c||(f=ae(t,"click",e[48]),c=!0)},p(d,p){p[0]&65536&&u!==(u="TogglePasswordVisibility "+(d[16]?"InvalidToggle":""))&&i(t,"class",u)},d(d){d&&F(t),c=!1,f()}}}function fi(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x;return{c(){t=w("svg"),r=w("defs"),o=w("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=w("g"),a=w("circle"),l=w("g"),u=w("path"),c=w("path"),f=w("g"),d=w("path"),p=w("path"),m=w("rect"),i(a,"class","a"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(d,"class","a"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a"),i(p,"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"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(m,"class","a"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(t,"class",v="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){k(E,t,P),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(x=ae(t,"click",e[47]),g=!0)},p(E,P){P[0]&65536&&v!==(v="TogglePasswordVisibility "+(E[16]?"InvalidToggle":""))&&i(t,"class",v)},d(E){E&&F(t),g=!1,x()}}}function dr(e){let t;function r(n,a){return n[1]=="true"?di:hi}let o=r(e),s=o(e);return{c(){s.c(),t=Er()},m(n,a){s.m(n,a),k(n,t,a)},p(n,a){o===(o=r(n))&&s?s.p(n,a):(s.d(1),s=o(n),s&&(s.c(),s.m(t.parentNode,t)))},d(n){n&&F(t),s.d(n)}}}function hi(e){let t,r=e[27]("forgotNewPasswordPasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotNewPasswordPasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function di(e){let t,r=e[27]("simplePasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("simplePasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function pi(e){let t,r,o,s,n,a,l,u,c,f;return{c(){t=w("svg"),r=w("defs"),o=w("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=w("g"),a=w("path"),l=w("circle"),i(a,"class","a"),i(a,"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"),i(a,"transform","translate(0)"),i(l,"class","a"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(t,"class",u="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){k(d,t,p),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),c||(f=ae(t,"click",e[52]),c=!0)},p(d,p){p[0]&131072&&u!==(u="TogglePasswordVisibility "+(d[17]?"InvalidToggle":""))&&i(t,"class",u)},d(d){d&&F(t),c=!1,f()}}}function mi(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x;return{c(){t=w("svg"),r=w("defs"),o=w("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=w("g"),a=w("circle"),l=w("g"),u=w("path"),c=w("path"),f=w("g"),d=w("path"),p=w("path"),m=w("rect"),i(a,"class","a"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(d,"class","a"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a"),i(p,"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"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(m,"class","a"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(t,"class",v="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){k(E,t,P),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(x=ae(t,"click",e[51]),g=!0)},p(E,P){P[0]&131072&&v!==(v="TogglePasswordVisibility "+(E[17]?"InvalidToggle":""))&&i(t,"class",v)},d(E){E&&F(t),g=!1,x()}}}function pr(e){let t,r=e[27]("forgotNewPasswordConfirmPasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotNewPasswordConfirmPasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function mr(e){let t,r;return{c(){t=y("p"),r=C(e[14]),i(t,"class","ErrorMessage"),i(t,"part","ErrorMessage")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&16384&&V(r,o[14])},d(o){o&&F(t)}}}function gr(e){let t,r;return{c(){t=y("p"),r=C(e[26]),i(t,"class","FormHeaderSubtitle"),i(t,"part","FormHeaderSubtitle")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&67108864&&V(r,o[26])},d(o){o&&F(t)}}}function br(e){let t,r=e[27]("forgotPasswordEmailInputError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","ForgotPasswordError"),i(t,"part","ForgotPasswordError")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotPasswordEmailInputError")+"")&&V(o,r)},d(s){s&&F(t)}}}function wr(e){let t,r=e[27]("forgotPasswordEmailError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","ForgotPasswordError"),i(t,"part","ForgotPasswordError")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotPasswordEmailError")+"")&&V(o,r)},d(s){s&&F(t)}}}function gi(e){let t,r,o,s,n,a=e[0]&&fr(e);function l(f,d){return f[4]?ni:si}let u=l(e),c=u(e);return{c(){a&&a.c(),t=Er(),r=R(),o=y("div"),s=R(),n=y("div"),c.c(),i(o,"class","g-recaptcha"),i(o,"data-sitekey",e[0]),i(n,"class","GeneralPlayerForgotPasswordForm")},m(f,d){a&&a.m(cr.head,null),h(cr.head,t),k(f,r,d),k(f,o,d),k(f,s,d),k(f,n,d),c.m(n,null),e[55](n)},p(f,d){f[0]?a?a.p(f,d):(a=fr(f),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),d[0]&1&&i(o,"data-sitekey",f[0]),u===(u=l(f))&&c?c.p(f,d):(c.d(1),c=u(f),c&&(c.c(),c.m(n,null)))},i:he,o:he,d(f){f&&(F(r),F(o),F(s),F(n)),a&&a.d(f),F(t),c.d(),e[55](null)}}}function bi(e,t,r){let o;No(e,Kn,b=>r(27,o=b));let{endpoint:s=""}=t,{forgotpasswordkey:n=""}=t,{captchakey:a=""}=t,{lang:l="en"}=t,{simplepasswordvalidation:u="false"}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,{translationurl:d=""}=t,{savecredentials:p=""}=t,{hastosetpass:m="false"}=t,{passwordregex:v=""}=t,g=!1,x=!0,E=!1,P=!1,S="",_=!1,A=!1,M=!1,O=!1,se=!1,U=window.navigator.userAgent,ce="",G=!1,X=!1,Z=!1,de,W,q=!1,le=!1,K="",ee="",ne,j=!1,H,z;ti({withLocale:"en",translations:{}});const I=()=>{fetch(d).then(Y=>Y.json()).then(Y=>{Object.keys(Y).forEach(ie=>{lr(ie,Y[ie])})}).catch(Y=>{console.log(Y)})};Object.keys(ur).forEach(b=>{lr(b,ur[b])});const L={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},te=()=>{O?r(13,se=!1):r(13,se=!0)},$e=b=>!!(L.email.test(b)&&b.length<=100),Pe=()=>{r(12,O=!$e(S)),te()},re=b=>{switch(b){case"userNewPassword":r(20,q=!q),r(18,de.type=q?"text":"password",de);break;case"userConfirmPassword":r(21,le=!le),r(19,W.type=le?"text":"password",W);break}},Q=b=>{switch(b){case"ToEmailSuccess":r(6,E=!1),r(5,x=!1),r(7,P=!0);break;case"ToReset":r(5,x=!1),r(9,_=!0);break;case"ToSuccess":r(9,_=!1),r(10,A=!0);break}},J=()=>{window.postMessage({type:"ToLogin"},window.location.href)},pe=()=>new Promise((b,Y)=>{grecaptcha.ready(()=>{grecaptcha.execute(a,{action:"submit"}).then(ie=>{b(ie)})})}),$=b=>{b.preventDefault(),r(4,g=!0),pe().then(Y=>{let ie=new URL(`${s}/v1/player/resetpassword`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":Y}};ie.searchParams.append("email",S),fetch(ie,nt).then(Ee=>{Ee.status==200?Q("ToEmailSuccess"):r(6,E=!0)}).finally(()=>{r(4,g=!1)})})},Ft=b=>{b.preventDefault();let Y=new URL(`${s}/v1/player/ResetPasswordByHashKey`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({hashKey:n,plainTextPassword:K})};fetch(Y,nt).then(Ee=>(Ee.status==200?(r(24,j=!1),Q("ToSuccess")):r(24,j=!0),Ee.json())).then(Ee=>{r(14,ce=Ee.error)})},ro=()=>{n&&n.length>0&&Q("ToReset")},oo=()=>{!X&&!Z&&K&&ee?r(15,G=!0):r(15,G=!1)},st=b=>(u=="true"&&(L.password=/^(?!.* ).{8,20}$/),!!L.password.test(b)),so=(b,Y,ie)=>{ie.id==="new-password"?(r(16,X=!st(Y)),ee&&r(17,Z=K===ee?!st(Y):!0)):r(17,Z=K===ee?!st(Y):!0),oo()},no=()=>{ri(l)},io=()=>{r(25,H=o(m==="true"?"hasToSetPassTitle":"forgotPasswordTitle")),r(26,z=m==="true"?o("resetPasswordSubtitle"):"")},ao=()=>{let b=document.createElement("style");b.innerHTML=c,ne.appendChild(b)},lo=()=>{let b=new URL(f),Y=document.createElement("style");fetch(b.href).then(ie=>ie.text()).then(ie=>{Y.innerHTML=ie,setTimeout(()=>{ne.appendChild(Y)},1),setTimeout(()=>{},500)})};ko(()=>at(this,null,function*(){ei(U)&&r(11,M=!0)}));const uo=()=>J();function co(){S=this.value,r(8,S)}const fo=b=>$(b);function ho(){K=this.value,r(22,K)}function po(b){ke[b?"unshift":"push"](()=>{de=b,r(18,de)})}const mo=()=>re("userNewPassword"),go=()=>re("userNewPassword");function bo(){ee=this.value,r(23,ee)}function wo(b){ke[b?"unshift":"push"](()=>{W=b,r(19,W)})}const vo=()=>re("userConfirmPassword"),yo=()=>re("userConfirmPassword"),Po=b=>Ft(b),Eo=()=>J();function _o(b){ke[b?"unshift":"push"](()=>{ne=b,r(3,ne)})}return e.$$set=b=>{"endpoint"in b&&r(34,s=b.endpoint),"forgotpasswordkey"in b&&r(35,n=b.forgotpasswordkey),"captchakey"in b&&r(0,a=b.captchakey),"lang"in b&&r(36,l=b.lang),"simplepasswordvalidation"in b&&r(1,u=b.simplepasswordvalidation),"clientstyling"in b&&r(37,c=b.clientstyling),"clientstylingurl"in b&&r(38,f=b.clientstylingurl),"translationurl"in b&&r(39,d=b.translationurl),"savecredentials"in b&&r(2,p=b.savecredentials),"hastosetpass"in b&&r(40,m=b.hastosetpass),"passwordregex"in b&&r(41,v=b.passwordregex)},e.$$.update=()=>{e.$$.dirty[1]&16&&n&&ro(),e.$$.dirty[1]&32&&l&&no(),e.$$.dirty[0]&8|e.$$.dirty[1]&64&&c&&ne&&ao(),e.$$.dirty[0]&8|e.$$.dirty[1]&128&&f&&ne&&lo(),e.$$.dirty[1]&256&&d&&I(),e.$$.dirty[1]&544&&m&&l&&io(),e.$$.dirty[1]&1024&&v&&(L.password=new RegExp(v))},[a,u,p,ne,g,x,E,P,S,_,A,M,O,se,ce,G,X,Z,de,W,q,le,K,ee,j,H,z,o,Pe,re,J,$,Ft,so,s,n,l,c,f,d,m,v,uo,co,fo,ho,po,mo,go,bo,wo,vo,yo,Po,Eo,_o]}class to extends Qo{constructor(t){super(),Wo(this,t,bi,gi,yr,{endpoint:34,forgotpasswordkey:35,captchakey:0,lang:36,simplepasswordvalidation:1,clientstyling:37,clientstylingurl:38,translationurl:39,savecredentials:2,hastosetpass:40,passwordregex:41},oi,[-1,-1,-1])}get endpoint(){return this.$$.ctx[34]}set endpoint(t){this.$$set({endpoint:t}),ue()}get forgotpasswordkey(){return this.$$.ctx[35]}set forgotpasswordkey(t){this.$$set({forgotpasswordkey:t}),ue()}get captchakey(){return this.$$.ctx[0]}set captchakey(t){this.$$set({captchakey:t}),ue()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),ue()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),ue()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(t){this.$$set({clientstyling:t}),ue()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ue()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),ue()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(t){this.$$set({savecredentials:t}),ue()}get hastosetpass(){return this.$$.ctx[40]}set hastosetpass(t){this.$$set({hastosetpass:t}),ue()}get passwordregex(){return this.$$.ctx[41]}set passwordregex(t){this.$$set({passwordregex:t}),ue()}}qo(to,{endpoint:{},forgotpasswordkey:{},captchakey:{},lang:{},simplepasswordvalidation:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},hastosetpass:{},passwordregex:{}},[],[],!0);exports.default=to;
5
+ `,Ae.MISSING_INTL_API,a);var _=r.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));S=f.options[_]||f.options.other}if(!S)throw new or(f.value,p,Object.keys(f.options),a);l.push.apply(l,qe(S.value,t,r,o,s,p-(f.offset||0)));continue}}return mn(l)}function wn(e,t){return t?N(N(N({},e||{}),t||{}),Object.keys(e).reduce(function(r,o){return r[o]=N(N({},e[o]),t[o]||{}),r},{})):e}function bn(e,t){return t?Object.keys(e).reduce(function(r,o){return r[o]=wn(e[o],t[o]),r},N({},e)):e}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function vn(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.NumberFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.number),strategy:ht.variadic}),getDateTimeFormat:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.DateTimeFormat).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.dateTime),strategy:ht.variadic}),getPluralRules:ft(function(){for(var t,r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];return new((t=Intl.PluralRules).bind.apply(t,Ce([void 0],r,!1)))},{cache:pt(e.pluralRules),strategy:ht.variadic})}}var yn=function(){function e(t,r,o,s){r===void 0&&(r=e.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var c=n.formatToParts(u);if(c.length===1)return c[0].value;var f=c.reduce(function(d,p){return!d.length||p.type!==oe.literal||typeof d[d.length-1]!="string"?d.push(p.value):d[d.length-1]+=p.value,d},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return qe(n.ast,n.locales,n.formatters,n.formats,u,void 0,n.message)},this.resolvedOptions=function(){var u;return{locale:((u=n.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=s||{};a.formatters;var l=Jo(a,["formatters"]);this.ast=e.__parse(t,N(N({},l),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=bn(e.formats,o),this.formatters=s&&s.formatters||vn(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=hn,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Pn(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let o=e;for(let s=0;s<r.length;s++)if(typeof o=="object"){if(s>0){const n=r.slice(s,r.length).join(".");if(n in o){o=o[n];break}}o=o[r[s]]}else o=void 0;return o}const we={},En=(e,t,r)=>r&&(t in we||(we[t]={}),e in we[t]||(we[t][e]=r),r),Wr=(e,t)=>{if(t==null)return;if(t in we&&e in we[t])return we[t][e];const r=rt(t);for(let o=0;o<r.length;o++){const s=r[o],n=xn(s,e);if(n)return En(e,t,n)}};let Lt;const Oe=et({});function _n(e){return Lt[e]||null}function qr(e){return e in Lt}function xn(e,t){if(!qr(e))return null;const r=_n(e);return Pn(r,t)}function Tn(e){if(e==null)return;const t=rt(e);for(let r=0;r<t.length;r++){const o=t[r];if(qr(o))return o}}function Qr(e,...t){delete we[e],Oe.update(r=>(r[e]=Hs.all([r[e]||{},...t]),r))}Le([Oe],([e])=>Object.keys(e));Oe.subscribe(e=>Lt=e);const Qe={};function Sn(e,t){Qe[e].delete(t),Qe[e].size===0&&delete Qe[e]}function Yr(e){return Qe[e]}function Bn(e){return rt(e).map(t=>{const r=Yr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ht(e){return e==null?!1:rt(e).some(t=>{var r;return(r=Yr(t))==null?void 0:r.size})}function Cn(e,t){return Promise.all(t.map(o=>(Sn(e,o),o().then(s=>s.default||s)))).then(o=>Qr(e,...o))}const Re={};function Jr(e){if(!Ht(e))return e in Re?Re[e]:Promise.resolve();const t=Bn(e);return Re[e]=Promise.all(t.map(([r,o])=>Cn(r,o))).then(()=>{if(Ht(e))return Jr(e);delete Re[e]}),Re[e]}const Hn={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"}}},Nn={fallbackLocale:null,loadingDelay:200,formats:Hn,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},An=Nn;function Ie(){return An}const mt=et(!1);var In=Object.defineProperty,Ln=Object.defineProperties,On=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,Fn=Object.prototype.hasOwnProperty,Rn=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?In(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Mn=(e,t)=>{for(var r in t||(t={}))Fn.call(t,r)&&nr(e,r,t[r]);if(sr)for(var r of sr(t))Rn.call(t,r)&&nr(e,r,t[r]);return e},kn=(e,t)=>Ln(e,On(t));let Nt;const Ye=et(null);function ir(e){return e.split("-").map((t,r,o)=>o.slice(0,r+1).join("-")).reverse()}function rt(e,t=Ie().fallbackLocale){const r=ir(e);return t?[...new Set([...r,...ir(t)])]:r}function ye(){return Nt!=null?Nt:void 0}Ye.subscribe(e=>{Nt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Dn=e=>{if(e&&Tn(e)&&Ht(e)){const{loadingDelay:t}=Ie();let r;return typeof window!="undefined"&&ye()!=null&&t?r=window.setTimeout(()=>mt.set(!0),t):mt.set(!0),Jr(e).then(()=>{Ye.set(e)}).finally(()=>{clearTimeout(r),mt.set(!1)})}return Ye.set(e)},be=kn(Mn({},Ye),{set:Dn}),ot=e=>{const t=Object.create(null);return o=>{const s=JSON.stringify(o);return s in t?t[s]:t[s]=e(o)}};var Un=Object.defineProperty,Je=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,eo=Object.prototype.propertyIsEnumerable,ar=(e,t,r)=>t in e?Un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ot=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&ar(e,r,t[r]);if(Je)for(var r of Je(t))eo.call(t,r)&&ar(e,r,t[r]);return e},Fe=(e,t)=>{var r={};for(var o in e)Kr.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Je)for(var o of Je(e))t.indexOf(o)<0&&eo.call(e,o)&&(r[o]=e[o]);return r};const je=(e,t)=>{const{formats:r}=Ie();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gn=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return o&&(s=je("number",o)),new Intl.NumberFormat(r,s)}),jn=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return o?s=je("date",o):Object.keys(s).length===0&&(s=je("date","short")),new Intl.DateTimeFormat(r,s)}),$n=ot(e=>{var t=e,{locale:r,format:o}=t,s=Fe(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return o?s=je("time",o):Object.keys(s).length===0&&(s=je("time","short")),new Intl.DateTimeFormat(r,s)}),Vn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return Gn(Ot({locale:r},o))},zn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return jn(Ot({locale:r},o))},Xn=(e={})=>{var t=e,{locale:r=ye()}=t,o=Fe(t,["locale"]);return $n(Ot({locale:r},o))},Zn=ot((e,t=ye())=>new yn(e,t,Ie().formats,{ignoreTag:Ie().ignoreTag})),Wn=(e,t={})=>{var r,o,s,n;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:l,locale:u=ye(),default:c}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=Wr(e,u);if(!f)f=(n=(s=(o=(r=Ie()).handleMissingMessage)==null?void 0:o.call(r,{locale:u,id:e,defaultValue:c}))!=null?s:c)!=null?n:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!l)return f;let d=f;try{d=Zn(f,u).format(l)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return d},qn=(e,t)=>Xn(t).format(e),Qn=(e,t)=>zn(t).format(e),Yn=(e,t)=>Vn(t).format(e),Jn=(e,t=ye())=>Wr(e,t),Kn=Le([be,Oe],()=>Wn);Le([be],()=>qn);Le([be],()=>Qn);Le([be],()=>Yn);Le([be,Oe],()=>Jn);window.emWidgets={topic:hs};const ei=e=>!!(e.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));function ti({withLocale:e,translations:t}){be.subscribe(r=>{r==null&&(Oe.set(t),be.set(e))})}function lr(e,t){Qr(e,t)}function ri(e){be.set(e)}const ur={en:{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset 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."},hr:{goToLogin:"Natrag na prijavu",forgotPasswordTitle:"Zaboravljena lozinka",resetPasswordSubtitle:"Molimo resetirajte svoju lozinku.",hasToSetPassTitle:"Resetiraj Lozinku",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email treba sadržavati '@' i domenu od 2-3 slova.",forgotPasswordEmailError:"Ovaj email ne postoji.",forgotPasswordReset:"Resetiranje lozinke",forgotPasswordSuccess:"Uspjelo!",forgotPasswordSuccessDescription:"Poslali smo e-mail s uputama za ponovno postavljanje lozinke.",forgotNewPasswordTitle:"Nova Lozinka",forgotNewPasswordPassword:"Lozinka",forgotNewPasswordPasswordError:"Lozinka bi trebala imati 8-20 znakova",forgotNewPasswordConfirmPassword:"Potvrdi lozinku",forgotNewPasswordConfirmPasswordError:"Lozinka za potvrdu mora odgovarati novoj lozinci i mora slijediti ista pravila.",forgotNewPasswordButton:"Promjena lozinke",forgotChangePasswordTitle:"Uspjelo!",forgotChangePasswordDescription:"Vaša lozinka je uspješno promijenjena.",forgotChangePasswordLogin:"Kliknite ovdje za prijavu",simplePasswordError:"Lozinka mora imati 8-20 znakova.","forgotPasswordE-mail":"E-mail","forgotPasswordE-mailInputError":"E-mail treba sadržavati '@' i domenu od 2-3 slova.","forgotPasswordE-mailError":"Ovaj E-mail ne postoji."},"zh-hk":{goToLogin:"返回登錄",forgotPasswordTitle:"忘記密碼",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"電子郵件",forgotPasswordEmailInputError:"电子邮件应包含“@”和 2-3 个字母长的域。",forgotPasswordEmailError:"此電子郵件不存在。",forgotPasswordReset:"重設密碼",forgotPasswordSuccess:"成功!",forgotPasswordSuccessDescription:"我們發送了一封電子郵件,其中包含重置密碼的說明。",forgotNewPasswordTitle:"新密碼",forgotNewPasswordPassword:"密碼",forgotNewPasswordPasswordError:"密碼長度為 8-20 個字符,至少包含 1 個大寫字母、1 個數字和 1 個特殊字符。",forgotNewPasswordConfirmPassword:"確認密碼",forgotNewPasswordConfirmPasswordError:"確認密碼必須與新密碼匹配,並且必須遵循相同的規則。",forgotNewPasswordButton:"更改密碼",forgotChangePasswordTitle:"成功!",forgotChangePasswordDescription:"你已經成功更改密碼。",forgotChangePasswordLogin:"點擊此處登錄",simplePasswordError:"密码长度必须为 8-20 个字符。"},fr:{goToLogin:"Retour à la page d'accueil",forgotPasswordTitle:"Mot de passe oublié",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"L'e-mail doit contenir '@' et un domaine de 2-3 lettres.",forgotPasswordEmailError:"Cette adresse mail n'existe pas",forgotPasswordReset:"Réinitialiser le mot de passe",forgotPasswordSuccess:"Succès!",forgotPasswordSuccessDescription:"Nous vous avons envoyé un e-mail contenant les instructions pour reinitialiser votre mot de passe.",forgotNewPasswordTitle:"Nouveau mot de passe",forgotNewPasswordPassword:"Mot de passe",forgotNewPasswordPasswordError:"Le mot de passe doit comporter de 8 à 20 charactères et contenir au moins une lettre majuscule, un chiffre et un caractère spécial",forgotNewPasswordConfirmPassword:"Confirmer le mot de passe",forgotNewPasswordConfirmPasswordError:"Le mot de passe de confirmation doit correspondre au nouveau mot de passe et doit suivre les mêmes règles.",forgotNewPasswordButton:"Modifier le mot de passe",forgotChangePasswordTitle:"Succès!",forgotChangePasswordDescription:"Votre mot de passe a été modifié avec succès.",forgotChangePasswordLogin:"Cliquez ici pour vous connecter",simplePasswordError:"Le mot de passe doit comporter entre 8 et 20 caractères."},tr:{goToLogin:"Oturum Açmaya Geri Dön",forgotPasswordTitle:"Parolanızı mı unuttunuz",resetPasswordSubtitle:"Lütfen şifrenizi sıfırlayın.",hasToSetPassTitle:"Şifreyi yenile",forgotPasswordEmail:"E-posta",forgotPasswordEmailInputError:"E-posta '@' ve 2-3 harf uzunluğunda bir alan adı içermelidir.",forgotPasswordEmailError:"Bu e-posta mevcut değil.",forgotPasswordReset:"Şifreyi yenile",forgotPasswordSuccess:"Başarı!",forgotPasswordSuccessDescription:"Şifrenizi sıfırlama talimatlarını içeren bir e-posta gönderdik.",forgotNewPasswordTitle:"Yeni Şifre",forgotNewPasswordPassword:"Şifre",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:"Parolayı onayla, yeni parolayla 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 buraya tıklayın",simplePasswordError:"Şifre 8-20 karakter uzunluğunda olmalı ve en az 1 büyük harf, 1 rakam ve 1 özel karakter içermelidir."},ro:{goToLogin:"Inapoi la autentificare",forgotPasswordTitle:"Parolă Uitată",resetPasswordSubtitle:"Vă rugăm sa resetați parola.",hasToSetPassTitle:"Resetează parola",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email-ul ar trebui să conțină '@' și 2-3 litere.",forgotPasswordEmailError:"Acest email nu există",forgotPasswordReset:"Resetează parola",forgotPasswordSuccess:"Succes!",forgotPasswordSuccessDescription:"Am trimis un email cu instrucțiunile pentru resetarea parolei.",forgotNewPasswordTitle:"Noua parolă",forgotNewPasswordPassword:"Parola",forgotNewPasswordPasswordError:"Parola trebuie să fie între 8 si 20 de caractere, să contțină o literă mare, o cifră și un caracter special",forgotNewPasswordConfirmPassword:"Confirma parola",forgotNewPasswordConfirmPasswordError:"Parola confirmată trebuie să fie la fel ca parola nouă și să respecte aceleași reguli",forgotNewPasswordButton:"Schimbă parola",forgotChangePasswordTitle:"Succes!",forgotChangePasswordDescription:"Parola a fost schimbată cu succes.",forgotChangePasswordLogin:"Autentificare",simplePasswordError:"Parola trebuie să aibă 8-20 de caractere."},es:{goToLogin:"Volver a iniciar sesión",forgotPasswordTitle:"Olvide mi contraseña",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",forgotPasswordEmail:"Email",forgotPasswordEmailInputError:"Email debe contener '@' y 2-3 letras de longitud.",forgotPasswordEmailError:"Este Email no existe",forgotPasswordReset:"Reestablecer contraseña",forgotPasswordSuccess:"Éxito!",forgotPasswordSuccessDescription:"Te hemos enviado un Email con las instrucciones para Reestablecer tu contraseña.",forgotNewPasswordTitle:"Nueva contraseña",forgotNewPasswordPassword:"Contraseña",forgotNewPasswordPasswordError:"La contraseña debe tener entre 8 a 20 caracteres y contener al menos 1 letra mayúscula, 1 número y 1 carácter especial.",forgotNewPasswordConfirmPassword:"Confirmar constraseña",forgotNewPasswordConfirmPasswordError:"Confirmar contraseña debe coincidir con la Nueva contraseña y debe seguir las mismas reglas.",forgotNewPasswordButton:"Cambiar Contraseña",forgotChangePasswordTitle:"Éxito!!",forgotChangePasswordDescription:"Tu contraseña se ha cambiado con éxito",forgotChangePasswordLogin:"Click aquí para Iniciar sesión",simplePasswordError:"La contraseña debe tener entre 8 a 20 caracteres"},pt:{goToLogin:"Voltar a Entrar",forgotPasswordTitle:"Esqueceu sua senha",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset Password",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."},"en-us":{goToLogin:"Back to Sign In",forgotPasswordTitle:"Forgot Password",resetPasswordSubtitle:"Please reset your password.",hasToSetPassTitle:"Reset 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."}},{document:cr}=Ao;function oi(e){Io(e,"svelte-15o9f7t",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input,select{font-family:inherit}.GeneralPlayerForgotPasswordForm{height:auto}.GeneralPlayerForgotPasswordForm .ModalLoaderWrapper{display:flex;height:100%;align-items:center}.GeneralPlayerForgotPasswordForm .ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.GeneralPlayerForgotPasswordForm .ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}.backButtonForgotPassword{display:inline-flex;color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));height:24px;line-height:24px;border-radius:var(--emw--border-radius-medium, 15px);border:none;background:transparent;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-bottom:30px}.backButtonForgotPassword svg{width:24px;height:24px;margin-right:20px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.FormContainer{width:100%}.FormForgotPassword{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8))}.FormHeaderTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-light, 300);padding:0;text-transform:uppercase;margin:0}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-weight:var(--emw--font-weight-light, 300);padding-top:14px}.FormRequired{color:var(--emw--color-error, #ed0909)}.ForgotPasswordError{color:var(--emw--color-error, #ed0909);font-size:10px;line-height:10px;margin-top:10px}.FormContent{padding-top:20px}.NewPasswordSuccess{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-around;align-items:center}.NewPasswordSuccess h4{margin-top:10px;color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:28px;font-weight:500;padding:0;text-transform:uppercase}.NewPasswordSuccess p{text-align:center;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));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(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));display:flex;flex-direction:column;padding-bottom:20px;position:relative}.ResetPasswordByEmail label,.NewPassword label,.ConfirmPassword label{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPasswordByEmail input,.NewPassword input,.ConfirmPassword input{width:100%;height:44px;border-radius:var(--emw--border-radius-medium, 15px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}.ResetPasswordByEmail input:focus,.NewPassword input:focus,.ConfirmPassword input:focus{border:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));outline:none}.ResetPasswordByEmail.InvalidField input,.NewPassword.InvalidField input,.ConfirmPassword.InvalidField input{border:1px solid var(--emw--color-error, #ed0909);background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444))}.resetPasswordButton{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer}.resetPasswordButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ResetPasswordByEmail,.NewPassword,.ConfirmPassword{padding-bottom:30px}.ResetPasswordByEmail .InvalidInput{bottom:-3px}.InvalidInput{color:var(--emw--color-error, #ed0909);font-size:10px;position:absolute;bottom:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-error, #ed0909)}.FormForgotPassword{padding:50px}.FormMobileContainer{height:100%;background-color:var(--emw--color-gray-50, #F9F8F8)}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .ResetPasswordByEmail input{max-width:unset;border-radius:var(--emw--border-radius-medium, 15px)}.FormMobileContainer{height:100%}.FormMobileContainer .FormForgotPassword{padding:40px 20px}.FormMobileContainer .resetPasswordButton,.FormMobileContainer .UserContainer input{max-width:unset}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function fr(e){let t,r;return{c(){t=y("script"),Ut(t.src,r="//www.google.com/recaptcha/api.js?render="+e[0])||i(t,"src",r),t.async=!0,t.defer=!0},m(o,s){k(o,t,s)},p(o,s){s[0]&1&&!Ut(t.src,r="//www.google.com/recaptcha/api.js?render="+o[0])&&i(t,"src",r)},d(o){o&&F(t)}}}function si(e){let t,r;function o(a,l){if(a[5])return ui;if(a[7])return li;if(a[9])return ai;if(a[10])return ii}let s=o(e),n=s&&s(e);return{c(){t=y("div"),n&&n.c(),i(t,"class",r="FormContainer "+(e[11]?"FormMobileContainer":""))},m(a,l){k(a,t,l),n&&n.m(t,null)},p(a,l){s===(s=o(a))&&n?n.p(a,l):(n&&n.d(1),n=s&&s(a),n&&(n.c(),n.m(t,null))),l[0]&2048&&r!==(r="FormContainer "+(a[11]?"FormMobileContainer":""))&&i(t,"class",r)},d(a){a&&F(t),n&&n.d()}}}function ni(e){let t;return{c(){t=y("div"),t.innerHTML='<div class="ModalLoader"></div>',i(t,"class","ModalLoaderWrapper")},m(r,o){k(r,t,o)},p:he,d(r){r&&F(t)}}}function ii(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x=e[27]("forgotChangePasswordTitle")+"",E,P,S,_=e[27]("forgotChangePasswordDescription")+"",A,M,O,se=e[27]("forgotChangePasswordLogin")+"",U,ce,G;return{c(){t=y("div"),r=y("div"),o=y("div"),s=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:var(--emw--color-valid, var(--emw--color-valid, #48952a));}.b,.d{fill:none;}.b{stroke:var(--emw--color-valid, var(--emw--color-green, #48952a));stroke-width:2px;}.c{stroke:none;}"),u=b("g"),c=b("g"),f=b("path"),d=b("g"),p=b("circle"),m=b("circle"),v=R(),g=y("h4"),E=C(x),P=R(),S=y("p"),A=C(_),M=R(),O=y("button"),U=C(se),i(f,"class","a"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(p,"class","c"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"width","60"),i(s,"height","60"),i(s,"viewBox","0 0 60 60"),i(o,"class","NewPasswordSuccess"),i(o,"part","NewPasswordSuccess"),i(O,"class","resetPasswordButton"),i(O,"part","resetPasswordButton"),i(r,"class","FormContent"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword"),i(t,"part","FormForgotPassword")},m(X,Z){k(X,t,Z),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(o,v),h(o,g),h(g,E),h(o,P),h(o,S),h(S,A),h(r,M),h(r,O),h(O,U),ce||(G=ae(O,"click",e[54]),ce=!0)},p(X,Z){Z[0]&134217728&&x!==(x=X[27]("forgotChangePasswordTitle")+"")&&V(E,x),Z[0]&134217728&&_!==(_=X[27]("forgotChangePasswordDescription")+"")&&V(A,_),Z[0]&134217728&&se!==(se=X[27]("forgotChangePasswordLogin")+"")&&V(U,se)},d(X){X&&F(t),ce=!1,G()}}}function ai(e){let t,r,o,s,n,a,l,u,c,f=e[27]("forgotNewPasswordPassword")+"",d,p,m,v,g,x,E,P,S,_,A,M=e[27]("forgotNewPasswordConfirmPassword")+"",O,se,U,ce,G,X,Z,de,W,q,le=e[27]("forgotNewPasswordButton")+"",K,ee,ne,j,H=e[26]&&hr(e);function z(pe,$){return pe[20]?fi:ci}let I=z(e),L=I(e),te=e[16]&&dr(e);function $e(pe,$){return pe[21]?mi:pi}let Pe=$e(e),re=Pe(e),Q=e[17]&&pr(e),Y=e[24]&&mr(e);return{c(){t=y("div"),r=y("div"),o=y("h4"),s=C(e[25]),n=R(),H&&H.c(),a=R(),l=y("form"),u=y("div"),c=y("label"),d=C(f),p=C(":"),m=y("span"),m.textContent="*",v=R(),g=y("input"),E=R(),L.c(),P=R(),te&&te.c(),S=R(),_=y("div"),A=y("label"),O=C(M),se=C(":"),U=y("span"),U.textContent="*",ce=R(),G=y("input"),X=R(),re.c(),Z=R(),Q&&Q.c(),de=R(),Y&&Y.c(),W=R(),q=y("button"),K=C(le),i(o,"class","FormHeaderTitle"),i(o,"part","FormHeaderTitle"),i(r,"class","FormHeader"),i(r,"part","FormHeader"),i(m,"class","FormRequired"),i(m,"part","FormRequired"),i(c,"for","NewPassword"),i(g,"type","password"),i(g,"id","new-password"),i(g,"autocomplete",x=e[2]?"new-password":"off"),i(u,"class","NewPassword"),i(u,"part","NewPassword"),i(U,"class","FormRequired"),i(U,"part","FormRequired"),i(A,"for","RetypePassword"),i(G,"type","password"),i(G,"id","RetypePassword"),i(_,"class","ConfirmPassword"),i(_,"part","ConfirmPassword"),i(q,"class","resetPasswordButton"),i(q,"part","resetPasswordButton"),q.disabled=ee=!e[15],i(l,"class","FormContent"),i(l,"part","FormContent"),i(t,"class","FormForgotPassword test"),i(t,"part","FormForgotPassword test")},m(pe,$){k(pe,t,$),h(t,r),h(r,o),h(o,s),h(r,n),H&&H.m(r,null),h(t,a),h(t,l),h(l,u),h(u,c),h(c,d),h(c,p),h(c,m),h(u,v),h(u,g),Se(g,e[22]),e[46](g),h(u,E),L.m(u,null),h(u,P),te&&te.m(u,null),h(l,S),h(l,_),h(_,A),h(A,O),h(A,se),h(A,U),h(_,ce),h(_,G),Se(G,e[23]),e[50](G),h(_,X),re.m(_,null),h(_,Z),Q&&Q.m(_,null),h(l,de),Y&&Y.m(l,null),h(l,W),h(l,q),h(q,K),ne||(j=[ae(g,"input",e[45]),ae(g,"keyup",function(){De(e[33](e[16],e[22],e[18]))&&e[33](e[16],e[22],e[18]).apply(this,arguments)}),ae(G,"input",e[49]),ae(G,"keyup",function(){De(e[33](e[17],e[23],e[19]))&&e[33](e[17],e[23],e[19]).apply(this,arguments)}),ae(q,"click",e[53])],ne=!0)},p(pe,$){e=pe,$[0]&33554432&&V(s,e[25]),e[26]?H?H.p(e,$):(H=hr(e),H.c(),H.m(r,null)):H&&(H.d(1),H=null),$[0]&134217728&&f!==(f=e[27]("forgotNewPasswordPassword")+"")&&V(d,f),$[0]&4&&x!==(x=e[2]?"new-password":"off")&&i(g,"autocomplete",x),$[0]&4194304&&g.value!==e[22]&&Se(g,e[22]),I===(I=z(e))&&L?L.p(e,$):(L.d(1),L=I(e),L&&(L.c(),L.m(u,P))),e[16]?te?te.p(e,$):(te=dr(e),te.c(),te.m(u,null)):te&&(te.d(1),te=null),$[0]&134217728&&M!==(M=e[27]("forgotNewPasswordConfirmPassword")+"")&&V(O,M),$[0]&8388608&&G.value!==e[23]&&Se(G,e[23]),Pe===(Pe=$e(e))&&re?re.p(e,$):(re.d(1),re=Pe(e),re&&(re.c(),re.m(_,Z))),e[17]?Q?Q.p(e,$):(Q=pr(e),Q.c(),Q.m(_,null)):Q&&(Q.d(1),Q=null),e[24]?Y?Y.p(e,$):(Y=mr(e),Y.c(),Y.m(l,W)):Y&&(Y.d(1),Y=null),$[0]&134217728&&le!==(le=e[27]("forgotNewPasswordButton")+"")&&V(K,le),$[0]&32768&&ee!==(ee=!e[15])&&(q.disabled=ee)},d(pe){pe&&F(t),H&&H.d(),e[46](null),L.d(),te&&te.d(),e[50](null),re.d(),Q&&Q.d(),Y&&Y.d(),ne=!1,ve(j)}}}function li(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x=e[27]("forgotPasswordSuccess")+"",E,P,S,_=e[27]("forgotPasswordSuccessDescription")+"",A;return{c(){t=y("div"),r=y("div"),o=y("div"),s=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:#16ce16;}.b,.d{fill:none;}.b{stroke:#16ce16;stroke-width:2px;}.c{stroke:none;}"),u=b("g"),c=b("g"),f=b("path"),d=b("g"),p=b("circle"),m=b("circle"),v=R(),g=y("h4"),E=C(x),P=R(),S=y("p"),A=C(_),i(f,"class","a"),i(f,"d","M16.1,28,0,11.9,3.267,8.633,16.1,21.233,37.333,0,40.6,3.267Z"),i(f,"transform","translate(264.272 482.563)"),i(c,"transform","translate(-7360.574 8503.438)"),i(p,"class","c"),i(p,"cx","30"),i(p,"cy","30"),i(p,"r","30"),i(m,"class","d"),i(m,"cx","30"),i(m,"cy","30"),i(m,"r","29"),i(d,"class","b"),i(d,"transform","translate(-7106 8970)"),i(u,"transform","translate(7106 -8970)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"width","60"),i(s,"height","60"),i(s,"viewBox","0 0 60 60"),i(o,"class","NewPasswordSuccess"),i(o,"part","NewPasswordSuccess"),i(r,"class","FormContent"),i(r,"part","FormContent"),i(t,"class","FormForgotPassword"),i(t,"part","FormForgotPassword")},m(M,O){k(M,t,O),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(u,c),h(c,f),h(u,d),h(d,p),h(d,m),h(o,v),h(o,g),h(g,E),h(o,P),h(o,S),h(S,A)},p(M,O){O[0]&134217728&&x!==(x=M[27]("forgotPasswordSuccess")+"")&&V(E,x),O[0]&134217728&&_!==(_=M[27]("forgotPasswordSuccessDescription")+"")&&V(A,_)},d(M){M&&F(t)}}}function ui(e){let t,r,o,s,n,a,l,u,c,f=e[27]("goToLogin")+"",d,p,m,v,g,x,E,P,S,_=e[27]("forgotPasswordEmail")+"",A,M,O,se,U,ce,G,X,Z,de,W,q=e[27]("forgotPasswordReset")+"",le,K,ee,ne,j=e[26]&&gr(e),H=e[12]&&wr(e),z=e[6]&&br(e);return{c(){t=y("div"),r=y("div"),o=y("button"),s=b("svg"),n=b("defs"),a=b("style"),l=C(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));}"),u=b("path"),c=R(),d=C(f),p=R(),m=y("h4"),v=C(e[25]),g=R(),j&&j.c(),x=R(),E=y("form"),P=y("div"),S=y("label"),A=C(_),M=C(":"),O=y("span"),O.textContent="*",se=R(),U=y("input"),ce=R(),H&&H.c(),G=R(),z&&z.c(),de=R(),W=y("button"),le=C(q),i(u,"class","a"),i(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i(u,"transform","translate(24 24) rotate(180)"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"viewBox","0 0 24 24"),i(o,"class","backButtonForgotPassword"),i(m,"class","FormHeaderTitle"),i(m,"part","FormHeaderTitle"),i(r,"class","FormHeader"),i(O,"class","FormRequired"),i(O,"part","FormRequired"),i(S,"for","ResetPasswordByEmail"),i(U,"type","text"),i(U,"id","ResetPasswordByEmail"),i(P,"class",X="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),i(P,"part",Z="ResetPasswordByEmail "+(e[12]?"InvalidField":"")),i(W,"class","resetPasswordButton"),i(W,"part","resetPasswordButton"),W.disabled=K=!e[13],i(E,"class","FormContent"),i(E,"part","FormContent"),i(t,"class","FormForgotPassword")},m(I,L){k(I,t,L),h(t,r),h(r,o),h(o,s),h(s,n),h(n,a),h(a,l),h(s,u),h(o,c),h(o,d),h(r,p),h(r,m),h(m,v),h(r,g),j&&j.m(r,null),h(t,x),h(t,E),h(E,P),h(P,S),h(S,A),h(S,M),h(S,O),h(P,se),h(P,U),Se(U,e[8]),h(P,ce),H&&H.m(P,null),h(P,G),z&&z.m(P,null),h(E,de),h(E,W),h(W,le),ee||(ne=[ae(o,"click",e[42]),ae(U,"input",e[43]),ae(U,"keyup",e[28]),ae(W,"click",e[44])],ee=!0)},p(I,L){L[0]&134217728&&f!==(f=I[27]("goToLogin")+"")&&V(d,f),L[0]&33554432&&V(v,I[25]),I[26]?j?j.p(I,L):(j=gr(I),j.c(),j.m(r,null)):j&&(j.d(1),j=null),L[0]&134217728&&_!==(_=I[27]("forgotPasswordEmail")+"")&&V(A,_),L[0]&256&&U.value!==I[8]&&Se(U,I[8]),I[12]?H?H.p(I,L):(H=wr(I),H.c(),H.m(P,G)):H&&(H.d(1),H=null),I[6]?z?z.p(I,L):(z=br(I),z.c(),z.m(P,null)):z&&(z.d(1),z=null),L[0]&4096&&X!==(X="ResetPasswordByEmail "+(I[12]?"InvalidField":""))&&i(P,"class",X),L[0]&4096&&Z!==(Z="ResetPasswordByEmail "+(I[12]?"InvalidField":""))&&i(P,"part",Z),L[0]&134217728&&q!==(q=I[27]("forgotPasswordReset")+"")&&V(le,q),L[0]&8192&&K!==(K=!I[13])&&(W.disabled=K)},d(I){I&&F(t),j&&j.d(),H&&H.d(),z&&z.d(),ee=!1,ve(ne)}}}function hr(e){let t,r;return{c(){t=y("p"),r=C(e[26]),i(t,"class","FormHeaderSubtitle"),i(t,"part","FormHeaderSubtitle")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&67108864&&V(r,o[26])},d(o){o&&F(t)}}}function ci(e){let t,r,o,s,n,a,l,u,c,f;return{c(){t=b("svg"),r=b("defs"),o=b("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("path"),l=b("circle"),i(a,"class","a"),i(a,"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"),i(a,"transform","translate(0)"),i(l,"class","a"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(t,"class",u="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){k(d,t,p),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),c||(f=ae(t,"click",e[48]),c=!0)},p(d,p){p[0]&65536&&u!==(u="TogglePasswordVisibility "+(d[16]?"InvalidToggle":""))&&i(t,"class",u)},d(d){d&&F(t),c=!1,f()}}}function fi(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x;return{c(){t=b("svg"),r=b("defs"),o=b("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("circle"),l=b("g"),u=b("path"),c=b("path"),f=b("g"),d=b("path"),p=b("path"),m=b("rect"),i(a,"class","a"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(d,"class","a"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a"),i(p,"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"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(m,"class","a"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(t,"class",v="TogglePasswordVisibility "+(e[16]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){k(E,t,P),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(x=ae(t,"click",e[47]),g=!0)},p(E,P){P[0]&65536&&v!==(v="TogglePasswordVisibility "+(E[16]?"InvalidToggle":""))&&i(t,"class",v)},d(E){E&&F(t),g=!1,x()}}}function dr(e){let t;function r(n,a){return n[1]=="true"?di:hi}let o=r(e),s=o(e);return{c(){s.c(),t=Er()},m(n,a){s.m(n,a),k(n,t,a)},p(n,a){o===(o=r(n))&&s?s.p(n,a):(s.d(1),s=o(n),s&&(s.c(),s.m(t.parentNode,t)))},d(n){n&&F(t),s.d(n)}}}function hi(e){let t,r=e[27]("forgotNewPasswordPasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotNewPasswordPasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function di(e){let t,r=e[27]("simplePasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("simplePasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function pi(e){let t,r,o,s,n,a,l,u,c,f;return{c(){t=b("svg"),r=b("defs"),o=b("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("path"),l=b("circle"),i(a,"class","a"),i(a,"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"),i(a,"transform","translate(0)"),i(l,"class","a"),i(l,"cx","2.779"),i(l,"cy","2.779"),i(l,"r","2.779"),i(l,"transform","translate(20.827 30.303)"),i(n,"transform","translate(-14.185 -27.832)"),i(t,"class",u="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.843"),i(t,"height","10.5"),i(t,"viewBox","0 0 18.843 10.5")},m(d,p){k(d,t,p),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),c||(f=ae(t,"click",e[52]),c=!0)},p(d,p){p[0]&131072&&u!==(u="TogglePasswordVisibility "+(d[17]?"InvalidToggle":""))&&i(t,"class",u)},d(d){d&&F(t),c=!1,f()}}}function mi(e){let t,r,o,s,n,a,l,u,c,f,d,p,m,v,g,x;return{c(){t=b("svg"),r=b("defs"),o=b("style"),s=C(".a{fill:var(--emw--color-white, #FFFFFF);}"),n=b("g"),a=b("circle"),l=b("g"),u=b("path"),c=b("path"),f=b("g"),d=b("path"),p=b("path"),m=b("rect"),i(a,"class","a"),i(a,"cx","0.05"),i(a,"cy","0.05"),i(a,"r","0.05"),i(a,"transform","translate(121.017 31.148)"),i(u,"class","a"),i(u,"d","M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z"),i(u,"transform","translate(-142.164 -39.123)"),i(c,"class","a"),i(c,"d","M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z"),i(c,"transform","translate(-136.413 -42.068)"),i(l,"transform","translate(117.499 27.37)"),i(d,"class","a"),i(d,"d","M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z"),i(d,"transform","translate(-110.856 -33.157)"),i(p,"class","a"),i(p,"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"),i(p,"transform","translate(-130.743 -29.617)"),i(f,"transform","translate(110.856 24.899)"),i(m,"class","a"),i(m,"width","0.972"),i(m,"height","15.861"),i(m,"rx","0.486"),i(m,"transform","translate(114.827 23.858) rotate(-39.315)"),i(n,"transform","translate(-110.856 -23.242)"),i(t,"class",v="TogglePasswordVisibility "+(e[17]?"InvalidToggle":"")),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","18.844"),i(t,"height","12.887"),i(t,"viewBox","0 0 18.844 12.887")},m(E,P){k(E,t,P),h(t,r),h(r,o),h(o,s),h(t,n),h(n,a),h(n,l),h(l,u),h(l,c),h(n,f),h(f,d),h(f,p),h(n,m),g||(x=ae(t,"click",e[51]),g=!0)},p(E,P){P[0]&131072&&v!==(v="TogglePasswordVisibility "+(E[17]?"InvalidToggle":""))&&i(t,"class",v)},d(E){E&&F(t),g=!1,x()}}}function pr(e){let t,r=e[27]("forgotNewPasswordConfirmPasswordError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","InvalidInput"),i(t,"part","InvalidInput")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotNewPasswordConfirmPasswordError")+"")&&V(o,r)},d(s){s&&F(t)}}}function mr(e){let t,r;return{c(){t=y("p"),r=C(e[14]),i(t,"class","ErrorMessage"),i(t,"part","ErrorMessage")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&16384&&V(r,o[14])},d(o){o&&F(t)}}}function gr(e){let t,r;return{c(){t=y("p"),r=C(e[26]),i(t,"class","FormHeaderSubtitle"),i(t,"part","FormHeaderSubtitle")},m(o,s){k(o,t,s),h(t,r)},p(o,s){s[0]&67108864&&V(r,o[26])},d(o){o&&F(t)}}}function wr(e){let t,r=e[27]("forgotPasswordEmailInputError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","ForgotPasswordError"),i(t,"part","ForgotPasswordError")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotPasswordEmailInputError")+"")&&V(o,r)},d(s){s&&F(t)}}}function br(e){let t,r=e[27]("forgotPasswordEmailError")+"",o;return{c(){t=y("p"),o=C(r),i(t,"class","ForgotPasswordError"),i(t,"part","ForgotPasswordError")},m(s,n){k(s,t,n),h(t,o)},p(s,n){n[0]&134217728&&r!==(r=s[27]("forgotPasswordEmailError")+"")&&V(o,r)},d(s){s&&F(t)}}}function gi(e){let t,r,o,s,n,a=e[0]&&fr(e);function l(f,d){return f[4]?ni:si}let u=l(e),c=u(e);return{c(){a&&a.c(),t=Er(),r=R(),o=y("div"),s=R(),n=y("div"),c.c(),i(o,"class","g-recaptcha"),i(o,"data-sitekey",e[0]),i(n,"class","GeneralPlayerForgotPasswordForm")},m(f,d){a&&a.m(cr.head,null),h(cr.head,t),k(f,r,d),k(f,o,d),k(f,s,d),k(f,n,d),c.m(n,null),e[55](n)},p(f,d){f[0]?a?a.p(f,d):(a=fr(f),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null),d[0]&1&&i(o,"data-sitekey",f[0]),u===(u=l(f))&&c?c.p(f,d):(c.d(1),c=u(f),c&&(c.c(),c.m(n,null)))},i:he,o:he,d(f){f&&(F(r),F(o),F(s),F(n)),a&&a.d(f),F(t),c.d(),e[55](null)}}}function wi(e,t,r){let o;No(e,Kn,w=>r(27,o=w));let{endpoint:s=""}=t,{forgotpasswordkey:n=""}=t,{captchakey:a=""}=t,{lang:l="en"}=t,{simplepasswordvalidation:u="false"}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,{translationurl:d=""}=t,{savecredentials:p=""}=t,{hastosetpass:m="false"}=t,{passwordregex:v=""}=t,g=!1,x=!0,E=!1,P=!1,S="",_=!1,A=!1,M=!1,O=!1,se=!1,U=window.navigator.userAgent,ce="",G=!1,X=!1,Z=!1,de,W,q=!1,le=!1,K="",ee="",ne,j=!1,H,z;ti({withLocale:"en",translations:{}});const I=()=>{fetch(d).then(J=>J.json()).then(J=>{Object.keys(J).forEach(ie=>{lr(ie,J[ie])})}).catch(J=>{console.log(J)})};Object.keys(ur).forEach(w=>{lr(w,ur[w])});const L={email:/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,password:/^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/},te=()=>{O?r(13,se=!1):r(13,se=!0)},$e=w=>!!(L.email.test(w)&&w.length<=100),Pe=()=>{r(12,O=!$e(S)),te()},re=w=>{switch(w){case"userNewPassword":r(20,q=!q),r(18,de.type=q?"text":"password",de);break;case"userConfirmPassword":r(21,le=!le),r(19,W.type=le?"text":"password",W);break}},Q=w=>{switch(w){case"ToEmailSuccess":r(6,E=!1),r(5,x=!1),r(7,P=!0);break;case"ToReset":r(5,x=!1),r(9,_=!0);break;case"ToSuccess":r(9,_=!1),r(10,A=!0);break}},Y=()=>{window.postMessage({type:"ToLogin"},window.location.href)},pe=()=>new Promise((w,J)=>{grecaptcha.ready(()=>{grecaptcha.execute(a,{action:"submit"}).then(ie=>{w(ie)})})}),$=w=>{w.preventDefault(),r(4,g=!0),pe().then(J=>{let ie=new URL(`${s}/v1/player/resetpassword`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json","g-recaptcha-response":J}};ie.searchParams.append("email",S),fetch(ie,nt).then(Ee=>{Ee.status==200?Q("ToEmailSuccess"):r(6,E=!0)}).finally(()=>{r(4,g=!1)})})},Ft=w=>{w.preventDefault();let J=new URL(`${s}/v1/player/ResetPasswordByHashKey`),nt={method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({hashKey:n,plainTextPassword:K})};fetch(J,nt).then(Ee=>(Ee.status==200?(r(24,j=!1),Q("ToSuccess")):r(24,j=!0),Ee.json())).then(Ee=>{r(14,ce=Ee.error)})},ro=()=>{n&&n.length>0&&Q("ToReset")},oo=()=>{!X&&!Z&&K&&ee?r(15,G=!0):r(15,G=!1)},st=w=>(u=="true"&&(L.password=/^(?!.* ).{8,20}$/),!!L.password.test(w)),so=(w,J,ie)=>{ie.id==="new-password"?(r(16,X=!st(J)),ee&&r(17,Z=K===ee?!st(J):!0)):r(17,Z=K===ee?!st(J):!0),oo()},no=()=>{ri(l)},io=()=>{r(25,H=o(m==="true"?"hasToSetPassTitle":"forgotPasswordTitle")),r(26,z=m==="true"?o("resetPasswordSubtitle"):"")},ao=()=>{let w=document.createElement("style");w.innerHTML=c,ne.appendChild(w)},lo=()=>{let w=new URL(f),J=document.createElement("style");fetch(w.href).then(ie=>ie.text()).then(ie=>{J.innerHTML=ie,setTimeout(()=>{ne.appendChild(J)},1),setTimeout(()=>{},500)})};ko(()=>at(this,null,function*(){ei(U)&&r(11,M=!0)}));const uo=()=>Y();function co(){S=this.value,r(8,S)}const fo=w=>$(w);function ho(){K=this.value,r(22,K)}function po(w){ke[w?"unshift":"push"](()=>{de=w,r(18,de)})}const mo=()=>re("userNewPassword"),go=()=>re("userNewPassword");function wo(){ee=this.value,r(23,ee)}function bo(w){ke[w?"unshift":"push"](()=>{W=w,r(19,W)})}const vo=()=>re("userConfirmPassword"),yo=()=>re("userConfirmPassword"),Po=w=>Ft(w),Eo=()=>Y();function _o(w){ke[w?"unshift":"push"](()=>{ne=w,r(3,ne)})}return e.$$set=w=>{"endpoint"in w&&r(34,s=w.endpoint),"forgotpasswordkey"in w&&r(35,n=w.forgotpasswordkey),"captchakey"in w&&r(0,a=w.captchakey),"lang"in w&&r(36,l=w.lang),"simplepasswordvalidation"in w&&r(1,u=w.simplepasswordvalidation),"clientstyling"in w&&r(37,c=w.clientstyling),"clientstylingurl"in w&&r(38,f=w.clientstylingurl),"translationurl"in w&&r(39,d=w.translationurl),"savecredentials"in w&&r(2,p=w.savecredentials),"hastosetpass"in w&&r(40,m=w.hastosetpass),"passwordregex"in w&&r(41,v=w.passwordregex)},e.$$.update=()=>{e.$$.dirty[1]&16&&n&&ro(),e.$$.dirty[1]&32&&l&&no(),e.$$.dirty[0]&8|e.$$.dirty[1]&64&&c&&ne&&ao(),e.$$.dirty[0]&8|e.$$.dirty[1]&128&&f&&ne&&lo(),e.$$.dirty[1]&256&&d&&I(),e.$$.dirty[1]&544&&m&&l&&io(),e.$$.dirty[1]&1024&&v&&(L.password=new RegExp(v))},[a,u,p,ne,g,x,E,P,S,_,A,M,O,se,ce,G,X,Z,de,W,q,le,K,ee,j,H,z,o,Pe,re,Y,$,Ft,so,s,n,l,c,f,d,m,v,uo,co,fo,ho,po,mo,go,wo,bo,vo,yo,Po,Eo,_o]}class to extends Qo{constructor(t){super(),Wo(this,t,wi,gi,yr,{endpoint:34,forgotpasswordkey:35,captchakey:0,lang:36,simplepasswordvalidation:1,clientstyling:37,clientstylingurl:38,translationurl:39,savecredentials:2,hastosetpass:40,passwordregex:41},oi,[-1,-1,-1])}get endpoint(){return this.$$.ctx[34]}set endpoint(t){this.$$set({endpoint:t}),ue()}get forgotpasswordkey(){return this.$$.ctx[35]}set forgotpasswordkey(t){this.$$set({forgotpasswordkey:t}),ue()}get captchakey(){return this.$$.ctx[0]}set captchakey(t){this.$$set({captchakey:t}),ue()}get lang(){return this.$$.ctx[36]}set lang(t){this.$$set({lang:t}),ue()}get simplepasswordvalidation(){return this.$$.ctx[1]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),ue()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(t){this.$$set({clientstyling:t}),ue()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),ue()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),ue()}get savecredentials(){return this.$$.ctx[2]}set savecredentials(t){this.$$set({savecredentials:t}),ue()}get hastosetpass(){return this.$$.ctx[40]}set hastosetpass(t){this.$$set({hastosetpass:t}),ue()}get passwordregex(){return this.$$.ctx[41]}set passwordregex(t){this.$$set({passwordregex:t}),ue()}}qo(to,{endpoint:{},forgotpasswordkey:{},captchakey:{},lang:{},simplepasswordvalidation:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},hastosetpass:{},passwordregex:{}},[],[],!0);exports.default=to;
@@ -509,7 +509,7 @@ var N = function() {
509
509
  return t;
510
510
  }, N.apply(this, arguments);
511
511
  };
512
- function Jo(e, t) {
512
+ function Yo(e, t) {
513
513
  var r = {};
514
514
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
515
515
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -674,7 +674,7 @@ var Br = {
674
674
  Promise: void 0,
675
675
  useDeprecatedSynchronousErrorHandling: !1,
676
676
  useDeprecatedNextContext: !1
677
- }, Yo = {
677
+ }, Jo = {
678
678
  setTimeout: function(e, t) {
679
679
  for (var r = [], o = 2; o < arguments.length; o++)
680
680
  r[o - 2] = arguments[o];
@@ -686,7 +686,7 @@ var Br = {
686
686
  delegate: void 0
687
687
  };
688
688
  function Ko(e) {
689
- Yo.setTimeout(function() {
689
+ Jo.setTimeout(function() {
690
690
  throw e;
691
691
  });
692
692
  }
@@ -1362,8 +1362,8 @@ function Us(e) {
1362
1362
  function Gs(e) {
1363
1363
  return e.replace(/^(.*?)-/, "");
1364
1364
  }
1365
- var Jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, js = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1366
- function Yt(e) {
1365
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, js = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1366
+ function Jt(e) {
1367
1367
  var t = {};
1368
1368
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, o, s) {
1369
1369
  return typeof s != "string" ? (t.minimumSignificantDigits = o.length, t.maximumSignificantDigits = o.length) : s === "+" ? t.minimumSignificantDigits = o.length : o[0] === "#" ? t.maximumSignificantDigits = o.length : (t.minimumSignificantDigits = o.length, t.maximumSignificantDigits = o.length + (typeof s == "string" ? s.length : 0)), "";
@@ -1530,18 +1530,18 @@ function Vs(e) {
1530
1530
  t.minimumIntegerDigits = s.stem.length;
1531
1531
  continue;
1532
1532
  }
1533
- if (Jt.test(s.stem)) {
1533
+ if (Yt.test(s.stem)) {
1534
1534
  if (s.options.length > 1)
1535
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1536
- s.stem.replace(Jt, function(u, c, f, d, p, m) {
1536
+ s.stem.replace(Yt, function(u, c, f, d, p, m) {
1537
1537
  return f === "*" ? t.minimumFractionDigits = c.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && m ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + m.length) : (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length), "";
1538
1538
  });
1539
1539
  var n = s.options[0];
1540
- n === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = N(N({}, t), Yt(n)));
1540
+ n === "w" ? t = N(N({}, t), { trailingZeroDisplay: "stripIfInteger" }) : n && (t = N(N({}, t), Jt(n)));
1541
1541
  continue;
1542
1542
  }
1543
1543
  if (jr.test(s.stem)) {
1544
- t = N(N({}, t), Yt(s.stem));
1544
+ t = N(N({}, t), Jt(s.stem));
1545
1545
  continue;
1546
1546
  }
1547
1547
  var a = Vr(s.stem);
@@ -3007,7 +3007,7 @@ var dt, Zs = new RegExp("^".concat(Gr.source, "*")), Ws = new RegExp("".concat(G
3007
3007
  function B(e, t) {
3008
3008
  return { start: e, end: t };
3009
3009
  }
3010
- var qs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qs = !!String.fromCodePoint, Js = !!Object.fromEntries, Ys = !!String.prototype.codePointAt, Ks = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
3010
+ var qs = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qs = !!String.fromCodePoint, Ys = !!Object.fromEntries, Js = !!String.prototype.codePointAt, Ks = !!String.prototype.trimStart, en = !!String.prototype.trimEnd, tn = !!Number.isSafeInteger, rn = tn ? Number.isSafeInteger : function(e) {
3011
3011
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3012
3012
  }, xt = !0;
3013
3013
  try {
@@ -3040,7 +3040,7 @@ var er = qs ? (
3040
3040
  }
3041
3041
  ), tr = (
3042
3042
  // native
3043
- Js ? Object.fromEntries : (
3043
+ Ys ? Object.fromEntries : (
3044
3044
  // Ponyfill
3045
3045
  function(t) {
3046
3046
  for (var r = {}, o = 0, s = t; o < s.length; o++) {
@@ -3050,7 +3050,7 @@ var er = qs ? (
3050
3050
  return r;
3051
3051
  }
3052
3052
  )
3053
- ), zr = Ys ? (
3053
+ ), zr = Js ? (
3054
3054
  // Native
3055
3055
  function(t, r) {
3056
3056
  return t.codePointAt(r);
@@ -3834,7 +3834,7 @@ var vn = (
3834
3834
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3835
3835
  var a = s || {};
3836
3836
  a.formatters;
3837
- var l = Jo(a, ["formatters"]);
3837
+ var l = Yo(a, ["formatters"]);
3838
3838
  this.ast = e.__parse(t, N(N({}, l), { locale: this.resolvedLocale }));
3839
3839
  } else
3840
3840
  this.ast = t;
@@ -3983,12 +3983,12 @@ const Qe = {};
3983
3983
  function Tn(e, t) {
3984
3984
  Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3985
3985
  }
3986
- function Jr(e) {
3986
+ function Yr(e) {
3987
3987
  return Qe[e];
3988
3988
  }
3989
3989
  function Sn(e) {
3990
3990
  return rt(e).map((t) => {
3991
- const r = Jr(t);
3991
+ const r = Yr(t);
3992
3992
  return [t, r ? [...r] : []];
3993
3993
  }).filter(([, t]) => t.length > 0);
3994
3994
  }
@@ -3996,7 +3996,7 @@ function Ht(e) {
3996
3996
  return e == null ? !1 : rt(e).some(
3997
3997
  (t) => {
3998
3998
  var r;
3999
- return (r = Jr(t)) == null ? void 0 : r.size;
3999
+ return (r = Yr(t)) == null ? void 0 : r.size;
4000
4000
  }
4001
4001
  );
4002
4002
  }
@@ -4006,7 +4006,7 @@ function Bn(e, t) {
4006
4006
  ).then((o) => Qr(e, ...o));
4007
4007
  }
4008
4008
  const Re = {};
4009
- function Yr(e) {
4009
+ function Jr(e) {
4010
4010
  if (!Ht(e))
4011
4011
  return e in Re ? Re[e] : Promise.resolve();
4012
4012
  const t = Sn(e);
@@ -4016,7 +4016,7 @@ function Yr(e) {
4016
4016
  )
4017
4017
  ).then(() => {
4018
4018
  if (Ht(e))
4019
- return Yr(e);
4019
+ return Jr(e);
4020
4020
  delete Re[e];
4021
4021
  }), Re[e];
4022
4022
  }
@@ -4070,7 +4070,7 @@ var An = Object.defineProperty, In = Object.defineProperties, Ln = Object.getOwn
4070
4070
  return e;
4071
4071
  }, Mn = (e, t) => In(e, Ln(t));
4072
4072
  let Nt;
4073
- const Je = et(null);
4073
+ const Ye = et(null);
4074
4074
  function ir(e) {
4075
4075
  return e.split("-").map((t, r, o) => o.slice(0, r + 1).join("-")).reverse();
4076
4076
  }
@@ -4081,7 +4081,7 @@ function rt(e, t = Ie().fallbackLocale) {
4081
4081
  function ye() {
4082
4082
  return Nt != null ? Nt : void 0;
4083
4083
  }
4084
- Je.subscribe((e) => {
4084
+ Ye.subscribe((e) => {
4085
4085
  Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4086
4086
  });
4087
4087
  const kn = (e) => {
@@ -4091,14 +4091,14 @@ const kn = (e) => {
4091
4091
  return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
4092
4092
  () => mt.set(!0),
4093
4093
  t
4094
- ) : mt.set(!0), Yr(e).then(() => {
4095
- Je.set(e);
4094
+ ) : mt.set(!0), Jr(e).then(() => {
4095
+ Ye.set(e);
4096
4096
  }).finally(() => {
4097
4097
  clearTimeout(r), mt.set(!1);
4098
4098
  });
4099
4099
  }
4100
- return Je.set(e);
4101
- }, be = Mn(Rn({}, Je), {
4100
+ return Ye.set(e);
4101
+ }, be = Mn(Rn({}, Ye), {
4102
4102
  set: kn
4103
4103
  }), ot = (e) => {
4104
4104
  const t = /* @__PURE__ */ Object.create(null);
@@ -4107,19 +4107,19 @@ const kn = (e) => {
4107
4107
  return s in t ? t[s] : t[s] = e(o);
4108
4108
  };
4109
4109
  };
4110
- var Dn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
4110
+ var Dn = Object.defineProperty, Je = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
4111
4111
  for (var r in t || (t = {}))
4112
4112
  Kr.call(t, r) && ar(e, r, t[r]);
4113
- if (Ye)
4114
- for (var r of Ye(t))
4113
+ if (Je)
4114
+ for (var r of Je(t))
4115
4115
  eo.call(t, r) && ar(e, r, t[r]);
4116
4116
  return e;
4117
4117
  }, Fe = (e, t) => {
4118
4118
  var r = {};
4119
4119
  for (var o in e)
4120
4120
  Kr.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
4121
- if (e != null && Ye)
4122
- for (var o of Ye(e))
4121
+ if (e != null && Je)
4122
+ for (var o of Je(e))
4123
4123
  t.indexOf(o) < 0 && eo.call(e, o) && (r[o] = e[o]);
4124
4124
  return r;
4125
4125
  };
@@ -4209,11 +4209,11 @@ const je = (e, t) => {
4209
4209
  );
4210
4210
  }
4211
4211
  return d;
4212
- }, Wn = (e, t) => zn(t).format(e), qn = (e, t) => Vn(t).format(e), Qn = (e, t) => $n(t).format(e), Jn = (e, t = ye()) => Wr(e, t), Yn = Le([be, Oe], () => Zn);
4212
+ }, Wn = (e, t) => zn(t).format(e), qn = (e, t) => Vn(t).format(e), Qn = (e, t) => $n(t).format(e), Yn = (e, t = ye()) => Wr(e, t), Jn = Le([be, Oe], () => Zn);
4213
4213
  Le([be], () => Wn);
4214
4214
  Le([be], () => qn);
4215
4215
  Le([be], () => Qn);
4216
- Le([be, Oe], () => Jn);
4216
+ Le([be, Oe], () => Yn);
4217
4217
  window.emWidgets = { topic: fs };
4218
4218
  const Kn = (e) => !!(e.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));
4219
4219
  function ei({ withLocale: e, translations: t }) {
@@ -4406,6 +4406,28 @@ const ur = {
4406
4406
  forgotChangePasswordDescription: "Sua senha foi alterada com sucesso.",
4407
4407
  forgotChangePasswordLogin: "Clique aqui para entrar",
4408
4408
  simplePasswordError: "A senha deve ter de 8 a 20 caracteres."
4409
+ },
4410
+ "en-us": {
4411
+ goToLogin: "Back to Sign In",
4412
+ forgotPasswordTitle: "Forgot Password",
4413
+ resetPasswordSubtitle: "Please reset your password.",
4414
+ hasToSetPassTitle: "Reset Password",
4415
+ forgotPasswordEmail: "Email",
4416
+ forgotPasswordEmailInputError: "Email should contain '@' and a 2-3 letter long domain.",
4417
+ forgotPasswordEmailError: "This email does not exist.",
4418
+ forgotPasswordReset: "Reset Password",
4419
+ forgotPasswordSuccess: "Success!",
4420
+ forgotPasswordSuccessDescription: "We sent an email with the instructions to reset your password.",
4421
+ forgotNewPasswordTitle: "New Password",
4422
+ forgotNewPasswordPassword: "Password",
4423
+ forgotNewPasswordPasswordError: "The password should be 8-20 characters long, and contain at least 1 uppercase letter, 1 number and 1 special character.",
4424
+ forgotNewPasswordConfirmPassword: "Confirm Password",
4425
+ forgotNewPasswordConfirmPasswordError: "Confirm password must match the new password and must follow the same rules.",
4426
+ forgotNewPasswordButton: "Change Password",
4427
+ forgotChangePasswordTitle: "Success!",
4428
+ forgotChangePasswordDescription: "Your password has been changed successfully.",
4429
+ forgotChangePasswordLogin: "Click here to Login",
4430
+ simplePasswordError: "Password must be 8-20 characters long."
4409
4431
  }
4410
4432
  }, { document: cr } = No;
4411
4433
  function ri(e) {
@@ -4555,7 +4577,7 @@ function ii(e) {
4555
4577
  let Pe = $e(e), re = Pe(e), Q = (
4556
4578
  /*invalidConfirmPassword*/
4557
4579
  e[17] && pr(e)
4558
- ), J = (
4580
+ ), Y = (
4559
4581
  /*setPasswordError*/
4560
4582
  e[24] && mr(e)
4561
4583
  );
@@ -4564,7 +4586,7 @@ function ii(e) {
4564
4586
  t = y("div"), r = y("div"), o = y("h4"), s = C(
4565
4587
  /*titleText*/
4566
4588
  e[25]
4567
- ), n = R(), H && H.c(), a = R(), l = y("form"), u = y("div"), c = y("label"), d = C(f), p = C(":"), m = y("span"), m.textContent = "*", v = R(), g = y("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = y("div"), A = y("label"), O = C(M), se = C(":"), U = y("span"), U.textContent = "*", ce = R(), G = y("input"), X = R(), re.c(), Z = R(), Q && Q.c(), de = R(), J && J.c(), W = R(), q = y("button"), K = C(le), i(o, "class", "FormHeaderTitle"), i(o, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(r, "part", "FormHeader"), i(m, "class", "FormRequired"), i(m, "part", "FormRequired"), i(c, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4589
+ ), n = R(), H && H.c(), a = R(), l = y("form"), u = y("div"), c = y("label"), d = C(f), p = C(":"), m = y("span"), m.textContent = "*", v = R(), g = y("input"), E = R(), L.c(), P = R(), te && te.c(), S = R(), _ = y("div"), A = y("label"), O = C(M), se = C(":"), U = y("span"), U.textContent = "*", ce = R(), G = y("input"), X = R(), re.c(), Z = R(), Q && Q.c(), de = R(), Y && Y.c(), W = R(), q = y("button"), K = C(le), i(o, "class", "FormHeaderTitle"), i(o, "part", "FormHeaderTitle"), i(r, "class", "FormHeader"), i(r, "part", "FormHeader"), i(m, "class", "FormRequired"), i(m, "part", "FormRequired"), i(c, "for", "NewPassword"), i(g, "type", "password"), i(g, "id", "new-password"), i(g, "autocomplete", x = /*savecredentials*/
4568
4590
  e[2] ? "new-password" : "off"), i(u, "class", "NewPassword"), i(u, "part", "NewPassword"), i(U, "class", "FormRequired"), i(U, "part", "FormRequired"), i(A, "for", "RetypePassword"), i(G, "type", "password"), i(G, "id", "RetypePassword"), i(_, "class", "ConfirmPassword"), i(_, "part", "ConfirmPassword"), i(q, "class", "resetPasswordButton"), i(q, "part", "resetPasswordButton"), q.disabled = ee = !/*activateSubmit*/
4569
4591
  e[15], i(l, "class", "FormContent"), i(l, "part", "FormContent"), i(t, "class", "FormForgotPassword test"), i(t, "part", "FormForgotPassword test");
4570
4592
  },
@@ -4577,7 +4599,7 @@ function ii(e) {
4577
4599
  G,
4578
4600
  /*userConfirmPassword*/
4579
4601
  e[23]
4580
- ), e[50](G), h(_, X), re.m(_, null), h(_, Z), Q && Q.m(_, null), h(l, de), J && J.m(l, null), h(l, W), h(l, q), h(q, K), ne || (j = [
4602
+ ), e[50](G), h(_, X), re.m(_, null), h(_, Z), Q && Q.m(_, null), h(l, de), Y && Y.m(l, null), h(l, W), h(l, q), h(q, K), ne || (j = [
4581
4603
  ae(
4582
4604
  g,
4583
4605
  "input",
@@ -4666,14 +4688,14 @@ function ii(e) {
4666
4688
  e[23]
4667
4689
  ), Pe === (Pe = $e(e)) && re ? re.p(e, $) : (re.d(1), re = Pe(e), re && (re.c(), re.m(_, Z))), /*invalidConfirmPassword*/
4668
4690
  e[17] ? Q ? Q.p(e, $) : (Q = pr(e), Q.c(), Q.m(_, null)) : Q && (Q.d(1), Q = null), /*setPasswordError*/
4669
- e[24] ? J ? J.p(e, $) : (J = mr(e), J.c(), J.m(l, W)) : J && (J.d(1), J = null), $[0] & /*$_*/
4691
+ e[24] ? Y ? Y.p(e, $) : (Y = mr(e), Y.c(), Y.m(l, W)) : Y && (Y.d(1), Y = null), $[0] & /*$_*/
4670
4692
  134217728 && le !== (le = /*$_*/
4671
4693
  e[27]("forgotNewPasswordButton") + "") && V(K, le), $[0] & /*activateSubmit*/
4672
4694
  32768 && ee !== (ee = !/*activateSubmit*/
4673
4695
  e[15]) && (q.disabled = ee);
4674
4696
  },
4675
4697
  d(pe) {
4676
- pe && F(t), H && H.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), J && J.d(), ne = !1, ve(j);
4698
+ pe && F(t), H && H.d(), e[46](null), L.d(), te && te.d(), e[50](null), re.d(), Q && Q.d(), Y && Y.d(), ne = !1, ve(j);
4677
4699
  }
4678
4700
  };
4679
4701
  }
@@ -5152,16 +5174,16 @@ function mi(e) {
5152
5174
  }
5153
5175
  function gi(e, t, r) {
5154
5176
  let o;
5155
- Ho(e, Yn, (w) => r(27, o = w));
5177
+ Ho(e, Jn, (w) => r(27, o = w));
5156
5178
  let { endpoint: s = "" } = t, { forgotpasswordkey: n = "" } = t, { captchakey: a = "" } = t, { lang: l = "en" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: p = "" } = t, { hastosetpass: m = "false" } = t, { passwordregex: v = "" } = t, g = !1, x = !0, E = !1, P = !1, S = "", _ = !1, A = !1, M = !1, O = !1, se = !1, U = window.navigator.userAgent, ce = "", G = !1, X = !1, Z = !1, de, W, q = !1, le = !1, K = "", ee = "", ne, j = !1, H, z;
5157
5179
  ei({ withLocale: "en", translations: {} });
5158
5180
  const I = () => {
5159
- fetch(d).then((Y) => Y.json()).then((Y) => {
5160
- Object.keys(Y).forEach((ie) => {
5161
- lr(ie, Y[ie]);
5181
+ fetch(d).then((J) => J.json()).then((J) => {
5182
+ Object.keys(J).forEach((ie) => {
5183
+ lr(ie, J[ie]);
5162
5184
  });
5163
- }).catch((Y) => {
5164
- console.log(Y);
5185
+ }).catch((J) => {
5186
+ console.log(J);
5165
5187
  });
5166
5188
  };
5167
5189
  Object.keys(ur).forEach((w) => {
@@ -5195,22 +5217,22 @@ function gi(e, t, r) {
5195
5217
  r(9, _ = !1), r(10, A = !0);
5196
5218
  break;
5197
5219
  }
5198
- }, J = () => {
5220
+ }, Y = () => {
5199
5221
  window.postMessage({ type: "ToLogin" }, window.location.href);
5200
- }, pe = () => new Promise((w, Y) => {
5222
+ }, pe = () => new Promise((w, J) => {
5201
5223
  grecaptcha.ready(() => {
5202
5224
  grecaptcha.execute(a, { action: "submit" }).then((ie) => {
5203
5225
  w(ie);
5204
5226
  });
5205
5227
  });
5206
5228
  }), $ = (w) => {
5207
- w.preventDefault(), r(4, g = !0), pe().then((Y) => {
5229
+ w.preventDefault(), r(4, g = !0), pe().then((J) => {
5208
5230
  let ie = new URL(`${s}/v1/player/resetpassword`), nt = {
5209
5231
  method: "POST",
5210
5232
  headers: {
5211
5233
  "Content-Type": "application/json",
5212
5234
  Accept: "application/json",
5213
- "g-recaptcha-response": Y
5235
+ "g-recaptcha-response": J
5214
5236
  }
5215
5237
  };
5216
5238
  ie.searchParams.append("email", S), fetch(ie, nt).then((Ee) => {
@@ -5221,7 +5243,7 @@ function gi(e, t, r) {
5221
5243
  });
5222
5244
  }, Ft = (w) => {
5223
5245
  w.preventDefault();
5224
- let Y = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
5246
+ let J = new URL(`${s}/v1/player/ResetPasswordByHashKey`), nt = {
5225
5247
  method: "POST",
5226
5248
  headers: {
5227
5249
  "Content-Type": "application/json",
@@ -5232,15 +5254,15 @@ function gi(e, t, r) {
5232
5254
  plainTextPassword: K
5233
5255
  })
5234
5256
  };
5235
- fetch(Y, nt).then((Ee) => (Ee.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Ee.json())).then((Ee) => {
5257
+ fetch(J, nt).then((Ee) => (Ee.status == 200 ? (r(24, j = !1), Q("ToSuccess")) : r(24, j = !0), Ee.json())).then((Ee) => {
5236
5258
  r(14, ce = Ee.error);
5237
5259
  });
5238
5260
  }, to = () => {
5239
5261
  n && n.length > 0 && Q("ToReset");
5240
5262
  }, ro = () => {
5241
5263
  !X && !Z && K && ee ? r(15, G = !0) : r(15, G = !1);
5242
- }, st = (w) => (u == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), oo = (w, Y, ie) => {
5243
- ie.id === "new-password" ? (r(16, X = !st(Y)), ee && r(17, Z = K === ee ? !st(Y) : !0)) : r(17, Z = K === ee ? !st(Y) : !0), ro();
5264
+ }, st = (w) => (u == "true" && (L.password = /^(?!.* ).{8,20}$/), !!L.password.test(w)), oo = (w, J, ie) => {
5265
+ ie.id === "new-password" ? (r(16, X = !st(J)), ee && r(17, Z = K === ee ? !st(J) : !0)) : r(17, Z = K === ee ? !st(J) : !0), ro();
5244
5266
  }, so = () => {
5245
5267
  ti(l);
5246
5268
  }, no = () => {
@@ -5249,11 +5271,11 @@ function gi(e, t, r) {
5249
5271
  let w = document.createElement("style");
5250
5272
  w.innerHTML = c, ne.appendChild(w);
5251
5273
  }, ao = () => {
5252
- let w = new URL(f), Y = document.createElement("style");
5274
+ let w = new URL(f), J = document.createElement("style");
5253
5275
  fetch(w.href).then((ie) => ie.text()).then((ie) => {
5254
- Y.innerHTML = ie, setTimeout(
5276
+ J.innerHTML = ie, setTimeout(
5255
5277
  () => {
5256
- ne.appendChild(Y);
5278
+ ne.appendChild(J);
5257
5279
  },
5258
5280
  1
5259
5281
  ), setTimeout(
@@ -5266,7 +5288,7 @@ function gi(e, t, r) {
5266
5288
  Mo(() => at(this, null, function* () {
5267
5289
  Kn(U) && r(11, M = !0);
5268
5290
  }));
5269
- const lo = () => J();
5291
+ const lo = () => Y();
5270
5292
  function uo() {
5271
5293
  S = this.value, r(8, S);
5272
5294
  }
@@ -5288,7 +5310,7 @@ function gi(e, t, r) {
5288
5310
  W = w, r(19, W);
5289
5311
  });
5290
5312
  }
5291
- const bo = () => re("userConfirmPassword"), vo = () => re("userConfirmPassword"), yo = (w) => Ft(w), Po = () => J();
5313
+ const bo = () => re("userConfirmPassword"), vo = () => re("userConfirmPassword"), yo = (w) => Ft(w), Po = () => Y();
5292
5314
  function Eo(w) {
5293
5315
  ke[w ? "unshift" : "push"](() => {
5294
5316
  ne = w, r(3, ne);
@@ -5338,7 +5360,7 @@ function gi(e, t, r) {
5338
5360
  o,
5339
5361
  Pe,
5340
5362
  re,
5341
- J,
5363
+ Y,
5342
5364
  $,
5343
5365
  Ft,
5344
5366
  oo,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-BMTADcSc.cjs")).then(({default:t})=>{!customElements.get("general-player-forgot-password-form-nd")&&customElements.define("general-player-forgot-password-form-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-BFzighuc.cjs")).then(({default:t})=>{!customElements.get("general-player-forgot-password-form-nd")&&customElements.define("general-player-forgot-password-form-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd-Bfe3V-G-.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd-ojPTO1NH.js").then(({ default: t }) => {
14
14
  !customElements.get("general-player-forgot-password-form-nd") && customElements.define(
15
15
  "general-player-forgot-password-form-nd",
16
16
  t.element
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-forgot-password-form-nd",
3
- "version": "1.50.1",
3
+ "version": "1.52.0",
4
4
  "type": "module",
5
5
  "main": "es2015/general-player-forgot-password-form-nd.cjs",
6
6
  "module": "es2015/general-player-forgot-password-form-nd.js",