@everymatrix/general-player-register-form-nd 1.55.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{GeneralPlayerRegisterFormNd-Dr0PY5XW.js → GeneralPlayerRegisterFormNd-8VTYGxnW.js} +1075 -985
  2. package/components/{GeneralPlayerRegisterFormNd-QoCxLCNr.js → GeneralPlayerRegisterFormNd-BjOJLme-.js} +1137 -1047
  3. package/components/GeneralPlayerRegisterFormNd-COjoPcnq.cjs +18 -0
  4. package/components/{GeneralPlayerRegisterFormStep1-JRIJq5z_.cjs → GeneralPlayerRegisterFormStep1-BsCbmcDH.cjs} +1 -1
  5. package/components/{GeneralPlayerRegisterFormStep1-I6tVsjST.js → GeneralPlayerRegisterFormStep1-CCva_4Fo.js} +539 -544
  6. package/components/{GeneralPlayerRegisterFormStep1-DOTUzvZi.js → GeneralPlayerRegisterFormStep1-DugGIjlq.js} +538 -543
  7. package/components/GeneralPlayerRegisterFormStep2-BeQ6H63w.cjs +10 -0
  8. package/components/{GeneralPlayerRegisterFormStep2-BDIjqPh7.js → GeneralPlayerRegisterFormStep2-JKnXlklk.js} +1647 -1704
  9. package/components/{GeneralPlayerRegisterFormStep2-BRIurvy3.js → GeneralPlayerRegisterFormStep2-p71LzdWX.js} +1500 -1565
  10. package/components/{GeneralPlayerRegisterFormStep3-B7AqiDVg.js → GeneralPlayerRegisterFormStep3-8H6c1Q-J.js} +484 -491
  11. package/components/{GeneralPlayerRegisterFormStep3-3yVHwKDi.js → GeneralPlayerRegisterFormStep3-CZTxpXVK.js} +495 -502
  12. package/components/GeneralPlayerRegisterFormStep3-Cpht1p_r.cjs +1 -0
  13. package/components/GeneralPlayerSmsVerificationForm-CnRSLLl4.cjs +1 -0
  14. package/components/{GeneralPlayerSmsVerificationForm-I_smD871.js → GeneralPlayerSmsVerificationForm-gWDpjIxA.js} +180 -187
  15. package/components/{GeneralPlayerSmsVerificationForm-D93ijZa3.js → GeneralPlayerSmsVerificationForm-us-I-beF.js} +183 -190
  16. package/es2015/general-player-register-form-nd.cjs +1 -1
  17. package/es2015/general-player-register-form-nd.js +1 -1
  18. package/esnext/general-player-register-form-nd.js +1 -1
  19. package/package.json +1 -1
  20. package/components/GeneralPlayerRegisterFormNd-B3B0HgIH.cjs +0 -5
  21. package/components/GeneralPlayerRegisterFormStep2-DwejkktO.cjs +0 -10
  22. package/components/GeneralPlayerRegisterFormStep3-DGNV6yud.cjs +0 -1
  23. package/components/GeneralPlayerSmsVerificationForm-BkFD5fn4.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { G as n } from "../components/GeneralPlayerRegisterFormNd-Dr0PY5XW.js";
