@everymatrix/general-player-register-form-step2 1.44.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/GeneralPlayerRegisterFormStep2-CSfMWfBL.cjs")).then(({default:t})=>{!customElements.get("general-player-register-form-step2")&&customElements.define("general-player-register-form-step2",t.element)})}
@@ -0,0 +1,16 @@
1
+ if (typeof window != "undefined") {
2
+ let n = function(t) {
3
+ return function(...s) {
4
+ try {
5
+ return t.apply(this, s);
6
+ } catch (e) {
7
+ if (e instanceof DOMException && e.message.includes("has already been used with this registry") || e.message.includes("Cannot define multiple custom elements with the same tag name"))
8
+ return !1;
9
+ throw e;
10
+ }
11
+ };
12
+ };
13
+ customElements.define = n(customElements.define), import("../components/GeneralPlayerRegisterFormStep2-CTv-KZRr.js").then(({ default: t }) => {
14
+ !customElements.get("general-player-register-form-step2") && customElements.define("general-player-register-form-step2", t.element);
15
+ });
16
+ }
package/package.json CHANGED
@@ -1,39 +1,21 @@
1
1
  {
2
2
  "name": "@everymatrix/general-player-register-form-step2",
3
- "version": "1.44.0",
4
- "main": "dist/general-player-register-form-step2.js",
5
- "svelte": "src/index.ts",
6
- "scripts": {
7
- "start": "sirv public",
8
- "build": "cross-env NODE_ENV=production rollup -c",
9
- "dev": "cross-env NODE_ENV=\"development\" rollup -c -w",
10
- "validate": "svelte-check",
11
- "test": "echo"
12
- },
13
- "devDependencies": {
14
- "@rollup/plugin-babel": "^5.3.0",
15
- "@rollup/plugin-commonjs": "^16.0.0",
16
- "@rollup/plugin-node-resolve": "^10.0.0",
17
- "@rollup/plugin-typescript": "^6.0.0",
18
- "@tsconfig/svelte": "^1.0.0",
19
- "rollup": "^2.3.4",
20
- "rollup-plugin-dev-server": "^0.4.3",
21
- "rollup-plugin-livereload": "^2.0.0",
22
- "rollup-plugin-svelte": "^7.0.0",
23
- "rollup-plugin-terser": "^7.0.0",
24
- "rollup-plugin-uglify": "^6.0.4",
25
- "svelte-check": "^1.0.0",
26
- "svelte-preprocess": "^5.0.0",
27
- "tslib": "^2.0.0",
28
- "typescript": "^3.9.3"
29
- },
30
- "dependencies": {
31
- "cross-env": "^7.0.3",
32
- "sirv-cli": "^1.0.0",
33
- "svelte": "^3.0.0"
3
+ "version": "1.45.0",
4
+ "type": "module",
5
+ "main": "es2015/general-player-register-form-step2.cjs",
6
+ "module": "es2015/general-player-register-form-step2.js",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./es2015/general-player-register-form-step2.js",
10
+ "require": "./es2015/general-player-register-form-step2.cjs"
11
+ },
12
+ "./es2015/general-player-register-form-step2.cjs": "./es2015/general-player-register-form-step2.cjs"
34
13
  },
14
+ "files": [
15
+ "es2015/",
16
+ "components"
17
+ ],
35
18
  "publishConfig": {
36
19
  "access": "public"
37
- },
38
- "gitHead": "701410f2b76dfe1ee4038f799b1e8e340c85cdb5"
20
+ }
39
21
  }
