@everymatrix/general-player-register-form-step2 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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 yt(){}function T(e){return e()}function M(){return Object.create(null)}function _t(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 z(e,...t){if(null==e)return yt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function bt(e,t){e.appendChild(t)}function vt(e,t,r){e.insertBefore(t,r||null)}function St(e){e.parentNode.removeChild(e)}function kt(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function wt(e){return document.createElement(e)}function Ct(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Et(e){return document.createTextNode(e)}function t(){return Et(" ")}function Tt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Mt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Dt(e,t){e.wholeText!==(t=""+t)&&(e.data=t)}function Bt(e,t){e.value=null==t?"":t}function Nt(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 V(e){e=e.querySelector(":checked")||e.options[0];return e&&e.__value}let W;function g(e){W=e}const B=[],Z=[],d=[],f=[],N=Promise.resolve();let O=!1;function Ot(e){d.push(e)}const m=new Set;let k=0;function y(){const e=W;do{for(;k<B.length;){const e=B[k];k++,g(e),t=r=void 0;var t,r=e.$$;null!==r.fragment&&(r.update(),_t(r.before_update),t=r.dirty,r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Ot))}for(g(null),B.length=0,k=0;Z.length;)Z.pop()();for(let e=0;e<d.length;e+=1){const n=d[e];m.has(n)||(m.add(n),n())}}while(d.length=0,B.length);for(;f.length;)f.pop()();O=!1,m.clear(),g(e)}const C=new Set;function H(n,e,t,r,i,s,a,o=[-1]){var l=W;g(n);const h=n.$$={fragment:null,ctx:null,props:s,update:yt,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),O||(O=!0,N.then(y)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31)),t}):[],h.update(),u=!0,_t(h.before_update),h.fragment=!!r&&r(h.ctx),e.target){if(e.hydrate){s=e.target;const yt=Array.from(s.childNodes);h.fragment&&h.fragment.l(yt),yt.forEach(St)}else h.fragment&&h.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(C.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||Ot(()=>{var e=f.map(T).filter(D);m?m.push(...e):_t(e),c.$$.on_mount=[]}),p.forEach(Ot)}y()}g(l)}let P;function kr(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(P=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(){_t(this.$$.on_disconnect)}$destroy(){{var e;const t=this.$$;null!==t.fragment&&(_t(t.on_destroy),t.fragment&&t.fragment.d(1),t.on_destroy=t.fragment=null,t.ctx=[])}this.$destroy=yt}$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=x={path:void 0,exports:{},require:function(e,t){return kr(null==t&&x.path)}},x.exports,Cr.exports=function(){var A;function m(){return A.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Y(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(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 U(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function I(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 $(e){if(null==e._isValid){var t=g(e),r=W.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 V(e){var t=h(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=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},j=m.momentProperties=[],z=!1;function Z(e,t){var r,n,i,s=j.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=j[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)&&(F(e[r])&&F(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)&&F(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(),xe(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?/,be=/\d\d\d\d\d\d?/,ve=/\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,b=/[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 v(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={},Oe={};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++)Oe[e[t]]=i}function ke(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,O=5,Ce=6,He=7,Pe=8;function xe(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),v("M",_),v("MM",_,y),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("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 Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ye=b,Re=b;function Ue(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(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ie(e){return null!=e?(Ue(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 $e(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),v("Y",Te),v("YY",_,y),v("YYYY",Se,ge),v("YYYYY",we,ye),v("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 Ve=de("FullYear",!0);function We(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 je(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+je(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?$e(s=e-1)+t:t>$e(e)?(s=e+1,t-$e(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+k(i=e.year()-1,t,r):s>k(e.year(),t,r)?(n=s-k(e.year(),t,r),i=e.year()+1):(i=e.year(),n=s),{week:n,year:i}}function k(e,t,r){var n=ze(e,t,r),t=ze(e+1,t,r);return($e(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),v("w",_),v("ww",_,y),v("W",_),v("WW",_,y),ke(["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),v("d",_),v("e",_),v("E",_),v("dd",function(e,t){return t.weekdaysMinRegex(e)}),v("ddd",function(e,t){return t.weekdaysShortRegex(e)}),v("dddd",function(e,t){return t.weekdaysRegex(e)}),ke(["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}),ke(["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=b,tt=b,rt=b;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),v("a",at),v("A",at),v("H",_),v("h",_),v("k",_),v("HH",_,y),v("hh",_,y),v("kk",_,y),v("hmm",_e),v("hmmss",be),v("Hmm",_e),v("Hmmss",be),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[O]=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[O]=f(e.substr(i))});b=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:Le,monthsShort:Ae,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,kr(),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]>xe(t[T],t[M])?D:t[B]<0||24<t[B]||24===t[B]&&(0!==t[N]||0!==t[O]||0!==t[Ce])?B:t[N]<0||59<t[N]?N:t[O]<0||59<t[O]?O: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)?/,bt=[["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]],vt=[["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=bt.length,h=vt.length;if(l){for(g(e).iso=!0,t=0,r=o;t<r;t++)if(bt[t][1].exec(l[1])){i=bt[t][0],n=!1!==bt[t][2];break}if(null==i)return e._isValid=!1;if(l[3]){for(t=0,r=h;t<r;t++)if(vt[t][1].exec(l[3])){s=(l[2]||" ")+vt[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||""),Ot(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),Ae.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=je.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>k(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>$e(c)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=je(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[O]&&0===e._a[Ce]&&(e._nextDay=!0,e._a[B]=0),e._d=(e._useUTC?je:We).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 Ot(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(Oe,c)&&Oe[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 kt(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 V({nullInput:!0});else return"string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(pt(r)):(U(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],Ot(t),$(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?Ot(e):o(n=(r=e)._i)?r._d=new Date(m.now()):U(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=I(n.slice(0),function(e){return parseInt(e,10)}),Nt(r)):F(n)?(i=r)._d||(t=void 0===(s=he(i._i)).day?s.date:s.day,i._a=I([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),$(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),(F(e)&&Y(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,(i=new X(pt(kt(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:V()}),be=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:V()});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 xt(e){var e=he(e),t=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=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 Lt(e){return e instanceof xt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(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)})}Ft("Z",":"),Ft("ZZ",""),v("Z",De),v("ZZ",De),w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rt(De,e)});var Yt=/([\+\-]|\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(Yt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||U(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):P(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function x(e,t){var r,n,i=e,s=null;return Lt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(s=$t.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[O])*r,ms:f(At(1e3*s[Ce]))*r}):(s=Vt.exec(e))?(r="-"===s[1]?-1:1,i={y:Wt(s[2],r),M:Wt(s[3],r),w:Wt(s[4],r),d:Wt(s[5],r),h:Wt(s[6],r),m:Wt(s[7],r),s:Wt(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=Ut(s,t),t.isBefore(s)?n=jt(t,s):((n=jt(s,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=r.milliseconds,i.M=r.months),s=new xt(i),Lt(e)&&p(e,"_locale")&&(s._locale=e._locale),Lt(e)&&p(e,"_isValid")&&(s._isValid=e._isValid),s}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function jt(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,x(e,t),n),this}}function Zt(e,t,r,n){var i=t._milliseconds,s=At(t._days),t=At(t._months);e.isValid()&&(n=null==n||n,t&&Ue(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))}x.fn=xt.prototype,x.invalid=function(){return x(NaN)};Le=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||U(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=F(e)&&!Y(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=s.length;for(t=0;t<a;t+=1)r=s[t],i=i||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=k(e,n,i))&&(t=s),function(e,t,r,n,i){e=Ze(e,t,r,n,i),t=je(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"),v("N",ir),v("NN",ir),v("NNN",ir),v("NNNN",function(e,t){return t.erasNameRegex(e)}),v("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}),v("y",Ee),v("yy",Ee),v("yyy",Ee),v("yyyy",Ee),v("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),v("G",Te),v("g",Te),v("GG",_,y),v("gg",_,y),v("GGGG",Se,ge),v("gggg",Se,ge),v("GGGGG",we,ye),v("ggggg",we,ye),ke(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,n){t[n.substr(0,2)]=f(e)}),ke(["gg","GG"],function(e,t,r,n){t[n]=m.parseTwoDigitYear(e)}),n("Q",0,"Qo","quarter"),t("quarter","Q"),r("quarter",7),v("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),v("D",_),v("DD",_,y),v("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),v("DDD",ve),v("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),v("m",_),v("mm",_,y),w(["m","mm"],N);ge=de("Minutes",!1);n("s",["ss",2],0,"second"),t("second","s"),r("second",15),v("s",_),v("ss",_,y),w(["s","ss"],O);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),v("S",ve,i),v("SS",ve,y),v("SSS",ve,pe),lr="SSSS";lr.length<=9;lr+="S")v(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=Le,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!Y(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=Ut(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=Ut(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())?x({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())?x({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 $(this)},i.lang=Qe,i.locale=Jt,i.localeData=Qt,i.max=be,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=Ve,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=Ie,i.daysInMonth=function(){return xe(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 k(this.year(),e.dow,e.doy)},i.weeksInWeekYear=function(){var e=this.localeData()._week;return k(this.weekYear(),e.dow,e.doy)},i.isoWeeksInYear=function(){return k(this.year(),1,4)},i.isoWeeksInISOWeekYear=function(){return k(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=b,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:It(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=It(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,x(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(It(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",Ie),i.years=e("years accessor is deprecated. Use year instead",Ve),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=kt(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||Fe).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[Fe.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=Ye),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=x(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 br(e){return function(){return this.as(e)}}ve=br("ms"),pe=br("s"),Le=br("m"),be=br("h"),_e=br("d"),Ke=br("w"),b=br("M"),ge=br("Q"),we=br("y");function vr(e){return function(){return this.isValid()?this._data[e]:NaN}}var ye=vr("milliseconds"),Se=vr("seconds"),Ve=vr("minutes"),y=vr("hours"),Sr=vr("days"),wr=vr("months"),Er=vr("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=x(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 Or(){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 L=xt.prototype;return L.isValid=function(){return this._isValid},L.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},L.add=function(e,t){return pr(this,e,t,1)},L.subtract=function(e,t){return pr(this,e,t,-1)},L.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)}},L.asMilliseconds=ve,L.asSeconds=pe,L.asMinutes=Le,L.asHours=be,L.asDays=_e,L.asWeeks=Ke,L.asMonths=b,L.asQuarters=ge,L.asYears=we,L.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},L._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},L.clone=function(){return x(this)},L.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},L.milliseconds=ye,L.seconds=Se,L.minutes=Ve,L.hours=y,L.days=Sr,L.weeks=function(){return d(this.days()/7)},L.months=wr,L.years=Er,L.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)},L.toISOString=Or,L.toString=Or,L.toJSON=Or,L.locale=Jt,L.localeData=Qt,L.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Or),L.lang=Qe,n("X",0,0,"unix"),n("x",0,0,"valueOf"),v("x",Te),v("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",A=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=U,m.locale=ft,m.invalid=V,m.duration=x,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=Lt,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 x,Cr,X=x.exports;const r=[];function L(n,i=yt){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=yt){const r=[e,t];return a.add(r),1===a.size&&(s=i(o)||yt),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:L(t,t=>{let r=!1;const n=[];let i=0,s=yt;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),u?t(e):s=D(e)?e:yt)},e=h.map((e,t)=>z(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){_t(e),s()}}).subscribe}}function A(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e))||"[object Date]"===t||e.$$typeof===F));var t}var F="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Y(e,t){return!1!==t.clone&&t.isMergeableObject(e)?o(Array.isArray(e)?[]:{},e,t):e}function R(e,t,r){return e.concat(t).map(function(e){return Y(e,r)})}function U(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return t.propertyIsEnumerable(e)}):[]));var t}function I(e,t){try{return t in e}catch(e){return!1}}function G(n,i,s){var a={};return s.isMergeableObject(n)&&U(n).forEach(function(e){a[e]=Y(n[e],s)}),U(i).forEach(function(t){var e,r;(!I(e=n,r=t)||Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))&&(I(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]=Y(i[t],s))}),a}function o(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||R,r.isMergeableObject=r.isMergeableObject||A,r.cloneUnlessOtherwiseSpecified=Y;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):G(e,t,r):Y(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 $=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,_,b,v=function(){return(v=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===b.number}function oe(e){return e&&"object"==typeof e&&e.type===b.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=b=b||{})[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=v(v(v({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return v(v({},e),ge(t))},{}));continue;case"engineering":a=v(v(v({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return v(v({},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=v(v({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=v(v({},a),me(s)))}else ce.test(i.stem)?a=v(v({},a),me(i.stem)):((s=pe(i.stem))&&(a=v(v({},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=v(v({},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 be=new RegExp("^".concat(n.source,"*")),ve=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=Ae("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:ze[0])}catch(yt){Be=!1}var Ne,Oe,ke=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},xe=Te?function(e){return e.trimStart()}:function(e){return e.replace(be,"")},Le=Me?function(e){return e.trimEnd()}:function(e){return e.replace(ve,"")};function Ae(e,t){return new RegExp(e,t)}Oe=Be?(Ne=Ae("([^\\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&&Ye(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()||!Ye(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&&(Ye(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=Oe(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=Le(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&&ke(null==l?void 0:l.style,"::",0)){var c=xe(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:b.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,v({},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:b.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(ke(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 Fe=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 Ye(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 Ue(e,t){t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Fe(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 Ie(e,t){var r=t&&t.cache?t.cache:Ze,n=t&&t.serializer?t.serializer:We;return(t&&t.strategy?t.strategy:function(e,t){return Ve(e,this,1===e.length?Ge:$e,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 $e(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 Ve(e,t,r,n,i){return r.bind(t,e,n,i)}var We=function(){return JSON.stringify(arguments)};function je(){this.cache=Object.create(null)}je.prototype.get=function(e){return this.cache[e]},je.prototype.set=function(e,t){this.cache[e]=t};var w,ze,Ze={create:function(){return new je}},Xe={variadic:function(e,t){return Ve(e,this,$e,t.cache.create(),t.serializer)},monadic:function(e,t){return Ve(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=Ue,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])?v(v(v({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=v(v({},r[t]),n[t]||{}),e},{})):r),e},v({},i)):i),this.formatters=n&&n.formatters||{getNumberFormat:Ie(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:Ie(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:Ie(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=It(r);for(let e=0;e<n.length;e++){var i=function(e,r){if(!pt(e))return null;e=function(e){return ft[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 ft;const mt=L({});function pt(e){return e in ft}function gt(t,...r){delete s[t],mt.update(e=>(e[t]=$.all([e[t]||{},...r]),e))}e([mt],([e])=>Object.keys(e)),mt.subscribe(e=>ft=e);const Ht={};function Pt(e){return Ht[e]}function xt(e){return null!=e&&It(e).some(e=>{return null==(e=Pt(e))?void 0:e.size})}const Lt={};function At(e){if(!xt(e))return e in Lt?Lt[e]:Promise.resolve();const t=It(e).map(e=>{var t=Pt(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length);return Lt[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=>gt(n,...e))}})).then(()=>{if(xt(e))return At(e);delete Lt[e]}),Lt[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 Ft=L(!1);let Yt;const Rt=L(null);function Ut(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function It(e,t=u.fallbackLocale){e=Ut(e);return t?[...new Set([...e,...Ut(t)])]:e}function c(){return null!=Yt?Yt:void 0}Rt.subscribe(e=>{Yt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const j=Object.assign(Object.assign({},Rt),{set:t=>{if(t&&function(e){if(null!=e){var t=It(e);for(let e=0;e<t.length;e++){var r=t[e];if(pt(r))return r}}}(t)&&xt(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=c()&&r?e=window.setTimeout(()=>Ft.set(!0),r):Ft.set(!0),At(t).then(()=>{Rt.set(t)}).finally(()=>{clearTimeout(e),Ft.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)}},$t=(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.`)},Vt=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=$t("number",r)),new Intl.NumberFormat(t,e)}),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 dates');return r?e=$t("date",r):0===Object.keys(e).length&&(e=$t("date","short")),new Intl.DateTimeFormat(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 time values');return r?e=$t("time",r):0===Object.keys(e).length&&(e=$t("time","short")),new Intl.DateTimeFormat(t,e)}),zt=Gt((e,t=c())=>new ut(e,t,u.formats,{ignoreTag:u.ignoreTag})),Zt=e([j,mt],()=>(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});function Xt(e,t){gt(e,t)}e([j],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return jt(Object.assign({locale:t},e))})(t).format(e)),e([j],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return Wt(Object.assign({locale:t},e))})(t).format(e)),e([j],()=>(e,t)=>((e={})=>{var{locale:t=c()}=e,e=a(e,["locale"]);return Vt(Object.assign({locale:t},e))})(t).format(e)),e([j,mt],()=>(e,t=c())=>dt(e,t));const qt={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"}},"zh-hk":{registerFormStep2:{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個"}},fr:{registerFormStep2:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant"}},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:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente"}},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 Kt(e,t,r){const n=e.slice();return n[70]=t[r],n}function Jt(e,t,r){const n=e.slice();return n[73]=t[r],n}function Qt(e,t,r){const n=e.slice();return n[76]=t[r],n}function er(e,t,r){const n=e.slice();return n[79]=t[r],n}function tr(e){let r,n,i=e[21]("registerFormStep2.registerFirstNameError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){vt(e,r,t),bt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerFirstNameError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function rr(e){let r,n,i=e[21]("registerFormStep2.registerLastNameError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){vt(e,r,t),bt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerLastNameError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function nr(e){let r,n,t,i=e[79]+"";return{c(){r=wt("option"),n=Et(i),r.__value=t=e[79],r.value=r.__value},m(e,t){vt(e,r,t),bt(r,n)},p:yt,d(e){e&&St(r)}}}function ir(e){let r,n,t,i=e[76]+"";return{c(){r=wt("option"),n=Et(i),r.__value=t=e[76],r.value=r.__value},m(e,t){vt(e,r,t),bt(r,n)},p:yt,d(e){e&&St(r)}}}function sr(t){let i,s=t[24],a=[];for(let e=0;e<s.length;e+=1)a[e]=ar(Jt(t,s,e));return{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=Et("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e].m(t,r);vt(t,i,r)},p(t,r){if(16777216&r[0]){let e;for(s=t[24],e=0;e<s.length;e+=1){var n=Jt(t,s,e);a[e]?a[e].p(n,r):(a[e]=ar(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){kt(a,e),e&&St(i)}}}function ar(e){let r,n,t,i=e[73]+"";return{c(){r=wt("option"),n=Et(i),r.__value=t=e[73],r.value=r.__value},m(e,t){vt(e,r,t),bt(r,n)},p:yt,d(e){e&&St(r)}}}function or(e){let r,n,i=e[21]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){vt(e,r,t),bt(r,n)},p(e,t){2097153&t[0]&&i!==(i=e[21]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Dt(n,i)},d(e){e&&St(r)}}}function lr(e){let r,n,i=e[21]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){vt(e,r,t),bt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerBirthPlaceError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function hr(e){let r,n,i,s=e[70]+"";return{c(){r=wt("option"),n=Et(s),r.__value=i=e[70],r.value=r.__value},m(e,t){vt(e,r,t),bt(r,n)},p(e,t){131072&t[0]&&s!==(s=e[70]+"")&&Dt(n,s),131072&t[0]&&i!==(i=e[70])&&(r.__value=i,r.value=r.__value)},d(e){e&&St(r)}}}function ur(r){let n,Y,i,s,R,U,I,G,$,V,W,a,o,l,j,z,Z,X,h,u,q,c,K,d,J,Q,ee,e,te,f,re,ne,ie,se,ae,m,oe,le,he,ue,p,ce,de,fe,me,pe,g,ge,ye,_e,be,y,ve,Se,we,Ee,Te,_,b,v,Me,De,S,w,Be,Ne,E,T,Oe,ke,Ce,He,M,Pe,xe,Le,Ae,Fe,D,Ye,Re,Ue,Ie,B,Ge,$e,Ve,We,je,N,ze,Ze,O,Xe,qe,Ke,Je,Qe=r[21]("registerFormStep2.registerBackButton")+"",et=r[21]("registerFormStep2.registerUserTitle")+"",tt=r[21]("registerFormStep2.registerUserTitleSelect")+"",rt=r[21]("registerFormStep2.registerUserTitleSelectMr")+"",nt=r[21]("registerFormStep2.registerUserTitleSelectMrs")+"",it=r[21]("registerFormStep2.registerUserTitleSelectMs")+"",st=r[21]("registerFormStep2.registerFirstName")+"",at=r[21]("registerFormStep2.registerLastName")+"",ot=r[21]("registerFormStep2.registerDateOfBirth")+"",lt=r[21]("registerFormStep2.registerBirthDay")+"",ht=r[21]("registerFormStep2.registerBirthMonth")+"",ut=r[21]("registerFormStep2.registerBirthYear")+"",ct=r[21]("registerFormStep2.registerBirthPlace")+"",dt=r[21]("registerFormStep2.registerCurrency")+"",ft=r[21]("registerFormStep2.registerNext")+"",k=r[2]&&tr(r),C=r[3]&&rr(r),mt=r[22],H=[];for(let e=0;e<mt.length;e+=1)H[e]=nr(er(r,mt,e));let pt=r[23],P=[];for(let e=0;e<pt.length;e+=1)P[e]=ir(Qt(r,pt,e));let x=!r[20]&&sr(r),L=r[4]&&or(r),A=r[5]&&lr(r),gt=r[17],F=[];for(let e=0;e<gt.length;e+=1)F[e]=hr(Kt(r,gt,e));return{c(){n=wt("div"),Y=wt("div"),i=wt("button"),s=Ct("svg"),R=Ct("defs"),U=Ct("style"),I=Et(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),G=Ct("path"),$=t(),V=Et(Qe),W=t(),a=wt("form"),o=wt("div"),l=wt("label"),j=Et(et),z=Et(":"),(Z=wt("span")).textContent="*",X=t(),h=wt("select"),u=wt("option"),q=Et(tt),c=wt("option"),K=Et(rt),d=wt("option"),J=Et(nt),Q=wt("option"),ee=Et(it),te=t(),f=wt("div"),re=wt("label"),ne=Et(st),ie=Et(":"),(se=wt("span")).textContent="*",ae=t(),m=wt("input"),oe=t(),k&&k.c(),ue=t(),p=wt("div"),ce=wt("label"),de=Et(at),fe=Et(":"),(me=wt("span")).textContent="*",pe=t(),g=wt("input"),ge=t(),C&&C.c(),be=t(),y=wt("div"),ve=wt("label"),Se=Et(ot),we=Et(":"),(Ee=wt("span")).textContent="*",Te=t(),_=wt("div"),b=wt("select"),v=wt("option"),Me=Et(lt);for(let e=0;e<H.length;e+=1)H[e].c();De=t(),S=wt("select"),w=wt("option"),Be=Et(ht);for(let e=0;e<P.length;e+=1)P[e].c();Ne=t(),E=wt("select"),T=wt("option"),Oe=Et(ut),x&&x.c(),ke=t(),L&&L.c(),He=t(),M=wt("div"),Pe=wt("label"),xe=Et(ct),Le=Et(":"),(Ae=wt("span")).textContent="*",Fe=t(),D=wt("input"),Ye=t(),A&&A.c(),Ie=t(),B=wt("div"),Ge=wt("label"),$e=Et(dt),Ve=Et(":"),(We=wt("span")).textContent="*",je=t(),N=wt("select");for(let e=0;e<F.length;e+=1)F[e].c();Ze=t(),O=wt("button"),Xe=Et(ft),this.c=yt,Mt(G,"class","a"),Mt(G,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Mt(G,"transform","translate(24 24) rotate(180)"),Mt(s,"xmlns","http://www.w3.org/2000/svg"),Mt(s,"viewBox","0 0 24 24"),Mt(i,"class","BackButton"),Mt(i,"part","BackButton"),Mt(Y,"class","RegisterFormHeader"),Mt(Y,"part","RegisterFormHeader"),Mt(Z,"class","FormRequired"),Mt(Z,"part","FormRequired"),Mt(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,Q.__value="Ms.",Q.value=Q.__value,Mt(h,"id","Title"),void 0===r[10]&&Ot(()=>r[39].call(h)),Mt(o,"class",e="UserTitleContainer "+(0<=r[9]?.indexOf("title")?"Hidden":"")),Mt(o,"part","UserTitleContainer"),Mt(se,"class","FormRequired"),Mt(se,"part","FormRequired"),Mt(re,"for","FirstName"),Mt(m,"type","text"),Mt(m,"id","FirstName"),Mt(f,"class",le="FirstNameContainer "+(r[2]&&!r[6]?"InvalidField":"")+(0<=r[9]?.indexOf("firstName")?"Hidden":"")),Mt(f,"part",he="FirstNameContainer "+(r[2]?"InvalidField":"")),Mt(me,"class","FormRequired"),Mt(me,"part","FormRequired"),Mt(ce,"for","LastName"),Mt(g,"type","text"),Mt(g,"id","LastName"),Mt(p,"class",ye="LastNameContainer "+(r[3]&&!r[7]?"InvalidField":"")+(0<=r[9]?.indexOf("lastName")?"Hidden":"")),Mt(p,"part",_e="LastNameContainer "+(r[3]?"InvalidField":"")),Mt(Ee,"class","FormRequired"),Mt(Ee,"part","FormRequired"),v.__value="",v.value=v.__value,v.disabled=!0,v.selected=!0,Mt(b,"class","BirthDaySelected"),Mt(b,"part","BirthDaySelected"),void 0===r[13]&&Ot(()=>r[46].call(b)),w.__value="",w.value=w.__value,w.disabled=!0,w.selected=!0,Mt(S,"class","BirthMonthSelected"),Mt(S,"part","BirthMonthSelected"),void 0===r[14]&&Ot(()=>r[47].call(S)),T.__value="",T.value=T.__value,T.disabled=!0,T.selected=!0,Mt(E,"class","BirthYearSelected"),Mt(E,"part","BirthYearSelected"),void 0===r[15]&&Ot(()=>r[48].call(E)),Mt(_,"class","BirthDateOptions"),Mt(_,"part","BirthDateOptions"),Mt(y,"class",Ce="BirthDateContainer "+(0<=r[9]?.indexOf("birthDate")?"Hidden":"")),Mt(y,"part","BirthDateContainer"),Mt(Ae,"class","FormRequired"),Mt(Ae,"part","FormRequired"),Mt(Pe,"for","BirthPlace"),Mt(D,"type","text"),Mt(D,"id","BirthPlace"),Mt(M,"class",Re="BirthPlaceContainer "+(r[5]&&!r[8]?"InvalidField":"")+(0<=r[9]?.indexOf("birthPlace")?"Hidden":"")),Mt(M,"part",Ue="BirthPlaceContainer "+(r[5]?"InvalidField":"")),Mt(We,"class","FormRequired"),Mt(We,"part","FormRequired"),Mt(Ge,"for","Currency"),Mt(N,"id","Currency"),void 0===r[18]&&Ot(()=>r[52].call(N)),Mt(B,"class",ze="CurrencyContainer "+(0<=r[9]?.indexOf("currency")?"Hidden":"")),Mt(B,"part","CurrencyContainer"),Mt(O,"class","RegisterStepNext"),Mt(O,"part","RegisterStepNext"),O.disabled=qe=!r[19],Mt(a,"class","RegisterFormContent"),Mt(a,"part","RegisterFormContent")},m(e,t){vt(e,n,t),bt(n,Y),bt(Y,i),bt(i,s),bt(s,R),bt(R,U),bt(U,I),bt(s,G),bt(i,$),bt(i,V),bt(n,W),bt(n,a),bt(a,o),bt(o,l),bt(l,j),bt(l,z),bt(l,Z),bt(o,X),bt(o,h),bt(h,u),bt(u,q),bt(h,c),bt(c,K),bt(h,d),bt(d,J),bt(h,Q),bt(Q,ee),Nt(h,r[10]),bt(a,te),bt(a,f),bt(f,re),bt(re,ne),bt(re,ie),bt(re,se),bt(f,ae),bt(f,m),Bt(m,r[11]),bt(f,oe),k&&k.m(f,null),bt(a,ue),bt(a,p),bt(p,ce),bt(ce,de),bt(ce,fe),bt(ce,me),bt(p,pe),bt(p,g),Bt(g,r[12]),bt(p,ge),C&&C.m(p,null),bt(a,be),bt(a,y),bt(y,ve),bt(ve,Se),bt(ve,we),bt(ve,Ee),bt(y,Te),bt(y,_),bt(_,b),bt(b,v),bt(v,Me);for(let e=0;e<H.length;e+=1)H[e].m(b,null);Nt(b,r[13]),bt(_,De),bt(_,S),bt(S,w),bt(w,Be);for(let e=0;e<P.length;e+=1)P[e].m(S,null);Nt(S,r[14]),bt(_,Ne),bt(_,E),bt(E,T),bt(T,Oe),x&&x.m(E,null),Nt(E,r[15]),bt(_,ke),L&&L.m(_,null),bt(a,He),bt(a,M),bt(M,Pe),bt(Pe,xe),bt(Pe,Le),bt(Pe,Ae),bt(M,Fe),bt(M,D),Bt(D,r[16]),bt(M,Ye),A&&A.m(M,null),bt(a,Ie),bt(a,B),bt(B,Ge),bt(Ge,$e),bt(Ge,Ve),bt(Ge,We),bt(B,je),bt(B,N);for(let e=0;e<F.length;e+=1)F[e].m(N,null);Nt(N,r[18]),bt(a,Ze),bt(a,O),bt(O,Xe),r[54](n),Ke||(Je=[Tt(i,"click",r[31]),Tt(h,"change",r[39]),Tt(h,"change",r[26]),Tt(m,"input",r[40]),Tt(m,"keyup",r[27]),Tt(m,"focus",r[41]),Tt(m,"keyup",r[42]),Tt(g,"input",r[43]),Tt(g,"keyup",r[28]),Tt(g,"focus",r[44]),Tt(g,"blur",r[45]),Tt(b,"change",r[46]),Tt(b,"change",r[25]),Tt(S,"change",r[47]),Tt(S,"change",r[25]),Tt(E,"change",r[48]),Tt(E,"change",r[25]),Tt(D,"input",r[49]),Tt(D,"keyup",r[29]),Tt(D,"focus",r[50]),Tt(D,"blur",r[51]),Tt(N,"change",r[52]),Tt(O,"click",r[53])],Ke=!0)},p(t,r){if(2097152&r[0]&&Qe!==(Qe=t[21]("registerFormStep2.registerBackButton")+"")&&Dt(V,Qe),2097152&r[0]&&et!==(et=t[21]("registerFormStep2.registerUserTitle")+"")&&Dt(j,et),2097152&r[0]&&tt!==(tt=t[21]("registerFormStep2.registerUserTitleSelect")+"")&&Dt(q,tt),2097152&r[0]&&rt!==(rt=t[21]("registerFormStep2.registerUserTitleSelectMr")+"")&&Dt(K,rt),2097152&r[0]&&nt!==(nt=t[21]("registerFormStep2.registerUserTitleSelectMrs")+"")&&Dt(J,nt),2097152&r[0]&&it!==(it=t[21]("registerFormStep2.registerUserTitleSelectMs")+"")&&Dt(ee,it),1024&r[0]&&Nt(h,t[10]),512&r[0]&&e!==(e="UserTitleContainer "+(0<=t[9]?.indexOf("title")?"Hidden":""))&&Mt(o,"class",e),2097152&r[0]&&st!==(st=t[21]("registerFormStep2.registerFirstName")+"")&&Dt(ne,st),2048&r[0]&&m.value!==t[11]&&Bt(m,t[11]),t[2]?k?k.p(t,r):((k=tr(t)).c(),k.m(f,null)):k&&(k.d(1),k=null),580&r[0]&&le!==(le="FirstNameContainer "+(t[2]&&!t[6]?"InvalidField":"")+(0<=t[9]?.indexOf("firstName")?"Hidden":""))&&Mt(f,"class",le),4&r[0]&&he!==(he="FirstNameContainer "+(t[2]?"InvalidField":""))&&Mt(f,"part",he),2097152&r[0]&&at!==(at=t[21]("registerFormStep2.registerLastName")+"")&&Dt(de,at),4096&r[0]&&g.value!==t[12]&&Bt(g,t[12]),t[3]?C?C.p(t,r):((C=rr(t)).c(),C.m(p,null)):C&&(C.d(1),C=null),648&r[0]&&ye!==(ye="LastNameContainer "+(t[3]&&!t[7]?"InvalidField":"")+(0<=t[9]?.indexOf("lastName")?"Hidden":""))&&Mt(p,"class",ye),8&r[0]&&_e!==(_e="LastNameContainer "+(t[3]?"InvalidField":""))&&Mt(p,"part",_e),2097152&r[0]&&ot!==(ot=t[21]("registerFormStep2.registerDateOfBirth")+"")&&Dt(Se,ot),2097152&r[0]&<!==(lt=t[21]("registerFormStep2.registerBirthDay")+"")&&Dt(Me,lt),4194304&r[0]){let e;for(mt=t[22],e=0;e<mt.length;e+=1){var n=er(t,mt,e);H[e]?H[e].p(n,r):(H[e]=nr(n),H[e].c(),H[e].m(b,null))}for(;e<H.length;e+=1)H[e].d(1);H.length=mt.length}if(4202496&r[0]&&Nt(b,t[13]),2097152&r[0]&&ht!==(ht=t[21]("registerFormStep2.registerBirthMonth")+"")&&Dt(Be,ht),8388608&r[0]){let e;for(pt=t[23],e=0;e<pt.length;e+=1){var i=Qt(t,pt,e);P[e]?P[e].p(i,r):(P[e]=ir(i),P[e].c(),P[e].m(S,null))}for(;e<P.length;e+=1)P[e].d(1);P.length=pt.length}if(8404992&r[0]&&Nt(S,t[14]),2097152&r[0]&&ut!==(ut=t[21]("registerFormStep2.registerBirthYear")+"")&&Dt(Oe,ut),t[20]?x&&(x.d(1),x=null):x?x.p(t,r):((x=sr(t)).c(),x.m(E,null)),16809984&r[0]&&Nt(E,t[15]),t[4]?L?L.p(t,r):((L=or(t)).c(),L.m(_,null)):L&&(L.d(1),L=null),512&r[0]&&Ce!==(Ce="BirthDateContainer "+(0<=t[9]?.indexOf("birthDate")?"Hidden":""))&&Mt(y,"class",Ce),2097152&r[0]&&ct!==(ct=t[21]("registerFormStep2.registerBirthPlace")+"")&&Dt(xe,ct),65536&r[0]&&D.value!==t[16]&&Bt(D,t[16]),t[5]?A?A.p(t,r):((A=lr(t)).c(),A.m(M,null)):A&&(A.d(1),A=null),800&r[0]&&Re!==(Re="BirthPlaceContainer "+(t[5]&&!t[8]?"InvalidField":"")+(0<=t[9]?.indexOf("birthPlace")?"Hidden":""))&&Mt(M,"class",Re),32&r[0]&&Ue!==(Ue="BirthPlaceContainer "+(t[5]?"InvalidField":""))&&Mt(M,"part",Ue),2097152&r[0]&&dt!==(dt=t[21]("registerFormStep2.registerCurrency")+"")&&Dt($e,dt),131072&r[0]){let e;for(gt=t[17],e=0;e<gt.length;e+=1){var s=Kt(t,gt,e);F[e]?F[e].p(s,r):(F[e]=hr(s),F[e].c(),F[e].m(N,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=gt.length}393216&r[0]&&Nt(N,t[18]),512&r[0]&&ze!==(ze="CurrencyContainer "+(0<=t[9]?.indexOf("currency")?"Hidden":""))&&Mt(B,"class",ze),2097152&r[0]&&ft!==(ft=t[21]("registerFormStep2.registerNext")+"")&&Dt(Xe,ft),524288&r[0]&&qe!==(qe=!t[19])&&(O.disabled=qe)},i:yt,o:yt,d(e){e&&St(n),k&&k.d(),C&&C.d(),kt(H,e),kt(P,e),x&&x.d(),L&&L.d(),A&&A.d(),kt(F,e),r[54](null),Ke=!1,_t(Je)}}}function cr(t,e,r){let n;var i=Zt;t.$$.on_destroy.push(z(i,e=>r(21,n=e)));let s,a,o,l,h,u,c,A,d,{endpoint:f=""}=e,{lang:m=""}=e,{licenseyears:p=""}=e,{disabledfields:g=""}=e,{defaultoptions:F=""}=e,{clientstyling:y=""}=e,{clientstylingurl:_=""}=e,{translationurl:b=""}=e,v=!1,S=!1,w=!1,E=!1,T=!1,M=!1,D=!1,B="",N="",Y=[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],R=[1,2,3,4,5,6,7,8,9,10,11,12],O=[],k="",C=[],H="",P=new Date,x=!1,U=!0;Object.keys(qt).forEach(e=>{Xt(e,qt[e])});const L=()=>{r(19,x=!(v||S||w||E)),!(B.length<=0||N.length<=0||k.length<=0)&&a&&o&&l&&h||r(19,x=!1)},I=e=>!!(e&&2<=e.length&&e.length<=50),G=e=>{e.preventDefault();e={userTitleSelected:a,userFirstName:B,userLastName:N,birthDaySelected:o,birthMonthSelected:l,birthYearSelected:h,birthPlace:k,currencySelected:H};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},$=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(10,a=e.data.userData.title),r(11,B=e.data.userData.firstname),r(12,N=e.data.userData.lastname),r(13,o=e.data.userData.birth.day),r(14,l=e.data.userData.birth.month),r(15,h=e.data.userData.birth.year),r(16,k=e.data.userData.birthPlace),r(18,H=e.data.userData.currency),L())};return i=()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)}),function(){if(W)return W;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"endpoint"in e&&r(32,f=e.endpoint),"lang"in e&&r(33,m=e.lang),"licenseyears"in e&&r(0,p=e.licenseyears),"disabledfields"in e&&r(34,g=e.disabledfields),"defaultoptions"in e&&r(35,F=e.defaultoptions),"clientstyling"in e&&r(36,y=e.clientstyling),"clientstylingurl"in e&&r(37,_=e.clientstylingurl),"translationurl"in e&&r(38,b=e.translationurl)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&f&&fetch(f+"/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(17,C=e.currencies),H||r(18,H=C[0])}),4&t.$$.dirty[1]&&m&&(e=m,j.set(e)),1&t.$$.dirty[0]&&p){c=parseInt(X(P.setDate(P.getDate())).subtract(parseInt(p,10),"y").format("YYYY")),u=parseInt(X(P.setDate(P.getDate())).subtract(100+parseInt(p,10),"y").format("YYYY"));for(let e=c;e>=u;e--)O.push(e);r(20,U=!1)}if(8&t.$$.dirty[1]&&g&&(r(9,s=g.split(",")),0<=s.indexOf("firstName")&&(r(11,B="dummy first name"),r(2,v=!1)),0<=s.indexOf("lastName")&&(r(12,N="dummy last name"),r(3,S=!1)),0<=s.indexOf("birthPlace")&&(r(16,k="dummy birth place"),r(5,E=!1)),0<=s.indexOf("birthDate")&&r(4,w=!1),0<=s.indexOf("title")&&r(10,a="Mr."),0<=s.indexOf("currency")&&r(18,H="CDF")),2&t.$$.dirty[0]|32&t.$$.dirty[1]&&y&&d){let e=document.createElement("style");e.innerHTML=y,d.appendChild(e)}if(2&t.$$.dirty[0]|64&t.$$.dirty[1]&&_&&d){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1),setTimeout(()=>{},500)})}var e;128&t.$$.dirty[1]&&b&&fetch(b).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Xt(e,t[e])})}).catch(e=>{console.log(e)})},[p,d,v,S,w,E,T,M,D,s,a,B,N,o,l,h,k,C,H,x,U,n,Y,R,O,()=>{h&&l&&o&&(A=X(P.setDate(P.getDate())).diff(X(`${h}-${l}-`+o,"YYYY-MM-DD"),"years").toString(),r(4,w=A<p)),L()},L,()=>{r(2,v=!I(B)),L()},()=>{r(3,S=!I(N)),L()},()=>{r(5,E=!(k&&k.length<=120)),L()},G,()=>{var e={userTitleSelected:a,userFirstName:B,userLastName:N,birthDaySelected:o,birthMonthSelected:l,birthYearSelected:h,birthPlace:k,currencySelected:H};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},f,m,g,F,y,_,b,function(){a=V(this),r(10,a)},function(){B=this.value,r(11,B)},()=>r(6,T=!0),()=>r(6,T=!1),function(){N=this.value,r(12,N)},()=>r(7,M=!0),()=>r(7,M=!1),function(){o=V(this),r(13,o),r(22,Y)},function(){l=V(this),r(14,l),r(23,R)},function(){h=V(this),r(15,h),r(24,O)},function(){k=this.value,r(16,k)},()=>r(8,D=!0),()=>r(8,D=!1),function(){H=V(this),r(18,H),r(17,C)},e=>G(e),function(e){Z[e?"unshift":"push"](()=>{d=e,r(1,d)})}]}class dr extends P{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)}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--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>",H(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},cr,ur,h,{endpoint:32,lang:33,licenseyears:0,disabledfields:34,defaultoptions:35,clientstyling:36,clientstylingurl:37,translationurl:38},null,[-1,-1,-1]),e&&(e.target&&vt(e.target,this,e.anchor),e.props&&(this.$set(e.props),y()))}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),y()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),y()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),y()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(e){this.$$set({disabledfields:e}),y()}get defaultoptions(){return this.$$.ctx[35]}set defaultoptions(e){this.$$set({defaultoptions:e}),y()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),y()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),y()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),y()}}return customElements.get("general-player-register-form-step2")||customElements.define("general-player-register-form-step2",dr),dr});
|
|
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 yt(){}function m(e){return e()}function w(){return Object.create(null)}function _t(e){e.forEach(m)}function E(e){return"function"==typeof e}function h(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function z(e,...t){if(null==e)return yt;const r=e.subscribe(...t);return r.unsubscribe?()=>r.unsubscribe():r}function vt(e,t){e.appendChild(t)}function bt(e,t,r){e.insertBefore(t,r||null)}function St(e){e.parentNode&&e.parentNode.removeChild(e)}function Ot(t,r){for(let e=0;e<t.length;e+=1)t[e]&&t[e].d(r)}function wt(e){return document.createElement(e)}function Ct(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Et(e){return document.createTextNode(e)}function t(){return Et(" ")}function Tt(e,t,r,n){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r,n)}function Mt(e,t,r){null==r?e.removeAttribute(t):e.getAttribute(t)!==r&&e.setAttribute(t,r)}function Dt(e,t){e.data!==(t=""+t)&&(e.data=t)}function Bt(e,t){e.value=null==t?"":t}function Nt(t,r,e){for(let e=0;e<t.options.length;e+=1){var n=t.options[e];if(n.__value===r)return n.selected=!0}e&&void 0===r||(t.selectedIndex=-1)}function V(e){e=e.querySelector(":checked");return e&&e.__value}let W;function T(e){W=e}const d=[],Z=[];let s=[];const M=[],D=Promise.resolve();let B=!1;function kt(e){s.push(e)}const N=new Set;let i=0;function f(){if(0===i){const n=W;do{try{for(;i<d.length;){const n=d[i];i++,T(n),e=t=void 0;var e,t=n.$$;null!==t.fragment&&(t.update(),_t(t.before_update),e=t.dirty,t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(kt))}}catch(n){throw d.length=0,i=0,n}for(T(null),d.length=0,i=0;Z.length;)Z.pop()();for(let e=0;e<s.length;e+=1){var r=s[e];N.has(r)||(N.add(r),r())}}while(s.length=0,d.length);for(;M.length;)M.pop()();B=!1,N.clear(),T(n)}}const k=new Set;function O(n,e,t,r,i,s,a,o=[-1]){var l=W;T(n);const h=n.$$={fragment:null,ctx:[],props:s,update:yt,not_equal:i,bound:w(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(l?l.$$.context:[])),callbacks:w(),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]&&(d.push(e),B||(B=!0,D.then(f)),e.$$.dirty.fill(0)),e.$$.dirty[r/31|0]|=1<<r%31),t}):[],h.update(),u=!0,_t(h.before_update),h.fragment=!!r&&r(h.ctx),e.target){if(e.hydrate){s=e.target;const yt=Array.from(s.childNodes);h.fragment&&h.fragment.l(yt),yt.forEach(St)}else h.fragment&&h.fragment.c();e.intro&&(o=n.$$.fragment)&&o.i&&(k.delete(o),o.i(void 0));var c=n,a=e.target,t=e.anchor,r=e.customElement,{fragment:s,after_update:o}=c.$$;s&&s.m(a,t),r||kt(()=>{var e=c.$$.on_mount.map(m).filter(E);c.$$.on_destroy?c.$$.on_destroy.push(...e):_t(e),c.$$.on_mount=[]}),o.forEach(kt),f()}T(l)}let C;function Or(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}"function"==typeof HTMLElement&&(C=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const e=this.$$["on_mount"];this.$$.on_disconnect=e.map(m).filter(E);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,r){this[e]=r}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){var e=this,t=1;if(null!==(e=e.$$).fragment){{var r=e.after_update;const n=[],i=[];s.forEach(e=>(-1===r.indexOf(e)?n:i).push(e)),i.forEach(e=>e()),s=n}_t(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[]}this.$destroy=yt}$on(e,t){if(!E(t))return yt;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=H={path:void 0,exports:{},require:function(e,t){return Or(null==t&&H.path)}},H.exports,Cr.exports=function(){var A;function m(){return A.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function F(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Y(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;for(var t in e)if(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 U(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function I(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 $(e){if(null==e._isValid){var t=g(e),r=W.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 V(e){var t=h(NaN);return null!=e?G(g(t),e):g(t).userInvalidated=!0,t}var W=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},j=m.momentProperties=[],z=!1;function Z(e,t){var r,n,i,s=j.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=j[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)&&(F(e[r])&&F(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)&&F(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(),xe(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 xe(e,t){var r;return isNaN(e)||isNaN(t)?NaN:(r=(t%(r=12)+r)%r,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 Le="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ae="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Fe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ye=v,Re=v;function Ue(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(),xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,r)}}function Ie(e){return null!=e?(Ue(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 $e(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 Ve=de("FullYear",!0);function We(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 je(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+je(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?$e(s=e-1)+t:t>$e(e)?(s=e+1,t-$e(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($e(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:Le,monthsShort:Ae,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]>xe(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),Ae.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=je.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>$e(c)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),l=je(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?je:We).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;return(e._locale=e._locale||H(e._l),null===r||void 0===n&&""===r)?V({nullInput:!0}):("string"==typeof r&&(e._i=r=e._locale.preparse(r)),l(r)?new X(pt(r)):(U(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),$(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()):U(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=I(n.slice(0),function(e){return parseInt(e,10)}),Nt(r)):F(n)?(i=r)._d||(t=void 0===(s=he(i._i)).day?s.date:s.day,i._a=I([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),$(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),(F(e)&&Y(e)||a(e)&&0===e.length)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=r,s._i=e,s._f=t,s._strict=n,(i=new X(pt(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:V()}),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:V()});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 xt(e){var e=he(e),t=e.year||0,r=e.quarter||0,n=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,a=e.hour||0,o=e.minute||0,l=e.second||0,h=e.millisecond||0;this._isValid=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 Lt(e){return e instanceof xt}function At(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Ft(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)})}Ft("Z",":"),Ft("ZZ",""),b("Z",De),b("ZZ",De),w(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rt(De,e)});var Yt=/([\+\-]|\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(Yt)||["-",0,0])[1]+f(e[2]))?0:"+"===e[0]?t:-t}function Ut(e,t){var r;return t._isUTC?(t=t.clone(),r=(l(e)||U(e)?e:P(e)).valueOf()-t.valueOf(),t._d.setTime(t._d.valueOf()+r),m.updateOffset(t,!1),t):P(e).local()}function It(e){return-Math.round(e._d.getTimezoneOffset())}function Gt(){return!!this.isValid()&&this._isUTC&&0===this._offset}m.updateOffset=function(){};var $t=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Vt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function x(e,t){var r,n,i=e;return Lt(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:R(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(t=$t.exec(e))?(r="-"===t[1]?-1:1,i={y:0,d:f(t[D])*r,h:f(t[B])*r,m:f(t[N])*r,s:f(t[k])*r,ms:f(At(1e3*t[Ce]))*r}):(t=Vt.exec(e))?(r="-"===t[1]?-1:1,i={y:Wt(t[2],r),M:Wt(t[3],r),w:Wt(t[4],r),d:Wt(t[5],r),h:Wt(t[6],r),m:Wt(t[7],r),s:Wt(t[8],r)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(t=P(i.from),r=P(i.to),t=t.isValid()&&r.isValid()?(r=Ut(r,t),t.isBefore(r)?n=jt(t,r):((n=jt(r,t)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0},(i={}).ms=t.milliseconds,i.M=t.months),n=new xt(i),Lt(e)&&p(e,"_locale")&&(n._locale=e._locale),Lt(e)&&p(e,"_isValid")&&(n._isValid=e._isValid),n}function Wt(e,t){e=e&&parseFloat(e.replace(",","."));return(isNaN(e)?0:e)*t}function jt(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,x(e,t),n),this}}function Zt(e,t,r,n){var i=t._milliseconds,s=At(t._days),t=At(t._months);e.isValid()&&(n=null==n||n,t&&Ue(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)}x.fn=xt.prototype,x.invalid=function(){return x(NaN)};Le=zt(1,"add"),Ke=zt(-1,"subtract");function Xt(e){return"string"==typeof e||e instanceof String}function qt(e){return l(e)||U(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=F(e)&&!Y(e),i=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=s.length;for(t=0;t<a;t+=1)r=s[t],i=i||p(e,r);return n&&i}(e)||null==e;var t,r,n}function Kt(e,t){var r,n;return e.date()<t.date()?-Kt(t,e):-((r=12*(t.year()-e.year())+(t.month()-e.month()))+(t-(n=e.clone().add(r,"months"))<0?(t-n)/(n-e.clone().add(r-1,"months")):(t-n)/(e.clone().add(1+r,"months")-n)))||0}function 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=je(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=Le,i.calendar=function(e,t){1===arguments.length&&(arguments[0]?qt(arguments[0])?(e=arguments[0],t=void 0):function(e){for(var t=F(e)&&!Y(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=Ut(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=Ut(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()){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}this._d.setTime(t),m.updateOffset(this,!0)}return 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())?x({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())?x({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 $(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()){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)}this._d.setTime(t),m.updateOffset(this,!0)}return 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){var t;return this.isValid()?(t=(e=!0!==e)?this.clone().utc():this).year()<0||9999<t.year()?ae(t,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):u(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",ae(t,"Z")):ae(t,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ"):null},i.inspect=function(){var e,t,r;return this.isValid()?(t="moment",r="",this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),t="["+t+'("]',e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(t+e+"-MM-DD[T]HH:mm:ss.SSS"+(r+'[")]'))):"moment.invalid(/* "+this._i+" */)"},"undefined"!=typeof Symbol&&null!=Symbol.for&&(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=Ve,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=Ie,i.daysInMonth=function(){return xe(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){var t,r,n;return this.isValid()?(t=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=e?(r=e,n=this.localeData(),e="string"!=typeof r?r:isNaN(r)?"number"==typeof(r=n.weekdaysParse(r))?r:null:parseInt(r,10),this.add(e-t,"d")):t):null!=e?this:NaN},i.weekday=function(e){var t;return this.isValid()?(t=(this.day()+7-this.localeData()._week.dow)%7,null==e?t:this.add(e-t,"d")):null!=e?this:NaN},i.isoWeekday=function(e){var t,r;return this.isValid()?null!=e?(t=e,r=this.localeData(),r="string"==typeof t?r.weekdaysParse(t)%7||7:isNaN(t)?null:t,this.day(this.day()%7?r:r-7)):this.day()||7:null!=e?this:NaN},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:It(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=It(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==e&&(!t||this._changeInProgress?Zt(this,x(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(It(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",Ie),i.years=e("years accessor is deprecated. Use year instead",Ve),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(){var e,t;return o(this._isDSTShifted)&&(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||Fe).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[Fe.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=Ye),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=x(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"),Le=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"),Ve=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=x(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(){var e,t,r,n,i,s,a,o,l,h,u;return this.isValid()?(o=Br(this._milliseconds)/1e3,l=Br(this._days),h=Br(this._months),(u=this.asSeconds())?(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"):this.localeData().invalidDate()}var L=xt.prototype;return L.isValid=function(){return this._isValid},L.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},L.add=function(e,t){return pr(this,e,t,1)},L.subtract=function(e,t){return pr(this,e,t,-1)},L.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)}},L.asMilliseconds=be,L.asSeconds=pe,L.asMinutes=Le,L.asHours=ve,L.asDays=_e,L.asWeeks=Ke,L.asMonths=v,L.asQuarters=ge,L.asYears=we,L.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*f(this._months/12):NaN},L._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},L.clone=function(){return x(this)},L.get=function(e){return e=c(e),this.isValid()?this[e+"s"]():NaN},L.milliseconds=ye,L.seconds=Se,L.minutes=Ve,L.hours=y,L.days=Sr,L.weeks=function(){return d(this.days()/7)},L.months=wr,L.years=Er,L.humanize=function(e,t){var r,n;return this.isValid()?(r=!1,n=Mr,"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)):this.localeData().invalidDate()},L.toISOString=kr,L.toString=kr,L.toJSON=kr,L.locale=Jt,L.localeData=Qt,L.toIsoString=e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kr),L.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.4",A=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=U,m.locale=ft,m.invalid=V,m.duration=x,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=Lt,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 H,Cr,X=H.exports;const r=[];function P(n,i=yt){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=yt){const r=[e,t];return a.add(r),1===a.size&&(s=i(o)||yt),e(n),()=>{a.delete(r),0===a.size&&s&&(s(),s=null)}}}}function e(e,o,t){const l=!Array.isArray(e),h=l?[e]:e,u=o.length<2;return{subscribe:P(t,t=>{let r=!1;const n=[];let i=0,s=yt;const a=()=>{var e;i||(s(),e=o(l?n[0]:n,t),u?t(e):s=E(e)?e:yt)},e=h.map((e,t)=>z(e,e=>{n[t]=e,i&=~(1<<t),r&&a()},()=>{i|=1<<t}));return r=!0,a(),function(){_t(e),s(),r=!1}}).subscribe}}function x(e){return!(!e||"object"!=typeof e||(e=e,"[object RegExp]"===(t=Object.prototype.toString.call(e)))||"[object Date]"===t||e.$$typeof===L);var t}var L="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function A(e,t){return!1!==t.clone&&t.isMergeableObject(e)?I(Array.isArray(e)?[]:{},e,t):e}function F(e,t,r){return e.concat(t).map(function(e){return A(e,r)})}function Y(e){return Object.keys(e).concat((t=e,Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]));var t}function R(e,t){try{return t in e}catch(e){return!1}}function U(n,i,s){var a={};return s.isMergeableObject(n)&&Y(n).forEach(function(e){a[e]=A(n[e],s)}),Y(i).forEach(function(e){var t,r;(!R(t=n,r=e)||Object.hasOwnProperty.call(t,r)&&Object.propertyIsEnumerable.call(t,r))&&(R(n,e)&&s.isMergeableObject(i[e])?a[e]=((t=s).customMerge&&"function"==typeof(t=t.customMerge(e))?t:I)(n[e],i[e],s):a[e]=A(i[e],s))}),a}function I(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||F,r.isMergeableObject=r.isMergeableObject||x,r.cloneUnlessOtherwiseSpecified=A;var n=Array.isArray(t);return n===Array.isArray(e)?n?r.arrayMerge(e,t,r):U(e,t,r):A(t,r)}I.all=function(e,r){if(Array.isArray(e))return e.reduce(function(e,t){return I(e,t,r)},{});throw new Error("first argument should be an array")};var G=I,$=function(e,t){return($=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 q(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}$(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var p,y,g,_=function(){return(_=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 K(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 J(e){return e.type===y.literal}function Q(e){return e.type===y.number}function ee(e){return e.type===y.date}function te(e){return e.type===y.time}function re(e){return e.type===y.select}function ne(e){return e.type===y.plural}function ie(e){return e.type===y.tag}function se(e){return e&&"object"==typeof e&&e.type===g.number}function ae(e){return e&&"object"==typeof e&&e.type===g.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=y=y||{})[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=g=g||{})[n.number=0]="number",n[n.dateTime=1]="dateTime";var n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,oe=/(?:[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 le=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,he=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ue=/^(@+)?(\+|#+)?[rs]?$/g,ce=/(\*)(0+)|(#+)(0+)|(0+)/g,de=/^(0+)$/;function fe(e){var n={};return"r"===e[e.length-1]?n.roundingPriority="morePrecision":"s"===e[e.length-1]&&(n.roundingPriority="lessPrecision"),e.replace(ue,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 me(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 pe(e){return me(e)||{}}function ge(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=_(_(_({},a),{notation:"scientific"}),i.options.reduce(function(e,t){return _(_({},e),pe(t))},{}));continue;case"engineering":a=_(_(_({},a),{notation:"engineering"}),i.options.reduce(function(e,t){return _(_({},e),pe(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(ce,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(de.test(i.stem))a.minimumIntegerDigits=i.stem.length;else if(he.test(i.stem)){if(1<i.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(he,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=_(_({},a),{trailingZeroDisplay:"stripIfInteger"}):s&&(a=_(_({},a),fe(s)))}else ue.test(i.stem)?a=_(_({},a),fe(i.stem)):((s=me(i.stem))&&(a=_(_({},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)),!de.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem))&&(a=_(_({},a),n)))}return a}var ye={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 _e=new RegExp("^".concat(n.source,"*")),ve=new RegExp("".concat(n.source,"*$"));function v(e,t){return{start:e,end:t}}var n=!!String.prototype.startsWith,be=!!String.fromCodePoint,Se=!!Object.fromEntries,we=!!String.prototype.codePointAt,Ee=!!String.prototype.trimStart,Te=!!String.prototype.trimEnd,Me=Number.isSafeInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},De=!0;try{De="a"===(null==(je=Le("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:je[0])}catch(yt){De=!1}var Be,Ne,ke=n?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Oe=be?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},Ce=Se?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},He=we?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},Pe=Ee?function(e){return e.trimStart()}:function(e){return e.replace(_e,"")},xe=Te?function(e){return e.trimEnd()}:function(e){return e.replace(ve,"")};function Le(e,t){return new RegExp(e,t)}Ne=De?(Be=Le("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),function(e,t){return Be.lastIndex=t,null!=(t=Be.exec(e)[1])?t:""}):function(e,t){for(var r,n=[];;){var i=He(e,t);if(void 0===i||Ye(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 Oe.apply(void 0,n)};a.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},a.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,v(this.clonePosition(),this.clonePosition()))}if(60===s&&!this.ignoreTag&&Fe(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i}else if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}else{s=this.clonePosition();this.bump(),n.push({type:y.pound,location:v(s,this.clonePosition())})}}}return{val:n,err:null}},a.prototype.parseTag=function(e,t){var r,n=this.clonePosition(),i=(this.bump(),this.parseTagName());return this.bumpSpace(),this.bumpIf("/>")?{val:{type:y.literal,value:"<".concat(i,"/>"),location:v(n,this.clonePosition())},err:null}:this.bumpIf(">")?(e=this.parseMessage(e+1,t,!0)).err?e:(t=e.val,e=this.clonePosition(),this.bumpIf("</")?this.isEOF()||!Fe(this.char())?this.error(p.INVALID_TAG,v(e,this.clonePosition())):(r=this.clonePosition(),i!==this.parseTagName()?this.error(p.UNMATCHED_CLOSING_TAG,v(r,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:y.tag,value:i,children:t,location:v(n,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,v(e,this.clonePosition())))):this.error(p.UNCLOSED_TAG,v(n,this.clonePosition()))):this.error(p.INVALID_TAG,v(n,this.clonePosition()))},a.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())},a.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{i=this.tryParseUnquoted(e,t);if(i)n+=i;else{i=this.tryParseLeftAngleBracket();if(!i)break;n+=i}}}r=v(r,this.clonePosition());return{val:{type:y.literal,value:n,location:r},err:null}},a.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Fe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},a.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 Oe.apply(void 0,t)},a.prototype.tryParseUnquoted=function(e,t){var r;return this.isEOF()||60===(r=this.char())||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&0<e?null:(this.bump(),Oe(r))},a.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(p.EMPTY_ARGUMENT,v(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:n,location:v(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(p.MALFORMED_ARGUMENT,v(r,this.clonePosition()))}},a.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ne(this.message,t),t=t+r.length;return this.bumpTo(t),{value:r,location:v(e,this.clonePosition())}},a.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,v(s,o));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((c=this.parseSimpleArgStyleIfPossible()).err)return c;if(0===(d=xe(c.val)).length)return this.error(p.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));l={style:d,styleLocation:v(h,this.clonePosition())}}return(h=this.tryParseArgumentClose(n)).err?h:(f=v(n,this.clonePosition()),l&&ke(null==l?void 0:l.style,"::",0)?(m=Pe(l.style.slice(2)),"number"===a?(c=this.parseNumberSkeletonFromString(m,l.styleLocation)).err?c:{val:{type:y.number,value:r,location:f,style:c.val},err:null}:0===m.length?this.error(p.EXPECT_DATE_TIME_SKELETON,f):(u=m,this.locale&&(u=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),(ye[t||""]||ye[r||""]||ye["".concat(r,"-001")]||ye["001"])[0]}(t);for("H"!=l&&"k"!=l||(o=0);0<o--;)r+="a";for(;0<a--;)r=l+r}else r+="J"===i?"H":i}return r}(m,this.locale)),d={type:g.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?(i={},u.replace(oe,function(e){var t=e.length;switch(e[0]){case"G":i.era=4===t?"long":5===t?"narrow":"short";break;case"y":i.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":i.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=4!==t&&5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][t-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][t-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][t-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][t-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":i.minute=["numeric","2-digit"][t-1];break;case"s":i.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),i):{}},{val:{type:"date"===a?y.date:y.time,value:r,location:f,style:d},err:null})):{val:{type:"number"===a?y.number:"date"===a?y.date:y.time,value:r,location:f,style:null!=(m=null==l?void 0:l.style)?m:null},err:null});case"plural":case"selectordinal":case"select":var u=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,v(u,_({},u)));this.bumpSpace();var c,d=this.parseIdentifierIfPossible(),f=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(c=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return c;this.bumpSpace(),d=this.parseIdentifierIfPossible(),f=c.val}var m,l=this.tryParsePluralOrSelectOptions(e,a,t,d);return l.err?l:(h=this.tryParseArgumentClose(n)).err?h:(m=v(n,this.clonePosition()),"select"===a?{val:{type:y.select,value:r,options:Ce(l.val),location:m},err:null}:{val:{type:y.plural,value:r,options:Ce(l.val),offset:f,pluralType:"plural"===a?"cardinal":"ordinal",location:m},err:null});default:return this.error(p.INVALID_ARGUMENT_TYPE,v(s,o))}},a.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,v(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},a.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,v(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(0<e))return{val:this.message.slice(t.offset,this.offset()),err:null};--e;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},a.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(le).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:g.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?ge(r):{}},err:null}},a.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=v(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,v(this.clonePosition(),this.clonePosition()));h=this.parseMessage(e+1,t,r);if(h.err)return h;var c=this.tryParseArgumentClose(u);if(c.err)return c;s.push([o,{value:h.val,location:v(u,this.clonePosition())}]),a.add(o),this.bumpSpace(),o=(c=this.parseIdentifierIfPossible()).value,l=c.location}return 0===s.length?this.error("select"===t?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!i?this.error(p.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},a.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,s=0;!this.isEOF();){var a=this.char();if(!(48<=a&&a<=57))break;i=!0,s=10*s+(a-48),this.bump()}n=v(n,this.clonePosition());return i?Me(s*=r)?{val:s,err:null}:this.error(t,n):this.error(e,n)},a.prototype.offset=function(){return this.position.offset},a.prototype.isEOF=function(){return this.offset()===this.message.length},a.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},a.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=He(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},a.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},a.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))},a.prototype.bumpIf=function(e){if(ke(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},a.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)},a.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}},a.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ye(this.char());)this.bump()},a.prototype.peek=function(){var e,t;return!this.isEOF()&&(e=this.char(),t=this.offset(),null!=(t=this.message.charCodeAt(t+(65536<=e?2:1))))?t:null};var Ae=a;function a(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 Ye(e){return 9<=e&&e<=13||32===e||133===e||8206<=e&&e<=8207||8232===e||8233===e}function Re(e,t){t=_({shouldParseSkeletons:!0,requiresOtherClause:!0},t=void 0===t?{}:t);var r,e=new Ae(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,re(e)||ne(e))for(var t in e.options)delete e.options[t].location,r(e.options[t].value);else Q(e)&&se(e.style)||(ee(e)||te(e))&&ae(e.style)?delete e.style.location:ie(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:Ve;return(t&&t.strategy?t.strategy:function(e,t){return $e(e,this,1===e.length?Ie:Ge,t.cache.create(),t.serializer)})(e,{cache:r,serializer:n})}function Ie(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 Ge(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 $e(e,t,r,n,i){return r.bind(t,e,n,i)}var Ve=function(){return JSON.stringify(arguments)};function We(){this.cache=Object.create(null)}We.prototype.get=function(e){return this.cache[e]},We.prototype.set=function(e,t){this.cache[e]=t};var b,je,ze={create:function(){return new We}},Ze={variadic:function(e,t){return $e(e,this,Ge,t.cache.create(),t.serializer)},monadic:function(e,t){return $e(e,this,Ie,t.cache.create(),t.serializer)}};(je=b=b||{}).MISSING_VALUE="MISSING_VALUE",je.INVALID_VALUE="INVALID_VALUE",je.MISSING_INTL_API="MISSING_INTL_API";q(at,Je=Error),at.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)};var S,Xe,qe,Ke,Je,Qe=at,et=(q(st,Ke=Qe),st),tt=(q(it,qe=Qe),it),rt=(q(nt,Xe=Qe),nt);function nt(e,t){return Xe.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(t,'"'),b.MISSING_VALUE,t)||this}function it(e,t,r){return qe.call(this,'Value for "'.concat(e,'" must be of type ').concat(t),b.INVALID_VALUE,r)||this}function st(e,t,r,n){return Ke.call(this,'Invalid values for "'.concat(e,'": "').concat(t,'". Options are "').concat(Object.keys(r).join('", "'),'"'),b.INVALID_VALUE,n)||this}function at(e,t,r){e=Je.call(this,e)||this;return e.code=t,e.originalMessage=r,e}function ot(e,t,r,n,i,s,a){if(1===e.length&&J(e[0]))return[{type:S.literal,value:e[0].value}];for(var o=[],l=0,h=e;l<h.length;l++){var u=h[l];if(J(u))o.push({type:S.literal,value:u.value});else if(u.type===y.pound)"number"==typeof s&&o.push({type:S.literal,value:r.getNumberFormat(t).format(s)});else{var c=u.value;if(!(i&&c in i))throw new rt(c,a);c=i[c];if(u.type===y.argument)c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),o.push({type:"string"==typeof c?S.literal:S.object,value:c});else if(ee(u)){var d="string"==typeof u.style?n.date[u.style]:ae(u.style)?u.style.parsedOptions:void 0;o.push({type:S.literal,value:r.getDateTimeFormat(t,d).format(c)})}else if(te(u))d="string"==typeof u.style?n.time[u.style]:ae(u.style)?u.style.parsedOptions:n.time.medium,o.push({type:S.literal,value:r.getDateTimeFormat(t,d).format(c)});else if(Q(u))(d="string"==typeof u.style?n.number[u.style]:se(u.style)?u.style.parsedOptions:void 0)&&d.scale&&(c*=d.scale||1),o.push({type:S.literal,value:r.getNumberFormat(t,d).format(c)});else{if(ie(u)){var f=u.children,m=u.value,p=i[m];if("function"!=typeof p)throw new tt(m,"function",a);m=p(ot(f,t,r,n,i,s).map(function(e){return e.value}));Array.isArray(m)||(m=[m]),o.push.apply(o,m.map(function(e){return{type:"string"==typeof e?S.literal:S.object,value:e}}))}if(re(u)){if(!(g=u.options[c]||u.options.other))throw new et(u.value,c,Object.keys(u.options),a);o.push.apply(o,ot(g.value,t,r,n,i))}else if(ne(u)){if(!(g=u.options["=".concat(c)])){if(!Intl.PluralRules)throw new Qe('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',b.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 et(u.value,c,Object.keys(u.options),a);o.push.apply(o,ot(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===S.literal&&t.type===S.literal?r.value+=t.value:e.push(t),e},[])}function lt(r){return{create:function(){return{get:function(e){return r[e]},set:function(e,t){r[e]=t}}}}}(n=S=S||{})[n.literal=0]="literal",n[n.object=1]="object",Object.defineProperty(o,"defaultLocale",{get:function(){return o.memoizedDefaultLocale||(o.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),o.memoizedDefaultLocale},enumerable:!1,configurable:!0}),o.memoizedDefaultLocale=null,o.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return 0<t.length?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},o.__parse=Re,o.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};var ht=o;function o(e,t,r,n){var i,s,a=this;if(void 0===t&&(t=o.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var e=a.formatToParts(e);return 1===e.length?e[0].value:(e=e.reduce(function(e,t){return e.length&&t.type===S.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[])).length<=1?e[0]||"":e},this.formatToParts=function(e){return ot(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=t,this.resolvedLocale=o.resolveLocale(t),"string"==typeof e){if(this.message=e,!o.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=o.__parse(e,{ignoreTag:null==n?void 0:n.ignoreTag,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(i=o.formats,(s=r)?Object.keys(i).reduce(function(e,t){var r,n;return e[t]=(r=i[t],(n=s[t])?_(_(_({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=_(_({},r[t]),n[t]||{}),e},{})):r),e},_({},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,K([void 0],t,!1)))},{cache:lt((t=void 0===(t=this.formatterCache)?{number:{},dateTime:{},pluralRules:{}}:t).number),strategy:Ze.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,K([void 0],t,!1)))},{cache:lt(t.dateTime),strategy:Ze.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,K([void 0],t,!1)))},{cache:lt(t.pluralRules),strategy:Ze.variadic})}}const l={},ut=(e,t,r)=>r&&(t in l||(l[t]={}),e in l[t]||(l[t][e]=r),r),ct=(t,r)=>{if(null!=r){if(r in l&&t in l[r])return l[r][t];var n=Ut(r);for(let e=0;e<n.length;e++){var i=function(e,t){if(!mt(e))return null;e=function(e){return dt[e]||null}(e);{var r=t;if(null!=r){if(r in e)return e[r];var n=r.split(".");let t=e;for(let e=0;e<n.length;e++)if("object"==typeof t){if(0<e){const r=n.slice(e,n.length).join(".");if(r in t){t=t[r];break}}t=t[n[e]]}else t=void 0;return t}}}(n[e],t);if(i)return ut(t,r,i)}}};let dt;const ft=P({});function mt(e){return e in dt}function pt(t,...r){delete l[t],ft.update(e=>(e[t]=G.all([e[t]||{},...r]),e))}e([ft],([e])=>Object.keys(e)),ft.subscribe(e=>dt=e);const gt={};function Ht(e){return gt[e]}function Pt(e){return null!=e&&Ut(e).some(e=>{return null==(e=Ht(e))?void 0:e.size})}const xt={};function Lt(e){var t;return Pt(e)?(t=Ut(e).map(e=>{var t=Ht(e);return[e,t?[...t]:[]]}).filter(([,e])=>0<e.length),xt[e]=Promise.all(t.map(([e,t])=>{return n=e,Promise.all(t.map(e=>{return t=n,r=e,gt[t].delete(r),0===gt[t].size&&delete gt[t],e().then(e=>e.default||e);var t,r})).then(e=>pt(n,...e));var n})).then(()=>{if(Pt(e))return Lt(e);delete xt[e]}),xt[e]):e in xt?xt[e]:Promise.resolve()}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 At=P(!1);let Ft;const Yt=P(null);function Rt(e){return e.split("-").map((e,t,r)=>r.slice(0,t+1).join("-")).reverse()}function Ut(e,t=u.fallbackLocale){e=Rt(e);return t?[...new Set([...e,...Rt(t)])]:e}function c(){return null!=Ft?Ft:void 0}Yt.subscribe(e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)});const j={...Yt,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(mt(r))return r}}}(t)&&Pt(t)){var r=u["loadingDelay"];let e;return"undefined"!=typeof window&&null!=c()&&r?e=window.setTimeout(()=>At.set(!0),r):At.set(!0),Lt(t).then(()=>{Yt.set(t)}).finally(()=>{clearTimeout(e),At.set(!1)})}return Yt.set(t)}},It=r=>{const n=Object.create(null);return e=>{var t=JSON.stringify(e);return t in n?n[t]:n[t]=r(e)}},Gt=(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.`)},$t=It(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(r=Gt("number",t)),new Intl.NumberFormat(e,r)}),Vt=It(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?r=Gt("date",t):0===Object.keys(r).length&&(r=Gt("date","short")),new Intl.DateTimeFormat(e,r)}),Wt=It(({locale:e,format:t,...r})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?r=Gt("time",t):0===Object.keys(r).length&&(r=Gt("time","short")),new Intl.DateTimeFormat(e,r)}),jt=It((e,t=c())=>new ht(e,t,u.formats,{ignoreTag:u.ignoreTag})),zt=e([j,ft],()=>(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=ct(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=jt(l,a).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h});function Zt(e,t){pt(e,t)}e([j],()=>(e,t)=>{return[{locale:t=c(),...r}={}]=[t],Wt({locale:t,...r}).format(e);var r}),e([j],()=>(e,t)=>{return[{locale:t=c(),...r}={}]=[t],Vt({locale:t,...r}).format(e);var r}),e([j],()=>(e,t)=>{return[{locale:t=c(),...r}={}]=[t],$t({locale:t,...r}).format(e);var r}),e([j,ft],()=>(e,t=c())=>ct(e,t));const Xt={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"}},"zh-hk":{registerFormStep2:{registerBackButton:"後退",registerUserTitle:"標題",registerUserTitleSelect:"选择标题",registerUserTitleSelectMr:"先生.",registerUserTitleSelectMrs:"太太.",registerUserTitleSelectMs:"小姐.",registerFirstName:"名",registerFirstNameError:"名字的長度必須至少為 2 個字符,並且不包含特殊字符。",registerLastName:"姓",registerLastNameError:"姓氏必須至少有 2 個字符長並且不包含特殊字符。",registerDateOfBirth:"出生日期",registerBirthDay:"天",registerBirthMonth:"月",registerBirthYear:"年",registerBirthDateError:"最低注册年龄为 {licenseyears} 年。",registerBirthPlace:"出生地",registerBirthPlaceError:"出生地必須至少有 1 個字符長。",registerCurrency:"貨幣",registerNext:"下一個"}},fr:{registerFormStep2:{registerBackButton:"Retour",registerUserTitle:"Titre",registerUserTitleSelect:"Sélectionnez le titre",registerUserTitleSelectMr:"Monsieur",registerUserTitleSelectMrs:"Madame",registerUserTitleSelectMs:"Mademoiselle",registerFirstName:"Prénom",registerFirstNameError:"Le prénom doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerLastName:"Nom de famille",registerLastNameError:"Le nom de famille doit être composé d'au moins 2 caractères et ne doit pas contenir des caracères spéciaux",registerDateOfBirth:"Date de naissance",registerBirthDay:"Jour",registerBirthMonth:"Mois",registerBirthYear:"An",registerBirthDateError:"L'âge minimum d'enregistrement est de {licenseyears} ans.",registerBirthPlace:"Lieu de naissance",registerBirthPlaceError:"Le lieu de naissance doit comporter au moins un caractère.",registerCurrency:"Monnaie",registerNext:"Suivant"}},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:"Anterior",registerUserTitle:"Título",registerUserTitleSelect:"Seleccionar Título",registerUserTitleSelectMr:"Sr.",registerUserTitleSelectMrs:"Sra.",registerUserTitleSelectMs:"Srta.",registerFirstName:"Nombre",registerFirstNameError:"El nombre debe tener al menos 2 caracteres y no contener caracteres especiales.",registerLastName:"Apellido",registerLastNameError:"Apellido debe tener entre 2 a 50 caracteres.",registerDateOfBirth:"Fecha de nacimiento",registerBirthDay:"Día",registerBirthMonth:"Mes",registerBirthYear:"Año",registerBirthDateError:"La edad mínima para registrarse es {licenseyears} años",registerBirthPlace:"Lugar de Nacimiento",registerBirthPlaceError:"Lugar de Nacimiento debe tener al menos 1 carácter.",registerCurrency:"Moneda",registerNext:"Siguiente"}},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){e=e.slice();return e[70]=t[r],e}function Kt(e,t,r){e=e.slice();return e[73]=t[r],e}function Jt(e,t,r){e=e.slice();return e[76]=t[r],e}function Qt(e,t,r){e=e.slice();return e[79]=t[r],e}function er(e){let r,n,i=e[21]("registerFormStep2.registerFirstNameError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){bt(e,r,t),vt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerFirstNameError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function tr(e){let r,n,i=e[21]("registerFormStep2.registerLastNameError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){bt(e,r,t),vt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerLastNameError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function rr(e){let r,n,t=e[79]+"";return{c(){r=wt("option"),n=Et(t),r.__value=e[79],r.value=r.__value},m(e,t){bt(e,r,t),vt(r,n)},p:yt,d(e){e&&St(r)}}}function nr(e){let r,n,t=e[76]+"";return{c(){r=wt("option"),n=Et(t),r.__value=e[76],r.value=r.__value},m(e,t){bt(e,r,t),vt(r,n)},p:yt,d(e){e&&St(r)}}}function ir(t){let i,s=t[24],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=Et("")},m(t,r){for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,r);bt(t,i,r)},p(t,r){if(16777216&r[0]){let e;for(s=t[24],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){Ot(a,e),e&&St(i)}}}function sr(e){let r,n,t=e[73]+"";return{c(){r=wt("option"),n=Et(t),r.__value=e[73],r.value=r.__value},m(e,t){bt(e,r,t),vt(r,n)},p:yt,d(e){e&&St(r)}}}function ar(e){let r,n,i=e[21]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){bt(e,r,t),vt(r,n)},p(e,t){2097153&t[0]&&i!==(i=e[21]("registerFormStep2.registerBirthDateError",{values:{licenseyears:e[0]}})+"")&&Dt(n,i)},d(e){e&&St(r)}}}function or(e){let r,n,i=e[21]("registerFormStep2.registerBirthPlaceError")+"";return{c(){r=wt("p"),n=Et(i),Mt(r,"class","InvalidInput"),Mt(r,"part","InvalidInput")},m(e,t){bt(e,r,t),vt(r,n)},p(e,t){2097152&t[0]&&i!==(i=e[21]("registerFormStep2.registerBirthPlaceError")+"")&&Dt(n,i)},d(e){e&&St(r)}}}function lr(e){let r,n,i,s=e[70]+"";return{c(){r=wt("option"),n=Et(s),r.__value=i=e[70],r.value=r.__value},m(e,t){bt(e,r,t),vt(r,n)},p(e,t){131072&t[0]&&s!==(s=e[70]+"")&&Dt(n,s),131072&t[0]&&i!==(i=e[70])&&(r.__value=i,r.value=r.__value)},d(e){e&&St(r)}}}function hr(r){let n,Y,i,s,R,U,I,G,$,V,W,a,o,l,j,z,Z,X,h,u,q,c,K,d,J,Q,ee,e,te,f,re,ne,ie,se,ae,m,oe,le,he,ue,p,ce,de,fe,me,pe,g,ge,ye,_e,ve,y,be,Se,we,Ee,Te,_,v,b,Me,De,S,w,Be,Ne,E,T,ke,Oe,Ce,He,M,Pe,xe,Le,Ae,Fe,D,Ye,Re,Ue,Ie,B,Ge,$e,Ve,We,je,N,ze,Ze,k,Xe,qe,Ke,Je,Qe=r[21]("registerFormStep2.registerBackButton")+"",et=r[21]("registerFormStep2.registerUserTitle")+"",tt=r[21]("registerFormStep2.registerUserTitleSelect")+"",rt=r[21]("registerFormStep2.registerUserTitleSelectMr")+"",nt=r[21]("registerFormStep2.registerUserTitleSelectMrs")+"",it=r[21]("registerFormStep2.registerUserTitleSelectMs")+"",st=r[21]("registerFormStep2.registerFirstName")+"",at=r[21]("registerFormStep2.registerLastName")+"",ot=r[21]("registerFormStep2.registerDateOfBirth")+"",lt=r[21]("registerFormStep2.registerBirthDay")+"",ht=r[21]("registerFormStep2.registerBirthMonth")+"",ut=r[21]("registerFormStep2.registerBirthYear")+"",ct=r[21]("registerFormStep2.registerBirthPlace")+"",dt=r[21]("registerFormStep2.registerCurrency")+"",ft=r[21]("registerFormStep2.registerNext")+"",O=r[2]&&er(r),C=r[3]&&tr(r),mt=r[22],H=[];for(let e=0;e<mt.length;e+=1)H[e]=rr(Qt(r,mt,e));let pt=r[23],P=[];for(let e=0;e<pt.length;e+=1)P[e]=nr(Jt(r,pt,e));let x=!r[20]&&ir(r),L=r[4]&&ar(r),A=r[5]&&or(r),gt=r[17],F=[];for(let e=0;e<gt.length;e+=1)F[e]=lr(qt(r,gt,e));return{c(){n=wt("div"),Y=wt("div"),i=wt("button"),s=Ct("svg"),R=Ct("defs"),U=Ct("style"),I=Et(".a{fill:var(--emfe-w-color-primary, #D0046C);}"),G=Ct("path"),$=t(),V=Et(Qe),W=t(),a=wt("form"),o=wt("div"),l=wt("label"),j=Et(et),z=Et(":"),(Z=wt("span")).textContent="*",X=t(),h=wt("select"),u=wt("option"),q=Et(tt),c=wt("option"),K=Et(rt),d=wt("option"),J=Et(nt),Q=wt("option"),ee=Et(it),te=t(),f=wt("div"),re=wt("label"),ne=Et(st),ie=Et(":"),(se=wt("span")).textContent="*",ae=t(),m=wt("input"),oe=t(),O&&O.c(),ue=t(),p=wt("div"),ce=wt("label"),de=Et(at),fe=Et(":"),(me=wt("span")).textContent="*",pe=t(),g=wt("input"),ge=t(),C&&C.c(),ve=t(),y=wt("div"),be=wt("label"),Se=Et(ot),we=Et(":"),(Ee=wt("span")).textContent="*",Te=t(),_=wt("div"),v=wt("select"),b=wt("option"),Me=Et(lt);for(let e=0;e<H.length;e+=1)H[e].c();De=t(),S=wt("select"),w=wt("option"),Be=Et(ht);for(let e=0;e<P.length;e+=1)P[e].c();Ne=t(),E=wt("select"),T=wt("option"),ke=Et(ut),x&&x.c(),Oe=t(),L&&L.c(),He=t(),M=wt("div"),Pe=wt("label"),xe=Et(ct),Le=Et(":"),(Ae=wt("span")).textContent="*",Fe=t(),D=wt("input"),Ye=t(),A&&A.c(),Ie=t(),B=wt("div"),Ge=wt("label"),$e=Et(dt),Ve=Et(":"),(We=wt("span")).textContent="*",je=t(),N=wt("select");for(let e=0;e<F.length;e+=1)F[e].c();Ze=t(),k=wt("button"),Xe=Et(ft),this.c=yt,Mt(G,"class","a"),Mt(G,"d","M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z"),Mt(G,"transform","translate(24 24) rotate(180)"),Mt(s,"xmlns","http://www.w3.org/2000/svg"),Mt(s,"viewBox","0 0 24 24"),Mt(i,"class","BackButton"),Mt(i,"part","BackButton"),Mt(Y,"class","RegisterFormHeader"),Mt(Y,"part","RegisterFormHeader"),Mt(Z,"class","FormRequired"),Mt(Z,"part","FormRequired"),Mt(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,Q.__value="Ms.",Q.value=Q.__value,Mt(h,"id","Title"),void 0===r[10]&&kt(()=>r[39].call(h)),Mt(o,"class",e="UserTitleContainer "+(0<=r[9]?.indexOf("title")?"Hidden":"")),Mt(o,"part","UserTitleContainer"),Mt(se,"class","FormRequired"),Mt(se,"part","FormRequired"),Mt(re,"for","FirstName"),Mt(m,"type","text"),Mt(m,"id","FirstName"),Mt(f,"class",le="FirstNameContainer "+(r[2]&&!r[6]?"InvalidField":"")+(0<=r[9]?.indexOf("firstName")?"Hidden":"")),Mt(f,"part",he="FirstNameContainer "+(r[2]?"InvalidField":"")),Mt(me,"class","FormRequired"),Mt(me,"part","FormRequired"),Mt(ce,"for","LastName"),Mt(g,"type","text"),Mt(g,"id","LastName"),Mt(p,"class",ye="LastNameContainer "+(r[3]&&!r[7]?"InvalidField":"")+(0<=r[9]?.indexOf("lastName")?"Hidden":"")),Mt(p,"part",_e="LastNameContainer "+(r[3]?"InvalidField":"")),Mt(Ee,"class","FormRequired"),Mt(Ee,"part","FormRequired"),b.__value="",b.value=b.__value,b.disabled=!0,b.selected=!0,Mt(v,"class","BirthDaySelected"),Mt(v,"part","BirthDaySelected"),void 0===r[13]&&kt(()=>r[46].call(v)),w.__value="",w.value=w.__value,w.disabled=!0,w.selected=!0,Mt(S,"class","BirthMonthSelected"),Mt(S,"part","BirthMonthSelected"),void 0===r[14]&&kt(()=>r[47].call(S)),T.__value="",T.value=T.__value,T.disabled=!0,T.selected=!0,Mt(E,"class","BirthYearSelected"),Mt(E,"part","BirthYearSelected"),void 0===r[15]&&kt(()=>r[48].call(E)),Mt(_,"class","BirthDateOptions"),Mt(_,"part","BirthDateOptions"),Mt(y,"class",Ce="BirthDateContainer "+(0<=r[9]?.indexOf("birthDate")?"Hidden":"")),Mt(y,"part","BirthDateContainer"),Mt(Ae,"class","FormRequired"),Mt(Ae,"part","FormRequired"),Mt(Pe,"for","BirthPlace"),Mt(D,"type","text"),Mt(D,"id","BirthPlace"),Mt(M,"class",Re="BirthPlaceContainer "+(r[5]&&!r[8]?"InvalidField":"")+(0<=r[9]?.indexOf("birthPlace")?"Hidden":"")),Mt(M,"part",Ue="BirthPlaceContainer "+(r[5]?"InvalidField":"")),Mt(We,"class","FormRequired"),Mt(We,"part","FormRequired"),Mt(Ge,"for","Currency"),Mt(N,"id","Currency"),void 0===r[18]&&kt(()=>r[52].call(N)),Mt(B,"class",ze="CurrencyContainer "+(0<=r[9]?.indexOf("currency")?"Hidden":"")),Mt(B,"part","CurrencyContainer"),Mt(k,"class","RegisterStepNext"),Mt(k,"part","RegisterStepNext"),k.disabled=qe=!r[19],Mt(a,"class","RegisterFormContent"),Mt(a,"part","RegisterFormContent")},m(e,t){bt(e,n,t),vt(n,Y),vt(Y,i),vt(i,s),vt(s,R),vt(R,U),vt(U,I),vt(s,G),vt(i,$),vt(i,V),vt(n,W),vt(n,a),vt(a,o),vt(o,l),vt(l,j),vt(l,z),vt(l,Z),vt(o,X),vt(o,h),vt(h,u),vt(u,q),vt(h,c),vt(c,K),vt(h,d),vt(d,J),vt(h,Q),vt(Q,ee),Nt(h,r[10],!0),vt(a,te),vt(a,f),vt(f,re),vt(re,ne),vt(re,ie),vt(re,se),vt(f,ae),vt(f,m),Bt(m,r[11]),vt(f,oe),O&&O.m(f,null),vt(a,ue),vt(a,p),vt(p,ce),vt(ce,de),vt(ce,fe),vt(ce,me),vt(p,pe),vt(p,g),Bt(g,r[12]),vt(p,ge),C&&C.m(p,null),vt(a,ve),vt(a,y),vt(y,be),vt(be,Se),vt(be,we),vt(be,Ee),vt(y,Te),vt(y,_),vt(_,v),vt(v,b),vt(b,Me);for(let e=0;e<H.length;e+=1)H[e]&&H[e].m(v,null);Nt(v,r[13],!0),vt(_,De),vt(_,S),vt(S,w),vt(w,Be);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(S,null);Nt(S,r[14],!0),vt(_,Ne),vt(_,E),vt(E,T),vt(T,ke),x&&x.m(E,null),Nt(E,r[15],!0),vt(_,Oe),L&&L.m(_,null),vt(a,He),vt(a,M),vt(M,Pe),vt(Pe,xe),vt(Pe,Le),vt(Pe,Ae),vt(M,Fe),vt(M,D),Bt(D,r[16]),vt(M,Ye),A&&A.m(M,null),vt(a,Ie),vt(a,B),vt(B,Ge),vt(Ge,$e),vt(Ge,Ve),vt(Ge,We),vt(B,je),vt(B,N);for(let e=0;e<F.length;e+=1)F[e]&&F[e].m(N,null);Nt(N,r[18],!0),vt(a,Ze),vt(a,k),vt(k,Xe),r[54](n),Ke||(Je=[Tt(i,"click",r[31]),Tt(h,"change",r[39]),Tt(h,"change",r[26]),Tt(m,"input",r[40]),Tt(m,"keyup",r[27]),Tt(m,"focus",r[41]),Tt(m,"keyup",r[42]),Tt(g,"input",r[43]),Tt(g,"keyup",r[28]),Tt(g,"focus",r[44]),Tt(g,"blur",r[45]),Tt(v,"change",r[46]),Tt(v,"change",r[25]),Tt(S,"change",r[47]),Tt(S,"change",r[25]),Tt(E,"change",r[48]),Tt(E,"change",r[25]),Tt(D,"input",r[49]),Tt(D,"keyup",r[29]),Tt(D,"focus",r[50]),Tt(D,"blur",r[51]),Tt(N,"change",r[52]),Tt(k,"click",r[53])],Ke=!0)},p(t,r){if(2097152&r[0]&&Qe!==(Qe=t[21]("registerFormStep2.registerBackButton")+"")&&Dt(V,Qe),2097152&r[0]&&et!==(et=t[21]("registerFormStep2.registerUserTitle")+"")&&Dt(j,et),2097152&r[0]&&tt!==(tt=t[21]("registerFormStep2.registerUserTitleSelect")+"")&&Dt(q,tt),2097152&r[0]&&rt!==(rt=t[21]("registerFormStep2.registerUserTitleSelectMr")+"")&&Dt(K,rt),2097152&r[0]&&nt!==(nt=t[21]("registerFormStep2.registerUserTitleSelectMrs")+"")&&Dt(J,nt),2097152&r[0]&&it!==(it=t[21]("registerFormStep2.registerUserTitleSelectMs")+"")&&Dt(ee,it),1024&r[0]&&Nt(h,t[10]),512&r[0]&&e!==(e="UserTitleContainer "+(0<=t[9]?.indexOf("title")?"Hidden":""))&&Mt(o,"class",e),2097152&r[0]&&st!==(st=t[21]("registerFormStep2.registerFirstName")+"")&&Dt(ne,st),2048&r[0]&&m.value!==t[11]&&Bt(m,t[11]),t[2]?O?O.p(t,r):((O=er(t)).c(),O.m(f,null)):O&&(O.d(1),O=null),580&r[0]&&le!==(le="FirstNameContainer "+(t[2]&&!t[6]?"InvalidField":"")+(0<=t[9]?.indexOf("firstName")?"Hidden":""))&&Mt(f,"class",le),4&r[0]&&he!==(he="FirstNameContainer "+(t[2]?"InvalidField":""))&&Mt(f,"part",he),2097152&r[0]&&at!==(at=t[21]("registerFormStep2.registerLastName")+"")&&Dt(de,at),4096&r[0]&&g.value!==t[12]&&Bt(g,t[12]),t[3]?C?C.p(t,r):((C=tr(t)).c(),C.m(p,null)):C&&(C.d(1),C=null),648&r[0]&&ye!==(ye="LastNameContainer "+(t[3]&&!t[7]?"InvalidField":"")+(0<=t[9]?.indexOf("lastName")?"Hidden":""))&&Mt(p,"class",ye),8&r[0]&&_e!==(_e="LastNameContainer "+(t[3]?"InvalidField":""))&&Mt(p,"part",_e),2097152&r[0]&&ot!==(ot=t[21]("registerFormStep2.registerDateOfBirth")+"")&&Dt(Se,ot),2097152&r[0]&<!==(lt=t[21]("registerFormStep2.registerBirthDay")+"")&&Dt(Me,lt),4194304&r[0]){let e;for(mt=t[22],e=0;e<mt.length;e+=1){var n=Qt(t,mt,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=mt.length}if(4202496&r[0]&&Nt(v,t[13]),2097152&r[0]&&ht!==(ht=t[21]("registerFormStep2.registerBirthMonth")+"")&&Dt(Be,ht),8388608&r[0]){let e;for(pt=t[23],e=0;e<pt.length;e+=1){var i=Jt(t,pt,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=pt.length}if(8404992&r[0]&&Nt(S,t[14]),2097152&r[0]&&ut!==(ut=t[21]("registerFormStep2.registerBirthYear")+"")&&Dt(ke,ut),t[20]?x&&(x.d(1),x=null):x?x.p(t,r):((x=ir(t)).c(),x.m(E,null)),16809984&r[0]&&Nt(E,t[15]),t[4]?L?L.p(t,r):((L=ar(t)).c(),L.m(_,null)):L&&(L.d(1),L=null),512&r[0]&&Ce!==(Ce="BirthDateContainer "+(0<=t[9]?.indexOf("birthDate")?"Hidden":""))&&Mt(y,"class",Ce),2097152&r[0]&&ct!==(ct=t[21]("registerFormStep2.registerBirthPlace")+"")&&Dt(xe,ct),65536&r[0]&&D.value!==t[16]&&Bt(D,t[16]),t[5]?A?A.p(t,r):((A=or(t)).c(),A.m(M,null)):A&&(A.d(1),A=null),800&r[0]&&Re!==(Re="BirthPlaceContainer "+(t[5]&&!t[8]?"InvalidField":"")+(0<=t[9]?.indexOf("birthPlace")?"Hidden":""))&&Mt(M,"class",Re),32&r[0]&&Ue!==(Ue="BirthPlaceContainer "+(t[5]?"InvalidField":""))&&Mt(M,"part",Ue),2097152&r[0]&&dt!==(dt=t[21]("registerFormStep2.registerCurrency")+"")&&Dt($e,dt),131072&r[0]){let e;for(gt=t[17],e=0;e<gt.length;e+=1){var s=qt(t,gt,e);F[e]?F[e].p(s,r):(F[e]=lr(s),F[e].c(),F[e].m(N,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=gt.length}393216&r[0]&&Nt(N,t[18]),512&r[0]&&ze!==(ze="CurrencyContainer "+(0<=t[9]?.indexOf("currency")?"Hidden":""))&&Mt(B,"class",ze),2097152&r[0]&&ft!==(ft=t[21]("registerFormStep2.registerNext")+"")&&Dt(Xe,ft),524288&r[0]&&qe!==(qe=!t[19])&&(k.disabled=qe)},i:yt,o:yt,d(e){e&&St(n),O&&O.d(),C&&C.d(),Ot(H,e),Ot(P,e),x&&x.d(),L&&L.d(),A&&A.d(),Ot(F,e),r[54](null),Ke=!1,_t(Je)}}}function ur(t,e,r){let n;var i=zt;t.$$.on_destroy.push(z(i,e=>r(21,n=e)));let s,a,o,l,h,u,c,A,d,{endpoint:f=""}=e,{lang:m=""}=e,{licenseyears:p=""}=e,{disabledfields:g=""}=e,{defaultoptions:F=""}=e,{clientstyling:y=""}=e,{clientstylingurl:_=""}=e,{translationurl:v=""}=e,b=!1,S=!1,w=!1,E=!1,T=!1,M=!1,D=!1,B="",N="",Y=[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],R=[1,2,3,4,5,6,7,8,9,10,11,12],k=[],O="",C=[],H="",P=new Date,x=!1,U=!0;Object.keys(Xt).forEach(e=>{Zt(e,Xt[e])});const L=()=>{r(19,x=!(b||S||w||E)),!(B.length<=0||N.length<=0||O.length<=0)&&a&&o&&l&&h||r(19,x=!1)},I=e=>!!(e&&2<=e.length&&e.length<=50),G=e=>{e.preventDefault();e={userTitleSelected:a,userFirstName:B,userLastName:N,birthDaySelected:o,birthMonthSelected:l,birthYearSelected:h,birthPlace:O,currencySelected:H};window.postMessage({type:"RegisterStepTwo",registerStepTwoData:e},window.location.href)},$=e=>{e.data&&"StepTwoDataBackup"===e.data.type&&(r(10,a=e.data.userData.title),r(11,B=e.data.userData.firstname),r(12,N=e.data.userData.lastname),r(13,o=e.data.userData.birth.day),r(14,l=e.data.userData.birth.month),r(15,h=e.data.userData.birth.year),r(16,O=e.data.userData.birthPlace),r(18,H=e.data.userData.currency),L())};return i=()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)}),function(){if(W)return W;throw new Error("Function called outside component initialization")}().$$.on_mount.push(i),t.$$set=e=>{"endpoint"in e&&r(32,f=e.endpoint),"lang"in e&&r(33,m=e.lang),"licenseyears"in e&&r(0,p=e.licenseyears),"disabledfields"in e&&r(34,g=e.disabledfields),"defaultoptions"in e&&r(35,F=e.defaultoptions),"clientstyling"in e&&r(36,y=e.clientstyling),"clientstylingurl"in e&&r(37,_=e.clientstylingurl),"translationurl"in e&&r(38,v=e.translationurl)},t.$$.update=()=>{if(2&t.$$.dirty[1]&&f&&fetch(f+"/player/operatorSupportedCurrencies").then(e=>e.json()).then(e=>{r(17,C=e.currencies),H||r(18,H=C[0])}),4&t.$$.dirty[1]&&m&&(e=m,j.set(e)),1&t.$$.dirty[0]&&p){c=parseInt(X(P.setDate(P.getDate())).subtract(parseInt(p,10),"y").format("YYYY")),u=parseInt(X(P.setDate(P.getDate())).subtract(100+parseInt(p,10),"y").format("YYYY"));for(let e=c;e>=u;e--)k.push(e);r(20,U=!1)}if(8&t.$$.dirty[1]&&g&&(r(9,s=g.split(",")),0<=s.indexOf("firstName")&&(r(11,B="dummy first name"),r(2,b=!1)),0<=s.indexOf("lastName")&&(r(12,N="dummy last name"),r(3,S=!1)),0<=s.indexOf("birthPlace")&&(r(16,O="dummy birth place"),r(5,E=!1)),0<=s.indexOf("birthDate")&&r(4,w=!1),0<=s.indexOf("title")&&r(10,a="Mr."),0<=s.indexOf("currency"))&&r(18,H="CDF"),2&t.$$.dirty[0]|32&t.$$.dirty[1]&&y&&d&&((e=document.createElement("style")).innerHTML=y,d.appendChild(e)),2&t.$$.dirty[0]|64&t.$$.dirty[1]&&_&&d){let e=new URL(_),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{d.appendChild(t)},1),setTimeout(()=>{},500)})}var e;128&t.$$.dirty[1]&&v&&fetch(v).then(e=>e.json()).then(t=>{Object.keys(t).forEach(e=>{Zt(e,t[e])})}).catch(e=>{console.log(e)})},[p,d,b,S,w,E,T,M,D,s,a,B,N,o,l,h,O,C,H,x,U,n,Y,R,k,()=>{h&&l&&o&&(A=X(P.setDate(P.getDate())).diff(X(`${h}-${l}-`+o,"YYYY-MM-DD"),"years").toString(),r(4,w=A<p)),L()},L,()=>{r(2,b=!I(B)),L()},()=>{r(3,S=!I(N)),L()},()=>{r(5,E=!(O&&O.length<=120)),L()},G,()=>{var e={userTitleSelected:a,userFirstName:B,userLastName:N,birthDaySelected:o,birthMonthSelected:l,birthYearSelected:h,birthPlace:O,currencySelected:H};window.postMessage({type:"GoBackStepTwo",registerStepTwoData:e},window.location.href)},f,m,g,F,y,_,v,function(){a=V(this),r(10,a)},function(){B=this.value,r(11,B)},()=>r(6,T=!0),()=>r(6,T=!1),function(){N=this.value,r(12,N)},()=>r(7,M=!0),()=>r(7,M=!1),function(){o=V(this),r(13,o),r(22,Y)},function(){l=V(this),r(14,l),r(23,R)},function(){h=V(this),r(15,h),r(24,k)},function(){O=this.value,r(16,O)},()=>r(8,D=!0),()=>r(8,D=!1),function(){H=V(this),r(18,H),r(17,C)},e=>G(e),function(e){Z[e?"unshift":"push"](()=>{d=e,r(1,d)})}]}class cr extends C{constructor(e){super();var t=document.createElement("style");t.textContent=":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)}.UserTitleContainer.Hidden,.FirstNameContainer.Hidden,.LastNameContainer.Hidden,.BirthDateContainer.Hidden,.BirthPlaceContainer.Hidden,.CurrencyContainer.Hidden{display:none}.BirthDateOptions{display:flex;gap:10px}.BirthDateOptions .BirthDaySelected{width:30%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url(\"data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>\") no-repeat var(--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}",this.shadowRoot.appendChild(t),O(this,{target:this.shadowRoot,props:function(e){var t={};for(const r of e)t[r.name]=r.value;return t}(this.attributes),customElement:!0},ur,hr,h,{endpoint:32,lang:33,licenseyears:0,disabledfields:34,defaultoptions:35,clientstyling:36,clientstylingurl:37,translationurl:38},null,[-1,-1,-1]),e&&(e.target&&bt(e.target,this,e.anchor),e.props)&&(this.$set(e.props),f())}static get observedAttributes(){return["endpoint","lang","licenseyears","disabledfields","defaultoptions","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[32]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[33]}set lang(e){this.$$set({lang:e}),f()}get licenseyears(){return this.$$.ctx[0]}set licenseyears(e){this.$$set({licenseyears:e}),f()}get disabledfields(){return this.$$.ctx[34]}set disabledfields(e){this.$$set({disabledfields:e}),f()}get defaultoptions(){return this.$$.ctx[35]}set defaultoptions(e){this.$$set({defaultoptions:e}),f()}get clientstyling(){return this.$$.ctx[36]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[37]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get translationurl(){return this.$$.ctx[38]}set translationurl(e){this.$$set({translationurl:e}),f()}}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
|