@everymatrix/general-player-forgot-password-form-nd 1.85.17 → 1.85.19
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.
- package/components/{GeneralPlayerForgotPasswordFormNd-DSdVVjUO.js → GeneralPlayerForgotPasswordFormNd--lcRUmPc.js} +4 -1
- package/components/{GeneralPlayerForgotPasswordFormNd-CxWaMZ-H.js → GeneralPlayerForgotPasswordFormNd-DQXQ3vdz.js} +4 -1
- package/components/{GeneralPlayerForgotPasswordFormNd-DKhLI8CP.cjs → GeneralPlayerForgotPasswordFormNd-zHNWL0BM.cjs} +1 -1
- package/components/{GeneralPlayerForgotPasswordSmsForm-DUo-Gv6e.cjs → GeneralPlayerForgotPasswordSmsForm-ByDXjWJp.cjs} +1 -1
- package/components/{GeneralPlayerForgotPasswordSmsForm-BHCK5b0Y.js → GeneralPlayerForgotPasswordSmsForm-D5AmVWDf.js} +1 -1
- package/components/{GeneralPlayerForgotPasswordSmsForm-C94Fg4vY.js → GeneralPlayerForgotPasswordSmsForm-NyHeBvzg.js} +1 -1
- package/es2015/general-player-forgot-password-form-nd.cjs +1 -1
- package/es2015/general-player-forgot-password-form-nd.js +1 -1
- package/esnext/general-player-forgot-password-form-nd.js +1 -1
- package/package.json +1 -1
|
@@ -4528,6 +4528,7 @@ gt([Fe], () => lh);
|
|
|
4528
4528
|
gt([Fe, bt], () => dh);
|
|
4529
4529
|
window.emWidgets = { topic: xd };
|
|
4530
4530
|
const hh = (r) => !!(r.toLowerCase().match(/android/i) || r.toLowerCase().match(/blackberry|bb/i) || r.toLowerCase().match(/iphone|ipad|ipod/i) || r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4531
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4531
4532
|
function ch({ withLocale: r, translations: e }) {
|
|
4532
4533
|
Fe.subscribe((t) => {
|
|
4533
4534
|
t == null && (bt.set(e), Fe.set(r));
|
|
@@ -4546,6 +4547,8 @@ function ph(r, e) {
|
|
|
4546
4547
|
}
|
|
4547
4548
|
}
|
|
4548
4549
|
function mh(r, e) {
|
|
4550
|
+
if (!r || !e)
|
|
4551
|
+
return;
|
|
4549
4552
|
const t = new URL(e);
|
|
4550
4553
|
fetch(t.href).then((i) => i.text()).then((i) => {
|
|
4551
4554
|
const s = document.createElement("style");
|
|
@@ -4840,7 +4843,7 @@ if (typeof window != "undefined") {
|
|
|
4840
4843
|
}
|
|
4841
4844
|
};
|
|
4842
4845
|
};
|
|
4843
|
-
customElements.define = r(customElements.define), import("./GeneralPlayerForgotPasswordSmsForm-
|
|
4846
|
+
customElements.define = r(customElements.define), import("./GeneralPlayerForgotPasswordSmsForm-D5AmVWDf.js").then(({ default: e }) => {
|
|
4844
4847
|
!customElements.get("general-player-forgot-password-sms-form") && customElements.define(
|
|
4845
4848
|
"general-player-forgot-password-sms-form",
|
|
4846
4849
|
e.element
|
|
@@ -4491,6 +4491,7 @@ ct([He], () => Vu);
|
|
|
4491
4491
|
ct([He, ft], () => Uu);
|
|
4492
4492
|
window.emWidgets = { topic: td };
|
|
4493
4493
|
const ju = (t) => !!(t.toLowerCase().match(/android/i) || t.toLowerCase().match(/blackberry|bb/i) || t.toLowerCase().match(/iphone|ipad|ipod/i) || t.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4494
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4494
4495
|
function Gu({ withLocale: t, translations: e }) {
|
|
4495
4496
|
He.subscribe((r) => {
|
|
4496
4497
|
r == null && (ft.set(e), He.set(t));
|
|
@@ -4509,6 +4510,8 @@ function Wu(t, e) {
|
|
|
4509
4510
|
}
|
|
4510
4511
|
}
|
|
4511
4512
|
function Yu(t, e) {
|
|
4513
|
+
if (!t || !e)
|
|
4514
|
+
return;
|
|
4512
4515
|
const r = new URL(e);
|
|
4513
4516
|
fetch(r.href).then((i) => i.text()).then((i) => {
|
|
4514
4517
|
const s = document.createElement("style");
|
|
@@ -4803,7 +4806,7 @@ if (typeof window < "u") {
|
|
|
4803
4806
|
}
|
|
4804
4807
|
};
|
|
4805
4808
|
};
|
|
4806
|
-
customElements.define = t(customElements.define), import("./GeneralPlayerForgotPasswordSmsForm-
|
|
4809
|
+
customElements.define = t(customElements.define), import("./GeneralPlayerForgotPasswordSmsForm-NyHeBvzg.js").then(({ default: e }) => {
|
|
4807
4810
|
!customElements.get("general-player-forgot-password-sms-form") && customElements.define(
|
|
4808
4811
|
"general-player-forgot-password-sms-form",
|
|
4809
4812
|
e.element
|
|
@@ -18,7 +18,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|
|
18
18
|
`+t.map(function(i,s){return s+1+") "+i.toString()}).join(`
|
|
19
19
|
`):"",this.name="UnsubscriptionError",this.errors=t}});function Ii(r,e){if(r){var t=r.indexOf(e);0<=t&&r.splice(t,1)}}var Br=function(){function r(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return r.prototype.unsubscribe=function(){var e,t,i,s,o;if(!this.closed){this.closed=!0;var n=this._parentage;if(n)if(this._parentage=null,Array.isArray(n))try{for(var a=Si(n),l=a.next();!l.done;l=a.next()){var d=l.value;d.remove(this)}}catch(g){e={error:g}}finally{try{l&&!l.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}else n.remove(this);var u=this.initialTeardown;if(Le(u))try{u()}catch(g){o=g instanceof Qr?g.errors:[g]}var h=this._finalizers;if(h){this._finalizers=null;try{for(var f=Si(h),m=f.next();!m.done;m=f.next()){var _=m.value;try{Zs(_)}catch(g){o=o!=null?o:[],g instanceof Qr?o=Ti(Ti([],Ai(o)),Ai(g.errors)):o.push(g)}}}catch(g){i={error:g}}finally{try{m&&!m.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}}if(o)throw new Qr(o)}},r.prototype.add=function(e){var t;if(e&&e!==this)if(this.closed)Zs(e);else{if(e instanceof r){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}},r.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},r.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},r.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ii(t,e)},r.prototype.remove=function(e){var t=this._finalizers;t&&Ii(t,e),e instanceof r&&e._removeParent(this)},r.EMPTY=function(){var e=new r;return e.closed=!0,e}(),r}(),Mn=Br.EMPTY;function Ln(r){return r instanceof Br||r&&"closed"in r&&Le(r.remove)&&Le(r.add)&&Le(r.unsubscribe)}function Zs(r){Le(r)?r():r.unsubscribe()}var wd={Promise:void 0},xd={setTimeout:function(r,e){for(var t=[],i=2;i<arguments.length;i++)t[i-2]=arguments[i];return setTimeout.apply(void 0,Ti([r,e],Ai(t)))},clearTimeout:function(r){return clearTimeout(r)},delegate:void 0};function Pd(r){xd.setTimeout(function(){throw r})}function Xs(){}function fr(r){r()}var Bn=function(r){Zt(e,r);function e(t){var i=r.call(this)||this;return i.isStopped=!1,t?(i.destination=t,Ln(t)&&t.add(i)):i.destination=Sd,i}return e.create=function(t,i,s){return new Oi(t,i,s)},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){try{this.destination.error(t)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(Br),Ed=function(){function r(e){this.partialObserver=e}return r.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(i){sr(i)}},r.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(i){sr(i)}else sr(e)},r.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(t){sr(t)}},r}(),Oi=function(r){Zt(e,r);function e(t,i,s){var o=r.call(this)||this,n;return Le(t)||!t?n={next:t!=null?t:void 0,error:i!=null?i:void 0,complete:s!=null?s:void 0}:n=t,o.destination=new Ed(n),o}return e}(Bn);function sr(r){Pd(r)}function Cd(r){throw r}var Sd={closed:!0,next:Xs,error:Cd,complete:Xs},Ad=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Td(r){return r}function Id(r){return r.length===0?Td:r.length===1?r[0]:function(t){return r.reduce(function(i,s){return s(i)},t)}}var Js=function(){function r(e){e&&(this._subscribe=e)}return r.prototype.lift=function(e){var t=new r;return t.source=this,t.operator=e,t},r.prototype.subscribe=function(e,t,i){var s=this,o=Nd(e)?e:new Oi(e,t,i);return fr(function(){var n=s,a=n.operator,l=n.source;o.add(a?a.call(o,l):l?s._subscribe(o):s._trySubscribe(o))}),o},r.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},r.prototype.forEach=function(e,t){var i=this;return t=Ks(t),new t(function(s,o){var n=new Oi({next:function(a){try{e(a)}catch(l){o(l),n.unsubscribe()}},error:o,complete:s});i.subscribe(n)})},r.prototype._subscribe=function(e){var t;return(t=this.source)===null||t===void 0?void 0:t.subscribe(e)},r.prototype[Ad]=function(){return this},r.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Id(e)(this)},r.prototype.toPromise=function(e){var t=this;return e=Ks(e),new e(function(i,s){var o;t.subscribe(function(n){return o=n},function(n){return s(n)},function(){return i(o)})})},r.create=function(e){return new r(e)},r}();function Ks(r){var e;return(e=r!=null?r:wd.Promise)!==null&&e!==void 0?e:Promise}function Od(r){return r&&Le(r.next)&&Le(r.error)&&Le(r.complete)}function Nd(r){return r&&r instanceof Bn||Od(r)&&Ln(r)}var kd=kn(function(r){return function(){r(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Rn=function(r){Zt(e,r);function e(){var t=r.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return e.prototype.lift=function(t){var i=new Qs(this,this);return i.operator=t,i},e.prototype._throwIfClosed=function(){if(this.closed)throw new kd},e.prototype.next=function(t){var i=this;fr(function(){var s,o;if(i._throwIfClosed(),!i.isStopped){i.currentObservers||(i.currentObservers=Array.from(i.observers));try{for(var n=Si(i.currentObservers),a=n.next();!a.done;a=n.next()){var l=a.value;l.next(t)}}catch(d){s={error:d}}finally{try{a&&!a.done&&(o=n.return)&&o.call(n)}finally{if(s)throw s.error}}}})},e.prototype.error=function(t){var i=this;fr(function(){if(i._throwIfClosed(),!i.isStopped){i.hasError=i.isStopped=!0,i.thrownError=t;for(var s=i.observers;s.length;)s.shift().error(t)}})},e.prototype.complete=function(){var t=this;fr(function(){if(t._throwIfClosed(),!t.isStopped){t.isStopped=!0;for(var i=t.observers;i.length;)i.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(t){return this._throwIfClosed(),r.prototype._trySubscribe.call(this,t)},e.prototype._subscribe=function(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)},e.prototype._innerSubscribe=function(t){var i=this,s=this,o=s.hasError,n=s.isStopped,a=s.observers;return o||n?Mn:(this.currentObservers=null,a.push(t),new Br(function(){i.currentObservers=null,Ii(a,t)}))},e.prototype._checkFinalizedStatuses=function(t){var i=this,s=i.hasError,o=i.thrownError,n=i.isStopped;s?t.error(o):n&&t.complete()},e.prototype.asObservable=function(){var t=new Js;return t.source=this,t},e.create=function(t,i){return new Qs(t,i)},e}(Js),Qs=function(r){Zt(e,r);function e(t,i){var s=r.call(this)||this;return s.destination=t,s.source=i,s}return e.prototype.next=function(t){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.next)===null||s===void 0||s.call(i,t)},e.prototype.error=function(t){var i,s;(s=(i=this.destination)===null||i===void 0?void 0:i.error)===null||s===void 0||s.call(i,t)},e.prototype.complete=function(){var t,i;(i=(t=this.destination)===null||t===void 0?void 0:t.complete)===null||i===void 0||i.call(t)},e.prototype._subscribe=function(t){var i,s;return(s=(i=this.source)===null||i===void 0?void 0:i.subscribe(t))!==null&&s!==void 0?s:Mn},e}(Rn),Dn={now:function(){return(Dn.delegate||Date).now()},delegate:void 0},Md=function(r){Zt(e,r);function e(t,i,s){t===void 0&&(t=1/0),i===void 0&&(i=1/0),s===void 0&&(s=Dn);var o=r.call(this)||this;return o._bufferSize=t,o._windowTime=i,o._timestampProvider=s,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=i===1/0,o._bufferSize=Math.max(1,t),o._windowTime=Math.max(1,i),o}return e.prototype.next=function(t){var i=this,s=i.isStopped,o=i._buffer,n=i._infiniteTimeWindow,a=i._timestampProvider,l=i._windowTime;s||(o.push(t),!n&&o.push(a.now()+l)),this._trimBuffer(),r.prototype.next.call(this,t)},e.prototype._subscribe=function(t){this._throwIfClosed(),this._trimBuffer();for(var i=this._innerSubscribe(t),s=this,o=s._infiniteTimeWindow,n=s._buffer,a=n.slice(),l=0;l<a.length&&!t.closed;l+=o?1:2)t.next(a[l]);return this._checkFinalizedStatuses(t),i},e.prototype._trimBuffer=function(){var t=this,i=t._bufferSize,s=t._timestampProvider,o=t._buffer,n=t._infiniteTimeWindow,a=(n?1:2)*i;if(i<1/0&&a<o.length&&o.splice(0,o.length-a),!n){for(var l=s.now(),d=0,u=1;u<o.length&&o[u]<=l;u+=2)d=u;d&&o.splice(0,d+1)}},e}(Rn);const eo=[],to={},Ld=(r,e=0)=>{if(eo.indexOf(r)==-1){const t=new Md(e);to[r]=t,eo.push(r)}return to[r]},rt=[];function Bd(r,e){return{subscribe:Rr(r,e).subscribe}}function Rr(r,e=le){let t;const i=new Set;function s(a){if(ss(r,a)&&(r=a,t)){const l=!rt.length;for(const d of i)d[1](),rt.push(d,r);if(l){for(let d=0;d<rt.length;d+=2)rt[d][0](rt[d+1]);rt.length=0}}}function o(a){s(a(r))}function n(a,l=le){const d=[a,l];return i.add(d),i.size===1&&(t=e(s,o)||le),a(r),()=>{i.delete(d),i.size===0&&t&&(t(),t=null)}}return{set:s,update:o,subscribe:n}}function vt(r,e,t){const i=!Array.isArray(r),s=i?[r]:r;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=e.length<2;return Bd(t,(n,a)=>{let l=!1;const d=[];let u=0,h=le;const f=()=>{if(u)return;h();const _=e(i?d[0]:d,n,a);o?n(_):h=Fe(_)?_:le},m=s.map((_,g)=>vn(_,v=>{d[g]=v,u&=~(1<<g),l&&f()},()=>{u|=1<<g}));return l=!0,f(),function(){Se(m),h(),l=!1}})}function Rd(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Dd=function(e){return Hd(e)&&!zd(e)};function Hd(r){return!!r&&typeof r=="object"}function zd(r){var e=Object.prototype.toString.call(r);return e==="[object RegExp]"||e==="[object Date]"||Ud(r)}var Fd=typeof Symbol=="function"&&Symbol.for,Vd=Fd?Symbol.for("react.element"):60103;function Ud(r){return r.$$typeof===Vd}function $d(r){return Array.isArray(r)?[]:{}}function zt(r,e){return e.clone!==!1&&e.isMergeableObject(r)?ct($d(r),r,e):r}function jd(r,e,t){return r.concat(e).map(function(i){return zt(i,t)})}function Gd(r,e){if(!e.customMerge)return ct;var t=e.customMerge(r);return typeof t=="function"?t:ct}function qd(r){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(r).filter(function(e){return Object.propertyIsEnumerable.call(r,e)}):[]}function ro(r){return Object.keys(r).concat(qd(r))}function Hn(r,e){try{return e in r}catch(t){return!1}}function Wd(r,e){return Hn(r,e)&&!(Object.hasOwnProperty.call(r,e)&&Object.propertyIsEnumerable.call(r,e))}function Yd(r,e,t){var i={};return t.isMergeableObject(r)&&ro(r).forEach(function(s){i[s]=zt(r[s],t)}),ro(e).forEach(function(s){Wd(r,s)||(Hn(r,s)&&t.isMergeableObject(e[s])?i[s]=Gd(s,t)(r[s],e[s],t):i[s]=zt(e[s],t))}),i}function ct(r,e,t){t=t||{},t.arrayMerge=t.arrayMerge||jd,t.isMergeableObject=t.isMergeableObject||Dd,t.cloneUnlessOtherwiseSpecified=zt;var i=Array.isArray(e),s=Array.isArray(r),o=i===s;return o?i?t.arrayMerge(r,e,t):Yd(r,e,t):zt(e,t)}ct.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,s){return ct(i,s,t)},{})};var Zd=ct,Xd=Zd;const Jd=Rd(Xd);var Ni=function(r,e){return Ni=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])},Ni(r,e)};function Dr(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Ni(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Te=function(){return Te=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Te.apply(this,arguments)};function Kd(r,e){var t={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(r);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(r,i[s])&&(t[i[s]]=r[i[s]]);return t}function ei(r,e,t){if(t||arguments.length===2)for(var i=0,s=e.length,o;i<s;i++)(o||!(i in e))&&(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return r.concat(o||Array.prototype.slice.call(e))}function ti(r,e){var t=e&&e.cache?e.cache:ou,i=e&&e.serializer?e.serializer:iu,s=e&&e.strategy?e.strategy:tu;return s(r,{cache:t,serializer:i})}function Qd(r){return r==null||typeof r=="number"||typeof r=="boolean"}function eu(r,e,t,i){var s=Qd(i)?i:t(i),o=e.get(s);return typeof o=="undefined"&&(o=r.call(this,i),e.set(s,o)),o}function zn(r,e,t){var i=Array.prototype.slice.call(arguments,3),s=t(i),o=e.get(s);return typeof o=="undefined"&&(o=r.apply(this,i),e.set(s,o)),o}function Fn(r,e,t,i,s){return t.bind(e,r,i,s)}function tu(r,e){var t=r.length===1?eu:zn;return Fn(r,this,t,e.cache.create(),e.serializer)}function ru(r,e){return Fn(r,this,zn,e.cache.create(),e.serializer)}var iu=function(){return JSON.stringify(arguments)},su=function(){function r(){this.cache=Object.create(null)}return r.prototype.get=function(e){return this.cache[e]},r.prototype.set=function(e,t){this.cache[e]=t},r}(),ou={create:function(){return new su}},ri={variadic:ru},Pr=function(){return Pr=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Pr.apply(this,arguments)};var O;(function(r){r[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(O||(O={}));var q;(function(r){r[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag"})(q||(q={}));var ft;(function(r){r[r.number=0]="number",r[r.dateTime=1]="dateTime"})(ft||(ft={}));function io(r){return r.type===q.literal}function nu(r){return r.type===q.argument}function Vn(r){return r.type===q.number}function Un(r){return r.type===q.date}function $n(r){return r.type===q.time}function jn(r){return r.type===q.select}function Gn(r){return r.type===q.plural}function au(r){return r.type===q.pound}function qn(r){return r.type===q.tag}function Wn(r){return!!(r&&typeof r=="object"&&r.type===ft.number)}function ki(r){return!!(r&&typeof r=="object"&&r.type===ft.dateTime)}var Yn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,lu=/(?:[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 du(r){var e={};return r.replace(lu,function(t){var i=t.length;switch(t[0]){case"G":e.era=i===4?"long":i===5?"narrow":"short";break;case"y":e.year=i===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":e.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=i===4?"long":i===5?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][i-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][i-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][i-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][i-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][i-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":e.minute=["numeric","2-digit"][i-1];break;case"s":e.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=i<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""}),e}var K=function(){return K=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++){t=arguments[i];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},K.apply(this,arguments)};var uu=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hu(r){if(r.length===0)throw new Error("Number skeleton cannot be empty");for(var e=r.split(uu).filter(function(f){return f.length>0}),t=[],i=0,s=e;i<s.length;i++){var o=s[i],n=o.split("/");if(n.length===0)throw new Error("Invalid number skeleton");for(var a=n[0],l=n.slice(1),d=0,u=l;d<u.length;d++){var h=u[d];if(h.length===0)throw new Error("Invalid number skeleton")}t.push({stem:a,options:l})}return t}function cu(r){return r.replace(/^(.*?)-/,"")}var so=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zn=/^(@+)?(\+|#+)?[rs]?$/g,fu=/(\*)(0+)|(#+)(0+)|(0+)/g,Xn=/^(0+)$/;function oo(r){var e={};return r[r.length-1]==="r"?e.roundingPriority="morePrecision":r[r.length-1]==="s"&&(e.roundingPriority="lessPrecision"),r.replace(Zn,function(t,i,s){return typeof s!="string"?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):s==="+"?e.minimumSignificantDigits=i.length:i[0]==="#"?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+(typeof s=="string"?s.length:0)),""}),e}function Jn(r){switch(r){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 pu(r){var e;if(r[0]==="E"&&r[1]==="E"?(e={notation:"engineering"},r=r.slice(2)):r[0]==="E"&&(e={notation:"scientific"},r=r.slice(1)),e){var t=r.slice(0,2);if(t==="+!"?(e.signDisplay="always",r=r.slice(2)):t==="+?"&&(e.signDisplay="exceptZero",r=r.slice(2)),!Xn.test(r))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=r.length}return e}function no(r){var e={},t=Jn(r);return t||e}function mu(r){for(var e={},t=0,i=r;t<i.length;t++){var s=i[t];switch(s.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=s.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=cu(s.options[0]);continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=K(K(K({},e),{notation:"scientific"}),s.options.reduce(function(l,d){return K(K({},l),no(d))},{}));continue;case"engineering":e=K(K(K({},e),{notation:"engineering"}),s.options.reduce(function(l,d){return K(K({},l),no(d))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(s.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.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(fu,function(l,d,u,h,f,m){if(d)e.minimumIntegerDigits=u.length;else{if(h&&f)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(Xn.test(s.stem)){e.minimumIntegerDigits=s.stem.length;continue}if(so.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(so,function(l,d,u,h,f,m){return u==="*"?e.minimumFractionDigits=d.length:h&&h[0]==="#"?e.maximumFractionDigits=h.length:f&&m?(e.minimumFractionDigits=f.length,e.maximumFractionDigits=f.length+m.length):(e.minimumFractionDigits=d.length,e.maximumFractionDigits=d.length),""});var o=s.options[0];o==="w"?e=K(K({},e),{trailingZeroDisplay:"stripIfInteger"}):o&&(e=K(K({},e),oo(o)));continue}if(Zn.test(s.stem)){e=K(K({},e),oo(s.stem));continue}var n=Jn(s.stem);n&&(e=K(K({},e),n));var a=pu(s.stem);a&&(e=K(K({},e),a))}return e}var or={"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 _u(r,e){for(var t="",i=0;i<r.length;i++){var s=r.charAt(i);if(s==="j"){for(var o=0;i+1<r.length&&r.charAt(i+1)===s;)o++,i++;var n=1+(o&1),a=o<2?1:3+(o>>1),l="a",d=gu(e);for((d=="H"||d=="k")&&(a=0);a-- >0;)t+=l;for(;n-- >0;)t=d+t}else s==="J"?t+="H":t+=s}return t}function gu(r){var e=r.hourCycle;if(e===void 0&&r.hourCycles&&r.hourCycles.length&&(e=r.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var t=r.language,i;t!=="root"&&(i=r.maximize().region);var s=or[i||""]||or[t||""]||or["".concat(t,"-001")]||or["001"];return s[0]}var ii,bu=new RegExp("^".concat(Yn.source,"*")),vu=new RegExp("".concat(Yn.source,"*$"));function M(r,e){return{start:r,end:e}}var yu=!!String.prototype.startsWith&&"_a".startsWith("a",1),wu=!!String.fromCodePoint,xu=!!Object.fromEntries,Pu=!!String.prototype.codePointAt,Eu=!!String.prototype.trimStart,Cu=!!String.prototype.trimEnd,Su=!!Number.isSafeInteger,Au=Su?Number.isSafeInteger:function(r){return typeof r=="number"&&isFinite(r)&&Math.floor(r)===r&&Math.abs(r)<=9007199254740991},Mi=!0;try{var Tu=Qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Mi=((ii=Tu.exec("a"))===null||ii===void 0?void 0:ii[0])==="a"}catch(r){Mi=!1}var ao=yu?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Li=wu?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i="",s=e.length,o=0,n;s>o;){if(n=e[o++],n>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(((n-=65536)>>10)+55296,n%1024+56320)}return i},lo=xu?Object.fromEntries:function(e){for(var t={},i=0,s=e;i<s.length;i++){var o=s[i],n=o[0],a=o[1];t[n]=a}return t},Kn=Pu?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var s=e.charCodeAt(t),o;return s<55296||s>56319||t+1===i||(o=e.charCodeAt(t+1))<56320||o>57343?s:(s-55296<<10)+(o-56320)+65536}},Iu=Eu?function(e){return e.trimStart()}:function(e){return e.replace(bu,"")},Ou=Cu?function(e){return e.trimEnd()}:function(e){return e.replace(vu,"")};function Qn(r,e){return new RegExp(r,e)}var Bi;if(Mi){var uo=Qn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Bi=function(e,t){var i;uo.lastIndex=t;var s=uo.exec(e);return(i=s[1])!==null&&i!==void 0?i:""}}else Bi=function(e,t){for(var i=[];;){var s=Kn(e,t);if(s===void 0||ea(s)||Lu(s))break;i.push(s),t+=s>=65536?2:1}return Li.apply(void 0,i)};var Nu=function(){function r(e,t){t===void 0&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return r.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},r.prototype.parseMessage=function(e,t,i){for(var s=[];!this.isEOF();){var o=this.char();if(o===123){var n=this.parseArgument(e,i);if(n.err)return n;s.push(n.val)}else{if(o===125&&e>0)break;if(o===35&&(t==="plural"||t==="selectordinal")){var a=this.clonePosition();this.bump(),s.push({type:q.pound,location:M(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(O.UNMATCHED_CLOSING_TAG,M(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Ri(this.peek()||0)){var n=this.parseTag(e,t);if(n.err)return n;s.push(n.val)}else{var n=this.parseLiteral(e,t);if(n.err)return n;s.push(n.val)}}}return{val:s,err:null}},r.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var s=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:q.literal,value:"<".concat(s,"/>"),location:M(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var n=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ri(this.char()))return this.error(O.INVALID_TAG,M(a,this.clonePosition()));var l=this.clonePosition(),d=this.parseTagName();return s!==d?this.error(O.UNMATCHED_CLOSING_TAG,M(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:q.tag,value:s,children:n,location:M(i,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,M(a,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,M(i,this.clonePosition()))}else return this.error(O.INVALID_TAG,M(i,this.clonePosition()))},r.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Mu(this.char());)this.bump();return this.message.slice(e,this.offset())},r.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),s="";;){var o=this.tryParseQuote(t);if(o){s+=o;continue}var n=this.tryParseUnquoted(e,t);if(n){s+=n;continue}var a=this.tryParseLeftAngleBracket();if(a){s+=a;continue}break}var l=M(i,this.clonePosition());return{val:{type:q.literal,value:s,location:l},err:null}},r.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ku(this.peek()||0))?(this.bump(),"<"):null},r.prototype.tryParseQuote=function(e){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(e==="plural"||e==="selectordinal")break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(i===39)if(this.peek()===39)t.push(39),this.bump();else{this.bump();break}else t.push(i);this.bump()}return Li.apply(void 0,t)},r.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(t==="plural"||t==="selectordinal")||i===125&&e>0?null:(this.bump(),Li(i))},r.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,M(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,M(i,this.clonePosition()));var s=this.parseIdentifierIfPossible().value;if(!s)return this.error(O.MALFORMED_ARGUMENT,M(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,M(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:q.argument,value:s,location:M(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,M(i,this.clonePosition())):this.parseArgumentOptions(e,t,s,i);default:return this.error(O.MALFORMED_ARGUMENT,M(i,this.clonePosition()))}},r.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Bi(this.message,t),s=t+i.length;this.bumpTo(s);var o=this.clonePosition(),n=M(e,o);return{value:i,location:n}},r.prototype.parseArgumentOptions=function(e,t,i,s){var o,n=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,M(n,l));case"number":case"date":case"time":{this.bumpSpace();var d=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=Ou(h.val);if(f.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,M(this.clonePosition(),this.clonePosition()));var m=M(u,this.clonePosition());d={style:f,styleLocation:m}}var _=this.tryParseArgumentClose(s);if(_.err)return _;var g=M(s,this.clonePosition());if(d&&ao(d==null?void 0:d.style,"::",0)){var v=Iu(d.style.slice(2));if(a==="number"){var h=this.parseNumberSkeletonFromString(v,d.styleLocation);return h.err?h:{val:{type:q.number,value:i,location:g,style:h.val},err:null}}else{if(v.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,g);var w=v;this.locale&&(w=_u(v,this.locale));var f={type:ft.dateTime,pattern:w,location:d.styleLocation,parsedOptions:this.shouldParseSkeletons?du(w):{}},y=a==="date"?q.date:q.time;return{val:{type:y,value:i,location:g,style:f},err:null}}}return{val:{type:a==="number"?q.number:a==="date"?q.date:q.time,value:i,location:g,style:(o=d==null?void 0:d.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,M(E,Pr({},E)));this.bumpSpace();var T=this.parseIdentifierIfPossible(),C=0;if(a!=="select"&&T.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,M(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),T=this.parseIdentifierIfPossible(),C=h.val}var D=this.tryParsePluralOrSelectOptions(e,a,t,T);if(D.err)return D;var _=this.tryParseArgumentClose(s);if(_.err)return _;var z=M(s,this.clonePosition());return a==="select"?{val:{type:q.select,value:i,options:lo(D.val),location:z},err:null}:{val:{type:q.plural,value:i,options:lo(D.val),offset:C,pluralType:a==="plural"?"cardinal":"ordinal",location:z},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,M(n,l))}},r.prototype.tryParseArgumentClose=function(e){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,M(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},r.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){var i=this.char();switch(i){case 39:{this.bump();var s=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,M(s,this.clonePosition()));this.bump();break}case 123:{e+=1,this.bump();break}case 125:{if(e>0)e-=1;else return{val:this.message.slice(t.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(t.offset,this.offset()),err:null}},r.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=hu(e)}catch(s){return this.error(O.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?mu(i):{}},err:null}},r.prototype.tryParsePluralOrSelectOptions=function(e,t,i,s){for(var o,n=!1,a=[],l=new Set,d=s.value,u=s.location;;){if(d.length===0){var h=this.clonePosition();if(t!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=M(h,this.clonePosition()),d=this.message.slice(h.offset,this.offset())}else break}if(l.has(d))return this.error(t==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);d==="other"&&(n=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(t==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,M(this.clonePosition(),this.clonePosition()));var _=this.parseMessage(e+1,t,i);if(_.err)return _;var g=this.tryParseArgumentClose(m);if(g.err)return g;a.push([d,{value:_.val,location:M(m,this.clonePosition())}]),l.add(d),this.bumpSpace(),o=this.parseIdentifierIfPossible(),d=o.value,u=o.location}return a.length===0?this.error(t==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,M(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(O.MISSING_OTHER_CLAUSE,M(this.clonePosition(),this.clonePosition())):{val:a,err:null}},r.prototype.tryParseDecimalInteger=function(e,t){var i=1,s=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,n=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,n=n*10+(a-48),this.bump();else break}var l=M(s,this.clonePosition());return o?(n*=i,Au(n)?{val:n,err:null}:this.error(t,l)):this.error(e,l)},r.prototype.offset=function(){return this.position.offset},r.prototype.isEOF=function(){return this.offset()===this.message.length},r.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},r.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Kn(this.message,e);if(t===void 0)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},r.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},r.prototype.bump=function(){if(!this.isEOF()){var e=this.char();e===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},r.prototype.bumpIf=function(e){if(ao(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},r.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},r.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},r.prototype.bumpSpace=function(){for(;!this.isEOF()&&ea(this.char());)this.bump()},r.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),i=this.message.charCodeAt(t+(e>=65536?2:1));return i!=null?i:null},r}();function Ri(r){return r>=97&&r<=122||r>=65&&r<=90}function ku(r){return Ri(r)||r===47}function Mu(r){return r===45||r===46||r>=48&&r<=57||r===95||r>=97&&r<=122||r>=65&&r<=90||r==183||r>=192&&r<=214||r>=216&&r<=246||r>=248&&r<=893||r>=895&&r<=8191||r>=8204&&r<=8205||r>=8255&&r<=8256||r>=8304&&r<=8591||r>=11264&&r<=12271||r>=12289&&r<=55295||r>=63744&&r<=64975||r>=65008&&r<=65533||r>=65536&&r<=983039}function ea(r){return r>=9&&r<=13||r===32||r===133||r>=8206&&r<=8207||r===8232||r===8233}function Lu(r){return r>=33&&r<=35||r===36||r>=37&&r<=39||r===40||r===41||r===42||r===43||r===44||r===45||r>=46&&r<=47||r>=58&&r<=59||r>=60&&r<=62||r>=63&&r<=64||r===91||r===92||r===93||r===94||r===96||r===123||r===124||r===125||r===126||r===161||r>=162&&r<=165||r===166||r===167||r===169||r===171||r===172||r===174||r===176||r===177||r===182||r===187||r===191||r===215||r===247||r>=8208&&r<=8213||r>=8214&&r<=8215||r===8216||r===8217||r===8218||r>=8219&&r<=8220||r===8221||r===8222||r===8223||r>=8224&&r<=8231||r>=8240&&r<=8248||r===8249||r===8250||r>=8251&&r<=8254||r>=8257&&r<=8259||r===8260||r===8261||r===8262||r>=8263&&r<=8273||r===8274||r===8275||r>=8277&&r<=8286||r>=8592&&r<=8596||r>=8597&&r<=8601||r>=8602&&r<=8603||r>=8604&&r<=8607||r===8608||r>=8609&&r<=8610||r===8611||r>=8612&&r<=8613||r===8614||r>=8615&&r<=8621||r===8622||r>=8623&&r<=8653||r>=8654&&r<=8655||r>=8656&&r<=8657||r===8658||r===8659||r===8660||r>=8661&&r<=8691||r>=8692&&r<=8959||r>=8960&&r<=8967||r===8968||r===8969||r===8970||r===8971||r>=8972&&r<=8991||r>=8992&&r<=8993||r>=8994&&r<=9e3||r===9001||r===9002||r>=9003&&r<=9083||r===9084||r>=9085&&r<=9114||r>=9115&&r<=9139||r>=9140&&r<=9179||r>=9180&&r<=9185||r>=9186&&r<=9254||r>=9255&&r<=9279||r>=9280&&r<=9290||r>=9291&&r<=9311||r>=9472&&r<=9654||r===9655||r>=9656&&r<=9664||r===9665||r>=9666&&r<=9719||r>=9720&&r<=9727||r>=9728&&r<=9838||r===9839||r>=9840&&r<=10087||r===10088||r===10089||r===10090||r===10091||r===10092||r===10093||r===10094||r===10095||r===10096||r===10097||r===10098||r===10099||r===10100||r===10101||r>=10132&&r<=10175||r>=10176&&r<=10180||r===10181||r===10182||r>=10183&&r<=10213||r===10214||r===10215||r===10216||r===10217||r===10218||r===10219||r===10220||r===10221||r===10222||r===10223||r>=10224&&r<=10239||r>=10240&&r<=10495||r>=10496&&r<=10626||r===10627||r===10628||r===10629||r===10630||r===10631||r===10632||r===10633||r===10634||r===10635||r===10636||r===10637||r===10638||r===10639||r===10640||r===10641||r===10642||r===10643||r===10644||r===10645||r===10646||r===10647||r===10648||r>=10649&&r<=10711||r===10712||r===10713||r===10714||r===10715||r>=10716&&r<=10747||r===10748||r===10749||r>=10750&&r<=11007||r>=11008&&r<=11055||r>=11056&&r<=11076||r>=11077&&r<=11078||r>=11079&&r<=11084||r>=11085&&r<=11123||r>=11124&&r<=11125||r>=11126&&r<=11157||r===11158||r>=11159&&r<=11263||r>=11776&&r<=11777||r===11778||r===11779||r===11780||r===11781||r>=11782&&r<=11784||r===11785||r===11786||r===11787||r===11788||r===11789||r>=11790&&r<=11798||r===11799||r>=11800&&r<=11801||r===11802||r===11803||r===11804||r===11805||r>=11806&&r<=11807||r===11808||r===11809||r===11810||r===11811||r===11812||r===11813||r===11814||r===11815||r===11816||r===11817||r>=11818&&r<=11822||r===11823||r>=11824&&r<=11833||r>=11834&&r<=11835||r>=11836&&r<=11839||r===11840||r===11841||r===11842||r>=11843&&r<=11855||r>=11856&&r<=11857||r===11858||r>=11859&&r<=11903||r>=12289&&r<=12291||r===12296||r===12297||r===12298||r===12299||r===12300||r===12301||r===12302||r===12303||r===12304||r===12305||r>=12306&&r<=12307||r===12308||r===12309||r===12310||r===12311||r===12312||r===12313||r===12314||r===12315||r===12316||r===12317||r>=12318&&r<=12319||r===12320||r===12336||r===64830||r===64831||r>=65093&&r<=65094}function Di(r){r.forEach(function(e){if(delete e.location,jn(e)||Gn(e))for(var t in e.options)delete e.options[t].location,Di(e.options[t].value);else Vn(e)&&Wn(e.style)||(Un(e)||$n(e))&&ki(e.style)?delete e.style.location:qn(e)&&Di(e.children)})}function Bu(r,e){e===void 0&&(e={}),e=Pr({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var t=new Nu(r,e).parse();if(t.err){var i=SyntaxError(O[t.err.kind]);throw i.location=t.err.location,i.originalMessage=t.err.message,i}return e!=null&&e.captureLocation||Di(t.val),t.val}var pt;(function(r){r.MISSING_VALUE="MISSING_VALUE",r.INVALID_VALUE="INVALID_VALUE",r.MISSING_INTL_API="MISSING_INTL_API"})(pt||(pt={}));var Hr=function(r){Dr(e,r);function e(t,i,s){var o=r.call(this,t)||this;return o.code=i,o.originalMessage=s,o}return e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),ho=function(r){Dr(e,r);function e(t,i,s,o){return r.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(s).join('", "'),'"'),pt.INVALID_VALUE,o)||this}return e}(Hr),Ru=function(r){Dr(e,r);function e(t,i,s){return r.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),pt.INVALID_VALUE,s)||this}return e}(Hr),Du=function(r){Dr(e,r);function e(t,i){return r.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),pt.MISSING_VALUE,i)||this}return e}(Hr),fe;(function(r){r[r.literal=0]="literal",r[r.object=1]="object"})(fe||(fe={}));function Hu(r){return r.length<2?r:r.reduce(function(e,t){var i=e[e.length-1];return!i||i.type!==fe.literal||t.type!==fe.literal?e.push(t):i.value+=t.value,e},[])}function zu(r){return typeof r=="function"}function pr(r,e,t,i,s,o,n){if(r.length===1&&io(r[0]))return[{type:fe.literal,value:r[0].value}];for(var a=[],l=0,d=r;l<d.length;l++){var u=d[l];if(io(u)){a.push({type:fe.literal,value:u.value});continue}if(au(u)){typeof o=="number"&&a.push({type:fe.literal,value:t.getNumberFormat(e).format(o)});continue}var h=u.value;if(!(s&&h in s))throw new Du(h,n);var f=s[h];if(nu(u)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),a.push({type:typeof f=="string"?fe.literal:fe.object,value:f});continue}if(Un(u)){var m=typeof u.style=="string"?i.date[u.style]:ki(u.style)?u.style.parsedOptions:void 0;a.push({type:fe.literal,value:t.getDateTimeFormat(e,m).format(f)});continue}if($n(u)){var m=typeof u.style=="string"?i.time[u.style]:ki(u.style)?u.style.parsedOptions:i.time.medium;a.push({type:fe.literal,value:t.getDateTimeFormat(e,m).format(f)});continue}if(Vn(u)){var m=typeof u.style=="string"?i.number[u.style]:Wn(u.style)?u.style.parsedOptions:void 0;m&&m.scale&&(f=f*(m.scale||1)),a.push({type:fe.literal,value:t.getNumberFormat(e,m).format(f)});continue}if(qn(u)){var _=u.children,g=u.value,v=s[g];if(!zu(v))throw new Ru(g,"function",n);var w=pr(_,e,t,i,s,o),y=v(w.map(function(C){return C.value}));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map(function(C){return{type:typeof C=="string"?fe.literal:fe.object,value:C}}))}if(jn(u)){var E=u.options[f]||u.options.other;if(!E)throw new ho(u.value,f,Object.keys(u.options),n);a.push.apply(a,pr(E.value,e,t,i,s));continue}if(Gn(u)){var E=u.options["=".concat(f)];if(!E){if(!Intl.PluralRules)throw new Hr(`Intl.PluralRules is not available in this environment.
|
|
20
20
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
21
|
-
`,pt.MISSING_INTL_API,n);var T=t.getPluralRules(e,{type:u.pluralType}).select(f-(u.offset||0));E=u.options[T]||u.options.other}if(!E)throw new ho(u.value,f,Object.keys(u.options),n);a.push.apply(a,pr(E.value,e,t,i,s,f-(u.offset||0)));continue}}return Hu(a)}function Fu(r,e){return e?Te(Te(Te({},r||{}),e||{}),Object.keys(r).reduce(function(t,i){return t[i]=Te(Te({},r[i]),e[i]||{}),t},{})):r}function Vu(r,e){return e?Object.keys(r).reduce(function(t,i){return t[i]=Fu(r[i],e[i]),t},Te({},r)):r}function si(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}function Uu(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.number),strategy:ri.variadic}),getDateTimeFormat:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.dateTime),strategy:ri.variadic}),getPluralRules:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.pluralRules),strategy:ri.variadic})}}var $u=function(){function r(e,t,i,s){t===void 0&&(t=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var d=o.formatToParts(l);if(d.length===1)return d[0].value;var u=d.reduce(function(h,f){return!h.length||f.type!==fe.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return pr(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=r.resolveLocale(t),typeof e=="string"){if(this.message=e,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=Kd(n,["formatters"]);this.ast=r.__parse(e,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Vu(r.formats,i),this.formatters=s&&s.formatters||Uu(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},r.__parse=Bu,r.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"}}},r}();function ju(r,e){if(e==null)return;if(e in r)return r[e];const t=e.split(".");let i=r;for(let s=0;s<t.length;s++)if(typeof i=="object"){if(s>0){const o=t.slice(s,t.length).join(".");if(o in i){i=i[o];break}}i=i[t[s]]}else i=void 0;return i}const He={},Gu=(r,e,t)=>t&&(e in He||(He[e]={}),r in He[e]||(He[e][r]=t),t),ta=(r,e)=>{if(e==null)return;if(e in He&&r in He[e])return He[e][r];const t=zr(e);for(let i=0;i<t.length;i++){const s=t[i],o=Wu(s,r);if(o)return Gu(r,e,o)}};let cs;const Je=Rr({});function qu(r){return cs[r]||null}function ra(r){return r in cs}function Wu(r,e){if(!ra(r))return null;const t=qu(r);return ju(t,e)}function Yu(r){if(r==null)return;const e=zr(r);for(let t=0;t<e.length;t++){const i=e[t];if(ra(i))return i}}function fs(r,...e){delete He[r],Je.update(t=>(t[r]=Jd.all([t[r]||{},...e]),t))}vt([Je],([r])=>Object.keys(r));Je.subscribe(r=>cs=r);const mr={};function Zu(r,e){mr[r].delete(e),mr[r].size===0&&delete mr[r]}function ia(r){return mr[r]}function Xu(r){return zr(r).map(e=>{const t=ia(e);return[e,t?[...t]:[]]}).filter(([,e])=>e.length>0)}function Hi(r){return r==null?!1:zr(r).some(e=>{var t;return(t=ia(e))==null?void 0:t.size})}function Ju(r,e){return Promise.all(e.map(i=>(Zu(r,i),i().then(s=>s.default||s)))).then(i=>fs(r,...i))}const At={};function sa(r){if(!Hi(r))return r in At?At[r]:Promise.resolve();const e=Xu(r);return At[r]=Promise.all(e.map(([t,i])=>Ju(t,i))).then(()=>{if(Hi(r))return sa(r);delete At[r]}),At[r]}const Ku={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"}}},Qu={fallbackLocale:null,loadingDelay:200,formats:Ku,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},eh=Qu;function mt(){return eh}const oi=Rr(!1);var th=Object.defineProperty,rh=Object.defineProperties,ih=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,sh=Object.prototype.hasOwnProperty,oh=Object.prototype.propertyIsEnumerable,fo=(r,e,t)=>e in r?th(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,nh=(r,e)=>{for(var t in e||(e={}))sh.call(e,t)&&fo(r,t,e[t]);if(co)for(var t of co(e))oh.call(e,t)&&fo(r,t,e[t]);return r},ah=(r,e)=>rh(r,ih(e));let zi;const Er=Rr(null);function po(r){return r.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function zr(r,e=mt().fallbackLocale){const t=po(r);return e?[...new Set([...t,...po(e)])]:t}function Ke(){return zi!=null?zi:void 0}Er.subscribe(r=>{zi=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const lh=r=>{if(r&&Yu(r)&&Hi(r)){const{loadingDelay:e}=mt();let t;return typeof window!="undefined"&&Ke()!=null&&e?t=window.setTimeout(()=>oi.set(!0),e):oi.set(!0),sa(r).then(()=>{Er.set(r)}).finally(()=>{clearTimeout(t),oi.set(!1)})}return Er.set(r)},Be=ah(nh({},Er),{set:lh}),Fr=r=>{const e=Object.create(null);return i=>{const s=JSON.stringify(i);return s in e?e[s]:e[s]=r(i)}};var dh=Object.defineProperty,Cr=Object.getOwnPropertySymbols,oa=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,mo=(r,e,t)=>e in r?dh(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ps=(r,e)=>{for(var t in e||(e={}))oa.call(e,t)&&mo(r,t,e[t]);if(Cr)for(var t of Cr(e))na.call(e,t)&&mo(r,t,e[t]);return r},yt=(r,e)=>{var t={};for(var i in r)oa.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&Cr)for(var i of Cr(r))e.indexOf(i)<0&&na.call(r,i)&&(t[i]=r[i]);return t};const Ft=(r,e)=>{const{formats:t}=mt();if(r in t&&e in t[r])return t[r][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${r} format.`)},uh=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=Ft("number",i)),new Intl.NumberFormat(t,s)}),hh=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=Ft("date",i):Object.keys(s).length===0&&(s=Ft("date","short")),new Intl.DateTimeFormat(t,s)}),ch=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=Ft("time",i):Object.keys(s).length===0&&(s=Ft("time","short")),new Intl.DateTimeFormat(t,s)}),fh=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return uh(ps({locale:t},i))},ph=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return hh(ps({locale:t},i))},mh=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return ch(ps({locale:t},i))},_h=Fr((r,e=Ke())=>new $u(r,e,mt().formats,{ignoreTag:mt().ignoreTag})),gh=(r,e={})=>{var t,i,s,o;let n=e;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=Ke(),default:d}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=ta(r,l);if(!u)u=(o=(s=(i=(t=mt()).handleMissingMessage)==null?void 0:i.call(t,{locale:l,id:r,defaultValue:d}))!=null?s:d)!=null?o:r;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!a)return u;let h=u;try{h=_h(u,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return h},bh=(r,e)=>mh(e).format(r),vh=(r,e)=>ph(e).format(r),yh=(r,e)=>fh(e).format(r),wh=(r,e=Ke())=>ta(r,e),aa=vt([Be,Je],()=>gh);vt([Be],()=>bh);vt([Be],()=>vh);vt([Be],()=>yh);vt([Be,Je],()=>wh);window.emWidgets={topic:Ld};const xh=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));function Ph({withLocale:r,translations:e}){Be.subscribe(t=>{t==null&&(Je.set(e),Be.set(r))})}function _o(r,e){fs(r,e)}function Eh(r){Be.set(r)}function la(r,e){if(r){const t=document.createElement("style");t.innerHTML=e,r.appendChild(t)}}function da(r,e){const t=new URL(e);fetch(t.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function ua(r,e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,s=>{i.innerHTML=s,r&&r.appendChild(i)})}}const go={en:{day:"Day",month:"Month",year:"Year",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.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",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.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",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 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",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.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",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.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",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.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",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",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",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.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",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.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerForgotPasswordSmsForm-DUo-Gv6e.cjs")).then(({default:e})=>{!customElements.get("general-player-forgot-password-sms-form")&&customElements.define("general-player-forgot-password-sms-form",e.element)})}/**
|
|
21
|
+
`,pt.MISSING_INTL_API,n);var T=t.getPluralRules(e,{type:u.pluralType}).select(f-(u.offset||0));E=u.options[T]||u.options.other}if(!E)throw new ho(u.value,f,Object.keys(u.options),n);a.push.apply(a,pr(E.value,e,t,i,s,f-(u.offset||0)));continue}}return Hu(a)}function Fu(r,e){return e?Te(Te(Te({},r||{}),e||{}),Object.keys(r).reduce(function(t,i){return t[i]=Te(Te({},r[i]),e[i]||{}),t},{})):r}function Vu(r,e){return e?Object.keys(r).reduce(function(t,i){return t[i]=Fu(r[i],e[i]),t},Te({},r)):r}function si(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}function Uu(r){return r===void 0&&(r={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.number),strategy:ri.variadic}),getDateTimeFormat:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.dateTime),strategy:ri.variadic}),getPluralRules:ti(function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,ei([void 0],t,!1)))},{cache:si(r.pluralRules),strategy:ri.variadic})}}var $u=function(){function r(e,t,i,s){t===void 0&&(t=r.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var d=o.formatToParts(l);if(d.length===1)return d[0].value;var u=d.reduce(function(h,f){return!h.length||f.type!==fe.literal||typeof h[h.length-1]!="string"?h.push(f.value):h[h.length-1]+=f.value,h},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(l){return pr(o.ast,o.locales,o.formatters,o.formats,l,void 0,o.message)},this.resolvedOptions=function(){var l;return{locale:((l=o.resolvedLocale)===null||l===void 0?void 0:l.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=t,this.resolvedLocale=r.resolveLocale(t),typeof e=="string"){if(this.message=e,!r.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var n=s||{};n.formatters;var a=Kd(n,["formatters"]);this.ast=r.__parse(e,Te(Te({},a),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Vu(r.formats,i),this.formatters=s&&s.formatters||Uu(this.formatterCache)}return Object.defineProperty(r,"defaultLocale",{get:function(){return r.memoizedDefaultLocale||(r.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),r.memoizedDefaultLocale},enumerable:!1,configurable:!0}),r.memoizedDefaultLocale=null,r.resolveLocale=function(e){if(typeof Intl.Locale!="undefined"){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale(typeof e=="string"?e:e[0])}},r.__parse=Bu,r.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"}}},r}();function ju(r,e){if(e==null)return;if(e in r)return r[e];const t=e.split(".");let i=r;for(let s=0;s<t.length;s++)if(typeof i=="object"){if(s>0){const o=t.slice(s,t.length).join(".");if(o in i){i=i[o];break}}i=i[t[s]]}else i=void 0;return i}const He={},Gu=(r,e,t)=>t&&(e in He||(He[e]={}),r in He[e]||(He[e][r]=t),t),ta=(r,e)=>{if(e==null)return;if(e in He&&r in He[e])return He[e][r];const t=zr(e);for(let i=0;i<t.length;i++){const s=t[i],o=Wu(s,r);if(o)return Gu(r,e,o)}};let cs;const Je=Rr({});function qu(r){return cs[r]||null}function ra(r){return r in cs}function Wu(r,e){if(!ra(r))return null;const t=qu(r);return ju(t,e)}function Yu(r){if(r==null)return;const e=zr(r);for(let t=0;t<e.length;t++){const i=e[t];if(ra(i))return i}}function fs(r,...e){delete He[r],Je.update(t=>(t[r]=Jd.all([t[r]||{},...e]),t))}vt([Je],([r])=>Object.keys(r));Je.subscribe(r=>cs=r);const mr={};function Zu(r,e){mr[r].delete(e),mr[r].size===0&&delete mr[r]}function ia(r){return mr[r]}function Xu(r){return zr(r).map(e=>{const t=ia(e);return[e,t?[...t]:[]]}).filter(([,e])=>e.length>0)}function Hi(r){return r==null?!1:zr(r).some(e=>{var t;return(t=ia(e))==null?void 0:t.size})}function Ju(r,e){return Promise.all(e.map(i=>(Zu(r,i),i().then(s=>s.default||s)))).then(i=>fs(r,...i))}const At={};function sa(r){if(!Hi(r))return r in At?At[r]:Promise.resolve();const e=Xu(r);return At[r]=Promise.all(e.map(([t,i])=>Ju(t,i))).then(()=>{if(Hi(r))return sa(r);delete At[r]}),At[r]}const Ku={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"}}},Qu={fallbackLocale:null,loadingDelay:200,formats:Ku,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},eh=Qu;function mt(){return eh}const oi=Rr(!1);var th=Object.defineProperty,rh=Object.defineProperties,ih=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,sh=Object.prototype.hasOwnProperty,oh=Object.prototype.propertyIsEnumerable,fo=(r,e,t)=>e in r?th(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,nh=(r,e)=>{for(var t in e||(e={}))sh.call(e,t)&&fo(r,t,e[t]);if(co)for(var t of co(e))oh.call(e,t)&&fo(r,t,e[t]);return r},ah=(r,e)=>rh(r,ih(e));let zi;const Er=Rr(null);function po(r){return r.split("-").map((e,t,i)=>i.slice(0,t+1).join("-")).reverse()}function zr(r,e=mt().fallbackLocale){const t=po(r);return e?[...new Set([...t,...po(e)])]:t}function Ke(){return zi!=null?zi:void 0}Er.subscribe(r=>{zi=r!=null?r:void 0,typeof window!="undefined"&&r!=null&&document.documentElement.setAttribute("lang",r)});const lh=r=>{if(r&&Yu(r)&&Hi(r)){const{loadingDelay:e}=mt();let t;return typeof window!="undefined"&&Ke()!=null&&e?t=window.setTimeout(()=>oi.set(!0),e):oi.set(!0),sa(r).then(()=>{Er.set(r)}).finally(()=>{clearTimeout(t),oi.set(!1)})}return Er.set(r)},Be=ah(nh({},Er),{set:lh}),Fr=r=>{const e=Object.create(null);return i=>{const s=JSON.stringify(i);return s in e?e[s]:e[s]=r(i)}};var dh=Object.defineProperty,Cr=Object.getOwnPropertySymbols,oa=Object.prototype.hasOwnProperty,na=Object.prototype.propertyIsEnumerable,mo=(r,e,t)=>e in r?dh(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,ps=(r,e)=>{for(var t in e||(e={}))oa.call(e,t)&&mo(r,t,e[t]);if(Cr)for(var t of Cr(e))na.call(e,t)&&mo(r,t,e[t]);return r},yt=(r,e)=>{var t={};for(var i in r)oa.call(r,i)&&e.indexOf(i)<0&&(t[i]=r[i]);if(r!=null&&Cr)for(var i of Cr(r))e.indexOf(i)<0&&na.call(r,i)&&(t[i]=r[i]);return t};const Ft=(r,e)=>{const{formats:t}=mt();if(r in t&&e in t[r])return t[r][e];throw new Error(`[svelte-i18n] Unknown "${e}" ${r} format.`)},uh=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return i&&(s=Ft("number",i)),new Intl.NumberFormat(t,s)}),hh=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return i?s=Ft("date",i):Object.keys(s).length===0&&(s=Ft("date","short")),new Intl.DateTimeFormat(t,s)}),ch=Fr(r=>{var e=r,{locale:t,format:i}=e,s=yt(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return i?s=Ft("time",i):Object.keys(s).length===0&&(s=Ft("time","short")),new Intl.DateTimeFormat(t,s)}),fh=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return uh(ps({locale:t},i))},ph=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return hh(ps({locale:t},i))},mh=(r={})=>{var e=r,{locale:t=Ke()}=e,i=yt(e,["locale"]);return ch(ps({locale:t},i))},_h=Fr((r,e=Ke())=>new $u(r,e,mt().formats,{ignoreTag:mt().ignoreTag})),gh=(r,e={})=>{var t,i,s,o;let n=e;typeof r=="object"&&(n=r,r=n.id);const{values:a,locale:l=Ke(),default:d}=n;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=ta(r,l);if(!u)u=(o=(s=(i=(t=mt()).handleMissingMessage)==null?void 0:i.call(t,{locale:l,id:r,defaultValue:d}))!=null?s:d)!=null?o:r;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${r}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!a)return u;let h=u;try{h=_h(u,l).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${r}" has syntax error:`,f.message)}return h},bh=(r,e)=>mh(e).format(r),vh=(r,e)=>ph(e).format(r),yh=(r,e)=>fh(e).format(r),wh=(r,e=Ke())=>ta(r,e),aa=vt([Be,Je],()=>gh);vt([Be],()=>bh);vt([Be],()=>vh);vt([Be],()=>yh);vt([Be,Je],()=>wh);window.emWidgets={topic:Ld};const xh=r=>!!(r.toLowerCase().match(/android/i)||r.toLowerCase().match(/blackberry|bb/i)||r.toLowerCase().match(/iphone|ipad|ipod/i)||r.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));String(Number.MAX_SAFE_INTEGER).length;function Ph({withLocale:r,translations:e}){Be.subscribe(t=>{t==null&&(Je.set(e),Be.set(r))})}function _o(r,e){fs(r,e)}function Eh(r){Be.set(r)}function la(r,e){if(r){const t=document.createElement("style");t.innerHTML=e,r.appendChild(t)}}function da(r,e){if(!r||!e)return;const t=new URL(e);fetch(t.href).then(i=>i.text()).then(i=>{const s=document.createElement("style");s.innerHTML=i,r&&r.appendChild(s)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function ua(r,e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,s=>{i.innerHTML=s,r&&r.appendChild(i)})}}const go={en:{day:"Day",month:"Month",year:"Year",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.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."},hr:{day:"Dan",month:"Mjesec",year:"Godina",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.",dobFormatError:"Format datuma rođenja nije u skladu s dokumentacijom widgeta.",generalError:"Došlo je do pogreške prilikom obrade vašeg zahtjeva. Molimo pokušajte ponovno...",1e3:"Nevažeći, korišten ili istekao korisnički ključ",1164:"Vaša nova lozinka je previše slična prethodnoj. Molimo odaberite lozinku koju nedavno niste koristili."},"zh-hk":{day:"天",month:"月",year:"年",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 个字符。",dobFormatError:"出生日期的格式不符合小部件文件的規定。",generalError:"您的請求出現錯誤。請再試一次...",1e3:"無效、已使用或過期的用戶密鑰",1164:"您的新密碼與之前使用的密碼過於相似。請選擇一個最近未曾使用過的密碼。"},fr:{day:"Jour",month:"Mois",year:"Année",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.",dobFormatError:"Le format de la date de naissance n'est pas conforme à la documentation du widget.",generalError:"Une erreur s'est produite lors de votre demande. Veuillez réessayer...",1e3:"Clé utilisateur invalide, utilisée ou expirée",1164:"Votre nouveau mot de passe est trop similaire à un ancien. Veuillez en choisir un que vous n’avez pas utilisé récemment."},tr:{day:"Gün",month:"Ay",year:"Yıl",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.",dobFormatError:"Doğum tarihi formatı widget dokümantasyonuna uygun yapılmamış.",generalError:"İsteğiniz yapılırken bir hata oluştu. Lütfen tekrar deneyin...",1e3:"Geçersiz, kullanılmış veya süresi dolmuş kullanıcı anahtarı",1164:"Yeni şifreniz daha önce kullandığınız bir şifreye çok benziyor. Lütfen son zamanlarda kullanmadığınız farklı bir şifre seçin."},ro:{day:"Zi",month:"Luna",year:"An",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.",dobFormatError:"Formatul pentru data nașterii nu este realizat conform documentației widget-ului.",generalError:"A apărut o eroare în timpul solicitării dvs. Vă rugăm să încercați din nou...",1e3:"Cheie de utilizator invalidă, utilizată sau expirată",1164:"Noua parolă este prea asemănătoare cu una utilizată anterior. Vă rugăm să alegeți o parolă pe care nu ați folosit-o recent."},es:{day:"Día",month:"Mes",year:"Año",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",dobFormatError:"El formato de la fecha de nacimiento no se realiza de acuerdo con la documentación del widget.",generalError:"Hubo un error al realizar su solicitud. Por favor, inténtelo de nuevo...",1e3:"Clave de usuario inválida, usada o expirada",1164:"Tu nueva contraseña es demasiado similar a una que usaste anteriormente. Por favor, elige una que no hayas usado recientemente."},pt:{day:"Dia",month:"Mês",year:"Ano",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.",dobFormatError:"O formato da data de nascimento não está de acordo com a documentação do widget.",generalError:"Houve um erro ao fazer sua solicitação. Por favor, tente novamente...",1e3:"Chave de usuário inválida, usada ou expirada",1164:"A sua nova palavra-passe é demasiado semelhante a uma que já usou. Por favor, escolha uma que não tenha usado recentemente."},"en-us":{day:"Day",month:"Month",year:"Year",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.",dobFormatError:"The format for the date of birth isn't done according with the widget documentation.",generalError:"There was an error while making your request. Please try again...",1e3:"Invalid, used or expired user key",1164:"Your new password is too similar to a previous one. Please choose a password that you haven’t used recently."}};if(typeof window!="undefined"){let r=function(e){return function(...t){try{return e.apply(this,t)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerForgotPasswordSmsForm-ByDXjWJp.cjs")).then(({default:e})=>{!customElements.get("general-player-forgot-password-sms-form")&&customElements.define("general-player-forgot-password-sms-form",e.element)})}/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
24
24
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var re=(r,t,o)=>new Promise((i,s)=>{var n=c=>{try{f(o.next(c))}catch(w){s(w)}},l=c=>{try{f(o.throw(c))}catch(w){s(w)}},f=c=>c.done?i(c.value):Promise.resolve(c.value).then(n,l);f((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralPlayerForgotPasswordFormNd-
|
|
1
|
+
"use strict";var re=(r,t,o)=>new Promise((i,s)=>{var n=c=>{try{f(o.next(c))}catch(w){s(w)}},l=c=>{try{f(o.throw(c))}catch(w){s(w)}},f=c=>c.done?i(c.value):Promise.resolve(c.value).then(n,l);f((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralPlayerForgotPasswordFormNd-zHNWL0BM.cjs");function Ze(r){return r<.5?4*r*r*r:.5*Math.pow(2*r-2,3)+1}function Je(r){const t=r-1;return t*t*t+1}function fe(r){return--r*r*r*r*r+1}function ae(r,{delay:t=0,duration:o=400,easing:i=Ze,amount:s=5,opacity:n=0}={}){const l=getComputedStyle(r),f=+l.opacity,c=l.filter==="none"?"":l.filter,w=f*(1-n),[p,g]=e.split_css_unit(s);return{delay:t,duration:o,easing:i,css:(k,R)=>`opacity: ${f-w*R}; filter: ${c} blur(${R*p}${g});`}}function be(r,{delay:t=0,duration:o=400,easing:i=e.identity}={}){const s=+getComputedStyle(r).opacity;return{delay:t,duration:o,easing:i,css:n=>`opacity: ${n*s}`}}function ge(r,{delay:t=0,duration:o=400,easing:i=Je,start:s=0,opacity:n=0}={}){const l=getComputedStyle(r),f=+l.opacity,c=l.transform==="none"?"":l.transform,w=1-s,p=f*(1-n);return{delay:t,duration:o,easing:i,css:(g,k)=>`
|
|
2
2
|
transform: ${c} scale(${1-w*k});
|
|
3
3
|
opacity: ${f-p*k}
|
|
4
4
|
`}}function Qe({withLocale:r,translations:t}){e.$locale.subscribe(o=>{o==null&&(e.$dictionary.set(t),e.$locale.set(r))})}function he(r,t){e.addMessages(r,t)}function Xe(r){e.$locale.set(r)}const ve={en:{resetTitle:"Reset your password",resetSubtitle:"Follow the steps below to securely reset your password.",enterPhoneHelp:"Enter your registered phone number to receive a verification code.",enterCodeTitle:"Enter verification code",codeSubtitle:"We sent a {n}-digit code via SMS to the provided number.",newPasswordTitle:"Set a new password",newPasswordSubtitle:"Choose a strong password. Do not share it with anyone.",passwordUpdatedTitle:"Password updated",passwordUpdatedSubtitle:"Your password was changed successfully.",canLoginNote:"You can now log in using your new password.",countryCodeLabel:"Prefix",phoneLabel:"Phone number",verificationCodeLabel:"Verification code",newPasswordLabel:"New password",confirmPasswordLabel:"Confirm password",passwordPlaceholder:"At least 8 chars, letters & numbers",attemptsLeft:"Attempts left",expiresIn:"Expires in",requestCode:"Request code",requesting:"Requesting…",submitCode:"Submit code",verifying:"Verifying…",resendCode:"Resend code",updatePassword:"Update password",updating:"Updating…",close:"Close",invalidPrefix:"Please enter a valid prefix",invalidPhone:"Please enter a valid phone number.",genericIfRegistered:"If the number is registered, you’ll receive an SMS with a 4-digit code shortly.",enterDigitsCode:"Enter the {n}-digit code.",incorrectCode:"Incorrect code. Please try again.",codeExpired:"Code expired. Please request a new one.",tooManyAttempts:"Too many attempts. Please request a new code.",invalidRequest:"Invalid request. Please request a new code.",sessionNotFound:"Session not found. Please request a new code.",unableToVerify:"Unable to verify the code. Please try again.",sessionExpired:"Session expired. Please restart the reset process.",passwordsMismatch:"Passwords do not match.",passwordTooShort:"Password must be at least 8 characters.",passwordWeak:"Use letters and numbers for better security.",passwordPolicy:"Your password does not meet the security requirements.",resetLinkExpired:"Your reset link has expired or was already used. Please restart the process.",couldNotUpdatePassword:"Could not update password. Please try again."},ro:{resetTitle:"Resetează parola",resetSubtitle:"Urmează pașii de mai jos pentru a-ți reseta parola în siguranță.",enterPhoneHelp:"Introdu numărul de telefon înregistrat pentru a primi un cod de verificare.",enterCodeTitle:"Introdu codul de verificare",codeSubtitle:"Ți-am trimis prin SMS un cod din {n} cifre la numărul furnizat.",newPasswordTitle:"Setează o parolă nouă",newPasswordSubtitle:"Alege o parolă puternică. Nu o împărtăși nimănui.",passwordUpdatedTitle:"Parolă actualizată",passwordUpdatedSubtitle:"Parola ta a fost schimbată cu succes.",canLoginNote:"Acum te poți autentifica folosind noua parolă.",countryCodeLabel:"Prefix",phoneLabel:"Număr de telefon",verificationCodeLabel:"Cod de verificare",newPasswordLabel:"Parolă nouă",confirmPasswordLabel:"Confirmă parola",passwordPlaceholder:"Minim 8 caractere, litere & cifre",attemptsLeft:"Încercări rămase",expiresIn:"Expiră în",requestCode:"Cere codul",requesting:"Se procesează…",submitCode:"Trimite codul",verifying:"Se verifică…",resendCode:"Retrimite codul",updatePassword:"Actualizează parola",updating:"Se actualizează…",close:"Închide",invalidPrefix:"Introddu un prefix valid",invalidPhone:"Introdu un număr de telefon valid.",genericIfRegistered:"Dacă numărul este înregistrat, vei primi în scurt timp un SMS cu un cod din 4 cifre.",enterDigitsCode:"Introdu codul din {n} cifre.",incorrectCode:"Cod incorect. Încearcă din nou.",codeExpired:"Cod expirat. Cere unul nou.",tooManyAttempts:"Prea multe încercări. Cere un cod nou.",invalidRequest:"Cerere invalidă. Cere un cod nou.",sessionNotFound:"Sesiune negăsită. Cere un cod nou.",unableToVerify:"Nu am putut verifica codul. Încearcă din nou.",sessionExpired:"Sesiunea a expirat. Repornește procesul de resetare.",passwordsMismatch:"Parolele nu coincid.",passwordTooShort:"Parola trebuie să aibă cel puțin 8 caractere.",passwordWeak:"Folosește litere și cifre pentru o securitate mai bună.",passwordPolicy:"Parola nu îndeplinește cerințele de securitate.",resetLinkExpired:"Linkul de resetare a expirat sau a fost deja folosit. Repornește procesul.",couldNotUpdatePassword:"Parola nu a putut fi actualizată. Încearcă din nou."},hr:{resetTitle:"Resetiraj lozinku",resetSubtitle:"Slijedite korake u nastavku za sigurno resetiranje lozinke.",enterPhoneHelp:"Unesite svoj registrirani broj telefona da primite kod za potvrdu.",enterCodeTitle:"Unesite kod za potvrdu",codeSubtitle:"Poslali smo {n}-znamenkasti kod putem SMS-a na navedeni broj.",newPasswordTitle:"Postavite novu lozinku",newPasswordSubtitle:"Odaberite jaku lozinku. Ne dijelite je s nikim.",passwordUpdatedTitle:"Lozinka ažurirana",passwordUpdatedSubtitle:"Vaša lozinka je uspješno promijenjena.",canLoginNote:"Sada se možete prijaviti koristeći novu lozinku.",countryCodeLabel:"Prefiks",phoneLabel:"Broj telefona",verificationCodeLabel:"Kod za potvrdu",newPasswordLabel:"Nova lozinka",confirmPasswordLabel:"Potvrdite lozinku",passwordPlaceholder:"Najmanje 8 znakova, slova i brojevi",attemptsLeft:"Preostalo pokušaja",expiresIn:"Istječe za",requestCode:"Zatraži kod",requesting:"Zatražujem…",submitCode:"Pošalji kod",verifying:"Provjeravam…",resendCode:"Pošalji ponovno",updatePassword:"Ažuriraj lozinku",updating:"Ažuriram…",close:"Zatvori",invalidPrefix:"Molimo unesite valjani prefiks",invalidPhone:"Molimo unesite valjani broj telefona.",genericIfRegistered:"Ako je broj registriran, uskoro ćete primiti SMS s 4-znamenkastim kodom.",enterDigitsCode:"Unesite {n}-znamenkasti kod.",incorrectCode:"Netočan kod. Molimo pokušajte ponovno.",codeExpired:"Kod je istekao. Molimo zatražite novi.",tooManyAttempts:"Previše pokušaja. Molimo zatražite novi kod.",invalidRequest:"Nevaljani zahtjev. Molimo zatražite novi kod.",sessionNotFound:"Sesija nije pronađena. Molimo zatražite novi kod.",unableToVerify:"Nije moguće potvrditi kod. Molimo pokušajte ponovno.",sessionExpired:"Sesija je istekla. Molimo ponovno pokrenite proces resetiranja.",passwordsMismatch:"Lozinke se ne podudaraju.",passwordTooShort:"Lozinka mora imati najmanje 8 znakova.",passwordWeak:"Koristite slova i brojeve za bolju sigurnost.",passwordPolicy:"Vaša lozinka ne ispunjava sigurnosne zahtjeve.",resetLinkExpired:"Vaš link za resetiranje je istekao ili je već korišten. Molimo ponovno pokrenite proces.",couldNotUpdatePassword:"Lozinka se nije mogla ažurirati. Molimo pokušajte ponovno."},"zh-hk":{resetTitle:"重設密碼",resetSubtitle:"請按照以下步驟安全地重設您的密碼。",enterPhoneHelp:"輸入您已註冊的電話號碼以接收驗證碼。",enterCodeTitle:"輸入驗證碼",codeSubtitle:"我們已向提供的號碼發送了一個{n}位數的SMS驗證碼。",newPasswordTitle:"設定新密碼",newPasswordSubtitle:"選擇一個強密碼。不要與任何人分享。",passwordUpdatedTitle:"密碼已更新",passwordUpdatedSubtitle:"您的密碼已成功更改。",canLoginNote:"您現在可以使用新密碼登入。",countryCodeLabel:"區號",phoneLabel:"電話號碼",verificationCodeLabel:"驗證碼",newPasswordLabel:"新密碼",confirmPasswordLabel:"確認密碼",passwordPlaceholder:"至少8個字符,包含字母和數字",attemptsLeft:"剩餘嘗試次數",expiresIn:"到期時間",requestCode:"請求驗證碼",requesting:"請求中…",submitCode:"提交驗證碼",verifying:"驗證中…",resendCode:"重新發送",updatePassword:"更新密碼",updating:"更新中…",close:"關閉",invalidPrefix:"請輸入有效的區號",invalidPhone:"請輸入有效的電話號碼。",genericIfRegistered:"如果該號碼已註冊,您將很快收到包含4位數驗證碼的SMS。",enterDigitsCode:"請輸入{n}位數驗證碼。",incorrectCode:"驗證碼錯誤。請重試。",codeExpired:"驗證碼已過期。請請求新的驗證碼。",tooManyAttempts:"嘗試次數過多。請請求新的驗證碼。",invalidRequest:"無效請求。請請求新的驗證碼。",sessionNotFound:"找不到會話。請請求新的驗證碼。",unableToVerify:"無法驗證驗證碼。請重試。",sessionExpired:"會話已過期。請重新開始重設過程。",passwordsMismatch:"密碼不匹配。",passwordTooShort:"密碼必須至少8個字符。",passwordWeak:"使用字母和數字以提高安全性。",passwordPolicy:"您的密碼不符合安全要求。",resetLinkExpired:"您的重設連結已過期或已被使用。請重新開始過程。",couldNotUpdatePassword:"無法更新密碼。請重試。"},fr:{resetTitle:"Réinitialiser votre mot de passe",resetSubtitle:"Suivez les étapes ci-dessous pour réinitialiser votre mot de passe en toute sécurité.",enterPhoneHelp:"Entrez votre numéro de téléphone enregistré pour recevoir un code de vérification.",enterCodeTitle:"Entrez le code de vérification",codeSubtitle:"Nous avons envoyé un code à {n} chiffres par SMS au numéro fourni.",newPasswordTitle:"Définir un nouveau mot de passe",newPasswordSubtitle:"Choisissez un mot de passe fort. Ne le partagez avec personne.",passwordUpdatedTitle:"Mot de passe mis à jour",passwordUpdatedSubtitle:"Votre mot de passe a été modifié avec succès.",canLoginNote:"Vous pouvez maintenant vous connecter avec votre nouveau mot de passe.",countryCodeLabel:"Préfixe",phoneLabel:"Numéro de téléphone",verificationCodeLabel:"Code de vérification",newPasswordLabel:"Nouveau mot de passe",confirmPasswordLabel:"Confirmer le mot de passe",passwordPlaceholder:"Au moins 8 caractères, lettres et chiffres",attemptsLeft:"Tentatives restantes",expiresIn:"Expire dans",requestCode:"Demander le code",requesting:"Demande en cours…",submitCode:"Soumettre le code",verifying:"Vérification…",resendCode:"Renvoyer le code",updatePassword:"Mettre à jour le mot de passe",updating:"Mise à jour…",close:"Fermer",invalidPrefix:"Veuillez entrer un préfixe valide",invalidPhone:"Veuillez entrer un numéro de téléphone valide.",genericIfRegistered:"Si le numéro est enregistré, vous recevrez bientôt un SMS avec un code à 4 chiffres.",enterDigitsCode:"Entrez le code à {n} chiffres.",incorrectCode:"Code incorrect. Veuillez réessayer.",codeExpired:"Code expiré. Veuillez en demander un nouveau.",tooManyAttempts:"Trop de tentatives. Veuillez demander un nouveau code.",invalidRequest:"Demande invalide. Veuillez demander un nouveau code.",sessionNotFound:"Session introuvable. Veuillez demander un nouveau code.",unableToVerify:"Impossible de vérifier le code. Veuillez réessayer.",sessionExpired:"Session expirée. Veuillez redémarrer le processus de réinitialisation.",passwordsMismatch:"Les mots de passe ne correspondent pas.",passwordTooShort:"Le mot de passe doit contenir au moins 8 caractères.",passwordWeak:"Utilisez des lettres et des chiffres pour une meilleure sécurité.",passwordPolicy:"Votre mot de passe ne respecte pas les exigences de sécurité.",resetLinkExpired:"Votre lien de réinitialisation a expiré ou a déjà été utilisé. Veuillez redémarrer le processus.",couldNotUpdatePassword:"Impossible de mettre à jour le mot de passe. Veuillez réessayer."},tr:{resetTitle:"Şifrenizi sıfırlayın",resetSubtitle:"Şifrenizi güvenli bir şekilde sıfırlamak için aşağıdaki adımları izleyin.",enterPhoneHelp:"Doğrulama kodu almak için kayıtlı telefon numaranızı girin.",enterCodeTitle:"Doğrulama kodunu girin",codeSubtitle:"Sağlanan numaraya {n} haneli bir kod SMS ile gönderdik.",newPasswordTitle:"Yeni şifre belirleyin",newPasswordSubtitle:"Güçlü bir şifre seçin. Kimseyle paylaşmayın.",passwordUpdatedTitle:"Şifre güncellendi",passwordUpdatedSubtitle:"Şifreniz başarıyla değiştirildi.",canLoginNote:"Artık yeni şifrenizi kullanarak giriş yapabilirsiniz.",countryCodeLabel:"Ön ek",phoneLabel:"Telefon numarası",verificationCodeLabel:"Doğrulama kodu",newPasswordLabel:"Yeni şifre",confirmPasswordLabel:"Şifreyi onayla",passwordPlaceholder:"En az 8 karakter, harf ve rakam",attemptsLeft:"Kalan deneme",expiresIn:"Süresi doluyor",requestCode:"Kod iste",requesting:"İstek gönderiliyor…",submitCode:"Kodu gönder",verifying:"Doğrulanıyor…",resendCode:"Kodu tekrar gönder",updatePassword:"Şifreyi güncelle",updating:"Güncelleniyor…",close:"Kapat",invalidPrefix:"Lütfen geçerli bir ön ek girin",invalidPhone:"Lütfen geçerli bir telefon numarası girin.",genericIfRegistered:"Numara kayıtlıysa, yakında 4 haneli bir kod içeren SMS alacaksınız.",enterDigitsCode:"{n} haneli kodu girin.",incorrectCode:"Yanlış kod. Lütfen tekrar deneyin.",codeExpired:"Kod süresi doldu. Lütfen yeni bir kod isteyin.",tooManyAttempts:"Çok fazla deneme. Lütfen yeni bir kod isteyin.",invalidRequest:"Geçersiz istek. Lütfen yeni bir kod isteyin.",sessionNotFound:"Oturum bulunamadı. Lütfen yeni bir kod isteyin.",unableToVerify:"Kod doğrulanamadı. Lütfen tekrar deneyin.",sessionExpired:"Oturum süresi doldu. Lütfen sıfırlama işlemini yeniden başlatın.",passwordsMismatch:"Şifreler eşleşmiyor.",passwordTooShort:"Şifre en az 8 karakter olmalıdır.",passwordWeak:"Daha iyi güvenlik için harf ve rakam kullanın.",passwordPolicy:"Şifreniz güvenlik gereksinimlerini karşılamıyor.",resetLinkExpired:"Sıfırlama bağlantınızın süresi doldu veya zaten kullanıldı. Lütfen işlemi yeniden başlatın.",couldNotUpdatePassword:"Şifre güncellenemedi. Lütfen tekrar deneyin."},es:{resetTitle:"Restablecer su contraseña",resetSubtitle:"Siga los pasos a continuación para restablecer su contraseña de forma segura.",enterPhoneHelp:"Ingrese su número de teléfono registrado para recibir un código de verificación.",enterCodeTitle:"Ingrese el código de verificación",codeSubtitle:"Enviamos un código de {n} dígitos por SMS al número proporcionado.",newPasswordTitle:"Establecer una nueva contraseña",newPasswordSubtitle:"Elija una contraseña segura. No la comparta con nadie.",passwordUpdatedTitle:"Contraseña actualizada",passwordUpdatedSubtitle:"Su contraseña fue cambiada exitosamente.",canLoginNote:"Ahora puede iniciar sesión usando su nueva contraseña.",countryCodeLabel:"Prefijo",phoneLabel:"Número de teléfono",verificationCodeLabel:"Código de verificación",newPasswordLabel:"Nueva contraseña",confirmPasswordLabel:"Confirmar contraseña",passwordPlaceholder:"Al menos 8 caracteres, letras y números",attemptsLeft:"Intentos restantes",expiresIn:"Expira en",requestCode:"Solicitar código",requesting:"Solicitando…",submitCode:"Enviar código",verifying:"Verificando…",resendCode:"Reenviar código",updatePassword:"Actualizar contraseña",updating:"Actualizando…",close:"Cerrar",invalidPrefix:"Por favor ingrese un prefijo válido",invalidPhone:"Por favor ingrese un número de teléfono válido.",genericIfRegistered:"Si el número está registrado, recibirá un SMS con un código de 4 dígitos en breve.",enterDigitsCode:"Ingrese el código de {n} dígitos.",incorrectCode:"Código incorrecto. Por favor intente de nuevo.",codeExpired:"Código expirado. Por favor solicite uno nuevo.",tooManyAttempts:"Demasiados intentos. Por favor solicite un nuevo código.",invalidRequest:"Solicitud inválida. Por favor solicite un nuevo código.",sessionNotFound:"Sesión no encontrada. Por favor solicite un nuevo código.",unableToVerify:"No se pudo verificar el código. Por favor intente de nuevo.",sessionExpired:"Sesión expirada. Por favor reinicie el proceso de restablecimiento.",passwordsMismatch:"Las contraseñas no coinciden.",passwordTooShort:"La contraseña debe tener al menos 8 caracteres.",passwordWeak:"Use letras y números para mayor seguridad.",passwordPolicy:"Su contraseña no cumple con los requisitos de seguridad.",resetLinkExpired:"Su enlace de restablecimiento ha expirado o ya fue usado. Por favor reinicie el proceso.",couldNotUpdatePassword:"No se pudo actualizar la contraseña. Por favor intente de nuevo."},pt:{resetTitle:"Redefinir sua senha",resetSubtitle:"Siga os passos abaixo para redefinir sua senha com segurança.",enterPhoneHelp:"Digite seu número de telefone registrado para receber um código de verificação.",enterCodeTitle:"Digite o código de verificação",codeSubtitle:"Enviamos um código de {n} dígitos por SMS para o número fornecido.",newPasswordTitle:"Definir uma nova senha",newPasswordSubtitle:"Escolha uma senha forte. Não a compartilhe com ninguém.",passwordUpdatedTitle:"Senha atualizada",passwordUpdatedSubtitle:"Sua senha foi alterada com sucesso.",canLoginNote:"Agora você pode fazer login usando sua nova senha.",countryCodeLabel:"Prefixo",phoneLabel:"Número de telefone",verificationCodeLabel:"Código de verificação",newPasswordLabel:"Nova senha",confirmPasswordLabel:"Confirmar senha",passwordPlaceholder:"Pelo menos 8 caracteres, letras e números",attemptsLeft:"Tentativas restantes",expiresIn:"Expira em",requestCode:"Solicitar código",requesting:"Solicitando…",submitCode:"Enviar código",verifying:"Verificando…",resendCode:"Reenviar código",updatePassword:"Atualizar senha",updating:"Atualizando…",close:"Fechar",invalidPrefix:"Por favor, digite um prefixo válido",invalidPhone:"Por favor, digite um número de telefone válido.",genericIfRegistered:"Se o número estiver registrado, você receberá um SMS com um código de 4 dígitos em breve.",enterDigitsCode:"Digite o código de {n} dígitos.",incorrectCode:"Código incorreto. Por favor, tente novamente.",codeExpired:"Código expirado. Por favor, solicite um novo.",tooManyAttempts:"Muitas tentativas. Por favor, solicite um novo código.",invalidRequest:"Solicitação inválida. Por favor, solicite um novo código.",sessionNotFound:"Sessão não encontrada. Por favor, solicite um novo código.",unableToVerify:"Não foi possível verificar o código. Por favor, tente novamente.",sessionExpired:"Sessão expirada. Por favor, reinicie o processo de redefinição.",passwordsMismatch:"As senhas não coincidem.",passwordTooShort:"A senha deve ter pelo menos 8 caracteres.",passwordWeak:"Use letras e números para maior segurança.",passwordPolicy:"Sua senha não atende aos requisitos de segurança.",resetLinkExpired:"Seu link de redefinição expirou ou já foi usado. Por favor, reinicie o processo.",couldNotUpdatePassword:"Não foi possível atualizar a senha. Por favor, tente novamente."},"en-us":{resetTitle:"Reset your password",resetSubtitle:"Follow the steps below to securely reset your password.",enterPhoneHelp:"Enter your registered phone number to receive a verification code.",enterCodeTitle:"Enter verification code",codeSubtitle:"We sent a {n}-digit code via SMS to the provided number.",newPasswordTitle:"Set a new password",newPasswordSubtitle:"Choose a strong password. Do not share it with anyone.",passwordUpdatedTitle:"Password updated",passwordUpdatedSubtitle:"Your password was changed successfully.",canLoginNote:"You can now log in using your new password.",countryCodeLabel:"Prefix",phoneLabel:"Phone number",verificationCodeLabel:"Verification code",newPasswordLabel:"New password",confirmPasswordLabel:"Confirm password",passwordPlaceholder:"At least 8 chars, letters & numbers",attemptsLeft:"Attempts left",expiresIn:"Expires in",requestCode:"Request code",requesting:"Requesting…",submitCode:"Submit code",verifying:"Verifying…",resendCode:"Resend code",updatePassword:"Update password",updating:"Updating…",close:"Close",invalidPrefix:"Please enter a valid prefix",invalidPhone:"Please enter a valid phone number.",genericIfRegistered:"If the number is registered, you'll receive an SMS with a 4-digit code shortly.",enterDigitsCode:"Enter the {n}-digit code.",incorrectCode:"Incorrect code. Please try again.",codeExpired:"Code expired. Please request a new one.",tooManyAttempts:"Too many attempts. Please request a new code.",invalidRequest:"Invalid request. Please request a new code.",sessionNotFound:"Session not found. Please request a new code.",unableToVerify:"Unable to verify the code. Please try again.",sessionExpired:"Session expired. Please restart the reset process.",passwordsMismatch:"Passwords do not match.",passwordTooShort:"Password must be at least 8 characters.",passwordWeak:"Use letters and numbers for better security.",passwordPolicy:"Your password does not meet the security requirements.",resetLinkExpired:"Your reset link has expired or was already used. Please restart the process.",couldNotUpdatePassword:"Could not update password. Please try again."}};class Pe extends Error{constructor(t,o,i){super(o),this.status=t,this.payload=i}}function me(r){return`reset_attempts_${r}`}function ye(r,t){try{localStorage.setItem(me(r),String(t))}catch(o){}}function $e(r){try{const t=localStorage.getItem(me(r));return t!=null?Math.max(0,parseInt(t,10)):null}catch(t){return null}}function et(r){try{localStorage.removeItem(me(r))}catch(t){}}function tt(r){e.append_styles(r,"svelte-1nua6jd","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.ResetPwdOverlay{position:fixed;inset:0;background:rgba(17, 24, 39, 0.6);display:grid;place-items:center;z-index:100}.ResetPwdCard{position:relative;width:min(92vw, 520px);background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #f9f8f8));color:var(--emw--color-typography-contrast);border-radius:var(--emw--border-radius-large, 16px);padding:20px;box-shadow:0 10px 30px rgba(0, 0, 0, 0.2)}.ResetPwdClose{position:absolute;top:10px;right:10px;width:20px;height:20px;border:none;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background 120ms ease-in-out, filter 120ms ease-in-out}.ResetPwdClose:hover{background:rgba(0, 0, 0, 0.04);filter:brightness(1.02)}.ResetPwdClose:active{filter:brightness(0.98)}.ResetPwdTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semi-bold, 600);padding:0;margin:0 0 10px 0}.ResetPwdSub{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-medium, 16px);padding:0;margin-bottom:10px}.ResetPwdStepTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-medium, 1rem);font-weight:var(--emw--font-weight-semi-bold, 700);padding:0;margin:0 0 5px 0}.ResetPwdHelp{font-size:var(--emw--font-size-medium, 14px);color:#4b5563;margin-bottom:20px}.ResetPwdRow{display:flex;gap:12px;align-items:flex-end;margin-bottom:8px;flex-wrap:wrap}.ResetPwdField{display:flex;flex-direction:column;min-width:0;position:relative}.ResetPwdFieldPrefix{flex:0 1 100px}.ResetPwdFieldPhone{flex:1 1 160px}vaadin-combo-box{width:100%;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-small, 6px);font-size:var(--emw--font-size-medium, 16px);background:transparent;color:inherit}vaadin-combo-box input{width:100%;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #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}vaadin-combo-box-overlay{z-index:101}.ResetPwdFieldCode{flex:1 1 100%}.ResetPwdFieldMeta{flex:1 1 auto;min-width:200px}.ResetPwdMetaRow{display:flex;gap:12px;justify-content:space-between;margin-bottom:4px;flex-wrap:wrap}.ResetPwdMeta{font-size:var(--emw--font-size-xtra-small, 10px);color:#4b5563}.ResetPwdLabel{display:block;font-size:var(--emw--font-size-small, 12px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPwdInput{width:100%;background:transparent;color:inherit;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:6px 12px;box-sizing:border-box;font-size:var(--emw--font-size-medium, 14px);line-height:18px}.ResetPwdInput::placeholder{color:#4b5563}.ResetPwdInput:focus{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));outline:none}.ResetPwdInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdCodeGroup{display:flex;gap:12px}.ResetPwdCodeInput{width:32px;height:32px;text-align:center;font-size:var(--emw--font-size-medium, 16px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-medium, 10px);background:transparent;color:inherit}.ResetPwdCodeInput:focus{outline:none;border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 2px rgba(17, 24, 39, 0.08)}.ResetPwdCodeInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdErrors{margin-top:8px;margin-bottom:8px}.ResetPwdError{color:var(--emw--color-error, #b91c1c);font-size:var(--emw--font-size-xtra-small, 9px)}.ResetPwdError+.ResetPwdError{margin-top:4px}.ResetPwdHint{color:#92400e;background:#fef3c7;border:1px solid #fde68a;padding:8px 12px;border-radius:var(--emw--border-radius-medium, 10px);font-size:var(--emw--font-size-xtra-small, 9px);margin-top:4px}.ResetPwdButton{width:100%;margin-top:20px;font-family:var(--emw--button-typography, inherit);background:var(--emw--color-primary, #000000);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));border:none;border-radius:var(--emw--button-border-radius, 6px);padding:10px;font-size:var(--emw--font-size-small, 14px);cursor:pointer;transition:filter 120ms ease-in-out}.ResetPwdButton:hover{filter:brightness(1.02)}.ResetPwdButton:active{filter:brightness(0.98)}.ResetPwdButton:disabled{opacity:0.6;cursor:not-allowed}.ResetPwdLink{color:var(--emw--color-typography-contrast);cursor:pointer;background:transparent;text-decoration:underline;border:none;padding:8px 0;font-size:var(--emw--font-size-xtra-small, 10px)}.ResetPwdLink[disabled],.ResetPwdLink[aria-disabled=true]{opacity:0.6;cursor:not-allowed;text-decoration:none}@media(min-width: 768px){.ResetPwdFieldPrefix{flex:0 1 140px}.ResetPwdFieldPhone{flex:1 1 200px}.ResetPwdCodeInput{width:48px;height:48px}}@media(prefers-reduced-motion: reduce){.ResetPwdOverlay,.ResetPwdCard{transition:none !important;animation:none !important}}")}function _e(r,t,o){const i=r.slice();return i[72]=t[o],i[73]=t,i[74]=o,i}function ke(r){let t,o,i,s,n,l,f,c,w=r[10]("resetTitle")+"",p,g,k,R=r[10]("resetSubtitle")+"",D,H,q,W,C,y,E,L,O,h=r[2]==="phone"&&Se(r),b=r[2]==="code"&&xe(r);return{c(){t=e.element("div"),o=e.element("div"),i=e.element("button"),s=e.text("×"),f=e.space(),c=e.element("h2"),p=e.text(w),g=e.space(),k=e.element("p"),D=e.text(R),H=e.space(),h&&h.c(),q=e.space(),b&&b.c(),e.attr(i,"class","ResetPwdClose"),e.attr(i,"type","button"),e.attr(i,"aria-label",n=r[10]("close")),e.attr(i,"title",l=r[10]("close")),e.attr(c,"id","ResetPwdTitle"),e.attr(c,"class","ResetPwdTitle"),e.attr(k,"class","ResetPwdSub"),e.attr(o,"class","ResetPwdCard"),e.attr(t,"class","ResetPwdOverlay"),e.attr(t,"role","dialog"),e.attr(t,"aria-modal","true"),e.attr(t,"aria-labelledby","ResetPwdTitle")},m(P,N){e.insert(P,t,N),e.append(t,o),e.append(o,i),e.append(i,s),e.append(o,f),e.append(o,c),e.append(c,p),e.append(o,g),e.append(o,k),e.append(k,D),e.append(o,H),h&&h.m(o,null),e.append(o,q),b&&b.m(o,null),E=!0,L||(O=e.listen(i,"click",r[25]),L=!0)},p(P,N){r=P,(!E||N[0]&1024&&n!==(n=r[10]("close")))&&e.attr(i,"aria-label",n),(!E||N[0]&1024&&l!==(l=r[10]("close")))&&e.attr(i,"title",l),(!E||N[0]&1024)&&w!==(w=r[10]("resetTitle")+"")&&e.set_data(p,w),(!E||N[0]&1024)&&R!==(R=r[10]("resetSubtitle")+"")&&e.set_data(D,R),r[2]==="phone"?h?h.p(r,N):(h=Se(r),h.c(),h.m(o,q)):h&&(h.d(1),h=null),r[2]==="code"?b?b.p(r,N):(b=xe(r),b.c(),b.m(o,null)):b&&(b.d(1),b=null)},i(P){E||(P&&e.add_render_callback(()=>{E&&(C&&C.end(1),W=e.create_in_transition(o,ge,r[23]),W.start())}),P&&e.add_render_callback(()=>{E&&(y||(y=e.create_bidirectional_transition(t,be,r[22],!0)),y.run(1))}),E=!0)},o(P){W&&W.invalidate(),P&&(C=e.create_out_transition(o,ge,r[24])),P&&(y||(y=e.create_bidirectional_transition(t,be,r[22],!1)),y.run(0)),E=!1},d(P){P&&e.detach(t),h&&h.d(),b&&b.d(),P&&C&&C.end(),P&&y&&y.end(),L=!1,O()}}}function Se(r){let t,o,i=r[10]("enterPhoneHelp")+"",s,n,l,f,c,w=r[10]("countryCodeLabel")+"",p,g,k,R,D,H=r[10]("phoneLabel")+"",q,W,C,y,E,L,O,h,b,P=(r[11]?r[10]("requesting"):r[10]("requestCode"))+"",N,X,oe;function ne(v,m){return v[0]==="true"?ot:rt}let G=ne(r),T=G(r),_=r[15]&&Re(r),x=r[16]&&Ce(r);return{c(){t=e.element("section"),o=e.element("p"),s=e.text(i),n=e.space(),l=e.element("div"),f=e.element("div"),c=e.element("label"),p=e.text(w),g=e.space(),T.c(),k=e.space(),R=e.element("div"),D=e.element("label"),q=e.text(H),W=e.space(),C=e.element("input"),E=e.space(),L=e.element("div"),_&&_.c(),O=e.space(),x&&x.c(),h=e.space(),b=e.element("button"),N=e.text(P),e.attr(o,"class","ResetPwdHelp"),e.attr(c,"class","ResetPwdLabel"),e.attr(c,"for","ResetPwdPrefix"),e.attr(f,"class","ResetPwdField ResetPwdFieldPrefix"),e.toggle_class(f,"ResetPwdFieldFilled",r[14]),e.attr(D,"class","ResetPwdLabel"),e.attr(D,"for","ResetPwdPhone"),e.attr(C,"id","ResetPwdPhone"),e.attr(C,"class","ResetPwdInput ResetPwdInputPhone"),e.attr(C,"type","tel"),e.attr(C,"autocomplete","tel-national"),e.attr(C,"aria-invalid",y=r[15]?"true":"false"),e.attr(R,"class","ResetPwdField ResetPwdFieldPhone"),e.toggle_class(R,"ResetPwdFieldFilled",r[3]),e.attr(l,"class","ResetPwdRow"),e.attr(l,"aria-describedby","ResetPwdRowErrorsPhone"),e.attr(L,"id","ResetPwdRowErrorsPhone"),e.attr(L,"class","ResetPwdErrors"),e.attr(L,"role","alert"),e.attr(L,"aria-live","assertive"),e.attr(b,"class","ResetPwdButton"),e.attr(b,"type","button"),b.disabled=r[11],e.attr(t,"class","ResetPwdSection ResetPwdSectionPhone")},m(v,m){e.insert(v,t,m),e.append(t,o),e.append(o,s),e.append(t,n),e.append(t,l),e.append(l,f),e.append(f,c),e.append(c,p),e.append(f,g),T.m(f,null),e.append(l,k),e.append(l,R),e.append(R,D),e.append(D,q),e.append(R,W),e.append(R,C),e.set_input_value(C,r[3]),e.append(t,E),e.append(t,L),_&&_.m(L,null),e.append(L,O),x&&x.m(L,null),e.append(t,h),e.append(t,b),e.append(b,N),X||(oe=[e.listen(C,"input",r[49]),e.listen(b,"click",r[30])],X=!0)},p(v,m){m[0]&1024&&i!==(i=v[10]("enterPhoneHelp")+"")&&e.set_data(s,i),m[0]&1024&&w!==(w=v[10]("countryCodeLabel")+"")&&e.set_data(p,w),G===(G=ne(v))&&T?T.p(v,m):(T.d(1),T=G(v),T&&(T.c(),T.m(f,null))),m[0]&16384&&e.toggle_class(f,"ResetPwdFieldFilled",v[14]),m[0]&1024&&H!==(H=v[10]("phoneLabel")+"")&&e.set_data(q,H),m[0]&32768&&y!==(y=v[15]?"true":"false")&&e.attr(C,"aria-invalid",y),m[0]&8&&e.set_input_value(C,v[3]),m[0]&8&&e.toggle_class(R,"ResetPwdFieldFilled",v[3]),v[15]?_?(_.p(v,m),m[0]&32768&&e.transition_in(_,1)):(_=Re(v),_.c(),e.transition_in(_,1),_.m(L,O)):_&&(e.group_outros(),e.transition_out(_,1,1,()=>{_=null}),e.check_outros()),v[16]?x?(x.p(v,m),m[0]&65536&&e.transition_in(x,1)):(x=Ce(v),x.c(),e.transition_in(x,1),x.m(L,null)):x&&(e.group_outros(),e.transition_out(x,1,1,()=>{x=null}),e.check_outros()),m[0]&3072&&P!==(P=(v[11]?v[10]("requesting"):v[10]("requestCode"))+"")&&e.set_data(N,P),m[0]&2048&&(b.disabled=v[11])},d(v){v&&e.detach(t),T.d(),_&&_.d(),x&&x.d(),X=!1,e.run_all(oe)}}}function rt(r){let t,o,i,s;return{c(){t=e.element("input"),e.attr(t,"id","ResetPwdPrefix"),e.attr(t,"class","ResetPwdInput ResetPwdInputPrefix"),e.attr(t,"type","text"),t.readOnly=o=r[0]!=="true",e.attr(t,"autocomplete","tel-country-code")},m(n,l){e.insert(n,t,l),e.set_input_value(t,r[14]),i||(s=e.listen(t,"input",r[48]),i=!0)},p(n,l){l[0]&1&&o!==(o=n[0]!=="true")&&(t.readOnly=o),l[0]&16384&&t.value!==n[14]&&e.set_input_value(t,n[14])},d(n){n&&e.detach(t),i=!1,s()}}}function ot(r){let t,o;return{c(){t=e.element("vaadin-combo-box"),e.set_custom_element_data(t,"items",r[13]),e.set_custom_element_data(t,"value",r[14]),e.set_custom_element_data(t,"errorMessage",o=r[10]("invalidPrefix")),e.set_custom_element_data(t,"onChange",r[29])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&8192&&e.set_custom_element_data(t,"items",i[13]),s[0]&16384&&e.set_custom_element_data(t,"value",i[14]),s[0]&1024&&o!==(o=i[10]("invalidPrefix"))&&e.set_custom_element_data(t,"errorMessage",o)},d(i){i&&e.detach(t)}}}function Re(r){let t,o,i,s;return{c(){t=e.element("div"),o=e.text(r[15]),e.attr(t,"class","ResetPwdError")},m(n,l){e.insert(n,t,l),e.append(t,o),s=!0},p(n,l){(!s||l[0]&32768)&&e.set_data(o,n[15])},i(n){s||(n&&e.add_render_callback(()=>{s&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!0)),i.run(1))}),s=!0)},o(n){n&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!1)),i.run(0)),s=!1},d(n){n&&e.detach(t),n&&i&&i.end()}}}function Ce(r){let t,o,i,s;return{c(){t=e.element("div"),o=e.text(r[16]),e.attr(t,"class","ResetPwdHint")},m(n,l){e.insert(n,t,l),e.append(t,o),s=!0},p(n,l){(!s||l[0]&65536)&&e.set_data(o,n[16])},i(n){s||(n&&e.add_render_callback(()=>{s&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!0)),i.run(1))}),s=!0)},o(n){n&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!1)),i.run(0)),s=!1},d(n){n&&e.detach(t),n&&i&&i.end()}}}function xe(r){let t,o,i=r[10]("enterCodeTitle")+"",s,n,l,f=r[10]("codeSubtitle").replace("{n}",String(r[26]))+"",c,w,p,g,k,R=r[10]("verificationCodeLabel")+"",D,H,q,W,C,y,E,L,O,h,b,P,N,X=r[10]("attemptsLeft")+"",oe,ne,G,T,_,x,v,m,Y,j,Q,$,le=(r[11]?r[10]("verifying"):r[10]("submitCode"))+"",ee,ie,te,de,J=e.ensure_array_like(Array(r[26])),K=[];for(let d=0;d<J.length;d+=1)K[d]=ze(_e(r,J,d));let U=r[17]&&Le(r),S=r[18]&&r[9]===0&&Te(r),I=r[5]&&Me(r);function F(d,M){return d[6]&&d[7]<d[6]?at:it}let se=F(r),Z=se(r);return{c(){t=e.element("section"),o=e.element("h3"),s=e.text(i),n=e.space(),l=e.element("p"),c=e.text(f),w=e.space(),p=e.element("div"),g=e.element("div"),k=e.element("label"),D=e.text(R),H=e.space(),q=e.element("div");for(let d=0;d<K.length;d+=1)K[d].c();C=e.space(),y=e.element("div"),U&&U.c(),E=e.space(),S&&S.c(),L=e.space(),O=e.element("div"),h=e.element("div"),b=e.element("div"),P=e.element("span"),N=e.element("strong"),oe=e.text(X),ne=e.text(":"),G=e.space(),T=e.element("span"),_=e.text(r[4]),x=e.space(),I&&I.c(),v=e.space(),m=e.element("button"),Z.c(),Q=e.space(),$=e.element("button"),ee=e.text(le),e.attr(o,"id","ResetPwdCodeTitle"),e.attr(o,"class","ResetPwdStepTitle"),e.attr(l,"class","ResetPwdHelp"),e.attr(k,"class","ResetPwdLabel"),e.attr(k,"for","ResetPwdCode"),e.attr(q,"class","ResetPwdCodeGroup"),e.attr(q,"role","group"),e.attr(q,"aria-label",W=r[10]("verificationCodeLabel")),e.attr(g,"class","ResetPwdField ResetPwdFieldCode"),e.attr(p,"class","ResetPwdRow"),e.attr(p,"aria-describedby","ResetPwdRowErrorsCode"),e.attr(y,"id","ResetPwdRowErrorsCode"),e.attr(y,"class","ResetPwdErrors"),e.attr(y,"role","alert"),e.attr(y,"aria-live","assertive"),e.attr(T,"class","ResetPwdAttempts"),e.attr(P,"class","ResetPwdMeta"),e.attr(b,"class","ResetPwdMetaRow"),e.attr(m,"class","ResetPwdLink"),e.attr(m,"type","button"),m.disabled=Y=r[11]||r[6]&&r[7]<r[6],e.attr(m,"aria-disabled",j=r[11]||r[6]&&r[7]<r[6]),e.attr(h,"class","ResetPwdField ResetPwdFieldMeta"),e.attr(O,"class","ResetPwdRow"),e.attr(O,"aria-describedby","ResetPwdRowErrorsCode"),e.attr($,"class","ResetPwdButton"),e.attr($,"type","button"),$.disabled=ie=r[11]||r[20],e.attr(t,"class","ResetPwdSection ResetPwdSectionCode"),e.attr(t,"aria-labelledby","ResetPwdCodeTitle")},m(d,M){e.insert(d,t,M),e.append(t,o),e.append(o,s),e.append(t,n),e.append(t,l),e.append(l,c),e.append(t,w),e.append(t,p),e.append(p,g),e.append(g,k),e.append(k,D),e.append(g,H),e.append(g,q);for(let A=0;A<K.length;A+=1)K[A]&&K[A].m(q,null);e.append(t,C),e.append(t,y),U&&U.m(y,null),e.append(y,E),S&&S.m(y,null),e.append(t,L),e.append(t,O),e.append(O,h),e.append(h,b),e.append(b,P),e.append(P,N),e.append(N,oe),e.append(N,ne),e.append(P,G),e.append(P,T),e.append(T,_),e.append(b,x),I&&I.m(b,null),e.append(h,v),e.append(h,m),Z.m(m,null),e.append(t,Q),e.append(t,$),e.append($,ee),te||(de=[e.listen(m,"click",r[32]),e.listen($,"click",r[31])],te=!0)},p(d,M){if(M[0]&1024&&i!==(i=d[10]("enterCodeTitle")+"")&&e.set_data(s,i),M[0]&1024&&f!==(f=d[10]("codeSubtitle").replace("{n}",String(d[26]))+"")&&e.set_data(c,f),M[0]&1024&&R!==(R=d[10]("verificationCodeLabel")+"")&&e.set_data(D,R),M[0]&403308800){J=e.ensure_array_like(Array(d[26]));let A;for(A=0;A<J.length;A+=1){const ue=_e(d,J,A);K[A]?K[A].p(ue,M):(K[A]=ze(ue),K[A].c(),K[A].m(q,null))}for(;A<K.length;A+=1)K[A].d(1);K.length=J.length}M[0]&1024&&W!==(W=d[10]("verificationCodeLabel"))&&e.attr(q,"aria-label",W),d[17]?U?(U.p(d,M),M[0]&131072&&e.transition_in(U,1)):(U=Le(d),U.c(),e.transition_in(U,1),U.m(y,E)):U&&(e.group_outros(),e.transition_out(U,1,1,()=>{U=null}),e.check_outros()),d[18]&&d[9]===0?S?(S.p(d,M),M[0]&262656&&e.transition_in(S,1)):(S=Te(d),S.c(),e.transition_in(S,1),S.m(y,null)):S&&(e.group_outros(),e.transition_out(S,1,1,()=>{S=null}),e.check_outros()),M[0]&1024&&X!==(X=d[10]("attemptsLeft")+"")&&e.set_data(oe,X),M[0]&16&&e.set_data(_,d[4]),d[5]?I?I.p(d,M):(I=Me(d),I.c(),I.m(b,null)):I&&(I.d(1),I=null),se===(se=F(d))&&Z?Z.p(d,M):(Z.d(1),Z=se(d),Z&&(Z.c(),Z.m(m,null))),M[0]&2240&&Y!==(Y=d[11]||d[6]&&d[7]<d[6])&&(m.disabled=Y),M[0]&2240&&j!==(j=d[11]||d[6]&&d[7]<d[6])&&e.attr(m,"aria-disabled",j),M[0]&3072&&le!==(le=(d[11]?d[10]("verifying"):d[10]("submitCode"))+"")&&e.set_data(ee,le),M[0]&1050624&&ie!==(ie=d[11]||d[20])&&($.disabled=ie)},d(d){d&&e.detach(t),e.destroy_each(K,d),U&&U.d(),S&&S.d(),I&&I.d(),Z.d(),te=!1,e.run_all(de)}}}function ze(r){let t,o,i,s=r[74],n,l;const f=()=>r[50](t,s),c=()=>r[50](null,s);function w(...g){return r[51](r[74],...g)}function p(...g){return r[52](r[74],...g)}return{c(){t=e.element("input"),e.attr(t,"class","ResetPwdCodeInput"),e.attr(t,"type","text"),e.attr(t,"maxlength","1"),t.value=o=r[8][r[74]],e.attr(t,"inputmode","numeric"),e.attr(t,"pattern","\\d*"),e.attr(t,"autocomplete","one-time-code"),e.attr(t,"placeholder","•"),e.attr(t,"aria-invalid",i=r[17]?"true":"false")},m(g,k){e.insert(g,t,k),f(),n||(l=[e.listen(t,"input",w),e.listen(t,"keydown",p)],n=!0)},p(g,k){r=g,k[0]&256&&o!==(o=r[8][r[74]])&&t.value!==o&&(t.value=o),k[0]&131072&&i!==(i=r[17]?"true":"false")&&e.attr(t,"aria-invalid",i),s!==r[74]&&(c(),s=r[74],f())},d(g){g&&e.detach(t),c(),n=!1,e.run_all(l)}}}function Le(r){let t,o,i,s;return{c(){t=e.element("div"),o=e.text(r[17]),e.attr(t,"class","ResetPwdError")},m(n,l){e.insert(n,t,l),e.append(t,o),s=!0},p(n,l){(!s||l[0]&131072)&&e.set_data(o,n[17])},i(n){s||(n&&e.add_render_callback(()=>{s&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!0)),i.run(1))}),s=!0)},o(n){n&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!1)),i.run(0)),s=!1},d(n){n&&e.detach(t),n&&i&&i.end()}}}function Te(r){let t,o,i,s;return{c(){t=e.element("div"),o=e.text(r[18]),e.attr(t,"class","ResetPwdHint")},m(n,l){e.insert(n,t,l),e.append(t,o),s=!0},p(n,l){(!s||l[0]&262144)&&e.set_data(o,n[18])},i(n){s||(n&&e.add_render_callback(()=>{s&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!0)),i.run(1))}),s=!0)},o(n){n&&(i||(i=e.create_bidirectional_transition(t,ae,{amount:5},!1)),i.run(0)),s=!1},d(n){n&&e.detach(t),n&&i&&i.end()}}}function Me(r){let t,o,i=r[10]("expiresIn")+"",s,n,l,f,c,w;return{c(){t=e.element("span"),o=e.element("strong"),s=e.text(i),n=e.text(":"),l=e.space(),f=e.element("span"),c=e.text(r[9]),w=e.text("s"),e.attr(f,"class","ResetPwdExpires"),e.attr(t,"class","ResetPwdMeta")},m(p,g){e.insert(p,t,g),e.append(t,o),e.append(o,s),e.append(o,n),e.append(t,l),e.append(t,f),e.append(f,c),e.append(f,w)},p(p,g){g[0]&1024&&i!==(i=p[10]("expiresIn")+"")&&e.set_data(s,i),g[0]&512&&e.set_data(c,p[9])},d(p){p&&e.detach(t)}}}function it(r){let t=r[10]("resendCode")+"",o;return{c(){o=e.text(t)},m(i,s){e.insert(i,o,s)},p(i,s){s[0]&1024&&t!==(t=i[10]("resendCode")+"")&&e.set_data(o,t)},d(i){i&&e.detach(o)}}}function at(r){let t=r[10]("resendCode")+"",o,i,s,n,l,f;return{c(){o=e.text(t),i=e.text(" ("),s=e.element("span"),n=e.text(r[21]),l=e.text("s"),f=e.text(")"),e.attr(s,"class","ResetPwdResend")},m(c,w){e.insert(c,o,w),e.insert(c,i,w),e.insert(c,s,w),e.append(s,n),e.append(s,l),e.insert(c,f,w)},p(c,w){w[0]&1024&&t!==(t=c[10]("resendCode")+"")&&e.set_data(o,t),w[0]&2097152&&e.set_data(n,c[21])},d(c){c&&(e.detach(o),e.detach(i),e.detach(s),e.detach(f))}}}function nt(r){let t,o=r[12]&&ke(r);return{c(){t=e.element("div"),o&&o.c()},m(i,s){e.insert(i,t,s),o&&o.m(t,null),r[53](t)},p(i,s){i[12]?o?(o.p(i,s),s[0]&4096&&e.transition_in(o,1)):(o=ke(i),o.c(),e.transition_in(o,1),o.m(t,null)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(i){e.transition_in(o)},o(i){e.transition_out(o)},d(i){i&&e.detach(t),o&&o.d(),r[53](null)}}}function st(r){try{return JSON.parse(r)}catch(t){return}}function Ee(r,t="error"){window.postMessage({type:"WidgetNotification",data:{type:t,message:r}},window.location.href)}function lt(r,t,o){let i,s,n,l,f,c,w,p;e.component_subscribe(r,e.$format,a=>o(10,p=a));let{clientstyling:g=""}=t,{clientstylingurl:k=""}=t,{translationurl:R=""}=t,{mbsource:D}=t,{phoneregex:H=""}=t,{phoneprefixeditable:q="true"}=t,{smscodelength:W="6"}=t,{smscodemaxattempts:C="5"}=t,{smscodettl:y="5"}=t,{resenddelay:E="1"}=t,{endpoint:L=""}=t,{lang:O="en"}=t,h,b="phone",P=!1,N=!0;const X={duration:140,easing:fe},oe={duration:220,start:.96,easing:fe},ne={duration:140,start:1,easing:fe};let G=[],T="",_="",x="",v="",m=null,Y="",j="",Q=/^[\d\.]+$/.test(C)?Number(C):5,$=Number(/^[\d\.]+$/.test(y)?y:5)*60*1e3,le=Number(/^[\d\.]+$/.test(E)?E:1)*60*1e3,ee=null,ie="",te=null,de=null,J=Date.now();setInterval(()=>{o(7,J=Date.now())},250);function K(){try{window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href)}catch(a){}o(12,N=!1)}function U(a){return H?(typeof H=="string"?new RegExp(H):H).test(a.trim()):!1}let S=Number(W),I=[],F=Array(Number(S)).fill("");function se(a,u){const z=a.target.value.replace(/\D/g,"");if(z.length===1)o(8,F[u]=z,F),d(u);else if(z.length>1){const B=z.split("").slice(0,S-u);B.forEach((ce,Ge)=>{o(8,F[u+Ge]=ce,F)}),A(u+B.length-1)}Y=F.join("")}function Z(a,u){a.key==="Backspace"?F[u]?o(8,F[u]="",F):u>0&&(M(u),o(8,F[u-1]="",F)):!/\d/.test(a.key)&&a.key!=="Tab"&&a.key.length===1&&a.preventDefault()}function d(a){var u;a<S-1&&((u=I[a+1])==null||u.focus())}function M(a){var u;a>0&&((u=I[a-1])==null||u.focus())}function A(a){var u;a>=0&&a<S&&((u=I[a])==null||u.focus())}function ue(a,u){return re(this,null,function*(){var ce;const V=yield fetch(a,{method:"POST",headers:{"Content-Type":"application/json"},body:void 0}),z=yield V.text(),B=z?st(z):void 0;if(!V.ok)throw new Pe(V.status,(ce=B==null?void 0:B.error)!=null?ce:V.statusText,B);return B!=null?B:{}})}function Ie(a){return re(this,null,function*(){const{mobileNumber:u,mobilePrefix:V}=a,z=new URLSearchParams({mobileNumber:u});V&&z.set("mobilePrefix",V);const B=`${L}/v1/player/resetPasswordByMobilePhone?${z.toString()}`;return yield ue(B)})}function Ne(a){return re(this,null,function*(){const{tokenId:u,validationCode:V}=a,z=new URLSearchParams({tokenId:u,validationCode:V}),B=`${L}/v1/player/resetPasswordByMobilePhone/validate?${z.toString()}`;return yield ue(B)})}function qe(){return re(this,null,function*(){const a=new URL(`${L}/v1/player/operatorSupportedPhoneCodes`),u=yield fetch(a.href);try{return(yield u.json()).phoneCodes.map(z=>({label:z,value:z}))}catch(V){return[]}})}function Ue(a){const u=a.target.value;o(14,_=u)}function we(){return re(this,null,function*(){o(15,x=""),o(16,v=""),o(17,j=""),o(11,P=!0);try{if(!U(T)){o(15,x=p("invalidPhone"));return}const a=yield Ie({mobileNumber:T.trim(),mobilePrefix:(_==null?void 0:_.trim())||void 0});if(a!=null&&a.tokenId){m=a.tokenId,o(5,ee=Date.now()+$),o(6,te=Date.now()+le),o(18,ie=""),Y="",o(8,F=Array.from({length:S},()=>""));const u=$e(m);o(4,Q=u!=null?u:Number(C)),ye(m,Q),o(2,b="code")}else o(16,v=p("genericIfRegistered"))}catch(a){const{message:u,thirdPartyResponse:{message:V}={}}=a;o(15,x=V||u),Ee(x)}finally{o(11,P=!1)}})}function pe(){o(4,Q=Math.max(0,Q-1)),ye(m,Q)}function Fe(){return re(this,null,function*(){o(17,j=""),o(11,P=!0);try{if(!Y||Y.trim().length!==S||!/^\d+$/.test(Y.trim())){o(17,j=p("enterDigitsCode").replace("{n}",String(S)));return}if(!m){o(17,j=p("invalidRequest"));return}const a=yield Ne({tokenId:m,validationCode:Y.trim()});de=a.hashKey.charAt(0)==="/"?a.hashKey.slice(1):a.hashKey,o(2,b="password"),et(m),window.postMessage({type:"SwitchToResetPasswordScreen",key:de},window.location.href)}catch(a){if(o(17,j=p("unableToVerify")),a instanceof Pe){const u=a.payload,V=a.status,z=((u==null?void 0:u.error)||"").toLowerCase();switch(V){case 400:{z.includes("invalid validation code")?(pe(),o(17,j=Q>0?p("incorrectCode"):p("tooManyAttempts"))):z.includes("expired")?(o(17,j=p("codeExpired")),o(18,ie=p("codeExpired")),o(5,ee=null)):z.includes("not valid")||z.includes("invalid token")?o(17,j=p("invalidRequest")):o(17,j=p("unableToVerify"));break}case 424:{z.includes("input is not match")?(pe(),o(17,j=p("incorrectCode"))):z.includes("validation max attempts exceeded")?(pe(),o(17,j=p("tooManyAttempts"))):o(17,j=p("unableToVerify"));break}case 404:{o(17,j=p("sessionNotFound"));break}default:{o(17,j=p("unableToVerify"));break}}Ee(j)}}finally{o(11,P=!1)}})}function Ae(){return re(this,null,function*(){P||te&&J<te||(yield we())})}Qe({withLocale:"en",translations:{}});const Ve=a=>re(this,null,function*(){try{const u=yield fetch(a);if(!u.ok)throw new Error(`Fetch failed with status ${u.status}`);const V=yield u.json();for(const z in V)he(z,V[z])}catch(u){console.error("Error fetching translation",u)}});Object.keys(ve).forEach(a=>{he(a,ve[a])});const De=()=>{Xe(O)};e.onMount(()=>re(this,null,function*(){var a;return o(13,G=yield qe()),o(14,_=(a=G==null?void 0:G[0])==null?void 0:a.value),Y&&Y.length===S&&o(8,F=Y.split("")),()=>{}}));function He(){_=this.value,o(14,_)}function Oe(){T=this.value,o(3,T)}function Ke(a,u){e.binding_callbacks[a?"unshift":"push"](()=>{I[u]=a,o(19,I)})}const We=(a,u)=>se(u,a),Ye=(a,u)=>Z(u,a);function Be(a){e.binding_callbacks[a?"unshift":"push"](()=>{h=a,o(1,h)})}return r.$$set=a=>{"clientstyling"in a&&o(33,g=a.clientstyling),"clientstylingurl"in a&&o(34,k=a.clientstylingurl),"translationurl"in a&&o(35,R=a.translationurl),"mbsource"in a&&o(36,D=a.mbsource),"phoneregex"in a&&o(37,H=a.phoneregex),"phoneprefixeditable"in a&&o(0,q=a.phoneprefixeditable),"smscodelength"in a&&o(38,W=a.smscodelength),"smscodemaxattempts"in a&&o(39,C=a.smscodemaxattempts),"smscodettl"in a&&o(40,y=a.smscodettl),"resenddelay"in a&&o(41,E=a.resenddelay),"endpoint"in a&&o(42,L=a.endpoint),"lang"in a&&o(43,O=a.lang)},r.$$.update=()=>{r.$$.dirty[0]&2|r.$$.dirty[1]&4&&g&&h&&e.setClientStyling(h,g),r.$$.dirty[0]&2|r.$$.dirty[1]&8&&k&&h&&e.setClientStylingURL(h,k),r.$$.dirty[0]&2|r.$$.dirty[1]&32&&D&&h&&e.setStreamStyling(h,`${D}.Style`),r.$$.dirty[1]&4096&&O&&De(),r.$$.dirty[1]&16&&R&&Ve(R),r.$$.dirty[0]&160&&o(9,i=ee?Math.max(0,Math.ceil((ee-J)/1e3)):0),r.$$.dirty[0]&192&&o(21,s=te?Math.max(0,Math.ceil((te-J)/1e3)):0),r.$$.dirty[0]&544&&o(44,n=!!ee&&i===0),r.$$.dirty[0]&1036&&o(15,x=b==="phone"&&T?U(T)?"":p("invalidPhone"):""),r.$$.dirty[0]&256&&o(46,l=F.join("")),r.$$.dirty[0]&256&&o(47,f=F.every(a=>/^\d$/.test(a))),r.$$.dirty[1]&98304&&o(45,c=f&&l.length===S),r.$$.dirty[0]&256&&(Y=F.join("")),r.$$.dirty[0]&16|r.$$.dirty[1]&24576&&o(20,w=!c||n||Q<=0)},[q,h,b,T,Q,ee,te,J,F,i,p,P,N,G,_,x,v,j,ie,I,w,s,X,oe,ne,K,S,se,Z,Ue,we,Fe,Ae,g,k,R,D,H,W,C,y,E,L,O,n,c,l,f,He,Oe,Ke,We,Ye,Be]}class je extends e.SvelteComponent{constructor(t){super(),e.init(this,t,lt,nt,e.safe_not_equal,{clientstyling:33,clientstylingurl:34,translationurl:35,mbsource:36,phoneregex:37,phoneprefixeditable:0,smscodelength:38,smscodemaxattempts:39,smscodettl:40,resenddelay:41,endpoint:42,lang:43},tt,[-1,-1,-1])}get clientstyling(){return this.$$.ctx[33]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[35]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[36]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get phoneregex(){return this.$$.ctx[37]}set phoneregex(t){this.$$set({phoneregex:t}),e.flush()}get phoneprefixeditable(){return this.$$.ctx[0]}set phoneprefixeditable(t){this.$$set({phoneprefixeditable:t}),e.flush()}get smscodelength(){return this.$$.ctx[38]}set smscodelength(t){this.$$set({smscodelength:t}),e.flush()}get smscodemaxattempts(){return this.$$.ctx[39]}set smscodemaxattempts(t){this.$$set({smscodemaxattempts:t}),e.flush()}get smscodettl(){return this.$$.ctx[40]}set smscodettl(t){this.$$set({smscodettl:t}),e.flush()}get resenddelay(){return this.$$.ctx[41]}set resenddelay(t){this.$$set({resenddelay:t}),e.flush()}get endpoint(){return this.$$.ctx[42]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[43]}set lang(t){this.$$set({lang:t}),e.flush()}}e.create_custom_element(je,{clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{},phoneregex:{},phoneprefixeditable:{},smscodelength:{},smscodemaxattempts:{},smscodettl:{},resenddelay:{},endpoint:{},lang:{}},[],[],!0);exports.default=je;
|
|
@@ -14,7 +14,7 @@ var ce = (t, e, o) => new Promise((i, a) => {
|
|
|
14
14
|
}, m = (p) => p.done ? i(p.value) : Promise.resolve(p.value).then(s, d);
|
|
15
15
|
m((o = o.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { i as bt, s as gt, $ as Ee, a as vt, b as ht, S as Pt, c as yt, d as kt, f as re, e as Rt, g as J, t as ye, h as se, j as Ce, k as Q, l as w, m as St, o as Ct, n as _t, p as pe, q as ke, r as zt, u as n, v as F, w as l, x as we, y as C, z as q, A as qe, B as je, C as Le, D as xe, E as _e, F as Ue, G as Lt, H as he, I as xt, J as Tt, K as Mt, L as Et, M as jt } from "./GeneralPlayerForgotPasswordFormNd
|
|
17
|
+
import { i as bt, s as gt, $ as Ee, a as vt, b as ht, S as Pt, c as yt, d as kt, f as re, e as Rt, g as J, t as ye, h as se, j as Ce, k as Q, l as w, m as St, o as Ct, n as _t, p as pe, q as ke, r as zt, u as n, v as F, w as l, x as we, y as C, z as q, A as qe, B as je, C as Le, D as xe, E as _e, F as Ue, G as Lt, H as he, I as xt, J as Tt, K as Mt, L as Et, M as jt } from "./GeneralPlayerForgotPasswordFormNd--lcRUmPc.js";
|
|
18
18
|
function It(t) {
|
|
19
19
|
return t < 0.5 ? 4 * t * t * t : 0.5 * Math.pow(2 * t - 2, 3) + 1;
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as wt, s as bt, $ as Te, a as gt, b as ht, S as vt, c as Pt, f as oe, d as yt, e as kt, g as Ct, h as Z, t as Pe, j as se, k as Re, l as Q, m as p, n as Rt, o as St, p as _t, q as ce, r as ye, u as zt, v as s, w as F, x as l, y as me, z as R, A as q, B as Ie, C as Me, D as _e, E as ze, F as Se, G as Ne, H as Lt, I as he, J as xt, K as Tt, L as Mt, M as Et } from "./GeneralPlayerForgotPasswordFormNd-
|
|
1
|
+
import { i as wt, s as bt, $ as Te, a as gt, b as ht, S as vt, c as Pt, f as oe, d as yt, e as kt, g as Ct, h as Z, t as Pe, j as se, k as Re, l as Q, m as p, n as Rt, o as St, p as _t, q as ce, r as ye, u as zt, v as s, w as F, x as l, y as me, z as R, A as q, B as Ie, C as Me, D as _e, E as ze, F as Se, G as Ne, H as Lt, I as he, J as xt, K as Tt, L as Mt, M as Et } from "./GeneralPlayerForgotPasswordFormNd-DQXQ3vdz.js";
|
|
2
2
|
function jt(t) {
|
|
3
3
|
return t < 0.5 ? 4 * t * t * t : 0.5 * Math.pow(2 * t - 2, 3) + 1;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...r){try{return e.apply(this,r)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerForgotPasswordFormNd-zHNWL0BM.cjs")).then(e=>e.GeneralPlayerForgotPasswordFormNd_ce).then(({default:e})=>{!customElements.get("general-player-forgot-password-form-nd")&&customElements.define("general-player-forgot-password-form-nd",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/GeneralPlayerForgotPasswordFormNd--lcRUmPc.js").then((e) => e.N).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("general-player-forgot-password-form-nd") && customElements.define(
|
|
15
15
|
"general-player-forgot-password-form-nd",
|
|
16
16
|
e.element
|
package/package.json
CHANGED