package/README.md DELETED
@@ -1,30 +0,0 @@
1
- # @everymatrix/general-player-register-form-step2
2
- ---------
3
-
4
- ## First step
5
- ---------
6
- ```
7
- lerna bootstrap
8
- ```
9
-
10
- ## Run Widget
11
- ---------
12
- - starts server at port 5050
13
- - has livereload
14
-
15
- ```
16
- yarn run dev
17
- ```
18
-
19
- ## Build Widget
20
- ---------
21
- ```
22
- yarn run build
23
- ```
24
-
25
- ## Publishing widget
26
- ---------
27
- - Note add your user to the npm
28
- ```
29
- lerna publish
30
- ```
@@ -1,2 +0,0 @@
1
- ((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()})(this,function(){function $(){}function T(e){return e()}function M(){return Object.create(null)}function W(e){e.forEach(T)}function D(e){return"function"==typeof e}function h(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function re(e,...t){if(null==e)return $;let r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function j(e,t){e.appendChild(t)}function V(e,t,r){e.insertBefore(t,r||null)}function z(e){e.parentNode&&e.parentNode.removeChild(e)}function x(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function Z(e){return document.createElement(e)}function ne(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function X(e){return document.createTextNode(e)}function K(){return X(" ")}function u(){return X("")}function q(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function J(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Q(e,t){e.data!==(t=""+t)&&(e.data=t)}function p(e,t){e.value=null==t?"":t}function H(t,r,e){for(let e=0;e<t.options.length;e+=1){var n=t.options[e];if(n.__value===r)return n.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function ee(e){e=e.querySelector(":checked");return e&&e.__value}let ie;function B(e){ie=e}let d=[],se=[],i=[],c=[],N=Promise.resolve(),k=!1;function L(e){i.push(e)}let O=new Set,s=0;function f(){if(0===s){let e=ie;do{try{for(;s<d.length;){let e=d[s];s++,B(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),W(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(L))}}catch(e){throw d.length=0,s=0,e}for(B(null),d.length=0,s=0;se.length;)se.pop()();for(let e=0;e<i.length;e+=1){var n=i[e];O.has(n)||(O.add(n),n())}}while(i.length=0,d.length);for(;c.length;)c.pop()();k=!1,O.clear(),B(e)}}let P=new Set;function C(n,t,e,r,i,s,a,o=[-1]){var l=ie;B(n);let h=n.$$={fragment:null,ctx:[],props:s,update:$,not_equal:i,bound:M(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:M(),dirty:o,skip_bound:!1,root:t.target||l.$$.root},u=(a&&a(h.root),!1);if(h.ctx=e?e(n,t.props||{},(e,t,...r)=>{var r=r.length?r[0]:t;return h.ctx&&i(h.ctx[e],h.ctx[e]=r)&&(!h.skip_bound&&h.bound[e]&&h.bound[e](r),u)&&(r=e,-1===(e=n).$$.dirty[0]&&(d.push(e),k||(k=!0,N.then(f)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],h.update(),u=!0,W(h.before_update),h.fragment=!!r&&r(h.ctx),t.target){if(t.hydrate){s=t.target;let e=Array.from(s.childNodes);h.fragment&&h.fragment.l(e),e.forEach(z)}else h.fragment&&h.fragment.c();t.intro&&(o=n.$$.fragment)&&o.i&&(P.delete(o),o.i(void 0));var c=n,a=t.customElement,{fragment:e,after_update:r}=c.$$;e&&e.m(t.target,t.anchor),a||L(()=>{var e=c.$$.on_mount.map(T).filter(D);c.$$.on_destroy?c.$$.on_destroy.push(...e):W(e),c.$$.on_mount=[]}),r.forEach(L),f()}B(l)}let I;function kr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(I=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let e=this.$$.on_mount;this.$$.on_disconnect=e.map(T).filter(D);for(let e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){W(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var n=e.after_update;let t=[],r=[];i.forEach(e=>(-1===n.indexOf(e)?t:r).push(e)),r.forEach(e=>e()),i=t}W(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=$}$on(e,t){if(!D(t))return $;let r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});Or=A={path:void 0,exports:{},require:function(e,t){return kr(null==t&&A.path)}},A.exports,Or.exports=(()=>{var I;function m(){return I.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function A(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function g(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Y(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(g(e,t))return;return 1}function o(e){return void 0===e}function U(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function R(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function F(e,t){for(var r=[],n=e.length,i=0;i<n;++i)r.push(t(e[i],i));return r}function G(e,t){for(var r in t)g(t,r)&&(e[r]=t[r]);return g(t,"toString")&&(e.toString=t.toString),g(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Ct(e,t,r,n,!0).utc()}function p(e){return null==e._pf&&(e._pf={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}),e._pf}function $(e){var t,r,n=e._d&&!isNaN(e._d.getTime());return n&&(t=p(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),n=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)&&(n=n&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e)?n:(e._isValid=n,e._isValid)}function W(e){var t=h(NaN);return null!=e?G(p(t),e):p(t).userInvalidated=!0,t}var j=Array.prototype.some||function(e){for(var t=Object(this),r=t.length>>>0,n=0;n<r;n++)if(n in t&&e.call(this,t[n],n,t))return!0;return!1},V=m.momentProperties=[],z=!1;function Z(e,t){var r,n,i,s=V.length;if(o(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),o(t._i)||(e._i=t._i),o(t._f)||(e._f=t._f),o(t._l)||(e._l=t._l),o(t._strict)||(e._strict=t._strict),o(t._tzm)||(e._tzm=t._tzm),o(t._isUTC)||(e._isUTC=t._isUTC),o(t._offset)||(e._offset=t._offset),o(t._pf)||(e._pf=p(t)),o(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)o(i=t[n=V[r]])||(e[n]=i);return e}function X(e){Z(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===z&&(z=!0,m.updateOffset(this),z=!1)}function l(e){return e instanceof X||null!=e&&null!=e._isAMomentObject}function K(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function e(s,a){var o=!0;return G(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,s),o){for(var e,t,r=[],n=arguments.length,i=0;i<n;i++){if(e="","object"==typeof arguments[i]){for(t in e+="\n["+i+"] ",arguments[0])g(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];r.push(e)}K(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var q={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),q[e]||(K(t),q[e]=!0)}function u(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function Q(e,t){var r,n=G({},e);for(r in t)g(t,r)&&(A(e[r])&&A(t[r])?(n[r]={},G(n[r],e[r]),G(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)g(e,r)&&!g(t,r)&&A(e[r])&&(n[r]=G({},n[r]));return n}function ee(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var te=Object.keys||function(e){var t,r=[];for(t in e)g(e,t)&&r.push(t);return r};function s(e,t,r){var n=""+Math.abs(e);return(0<=e?r?"+":"":"-")+Math.pow(10,Math.max(0,t-n.length)).toString().substr(1)+n}var re=/(\[[^\[]*\])|(\\)?([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,ne=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ie={},se={};function n(e,t,r,n){var i="string"==typeof n?function(){return this[n]()}:n;e&&(se[e]=i),t&&(se[t[0]]=function(){return s(i.apply(this,arguments),t[1],t[2])}),r&&(se[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function ae(e,t){return e.isValid()?(t=oe(t,e.localeData()),ie[t]=ie[t]||(n=>{for(var e,i=n.match(re),t=0,s=i.length;t<s;t++)se[i[t]]?i[t]=se[i[t]]:i[t]=(e=i[t]).match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"");return function(e){for(var t="",r=0;r<s;r++)t+=u(i[r])?i[r].call(e,n):i[r];return t}})(t),ie[t](e)):e.localeData().invalidDate()}function oe(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(ne.lastIndex=0;0<=r&&ne.test(e);)e=e.replace(ne,n),ne.lastIndex=0,--r;return e}var le={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 c(e){return"string"==typeof e?le[e]||le[e.toLowerCase()]:void 0}function he(e){var t,r,n={};for(r in e)g(e,r)&&(t=c(r))&&(n[t]=e[r]);return n}var ue={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},ce=/\d/,t=/\d\d/,de=/\d{3}/,fe=/\d{4}/,me=/[+-]?\d{6}/,r=/\d\d?/,ge=/\d\d\d\d?/,pe=/\d\d\d\d\d\d?/,ye=/\d{1,3}/,_e=/\d{1,4}/,be=/[+-]?\d{1,6}/,ve=/\d+/,we=/[+-]?\d+/,Se=/Z|[+-]\d\d:?\d\d/gi,Ee=/Z|[+-]\d\d(?::?\d\d)?/gi,i=/[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,d=/^[1-9]\d?/,f=/^([1-9]\d|\d)/;function y(e,r,n){Me[e]=u(r)?r:function(e,t){return e&&n?n:r}}function Te(e,t){return g(Me,e)?Me[e](t._strict,t._locale):new RegExp(_(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})))}function _(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?b(e):t}var Me={},De={};function w(e,r){var t,n,i=r;for("string"==typeof e&&(e=[e]),U(r)&&(i=function(e,t){t[r]=v(e)}),n=e.length,t=0;t<n;t++)De[e[t]]=i}function Be(e,i){w(e,function(e,t,r,n){r._w=r._w||{},i(e,r._w,r,n)})}function Ne(e){return e%4==0&&e%100!=0||e%400==0}var S=0,E=1,T=2,M=3,D=4,B=5,ke=6,Oe=7,Pe=8;function Ce(e){return Ne(e)?366:365}n("Y",0,0,function(){var e=this.year();return e<=9999?s(e,4):"+"+e}),n(0,["YY",2],0,function(){return this.year()%100}),n(0,["YYYY",4],0,"year"),n(0,["YYYYY",5],0,"year"),n(0,["YYYYYY",6,!0],0,"year"),y("Y",we),y("YY",r,t),y("YYYY",_e,fe),y("YYYYY",be,me),y("YYYYYY",be,me),w(["YYYYY","YYYYYY"],S),w("YYYY",function(e,t){t[S]=2===e.length?m.parseTwoDigitYear(e):v(e)}),w("YY",function(e,t){t[S]=m.parseTwoDigitYear(e)}),w("Y",function(e,t){t[S]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return v(e)+(68<v(e)?1900:2e3)};var N,He=Le("FullYear",!0);function Le(t,r){return function(e){return null!=e?(Ie(this,t,e),m.updateOffset(this,r),this):xe(this,t)}}function xe(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Ie(e,t,r){var n,i,s;if(e.isValid()&&!isNaN(r)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return i?n.setUTCMilliseconds(r):n.setMilliseconds(r);case"Seconds":return i?n.setUTCSeconds(r):n.setSeconds(r);case"Minutes":return i?n.setUTCMinutes(r):n.setMinutes(r);case"Hours":return i?n.setUTCHours(r):n.setHours(r);case"Date":return i?n.setUTCDate(r):n.setDate(r);case"FullYear":break;default:return}t=r,s=e.month(),e=29!==(e=e.date())||1!==s||Ne(t)?e:28,i?n.setUTCFullYear(t,s,e):n.setFullYear(t,s,e)}}function Ae(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,e+=(t-r)/12,1==r?Ne(e)?29:28:31-r%7%2)}N=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},n("M",["MM",2],"Mo",function(){return this.month()+1}),n("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),n("MMMM",0,0,function(e){return this.localeData().months(this,e)}),y("M",r,d),y("MM",r,t),y("MMM",function(e,t){return t.monthsShortRegex(e)}),y("MMMM",function(e,t){return t.monthsRegex(e)}),w(["M","MM"],function(e,t){t[E]=v(e)-1}),w(["MMM","MMMM"],function(e,t,r,n){n=r._locale.monthsParse(e,n,r._strict);null!=n?t[E]=n:p(r).invalidMonth=e});var Ye="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ue="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Re=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=i,Ge=i;function $e(e,t){if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=v(t);else if(!U(t=e.localeData().monthsParse(t)))return;var r=(r=e.date())<29?r:Math.min(r,Ae(e.year(),t));e._isUTC?e._d.setUTCMonth(t,r):e._d.setMonth(t,r)}}function We(e){return null!=e?($e(this,e),m.updateOffset(this,!0),this):xe(this,"Month")}function je(){function e(e,t){return t.length-e.length}for(var t,r,n=[],i=[],s=[],a=0;a<12;a++)r=h([2e3,a]),t=_(this.monthsShort(r,"")),r=_(this.months(r,"")),n.push(t),i.push(r),s.push(r),s.push(t);n.sort(e),i.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ve(e,t,r,n,i,s,a){var o;return e<100&&0<=e?(o=new Date(e+400,t,r,n,i,s,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,r,n,i,s,a),o}function ze(e){var t;return e<100&&0<=e?((t=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,t)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ze(e,t,r){r=7+t-r;return-(7+ze(e,0,r).getUTCDay()-t)%7+r-1}function Xe(e,t,r,n,i){var s,t=1+7*(t-1)+(7+r-n)%7+Ze(e,n,i),r=t<=0?Ce(s=e-1)+t:t>Ce(e)?(s=e+1,t-Ce(e)):(s=e,t);return{year:s,dayOfYear:r}}function Ke(e,t,r){var n,i,s=Ze(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?n=s+k(i=e.year()-1,t,r):s>k(e.year(),t,r)?(n=s-k(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function k(e,t,r){var n=Ze(e,t,r),t=Ze(e+1,t,r);return(Ce(e)-n+t)/7}function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),y("w",r,d),y("ww",r,t),y("W",r,d),y("WW",r,t),Be(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=v(e)}),n("d",0,"do","day"),n("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),n("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),n("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),n("e",0,0,"weekday"),n("E",0,0,"isoWeekday"),y("d",r),y("e",r),y("E",r),y("dd",function(e,t){return t.weekdaysMinRegex(e)}),y("ddd",function(e,t){return t.weekdaysShortRegex(e)}),y("dddd",function(e,t){return t.weekdaysRegex(e)}),Be(["dd","ddd","dddd"],function(e,t,r,n){n=r._locale.weekdaysParse(e,n,r._strict);null!=n?t.d=n:p(r).invalidWeekday=e}),Be(["d","e","E"],function(e,t,r,n){t[n]=v(e)});var Je="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),tt=i,rt=i,nt=i;function it(){function e(e,t){return t.length-e.length}for(var t,r,n,i=[],s=[],a=[],o=[],l=0;l<7;l++)n=h([2e3,1]).day(l),t=_(this.weekdaysMin(n,"")),r=_(this.weekdaysShort(n,"")),n=_(this.weekdays(n,"")),i.push(t),s.push(r),a.push(n),o.push(t),o.push(r),o.push(n);i.sort(e),s.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function st(){return this.hours()%12||12}function at(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function ot(e,t){return t._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,st),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+st.apply(this)+s(this.minutes(),2)}),n("hmmss",0,0,function(){return""+st.apply(this)+s(this.minutes(),2)+s(this.seconds(),2)}),n("Hmm",0,0,function(){return""+this.hours()+s(this.minutes(),2)}),n("Hmmss",0,0,function(){return""+this.hours()+s(this.minutes(),2)+s(this.seconds(),2)}),at("a",!0),at("A",!1),y("a",ot),y("A",ot),y("H",r,f),y("h",r,d),y("k",r,d),y("HH",r,t),y("hh",r,t),y("kk",r,t),y("hmm",ge),y("hmmss",pe),y("Hmm",ge),y("Hmmss",pe),w(["H","HH"],M),w(["k","kk"],function(e,t,r){e=v(e);t[M]=24===e?0:e}),w(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),w(["h","hh"],function(e,t,r){t[M]=v(e),p(r).bigHour=!0}),w("hmm",function(e,t,r){var n=e.length-2;t[M]=v(e.substr(0,n)),t[D]=v(e.substr(n)),p(r).bigHour=!0}),w("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[M]=v(e.substr(0,n)),t[D]=v(e.substr(n,2)),t[B]=v(e.substr(i)),p(r).bigHour=!0}),w("Hmm",function(e,t,r){var n=e.length-2;t[M]=v(e.substr(0,n)),t[D]=v(e.substr(n))}),w("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[M]=v(e.substr(0,n)),t[D]=v(e.substr(n,2)),t[B]=v(e.substr(i))}),i=Le("Hours",!0);var lt,ht={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{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"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{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"},months:Ye,monthsShort:Ue,week:{dow:0,doy:6},weekdays:Je,weekdaysMin:et,weekdaysShort:Qe,meridiemParse:/[ap]\.?m?\.?/i},O={},ut={};function ct(e){return e&&e.toLowerCase().replace("_","-")}function dt(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=ct(e[s]).split("-")).length,r=(r=ct(e[s+1]))?r.split("-"):null;0<t;){if(n=ft(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&((e,t)=>{for(var r=Math.min(e.length,t.length),n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r})(i,r)>=t-1)break;t--}s++}return lt}function ft(t){var e,r;if(void 0===O[t]&&Or&&Or.exports&&(r=t)&&r.match("^[^/\\\\]*$"))try{e=lt._abbr,kr(),mt(e)}catch(e){O[t]=null}return O[t]}function mt(e,t){return e&&((t=o(t)?P(e):gt(e,t))?lt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function gt(e,t){if(null===t)return delete O[e],null;var r,n=ht;if(t.abbr=e,null!=O[e])J("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."),n=O[e]._config;else if(null!=t.parentLocale)if(null!=O[t.parentLocale])n=O[t.parentLocale]._config;else{if(null==(r=ft(t.parentLocale)))return ut[t.parentLocale]||(ut[t.parentLocale]=[]),ut[t.parentLocale].push({name:e,config:t}),null;n=r._config}return O[e]=new ee(Q(n,t)),ut[e]&&ut[e].forEach(function(e){gt(e.name,e.config)}),mt(e),O[e]}function P(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return lt;if(!a(e)){if(t=ft(e))return t;e=[e]}return dt(e)}function pt(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[E]<0||11<t[E]?E:t[T]<1||t[T]>Ae(t[S],t[E])?T:t[M]<0||24<t[M]||24===t[M]&&(0!==t[D]||0!==t[B]||0!==t[ke])?M:t[D]<0||59<t[D]?D:t[B]<0||59<t[B]?B:t[ke]<0||999<t[ke]?ke:-1,p(e)._overflowDayOfYear&&(t<S||T<t)&&(t=T),p(e)._overflowWeeks&&-1===t&&(t=Oe),p(e)._overflowWeekday&&-1===t&&(t=Pe),p(e).overflow=t),e}var yt=/^\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)?)?$/,_t=/^\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)?)?$/,bt=/Z|[+-]\d\d(?::?\d\d)?/,vt=[["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]],wt=[["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/]],St=/^\/?Date\((-?\d+)/i,Et=/^(?:(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}))$/,Tt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mt(e){var t,r,n,i,s,a,o=e._i,l=yt.exec(o)||_t.exec(o),o=vt.length,h=wt.length;if(l){for(p(e).iso=!0,t=0,r=o;t<r;t++)if(vt[t][1].exec(l[1])){i=vt[t][0],n=!1!==vt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,r=h;t<r;t++)if(wt[t][1].exec(l[3])){s=(l[2]||" ")+wt[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!bt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=i+(s||"")+(a||""),Ot(e)}else e._isValid=!1}function Dt(e,t,r,n,i,s){e=[(e=>(e=parseInt(e,10))<=49?2e3+e:e<=999?1900+e:e)(e),Ue.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&e.push(parseInt(s,10)),e}function Bt(e){var t,r,n,i,s=Et.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Dt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],n=t,i=e,r&&Qe.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(r=s[8],n=s[9],i=s[10],r?Tt[r]:n?0:((r=parseInt(i,10))-(n=r%100))/100*60+n),e._d=ze.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Nt(e,t,r){return null!=e?e:null!=t?t:r}function kt(e){var t,r,n,i,s,a,o,l,h,u,c,d=[];if(!e._d){for(u=e,c=new Date(m.now()),r=u._useUTC?[c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()]:[c.getFullYear(),c.getMonth(),c.getDate()],e._w&&null==e._a[T]&&null==e._a[E]&&(null!=(c=(u=e)._w).GG||null!=c.W||null!=c.E?(a=1,o=4,n=Nt(c.GG,u._a[S],Ke(C(),1,4).year),i=Nt(c.W,1),((s=Nt(c.E,1))<1||7<s)&&(l=!0)):(a=u._locale._week.dow,o=u._locale._week.doy,h=Ke(C(),a,o),n=Nt(c.gg,u._a[S],h.year),i=Nt(c.w,h.week),null!=c.d?((s=c.d)<0||6<s)&&(l=!0):null!=c.e?(s=c.e+a,(c.e<0||6<c.e)&&(l=!0)):s=a),i<1||i>k(n,a,o)?p(u)._overflowWeeks=!0:null!=l?p(u)._overflowWeekday=!0:(h=Xe(n,i,s,a,o),u._a[S]=h.year,u._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(c=Nt(e._a[S],r[S]),(e._dayOfYear>Ce(c)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),l=ze(c,0,e._dayOfYear),e._a[E]=l.getUTCMonth(),e._a[T]=l.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=d[t]=r[t];for(;t<7;t++)e._a[t]=d[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[M]&&0===e._a[D]&&0===e._a[B]&&0===e._a[ke]&&(e._nextDay=!0,e._a[M]=0),e._d=(e._useUTC?ze:Ve).apply(null,d),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[M]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(p(e).weekdayMismatch=!0)}}function Ot(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,r,n,i=""+e._i,s=i.length,a=0,o=(r=oe(e._f,e._locale).match(re)||[]).length,l=0;l<o;l++)n=r[l],(t=(i.match(Te(n,e))||[])[0])&&(0<(c=i.substr(0,i.indexOf(t))).length&&p(e).unusedInput.push(c),i=i.slice(i.indexOf(t)+t.length),a+=t.length),se[n]?(t?p(e).empty=!1:p(e).unusedTokens.push(n),c=n,f=e,null!=(d=t)&&g(De,c)&&De[c](d,f._a,f,c)):e._strict&&!t&&p(e).unusedTokens.push(n);p(e).charsLeftOver=s-a,0<i.length&&p(e).unusedInput.push(i),e._a[M]<=12&&!0===p(e).bigHour&&0<e._a[M]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[M]=(s=e._locale,h=e._a[M],null==(u=e._meridiem)?h:null!=s.meridiemHour?s.meridiemHour(h,u):null!=s.isPM?((s=s.isPM(u))&&h<12&&(h+=12),h=s||12!==h?h:0):h),null!==(u=p(e).era)&&(e._a[S]=e._locale.erasConvertYear(u,e._a[S])),kt(e),pt(e)}else Bt(e);else Mt(e);var h,u,c,d,f}function Pt(e){var t,r=e._i,n=e._f;{var i,s;return(e._locale=e._locale||P(e._l),null===r||void 0===n&&""===r)?W({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(pt(r)):(R(r)?e._d=r:a(n)?(e=>{var t,r,n,i,s,a,o=!1,l=e._f.length;if(0===l)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<l;i++)s=0,a=!1,t=Z({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],Ot(t),$(t)&&(a=!0),s=(s+=p(t).charsLeftOver)+10*p(t).unusedTokens.length,p(t).score=s,o?s<n&&(n=s,r=t):(null==n||s<n||a)&&(n=s,r=t,a)&&(o=!0);G(e,r||t)})(e):n?Ot(e):o(n=(r=e)._i)?r._d=new Date(m.now()):R(n)?r._d=new Date(n.valueOf()):"string"==typeof n?(i=r,null===(s=St.exec(i._i))?(Mt(i),!1===i._isValid&&(delete i._isValid,Bt(i),!1===i._isValid)&&(delete i._isValid,i._strict?i._isValid=!1:m.createFromInputFallback(i))):i._d=new Date(+s[1])):a(n)?(r._a=F(n.slice(0),function(e){return parseInt(e,10)}),kt(r)):A(n)?(i=r)._d||(t=void 0===(s=he(i._i)).day?s.date:s.day,i._a=F([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),kt(i)):U(n)?r._d=new Date(n):m.createFromInputFallback(r),$(e)||(e._d=null),e))}}function Ct(e,t,r,n,i){var s={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==r&&!1!==r||(n=r,r=void 0),(A(e)&&Y(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,(i=new X(pt(Pt(i=s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function C(e,t,r,n){return Ct(e,t,r,n,!1)}function Ht(e,t){var r,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return C();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}m.createFromInputFallback=e("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":""))}),m.ISO_8601=function(){},m.RFC_2822=function(){},ge=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=C.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),pe=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=C.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});var Lt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function xt(e){var e=he(e),t=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=(e=>{var t,r,n=!1,i=Lt.length;for(t in e)if(g(e,t)&&(-1===N.call(Lt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[Lt[r]]){if(n)return!1;parseFloat(e[Lt[r]])!==v(e[Lt[r]])&&(n=!0)}return!0})(e),this._milliseconds=+h+1e3*l+6e4*o+1e3*a*60*60,this._days=+s+7*i,this._months=+n+3*r+12*t,this._data={},this._locale=P(),this._bubble()}function It(e){return e instanceof xt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Yt(e,r){n(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+s(~~(e/60),2)+r+s(~~e%60,2)})}Yt("Z",":"),Yt("ZZ",""),y("Z",Ee),y("ZZ",Ee),w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rt(Ee,e)});var Ut=/([\+\-]|\d\d)/gi;function Rt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(Ut)||["-",0,0])[1]+v(e[2]))?0:"+"===e[0]?t:-t}function Ft(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||R(e)?e:C(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):C(e).local()}function Gt(e){return-Math.round(e._d.getTimezoneOffset())}function $t(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Wt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function H(e,t){var r,n,i=e;return It(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:U(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=Wt.exec(e))?(r="-"===t[1]?-1:1,i={y:0,d:v(t[T])*r,h:v(t[M])*r,m:v(t[D])*r,s:v(t[B])*r,ms:v(At(1e3*t[ke]))*r}):(t=jt.exec(e))?(r="-"===t[1]?-1:1,i={y:Vt(t[2],r),M:Vt(t[3],r),w:Vt(t[4],r),d:Vt(t[5],r),h:Vt(t[6],r),m:Vt(t[7],r),s:Vt(t[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=C(i.from),r=C(i.to),t=t.isValid()&&r.isValid()?(r=Ft(r,t),t.isBefore(r)?n=zt(t,r):((n=zt(r,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),n=new xt(i),It(e)&&g(e,"_locale")&&(n._locale=e._locale),It(e)&&g(e,"_isValid")&&(n._isValid=e._isValid),n}function Vt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function zt(e,t){var r={};return r.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Zt(n,i){return function(e,t){var r;return null===t||isNaN(+t)||(J(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=e,e=t,t=r),Xt(this,H(e,t),n),this}}function Xt(e,t,r,n){var i=t._milliseconds,s=At(t._days),t=At(t._months);e.isValid()&&(n=null==n||n,t&&$e(e,xe(e,"Month")+t*r),s&&Ie(e,"Date",xe(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n)&&m.updateOffset(e,s||t)}function Kt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||R(e)||Kt(e)||U(e)||(r=a(t=e),n=!1,r&&(n=0===t.filter(function(e){return!U(e)&&Kt(t)}).length),r&&n)||(e=>{var t,r,n=A(e)&&!Y(e),i=!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=s.length;for(t=0;t<a;t+=1)r=s[t],i=i||g(e,r);return n&&i})(e)||null==e;var t,r,n}function Jt(e,t){var r,n;return e.date()<t.date()?-Jt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(n=e.clone().add(r,"months"))<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function Qt(e){return void 0===e?this._locale._abbr:(null!=(e=P(e))&&(this._locale=e),this)}function er(){return this._locale}H.fn=xt.prototype,H.invalid=function(){return H(NaN)},Ye=Zt(1,"add"),Je=Zt(-1,"subtract"),m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]",et=e("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});var tr=126227808e5;function rr(e,t){return(e%t+t)%t}function nr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-tr:new Date(e,t,r).valueOf()}function ir(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-tr:Date.UTC(e,t,r)}function sr(e,t){return t.erasAbbrRegex(e)}function ar(){for(var e,t,r,n=[],i=[],s=[],a=[],o=this.eras(),l=0,h=o.length;l<h;++l)e=_(o[l].name),t=_(o[l].abbr),r=_(o[l].narrow),i.push(e),n.push(t),s.push(r),a.push(e),a.push(t),a.push(r);this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function or(e,t){n(0,[e,e.length],0,t)}function lr(e,t,r,n,i){var s;return null==e?Ke(this,n,i).year:(t>(s=k(e,n,i))&&(t=s),function(e,t,r,n,i){e=Xe(e,t,r,n,i),t=ze(e.year,0,e.dayOfYear);return this.year(t.getUTCFullYear()),this.month(t.getUTCMonth()),this.date(t.getUTCDate()),this}.call(this,e,t,r,n,i))}n("N",0,0,"eraAbbr"),n("NN",0,0,"eraAbbr"),n("NNN",0,0,"eraAbbr"),n("NNNN",0,0,"eraName"),n("NNNNN",0,0,"eraNarrow"),n("y",["y",1],"yo","eraYear"),n("y",["yy",2],0,"eraYear"),n("y",["yyy",3],0,"eraYear"),n("y",["yyyy",4],0,"eraYear"),y("N",sr),y("NN",sr),y("NNN",sr),y("NNNN",function(e,t){return t.erasNameRegex(e)}),y("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),w(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){n=r._locale.erasParse(e,n,r._strict);n?p(r).era=n:p(r).invalidEra=e}),y("y",ve),y("yy",ve),y("yyy",ve),y("yyyy",ve),y("yo",function(e,t){return t._eraYearOrdinalRegex||ve}),w(["y","yy","yyy","yyyy"],S),w(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[S]=r._locale.eraYearOrdinalParse(e,i):t[S]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),or("gggg","weekYear"),or("ggggg","weekYear"),or("GGGG","isoWeekYear"),or("GGGGG","isoWeekYear"),y("G",we),y("g",we),y("GG",r,t),y("gg",r,t),y("GGGG",_e,fe),y("gggg",_e,fe),y("GGGGG",be,me),y("ggggg",be,me),Be(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=v(e)}),Be(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),y("Q",ce),w("Q",function(e,t){t[E]=3*(v(e)-1)}),n("D",["DD",2],"Do","date"),y("D",r,d),y("DD",r,t),y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),w(["D","DD"],T),w("Do",function(e,t){t[T]=v(e.match(r)[0])}),_e=Le("Date",!0),n("DDD",["DDDD",3],"DDDo","dayOfYear"),y("DDD",ye),y("DDDD",de),w(["DDD","DDDD"],function(e,t,r){r._dayOfYear=v(e)}),n("m",["mm",2],0,"minute"),y("m",r,f),y("mm",r,t),w(["m","mm"],D),fe=Le("Minutes",!1),n("s",["ss",2],0,"second"),y("s",r,f),y("ss",r,t),w(["s","ss"],B);var hr,be=Le("Seconds",!1);for(n("S",0,0,function(){return~~(this.millisecond()/100)}),n(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),n(0,["SSS",3],0,"millisecond"),n(0,["SSSS",4],0,function(){return 10*this.millisecond()}),n(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),n(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),n(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),n(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),n(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),y("S",ye,ce),y("SS",ye,t),y("SSS",ye,de),hr="SSSS";hr.length<=9;hr+="S")y(hr,ve);function ur(e,t){t[ke]=v(1e3*("0."+e))}for(hr="S";hr.length<=9;hr+="S")w(hr,ur);function cr(e){return e}function dr(e,t,r,n){var i=P(),n=h().set(n,t);return i[r](n,e)}function fr(e,t,r){if(U(e)&&(t=e,e=void 0),e=e||"",null!=t)return dr(e,t,r,"month");for(var n=[],i=0;i<12;i++)n[i]=dr(e,i,r,"month");return n}function mr(e,t,r,n){t=("boolean"==typeof e||(r=t=e,e=!1),U(t)&&(r=t,t=void 0),t||"");var i,s=P(),a=e?s._week.dow:0,o=[];if(null!=r)return dr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=dr(t,(i+a)%7,n,"day");return o}me=Le("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName"),(d=X.prototype).add=Ye,d.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):(e=>{for(var t=A(e)&&!Y(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<n.length;i+=1)r=r||g(e,n[i]);return t&&r})(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||C(),r=Ft(e,this).startOf("day"),r=m.calendarFormat(this,r)||"sameElse",t=t&&(u(t[r])?t[r].call(this,e):t[r]);return this.format(t||this.localeData().calendar(r,this,C(e)))},d.clone=function(){return new X(this)},d.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=Ft(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=c(t)){case"year":s=Jt(this,n)/12;break;case"month":s=Jt(this,n);break;case"quarter":s=Jt(this,n)/3;break;case"second":s=(this-n)/1e3;break;case"minute":s=(this-n)/6e4;break;case"hour":s=(this-n)/36e5;break;case"day":s=(this-n-i)/864e5;break;case"week":s=(this-n-i)/6048e5;break;default:s=this-n}return r?s:b(s)},d.endOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:nr,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+=36e5-rr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-rr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-rr(t,1e3)-1}this._d.setTime(t),m.updateOffset(this,!0)}return this},d.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},d.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||C(e).isValid())?H({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.fromNow=function(e){return this.from(C(),e)},d.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||C(e).isValid())?H({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},d.toNow=function(e){return this.to(C(),e)},d.get=function(e){return u(this[e=c(e)])?this[e]():this},d.invalidAt=function(){return p(this).overflow},d.isAfter=function(e,t){return e=l(e)?e:C(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},d.isBefore=function(e,t){return e=l(e)?e:C(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},d.isBetween=function(e,t,r,n){return e=l(e)?e:C(e),t=l(t)?t:C(t),!!(this.isValid()&&e.isValid()&&t.isValid())&&("("===(n=n||"()")[0]?this.isAfter(e,r):!this.isBefore(e,r))&&(")"===n[1]?this.isBefore(t,r):!this.isAfter(t,r))},d.isSame=function(e,t){var e=l(e)?e:C(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},d.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},d.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},d.isValid=function(){return $(this)},d.lang=et,d.locale=Qt,d.localeData=er,d.max=pe,d.min=ge,d.parsingFlags=function(){return G({},p(this))},d.set=function(e,t){if("object"==typeof e)for(var r=(e=>{var t,r=[];for(t in e)g(e,t)&&r.push({unit:t,priority:ue[t]});return r.sort(function(e,t){return e.priority-t.priority}),r})(e=he(e)),n=r.length,i=0;i<n;i++)this[r[i].unit](e[r[i].unit]);else if(u(this[e=c(e)]))return this[e](t);return this},d.startOf=function(e){var t,r;if(void 0!==(e=c(e))&&"millisecond"!==e&&this.isValid()){switch(r=this._isUTC?ir:nr,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-=rr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=rr(t,6e4);break;case"second":t=this._d.valueOf(),t-=rr(t,1e3)}this._d.setTime(t),m.updateOffset(this,!0)}return this},d.subtract=Je,d.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},d.toObject=function(){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()}},d.toDate=function(){return new Date(this.valueOf())},d.toISOString=function(e){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},d.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(d[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},d.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},d.eraName=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].name;if(t[r].until<=e&&e<=t[r].since)return t[r].name}return""},d.eraNarrow=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].narrow;if(t[r].until<=e&&e<=t[r].since)return t[r].narrow}return""},d.eraAbbr=function(){for(var e,t=this.localeData().eras(),r=0,n=t.length;r<n;++r){if(e=this.clone().startOf("day").valueOf(),t[r].since<=e&&e<=t[r].until)return t[r].abbr;if(t[r].until<=e&&e<=t[r].since)return t[r].abbr}return""},d.eraYear=function(){for(var e,t,r=this.localeData().eras(),n=0,i=r.length;n<i;++n)if(e=r[n].since<=r[n].until?1:-1,t=this.clone().startOf("day").valueOf(),r[n].since<=t&&t<=r[n].until||r[n].until<=t&&t<=r[n].since)return(this.year()-m(r[n].since).year())*e+r[n].offset;return this.year()},d.year=He,d.isLeapYear=function(){return Ne(this.year())},d.weekYear=function(e){return lr.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)},d.isoWeekYear=function(e){return lr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},d.quarter=d.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},d.month=We,d.daysInMonth=function(){return Ae(this.year(),this.month())},d.week=d.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},d.isoWeek=d.isoWeeks=function(e){var t=Ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},d.weeksInYear=function(){var e=this.localeData()._week;return k(this.year(),e.dow,e.doy)},d.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},d.isoWeeksInYear=function(){return k(this.year(),1,4)},d.isoWeeksInISOWeekYear=function(){return k(this.isoWeekYear(),1,4)},d.date=_e,d.day=d.days=function(e){var t,r,n;return this.isValid()?(t=xe(this,"Day"),null!=e?(r=e,n=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=n.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},d.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},d.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},d.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},d.hour=d.hours=i,d.minute=d.minutes=fe,d.second=d.seconds=be,d.millisecond=d.milliseconds=me,d.utcOffset=function(e,t,r){var n,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?i:Gt(this);if("string"==typeof e){if(null===(e=Rt(Ee,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=Gt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Xt(this,H(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},d.utc=function(e){return this.utcOffset(0,e)},d.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e)&&this.subtract(Gt(this),"m"),this},d.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Se,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},d.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?C(e).utcOffset():0,(this.utcOffset()-e)%60==0)},d.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},d.isLocal=function(){return!!this.isValid()&&!this._isUTC},d.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},d.isUtc=$t,d.isUTC=$t,d.zoneAbbr=function(){return this._isUTC?"UTC":""},d.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},d.dates=e("dates accessor is deprecated. Use date instead.",_e),d.months=e("months accessor is deprecated. Use month instead",We),d.years=e("years accessor is deprecated. Use year instead",He),d.zone=e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?(this.utcOffset(e="string"!=typeof e?-e:e,t),this):-this.utcOffset()}),d.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var e,t;return o(this._isDSTShifted)&&(Z(t={},this),(t=Pt(t))._a?(e=(t._isUTC?h:C)(t._a),this._isDSTShifted=this.isValid()&&0<((e,t,r)=>{for(var n=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),s=0,a=0;a<n;a++)(r&&e[a]!==t[a]||!r&&v(e[a])!==v(t[a]))&&s++;return s+i})(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted}),(f=ee.prototype).calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},f.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(re).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},f.invalidDate=function(){return this._invalidDate},f.ordinal=function(e){return this._ordinal.replace("%d",e)},f.preparse=cr,f.postformat=cr,f.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return u(i)?i(e,t,r,n):i.replace(/%d/i,e)},f.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},f.set=function(e){var t,r;for(r in e)g(e,r)&&(u(t=e[r])?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},f.eras=function(e,t){for(var r,n=this._eras||P("en")._eras,i=0,s=n.length;i<s;++i)switch("string"==typeof n[i].since&&(r=m(n[i].since).startOf("day"),n[i].since=r.valueOf()),typeof n[i].until){case"undefined":n[i].until=1/0;break;case"string":r=m(n[i].until).startOf("day").valueOf(),n[i].until=r.valueOf()}return n},f.erasParse=function(e,t,r){var n,i,s,a,o,l=this.eras();for(e=e.toUpperCase(),n=0,i=l.length;n<i;++n)if(s=l[n].name.toUpperCase(),a=l[n].abbr.toUpperCase(),o=l[n].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[n];break;case"NNNN":if(s===e)return l[n];break;case"NNNNN":if(o===e)return l[n]}else if(0<=[s,a,o].indexOf(e))return l[n]},f.erasConvertYear=function(e,t){var r=e.since<=e.until?1:-1;return void 0===t?m(e.since).year():m(e.since).year()+(t-e.offset)*r},f.erasAbbrRegex=function(e){return g(this,"_erasAbbrRegex")||ar.call(this),e?this._erasAbbrRegex:this._erasRegex},f.erasNameRegex=function(e){return g(this,"_erasNameRegex")||ar.call(this),e?this._erasNameRegex:this._erasRegex},f.erasNarrowRegex=function(e){return g(this,"_erasNarrowRegex")||ar.call(this),e?this._erasNarrowRegex:this._erasRegex},f.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Re).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},f.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Re.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},f.monthsParse=function(e,t,r){var n,i;if(this._monthsParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)s=h([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(s,"").toLocaleLowerCase();return r?"MMM"===t?-1!==(i=N.call(this._shortMonthsParse,e))?i:null:-1!==(i=N.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=N.call(this._shortMonthsParse,e))||-1!==(i=N.call(this._longMonthsParse,e))?i:null:-1!==(i=N.call(this._longMonthsParse,e))||-1!==(i=N.call(this._shortMonthsParse,e))?i:null}.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(i=h([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),r||this._monthsParse[n]||(i="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(r&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!r&&this._monthsParse[n].test(e))return n}},f.monthsRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):(g(this,"_monthsRegex")||(this._monthsRegex=Ge),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},f.monthsShortRegex=function(e){return this._monthsParseExact?(g(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(g(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},f.week=function(e){return Ke(e,this._week.dow,this._week.doy).week},f.firstDayOfYear=function(){return this._week.doy},f.firstDayOfWeek=function(){return this._week.dow},f.weekdays=function(e,t){return t=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"],!0===e?qe(t,this._week.dow):e?t[e.day()]:t},f.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},f.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},f.weekdaysParse=function(e,t,r){var n,i;if(this._weekdaysParseExact)return function(e,t,r){var n,i,s,e=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)s=h([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(s,"").toLocaleLowerCase();return r?"dddd"===t?-1!==(i=N.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=N.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=N.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=N.call(this._weekdaysParse,e))||-1!==(i=N.call(this._shortWeekdaysParse,e))||-1!==(i=N.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=N.call(this._shortWeekdaysParse,e))||-1!==(i=N.call(this._weekdaysParse,e))||-1!==(i=N.call(this._minWeekdaysParse,e))?i:null:-1!==(i=N.call(this._minWeekdaysParse,e))||-1!==(i=N.call(this._weekdaysParse,e))||-1!==(i=N.call(this._shortWeekdaysParse,e))?i:null}.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=h([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(r&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(r&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}},f.weekdaysRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(g(this,"_weekdaysRegex")||(this._weekdaysRegex=tt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},f.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(g(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},f.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(g(this,"_weekdaysRegex")||it.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(g(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=nt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},f.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},f.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},mt("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;return e+(1===v(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=e("moment.lang is deprecated. Use moment.locale instead.",mt),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",P);var L=Math.abs;function gr(e,t,r,n){t=H(t,r);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function pr(e){return e<0?Math.floor(e):Math.ceil(e)}function yr(e){return 4800*e/146097}function _r(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}function vr(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=br("ms"),t=br("s"),ye=br("m"),de=br("h"),Ye=br("d"),pe=br("w"),ge=br("M"),Je=br("Q"),i=br("y"),fe=ce;var be=vr("milliseconds"),me=vr("seconds"),_e=vr("minutes"),He=vr("hours"),f=vr("days"),wr=vr("months"),Sr=vr("years"),Er=Math.round,Tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Mr(e,t,r,n){var i=H(e).abs(),s=Er(i.as("s")),a=Er(i.as("m")),o=Er(i.as("h")),l=Er(i.as("d")),h=Er(i.as("M")),u=Er(i.as("w")),i=Er(i.as("y")),s=(s<=r.ss?["s",s]:s<r.s&&["ss",s])||(a<=1?["m"]:a<r.m&&["mm",a])||(o<=1?["h"]:o<r.h&&["hh",o])||(l<=1?["d"]:l<r.d&&["dd",l]);return(s=(s=null!=r.w?s||(u<=1?["w"]:u<r.w&&["ww",u]):s)||(h<=1?["M"]:h<r.M&&["MM",h])||(i<=1?["y"]:["yy",i]))[2]=t,s[3]=0<+e,s[4]=n,function(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}.apply(null,s)}var Dr=Math.abs;function Br(e){return(0<e)-(e<0)||+e}function Nr(){var e,t,r,n,i,s,a,o,l,h,u;return this.isValid()?(o=Dr(this._milliseconds)/1e3,l=Dr(this._days),h=Dr(this._months),(u=this.asSeconds())?(e=b(o/60),t=b(e/60),o%=60,e%=60,r=b(h/12),h%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Br(this._months)!==Br(u)?"-":"",s=Br(this._days)!==Br(u)?"-":"",a=Br(this._milliseconds)!==Br(u)?"-":"",(u<0?"-":"")+"P"+(r?i+r+"Y":"")+(h?i+h+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+n+"S":"")):"P0D"):this.localeData().invalidDate()}var x=xt.prototype;return x.isValid=function(){return this._isValid},x.abs=function(){var e=this._data;return this._milliseconds=L(this._milliseconds),this._days=L(this._days),this._months=L(this._months),e.milliseconds=L(e.milliseconds),e.seconds=L(e.seconds),e.minutes=L(e.minutes),e.hours=L(e.hours),e.months=L(e.months),e.years=L(e.years),this},x.add=function(e,t){return gr(this,e,t,1)},x.subtract=function(e,t){return gr(this,e,t,-1)},x.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=c(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+yr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(_r(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}},x.asMilliseconds=ce,x.asSeconds=t,x.asMinutes=ye,x.asHours=de,x.asDays=Ye,x.asWeeks=pe,x.asMonths=ge,x.asQuarters=Je,x.asYears=i,x.valueOf=fe,x._bubble=function(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data;return 0<=e&&0<=t&&0<=r||e<=0&&t<=0&&r<=0||(e+=864e5*pr(_r(r)+t),r=t=0),n.milliseconds=e%1e3,e=b(e/1e3),n.seconds=e%60,e=b(e/60),n.minutes=e%60,e=b(e/60),n.hours=e%24,t+=b(e/24),r+=e=b(yr(t)),t-=pr(_r(e)),e=b(r/12),r%=12,n.days=t,n.months=r,n.years=e,this},x.clone=function(){return H(this)},x.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},x.milliseconds=be,x.seconds=me,x.minutes=_e,x.hours=He,x.days=f,x.weeks=function(){return b(this.days()/7)},x.months=wr,x.years=Sr,x.humanize=function(e,t){var r,n;return this.isValid()?(r=!1,n=Tr,"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(n=Object.assign({},Tr,t),null!=t.s)&&null==t.ss&&(n.ss=t.s-1),t=Mr(this,!r,n,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)):this.localeData().invalidDate()},x.toISOString=Nr,x.toString=Nr,x.toJSON=Nr,x.locale=Qt,x.localeData=er,x.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Nr),x.lang=et,n("X",0,0,"unix"),n("x",0,0,"valueOf"),y("x",we),y("X",/[+-]?\d+(\.\d{1,3})?/),w("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),w("x",function(e,t,r){r._d=new Date(v(e))}),m.version="2.30.1",I=C,m.fn=d,m.min=function(){return Ht("isBefore",[].slice.call(arguments,0))},m.max=function(){return Ht("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return C(1e3*e)},m.months=function(e,t){return fr(e,t,"months")},m.isDate=R,m.locale=mt,m.invalid=W,m.duration=H,m.isMoment=l,m.weekdays=function(e,t,r){return mr(e,t,r,"weekdays")},m.parseZone=function(){return C.apply(null,arguments).parseZone()},m.localeData=P,m.isDuration=It,m.monthsShort=function(e,t){return fr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return mr(e,t,r,"weekdaysMin")},m.defineLocale=gt,m.updateLocale=function(e,t){var r,n;return null!=t?(n=ht,null!=O[e]&&null!=O[e].parentLocale?O[e].set(Q(O[e]._config,t)):(t=Q(n=null!=(r=ft(e))?r._config:n,t),null==r&&(t.abbr=e),(n=new ee(t)).parentLocale=O[e],O[e]=n),mt(e)):null!=O[e]&&(null!=O[e].parentLocale?(O[e]=O[e].parentLocale,e===mt()&&mt(e)):null!=O[e]&&delete O[e]),O[e]},m.locales=function(){return te(O)},m.weekdaysShort=function(e,t,r){return mr(e,t,r,"weekdaysShort")},m.normalizeUnits=c,m.relativeTimeRounding=function(e){return void 0===e?Er:"function"==typeof e&&(Er=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Tr[e]&&(void 0===t?Tr[e]:(Tr[e]=t,"s"===e&&(Tr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(e=e.diff(t,"days",!0))<-6?"sameElse":e<-1?"lastWeek":e<0?"lastDay":e<1?"sameDay":e<2?"nextDay":e<7?"nextWeek":"sameElse"},m.prototype=d,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"},m})();var A,Or,ae=A.exports;let t=[];function Y(n,i=$){let s,a=new Set;function o(e){if(h(n,e)&&(n=e,s)){let e=!t.length;for(let e of a)e[1](),t.push(e,n);if(e){for(let e=0;e<t.length;e+=2)t[e][0](t[e+1]);t.length=0}}}return{set:o,update:function(e){o(e(n))},subscribe:function(e,t=$){let r=[e,t];return a.add(r),1===a.size&&(s=i(o)||$),e(n),()=>{a.delete(r),0===a.size&&s&&(s(),s=null)}}}}function e(e,o,t){let l=!Array.isArray(e),h=l?[e]:e,u=o.length<2;return{subscribe:Y(t,t=>{let r=!1,n=[],i=0,s=$,a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),u?t(e):s=D(e)?e:$)},e=h.map((e,t)=>re(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){W(e),s(),r=!1}}).subscribe}}function U(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===R);var t}var R="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function F(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ue(Array.isArray(e)?[]:{},e,t):e}function G(e,t,r){return e.concat(t).map(function(e){return F(e,r)})}function oe(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function le(e,t){try{return t in e}catch(e){return!1}}function he(n,i,s){var a={};return s.isMergeableObject(n)&&oe(n).forEach(function(e){a[e]=F(n[e],s)}),oe(i).forEach(function(e){var t,r;(!le(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(le(n,e)&&s.isMergeableObject(i[e])?a[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:ue)(n[e],i[e],s):a[e]=F(i[e],s))}),a}function ue(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||G,r.isMergeableObject=r.isMergeableObject||U,r.cloneUnlessOtherwiseSpecified=F;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):he(e,t,r):F(t,r)}ue.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return ue(e,t,r)},{});throw new Error("first argument should be an array")};var ce=ue,de=function(e,t){return(de=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function fe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}de(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g,y,_,b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function me(e,t,r){if(r||2===arguments.length)for(var n,i=0,s=t.length;i<s;i++)!n&&i in t||((n=n||Array.prototype.slice.call(t,0,i))[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function ge(e){return e.type===y.literal}function pe(e){return e.type===y.number}function ye(e){return e.type===y.date}function _e(e){return e.type===y.time}function be(e){return e.type===y.select}function ve(e){return e.type===y.plural}function we(e){return e.type===y.tag}function Se(e){return e&&"object"==typeof e&&e.type===_.number}function Ee(e){return e&&"object"==typeof e&&e.type===_.dateTime}(r=g=g||{})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=y=y||{})[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(r=_=_||{})[r.number=0]="number",r[r.dateTime=1]="dateTime";var r=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Te=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;var Me=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,De=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Be=/^(@+)?(\+|#+)?[rs]?$/g,Ne=/(\*)(0+)|(#+)(0+)|(0+)/g,ke=/^(0+)$/;function Oe(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(Be,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function Pe(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 Ce(e){return Pe(e)||{}}function He(e){for(var a={},t=0,r=e;t<r.length;t++){var n,i=r[t];switch(i.stem){case"percent":case"%":a.style="percent";continue;case"%x100":a.style="percent",a.scale=100;continue;case"currency":a.style="currency",a.currency=i.options[0];continue;case"group-off":case",_":a.useGrouping=!1;continue;case"precision-integer":case".":a.maximumFractionDigits=0;continue;case"measure-unit":case"unit":a.style="unit",a.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":a.notation="compact",a.compactDisplay="short";continue;case"compact-long":case"KK":a.notation="compact",a.compactDisplay="long";continue;case"scientific":a=b(b(b({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return b(b({},e),Ce(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),Ce(t))},{}));continue;case"notation-simple":a.notation="standard";continue;case"unit-width-narrow":a.currencyDisplay="narrowSymbol",a.unitDisplay="narrow";continue;case"unit-width-short":a.currencyDisplay="code",a.unitDisplay="short";continue;case"unit-width-full-name":a.currencyDisplay="name",a.unitDisplay="long";continue;case"unit-width-iso-code":a.currencyDisplay="symbol";continue;case"scale":a.scale=parseFloat(i.options[0]);continue;case"integer-width":if(1<i.options.length)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ne,function(e,t,r,n,i,s){if(t)a.minimumIntegerDigits=r.length;else{if(n&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""});continue}if(ke.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(De.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(De,function(e,t,r,n,i,s){return"*"===r?a.minimumFractionDigits=t.length:n&&"#"===n[0]?a.maximumFractionDigits=n.length:i&&s?(a.minimumFractionDigits=i.length,a.maximumFractionDigits=i.length+s.length):(a.minimumFractionDigits=t.length,a.maximumFractionDigits=t.length),""});var s=i.options[0];"w"===s?a=b(b({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=b(b({},a),Oe(s)))}else Be.test(i.stem)?a=b(b({},a),Oe(i.stem)):((s=Pe(i.stem))&&(a=b(b({},a),s)),(n=(e=>{var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ke.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t})(i.stem))&&(a=b(b({},a),n)))}return a}var Le={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};var xe=new RegExp("^".concat(r.source,"*")),Ie=new RegExp("".concat(r.source,"*$"));function v(e,t){return{start:e,end:t}}var r=!!String.prototype.startsWith,Ae=!!String.fromCodePoint,Ye=!!Object.fromEntries,Ue=!!String.prototype.codePointAt,Re=!!String.prototype.trimStart,Fe=!!String.prototype.trimEnd,Ge=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$e=!0;try{$e="a"===(null==(ht=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ht[0])}catch($){$e=!1}var We,je,Ve=r?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ze=Ae?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,s=0;s<i;){if(1114111<(r=e[s++]))throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},Ze=Ye?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];t[i[0]]=i[1]}return t},Xe=Ue?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0||n<=t))return(r=e.charCodeAt(t))<55296||56319<r||t+1===n||(n=e.charCodeAt(t+1))<56320||57343<n?r:n-56320+(r-55296<<10)+65536},Ke=Re?function(e){return e.trimStart()}:function(e){return e.replace(xe,"")},qe=Fe?function(e){return e.trimEnd()}:function(e){return e.replace(Ie,"")};function Je(e,t){return new RegExp(e,t)}je=$e?(We=Je("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return We.lastIndex=t,null!=(t=We.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=Xe(e,t);if(void 0===i||tt(i)||33<=(r=i)&&r<=35||36===r||37<=r&&r<=39||40===r||41===r||42===r||43===r||44===r||45===r||46<=r&&r<=47||58<=r&&r<=59||60<=r&&r<=62||63<=r&&r<=64||91===r||92===r||93===r||94===r||96===r||123===r||124===r||125===r||126===r||161===r||162<=r&&r<=165||166===r||167===r||169===r||171===r||172===r||174===r||176===r||177===r||182===r||187===r||191===r||215===r||247===r||8208<=r&&r<=8213||8214<=r&&r<=8215||8216===r||8217===r||8218===r||8219<=r&&r<=8220||8221===r||8222===r||8223===r||8224<=r&&r<=8231||8240<=r&&r<=8248||8249===r||8250===r||8251<=r&&r<=8254||8257<=r&&r<=8259||8260===r||8261===r||8262===r||8263<=r&&r<=8273||8274===r||8275===r||8277<=r&&r<=8286||8592<=r&&r<=8596||8597<=r&&r<=8601||8602<=r&&r<=8603||8604<=r&&r<=8607||8608===r||8609<=r&&r<=8610||8611===r||8612<=r&&r<=8613||8614===r||8615<=r&&r<=8621||8622===r||8623<=r&&r<=8653||8654<=r&&r<=8655||8656<=r&&r<=8657||8658===r||8659===r||8660===r||8661<=r&&r<=8691||8692<=r&&r<=8959||8960<=r&&r<=8967||8968===r||8969===r||8970===r||8971===r||8972<=r&&r<=8991||8992<=r&&r<=8993||8994<=r&&r<=9e3||9001===r||9002===r||9003<=r&&r<=9083||9084===r||9085<=r&&r<=9114||9115<=r&&r<=9139||9140<=r&&r<=9179||9180<=r&&r<=9185||9186<=r&&r<=9254||9255<=r&&r<=9279||9280<=r&&r<=9290||9291<=r&&r<=9311||9472<=r&&r<=9654||9655===r||9656<=r&&r<=9664||9665===r||9666<=r&&r<=9719||9720<=r&&r<=9727||9728<=r&&r<=9838||9839===r||9840<=r&&r<=10087||10088===r||10089===r||10090===r||10091===r||10092===r||10093===r||10094===r||10095===r||10096===r||10097===r||10098===r||10099===r||10100===r||10101===r||10132<=r&&r<=10175||10176<=r&&r<=10180||10181===r||10182===r||10183<=r&&r<=10213||10214===r||10215===r||10216===r||10217===r||10218===r||10219===r||10220===r||10221===r||10222===r||10223===r||10224<=r&&r<=10239||10240<=r&&r<=10495||10496<=r&&r<=10626||10627===r||10628===r||10629===r||10630===r||10631===r||10632===r||10633===r||10634===r||10635===r||10636===r||10637===r||10638===r||10639===r||10640===r||10641===r||10642===r||10643===r||10644===r||10645===r||10646===r||10647===r||10648===r||10649<=r&&r<=10711||10712===r||10713===r||10714===r||10715===r||10716<=r&&r<=10747||10748===r||10749===r||10750<=r&&r<=11007||11008<=r&&r<=11055||11056<=r&&r<=11076||11077<=r&&r<=11078||11079<=r&&r<=11084||11085<=r&&r<=11123||11124<=r&&r<=11125||11126<=r&&r<=11157||11158===r||11159<=r&&r<=11263||11776<=r&&r<=11777||11778===r||11779===r||11780===r||11781===r||11782<=r&&r<=11784||11785===r||11786===r||11787===r||11788===r||11789===r||11790<=r&&r<=11798||11799===r||11800<=r&&r<=11801||11802===r||11803===r||11804===r||11805===r||11806<=r&&r<=11807||11808===r||11809===r||11810===r||11811===r||11812===r||11813===r||11814===r||11815===r||11816===r||11817===r||11818<=r&&r<=11822||11823===r||11824<=r&&r<=11833||11834<=r&&r<=11835||11836<=r&&r<=11839||11840===r||11841===r||11842===r||11843<=r&&r<=11855||11856<=r&&r<=11857||11858===r||11859<=r&&r<=11903||12289<=r&&r<=12291||12296===r||12297===r||12298===r||12299===r||12300===r||12301===r||12302===r||12303===r||12304===r||12305===r||12306<=r&&r<=12307||12308===r||12309===r||12310===r||12311===r||12312===r||12313===r||12314===r||12315===r||12316===r||12317===r||12318<=r&&r<=12319||12320===r||12336===r||64830===r||64831===r||65093<=r&&r<=65094)break;n.push(i),t+=65536<=i?2:1}return ze.apply(void 0,n)};n.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},n.prototype.parseMessage=function(e,t,r){for(var n=[];!this.isEOF();){var i,s=this.char();if(123===s){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===s&&0<e)break;if(35!==s||"plural"!==t&&"selectordinal"!==t){if(60===s&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(g.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&et(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}else{s=this.clonePosition();this.bump(),n.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:n,err:null}},n.prototype.parseTag=function(e,t){var r,n=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!et(this.char())?this.error(g.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),i!==this.parseTagName()?this.error(g.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(g.INVALID_TAG,v(e,this.clonePosition())))):this.error(g.UNCLOSED_TAG,v(n,this.clonePosition()))):this.error(g.INVALID_TAG,v(n,this.clonePosition()))},n.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||48<=e&&e<=57||95===e||97<=e&&e<=122||65<=e&&e<=90||183==e||192<=e&&e<=214||216<=e&&e<=246||248<=e&&e<=893||895<=e&&e<=8191||8204<=e&&e<=8205||8255<=e&&e<=8256||8304<=e&&e<=8591||11264<=e&&e<=12271||12289<=e&&e<=55295||63744<=e&&e<=64975||65008<=e&&e<=65533||65536<=e&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},n.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},n.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},n.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return ze.apply(void 0,t)},n.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),ze(r))},n.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(g.EMPTY_ARGUMENT,v(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(g.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(g.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},n.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=je(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},n.prototype.parseArgumentOptions=function(e,t,r,n){var i,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(a){case"":return this.error(g.EXPECT_ARGUMENT_TYPE,v(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((c=this.parseSimpleArgStyleIfPossible()).err)return c;if(0===(d=qe(c.val)).length)return this.error(g.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:v(h,this.clonePosition())}}return(h=this.tryParseArgumentClose(n)).err?h:(f=v(n,this.clonePosition()),l&&Ve(null==l?void 0:l.style,"::",0)?(m=Ke(l.style.slice(2)),"number"===a?(c=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?c:{val:{type:y.number,value:r,location:f,style:c.val},err:null}:0===m.length?this.error(g.EXPECT_DATE_TIME_SKELETON,f):(u=m,this.locale&&(u=((e,t)=>{for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var s=0;n+1<e.length&&e.charAt(n+1)===i;)s++,n++;var a=1+(1&s),o=s<2?1:3+(s>>1),l=(e=>{var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(Le[t||""]||Le[r||""]||Le["".concat(r,"-001")]||Le["001"])[0]})(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===i?"H":i}return r})(m,this.locale)),d={type:_.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(Te,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===a?y.date:y.time,value:r,location:f,style:d},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:f,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,b({},u)));this.bumpSpace();var c,d=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(c=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return c;this.bumpSpace(),d=this.parseIdentifierIfPossible(),f=c.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,d);return l.err?l:(h=this.tryParseArgumentClose(n)).err?h:(m=v(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:Ze(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:Ze(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(g.INVALID_ARGUMENT_TYPE,v(s,o))}},n.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},n.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},n.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=(e=>{if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(Me).filter(function(e){return 0<e.length});r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var s=i[0],i=i.slice(1),a=0,o=i;a<o.length;a++)if(0===o[a].length)throw new Error("Invalid number skeleton");t.push({stem:s,options:i})}return t})(e)}catch(e){return this.error(g.INVALID_NUMBER_SKELETON,t)}return{val:{type:_.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?He(r):{}},err:null}},n.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i=!1,s=[],a=new Set,o=n.value,l=n.location;;){if(0===o.length){var h=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR,g.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=v(h,this.clonePosition()),o=this.message.slice(h.offset,this.offset())}if(a.has(o))return this.error("select"===t?g.DUPLICATE_SELECT_ARGUMENT_SELECTOR:g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));h=this.parseMessage(e+1,t,r);if(h.err)return h;var c=this.tryParseArgumentClose(u);if(c.err)return c;s.push([o,{value:h.val,location:v(u,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===s.length?this.error("select"===t?g.EXPECT_SELECT_ARGUMENT_SELECTOR:g.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(g.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},n.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,s=10*s+(a-48),this.bump()}n=v(n,this.clonePosition());return i?Ge(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},n.prototype.offset=function(){return this.position.offset},n.prototype.isEOF=function(){return this.offset()===this.message.length},n.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},n.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},n.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},n.prototype.bump=function(){var e;this.isEOF()||(10===(e=this.char())?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2))},n.prototype.bumpIf=function(e){if(Ve(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},n.prototype.bumpUntil=function(e){var t=this.offset(),e=this.message.indexOf(e,t);return 0<=e?(this.bumpTo(e),!0):(this.bumpTo(this.message.length),!1)},n.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},n.prototype.bumpSpace=function(){for(;!this.isEOF()&&tt(this.char());)this.bump()},n.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Qe=n;function n(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function et(e){return 97<=e&&e<=122||65<=e&&e<=90}function tt(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function rt(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Qe(e,t).parse();if(e.err)throw(r=SyntaxError(g[e.err.kind])).location=e.err.location,r.originalMessage=e.err.message,r;return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,be(e)||ve(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else pe(e)&&Se(e.style)||(ye(e)||_e(e))&&Ee(e.style)?delete e.style.location:we(e)&&r(e.children)})}(e.val),e.val}function nt(e,t){var r=t&&t.cache?t.cache:ut,n=t&&t.serializer?t.serializer:ot;return(t&&t.strategy?t.strategy:function(e,t){return at(e,this,1===e.length?it:st,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function it(e,t,r,n){var r=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),i=t.get(r);return void 0===i&&(i=e.call(this,n),t.set(r,i)),i}function st(e,t,r){var n=Array.prototype.slice.call(arguments,3),r=r(n),i=t.get(r);return void 0===i&&(i=e.apply(this,n),t.set(r,i)),i}function at(e,t,r,n,i){return r.bind(t,e,n,i)}var ot=function(){return JSON.stringify(arguments)};function lt(){this.cache=Object.create(null)}lt.prototype.get=function(e){return this.cache[e]},lt.prototype.set=function(e,t){this.cache[e]=t};var w,ht,ut={create:function(){return new lt}},ct={variadic:function(e,t){return at(e,this,st,t.cache.create(),t.serializer)},monadic:function(e,t){return at(e,this,it,t.cache.create(),t.serializer)}};(ht=w=w||{}).MISSING_VALUE="MISSING_VALUE",ht.INVALID_VALUE="INVALID_VALUE",ht.MISSING_INTL_API="MISSING_INTL_API";fe(Et,gt=Error),Et.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var S,dt,ft,mt,gt,pt=Et,yt=(fe(St,mt=pt),St),_t=(fe(wt,ft=pt),wt),bt=(fe(vt,dt=pt),vt);function vt(e,t){return dt.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),w.MISSING_VALUE,t)||this}function wt(e,t,r){return ft.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),w.INVALID_VALUE,r)||this}function St(e,t,r,n){return mt.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),w.INVALID_VALUE,n)||this}function Et(e,t,r){e=gt.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function Tt(e,t,r,n,i,s,a){if(1===e.length&&ge(e[0]))return[{type:S.literal,value:e[0].value}];for(var o=[],l=0,h=e;l<h.length;l++){var u=h[l];if(ge(u))o.push({type:S.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&o.push({type:S.literal,value:r.getNumberFormat(t).format(s)});else{var c=u.value;if(!(i&&c in i))throw new bt(c,a);c=i[c];if(u.type===y.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),o.push({type:"string"==typeof c?S.literal:S.object,value:c});else if(ye(u)){var d="string"==typeof u.style?n.date[u.style]:Ee(u.style)?u.style.parsedOptions:void 0;o.push({type:S.literal,value:r.getDateTimeFormat(t,d).format(c)})}else if(_e(u))d="string"==typeof u.style?n.time[u.style]:Ee(u.style)?u.style.parsedOptions:n.time.medium,o.push({type:S.literal,value:r.getDateTimeFormat(t,d).format(c)});else if(pe(u))(d="string"==typeof u.style?n.number[u.style]:Se(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),o.push({type:S.literal,value:r.getNumberFormat(t,d).format(c)});else{if(we(u)){var f=u.children,m=u.value,g=i[m];if("function"!=typeof g)throw new _t(m,"function",a);m=g(Tt(f,t,r,n,i,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),o.push.apply(o,m.map(function(e){return{type:"string"==typeof e?S.literal:S.object,value:e}}))}if(be(u)){if(!(p=u.options[c]||u.options.other))throw new yt(u.value,c,Object.keys(u.options),a);o.push.apply(o,Tt(p.value,t,r,n,i))}else if(ve(u)){if(!(p=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new pt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',w.MISSING_INTL_API,a);var g=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),p=u.options[g]||u.options.other}if(!p)throw new yt(u.value,c,Object.keys(u.options),a);o.push.apply(o,Tt(p.value,t,r,n,i,c-(u.offset||0)))}}}}return(e=o).length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===S.literal&&t.type===S.literal?r.value+=t.value:e.push(t),e},[])}function Mt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(r=S=S||{})[r.literal=0]="literal",r[r.object=1]="object";Object.defineProperty(o,"defaultLocale",{get:function(){return o.memoizedDefaultLocale||(o.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),o.memoizedDefaultLocale},enumerable:!1,configurable:!0}),o.memoizedDefaultLocale=null,o.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},o.__parse=rt,o.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var Dt=o;function o(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=o.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===S.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return Tt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=o.resolveLocale(t),"string"==typeof e){if(this.message=e,!o.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=o.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=o.formats,(s=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=s[t])?b(b(b({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=b(b({},r[t]),n[t]||{}),e},{})):r),e},b({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:nt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,me([void 0],t,!1)))},{cache:Mt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:ct.variadic}),getDateTimeFormat:nt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,me([void 0],t,!1)))},{cache:Mt(t.dateTime),strategy:ct.variadic}),getPluralRules:nt(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,me([void 0],t,!1)))},{cache:Mt(t.pluralRules),strategy:ct.variadic})}}let a={},Bt=(e,t,r)=>r&&(t in a||(a[t]={}),e in a[t]||(a[t][e]=r),r),Nt=(t,r)=>{if(null!=r){if(r in a&&t in a[r])return a[r][t];var n=zt(r);for(let e=0;e<n.length;e++){var i=((e,t)=>{if(!Pt(e))return null;e=(e=>kt[e]||null)(e);var n=t;if(null!=n){if(n in e)return e[n];var i=n.split(".");let r=e;for(let t=0;t<i.length;t++)if("object"==typeof r){if(0<t){let e=i.slice(t,i.length).join(".");if(e in r){r=r[e];break}}r=r[i[t]]}else r=void 0;return r}})(n[e],t);if(i)return Bt(t,r,i)}}},kt,Ot=Y({});function Pt(e){return e in kt}function Ct(t,...r){delete a[t],Ot.update(e=>(e[t]=ce.all([e[t]||{},...r]),e))}e([Ot],([e])=>Object.keys(e)),Ot.subscribe(e=>kt=e);let Ht={};function Lt(e){return Ht[e]}function xt(e){return null!=e&&zt(e).some(e=>null==(e=Lt(e))?void 0:e.size)}function It(n,e){return Promise.all(e.map(e=>{return t=n,r=e,Ht[t].delete(r),0===Ht[t].size&&delete Ht[t],e().then(e=>e.default||e);var t,r})).then(e=>Ct(n,...e))}let At={};let m={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};let Yt=Y(!1);var Ut=Object.defineProperty,Ae=Object.defineProperties,Ye=Object.getOwnPropertyDescriptors,Rt=Object.getOwnPropertySymbols,Ft=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,$t=(e,t,r)=>t in e?Ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Wt,jt=Y(null);function Vt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function zt(e,t=m.fallbackLocale){e=Vt(e);return t?[...new Set([...e,...Vt(t)])]:e}function E(){return null!=Wt?Wt:void 0}jt.subscribe(e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});let te=Ae(((e,t)=>{for(var r in t=t||{})Ft.call(t,r)&&$t(e,r,t[r]);if(Rt)for(var r of Rt(t))Gt.call(t,r)&&$t(e,r,t[r]);return e})({},jt),Ye({set:t=>{if(t&&(e=>{if(null!=e){var t=zt(e);for(let e=0;e<t.length;e++){var r=t[e];if(Pt(r))return r}}})(t)&&xt(t)){var r=m.loadingDelay;let e;return"undefined"!=typeof window&&null!=E()&&r?e=window.setTimeout(()=>Yt.set(!0),r):Yt.set(!0),function e(t){var r;return xt(t)?(r=zt(t).map(e=>{var t=Lt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),At[t]=Promise.all(r.map(([e,t])=>It(e,t))).then(()=>{if(xt(t))return e(t);delete At[t]}),At[t]):t in At?At[t]:Promise.resolve()}(t).then(()=>{jt.set(t)}).finally(()=>{clearTimeout(e),Yt.set(!1)})}return jt.set(t)}}));var Ue=r=>{let n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Zt=Object.defineProperty,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Jt=(e,t,r)=>t in e?Zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Qt=(e,t)=>{for(var r in t=t||{})Kt.call(t,r)&&Jt(e,r,t[r]);if(Xt)for(var r of Xt(t))qt.call(t,r)&&Jt(e,r,t[r]);return e},l=(e,t)=>{var r={};for(n in e)Kt.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&Xt)for(var n of Xt(e))t.indexOf(n)<0&&qt.call(e,n)&&(r[n]=e[n]);return r};let er=(e,t)=>{var r=m.formats;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},tr=Ue(e=>{var{locale:t,format:r}=e,e=l(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=er("number",r)),new Intl.NumberFormat(t,e)}),rr=Ue(e=>{var{locale:t,format:r}=e,e=l(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=er("date",r):0===Object.keys(e).length&&(e=er("date","short")),new Intl.DateTimeFormat(t,e)}),nr=Ue(e=>{var{locale:t,format:r}=e,e=l(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=er("time",r):0===Object.keys(e).length&&(e=er("time","short")),new Intl.DateTimeFormat(t,e)}),ir=Ue((e,t=E())=>new Dt(e,t,m.formats,{ignoreTag:m.ignoreTag})),sr=e([te,Ot],()=>(e,t={})=>{let r,n,i,s,a=t;"object"==typeof e&&(e=(a=e).id);var{values:o,locale:l=E(),default:h}=a;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Nt(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(s=null!=(i=null==(n=(r=m).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:h}))?i:h)?s:e;if(!o)return u;let c=u;try{c=ir(u,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c});function ar(e,t){Ct(e,t)}e([te],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=l(e,["locale"]);return nr(Qt({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=l(e,["locale"]);return rr(Qt({locale:t},e))})(t).format(e)),e([te],()=>(e,t)=>((e={})=>{var{locale:t=E()}=e,e=l(e,["locale"]);return tr(Qt({locale:t},e))})(t).format(e)),e([te,Ot],()=>(e,t=E())=>Nt(e,t));let or={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"}};function lr(e,t,r){e=e.slice();return e[79]=t[r],e}function hr(e,t,r){e=e.slice();return e[82]=t[r],e}function ur(e,t,r){e=e.slice();return e[85]=t[r],e}function cr(e,t,r){e=e.slice();return e[88]=t[r],e}function dr(r){let n,i,s,a,o,l,h,u,c,d,f,m,g,p,y,_,b,v=r[24]("registerUserTitle")+"",w=r[24]("registerUserTitleSelect")+"",S=r[24]("registerUserTitleSelectMr")+"",E=r[24]("registerUserTitleSelectMrs")+"",T=r[24]("registerUserTitleSelectMs")+"";return{c(){n=Z("div"),i=Z("label"),s=X(v),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("select"),u=Z("option"),c=X(w),d=Z("option"),f=X(S),m=Z("option"),g=X(E),p=Z("option"),y=X(T),J(o,"class","FormRequired"),J(i,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,d.__value="Mr.",d.value=d.__value,m.__value="Mrs.",m.value=m.__value,p.__value="Ms.",p.value=p.__value,J(h,"id","Title"),void 0===r[12]&&L(()=>r[44].call(h)),J(n,"class","UserTitleContainer")},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),j(h,u),j(u,c),j(h,d),j(d,f),j(h,m),j(m,g),j(h,p),j(p,y),H(h,r[12],!0),_||(b=[q(h,"change",r[44]),q(h,"change",r[29])],_=!0)},p(e,t){16777216&t[0]&&v!==(v=e[24]("registerUserTitle")+"")&&Q(s,v),16777216&t[0]&&w!==(w=e[24]("registerUserTitleSelect")+"")&&Q(c,w),16777216&t[0]&&S!==(S=e[24]("registerUserTitleSelectMr")+"")&&Q(f,S),16777216&t[0]&&E!==(E=e[24]("registerUserTitleSelectMrs")+"")&&Q(g,E),16777216&t[0]&&T!==(T=e[24]("registerUserTitleSelectMs")+"")&&Q(y,T),4096&t[0]&&H(h,e[12])},d(e){e&&z(n),_=!1,W(b)}}}function fr(r){let n,i,s,a,o,l,h,u,c,d,f,m=r[24]("registerFirstName")+"",g=r[2]&&mr(r);return{c(){n=Z("div"),i=Z("label"),s=X(m),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("input"),u=K(),g&&g.c(),J(o,"class","FormRequired"),J(i,"for","FirstName"),J(h,"type","text"),J(h,"id","FirstName"),J(n,"class",c="FirstNameContainer "+(r[2]&&!r[7]?"InvalidField":""))},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),p(h,r[13]),j(n,u),g&&g.m(n,null),d||(f=[q(h,"input",r[45]),q(h,"keyup",r[30]),q(h,"focus",r[46]),q(h,"keyup",r[47])],d=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerFirstName")+"")&&Q(s,m),8192&t[0]&&h.value!==e[13]&&p(h,e[13]),e[2]?g?g.p(e,t):((g=mr(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),132&t[0]&&c!==(c="FirstNameContainer "+(e[2]&&!e[7]?"InvalidField":""))&&J(n,"class",c)},d(e){e&&z(n),g&&g.d(),d=!1,W(f)}}}function mr(e){let r,n,i=e[24]("registerFirstNameError")+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777216&t[0]&&i!==(i=e[24]("registerFirstNameError")+"")&&Q(n,i)},d(e){e&&z(r)}}}function gr(r){let n,i,s,a,o,l,h,u,c,d,f,m=r[24]("registerLastName")+"",g=r[3]&&pr(r);return{c(){n=Z("div"),i=Z("label"),s=X(m),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("input"),u=K(),g&&g.c(),J(o,"class","FormRequired"),J(i,"for","LastName"),J(h,"type","text"),J(h,"id","LastName"),J(n,"class",c="LastNameContainer "+(r[3]&&!r[8]?"InvalidField":""))},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),p(h,r[14]),j(n,u),g&&g.m(n,null),d||(f=[q(h,"input",r[48]),q(h,"keyup",r[31]),q(h,"focus",r[49]),q(h,"blur",r[50])],d=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerLastName")+"")&&Q(s,m),16384&t[0]&&h.value!==e[14]&&p(h,e[14]),e[3]?g?g.p(e,t):((g=pr(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),264&t[0]&&c!==(c="LastNameContainer "+(e[3]&&!e[8]?"InvalidField":""))&&J(n,"class",c)},d(e){e&&z(n),g&&g.d(),d=!1,W(f)}}}function pr(e){let r,n,i=e[24]("registerLastNameError")+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777216&t[0]&&i!==(i=e[24]("registerLastNameError")+"")&&Q(n,i)},d(e){e&&z(r)}}}function yr(r){let n,i,s,a,o,l,h,u,c,d,f,m,g,p,y,_,b,v,w,S,E,e=r[24]("registerDateOfBirth")+"",T=r[24]("registerBirthDay")+"",M=r[24]("registerBirthMonth")+"",D=r[24]("registerBirthYear")+"",B=r[25],N=[];for(let e=0;e<B.length;e+=1)N[e]=_r(cr(r,B,e));let k=r[26],O=[];for(let e=0;e<k.length;e+=1)O[e]=br(ur(r,k,e));let P=!r[23]&&vr(r),C=r[4]&&Sr(r);return{c(){n=Z("div"),i=Z("label"),s=X(e),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("div"),u=Z("select"),c=Z("option"),d=X(T);for(let e=0;e<N.length;e+=1)N[e].c();f=K(),m=Z("select"),g=Z("option"),p=X(M);for(let e=0;e<O.length;e+=1)O[e].c();y=K(),_=Z("select"),b=Z("option"),v=X(D),P&&P.c(),w=K(),C&&C.c(),J(o,"class","FormRequired"),c.__value="",c.value=c.__value,c.disabled=!0,c.selected=!0,J(u,"class","BirthDaySelected"),void 0===r[15]&&L(()=>r[51].call(u)),g.__value="",g.value=g.__value,g.disabled=!0,g.selected=!0,J(m,"class","BirthMonthSelected"),void 0===r[16]&&L(()=>r[52].call(m)),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,J(_,"class","BirthYearSelected"),void 0===r[17]&&L(()=>r[53].call(_)),J(h,"class","BirthDateOptions"),J(n,"class","BirthDateContainer")},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),j(h,u),j(u,c),j(c,d);for(let e=0;e<N.length;e+=1)N[e]&&N[e].m(u,null);H(u,r[15],!0),j(h,f),j(h,m),j(m,g),j(g,p);for(let e=0;e<O.length;e+=1)O[e]&&O[e].m(m,null);H(m,r[16],!0),j(h,y),j(h,_),j(_,b),j(b,v),P&&P.m(_,null),H(_,r[17],!0),j(h,w),C&&C.m(h,null),S||(E=[q(u,"change",r[51]),q(u,"change",r[28]),q(m,"change",r[52]),q(m,"change",r[28]),q(_,"change",r[53]),q(_,"change",r[28])],S=!0)},p(t,r){if(16777216&r[0]&&e!==(e=t[24]("registerDateOfBirth")+"")&&Q(s,e),16777216&r[0]&&T!==(T=t[24]("registerBirthDay")+"")&&Q(d,T),33554432&r[0]){let e;for(B=t[25],e=0;e<B.length;e+=1){var n=cr(t,B,e);N[e]?N[e].p(n,r):(N[e]=_r(n),N[e].c(),N[e].m(u,null))}for(;e<N.length;e+=1)N[e].d(1);N.length=B.length}if(33587200&r[0]&&H(u,t[15]),16777216&r[0]&&M!==(M=t[24]("registerBirthMonth")+"")&&Q(p,M),67108864&r[0]){let e;for(k=t[26],e=0;e<k.length;e+=1){var i=ur(t,k,e);O[e]?O[e].p(i,r):(O[e]=br(i),O[e].c(),O[e].m(m,null))}for(;e<O.length;e+=1)O[e].d(1);O.length=k.length}67174400&r[0]&&H(m,t[16]),16777216&r[0]&&D!==(D=t[24]("registerBirthYear")+"")&&Q(v,D),t[23]?P&&(P.d(1),P=null):P?P.p(t,r):((P=vr(t)).c(),P.m(_,null)),134348800&r[0]&&H(_,t[17]),t[4]?C?C.p(t,r):((C=Sr(t)).c(),C.m(h,null)):C&&(C.d(1),C=null)},d(e){e&&z(n),x(N,e),x(O,e),P&&P.d(),C&&C.d(),S=!1,W(E)}}}function _r(e){let r,n,t=e[88]+"";return{c(){r=Z("option"),n=X(t),r.__value=e[88],r.value=r.__value},m(e,t){V(e,r,t),j(r,n)},p:$,d(e){e&&z(r)}}}function br(e){let r,n,t=e[85]+"";return{c(){r=Z("option"),n=X(t),r.__value=e[85],r.value=r.__value},m(e,t){V(e,r,t),j(r,n)},p:$,d(e){e&&z(r)}}}function vr(t){let i,s=t[27],a=[];for(let e=0;e<s.length;e+=1)a[e]=wr(hr(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=u()},m(t,r){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,r);V(t,i,r)},p(t,r){if(134217728&r[0]){let e;for(s=t[27],e=0;e<s.length;e+=1){var n=hr(t,s,e);a[e]?a[e].p(n,r):(a[e]=wr(n),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=s.length}},d(e){x(a,e),e&&z(i)}}}function wr(e){let r,n,t=e[82]+"";return{c(){r=Z("option"),n=X(t),r.__value=e[82],r.value=r.__value},m(e,t){V(e,r,t),j(r,n)},p:$,d(e){e&&z(r)}}}function Sr(e){let r,n,i=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777217&t[0]&&i!==(i=e[24]("registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Q(n,i)},d(e){e&&z(r)}}}function Er(r){let n,i,s,a,o,l,h,u,c,d,f,m=r[24]("registerBirthPlace")+"",g=r[5]&&Tr(r);return{c(){n=Z("div"),i=Z("label"),s=X(m),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("input"),u=K(),g&&g.c(),J(o,"class","FormRequired"),J(i,"for","BirthPlace"),J(h,"type","text"),J(h,"id","BirthPlace"),J(n,"class",c="BirthPlaceContainer "+(r[5]&&!r[9]?"InvalidField":""))},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),p(h,r[18]),j(n,u),g&&g.m(n,null),d||(f=[q(h,"input",r[54]),q(h,"keyup",r[32]),q(h,"focus",r[55]),q(h,"blur",r[56])],d=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerBirthPlace")+"")&&Q(s,m),262144&t[0]&&h.value!==e[18]&&p(h,e[18]),e[5]?g?g.p(e,t):((g=Tr(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),544&t[0]&&c!==(c="BirthPlaceContainer "+(e[5]&&!e[9]?"InvalidField":""))&&J(n,"class",c)},d(e){e&&z(n),g&&g.d(),d=!1,W(f)}}}function Tr(e){let r,n,i=e[24]("registerBirthPlaceError")+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777216&t[0]&&i!==(i=e[24]("registerBirthPlaceError")+"")&&Q(n,i)},d(e){e&&z(r)}}}function Mr(r){let n,i,s,a,o,l,h,u,c,d,f,m=r[24]("registerPersonalId")+"",g=r[6]&&Dr(r);return{c(){n=Z("div"),i=Z("label"),s=X(m),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("input"),u=K(),g&&g.c(),J(o,"class","FormRequired"),J(i,"for","PersonalId"),J(h,"type","text"),J(h,"id","PersonalId"),J(n,"class",c="PersonalIdContainer "+(r[6]&&!r[10]?"InvalidField":""))},m(e,t){V(e,n,t),j(n,i),j(i,s),j(i,a),j(i,o),j(n,l),j(n,h),p(h,r[21]),j(n,u),g&&g.m(n,null),d||(f=[q(h,"input",r[57]),q(h,"keyup",r[33]),q(h,"focus",r[58]),q(h,"blur",r[59])],d=!0)},p(e,t){16777216&t[0]&&m!==(m=e[24]("registerPersonalId")+"")&&Q(s,m),2097152&t[0]&&h.value!==e[21]&&p(h,e[21]),e[6]?g?g.p(e,t):((g=Dr(e)).c(),g.m(n,null)):g&&(g.d(1),g=null),1088&t[0]&&c!==(c="PersonalIdContainer "+(e[6]&&!e[10]?"InvalidField":""))&&J(n,"class",c)},d(e){e&&z(n),g&&g.d(),d=!1,W(f)}}}function Dr(e){let r,n;function i(e,t){return(r=null==(r=2097152&t[0]?null:r)?!/^\d+$/.test(e[21]):r)?Nr:Br}let s=i(e,[-1,-1,-1]),a=s(e);return{c(){a.c(),n=u()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){s===(s=i(e,t))&&a?a.p(e,t):(a.d(1),(a=s(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&z(n)}}}function Br(e){let r,n,i=e[24]("registerPersonalIdLength")+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777216&t[0]&&i!==(i=e[24]("registerPersonalIdLength")+"")&&Q(n,i)},d(e){e&&z(r)}}}function Nr(e){let r,n,i=e[24]("registerPersonalIdCharacters")+"";return{c(){r=Z("p"),n=X(i),J(r,"class","InvalidInput")},m(e,t){V(e,r,t),j(r,n)},p(e,t){16777216&t[0]&&i!==(i=e[24]("registerPersonalIdCharacters")+"")&&Q(n,i)},d(e){e&&z(r)}}}function Pr(r){let i,n,s,a,o,l,h,e,u,c,t=r[24]("registerCurrency")+"",d=r[19],f=[];for(let e=0;e<d.length;e+=1)f[e]=Cr(lr(r,d,e));return{c(){i=Z("div"),n=Z("label"),s=X(t),a=X(":"),(o=Z("span")).textContent="*",l=K(),h=Z("select");for(let e=0;e<f.length;e+=1)f[e].c();J(o,"class","FormRequired"),J(n,"for","Currency"),J(h,"id","Currency"),void 0===r[20]&&L(()=>r[60].call(h)),J(i,"class",e="CurrencyContainer "+(0<=r[11]?.indexOf("currency")?"Hidden":""))},m(e,t){V(e,i,t),j(i,n),j(n,s),j(n,a),j(n,o),j(i,l),j(i,h);for(let e=0;e<f.length;e+=1)f[e]&&f[e].m(h,null);H(h,r[20],!0),u||(c=q(h,"change",r[60]),u=!0)},p(r,n){if(16777216&n[0]&&t!==(t=r[24]("registerCurrency")+"")&&Q(s,t),524288&n[0]){let t;for(d=r[19],t=0;t<d.length;t+=1){let e=lr(r,d,t);f[t]?f[t].p(e,n):(f[t]=Cr(e),f[t].c(),f[t].m(h,null))}for(;t<f.length;t+=1)f[t].d(1);f.length=d.length}1572864&n[0]&&H(h,r[20]),2048&n[0]&&e!==(e="CurrencyContainer "+(0<=r[11]?.indexOf("currency")?"Hidden":""))&&J(i,"class",e)},d(e){e&&z(i),x(f,e),u=!1,c()}}}function Cr(e){let r,n,i,s=e[79]+"";return{c(){r=Z("option"),n=X(s),r.__value=i=e[79],r.value=r.__value},m(e,t){V(e,r,t),j(r,n)},p(e,t){524288&t[0]&&s!==(s=e[79]+"")&&Q(n,s),524288&t[0]&&i!==(i=e[79])&&(r.__value=i,r.value=r.__value)},d(e){e&&z(r)}}}function Hr(r){let n,i,s,a,o,l,Y,h,U,u,R,c,d,f,m,g,p,y,_,b,v,w,S,F,E=r[24]("registerBackButton")+"",T=!(0<=r[11]?.indexOf("title")),M=!(0<=r[11]?.indexOf("firstName")),D=!(0<=r[11]?.indexOf("lastName")),B=!(0<=r[11]?.indexOf("birthDate")),N=!(0<=r[11]?.indexOf("birthPlace")),k=!(0<=r[11]?.indexOf("personalId")),G=!(0<=r[11]?.indexOf("currency")),O=r[24]("registerNext")+"",P=T&&dr(r),C=M&&fr(r),H=D&&gr(r),L=B&&yr(r),x=N&&Er(r),I=k&&Mr(r),A=G&&Pr(r);return{c(){n=Z("div"),i=Z("div"),s=Z("button"),a=ne("svg"),o=ne("defs"),l=ne("style"),Y=X(".a{fill:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));}"),h=ne("path"),U=K(),u=X(E),R=K(),c=Z("form"),P&&P.c(),d=K(),C&&C.c(),f=K(),H&&H.c(),m=K(),L&&L.c(),g=K(),x&&x.c(),p=K(),I&&I.c(),y=K(),A&&A.c(),_=K(),b=Z("button"),v=X(O),this.c=$,J(h,"class","a"),J(h,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),J(h,"transform","translate(24 24) rotate(180)"),J(a,"xmlns","http://www.w3.org/2000/svg"),J(a,"viewBox","0 0 24 24"),J(s,"class","BackButton"),J(i,"class","RegisterFormHeader"),J(b,"class","RegisterStepNext"),b.disabled=w=!r[22],J(c,"class","RegisterFormContent")},m(e,t){V(e,n,t),j(n,i),j(i,s),j(s,a),j(a,o),j(o,l),j(l,Y),j(a,h),j(s,U),j(s,u),j(n,R),j(n,c),P&&P.m(c,null),j(c,d),C&&C.m(c,null),j(c,f),H&&H.m(c,null),j(c,m),L&&L.m(c,null),j(c,g),x&&x.m(c,null),j(c,p),I&&I.m(c,null),j(c,y),A&&A.m(c,null),j(c,_),j(c,b),j(b,v),r[62](n),S||(F=[q(s,"click",r[35]),q(b,"click",r[61])],S=!0)},p(e,t){16777216&t[0]&&E!==(E=e[24]("registerBackButton")+"")&&Q(u,E),(T=2048&t[0]?!(0<=e[11]?.indexOf("title")):T)?P?P.p(e,t):((P=dr(e)).c(),P.m(c,d)):P&&(P.d(1),P=null),(M=2048&t[0]?!(0<=e[11]?.indexOf("firstName")):M)?C?C.p(e,t):((C=fr(e)).c(),C.m(c,f)):C&&(C.d(1),C=null),(D=2048&t[0]?!(0<=e[11]?.indexOf("lastName")):D)?H?H.p(e,t):((H=gr(e)).c(),H.m(c,m)):H&&(H.d(1),H=null),(B=2048&t[0]?!(0<=e[11]?.indexOf("birthDate")):B)?L?L.p(e,t):((L=yr(e)).c(),L.m(c,g)):L&&(L.d(1),L=null),(N=2048&t[0]?!(0<=e[11]?.indexOf("birthPlace")):N)?x?x.p(e,t):((x=Er(e)).c(),x.m(c,p)):x&&(x.d(1),x=null),(k=2048&t[0]?!(0<=e[11]?.indexOf("personalId")):k)?I?I.p(e,t):((I=Mr(e)).c(),I.m(c,y)):I&&(I.d(1),I=null),(G=2048&t[0]?!(0<=e[11]?.indexOf("currency")):G)?A?A.p(e,t):((A=Pr(e)).c(),A.m(c,_)):A&&(A.d(1),A=null),16777216&t[0]&&O!==(O=e[24]("registerNext")+"")&&Q(v,O),4194304&t[0]&&w!==(w=!e[22])&&(b.disabled=w)},i:$,o:$,d(e){e&&z(n),P&&P.d(),C&&C.d(),H&&H.d(),L&&L.d(),x&&x.d(),I&&I.d(),A&&A.d(),r[62](null),S=!1,W(F)}}}function Lr(t,e,r){let I,A;A=sr,t.$$.on_destroy.push(re(A,e=>r(24,I=e)));let n,i,s,a,Y,U,R,o,{endpoint:l=""}=e,{lang:h=""}=e,{licenseyears:u=""}=e,{disabledfields:c=""}=e,{defaultoptions:F=""}=e,{personalidlength:d=""}=e,{clientstyling:f=""}=e,{clientstylingurl:m=""}=e,{translationurl:g=""}=e,p=!1,y=!1,_=!1,b=!1,v=!1,w=!1,S=!1,E=!1,T=!1,M="",D="",B="",G=[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],$=[1,2,3,4,5,6,7,8,9,10,11,12],N=[],k="",O=[],P="",C="",H=new Date,L=!1,W=!0,x=(Object.keys(or).forEach(e=>{ar(e,or[e])}),()=>{r(22,L=!(p||y||_||b||v)),!(D.length<=0||B.length<=0||k.length<=0||C.length<=0)&&M&&i&&s&&a||r(22,L=!1)}),j=e=>!!(e&&2<=e.length&&e.length<=50),V=e=>{e.preventDefault();e={userTitleSelected:M,userFirstName:D,userLastName:B,birthDaySelected:i,birthMonthSelected:s,birthYearSelected:a,birthPlace:k,personalId:C,currencySelected:P};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},z=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(12,M=e.data.userData.title),r(13,D=e.data.userData.firstname),r(14,B=e.data.userData.lastname),r(15,i=e.data.userData.birth.day),r(16,s=e.data.userData.birth.month),r(17,a=e.data.userData.birth.year),r(18,k=e.data.userData.birthPlace),r(20,P=e.data.userData.currency),r(21,C=e.data.userData.personalId),x())};return e=()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}),(()=>{if(ie)return ie;throw new Error("Function called outside component initialization")})().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&r(36,l=e.endpoint),"lang"in e&&r(37,h=e.lang),"licenseyears"in e&&r(0,u=e.licenseyears),"disabledfields"in e&&r(38,c=e.disabledfields),"defaultoptions"in e&&r(39,F=e.defaultoptions),"personalidlength"in e&&r(40,d=e.personalidlength),"clientstyling"in e&&r(41,f=e.clientstyling),"clientstylingurl"in e&&r(42,m=e.clientstylingurl),"translationurl"in e&&r(43,g=e.translationurl)},t.$$.update=()=>{if(32&t.$$.dirty[1]&&l&&fetch(l+"/v1/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(19,O=e.currencies),P||r(20,P=O[0])}),64&t.$$.dirty[1]&&h&&(e=h,te.set(e)),1&t.$$.dirty[0]&&u){U=parseInt(ae(H.setDate(H.getDate())).subtract(parseInt(u,10),"y").format("YYYY")),Y=parseInt(ae(H.setDate(H.getDate())).subtract(100+parseInt(u,10),"y").format("YYYY"));for(let e=U;e>=Y;e--)N.push(e);r(23,W=!1)}if(128&t.$$.dirty[1]&&c&&(r(11,n=c.split(",")),0<=n.indexOf("firstName")&&(r(13,D="dummy first name"),r(2,p=!1)),0<=n.indexOf("lastName")&&(r(14,B="dummy last name"),r(3,y=!1)),0<=n.indexOf("birthPlace")&&(r(18,k="dummy birth place"),r(5,b=!1)),0<=n.indexOf("personalId")&&(r(21,C="dummy personal id"),r(6,v=!1)),0<=n.indexOf("birthDate")&&r(4,_=!1),0<=n.indexOf("title")&&r(12,M="Mr."),0<=n.indexOf("currency"))&&r(20,P="CDF"),2&t.$$.dirty[0]|1024&t.$$.dirty[1]&&f&&o&&((e=document.createElement("style")).innerHTML=f,o.appendChild(e)),2&t.$$.dirty[0]|2048&t.$$.dirty[1]&&m&&o){let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{},500)})}var e;4096&t.$$.dirty[1]&&g&&fetch(g).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{ar(e,t[e])})}).catch(e=>{console.log(e)})},[u,o,p,y,_,b,v,w,S,E,T,n,M,D,B,i,s,a,k,O,P,C,L,W,I,G,$,N,()=>{a&&s&&i&&(R=ae(H.setDate(H.getDate())).diff(ae(`${a}-${s}-`+i,"YYYY-MM-DD"),"years").toString(),r(4,_=R<u)),x()},x,()=>{r(2,p=!j(D)),x()},()=>{r(3,y=!j(B)),x()},()=>{r(5,b=!(k&&k.length<=120)),x()},()=>{r(6,v=!(C&&C.length===Number(d)&&/^\d+$/.test(C))),x()},V,()=>{var e={userTitleSelected:M,userFirstName:D,userLastName:B,birthDaySelected:i,birthMonthSelected:s,birthYearSelected:a,birthPlace:k,personalId:C,currencySelected:P};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},l,h,c,F,d,f,m,g,function(){M=ee(this),r(12,M)},function(){D=this.value,r(13,D)},()=>r(7,w=!0),()=>r(7,w=!1),function(){B=this.value,r(14,B)},()=>r(8,S=!0),()=>r(8,S=!1),function(){i=ee(this),r(15,i),r(25,G)},function(){s=ee(this),r(16,s),r(26,$)},function(){a=ee(this),r(17,a),r(27,N)},function(){k=this.value,r(18,k)},()=>r(9,E=!0),()=>r(9,E=!1),function(){C=this.value,r(21,C)},()=>r(10,T=!0),()=>r(10,T=!1),function(){P=ee(this),r(20,P),r(19,O)},e=>V(e),function(e){se[e?"unshift":"push"](()=>{o=e,r(1,o)})}]}class xr extends I{constructor(e){super();var t=document.createElement("style");t.textContent=".BackButton{display:inline-flex;color:var(--emfe-w-registration-typography, var(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-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(--emfe-w-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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.PersonalIdContainer,.CurrencyContainer{color:var(--emfe-w-registration-contrast, var(--emfe-w-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 select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer input,.PersonalIdContainer input,.CurrencyContainer select{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.FirstNameContainer.InvalidField input,.LastNameContainer.InvalidField input,.BirthPlaceContainer.InvalidField input,.PersonalIdContainer.InvalidField input{border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));background:var(--emfe-w-color-pale, #FBECF4);color:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-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(--emfe-w-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(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C))}.FormRequired{color:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839))}.InvalidInput{color:var(--emfe-w-color-error, var(--emfe-w-color-red, #ed0909));font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background:var(--emfe-w-registration-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-registration-color-primary, var(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);cursor:not-allowed}",this.shadowRoot.appendChild(t),C(this,{target:this.shadowRoot,props:(e=>{var t,r={};for(t of e)r[t.name]=t.value;return r})(this.attributes),customElement:!0},Lr,Hr,h,{endpoint:36,lang:37,licenseyears:0,disabledfields:38,defaultoptions:39,personalidlength:40,clientstyling:41,clientstylingurl:42,translationurl:43},null,[-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props)&&(this.$set(e.props),f())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","personalidlength","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[36]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[37]}set lang(e){this.$$set({lang:e}),f()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),f()}get disabledfields(){return this.$$.ctx[38]}set disabledfields(e){this.$$set({disabledfields:e}),f()}get defaultoptions(){return this.$$.ctx[39]}set defaultoptions(e){this.$$set({defaultoptions:e}),f()}get personalidlength(){return this.$$.ctx[40]}set personalidlength(e){this.$$set({personalidlength:e}),f()}get clientstyling(){return this.$$.ctx[41]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[42]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[43]}set translationurl(e){this.$$set({translationurl:e}),f()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",xr),xr});
2
- //# sourceMappingURL=general-player-register-form-step2.js.map