1
+ import { I as n } from "../components/GeneralPlayerRegisterFormNd-8VTYGxnW.js";
2
2
  function s(t) {
3
3
  return function(...r) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-nd",
3
- "version": "1.55.0",
3
+ "version": "1.56.2",
4
4
  "type": "module",
5
5
  "main": "esnext/general-player-register-form-nd.js",
6
6
  "module": "esnext/general-player-register-form-nd.js",
@@ -1,5 +0,0 @@
1
- "use strict";var yn=Object.defineProperty,vn=Object.defineProperties;var _n=Object.getOwnPropertyDescriptors;var Mt=Object.getOwnPropertySymbols;var En=Object.prototype.hasOwnProperty,wn=Object.prototype.propertyIsEnumerable;var Ve=(e,t,r)=>t in e?yn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Nt=(e,t)=>{for(var r in t||(t={}))En.call(t,r)&&Ve(e,r,t[r]);if(Mt)for(var r of Mt(t))wn.call(t,r)&&Ve(e,r,t[r]);return e},Dt=(e,t)=>vn(e,_n(t));var U=(e,t,r)=>Ve(e,typeof t!="symbol"?t+"":t,r);var xe=(e,t,r)=>new Promise((n,i)=>{var o=l=>{try{a(r.next(l))}catch(u){i(u)}},s=l=>{try{a(r.throw(l))}catch(u){i(u)}},a=l=>l.done?n(l.value):Promise.resolve(l.value).then(o,s);a((r=r.apply(e,t)).next())});function k(){}function pr(e){return e()}function Ft(){return Object.create(null)}function ae(e){e.forEach(pr)}function mt(e){return typeof e=="function"}function pt(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}let Te;function Sn(e,t){return e===t?!0:(Te||(Te=document.createElement("a")),Te.href=t,e===Te.href)}function xn(e){return Object.keys(e).length===0}function dr(e,...t){if(e==null){for(const n of t)n(void 0);return k}const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function gr(e,t,r){e.$$.on_destroy.push(dr(t,r))}const Tn=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function _(e,t){e.appendChild(t)}function br(e,t,r){const n=Hn(e);if(!n.getElementById(t)){const i=B("style");i.id=t,i.textContent=r,Bn(n,i)}}function Hn(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Bn(e,t){return _(e.head||e,t),t.sheet}function D(e,t,r){e.insertBefore(t,r||null)}function M(e){e.parentNode&&e.parentNode.removeChild(e)}function Pn(e,t){for(let r=0;r<e.length;r+=1)e[r]&&e[r].d(t)}function B(e){return document.createElement(e)}function me(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function j(e){return document.createTextNode(e)}function G(){return j(" ")}function yr(){return j("")}function vr(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function T(e,t,r){r==null?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function m(e,t,r){const n=t.toLowerCase();n in e?e[n]=typeof e[n]=="boolean"&&r===""?!0:r:t in e?e[t]=typeof e[t]=="boolean"&&r===""?!0:r:T(e,t,r)}function An(e){return Array.from(e.childNodes)}function q(e,t){t=""+t,e.data!==t&&(e.data=t)}function On(e,t){e.value=t==null?"":t}function Cn(e,t,r){for(let n=0;n<e.options.length;n+=1){const i=e.options[n];if(i.__value===t){i.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function In(e){const t=e.querySelector(":checked");return t&&t.__value}function Rn(e){const t={};return e.childNodes.forEach(r=>{t[r.slot||"default"]=!0}),t}let de;function pe(e){de=e}function Ln(){if(!de)throw new Error("Function called outside component initialization");return de}function _r(e){Ln().$$.on_mount.push(e)}const ee=[],ge=[];let te=[];const Ut=[],Mn=Promise.resolve();let Ke=!1;function Nn(){Ke||(Ke=!0,Mn.then(P))}function Ie(e){te.push(e)}const Xe=new Set;let Y=0;function P(){if(Y!==0)return;const e=de;do{try{for(;Y<ee.length;){const t=ee[Y];Y++,pe(t),Dn(t.$$)}}catch(t){throw ee.length=0,Y=0,t}for(pe(null),ee.length=0,Y=0;ge.length;)ge.pop()();for(let t=0;t<te.length;t+=1){const r=te[t];Xe.has(r)||(Xe.add(r),r())}te.length=0}while(ee.length);for(;Ut.length;)Ut.pop()();Ke=!1,Xe.clear(),pe(e)}function Dn(e){if(e.fragment!==null){e.update(),ae(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Ie)}}function Fn(e){const t=[],r=[];te.forEach(n=>e.indexOf(n)===-1?t.push(n):r.push(n)),r.forEach(n=>n()),te=t}const Un=new Set;function Gn(e,t){e&&e.i&&(Un.delete(e),e.i(t))}function kn(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function jn(e,t,r){const{fragment:n,after_update:i}=e.$$;n&&n.m(t,r),Ie(()=>{const o=e.$$.on_mount.map(pr).filter(mt);e.$$.on_destroy?e.$$.on_destroy.push(...o):ae(o),e.$$.on_mount=[]}),i.forEach(Ie)}function $n(e,t){const r=e.$$;r.fragment!==null&&(Fn(r.after_update),ae(r.on_destroy),r.fragment&&r.fragment.d(t),r.on_destroy=r.fragment=null,r.ctx=[])}function Vn(e,t){e.$$.dirty[0]===-1&&(ee.push(e),Nn(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Er(e,t,r,n,i,o,s=null,a=[-1]){const l=de;pe(e);const u=e.$$={fragment:null,ctx:[],props:o,update:k,not_equal:i,bound:Ft(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:Ft(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(u.root);let h=!1;if(u.ctx=r?r(e,t.props||{},(c,p,...y)=>{const g=y.length?y[0]:p;return u.ctx&&i(u.ctx[c],u.ctx[c]=g)&&(!u.skip_bound&&u.bound[c]&&u.bound[c](g),h&&Vn(e,c)),p}):[],u.update(),h=!0,ae(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){const c=An(t.target);u.fragment&&u.fragment.l(c),c.forEach(M)}else u.fragment&&u.fragment.c();t.intro&&Gn(e.$$.fragment),jn(e,t.target,t.anchor),P()}pe(l)}let wr;typeof HTMLElement=="function"&&(wr=class extends HTMLElement{constructor(t,r,n){super();U(this,"$$ctor");U(this,"$$s");U(this,"$$c");U(this,"$$cn",!1);U(this,"$$d",{});U(this,"$$r",!1);U(this,"$$p_d",{});U(this,"$$l",{});U(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=r,n&&this.attachShadow({mode:"open"})}addEventListener(t,r,n){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(r),this.$$c){const i=this.$$c.$on(t,r);this.$$l_u.set(r,i)}super.addEventListener(t,r,n)}removeEventListener(t,r,n){if(super.removeEventListener(t,r,n),this.$$c){const i=this.$$l_u.get(r);i&&(i(),this.$$l_u.delete(r))}}connectedCallback(){return xe(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(o){return()=>{let s;return{c:function(){s=B("slot"),o!=="default"&&T(s,"name",o)},m:function(u,h){D(u,s,h)},d:function(u){u&&M(s)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const r={},n=Rn(this);for(const o of this.$$s)o in n&&(r[o]=[t(o)]);for(const o of this.attributes){const s=this.$$g_p(o.name);s in this.$$d||(this.$$d[s]=Pe(s,o.value,this.$$p_d,"toProp"))}for(const o in this.$$p_d)!(o in this.$$d)&&this[o]!==void 0&&(this.$$d[o]=this[o],delete this[o]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:Dt(Nt({},this.$$d),{$$slots:r,$$scope:{ctx:[]}})});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const s=Pe(o,this.$$d[o],this.$$p_d,"toAttribute");s==null?this.removeAttribute(this.$$p_d[o].attribute||o):this.setAttribute(this.$$p_d[o].attribute||o,s)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const s of this.$$l[o]){const a=this.$$c.$on(o,s);this.$$l_u.set(s,a)}this.$$l={}}})}attributeChangedCallback(t,r,n){var i;this.$$r||(t=this.$$g_p(t),this.$$d[t]=Pe(t,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(r=>this.$$p_d[r].attribute===t||!this.$$p_d[r].attribute&&r.toLowerCase()===t)||t}});function Pe(e,t,r,n){var o;const i=(o=r[e])==null?void 0:o.type;if(t=i==="Boolean"&&typeof t!="boolean"?t!=null:t,!n||!r[e])return t;if(n==="toAttribute")switch(i){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(i){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function Sr(e,t,r,n,i,o){let s=class extends wr{constructor(){super(e,r,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(a=>(t[a].attribute||a).toLowerCase())}};return Object.keys(t).forEach(a=>{Object.defineProperty(s.prototype,a,{get(){return this.$$c&&a in this.$$c?this.$$c[a]:this.$$d[a]},set(l){var u;l=Pe(a,l,t),this.$$d[a]=l,(u=this.$$c)==null||u.$set({[a]:l})}})}),n.forEach(a=>{Object.defineProperty(s.prototype,a,{get(){var l;return(l=this.$$c)==null?void 0:l[a]}})}),e.element=s,s}class xr{constructor(){U(this,"$$");U(this,"$$set")}$destroy(){$n(this,1),this.$destroy=k}$on(t,r){if(!mt(r))return k;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(r),()=>{const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!xn(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Xn="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Xn);var et=function(e,t){return et=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},et(e,t)};function W(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");et(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var w=function(){return w=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},w.apply(this,arguments)};function Wn(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function tt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function rt(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function re(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function V(e){return typeof e=="function"}function Tr(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var We=Tr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
2
- `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
3
- `):"",this.name="UnsubscriptionError",this.errors=r}});function nt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Me=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=tt(s),l=a.next();!l.done;l=a.next()){var u=l.value;u.remove(this)}}catch(d){t={error:d}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var h=this.initialTeardown;if(V(h))try{h()}catch(d){o=d instanceof We?d.errors:[d]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var p=tt(c),y=p.next();!y.done;y=p.next()){var g=y.value;try{Gt(g)}catch(d){o=o!=null?o:[],d instanceof We?o=re(re([],rt(o)),rt(d.errors)):o.push(d)}}}catch(d){n={error:d}}finally{try{y&&!y.done&&(i=p.return)&&i.call(p)}finally{if(n)throw n.error}}}if(o)throw new We(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)Gt(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&nt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&nt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Hr=Me.EMPTY;function Br(e){return e instanceof Me||e&&"closed"in e&&V(e.remove)&&V(e.add)&&V(e.unsubscribe)}function Gt(e){V(e)?e():e.unsubscribe()}var Pr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},zn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,re([e,t],rt(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Zn(e){zn.setTimeout(function(){throw e})}function kt(){}function Ae(e){e()}var Ar=function(e){W(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,Br(r)&&r.add(n)):n.destination=Yn,n}return t.create=function(r,n,i){return new it(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),qn=Function.prototype.bind;function ze(e,t){return qn.call(e,t)}var Jn=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){He(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){He(n)}else He(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){He(r)}},e}(),it=function(e){W(t,e);function t(r,n,i){var o=e.call(this)||this,s;if(V(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var a;o&&Pr.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&ze(r.next,a),error:r.error&&ze(r.error,a),complete:r.complete&&ze(r.complete,a)}):s=r}return o.destination=new Jn(s),o}return t}(Ar);function He(e){Zn(e)}function Qn(e){throw e}var Yn={closed:!0,next:kt,error:Qn,complete:kt},Kn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ei(e){return e}function ti(e){return e.length===0?ei:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var jt=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=ni(t)?t:new it(t,r,n);return Ae(function(){var s=i,a=s.operator,l=s.source;o.add(a?a.call(o,l):l?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=$t(r),new r(function(i,o){var s=new it({next:function(a){try{t(a)}catch(l){o(l),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[Kn]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return ti(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=$t(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function $t(e){var t;return(t=e!=null?e:Pr.Promise)!==null&&t!==void 0?t:Promise}function ri(e){return e&&V(e.next)&&V(e.error)&&V(e.complete)}function ni(e){return e&&e instanceof Ar||ri(e)&&Br(e)}var ii=Tr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Or=function(e){W(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new Vt(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new ii},t.prototype.next=function(r){var n=this;Ae(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=tt(n.currentObservers),a=s.next();!a.done;a=s.next()){var l=a.value;l.next(r)}}catch(u){i={error:u}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;Ae(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;Ae(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?Hr:(this.currentObservers=null,a.push(r),new Me(function(){n.currentObservers=null,nt(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new jt;return r.source=this,r},t.create=function(r,n){return new Vt(r,n)},t}(jt),Vt=function(e){W(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:Hr},t}(Or),Cr={now:function(){return(Cr.delegate||Date).now()},delegate:void 0},oi=function(e){W(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=Cr);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,l=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+l)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),l=0;l<a.length&&!r.closed;l+=o?1:2)r.next(a[l]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var l=i.now(),u=0,h=1;h<o.length&&o[h]<=l;h+=2)u=h;u&&o.splice(0,u+1)}},t}(Or);const Xt=[],Wt={},si=(e,t=0)=>{if(Xt.indexOf(e)==-1){const r=new oi(t);Wt[e]=r,Xt.push(e)}return Wt[e]},K=[];function ai(e,t){return{subscribe:Ne(e,t).subscribe}}function Ne(e,t=k){let r;const n=new Set;function i(a){if(pt(e,a)&&(e=a,r)){const l=!K.length;for(const u of n)u[1](),K.push(u,e);if(l){for(let u=0;u<K.length;u+=2)K[u][0](K[u+1]);K.length=0}}}function o(a){i(a(e))}function s(a,l=k){const u=[a,l];return n.add(u),n.size===1&&(r=t(i,o)||k),a(e),()=>{n.delete(u),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:s}}function ue(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return ai(r,(s,a)=>{let l=!1;const u=[];let h=0,c=k;const p=()=>{if(h)return;c();const g=t(n?u[0]:u,s,a);o?s(g):c=mt(g)?g:k},y=i.map((g,d)=>dr(g,b=>{u[d]=b,h&=~(1<<d),l&&p()},()=>{h|=1<<d}));return l=!0,p(),function(){ae(y),c(),l=!1}})}function ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var li=function(t){return hi(t)&&!fi(t)};function hi(e){return!!e&&typeof e=="object"}function fi(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||pi(e)}var ci=typeof Symbol=="function"&&Symbol.for,mi=ci?Symbol.for("react.element"):60103;function pi(e){return e.$$typeof===mi}function di(e){return Array.isArray(e)?[]:{}}function be(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ne(di(e),e,t):e}function gi(e,t,r){return e.concat(t).map(function(n){return be(n,r)})}function bi(e,t){if(!t.customMerge)return ne;var r=t.customMerge(e);return typeof r=="function"?r:ne}function yi(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function zt(e){return Object.keys(e).concat(yi(e))}function Ir(e,t){try{return t in e}catch(r){return!1}}function vi(e,t){return Ir(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function _i(e,t,r){var n={};return r.isMergeableObject(e)&&zt(e).forEach(function(i){n[i]=be(e[i],r)}),zt(t).forEach(function(i){vi(e,i)||(Ir(e,i)&&r.isMergeableObject(t[i])?n[i]=bi(i,r)(e[i],t[i],r):n[i]=be(t[i],r))}),n}function ne(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||gi,r.isMergeableObject=r.isMergeableObject||li,r.cloneUnlessOtherwiseSpecified=be;var n=Array.isArray(t),i=Array.isArray(e),o=n===i;return o?n?r.arrayMerge(e,t,r):_i(e,t,r):be(t,r)}ne.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ne(n,i,r)},{})};var Ei=ne,wi=Ei;const Si=ui(wi);function Ze(e,t){var r=t&&t.cache?t.cache:Ai,n=t&&t.serializer?t.serializer:Pi,i=t&&t.strategy?t.strategy:Ti;return i(e,{cache:r,serializer:n})}function xi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Rr(e,t,r,n){var i=xi(n)?n:r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.call(this,n),t.set(i,o)),o}function Lr(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o=="undefined"&&(o=e.apply(this,n),t.set(i,o)),o}function dt(e,t,r,n,i){return r.bind(t,e,n,i)}function Ti(e,t){var r=e.length===1?Rr:Lr;return dt(e,this,r,t.cache.create(),t.serializer)}function Hi(e,t){return dt(e,this,Lr,t.cache.create(),t.serializer)}function Bi(e,t){return dt(e,this,Rr,t.cache.create(),t.serializer)}var Pi=function(){return JSON.stringify(arguments)};function gt(){this.cache=Object.create(null)}gt.prototype.get=function(e){return this.cache[e]};gt.prototype.set=function(e,t){this.cache[e]=t};var Ai={create:function(){return new gt}},qe={variadic:Hi,monadic:Bi},v;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(v||(v={}));var H;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(H||(H={}));var ie;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(ie||(ie={}));function Zt(e){return e.type===H.literal}function Oi(e){return e.type===H.argument}function Mr(e){return e.type===H.number}function Nr(e){return e.type===H.date}function Dr(e){return e.type===H.time}function Fr(e){return e.type===H.select}function Ur(e){return e.type===H.plural}function Ci(e){return e.type===H.pound}function Gr(e){return e.type===H.tag}function kr(e){return!!(e&&typeof e=="object"&&e.type===ie.number)}function ot(e){return!!(e&&typeof e=="object"&&e.type===ie.dateTime)}var jr=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ii=/(?:[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 Ri(e){var t={};return e.replace(Ii,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Li=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Mi(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Li).filter(function(p){return p.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],l=s.slice(1),u=0,h=l;u<h.length;u++){var c=h[u];if(c.length===0)throw new Error("Invalid number skeleton")}r.push({stem:a,options:l})}return r}function Ni(e){return e.replace(/^(.*?)-/,"")}var qt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$r=/^(@+)?(\+|#+)?[rs]?$/g,Di=/(\*)(0+)|(#+)(0+)|(0+)/g,Vr=/^(0+)$/;function Jt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace($r,function(r,n,i){return typeof i!="string"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function Xr(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Fi(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Vr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Qt(e){var t={},r=Xr(e);return r||t}function Ui(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Ni(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=w(w(w({},t),{notation:"scientific"}),i.options.reduce(function(l,u){return w(w({},l),Qt(u))},{}));continue;case"engineering":t=w(w(w({},t),{notation:"engineering"}),i.options.reduce(function(l,u){return w(w({},l),Qt(u))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Di,function(l,u,h,c,p,y){if(u)t.minimumIntegerDigits=h.length;else{if(c&&p)throw new Error("We currently do not support maximum integer digits");if(y)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Vr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(qt.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(qt,function(l,u,h,c,p,y){return h==="*"?t.minimumFractionDigits=u.length:c&&c[0]==="#"?t.maximumFractionDigits=c.length:p&&y?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+y.length):(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length),""});var o=i.options[0];o==="w"?t=w(w({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=w(w({},t),Jt(o)));continue}if($r.test(i.stem)){t=w(w({},t),Jt(i.stem));continue}var s=Xr(i.stem);s&&(t=w(w({},t),s));var a=Fi(i.stem);a&&(t=w(w({},t),a))}return t}var Be={"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 Gi(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var s=1+(o&1),a=o<2?1:3+(o>>1),l="a",u=ki(t);for((u=="H"||u=="k")&&(a=0);a-- >0;)r+=l;for(;s-- >0;)r=u+r}else i==="J"?r+="H":r+=i}return r}function ki(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Be[n||""]||Be[r||""]||Be["".concat(r,"-001")]||Be["001"];return i[0]}var Je,ji=new RegExp("^".concat(jr.source,"*")),$i=new RegExp("".concat(jr.source,"*$"));function E(e,t){return{start:e,end:t}}var Vi=!!String.prototype.startsWith&&"_a".startsWith("a",1),Xi=!!String.fromCodePoint,Wi=!!Object.fromEntries,zi=!!String.prototype.codePointAt,Zi=!!String.prototype.trimStart,qi=!!String.prototype.trimEnd,Ji=!!Number.isSafeInteger,Qi=Ji?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},st=!0;try{var Yi=zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");st=((Je=Yi.exec("a"))===null||Je===void 0?void 0:Je[0])==="a"}catch(e){st=!1}var Yt=Vi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},at=Xi?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");n+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return n},Kt=Wi?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],s=o[0],a=o[1];r[s]=a}return r},Wr=zi?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Ki=Zi?function(t){return t.trimStart()}:function(t){return t.replace(ji,"")},eo=qi?function(t){return t.trimEnd()}:function(t){return t.replace($i,"")};function zr(e,t){return new RegExp(e,t)}var ut;if(st){var er=zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ut=function(t,r){var n;er.lastIndex=r;var i=er.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else ut=function(t,r){for(var n=[];;){var i=Wr(t,r);if(i===void 0||Zr(i)||io(i))break;n.push(i),r+=i>=65536?2:1}return at.apply(void 0,n)};var to=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,n);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:H.pound,location:E(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&lt(this.peek()||0)){var s=this.parseTag(t,r);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,r);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:H.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!lt(this.char()))return this.error(v.INVALID_TAG,E(a,this.clonePosition()));var l=this.clonePosition(),u=this.parseTagName();return i!==u?this.error(v.UNMATCHED_CLOSING_TAG,E(l,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:H.tag,value:i,children:s,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(a,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&no(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,r);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var l=E(n,this.clonePosition());return{val:{type:H.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ro(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return at.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),at(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:H.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=ut(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),s=E(t,o);return{value:n,location:s}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(a){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(s,l));case"number":case"date":case"time":{this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),c=this.parseSimpleArgStyleIfPossible();if(c.err)return c;var p=eo(c.val);if(p.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var y=E(h,this.clonePosition());u={style:p,styleLocation:y}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var d=E(i,this.clonePosition());if(u&&Yt(u==null?void 0:u.style,"::",0)){var b=Ki(u.style.slice(2));if(a==="number"){var c=this.parseNumberSkeletonFromString(b,u.styleLocation);return c.err?c:{val:{type:H.number,value:n,location:d,style:c.val},err:null}}else{if(b.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,d);var S=b;this.locale&&(S=Gi(b,this.locale));var p={type:ie.dateTime,pattern:S,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ri(S):{}},I=a==="date"?H.date:H.time;return{val:{type:I,value:n,location:d,style:p},err:null}}}return{val:{type:a==="number"?H.number:a==="date"?H.date:H.time,value:n,location:d,style:(o=u==null?void 0:u.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var O=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(O,w({},O)));this.bumpSpace();var F=this.parseIdentifierIfPossible(),N=0;if(a!=="select"&&F.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var c=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(c.err)return c;this.bumpSpace(),F=this.parseIdentifierIfPossible(),N=c.val}var R=this.tryParsePluralOrSelectOptions(t,a,r,F);if(R.err)return R;var g=this.tryParseArgumentClose(i);if(g.err)return g;var C=E(i,this.clonePosition());return a==="select"?{val:{type:H.select,value:n,options:Kt(R.val),location:C},err:null}:{val:{type:H.plural,value:n,options:Kt(R.val),offset:N,pluralType:a==="plural"?"cardinal":"ordinal",location:C},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(s,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Mi(t)}catch(i){return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:ie.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ui(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,s=!1,a=[],l=new Set,u=i.value,h=i.location;;){if(u.length===0){var c=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=E(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}else break}if(l.has(u))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);u==="other"&&(s=!0),this.bumpSpace();var y=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var d=this.tryParseArgumentClose(y);if(d.err)return d;a.push([u,{value:g.val,location:E(y,this.clonePosition())}]),l.add(u),this.bumpSpace(),o=this.parseIdentifierIfPossible(),u=o.value,h=o.location}return a.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var l=E(i,this.clonePosition());return o?(s*=n,Qi(s)?{val:s,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Wr(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Yt(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Zr(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n!=null?n:null},e}();function lt(e){return e>=97&&e<=122||e>=65&&e<=90}function ro(e){return lt(e)||e===47}function no(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Zr(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function io(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ht(e){e.forEach(function(t){if(delete t.location,Fr(t)||Ur(t))for(var r in t.options)delete t.options[r].location,ht(t.options[r].value);else Mr(t)&&kr(t.style)||(Nr(t)||Dr(t))&&ot(t.style)?delete t.style.location:Gr(t)&&ht(t.children)})}function oo(e,t){t===void 0&&(t={}),t=w({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new to(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t!=null&&t.captureLocation||ht(r.val),r.val}var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var De=function(e){W(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),tr=function(e){W(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),oe.INVALID_VALUE,o)||this}return t}(De),so=function(e){W(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),oe.INVALID_VALUE,i)||this}return t}(De),ao=function(e){W(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),oe.MISSING_VALUE,n)||this}return t}(De),L;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(L||(L={}));function uo(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==L.literal||r.type!==L.literal?t.push(r):n.value+=r.value,t},[])}function lo(e){return typeof e=="function"}function Oe(e,t,r,n,i,o,s){if(e.length===1&&Zt(e[0]))return[{type:L.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var h=u[l];if(Zt(h)){a.push({type:L.literal,value:h.value});continue}if(Ci(h)){typeof o=="number"&&a.push({type:L.literal,value:r.getNumberFormat(t).format(o)});continue}var c=h.value;if(!(i&&c in i))throw new ao(c,s);var p=i[c];if(Oi(h)){(!p||typeof p=="string"||typeof p=="number")&&(p=typeof p=="string"||typeof p=="number"?String(p):""),a.push({type:typeof p=="string"?L.literal:L.object,value:p});continue}if(Nr(h)){var y=typeof h.style=="string"?n.date[h.style]:ot(h.style)?h.style.parsedOptions:void 0;a.push({type:L.literal,value:r.getDateTimeFormat(t,y).format(p)});continue}if(Dr(h)){var y=typeof h.style=="string"?n.time[h.style]:ot(h.style)?h.style.parsedOptions:n.time.medium;a.push({type:L.literal,value:r.getDateTimeFormat(t,y).format(p)});continue}if(Mr(h)){var y=typeof h.style=="string"?n.number[h.style]:kr(h.style)?h.style.parsedOptions:void 0;y&&y.scale&&(p=p*(y.scale||1)),a.push({type:L.literal,value:r.getNumberFormat(t,y).format(p)});continue}if(Gr(h)){var g=h.children,d=h.value,b=i[d];if(!lo(b))throw new so(d,"function",s);var S=Oe(g,t,r,n,i,o),I=b(S.map(function(N){return N.value}));Array.isArray(I)||(I=[I]),a.push.apply(a,I.map(function(N){return{type:typeof N=="string"?L.literal:L.object,value:N}}))}if(Fr(h)){var O=h.options[p]||h.options.other;if(!O)throw new tr(h.value,p,Object.keys(h.options),s);a.push.apply(a,Oe(O.value,t,r,n,i));continue}if(Ur(h)){var O=h.options["=".concat(p)];if(!O){if(!Intl.PluralRules)throw new De(`Intl.PluralRules is not available in this environment.
4
- Try polyfilling it using "@formatjs/intl-pluralrules"
5
- `,oe.MISSING_INTL_API,s);var F=r.getPluralRules(t,{type:h.pluralType}).select(p-(h.offset||0));O=h.options[F]||h.options.other}if(!O)throw new tr(h.value,p,Object.keys(h.options),s);a.push.apply(a,Oe(O.value,t,r,n,i,p-(h.offset||0)));continue}}return uo(a)}function ho(e,t){return t?w(w(w({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=w(w({},e[n]),t[n]||{}),r},{})):e}function fo(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ho(e[n],t[n]),r},w({},e)):e}function Qe(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function co(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,re([void 0],r,!1)))},{cache:Qe(e.number),strategy:qe.variadic}),getDateTimeFormat:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,re([void 0],r,!1)))},{cache:Qe(e.dateTime),strategy:qe.variadic}),getPluralRules:Ze(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,re([void 0],r,!1)))},{cache:Qe(e.pluralRules),strategy:qe.variadic})}}var mo=function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(l){var u=o.formatToParts(l);if(u.length===1)return u[0].value;var h=u.reduce(function(c,p){return!c.length||p.type!==L.literal||typeof c[c.length-1]!="string"?c.push(p.value):c[c.length-1]+=p.value,c},[]);return h.length<=1?h[0]||"":h},this.formatToParts=function(l){return Oe(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=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=Wn(s,["formatters"]);this.ast=e.__parse(t,w(w({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=fo(e.formats,n),this.formatters=i&&i.formatters||co(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=oo,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function po(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const Z={},go=(e,t,r)=>r&&(t in Z||(Z[t]={}),e in Z[t]||(Z[t][e]=r),r),qr=(e,t)=>{if(t==null)return;if(t in Z&&e in Z[t])return Z[t][e];const r=Fe(t);for(let n=0;n<r.length;n++){const i=r[n],o=yo(i,e);if(o)return go(e,t,o)}};let bt;const J=Ne({});function bo(e){return bt[e]||null}function Jr(e){return e in bt}function yo(e,t){if(!Jr(e))return null;const r=bo(e);return po(r,t)}function vo(e){if(e==null)return;const t=Fe(e);for(let r=0;r<t.length;r++){const n=t[r];if(Jr(n))return n}}function yt(e,...t){delete Z[e],J.update(r=>(r[e]=Si.all([r[e]||{},...t]),r))}ue([J],([e])=>Object.keys(e));J.subscribe(e=>bt=e);const Ce={};function _o(e,t){Ce[e].delete(t),Ce[e].size===0&&delete Ce[e]}function Qr(e){return Ce[e]}function Eo(e){return Fe(e).map(t=>{const r=Qr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function ft(e){return e==null?!1:Fe(e).some(t=>{var r;return(r=Qr(t))==null?void 0:r.size})}function wo(e,t){return Promise.all(t.map(n=>(_o(e,n),n().then(i=>i.default||i)))).then(n=>yt(e,...n))}const ce={};function Yr(e){if(!ft(e))return e in ce?ce[e]:Promise.resolve();const t=Eo(e);return ce[e]=Promise.all(t.map(([r,n])=>wo(r,n))).then(()=>{if(ft(e))return Yr(e);delete ce[e]}),ce[e]}const So={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"}}},xo={fallbackLocale:null,loadingDelay:200,formats:So,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},To=xo;function se(){return To}const Ye=Ne(!1);var Ho=Object.defineProperty,Bo=Object.defineProperties,Po=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,Ao=Object.prototype.hasOwnProperty,Oo=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?Ho(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Co=(e,t)=>{for(var r in t||(t={}))Ao.call(t,r)&&nr(e,r,t[r]);if(rr)for(var r of rr(t))Oo.call(t,r)&&nr(e,r,t[r]);return e},Io=(e,t)=>Bo(e,Po(t));let ct;const Re=Ne(null);function ir(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Fe(e,t=se().fallbackLocale){const r=ir(e);return t?[...new Set([...r,...ir(t)])]:r}function Q(){return ct!=null?ct:void 0}Re.subscribe(e=>{ct=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ro=e=>{if(e&&vo(e)&&ft(e)){const{loadingDelay:t}=se();let r;return typeof window!="undefined"&&Q()!=null&&t?r=window.setTimeout(()=>Ye.set(!0),t):Ye.set(!0),Yr(e).then(()=>{Re.set(e)}).finally(()=>{clearTimeout(r),Ye.set(!1)})}return Re.set(e)},X=Io(Co({},Re),{set:Ro}),Ue=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var Lo=Object.defineProperty,Le=Object.getOwnPropertySymbols,Kr=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,or=(e,t,r)=>t in e?Lo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,vt=(e,t)=>{for(var r in t||(t={}))Kr.call(t,r)&&or(e,r,t[r]);if(Le)for(var r of Le(t))en.call(t,r)&&or(e,r,t[r]);return e},le=(e,t)=>{var r={};for(var n in e)Kr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Le)for(var n of Le(e))t.indexOf(n)<0&&en.call(e,n)&&(r[n]=e[n]);return r};const ye=(e,t)=>{const{formats:r}=se();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Mo=Ue(e=>{var t=e,{locale:r,format:n}=t,i=le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ye("number",n)),new Intl.NumberFormat(r,i)}),No=Ue(e=>{var t=e,{locale:r,format:n}=t,i=le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ye("date",n):Object.keys(i).length===0&&(i=ye("date","short")),new Intl.DateTimeFormat(r,i)}),Do=Ue(e=>{var t=e,{locale:r,format:n}=t,i=le(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ye("time",n):Object.keys(i).length===0&&(i=ye("time","short")),new Intl.DateTimeFormat(r,i)}),Fo=(e={})=>{var t=e,{locale:r=Q()}=t,n=le(t,["locale"]);return Mo(vt({locale:r},n))},Uo=(e={})=>{var t=e,{locale:r=Q()}=t,n=le(t,["locale"]);return No(vt({locale:r},n))},Go=(e={})=>{var t=e,{locale:r=Q()}=t,n=le(t,["locale"]);return Do(vt({locale:r},n))},ko=Ue((e,t=Q())=>new mo(e,t,se().formats,{ignoreTag:se().ignoreTag})),jo=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:l=Q(),default:u}=s;if(l==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=qr(e,l);if(!h)h=(o=(i=(n=(r=se()).handleMissingMessage)==null?void 0:n.call(r,{locale:l,id:e,defaultValue:u}))!=null?i:u)!=null?o:e;else if(typeof h!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h;if(!a)return h;let c=h;try{c=ko(h,l).format(a)}catch(p){p instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,p.message)}return c},$o=(e,t)=>Go(t).format(e),Vo=(e,t)=>Uo(t).format(e),Xo=(e,t)=>Fo(t).format(e),Wo=(e,t=Q())=>qr(e,t),tn=ue([X,J],()=>jo);ue([X],()=>$o);ue([X],()=>Vo);ue([X],()=>Xo);ue([X,J],()=>Wo);window.emWidgets={topic:si};const sr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function zo({withLocale:e,translations:t}){X.subscribe(r=>{r==null&&(J.set(t),X.set(e))})}function ar(e,t){yt(e,t)}function Zo(e){X.set(e)}const ur={en:{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."},zhs:{goToLoginButton:"去登錄",error:"我们遇到了一个问题。请转到登录以接收您的短信代码"},fr:{goToLoginButton:"Aller à la connexion",error:"Nous avons rencontré un problème. Veuillez vous connecter pour recevoir votre code SMS."},tr:{goToLoginButton:"Giriş Yap'a Git",error:"Bir sorunla karşılaştık. SMS kodunuzu almak için lütfen Giriş kısmına gidin."},ro:{goToLoginButton:"Catre Autentificare",error:"Am întâmpinat o problemă. Vă rugăm să accesați Login pentru a primi codul SMS."},es:{goToLoginButton:"Ir a Inicio de Sesión",error:"Encontramos un problema. Vaya a Iniciar sesión para recibir su código SMS."},pt:{goToLoginButton:"Ir para o Login",error:"Encontramos um problema. Vá para Login para receber seu código SMS."},hr:{goToLoginButton:"Idi na Prijava",error:"Naišli smo problem. Idite na Prijava kako biste primili svoj SMS kod."},"pt-br":{goToLoginButton:"Ir ao início da sessão",error:"Descobrimos um problema. Por favor, vá ao início da sessão para receber seu código SMS."},"es-mx":{goToLoginButton:"Ir a inicio de sesión",error:"Encontramos un problema. Por favor vaya al inicio de sesión para recibir su código SMS."},"en-us":{goToLoginButton:"Go To Login",error:"We encountered an issue. Please go to Login to receive your SMS code."}};if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep1-JRIJq5z_.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step1")&&customElements.define("general-player-register-form-step1",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep2-DwejkktO.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step2")&&customElements.define("general-player-register-form-step2",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerRegisterFormStep3-DGNV6yud.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step3")&&customElements.define("general-player-register-form-step3",t.element)})}if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralPlayerSmsVerificationForm-BkFD5fn4.cjs")).then(({default:t})=>{!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",t.element)})}function qo(e){br(e,"svelte-1ybwcf6",".RegisterFormWrapper{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));border-radius:15px}.RegisterFormContainer{padding:25px;height:404px;overflow-y:auto;scrollbar-color:var(--emw--color-gray-100, #E6E6E6) var(--emw--color-gray-50, #F9F8F8);scrollbar-width:thin}.RegisterFormContainer.RegisterFormContainerMobile{padding:40px 20px;height:65vh;overflow-y:scroll}.RegisterFormContainer::-webkit-scrollbar{width:6px}.RegisterFormContainer::-webkit-scrollbar-track{background:var(--emw--color-gray-50, #F9F8F8)}.RegisterFormContainer::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.RegisterSteps{display:flex;gap:10px;padding:20px 0 30px}.RegisterFirstStepDash,.RegisterSecondStepDash,.RegisterThirdStepDash{width:50px;height:2px;background-color:var(--emw--color-gray-100, #E6E6E6)}.RegisterStepDashColor{background-color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.RegisterStepNext{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));font-family:var(--emw--button-typography);width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}.SMSErrorText{height:80%;display:flex;align-items:center}.RegisterConfirmation{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;margin-top:60px}.RegisterConfirmation svg{width:74px}.RegisterConfirmation .RegisterConfirmationTitle{color:var(--emw--color-valid, var(--emw--color-valid, #48952a));font-size:24px;font-weight:var(--emw--font-weight-normal, 400);text-transform:uppercase;margin-bottom:0}.RegisterConfirmation .RegisterConfirmationSubtitle{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:19px;margin-bottom:24px}.RegisterConfirmation .RegisterConfirmationNote{color:var(--emw--registration-contrast, var(--emw--color-typography-cotrast, #444444));font-size:var(--emw--font-size-medium, 16px);line-height:22px}.RegisterConfirmationGoToLogin{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF));width:100%;height:60px;padding:0;text-transform:uppercase;font-size:var(--emw--font-size-medium, 16px);cursor:pointer;margin-top:24px}")}function Jo(e){let t,r,n,i,o,s,a,l=(e[17]||e[18]||e[19])&&lr(e),u=e[17]&&hr(e),h=e[18]&&fr(e),c=e[19]&&cr(e);function p(b,S){if(b[7]&&b[20])return Yo;if(b[30])return Qo}let y=p(e),g=y&&y(e),d=e[21]&&mr(e);return{c(){t=B("div"),r=B("div"),l&&l.c(),n=G(),u&&u.c(),i=G(),h&&h.c(),o=G(),c&&c.c(),s=G(),g&&g.c(),a=G(),d&&d.c(),T(r,"class","RegisterFormContainer "+(e[34]?"RegisterFormContainerMobile":"")),T(t,"class","RegisterFormWrapper")},m(b,S){D(b,t,S),_(t,r),l&&l.m(r,null),_(r,n),u&&u.m(r,null),_(r,i),h&&h.m(r,null),_(r,o),c&&c.m(r,null),_(r,s),g&&g.m(r,null),_(r,a),d&&d.m(r,null)},p(b,S){b[17]||b[18]||b[19]?l?l.p(b,S):(l=lr(b),l.c(),l.m(r,n)):l&&(l.d(1),l=null),b[17]?u?u.p(b,S):(u=hr(b),u.c(),u.m(r,i)):u&&(u.d(1),u=null),b[18]?h?h.p(b,S):(h=fr(b),h.c(),h.m(r,o)):h&&(h.d(1),h=null),b[19]?c?c.p(b,S):(c=cr(b),c.c(),c.m(r,s)):c&&(c.d(1),c=null),y===(y=p(b))&&g?g.p(b,S):(g&&g.d(1),g=y&&y(b),g&&(g.c(),g.m(r,a))),b[21]?d?d.p(b,S):(d=mr(b),d.c(),d.m(r,null)):d&&(d.d(1),d=null)},d(b){b&&M(t),l&&l.d(),u&&u.d(),h&&h.d(),c&&c.d(),g&&g.d(),d&&d.d()}}}function lr(e){let t,r,n,i,o,s,a,l,u;return{c(){t=B("div"),r=B("div"),i=G(),o=B("div"),a=G(),l=B("div"),T(r,"class",n="RegisterFirstStepDash "+(e[17]||!e[17]&&e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":"")),T(o,"class",s="RegisterSecondStepDash "+(e[18]||!e[17]&&!e[18]&&e[19]?"RegisterStepDashColor":"")),T(l,"class",u="RegisterThirdStepDash "+(e[19]?"RegisterStepDashColor":"")),T(t,"class","RegisterSteps")},m(h,c){D(h,t,c),_(t,r),_(t,i),_(t,o),_(t,a),_(t,l),e[40](t)},p(h,c){c[0]&917504&&n!==(n="RegisterFirstStepDash "+(h[17]||!h[17]&&h[18]||!h[17]&&!h[18]&&h[19]?"RegisterStepDashColor":""))&&T(r,"class",n),c[0]&917504&&s!==(s="RegisterSecondStepDash "+(h[18]||!h[17]&&!h[18]&&h[19]?"RegisterStepDashColor":""))&&T(o,"class",s),c[0]&524288&&u!==(u="RegisterThirdStepDash "+(h[19]?"RegisterStepDashColor":""))&&T(l,"class",u)},d(h){h&&M(t),e[40](null)}}}function hr(e){let t,r;return{c(){t=B("div"),r=B("general-player-register-form-step1"),m(r,"lang",e[3]),m(r,"disabledfields",e[5]),m(r,"defaultoptions",e[6]),m(r,"custominputtextswitch",e[13]),m(r,"simplepasswordvalidation",e[8]),m(r,"clientstyling",e[9]),m(r,"clientstylingurl",e[10]),m(r,"savecredentials",e[12]),m(r,"translationurl",e[11]),T(t,"class","RegisterFormStep1")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&8&&m(r,"lang",n[3]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&8192&&m(r,"custominputtextswitch",n[13]),i[0]&256&&m(r,"simplepasswordvalidation",n[8]),i[0]&512&&m(r,"clientstyling",n[9]),i[0]&1024&&m(r,"clientstylingurl",n[10]),i[0]&4096&&m(r,"savecredentials",n[12]),i[0]&2048&&m(r,"translationurl",n[11])},d(n){n&&M(t)}}}function fr(e){let t,r;return{c(){t=B("div"),r=B("general-player-register-form-step2"),m(r,"endpoint",e[0]),m(r,"lang",e[3]),m(r,"licenseyears",e[4]),m(r,"disabledfields",e[5]),m(r,"defaultoptions",e[6]),m(r,"personalidlength",e[14]),m(r,"clientstyling",e[9]),m(r,"clientstylingurl",e[10]),m(r,"translationurl",e[11]),T(t,"class","RegisterFormStep2")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&1&&m(r,"endpoint",n[0]),i[0]&8&&m(r,"lang",n[3]),i[0]&16&&m(r,"licenseyears",n[4]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&16384&&m(r,"personalidlength",n[14]),i[0]&512&&m(r,"clientstyling",n[9]),i[0]&1024&&m(r,"clientstylingurl",n[10]),i[0]&2048&&m(r,"translationurl",n[11])},d(n){n&&M(t)}}}function cr(e){let t,r;return{c(){t=B("div"),r=B("general-player-register-form-step3"),m(r,"userconsentsexist",e[25]),m(r,"termsconditions",e[26]),m(r,"smsoffers",e[27]),m(r,"emailmarketing",e[28]),m(r,"endpoint",e[0]),m(r,"captchakey",e[2]),m(r,"lang",e[3]),m(r,"defaultoptions",e[6]),m(r,"disabledfields",e[5]),m(r,"clientstyling",e[9]),m(r,"clientstylingurl",e[10]),m(r,"translationurl",e[11]),T(t,"class","RegisterFormStep3")},m(n,i){D(n,t,i),_(t,r)},p(n,i){i[0]&33554432&&m(r,"userconsentsexist",n[25]),i[0]&67108864&&m(r,"termsconditions",n[26]),i[0]&134217728&&m(r,"smsoffers",n[27]),i[0]&268435456&&m(r,"emailmarketing",n[28]),i[0]&1&&m(r,"endpoint",n[0]),i[0]&4&&m(r,"captchakey",n[2]),i[0]&8&&m(r,"lang",n[3]),i[0]&64&&m(r,"defaultoptions",n[6]),i[0]&32&&m(r,"disabledfields",n[5]),i[0]&512&&m(r,"clientstyling",n[9]),i[0]&1024&&m(r,"clientstylingurl",n[10]),i[0]&2048&&m(r,"translationurl",n[11])},d(n){n&&M(t)}}}function Qo(e){let t,r=e[33]("error")+"",n;return{c(){t=B("p"),n=j(r),T(t,"class","SMSErrorText")},m(i,o){D(i,t,o),_(t,n)},p(i,o){o[1]&4&&r!==(r=i[33]("error")+"")&&q(n,r)},d(i){i&&M(t)}}}function Yo(e){let t;function r(o,s){return o[30]?Ko:es}let n=r(e),i=n(e);return{c(){i.c(),t=yr()},m(o,s){i.m(o,s),D(o,t,s)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){o&&M(t),i.d(o)}}}function Ko(e){let t,r=e[33]("error")+"",n;return{c(){t=B("p"),n=j(r),T(t,"class","SMSErrorText")},m(i,o){D(i,t,o),_(t,n)},p(i,o){o[1]&4&&r!==(r=i[33]("error")+"")&&q(n,r)},d(i){i&&M(t)}}}function es(e){let t;return{c(){t=B("general-player-sms-verification-form"),m(t,"endpoint",e[0]),m(t,"session",e[1]),m(t,"number",e[31]),m(t,"playerid",e[16]),m(t,"tokenid",e[29]),m(t,"clientstyling",e[9]),m(t,"clientstylingurl",e[10])},m(r,n){D(r,t,n)},p(r,n){n[0]&1&&m(t,"endpoint",r[0]),n[0]&2&&m(t,"session",r[1]),n[1]&1&&m(t,"number",r[31]),n[0]&65536&&m(t,"playerid",r[16]),n[0]&536870912&&m(t,"tokenid",r[29]),n[0]&512&&m(t,"clientstyling",r[9]),n[0]&1024&&m(t,"clientstylingurl",r[10])},d(r){r&&M(t)}}}function mr(e){let t,r,n,i,o,s,a,l,u,h,c,p,y,g,d,b,S,I=e[33]("goToLoginButton")+"",O,F,N;return{c(){t=B("div"),r=me("svg"),n=me("defs"),i=me("style"),o=j(".a{fill:#var(--emw--color-valid, var(--emw--color-green, #48952a));}"),s=me("path"),a=G(),l=B("h2"),u=j(e[22]),h=G(),c=B("p"),p=j(e[23]),y=G(),g=B("p"),d=j(e[24]),b=G(),S=B("button"),O=j(I),T(s,"class","a"),T(s,"d","M29.325,51,0,21.675l5.95-5.95,23.375,22.95L68,0l5.95,5.95Z"),T(r,"xmlns","http://www.w3.org/2000/svg"),T(r,"viewBox","0 0 73.95 51"),T(l,"class","RegisterConfirmationTitle"),T(c,"class","RegisterConfirmationSubtitle"),T(g,"class","RegisterConfirmationNote"),T(S,"class","RegisterConfirmationGoToLogin"),T(t,"class","RegisterConfirmation")},m(R,C){D(R,t,C),_(t,r),_(r,n),_(n,i),_(i,o),_(r,s),_(t,a),_(t,l),_(l,u),_(t,h),_(t,c),_(c,p),_(t,y),_(t,g),_(g,d),_(t,b),_(t,S),_(S,O),F||(N=vr(S,"click",e[35]),F=!0)},p(R,C){C[0]&4194304&&q(u,R[22]),C[0]&8388608&&q(p,R[23]),C[0]&16777216&&q(d,R[24]),C[1]&4&&I!==(I=R[33]("goToLoginButton")+"")&&q(O,I)},d(R){R&&M(t),F=!1,N()}}}function ts(e){let t;function r(o,s){return Jo}let i=r()(e);return{c(){t=B("div"),i.c()},m(o,s){D(o,t,s),i.m(t,null),e[41](t)},p(o,s){i.p(o,s)},i:k,o:k,d(o){o&&M(t),i.d(),e[41](null)}}}let rs="Please use this code {0} to activate your account";function ns(e,t,r){let n;gr(e,tn,f=>r(33,n=f));let{endpoint:i=""}=t,{cmsendpoint:o=""}=t,{env:s=""}=t,{session:a=""}=t,{trackedanalyticsdata:l=""}=t,{captchakey:u=""}=t,{lang:h="en"}=t,{licenseyears:c=""}=t,{disabledfields:p=""}=t,{defaultoptions:y=""}=t,{smsverification:g="false"}=t,{simplepasswordvalidation:d="false"}=t,{userroles:b=""}=t,{clientstyling:S=""}=t,{clientstylingurl:I=""}=t,{translationurl:O=""}=t,{savecredentials:F=""}=t,{custominputtextswitch:N="false"}=t,{personalidlength:R="13"}=t,C,_t="",Ge=!0,he=!1,ve=!1,ke=!1,je=!1,_e,Et=!1,wt="",St="",xt="",Tt=window.navigator.userAgent,nn=sr(Tt)!=="PC",$={},Ht=!1,Bt=!1,$e="false",Pt="false",At="false",Ot="false",Ct="",It,Ee=!1,Rt,we;zo({withLocale:"en",translations:{}});const on=()=>{fetch(O).then(x=>x.json()).then(x=>{Object.keys(x).forEach(A=>{ar(A,x[A])})}).catch(x=>{console.log(x)})};Object.keys(ur).forEach(f=>{ar(f,ur[f])});const sn=()=>{fetch(`${i}/v1/player/consentRequirements`).then(f=>f.json()).then(f=>{f.items.length>0?(r(25,$e="true"),f.items.forEach(x=>{switch(x.tagCode){case"termsandconditions":r(26,Pt="true");break;case"sms":r(27,At="true");break;case"emailmarketing":r(28,Ot="true");break}})):r(25,$e="false")})},an=()=>{let f=new URL(`${o}/${h}/login-register-content?env=${s}`),x=sr(Tt);x&&(x==="PC"?f.searchParams.append("device","dk"):f.searchParams.append("device","mtWeb")),fetch(f.href).then(A=>A.json()).then(A=>{_e=A.registerData,r(22,wt=_e.title),r(23,St=_e.subtitle),r(24,xt=_e.content)}).catch(A=>{console.error(A)})},Se=()=>{we.scrollIntoView()},fe=f=>{for(const x in f)$[x]=f[x],x==="mobile"&&r(31,Rt=`${f[x].prefix}${f[x].number}`);$.affiliateMarker=$.promoCode?$.promoCode:l!=null?l:""},Lt=f=>{if(f.data)switch(f.data.type){case"RegisterStepOne":fe(f.data.registerStepOneData),Se(),r(17,Ge=!1),r(18,he=!0),Ht==!1?Ht=!0:window.postMessage({type:"StepTwoDataBackup",userData:$},window.location.href);break;case"RegisterStepTwo":fe(f.data.registerStepTwoData),Se(),r(18,he=!1),r(19,ve=!0),Bt==!1?Bt=!0:window.postMessage({type:"StepThreeDataBackup",userData:$},window.location.href);break;case"RegisterStepThree":fe(f.data.registerStepThreeData),ln($);break;case"SmsHasBeenValidated":r(21,je=!0),r(20,ke=!1);break;case"GoBackStepTwo":fe(f.data.registerStepTwoData),Se(),r(17,Ge=!0),r(18,he=!1),window.postMessage({type:"StepOneDataBackup",userData:$},window.location.href);break;case"GoBackStepThree":fe(f.data.registerStepThreeData),Se(),r(18,he=!0),r(19,ve=!1),window.postMessage({type:"StepTwoDataBackup",userData:$},window.location.href);break}},un=()=>{typeof gtag=="function"&&gtag("event","Register",{context:"GeneralPlayerRegisterForm"})},ln=f=>xe(this,null,function*(){f.language=h;let x={method:"PUT",headers:{"g-recaptcha-response":f.token,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(f)},A=yield fetch(`${i}/v1/player/register`,x),z=yield A.json();A.ok?(r(19,ve=!1),g==="false"?r(21,je=!0):(r(16,_t=z.id),hn(f,z.id)),f.username,f.password,un()):(Ct=z.error.substring(z.error.indexOf("errorMessage")+13,z.error.length),Et=!0,window.postMessage({type:"ShowRegistrationError",showError:Et,error:Ct},window.location.href))}),hn=(f,x)=>xe(this,null,function*(){localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3)));try{const A=yield fetch(`${i}/v1/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:x,messageTemplate:rs,destination:`${f.mobile.prefix}${f.mobile.number}`})}),z=yield A.json();if(A.ok){r(29,It=z.id);let os=z.maxValidationAttempts;r(20,ke=!0),r(30,Ee=!1)}else throw r(30,Ee=!0),new Error("Failed to fetch")}catch(A){r(30,Ee=!0),console.error(A)}}),fn=()=>{p.split(",")},cn=()=>{window.postMessage({type:"ToLogin"},window.location.href)},mn=()=>{Zo(h)},pn=()=>{let f=document.createElement("style");f.innerHTML=S,C.appendChild(f)},dn=()=>{let f=new URL(I),x=document.createElement("style");fetch(f.href).then(A=>A.text()).then(A=>{x.innerHTML=A,setTimeout(()=>{C.appendChild(x)},1),setTimeout(()=>{},500)})};_r(()=>(window.addEventListener("message",Lt,!1),()=>{window.removeEventListener("message",Lt)}));function gn(f){ge[f?"unshift":"push"](()=>{we=f,r(32,we)})}function bn(f){ge[f?"unshift":"push"](()=>{C=f,r(15,C)})}return e.$$set=f=>{"endpoint"in f&&r(0,i=f.endpoint),"cmsendpoint"in f&&r(36,o=f.cmsendpoint),"env"in f&&r(37,s=f.env),"session"in f&&r(1,a=f.session),"trackedanalyticsdata"in f&&r(38,l=f.trackedanalyticsdata),"captchakey"in f&&r(2,u=f.captchakey),"lang"in f&&r(3,h=f.lang),"licenseyears"in f&&r(4,c=f.licenseyears),"disabledfields"in f&&r(5,p=f.disabledfields),"defaultoptions"in f&&r(6,y=f.defaultoptions),"smsverification"in f&&r(7,g=f.smsverification),"simplepasswordvalidation"in f&&r(8,d=f.simplepasswordvalidation),"userroles"in f&&r(39,b=f.userroles),"clientstyling"in f&&r(9,S=f.clientstyling),"clientstylingurl"in f&&r(10,I=f.clientstylingurl),"translationurl"in f&&r(11,O=f.translationurl),"savecredentials"in f&&r(12,F=f.savecredentials),"custominputtextswitch"in f&&r(13,N=f.custominputtextswitch),"personalidlength"in f&&r(14,R=f.personalidlength)},e.$$.update=()=>{e.$$.dirty[0]&1&&i&&sn(),e.$$.dirty[0]&8|e.$$.dirty[1]&352&&o&&h&&s&&b&&an(),e.$$.dirty[0]&65538,e.$$.dirty[0]&8&&h&&mn(),e.$$.dirty[0]&32&&p&&fn(),e.$$.dirty[0]&33280&&S&&C&&pn(),e.$$.dirty[0]&33792&&I&&C&&dn(),e.$$.dirty[0]&2048&&O&&on()},[i,a,u,h,c,p,y,g,d,S,I,O,F,N,R,C,_t,Ge,he,ve,ke,je,wt,St,xt,$e,Pt,At,Ot,It,Ee,Rt,we,n,nn,cn,o,s,l,b,gn,bn]}class rn extends xr{constructor(t){super(),Er(this,t,ns,ts,pt,{endpoint:0,cmsendpoint:36,env:37,session:1,trackedanalyticsdata:38,captchakey:2,lang:3,licenseyears:4,disabledfields:5,defaultoptions:6,smsverification:7,simplepasswordvalidation:8,userroles:39,clientstyling:9,clientstylingurl:10,translationurl:11,savecredentials:12,custominputtextswitch:13,personalidlength:14},qo,[-1,-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(t){this.$$set({endpoint:t}),P()}get cmsendpoint(){return this.$$.ctx[36]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),P()}get env(){return this.$$.ctx[37]}set env(t){this.$$set({env:t}),P()}get session(){return this.$$.ctx[1]}set session(t){this.$$set({session:t}),P()}get trackedanalyticsdata(){return this.$$.ctx[38]}set trackedanalyticsdata(t){this.$$set({trackedanalyticsdata:t}),P()}get captchakey(){return this.$$.ctx[2]}set captchakey(t){this.$$set({captchakey:t}),P()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),P()}get licenseyears(){return this.$$.ctx[4]}set licenseyears(t){this.$$set({licenseyears:t}),P()}get disabledfields(){return this.$$.ctx[5]}set disabledfields(t){this.$$set({disabledfields:t}),P()}get defaultoptions(){return this.$$.ctx[6]}set defaultoptions(t){this.$$set({defaultoptions:t}),P()}get smsverification(){return this.$$.ctx[7]}set smsverification(t){this.$$set({smsverification:t}),P()}get simplepasswordvalidation(){return this.$$.ctx[8]}set simplepasswordvalidation(t){this.$$set({simplepasswordvalidation:t}),P()}get userroles(){return this.$$.ctx[39]}set userroles(t){this.$$set({userroles:t}),P()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),P()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),P()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),P()}get savecredentials(){return this.$$.ctx[12]}set savecredentials(t){this.$$set({savecredentials:t}),P()}get custominputtextswitch(){return this.$$.ctx[13]}set custominputtextswitch(t){this.$$set({custominputtextswitch:t}),P()}get personalidlength(){return this.$$.ctx[14]}set personalidlength(t){this.$$set({personalidlength:t}),P()}}Sr(rn,{endpoint:{},cmsendpoint:{},env:{},session:{},trackedanalyticsdata:{},captchakey:{},lang:{},licenseyears:{},disabledfields:{},defaultoptions:{},smsverification:{},simplepasswordvalidation:{},userroles:{},clientstyling:{},clientstylingurl:{},translationurl:{},savecredentials:{},custominputtextswitch:{},personalidlength:{}},[],[],!0);const is=Object.freeze(Object.defineProperty({__proto__:null,default:rn},Symbol.toStringTag,{value:"Module"}));exports.$dictionary=J;exports.$format=tn;exports.$locale=X;exports.GeneralPlayerRegisterFormNd_ce=is;exports.SvelteComponent=xr;exports.addMessages=yt;exports.add_render_callback=Ie;exports.append=_;exports.append_styles=br;exports.attr=T;exports.binding_callbacks=ge;exports.component_subscribe=gr;exports.create_custom_element=Sr;exports.destroy_each=Pn;exports.detach=M;exports.element=B;exports.empty=yr;exports.ensure_array_like=kn;exports.flush=P;exports.globals=Tn;exports.init=Er;exports.insert=D;exports.listen=vr;exports.noop=k;exports.onMount=_r;exports.run_all=ae;exports.safe_not_equal=pt;exports.select_option=Cn;exports.select_value=In;exports.set_data=q;exports.set_input_value=On;exports.space=G;exports.src_url_equal=Sn;exports.svg_element=me;exports.text=j;
@@ -1,10 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./GeneralPlayerRegisterFormNd-B3B0HgIH.cjs");function fa(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}//! moment.js
2
- //! version : 2.30.1
3
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
- //! license : MIT
5
- //! momentjs.com
6
- var Kr;function m(){return Kr.apply(null,arguments)}function ma(e){Kr=e}function pe(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function We(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(T(e,t))return!1;return!0}function ne(e){return e===void 0}function Ce(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ct(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Xr(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function Ie(e,t){for(var r in t)T(t,r)&&(e[r]=t[r]);return T(t,"toString")&&(e.toString=t.toString),T(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Se(e,t,r,s){return ks(e,t,r,s,!0).utc()}function _a(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(e){return e._pf==null&&(e._pf=_a()),e._pf}var Vt;Array.prototype.some?Vt=Array.prototype.some:Vt=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Kt(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=M(e),r=Vt.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Ot(e){var t=Se(NaN);return e!=null?Ie(M(t),e):M(t).userInvalidated=!0,t}var Sr=m.momentProperties=[],Wt=!1;function Xt(e,t){var r,s,a,n=Sr.length;if(ne(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ne(t._i)||(e._i=t._i),ne(t._f)||(e._f=t._f),ne(t._l)||(e._l=t._l),ne(t._strict)||(e._strict=t._strict),ne(t._tzm)||(e._tzm=t._tzm),ne(t._isUTC)||(e._isUTC=t._isUTC),ne(t._offset)||(e._offset=t._offset),ne(t._pf)||(e._pf=M(t)),ne(t._locale)||(e._locale=t._locale),n>0)for(r=0;r<n;r++)s=Sr[r],a=t[s],ne(a)||(e[s]=a);return e}function ht(e){Xt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Wt===!1&&(Wt=!0,m.updateOffset(this),Wt=!1)}function ge(e){return e instanceof ht||e!=null&&e._isAMomentObject!=null}function $r(e){m.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+e)}function fe(e,t){var r=!0;return Ie(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),r){var s=[],a,n,l,d=arguments.length;for(n=0;n<d;n++){if(a="",typeof arguments[n]=="object"){a+=`
7
- [`+n+"] ";for(l in arguments[0])T(arguments[0],l)&&(a+=l+": "+arguments[0][l]+", ");a=a.slice(0,-2)}else a=arguments[n];s.push(a)}$r(e+`
8
- Arguments: `+Array.prototype.slice.call(s).join("")+`
9
- `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Dr={};function es(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),Dr[e]||($r(t),Dr[e]=!0)}m.suppressDeprecationWarnings=!1;m.deprecationHandler=null;function De(e){return typeof Function!="undefined"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function pa(e){var t,r;for(r in e)T(e,r)&&(t=e[r],De(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function jt(e,t){var r=Ie({},e),s;for(s in t)T(t,s)&&(We(e[s])&&We(t[s])?(r[s]={},Ie(r[s],e[s]),Ie(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)T(e,s)&&!T(t,s)&&We(e[s])&&(r[s]=Ie({},r[s]));return r}function $t(e){e!=null&&this.set(e)}var Gt;Object.keys?Gt=Object.keys:Gt=function(e){var t,r=[];for(t in e)T(e,t)&&r.push(t);return r};var ga={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function ya(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return De(s)?s.call(t,r):s}function ke(e,t,r){var s=""+Math.abs(e),a=t-s.length,n=e>=0;return(n?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var er=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Et={},Ge={};function v(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(Ge[e]=a),t&&(Ge[t[0]]=function(){return ke(a.apply(this,arguments),t[1],t[2])}),r&&(Ge[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function wa(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function va(e){var t=e.match(er),r,s;for(r=0,s=t.length;r<s;r++)Ge[t[r]]?t[r]=Ge[t[r]]:t[r]=wa(t[r]);return function(a){var n="",l;for(l=0;l<s;l++)n+=De(t[l])?t[l].call(a,e):t[l];return n}}function vt(e,t){return e.isValid()?(t=ts(t,e.localeData()),Et[t]=Et[t]||va(t),Et[t](e)):e.localeData().invalidDate()}function ts(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(yt.lastIndex=0;r>=0&&yt.test(e);)e=e.replace(yt,s),yt.lastIndex=0,r-=1;return e}var ka={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Sa(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(er).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Da="Invalid date";function Ma(){return this._invalidDate}var ba="%d",Ya=/\d{1,2}/;function Ta(e){return this._ordinal.replace("%d",e)}var Oa={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Na(e,t,r,s){var a=this._relativeTime[r];return De(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Pa(e,t){var r=this._relativeTime[e>0?"future":"past"];return De(r)?r(t):r.replace(/%s/i,t)}var Mr={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function me(e){return typeof e=="string"?Mr[e]||Mr[e.toLowerCase()]:void 0}function tr(e){var t={},r,s;for(s in e)T(e,s)&&(r=me(s),r&&(t[r]=e[s]));return t}var Ca={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Fa(e){var t=[],r;for(r in e)T(e,r)&&t.push({unit:r,priority:Ca[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var rs=/\d/,de=/\d\d/,ss=/\d{3}/,rr=/\d{4}/,Nt=/[+-]?\d{6}/,R=/\d\d?/,as=/\d\d\d\d?/,is=/\d\d\d\d\d\d?/,Pt=/\d{1,3}/,sr=/\d{1,4}/,Ct=/[+-]?\d{1,6}/,qe=/\d+/,Ft=/[+-]?\d+/,Ba=/Z|[+-]\d\d:?\d\d/gi,Bt=/Z|[+-]\d\d(?::?\d\d)?/gi,Ia=/[+-]?\d+(\.\d{1,3})?/,ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Je=/^[1-9]\d?/,ar=/^([1-9]\d|\d)/,Dt;Dt={};function _(e,t,r){Dt[e]=De(t)?t:function(s,a){return s&&r?r:t}}function La(e,t){return T(Dt,e)?Dt[e](t._strict,t._locale):new RegExp(Ua(e))}function Ua(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,n){return r||s||a||n}))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function he(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function b(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=he(t)),r}var zt={};function B(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Ce(t)&&(s=function(n,l){l[t]=b(n)}),a=e.length,r=0;r<a;r++)zt[e[r]]=s}function mt(e,t){B(e,function(r,s,a,n){a._w=a._w||{},t(r,a._w,a,n)})}function xa(e,t,r){t!=null&&T(zt,e)&&zt[e](t,r._a,r,e)}function It(e){return e%4===0&&e%100!==0||e%400===0}var ae=0,Te=1,ve=2,X=3,_e=4,Oe=5,Re=6,Ra=7,Wa=8;v("Y",0,0,function(){var e=this.year();return e<=9999?ke(e,4):"+"+e});v(0,["YY",2],0,function(){return this.year()%100});v(0,["YYYY",4],0,"year");v(0,["YYYYY",5],0,"year");v(0,["YYYYYY",6,!0],0,"year");_("Y",Ft);_("YY",R,de);_("YYYY",sr,rr);_("YYYYY",Ct,Nt);_("YYYYYY",Ct,Nt);B(["YYYYY","YYYYYY"],ae);B("YYYY",function(e,t){t[ae]=e.length===2?m.parseTwoDigitYear(e):b(e)});B("YY",function(e,t){t[ae]=m.parseTwoDigitYear(e)});B("Y",function(e,t){t[ae]=parseInt(e,10)});function nt(e){return It(e)?366:365}m.parseTwoDigitYear=function(e){return b(e)+(b(e)>68?1900:2e3)};var ns=Qe("FullYear",!0);function Ea(){return It(this.year())}function Qe(e,t){return function(r){return r!=null?(ls(this,e,r),m.updateOffset(this,t),this):lt(this,e)}}function lt(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function ls(e,t,r){var s,a,n,l,d;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}n=r,l=e.month(),d=e.date(),d=d===29&&l===1&&!It(n)?28:d,a?s.setUTCFullYear(n,l,d):s.setFullYear(n,l,d)}}function Ha(e){return e=me(e),De(this[e])?this[e]():this}function Aa(e,t){if(typeof e=="object"){e=tr(e);var r=Fa(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=me(e),De(this[e]))return this[e](t);return this}function Va(e,t){return(e%t+t)%t}var J;Array.prototype.indexOf?J=Array.prototype.indexOf:J=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ir(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Va(t,12);return e+=(t-r)/12,r===1?It(e)?29:28:31-r%7%2}v("M",["MM",2],"Mo",function(){return this.month()+1});v("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});v("MMMM",0,0,function(e){return this.localeData().months(this,e)});_("M",R,Je);_("MM",R,de);_("MMM",function(e,t){return t.monthsShortRegex(e)});_("MMMM",function(e,t){return t.monthsRegex(e)});B(["M","MM"],function(e,t){t[Te]=b(e)-1});B(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[Te]=a:M(r).invalidMonth=e});var ja="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),os="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),us=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ga=ft,za=ft;function Za(e,t){return e?pe(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||us).test(t)?"format":"standalone"][e.month()]:pe(this._months)?this._months:this._months.standalone}function qa(e,t){return e?pe(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[us.test(t)?"format":"standalone"][e.month()]:pe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ja(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)n=Se([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(n,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(n,"").toLocaleLowerCase();return r?t==="MMM"?(a=J.call(this._shortMonthsParse,l),a!==-1?a:null):(a=J.call(this._longMonthsParse,l),a!==-1?a:null):t==="MMM"?(a=J.call(this._shortMonthsParse,l),a!==-1?a:(a=J.call(this._longMonthsParse,l),a!==-1?a:null)):(a=J.call(this._longMonthsParse,l),a!==-1?a:(a=J.call(this._shortMonthsParse,l),a!==-1?a:null))}function Qa(e,t,r){var s,a,n;if(this._monthsParseExact)return Ja.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(a=Se([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(n="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e))return s;if(r&&t==="MMM"&&this._shortMonthsParse[s].test(e))return s;if(!r&&this._monthsParse[s].test(e))return s}}function ds(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=b(t);else if(t=e.localeData().monthsParse(t),!Ce(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ir(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function cs(e){return e!=null?(ds(this,e),m.updateOffset(this,!0),this):lt(this,"Month")}function Ka(){return ir(this.year(),this.month())}function Xa(e){return this._monthsParseExact?(T(this,"_monthsRegex")||hs.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=Ga),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function $a(e){return this._monthsParseExact?(T(this,"_monthsRegex")||hs.call(this),e?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=za),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function hs(){function e(o,f){return f.length-o.length}var t=[],r=[],s=[],a,n,l,d;for(a=0;a<12;a++)n=Se([2e3,a]),l=Ne(this.monthsShort(n,"")),d=Ne(this.months(n,"")),t.push(l),r.push(d),s.push(d),s.push(l);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ei(e,t,r,s,a,n,l){var d;return e<100&&e>=0?(d=new Date(e+400,t,r,s,a,n,l),isFinite(d.getFullYear())&&d.setFullYear(e)):d=new Date(e,t,r,s,a,n,l),d}function ot(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Mt(e,t,r){var s=7+t-r,a=(7+ot(e,0,s).getUTCDay()-t)%7;return-a+s-1}function fs(e,t,r,s,a){var n=(7+r-s)%7,l=Mt(e,s,a),d=1+7*(t-1)+n+l,o,f;return d<=0?(o=e-1,f=nt(o)+d):d>nt(e)?(o=e+1,f=d-nt(e)):(o=e,f=d),{year:o,dayOfYear:f}}function ut(e,t,r){var s=Mt(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,n,l;return a<1?(l=e.year()-1,n=a+Pe(l,t,r)):a>Pe(e.year(),t,r)?(n=a-Pe(e.year(),t,r),l=e.year()+1):(l=e.year(),n=a),{week:n,year:l}}function Pe(e,t,r){var s=Mt(e,t,r),a=Mt(e+1,t,r);return(nt(e)-s+a)/7}v("w",["ww",2],"wo","week");v("W",["WW",2],"Wo","isoWeek");_("w",R,Je);_("ww",R,de);_("W",R,Je);_("WW",R,de);mt(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=b(e)});function ti(e){return ut(e,this._week.dow,this._week.doy).week}var ri={dow:0,doy:6};function si(){return this._week.dow}function ai(){return this._week.doy}function ii(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function ni(e){var t=ut(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}v("d",0,"do","day");v("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});v("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});v("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});v("e",0,0,"weekday");v("E",0,0,"isoWeekday");_("d",R);_("e",R);_("E",R);_("dd",function(e,t){return t.weekdaysMinRegex(e)});_("ddd",function(e,t){return t.weekdaysShortRegex(e)});_("dddd",function(e,t){return t.weekdaysRegex(e)});mt(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e});mt(["d","e","E"],function(e,t,r,s){t[s]=b(e)});function li(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function oi(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function nr(e,t){return e.slice(t,7).concat(e.slice(0,t))}var ui="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ms="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),di="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ci=ft,hi=ft,fi=ft;function mi(e,t){var r=pe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?nr(r,this._week.dow):e?r[e.day()]:r}function _i(e){return e===!0?nr(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function pi(e){return e===!0?nr(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function gi(e,t,r){var s,a,n,l=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)n=Se([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(n,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(n,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(n,"").toLocaleLowerCase();return r?t==="dddd"?(a=J.call(this._weekdaysParse,l),a!==-1?a:null):t==="ddd"?(a=J.call(this._shortWeekdaysParse,l),a!==-1?a:null):(a=J.call(this._minWeekdaysParse,l),a!==-1?a:null):t==="dddd"?(a=J.call(this._weekdaysParse,l),a!==-1||(a=J.call(this._shortWeekdaysParse,l),a!==-1)?a:(a=J.call(this._minWeekdaysParse,l),a!==-1?a:null)):t==="ddd"?(a=J.call(this._shortWeekdaysParse,l),a!==-1||(a=J.call(this._weekdaysParse,l),a!==-1)?a:(a=J.call(this._minWeekdaysParse,l),a!==-1?a:null)):(a=J.call(this._minWeekdaysParse,l),a!==-1||(a=J.call(this._weekdaysParse,l),a!==-1)?a:(a=J.call(this._shortWeekdaysParse,l),a!==-1?a:null))}function yi(e,t,r){var s,a,n;if(this._weekdaysParseExact)return gi.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(a=Se([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(n="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(n.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e))return s;if(r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e))return s;if(r&&t==="dd"&&this._minWeekdaysParse[s].test(e))return s;if(!r&&this._weekdaysParse[s].test(e))return s}}function wi(e){if(!this.isValid())return e!=null?this:NaN;var t=lt(this,"Day");return e!=null?(e=li(e,this.localeData()),this.add(e-t,"d")):t}function vi(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function ki(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=oi(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Si(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=ci),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Di(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=hi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Mi(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||lr.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=fi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function lr(){function e(p,S){return S.length-p.length}var t=[],r=[],s=[],a=[],n,l,d,o,f;for(n=0;n<7;n++)l=Se([2e3,1]).day(n),d=Ne(this.weekdaysMin(l,"")),o=Ne(this.weekdaysShort(l,"")),f=Ne(this.weekdays(l,"")),t.push(d),r.push(o),s.push(f),a.push(d),a.push(o),a.push(f);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function or(){return this.hours()%12||12}function bi(){return this.hours()||24}v("H",["HH",2],0,"hour");v("h",["hh",2],0,or);v("k",["kk",2],0,bi);v("hmm",0,0,function(){return""+or.apply(this)+ke(this.minutes(),2)});v("hmmss",0,0,function(){return""+or.apply(this)+ke(this.minutes(),2)+ke(this.seconds(),2)});v("Hmm",0,0,function(){return""+this.hours()+ke(this.minutes(),2)});v("Hmmss",0,0,function(){return""+this.hours()+ke(this.minutes(),2)+ke(this.seconds(),2)});function _s(e,t){v(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}_s("a",!0);_s("A",!1);function ps(e,t){return t._meridiemParse}_("a",ps);_("A",ps);_("H",R,ar);_("h",R,Je);_("k",R,Je);_("HH",R,de);_("hh",R,de);_("kk",R,de);_("hmm",as);_("hmmss",is);_("Hmm",as);_("Hmmss",is);B(["H","HH"],X);B(["k","kk"],function(e,t,r){var s=b(e);t[X]=s===24?0:s});B(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});B(["h","hh"],function(e,t,r){t[X]=b(e),M(r).bigHour=!0});B("hmm",function(e,t,r){var s=e.length-2;t[X]=b(e.substr(0,s)),t[_e]=b(e.substr(s)),M(r).bigHour=!0});B("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[X]=b(e.substr(0,s)),t[_e]=b(e.substr(s,2)),t[Oe]=b(e.substr(a)),M(r).bigHour=!0});B("Hmm",function(e,t,r){var s=e.length-2;t[X]=b(e.substr(0,s)),t[_e]=b(e.substr(s))});B("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[X]=b(e.substr(0,s)),t[_e]=b(e.substr(s,2)),t[Oe]=b(e.substr(a))});function Yi(e){return(e+"").toLowerCase().charAt(0)==="p"}var Ti=/[ap]\.?m?\.?/i,Oi=Qe("Hours",!0);function Ni(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var gs={calendar:ga,longDateFormat:ka,invalidDate:Da,ordinal:ba,dayOfMonthOrdinalParse:Ya,relativeTime:Oa,months:ja,monthsShort:os,week:ri,weekdays:ui,weekdaysMin:di,weekdaysShort:ms,meridiemParse:Ti},A={},at={},dt;function Pi(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function br(e){return e&&e.toLowerCase().replace("_","-")}function Ci(e){for(var t=0,r,s,a,n;t<e.length;){for(n=br(e[t]).split("-"),r=n.length,s=br(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Lt(n.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Pi(n,s)>=r-1)break;r--}t++}return dt}function Fi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Lt(e){var t=null,r;if(A[e]===void 0&&typeof module!="undefined"&&module&&module.exports&&Fi(e))try{t=dt._abbr,r=fa,r("./locale/"+e),Ue(t)}catch(s){A[e]=null}return A[e]}function Ue(e,t){var r;return e&&(ne(t)?r=Fe(e):r=ur(e,t),r?dt=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),dt._abbr}function ur(e,t){if(t!==null){var r,s=gs;if(t.abbr=e,A[e]!=null)es("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=A[e]._config;else if(t.parentLocale!=null)if(A[t.parentLocale]!=null)s=A[t.parentLocale]._config;else if(r=Lt(t.parentLocale),r!=null)s=r._config;else return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;return A[e]=new $t(jt(s,t)),at[e]&&at[e].forEach(function(a){ur(a.name,a.config)}),Ue(e),A[e]}else return delete A[e],null}function Bi(e,t){if(t!=null){var r,s,a=gs;A[e]!=null&&A[e].parentLocale!=null?A[e].set(jt(A[e]._config,t)):(s=Lt(e),s!=null&&(a=s._config),t=jt(a,t),s==null&&(t.abbr=e),r=new $t(t),r.parentLocale=A[e],A[e]=r),Ue(e)}else A[e]!=null&&(A[e].parentLocale!=null?(A[e]=A[e].parentLocale,e===Ue()&&Ue(e)):A[e]!=null&&delete A[e]);return A[e]}function Fe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return dt;if(!pe(e)){if(t=Lt(e),t)return t;e=[e]}return Ci(e)}function Ii(){return Gt(A)}function dr(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[Te]<0||r[Te]>11?Te:r[ve]<1||r[ve]>ir(r[ae],r[Te])?ve:r[X]<0||r[X]>24||r[X]===24&&(r[_e]!==0||r[Oe]!==0||r[Re]!==0)?X:r[_e]<0||r[_e]>59?_e:r[Oe]<0||r[Oe]>59?Oe:r[Re]<0||r[Re]>999?Re:-1,M(e)._overflowDayOfYear&&(t<ae||t>ve)&&(t=ve),M(e)._overflowWeeks&&t===-1&&(t=Ra),M(e)._overflowWeekday&&t===-1&&(t=Wa),M(e).overflow=t),e}var Li=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ui=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,xi=/Z|[+-]\d\d(?::?\d\d)?/,wt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ht=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ri=/^\/?Date\((-?\d+)/i,Wi=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ei={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ys(e){var t,r,s=e._i,a=Li.exec(s)||Ui.exec(s),n,l,d,o,f=wt.length,p=Ht.length;if(a){for(M(e).iso=!0,t=0,r=f;t<r;t++)if(wt[t][1].exec(a[1])){l=wt[t][0],n=wt[t][2]!==!1;break}if(l==null){e._isValid=!1;return}if(a[3]){for(t=0,r=p;t<r;t++)if(Ht[t][1].exec(a[3])){d=(a[2]||" ")+Ht[t][0];break}if(d==null){e._isValid=!1;return}}if(!n&&d!=null){e._isValid=!1;return}if(a[4])if(xi.exec(a[4]))o="Z";else{e._isValid=!1;return}e._f=l+(d||"")+(o||""),hr(e)}else e._isValid=!1}function Hi(e,t,r,s,a,n){var l=[Ai(e),os.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return n&&l.push(parseInt(n,10)),l}function Ai(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Vi(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ji(e,t,r){if(e){var s=ms.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Gi(e,t,r){if(e)return Ei[e];if(t)return 0;var s=parseInt(r,10),a=s%100,n=(s-a)/100;return n*60+a}function ws(e){var t=Wi.exec(Vi(e._i)),r;if(t){if(r=Hi(t[4],t[3],t[2],t[5],t[6],t[7]),!ji(t[1],r,e))return;e._a=r,e._tzm=Gi(t[8],t[9],t[10]),e._d=ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function zi(e){var t=Ri.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ys(e),e._isValid===!1)delete e._isValid;else return;if(ws(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=fe("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ve(e,t,r){return e!=null?e:t!=null?t:r}function Zi(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function cr(e){var t,r,s=[],a,n,l;if(!e._d){for(a=Zi(e),e._w&&e._a[ve]==null&&e._a[Te]==null&&qi(e),e._dayOfYear!=null&&(l=Ve(e._a[ae],a[ae]),(e._dayOfYear>nt(l)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=ot(l,0,e._dayOfYear),e._a[Te]=r.getUTCMonth(),e._a[ve]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[X]===24&&e._a[_e]===0&&e._a[Oe]===0&&e._a[Re]===0&&(e._nextDay=!0,e._a[X]=0),e._d=(e._useUTC?ot:ei).apply(null,s),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[X]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==n&&(M(e).weekdayMismatch=!0)}}function qi(e){var t,r,s,a,n,l,d,o,f;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(n=1,l=4,r=Ve(t.GG,e._a[ae],ut(x(),1,4).year),s=Ve(t.W,1),a=Ve(t.E,1),(a<1||a>7)&&(o=!0)):(n=e._locale._week.dow,l=e._locale._week.doy,f=ut(x(),n,l),r=Ve(t.gg,e._a[ae],f.year),s=Ve(t.w,f.week),t.d!=null?(a=t.d,(a<0||a>6)&&(o=!0)):t.e!=null?(a=t.e+n,(t.e<0||t.e>6)&&(o=!0)):a=n),s<1||s>Pe(r,n,l)?M(e)._overflowWeeks=!0:o!=null?M(e)._overflowWeekday=!0:(d=fs(r,s,a,n,l),e._a[ae]=d.year,e._dayOfYear=d.dayOfYear)}m.ISO_8601=function(){};m.RFC_2822=function(){};function hr(e){if(e._f===m.ISO_8601){ys(e);return}if(e._f===m.RFC_2822){ws(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,s,a,n,l,d=t.length,o=0,f,p;for(a=ts(e._f,e._locale).match(er)||[],p=a.length,r=0;r<p;r++)n=a[r],s=(t.match(La(n,e))||[])[0],s&&(l=t.substr(0,t.indexOf(s)),l.length>0&&M(e).unusedInput.push(l),t=t.slice(t.indexOf(s)+s.length),o+=s.length),Ge[n]?(s?M(e).empty=!1:M(e).unusedTokens.push(n),xa(n,s,e)):e._strict&&!s&&M(e).unusedTokens.push(n);M(e).charsLeftOver=d-o,t.length>0&&M(e).unusedInput.push(t),e._a[X]<=12&&M(e).bigHour===!0&&e._a[X]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[X]=Ji(e._locale,e._a[X],e._meridiem),f=M(e).era,f!==null&&(e._a[ae]=e._locale.erasConvertYear(f,e._a[ae])),cr(e),dr(e)}function Ji(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Qi(e){var t,r,s,a,n,l,d=!1,o=e._f.length;if(o===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<o;a++)n=0,l=!1,t=Xt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],hr(t),Kt(t)&&(l=!0),n+=M(t).charsLeftOver,n+=M(t).unusedTokens.length*10,M(t).score=n,d?n<s&&(s=n,r=t):(s==null||n<s||l)&&(s=n,r=t,l&&(d=!0));Ie(e,r||t)}function Ki(e){if(!e._d){var t=tr(e._i),r=t.day===void 0?t.date:t.day;e._a=Xr([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),cr(e)}}function Xi(e){var t=new ht(dr(vs(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function vs(e){var t=e._i,r=e._f;return e._locale=e._locale||Fe(e._l),t===null||r===void 0&&t===""?Ot({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ge(t)?new ht(dr(t)):(ct(t)?e._d=t:pe(r)?Qi(e):r?hr(e):$i(e),Kt(e)||(e._d=null),e))}function $i(e){var t=e._i;ne(t)?e._d=new Date(m.now()):ct(t)?e._d=new Date(t.valueOf()):typeof t=="string"?zi(e):pe(t)?(e._a=Xr(t.slice(0),function(r){return parseInt(r,10)}),cr(e)):We(t)?Ki(e):Ce(t)?e._d=new Date(t):m.createFromInputFallback(e)}function ks(e,t,r,s,a){var n={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(We(e)&&Qt(e)||pe(e)&&e.length===0)&&(e=void 0),n._isAMomentObject=!0,n._useUTC=n._isUTC=a,n._l=r,n._i=e,n._f=t,n._strict=s,Xi(n)}function x(e,t,r,s){return ks(e,t,r,s,!1)}var en=fe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Ot()}),tn=fe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=x.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Ot()});function Ss(e,t){var r,s;if(t.length===1&&pe(t[0])&&(t=t[0]),!t.length)return x();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function rn(){var e=[].slice.call(arguments,0);return Ss("isBefore",e)}function sn(){var e=[].slice.call(arguments,0);return Ss("isAfter",e)}var an=function(){return Date.now?Date.now():+new Date},it=["year","quarter","month","week","day","hour","minute","second","millisecond"];function nn(e){var t,r=!1,s,a=it.length;for(t in e)if(T(e,t)&&!(J.call(it,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[it[s]]){if(r)return!1;parseFloat(e[it[s]])!==b(e[it[s]])&&(r=!0)}return!0}function ln(){return this._isValid}function on(){return ye(NaN)}function Ut(e){var t=tr(e),r=t.year||0,s=t.quarter||0,a=t.month||0,n=t.week||t.isoWeek||0,l=t.day||0,d=t.hour||0,o=t.minute||0,f=t.second||0,p=t.millisecond||0;this._isValid=nn(t),this._milliseconds=+p+f*1e3+o*6e4+d*1e3*60*60,this._days=+l+n*7,this._months=+a+s*3+r*12,this._data={},this._locale=Fe(),this._bubble()}function kt(e){return e instanceof Ut}function Zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function un(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),n=0,l;for(l=0;l<s;l++)b(e[l])!==b(t[l])&&n++;return n+a}function Ds(e,t){v(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+ke(~~(r/60),2)+t+ke(~~r%60,2)})}Ds("Z",":");Ds("ZZ","");_("Z",Bt);_("ZZ",Bt);B(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=fr(Bt,e)});var dn=/([\+\-]|\d\d)/gi;function fr(e,t){var r=(t||"").match(e),s,a,n;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(dn)||["-",0,0],n=+(a[1]*60)+b(a[2]),n===0?0:a[0]==="+"?n:-n)}function mr(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(ge(e)||ct(e)?e.valueOf():x(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),m.updateOffset(r,!1),r):x(e).local()}function qt(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function cn(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=fr(Bt,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=qt(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?Ys(this,ye(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:qt(this)}function hn(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function fn(e){return this.utcOffset(0,e)}function mn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(qt(this),"m")),this}function _n(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=fr(Ba,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function pn(e){return this.isValid()?(e=e?x(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function gn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function yn(){if(!ne(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Xt(e,this),e=vs(e),e._a?(t=e._isUTC?Se(e._a):x(e._a),this._isDSTShifted=this.isValid()&&un(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wn(){return this.isValid()?!this._isUTC:!1}function vn(){return this.isValid()?this._isUTC:!1}function Ms(){return this.isValid()?this._isUTC&&this._offset===0:!1}var kn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Sn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ye(e,t){var r=e,s=null,a,n,l;return kt(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ce(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=kn.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:b(s[ve])*a,h:b(s[X])*a,m:b(s[_e])*a,s:b(s[Oe])*a,ms:b(Zt(s[Re]*1e3))*a}):(s=Sn.exec(e))?(a=s[1]==="-"?-1:1,r={y:xe(s[2],a),M:xe(s[3],a),w:xe(s[4],a),d:xe(s[5],a),h:xe(s[6],a),m:xe(s[7],a),s:xe(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(l=Dn(x(r.from),x(r.to)),r={},r.ms=l.milliseconds,r.M=l.months),n=new Ut(r),kt(e)&&T(e,"_locale")&&(n._locale=e._locale),kt(e)&&T(e,"_isValid")&&(n._isValid=e._isValid),n}ye.fn=Ut.prototype;ye.invalid=on;function xe(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function Yr(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Dn(e,t){var r;return e.isValid()&&t.isValid()?(t=mr(t,e),e.isBefore(t)?r=Yr(e,t):(r=Yr(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function bs(e,t){return function(r,s){var a,n;return s!==null&&!isNaN(+s)&&(es(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=r,r=s,s=n),a=ye(r,s),Ys(this,a,e),this}}function Ys(e,t,r,s){var a=t._milliseconds,n=Zt(t._days),l=Zt(t._months);e.isValid()&&(s=s==null?!0:s,l&&ds(e,lt(e,"Month")+l*r),n&&ls(e,"Date",lt(e,"Date")+n*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&m.updateOffset(e,n||l))}var Mn=bs(1,"add"),bn=bs(-1,"subtract");function Ts(e){return typeof e=="string"||e instanceof String}function Yn(e){return ge(e)||ct(e)||Ts(e)||Ce(e)||On(e)||Tn(e)||e===null||e===void 0}function Tn(e){var t=We(e)&&!Qt(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,n,l=s.length;for(a=0;a<l;a+=1)n=s[a],r=r||T(e,n);return t&&r}function On(e){var t=pe(e),r=!1;return t&&(r=e.filter(function(s){return!Ce(s)&&Ts(e)}).length===0),t&&r}function Nn(e){var t=We(e)&&!Qt(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,n;for(a=0;a<s.length;a+=1)n=s[a],r=r||T(e,n);return t&&r}function Pn(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Cn(e,t){arguments.length===1&&(arguments[0]?Yn(arguments[0])?(e=arguments[0],t=void 0):Nn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||x(),s=mr(r,this).startOf("day"),a=m.calendarFormat(this,s)||"sameElse",n=t&&(De(t[a])?t[a].call(this,r):t[a]);return this.format(n||this.localeData().calendar(a,this,x(r)))}function Fn(){return new ht(this)}function Bn(e,t){var r=ge(e)?e:x(e);return this.isValid()&&r.isValid()?(t=me(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function In(e,t){var r=ge(e)?e:x(e);return this.isValid()&&r.isValid()?(t=me(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Ln(e,t,r,s){var a=ge(e)?e:x(e),n=ge(t)?t:x(t);return this.isValid()&&a.isValid()&&n.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(n,r):!this.isAfter(n,r))):!1}function Un(e,t){var r=ge(e)?e:x(e),s;return this.isValid()&&r.isValid()?(t=me(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function xn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Rn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Wn(e,t,r){var s,a,n;if(!this.isValid())return NaN;if(s=mr(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=me(t),t){case"year":n=St(this,s)/12;break;case"month":n=St(this,s);break;case"quarter":n=St(this,s)/3;break;case"second":n=(this-s)/1e3;break;case"minute":n=(this-s)/6e4;break;case"hour":n=(this-s)/36e5;break;case"day":n=(this-s-a)/864e5;break;case"week":n=(this-s-a)/6048e5;break;default:n=this-s}return r?n:he(n)}function St(e,t){if(e.date()<t.date())return-St(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,n;return t-s<0?(a=e.clone().add(r-1,"months"),n=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),n=(t-s)/(a-s)),-(r+n)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function En(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Hn(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?vt(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):De(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",vt(r,"Z")):vt(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function An(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,n;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=t+'[")]',this.format(r+s+a+n)}function Vn(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=vt(this,e);return this.localeData().postformat(t)}function jn(e,t){return this.isValid()&&(ge(e)&&e.isValid()||x(e).isValid())?ye({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Gn(e){return this.from(x(),e)}function zn(e,t){return this.isValid()&&(ge(e)&&e.isValid()||x(e).isValid())?ye({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Zn(e){return this.to(x(),e)}function Os(e){var t;return e===void 0?this._locale._abbr:(t=Fe(e),t!=null&&(this._locale=t),this)}var Ns=fe("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ps(){return this._locale}var bt=1e3,ze=60*bt,Yt=60*ze,Cs=(365*400+97)*24*Yt;function Ze(e,t){return(e%t+t)%t}function Fs(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Cs:new Date(e,t,r).valueOf()}function Bs(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Cs:Date.UTC(e,t,r)}function qn(e){var t,r;if(e=me(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Bs:Fs,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ze(t+(this._isUTC?0:this.utcOffset()*ze),Yt);break;case"minute":t=this._d.valueOf(),t-=Ze(t,ze);break;case"second":t=this._d.valueOf(),t-=Ze(t,bt);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function Jn(e){var t,r;if(e=me(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Bs:Fs,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Yt-Ze(t+(this._isUTC?0:this.utcOffset()*ze),Yt)-1;break;case"minute":t=this._d.valueOf(),t+=ze-Ze(t,ze)-1;break;case"second":t=this._d.valueOf(),t+=bt-Ze(t,bt)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function Qn(){return this._d.valueOf()-(this._offset||0)*6e4}function Kn(){return Math.floor(this.valueOf()/1e3)}function Xn(){return new Date(this.valueOf())}function $n(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function el(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function tl(){return this.isValid()?this.toISOString():null}function rl(){return Kt(this)}function sl(){return Ie({},M(this))}function al(){return M(this).overflow}function il(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}v("N",0,0,"eraAbbr");v("NN",0,0,"eraAbbr");v("NNN",0,0,"eraAbbr");v("NNNN",0,0,"eraName");v("NNNNN",0,0,"eraNarrow");v("y",["y",1],"yo","eraYear");v("y",["yy",2],0,"eraYear");v("y",["yyy",3],0,"eraYear");v("y",["yyyy",4],0,"eraYear");_("N",_r);_("NN",_r);_("NNN",_r);_("NNNN",pl);_("NNNNN",gl);B(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?M(r).era=a:M(r).invalidEra=e});_("y",qe);_("yy",qe);_("yyy",qe);_("yyyy",qe);_("yo",yl);B(["y","yy","yyy","yyyy"],ae);B(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ae]=r._locale.eraYearOrdinalParse(e,a):t[ae]=parseInt(e,10)});function nl(e,t){var r,s,a,n=this._eras||Fe("en")._eras;for(r=0,s=n.length;r<s;++r){switch(typeof n[r].since){case"string":a=m(n[r].since).startOf("day"),n[r].since=a.valueOf();break}switch(typeof n[r].until){case"undefined":n[r].until=1/0;break;case"string":a=m(n[r].until).startOf("day").valueOf(),n[r].until=a.valueOf();break}}return n}function ll(e,t,r){var s,a,n=this.eras(),l,d,o;for(e=e.toUpperCase(),s=0,a=n.length;s<a;++s)if(l=n[s].name.toUpperCase(),d=n[s].abbr.toUpperCase(),o=n[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(d===e)return n[s];break;case"NNNN":if(l===e)return n[s];break;case"NNNNN":if(o===e)return n[s];break}else if([l,d,o].indexOf(e)>=0)return n[s]}function ol(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function ul(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function dl(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function cl(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function hl(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-m(a[e].since).year())*r+a[e].offset;return this.year()}function fl(e){return T(this,"_erasNameRegex")||pr.call(this),e?this._erasNameRegex:this._erasRegex}function ml(e){return T(this,"_erasAbbrRegex")||pr.call(this),e?this._erasAbbrRegex:this._erasRegex}function _l(e){return T(this,"_erasNarrowRegex")||pr.call(this),e?this._erasNarrowRegex:this._erasRegex}function _r(e,t){return t.erasAbbrRegex(e)}function pl(e,t){return t.erasNameRegex(e)}function gl(e,t){return t.erasNarrowRegex(e)}function yl(e,t){return t._eraYearOrdinalRegex||qe}function pr(){var e=[],t=[],r=[],s=[],a,n,l,d,o,f=this.eras();for(a=0,n=f.length;a<n;++a)l=Ne(f[a].name),d=Ne(f[a].abbr),o=Ne(f[a].narrow),t.push(l),e.push(d),r.push(o),s.push(l),s.push(d),s.push(o);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}v(0,["gg",2],0,function(){return this.weekYear()%100});v(0,["GG",2],0,function(){return this.isoWeekYear()%100});function xt(e,t){v(0,[e,e.length],0,t)}xt("gggg","weekYear");xt("ggggg","weekYear");xt("GGGG","isoWeekYear");xt("GGGGG","isoWeekYear");_("G",Ft);_("g",Ft);_("GG",R,de);_("gg",R,de);_("GGGG",sr,rr);_("gggg",sr,rr);_("GGGGG",Ct,Nt);_("ggggg",Ct,Nt);mt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=b(e)});mt(["gg","GG"],function(e,t,r,s){t[s]=m.parseTwoDigitYear(e)});function wl(e){return Is.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function vl(e){return Is.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function kl(){return Pe(this.year(),1,4)}function Sl(){return Pe(this.isoWeekYear(),1,4)}function Dl(){var e=this.localeData()._week;return Pe(this.year(),e.dow,e.doy)}function Ml(){var e=this.localeData()._week;return Pe(this.weekYear(),e.dow,e.doy)}function Is(e,t,r,s,a){var n;return e==null?ut(this,s,a).year:(n=Pe(e,s,a),t>n&&(t=n),bl.call(this,e,t,r,s,a))}function bl(e,t,r,s,a){var n=fs(e,t,r,s,a),l=ot(n.year,0,n.dayOfYear);return this.year(l.getUTCFullYear()),this.month(l.getUTCMonth()),this.date(l.getUTCDate()),this}v("Q",0,"Qo","quarter");_("Q",rs);B("Q",function(e,t){t[Te]=(b(e)-1)*3});function Yl(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}v("D",["DD",2],"Do","date");_("D",R,Je);_("DD",R,de);_("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});B(["D","DD"],ve);B("Do",function(e,t){t[ve]=b(e.match(R)[0])});var Ls=Qe("Date",!0);v("DDD",["DDDD",3],"DDDo","dayOfYear");_("DDD",Pt);_("DDDD",ss);B(["DDD","DDDD"],function(e,t,r){r._dayOfYear=b(e)});function Tl(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}v("m",["mm",2],0,"minute");_("m",R,ar);_("mm",R,de);B(["m","mm"],_e);var Ol=Qe("Minutes",!1);v("s",["ss",2],0,"second");_("s",R,ar);_("ss",R,de);B(["s","ss"],Oe);var Nl=Qe("Seconds",!1);v("S",0,0,function(){return~~(this.millisecond()/100)});v(0,["SS",2],0,function(){return~~(this.millisecond()/10)});v(0,["SSS",3],0,"millisecond");v(0,["SSSS",4],0,function(){return this.millisecond()*10});v(0,["SSSSS",5],0,function(){return this.millisecond()*100});v(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});v(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});v(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});v(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_("S",Pt,rs);_("SS",Pt,de);_("SSS",Pt,ss);var Le,Us;for(Le="SSSS";Le.length<=9;Le+="S")_(Le,qe);function Pl(e,t){t[Re]=b(("0."+e)*1e3)}for(Le="S";Le.length<=9;Le+="S")B(Le,Pl);Us=Qe("Milliseconds",!1);v("z",0,0,"zoneAbbr");v("zz",0,0,"zoneName");function Cl(){return this._isUTC?"UTC":""}function Fl(){return this._isUTC?"Coordinated Universal Time":""}var h=ht.prototype;h.add=Mn;h.calendar=Cn;h.clone=Fn;h.diff=Wn;h.endOf=Jn;h.format=Vn;h.from=jn;h.fromNow=Gn;h.to=zn;h.toNow=Zn;h.get=Ha;h.invalidAt=al;h.isAfter=Bn;h.isBefore=In;h.isBetween=Ln;h.isSame=Un;h.isSameOrAfter=xn;h.isSameOrBefore=Rn;h.isValid=rl;h.lang=Ns;h.locale=Os;h.localeData=Ps;h.max=tn;h.min=en;h.parsingFlags=sl;h.set=Aa;h.startOf=qn;h.subtract=bn;h.toArray=$n;h.toObject=el;h.toDate=Xn;h.toISOString=Hn;h.inspect=An;typeof Symbol!="undefined"&&Symbol.for!=null&&(h[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});h.toJSON=tl;h.toString=En;h.unix=Kn;h.valueOf=Qn;h.creationData=il;h.eraName=ul;h.eraNarrow=dl;h.eraAbbr=cl;h.eraYear=hl;h.year=ns;h.isLeapYear=Ea;h.weekYear=wl;h.isoWeekYear=vl;h.quarter=h.quarters=Yl;h.month=cs;h.daysInMonth=Ka;h.week=h.weeks=ii;h.isoWeek=h.isoWeeks=ni;h.weeksInYear=Dl;h.weeksInWeekYear=Ml;h.isoWeeksInYear=kl;h.isoWeeksInISOWeekYear=Sl;h.date=Ls;h.day=h.days=wi;h.weekday=vi;h.isoWeekday=ki;h.dayOfYear=Tl;h.hour=h.hours=Oi;h.minute=h.minutes=Ol;h.second=h.seconds=Nl;h.millisecond=h.milliseconds=Us;h.utcOffset=cn;h.utc=fn;h.local=mn;h.parseZone=_n;h.hasAlignedHourOffset=pn;h.isDST=gn;h.isLocal=wn;h.isUtcOffset=vn;h.isUtc=Ms;h.isUTC=Ms;h.zoneAbbr=Cl;h.zoneName=Fl;h.dates=fe("dates accessor is deprecated. Use date instead.",Ls);h.months=fe("months accessor is deprecated. Use month instead",cs);h.years=fe("years accessor is deprecated. Use year instead",ns);h.zone=fe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",hn);h.isDSTShifted=fe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",yn);function Bl(e){return x(e*1e3)}function Il(){return x.apply(null,arguments).parseZone()}function xs(e){return e}var O=$t.prototype;O.calendar=ya;O.longDateFormat=Sa;O.invalidDate=Ma;O.ordinal=Ta;O.preparse=xs;O.postformat=xs;O.relativeTime=Na;O.pastFuture=Pa;O.set=pa;O.eras=nl;O.erasParse=ll;O.erasConvertYear=ol;O.erasAbbrRegex=ml;O.erasNameRegex=fl;O.erasNarrowRegex=_l;O.months=Za;O.monthsShort=qa;O.monthsParse=Qa;O.monthsRegex=$a;O.monthsShortRegex=Xa;O.week=ti;O.firstDayOfYear=ai;O.firstDayOfWeek=si;O.weekdays=mi;O.weekdaysMin=pi;O.weekdaysShort=_i;O.weekdaysParse=yi;O.weekdaysRegex=Si;O.weekdaysShortRegex=Di;O.weekdaysMinRegex=Mi;O.isPM=Yi;O.meridiem=Ni;function Tt(e,t,r,s){var a=Fe(),n=Se().set(s,t);return a[r](n,e)}function Rs(e,t,r){if(Ce(e)&&(t=e,e=void 0),e=e||"",t!=null)return Tt(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Tt(e,s,r,"month");return a}function gr(e,t,r,s){typeof e=="boolean"?(Ce(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ce(t)&&(r=t,t=void 0),t=t||"");var a=Fe(),n=e?a._week.dow:0,l,d=[];if(r!=null)return Tt(t,(r+n)%7,s,"day");for(l=0;l<7;l++)d[l]=Tt(t,(l+n)%7,s,"day");return d}function Ll(e,t){return Rs(e,t,"months")}function Ul(e,t){return Rs(e,t,"monthsShort")}function xl(e,t,r){return gr(e,t,r,"weekdays")}function Rl(e,t,r){return gr(e,t,r,"weekdaysShort")}function Wl(e,t,r){return gr(e,t,r,"weekdaysMin")}Ue("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=b(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});m.lang=fe("moment.lang is deprecated. Use moment.locale instead.",Ue);m.langData=fe("moment.langData is deprecated. Use moment.localeData instead.",Fe);var be=Math.abs;function El(){var e=this._data;return this._milliseconds=be(this._milliseconds),this._days=be(this._days),this._months=be(this._months),e.milliseconds=be(e.milliseconds),e.seconds=be(e.seconds),e.minutes=be(e.minutes),e.hours=be(e.hours),e.months=be(e.months),e.years=be(e.years),this}function Ws(e,t,r,s){var a=ye(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Hl(e,t){return Ws(this,e,t,1)}function Al(e,t){return Ws(this,e,t,-1)}function Tr(e){return e<0?Math.floor(e):Math.ceil(e)}function Vl(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,n,l,d,o;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Tr(Jt(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=he(e/1e3),s.seconds=a%60,n=he(a/60),s.minutes=n%60,l=he(n/60),s.hours=l%24,t+=he(l/24),o=he(Es(t)),r+=o,t-=Tr(Jt(o)),d=he(r/12),r%=12,s.days=t,s.months=r,s.years=d,this}function Es(e){return e*4800/146097}function Jt(e){return e*146097/4800}function jl(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=me(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Es(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Jt(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Be(e){return function(){return this.as(e)}}var Hs=Be("ms"),Gl=Be("s"),zl=Be("m"),Zl=Be("h"),ql=Be("d"),Jl=Be("w"),Ql=Be("M"),Kl=Be("Q"),Xl=Be("y"),$l=Hs;function eo(){return ye(this)}function to(e){return e=me(e),this.isValid()?this[e+"s"]():NaN}function Ee(e){return function(){return this.isValid()?this._data[e]:NaN}}var ro=Ee("milliseconds"),so=Ee("seconds"),ao=Ee("minutes"),io=Ee("hours"),no=Ee("days"),lo=Ee("months"),oo=Ee("years");function uo(){return he(this.days()/7)}var Ye=Math.round,je={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function co(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function ho(e,t,r,s){var a=ye(e).abs(),n=Ye(a.as("s")),l=Ye(a.as("m")),d=Ye(a.as("h")),o=Ye(a.as("d")),f=Ye(a.as("M")),p=Ye(a.as("w")),S=Ye(a.as("y")),D=n<=r.ss&&["s",n]||n<r.s&&["ss",n]||l<=1&&["m"]||l<r.m&&["mm",l]||d<=1&&["h"]||d<r.h&&["hh",d]||o<=1&&["d"]||o<r.d&&["dd",o];return r.w!=null&&(D=D||p<=1&&["w"]||p<r.w&&["ww",p]),D=D||f<=1&&["M"]||f<r.M&&["MM",f]||S<=1&&["y"]||["yy",S],D[2]=t,D[3]=+e>0,D[4]=s,co.apply(null,D)}function fo(e){return e===void 0?Ye:typeof e=="function"?(Ye=e,!0):!1}function mo(e,t){return je[e]===void 0?!1:t===void 0?je[e]:(je[e]=t,e==="s"&&(je.ss=t-1),!0)}function _o(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=je,a,n;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},je,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),n=ho(this,!r,s,a),r&&(n=a.pastFuture(+this,n)),a.postformat(n)}var At=Math.abs;function Ae(e){return(e>0)-(e<0)||+e}function Rt(){if(!this.isValid())return this.localeData().invalidDate();var e=At(this._milliseconds)/1e3,t=At(this._days),r=At(this._months),s,a,n,l,d=this.asSeconds(),o,f,p,S;return d?(s=he(e/60),a=he(s/60),e%=60,s%=60,n=he(r/12),r%=12,l=e?e.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",f=Ae(this._months)!==Ae(d)?"-":"",p=Ae(this._days)!==Ae(d)?"-":"",S=Ae(this._milliseconds)!==Ae(d)?"-":"",o+"P"+(n?f+n+"Y":"")+(r?f+r+"M":"")+(t?p+t+"D":"")+(a||s||e?"T":"")+(a?S+a+"H":"")+(s?S+s+"M":"")+(e?S+l+"S":"")):"P0D"}var Y=Ut.prototype;Y.isValid=ln;Y.abs=El;Y.add=Hl;Y.subtract=Al;Y.as=jl;Y.asMilliseconds=Hs;Y.asSeconds=Gl;Y.asMinutes=zl;Y.asHours=Zl;Y.asDays=ql;Y.asWeeks=Jl;Y.asMonths=Ql;Y.asQuarters=Kl;Y.asYears=Xl;Y.valueOf=$l;Y._bubble=Vl;Y.clone=eo;Y.get=to;Y.milliseconds=ro;Y.seconds=so;Y.minutes=ao;Y.hours=io;Y.days=no;Y.weeks=uo;Y.months=lo;Y.years=oo;Y.humanize=_o;Y.toISOString=Rt;Y.toString=Rt;Y.toJSON=Rt;Y.locale=Os;Y.localeData=Ps;Y.toIsoString=fe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Rt);Y.lang=Ns;v("X",0,0,"unix");v("x",0,0,"valueOf");_("x",Ft);_("X",Ia);B("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});B("x",function(e,t,r){r._d=new Date(b(e))});//! moment.js
10
- m.version="2.30.1";ma(x);m.fn=h;m.min=rn;m.max=sn;m.now=an;m.utc=Se;m.unix=Bl;m.months=Ll;m.isDate=ct;m.locale=Ue;m.invalid=Ot;m.duration=ye;m.isMoment=ge;m.weekdays=xl;m.parseZone=Il;m.localeData=Fe;m.isDuration=kt;m.monthsShort=Ul;m.weekdaysMin=Wl;m.defineLocale=ur;m.updateLocale=Bi;m.locales=Ii;m.weekdaysShort=Rl;m.normalizeUnits=me;m.relativeTimeRounding=fo;m.relativeTimeThreshold=mo;m.calendarFormat=Pn;m.prototype=h;m.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};function Or(e,t){i.addMessages(e,t)}function po(e){i.$locale.set(e)}const Nr={en:{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},"zh-hk":{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},fr:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},tr:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seçin",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soy isim",registerLastNameError:"Soyadı 2-50 karakter arasında olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıldır.",registerBirthPlace:"Doğum Yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki",registerPersonalId:"Kişisel kimlik",registerPersonalIdCharacters:"Sadece sayılar",registerPersonalIdLength:"Yanlış Uzunluk"},ro:{registerBackButton:"Inapoi",registerUserTitle:"Titlu",registerUserTitleSelect:"Selecteaza Titlu",registerUserTitleSelectMr:"Dl.",registerUserTitleSelectMrs:"Dna.",registerUserTitleSelectMs:"Dra.",registerFirstName:"Prenume",registerFirstNameError:"Prenumele trebuie sa fie de 2-50 litere lungime.",registerLastName:"Nume",registerLastNameError:"Numele trebuie sa fie de 2-50 litere lungime.",registerDateOfBirth:"Data Nasterii",registerBirthDay:"Zi",registerBirthMonth:"Luna",registerBirthYear:"An",registerBirthDateError:"Varsta minima pentru inregistrare este de {licenseyears} ani.",registerBirthPlace:"Locule nasterii",registerBirthPlaceError:"Locul nasterii trebuie sa contina minim o litera",registerCurrency:"Moneda",registerNext:"Urmatorul",registerPersonalId:"Cod Numeric Personal",registerPersonalIdCharacters:"Pot fi introduse doar cifre",registerPersonalIdLength:"Codul numeric personal trebuie sa contina 13 cifre."},es:{registerBackButton:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},pt:{registerBackButton:"Voltar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primeiro nome",registerFirstNameError:"O nome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerLastName:"Último nome",registerLastNameError:"O sobrenome deve ter pelo menos 2 caracteres e não conter caracteres especiais.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Local de Nascimento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"},hr:{registerBackButton:"Prethodno",registerUserTitle:"Titula",registerUserTitleSelect:"Odaberite titulu",registerUserTitleSelectMr:"Gosp.",registerUserTitleSelectMrs:"Gđa",registerUserTitleSelectMs:"Gđica",registerFirstName:"Ime",registerFirstNameError:"Ime mora imati 2-50 znakova.",registerLastName:"Prezime",registerLastNameError:"Prezime mora imati 2-50 znakova.",registerDateOfBirth:"Datum rođenja",registerBirthDay:"Dan",registerBirthMonth:"Mjesec",registerBirthYear:"Godina",registerBirthDateError:"Za registraciju morate imati najmanje 18 godina.",registerBirthPlace:"Mjesto rođenja",registerBirthPlaceError:"Mjesto rođenja mora imati najmanje 1 znak.",registerCurrency:"Valuta",registerNext:"Slijedeće",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Samo brojevi",registerPersonalIdLength:"Pogrešna duljina"},"pt-br":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Selecionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nome",registerFirstNameError:"O nome deve ser de 2 a 20 caracteres de comprimento.",registerLastName:"Sobrenome",registerLastNameError:"O sobrenome deve ter de 2 a 50 caracteres.",registerDateOfBirth:"Data de nascimento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Ano",registerBirthDateError:"A idade mínimo de registro é {licenseyears} anos.",registerBirthPlace:"Lugar de nascimento",registerBirthPlaceError:"O lugar de nascimento deve ter pelo menos 1 caractere",registerCurrency:"Moeda",registerNext:"Próximo",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Somente números",registerPersonalIdLength:"Formato de número de identificação incorreto"},"es-mx":{registerBackButton:"Atrás",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srita.",registerFirstName:"Nombre",registerFirstNameError:"Nombre debe ser de 2 a 20 caracteres de largo.",registerLastName:"Apellido",registerLastNameError:"Apellido debe ser de 2 a 50 caracteres de largo.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima de registro es {licenseyears} años.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Lugar de nacimiento debe tener al menos 1 caracter",registerCurrency:"Moneda",registerNext:"Siguiente",registerPersonalId:"Identificación",registerPersonalIdCharacters:"Sólo números",registerPersonalIdLength:"Formato de número de identificación Incorrecto"},"en-us":{registerBackButton:"Back",registerUserTitle:"Title",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"First Name",registerFirstNameError:"First name must be 2-50 characters long.",registerLastName:"Last Name",registerLastNameError:"Last name must be 2-50 characters.",registerDateOfBirth:"Date of Birth",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"The minimum registratione age is {licenseyears} years.",registerBirthPlace:"Birth Place",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Currency",registerNext:"Next",registerPersonalId:"Personal Id",registerPersonalIdCharacters:"Only numbers",registerPersonalIdLength:"Wrong Length"}};function go(e){i.append_styles(e,"svelte-12cj2jf",`.BackButton{display:inline-flex;color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer;margin-bottom:30px}.BackButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.UserTitleContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.UserTitleContainer select:focus,.UserTitleContainer select :focus-within,.UserTitleContainer select :focus-visible,.UserTitleContainer select :visited,.CurrencyContainer select:focus,.CurrencyContainer select :focus-within,.CurrencyContainer select :focus-visible,.CurrencyContainer select :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.PersonalIdContainer,.CurrencyContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.UserTitleContainer label,.FirstNameContainer label,.LastNameContainer label,.BirthDateContainer label,.BirthPlaceContainer label,.PersonalIdContainer label,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer input,.UserTitleContainer select,.FirstNameContainer input,.FirstNameContainer select,.LastNameContainer input,.LastNameContainer select,.BirthDateContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.BirthPlaceContainer select,.PersonalIdContainer input,.PersonalIdContainer select,.CurrencyContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserTitleContainer.InvalidField input,.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthDateContainer.InvalidField input,.BirthPlaceContainer.InvalidField input,.PersonalIdContainer.InvalidField input,.CurrencyContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.PersonalIdContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthDaySelected:focus,.BirthDateOptions .BirthDaySelected :focus-within,.BirthDateOptions .BirthDaySelected :focus-visible,.BirthDateOptions .BirthDaySelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.BirthDateOptions .BirthMonthSelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthMonthSelected:focus,.BirthDateOptions .BirthMonthSelected :focus-within,.BirthDateOptions .BirthMonthSelected :focus-visible,.BirthDateOptions .BirthMonthSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.BirthDateOptions .BirthYearSelected{width:40%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.BirthDateOptions .BirthYearSelected:focus,.BirthDateOptions .BirthYearSelected :focus-within,.BirthDateOptions .BirthYearSelected :focus-visible,.BirthDateOptions .BirthYearSelected :visited{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.FormRequired{color:var(--emw--categories-color-secondary, var(--emw--color-secondary, #FD2839))}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.RegisterStepNext{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.RegisterStepNext[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}`)}function Pr(e,t,r){const s=e.slice();return s[83]=t[r],s}function Cr(e,t,r){const s=e.slice();return s[86]=t[r],s}function Fr(e,t,r){const s=e.slice();return s[89]=t[r],s}function Br(e,t,r){const s=e.slice();return s[92]=t[r],s}function Ir(e){let t,r,s=e[24]("registerUserTitle")+"",a,n,l,d,o,f,p=e[24]("registerUserTitleSelect")+"",S,D,u=e[24]("registerUserTitleSelectMr")+"",c,g,W=e[24]("registerUserTitleSelectMrs")+"",I,Q,E=e[24]("registerUserTitleSelectMs")+"",K,se,le;return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select"),f=i.element("option"),S=i.text(p),D=i.element("option"),c=i.text(u),g=i.element("option"),I=i.text(W),Q=i.element("option"),K=i.text(E),i.attr(l,"class","FormRequired"),i.attr(r,"for","Title"),f.__value="",i.set_input_value(f,f.__value),f.disabled=!0,f.selected=!0,D.__value="Mr.",i.set_input_value(D,D.__value),g.__value="Mrs.",i.set_input_value(g,g.__value),Q.__value="Ms.",i.set_input_value(Q,Q.__value),i.attr(o,"id","Title"),e[12]===void 0&&i.add_render_callback(()=>e[43].call(o)),i.attr(t,"class","UserTitleContainer")},m(H,V){i.insert(H,t,V),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,f),i.append(f,S),i.append(o,D),i.append(D,c),i.append(o,g),i.append(g,I),i.append(o,Q),i.append(Q,K),i.select_option(o,e[12],!0),se||(le=[i.listen(o,"change",e[43]),i.listen(o,"change",e[29])],se=!0)},p(H,V){V[0]&16777216&&s!==(s=H[24]("registerUserTitle")+"")&&i.set_data(a,s),V[0]&16777216&&p!==(p=H[24]("registerUserTitleSelect")+"")&&i.set_data(S,p),V[0]&16777216&&u!==(u=H[24]("registerUserTitleSelectMr")+"")&&i.set_data(c,u),V[0]&16777216&&W!==(W=H[24]("registerUserTitleSelectMrs")+"")&&i.set_data(I,W),V[0]&16777216&&E!==(E=H[24]("registerUserTitleSelectMs")+"")&&i.set_data(K,E),V[0]&4096&&i.select_option(o,H[12])},d(H){H&&i.detach(t),se=!1,i.run_all(le)}}}function Lr(e){let t,r,s=e[24]("registerFirstName")+"",a,n,l,d,o,f,p,S,D,u=e[2]&&Ur(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","FirstName"),i.attr(o,"type","text"),i.attr(o,"id","FirstName"),i.attr(t,"class",p="FirstNameContainer "+(e[2]&&!e[7]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[13]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[44]),i.listen(o,"keyup",e[30]),i.listen(o,"focus",e[45]),i.listen(o,"keyup",e[46])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerFirstName")+"")&&i.set_data(a,s),g[0]&8192&&o.value!==c[13]&&i.set_input_value(o,c[13]),c[2]?u?u.p(c,g):(u=Ur(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&132&&p!==(p="FirstNameContainer "+(c[2]&&!c[7]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function Ur(e){let t,r=e[24]("registerFirstNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerFirstNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function xr(e){let t,r,s=e[24]("registerLastName")+"",a,n,l,d,o,f,p,S,D,u=e[3]&&Rr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","LastName"),i.attr(o,"type","text"),i.attr(o,"id","LastName"),i.attr(t,"class",p="LastNameContainer "+(e[3]&&!e[8]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[14]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[47]),i.listen(o,"keyup",e[31]),i.listen(o,"focus",e[48]),i.listen(o,"blur",e[49])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerLastName")+"")&&i.set_data(a,s),g[0]&16384&&o.value!==c[14]&&i.set_input_value(o,c[14]),c[3]?u?u.p(c,g):(u=Rr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&264&&p!==(p="LastNameContainer "+(c[3]&&!c[8]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function Rr(e){let t,r=e[24]("registerLastNameError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerLastNameError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Wr(e){let t,r,s=e[24]("registerDateOfBirth")+"",a,n,l,d,o,f,p,S=e[24]("registerBirthDay")+"",D,u,c,g,W=e[24]("registerBirthMonth")+"",I,Q,E,K,se=e[24]("registerBirthYear")+"",le,H,V,oe,ue=i.ensure_array_like(e[25]),L=[];for(let k=0;k<ue.length;k+=1)L[k]=Er(Br(e,ue,k));let $=i.ensure_array_like(e[26]),F=[];for(let k=0;k<$.length;k+=1)F[k]=Hr(Fr(e,$,k));let G=!e[23]&&Ar(e),U=e[4]&&jr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("div"),f=i.element("select"),p=i.element("option"),D=i.text(S);for(let k=0;k<L.length;k+=1)L[k].c();u=i.space(),c=i.element("select"),g=i.element("option"),I=i.text(W);for(let k=0;k<F.length;k+=1)F[k].c();Q=i.space(),E=i.element("select"),K=i.element("option"),le=i.text(se),G&&G.c(),H=i.space(),U&&U.c(),i.attr(l,"class","FormRequired"),p.__value="",i.set_input_value(p,p.__value),p.disabled=!0,p.selected=!0,i.attr(f,"class","BirthDaySelected"),e[15]===void 0&&i.add_render_callback(()=>e[50].call(f)),g.__value="",i.set_input_value(g,g.__value),g.disabled=!0,g.selected=!0,i.attr(c,"class","BirthMonthSelected"),e[16]===void 0&&i.add_render_callback(()=>e[51].call(c)),K.__value="",i.set_input_value(K,K.__value),K.disabled=!0,K.selected=!0,i.attr(E,"class","BirthYearSelected"),e[17]===void 0&&i.add_render_callback(()=>e[52].call(E)),i.attr(o,"class","BirthDateOptions"),i.attr(t,"class","BirthDateContainer")},m(k,j){i.insert(k,t,j),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.append(o,f),i.append(f,p),i.append(p,D);for(let y=0;y<L.length;y+=1)L[y]&&L[y].m(f,null);i.select_option(f,e[15],!0),i.append(o,u),i.append(o,c),i.append(c,g),i.append(g,I);for(let y=0;y<F.length;y+=1)F[y]&&F[y].m(c,null);i.select_option(c,e[16],!0),i.append(o,Q),i.append(o,E),i.append(E,K),i.append(K,le),G&&G.m(E,null),i.select_option(E,e[17],!0),i.append(o,H),U&&U.m(o,null),V||(oe=[i.listen(f,"change",e[50]),i.listen(f,"change",e[28]),i.listen(c,"change",e[51]),i.listen(c,"change",e[28]),i.listen(E,"change",e[52]),i.listen(E,"change",e[28])],V=!0)},p(k,j){if(j[0]&16777216&&s!==(s=k[24]("registerDateOfBirth")+"")&&i.set_data(a,s),j[0]&16777216&&S!==(S=k[24]("registerBirthDay")+"")&&i.set_data(D,S),j[0]&33554432){ue=i.ensure_array_like(k[25]);let y;for(y=0;y<ue.length;y+=1){const P=Br(k,ue,y);L[y]?L[y].p(P,j):(L[y]=Er(P),L[y].c(),L[y].m(f,null))}for(;y<L.length;y+=1)L[y].d(1);L.length=ue.length}if(j[0]&33587200&&i.select_option(f,k[15]),j[0]&16777216&&W!==(W=k[24]("registerBirthMonth")+"")&&i.set_data(I,W),j[0]&67108864){$=i.ensure_array_like(k[26]);let y;for(y=0;y<$.length;y+=1){const P=Fr(k,$,y);F[y]?F[y].p(P,j):(F[y]=Hr(P),F[y].c(),F[y].m(c,null))}for(;y<F.length;y+=1)F[y].d(1);F.length=$.length}j[0]&67174400&&i.select_option(c,k[16]),j[0]&16777216&&se!==(se=k[24]("registerBirthYear")+"")&&i.set_data(le,se),k[23]?G&&(G.d(1),G=null):G?G.p(k,j):(G=Ar(k),G.c(),G.m(E,null)),j[0]&134348800&&i.select_option(E,k[17]),k[4]?U?U.p(k,j):(U=jr(k),U.c(),U.m(o,null)):U&&(U.d(1),U=null)},d(k){k&&i.detach(t),i.destroy_each(L,k),i.destroy_each(F,k),G&&G.d(),U&&U.d(),V=!1,i.run_all(oe)}}}function Er(e){let t,r=e[92]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[92],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Hr(e){let t,r=e[89]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[89],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function Ar(e){let t,r=i.ensure_array_like(e[27]),s=[];for(let a=0;a<r.length;a+=1)s[a]=Vr(Cr(e,r,a));return{c(){for(let a=0;a<s.length;a+=1)s[a].c();t=i.empty()},m(a,n){for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(a,n);i.insert(a,t,n)},p(a,n){if(n[0]&134217728){r=i.ensure_array_like(a[27]);let l;for(l=0;l<r.length;l+=1){const d=Cr(a,r,l);s[l]?s[l].p(d,n):(s[l]=Vr(d),s[l].c(),s[l].m(t.parentNode,t))}for(;l<s.length;l+=1)s[l].d(1);s.length=r.length}},d(a){a&&i.detach(t),i.destroy_each(s,a)}}}function Vr(e){let t,r=e[86]+"",s;return{c(){t=i.element("option"),s=i.text(r),t.__value=e[86],i.set_input_value(t,t.__value)},m(a,n){i.insert(a,t,n),i.append(t,s)},p:i.noop,d(a){a&&i.detach(t)}}}function jr(e){let t,r=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777217&&r!==(r=a[24]("registerBirthDateError",{values:{licenseyears:a[0]}})+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Gr(e){let t,r,s=e[24]("registerBirthPlace")+"",a,n,l,d,o,f,p,S,D,u=e[5]&&zr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","BirthPlace"),i.attr(o,"type","text"),i.attr(o,"id","BirthPlace"),i.attr(t,"class",p="BirthPlaceContainer "+(e[5]&&!e[9]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[18]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[53]),i.listen(o,"keyup",e[32]),i.listen(o,"focus",e[54]),i.listen(o,"blur",e[55])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerBirthPlace")+"")&&i.set_data(a,s),g[0]&262144&&o.value!==c[18]&&i.set_input_value(o,c[18]),c[5]?u?u.p(c,g):(u=zr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&544&&p!==(p="BirthPlaceContainer "+(c[5]&&!c[9]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function zr(e){let t,r=e[24]("registerBirthPlaceError")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerBirthPlaceError")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Zr(e){let t,r,s=e[24]("registerPersonalId")+"",a,n,l,d,o,f,p,S,D,u=e[6]&&qr(e);return{c(){t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("input"),f=i.space(),u&&u.c(),i.attr(l,"class","FormRequired"),i.attr(r,"for","PersonalId"),i.attr(o,"type","text"),i.attr(o,"id","PersonalId"),i.attr(t,"class",p="PersonalIdContainer "+(e[6]&&!e[10]?"InvalidField":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o),i.set_input_value(o,e[21]),i.append(t,f),u&&u.m(t,null),S||(D=[i.listen(o,"input",e[56]),i.listen(o,"keyup",e[33]),i.listen(o,"focus",e[57]),i.listen(o,"blur",e[58])],S=!0)},p(c,g){g[0]&16777216&&s!==(s=c[24]("registerPersonalId")+"")&&i.set_data(a,s),g[0]&2097152&&o.value!==c[21]&&i.set_input_value(o,c[21]),c[6]?u?u.p(c,g):(u=qr(c),u.c(),u.m(t,null)):u&&(u.d(1),u=null),g[0]&1088&&p!==(p="PersonalIdContainer "+(c[6]&&!c[10]?"InvalidField":""))&&i.attr(t,"class",p)},d(c){c&&i.detach(t),u&&u.d(),S=!1,i.run_all(D)}}}function qr(e){let t,r;function s(l,d){return d[0]&2097152&&(t=null),t==null&&(t=!/^\d+$/.test(l[21])),t?wo:yo}let a=s(e,[-1,-1,-1,-1]),n=a(e);return{c(){n.c(),r=i.empty()},m(l,d){n.m(l,d),i.insert(l,r,d)},p(l,d){a===(a=s(l,d))&&n?n.p(l,d):(n.d(1),n=a(l),n&&(n.c(),n.m(r.parentNode,r)))},d(l){l&&i.detach(r),n.d(l)}}}function yo(e){let t,r=e[24]("registerPersonalIdLength")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdLength")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function wo(e){let t,r=e[24]("registerPersonalIdCharacters")+"",s;return{c(){t=i.element("p"),s=i.text(r),i.attr(t,"class","InvalidInput")},m(a,n){i.insert(a,t,n),i.append(t,s)},p(a,n){n[0]&16777216&&r!==(r=a[24]("registerPersonalIdCharacters")+"")&&i.set_data(s,r)},d(a){a&&i.detach(t)}}}function Jr(e){let t,r,s=e[24]("registerCurrency")+"",a,n,l,d,o,f,p,S,D=i.ensure_array_like(e[19]),u=[];for(let c=0;c<D.length;c+=1)u[c]=Qr(Pr(e,D,c));return{c(){var c;t=i.element("div"),r=i.element("label"),a=i.text(s),n=i.text(":"),l=i.element("span"),l.textContent="*",d=i.space(),o=i.element("select");for(let g=0;g<u.length;g+=1)u[g].c();i.attr(l,"class","FormRequired"),i.attr(r,"for","Currency"),i.attr(o,"id","Currency"),e[20]===void 0&&i.add_render_callback(()=>e[59].call(o)),i.attr(t,"class",f="CurrencyContainer "+(((c=e[11])==null?void 0:c.indexOf("currency"))>=0?"Hidden":""))},m(c,g){i.insert(c,t,g),i.append(t,r),i.append(r,a),i.append(r,n),i.append(r,l),i.append(t,d),i.append(t,o);for(let W=0;W<u.length;W+=1)u[W]&&u[W].m(o,null);i.select_option(o,e[20],!0),p||(S=i.listen(o,"change",e[59]),p=!0)},p(c,g){var W;if(g[0]&16777216&&s!==(s=c[24]("registerCurrency")+"")&&i.set_data(a,s),g[0]&524288){D=i.ensure_array_like(c[19]);let I;for(I=0;I<D.length;I+=1){const Q=Pr(c,D,I);u[I]?u[I].p(Q,g):(u[I]=Qr(Q),u[I].c(),u[I].m(o,null))}for(;I<u.length;I+=1)u[I].d(1);u.length=D.length}g[0]&1572864&&i.select_option(o,c[20]),g[0]&2048&&f!==(f="CurrencyContainer "+(((W=c[11])==null?void 0:W.indexOf("currency"))>=0?"Hidden":""))&&i.attr(t,"class",f)},d(c){c&&i.detach(t),i.destroy_each(u,c),p=!1,S()}}}function Qr(e){let t,r=e[83]+"",s,a;return{c(){t=i.element("option"),s=i.text(r),t.__value=a=e[83],i.set_input_value(t,t.__value)},m(n,l){i.insert(n,t,l),i.append(t,s)},p(n,l){l[0]&524288&&r!==(r=n[83]+"")&&i.set_data(s,r),l[0]&524288&&a!==(a=n[83])&&(t.__value=a,i.set_input_value(t,t.__value))},d(n){n&&i.detach(t)}}}function vo(e){var ie,He,Ke,we,_t,pt,Xe;let t,r,s,a,n,l,d,o,f,p=e[24]("registerBackButton")+"",S,D,u,c=!(((ie=e[11])==null?void 0:ie.indexOf("title"))>=0),g,W=!(((He=e[11])==null?void 0:He.indexOf("firstName"))>=0),I,Q=!(((Ke=e[11])==null?void 0:Ke.indexOf("lastName"))>=0),E,K=!(((we=e[11])==null?void 0:we.indexOf("birthDate"))>=0),se,le=!(((_t=e[11])==null?void 0:_t.indexOf("birthPlace"))>=0),H,V=!(((pt=e[11])==null?void 0:pt.indexOf("personalId"))>=0),oe,ue=!(((Xe=e[11])==null?void 0:Xe.indexOf("currency"))>=0),L,$,F=e[24]("registerNext")+"",G,U,k,j,y=c&&Ir(e),P=W&&Lr(e),Z=Q&&xr(e),ee=K&&Wr(e),te=le&&Gr(e),re=V&&Zr(e),C=ue&&Jr(e);return{c(){t=i.element("div"),r=i.element("div"),s=i.element("button"),a=i.svg_element("svg"),n=i.svg_element("defs"),l=i.svg_element("style"),d=i.text(".a{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));}"),o=i.svg_element("path"),f=i.space(),S=i.text(p),D=i.space(),u=i.element("form"),y&&y.c(),g=i.space(),P&&P.c(),I=i.space(),Z&&Z.c(),E=i.space(),ee&&ee.c(),se=i.space(),te&&te.c(),H=i.space(),re&&re.c(),oe=i.space(),C&&C.c(),L=i.space(),$=i.element("button"),G=i.text(F),i.attr(o,"class","a"),i.attr(o,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),i.attr(o,"transform","translate(24 24) rotate(180)"),i.attr(a,"xmlns","http://www.w3.org/2000/svg"),i.attr(a,"viewBox","0 0 24 24"),i.attr(s,"class","BackButton"),i.attr(r,"class","RegisterFormHeader"),i.attr($,"class","RegisterStepNext"),$.disabled=U=!e[22],i.attr(u,"class","RegisterFormContent")},m(N,q){i.insert(N,t,q),i.append(t,r),i.append(r,s),i.append(s,a),i.append(a,n),i.append(n,l),i.append(l,d),i.append(a,o),i.append(s,f),i.append(s,S),i.append(t,D),i.append(t,u),y&&y.m(u,null),i.append(u,g),P&&P.m(u,null),i.append(u,I),Z&&Z.m(u,null),i.append(u,E),ee&&ee.m(u,null),i.append(u,se),te&&te.m(u,null),i.append(u,H),re&&re.m(u,null),i.append(u,oe),C&&C.m(u,null),i.append(u,L),i.append(u,$),i.append($,G),e[61](t),k||(j=[i.listen(s,"click",e[35]),i.listen($,"click",e[60])],k=!0)},p(N,q){var Me,$e,et,tt,rt,gt,st;q[0]&16777216&&p!==(p=N[24]("registerBackButton")+"")&&i.set_data(S,p),q[0]&2048&&(c=!(((Me=N[11])==null?void 0:Me.indexOf("title"))>=0)),c?y?y.p(N,q):(y=Ir(N),y.c(),y.m(u,g)):y&&(y.d(1),y=null),q[0]&2048&&(W=!((($e=N[11])==null?void 0:$e.indexOf("firstName"))>=0)),W?P?P.p(N,q):(P=Lr(N),P.c(),P.m(u,I)):P&&(P.d(1),P=null),q[0]&2048&&(Q=!(((et=N[11])==null?void 0:et.indexOf("lastName"))>=0)),Q?Z?Z.p(N,q):(Z=xr(N),Z.c(),Z.m(u,E)):Z&&(Z.d(1),Z=null),q[0]&2048&&(K=!(((tt=N[11])==null?void 0:tt.indexOf("birthDate"))>=0)),K?ee?ee.p(N,q):(ee=Wr(N),ee.c(),ee.m(u,se)):ee&&(ee.d(1),ee=null),q[0]&2048&&(le=!(((rt=N[11])==null?void 0:rt.indexOf("birthPlace"))>=0)),le?te?te.p(N,q):(te=Gr(N),te.c(),te.m(u,H)):te&&(te.d(1),te=null),q[0]&2048&&(V=!(((gt=N[11])==null?void 0:gt.indexOf("personalId"))>=0)),V?re?re.p(N,q):(re=Zr(N),re.c(),re.m(u,oe)):re&&(re.d(1),re=null),q[0]&2048&&(ue=!(((st=N[11])==null?void 0:st.indexOf("currency"))>=0)),ue?C?C.p(N,q):(C=Jr(N),C.c(),C.m(u,L)):C&&(C.d(1),C=null),q[0]&16777216&&F!==(F=N[24]("registerNext")+"")&&i.set_data(G,F),q[0]&4194304&&U!==(U=!N[22])&&($.disabled=U)},i:i.noop,o:i.noop,d(N){N&&i.detach(t),y&&y.d(),P&&P.d(),Z&&Z.d(),ee&&ee.d(),te&&te.d(),re&&re.d(),C&&C.d(),e[61](null),k=!1,i.run_all(j)}}}function ko(e,t,r){let s;i.component_subscribe(e,i.$format,w=>r(24,s=w));let{endpoint:a=""}=t,{lang:n=""}=t,{licenseyears:l=""}=t,{disabledfields:d=""}=t,{personalidlength:o=""}=t,{clientstyling:f=""}=t,{clientstylingurl:p=""}=t,{translationurl:S=""}=t,D=!1,u=!1,c=!1,g=!1,W=!1,I=!1,Q=!1,E=!1,K=!1,se=!1,le,H="",V="",oe="",ue=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],L,$=[1,2,3,4,5,6,7,8,9,10,11,12],F,G=[],U,k="",j=[],y="",P="",Z=new Date,ee,te,re,C={},ie={title:!1,firstname:!1,lastname:!1,birthPlace:!1,birthDate:!1,currency:!1,personalId:!1},He=!1,Ke=!0,we;const _t=()=>{fetch(S).then(z=>z.json()).then(z=>{Object.keys(z).forEach(ce=>{Or(ce,z[ce])})}).catch(z=>{console.log(z)})};Object.keys(Nr).forEach(w=>{Or(w,Nr[w])});const pt=()=>{te=parseInt(m(Z.setDate(Z.getDate())).subtract(parseInt(l,10),"y").format("YYYY")),ee=parseInt(m(Z.setDate(Z.getDate())).subtract(100+parseInt(l,10),"y").format("YYYY"));for(let w=te;w>=ee;w--)G.push(w);r(23,Ke=!1)},Xe=()=>{C.birth={},C.birth.day=L,C.birth.month=F,C.birth.year=U,U&&F&&L?(re=m(Z.setDate(Z.getDate())).diff(m(`${U}-${F}-${L}`,"YYYY-MM-DD"),"years").toString(),r(4,c=re<l)):r(4,c=!0),ie.birthDate=!c,Me()},N=()=>{fetch(`${a}/v1/player/operatorSupportedCurrencies`).then(w=>w.json()).then(w=>{r(19,j=w.currencies),y||(r(20,y=j[0]),ie.currency=!0)})},q=(w,z)=>{if(w==="birth"&&(w="birthDate"),!(d.indexOf(w)>=0))switch(w){case"title":r(12,H=z),et();break;case"firstname":r(13,V=z),tt();break;case"lastname":r(14,oe=z),rt();break;case"birthPlace":r(18,k=z),st();break;case"birthDate":r(15,L=z.day),r(16,F=z.month),r(17,U=z.year),Xe();break;case"personalId":r(21,P=z),wr();break;case"currency":r(20,y=z),ie.currency=!0;break}},Me=()=>{r(22,He=Object.keys(ie).every(w=>d.includes(w)?!0:ie[w]!==!1))},$e=w=>!!(w&&w.length>=2&&w.length<=50),et=()=>{C.title=H,I=!H,ie.title=!I,Me()},tt=()=>{C.firstname=V,r(2,D=!$e(V)),ie.firstname=!D,Me()},rt=()=>{C.lastname=oe,r(3,u=!$e(oe)),ie.lastname=!u,Me()},gt=()=>(C.birthPlace=k,!!(k&&k.length<=120)),st=()=>{C.birthPlace=k,r(5,g=!gt()),ie.birthPlace=!g,Me()},yr=()=>!!(P&&P.length===Number(o)&&/^\d+$/.test(P)),wr=()=>{C.personalId=P,r(6,W=!yr()),ie.personalId=yr(),Me()},vr=w=>{C.currency=y,w.preventDefault(),window.postMessage({type:"RegisterStepTwo",registerStepTwoData:C},window.location.href)},Vs=()=>{C.currency=y,window.postMessage({type:"GoBackStepTwo",registerStepTwoData:C},window.location.href)},kr=w=>{if(w.data)switch(w.data.type){case"StepTwoDataBackup":const z=w.data.userData;for(const ce in z)q(ce,z[ce]);r(22,He=Object.keys(ie).every(ce=>d.includes(ce)?!0:ie[ce]!==!1));break}},js=()=>{r(11,le=d.split(","))},Gs=()=>{po(n)},zs=()=>{let w=document.createElement("style");w.innerHTML=f,we.appendChild(w)},Zs=()=>{let w=new URL(p),z=document.createElement("style");fetch(w.href).then(ce=>ce.text()).then(ce=>{z.innerHTML=ce,setTimeout(()=>{we.appendChild(z)},1),setTimeout(()=>{},500)})};i.onMount(()=>(window.addEventListener("message",kr,!1),()=>{window.removeEventListener("message",kr)}));function qs(){H=i.select_value(this),r(12,H)}function Js(){V=this.value,r(13,V)}const Qs=()=>r(7,Q=!0),Ks=()=>r(7,Q=!1);function Xs(){oe=this.value,r(14,oe)}const $s=()=>r(8,E=!0),ea=()=>r(8,E=!1);function ta(){L=i.select_value(this),r(15,L),r(25,ue)}function ra(){F=i.select_value(this),r(16,F),r(26,$)}function sa(){U=i.select_value(this),r(17,U),r(27,G)}function aa(){k=this.value,r(18,k)}const ia=()=>r(9,K=!0),na=()=>r(9,K=!1);function la(){P=this.value,r(21,P)}const oa=()=>r(10,se=!0),ua=()=>r(10,se=!1);function da(){y=i.select_value(this),r(20,y),r(19,j)}const ca=w=>vr(w);function ha(w){i.binding_callbacks[w?"unshift":"push"](()=>{we=w,r(1,we)})}return e.$$set=w=>{"endpoint"in w&&r(36,a=w.endpoint),"lang"in w&&r(37,n=w.lang),"licenseyears"in w&&r(0,l=w.licenseyears),"disabledfields"in w&&r(38,d=w.disabledfields),"personalidlength"in w&&r(39,o=w.personalidlength),"clientstyling"in w&&r(40,f=w.clientstyling),"clientstylingurl"in w&&r(41,p=w.clientstylingurl),"translationurl"in w&&r(42,S=w.translationurl)},e.$$.update=()=>{e.$$.dirty[1]&160&&a&&d.indexOf("currency")===-1&&N(),e.$$.dirty[1]&64&&n&&Gs(),e.$$.dirty[0]&1&&l&&pt(),e.$$.dirty[1]&128&&d&&js(),e.$$.dirty[0]&2|e.$$.dirty[1]&512&&f&&we&&zs(),e.$$.dirty[0]&2|e.$$.dirty[1]&1024&&p&&we&&Zs(),e.$$.dirty[1]&2048&&S&&_t()},[l,we,D,u,c,g,W,Q,E,K,se,le,H,V,oe,L,F,U,k,j,y,P,He,Ke,s,ue,$,G,Xe,et,tt,rt,st,wr,vr,Vs,a,n,d,o,f,p,S,qs,Js,Qs,Ks,Xs,$s,ea,ta,ra,sa,aa,ia,na,la,oa,ua,da,ca,ha]}class As extends i.SvelteComponent{constructor(t){super(),i.init(this,t,ko,vo,i.safe_not_equal,{endpoint:36,lang:37,licenseyears:0,disabledfields:38,personalidlength:39,clientstyling:40,clientstylingurl:41,translationurl:42},go,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[36]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[37]}set lang(t){this.$$set({lang:t}),i.flush()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(t){this.$$set({licenseyears:t}),i.flush()}get disabledfields(){return this.$$.ctx[38]}set disabledfields(t){this.$$set({disabledfields:t}),i.flush()}get personalidlength(){return this.$$.ctx[39]}set personalidlength(t){this.$$set({personalidlength:t}),i.flush()}get clientstyling(){return this.$$.ctx[40]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[41]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get translationurl(){return this.$$.ctx[42]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}}i.create_custom_element(As,{endpoint:{},lang:{},licenseyears:{},disabledfields:{},personalidlength:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=As;