@everymatrix/general-player-register-form-step2 0.0.290 → 0.0.293
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function ft(){}function h(e){return e()}function d(){return Object.create(null)}function mt(e){e.forEach(h)}function f(e){return"function"==typeof e}function r(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function L(e,...t){if(null==e)return ft;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pt(e,t){e.appendChild(t)}function gt(e,t,r){e.insertBefore(t,r||null)}function yt(e){e.parentNode.removeChild(e)}function _t(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function vt(e){return document.createElement(e)}function t(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function wt(e){return document.createTextNode(e)}function St(){return wt(" ")}function bt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Et(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Tt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Mt(e,t){e.value=null==t?"":t}function Dt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0,0}}function Y(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}let F;function m(e){F=e}const p=[],e=[],n=[],i=[],g=Promise.resolve();let y=!1;function kt(e){n.push(e)}let s=!1;const a=new Set;function _(){if(!s){s=!0;do{for(let e=0;e<p.length;e+=1){var t=p[e];m(t),function(e){{var t;null!==e.fragment&&(e.update(),mt(e.before_update),t=e.dirty,e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(kt))}}(t.$$)}for(m(null),p.length=0;e.length;)e.pop()();for(let e=0;e<n.length;e+=1){const r=n[e];a.has(r)||(a.add(r),r())}}while(n.length=0,p.length);for(;i.length;)i.pop()();y=!1,s=!1,a.clear()}}const v=new Set;function o(n,e,t,r,i,s,a=[-1]){var o,l=F;m(n);const u=n.$$={fragment:null,ctx:null,props:s,update:ft,not_equal:i,bound:d(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(l?l.$$.context:e.context||[]),callbacks:d(),dirty:a,skip_bound:!1};let c=!1;if(u.ctx=t?t(n,e.props||{},(e,t,...r)=>{r=r.length?r[0]:t;return u.ctx&&i(u.ctx[e],u.ctx[e]=r)&&(!u.skip_bound&&u.bound[e]&&u.bound[e](r),c&&(r=e,-1===(e=n).$$.dirty[0]&&(p.push(e),y||(y=!0,g.then(_)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],u.update(),c=!0,mt(u.before_update),u.fragment=!!r&&r(u.ctx),e.target){if(e.hydrate){const ft=(r=e.target,Array.from(r.childNodes));u.fragment&&u.fragment.l(ft),ft.forEach(yt)}else u.fragment&&u.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(v.delete(o),o.i(void 0)),function(t,e,r,n){const{fragment:i,on_mount:s,on_destroy:a,after_update:o}=t.$$;i&&i.m(e,r),n||kt(()=>{var e=s.map(h).filter(f);a?a.push(...e):mt(e),t.$$.on_mount=[]}),o.forEach(kt)}(n,e.target,e.anchor,e.customElement),_()}m(l)}let l;function Cr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(l=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(h).filter(f);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){mt(this.$$.on_disconnect)}$destroy(){!function(e){const t=e.$$;null!==t.fragment&&(mt(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}(this),this.$destroy=ft}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var u,Pr,A=(Pr=u={path:void 0,exports:{},require:function(e,t){return Cr(null==t&&u.path)}},u.exports,Pr.exports=function(){var e;function m(){return e.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(f(e,t))return;return 1}function s(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function i(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function n(e,t){for(var r=[],n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){for(var r in t)f(t,r)&&(e[r]=t[r]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Ot(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 d(e){if(null==e._isValid){var t=p(e),r=y.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function g(e){var t=h(NaN);return null!=e?c(p(t),e):p(t).userInvalidated=!0,t}var y=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},_=m.momentProperties=[],t=!1;function v(e,t){var r,n,i;if(s(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),s(t._i)||(e._i=t._i),s(t._f)||(e._f=t._f),s(t._l)||(e._l=t._l),s(t._strict)||(e._strict=t._strict),s(t._tzm)||(e._tzm=t._tzm),s(t._isUTC)||(e._isUTC=t._isUTC),s(t._offset)||(e._offset=t._offset),s(t._pf)||(e._pf=p(t)),s(t._locale)||(e._locale=t._locale),0<_.length)for(r=0;r<_.length;r++)s(i=t[n=_[r]])||(e[n]=i);return e}function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,m.updateOffset(this),t=!1)}function S(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function b(e){!1===m.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function r(i,s){var a=!0;return c(function(){if(null!=m.deprecationHandler&&m.deprecationHandler(null,i),a){for(var e,t,r=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(t in e+="\n["+n+"] ",arguments[0])f(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[n];r.push(e)}b(i+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),a=!1}return s.apply(this,arguments)},s)}var E={};function T(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),E[e]||(b(t),E[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var r,n=c({},e);for(r in t)f(t,r)&&(o(e[r])&&o(t[r])?(n[r]={},c(n[r],e[r]),c(n[r],t[r])):null!=t[r]?n[r]=t[r]:delete n[r]);for(r in e)f(e,r)&&!f(t,r)&&o(e[r])&&(n[r]=c({},n[r]));return n}function k(e){null!=e&&this.set(e)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;var N=Object.keys||function(e){var t,r=[];for(t in e)f(e,t)&&r.push(t);return r};function O(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 C=/(\[[^\[]*\])|(\\)?([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,P=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,x={},L={};function Y(e,t,r,n){var i="string"==typeof n?function(){return this[n]()}:n;e&&(L[e]=i),t&&(L[t[0]]=function(){return O(i.apply(this,arguments),t[1],t[2])}),r&&(L[r]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=A(t,e.localeData()),x[t]=x[t]||function(n){for(var e,i=n.match(C),t=0,s=i.length;t<s;t++)L[i[t]]?i[t]=L[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+=M(i[r])?i[r].call(e,n):i[r];return t}}(t),x[t](e)):e.localeData().invalidDate()}function A(e,t){var r=5;function n(e){return t.longDateFormat(e)||e}for(P.lastIndex=0;0<=r&&P.test(e);)e=e.replace(P,n),P.lastIndex=0,--r;return e}var R={};function U(e,t){var r=e.toLowerCase();R[r]=R[r+"s"]=R[t]=e}function I(e){return"string"==typeof e?R[e]||R[e.toLowerCase()]:void 0}function B(e){var t,r,n={};for(r in e)f(e,r)&&(t=I(r))&&(n[t]=e[r]);return n}var G={};function j(e,t){G[e]=t}function W(e){return e%4==0&&e%100!=0||e%400==0}function V(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function $(e){var t=+e,e=0;return e=0!=t&&isFinite(t)?V(t):e}function H(t,r){return function(e){return null!=e?(Z(this,t,e),m.updateOffset(this,r),this):z(this,t)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Z(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&W(e.year())&&1===e.month()&&29===e.date()?(r=$(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Ne(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var X=/\d/,q=/\d\d/,K=/\d{3}/,J=/\d{4}/,Q=/[+-]?\d{6}/,ee=/\d\d?/,te=/\d\d\d\d?/,re=/\d\d\d\d\d\d?/,ne=/\d{1,3}/,ie=/\d{1,4}/,se=/[+-]?\d{1,6}/,ae=/\d+/,oe=/[+-]?\d+/,le=/Z|[+-]\d\d:?\d\d/gi,ue=/Z|[+-]\d\d(?::?\d\d)?/gi,ce=/[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;function he(e,r,n){me[e]=M(r)?r:function(e,t){return e&&n?n:r}}function de(e,t){return f(me,e)?me[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var me={},pe={};function ge(e,r){var t,n=r;for("string"==typeof e&&(e=[e]),u(r)&&(n=function(e,t){t[r]=$(e)}),t=0;t<e.length;t++)pe[e[t]]=n}function ye(e,i){ge(e,function(e,t,r,n){r._w=r._w||{},i(e,r._w,r,n)})}var _e,ve=0,we=1,Se=2,be=3,Ee=4,Te=5,Me=6,De=7,ke=8;function Ne(e,t){if(isNaN(e)||isNaN(t))return NaN;var r,r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?W(e)?29:28:31-r%7%2}_e=Array.prototype.indexOf||function(e){for(var t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",function(){return this.month()+1}),Y("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Y("MMMM",0,0,function(e){return this.localeData().months(this,e)}),U("month","M"),j("month",8),he("M",ee),he("MM",ee,q),he("MMM",function(e,t){return t.monthsShortRegex(e)}),he("MMMM",function(e,t){return t.monthsRegex(e)}),ge(["M","MM"],function(e,t){t[we]=$(e)-1}),ge(["MMM","MMMM"],function(e,t,r,n){n=r._locale.monthsParse(e,n,r._strict);null!=n?t[we]=n:p(r).invalidMonth=e});var Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Pe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,xe=ce,Le=ce;function Ye(e,t){var r;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=$(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return r=Math.min(e.date(),Ne(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r),e}function Fe(e){return null!=e?(Ye(this,e),m.updateOffset(this,!0),this):z(this,"Month")}function Ae(){function e(e,t){return t.length-e.length}for(var t,r=[],n=[],i=[],s=0;s<12;s++)t=h([2e3,s]),r.push(this.monthsShort(t,"")),n.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(r.sort(e),n.sort(e),i.sort(e),s=0;s<12;s++)r[s]=fe(r[s]),n[s]=fe(n[s]);for(s=0;s<24;s++)i[s]=fe(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Re(e){return W(e)?366:365}Y("Y",0,0,function(){var e=this.year();return e<=9999?O(e,4):"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),U("year","y"),j("year",1),he("Y",oe),he("YY",ee,q),he("YYYY",ie,J),he("YYYYY",se,Q),he("YYYYYY",se,Q),ge(["YYYYY","YYYYYY"],ve),ge("YYYY",function(e,t){t[ve]=2===e.length?m.parseTwoDigitYear(e):$(e)}),ge("YY",function(e,t){t[ve]=m.parseTwoDigitYear(e)}),ge("Y",function(e,t){t[ve]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return $(e)+(68<$(e)?1900:2e3)};var Ue=H("FullYear",!0);function Ie(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 Be(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 Ge(e,t,r){r=7+t-r;return-(7+Be(e,0,r).getUTCDay()-t)%7+r-1}function je(e,t,r,n,i){var s,i=1+7*(t-1)+(7+r-n)%7+Ge(e,n,i),i=i<=0?Re(s=e-1)+i:i>Re(e)?(s=e+1,i-Re(e)):(s=e,i);return{year:s,dayOfYear:i}}function We(e,t,r){var n,i,s=Ge(e.year(),t,r),s=Math.floor((e.dayOfYear()-s-1)/7)+1;return s<1?n=s+Ve(i=e.year()-1,t,r):s>Ve(e.year(),t,r)?(n=s-Ve(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function Ve(e,t,r){var n=Ge(e,t,r),r=Ge(e+1,t,r);return(Re(e)-n+r)/7}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),U("week","w"),U("isoWeek","W"),j("week",5),j("isoWeek",5),he("w",ee),he("ww",ee,q),he("W",ee),he("WW",ee,q),ye(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=$(e)});function $e(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),U("day","d"),U("weekday","e"),U("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),he("d",ee),he("e",ee),he("E",ee),he("dd",function(e,t){return t.weekdaysMinRegex(e)}),he("ddd",function(e,t){return t.weekdaysShortRegex(e)}),he("dddd",function(e,t){return t.weekdaysRegex(e)}),ye(["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}),ye(["d","e","E"],function(e,t,r,n){t[n]=$(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ze="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ze="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Xe=ce,qe=ce,Ke=ce;function Je(){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=fe(this.weekdaysMin(n,"")),r=fe(this.weekdaysShort(n,"")),n=fe(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 Qe(){return this.hours()%12||12}function et(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function tt(e,t){return t._meridiemParse}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Qe),Y("k",["kk",2],0,function(){return this.hours()||24}),Y("hmm",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Qe.apply(this)+O(this.minutes(),2)+O(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+O(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+O(this.minutes(),2)+O(this.seconds(),2)}),et("a",!0),et("A",!1),U("hour","h"),j("hour",13),he("a",tt),he("A",tt),he("H",ee),he("h",ee),he("k",ee),he("HH",ee,q),he("hh",ee,q),he("kk",ee,q),he("hmm",te),he("hmmss",re),he("Hmm",te),he("Hmmss",re),ge(["H","HH"],be),ge(["k","kk"],function(e,t,r){e=$(e);t[be]=24===e?0:e}),ge(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),ge(["h","hh"],function(e,t,r){t[be]=$(e),p(r).bigHour=!0}),ge("hmm",function(e,t,r){var n=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n)),p(r).bigHour=!0}),ge("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i)),p(r).bigHour=!0}),ge("Hmm",function(e,t,r){var n=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n))}),ge("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[be]=$(e.substr(0,n)),t[Ee]=$(e.substr(n,2)),t[Te]=$(e.substr(i))});var rt=H("Hours",!0);var nt,it={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:Oe,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ze,weekdaysShort:ze,meridiemParse:/[ap]\.?m?\.?/i},st={},at={};function ot(e){return e&&e.toLowerCase().replace("_","-")}function lt(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=ot(e[s]).split("-")).length,r=(r=ot(e[s+1]))?r.split("-"):null;0<t;){if(n=ut(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(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 nt}function ut(t){var e;if(void 0===st[t]&&Pr&&Pr.exports)try{e=nt._abbr,Cr(),ct(e)}catch(e){st[t]=null}return st[t]}function ct(e,t){return e&&((t=s(t)?dt(e):ht(e,t))?nt=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),nt._abbr}function ht(e,t){if(null===t)return delete st[e],null;var r,n=it;if(t.abbr=e,null!=st[e])T("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=st[e]._config;else if(null!=t.parentLocale)if(null!=st[t.parentLocale])n=st[t.parentLocale]._config;else{if(null==(r=ut(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;n=r._config}return st[e]=new k(D(n,t)),at[e]&&at[e].forEach(function(e){ht(e.name,e.config)}),ct(e),st[e]}function dt(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return nt;if(!a(e)){if(t=ut(e))return t;e=[e]}return lt(e)}function ft(e){var t=e._a;return t&&-2===p(e).overflow&&(t=t[we]<0||11<t[we]?we:t[Se]<1||t[Se]>Ne(t[ve],t[we])?Se:t[be]<0||24<t[be]||24===t[be]&&(0!==t[Ee]||0!==t[Te]||0!==t[Me])?be:t[Ee]<0||59<t[Ee]?Ee:t[Te]<0||59<t[Te]?Te:t[Me]<0||999<t[Me]?Me:-1,p(e)._overflowDayOfYear&&(t<ve||Se<t)&&(t=Se),p(e)._overflowWeeks&&-1===t&&(t=De),p(e)._overflowWeekday&&-1===t&&(t=ke),p(e).overflow=t),e}var mt=/^\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)?)?$/,pt=/^\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)?)?$/,gt=/Z|[+-]\d\d(?::?\d\d)?/,yt=[["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]],_t=[["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/]],vt=/^\/?Date\((-?\d+)/i,wt=/^(?:(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}))$/,St={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e){var t,r,n,i,s,a,o=e._i,l=mt.exec(o)||pt.exec(o);if(l){for(p(e).iso=!0,t=0,r=yt.length;t<r;t++)if(yt[t][1].exec(l[1])){i=yt[t][0],n=!1!==yt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,r=_t.length;t<r;t++)if(_t[t][1].exec(l[3])){s=(l[2]||" ")+_t[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!gt.exec(l[4]))return e._isValid=!1;a="Z"}e._f=i+(s||"")+(a||""),kt(e)}else e._isValid=!1}function Et(e,t,r,n,i,s){i=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),Ce.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&i.push(parseInt(s,10)),i}function Tt(e){var t,r,n,i,s=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Et(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],n=t,i=e,r&&ze.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()?(p(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(i=s[8],t=s[9],s=s[10],i?St[i]:t?0:((t=parseInt(s,10))-(s=t%100))/100*60+s),e._d=Be.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),p(e).rfc2822=!0)):e._isValid=!1}function Mt(e,t,r){return null!=e?e:null!=t?t:r}function Dt(e){var t,r,n,i,s,a,o,l,u,c,h,d,f=[];if(!e._d){for(h=e,d=new Date(m.now()),r=h._useUTC?[d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()]:[d.getFullYear(),d.getMonth(),d.getDate()],e._w&&null==e._a[Se]&&null==e._a[we]&&(null!=(h=(i=e)._w).GG||null!=h.W||null!=h.E?(l=1,u=4,s=Mt(h.GG,i._a[ve],We(Ct(),1,4).year),a=Mt(h.W,1),((o=Mt(h.E,1))<1||7<o)&&(c=!0)):(l=i._locale._week.dow,u=i._locale._week.doy,d=We(Ct(),l,u),s=Mt(h.gg,i._a[ve],d.year),a=Mt(h.w,d.week),null!=h.d?((o=h.d)<0||6<o)&&(c=!0):null!=h.e?(o=h.e+l,(h.e<0||6<h.e)&&(c=!0)):o=l),a<1||a>Ve(s,l,u)?p(i)._overflowWeeks=!0:null!=c?p(i)._overflowWeekday=!0:(u=je(s,a,o,l,u),i._a[ve]=u.year,i._dayOfYear=u.dayOfYear)),null!=e._dayOfYear&&(n=Mt(e._a[ve],r[ve]),(e._dayOfYear>Re(n)||0===e._dayOfYear)&&(p(e)._overflowDayOfYear=!0),n=Be(n,0,e._dayOfYear),e._a[we]=n.getUTCMonth(),e._a[Se]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=f[t]=r[t];for(;t<7;t++)e._a[t]=f[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[be]&&0===e._a[Ee]&&0===e._a[Te]&&0===e._a[Me]&&(e._nextDay=!0,e._a[be]=0),e._d=(e._useUTC?Be:Ie).apply(null,f),n=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[be]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(p(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],p(e).empty=!0;for(var t,r,n=""+e._i,i=n.length,s=0,a=A(e._f,e._locale).match(C)||[],o=0;o<a.length;o++)r=a[o],(t=(n.match(de(r,e))||[])[0])&&(0<(h=n.substr(0,n.indexOf(t))).length&&p(e).unusedInput.push(h),n=n.slice(n.indexOf(t)+t.length),s+=t.length),L[r]?(t?p(e).empty=!1:p(e).unusedTokens.push(r),c=r,d=e,null!=(h=t)&&f(pe,c)&&pe[c](h,d._a,d,c)):e._strict&&!t&&p(e).unusedTokens.push(r);p(e).charsLeftOver=i-s,0<n.length&&p(e).unusedInput.push(n),e._a[be]<=12&&!0===p(e).bigHour&&0<e._a[be]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[be]=(l=e._locale,u=e._a[be],null==(i=e._meridiem)?u:null!=l.meridiemHour?l.meridiemHour(u,i):null!=l.isPM?((i=l.isPM(i))&&u<12&&(u+=12),u=i||12!==u?u:0):u),null!==(u=p(e).era)&&(e._a[ve]=e._locale.erasConvertYear(u,e._a[ve])),Dt(e),ft(e)}else Tt(e);else bt(e);var l,u,c,h,d}function Nt(e){var t=e._i,r=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===r&&""===t?g({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new w(ft(t)):(i(t)?e._d=t:a(r)?function(e){var t,r,n,i,s,a,o=!1;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)s=0,a=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],kt(t),d(t)&&(a=!0),s+=p(t).charsLeftOver,s+=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));c(e,r||t)}(e):r?kt(e):s(r=(t=e)._i)?t._d=new Date(m.now()):i(r)?t._d=new Date(r.valueOf()):"string"==typeof r?function(e){var t=vt.exec(e._i);null===t?(bt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:m.createFromInputFallback(e)))):e._d=new Date(+t[1])}(t):a(r)?(t._a=n(r.slice(0),function(e){return parseInt(e,10)}),Dt(t)):o(r)?function(e){var t,r;e._d||(r=void 0===(t=B(e._i)).day?t.date:t.day,e._a=n([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),Dt(e))}(t):u(r)?t._d=new Date(r):m.createFromInputFallback(t),d(e)||(e._d=null),e))}function Ot(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),(o(e)&&l(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,(s=new w(ft(Nt(s=s))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function Ct(e,t,r,n){return Ot(e,t,r,n,!1)}m.createFromInputFallback=r("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(){};var Pt=r("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),xt=r("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Ct.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function Lt(e,t){var r,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return Ct();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Yt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Ft(e){var t=B(e),r=t.year||0,n=t.quarter||0,i=t.month||0,s=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,e=t.millisecond||0;this._isValid=function(e){var t,r,n=!1;for(t in e)if(f(e,t)&&(-1===_e.call(Yt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<Yt.length;++r)if(e[Yt[r]]){if(n)return!1;parseFloat(e[Yt[r]])!==$(e[Yt[r]])&&(n=!0)}return!0}(t),this._milliseconds=+e+1e3*u+6e4*l+1e3*o*60*60,this._days=+a+7*s,this._months=+i+3*n+12*r,this._data={},this._locale=dt(),this._bubble()}function At(e){return e instanceof Ft}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ut(e,r){Y(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+O(~~(e/60),2)+r+O(~~e%60,2)})}Ut("Z",":"),Ut("ZZ",""),he("Z",ue),he("ZZ",ue),ge(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Bt(ue,e)});var It=/([\+\-]|\d\d)/gi;function Bt(e,t){var t=(t||"").match(e);return null===t?null:0===(t=60*(e=((t[t.length-1]||[])+"").match(It)||["-",0,0])[1]+$(e[2]))?0:"+"===e[0]?t:-t}function Gt(e,t){var r;return t._isUTC?(r=t.clone(),t=(S(e)||i(e)?e:Ct(e)).valueOf()-r.valueOf(),r._d.setTime(r._d.valueOf()+t),m.updateOffset(r,!1),r):Ct(e).local()}function jt(e){return-Math.round(e._d.getTimezoneOffset())}function Wt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$t=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var r,n,i=e,s=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Vt.exec(e))?(r="-"===s[1]?-1:1,i={y:0,d:$(s[Se])*r,h:$(s[be])*r,m:$(s[Ee])*r,s:$(s[Te])*r,ms:$(Rt(1e3*s[Me]))*r}):(s=$t.exec(e))?(r="-"===s[1]?-1:1,i={y:zt(s[2],r),M:zt(s[3],r),w:zt(s[4],r),d:zt(s[5],r),h:zt(s[6],r),m:zt(s[7],r),s:zt(s[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(s=Ct(i.from),r=Ct(i.to),n=s.isValid()&&r.isValid()?(r=Gt(r,s),s.isBefore(r)?n=Zt(s,r):((n=Zt(r,s)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=n.milliseconds,i.M=n.months),i=new Ft(i),At(e)&&f(e,"_locale")&&(i._locale=e._locale),At(e)&&f(e,"_isValid")&&(i._isValid=e._isValid),i}function zt(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 Xt(n,i){return function(e,t){var r;return null===t||isNaN(+t)||(T(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),qt(this,Ht(e,t),n),this}}function qt(e,t,r,n){var i=t._milliseconds,s=Rt(t._days),t=Rt(t._months);e.isValid()&&(n=null==n||n,t&&Ye(e,z(e,"Month")+t*r),s&&Z(e,"Date",z(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&m.updateOffset(e,s||t))}Ht.fn=Ft.prototype,Ht.invalid=function(){return Ht(NaN)};var Kt=Xt(1,"add"),ce=Xt(-1,"subtract");function Jt(e){return"string"==typeof e||e instanceof String}function Qt(e){return S(e)||i(e)||Jt(e)||u(e)||(r=a(t=e),n=!1,r&&(n=0===t.filter(function(e){return!u(e)&&Jt(t)}).length),r&&n)||function(e){var t,r,n=o(e)&&!l(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"];for(t=0;t<s.length;t+=1)r=s[t],i=i||f(e,r);return n&&i}(e)||null==e;var t,r,n}function er(e,t){if(e.date()<t.date())return-er(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function tr(e){return void 0===e?this._locale._abbr:(null!=(e=dt(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";te=r("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)});function rr(){return this._locale}var nr=126227808e5;function ir(e,t){return(e%t+t)%t}function sr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-nr:new Date(e,t,r).valueOf()}function ar(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-nr:Date.UTC(e,t,r)}function or(e,t){return t.erasAbbrRegex(e)}function lr(){for(var e=[],t=[],r=[],n=[],i=this.eras(),s=0,a=i.length;s<a;++s)t.push(fe(i[s].name)),e.push(fe(i[s].abbr)),r.push(fe(i[s].narrow)),n.push(fe(i[s].name)),n.push(fe(i[s].abbr)),n.push(fe(i[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ur(e,t){Y(0,[e,e.length],0,t)}function cr(e,t,r,n,i){var s;return null==e?We(this,n,i).year:(t>(s=Ve(e,n,i))&&(t=s),function(e,t,r,n,i){i=je(e,t,r,n,i),i=Be(i.year,0,i.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}.call(this,e,t,r,n,i))}Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),he("N",or),he("NN",or),he("NNN",or),he("NNNN",function(e,t){return t.erasNameRegex(e)}),he("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),ge(["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}),he("y",ae),he("yy",ae),he("yyy",ae),he("yyyy",ae),he("yo",function(e,t){return t._eraYearOrdinalRegex||ae}),ge(["y","yy","yyy","yyyy"],ve),ge(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ve]=r._locale.eraYearOrdinalParse(e,i):t[ve]=parseInt(e,10)}),Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ur("gggg","weekYear"),ur("ggggg","weekYear"),ur("GGGG","isoWeekYear"),ur("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),he("G",oe),he("g",oe),he("GG",ee,q),he("gg",ee,q),he("GGGG",ie,J),he("gggg",ie,J),he("GGGGG",se,Q),he("ggggg",se,Q),ye(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=$(e)}),ye(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),U("quarter","Q"),j("quarter",7),he("Q",X),ge("Q",function(e,t){t[we]=3*($(e)-1)}),Y("D",["DD",2],"Do","date"),U("date","D"),j("date",9),he("D",ee),he("DD",ee,q),he("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),ge(["D","DD"],Se),ge("Do",function(e,t){t[Se]=$(e.match(ee)[0])});re=H("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),j("dayOfYear",4),he("DDD",ne),he("DDDD",K),ge(["DDD","DDDD"],function(e,t,r){r._dayOfYear=$(e)}),Y("m",["mm",2],0,"minute"),U("minute","m"),j("minute",14),he("m",ee),he("mm",ee,q),ge(["m","mm"],Ee);Oe=H("Minutes",!1);Y("s",["ss",2],0,"second"),U("second","s"),j("second",15),he("s",ee),he("ss",ee,q),ge(["s","ss"],Te);var hr,He=H("Seconds",!1);for(Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),U("millisecond","ms"),j("millisecond",16),he("S",ne,X),he("SS",ne,q),he("SSS",ne,K),hr="SSSS";hr.length<=9;hr+="S")he(hr,ae);function dr(e,t){t[Me]=$(1e3*("0."+e))}for(hr="S";hr.length<=9;hr+="S")ge(hr,dr);Ze=H("Milliseconds",!1),Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");ie=w.prototype;function fr(e){return e}ie.add=Kt,ie.calendar=function(e,t){1===arguments.length&&(arguments[0]?Qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=o(e)&&!l(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<n.length;i+=1)r=r||f(e,n[i]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var r=e||Ct(),e=Gt(r,this).startOf("day"),e=m.calendarFormat(this,e)||"sameElse",t=t&&(M(t[e])?t[e].call(this,r):t[e]);return this.format(t||this.localeData().calendar(e,this,Ct(r)))},ie.clone=function(){return new w(this)},ie.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=Gt(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=I(t)){case"year":s=er(this,n)/12;break;case"month":s=er(this,n);break;case"quarter":s=er(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:V(s)},ie.endOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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-ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-ir(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-ir(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=F(this,e),this.localeData().postformat(e)},ie.from=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ct(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.fromNow=function(e){return this.from(Ct(),e)},ie.to=function(e,t){return this.isValid()&&(S(e)&&e.isValid()||Ct(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},ie.toNow=function(e){return this.to(Ct(),e)},ie.get=function(e){return M(this[e=I(e)])?this[e]():this},ie.invalidAt=function(){return p(this).overflow},ie.isAfter=function(e,t){return e=S(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},ie.isBefore=function(e,t){return e=S(e)?e:Ct(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},ie.isBetween=function(e,t,r,n){return e=S(e)?e:Ct(e),t=S(t)?t:Ct(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))},ie.isSame=function(e,t){var e=S(e)?e:Ct(e);return!(!this.isValid()||!e.isValid())&&("millisecond"===(t=I(t)||"millisecond")?this.valueOf()===e.valueOf():(e=e.valueOf(),this.clone().startOf(t).valueOf()<=e&&e<=this.clone().endOf(t).valueOf()))},ie.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},ie.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},ie.isValid=function(){return d(this)},ie.lang=te,ie.locale=tr,ie.localeData=rr,ie.max=xt,ie.min=Pt,ie.parsingFlags=function(){return c({},p(this))},ie.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)f(e,t)&&r.push({unit:t,priority:G[t]});return r.sort(function(e,t){return e.priority-t.priority}),r}(e=B(e)),n=0;n<r.length;n++)this[r[n].unit](e[r[n].unit]);else if(M(this[e=I(e)]))return this[e](t);return this},ie.startOf=function(e){var t,r;if(void 0===(e=I(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?ar:sr,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-=ir(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=ir(t,6e4);break;case"second":t=this._d.valueOf(),t-=ir(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},ie.subtract=ce,ie.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},ie.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()}},ie.toDate=function(){return new Date(this.valueOf())},ie.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e;return(e=t?this.clone().utc():this).year()<0||9999<e.year()?F(e,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(e,"Z")):F(e,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},ie.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+t+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(ie[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ie.toJSON=function(){return this.isValid()?this.toISOString():null},ie.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},ie.unix=function(){return Math.floor(this.valueOf()/1e3)},ie.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},ie.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},ie.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""},ie.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""},ie.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""},ie.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()},ie.year=Ue,ie.isLeapYear=function(){return W(this.year())},ie.weekYear=function(e){return cr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},ie.isoWeekYear=function(e){return cr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},ie.quarter=ie.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},ie.month=Fe,ie.daysInMonth=function(){return Ne(this.year(),this.month())},ie.week=ie.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},ie.isoWeek=ie.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},ie.weeksInYear=function(){var e=this.localeData()._week;return Ve(this.year(),e.dow,e.doy)},ie.weeksInWeekYear=function(){var e=this.localeData()._week;return Ve(this.weekYear(),e.dow,e.doy)},ie.isoWeeksInYear=function(){return Ve(this.year(),1,4)},ie.isoWeeksInISOWeekYear=function(){return Ve(this.isoWeekYear(),1,4)},ie.date=re,ie.day=ie.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},ie.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},ie.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=(t=e,e=this.localeData(),"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t);return this.day(this.day()%7?t:t-7)},ie.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")},ie.hour=ie.hours=rt,ie.minute=ie.minutes=Oe,ie.second=ie.seconds=He,ie.millisecond=ie.milliseconds=Ze,ie.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:jt(this);if("string"==typeof e){if(null===(e=Bt(ue,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=jt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?qt(this,Ht(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},ie.utc=function(e){return this.utcOffset(0,e)},ie.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(jt(this),"m")),this},ie.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Bt(le,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},ie.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},ie.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},ie.isLocal=function(){return!!this.isValid()&&!this._isUTC},ie.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},ie.isUtc=Wt,ie.isUTC=Wt,ie.zoneAbbr=function(){return this._isUTC?"UTC":""},ie.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},ie.dates=r("dates accessor is deprecated. Use date instead.",re),ie.months=r("months accessor is deprecated. Use month instead",Fe),ie.years=r("years accessor is deprecated. Use year instead",Ue),ie.zone=r("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()}),ie.isDSTShifted=r("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Nt(t))._a?(e=(t._isUTC?h:Ct)(t._a),this._isDSTShifted=this.isValid()&&0<function(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&&$(e[a])!==$(t[a]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});J=k.prototype;function mr(e,t,r,n){var i=dt(),t=h().set(n,t);return i[r](t,e)}function pr(e,t,r){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mr(e,t,r,"month");for(var n=[],i=0;i<12;i++)n[i]=mr(e,i,r,"month");return n}function gr(e,t,r,n){t=("boolean"==typeof e||(r=t=e,e=!1),u(t)&&(r=t,t=void 0),t||"");var i,s=dt(),a=e?s._week.dow:0,o=[];if(null!=r)return mr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=mr(t,(i+a)%7,n,"day");return o}J.calendar=function(e,t,r){return M(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},J.longDateFormat=function(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(C).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},J.invalidDate=function(){return this._invalidDate},J.ordinal=function(e){return this._ordinal.replace("%d",e)},J.preparse=fr,J.postformat=fr,J.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return M(i)?i(e,t,r,n):i.replace(/%d/i,e)},J.pastFuture=function(e,t){return M(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},J.set=function(e){var t,r;for(r in e)f(e,r)&&(M(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)},J.eras=function(e,t){for(var r,n=this._eras||dt("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},J.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]},J.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},J.erasAbbrRegex=function(e){return f(this,"_erasAbbrRegex")||lr.call(this),e?this._erasAbbrRegex:this._erasRegex},J.erasNameRegex=function(e){return f(this,"_erasNameRegex")||lr.call(this),e?this._erasNameRegex:this._erasRegex},J.erasNarrowRegex=function(e){return f(this,"_erasNarrowRegex")||lr.call(this),e?this._erasNarrowRegex:this._erasRegex},J.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Pe).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},J.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Pe.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},J.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=_e.call(this._shortMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=_e.call(this._shortMonthsParse,e))||-1!==(i=_e.call(this._longMonthsParse,e))?i:null:-1!==(i=_e.call(this._longMonthsParse,e))||-1!==(i=_e.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}},J.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Le),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},J.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||Ae.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=xe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},J.week=function(e){return We(e,this._week.dow,this._week.doy).week},J.firstDayOfYear=function(){return this._week.doy},J.firstDayOfWeek=function(){return this._week.dow},J.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?$e(t,this._week.dow):e?t[e.day()]:t},J.weekdaysMin=function(e){return!0===e?$e(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},J.weekdaysShort=function(e){return!0===e?$e(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},J.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=_e.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=_e.call(this._shortWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.call(this._minWeekdaysParse,e))?i:null:-1!==(i=_e.call(this._minWeekdaysParse,e))||-1!==(i=_e.call(this._weekdaysParse,e))||-1!==(i=_e.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}},J.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},J.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=qe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},J.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Je.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ke),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},J.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},J.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ct("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===$(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),m.lang=r("moment.lang is deprecated. Use moment.locale instead.",ct),m.langData=r("moment.langData is deprecated. Use moment.localeData instead.",dt);var yr=Math.abs;function _r(e,t,r,n){r=Ht(t,r);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}function vr(e){return e<0?Math.floor(e):Math.ceil(e)}function wr(e){return 4800*e/146097}function Sr(e){return 146097*e/4800}function br(e){return function(){return this.as(e)}}se=br("ms"),Q=br("s"),X=br("m"),q=br("h"),ne=br("d"),K=br("w"),Kt=br("M"),xt=br("Q"),Pt=br("y");function Er(e){return function(){return this.isValid()?this._data[e]:NaN}}ce=Er("milliseconds"),rt=Er("seconds"),Oe=Er("minutes"),He=Er("hours"),Ze=Er("days"),re=Er("months"),Ue=Er("years");var Tr=Math.round,Mr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Dr(e,t,r,n){var i=Ht(e).abs(),s=Tr(i.as("s")),a=Tr(i.as("m")),o=Tr(i.as("h")),l=Tr(i.as("d")),u=Tr(i.as("M")),c=Tr(i.as("w")),i=Tr(i.as("y")),l=(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(l=(l=null!=r.w?l||c<=1&&["w"]||c<r.w&&["ww",c]:l)||u<=1&&["M"]||u<r.M&&["MM",u]||i<=1&&["y"]||["yy",i])[2]=t,l[3]=0<+e,l[4]=n,function(e,t,r,n,i){return i.relativeTime(t||1,!!r,e,n)}.apply(null,l)}var kr=Math.abs;function Nr(e){return(0<e)-(e<0)||+e}function Or(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o=kr(this._milliseconds)/1e3,l=kr(this._days),u=kr(this._months),c=this.asSeconds();return c?(e=V(o/60),t=V(e/60),o%=60,e%=60,r=V(u/12),u%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Nr(this._months)!==Nr(c)?"-":"",s=Nr(this._days)!==Nr(c)?"-":"",a=Nr(this._milliseconds)!==Nr(c)?"-":"",(c<0?"-":"")+"P"+(r?i+r+"Y":"")+(u?i+u+"M":"")+(l?s+l+"D":"")+(t||e||o?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(o?a+n+"S":"")):"P0D"}J=Ft.prototype;return J.isValid=function(){return this._isValid},J.abs=function(){var e=this._data;return this._milliseconds=yr(this._milliseconds),this._days=yr(this._days),this._months=yr(this._months),e.milliseconds=yr(e.milliseconds),e.seconds=yr(e.seconds),e.minutes=yr(e.minutes),e.hours=yr(e.hours),e.months=yr(e.months),e.years=yr(e.years),this},J.add=function(e,t){return _r(this,e,t,1)},J.subtract=function(e,t){return _r(this,e,t,-1)},J.as=function(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if("month"===(e=I(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,r=this._months+wr(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Sr(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)}},J.asMilliseconds=se,J.asSeconds=Q,J.asMinutes=X,J.asHours=q,J.asDays=ne,J.asWeeks=K,J.asMonths=Kt,J.asQuarters=xt,J.asYears=Pt,J.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*$(this._months/12):NaN},J._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*vr(Sr(r)+t),r=t=0),n.milliseconds=e%1e3,e=V(e/1e3),n.seconds=e%60,e=V(e/60),n.minutes=e%60,e=V(e/60),n.hours=e%24,t+=V(e/24),r+=e=V(wr(t)),t-=vr(Sr(e)),e=V(r/12),r%=12,n.days=t,n.months=r,n.years=e,this},J.clone=function(){return Ht(this)},J.get=function(e){return e=I(e),this.isValid()?this[e+"s"]():NaN},J.milliseconds=ce,J.seconds=rt,J.minutes=Oe,J.hours=He,J.days=Ze,J.weeks=function(){return V(this.days()/7)},J.months=re,J.years=Ue,J.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Mr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(n=Object.assign({},Mr,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),n=Dr(this,!r,n,t=this.localeData()),r&&(n=t.pastFuture(+this,n)),t.postformat(n)},J.toISOString=Or,J.toString=Or,J.toJSON=Or,J.locale=tr,J.localeData=rr,J.toIsoString=r("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),J.lang=te,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),he("x",oe),he("X",/[+-]?\d+(\.\d{1,3})?/),ge("X",function(e,t,r){r._d=new Date(1e3*parseFloat(e))}),ge("x",function(e,t,r){r._d=new Date($(e))}),m.version="2.29.1",e=Ct,m.fn=ie,m.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},m.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},m.now=function(){return Date.now?Date.now():+new Date},m.utc=h,m.unix=function(e){return Ct(1e3*e)},m.months=function(e,t){return pr(e,t,"months")},m.isDate=i,m.locale=ct,m.invalid=g,m.duration=Ht,m.isMoment=S,m.weekdays=function(e,t,r){return gr(e,t,r,"weekdays")},m.parseZone=function(){return Ct.apply(null,arguments).parseZone()},m.localeData=dt,m.isDuration=At,m.monthsShort=function(e,t){return pr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return gr(e,t,r,"weekdaysMin")},m.defineLocale=ht,m.updateLocale=function(e,t){var r,n;return null!=t?(n=it,null!=st[e]&&null!=st[e].parentLocale?st[e].set(D(st[e]._config,t)):(t=D(n=null!=(r=ut(e))?r._config:n,t),null==r&&(t.abbr=e),(t=new k(t)).parentLocale=st[e],st[e]=t),ct(e)):null!=st[e]&&(null!=st[e].parentLocale?(st[e]=st[e].parentLocale,e===ct()&&ct(e)):null!=st[e]&&delete st[e]),st[e]},m.locales=function(){return N(st)},m.weekdaysShort=function(e,t,r){return gr(e,t,r,"weekdaysShort")},m.normalizeUnits=I,m.relativeTimeRounding=function(e){return void 0===e?Tr:"function"==typeof e&&(Tr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mr[e]&&(void 0===t?Mr[e]:(Mr[e]=t,"s"===e&&(Mr.ss=t-1),!0))},m.calendarFormat=function(e,t){return(t=e.diff(t,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},m.prototype=ie,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}(),u.exports);const c=[];function w(n,i=ft){let s;const a=[];function o(e){if(r(n,e)&&(n=e,s)){const e=!c.length;for(let e=0;e<a.length;e+=1){const t=a[e];t[1](),c.push(t,n)}if(e){for(let e=0;e<c.length;e+=2)c[e][0](c[e+1]);c.length=0}}}return{set:o,update:function(e){o(e(n))},subscribe:function(e,t=ft){const r=[e,t];return a.push(r),1===a.length&&(s=i(o)||ft),e(n),()=>{var e=a.indexOf(r);-1!==e&&a.splice(e,1),0===a.length&&(s(),s=null)}}}}function S(e,o,t){const l=!Array.isArray(e),u=l?[e]:e,c=o.length<2;return{subscribe:w(t,t=>{let r=!1;const n=[];let i=0,s=ft;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),c?t(e):s=f(e)?e:ft)},e=u.map((e,t)=>L(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){mt(e),s()}}).subscribe}}var b=function(e){return!(!e||"object"!=typeof e||(t=e,"[object RegExp]"===(e=Object.prototype.toString.call(t))||"[object Date]"===e||t.$$typeof===E));var t},E="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function T(e,t){return!1!==t.clone&&t.isMergeableObject(e)?O(Array.isArray(e)?[]:{},e,t):e}function M(e,t,r){return e.concat(t).map(function(e){return T(e,r)})}function D(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function k(e,t){try{return t in e}catch(e){return!1}}function N(n,i,s){var a={};return s.isMergeableObject(n)&&D(n).forEach(function(e){a[e]=T(n[e],s)}),D(i).forEach(function(t){var e,r;(!k(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(k(n,t)&&s.isMergeableObject(i[t])?a[t]=function(){if(!s.customMerge)return O;var e=s.customMerge(t);return"function"==typeof e?e:O}()(n[t],i[t],s):a[t]=T(i[t],s))}),a}function O(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||M,r.isMergeableObject=r.isMergeableObject||b,r.cloneUnlessOtherwiseSpecified=T;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):N(e,t,r):T(t,r)}O.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,t){return O(e,t,r)},{})};var C=O,P=function(e,t){return(P=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 x(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}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var R,U,I,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 G(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e}function j(e){return e.type===U.literal}function W(e){return e.type===U.number}function V(e){return e.type===U.date}function $(e){return e.type===U.time}function H(e){return e.type===U.select}function z(e){return e.type===U.plural}function Z(e){return e.type===U.tag}function X(e){return e&&"object"==typeof e&&e.type===I.number}function q(e){return e&&"object"==typeof e&&e.type===I.dateTime}(pe=R=R||{})[pe.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",pe[pe.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",pe[pe.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",pe[pe.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",pe[pe.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",pe[pe.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",pe[pe.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",pe[pe.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",pe[pe.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",pe[pe.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",pe[pe.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",pe[pe.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",pe[pe.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",pe[pe.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",pe[pe.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",pe[pe.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",pe[pe.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",pe[pe.INVALID_TAG=23]="INVALID_TAG",pe[pe.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",pe[pe.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",pe[pe.UNCLOSED_TAG=27]="UNCLOSED_TAG",(ge=U=U||{})[ge.literal=0]="literal",ge[ge.argument=1]="argument",ge[ge.number=2]="number",ge[ge.date=3]="date",ge[ge.time=4]="time",ge[ge.select=5]="select",ge[ge.plural=6]="plural",ge[ge.pound=7]="pound",ge[ge.tag=8]="tag",(ye=I=I||{})[ye.number=0]="number",ye[ye.dateTime=1]="dateTime";var K=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,J=/(?:[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 Q,ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,re=/^(@+)?(\+|#+)?$/g,ne=/(\*)(0+)|(#+)(0+)|(0+)/g,ie=/^(0+)$/;function se(e){var n={};return e.replace(re,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 ae(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 oe(e){return ae(e)||{}}function le(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),oe(t))},{}));continue;case"engineering":a=B(B(B({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return B(B({},e),oe(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(ie.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(te.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(te,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),""}),i.options.length&&(a=B(B({},a),se(i.options[0])))}else re.test(i.stem)?a=B(B({},a),se(i.stem)):((n=ae(i.stem))&&(a=B(B({},a),n)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!ie.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 ue=new RegExp("^"+K.source+"*"),ce=new RegExp(K.source+"*$");function he(e,t){return{start:e,end:t}}var de=!!String.prototype.startsWith,fe=!!String.fromCodePoint,me=!!Object.fromEntries,pe=!!String.prototype.codePointAt,ge=!!String.prototype.trimStart,ye=!!String.prototype.trimEnd,_e=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},K=!0;try{K="a"===(null===(Q=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Q?void 0:Q[0])}catch(ft){K=!1}var ve,we,Se=de?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},be=fe?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},Ee=me?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],s=i[0],i=i[1];t[s]=i}return t},Te=pe?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||r<=t)){var n,i=e.charCodeAt(t);return i<55296||56319<i||t+1===r||(n=e.charCodeAt(t+1))<56320||57343<n?i:n-56320+(i-55296<<10)+65536}},Me=ge?function(e){return e.trimStart()}:function(e){return e.replace(ue,"")},De=ye?function(e){return e.trimEnd()}:function(e){return e.replace(ce,"")};function ke(e,t){return new RegExp(e,t)}we=K?(ve=ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return ve.lastIndex=t,null!==(e=ve.exec(e)[1])&&void 0!==e?e:""}):function(e,t){for(var r,n=[];;){var i=Te(e,t);if(void 0===i||Pe(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 be.apply(void 0,n)};var Ne=(Oe.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},Oe.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(R.UNMATCHED_CLOSING_TAG,he(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Ce(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{s=this.clonePosition();this.bump(),n.push({type:U.pound,location:he(s,this.clonePosition())})}}}return{val:n,err:null}},Oe.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<"+n+"/>",location:he(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;e=i.val,t=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ce(this.char()))return this.error(R.INVALID_TAG,he(t,this.clonePosition()));i=this.clonePosition();return n!==this.parseTagName()?this.error(R.UNMATCHED_CLOSING_TAG,he(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:n,children:e,location:he(r,this.clonePosition())},err:null}:this.error(R.INVALID_TAG,he(t,this.clonePosition())))}return this.error(R.UNCLOSED_TAG,he(r,this.clonePosition()))}return this.error(R.INVALID_TAG,he(r,this.clonePosition()))},Oe.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())},Oe.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=he(r,this.clonePosition());return{val:{type:U.literal,value:n,location:r},err:null}},Oe.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Ce(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},Oe.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 be.apply(void 0,t)},Oe.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),be(r))},Oe.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(R.EMPTY_ARGUMENT,he(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:n,location:he(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(R.MALFORMED_ARGUMENT,he(r,this.clonePosition()))}},Oe.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=we(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:he(e,this.clonePosition())}},Oe.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(R.EXPECT_ARGUMENT_TYPE,he(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((d=this.parseSimpleArgStyleIfPossible()).err)return d;if(0===(h=De(d.val)).length)return this.error(R.EXPECT_ARGUMENT_STYLE,he(this.clonePosition(),this.clonePosition()));l={style:h,styleLocation:he(u,this.clonePosition())}}if((f=this.tryParseArgumentClose(n)).err)return f;var c=he(n,this.clonePosition());if(l&&Se(null==l?void 0:l.style,"::",0)){u=Me(l.style.slice(2));if("number"===a)return(d=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?d:{val:{type:U.number,value:r,location:c,style:d.val},err:null};if(0===u.length)return this.error(R.EXPECT_DATE_TIME_SKELETON,c);var h={type:I.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(J,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):{}};return{val:{type:"date"===a?U.date:U.time,value:r,location:c,style:h},err:null}}return{val:{type:"number"===a?U.number:"date"===a?U.date:U.time,value:r,location:c,style:null!==(c=null==l?void 0:l.style)&&void 0!==c?c:null},err:null};case"plural":case"selectordinal":case"select":l=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(R.EXPECT_SELECT_ARGUMENT_OPTIONS,he(l,B({},l)));this.bumpSpace();var d,c=this.parseIdentifierIfPossible(),l=0;if("select"!==a&&"offset"===c.value){if(!this.bumpIf(":"))return this.error(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,he(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(d=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,R.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return d;this.bumpSpace(),c=this.parseIdentifierIfPossible(),l=d.val}c=this.tryParsePluralOrSelectOptions(e,a,t,c);if(c.err)return c;if((f=this.tryParseArgumentClose(n)).err)return f;var f=he(n,this.clonePosition());return"select"===a?{val:{type:U.select,value:r,options:Ee(c.val),location:f},err:null}:{val:{type:U.plural,value:r,options:Ee(c.val),offset:l,pluralType:"plural"===a?"cardinal":"ordinal",location:f},err:null};default:return this.error(R.INVALID_ARGUMENT_TYPE,he(s,o))}},Oe.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(R.EXPECT_ARGUMENT_CLOSING_BRACE,he(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},Oe.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(R.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,he(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}},Oe.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(ee).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(R.INVALID_NUMBER_SKELETON,t)}return{val:{type:I.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?le(r):{}},err:null}},Oe.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 u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var c=this.tryParseDecimalInteger(R.EXPECT_PLURAL_ARGUMENT_SELECTOR,R.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;l=he(u,this.clonePosition()),o=this.message.slice(u.offset,this.offset())}if(a.has(o))return this.error("select"===t?R.DUPLICATE_SELECT_ARGUMENT_SELECTOR:R.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(i=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:R.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,he(this.clonePosition(),this.clonePosition()));c=this.parseMessage(e+1,t,r);if(c.err)return c;u=this.tryParseArgumentClose(h);if(u.err)return u;s.push([o,{value:c.val,location:he(h,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(h=this.parseIdentifierIfPossible()).value,l=h.location}return 0===s.length?this.error("select"===t?R.EXPECT_SELECT_ARGUMENT_SELECTOR:R.EXPECT_PLURAL_ARGUMENT_SELECTOR,he(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(R.MISSING_OTHER_CLAUSE,he(this.clonePosition(),this.clonePosition())):{val:s,err:null}},Oe.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=he(n,this.clonePosition());return i?_e(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},Oe.prototype.offset=function(){return this.position.offset},Oe.prototype.isEOF=function(){return this.offset()===this.message.length},Oe.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},Oe.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Te(this.message,e);if(void 0===t)throw Error("Offset "+e+" is at invalid UTF-16 code unit boundary");return t},Oe.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},Oe.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))},Oe.prototype.bumpIf=function(e){if(Se(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},Oe.prototype.bumpUntil=function(e){var t=this.offset(),t=this.message.indexOf(e,t);return 0<=t?(this.bumpTo(t),!0):(this.bumpTo(this.message.length),!1)},Oe.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset "+e+" must be greater than or equal to the current offset "+this.offset());for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(e<t)throw Error("targetOffset "+e+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},Oe.prototype.bumpSpace=function(){for(;!this.isEOF()&&Pe(this.char());)this.bump()},Oe.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),e=this.message.charCodeAt(t+(65536<=e?2:1));return null!=e?e:null},Oe);function Oe(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}function Ce(e){return 97<=e&&e<=122||65<=e&&e<=90}function Pe(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function xe(e,t){t=B({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r=new Ne(e,t).parse();if(r.err){e=SyntaxError(R[r.err.kind]);throw e.location=r.err.location,e.originalMessage=r.err.message,e}return null!=t&&t.captureLocation||function r(e){e.forEach(function(e){if(delete e.location,H(e)||z(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else W(e)&&X(e.style)||(V(e)||$(e))&&q(e.style)?delete e.style.location:Z(e)&&r(e.children)})}(r.val),r.val}function Le(e,t){var r=t&&t.cache?t.cache:Be,n=t&&t.serializer?t.serializer:Re;return(t&&t.strategy?t.strategy:function(e,t){return Ae(e,this,1===e.length?Ye:Fe,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Ye(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),r=t.get(i);return void 0===r&&(r=e.call(this,n),t.set(i,r)),r}function Fe(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),r=t.get(i);return void 0===r&&(r=e.apply(this,n),t.set(i,r)),r}function Ae(e,t,r,n,i){return r.bind(t,e,n,i)}var Re=function(){return JSON.stringify(arguments)};function Ue(){this.cache=Object.create(null)}Ue.prototype.has=function(e){return e in this.cache},Ue.prototype.get=function(e){return this.cache[e]},Ue.prototype.set=function(e,t){this.cache[e]=t};var Ie,Be={create:function(){return new Ue}},Ge={variadic:function(e,t){return Ae(e,this,Fe,t.cache.create(),t.serializer)},monadic:function(e,t){return Ae(e,this,Ye,t.cache.create(),t.serializer)}};(K=Ie=Ie||{}).MISSING_VALUE="MISSING_VALUE",K.INVALID_VALUE="INVALID_VALUE",K.MISSING_INTL_API="MISSING_INTL_API";var je,We,Ve,$e,He,ze=(x(et,He=Error),et.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},et),Ze=(x(Qe,$e=ze),Qe),Xe=(x(Je,Ve=ze),Je),qe=(x(Ke,We=ze),Ke);function Ke(e,t){return We.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',Ie.MISSING_VALUE,t)||this}function Je(e,t,r){return Ve.call(this,'Value for "'+e+'" must be of type '+t,Ie.INVALID_VALUE,r)||this}function Qe(e,t,r,n){return $e.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',Ie.INVALID_VALUE,n)||this}function et(e,t,r){e=He.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&&j(e[0]))return[{type:je.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];if(j(c))o.push({type:je.literal,value:c.value});else if(c.type===U.pound)"number"==typeof s&&o.push({type:je.literal,value:r.getNumberFormat(t).format(s)});else{var h=c.value;if(!(i&&h in i))throw new qe(h,a);var d=i[h];if(c.type===U.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?je.literal:je.object,value:d});else if(V(c)){var f="string"==typeof c.style?n.date[c.style]:q(c.style)?c.style.parsedOptions:void 0;o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)})}else if($(c))f="string"==typeof c.style?n.time[c.style]:q(c.style)?c.style.parsedOptions:void 0,o.push({type:je.literal,value:r.getDateTimeFormat(t,f).format(d)});else if(W(c))(f="string"==typeof c.style?n.number[c.style]:X(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),o.push({type:je.literal,value:r.getNumberFormat(t,f).format(d)});else{if(Z(c)){var m=c.children,p=c.value,h=i[p];if("function"!=typeof h)throw new Xe(p,"function",a);m=h(tt(m,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?je.literal:je.object,value:e}}))}if(H(c)){if(!(g=c.options[d]||c.options.other))throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i))}else if(z(c)){if(!(g=c.options["="+d])){if(!Intl.PluralRules)throw new ze('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Ie.MISSING_INTL_API,a);var m=r.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0)),g=c.options[m]||c.options.other}if(!g)throw new Ze(c.value,d,Object.keys(c.options),a);o.push.apply(o,tt(g.value,t,r,n,i,d-(c.offset||0)))}}}}return o.length<2?o:o.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===je.literal&&t.type===je.literal?r.value+=t.value:e.push(t),e},[])}function rt(r){return{create:function(){return{has:function(e){return e in r},get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(K=je=je||{})[K.literal=0]="literal",K[K.object=1]="object";var nt=(Object.defineProperty(it,"defaultLocale",{get:function(){return it.memoizedDefaultLocale||(it.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),it.memoizedDefaultLocale},enumerable:!1,configurable:!0}),it.memoizedDefaultLocale=null,it.__parse=xe,it.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"}}},it);function it(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=it.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===je.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return tt(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof e){if(this.message=e,!it.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=it.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag})}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=it.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.locales=t,this.formatters=n&&n.formatters||{getNumberFormat:Le(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,G([void 0],t)))},{cache:rt((n=void 0===(n=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:n).number),strategy:Ge.variadic}),getDateTimeFormat:Le(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,G([void 0],t)))},{cache:rt(n.dateTime),strategy:Ge.variadic}),getPluralRules:Le(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,G([void 0],t)))},{cache:rt(n.pluralRules),strategy:Ge.variadic})}}const st={},at=(t,r)=>{if(null!=r){if(r in st&&t in st[r])return st[r][t];var n,i,s=Rt(r);for(let e=0;e<s.length;e++){var a=(n=s[e],i=t,ut(n)?function(e,t){if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(0<e){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(function(e){return ot[e]||null}(n),i):null);if(a)return n=t,i=r,(a=a)&&(i in st||(st[i]={}),n in st[i]||(st[i][n]=a),a)}}};let ot;const lt=w({});function ut(e){return e in ot}function ct(t,...r){delete st[t],lt.update(e=>(e[t]=C.all([e[t]||{},...r]),e))}S([lt],([e])=>Object.keys(e)),lt.subscribe(e=>ot=e);const ht={};function dt(e){return ht[e]}function Nt(e){return Rt(e).some(e=>{return null===(e=dt(e))||void 0===e?void 0:e.size})}const Ot={};function Ct(e){if(!Nt(e))return e in Ot?Ot[e]:void 0;const t=Rt(e).map(e=>{var t=dt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Ot[e]=Promise.all(t.map(([e,r])=>function(t){return Promise.all(r.map(e=>(function(e,t){ht[e].delete(t),0===ht[e].size&&delete ht[e]}(t,e),e().then(e=>e.default||e)))).then(e=>ct(t,...e))}(e))).then(()=>Nt(e)?Ct(e):void delete Ot[e]),Ot[e]}function Pt(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const xt={fallbackLocale:null,initialLocale: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,ignoreTag:!0};const Lt=w(!1);let Yt;const Ft=w(null);function At(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Rt(e,t=xt.fallbackLocale){e=At(e);return t?[...new Set([...e,...At(t)])]:e}Ft.subscribe(e=>{Yt=e,"undefined"!=typeof window&&null!==e&&document.documentElement.setAttribute("lang",e)});const Ut=Ft.set;Ft.set=t=>{if(function(e){if(null!=e){var t=Rt(e);for(let e=0;e<t.length;e++){var r=t[e];if(ut(r))return r}}}(t)&&Nt(t)){var{loadingDelay:r}=xt;let e;return"undefined"!=typeof window&&null!=Yt&&r?e=window.setTimeout(()=>Lt.set(!0),r):Lt.set(!0),Ct(t).then(()=>{Ut(t)}).finally(()=>{clearTimeout(e),Lt.set(!1)})}return Ut(t)},Ft.update=e=>Ut(e(Yt));const It=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Bt=(e,t)=>{var{formats:r}=xt;if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Gt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Bt("number",r)),new Intl.NumberFormat(t,e)}),jt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Bt("date",r):0===Object.keys(e).length&&(e=Bt("date","short")),new Intl.DateTimeFormat(t,e)}),Wt=It(e=>{var{locale:t,format:r}=e,e=Pt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Bt("time",r):0===Object.keys(e).length&&(e=Bt("time","short")),new Intl.DateTimeFormat(t,e)}),Vt=It((e,t=Yt)=>new nt(e,t,xt.formats,{ignoreTag:xt.ignoreTag})),$t=S([Ft,lt],()=>(e,t={})=>{"object"==typeof e&&(e=(t=e).id);var{values:r,locale:n=Yt,default:i}=t;if(null==n)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=at(e,n);if(s){if("string"!=typeof s)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else xt.warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Rt(n).join('", "')}".${Nt(Yt)?"\n\nNote: there are at least one loader still registered to this locale that wasn't executed.":""}`),s=i||e;if(!r)return s;let a=s;try{a=Vt(s,n).format(r)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return a});S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Yt}=e,e=Pt(e,["locale"]);return Wt(Object.assign({locale:t},e))})(t).format(e)),S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Yt}=e,e=Pt(e,["locale"]);return jt(Object.assign({locale:t},e))})(t).format(e)),S([Ft],()=>(e,t)=>((e={})=>{var{locale:t=Yt}=e,e=Pt(e,["locale"]);return Gt(Object.assign({locale:t},e))})(t).format(e)),S([Ft,lt],()=>(e,t=Yt)=>at(e,t));const Ht={en:{registerFormStep2:{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"}},fr:{registerFormStep2:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Miss",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"}},tr:{registerFormStep2:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"}},ro:{registerFormStep2:{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"}},es:{registerFormStep2:{registerBackButton:"Regresar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primer nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Ultimo nombre",registerLastNameError:"El apellido debe tener al menos 2 caracteres y no contener caracteres especiales.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"El lugar de nacimiento debe tener al menos 1 carácter.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moneda",registerNext:"Siguiente"}},pt:{registerFormStep2:{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"}}};function zt(e,t,r){const n=e.slice();return n[47]=t[r],n}function Zt(e,t,r){const n=e.slice();return n[50]=t[r],n}function Xt(e,t,r){const n=e.slice();return n[53]=t[r],n}function qt(e,t,r){const n=e.slice();return n[56]=t[r],n}function Kt(e){let r,n,i=e[16]("registerFormStep2.registerFirstNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerFirstNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Jt(e){let r,n,i=e[16]("registerFormStep2.registerLastNameError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerLastNameError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function Qt(e){let r,n,t=e[56]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[56],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function er(e){let r,n,t=e[53]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[53],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function tr(t){let i,s=t[19],a=[];for(let e=0;e<s.length;e+=1)a[e]=rr(Zt(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=wt("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);gt(t,i,r)},p(t,r){if(524288&r[0]){let e;for(s=t[19],e=0;e<s.length;e+=1){var n=Zt(t,s,e);a[e]?a[e].p(n,r):(a[e]=rr(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){_t(a,e),e&&yt(i)}}}function rr(e){let r,n,t=e[50]+"";return{c(){r=vt("option"),n=wt(t),r.__value=e[50],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function nr(e){let r,n,i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65537&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function ir(e){let r,n,i=e[16]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=vt("p"),n=wt(i),Et(r,"class","InvalidInput"),Et(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthPlaceError")+"")&&Tt(n,i)},d(e){e&&yt(r)}}}function sr(e){let r,n,i,s=e[47]+"";return{c(){r=vt("option"),n=wt(s),r.__value=i=e[47],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){4096&t[0]&&s!==(s=e[47]+"")&&Tt(n,s),4096&t[0]&&i!==(i=e[47])&&(r.__value=i,r.value=r.__value)},d(e){e&&yt(r)}}}function ar(r){let n,i,s,a,o,l,u,c,h,d,f,m,p,g,y,_,v,w,S,b,E,T,M,D,k,N,O,C,P,x,L,Y,F,A,R,e,U,I,B,G,j,W,V,$,H,z,Z,X,q,K,J,Q,ee,te,re,ne,ie,se,ae,oe,le,ue,ce,he,de,fe,me,pe,ge,ye,_e,ve,we,Se,be,Ee,Te,Me,De,ke,Ne,Oe,Ce,Pe,xe,Le,Ye,Fe,Ae,Re,Ue,Ie,Be,Ge=r[16]("registerFormStep2.registerBackButton")+"",je=r[16]("registerFormStep2.registerUserTitle")+"",We=r[16]("registerFormStep2.registerUserTitleSelect")+"",Ve=r[16]("registerFormStep2.registerUserTitleSelectMr")+"",$e=r[16]("registerFormStep2.registerUserTitleSelectMrs")+"",He=r[16]("registerFormStep2.registerUserTitleSelectMs")+"",ze=r[16]("registerFormStep2.registerFirstName")+"",Ze=r[16]("registerFormStep2.registerLastName")+"",Xe=r[16]("registerFormStep2.registerDateOfBirth")+"",qe=r[16]("registerFormStep2.registerBirthDay")+"",Ke=r[16]("registerFormStep2.registerBirthMonth")+"",Je=r[16]("registerFormStep2.registerBirthYear")+"",Qe=r[16]("registerFormStep2.registerBirthPlace")+"",et=r[16]("registerFormStep2.registerCurrency")+"",tt=r[16]("registerFormStep2.registerNext")+"",rt=r[1]&&Kt(r),nt=r[2]&&Jt(r),it=r[17],st=[];for(let e=0;e<it.length;e+=1)st[e]=Qt(qt(r,it,e));let at=r[18],ot=[];for(let e=0;e<at.length;e+=1)ot[e]=er(Xt(r,at,e));let lt=!r[15]&&tr(r),ut=r[3]&&nr(r),ct=r[4]&&ir(r),ht=r[12],dt=[];for(let e=0;e<ht.length;e+=1)dt[e]=sr(zt(r,ht,e));return{c(){n=vt("div"),i=vt("button"),s=t("svg"),a=t("defs"),o=t("style"),l=wt(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),u=t("path"),c=St(),h=wt(Ge),d=St(),f=vt("div"),m=vt("div"),p=vt("label"),g=wt(je),y=wt(":"),_=vt("span"),_.textContent="*",v=St(),w=vt("select"),S=vt("option"),b=wt(We),E=vt("option"),T=wt(Ve),M=vt("option"),D=wt($e),k=vt("option"),N=wt(He),O=St(),C=vt("div"),P=vt("label"),x=wt(ze),L=wt(":"),Y=vt("span"),Y.textContent="*",F=St(),A=vt("input"),R=St(),rt&&rt.c(),I=St(),B=vt("div"),G=vt("label"),j=wt(Ze),W=wt(":"),V=vt("span"),V.textContent="*",$=St(),H=vt("input"),z=St(),nt&&nt.c(),q=St(),K=vt("div"),J=vt("label"),Q=wt(Xe),ee=wt(":"),te=vt("span"),te.textContent="*",re=St(),ne=vt("div"),ie=vt("select"),se=vt("option"),ae=wt(qe);for(let e=0;e<st.length;e+=1)st[e].c();oe=St(),le=vt("select"),ue=vt("option"),ce=wt(Ke);for(let e=0;e<ot.length;e+=1)ot[e].c();he=St(),de=vt("select"),fe=vt("option"),me=wt(Je),lt&<.c(),pe=St(),ut&&ut.c(),ge=St(),ye=vt("div"),_e=vt("label"),ve=wt(Qe),we=wt(":"),Se=vt("span"),Se.textContent="*",be=St(),Ee=vt("input"),Te=St(),ct&&ct.c(),ke=St(),Ne=vt("div"),Oe=vt("label"),Ce=wt(et),Pe=wt(":"),xe=vt("span"),xe.textContent="*",Le=St(),Ye=vt("select");for(let e=0;e<dt.length;e+=1)dt[e].c();Fe=St(),Ae=vt("button"),Re=wt(tt),this.c=ft,Et(u,"class","a"),Et(u,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Et(u,"transform","translate(24 24) rotate(180)"),Et(s,"xmlns","http://www.w3.org/2000/svg"),Et(s,"viewBox","0 0 24 24"),Et(i,"class","BackButton"),Et(i,"part","BackButton"),Et(n,"class","RegisterFormHeader"),Et(n,"part","RegisterFormHeader"),Et(_,"class","FormRequired"),Et(_,"part","FormRequired"),Et(p,"for","Title"),S.__value="",S.value=S.__value,S.disabled=!0,S.selected=!0,E.__value="Mr.",E.value=E.__value,M.__value="Mrs.",M.value=M.__value,k.__value="Ms.",k.value=k.__value,Et(w,"id","Title"),void 0===r[5]&&kt(()=>r[29].call(w)),Et(m,"class","UserTitleContainer"),Et(m,"part","UserTitleContainer"),Et(Y,"class","FormRequired"),Et(Y,"part","FormRequired"),Et(P,"for","FirstName"),Et(A,"type","text"),Et(A,"id","FirstName"),Et(C,"class",e="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(C,"part",U="FirstNameContainer "+(r[1]?"InvalidField":"")),Et(V,"class","FormRequired"),Et(V,"part","FormRequired"),Et(G,"for","LastName"),Et(H,"type","text"),Et(H,"id","LastName"),Et(B,"class",Z="LastNameContainer "+(r[2]?"InvalidField":"")),Et(B,"part",X="LastNameContainer "+(r[2]?"InvalidField":"")),Et(te,"class","FormRequired"),Et(te,"part","FormRequired"),se.__value="",se.value=se.__value,se.disabled=!0,se.selected=!0,Et(ie,"class","BirthDaySelected"),Et(ie,"part","BirthDaySelected"),void 0===r[8]&&kt(()=>r[32].call(ie)),ue.__value="",ue.value=ue.__value,ue.disabled=!0,ue.selected=!0,Et(le,"class","BirthMonthSelected"),Et(le,"part","BirthMonthSelected"),void 0===r[9]&&kt(()=>r[33].call(le)),fe.__value="",fe.value=fe.__value,fe.disabled=!0,fe.selected=!0,Et(de,"class","BirthYearSelected"),Et(de,"part","BirthYearSelected"),void 0===r[10]&&kt(()=>r[34].call(de)),Et(ne,"class","BirthDateOptions"),Et(ne,"part","BirthDateOptions"),Et(K,"class","BirthDateContainer"),Et(K,"part","BirthDateContainer"),Et(Se,"class","FormRequired"),Et(Se,"part","FormRequired"),Et(_e,"for","BirthPlace"),Et(Ee,"type","text"),Et(Ee,"id","BirthPlace"),Et(ye,"class",Me="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(ye,"part",De="BirthPlaceContainer "+(r[4]?"InvalidField":"")),Et(xe,"class","FormRequired"),Et(xe,"part","FormRequired"),Et(Oe,"for","Currency"),Et(Ye,"id","Currency"),void 0===r[13]&&kt(()=>r[36].call(Ye)),Et(Ne,"class","CurrencyContainer"),Et(Ne,"part","CurrencyContainer"),Et(f,"class","RegisterFormContent"),Et(f,"part","RegisterFormContent"),Et(Ae,"class","RegisterStepNext"),Et(Ae,"part","RegisterStepNext"),Ae.disabled=Ue=!r[14]},m(e,t){gt(e,n,t),pt(n,i),pt(i,s),pt(s,a),pt(a,o),pt(o,l),pt(s,u),pt(i,c),pt(i,h),gt(e,d,t),gt(e,f,t),pt(f,m),pt(m,p),pt(p,g),pt(p,y),pt(p,_),pt(m,v),pt(m,w),pt(w,S),pt(S,b),pt(w,E),pt(E,T),pt(w,M),pt(M,D),pt(w,k),pt(k,N),Dt(w,r[5]),pt(f,O),pt(f,C),pt(C,P),pt(P,x),pt(P,L),pt(P,Y),pt(C,F),pt(C,A),Mt(A,r[6]),pt(C,R),rt&&rt.m(C,null),pt(f,I),pt(f,B),pt(B,G),pt(G,j),pt(G,W),pt(G,V),pt(B,$),pt(B,H),Mt(H,r[7]),pt(B,z),nt&&nt.m(B,null),pt(f,q),pt(f,K),pt(K,J),pt(J,Q),pt(J,ee),pt(J,te),pt(K,re),pt(K,ne),pt(ne,ie),pt(ie,se),pt(se,ae);for(let e=0;e<st.length;e+=1)st[e].m(ie,null);Dt(ie,r[8]),pt(ne,oe),pt(ne,le),pt(le,ue),pt(ue,ce);for(let e=0;e<ot.length;e+=1)ot[e].m(le,null);Dt(le,r[9]),pt(ne,he),pt(ne,de),pt(de,fe),pt(fe,me),lt&<.m(de,null),Dt(de,r[10]),pt(ne,pe),ut&&ut.m(ne,null),pt(f,ge),pt(f,ye),pt(ye,_e),pt(_e,ve),pt(_e,we),pt(_e,Se),pt(ye,be),pt(ye,Ee),Mt(Ee,r[11]),pt(ye,Te),ct&&ct.m(ye,null),pt(f,ke),pt(f,Ne),pt(Ne,Oe),pt(Oe,Ce),pt(Oe,Pe),pt(Oe,xe),pt(Ne,Le),pt(Ne,Ye);for(let e=0;e<dt.length;e+=1)dt[e].m(Ye,null);Dt(Ye,r[13]),gt(e,Fe,t),gt(e,Ae,t),pt(Ae,Re),Ie||(Be=[bt(i,"click",r[26]),bt(w,"change",r[29]),bt(w,"change",r[21]),bt(A,"input",r[30]),bt(A,"blur",r[22]),bt(H,"input",r[31]),bt(H,"blur",r[23]),bt(ie,"change",r[32]),bt(ie,"change",r[20]),bt(le,"change",r[33]),bt(le,"change",r[20]),bt(de,"change",r[34]),bt(de,"change",r[20]),bt(Ee,"input",r[35]),bt(Ee,"keyup",r[24]),bt(Ye,"change",r[36]),bt(Ae,"click",r[25])],Ie=!0)},p(t,r){if(65536&r[0]&&Ge!==(Ge=t[16]("registerFormStep2.registerBackButton")+"")&&Tt(h,Ge),65536&r[0]&&je!==(je=t[16]("registerFormStep2.registerUserTitle")+"")&&Tt(g,je),65536&r[0]&&We!==(We=t[16]("registerFormStep2.registerUserTitleSelect")+"")&&Tt(b,We),65536&r[0]&&Ve!==(Ve=t[16]("registerFormStep2.registerUserTitleSelectMr")+"")&&Tt(T,Ve),65536&r[0]&&$e!==($e=t[16]("registerFormStep2.registerUserTitleSelectMrs")+"")&&Tt(D,$e),65536&r[0]&&He!==(He=t[16]("registerFormStep2.registerUserTitleSelectMs")+"")&&Tt(N,He),32&r[0]&&Dt(w,t[5]),65536&r[0]&&ze!==(ze=t[16]("registerFormStep2.registerFirstName")+"")&&Tt(x,ze),64&r[0]&&A.value!==t[6]&&Mt(A,t[6]),t[1]?rt?rt.p(t,r):(rt=Kt(t),rt.c(),rt.m(C,null)):rt&&(rt.d(1),rt=null),2&r[0]&&e!==(e="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"class",e),2&r[0]&&U!==(U="FirstNameContainer "+(t[1]?"InvalidField":""))&&Et(C,"part",U),65536&r[0]&&Ze!==(Ze=t[16]("registerFormStep2.registerLastName")+"")&&Tt(j,Ze),128&r[0]&&H.value!==t[7]&&Mt(H,t[7]),t[2]?nt?nt.p(t,r):(nt=Jt(t),nt.c(),nt.m(B,null)):nt&&(nt.d(1),nt=null),4&r[0]&&Z!==(Z="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(B,"class",Z),4&r[0]&&X!==(X="LastNameContainer "+(t[2]?"InvalidField":""))&&Et(B,"part",X),65536&r[0]&&Xe!==(Xe=t[16]("registerFormStep2.registerDateOfBirth")+"")&&Tt(Q,Xe),65536&r[0]&&qe!==(qe=t[16]("registerFormStep2.registerBirthDay")+"")&&Tt(ae,qe),131072&r[0]){let e;for(it=t[17],e=0;e<it.length;e+=1){var n=qt(t,it,e);st[e]?st[e].p(n,r):(st[e]=Qt(n),st[e].c(),st[e].m(ie,null))}for(;e<st.length;e+=1)st[e].d(1);st.length=it.length}if(131328&r[0]&&Dt(ie,t[8]),65536&r[0]&&Ke!==(Ke=t[16]("registerFormStep2.registerBirthMonth")+"")&&Tt(ce,Ke),262144&r[0]){let e;for(at=t[18],e=0;e<at.length;e+=1){var i=Xt(t,at,e);ot[e]?ot[e].p(i,r):(ot[e]=er(i),ot[e].c(),ot[e].m(le,null))}for(;e<ot.length;e+=1)ot[e].d(1);ot.length=at.length}if(262656&r[0]&&Dt(le,t[9]),65536&r[0]&&Je!==(Je=t[16]("registerFormStep2.registerBirthYear")+"")&&Tt(me,Je),t[15]?lt&&(lt.d(1),lt=null):lt?lt.p(t,r):(lt=tr(t),lt.c(),lt.m(de,null)),525312&r[0]&&Dt(de,t[10]),t[3]?ut?ut.p(t,r):(ut=nr(t),ut.c(),ut.m(ne,null)):ut&&(ut.d(1),ut=null),65536&r[0]&&Qe!==(Qe=t[16]("registerFormStep2.registerBirthPlace")+"")&&Tt(ve,Qe),2048&r[0]&&Ee.value!==t[11]&&Mt(Ee,t[11]),t[4]?ct?ct.p(t,r):(ct=ir(t),ct.c(),ct.m(ye,null)):ct&&(ct.d(1),ct=null),16&r[0]&&Me!==(Me="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"class",Me),16&r[0]&&De!==(De="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&Et(ye,"part",De),65536&r[0]&&et!==(et=t[16]("registerFormStep2.registerCurrency")+"")&&Tt(Ce,et),4096&r[0]){let e;for(ht=t[12],e=0;e<ht.length;e+=1){var s=zt(t,ht,e);dt[e]?dt[e].p(s,r):(dt[e]=sr(s),dt[e].c(),dt[e].m(Ye,null))}for(;e<dt.length;e+=1)dt[e].d(1);dt.length=ht.length}12288&r[0]&&Dt(Ye,t[13]),65536&r[0]&&tt!==(tt=t[16]("registerFormStep2.registerNext")+"")&&Tt(Re,tt),16384&r[0]&&Ue!==(Ue=!t[14])&&(Ae.disabled=Ue)},i:ft,o:ft,d(e){e&&yt(n),e&&yt(d),e&&yt(f),rt&&rt.d(),nt&&nt.d(),_t(st,e),_t(ot,e),lt&<.d(),ut&&ut.d(),ct&&ct.d(),_t(dt,e),e&&yt(Fe),e&&yt(Ae),Ie=!1,mt(Be)}}}function or(t,e,r){let n;var i=$t;t.$$.on_destroy.push(L(i,e=>r(16,n=e)));let s,a,o,l,u,c,h,{endpoint:d=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,p=!1,g=!1,y=!1,_=!1,v="",w="",S=[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],b=[1,2,3,4,5,6,7,8,9,10,11,12],E=[],T="",M=[],D="",k=new Date,N=!1,O=!0;Object.keys(Ht).forEach(e=>{ct(e,Ht[e])});const C=()=>{r(14,N=!(p||g||y||_)),!(v.length<=0||w.length<=0||T.length<=0)&&s&&a&&o&&l||r(14,N=!1)},P=e=>!!(e&&2<=e.length&&e.length<=50),x=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(5,s=e.data.userData.title),r(6,v=e.data.userData.firstname),r(7,w=e.data.userData.lastname),r(8,a=e.data.userData.birth.day),r(9,o=e.data.userData.birth.month),r(10,l=e.data.userData.birth.year),r(11,T=e.data.userData.birthPlace),r(13,D=e.data.userData.currency),C())};return e=()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}),function(){if(!F)throw new Error("Function called outside component initialization");return F}().$$.on_mount.push(e),t.$$set=e=>{"endpoint"in e&&r(27,d=e.endpoint),"lang"in e&&r(28,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears)},t.$$.update=()=>{var e;134217728&t.$$.dirty[0]&&d&&fetch(`${d}/player/operatorSupportedCurrencies`).then(e=>e.json()).then(e=>{r(12,M=e.currencies),D||r(13,D=M[0])}),268435456&t.$$.dirty[0]&&f&&(e=f,Ft.set(e)),1&t.$$.dirty[0]&&m&&(()=>{c=parseInt(A(k.setDate(k.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),u=parseInt(A(k.setDate(k.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=c;e>=u;e--)E.push(e);r(15,O=!1)})()},[m,p,g,y,_,s,v,w,a,o,l,T,M,D,N,O,n,S,b,E,()=>{l&&o&&a&&(h=A(k.setDate(k.getDate())).diff(A(`${l}-${o}-${a}`,"YYYY-MM-DD"),"years").toString(),r(3,y=h<m)),C()},C,()=>{r(1,p=!P(v)),C()},()=>{r(2,g=!P(w)),C()},()=>{r(4,_=!(T&&T.length<=120)),C()},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:D};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:w,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:D};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},d,f,function(){s=Y(this),r(5,s)},function(){v=this.value,r(6,v)},function(){w=this.value,r(7,w)},function(){a=Y(this),r(8,a),r(17,S)},function(){o=Y(this),r(9,o),r(18,b)},function(){l=Y(this),r(10,l),r(19,E)},function(){T=this.value,r(11,T)},function(){D=Y(this),r(13,D),r(12,M)}]}class lr extends l{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BackButton{display:inline-flex;color: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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color: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,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer 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{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;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}</style>",o(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},or,ar,r,{endpoint:27,lang:28,licenseyears:0},[-1,-1]),e&&(e.target&>(e.target,this,e.anchor),e.props&&(this.$set(e.props),_()))}static get observedAttributes(){return["endpoint","lang","licenseyears"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$set({endpoint:e}),_()}get lang(){return this.$$.ctx[28]}set lang(e){this.$set({lang:e}),_()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$set({licenseyears:e}),_()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",lr),lr});
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,function(){"use strict";function ft(){}function T(e){return e()}function M(){return Object.create(null)}function mt(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 x(e,...t){if(null==e)return ft;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function pt(e,t){e.appendChild(t)}function gt(e,t,r){e.insertBefore(t,r||null)}function yt(e){e.parentNode.removeChild(e)}function Dt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function _t(e){return document.createElement(e)}function Bt(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function vt(e){return document.createTextNode(e)}function t(){return vt(" ")}function bt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function St(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function wt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Et(e,t){e.value=null==t?"":t}function Tt(t,r){for(let e=0;e<t.options.length;e+=1){const n=t.options[e];if(n.__value===r)return n.selected=!0}t.selectedIndex=-1}function P(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}let L;function g(e){L=e}const B=[],d=[],f=[],m=[],N=Promise.resolve();let k=!1;function Mt(e){f.push(e)}const O=new Set;let C=0;function y(){const e=L;do{for(;C<B.length;){const e=B[C];C++,g(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),mt(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Mt))}for(g(null),B.length=0,C=0;d.length;)d.pop()();for(let e=0;e<f.length;e+=1){const n=f[e];O.has(n)||(O.add(n),n())}}while(f.length=0,B.length);for(;m.length;)m.pop()();k=!1,O.clear(),g(e)}const H=new Set;function Y(n,e,t,r,i,s,a,o=[-1]){var l=L;g(n);const h=n.$$={fragment:null,ctx:null,props:s,update:ft,not_equal:i,bound:M(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:M(),dirty:o,skip_bound:!1,root:e.target||l.$$.root};a&&a(h.root);let u=!1;if(h.ctx=t?t(n,e.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]&&(B.push(e),k||(k=!0,N.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],h.update(),u=!0,mt(h.before_update),h.fragment=!!r&&r(h.ctx),e.target){if(e.hydrate){s=e.target;const ft=Array.from(s.childNodes);h.fragment&&h.fragment.l(ft),ft.forEach(yt)}else h.fragment&&h.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(H.delete(o),o.i(void 0));{var c=n;a=e.target;t=e.anchor;r=e.customElement;const{fragment:d,on_mount:f,on_destroy:m,after_update:p}=c.$$;d&&d.m(a,t),r||Mt(()=>{var e=f.map(T).filter(D);m?m.push(...e):mt(e),c.$$.on_mount=[]}),p.forEach(Mt)}y()}g(l)}let F;function Or(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(F=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(T).filter(D);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){mt(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(mt(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=ft}$on(e,t){const r=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return r.push(t),()=>{var e=r.indexOf(t);-1!==e&&r.splice(e,1)}}$set(e){this.$$set&&0!==Object.keys(e).length&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});Cr=R={path:void 0,exports:{},require:function(e,t){return Or(null==t&&R.path)}},R.exports,Cr.exports=function(){var x;function m(){return x.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function Y(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function F(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(p(e,t))return;return 1}function o(e){return void 0===e}function R(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function I(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function U(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)p(t,r)&&(e[r]=t[r]);return p(t,"toString")&&(e.toString=t.toString),p(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,r,n){return Ct(e,t,r,n,!0).utc()}function g(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 V(e){if(null==e._isValid){var t=g(e),r=j.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function W(e){var t=h(NaN);return null!=e?G(g(t),e):g(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},$=m.momentProperties=[],z=!1;function Z(e,t){var r,n,i,s=$.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=g(t)),o(t._locale)||(e._locale=t._locale),0<s)for(r=0;r<s;r++)o(i=t[n=$[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 q(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])p(arguments[0],t)&&(e+=t+": "+arguments[0][t]+", ");e=e.slice(0,-2)}else e=arguments[i];r.push(e)}q(s+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var K={};function J(e,t){null!=m.deprecationHandler&&m.deprecationHandler(e,t),K[e]||(q(t),K[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)p(t,r)&&(Y(e[r])&&Y(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)p(e,r)&&!p(t,r)&&Y(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)p(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]||function(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={};function t(e,t){var r=e.toLowerCase();le[r]=le[r+"s"]=le[t]=e}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)p(e,r)&&(t=c(r))&&(n[t]=e[r]);return n}var ue={};function r(e,t){ue[e]=t}function ce(e){return e%4==0&&e%100!=0||e%400==0}function d(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function f(e){var e=+e,t=0;return t=0!=e&&isFinite(e)?d(e):t}function de(t,r){return function(e){return null!=e?(me(this,t,e),m.updateOffset(this,r),this):fe(this,t)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,r){e.isValid()&&!isNaN(r)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(r=f(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),Le(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}var i=/\d/,y=/\d\d/,pe=/\d{3}/,ge=/\d{4}/,ye=/[+-]?\d{6}/,_=/\d\d?/,_e=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,be=/\d{1,3}/,Se=/\d{1,4}/,we=/[+-]?\d{1,6}/,Ee=/\d+/,Te=/[+-]?\d+/,Me=/Z|[+-]\d\d:?\d\d/gi,De=/Z|[+-]\d\d(?::?\d\d)?/gi,v=/[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;function b(e,r,n){Ne[e]=u(r)?r:function(e,t){return e&&n?n:r}}function Be(e,t){return p(Ne,e)?Ne[e](t._strict,t._locale):new RegExp(S(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,r,n,i){return t||r||n||i})))}function S(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Ne={},ke={};function w(e,r){var t,n,i=r;for("string"==typeof e&&(e=[e]),R(r)&&(i=function(e,t){t[r]=f(e)}),n=e.length,t=0;t<n;t++)ke[e[t]]=i}function Oe(e,i){w(e,function(e,t,r,n){r._w=r._w||{},i(e,r._w,r,n)})}var E,T=0,M=1,D=2,B=3,N=4,k=5,Ce=6,He=7,Pe=8;function Le(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=(t%(r=12)+r)%r;return e+=(t-r)/12,1==r?ce(e)?29:28:31-r%7%2}E=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)}),t("month","M"),r("month",8),b("M",_),b("MM",_,y),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),w(["M","MM"],function(e,t){t[M]=f(e)-1}),w(["MMM","MMMM"],function(e,t,r,n){n=r._locale.monthsParse(e,n,r._strict);null!=n?t[M]=n:g(r).invalidMonth=e});var Ae="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),xe="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ye=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Fe=v,Re=v;function Ie(e,t){var r;if(e.isValid()){if("string"==typeof t)if(/^\d+$/.test(t))t=f(t);else if(!R(t=e.localeData().monthsParse(t)))return;r=Math.min(e.date(),Le(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ue(e){return null!=e?(Ie(this,e),m.updateOffset(this,!0),this):fe(this,"Month")}function Ge(){function e(e,t){return t.length-e.length}for(var t,r=[],n=[],i=[],s=0;s<12;s++)t=h([2e3,s]),r.push(this.monthsShort(t,"")),n.push(this.months(t,"")),i.push(this.months(t,"")),i.push(this.monthsShort(t,""));for(r.sort(e),n.sort(e),i.sort(e),s=0;s<12;s++)r[s]=S(r[s]),n[s]=S(n[s]);for(s=0;s<24;s++)i[s]=S(i[s]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Ve(e){return ce(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"),t("year","y"),r("year",1),b("Y",Te),b("YY",_,y),b("YYYY",Se,ge),b("YYYYY",we,ye),b("YYYYYY",we,ye),w(["YYYYY","YYYYYY"],T),w("YYYY",function(e,t){t[T]=2===e.length?m.parseTwoDigitYear(e):f(e)}),w("YY",function(e,t){t[T]=m.parseTwoDigitYear(e)}),w("Y",function(e,t){t[T]=parseInt(e,10)}),m.parseTwoDigitYear=function(e){return f(e)+(68<f(e)?1900:2e3)};var We=de("FullYear",!0);function je(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 $e(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+$e(e,0,r).getUTCDay()-t)%7+r-1}function Ze(e,t,r,n,i){var s,t=1+7*(t-1)+(7+r-n)%7+ze(e,n,i),r=t<=0?Ve(s=e-1)+t:t>Ve(e)?(s=e+1,t-Ve(e)):(s=e,t);return{year:s,dayOfYear:r}}function Xe(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+O(i=e.year()-1,t,r):s>O(e.year(),t,r)?(n=s-O(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function O(e,t,r){var n=ze(e,t,r),t=ze(e+1,t,r);return(Ve(e)-n+t)/7}n("w",["ww",2],"wo","week"),n("W",["WW",2],"Wo","isoWeek"),t("week","w"),t("isoWeek","W"),r("week",5),r("isoWeek",5),b("w",_),b("ww",_,y),b("W",_),b("WW",_,y),Oe(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=f(e)});function qe(e,t){return e.slice(t,7).concat(e.slice(0,t))}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"),t("day","d"),t("weekday","e"),t("isoWeekday","E"),r("day",11),r("weekday",11),r("isoWeekday",11),b("d",_),b("e",_),b("E",_),b("dd",function(e,t){return t.weekdaysMinRegex(e)}),b("ddd",function(e,t){return t.weekdaysShortRegex(e)}),b("dddd",function(e,t){return t.weekdaysRegex(e)}),Oe(["dd","ddd","dddd"],function(e,t,r,n){n=r._locale.weekdaysParse(e,n,r._strict);null!=n?t.d=n:g(r).invalidWeekday=e}),Oe(["d","e","E"],function(e,t,r,n){t[n]=f(e)});var Ke="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Je="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),et=v,tt=v,rt=v;function nt(){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=S(this.weekdaysMin(n,"")),r=S(this.weekdaysShort(n,"")),n=S(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 it(){return this.hours()%12||12}function st(e,t){n(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function at(e,t){return t._meridiemParse}n("H",["HH",2],0,"hour"),n("h",["hh",2],0,it),n("k",["kk",2],0,function(){return this.hours()||24}),n("hmm",0,0,function(){return""+it.apply(this)+s(this.minutes(),2)}),n("hmmss",0,0,function(){return""+it.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)}),st("a",!0),st("A",!1),t("hour","h"),r("hour",13),b("a",at),b("A",at),b("H",_),b("h",_),b("k",_),b("HH",_,y),b("hh",_,y),b("kk",_,y),b("hmm",_e),b("hmmss",ve),b("Hmm",_e),b("Hmmss",ve),w(["H","HH"],B),w(["k","kk"],function(e,t,r){e=f(e);t[B]=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[B]=f(e),g(r).bigHour=!0}),w("hmm",function(e,t,r){var n=e.length-2;t[B]=f(e.substr(0,n)),t[N]=f(e.substr(n)),g(r).bigHour=!0}),w("hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[B]=f(e.substr(0,n)),t[N]=f(e.substr(n,2)),t[k]=f(e.substr(i)),g(r).bigHour=!0}),w("Hmm",function(e,t,r){var n=e.length-2;t[B]=f(e.substr(0,n)),t[N]=f(e.substr(n))}),w("Hmmss",function(e,t,r){var n=e.length-4,i=e.length-2;t[B]=f(e.substr(0,n)),t[N]=f(e.substr(n,2)),t[k]=f(e.substr(i))});v=de("Hours",!0);var ot,lt={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:Ae,monthsShort:xe,week:{dow:0,doy:6},weekdays:Ke,weekdaysMin:Qe,weekdaysShort:Je,meridiemParse:/[ap]\.?m?\.?/i},C={},ht={};function ut(e){return e&&e.toLowerCase().replace("_","-")}function ct(e){for(var t,r,n,i,s=0;s<e.length;){for(t=(i=ut(e[s]).split("-")).length,r=(r=ut(e[s+1]))?r.split("-"):null;0<t;){if(n=dt(i.slice(0,t).join("-")))return n;if(r&&r.length>=t&&function(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 ot}function dt(t){var e;if(void 0===C[t]&&Cr&&Cr.exports&&null!=t.match("^[^/\\\\]*$"))try{e=ot._abbr,Or(),ft(e)}catch(e){C[t]=null}return C[t]}function ft(e,t){return e&&((t=o(t)?H(e):mt(e,t))?ot=t:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ot._abbr}function mt(e,t){if(null===t)return delete C[e],null;var r,n=lt;if(t.abbr=e,null!=C[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=C[e]._config;else if(null!=t.parentLocale)if(null!=C[t.parentLocale])n=C[t.parentLocale]._config;else{if(null==(r=dt(t.parentLocale)))return ht[t.parentLocale]||(ht[t.parentLocale]=[]),ht[t.parentLocale].push({name:e,config:t}),null;n=r._config}return C[e]=new ee(Q(n,t)),ht[e]&&ht[e].forEach(function(e){mt(e.name,e.config)}),ft(e),C[e]}function H(e){var t;if(!(e=e&&e._locale&&e._locale._abbr?e._locale._abbr:e))return ot;if(!a(e)){if(t=dt(e))return t;e=[e]}return ct(e)}function pt(e){var t=e._a;return t&&-2===g(e).overflow&&(t=t[M]<0||11<t[M]?M:t[D]<1||t[D]>Le(t[T],t[M])?D:t[B]<0||24<t[B]||24===t[B]&&(0!==t[N]||0!==t[k]||0!==t[Ce])?B:t[N]<0||59<t[N]?N:t[k]<0||59<t[k]?k:t[Ce]<0||999<t[Ce]?Ce:-1,g(e)._overflowDayOfYear&&(t<T||D<t)&&(t=D),g(e)._overflowWeeks&&-1===t&&(t=He),g(e)._overflowWeekday&&-1===t&&(t=Pe),g(e).overflow=t),e}var gt=/^\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)?)?$/,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=/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]],bt=[["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,wt=/^(?:(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}))$/,Et={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,r,n,i,s,a,o=e._i,l=gt.exec(o)||yt.exec(o),o=vt.length,h=bt.length;if(l){for(g(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(bt[t][1].exec(l[3])){s=(l[2]||" ")+bt[t][0];break}if(null==s)return e._isValid=!1}if(!n&&null!=s)return e._isValid=!1;if(l[4]){if(!_t.exec(l[4]))return e._isValid=!1;a="Z"}e._f=i+(s||"")+(a||""),kt(e)}else e._isValid=!1}function Mt(e,t,r,n,i,s){e=[function(e){e=parseInt(e,10);return e<=49?2e3+e:e<=999?1900+e:e}(e),xe.indexOf(t),parseInt(r,10),parseInt(n,10),parseInt(i,10)];return s&&e.push(parseInt(s,10)),e}function Dt(e){var t,r,n,i,s=wt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));s?(t=Mt(s[4],s[3],s[2],s[5],s[6],s[7]),r=s[1],n=t,i=e,r&&Je.indexOf(r)!==new Date(n[0],n[1],n[2]).getDay()?(g(i).weekdayMismatch=!0,i._isValid=!1):(e._a=t,e._tzm=(r=s[8],n=s[9],i=s[10],r?Et[r]:n?0:((r=parseInt(i,10))-(n=r%100))/100*60+n),e._d=$e.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0)):e._isValid=!1}function Bt(e,t,r){return null!=e?e:null!=t?t:r}function Nt(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[D]&&null==e._a[M]&&(null!=(c=(u=e)._w).GG||null!=c.W||null!=c.E?(a=1,o=4,n=Bt(c.GG,u._a[T],Xe(P(),1,4).year),i=Bt(c.W,1),((s=Bt(c.E,1))<1||7<s)&&(l=!0)):(a=u._locale._week.dow,o=u._locale._week.doy,h=Xe(P(),a,o),n=Bt(c.gg,u._a[T],h.year),i=Bt(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>O(n,a,o)?g(u)._overflowWeeks=!0:null!=l?g(u)._overflowWeekday=!0:(h=Ze(n,i,s,a,o),u._a[T]=h.year,u._dayOfYear=h.dayOfYear)),null!=e._dayOfYear&&(c=Bt(e._a[T],r[T]),(e._dayOfYear>Ve(c)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=$e(c,0,e._dayOfYear),e._a[M]=l.getUTCMonth(),e._a[D]=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[B]&&0===e._a[N]&&0===e._a[k]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[B]=0),e._d=(e._useUTC?$e:je).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[B]=24),e._w&&void 0!==e._w.d&&e._w.d!==n&&(g(e).weekdayMismatch=!0)}}function kt(e){if(e._f!==m.ISO_8601)if(e._f!==m.RFC_2822){e._a=[],g(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(Be(n,e))||[])[0])&&(0<(c=i.substr(0,i.indexOf(t))).length&&g(e).unusedInput.push(c),i=i.slice(i.indexOf(t)+t.length),a+=t.length),se[n]?(t?g(e).empty=!1:g(e).unusedTokens.push(n),c=n,f=e,null!=(d=t)&&p(ke,c)&&ke[c](d,f._a,f,c)):e._strict&&!t&&g(e).unusedTokens.push(n);g(e).charsLeftOver=s-a,0<i.length&&g(e).unusedInput.push(i),e._a[B]<=12&&!0===g(e).bigHour&&0<e._a[B]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[B]=(s=e._locale,h=e._a[B],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=g(e).era)&&(e._a[T]=e._locale.erasConvertYear(u,e._a[T])),Nt(e),pt(e)}else Dt(e);else Tt(e);var h,u,c,d,f}function Ot(e){var t,r=e._i,n=e._f;{var i,s;if(e._locale=e._locale||H(e._l),null===r||void 0===n&&""===r)return W({nullInput:!0});else return"string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(pt(r)):(I(r)?e._d=r:a(n)?function(e){var t,r,n,i,s,a,o=!1,l=e._f.length;if(0===l)return g(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],kt(t),V(t)&&(a=!0),s=(s+=g(t).charsLeftOver)+10*g(t).unusedTokens.length,g(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?kt(e):o(n=(r=e)._i)?r._d=new Date(m.now()):I(n)?r._d=new Date(n.valueOf()):"string"==typeof n?(i=r,null===(s=St.exec(i._i))?(Tt(i),!1===i._isValid&&(delete i._isValid,Dt(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=U(n.slice(0),function(e){return parseInt(e,10)}),Nt(r)):Y(n)?(i=r)._d||(t=void 0===(s=he(i._i)).day?s.date:s.day,i._a=U([s.year,s.month,t,s.hour,s.minute,s.second,s.millisecond],function(e){return e&&parseInt(e,10)}),Nt(i)):R(n)?r._d=new Date(n):m.createFromInputFallback(r),V(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),(Y(e)&&F(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(Ot(i=s))))._nextDay&&(i.add(1,"d"),i._nextDay=void 0),i}function P(e,t,r,n){return Ct(e,t,r,n,!1)}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(){};_e=e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:W()}),ve=e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=P.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:W()});function Ht(e,t){var r,n;if(!(t=1===t.length&&a(t[0])?t[0]:t).length)return P();for(r=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](r)||(r=t[n]);return r}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Lt(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=function(e){var t,r,n=!1,i=Pt.length;for(t in e)if(p(e,t)&&(-1===E.call(Pt,t)||null!=e[t]&&isNaN(e[t])))return!1;for(r=0;r<i;++r)if(e[Pt[r]]){if(n)return!1;parseFloat(e[Pt[r]])!==f(e[Pt[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=H(),this._bubble()}function At(e){return e instanceof Lt}function xt(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",""),b("Z",De),b("ZZ",De),w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rt(De,e)});var Ft=/([\+\-]|\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(Ft)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function It(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||I(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):P(e).local()}function Ut(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var Vt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Wt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function L(e,t){var r,n,i=e,s=null;return At(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=Vt.exec(e))?(r="-"===s[1]?-1:1,i={y:0,d:f(s[D])*r,h:f(s[B])*r,m:f(s[N])*r,s:f(s[k])*r,ms:f(xt(1e3*s[Ce]))*r}):(s=Wt.exec(e))?(r="-"===s[1]?-1:1,i={y:jt(s[2],r),M:jt(s[3],r),w:jt(s[4],r),d:jt(s[5],r),h:jt(s[6],r),m:jt(s[7],r),s:jt(s[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=P(i.from),s=P(i.to),r=t.isValid()&&s.isValid()?(s=It(s,t),t.isBefore(s)?n=$t(t,s):((n=$t(s,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),s=new Lt(i),At(e)&&p(e,"_locale")&&(s._locale=e._locale),At(e)&&p(e,"_isValid")&&(s._isValid=e._isValid),s}function jt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function $t(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),Zt(this,L(e,t),n),this}}function Zt(e,t,r,n){var i=t._milliseconds,s=xt(t._days),t=xt(t._months);e.isValid()&&(n=null==n||n,t&&Ie(e,fe(e,"Month")+t*r),s&&me(e,"Date",fe(e,"Date")+s*r),i&&e._d.setTime(e._d.valueOf()+i*r),n&&m.updateOffset(e,s||t))}L.fn=Lt.prototype,L.invalid=function(){return L(NaN)};Ae=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||I(e)||Xt(e)||R(e)||(r=a(t=e),n=!1,r&&(n=0===t.filter(function(e){return!R(e)&&Xt(t)}).length),r&&n)||function(e){var t,r,n=Y(e)&&!F(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||p(e,r);return n&&i}(e)||null==e;var t,r,n}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var r=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(r,"months");return-(r+(t-n<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function Jt(e){return void 0===e?this._locale._abbr:(null!=(e=H(e))&&(this._locale=e),this)}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Qe=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)});function Qt(){return this._locale}var er=126227808e5;function tr(e,t){return(e%t+t)%t}function rr(e,t,r){return e<100&&0<=e?new Date(e+400,t,r)-er:new Date(e,t,r).valueOf()}function nr(e,t,r){return e<100&&0<=e?Date.UTC(e+400,t,r)-er:Date.UTC(e,t,r)}function ir(e,t){return t.erasAbbrRegex(e)}function sr(){for(var e=[],t=[],r=[],n=[],i=this.eras(),s=0,a=i.length;s<a;++s)t.push(S(i[s].name)),e.push(S(i[s].abbr)),r.push(S(i[s].narrow)),n.push(S(i[s].name)),n.push(S(i[s].abbr)),n.push(S(i[s].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function ar(e,t){n(0,[e,e.length],0,t)}function or(e,t,r,n,i){var s;return null==e?Xe(this,n,i).year:(t>(s=O(e,n,i))&&(t=s),function(e,t,r,n,i){e=Ze(e,t,r,n,i),t=$e(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"),b("N",ir),b("NN",ir),b("NNN",ir),b("NNNN",function(e,t){return t.erasNameRegex(e)}),b("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?g(r).era=n:g(r).invalidEra=e}),b("y",Ee),b("yy",Ee),b("yyy",Ee),b("yyyy",Ee),b("yo",function(e,t){return t._eraYearOrdinalRegex||Ee}),w(["y","yy","yyy","yyyy"],T),w(["yo"],function(e,t,r,n){var i;r._locale._eraYearOrdinalRegex&&(i=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[T]=r._locale.eraYearOrdinalParse(e,i):t[T]=parseInt(e,10)}),n(0,["gg",2],0,function(){return this.weekYear()%100}),n(0,["GG",2],0,function(){return this.isoWeekYear()%100}),ar("gggg","weekYear"),ar("ggggg","weekYear"),ar("GGGG","isoWeekYear"),ar("GGGGG","isoWeekYear"),t("weekYear","gg"),t("isoWeekYear","GG"),r("weekYear",1),r("isoWeekYear",1),b("G",Te),b("g",Te),b("GG",_,y),b("gg",_,y),b("GGGG",Se,ge),b("gggg",Se,ge),b("GGGGG",we,ye),b("ggggg",we,ye),Oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=f(e)}),Oe(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),b("Q",i),w("Q",function(e,t){t[M]=3*(f(e)-1)}),n("D",["DD",2],"Do","date"),t("date","D"),r("date",9),b("D",_),b("DD",_,y),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),w(["D","DD"],D),w("Do",function(e,t){t[D]=f(e.match(_)[0])});Se=de("Date",!0);n("DDD",["DDDD",3],"DDDo","dayOfYear"),t("dayOfYear","DDD"),r("dayOfYear",4),b("DDD",be),b("DDDD",pe),w(["DDD","DDDD"],function(e,t,r){r._dayOfYear=f(e)}),n("m",["mm",2],0,"minute"),t("minute","m"),r("minute",14),b("m",_),b("mm",_,y),w(["m","mm"],N);ge=de("Minutes",!1);n("s",["ss",2],0,"second"),t("second","s"),r("second",15),b("s",_),b("ss",_,y),w(["s","ss"],k);var lr,we=de("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()}),t("millisecond","ms"),r("millisecond",16),b("S",be,i),b("SS",be,y),b("SSS",be,pe),lr="SSSS";lr.length<=9;lr+="S")b(lr,Ee);function hr(e,t){t[Ce]=f(1e3*("0."+e))}for(lr="S";lr.length<=9;lr+="S")w(lr,hr);ye=de("Milliseconds",!1),n("z",0,0,"zoneAbbr"),n("zz",0,0,"zoneName");i=X.prototype;function ur(e){return e}i.add=Ae,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=Y(e)&&!F(e),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i=0;i<n.length;i+=1)r=r||p(e,n[i]);return t&&r}(arguments[0])&&(t=arguments[0],e=void 0):t=e=void 0);var e=e||P(),r=It(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,P(e)))},i.clone=function(){return new X(this)},i.diff=function(e,t,r){var n,i,s;if(!this.isValid())return NaN;if(!(n=It(e,this)).isValid())return NaN;switch(i=6e4*(n.utcOffset()-this.utcOffset()),t=c(t)){case"year":s=Kt(this,n)/12;break;case"month":s=Kt(this,n);break;case"quarter":s=Kt(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:d(s)},i.endOf=function(e){var t,r;if(void 0===(e=c(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?nr:rr,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-tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-tr(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-tr(t,1e3)-1}return this._d.setTime(t),m.updateOffset(this,!0),this},i.format=function(e){return e=e||(this.isUtc()?m.defaultFormatUtc:m.defaultFormat),e=ae(this,e),this.localeData().postformat(e)},i.from=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?L({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.fromNow=function(e){return this.from(P(),e)},i.to=function(e,t){return this.isValid()&&(l(e)&&e.isValid()||P(e).isValid())?L({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},i.toNow=function(e){return this.to(P(),e)},i.get=function(e){return u(this[e=c(e)])?this[e]():this},i.invalidAt=function(){return g(this).overflow},i.isAfter=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()>e.valueOf():e.valueOf()<this.clone().startOf(t).valueOf())},i.isBefore=function(e,t){return e=l(e)?e:P(e),!(!this.isValid()||!e.isValid())&&("millisecond"===(t=c(t)||"millisecond")?this.valueOf()<e.valueOf():this.clone().endOf(t).valueOf()<e.valueOf())},i.isBetween=function(e,t,r,n){return e=l(e)?e:P(e),t=l(t)?t:P(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))},i.isSame=function(e,t){var e=l(e)?e:P(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()))},i.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},i.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},i.isValid=function(){return V(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=ve,i.min=_e,i.parsingFlags=function(){return G({},g(this))},i.set=function(e,t){if("object"==typeof e)for(var r=function(e){var t,r=[];for(t in e)p(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},i.startOf=function(e){var t,r;if(void 0===(e=c(e))||"millisecond"===e||!this.isValid())return this;switch(r=this._isUTC?nr:rr,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-=tr(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=tr(t,6e4);break;case"second":t=this._d.valueOf(),t-=tr(t,1e3)}return this._d.setTime(t),m.updateOffset(this,!0),this},i.subtract=Ke,i.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},i.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()}},i.toDate=function(){return new Date(this.valueOf())},i.toISOString=function(e){if(!this.isValid())return null;var t=(e=!0!==e)?this.clone().utc():this;return t.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")},i.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t="moment",r="";return 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+'[")]'))},"undefined"!=typeof Symbol&&null!=Symbol.for&&(i[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),i.toJSON=function(){return this.isValid()?this.toISOString():null},i.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},i.unix=function(){return Math.floor(this.valueOf()/1e3)},i.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},i.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},i.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""},i.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""},i.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""},i.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()},i.year=We,i.isLeapYear=function(){return ce(this.year())},i.weekYear=function(e){return or.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},i.isoWeekYear=function(e){return or.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},i.quarter=i.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},i.month=Ue,i.daysInMonth=function(){return Le(this.year(),this.month())},i.week=i.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},i.isoWeek=i.isoWeeks=function(e){var t=Xe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},i.weeksInYear=function(){var e=this.localeData()._week;return O(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return O(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return O(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return O(this.isoWeekYear(),1,4)},i.date=Se,i.day=i.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,r,n=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,r=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=r.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-n,"d")):n},i.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},i.isoWeekday=function(e){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;var t,r},i.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")},i.hour=i.hours=v,i.minute=i.minutes=ge,i.second=i.seconds=we,i.millisecond=i.milliseconds=ye,i.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:Ut(this);if("string"==typeof e){if(null===(e=Rt(De,e)))return this}else Math.abs(e)<16&&!r&&(e*=60);return!this._isUTC&&t&&(n=Ut(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,L(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this},i.utc=function(e){return this.utcOffset(0,e)},i.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ut(this),"m")),this},i.parseZone=function(){var e;return null!=this._tzm?this.utcOffset(this._tzm,!1,!0):"string"==typeof this._i&&(null!=(e=Rt(Me,this._i))?this.utcOffset(e):this.utcOffset(0,!0)),this},i.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?P(e).utcOffset():0,(this.utcOffset()-e)%60==0)},i.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},i.isLocal=function(){return!!this.isValid()&&!this._isUTC},i.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},i.isUtc=Gt,i.isUTC=Gt,i.zoneAbbr=function(){return this._isUTC?"UTC":""},i.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},i.dates=e("dates accessor is deprecated. Use date instead.",Se),i.months=e("months accessor is deprecated. Use month instead",Ue),i.years=e("years accessor is deprecated. Use year instead",We),i.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()}),i.isDSTShifted=e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!o(this._isDSTShifted))return this._isDSTShifted;var e,t={};return Z(t,this),(t=Ot(t))._a?(e=(t._isUTC?h:P)(t._a),this._isDSTShifted=this.isValid()&&0<function(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&&f(e[a])!==f(t[a]))&&s++;return s+i}(t._a,e.toArray())):this._isDSTShifted=!1,this._isDSTShifted});y=ee.prototype;function cr(e,t,r,n){var i=H(),n=h().set(n,t);return i[r](n,e)}function dr(e,t,r){if(R(e)&&(t=e,e=void 0),e=e||"",null!=t)return cr(e,t,r,"month");for(var n=[],i=0;i<12;i++)n[i]=cr(e,i,r,"month");return n}function fr(e,t,r,n){t=("boolean"==typeof e||(r=t=e,e=!1),R(t)&&(r=t,t=void 0),t||"");var i,s=H(),a=e?s._week.dow:0,o=[];if(null!=r)return cr(t,(r+a)%7,n,"day");for(i=0;i<7;i++)o[i]=cr(t,(i+a)%7,n,"day");return o}y.calendar=function(e,t,r){return u(e=this._calendar[e]||this._calendar.sameElse)?e.call(t,r):e},y.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])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(e){return this._ordinal.replace("%d",e)},y.preparse=ur,y.postformat=ur,y.relativeTime=function(e,t,r,n){var i=this._relativeTime[r];return u(i)?i(e,t,r,n):i.replace(/%d/i,e)},y.pastFuture=function(e,t){return u(e=this._relativeTime[0<e?"future":"past"])?e(t):e.replace(/%s/i,t)},y.set=function(e){var t,r;for(r in e)p(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)},y.eras=function(e,t){for(var r,n=this._eras||H("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},y.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]},y.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},y.erasAbbrRegex=function(e){return p(this,"_erasAbbrRegex")||sr.call(this),e?this._erasAbbrRegex:this._erasRegex},y.erasNameRegex=function(e){return p(this,"_erasNameRegex")||sr.call(this),e?this._erasNameRegex:this._erasRegex},y.erasNarrowRegex=function(e){return p(this,"_erasNarrowRegex")||sr.call(this),e?this._erasNarrowRegex:this._erasRegex},y.months=function(e,t){return e?(a(this._months)?this._months:this._months[(this._months.isFormat||Ye).test(t)?"format":"standalone"])[e.month()]:a(this._months)?this._months:this._months.standalone},y.monthsShort=function(e,t){return e?(a(this._monthsShort)?this._monthsShort:this._monthsShort[Ye.test(t)?"format":"standalone"])[e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},y.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=E.call(this._shortMonthsParse,e))?i:null:-1!==(i=E.call(this._longMonthsParse,e))?i:null:"MMM"===t?-1!==(i=E.call(this._shortMonthsParse,e))||-1!==(i=E.call(this._longMonthsParse,e))?i:null:-1!==(i=E.call(this._longMonthsParse,e))||-1!==(i=E.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}},y.monthsRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsStrictRegex:this._monthsRegex):(p(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(e){return this._monthsParseExact?(p(this,"_monthsRegex")||Ge.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(p(this,"_monthsShortRegex")||(this._monthsShortRegex=Fe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(e){return Xe(e,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.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},y.weekdaysMin=function(e){return!0===e?qe(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},y.weekdaysShort=function(e){return!0===e?qe(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},y.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=E.call(this._weekdaysParse,e))?i:null:"ddd"===t?-1!==(i=E.call(this._shortWeekdaysParse,e))?i:null:-1!==(i=E.call(this._minWeekdaysParse,e))?i:null:"dddd"===t?-1!==(i=E.call(this._weekdaysParse,e))||-1!==(i=E.call(this._shortWeekdaysParse,e))||-1!==(i=E.call(this._minWeekdaysParse,e))?i:null:"ddd"===t?-1!==(i=E.call(this._shortWeekdaysParse,e))||-1!==(i=E.call(this._weekdaysParse,e))||-1!==(i=E.call(this._minWeekdaysParse,e))?i:null:-1!==(i=E.call(this._minWeekdaysParse,e))||-1!==(i=E.call(this._weekdaysParse,e))||-1!==(i=E.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}},y.weekdaysRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(p(this,"_weekdaysRegex")||(this._weekdaysRegex=et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(p(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=tt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(p(this,"_weekdaysRegex")||nt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(p(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},y.meridiem=function(e,t,r){return 11<e?r?"pm":"PM":r?"am":"AM"},ft("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===f(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.",ft),m.langData=e("moment.langData is deprecated. Use moment.localeData instead.",H);var mr=Math.abs;function pr(e,t,r,n){t=L(t,r);return e._milliseconds+=n*t._milliseconds,e._days+=n*t._days,e._months+=n*t._months,e._bubble()}function gr(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 vr(e){return function(){return this.as(e)}}be=vr("ms"),pe=vr("s"),Ae=vr("m"),ve=vr("h"),_e=vr("d"),Ke=vr("w"),v=vr("M"),ge=vr("Q"),we=vr("y");function br(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=br("milliseconds"),Se=br("seconds"),We=br("minutes"),y=br("hours"),Sr=br("days"),wr=br("months"),Er=br("years");var Tr=Math.round,Mr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Dr(e,t,r,n){var i=L(e).abs(),s=Tr(i.as("s")),a=Tr(i.as("m")),o=Tr(i.as("h")),l=Tr(i.as("d")),h=Tr(i.as("M")),u=Tr(i.as("w")),i=Tr(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 Br=Math.abs;function Nr(e){return(0<e)-(e<0)||+e}function kr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,r,n,i,s,a,o=Br(this._milliseconds)/1e3,l=Br(this._days),h=Br(this._months),u=this.asSeconds();return u?(e=d(o/60),t=d(e/60),o%=60,e%=60,r=d(h/12),h%=12,n=o?o.toFixed(3).replace(/\.?0+$/,""):"",i=Nr(this._months)!==Nr(u)?"-":"",s=Nr(this._days)!==Nr(u)?"-":"",a=Nr(this._milliseconds)!==Nr(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"}var A=Lt.prototype;return A.isValid=function(){return this._isValid},A.abs=function(){var e=this._data;return this._milliseconds=mr(this._milliseconds),this._days=mr(this._days),this._months=mr(this._months),e.milliseconds=mr(e.milliseconds),e.seconds=mr(e.seconds),e.minutes=mr(e.minutes),e.hours=mr(e.hours),e.months=mr(e.months),e.years=mr(e.years),this},A.add=function(e,t){return pr(this,e,t,1)},A.subtract=function(e,t){return pr(this,e,t,-1)},A.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)}},A.asMilliseconds=be,A.asSeconds=pe,A.asMinutes=Ae,A.asHours=ve,A.asDays=_e,A.asWeeks=Ke,A.asMonths=v,A.asQuarters=ge,A.asYears=we,A.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},A._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*gr(_r(r)+t),r=t=0),n.milliseconds=e%1e3,e=d(e/1e3),n.seconds=e%60,e=d(e/60),n.minutes=e%60,e=d(e/60),n.hours=e%24,t+=d(e/24),r+=e=d(yr(t)),t-=gr(_r(e)),e=d(r/12),r%=12,n.days=t,n.months=r,n.years=e,this},A.clone=function(){return L(this)},A.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},A.milliseconds=ye,A.seconds=Se,A.minutes=We,A.hours=y,A.days=Sr,A.weeks=function(){return d(this.days()/7)},A.months=wr,A.years=Er,A.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Mr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(n=Object.assign({},Mr,t),null!=t.s&&null==t.ss&&(n.ss=t.s-1)),t=Dr(this,!r,n,e=this.localeData()),r&&(t=e.pastFuture(+this,t)),e.postformat(t)},A.toISOString=kr,A.toString=kr,A.toJSON=kr,A.locale=Jt,A.localeData=Qt,A.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kr),A.lang=Qe,n("X",0,0,"unix"),n("x",0,0,"valueOf"),b("x",Te),b("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(f(e))}),m.version="2.29.3",x=P,m.fn=i,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 P(1e3*e)},m.months=function(e,t){return dr(e,t,"months")},m.isDate=I,m.locale=ft,m.invalid=W,m.duration=L,m.isMoment=l,m.weekdays=function(e,t,r){return fr(e,t,r,"weekdays")},m.parseZone=function(){return P.apply(null,arguments).parseZone()},m.localeData=H,m.isDuration=At,m.monthsShort=function(e,t){return dr(e,t,"monthsShort")},m.weekdaysMin=function(e,t,r){return fr(e,t,r,"weekdaysMin")},m.defineLocale=mt,m.updateLocale=function(e,t){var r,n;return null!=t?(n=lt,null!=C[e]&&null!=C[e].parentLocale?C[e].set(Q(C[e]._config,t)):(t=Q(n=null!=(r=dt(e))?r._config:n,t),null==r&&(t.abbr=e),(n=new ee(t)).parentLocale=C[e],C[e]=n),ft(e)):null!=C[e]&&(null!=C[e].parentLocale?(C[e]=C[e].parentLocale,e===ft()&&ft(e)):null!=C[e]&&delete C[e]),C[e]},m.locales=function(){return te(C)},m.weekdaysShort=function(e,t,r){return fr(e,t,r,"weekdaysShort")},m.normalizeUnits=c,m.relativeTimeRounding=function(e){return void 0===e?Tr:"function"==typeof e&&(Tr=e,!0)},m.relativeTimeThreshold=function(e,t){return void 0!==Mr[e]&&(void 0===t?Mr[e]:(Mr[e]=t,"s"===e&&(Mr.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=i,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 R,Cr,I=R.exports;const r=[];function U(n,i=ft){let s;const a=new Set;function o(e){if(h(n,e)&&(n=e,s)){const e=!r.length;for(const e of a)e[1](),r.push(e,n);if(e){for(let e=0;e<r.length;e+=2)r[e][0](r[e+1]);r.length=0}}}return{set:o,update:function(e){o(e(n))},subscribe:function(e,t=ft){const r=[e,t];return a.add(r),1===a.size&&(s=i(o)||ft),e(n),()=>{a.delete(r),0===a.size&&(s(),s=null)}}}}function e(e,o,t){const l=!Array.isArray(e),h=l?[e]:e,u=o.length<2;return{subscribe:U(t,t=>{let r=!1;const n=[];let i=0,s=ft;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),u?t(e):s=D(e)?e:ft)},e=h.map((e,t)=>x(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){mt(e),s()}}).subscribe}}function G(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===V));var t}var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function W(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function j(e,t,r){return e.concat(t).map(function(e){return W(e,r)})}function $(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function z(e,t){try{return t in e}catch(e){return!1}}function Z(n,i,s){var a={};return s.isMergeableObject(n)&&$(n).forEach(function(e){a[e]=W(n[e],s)}),$(i).forEach(function(t){var e,r;(!z(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(z(n,t)&&s.isMergeableObject(i[t])?a[t]=function(e){if(!e.customMerge)return o;e=e.customMerge(t);return"function"==typeof e?e:o}(s)(n[t],i[t],s):a[t]=W(i[t],s))}),a}function o(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||j,r.isMergeableObject=r.isMergeableObject||G,r.cloneUnlessOtherwiseSpecified=W;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):Z(e,t,r):W(t,r)}o.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return o(e,t,r)},{});throw new Error("first argument should be an array")};var X=o,q=function(e,t){return(q=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 K(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}q(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var p,_,v,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 J(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 Q(e){return e.type===_.literal}function ee(e){return e.type===_.number}function te(e){return e.type===_.date}function re(e){return e.type===_.time}function ne(e){return e.type===_.select}function ie(e){return e.type===_.plural}function se(e){return e.type===_.tag}function ae(e){return e&&"object"==typeof e&&e.type===v.number}function oe(e){return e&&"object"==typeof e&&e.type===v.dateTime}(n=p=p||{})[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(n=_=_||{})[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag",(n=v=v||{})[n.number=0]="number",n[n.dateTime=1]="dateTime";var n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,le=/(?:[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 he=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,ue=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ce=/^(@+)?(\+|#+)?[rs]?$/g,de=/(\*)(0+)|(#+)(0+)|(0+)/g,fe=/^(0+)$/;function me(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(ce,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 ge(e){return pe(e)||{}}function ye(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),ge(t))},{}));continue;case"engineering":a=b(b(b({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return b(b({},e),ge(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(de,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(fe.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(ue.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ue,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),me(s)))}else ce.test(i.stem)?a=b(b({},a),me(i.stem)):((s=pe(i.stem))&&(a=b(b({},a),s)),(n=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!fe.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 _e={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 ve=new RegExp("^".concat(n.source,"*")),be=new RegExp("".concat(n.source,"*$"));function S(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,Se=!!String.fromCodePoint,we=!!Object.fromEntries,Ee=!!String.prototype.codePointAt,Te=!!String.prototype.trimStart,Me=!!String.prototype.trimEnd,De=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Be=!0;try{Be="a"===(null==(ze=xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ze[0])}catch(ft){Be=!1}var Ne,ke,Oe=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Ce=Se?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},He=we?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],s=i[0],i=i[1];t[s]=i}return t},Pe=Ee?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},Le=Te?function(e){return e.trimStart()}:function(e){return e.replace(ve,"")},Ae=Me?function(e){return e.trimEnd()}:function(e){return e.replace(be,"")};function xe(e,t){return new RegExp(e,t)}ke=Be?(Ne=xe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Ne.lastIndex=t,null!=(t=Ne.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=Pe(e,t);if(void 0===i||Re(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 Ce.apply(void 0,n)};i.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},i.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(p.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Fe(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{s=this.clonePosition();this.bump(),n.push({type:_.pound,location:S(s,this.clonePosition())})}}}return{val:n,err:null}},i.prototype.parseTag=function(e,t){var r=this.clonePosition(),n=(this.bump(),this.parseTagName());if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:_.literal,value:"<".concat(n,"/>"),location:S(r,this.clonePosition())},err:null};if(this.bumpIf(">")){e=this.parseMessage(e+1,t,!0);if(e.err)return e;t=e.val,e=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Fe(this.char()))return this.error(p.INVALID_TAG,S(e,this.clonePosition()));var i=this.clonePosition();return n!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,S(i,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:_.tag,value:n,children:t,location:S(r,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,S(e,this.clonePosition())))}return this.error(p.UNCLOSED_TAG,S(r,this.clonePosition()))}return this.error(p.INVALID_TAG,S(r,this.clonePosition()))},i.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())},i.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=S(r,this.clonePosition());return{val:{type:_.literal,value:n,location:r},err:null}},i.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Fe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},i.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 Ce.apply(void 0,t)},i.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Ce(r))},i.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,S(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,S(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(p.MALFORMED_ARGUMENT,S(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,S(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:_.argument,value:n,location:S(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,S(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(p.MALFORMED_ARGUMENT,S(r,this.clonePosition()))}},i.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ke(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:S(e,this.clonePosition())}},i.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(p.EXPECT_ARGUMENT_TYPE,S(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((m=this.parseSimpleArgStyleIfPossible()).err)return m;if(0===(f=Ae(m.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:S(h,this.clonePosition())}}if((h=this.tryParseArgumentClose(n)).err)return h;var u=S(n,this.clonePosition());if(l&&Oe(null==l?void 0:l.style,"::",0)){var c=Le(l.style.slice(2));if("number"===a)return(m=this.parseNumberSkeletonFromString(c,l.styleLocation)).err?m:{val:{type:_.number,value:r,location:u,style:m.val},err:null};if(0===c.length)return this.error(p.EXPECT_DATE_TIME_SKELETON,u);var d=c,f=(this.locale&&(d=function(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=function(e){var t,r=e.hourCycle;if(r=void 0===r&&e.hourCycles&&e.hourCycles.length?e.hourCycles[0]:r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}return"root"!==(r=e.language)&&(t=e.maximize().region),(_e[t||""]||_e[r||""]||_e["".concat(r,"-001")]||_e["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}(c,this.locale)),{type:v.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},d.replace(le,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):{}});return{val:{type:"date"===a?_.date:_.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===a?_.number:"date"===a?_.date:_.time,value:r,location:u,style:null!=(c=null==l?void 0:l.style)?c:null},err:null};case"plural":case"selectordinal":case"select":d=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,S(d,b({},d)));this.bumpSpace();var m,f=this.parseIdentifierIfPossible(),u=0;if("select"!==a&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(m=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return m;this.bumpSpace(),f=this.parseIdentifierIfPossible(),u=m.val}l=this.tryParsePluralOrSelectOptions(e,a,t,f);if(l.err)return l;if((h=this.tryParseArgumentClose(n)).err)return h;c=S(n,this.clonePosition());return"select"===a?{val:{type:_.select,value:r,options:He(l.val),location:c},err:null}:{val:{type:_.plural,value:r,options:He(l.val),offset:u,pluralType:"plural"===a?"cardinal":"ordinal",location:c},err:null};default:return this.error(p.INVALID_ARGUMENT_TYPE,S(s,o))}},i.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,S(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},i.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(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(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}},i.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(he).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(p.INVALID_NUMBER_SKELETON,t)}return{val:{type:v.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?ye(r):{}},err:null}},i.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(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=S(h,this.clonePosition()),o=this.message.slice(h.offset,this.offset())}if(a.has(o))return this.error("select"===t?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===o&&(i=!0),this.bumpSpace();u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(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:S(u,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===s.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(p.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:s,err:null}},i.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=S(n,this.clonePosition());return i?De(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},i.prototype.offset=function(){return this.position.offset},i.prototype.isEOF=function(){return this.offset()===this.message.length},i.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},i.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Pe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},i.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},i.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))},i.prototype.bumpIf=function(e){if(Oe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},i.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)},i.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}},i.prototype.bumpSpace=function(){for(;!this.isEOF()&&Re(this.char());)this.bump()},i.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),t=this.message.charCodeAt(t+(65536<=e?2:1));return null!=t?t:null};var Ye=i;function i(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 Fe(e){return 97<=e&&e<=122||65<=e&&e<=90}function Re(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Ie(e,t){t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ye(e,t).parse();if(e.err)throw(r=SyntaxError(p[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,ne(e)||ie(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else ee(e)&&ae(e.style)||(te(e)||re(e))&&oe(e.style)?delete e.style.location:se(e)&&r(e.children)})}(e.val),e.val}function Ue(e,t){var r=t&&t.cache?t.cache:Ze,n=t&&t.serializer?t.serializer:je;return(t&&t.strategy?t.strategy:function(e,t){return We(e,this,1===e.length?Ge:Ve,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Ge(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 Ve(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 We(e,t,r,n,i){return r.bind(t,e,n,i)}var je=function(){return JSON.stringify(arguments)};function $e(){this.cache=Object.create(null)}$e.prototype.get=function(e){return this.cache[e]},$e.prototype.set=function(e,t){this.cache[e]=t};var w,ze,Ze={create:function(){return new $e}},Xe={variadic:function(e,t){return We(e,this,Ve,t.cache.create(),t.serializer)},monadic:function(e,t){return We(e,this,Ge,t.cache.create(),t.serializer)}};(ze=w=w||{}).MISSING_VALUE="MISSING_VALUE",ze.INVALID_VALUE="INVALID_VALUE",ze.MISSING_INTL_API="MISSING_INTL_API";K(ot,Qe=Error),ot.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var E,qe,Ke,Je,Qe,et=ot,tt=(K(at,Je=et),at),rt=(K(st,Ke=et),st),nt=(K(it,qe=et),it);function it(e,t){return qe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),w.MISSING_VALUE,t)||this}function st(e,t,r){return Ke.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),w.INVALID_VALUE,r)||this}function at(e,t,r,n){return Je.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),w.INVALID_VALUE,n)||this}function ot(e,t,r){e=Qe.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function lt(e,t,r,n,i,s,a){if(1===e.length&&Q(e[0]))return[{type:E.literal,value:e[0].value}];for(var o=[],l=0,h=e;l<h.length;l++){var u=h[l];if(Q(u))o.push({type:E.literal,value:u.value});else if(u.type===_.pound)"number"==typeof s&&o.push({type:E.literal,value:r.getNumberFormat(t).format(s)});else{var c=u.value;if(!(i&&c in i))throw new nt(c,a);c=i[c];if(u.type===_.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),o.push({type:"string"==typeof c?E.literal:E.object,value:c});else if(te(u)){var d="string"==typeof u.style?n.date[u.style]:oe(u.style)?u.style.parsedOptions:void 0;o.push({type:E.literal,value:r.getDateTimeFormat(t,d).format(c)})}else if(re(u))d="string"==typeof u.style?n.time[u.style]:oe(u.style)?u.style.parsedOptions:n.time.medium,o.push({type:E.literal,value:r.getDateTimeFormat(t,d).format(c)});else if(ee(u))(d="string"==typeof u.style?n.number[u.style]:ae(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),o.push({type:E.literal,value:r.getNumberFormat(t,d).format(c)});else{if(se(u)){var f=u.children,m=u.value,p=i[m];if("function"!=typeof p)throw new rt(m,"function",a);m=p(lt(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?E.literal:E.object,value:e}}))}if(ne(u)){if(!(g=u.options[c]||u.options.other))throw new tt(u.value,c,Object.keys(u.options),a);o.push.apply(o,lt(g.value,t,r,n,i))}else if(ie(u)){if(!(g=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new et('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',w.MISSING_INTL_API,a);var p=r.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0)),g=u.options[p]||u.options.other}if(!g)throw new tt(u.value,c,Object.keys(u.options),a);o.push.apply(o,lt(g.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===E.literal&&t.type===E.literal?r.value+=t.value:e.push(t),e},[])}function ht(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=E=E||{})[n.literal=0]="literal",n[n.object=1]="object",Object.defineProperty(l,"defaultLocale",{get:function(){return l.memoizedDefaultLocale||(l.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),l.memoizedDefaultLocale},enumerable:!1,configurable:!0}),l.memoizedDefaultLocale=null,l.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])},l.__parse=Ie,l.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 ut=l;function l(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=l.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){e=a.formatToParts(e);if(1===e.length)return e[0].value;e=e.reduce(function(e,t){return e.length&&t.type===E.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return e.length<=1?e[0]||"":e},this.formatToParts=function(e){return lt(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=l.resolveLocale(t),"string"==typeof e){if(this.message=e,!l.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=l.__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=l.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:Ue(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,J([void 0],t,!1)))},{cache:ht((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Xe.variadic}),getDateTimeFormat:Ue(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,J([void 0],t,!1)))},{cache:ht(t.dateTime),strategy:Xe.variadic}),getPluralRules:Ue(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,J([void 0],t,!1)))},{cache:ht(t.pluralRules),strategy:Xe.variadic})}}const s={},ct=(e,t,r)=>r&&(t in s||(s[t]={}),e in s[t]||(s[t][e]=r),r),dt=(t,r)=>{if(null!=r){if(r in s&&t in s[r])return s[r][t];var n=Ut(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!Ot(e))return null;e=function(e){return Nt[e]||null}(e);{var n=r;if(null==n)return;if(n in e)return e[n];const i=n.split(".");let t=e;for(let e=0;e<i.length;e++)if("object"==typeof t){if(0<e){const n=i.slice(e,i.length).join(".");if(n in t){t=t[n];break}}t=t[i[e]]}else t=void 0;return t}}(n[e],t);if(i)return ct(t,r,i)}}};let Nt;const kt=U({});function Ot(e){return e in Nt}function Ct(t,...r){delete s[t],kt.update(e=>(e[t]=X.all([e[t]||{},...r]),e))}e([kt],([e])=>Object.keys(e)),kt.subscribe(e=>Nt=e);const Ht={};function Pt(e){return Ht[e]}function Lt(e){return null!=e&&Ut(e).some(e=>{return null==(e=Pt(e))?void 0:e.size})}const At={};function xt(e){if(!Lt(e))return e in At?At[e]:Promise.resolve();const t=Ut(e).map(e=>{var t=Pt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return At[e]=Promise.all(t.map(([e,t])=>{{var n=e;e=t;const r=Promise.all(e.map(e=>{var t=n,r=e;return Ht[t].delete(r),0===Ht[t].size&&delete Ht[t],e().then(e=>e.default||e)}));return r.then(e=>Ct(n,...e))}})).then(()=>{if(Lt(e))return xt(e);delete At[e]}),At[e]}function a(e,t){var r={};for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)t.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r}const u={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};const Yt=U(!1);let Ft;const Rt=U(null);function It(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Ut(e,t=u.fallbackLocale){e=It(e);return t?[...new Set([...e,...It(t)])]:e}function c(){return null!=Ft?Ft:void 0}Rt.subscribe(e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const A=Object.assign(Object.assign({},Rt),{set:t=>{if(t&&function(e){if(null!=e){var t=Ut(e);for(let e=0;e<t.length;e++){var r=t[e];if(Ot(r))return r}}}(t)&&Lt(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=c()&&r?e=window.setTimeout(()=>Yt.set(!0),r):Yt.set(!0),xt(t).then(()=>{Rt.set(t)}).finally(()=>{clearTimeout(e),Yt.set(!1)})}return Rt.set(t)}}),Gt=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Vt=(e,t)=>{var r=u["formats"];if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Wt=Gt(e=>{var{locale:t,format:r}=e,e=a(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(e=Vt("number",r)),new Intl.NumberFormat(t,e)}),jt=Gt(e=>{var{locale:t,format:r}=e,e=a(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?e=Vt("date",r):0===Object.keys(e).length&&(e=Vt("date","short")),new Intl.DateTimeFormat(t,e)}),$t=Gt(e=>{var{locale:t,format:r}=e,e=a(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?e=Vt("time",r):0===Object.keys(e).length&&(e=Vt("time","short")),new Intl.DateTimeFormat(t,e)}),zt=Gt((e,t=c())=>new ut(e,t,u.formats,{ignoreTag:u.ignoreTag})),Zt=e([A,kt],()=>(e,t={})=>{var r,n;let i=t;"object"==typeof e&&(e=(i=e).id);var{values:s,locale:a=c(),default:o}=i;if(null==a)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let l=dt(e,a);if(l){if("string"!=typeof l)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),l}else l=null!=(n=null!=(r=null==(r=(n=u).handleMissingMessage)?void 0:r.call(n,{locale:a,id:e,defaultValue:o}))?r:o)?n:e;if(!s)return l;let h=l;try{h=zt(l,a).format(s)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h}),Xt=(e([A],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return $t(Object.assign({locale:t},e))})(t).format(e)),e([A],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return jt(Object.assign({locale:t},e))})(t).format(e)),e([A],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return Wt(Object.assign({locale:t},e))})(t).format(e)),e([A,kt],()=>(e,t=c())=>dt(e,t)),{en:{registerFormStep2:{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"}},fr:{registerFormStep2:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Miss",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"}},tr:{registerFormStep2:{registerBackButton:"Geri",registerUserTitle:"Başlık",registerUserTitleSelect:"Başlık Seç",registerUserTitleSelectMr:"Bay.",registerUserTitleSelectMrs:"Bayan.",registerUserTitleSelectMs:"Hanım.",registerFirstName:"İlk adı",registerFirstNameError:"Ad 2-50 karakter uzunluğunda olmalıdır.",registerLastName:"Soyadı",registerLastNameError:"Soyadı 2-50 karakter uzunluğunda olmalıdır.",registerDateOfBirth:"Doğum tarihi",registerBirthDay:"Gün",registerBirthMonth:"Ay",registerBirthYear:"Yıl",registerBirthDateError:"Minimum kayıt yaşı {licenseyears} yıllar.",registerBirthPlace:"Doğum yeri",registerBirthPlaceError:"Doğum yeri en az 1 karakter uzunluğunda olmalıdır.",registerCurrency:"Para birimi",registerNext:"Sonraki"}},ro:{registerFormStep2:{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"}},es:{registerFormStep2:{registerBackButton:"Regresar",registerUserTitle:"Título",registerUserTitleSelect:"Select Title",registerUserTitleSelectMr:"Mr.",registerUserTitleSelectMrs:"Mrs.",registerUserTitleSelectMs:"Ms.",registerFirstName:"Primer nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Ultimo nombre",registerLastNameError:"El apellido debe tener al menos 2 caracteres y no contener caracteres especiales.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Day",registerBirthMonth:"Month",registerBirthYear:"Year",registerBirthDateError:"El lugar de nacimiento debe tener al menos 1 carácter.",registerBirthPlace:"Lugar de nacimiento",registerBirthPlaceError:"Birth place must be at least 1 character long.",registerCurrency:"Moneda",registerNext:"Siguiente"}},pt:{registerFormStep2:{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"}}});function qt(e,t,r){const n=e.slice();return n[47]=t[r],n}function Kt(e,t,r){const n=e.slice();return n[50]=t[r],n}function Jt(e,t,r){const n=e.slice();return n[53]=t[r],n}function Qt(e,t,r){const n=e.slice();return n[56]=t[r],n}function er(e){let r,n,i=e[16]("registerFormStep2.registerFirstNameError")+"";return{c(){r=_t("p"),n=vt(i),St(r,"class","InvalidInput"),St(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerFirstNameError")+"")&&wt(n,i)},d(e){e&&yt(r)}}}function tr(e){let r,n,i=e[16]("registerFormStep2.registerLastNameError")+"";return{c(){r=_t("p"),n=vt(i),St(r,"class","InvalidInput"),St(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerLastNameError")+"")&&wt(n,i)},d(e){e&&yt(r)}}}function rr(e){let r,n,t,i=e[56]+"";return{c(){r=_t("option"),n=vt(i),r.__value=t=e[56],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function nr(e){let r,n,t,i=e[53]+"";return{c(){r=_t("option"),n=vt(i),r.__value=t=e[53],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function ir(t){let i,s=t[19],a=[];for(let e=0;e<s.length;e+=1)a[e]=sr(Kt(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=vt("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);gt(t,i,r)},p(t,r){if(524288&r[0]){let e;for(s=t[19],e=0;e<s.length;e+=1){var n=Kt(t,s,e);a[e]?a[e].p(n,r):(a[e]=sr(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){Dt(a,e),e&&yt(i)}}}function sr(e){let r,n,t,i=e[50]+"";return{c(){r=_t("option"),n=vt(i),r.__value=t=e[50],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p:ft,d(e){e&&yt(r)}}}function ar(e){let r,n,i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=_t("p"),n=vt(i),St(r,"class","InvalidInput"),St(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65537&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&wt(n,i)},d(e){e&&yt(r)}}}function or(e){let r,n,i=e[16]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=_t("p"),n=vt(i),St(r,"class","InvalidInput"),St(r,"part","InvalidInput")},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){65536&t[0]&&i!==(i=e[16]("registerFormStep2.registerBirthPlaceError")+"")&&wt(n,i)},d(e){e&&yt(r)}}}function lr(e){let r,n,i,s=e[47]+"";return{c(){r=_t("option"),n=vt(s),r.__value=i=e[47],r.value=r.__value},m(e,t){gt(e,r,t),pt(r,n)},p(e,t){4096&t[0]&&s!==(s=e[47]+"")&&wt(n,s),4096&t[0]&&i!==(i=e[47])&&(r.__value=i,r.value=r.__value)},d(e){e&&yt(r)}}}function hr(r){let n,i,s,F,R,I,U,G,V,W,a,o,l,j,$,z,Z,h,u,X,c,q,d,K,J,Q,ee,f,te,re,ne,ie,se,m,ae,e,oe,le,p,he,ue,ce,de,fe,g,me,pe,ge,ye,y,_e,ve,be,Se,we,_,v,b,Ee,Te,S,w,Me,De,E,T,Be,Ne,ke,M,Oe,Ce,He,Pe,Le,D,Ae,xe,Ye,Fe,B,Re,Ie,Ue,Ge,Ve,N,We,k,je,$e,ze,Ze,Xe=r[16]("registerFormStep2.registerBackButton")+"",qe=r[16]("registerFormStep2.registerUserTitle")+"",Ke=r[16]("registerFormStep2.registerUserTitleSelect")+"",Je=r[16]("registerFormStep2.registerUserTitleSelectMr")+"",Qe=r[16]("registerFormStep2.registerUserTitleSelectMrs")+"",et=r[16]("registerFormStep2.registerUserTitleSelectMs")+"",tt=r[16]("registerFormStep2.registerFirstName")+"",rt=r[16]("registerFormStep2.registerLastName")+"",nt=r[16]("registerFormStep2.registerDateOfBirth")+"",it=r[16]("registerFormStep2.registerBirthDay")+"",st=r[16]("registerFormStep2.registerBirthMonth")+"",at=r[16]("registerFormStep2.registerBirthYear")+"",ot=r[16]("registerFormStep2.registerBirthPlace")+"",lt=r[16]("registerFormStep2.registerCurrency")+"",ht=r[16]("registerFormStep2.registerNext")+"",O=r[1]&&er(r),C=r[2]&&tr(r),ut=r[17],H=[];for(let e=0;e<ut.length;e+=1)H[e]=rr(Qt(r,ut,e));let ct=r[18],P=[];for(let e=0;e<ct.length;e+=1)P[e]=nr(Jt(r,ct,e));let L=!r[15]&&ir(r),A=r[3]&&ar(r),x=r[4]&&or(r),dt=r[12],Y=[];for(let e=0;e<dt.length;e+=1)Y[e]=lr(qt(r,dt,e));return{c(){n=_t("div"),i=_t("button"),s=Bt("svg"),F=Bt("defs"),R=Bt("style"),I=vt(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),U=Bt("path"),G=t(),V=vt(Xe),W=t(),a=_t("div"),o=_t("div"),l=_t("label"),j=vt(qe),$=vt(":"),(z=_t("span")).textContent="*",Z=t(),h=_t("select"),u=_t("option"),X=vt(Ke),c=_t("option"),q=vt(Je),d=_t("option"),K=vt(Qe),J=_t("option"),Q=vt(et),ee=t(),f=_t("div"),te=_t("label"),re=vt(tt),ne=vt(":"),(ie=_t("span")).textContent="*",se=t(),m=_t("input"),ae=t(),O&&O.c(),le=t(),p=_t("div"),he=_t("label"),ue=vt(rt),ce=vt(":"),(de=_t("span")).textContent="*",fe=t(),g=_t("input"),me=t(),C&&C.c(),ye=t(),y=_t("div"),_e=_t("label"),ve=vt(nt),be=vt(":"),(Se=_t("span")).textContent="*",we=t(),_=_t("div"),v=_t("select"),b=_t("option"),Ee=vt(it);for(let e=0;e<H.length;e+=1)H[e].c();Te=t(),S=_t("select"),w=_t("option"),Me=vt(st);for(let e=0;e<P.length;e+=1)P[e].c();De=t(),E=_t("select"),T=_t("option"),Be=vt(at),L&&L.c(),Ne=t(),A&&A.c(),ke=t(),M=_t("div"),Oe=_t("label"),Ce=vt(ot),He=vt(":"),(Pe=_t("span")).textContent="*",Le=t(),D=_t("input"),Ae=t(),x&&x.c(),Fe=t(),B=_t("div"),Re=_t("label"),Ie=vt(lt),Ue=vt(":"),(Ge=_t("span")).textContent="*",Ve=t(),N=_t("select");for(let e=0;e<Y.length;e+=1)Y[e].c();We=t(),k=_t("button"),je=vt(ht),this.c=ft,St(U,"class","a"),St(U,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),St(U,"transform","translate(24 24) rotate(180)"),St(s,"xmlns","http://www.w3.org/2000/svg"),St(s,"viewBox","0 0 24 24"),St(i,"class","BackButton"),St(i,"part","BackButton"),St(n,"class","RegisterFormHeader"),St(n,"part","RegisterFormHeader"),St(z,"class","FormRequired"),St(z,"part","FormRequired"),St(l,"for","Title"),u.__value="",u.value=u.__value,u.disabled=!0,u.selected=!0,c.__value="Mr.",c.value=c.__value,d.__value="Mrs.",d.value=d.__value,J.__value="Ms.",J.value=J.__value,St(h,"id","Title"),void 0===r[5]&&Mt(()=>r[29].call(h)),St(o,"class","UserTitleContainer"),St(o,"part","UserTitleContainer"),St(ie,"class","FormRequired"),St(ie,"part","FormRequired"),St(te,"for","FirstName"),St(m,"type","text"),St(m,"id","FirstName"),St(f,"class",e="FirstNameContainer "+(r[1]?"InvalidField":"")),St(f,"part",oe="FirstNameContainer "+(r[1]?"InvalidField":"")),St(de,"class","FormRequired"),St(de,"part","FormRequired"),St(he,"for","LastName"),St(g,"type","text"),St(g,"id","LastName"),St(p,"class",pe="LastNameContainer "+(r[2]?"InvalidField":"")),St(p,"part",ge="LastNameContainer "+(r[2]?"InvalidField":"")),St(Se,"class","FormRequired"),St(Se,"part","FormRequired"),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,St(v,"class","BirthDaySelected"),St(v,"part","BirthDaySelected"),void 0===r[8]&&Mt(()=>r[32].call(v)),w.__value="",w.value=w.__value,w.disabled=!0,w.selected=!0,St(S,"class","BirthMonthSelected"),St(S,"part","BirthMonthSelected"),void 0===r[9]&&Mt(()=>r[33].call(S)),T.__value="",T.value=T.__value,T.disabled=!0,T.selected=!0,St(E,"class","BirthYearSelected"),St(E,"part","BirthYearSelected"),void 0===r[10]&&Mt(()=>r[34].call(E)),St(_,"class","BirthDateOptions"),St(_,"part","BirthDateOptions"),St(y,"class","BirthDateContainer"),St(y,"part","BirthDateContainer"),St(Pe,"class","FormRequired"),St(Pe,"part","FormRequired"),St(Oe,"for","BirthPlace"),St(D,"type","text"),St(D,"id","BirthPlace"),St(M,"class",xe="BirthPlaceContainer "+(r[4]?"InvalidField":"")),St(M,"part",Ye="BirthPlaceContainer "+(r[4]?"InvalidField":"")),St(Ge,"class","FormRequired"),St(Ge,"part","FormRequired"),St(Re,"for","Currency"),St(N,"id","Currency"),void 0===r[13]&&Mt(()=>r[36].call(N)),St(B,"class","CurrencyContainer"),St(B,"part","CurrencyContainer"),St(a,"class","RegisterFormContent"),St(a,"part","RegisterFormContent"),St(k,"class","RegisterStepNext"),St(k,"part","RegisterStepNext"),k.disabled=$e=!r[14]},m(e,t){gt(e,n,t),pt(n,i),pt(i,s),pt(s,F),pt(F,R),pt(R,I),pt(s,U),pt(i,G),pt(i,V),gt(e,W,t),gt(e,a,t),pt(a,o),pt(o,l),pt(l,j),pt(l,$),pt(l,z),pt(o,Z),pt(o,h),pt(h,u),pt(u,X),pt(h,c),pt(c,q),pt(h,d),pt(d,K),pt(h,J),pt(J,Q),Tt(h,r[5]),pt(a,ee),pt(a,f),pt(f,te),pt(te,re),pt(te,ne),pt(te,ie),pt(f,se),pt(f,m),Et(m,r[6]),pt(f,ae),O&&O.m(f,null),pt(a,le),pt(a,p),pt(p,he),pt(he,ue),pt(he,ce),pt(he,de),pt(p,fe),pt(p,g),Et(g,r[7]),pt(p,me),C&&C.m(p,null),pt(a,ye),pt(a,y),pt(y,_e),pt(_e,ve),pt(_e,be),pt(_e,Se),pt(y,we),pt(y,_),pt(_,v),pt(v,b),pt(b,Ee);for(let e=0;e<H.length;e+=1)H[e].m(v,null);Tt(v,r[8]),pt(_,Te),pt(_,S),pt(S,w),pt(w,Me);for(let e=0;e<P.length;e+=1)P[e].m(S,null);Tt(S,r[9]),pt(_,De),pt(_,E),pt(E,T),pt(T,Be),L&&L.m(E,null),Tt(E,r[10]),pt(_,Ne),A&&A.m(_,null),pt(a,ke),pt(a,M),pt(M,Oe),pt(Oe,Ce),pt(Oe,He),pt(Oe,Pe),pt(M,Le),pt(M,D),Et(D,r[11]),pt(M,Ae),x&&x.m(M,null),pt(a,Fe),pt(a,B),pt(B,Re),pt(Re,Ie),pt(Re,Ue),pt(Re,Ge),pt(B,Ve),pt(B,N);for(let e=0;e<Y.length;e+=1)Y[e].m(N,null);Tt(N,r[13]),gt(e,We,t),gt(e,k,t),pt(k,je),ze||(Ze=[bt(i,"click",r[26]),bt(h,"change",r[29]),bt(h,"change",r[21]),bt(m,"input",r[30]),bt(m,"blur",r[22]),bt(g,"input",r[31]),bt(g,"blur",r[23]),bt(v,"change",r[32]),bt(v,"change",r[20]),bt(S,"change",r[33]),bt(S,"change",r[20]),bt(E,"change",r[34]),bt(E,"change",r[20]),bt(D,"input",r[35]),bt(D,"keyup",r[24]),bt(N,"change",r[36]),bt(k,"click",r[25])],ze=!0)},p(t,r){if(65536&r[0]&&Xe!==(Xe=t[16]("registerFormStep2.registerBackButton")+"")&&wt(V,Xe),65536&r[0]&&qe!==(qe=t[16]("registerFormStep2.registerUserTitle")+"")&&wt(j,qe),65536&r[0]&&Ke!==(Ke=t[16]("registerFormStep2.registerUserTitleSelect")+"")&&wt(X,Ke),65536&r[0]&&Je!==(Je=t[16]("registerFormStep2.registerUserTitleSelectMr")+"")&&wt(q,Je),65536&r[0]&&Qe!==(Qe=t[16]("registerFormStep2.registerUserTitleSelectMrs")+"")&&wt(K,Qe),65536&r[0]&&et!==(et=t[16]("registerFormStep2.registerUserTitleSelectMs")+"")&&wt(Q,et),32&r[0]&&Tt(h,t[5]),65536&r[0]&&tt!==(tt=t[16]("registerFormStep2.registerFirstName")+"")&&wt(re,tt),64&r[0]&&m.value!==t[6]&&Et(m,t[6]),t[1]?O?O.p(t,r):((O=er(t)).c(),O.m(f,null)):O&&(O.d(1),O=null),2&r[0]&&e!==(e="FirstNameContainer "+(t[1]?"InvalidField":""))&&St(f,"class",e),2&r[0]&&oe!==(oe="FirstNameContainer "+(t[1]?"InvalidField":""))&&St(f,"part",oe),65536&r[0]&&rt!==(rt=t[16]("registerFormStep2.registerLastName")+"")&&wt(ue,rt),128&r[0]&&g.value!==t[7]&&Et(g,t[7]),t[2]?C?C.p(t,r):((C=tr(t)).c(),C.m(p,null)):C&&(C.d(1),C=null),4&r[0]&&pe!==(pe="LastNameContainer "+(t[2]?"InvalidField":""))&&St(p,"class",pe),4&r[0]&&ge!==(ge="LastNameContainer "+(t[2]?"InvalidField":""))&&St(p,"part",ge),65536&r[0]&&nt!==(nt=t[16]("registerFormStep2.registerDateOfBirth")+"")&&wt(ve,nt),65536&r[0]&&it!==(it=t[16]("registerFormStep2.registerBirthDay")+"")&&wt(Ee,it),131072&r[0]){let e;for(ut=t[17],e=0;e<ut.length;e+=1){var n=Qt(t,ut,e);H[e]?H[e].p(n,r):(H[e]=rr(n),H[e].c(),H[e].m(v,null))}for(;e<H.length;e+=1)H[e].d(1);H.length=ut.length}if(131328&r[0]&&Tt(v,t[8]),65536&r[0]&&st!==(st=t[16]("registerFormStep2.registerBirthMonth")+"")&&wt(Me,st),262144&r[0]){let e;for(ct=t[18],e=0;e<ct.length;e+=1){var i=Jt(t,ct,e);P[e]?P[e].p(i,r):(P[e]=nr(i),P[e].c(),P[e].m(S,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=ct.length}if(262656&r[0]&&Tt(S,t[9]),65536&r[0]&&at!==(at=t[16]("registerFormStep2.registerBirthYear")+"")&&wt(Be,at),t[15]?L&&(L.d(1),L=null):L?L.p(t,r):((L=ir(t)).c(),L.m(E,null)),525312&r[0]&&Tt(E,t[10]),t[3]?A?A.p(t,r):((A=ar(t)).c(),A.m(_,null)):A&&(A.d(1),A=null),65536&r[0]&&ot!==(ot=t[16]("registerFormStep2.registerBirthPlace")+"")&&wt(Ce,ot),2048&r[0]&&D.value!==t[11]&&Et(D,t[11]),t[4]?x?x.p(t,r):((x=or(t)).c(),x.m(M,null)):x&&(x.d(1),x=null),16&r[0]&&xe!==(xe="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&St(M,"class",xe),16&r[0]&&Ye!==(Ye="BirthPlaceContainer "+(t[4]?"InvalidField":""))&&St(M,"part",Ye),65536&r[0]&<!==(lt=t[16]("registerFormStep2.registerCurrency")+"")&&wt(Ie,lt),4096&r[0]){let e;for(dt=t[12],e=0;e<dt.length;e+=1){var s=qt(t,dt,e);Y[e]?Y[e].p(s,r):(Y[e]=lr(s),Y[e].c(),Y[e].m(N,null))}for(;e<Y.length;e+=1)Y[e].d(1);Y.length=dt.length}12288&r[0]&&Tt(N,t[13]),65536&r[0]&&ht!==(ht=t[16]("registerFormStep2.registerNext")+"")&&wt(je,ht),16384&r[0]&&$e!==($e=!t[14])&&(k.disabled=$e)},i:ft,o:ft,d(e){e&&yt(n),e&&yt(W),e&&yt(a),O&&O.d(),C&&C.d(),Dt(H,e),Dt(P,e),L&&L.d(),A&&A.d(),x&&x.d(),Dt(Y,e),e&&yt(We),e&&yt(k),ze=!1,mt(Ze)}}}function ur(t,e,r){let n;var i=Zt;t.$$.on_destroy.push(x(i,e=>r(16,n=e)));let s,a,o,l,h,u,c,{endpoint:d=""}=e,{lang:f=""}=e,{licenseyears:m=""}=e,p=!1,g=!1,y=!1,_=!1,v="",b="",S=[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],w=[1,2,3,4,5,6,7,8,9,10,11,12],E=[],T="",M=[],D="",B=new Date,N=!1,k=!0;Object.keys(Xt).forEach(e=>{Ct(e,Xt[e])});const O=()=>{r(14,N=!(p||g||y||_)),!(v.length<=0||b.length<=0||T.length<=0)&&s&&a&&o&&l||r(14,N=!1)},C=e=>!!(e&&2<=e.length&&e.length<=50),H=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(5,s=e.data.userData.title),r(6,v=e.data.userData.firstname),r(7,b=e.data.userData.lastname),r(8,a=e.data.userData.birth.day),r(9,o=e.data.userData.birth.month),r(10,l=e.data.userData.birth.year),r(11,T=e.data.userData.birthPlace),r(13,D=e.data.userData.currency),O())};return i=()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}),function(){if(L)return L;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"endpoint"in e&&r(27,d=e.endpoint),"lang"in e&&r(28,f=e.lang),"licenseyears"in e&&r(0,m=e.licenseyears)},t.$$.update=()=>{if(134217728&t.$$.dirty[0]&&d&&fetch(d+"/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(12,M=e.currencies),D||r(13,D=M[0])}),268435456&t.$$.dirty[0]&&f&&(e=f,A.set(e)),1&t.$$.dirty[0]&&m){u=parseInt(I(B.setDate(B.getDate())).subtract(parseInt(m,10),"y").format("YYYY")),h=parseInt(I(B.setDate(B.getDate())).subtract(100+parseInt(m,10),"y").format("YYYY"));for(let e=u;e>=h;e--)E.push(e);r(15,k=!1)}var e},[m,p,g,y,_,s,v,b,a,o,l,T,M,D,N,k,n,S,w,E,()=>{l&&o&&a&&(c=I(B.setDate(B.getDate())).diff(I(`${l}-${o}-`+a,"YYYY-MM-DD"),"years").toString(),r(3,y=c<m)),O()},O,()=>{r(1,p=!C(v)),O()},()=>{r(2,g=!C(b)),O()},()=>{r(4,_=!(T&&T.length<=120)),O()},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:b,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:D};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},()=>{var e={userTitleSelected:s,userFirstName:v,userLastName:b,birthDaySelected:a,birthMonthSelected:o,birthYearSelected:l,birthPlace:T,currencySelected:D};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},d,f,function(){s=P(this),r(5,s)},function(){v=this.value,r(6,v)},function(){b=this.value,r(7,b)},function(){a=P(this),r(8,a),r(17,S)},function(){o=P(this),r(9,o),r(18,w)},function(){l=P(this),r(10,l),r(19,E)},function(){T=this.value,r(11,T)},function(){D=P(this),r(13,D),r(12,M)}]}class cr extends F{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.BackButton{display:inline-flex;color: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-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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.UserTitleContainer,.FirstNameContainer,.LastNameContainer,.BirthDateContainer,.BirthPlaceContainer,.CurrencyContainer{color: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,.CurrencyContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserTitleContainer select,.FirstNameContainer input,.LastNameContainer input,.BirthDateContainer select,.BirthPlaceContainer 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{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt 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-color-primary, #D0046C);box-shadow:0 0 0 1pt var(--emfe-w-color-primary, #D0046C)}.FormRequired{color:var(--emfe-w-color-secondary, #FD2839)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;position:absolute;bottom:-3px;line-height:10px}.RegisterStepNext{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;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}</style>",Y(this,{target:this.shadowRoot,props:function(e){const t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},ur,hr,h,{endpoint:27,lang:28,licenseyears:0},null,[-1,-1]),e&&(e.target&>(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["endpoint","lang","licenseyears"]}get endpoint(){return this.$$.ctx[27]}set endpoint(e){this.$$set({endpoint:e}),y()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),y()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),y()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",cr),cr});
|
|
2
2
|
//# sourceMappingURL=general-player-register-form-step2.js.map
|