@opfr/raids 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +2211 -2244
- package/dist/index.umd.js +12 -12
- package/package.json +7 -7
package/dist/index.umd.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
(function(W,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("i18next"),require("@opfr/items")):typeof define=="function"&&define.amd?define(["exports","i18next","@opfr/items"],o):(W=typeof globalThis<"u"?globalThis:W||self,o(W.raids={},W.i18next,W["@opfr/items"]))})(this,function(W,o,J){"use strict";const Sa=Object.freeze(Object.defineProperty({__proto__:null,get mysteriousIslandRaid(){return Vn},get pirateCaveRaid(){return qn},get resourcesRaid(){return Gn},get trainingRaid(){return zn}},Symbol.toStringTag,{value:"Module"}));var it=(e=>(e.BASIC="BASIC",e.COMMON="COMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC",e))(it||{});it.BASIC,it.COMMON,it.RARE,it.EPIC,it.LEGENDARY,it.MYTHIC;const Qn=10,Ma=1,Xn=[[200,4],[100,3],[50,2],[0,Ma]],In={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};let eo=class ka{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||In,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,s,a){return a&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${s}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new ka(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new ka(this.logger,t)}};var xe=new eo;let ur=class{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const a=this.observers[s].get(r)||0;this.observers[s].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[n,l]=i;for(let u=0;u<l;u++)n(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[n,l]=i;for(let u=0;u<l;u++)n.apply(n,[t,...s])})}};const Lt=()=>{let e,t;const r=new Promise((s,a)=>{e=s,t=a});return r.resolve=e,r.reject=t,r},Da=e=>e==null?"":""+e,to=(e,t,r)=>{e.forEach(s=>{t[s]&&(r[s]=t[s])})},ro=/###/g,Ya=e=>e&&e.indexOf("###")>-1?e.replace(ro,"."):e,Oa=e=>!e||typeof e=="string",jt=(e,t,r)=>{const s=typeof t!="string"?t:t.split(".");let a=0;for(;a<s.length-1;){if(Oa(e))return{};const i=Ya(s[a]);!e[i]&&r&&(e[i]=new r),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++a}return Oa(e)?{}:{obj:e,k:Ya(s[a])}},$a=(e,t,r)=>{const{obj:s,k:a}=jt(e,t,Object);if(s!==void 0||t.length===1){s[a]=r;return}let i=t[t.length-1],n=t.slice(0,t.length-1),l=jt(e,n,Object);for(;l.obj===void 0&&n.length;)i=`${n[n.length-1]}.${i}`,n=n.slice(0,n.length-1),l=jt(e,n,Object),l&&l.obj&&typeof l.obj[`${l.k}.${i}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=r},so=(e,t,r,s)=>{const{obj:a,k:i}=jt(e,t,Object);a[i]=a[i]||[],a[i].push(r)},dr=(e,t)=>{const{obj:r,k:s}=jt(e,t);if(r)return r[s]},ao=(e,t,r)=>{const s=dr(e,r);return s!==void 0?s:dr(t,r)},Ra=(e,t,r)=>{for(const s in t)s!=="__proto__"&&s!=="constructor"&&(s in e?typeof e[s]=="string"||e[s]instanceof String||typeof t[s]=="string"||t[s]instanceof String?r&&(e[s]=t[s]):Ra(e[s],t[s],r):e[s]=t[s]);return e},ft=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var io={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const no=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>io[t]):e;let oo=class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const s=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,s),this.regExpQueue.push(t),s}};const lo=[" ",",","?","!",";"],uo=new oo(20),co=(e,t,r)=>{t=t||"",r=r||"";const s=lo.filter(n=>t.indexOf(n)<0&&r.indexOf(n)<0);if(s.length===0)return!0;const a=uo.getRegExp(`(${s.map(n=>n==="?"?"\\?":n).join("|")})`);let i=!a.test(e);if(!i){const n=e.indexOf(r);n>0&&!a.test(e.substring(0,n))&&(i=!0)}return i},rs=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const s=t.split(r);let a=e;for(let i=0;i<s.length;){if(!a||typeof a!="object")return;let n,l="";for(let u=i;u<s.length;++u)if(u!==i&&(l+=r),l+=s[u],n=a[l],n!==void 0){if(["string","number","boolean"].indexOf(typeof n)>-1&&u<s.length-1)continue;i+=u-i+1;break}a=n}return a},cr=e=>e&&e.replace("_","-");let Na=class extends ur{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,n=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],s&&(Array.isArray(s)?l.push(...s):typeof s=="string"&&i?l.push(...s.split(i)):l.push(s)));const u=dr(this.data,l);return!u&&!r&&!s&&t.indexOf(".")>-1&&(t=l[0],r=l[1],s=l.slice(2).join(".")),u||!n||typeof s!="string"?u:rs(this.data&&this.data[t]&&this.data[t][r],s,i)}addResource(t,r,s,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const n=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[t,r];s&&(l=l.concat(n?s.split(n):s)),t.indexOf(".")>-1&&(l=t.split("."),a=r,r=l[1]),this.addNamespaces(r),$a(this.data,l,a),i.silent||this.emit("added",t,r,s,a)}addResources(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in s)(typeof s[i]=="string"||Array.isArray(s[i]))&&this.addResource(t,r,i,s[i],{silent:!0});a.silent||this.emit("added",t,r,s)}addResourceBundle(t,r,s,a,i){let n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),a=s,s=r,r=l[1]),this.addNamespaces(r);let u=dr(this.data,l)||{};n.skipCopy||(s=JSON.parse(JSON.stringify(s))),a?Ra(u,s,i):u={...u,...s},$a(this.data,l,u),n.silent||this.emit("added",t,r,s)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(s=>r[s]&&Object.keys(r[s]).length>0)}toJSON(){return this.data}};var Ta={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,s,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,r,s,a))}),t}};const Ca={};let Pa=class Kn extends ur{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),to(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xe.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const s=this.resolve(t,r);return s&&s.res!==void 0}extractFromKey(t,r){let s=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let i=r.ns||this.options.defaultNS||[];const n=s&&t.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!co(t,s,a);if(n&&!l){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:i};const d=t.split(s);(s!==a||s===a&&this.options.ns.indexOf(d[0])>-1)&&(i=d.shift()),t=d.join(a)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,r,s){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:n,namespaces:l}=this.extractFromKey(t[t.length-1],r),u=l[l.length-1],d=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(h){const K=r.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${K}${n}`,usedKey:n,exactUsedKey:n,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:`${u}${K}${n}`}return a?{res:n,usedKey:n,exactUsedKey:n,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:n}const f=this.resolve(t,r);let c=f&&f.res;const $=f&&f.usedKey||n,P=f&&f.exactUsedKey||n,ee=Object.prototype.toString.apply(c),pe=["[object Number]","[object Function]","[object RegExp]"],Te=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,te=!this.i18nFormat||this.i18nFormat.handleAsObject;if(te&&c&&typeof c!="string"&&typeof c!="boolean"&&typeof c!="number"&&pe.indexOf(ee)<0&&!(typeof Te=="string"&&Array.isArray(c))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const K=this.options.returnedObjectHandler?this.options.returnedObjectHandler($,c,{...r,ns:l}):`key '${n} (${this.language})' returned an object instead of string.`;return a?(f.res=K,f.usedParams=this.getUsedParamsDetails(r),f):K}if(i){const K=Array.isArray(c),B=K?[]:{},Qe=K?P:$;for(const re in c)if(Object.prototype.hasOwnProperty.call(c,re)){const Xe=`${Qe}${i}${re}`;B[re]=this.translate(Xe,{...r,joinArrays:!1,ns:l}),B[re]===Xe&&(B[re]=c[re])}c=B}}else if(te&&typeof Te=="string"&&Array.isArray(c))c=c.join(Te),c&&(c=this.extendTranslation(c,t,r,s));else{let K=!1,B=!1;const Qe=r.count!==void 0&&typeof r.count!="string",re=Kn.hasDefaultValue(r),Xe=Qe?this.pluralResolver.getSuffix(d,r.count,r):"",Hf=r.ordinal&&Qe?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",Zn=Qe&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),ir=Zn&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${Xe}`]||r[`defaultValue${Hf}`]||r.defaultValue;!this.isValidLookup(c)&&re&&(K=!0,c=ir),this.isValidLookup(c)||(B=!0,c=n);const Af=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&B?void 0:c,nr=re&&ir!==c&&this.options.updateMissing;if(B||K||nr){if(this.logger.log(nr?"updateKey":"missingKey",d,u,n,nr?ir:c),i){const oe=this.resolve(n,{...r,keySeparator:!1});oe&&oe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let or=[];const ts=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ts&&ts[0])for(let oe=0;oe<ts.length;oe++)or.push(ts[oe]);else this.options.saveMissingTo==="all"?or=this.languageUtils.toResolveHierarchy(r.lng||this.language):or.push(r.lng||this.language);const Bn=(oe,pt,lr)=>{const Jn=re&&lr!==c?lr:Af;this.options.missingKeyHandler?this.options.missingKeyHandler(oe,u,pt,Jn,nr,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(oe,u,pt,Jn,nr,r),this.emit("missingKey",oe,u,pt,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Qe?or.forEach(oe=>{const pt=this.pluralResolver.getSuffixes(oe,r);Zn&&r[`defaultValue${this.options.pluralSeparator}zero`]&&pt.indexOf(`${this.options.pluralSeparator}zero`)<0&&pt.push(`${this.options.pluralSeparator}zero`),pt.forEach(lr=>{Bn([oe],n+lr,r[`defaultValue${lr}`]||ir)})}):Bn(or,n,ir))}c=this.extendTranslation(c,t,r,f,s),B&&c===n&&this.options.appendNamespaceToMissingKey&&(c=`${u}:${n}`),(B||K)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${n}`:n,K?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f.usedParams=this.getUsedParamsDetails(r),f):c}extendTranslation(t,r,s,a,i){var n=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const d=typeof t=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(d){const c=t.match(this.interpolator.nestingRegexp);h=c&&c.length}let f=s.replace&&typeof s.replace!="string"?s.replace:s;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,s.lng||this.language||a.usedLng,s),d){const c=t.match(this.interpolator.nestingRegexp),$=c&&c.length;h<$&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(s.lng=this.language||a.usedLng),s.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var c=arguments.length,$=new Array(c),P=0;P<c;P++)$[P]=arguments[P];return i&&i[0]===$[0]&&!s.context?(n.logger.warn(`It seems you are nesting recursively key: ${$[0]} in key: ${r[0]}`),null):n.translate(...$,r)},s)),s.interpolation&&this.interpolator.reset()}const l=s.postProcess||this.options.postProcess,u=typeof l=="string"?[l]:l;return t!=null&&u&&u.length&&s.applyPostProcessor!==!1&&(t=Ta.handle(u,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,i,n,l;return typeof t=="string"&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(s))return;const d=this.extractFromKey(u,r),h=d.key;a=h;let f=d.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const c=r.count!==void 0&&typeof r.count!="string",$=c&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),P=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",ee=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);f.forEach(pe=>{this.isValidLookup(s)||(l=pe,!Ca[`${ee[0]}-${pe}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(Ca[`${ee[0]}-${pe}`]=!0,this.logger.warn(`key "${a}" for languages "${ee.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ee.forEach(Te=>{if(this.isValidLookup(s))return;n=Te;const te=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(te,h,Te,pe,r);else{let B;c&&(B=this.pluralResolver.getSuffix(Te,r.count,r));const Qe=`${this.options.pluralSeparator}zero`,re=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(te.push(h+B),r.ordinal&&B.indexOf(re)===0&&te.push(h+B.replace(re,this.options.pluralSeparator)),$&&te.push(h+Qe)),P){const Xe=`${h}${this.options.contextSeparator}${r.context}`;te.push(Xe),c&&(te.push(Xe+B),r.ordinal&&B.indexOf(re)===0&&te.push(Xe+B.replace(re,this.options.pluralSeparator)),$&&te.push(Xe+Qe))}}let K;for(;K=te.pop();)this.isValidLookup(s)||(i=K,s=this.getResource(Te,pe,K,r))}))})}),{res:s,usedKey:a,exactUsedKey:i,usedLng:n,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,s,a):this.resourceStore.getResource(t,r,s,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=t.replace&&typeof t.replace!="string";let a=s?t.replace:t;if(s&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!s){a={...a};for(const i of r)delete a[i]}return a}static hasDefaultValue(t){const r="defaultValue";for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&r===s.substring(0,r.length)&&t[s]!==void 0)return!0;return!1}};const ss=e=>e.charAt(0).toUpperCase()+e.slice(1);let La=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xe.create("languageUtils")}getScriptPartFromCode(t){if(t=cr(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=cr(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const r=["hans","hant","latn","cyrl","cans","mong","arab"];let s=t.split("-");return this.options.lowerCaseLng?s=s.map(a=>a.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),r.indexOf(s[1].toLowerCase())>-1&&(s[1]=ss(s[1].toLowerCase()))):s.length===3&&(s[0]=s[0].toLowerCase(),s[1].length===2&&(s[1]=s[1].toUpperCase()),s[0]!=="sgn"&&s[2].length===2&&(s[2]=s[2].toUpperCase()),r.indexOf(s[1].toLowerCase())>-1&&(s[1]=ss(s[1].toLowerCase())),r.indexOf(s[2].toLowerCase())>-1&&(s[2]=ss(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(s=>{if(r)return;const a=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(s=>{if(r)return;const a=this.getLanguagePartFromCode(s);if(this.isSupportedCode(a))return r=a;r=this.options.supportedLngs.find(i=>{if(i===a||!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let s=t[r];return s||(s=t[this.getScriptPartFromCode(r)]),s||(s=t[this.formatLanguageCode(r)]),s||(s=t[this.getLanguagePartFromCode(r)]),s||(s=t.default),s||[]}toResolveHierarchy(t,r){const s=this.getFallbackCodes(r||this.options.fallbackLng||[],t),a=[],i=n=>{n&&(this.isSupportedCode(n)?a.push(n):this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),s.forEach(n=>{a.indexOf(n)<0&&i(this.formatLanguageCode(n))}),a}},ho=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_o={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const po=["v1","v2","v3"],fo=["v4"],ja={zero:0,one:1,two:2,few:3,many:4,other:5},go=()=>{const e={};return ho.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:_o[t.fc]}})}),e};let mo=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=xe.create("pluralResolver"),(!this.options.compatibilityJSON||fo.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=go(),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const s=cr(t==="dev"?"en":t),a=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:s,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const n=new Intl.PluralRules(s,{type:a});return this.pluralRulesCache[i]=n,n}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,r);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,s).map(a=>`${r}${a}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,r);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((a,i)=>ja[a]-ja[i]).map(a=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a}`):s.numbers.map(a=>this.getSuffix(t,a,r)):[]}getSuffix(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,s);return a?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${a.select(r)}`:this.getSuffixRetroCompatible(a,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const s=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let a=t.numbers[s];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const i=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!po.includes(this.options.compatibilityJSON)}};const Wa=function(e,t,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=ao(e,t,r);return!i&&a&&typeof r=="string"&&(i=rs(e,r,s),i===void 0&&(i=rs(t,r,s))),i},as=e=>e.replace(/\$/g,"$$$$");let yo=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xe.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:s,useRawValueToEscape:a,prefix:i,prefixEscaped:n,suffix:l,suffixEscaped:u,formatSeparator:d,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:c,nestingPrefixEscaped:$,nestingSuffix:P,nestingSuffixEscaped:ee,nestingOptionsSeparator:pe,maxReplaces:Te,alwaysFormat:te}=t.interpolation;this.escape=r!==void 0?r:no,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?ft(i):n||"{{",this.suffix=l?ft(l):u||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=c?ft(c):$||ft("$t("),this.nestingSuffix=P?ft(P):ee||ft(")"),this.nestingOptionsSeparator=pe||",",this.maxReplaces=Te||1e3,this.alwaysFormat=te!==void 0?te:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,s)=>r&&r.source===s?(r.lastIndex=0,r):new RegExp(s,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,s,a){let i,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=c=>{if(c.indexOf(this.formatSeparator)<0){const pe=Wa(r,u,c,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(pe,void 0,s,{...a,...r,interpolationkey:c}):pe}const $=c.split(this.formatSeparator),P=$.shift().trim(),ee=$.join(this.formatSeparator).trim();return this.format(Wa(r,u,P,this.options.keySeparator,this.options.ignoreJSONStructure),ee,s,{...a,...r,interpolationkey:P})};this.resetRegExp();const h=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:c=>as(c)},{regex:this.regexp,safeValue:c=>this.escapeValue?as(this.escape(c)):as(c)}].forEach(c=>{for(l=0;i=c.regex.exec(t);){const $=i[1].trim();if(n=d($),n===void 0)if(typeof h=="function"){const ee=h(t,i,a);n=typeof ee=="string"?ee:""}else if(a&&Object.prototype.hasOwnProperty.call(a,$))n="";else if(f){n=i[0];continue}else this.logger.warn(`missed to pass in variable ${$} for interpolating ${t}`),n="";else typeof n!="string"&&!this.useRawValueToEscape&&(n=Da(n));const P=c.safeValue(n);if(t=t.replace(i[0],P),f?(c.regex.lastIndex+=n.length,c.regex.lastIndex-=i[0].length):c.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,n;const l=(u,d)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const f=u.split(new RegExp(`${h}[ ]*{`));let c=`{${f[1]}`;u=f[0],c=this.interpolate(c,n);const $=c.match(/'/g),P=c.match(/"/g);($&&$.length%2===0&&!P||P.length%2!==0)&&(c=c.replace(/'/g,'"'));try{n=JSON.parse(c),d&&(n={...d,...n})}catch(ee){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,ee),`${u}${h}${c}`}return n.defaultValue&&n.defaultValue.indexOf(this.prefix)>-1&&delete n.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];n={...s},n=n.replace&&typeof n.replace!="string"?n.replace:n,n.applyPostProcessor=!1,delete n.defaultValue;let d=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=h.shift(),u=h,d=!0}if(i=r(l.call(this,a[1].trim(),n),n),i&&a[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=Da(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),d&&(i=u.reduce((h,f)=>this.format(h,f,s.lng,{...s,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}};const vo=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const s=e.split("(");t=s[0].toLowerCase().trim();const a=s[1].substring(0,s[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(i=>{if(i){const[n,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=n.trim();r[d]||(r[d]=u),u==="false"&&(r[d]=!1),u==="true"&&(r[d]=!0),isNaN(u)||(r[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:r}},gt=e=>{const t={};return(r,s,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const n=s+JSON.stringify(i);let l=t[n];return l||(l=e(cr(s),a),t[n]=l),l(r)}};let bo=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xe.create("formatter"),this.options=t,this.formats={number:gt((r,s)=>{const a=new Intl.NumberFormat(r,{...s});return i=>a.format(i)}),currency:gt((r,s)=>{const a=new Intl.NumberFormat(r,{...s,style:"currency"});return i=>a.format(i)}),datetime:gt((r,s)=>{const a=new Intl.DateTimeFormat(r,{...s});return i=>a.format(i)}),relativetime:gt((r,s)=>{const a=new Intl.RelativeTimeFormat(r,{...s});return i=>a.format(i,s.range||"day")}),list:gt((r,s)=>{const a=new Intl.ListFormat(r,{...s});return i=>a.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=gt(r)}format(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=r.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(n=>n.indexOf(")")>-1)){const n=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,n)].join(this.formatSeparator)}return i.reduce((n,l)=>{const{formatName:u,formatOptions:d}=vo(l);if(this.formats[u]){let h=n;try{const f=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},c=f.locale||f.lng||a.locale||a.lng||s;h=this.formats[u](n,c,{...d,...a,...f})}catch(f){this.logger.warn(f)}return h}else this.logger.warn(`there was no format function for ${u}`);return n},t)}};const wo=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};let ko=class extends ur{constructor(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=s,this.languageUtils=s.languageUtils,this.options=a,this.logger=xe.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,a.backend,a)}queueLoad(t,r,s,a){const i={},n={},l={},u={};return t.forEach(d=>{let h=!0;r.forEach(f=>{const c=`${d}|${f}`;!s.reload&&this.store.hasResourceBundle(d,f)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?n[c]===void 0&&(n[c]=!0):(this.state[c]=1,h=!1,n[c]===void 0&&(n[c]=!0),i[c]===void 0&&(i[c]=!0),u[f]===void 0&&(u[f]=!0)))}),h||(l[d]=!0)}),(Object.keys(i).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(n),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}loaded(t,r,s){const a=t.split("|"),i=a[0],n=a[1];r&&this.emit("failedLoading",i,n,r),!r&&s&&this.store.addResourceBundle(i,n,s,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&s&&(this.state[t]=0);const l={};this.queue.forEach(u=>{so(u.loaded,[i],n),wo(u,t),r&&u.errors.push(r),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(d=>{l[d]||(l[d]={});const h=u.loaded[d];h.length&&h.forEach(f=>{l[d][f]===void 0&&(l[d][f]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(u=>!u.done)}read(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,n=arguments.length>5?arguments[5]:void 0;if(!t.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:s,tried:a,wait:i,callback:n});return}this.readingCalls++;const l=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(d&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,s,a+1,i*2,n)},i);return}n(d,h)},u=this.backend[s].bind(this.backend);if(u.length===2){try{const d=u(t,r);d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}return}return u(t,r,l)}prepareLoading(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const i=this.queueLoad(t,r,s,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(n=>{this.loadOne(n)})}load(t,r,s){this.prepareLoading(t,r,{},s)}reload(t,r,s){this.prepareLoading(t,r,{reload:!0},s)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=t.split("|"),a=s[0],i=s[1];this.read(a,i,"read",void 0,void 0,(n,l)=>{n&&this.logger.warn(`${r}loading namespace ${i} for language ${a} failed`,n),!n&&l&&this.logger.log(`${r}loaded namespace ${i} for language ${a}`,l),this.loaded(t,n,l)})}saveMissing(t,r,s,a,i){let n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${s}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){const u={...n,isUpdate:i},d=this.backend.create.bind(this.backend);if(d.length<6)try{let h;d.length===5?h=d(t,r,s,a,u):h=d(t,r,s,a),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else d(t,r,s,a,l,u)}!t||!t[0]||this.store.addResource(t[0],r,s,a)}}};const Ea=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(s=>{t[s]=r[s]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Fa=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),hr=()=>{},xo=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})};let Ua=class xa extends ur{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Fa(t),this.services={},this.logger=xe,this.modules={external:[]},xo(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(s=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const a=Ea();this.options={...a,...this.options,...Fa(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const i=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?xe.init(i(this.modules.logger),this.options):xe.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=bo);const d=new La(this.options);this.store=new Na(this.options.resources,this.options);const h=this.services;h.logger=xe,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new mo(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(h.formatter=i(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new yo(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new ko(i(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(f){for(var c=arguments.length,$=new Array(c>1?c-1:0),P=1;P<c;P++)$[P-1]=arguments[P];t.emit(f,...$)}),this.modules.languageDetector&&(h.languageDetector=i(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=i(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new Pa(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,$=new Array(c>1?c-1:0),P=1;P<c;P++)$[P-1]=arguments[P];t.emit(f,...$)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,s||(s=hr),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const n=Lt(),l=()=>{const u=(d,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),n.resolve(h),s(d,h)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hr;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],i=n=>{!n||n==="cimode"||this.services.languageUtils.toResolveHierarchy(n).forEach(l=>{l!=="cimode"&&a.indexOf(l)<0&&a.push(l)})};s?i(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(n=>i(n)),this.options.preload&&this.options.preload.forEach(n=>i(n)),this.services.backendConnector.load(a,this.options.ns,n=>{!n&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(n)})}else r(null)}reloadResources(t,r,s){const a=Lt();return typeof t=="function"&&(s=t,t=void 0),typeof r=="function"&&(s=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),s||(s=hr),this.services.backendConnector.reload(t,r,i=>{a.resolve(),s(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Ta.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r<this.languages.length;r++){const s=this.languages[r];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(t,r){var s=this;this.isLanguageChangingTo=t;const a=Lt();this.emit("languageChanging",t);const i=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},n=(u,d)=>{d?(i(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,a.resolve(function(){return s.t(...arguments)}),r&&r(u,function(){return s.t(...arguments)})},l=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const d=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);d&&(this.language||i(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(d)),this.loadResources(d,h=>{n(h,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,r,s){var a=this;const i=function(n,l){let u;if(typeof l!="object"){for(var d=arguments.length,h=new Array(d>2?d-2:0),f=2;f<d;f++)h[f-2]=arguments[f];u=a.options.overloadTranslationOptionHandler([n,l].concat(h))}else u={...l};u.lng=u.lng||i.lng,u.lngs=u.lngs||i.lngs,u.ns=u.ns||i.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||s||i.keyPrefix);const c=a.options.keySeparator||".";let $;return u.keyPrefix&&Array.isArray(n)?$=n.map(P=>`${u.keyPrefix}${c}${P}`):$=u.keyPrefix?`${u.keyPrefix}${c}${n}`:n,a.t($,u)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=r,i.keyPrefix=s,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const n=(l,u)=>{const d=this.services.backendConnector.state[`${l}|${u}`];return d===-1||d===0||d===2};if(r.precheck){const l=r.precheck(this,n);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||n(s,t)&&(!a||n(i,t)))}loadNamespaces(t,r){const s=Lt();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{s.resolve(),r&&r(a)}),s):(r&&r(),Promise.resolve())}loadLanguages(t,r){const s=Lt();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],i=t.filter(n=>a.indexOf(n)<0&&this.services.languageUtils.isSupportedCode(n));return i.length?(this.options.preload=a.concat(i),this.loadResources(n=>{s.resolve(),r&&r(n)}),s):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services&&this.services.languageUtils||new La(Ea());return r.indexOf(s.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new xa(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hr;const s=t.forkResourceStore;s&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new xa(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(n=>{i[n]=this[n]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s&&(i.store=new Na(this.store.data,a),i.services.resourceStore=i.store),i.translator=new Pa(i.services,a),i.translator.on("*",function(n){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];i.emit(n,...u)}),i.init(a,r),i.translator.options=a,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const I=Ua.createInstance();I.createInstance=Ua.createInstance,I.createInstance,I.dir,I.init,I.loadResources,I.reloadResources,I.use,I.changeLanguage,I.getFixedT,I.t,I.exists,I.setDefaultNamespace,I.hasLoadedNamespace,I.loadNamespaces,I.loadLanguages;//! moment.js
|
|
1
|
+
(function(E,o){typeof exports=="object"&&typeof module<"u"?o(exports,require("i18next"),require("@opfr/items")):typeof define=="function"&&define.amd?define(["exports","i18next","@opfr/items"],o):(E=typeof globalThis<"u"?globalThis:E||self,o(E.raids={},E.i18next,E["@opfr/items"]))})(this,function(E,o,K){"use strict";const Da=Object.freeze(Object.defineProperty({__proto__:null,get mysteriousIslandRaid(){return Gn},get pirateCaveRaid(){return zn},get resourcesRaid(){return Zn},get trainingRaid(){return Bn}},Symbol.toStringTag,{value:"Module"}));var it=(e=>(e.BASIC="BASIC",e.COMMON="COMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC",e))(it||{});it.BASIC,it.COMMON,it.RARE,it.EPIC,it.LEGENDARY,it.MYTHIC;const In=10,Ya=1,eo=[[200,4],[100,3],[50,2],[0,Ya]],x=e=>typeof e=="string",Lt=()=>{let e,t;const r=new Promise((s,a)=>{e=s,t=a});return r.resolve=e,r.reject=t,r},Oa=e=>e==null?"":""+e,to=(e,t,r)=>{e.forEach(s=>{t[s]&&(r[s]=t[s])})},ro=/###/g,$a=e=>e&&e.indexOf("###")>-1?e.replace(ro,"."):e,Ra=e=>!e||x(e),jt=(e,t,r)=>{const s=x(t)?t.split("."):t;let a=0;for(;a<s.length-1;){if(Ra(e))return{};const i=$a(s[a]);!e[i]&&r&&(e[i]=new r),Object.prototype.hasOwnProperty.call(e,i)?e=e[i]:e={},++a}return Ra(e)?{}:{obj:e,k:$a(s[a])}},Na=(e,t,r)=>{const{obj:s,k:a}=jt(e,t,Object);if(s!==void 0||t.length===1){s[a]=r;return}let i=t[t.length-1],n=t.slice(0,t.length-1),l=jt(e,n,Object);for(;l.obj===void 0&&n.length;)i=`${n[n.length-1]}.${i}`,n=n.slice(0,n.length-1),l=jt(e,n,Object),l&&l.obj&&typeof l.obj[`${l.k}.${i}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=r},so=(e,t,r,s)=>{const{obj:a,k:i}=jt(e,t,Object);a[i]=a[i]||[],a[i].push(r)},dr=(e,t)=>{const{obj:r,k:s}=jt(e,t);if(r)return r[s]},ao=(e,t,r)=>{const s=dr(e,r);return s!==void 0?s:dr(t,r)},Ta=(e,t,r)=>{for(const s in t)s!=="__proto__"&&s!=="constructor"&&(s in e?x(e[s])||e[s]instanceof String||x(t[s])||t[s]instanceof String?r&&(e[s]=t[s]):Ta(e[s],t[s],r):e[s]=t[s]);return e},ft=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var io={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const no=e=>x(e)?e.replace(/[&<>"'\/]/g,t=>io[t]):e;let oo=class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const s=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,s),this.regExpQueue.push(t),s}};const lo=[" ",",","?","!",";"],uo=new oo(20),co=(e,t,r)=>{t=t||"",r=r||"";const s=lo.filter(n=>t.indexOf(n)<0&&r.indexOf(n)<0);if(s.length===0)return!0;const a=uo.getRegExp(`(${s.map(n=>n==="?"?"\\?":n).join("|")})`);let i=!a.test(e);if(!i){const n=e.indexOf(r);n>0&&!a.test(e.substring(0,n))&&(i=!0)}return i},as=function(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const s=t.split(r);let a=e;for(let i=0;i<s.length;){if(!a||typeof a!="object")return;let n,l="";for(let u=i;u<s.length;++u)if(u!==i&&(l+=r),l+=s[u],n=a[l],n!==void 0){if(["string","number","boolean"].indexOf(typeof n)>-1&&u<s.length-1)continue;i+=u-i+1;break}a=n}return a},cr=e=>e&&e.replace("_","-"),ho={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};let _o=class Sa{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||ho,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"log","",!0)}warn(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"warn","",!0)}error(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"error","")}deprecate(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return this.forward(r,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,s,a){return a&&!this.debug?null:(x(t[0])&&(t[0]=`${s}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new Sa(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new Sa(this.logger,t)}};var Me=new _o;let hr=class{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const a=this.observers[s].get(r)||0;this.observers[s].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[n,l]=i;for(let u=0;u<l;u++)n(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[n,l]=i;for(let u=0;u<l;u++)n.apply(n,[t,...s])})}},Ca=class extends hr{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,n=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;t.indexOf(".")>-1?l=t.split("."):(l=[t,r],s&&(Array.isArray(s)?l.push(...s):x(s)&&i?l.push(...s.split(i)):l.push(s)));const u=dr(this.data,l);return!u&&!r&&!s&&t.indexOf(".")>-1&&(t=l[0],r=l[1],s=l.slice(2).join(".")),u||!n||!x(s)?u:as(this.data&&this.data[t]&&this.data[t][r],s,i)}addResource(t,r,s,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const n=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[t,r];s&&(l=l.concat(n?s.split(n):s)),t.indexOf(".")>-1&&(l=t.split("."),a=r,r=l[1]),this.addNamespaces(r),Na(this.data,l,a),i.silent||this.emit("added",t,r,s,a)}addResources(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in s)(x(s[i])||Array.isArray(s[i]))&&this.addResource(t,r,i,s[i],{silent:!0});a.silent||this.emit("added",t,r,s)}addResourceBundle(t,r,s,a,i){let n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[t,r];t.indexOf(".")>-1&&(l=t.split("."),a=s,s=r,r=l[1]),this.addNamespaces(r);let u=dr(this.data,l)||{};n.skipCopy||(s=JSON.parse(JSON.stringify(s))),a?Ta(u,s,i):u={...u,...s},Na(this.data,l,u),n.silent||this.emit("added",t,r,s)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,r)}:this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(s=>r[s]&&Object.keys(r[s]).length>0)}toJSON(){return this.data}};var Pa={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,s,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,r,s,a))}),t}};const La={};let ja=class Xn extends hr{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),to(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Me.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const s=this.resolve(t,r);return s&&s.res!==void 0}extractFromKey(t,r){let s=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let i=r.ns||this.options.defaultNS||[];const n=s&&t.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!co(t,s,a);if(n&&!l){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:i};const d=t.split(s);(s!==a||s===a&&this.options.ns.indexOf(d[0])>-1)&&(i=d.shift()),t=d.join(a)}return x(i)&&(i=[i]),{key:t,namespaces:i}}translate(t,r,s){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r={...r}),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:n,namespaces:l}=this.extractFromKey(t[t.length-1],r),u=l[l.length-1],d=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(h){const Z=r.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${Z}${n}`,usedKey:n,exactUsedKey:n,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:`${u}${Z}${n}`}return a?{res:n,usedKey:n,exactUsedKey:n,usedLng:d,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:n}const f=this.resolve(t,r);let c=f&&f.res;const R=f&&f.usedKey||n,L=f&&f.exactUsedKey||n,ee=Object.prototype.toString.apply(c),fe=["[object Number]","[object Function]","[object RegExp]"],Pe=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,te=!this.i18nFormat||this.i18nFormat.handleAsObject,ir=!x(c)&&typeof c!="boolean"&&typeof c!="number";if(te&&c&&ir&&fe.indexOf(ee)<0&&!(x(Pe)&&Array.isArray(c))){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const Z=this.options.returnedObjectHandler?this.options.returnedObjectHandler(R,c,{...r,ns:l}):`key '${n} (${this.language})' returned an object instead of string.`;return a?(f.res=Z,f.usedParams=this.getUsedParamsDetails(r),f):Z}if(i){const Z=Array.isArray(c),oe=Z?[]:{},Se=Z?L:R;for(const re in c)if(Object.prototype.hasOwnProperty.call(c,re)){const rs=`${Se}${i}${re}`;oe[re]=this.translate(rs,{...r,joinArrays:!1,ns:l}),oe[re]===rs&&(oe[re]=c[re])}c=oe}}else if(te&&x(Pe)&&Array.isArray(c))c=c.join(Pe),c&&(c=this.extendTranslation(c,t,r,s));else{let Z=!1,oe=!1;const Se=r.count!==void 0&&!x(r.count),re=Xn.hasDefaultValue(r),rs=Se?this.pluralResolver.getSuffix(d,r.count,r):"",Vf=r.ordinal&&Se?this.pluralResolver.getSuffix(d,r.count,{ordinal:!1}):"",Jn=Se&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),nr=Jn&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${rs}`]||r[`defaultValue${Vf}`]||r.defaultValue;!this.isValidLookup(c)&&re&&(Z=!0,c=nr),this.isValidLookup(c)||(oe=!0,c=n);const qf=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&oe?void 0:c,or=re&&nr!==c&&this.options.updateMissing;if(oe||Z||or){if(this.logger.log(or?"updateKey":"missingKey",d,u,n,or?nr:c),i){const le=this.resolve(n,{...r,keySeparator:!1});le&&le.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let lr=[];const ss=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ss&&ss[0])for(let le=0;le<ss.length;le++)lr.push(ss[le]);else this.options.saveMissingTo==="all"?lr=this.languageUtils.toResolveHierarchy(r.lng||this.language):lr.push(r.lng||this.language);const Kn=(le,pt,ur)=>{const Qn=re&&ur!==c?ur:qf;this.options.missingKeyHandler?this.options.missingKeyHandler(le,u,pt,Qn,or,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(le,u,pt,Qn,or,r),this.emit("missingKey",le,u,pt,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Se?lr.forEach(le=>{const pt=this.pluralResolver.getSuffixes(le,r);Jn&&r[`defaultValue${this.options.pluralSeparator}zero`]&&pt.indexOf(`${this.options.pluralSeparator}zero`)<0&&pt.push(`${this.options.pluralSeparator}zero`),pt.forEach(ur=>{Kn([le],n+ur,r[`defaultValue${ur}`]||nr)})}):Kn(lr,n,nr))}c=this.extendTranslation(c,t,r,f,s),oe&&c===n&&this.options.appendNamespaceToMissingKey&&(c=`${u}:${n}`),(oe||Z)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${n}`:n,Z?c:void 0):c=this.options.parseMissingKeyHandler(c))}return a?(f.res=c,f.usedParams=this.getUsedParamsDetails(r),f):c}extendTranslation(t,r,s,a,i){var n=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const d=x(t)&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(d){const c=t.match(this.interpolator.nestingRegexp);h=c&&c.length}let f=s.replace&&!x(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,s.lng||this.language||a.usedLng,s),d){const c=t.match(this.interpolator.nestingRegexp),R=c&&c.length;h<R&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&a&&a.res&&(s.lng=this.language||a.usedLng),s.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var c=arguments.length,R=new Array(c),L=0;L<c;L++)R[L]=arguments[L];return i&&i[0]===R[0]&&!s.context?(n.logger.warn(`It seems you are nesting recursively key: ${R[0]} in key: ${r[0]}`),null):n.translate(...R,r)},s)),s.interpolation&&this.interpolator.reset()}const l=s.postProcess||this.options.postProcess,u=x(l)?[l]:l;return t!=null&&u&&u.length&&s.applyPostProcessor!==!1&&(t=Pa.handle(u,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),t}resolve(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,a,i,n,l;return x(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(s))return;const d=this.extractFromKey(u,r),h=d.key;a=h;let f=d.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const c=r.count!==void 0&&!x(r.count),R=c&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),L=r.context!==void 0&&(x(r.context)||typeof r.context=="number")&&r.context!=="",ee=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);f.forEach(fe=>{this.isValidLookup(s)||(l=fe,!La[`${ee[0]}-${fe}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(La[`${ee[0]}-${fe}`]=!0,this.logger.warn(`key "${a}" for languages "${ee.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),ee.forEach(Pe=>{if(this.isValidLookup(s))return;n=Pe;const te=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(te,h,Pe,fe,r);else{let Z;c&&(Z=this.pluralResolver.getSuffix(Pe,r.count,r));const oe=`${this.options.pluralSeparator}zero`,Se=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(te.push(h+Z),r.ordinal&&Z.indexOf(Se)===0&&te.push(h+Z.replace(Se,this.options.pluralSeparator)),R&&te.push(h+oe)),L){const re=`${h}${this.options.contextSeparator}${r.context}`;te.push(re),c&&(te.push(re+Z),r.ordinal&&Z.indexOf(Se)===0&&te.push(re+Z.replace(Se,this.options.pluralSeparator)),R&&te.push(re+oe))}}let ir;for(;ir=te.pop();)this.isValidLookup(s)||(i=ir,s=this.getResource(Pe,fe,ir,r))}))})}),{res:s,usedKey:a,exactUsedKey:i,usedLng:n,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,s,a):this.resourceStore.getResource(t,r,s,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=t.replace&&!x(t.replace);let a=s?t.replace:t;if(s&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!s){a={...a};for(const i of r)delete a[i]}return a}static hasDefaultValue(t){const r="defaultValue";for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&r===s.substring(0,r.length)&&t[s]!==void 0)return!0;return!1}};const is=e=>e.charAt(0).toUpperCase()+e.slice(1);let Wa=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Me.create("languageUtils")}getScriptPartFromCode(t){if(t=cr(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=cr(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(x(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let a=Intl.getCanonicalLocales(t)[0];if(a&&this.options.lowerCaseLng&&(a=a.toLowerCase()),a)return a}catch{}const r=["hans","hant","latn","cyrl","cans","mong","arab"];let s=t.split("-");return this.options.lowerCaseLng?s=s.map(a=>a.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),r.indexOf(s[1].toLowerCase())>-1&&(s[1]=is(s[1].toLowerCase()))):s.length===3&&(s[0]=s[0].toLowerCase(),s[1].length===2&&(s[1]=s[1].toUpperCase()),s[0]!=="sgn"&&s[2].length===2&&(s[2]=s[2].toUpperCase()),r.indexOf(s[1].toLowerCase())>-1&&(s[1]=is(s[1].toLowerCase())),r.indexOf(s[2].toLowerCase())>-1&&(s[2]=is(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(s=>{if(r)return;const a=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(s=>{if(r)return;const a=this.getLanguagePartFromCode(s);if(this.isSupportedCode(a))return r=a;r=this.options.supportedLngs.find(i=>{if(i===a||!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),x(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let s=t[r];return s||(s=t[this.getScriptPartFromCode(r)]),s||(s=t[this.formatLanguageCode(r)]),s||(s=t[this.getLanguagePartFromCode(r)]),s||(s=t.default),s||[]}toResolveHierarchy(t,r){const s=this.getFallbackCodes(r||this.options.fallbackLng||[],t),a=[],i=n=>{n&&(this.isSupportedCode(n)?a.push(n):this.logger.warn(`rejecting language code not found in supportedLngs: ${n}`))};return x(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):x(t)&&i(this.formatLanguageCode(t)),s.forEach(n=>{a.indexOf(n)<0&&i(this.formatLanguageCode(n))}),a}},po=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],fo={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const go=["v1","v2","v3"],mo=["v4"],Ea={zero:0,one:1,two:2,few:3,many:4,other:5},yo=()=>{const e={};return po.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:fo[t.fc]}})}),e};let vo=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Me.create("pluralResolver"),(!this.options.compatibilityJSON||mo.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=yo(),this.pluralRulesCache={}}addRule(t,r){this.rules[t]=r}clearCache(){this.pluralRulesCache={}}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const s=cr(t==="dev"?"en":t),a=r.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:s,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const n=new Intl.PluralRules(s,{type:a});return this.pluralRulesCache[i]=n,n}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,r);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,s).map(a=>`${r}${a}`)}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,r);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((a,i)=>Ea[a]-Ea[i]).map(a=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a}`):s.numbers.map(a=>this.getSuffix(t,a,r)):[]}getSuffix(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,s);return a?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${a.select(r)}`:this.getSuffixRetroCompatible(a,r):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,r){const s=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let a=t.numbers[s];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const i=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!go.includes(this.options.compatibilityJSON)}};const Fa=function(e,t,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=ao(e,t,r);return!i&&a&&x(r)&&(i=as(e,r,s),i===void 0&&(i=as(t,r,s))),i},ns=e=>e.replace(/\$/g,"$$$$");let bo=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Me.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:s,useRawValueToEscape:a,prefix:i,prefixEscaped:n,suffix:l,suffixEscaped:u,formatSeparator:d,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:c,nestingPrefixEscaped:R,nestingSuffix:L,nestingSuffixEscaped:ee,nestingOptionsSeparator:fe,maxReplaces:Pe,alwaysFormat:te}=t.interpolation;this.escape=r!==void 0?r:no,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?ft(i):n||"{{",this.suffix=l?ft(l):u||"}}",this.formatSeparator=d||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=c?ft(c):R||ft("$t("),this.nestingSuffix=L?ft(L):ee||ft(")"),this.nestingOptionsSeparator=fe||",",this.maxReplaces=Pe||1e3,this.alwaysFormat=te!==void 0?te:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,s)=>r&&r.source===s?(r.lastIndex=0,r):new RegExp(s,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,r,s,a){let i,n,l;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=c=>{if(c.indexOf(this.formatSeparator)<0){const fe=Fa(r,u,c,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(fe,void 0,s,{...a,...r,interpolationkey:c}):fe}const R=c.split(this.formatSeparator),L=R.shift().trim(),ee=R.join(this.formatSeparator).trim();return this.format(Fa(r,u,L,this.options.keySeparator,this.options.ignoreJSONStructure),ee,s,{...a,...r,interpolationkey:L})};this.resetRegExp();const h=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:c=>ns(c)},{regex:this.regexp,safeValue:c=>this.escapeValue?ns(this.escape(c)):ns(c)}].forEach(c=>{for(l=0;i=c.regex.exec(t);){const R=i[1].trim();if(n=d(R),n===void 0)if(typeof h=="function"){const ee=h(t,i,a);n=x(ee)?ee:""}else if(a&&Object.prototype.hasOwnProperty.call(a,R))n="";else if(f){n=i[0];continue}else this.logger.warn(`missed to pass in variable ${R} for interpolating ${t}`),n="";else!x(n)&&!this.useRawValueToEscape&&(n=Oa(n));const L=c.safeValue(n);if(t=t.replace(i[0],L),f?(c.regex.lastIndex+=n.length,c.regex.lastIndex-=i[0].length):c.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,n;const l=(u,d)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const f=u.split(new RegExp(`${h}[ ]*{`));let c=`{${f[1]}`;u=f[0],c=this.interpolate(c,n);const R=c.match(/'/g),L=c.match(/"/g);(R&&R.length%2===0&&!L||L.length%2!==0)&&(c=c.replace(/'/g,'"'));try{n=JSON.parse(c),d&&(n={...d,...n})}catch(ee){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,ee),`${u}${h}${c}`}return n.defaultValue&&n.defaultValue.indexOf(this.prefix)>-1&&delete n.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];n={...s},n=n.replace&&!x(n.replace)?n.replace:n,n.applyPostProcessor=!1,delete n.defaultValue;let d=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=h.shift(),u=h,d=!0}if(i=r(l.call(this,a[1].trim(),n),n),i&&a[0]===t&&!x(i))return i;x(i)||(i=Oa(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),d&&(i=u.reduce((h,f)=>this.format(h,f,s.lng,{...s,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}};const wo=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const s=e.split("(");t=s[0].toLowerCase().trim();const a=s[1].substring(0,s[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(i=>{if(i){const[n,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=n.trim();r[d]||(r[d]=u),u==="false"&&(r[d]=!1),u==="true"&&(r[d]=!0),isNaN(u)||(r[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:r}},gt=e=>{const t={};return(r,s,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const n=s+JSON.stringify(i);let l=t[n];return l||(l=e(cr(s),a),t[n]=l),l(r)}};let ko=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Me.create("formatter"),this.options=t,this.formats={number:gt((r,s)=>{const a=new Intl.NumberFormat(r,{...s});return i=>a.format(i)}),currency:gt((r,s)=>{const a=new Intl.NumberFormat(r,{...s,style:"currency"});return i=>a.format(i)}),datetime:gt((r,s)=>{const a=new Intl.DateTimeFormat(r,{...s});return i=>a.format(i)}),relativetime:gt((r,s)=>{const a=new Intl.RelativeTimeFormat(r,{...s});return i=>a.format(i,s.range||"day")}),list:gt((r,s)=>{const a=new Intl.ListFormat(r,{...s});return i=>a.format(i)})},this.init(t)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=r.interpolation.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=gt(r)}format(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=r.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(n=>n.indexOf(")")>-1)){const n=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,n)].join(this.formatSeparator)}return i.reduce((n,l)=>{const{formatName:u,formatOptions:d}=wo(l);if(this.formats[u]){let h=n;try{const f=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},c=f.locale||f.lng||a.locale||a.lng||s;h=this.formats[u](n,c,{...d,...a,...f})}catch(f){this.logger.warn(f)}return h}else this.logger.warn(`there was no format function for ${u}`);return n},t)}};const xo=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};let So=class extends hr{constructor(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=s,this.languageUtils=s.languageUtils,this.options=a,this.logger=Me.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,a.backend,a)}queueLoad(t,r,s,a){const i={},n={},l={},u={};return t.forEach(d=>{let h=!0;r.forEach(f=>{const c=`${d}|${f}`;!s.reload&&this.store.hasResourceBundle(d,f)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?n[c]===void 0&&(n[c]=!0):(this.state[c]=1,h=!1,n[c]===void 0&&(n[c]=!0),i[c]===void 0&&(i[c]=!0),u[f]===void 0&&(u[f]=!0)))}),h||(l[d]=!0)}),(Object.keys(i).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(n),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}loaded(t,r,s){const a=t.split("|"),i=a[0],n=a[1];r&&this.emit("failedLoading",i,n,r),!r&&s&&this.store.addResourceBundle(i,n,s,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&s&&(this.state[t]=0);const l={};this.queue.forEach(u=>{so(u.loaded,[i],n),xo(u,t),r&&u.errors.push(r),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(d=>{l[d]||(l[d]={});const h=u.loaded[d];h.length&&h.forEach(f=>{l[d][f]===void 0&&(l[d][f]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(u=>!u.done)}read(t,r,s){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,n=arguments.length>5?arguments[5]:void 0;if(!t.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:s,tried:a,wait:i,callback:n});return}this.readingCalls++;const l=(d,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(d&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,s,a+1,i*2,n)},i);return}n(d,h)},u=this.backend[s].bind(this.backend);if(u.length===2){try{const d=u(t,r);d&&typeof d.then=="function"?d.then(h=>l(null,h)).catch(l):l(null,d)}catch(d){l(d)}return}return u(t,r,l)}prepareLoading(t,r){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();x(t)&&(t=this.languageUtils.toResolveHierarchy(t)),x(r)&&(r=[r]);const i=this.queueLoad(t,r,s,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(n=>{this.loadOne(n)})}load(t,r,s){this.prepareLoading(t,r,{},s)}reload(t,r,s){this.prepareLoading(t,r,{reload:!0},s)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=t.split("|"),a=s[0],i=s[1];this.read(a,i,"read",void 0,void 0,(n,l)=>{n&&this.logger.warn(`${r}loading namespace ${i} for language ${a} failed`,n),!n&&l&&this.logger.log(`${r}loaded namespace ${i} for language ${a}`,l),this.loaded(t,n,l)})}saveMissing(t,r,s,a,i){let n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn(`did not save key "${s}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){const u={...n,isUpdate:i},d=this.backend.create.bind(this.backend);if(d.length<6)try{let h;d.length===5?h=d(t,r,s,a,u):h=d(t,r,s,a),h&&typeof h.then=="function"?h.then(f=>l(null,f)).catch(l):l(null,h)}catch(h){l(h)}else d(t,r,s,a,l,u)}!t||!t[0]||this.store.addResource(t[0],r,s,a)}}};const Ua=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),x(e[1])&&(t.defaultValue=e[1]),x(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(s=>{t[s]=r[s]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Ha=e=>(x(e.ns)&&(e.ns=[e.ns]),x(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),x(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),_r=()=>{},Mo=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})};let Aa=class Ma extends hr{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Ha(t),this.services={},this.logger=Me,this.modules={external:[]},Mo(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(s=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(x(r.ns)?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const a=Ua();this.options={...a,...this.options,...Ha(r)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);const i=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?Me.init(i(this.modules.logger),this.options):Me.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:typeof Intl<"u"&&(u=ko);const d=new Wa(this.options);this.store=new Ca(this.options.resources,this.options);const h=this.services;h.logger=Me,h.resourceStore=this.store,h.languageUtils=d,h.pluralResolver=new vo(d,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(h.formatter=i(u),h.formatter.init(h,this.options),this.options.interpolation.format=h.formatter.format.bind(h.formatter)),h.interpolator=new bo(this.options),h.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},h.backendConnector=new So(i(this.modules.backend),h.resourceStore,h,this.options),h.backendConnector.on("*",function(f){for(var c=arguments.length,R=new Array(c>1?c-1:0),L=1;L<c;L++)R[L-1]=arguments[L];t.emit(f,...R)}),this.modules.languageDetector&&(h.languageDetector=i(this.modules.languageDetector),h.languageDetector.init&&h.languageDetector.init(h,this.options.detection,this.options)),this.modules.i18nFormat&&(h.i18nFormat=i(this.modules.i18nFormat),h.i18nFormat.init&&h.i18nFormat.init(this)),this.translator=new ja(this.services,this.options),this.translator.on("*",function(f){for(var c=arguments.length,R=new Array(c>1?c-1:0),L=1;L<c;L++)R[L-1]=arguments[L];t.emit(f,...R)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,s||(s=_r),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(u=>{this[u]=function(){return t.store[u](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=function(){return t.store[u](...arguments),t}});const n=Lt(),l=()=>{const u=(d,h)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),n.resolve(h),s(d,h)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),n}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_r;const s=x(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],i=n=>{!n||n==="cimode"||this.services.languageUtils.toResolveHierarchy(n).forEach(l=>{l!=="cimode"&&a.indexOf(l)<0&&a.push(l)})};s?i(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(n=>i(n)),this.options.preload&&this.options.preload.forEach(n=>i(n)),this.services.backendConnector.load(a,this.options.ns,n=>{!n&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(n)})}else r(null)}reloadResources(t,r,s){const a=Lt();return typeof t=="function"&&(s=t,t=void 0),typeof r=="function"&&(s=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),s||(s=_r),this.services.backendConnector.reload(t,r,i=>{a.resolve(),s(i)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Pa.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r<this.languages.length;r++){const s=this.languages[r];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(t,r){var s=this;this.isLanguageChangingTo=t;const a=Lt();this.emit("languageChanging",t);const i=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},n=(u,d)=>{d?(i(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,a.resolve(function(){return s.t(...arguments)}),r&&r(u,function(){return s.t(...arguments)})},l=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const d=x(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);d&&(this.language||i(d),this.translator.language||this.translator.changeLanguage(d),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(d)),this.loadResources(d,h=>{n(h,d)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),a}getFixedT(t,r,s){var a=this;const i=function(n,l){let u;if(typeof l!="object"){for(var d=arguments.length,h=new Array(d>2?d-2:0),f=2;f<d;f++)h[f-2]=arguments[f];u=a.options.overloadTranslationOptionHandler([n,l].concat(h))}else u={...l};u.lng=u.lng||i.lng,u.lngs=u.lngs||i.lngs,u.ns=u.ns||i.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||s||i.keyPrefix);const c=a.options.keySeparator||".";let R;return u.keyPrefix&&Array.isArray(n)?R=n.map(L=>`${u.keyPrefix}${c}${L}`):R=u.keyPrefix?`${u.keyPrefix}${c}${n}`:n,a.t(R,u)};return x(t)?i.lng=t:i.lngs=t,i.ns=r,i.keyPrefix=s,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const n=(l,u)=>{const d=this.services.backendConnector.state[`${l}|${u}`];return d===-1||d===0||d===2};if(r.precheck){const l=r.precheck(this,n);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||n(s,t)&&(!a||n(i,t)))}loadNamespaces(t,r){const s=Lt();return this.options.ns?(x(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{s.resolve(),r&&r(a)}),s):(r&&r(),Promise.resolve())}loadLanguages(t,r){const s=Lt();x(t)&&(t=[t]);const a=this.options.preload||[],i=t.filter(n=>a.indexOf(n)<0&&this.services.languageUtils.isSupportedCode(n));return i.length?(this.options.preload=a.concat(i),this.loadResources(n=>{s.resolve(),r&&r(n)}),s):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services&&this.services.languageUtils||new Wa(Ua());return r.indexOf(s.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new Ma(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_r;const s=t.forkResourceStore;s&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new Ma(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(n=>{i[n]=this[n]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s&&(i.store=new Ca(this.store.data,a),i.services.resourceStore=i.store),i.translator=new ja(i.services,a),i.translator.on("*",function(n){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d<l;d++)u[d-1]=arguments[d];i.emit(n,...u)}),i.init(a,r),i.translator.options=a,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const I=Aa.createInstance();I.createInstance=Aa.createInstance,I.createInstance,I.dir,I.init,I.loadResources,I.reloadResources,I.use,I.changeLanguage,I.getFixedT,I.t,I.exists,I.setDefaultNamespace,I.hasLoadedNamespace,I.loadNamespaces,I.loadLanguages;//! moment.js
|
|
2
2
|
//! version : 2.30.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+i+"] ";for(n in arguments[0])
|
|
6
|
+
var Va;function g(){return Va.apply(null,arguments)}function Do(e){Va=e}function ge(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function nt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function os(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(N(e,t))return!1;return!0}function se(e){return e===void 0}function Le(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Wt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function qa(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function Ie(e,t){for(var r in t)N(t,r)&&(e[r]=t[r]);return N(t,"toString")&&(e.toString=t.toString),N(t,"valueOf")&&(e.valueOf=t.valueOf),e}function De(e,t,r,s){return mi(e,t,r,s,!0).utc()}function Yo(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function S(e){return e._pf==null&&(e._pf=Yo()),e._pf}var ls;Array.prototype.some?ls=Array.prototype.some:ls=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function us(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=S(e),r=ls.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function pr(e){var t=De(NaN);return e!=null?Ie(S(t),e):S(t).userInvalidated=!0,t}var Ga=g.momentProperties=[],ds=!1;function cs(e,t){var r,s,a,i=Ga.length;if(se(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),se(t._i)||(e._i=t._i),se(t._f)||(e._f=t._f),se(t._l)||(e._l=t._l),se(t._strict)||(e._strict=t._strict),se(t._tzm)||(e._tzm=t._tzm),se(t._isUTC)||(e._isUTC=t._isUTC),se(t._offset)||(e._offset=t._offset),se(t._pf)||(e._pf=S(t)),se(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)s=Ga[r],a=t[s],se(a)||(e[s]=a);return e}function Et(e){cs(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),ds===!1&&(ds=!0,g.updateOffset(this),ds=!1)}function me(e){return e instanceof Et||e!=null&&e._isAMomentObject!=null}function za(e){g.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function ue(e,t){var r=!0;return Ie(function(){if(g.deprecationHandler!=null&&g.deprecationHandler(null,e),r){var s=[],a,i,n,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
7
|
+
[`+i+"] ";for(n in arguments[0])N(arguments[0],n)&&(a+=n+": "+arguments[0][n]+", ");a=a.slice(0,-2)}else a=arguments[i];s.push(a)}za(e+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Ga={};function za(e,t){g.deprecationHandler!=null&&g.deprecationHandler(e,t),Ga[e]||(qa(t),Ga[e]=!0)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;function Me(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Do(e){var t,r;for(r in e)R(e,r)&&(t=e[r],Me(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ds(e,t){var r=Ie({},e),s;for(s in t)R(t,s)&&(nt(e[s])&&nt(t[s])?(r[s]={},Ie(r[s],e[s]),Ie(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)R(e,s)&&!R(t,s)&&nt(e[s])&&(r[s]=Ie({},r[s]));return r}function cs(e){e!=null&&this.set(e)}var hs;Object.keys?hs=Object.keys:hs=function(e){var t,r=[];for(t in e)R(e,t)&&r.push(t);return r};var Yo={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Oo(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return Me(s)?s.call(t,r):s}function De(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var _s=/(\[[^\[]*\])|(\\)?([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,pr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ps={},mt={};function w(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(mt[e]=a),t&&(mt[t[0]]=function(){return De(a.apply(this,arguments),t[1],t[2])}),r&&(mt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function $o(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ro(e){var t=e.match(_s),r,s;for(r=0,s=t.length;r<s;r++)mt[t[r]]?t[r]=mt[t[r]]:t[r]=$o(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=Me(t[n])?t[n].call(a,e):t[n];return i}}function fr(e,t){return e.isValid()?(t=Za(t,e.localeData()),ps[t]=ps[t]||Ro(t),ps[t](e)):e.localeData().invalidDate()}function Za(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(pr.lastIndex=0;r>=0&&pr.test(e);)e=e.replace(pr,s),pr.lastIndex=0,r-=1;return e}var No={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function To(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(_s).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Co="Invalid date";function Po(){return this._invalidDate}var Lo="%d",jo=/\d{1,2}/;function Wo(e){return this._ordinal.replace("%d",e)}var Eo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fo(e,t,r,s){var a=this._relativeTime[r];return Me(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Uo(e,t){var r=this._relativeTime[e>0?"future":"past"];return Me(r)?r(t):r.replace(/%s/i,t)}var Ba={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ue(e){return typeof e=="string"?Ba[e]||Ba[e.toLowerCase()]:void 0}function fs(e){var t={},r,s;for(s in e)R(e,s)&&(r=ue(s),r&&(t[r]=e[s]));return t}var Ho={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ao(e){var t=[],r;for(r in e)R(e,r)&&t.push({unit:r,priority:Ho[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Ja=/\d/,ie=/\d\d/,Ka=/\d{3}/,gs=/\d{4}/,gr=/[+-]?\d{6}/,E=/\d\d?/,Qa=/\d\d\d\d?/,Xa=/\d\d\d\d\d\d?/,mr=/\d{1,3}/,ms=/\d{1,4}/,yr=/[+-]?\d{1,6}/,yt=/\d+/,vr=/[+-]?\d+/,Vo=/Z|[+-]\d\d:?\d\d/gi,br=/Z|[+-]\d\d(?::?\d\d)?/gi,qo=/[+-]?\d+(\.\d{1,3})?/,Ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vt=/^[1-9]\d?/,ys=/^([1-9]\d|\d)/,wr;wr={};function v(e,t,r){wr[e]=Me(t)?t:function(s,a){return s&&r?r:t}}function Go(e,t){return R(wr,e)?wr[e](t._strict,t._locale):new RegExp(zo(e))}function zo(e){return Pe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function Pe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function de(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=de(t)),r}var vs={};function L(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Ce(t)&&(s=function(i,n){n[t]=M(i)}),a=e.length,r=0;r<a;r++)vs[e[r]]=s}function Ut(e,t){L(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Zo(e,t,r){t!=null&&R(vs,e)&&vs[e](t,r._a,r,e)}function kr(e){return e%4===0&&e%100!==0||e%400===0}var Q=0,Le=1,Ye=2,z=3,me=4,je=5,ot=6,Bo=7,Jo=8;w("Y",0,0,function(){var e=this.year();return e<=9999?De(e,4):"+"+e}),w(0,["YY",2],0,function(){return this.year()%100}),w(0,["YYYY",4],0,"year"),w(0,["YYYYY",5],0,"year"),w(0,["YYYYYY",6,!0],0,"year"),v("Y",vr),v("YY",E,ie),v("YYYY",ms,gs),v("YYYYY",yr,gr),v("YYYYYY",yr,gr),L(["YYYYY","YYYYYY"],Q),L("YYYY",function(e,t){t[Q]=e.length===2?g.parseTwoDigitYear(e):M(e)}),L("YY",function(e,t){t[Q]=g.parseTwoDigitYear(e)}),L("Y",function(e,t){t[Q]=parseInt(e,10)});function Ht(e){return kr(e)?366:365}g.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var Ia=bt("FullYear",!0);function Ko(){return kr(this.year())}function bt(e,t){return function(r){return r!=null?(ei(this,e,r),g.updateOffset(this,t),this):At(this,e)}}function At(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function ei(e,t,r){var s,a,i,n,l;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),l=e.date(),l=l===29&&n===1&&!kr(i)?28:l,a?s.setUTCFullYear(i,n,l):s.setFullYear(i,n,l)}}function Qo(e){return e=ue(e),Me(this[e])?this[e]():this}function Xo(e,t){if(typeof e=="object"){e=fs(e);var r=Ao(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=ue(e),Me(this[e]))return this[e](t);return this}function Io(e,t){return(e%t+t)%t}var q;Array.prototype.indexOf?q=Array.prototype.indexOf:q=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function bs(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=Io(t,12);return e+=(t-r)/12,r===1?kr(e)?29:28:31-r%7%2}w("M",["MM",2],"Mo",function(){return this.month()+1}),w("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),w("MMMM",0,0,function(e){return this.localeData().months(this,e)}),v("M",E,vt),v("MM",E,ie),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),L(["M","MM"],function(e,t){t[Le]=M(e)-1}),L(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[Le]=a:x(r).invalidMonth=e});var el="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ti="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ri=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,tl=Ft,rl=Ft;function sl(e,t){return e?fe(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ri).test(t)?"format":"standalone"][e.month()]:fe(this._months)?this._months:this._months.standalone}function al(e,t){return e?fe(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ri.test(t)?"format":"standalone"][e.month()]:fe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function il(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=Se([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=q.call(this._shortMonthsParse,n),a!==-1?a:null):(a=q.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=q.call(this._shortMonthsParse,n),a!==-1?a:(a=q.call(this._longMonthsParse,n),a!==-1?a:null)):(a=q.call(this._longMonthsParse,n),a!==-1?a:(a=q.call(this._shortMonthsParse,n),a!==-1?a:null))}function nl(e,t,r){var s,a,i;if(this._monthsParseExact)return il.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(a=Se([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e)||r&&t==="MMM"&&this._shortMonthsParse[s].test(e)||!r&&this._monthsParse[s].test(e))return s}function si(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=M(t);else if(t=e.localeData().monthsParse(t),!Ce(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,bs(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function ai(e){return e!=null?(si(this,e),g.updateOffset(this,!0),this):At(this,"Month")}function ol(){return bs(this.year(),this.month())}function ll(e){return this._monthsParseExact?(R(this,"_monthsRegex")||ii.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(R(this,"_monthsShortRegex")||(this._monthsShortRegex=tl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ul(e){return this._monthsParseExact?(R(this,"_monthsRegex")||ii.call(this),e?this._monthsStrictRegex:this._monthsRegex):(R(this,"_monthsRegex")||(this._monthsRegex=rl),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ii(){function e(u,d){return d.length-u.length}var t=[],r=[],s=[],a,i,n,l;for(a=0;a<12;a++)i=Se([2e3,a]),n=Pe(this.monthsShort(i,"")),l=Pe(this.months(i,"")),t.push(n),r.push(l),s.push(l),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function dl(e,t,r,s,a,i,n){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,s,a,i,n),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,s,a,i,n),l}function Vt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xr(e,t,r){var s=7+t-r,a=(7+Vt(e,0,s).getUTCDay()-t)%7;return-a+s-1}function ni(e,t,r,s,a){var i=(7+r-s)%7,n=xr(e,s,a),l=1+7*(t-1)+i+n,u,d;return l<=0?(u=e-1,d=Ht(u)+l):l>Ht(e)?(u=e+1,d=l-Ht(e)):(u=e,d=l),{year:u,dayOfYear:d}}function qt(e,t,r){var s=xr(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+We(n,t,r)):a>We(e.year(),t,r)?(i=a-We(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function We(e,t,r){var s=xr(e,t,r),a=xr(e+1,t,r);return(Ht(e)-s+a)/7}w("w",["ww",2],"wo","week"),w("W",["WW",2],"Wo","isoWeek"),v("w",E,vt),v("ww",E,ie),v("W",E,vt),v("WW",E,ie),Ut(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=M(e)});function cl(e){return qt(e,this._week.dow,this._week.doy).week}var hl={dow:0,doy:6};function _l(){return this._week.dow}function pl(){return this._week.doy}function fl(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function gl(e){var t=qt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}w("d",0,"do","day"),w("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),w("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),w("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),w("e",0,0,"weekday"),w("E",0,0,"isoWeekday"),v("d",E),v("e",E),v("E",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)}),Ut(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:x(r).invalidWeekday=e}),Ut(["d","e","E"],function(e,t,r,s){t[s]=M(e)});function ml(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function yl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ws(e,t){return e.slice(t,7).concat(e.slice(0,t))}var vl="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),oi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),bl="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),wl=Ft,kl=Ft,xl=Ft;function Sl(e,t){var r=fe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ws(r,this._week.dow):e?r[e.day()]:r}function Ml(e){return e===!0?ws(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Dl(e){return e===!0?ws(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yl(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=Se([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=q.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=q.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=q.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=q.call(this._weekdaysParse,n),a!==-1||(a=q.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=q.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=q.call(this._shortWeekdaysParse,n),a!==-1||(a=q.call(this._weekdaysParse,n),a!==-1)?a:(a=q.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=q.call(this._minWeekdaysParse,n),a!==-1||(a=q.call(this._weekdaysParse,n),a!==-1)?a:(a=q.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function Ol(e,t,r){var s,a,i;if(this._weekdaysParseExact)return Yl.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(a=Se([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e)||r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e)||r&&t==="dd"&&this._minWeekdaysParse[s].test(e)||!r&&this._weekdaysParse[s].test(e))return s}function $l(e){if(!this.isValid())return e!=null?this:NaN;var t=At(this,"Day");return e!=null?(e=ml(e,this.localeData()),this.add(e-t,"d")):t}function Rl(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Nl(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=yl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Tl(e){return this._weekdaysParseExact?(R(this,"_weekdaysRegex")||ks.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(R(this,"_weekdaysRegex")||(this._weekdaysRegex=wl),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Cl(e){return this._weekdaysParseExact?(R(this,"_weekdaysRegex")||ks.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(R(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Pl(e){return this._weekdaysParseExact?(R(this,"_weekdaysRegex")||ks.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(R(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=xl),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ks(){function e(h,f){return f.length-h.length}var t=[],r=[],s=[],a=[],i,n,l,u,d;for(i=0;i<7;i++)n=Se([2e3,1]).day(i),l=Pe(this.weekdaysMin(n,"")),u=Pe(this.weekdaysShort(n,"")),d=Pe(this.weekdays(n,"")),t.push(l),r.push(u),s.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function xs(){return this.hours()%12||12}function Ll(){return this.hours()||24}w("H",["HH",2],0,"hour"),w("h",["hh",2],0,xs),w("k",["kk",2],0,Ll),w("hmm",0,0,function(){return""+xs.apply(this)+De(this.minutes(),2)}),w("hmmss",0,0,function(){return""+xs.apply(this)+De(this.minutes(),2)+De(this.seconds(),2)}),w("Hmm",0,0,function(){return""+this.hours()+De(this.minutes(),2)}),w("Hmmss",0,0,function(){return""+this.hours()+De(this.minutes(),2)+De(this.seconds(),2)});function li(e,t){w(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}li("a",!0),li("A",!1);function ui(e,t){return t._meridiemParse}v("a",ui),v("A",ui),v("H",E,ys),v("h",E,vt),v("k",E,vt),v("HH",E,ie),v("hh",E,ie),v("kk",E,ie),v("hmm",Qa),v("hmmss",Xa),v("Hmm",Qa),v("Hmmss",Xa),L(["H","HH"],z),L(["k","kk"],function(e,t,r){var s=M(e);t[z]=s===24?0:s}),L(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),L(["h","hh"],function(e,t,r){t[z]=M(e),x(r).bigHour=!0}),L("hmm",function(e,t,r){var s=e.length-2;t[z]=M(e.substr(0,s)),t[me]=M(e.substr(s)),x(r).bigHour=!0}),L("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[z]=M(e.substr(0,s)),t[me]=M(e.substr(s,2)),t[je]=M(e.substr(a)),x(r).bigHour=!0}),L("Hmm",function(e,t,r){var s=e.length-2;t[z]=M(e.substr(0,s)),t[me]=M(e.substr(s))}),L("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[z]=M(e.substr(0,s)),t[me]=M(e.substr(s,2)),t[je]=M(e.substr(a))});function jl(e){return(e+"").toLowerCase().charAt(0)==="p"}var Wl=/[ap]\.?m?\.?/i,El=bt("Hours",!0);function Fl(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var di={calendar:Yo,longDateFormat:No,invalidDate:Co,ordinal:Lo,dayOfMonthOrdinalParse:jo,relativeTime:Eo,months:el,monthsShort:ti,week:hl,weekdays:vl,weekdaysMin:bl,weekdaysShort:oi,meridiemParse:Wl},A={},Gt={},zt;function Ul(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function ci(e){return e&&e.toLowerCase().replace("_","-")}function Hl(e){for(var t=0,r,s,a,i;t<e.length;){for(i=ci(e[t]).split("-"),r=i.length,s=ci(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Sr(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Ul(i,s)>=r-1)break;r--}t++}return zt}function Al(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Sr(e){var t=null,r;if(A[e]===void 0&&typeof module<"u"&&module&&module.exports&&Al(e))try{t=zt._abbr,r=require,r("./locale/"+e),et(t)}catch{A[e]=null}return A[e]}function et(e,t){var r;return e&&(se(t)?r=Ee(e):r=Ss(e,t),r?zt=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),zt._abbr}function Ss(e,t){if(t!==null){var r,s=di;if(t.abbr=e,A[e]!=null)za("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=A[e]._config;else if(t.parentLocale!=null)if(A[t.parentLocale]!=null)s=A[t.parentLocale]._config;else if(r=Sr(t.parentLocale),r!=null)s=r._config;else return Gt[t.parentLocale]||(Gt[t.parentLocale]=[]),Gt[t.parentLocale].push({name:e,config:t}),null;return A[e]=new cs(ds(s,t)),Gt[e]&&Gt[e].forEach(function(a){Ss(a.name,a.config)}),et(e),A[e]}else return delete A[e],null}function Vl(e,t){if(t!=null){var r,s,a=di;A[e]!=null&&A[e].parentLocale!=null?A[e].set(ds(A[e]._config,t)):(s=Sr(e),s!=null&&(a=s._config),t=ds(a,t),s==null&&(t.abbr=e),r=new cs(t),r.parentLocale=A[e],A[e]=r),et(e)}else A[e]!=null&&(A[e].parentLocale!=null?(A[e]=A[e].parentLocale,e===et()&&et(e)):A[e]!=null&&delete A[e]);return A[e]}function Ee(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return zt;if(!fe(e)){if(t=Sr(e),t)return t;e=[e]}return Hl(e)}function ql(){return hs(A)}function Ms(e){var t,r=e._a;return r&&x(e).overflow===-2&&(t=r[Le]<0||r[Le]>11?Le:r[Ye]<1||r[Ye]>bs(r[Q],r[Le])?Ye:r[z]<0||r[z]>24||r[z]===24&&(r[me]!==0||r[je]!==0||r[ot]!==0)?z:r[me]<0||r[me]>59?me:r[je]<0||r[je]>59?je:r[ot]<0||r[ot]>999?ot:-1,x(e)._overflowDayOfYear&&(t<Q||t>Ye)&&(t=Ye),x(e)._overflowWeeks&&t===-1&&(t=Bo),x(e)._overflowWeekday&&t===-1&&(t=Jo),x(e).overflow=t),e}var Gl=/^\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)?)?$/,zl=/^\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)?)?$/,Zl=/Z|[+-]\d\d(?::?\d\d)?/,Mr=[["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]],Ds=[["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/]],Bl=/^\/?Date\((-?\d+)/i,Jl=/^(?:(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}))$/,Kl={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function hi(e){var t,r,s=e._i,a=Gl.exec(s)||zl.exec(s),i,n,l,u,d=Mr.length,h=Ds.length;if(a){for(x(e).iso=!0,t=0,r=d;t<r;t++)if(Mr[t][1].exec(a[1])){n=Mr[t][0],i=Mr[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(Ds[t][1].exec(a[3])){l=(a[2]||" ")+Ds[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Zl.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=n+(l||"")+(u||""),Os(e)}else e._isValid=!1}function Ql(e,t,r,s,a,i){var n=[Xl(e),ti.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function Xl(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Il(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function eu(e,t,r){if(e){var s=oi.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return x(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function tu(e,t,r){if(e)return Kl[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function _i(e){var t=Jl.exec(Il(e._i)),r;if(t){if(r=Ql(t[4],t[3],t[2],t[5],t[6],t[7]),!eu(t[1],r,e))return;e._a=r,e._tzm=tu(t[8],t[9],t[10]),e._d=Vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),x(e).rfc2822=!0}else e._isValid=!1}function ru(e){var t=Bl.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(hi(e),e._isValid===!1)delete e._isValid;else return;if(_i(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:g.createFromInputFallback(e)}g.createFromInputFallback=le("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function wt(e,t,r){return e??t??r}function su(e){var t=new Date(g.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Ys(e){var t,r,s=[],a,i,n;if(!e._d){for(a=su(e),e._w&&e._a[Ye]==null&&e._a[Le]==null&&au(e),e._dayOfYear!=null&&(n=wt(e._a[Q],a[Q]),(e._dayOfYear>Ht(n)||e._dayOfYear===0)&&(x(e)._overflowDayOfYear=!0),r=Vt(n,0,e._dayOfYear),e._a[Le]=r.getUTCMonth(),e._a[Ye]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[z]===24&&e._a[me]===0&&e._a[je]===0&&e._a[ot]===0&&(e._nextDay=!0,e._a[z]=0),e._d=(e._useUTC?Vt:dl).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[z]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(x(e).weekdayMismatch=!0)}}function au(e){var t,r,s,a,i,n,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=wt(t.GG,e._a[Q],qt(F(),1,4).year),s=wt(t.W,1),a=wt(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,d=qt(F(),i,n),r=wt(t.gg,e._a[Q],d.year),s=wt(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),s<1||s>We(r,i,n)?x(e)._overflowWeeks=!0:u!=null?x(e)._overflowWeekday=!0:(l=ni(r,s,a,i,n),e._a[Q]=l.year,e._dayOfYear=l.dayOfYear)}g.ISO_8601=function(){},g.RFC_2822=function(){};function Os(e){if(e._f===g.ISO_8601){hi(e);return}if(e._f===g.RFC_2822){_i(e);return}e._a=[],x(e).empty=!0;var t=""+e._i,r,s,a,i,n,l=t.length,u=0,d,h;for(a=Za(e._f,e._locale).match(_s)||[],h=a.length,r=0;r<h;r++)i=a[r],s=(t.match(Go(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&x(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),u+=s.length),mt[i]?(s?x(e).empty=!1:x(e).unusedTokens.push(i),Zo(i,s,e)):e._strict&&!s&&x(e).unusedTokens.push(i);x(e).charsLeftOver=l-u,t.length>0&&x(e).unusedInput.push(t),e._a[z]<=12&&x(e).bigHour===!0&&e._a[z]>0&&(x(e).bigHour=void 0),x(e).parsedDateParts=e._a.slice(0),x(e).meridiem=e._meridiem,e._a[z]=iu(e._locale,e._a[z],e._meridiem),d=x(e).era,d!==null&&(e._a[Q]=e._locale.erasConvertYear(d,e._a[Q])),Ys(e),Ms(e)}function iu(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function nu(e){var t,r,s,a,i,n,l=!1,u=e._f.length;if(u===0){x(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,n=!1,t=us({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Os(t),os(t)&&(n=!0),i+=x(t).charsLeftOver,i+=x(t).unusedTokens.length*10,x(t).score=i,l?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(l=!0));Ie(e,r||t)}function ou(e){if(!e._d){var t=fs(e._i),r=t.day===void 0?t.date:t.day;e._a=Aa([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Ys(e)}}function lu(e){var t=new Et(Ms(pi(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function pi(e){var t=e._i,r=e._f;return e._locale=e._locale||Ee(e._l),t===null||r===void 0&&t===""?_r({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),ge(t)?new Et(Ms(t)):(Wt(t)?e._d=t:fe(r)?nu(e):r?Os(e):uu(e),os(e)||(e._d=null),e))}function uu(e){var t=e._i;se(t)?e._d=new Date(g.now()):Wt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?ru(e):fe(t)?(e._a=Aa(t.slice(0),function(r){return parseInt(r,10)}),Ys(e)):nt(t)?ou(e):Ce(t)?e._d=new Date(t):g.createFromInputFallback(e)}function fi(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(nt(e)&&is(e)||fe(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,lu(i)}function F(e,t,r,s){return fi(e,t,r,s,!1)}var du=le("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=F.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_r()}),cu=le("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=F.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_r()});function gi(e,t){var r,s;if(t.length===1&&fe(t[0])&&(t=t[0]),!t.length)return F();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function hu(){var e=[].slice.call(arguments,0);return gi("isBefore",e)}function _u(){var e=[].slice.call(arguments,0);return gi("isAfter",e)}var pu=function(){return Date.now?Date.now():+new Date},Zt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function fu(e){var t,r=!1,s,a=Zt.length;for(t in e)if(R(e,t)&&!(q.call(Zt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Zt[s]]){if(r)return!1;parseFloat(e[Zt[s]])!==M(e[Zt[s]])&&(r=!0)}return!0}function gu(){return this._isValid}function mu(){return ye(NaN)}function Dr(e){var t=fs(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=fu(t),this._milliseconds=+h+d*1e3+u*6e4+l*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=Ee(),this._bubble()}function Yr(e){return e instanceof Dr}function $s(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function yu(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)M(e[n])!==M(t[n])&&i++;return i+a}function mi(e,t){w(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+De(~~(r/60),2)+t+De(~~r%60,2)})}mi("Z",":"),mi("ZZ",""),v("Z",br),v("ZZ",br),L(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Rs(br,e)});var vu=/([\+\-]|\d\d)/gi;function Rs(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(vu)||["-",0,0],i=+(a[1]*60)+M(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ns(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(ge(e)||Wt(e)?e.valueOf():F(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),g.updateOffset(r,!1),r):F(e).local()}function Ts(e){return-Math.round(e._d.getTimezoneOffset())}g.updateOffset=function(){};function bu(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Rs(br,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Ts(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?wi(this,ye(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Ts(this)}function wu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function ku(e){return this.utcOffset(0,e)}function xu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ts(this),"m")),this}function Su(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Rs(Vo,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Mu(e){return this.isValid()?(e=e?F(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Du(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yu(){if(!se(this._isDSTShifted))return this._isDSTShifted;var e={},t;return us(e,this),e=pi(e),e._a?(t=e._isUTC?Se(e._a):F(e._a),this._isDSTShifted=this.isValid()&&yu(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ou(){return this.isValid()?!this._isUTC:!1}function $u(){return this.isValid()?this._isUTC:!1}function yi(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Ru=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ye(e,t){var r=e,s=null,a,i,n;return Yr(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ce(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Ru.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:M(s[Ye])*a,h:M(s[z])*a,m:M(s[me])*a,s:M(s[je])*a,ms:M($s(s[ot]*1e3))*a}):(s=Nu.exec(e))?(a=s[1]==="-"?-1:1,r={y:lt(s[2],a),M:lt(s[3],a),w:lt(s[4],a),d:lt(s[5],a),h:lt(s[6],a),m:lt(s[7],a),s:lt(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=Tu(F(r.from),F(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Dr(r),Yr(e)&&R(e,"_locale")&&(i._locale=e._locale),Yr(e)&&R(e,"_isValid")&&(i._isValid=e._isValid),i}ye.fn=Dr.prototype,ye.invalid=mu;function lt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function vi(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Tu(e,t){var r;return e.isValid()&&t.isValid()?(t=Ns(t,e),e.isBefore(t)?r=vi(e,t):(r=vi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function bi(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(za(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=ye(r,s),wi(this,a,e),this}}function wi(e,t,r,s){var a=t._milliseconds,i=$s(t._days),n=$s(t._months);e.isValid()&&(s=s??!0,n&&si(e,At(e,"Month")+n*r),i&&ei(e,"Date",At(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&g.updateOffset(e,i||n))}var Cu=bi(1,"add"),Pu=bi(-1,"subtract");function ki(e){return typeof e=="string"||e instanceof String}function Lu(e){return ge(e)||Wt(e)||ki(e)||Ce(e)||Wu(e)||ju(e)||e===null||e===void 0}function ju(e){var t=nt(e)&&!is(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||R(e,i);return t&&r}function Wu(e){var t=fe(e),r=!1;return t&&(r=e.filter(function(s){return!Ce(s)&&ki(e)}).length===0),t&&r}function Eu(e){var t=nt(e)&&!is(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||R(e,i);return t&&r}function Fu(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Uu(e,t){arguments.length===1&&(arguments[0]?Lu(arguments[0])?(e=arguments[0],t=void 0):Eu(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||F(),s=Ns(r,this).startOf("day"),a=g.calendarFormat(this,s)||"sameElse",i=t&&(Me(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,F(r)))}function Hu(){return new Et(this)}function Au(e,t){var r=ge(e)?e:F(e);return this.isValid()&&r.isValid()?(t=ue(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Vu(e,t){var r=ge(e)?e:F(e);return this.isValid()&&r.isValid()?(t=ue(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function qu(e,t,r,s){var a=ge(e)?e:F(e),i=ge(t)?t:F(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Gu(e,t){var r=ge(e)?e:F(e),s;return this.isValid()&&r.isValid()?(t=ue(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function zu(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zu(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Bu(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=Ns(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=ue(t),t){case"year":i=Or(this,s)/12;break;case"month":i=Or(this,s);break;case"quarter":i=Or(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:de(i)}function Or(e,t){if(e.date()<t.date())return-Or(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ju(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ku(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?fr(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Me(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",fr(r,"Z")):fr(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Qu(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function Xu(e){e||(e=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);var t=fr(this,e);return this.localeData().postformat(t)}function Iu(e,t){return this.isValid()&&(ge(e)&&e.isValid()||F(e).isValid())?ye({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ed(e){return this.from(F(),e)}function td(e,t){return this.isValid()&&(ge(e)&&e.isValid()||F(e).isValid())?ye({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rd(e){return this.to(F(),e)}function xi(e){var t;return e===void 0?this._locale._abbr:(t=Ee(e),t!=null&&(this._locale=t),this)}var Si=le("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Mi(){return this._locale}var $r=1e3,kt=60*$r,Rr=60*kt,Di=(365*400+97)*24*Rr;function xt(e,t){return(e%t+t)%t}function Yi(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Di:new Date(e,t,r).valueOf()}function Oi(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Di:Date.UTC(e,t,r)}function sd(e){var t,r;if(e=ue(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Oi:Yi,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-=xt(t+(this._isUTC?0:this.utcOffset()*kt),Rr);break;case"minute":t=this._d.valueOf(),t-=xt(t,kt);break;case"second":t=this._d.valueOf(),t-=xt(t,$r);break}return this._d.setTime(t),g.updateOffset(this,!0),this}function ad(e){var t,r;if(e=ue(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Oi:Yi,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+=Rr-xt(t+(this._isUTC?0:this.utcOffset()*kt),Rr)-1;break;case"minute":t=this._d.valueOf(),t+=kt-xt(t,kt)-1;break;case"second":t=this._d.valueOf(),t+=$r-xt(t,$r)-1;break}return this._d.setTime(t),g.updateOffset(this,!0),this}function id(){return this._d.valueOf()-(this._offset||0)*6e4}function nd(){return Math.floor(this.valueOf()/1e3)}function od(){return new Date(this.valueOf())}function ld(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ud(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function dd(){return this.isValid()?this.toISOString():null}function cd(){return os(this)}function hd(){return Ie({},x(this))}function _d(){return x(this).overflow}function pd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}w("N",0,0,"eraAbbr"),w("NN",0,0,"eraAbbr"),w("NNN",0,0,"eraAbbr"),w("NNNN",0,0,"eraName"),w("NNNNN",0,0,"eraNarrow"),w("y",["y",1],"yo","eraYear"),w("y",["yy",2],0,"eraYear"),w("y",["yyy",3],0,"eraYear"),w("y",["yyyy",4],0,"eraYear"),v("N",Cs),v("NN",Cs),v("NNN",Cs),v("NNNN",Md),v("NNNNN",Dd),L(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?x(r).era=a:x(r).invalidEra=e}),v("y",yt),v("yy",yt),v("yyy",yt),v("yyyy",yt),v("yo",Yd),L(["y","yy","yyy","yyyy"],Q),L(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Q]=r._locale.eraYearOrdinalParse(e,a):t[Q]=parseInt(e,10)});function fd(e,t){var r,s,a,i=this._eras||Ee("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=g(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=g(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function gd(e,t,r){var s,a,i=this.eras(),n,l,u;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),l=i[s].abbr.toUpperCase(),u=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(u===e)return i[s];break}else if([n,l,u].indexOf(e)>=0)return i[s]}function md(e,t){var r=e.since<=e.until?1:-1;return t===void 0?g(e.since).year():g(e.since).year()+(t-e.offset)*r}function yd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function vd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function bd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function wd(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-g(a[e].since).year())*r+a[e].offset;return this.year()}function kd(e){return R(this,"_erasNameRegex")||Ps.call(this),e?this._erasNameRegex:this._erasRegex}function xd(e){return R(this,"_erasAbbrRegex")||Ps.call(this),e?this._erasAbbrRegex:this._erasRegex}function Sd(e){return R(this,"_erasNarrowRegex")||Ps.call(this),e?this._erasNarrowRegex:this._erasRegex}function Cs(e,t){return t.erasAbbrRegex(e)}function Md(e,t){return t.erasNameRegex(e)}function Dd(e,t){return t.erasNarrowRegex(e)}function Yd(e,t){return t._eraYearOrdinalRegex||yt}function Ps(){var e=[],t=[],r=[],s=[],a,i,n,l,u,d=this.eras();for(a=0,i=d.length;a<i;++a)n=Pe(d[a].name),l=Pe(d[a].abbr),u=Pe(d[a].narrow),t.push(n),e.push(l),r.push(u),s.push(n),s.push(l),s.push(u);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}w(0,["gg",2],0,function(){return this.weekYear()%100}),w(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Nr(e,t){w(0,[e,e.length],0,t)}Nr("gggg","weekYear"),Nr("ggggg","weekYear"),Nr("GGGG","isoWeekYear"),Nr("GGGGG","isoWeekYear"),v("G",vr),v("g",vr),v("GG",E,ie),v("gg",E,ie),v("GGGG",ms,gs),v("gggg",ms,gs),v("GGGGG",yr,gr),v("ggggg",yr,gr),Ut(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=M(e)}),Ut(["gg","GG"],function(e,t,r,s){t[s]=g.parseTwoDigitYear(e)});function Od(e){return $i.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function $d(e){return $i.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rd(){return We(this.year(),1,4)}function Nd(){return We(this.isoWeekYear(),1,4)}function Td(){var e=this.localeData()._week;return We(this.year(),e.dow,e.doy)}function Cd(){var e=this.localeData()._week;return We(this.weekYear(),e.dow,e.doy)}function $i(e,t,r,s,a){var i;return e==null?qt(this,s,a).year:(i=We(e,s,a),t>i&&(t=i),Pd.call(this,e,t,r,s,a))}function Pd(e,t,r,s,a){var i=ni(e,t,r,s,a),n=Vt(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}w("Q",0,"Qo","quarter"),v("Q",Ja),L("Q",function(e,t){t[Le]=(M(e)-1)*3});function Ld(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}w("D",["DD",2],"Do","date"),v("D",E,vt),v("DD",E,ie),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),L(["D","DD"],Ye),L("Do",function(e,t){t[Ye]=M(e.match(E)[0])});var Ri=bt("Date",!0);w("DDD",["DDDD",3],"DDDo","dayOfYear"),v("DDD",mr),v("DDDD",Ka),L(["DDD","DDDD"],function(e,t,r){r._dayOfYear=M(e)});function jd(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}w("m",["mm",2],0,"minute"),v("m",E,ys),v("mm",E,ie),L(["m","mm"],me);var Wd=bt("Minutes",!1);w("s",["ss",2],0,"second"),v("s",E,ys),v("ss",E,ie),L(["s","ss"],je);var Ed=bt("Seconds",!1);w("S",0,0,function(){return~~(this.millisecond()/100)}),w(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),w(0,["SSS",3],0,"millisecond"),w(0,["SSSS",4],0,function(){return this.millisecond()*10}),w(0,["SSSSS",5],0,function(){return this.millisecond()*100}),w(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),w(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),w(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),w(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),v("S",mr,Ja),v("SS",mr,ie),v("SSS",mr,Ka);var tt,Ni;for(tt="SSSS";tt.length<=9;tt+="S")v(tt,yt);function Fd(e,t){t[ot]=M(("0."+e)*1e3)}for(tt="S";tt.length<=9;tt+="S")L(tt,Fd);Ni=bt("Milliseconds",!1),w("z",0,0,"zoneAbbr"),w("zz",0,0,"zoneName");function Ud(){return this._isUTC?"UTC":""}function Hd(){return this._isUTC?"Coordinated Universal Time":""}var _=Et.prototype;_.add=Cu,_.calendar=Uu,_.clone=Hu,_.diff=Bu,_.endOf=ad,_.format=Xu,_.from=Iu,_.fromNow=ed,_.to=td,_.toNow=rd,_.get=Qo,_.invalidAt=_d,_.isAfter=Au,_.isBefore=Vu,_.isBetween=qu,_.isSame=Gu,_.isSameOrAfter=zu,_.isSameOrBefore=Zu,_.isValid=cd,_.lang=Si,_.locale=xi,_.localeData=Mi,_.max=cu,_.min=du,_.parsingFlags=hd,_.set=Xo,_.startOf=sd,_.subtract=Pu,_.toArray=ld,_.toObject=ud,_.toDate=od,_.toISOString=Ku,_.inspect=Qu,typeof Symbol<"u"&&Symbol.for!=null&&(_[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_.toJSON=dd,_.toString=Ju,_.unix=nd,_.valueOf=id,_.creationData=pd,_.eraName=yd,_.eraNarrow=vd,_.eraAbbr=bd,_.eraYear=wd,_.year=Ia,_.isLeapYear=Ko,_.weekYear=Od,_.isoWeekYear=$d,_.quarter=_.quarters=Ld,_.month=ai,_.daysInMonth=ol,_.week=_.weeks=fl,_.isoWeek=_.isoWeeks=gl,_.weeksInYear=Td,_.weeksInWeekYear=Cd,_.isoWeeksInYear=Rd,_.isoWeeksInISOWeekYear=Nd,_.date=Ri,_.day=_.days=$l,_.weekday=Rl,_.isoWeekday=Nl,_.dayOfYear=jd,_.hour=_.hours=El,_.minute=_.minutes=Wd,_.second=_.seconds=Ed,_.millisecond=_.milliseconds=Ni,_.utcOffset=bu,_.utc=ku,_.local=xu,_.parseZone=Su,_.hasAlignedHourOffset=Mu,_.isDST=Du,_.isLocal=Ou,_.isUtcOffset=$u,_.isUtc=yi,_.isUTC=yi,_.zoneAbbr=Ud,_.zoneName=Hd,_.dates=le("dates accessor is deprecated. Use date instead.",Ri),_.months=le("months accessor is deprecated. Use month instead",ai),_.years=le("years accessor is deprecated. Use year instead",Ia),_.zone=le("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",wu),_.isDSTShifted=le("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yu);function Ad(e){return F(e*1e3)}function Vd(){return F.apply(null,arguments).parseZone()}function Ti(e){return e}var N=cs.prototype;N.calendar=Oo,N.longDateFormat=To,N.invalidDate=Po,N.ordinal=Wo,N.preparse=Ti,N.postformat=Ti,N.relativeTime=Fo,N.pastFuture=Uo,N.set=Do,N.eras=fd,N.erasParse=gd,N.erasConvertYear=md,N.erasAbbrRegex=xd,N.erasNameRegex=kd,N.erasNarrowRegex=Sd,N.months=sl,N.monthsShort=al,N.monthsParse=nl,N.monthsRegex=ul,N.monthsShortRegex=ll,N.week=cl,N.firstDayOfYear=pl,N.firstDayOfWeek=_l,N.weekdays=Sl,N.weekdaysMin=Dl,N.weekdaysShort=Ml,N.weekdaysParse=Ol,N.weekdaysRegex=Tl,N.weekdaysShortRegex=Cl,N.weekdaysMinRegex=Pl,N.isPM=jl,N.meridiem=Fl;function Tr(e,t,r,s){var a=Ee(),i=Se().set(s,t);return a[r](i,e)}function Ci(e,t,r){if(Ce(e)&&(t=e,e=void 0),e=e||"",t!=null)return Tr(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Tr(e,s,r,"month");return a}function Ls(e,t,r,s){typeof e=="boolean"?(Ce(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ce(t)&&(r=t,t=void 0),t=t||"");var a=Ee(),i=e?a._week.dow:0,n,l=[];if(r!=null)return Tr(t,(r+i)%7,s,"day");for(n=0;n<7;n++)l[n]=Tr(t,(n+i)%7,s,"day");return l}function qd(e,t){return Ci(e,t,"months")}function Gd(e,t){return Ci(e,t,"monthsShort")}function zd(e,t,r){return Ls(e,t,r,"weekdays")}function Zd(e,t,r){return Ls(e,t,r,"weekdaysShort")}function Bd(e,t,r){return Ls(e,t,r,"weekdaysMin")}et("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=M(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),g.lang=le("moment.lang is deprecated. Use moment.locale instead.",et),g.langData=le("moment.langData is deprecated. Use moment.localeData instead.",Ee);var Fe=Math.abs;function Jd(){var e=this._data;return this._milliseconds=Fe(this._milliseconds),this._days=Fe(this._days),this._months=Fe(this._months),e.milliseconds=Fe(e.milliseconds),e.seconds=Fe(e.seconds),e.minutes=Fe(e.minutes),e.hours=Fe(e.hours),e.months=Fe(e.months),e.years=Fe(e.years),this}function Pi(e,t,r,s){var a=ye(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Kd(e,t){return Pi(this,e,t,1)}function Qd(e,t){return Pi(this,e,t,-1)}function Li(e){return e<0?Math.floor(e):Math.ceil(e)}function Xd(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,l,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Li(js(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=de(e/1e3),s.seconds=a%60,i=de(a/60),s.minutes=i%60,n=de(i/60),s.hours=n%24,t+=de(n/24),u=de(ji(t)),r+=u,t-=Li(js(u)),l=de(r/12),r%=12,s.days=t,s.months=r,s.years=l,this}function ji(e){return e*4800/146097}function js(e){return e*146097/4800}function Id(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=ue(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+ji(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(js(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ue(e){return function(){return this.as(e)}}var Wi=Ue("ms"),ec=Ue("s"),tc=Ue("m"),rc=Ue("h"),sc=Ue("d"),ac=Ue("w"),ic=Ue("M"),nc=Ue("Q"),oc=Ue("y"),lc=Wi;function uc(){return ye(this)}function dc(e){return e=ue(e),this.isValid()?this[e+"s"]():NaN}function ut(e){return function(){return this.isValid()?this._data[e]:NaN}}var cc=ut("milliseconds"),hc=ut("seconds"),_c=ut("minutes"),pc=ut("hours"),fc=ut("days"),gc=ut("months"),mc=ut("years");function yc(){return de(this.days()/7)}var He=Math.round,St={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function vc(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function bc(e,t,r,s){var a=ye(e).abs(),i=He(a.as("s")),n=He(a.as("m")),l=He(a.as("h")),u=He(a.as("d")),d=He(a.as("M")),h=He(a.as("w")),f=He(a.as("y")),c=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||l<=1&&["h"]||l<r.h&&["hh",l]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||d<=1&&["M"]||d<r.M&&["MM",d]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=s,vc.apply(null,c)}function wc(e){return e===void 0?He:typeof e=="function"?(He=e,!0):!1}function kc(e,t){return St[e]===void 0?!1:t===void 0?St[e]:(St[e]=t,e==="s"&&(St.ss=t-1),!0)}function xc(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=St,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},St,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=bc(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Ws=Math.abs;function Mt(e){return(e>0)-(e<0)||+e}function Cr(){if(!this.isValid())return this.localeData().invalidDate();var e=Ws(this._milliseconds)/1e3,t=Ws(this._days),r=Ws(this._months),s,a,i,n,l=this.asSeconds(),u,d,h,f;return l?(s=de(e/60),a=de(s/60),e%=60,s%=60,i=de(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=Mt(this._months)!==Mt(l)?"-":"",h=Mt(this._days)!==Mt(l)?"-":"",f=Mt(this._milliseconds)!==Mt(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(t?h+t+"D":"")+(a||s||e?"T":"")+(a?f+a+"H":"")+(s?f+s+"M":"")+(e?f+n+"S":"")):"P0D"}var Y=Dr.prototype;Y.isValid=gu,Y.abs=Jd,Y.add=Kd,Y.subtract=Qd,Y.as=Id,Y.asMilliseconds=Wi,Y.asSeconds=ec,Y.asMinutes=tc,Y.asHours=rc,Y.asDays=sc,Y.asWeeks=ac,Y.asMonths=ic,Y.asQuarters=nc,Y.asYears=oc,Y.valueOf=lc,Y._bubble=Xd,Y.clone=uc,Y.get=dc,Y.milliseconds=cc,Y.seconds=hc,Y.minutes=_c,Y.hours=pc,Y.days=fc,Y.weeks=yc,Y.months=gc,Y.years=mc,Y.humanize=xc,Y.toISOString=Cr,Y.toString=Cr,Y.toJSON=Cr,Y.locale=xi,Y.localeData=Mi,Y.toIsoString=le("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Cr),Y.lang=Si,w("X",0,0,"unix"),w("x",0,0,"valueOf"),v("x",vr),v("X",qo),L("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),L("x",function(e,t,r){r._d=new Date(M(e))});//! moment.js
|
|
10
|
-
g.version="2.30.1",
|
|
9
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var Za={};function Ba(e,t){g.deprecationHandler!=null&&g.deprecationHandler(e,t),Za[e]||(za(t),Za[e]=!0)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;function Ye(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Oo(e){var t,r;for(r in e)N(e,r)&&(t=e[r],Ye(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function hs(e,t){var r=Ie({},e),s;for(s in t)N(t,s)&&(nt(e[s])&&nt(t[s])?(r[s]={},Ie(r[s],e[s]),Ie(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)N(e,s)&&!N(t,s)&&nt(e[s])&&(r[s]=Ie({},r[s]));return r}function _s(e){e!=null&&this.set(e)}var ps;Object.keys?ps=Object.keys:ps=function(e){var t,r=[];for(t in e)N(e,t)&&r.push(t);return r};var $o={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Ro(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return Ye(s)?s.call(t,r):s}function Oe(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var fs=/(\[[^\[]*\])|(\\)?([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,fr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,gs={},mt={};function w(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(mt[e]=a),t&&(mt[t[0]]=function(){return Oe(a.apply(this,arguments),t[1],t[2])}),r&&(mt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function No(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function To(e){var t=e.match(fs),r,s;for(r=0,s=t.length;r<s;r++)mt[t[r]]?t[r]=mt[t[r]]:t[r]=No(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=Ye(t[n])?t[n].call(a,e):t[n];return i}}function gr(e,t){return e.isValid()?(t=Ja(t,e.localeData()),gs[t]=gs[t]||To(t),gs[t](e)):e.localeData().invalidDate()}function Ja(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(fr.lastIndex=0;r>=0&&fr.test(e);)e=e.replace(fr,s),fr.lastIndex=0,r-=1;return e}var Co={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Po(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(fs).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Lo="Invalid date";function jo(){return this._invalidDate}var Wo="%d",Eo=/\d{1,2}/;function Fo(e){return this._ordinal.replace("%d",e)}var Uo={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Ho(e,t,r,s){var a=this._relativeTime[r];return Ye(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Ao(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ye(r)?r(t):r.replace(/%s/i,t)}var Ka={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function de(e){return typeof e=="string"?Ka[e]||Ka[e.toLowerCase()]:void 0}function ms(e){var t={},r,s;for(s in e)N(e,s)&&(r=de(s),r&&(t[r]=e[s]));return t}var Vo={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function qo(e){var t=[],r;for(r in e)N(e,r)&&t.push({unit:r,priority:Vo[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Qa=/\d/,ie=/\d\d/,Xa=/\d{3}/,ys=/\d{4}/,mr=/[+-]?\d{6}/,F=/\d\d?/,Ia=/\d\d\d\d?/,ei=/\d\d\d\d\d\d?/,yr=/\d{1,3}/,vs=/\d{1,4}/,vr=/[+-]?\d{1,6}/,yt=/\d+/,br=/[+-]?\d+/,Go=/Z|[+-]\d\d:?\d\d/gi,wr=/Z|[+-]\d\d(?::?\d\d)?/gi,zo=/[+-]?\d+(\.\d{1,3})?/,Ft=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vt=/^[1-9]\d?/,bs=/^([1-9]\d|\d)/,kr;kr={};function v(e,t,r){kr[e]=Ye(t)?t:function(s,a){return s&&r?r:t}}function Zo(e,t){return N(kr,e)?kr[e](t._strict,t._locale):new RegExp(Bo(e))}function Bo(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=ce(t)),r}var ws={};function j(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Le(t)&&(s=function(i,n){n[t]=D(i)}),a=e.length,r=0;r<a;r++)ws[e[r]]=s}function Ut(e,t){j(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function Jo(e,t,r){t!=null&&N(ws,e)&&ws[e](t,r._a,r,e)}function xr(e){return e%4===0&&e%100!==0||e%400===0}var Q=0,We=1,$e=2,B=3,ye=4,Ee=5,ot=6,Ko=7,Qo=8;w("Y",0,0,function(){var e=this.year();return e<=9999?Oe(e,4):"+"+e}),w(0,["YY",2],0,function(){return this.year()%100}),w(0,["YYYY",4],0,"year"),w(0,["YYYYY",5],0,"year"),w(0,["YYYYYY",6,!0],0,"year"),v("Y",br),v("YY",F,ie),v("YYYY",vs,ys),v("YYYYY",vr,mr),v("YYYYYY",vr,mr),j(["YYYYY","YYYYYY"],Q),j("YYYY",function(e,t){t[Q]=e.length===2?g.parseTwoDigitYear(e):D(e)}),j("YY",function(e,t){t[Q]=g.parseTwoDigitYear(e)}),j("Y",function(e,t){t[Q]=parseInt(e,10)});function Ht(e){return xr(e)?366:365}g.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var ti=bt("FullYear",!0);function Xo(){return xr(this.year())}function bt(e,t){return function(r){return r!=null?(ri(this,e,r),g.updateOffset(this,t),this):At(this,e)}}function At(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function ri(e,t,r){var s,a,i,n,l;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),l=e.date(),l=l===29&&n===1&&!xr(i)?28:l,a?s.setUTCFullYear(i,n,l):s.setFullYear(i,n,l)}}function Io(e){return e=de(e),Ye(this[e])?this[e]():this}function el(e,t){if(typeof e=="object"){e=ms(e);var r=qo(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=de(e),Ye(this[e]))return this[e](t);return this}function tl(e,t){return(e%t+t)%t}var G;Array.prototype.indexOf?G=Array.prototype.indexOf:G=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ks(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=tl(t,12);return e+=(t-r)/12,r===1?xr(e)?29:28:31-r%7%2}w("M",["MM",2],"Mo",function(){return this.month()+1}),w("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),w("MMMM",0,0,function(e){return this.localeData().months(this,e)}),v("M",F,vt),v("MM",F,ie),v("MMM",function(e,t){return t.monthsShortRegex(e)}),v("MMMM",function(e,t){return t.monthsRegex(e)}),j(["M","MM"],function(e,t){t[We]=D(e)-1}),j(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[We]=a:S(r).invalidMonth=e});var rl="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),si="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ai=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,sl=Ft,al=Ft;function il(e,t){return e?ge(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ai).test(t)?"format":"standalone"][e.month()]:ge(this._months)?this._months:this._months.standalone}function nl(e,t){return e?ge(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ai.test(t)?"format":"standalone"][e.month()]:ge(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ol(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=De([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=G.call(this._shortMonthsParse,n),a!==-1?a:null):(a=G.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=G.call(this._shortMonthsParse,n),a!==-1?a:(a=G.call(this._longMonthsParse,n),a!==-1?a:null)):(a=G.call(this._longMonthsParse,n),a!==-1?a:(a=G.call(this._shortMonthsParse,n),a!==-1?a:null))}function ll(e,t,r){var s,a,i;if(this._monthsParseExact)return ol.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(a=De([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e)||r&&t==="MMM"&&this._shortMonthsParse[s].test(e)||!r&&this._monthsParse[s].test(e))return s}function ii(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!Le(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ks(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function ni(e){return e!=null?(ii(this,e),g.updateOffset(this,!0),this):At(this,"Month")}function ul(){return ks(this.year(),this.month())}function dl(e){return this._monthsParseExact?(N(this,"_monthsRegex")||oi.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(N(this,"_monthsShortRegex")||(this._monthsShortRegex=sl),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function cl(e){return this._monthsParseExact?(N(this,"_monthsRegex")||oi.call(this),e?this._monthsStrictRegex:this._monthsRegex):(N(this,"_monthsRegex")||(this._monthsRegex=al),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function oi(){function e(u,d){return d.length-u.length}var t=[],r=[],s=[],a,i,n,l;for(a=0;a<12;a++)i=De([2e3,a]),n=je(this.monthsShort(i,"")),l=je(this.months(i,"")),t.push(n),r.push(l),s.push(l),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function hl(e,t,r,s,a,i,n){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,s,a,i,n),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,s,a,i,n),l}function Vt(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Sr(e,t,r){var s=7+t-r,a=(7+Vt(e,0,s).getUTCDay()-t)%7;return-a+s-1}function li(e,t,r,s,a){var i=(7+r-s)%7,n=Sr(e,s,a),l=1+7*(t-1)+i+n,u,d;return l<=0?(u=e-1,d=Ht(u)+l):l>Ht(e)?(u=e+1,d=l-Ht(e)):(u=e,d=l),{year:u,dayOfYear:d}}function qt(e,t,r){var s=Sr(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+Fe(n,t,r)):a>Fe(e.year(),t,r)?(i=a-Fe(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function Fe(e,t,r){var s=Sr(e,t,r),a=Sr(e+1,t,r);return(Ht(e)-s+a)/7}w("w",["ww",2],"wo","week"),w("W",["WW",2],"Wo","isoWeek"),v("w",F,vt),v("ww",F,ie),v("W",F,vt),v("WW",F,ie),Ut(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=D(e)});function _l(e){return qt(e,this._week.dow,this._week.doy).week}var pl={dow:0,doy:6};function fl(){return this._week.dow}function gl(){return this._week.doy}function ml(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function yl(e){var t=qt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}w("d",0,"do","day"),w("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),w("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),w("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),w("e",0,0,"weekday"),w("E",0,0,"isoWeekday"),v("d",F),v("e",F),v("E",F),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)}),Ut(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:S(r).invalidWeekday=e}),Ut(["d","e","E"],function(e,t,r,s){t[s]=D(e)});function vl(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function bl(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function xs(e,t){return e.slice(t,7).concat(e.slice(0,t))}var wl="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ui="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),kl="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xl=Ft,Sl=Ft,Ml=Ft;function Dl(e,t){var r=ge(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?xs(r,this._week.dow):e?r[e.day()]:r}function Yl(e){return e===!0?xs(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ol(e){return e===!0?xs(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $l(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=De([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=G.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=G.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=G.call(this._weekdaysParse,n),a!==-1||(a=G.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=G.call(this._shortWeekdaysParse,n),a!==-1||(a=G.call(this._weekdaysParse,n),a!==-1)?a:(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=G.call(this._minWeekdaysParse,n),a!==-1||(a=G.call(this._weekdaysParse,n),a!==-1)?a:(a=G.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function Rl(e,t,r){var s,a,i;if(this._weekdaysParseExact)return $l.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(a=De([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e)||r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e)||r&&t==="dd"&&this._minWeekdaysParse[s].test(e)||!r&&this._weekdaysParse[s].test(e))return s}function Nl(e){if(!this.isValid())return e!=null?this:NaN;var t=At(this,"Day");return e!=null?(e=vl(e,this.localeData()),this.add(e-t,"d")):t}function Tl(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Cl(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=bl(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Pl(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||Ss.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(N(this,"_weekdaysRegex")||(this._weekdaysRegex=xl),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ll(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||Ss.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(N(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Sl),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function jl(e){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||Ss.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(N(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ml),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ss(){function e(h,f){return f.length-h.length}var t=[],r=[],s=[],a=[],i,n,l,u,d;for(i=0;i<7;i++)n=De([2e3,1]).day(i),l=je(this.weekdaysMin(n,"")),u=je(this.weekdaysShort(n,"")),d=je(this.weekdays(n,"")),t.push(l),r.push(u),s.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Ms(){return this.hours()%12||12}function Wl(){return this.hours()||24}w("H",["HH",2],0,"hour"),w("h",["hh",2],0,Ms),w("k",["kk",2],0,Wl),w("hmm",0,0,function(){return""+Ms.apply(this)+Oe(this.minutes(),2)}),w("hmmss",0,0,function(){return""+Ms.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)}),w("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)}),w("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)});function di(e,t){w(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}di("a",!0),di("A",!1);function ci(e,t){return t._meridiemParse}v("a",ci),v("A",ci),v("H",F,bs),v("h",F,vt),v("k",F,vt),v("HH",F,ie),v("hh",F,ie),v("kk",F,ie),v("hmm",Ia),v("hmmss",ei),v("Hmm",Ia),v("Hmmss",ei),j(["H","HH"],B),j(["k","kk"],function(e,t,r){var s=D(e);t[B]=s===24?0:s}),j(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),j(["h","hh"],function(e,t,r){t[B]=D(e),S(r).bigHour=!0}),j("hmm",function(e,t,r){var s=e.length-2;t[B]=D(e.substr(0,s)),t[ye]=D(e.substr(s)),S(r).bigHour=!0}),j("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[B]=D(e.substr(0,s)),t[ye]=D(e.substr(s,2)),t[Ee]=D(e.substr(a)),S(r).bigHour=!0}),j("Hmm",function(e,t,r){var s=e.length-2;t[B]=D(e.substr(0,s)),t[ye]=D(e.substr(s))}),j("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[B]=D(e.substr(0,s)),t[ye]=D(e.substr(s,2)),t[Ee]=D(e.substr(a))});function El(e){return(e+"").toLowerCase().charAt(0)==="p"}var Fl=/[ap]\.?m?\.?/i,Ul=bt("Hours",!0);function Hl(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var hi={calendar:$o,longDateFormat:Co,invalidDate:Lo,ordinal:Wo,dayOfMonthOrdinalParse:Eo,relativeTime:Uo,months:rl,monthsShort:si,week:pl,weekdays:wl,weekdaysMin:kl,weekdaysShort:ui,meridiemParse:Fl},V={},Gt={},zt;function Al(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function _i(e){return e&&e.toLowerCase().replace("_","-")}function Vl(e){for(var t=0,r,s,a,i;t<e.length;){for(i=_i(e[t]).split("-"),r=i.length,s=_i(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Mr(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Al(i,s)>=r-1)break;r--}t++}return zt}function ql(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Mr(e){var t=null,r;if(V[e]===void 0&&typeof module<"u"&&module&&module.exports&&ql(e))try{t=zt._abbr,r=require,r("./locale/"+e),et(t)}catch{V[e]=null}return V[e]}function et(e,t){var r;return e&&(se(t)?r=Ue(e):r=Ds(e,t),r?zt=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),zt._abbr}function Ds(e,t){if(t!==null){var r,s=hi;if(t.abbr=e,V[e]!=null)Ba("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)s=V[t.parentLocale]._config;else if(r=Mr(t.parentLocale),r!=null)s=r._config;else return Gt[t.parentLocale]||(Gt[t.parentLocale]=[]),Gt[t.parentLocale].push({name:e,config:t}),null;return V[e]=new _s(hs(s,t)),Gt[e]&&Gt[e].forEach(function(a){Ds(a.name,a.config)}),et(e),V[e]}else return delete V[e],null}function Gl(e,t){if(t!=null){var r,s,a=hi;V[e]!=null&&V[e].parentLocale!=null?V[e].set(hs(V[e]._config,t)):(s=Mr(e),s!=null&&(a=s._config),t=hs(a,t),s==null&&(t.abbr=e),r=new _s(t),r.parentLocale=V[e],V[e]=r),et(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===et()&&et(e)):V[e]!=null&&delete V[e]);return V[e]}function Ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return zt;if(!ge(e)){if(t=Mr(e),t)return t;e=[e]}return Vl(e)}function zl(){return ps(V)}function Ys(e){var t,r=e._a;return r&&S(e).overflow===-2&&(t=r[We]<0||r[We]>11?We:r[$e]<1||r[$e]>ks(r[Q],r[We])?$e:r[B]<0||r[B]>24||r[B]===24&&(r[ye]!==0||r[Ee]!==0||r[ot]!==0)?B:r[ye]<0||r[ye]>59?ye:r[Ee]<0||r[Ee]>59?Ee:r[ot]<0||r[ot]>999?ot:-1,S(e)._overflowDayOfYear&&(t<Q||t>$e)&&(t=$e),S(e)._overflowWeeks&&t===-1&&(t=Ko),S(e)._overflowWeekday&&t===-1&&(t=Qo),S(e).overflow=t),e}var Zl=/^\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)?)?$/,Bl=/^\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)?)?$/,Jl=/Z|[+-]\d\d(?::?\d\d)?/,Dr=[["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]],Os=[["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/]],Kl=/^\/?Date\((-?\d+)/i,Ql=/^(?:(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}))$/,Xl={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function pi(e){var t,r,s=e._i,a=Zl.exec(s)||Bl.exec(s),i,n,l,u,d=Dr.length,h=Os.length;if(a){for(S(e).iso=!0,t=0,r=d;t<r;t++)if(Dr[t][1].exec(a[1])){n=Dr[t][0],i=Dr[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(Os[t][1].exec(a[3])){l=(a[2]||" ")+Os[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(Jl.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=n+(l||"")+(u||""),Rs(e)}else e._isValid=!1}function Il(e,t,r,s,a,i){var n=[eu(e),si.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function eu(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function tu(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function ru(e,t,r){if(e){var s=ui.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return S(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function su(e,t,r){if(e)return Xl[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function fi(e){var t=Ql.exec(tu(e._i)),r;if(t){if(r=Il(t[4],t[3],t[2],t[5],t[6],t[7]),!ru(t[1],r,e))return;e._a=r,e._tzm=su(t[8],t[9],t[10]),e._d=Vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),S(e).rfc2822=!0}else e._isValid=!1}function au(e){var t=Kl.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(pi(e),e._isValid===!1)delete e._isValid;else return;if(fi(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:g.createFromInputFallback(e)}g.createFromInputFallback=ue("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function wt(e,t,r){return e??t??r}function iu(e){var t=new Date(g.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function $s(e){var t,r,s=[],a,i,n;if(!e._d){for(a=iu(e),e._w&&e._a[$e]==null&&e._a[We]==null&&nu(e),e._dayOfYear!=null&&(n=wt(e._a[Q],a[Q]),(e._dayOfYear>Ht(n)||e._dayOfYear===0)&&(S(e)._overflowDayOfYear=!0),r=Vt(n,0,e._dayOfYear),e._a[We]=r.getUTCMonth(),e._a[$e]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[B]===24&&e._a[ye]===0&&e._a[Ee]===0&&e._a[ot]===0&&(e._nextDay=!0,e._a[B]=0),e._d=(e._useUTC?Vt:hl).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[B]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(S(e).weekdayMismatch=!0)}}function nu(e){var t,r,s,a,i,n,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=wt(t.GG,e._a[Q],qt(U(),1,4).year),s=wt(t.W,1),a=wt(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,d=qt(U(),i,n),r=wt(t.gg,e._a[Q],d.year),s=wt(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),s<1||s>Fe(r,i,n)?S(e)._overflowWeeks=!0:u!=null?S(e)._overflowWeekday=!0:(l=li(r,s,a,i,n),e._a[Q]=l.year,e._dayOfYear=l.dayOfYear)}g.ISO_8601=function(){},g.RFC_2822=function(){};function Rs(e){if(e._f===g.ISO_8601){pi(e);return}if(e._f===g.RFC_2822){fi(e);return}e._a=[],S(e).empty=!0;var t=""+e._i,r,s,a,i,n,l=t.length,u=0,d,h;for(a=Ja(e._f,e._locale).match(fs)||[],h=a.length,r=0;r<h;r++)i=a[r],s=(t.match(Zo(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&S(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),u+=s.length),mt[i]?(s?S(e).empty=!1:S(e).unusedTokens.push(i),Jo(i,s,e)):e._strict&&!s&&S(e).unusedTokens.push(i);S(e).charsLeftOver=l-u,t.length>0&&S(e).unusedInput.push(t),e._a[B]<=12&&S(e).bigHour===!0&&e._a[B]>0&&(S(e).bigHour=void 0),S(e).parsedDateParts=e._a.slice(0),S(e).meridiem=e._meridiem,e._a[B]=ou(e._locale,e._a[B],e._meridiem),d=S(e).era,d!==null&&(e._a[Q]=e._locale.erasConvertYear(d,e._a[Q])),$s(e),Ys(e)}function ou(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function lu(e){var t,r,s,a,i,n,l=!1,u=e._f.length;if(u===0){S(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,n=!1,t=cs({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],Rs(t),us(t)&&(n=!0),i+=S(t).charsLeftOver,i+=S(t).unusedTokens.length*10,S(t).score=i,l?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(l=!0));Ie(e,r||t)}function uu(e){if(!e._d){var t=ms(e._i),r=t.day===void 0?t.date:t.day;e._a=qa([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),$s(e)}}function du(e){var t=new Et(Ys(gi(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gi(e){var t=e._i,r=e._f;return e._locale=e._locale||Ue(e._l),t===null||r===void 0&&t===""?pr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),me(t)?new Et(Ys(t)):(Wt(t)?e._d=t:ge(r)?lu(e):r?Rs(e):cu(e),us(e)||(e._d=null),e))}function cu(e){var t=e._i;se(t)?e._d=new Date(g.now()):Wt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?au(e):ge(t)?(e._a=qa(t.slice(0),function(r){return parseInt(r,10)}),$s(e)):nt(t)?uu(e):Le(t)?e._d=new Date(t):g.createFromInputFallback(e)}function mi(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(nt(e)&&os(e)||ge(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,du(i)}function U(e,t,r,s){return mi(e,t,r,s,!1)}var hu=ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:pr()}),_u=ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=U.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:pr()});function yi(e,t){var r,s;if(t.length===1&&ge(t[0])&&(t=t[0]),!t.length)return U();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function pu(){var e=[].slice.call(arguments,0);return yi("isBefore",e)}function fu(){var e=[].slice.call(arguments,0);return yi("isAfter",e)}var gu=function(){return Date.now?Date.now():+new Date},Zt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function mu(e){var t,r=!1,s,a=Zt.length;for(t in e)if(N(e,t)&&!(G.call(Zt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[Zt[s]]){if(r)return!1;parseFloat(e[Zt[s]])!==D(e[Zt[s]])&&(r=!0)}return!0}function yu(){return this._isValid}function vu(){return ve(NaN)}function Yr(e){var t=ms(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=mu(t),this._milliseconds=+h+d*1e3+u*6e4+l*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=Ue(),this._bubble()}function Or(e){return e instanceof Yr}function Ns(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function bu(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)D(e[n])!==D(t[n])&&i++;return i+a}function vi(e,t){w(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+Oe(~~(r/60),2)+t+Oe(~~r%60,2)})}vi("Z",":"),vi("ZZ",""),v("Z",wr),v("ZZ",wr),j(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=Ts(wr,e)});var wu=/([\+\-]|\d\d)/gi;function Ts(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(wu)||["-",0,0],i=+(a[1]*60)+D(a[2]),i===0?0:a[0]==="+"?i:-i)}function Cs(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(me(e)||Wt(e)?e.valueOf():U(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),g.updateOffset(r,!1),r):U(e).local()}function Ps(e){return-Math.round(e._d.getTimezoneOffset())}g.updateOffset=function(){};function ku(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=Ts(wr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=Ps(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?xi(this,ve(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:Ps(this)}function xu(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Su(e){return this.utcOffset(0,e)}function Mu(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ps(this),"m")),this}function Du(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=Ts(Go,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Yu(e){return this.isValid()?(e=e?U(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Ou(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function $u(){if(!se(this._isDSTShifted))return this._isDSTShifted;var e={},t;return cs(e,this),e=gi(e),e._a?(t=e._isUTC?De(e._a):U(e._a),this._isDSTShifted=this.isValid()&&bu(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Ru(){return this.isValid()?!this._isUTC:!1}function Nu(){return this.isValid()?this._isUTC:!1}function bi(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Tu=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Cu=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ve(e,t){var r=e,s=null,a,i,n;return Or(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Le(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=Tu.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:D(s[$e])*a,h:D(s[B])*a,m:D(s[ye])*a,s:D(s[Ee])*a,ms:D(Ns(s[ot]*1e3))*a}):(s=Cu.exec(e))?(a=s[1]==="-"?-1:1,r={y:lt(s[2],a),M:lt(s[3],a),w:lt(s[4],a),d:lt(s[5],a),h:lt(s[6],a),m:lt(s[7],a),s:lt(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=Pu(U(r.from),U(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Yr(r),Or(e)&&N(e,"_locale")&&(i._locale=e._locale),Or(e)&&N(e,"_isValid")&&(i._isValid=e._isValid),i}ve.fn=Yr.prototype,ve.invalid=vu;function lt(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function wi(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Pu(e,t){var r;return e.isValid()&&t.isValid()?(t=Cs(t,e),e.isBefore(t)?r=wi(e,t):(r=wi(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ki(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Ba(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=ve(r,s),xi(this,a,e),this}}function xi(e,t,r,s){var a=t._milliseconds,i=Ns(t._days),n=Ns(t._months);e.isValid()&&(s=s??!0,n&&ii(e,At(e,"Month")+n*r),i&&ri(e,"Date",At(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&g.updateOffset(e,i||n))}var Lu=ki(1,"add"),ju=ki(-1,"subtract");function Si(e){return typeof e=="string"||e instanceof String}function Wu(e){return me(e)||Wt(e)||Si(e)||Le(e)||Fu(e)||Eu(e)||e===null||e===void 0}function Eu(e){var t=nt(e)&&!os(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||N(e,i);return t&&r}function Fu(e){var t=ge(e),r=!1;return t&&(r=e.filter(function(s){return!Le(s)&&Si(e)}).length===0),t&&r}function Uu(e){var t=nt(e)&&!os(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||N(e,i);return t&&r}function Hu(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Au(e,t){arguments.length===1&&(arguments[0]?Wu(arguments[0])?(e=arguments[0],t=void 0):Uu(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||U(),s=Cs(r,this).startOf("day"),a=g.calendarFormat(this,s)||"sameElse",i=t&&(Ye(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,U(r)))}function Vu(){return new Et(this)}function qu(e,t){var r=me(e)?e:U(e);return this.isValid()&&r.isValid()?(t=de(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function Gu(e,t){var r=me(e)?e:U(e);return this.isValid()&&r.isValid()?(t=de(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function zu(e,t,r,s){var a=me(e)?e:U(e),i=me(t)?t:U(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function Zu(e,t){var r=me(e)?e:U(e),s;return this.isValid()&&r.isValid()?(t=de(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Bu(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ju(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Ku(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=Cs(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=de(t),t){case"year":i=$r(this,s)/12;break;case"month":i=$r(this,s);break;case"quarter":i=$r(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:ce(i)}function $r(e,t){if(e.date()<t.date())return-$r(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Qu(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Xu(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?gr(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ye(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",gr(r,"Z")):gr(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Iu(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function ed(e){e||(e=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);var t=gr(this,e);return this.localeData().postformat(t)}function td(e,t){return this.isValid()&&(me(e)&&e.isValid()||U(e).isValid())?ve({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rd(e){return this.from(U(),e)}function sd(e,t){return this.isValid()&&(me(e)&&e.isValid()||U(e).isValid())?ve({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ad(e){return this.to(U(),e)}function Mi(e){var t;return e===void 0?this._locale._abbr:(t=Ue(e),t!=null&&(this._locale=t),this)}var Di=ue("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Yi(){return this._locale}var Rr=1e3,kt=60*Rr,Nr=60*kt,Oi=(365*400+97)*24*Nr;function xt(e,t){return(e%t+t)%t}function $i(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Oi:new Date(e,t,r).valueOf()}function Ri(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Oi:Date.UTC(e,t,r)}function id(e){var t,r;if(e=de(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ri:$i,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-=xt(t+(this._isUTC?0:this.utcOffset()*kt),Nr);break;case"minute":t=this._d.valueOf(),t-=xt(t,kt);break;case"second":t=this._d.valueOf(),t-=xt(t,Rr);break}return this._d.setTime(t),g.updateOffset(this,!0),this}function nd(e){var t,r;if(e=de(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Ri:$i,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+=Nr-xt(t+(this._isUTC?0:this.utcOffset()*kt),Nr)-1;break;case"minute":t=this._d.valueOf(),t+=kt-xt(t,kt)-1;break;case"second":t=this._d.valueOf(),t+=Rr-xt(t,Rr)-1;break}return this._d.setTime(t),g.updateOffset(this,!0),this}function od(){return this._d.valueOf()-(this._offset||0)*6e4}function ld(){return Math.floor(this.valueOf()/1e3)}function ud(){return new Date(this.valueOf())}function dd(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function cd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function hd(){return this.isValid()?this.toISOString():null}function _d(){return us(this)}function pd(){return Ie({},S(this))}function fd(){return S(this).overflow}function gd(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}w("N",0,0,"eraAbbr"),w("NN",0,0,"eraAbbr"),w("NNN",0,0,"eraAbbr"),w("NNNN",0,0,"eraName"),w("NNNNN",0,0,"eraNarrow"),w("y",["y",1],"yo","eraYear"),w("y",["yy",2],0,"eraYear"),w("y",["yyy",3],0,"eraYear"),w("y",["yyyy",4],0,"eraYear"),v("N",Ls),v("NN",Ls),v("NNN",Ls),v("NNNN",Yd),v("NNNNN",Od),j(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?S(r).era=a:S(r).invalidEra=e}),v("y",yt),v("yy",yt),v("yyy",yt),v("yyyy",yt),v("yo",$d),j(["y","yy","yyy","yyyy"],Q),j(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Q]=r._locale.eraYearOrdinalParse(e,a):t[Q]=parseInt(e,10)});function md(e,t){var r,s,a,i=this._eras||Ue("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=g(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=g(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function yd(e,t,r){var s,a,i=this.eras(),n,l,u;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),l=i[s].abbr.toUpperCase(),u=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(u===e)return i[s];break}else if([n,l,u].indexOf(e)>=0)return i[s]}function vd(e,t){var r=e.since<=e.until?1:-1;return t===void 0?g(e.since).year():g(e.since).year()+(t-e.offset)*r}function bd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function wd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function kd(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function xd(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-g(a[e].since).year())*r+a[e].offset;return this.year()}function Sd(e){return N(this,"_erasNameRegex")||js.call(this),e?this._erasNameRegex:this._erasRegex}function Md(e){return N(this,"_erasAbbrRegex")||js.call(this),e?this._erasAbbrRegex:this._erasRegex}function Dd(e){return N(this,"_erasNarrowRegex")||js.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ls(e,t){return t.erasAbbrRegex(e)}function Yd(e,t){return t.erasNameRegex(e)}function Od(e,t){return t.erasNarrowRegex(e)}function $d(e,t){return t._eraYearOrdinalRegex||yt}function js(){var e=[],t=[],r=[],s=[],a,i,n,l,u,d=this.eras();for(a=0,i=d.length;a<i;++a)n=je(d[a].name),l=je(d[a].abbr),u=je(d[a].narrow),t.push(n),e.push(l),r.push(u),s.push(n),s.push(l),s.push(u);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}w(0,["gg",2],0,function(){return this.weekYear()%100}),w(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Tr(e,t){w(0,[e,e.length],0,t)}Tr("gggg","weekYear"),Tr("ggggg","weekYear"),Tr("GGGG","isoWeekYear"),Tr("GGGGG","isoWeekYear"),v("G",br),v("g",br),v("GG",F,ie),v("gg",F,ie),v("GGGG",vs,ys),v("gggg",vs,ys),v("GGGGG",vr,mr),v("ggggg",vr,mr),Ut(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=D(e)}),Ut(["gg","GG"],function(e,t,r,s){t[s]=g.parseTwoDigitYear(e)});function Rd(e){return Ni.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Nd(e){return Ni.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Td(){return Fe(this.year(),1,4)}function Cd(){return Fe(this.isoWeekYear(),1,4)}function Pd(){var e=this.localeData()._week;return Fe(this.year(),e.dow,e.doy)}function Ld(){var e=this.localeData()._week;return Fe(this.weekYear(),e.dow,e.doy)}function Ni(e,t,r,s,a){var i;return e==null?qt(this,s,a).year:(i=Fe(e,s,a),t>i&&(t=i),jd.call(this,e,t,r,s,a))}function jd(e,t,r,s,a){var i=li(e,t,r,s,a),n=Vt(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}w("Q",0,"Qo","quarter"),v("Q",Qa),j("Q",function(e,t){t[We]=(D(e)-1)*3});function Wd(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}w("D",["DD",2],"Do","date"),v("D",F,vt),v("DD",F,ie),v("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),j(["D","DD"],$e),j("Do",function(e,t){t[$e]=D(e.match(F)[0])});var Ti=bt("Date",!0);w("DDD",["DDDD",3],"DDDo","dayOfYear"),v("DDD",yr),v("DDDD",Xa),j(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function Ed(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}w("m",["mm",2],0,"minute"),v("m",F,bs),v("mm",F,ie),j(["m","mm"],ye);var Fd=bt("Minutes",!1);w("s",["ss",2],0,"second"),v("s",F,bs),v("ss",F,ie),j(["s","ss"],Ee);var Ud=bt("Seconds",!1);w("S",0,0,function(){return~~(this.millisecond()/100)}),w(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),w(0,["SSS",3],0,"millisecond"),w(0,["SSSS",4],0,function(){return this.millisecond()*10}),w(0,["SSSSS",5],0,function(){return this.millisecond()*100}),w(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),w(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),w(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),w(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),v("S",yr,Qa),v("SS",yr,ie),v("SSS",yr,Xa);var tt,Ci;for(tt="SSSS";tt.length<=9;tt+="S")v(tt,yt);function Hd(e,t){t[ot]=D(("0."+e)*1e3)}for(tt="S";tt.length<=9;tt+="S")j(tt,Hd);Ci=bt("Milliseconds",!1),w("z",0,0,"zoneAbbr"),w("zz",0,0,"zoneName");function Ad(){return this._isUTC?"UTC":""}function Vd(){return this._isUTC?"Coordinated Universal Time":""}var _=Et.prototype;_.add=Lu,_.calendar=Au,_.clone=Vu,_.diff=Ku,_.endOf=nd,_.format=ed,_.from=td,_.fromNow=rd,_.to=sd,_.toNow=ad,_.get=Io,_.invalidAt=fd,_.isAfter=qu,_.isBefore=Gu,_.isBetween=zu,_.isSame=Zu,_.isSameOrAfter=Bu,_.isSameOrBefore=Ju,_.isValid=_d,_.lang=Di,_.locale=Mi,_.localeData=Yi,_.max=_u,_.min=hu,_.parsingFlags=pd,_.set=el,_.startOf=id,_.subtract=ju,_.toArray=dd,_.toObject=cd,_.toDate=ud,_.toISOString=Xu,_.inspect=Iu,typeof Symbol<"u"&&Symbol.for!=null&&(_[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),_.toJSON=hd,_.toString=Qu,_.unix=ld,_.valueOf=od,_.creationData=gd,_.eraName=bd,_.eraNarrow=wd,_.eraAbbr=kd,_.eraYear=xd,_.year=ti,_.isLeapYear=Xo,_.weekYear=Rd,_.isoWeekYear=Nd,_.quarter=_.quarters=Wd,_.month=ni,_.daysInMonth=ul,_.week=_.weeks=ml,_.isoWeek=_.isoWeeks=yl,_.weeksInYear=Pd,_.weeksInWeekYear=Ld,_.isoWeeksInYear=Td,_.isoWeeksInISOWeekYear=Cd,_.date=Ti,_.day=_.days=Nl,_.weekday=Tl,_.isoWeekday=Cl,_.dayOfYear=Ed,_.hour=_.hours=Ul,_.minute=_.minutes=Fd,_.second=_.seconds=Ud,_.millisecond=_.milliseconds=Ci,_.utcOffset=ku,_.utc=Su,_.local=Mu,_.parseZone=Du,_.hasAlignedHourOffset=Yu,_.isDST=Ou,_.isLocal=Ru,_.isUtcOffset=Nu,_.isUtc=bi,_.isUTC=bi,_.zoneAbbr=Ad,_.zoneName=Vd,_.dates=ue("dates accessor is deprecated. Use date instead.",Ti),_.months=ue("months accessor is deprecated. Use month instead",ni),_.years=ue("years accessor is deprecated. Use year instead",ti),_.zone=ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",xu),_.isDSTShifted=ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$u);function qd(e){return U(e*1e3)}function Gd(){return U.apply(null,arguments).parseZone()}function Pi(e){return e}var T=_s.prototype;T.calendar=Ro,T.longDateFormat=Po,T.invalidDate=jo,T.ordinal=Fo,T.preparse=Pi,T.postformat=Pi,T.relativeTime=Ho,T.pastFuture=Ao,T.set=Oo,T.eras=md,T.erasParse=yd,T.erasConvertYear=vd,T.erasAbbrRegex=Md,T.erasNameRegex=Sd,T.erasNarrowRegex=Dd,T.months=il,T.monthsShort=nl,T.monthsParse=ll,T.monthsRegex=cl,T.monthsShortRegex=dl,T.week=_l,T.firstDayOfYear=gl,T.firstDayOfWeek=fl,T.weekdays=Dl,T.weekdaysMin=Ol,T.weekdaysShort=Yl,T.weekdaysParse=Rl,T.weekdaysRegex=Pl,T.weekdaysShortRegex=Ll,T.weekdaysMinRegex=jl,T.isPM=El,T.meridiem=Hl;function Cr(e,t,r,s){var a=Ue(),i=De().set(s,t);return a[r](i,e)}function Li(e,t,r){if(Le(e)&&(t=e,e=void 0),e=e||"",t!=null)return Cr(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Cr(e,s,r,"month");return a}function Ws(e,t,r,s){typeof e=="boolean"?(Le(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Le(t)&&(r=t,t=void 0),t=t||"");var a=Ue(),i=e?a._week.dow:0,n,l=[];if(r!=null)return Cr(t,(r+i)%7,s,"day");for(n=0;n<7;n++)l[n]=Cr(t,(n+i)%7,s,"day");return l}function zd(e,t){return Li(e,t,"months")}function Zd(e,t){return Li(e,t,"monthsShort")}function Bd(e,t,r){return Ws(e,t,r,"weekdays")}function Jd(e,t,r){return Ws(e,t,r,"weekdaysShort")}function Kd(e,t,r){return Ws(e,t,r,"weekdaysMin")}et("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),g.lang=ue("moment.lang is deprecated. Use moment.locale instead.",et),g.langData=ue("moment.langData is deprecated. Use moment.localeData instead.",Ue);var He=Math.abs;function Qd(){var e=this._data;return this._milliseconds=He(this._milliseconds),this._days=He(this._days),this._months=He(this._months),e.milliseconds=He(e.milliseconds),e.seconds=He(e.seconds),e.minutes=He(e.minutes),e.hours=He(e.hours),e.months=He(e.months),e.years=He(e.years),this}function ji(e,t,r,s){var a=ve(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function Xd(e,t){return ji(this,e,t,1)}function Id(e,t){return ji(this,e,t,-1)}function Wi(e){return e<0?Math.floor(e):Math.ceil(e)}function ec(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,l,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Wi(Es(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=ce(e/1e3),s.seconds=a%60,i=ce(a/60),s.minutes=i%60,n=ce(i/60),s.hours=n%24,t+=ce(n/24),u=ce(Ei(t)),r+=u,t-=Wi(Es(u)),l=ce(r/12),r%=12,s.days=t,s.months=r,s.years=l,this}function Ei(e){return e*4800/146097}function Es(e){return e*146097/4800}function tc(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=de(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+Ei(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Es(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Ae(e){return function(){return this.as(e)}}var Fi=Ae("ms"),rc=Ae("s"),sc=Ae("m"),ac=Ae("h"),ic=Ae("d"),nc=Ae("w"),oc=Ae("M"),lc=Ae("Q"),uc=Ae("y"),dc=Fi;function cc(){return ve(this)}function hc(e){return e=de(e),this.isValid()?this[e+"s"]():NaN}function ut(e){return function(){return this.isValid()?this._data[e]:NaN}}var _c=ut("milliseconds"),pc=ut("seconds"),fc=ut("minutes"),gc=ut("hours"),mc=ut("days"),yc=ut("months"),vc=ut("years");function bc(){return ce(this.days()/7)}var Ve=Math.round,St={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function wc(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function kc(e,t,r,s){var a=ve(e).abs(),i=Ve(a.as("s")),n=Ve(a.as("m")),l=Ve(a.as("h")),u=Ve(a.as("d")),d=Ve(a.as("M")),h=Ve(a.as("w")),f=Ve(a.as("y")),c=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||l<=1&&["h"]||l<r.h&&["hh",l]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||d<=1&&["M"]||d<r.M&&["MM",d]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=s,wc.apply(null,c)}function xc(e){return e===void 0?Ve:typeof e=="function"?(Ve=e,!0):!1}function Sc(e,t){return St[e]===void 0?!1:t===void 0?St[e]:(St[e]=t,e==="s"&&(St.ss=t-1),!0)}function Mc(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=St,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},St,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=kc(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Fs=Math.abs;function Mt(e){return(e>0)-(e<0)||+e}function Pr(){if(!this.isValid())return this.localeData().invalidDate();var e=Fs(this._milliseconds)/1e3,t=Fs(this._days),r=Fs(this._months),s,a,i,n,l=this.asSeconds(),u,d,h,f;return l?(s=ce(e/60),a=ce(s/60),e%=60,s%=60,i=ce(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=Mt(this._months)!==Mt(l)?"-":"",h=Mt(this._days)!==Mt(l)?"-":"",f=Mt(this._milliseconds)!==Mt(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(t?h+t+"D":"")+(a||s||e?"T":"")+(a?f+a+"H":"")+(s?f+s+"M":"")+(e?f+n+"S":"")):"P0D"}var O=Yr.prototype;O.isValid=yu,O.abs=Qd,O.add=Xd,O.subtract=Id,O.as=tc,O.asMilliseconds=Fi,O.asSeconds=rc,O.asMinutes=sc,O.asHours=ac,O.asDays=ic,O.asWeeks=nc,O.asMonths=oc,O.asQuarters=lc,O.asYears=uc,O.valueOf=dc,O._bubble=ec,O.clone=cc,O.get=hc,O.milliseconds=_c,O.seconds=pc,O.minutes=fc,O.hours=gc,O.days=mc,O.weeks=bc,O.months=yc,O.years=vc,O.humanize=Mc,O.toISOString=Pr,O.toString=Pr,O.toJSON=Pr,O.locale=Mi,O.localeData=Yi,O.toIsoString=ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pr),O.lang=Di,w("X",0,0,"unix"),w("x",0,0,"valueOf"),v("x",br),v("X",zo),j("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),j("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
|
|
10
|
+
g.version="2.30.1",Do(U),g.fn=_,g.min=pu,g.max=fu,g.now=gu,g.utc=De,g.unix=qd,g.months=zd,g.isDate=Wt,g.locale=et,g.invalid=pr,g.duration=ve,g.isMoment=me,g.weekdays=Bd,g.parseZone=Gd,g.localeData=Ue,g.isDuration=Or,g.monthsShort=Zd,g.weekdaysMin=Kd,g.defineLocale=Ds,g.updateLocale=Gl,g.locales=zl,g.weekdaysShort=Jd,g.normalizeUnits=de,g.relativeTimeRounding=xc,g.relativeTimeThreshold=Sc,g.calendarFormat=Hu,g.prototype=_,g.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"};const Dc=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Yc=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Ui=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Us=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],Oc={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:Ui,monthsShortRegex:Ui,monthsStrictRegex:Dc,monthsShortStrictRegex:Yc,monthsParse:Us,longMonthsParse:Us,shortMonthsParse:Us,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}};g.locale("fr",Oc);const Hs=e=>{for(const[t,r]of eo)if(e>=t)return r;return Ya},$c=(e,t)=>{let r=0;for(;t>0;t--)r+=Hs(e),e++;return r},Rc=e=>{let t=0;for(;e>0;e-=Hs(t))t++;return t},Nc=(e,t)=>t*In-Object.values(e).reduce((r,s)=>r+s,0),As={d1:"<:d1:1159542168738873455>",d2:"<:d2:1159542071049334814>",d3:"<:d3:1159542073914032191>",d4:"<:d4:1159542075512082543>",d5:"<:d5:1159542078179651614>",d6:"<:d6:1159542079458910229>",revolutionary:"<:revolutionnaire:648245785133056020>",pirate:"<:pirate:648245785053626368>",marine:"<:marine:648245784407441429>",berry:"<:berry:1153734056035504158>",xp:"<:xp:1084914564379975772>",success:"<:success:1186707379534954506>",hp:"<:hp:1257776163955277824>",paper:"📄",rock:"🪨",scissor:"✂️",pray:"<:Ryokugyu_pray:1147542990844334280>",gun:"<:fujigun:1050120413243506688>",promise:"<:Luffy_Promise:1027626431565529099>",love:"<:Lawve:1050916817801072730>",note:"<:imsusnote:1136952496456224778>",watching:"<:Carrot_Watching:1024736915922104360>",card:"<:carteDos:1168580012258103387>",cards:{spades:{1:"<:asdepique:1168560615170768967>",2:"<:2depique:1168559430955184259>",3:"<:3depique:1168559437548638248>",4:"<:4depique:1168559679354445934>",5:"<:5depique:1168559725504372796>",6:"<:6depique:1168559764528185394>",7:"<:7depique:1168559459392553061>",8:"<:8depique:1168559887870083162>",9:"<:9depique:1168559471392464988>",10:"<:10depique:1168559958435053598>",J:"<:valetdepique:1168560676202086523>",Q:"<:reinedepique:1168560621722284083>",K:"<:roidepique:1168560628189888634>"},diamonds:{1:"<:asdecarreau:1168560612742279308>",2:"<:2decarreau:1168559427788472330>",3:"<:3decarreau:1168559434138669236>",4:"<:4decarreau:1168559440774041621>",5:"<:5decarreau:1168559445308084256>",6:"<:6decarreau:1168559763462819940>",7:"<:7decarreau:1168559845872517172>",8:"<:8decarreau:1168559888989949994>",9:"<:9decarreau:1168559942215667804>",10:"<:10decarreau:1168559475481907230>",J:"<:valetdecarreau:1168560633634095234>",Q:"<:reinedecarreau:1168560618182291577>",K:"<:roidecarreau:1168560626185011281>"},hearts:{1:"<:asdecoeur:1168560613971214368>",2:"<:2decoeur:1168559428681859073>",3:"<:3decoeur:1168559435950592060>",4:"<:4decoeur:1168559442074284073>",5:"<:5decoeur:1168559723226865725>",6:"<:6decoeur:1168559452509708298>",7:"<:7decoeur:1168559457769365684>",8:"<:8decoeur:1168559463368757339>",9:"<:9decoeur:1168559938897989672>",10:"<:10decoeur:1168559477658751006>",J:"<:valetdecoeur:1168560635991298160>",Q:"<:reinedecoeur:1168560619855822940>",K:"<:roidecoeur:1168560678378950716>"},clubs:{1:"<:asdetrfle:1168560617444081834>",2:"<:2detrfle:1168559432242831512>",3:"<:3detrfle:1168559439440269403>",4:"<:4detrfle:1168559677936762982>",5:"<:5detrfle:1168559449540145153>",6:"<:6detrfle:1168559761260818594>",7:"<:7detrfle:1168559844748435549>",8:"<:8detrfle:1168559466334142575>",9:"<:9detrfle:1168559940953194576>",10:"<:10detrfle:1168559959802380288>",J:"<:valetdetrfle:1168560610531885137>",Q:"<:reinedetrfle:1168560623228026972>",K:"<:roidetrfle:1168560675543580712>"}},factions:{b_citizen_COMMON:"<:BasiqueOPFRbois:1175507882188484761>",b_citizen_RARE:"<:BasiqueOPFRargent:1175507880724668488>",b_citizen_EPIC:"<:BasiqueOPFRor:1175507883501289512>",b_citizen_LEGENDARY:"<:BasiqueOPFRplatine:1175507886714134548>",b_citizen_MYTHIC:"<:BasiqueOPFRultime:1175507889553670264>",b_marine_COMMON:"<:Marinebois:1175507936953512036>",b_marine_RARE:"<:Marineargent:1175508322351321178>",b_marine_EPIC:"<:Marineor:1175508300603863132>",b_marine_LEGENDARY:"<:Marineplatine:1175507940803879012>",b_marine_MYTHIC:"<:Marineultime:1175508279590395977>",b_revolutionary_COMMON:"<:RvoBois:1175507954779295810>",b_revolutionary_RARE:"<:RvoArgent:1175508199118483457>",b_revolutionary_EPIC:"<:RvoOr:1175508111885344819>",b_revolutionary_LEGENDARY:"<:RvoPlatine:1175507958378008756>",b_revolutionary_MYTHIC:"<:RvoUltime:1175508127815319612>",b_pirate_COMMON:"<:Piratebois:1175508259768115272>",b_pirate_RARE:"<:Pirateargent:1175507943987363941>",b_pirate_EPIC:"<:Pirateor:1175508240243621928>",b_pirate_LEGENDARY:"<:Pirateplatine:1175507949578358804>",b_pirate_MYTHIC:"<:Pirateultime:1175507951709061150>"},characteristics:{vitality:"<:vitality:1251861015277338675>",strength:"<:strength:1251860738595618838>",agility:"<:agility:1251860734145728596>",intelligence:"<:intelligence:1251860736943194144>",chance:"<:chance:1251860735827513425>",wisdom:"<:wisdom:1251861017231884378>"},equipment_adventurer_strap:"<:adventurer_strap:1253041086147068035>",equipment_adventurer_collar:"<:adventurer_collar:1253041084611690567>",equipment_adventurer_boots:"<:adventurer_boots:1253041083252867123>",equipment_adventurer_helmet:"<:Casque_cuir:1256965718432550953>",equipment_adventurer_weapon:"<:Dague_cuir:1256965714141515837>",equipment_adventurer_belt:"<:Ceinture_cuir:1256965593333108838>"},Hi=e=>new Intl.NumberFormat("de-DE").format(e),Tc=e=>e!=null;//! moment.js
|
|
11
11
|
//! version : 2.30.1
|
|
12
12
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
13
13
|
//! license : MIT
|
|
14
14
|
//! momentjs.com
|
|
15
|
-
var
|
|
16
|
-
[`+i+"] ";for(n in arguments[0])
|
|
15
|
+
var Ai;function m(){return Ai.apply(null,arguments)}function Cc(e){Ai=e}function be(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function dt(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Vs(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(C(e,t))return!1;return!0}function ae(e){return e===void 0}function qe(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Bt(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Vi(e,t){var r=[],s,a=e.length;for(s=0;s<a;++s)r.push(t(e[s],s));return r}function rt(e,t){for(var r in t)C(t,r)&&(e[r]=t[r]);return C(t,"toString")&&(e.toString=t.toString),C(t,"valueOf")&&(e.valueOf=t.valueOf),e}function Re(e,t,r,s){return mn(e,t,r,s,!0).utc()}function Pc(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function M(e){return e._pf==null&&(e._pf=Pc()),e._pf}var qs;Array.prototype.some?qs=Array.prototype.some:qs=function(e){var t=Object(this),r=t.length>>>0,s;for(s=0;s<r;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Gs(e){var t=null,r=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=M(e),r=qs.call(t.parsedDateParts,function(a){return a!=null}),s=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r),e._strict&&(s=s&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=s;else return s;return e._isValid}function Lr(e){var t=Re(NaN);return e!=null?rt(M(t),e):M(t).userInvalidated=!0,t}var qi=m.momentProperties=[],zs=!1;function Zs(e,t){var r,s,a,i=qi.length;if(ae(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),ae(t._i)||(e._i=t._i),ae(t._f)||(e._f=t._f),ae(t._l)||(e._l=t._l),ae(t._strict)||(e._strict=t._strict),ae(t._tzm)||(e._tzm=t._tzm),ae(t._isUTC)||(e._isUTC=t._isUTC),ae(t._offset)||(e._offset=t._offset),ae(t._pf)||(e._pf=M(t)),ae(t._locale)||(e._locale=t._locale),i>0)for(r=0;r<i;r++)s=qi[r],a=t[s],ae(a)||(e[s]=a);return e}function Jt(e){Zs(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),zs===!1&&(zs=!0,m.updateOffset(this),zs=!1)}function we(e){return e instanceof Jt||e!=null&&e._isAMomentObject!=null}function Gi(e){m.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function he(e,t){var r=!0;return rt(function(){if(m.deprecationHandler!=null&&m.deprecationHandler(null,e),r){var s=[],a,i,n,l=arguments.length;for(i=0;i<l;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
16
|
+
[`+i+"] ";for(n in arguments[0])C(arguments[0],n)&&(a+=n+": "+arguments[0][n]+", ");a=a.slice(0,-2)}else a=arguments[i];s.push(a)}Gi(e+`
|
|
17
17
|
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
18
|
-
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var qi={};function Gi(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),qi[e]||(Vi(t),qi[e]=!0)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;function $e(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Cc(e){var t,r;for(r in e)T(e,r)&&(t=e[r],$e(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function zs(e,t){var r=rt({},e),s;for(s in t)T(t,s)&&(dt(e[s])&&dt(t[s])?(r[s]={},rt(r[s],e[s]),rt(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)T(e,s)&&!T(t,s)&&dt(e[s])&&(r[s]=rt({},r[s]));return r}function Zs(e){e!=null&&this.set(e)}var Bs;Object.keys?Bs=Object.keys:Bs=function(e){var t,r=[];for(t in e)T(e,t)&&r.push(t);return r};var Pc={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Lc(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return $e(s)?s.call(t,r):s}function Re(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var Js=/(\[[^\[]*\])|(\\)?([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,Lr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ks={},Dt={};function k(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(Dt[e]=a),t&&(Dt[t[0]]=function(){return Re(a.apply(this,arguments),t[1],t[2])}),r&&(Dt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function jc(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Wc(e){var t=e.match(Js),r,s;for(r=0,s=t.length;r<s;r++)Dt[t[r]]?t[r]=Dt[t[r]]:t[r]=jc(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=$e(t[n])?t[n].call(a,e):t[n];return i}}function jr(e,t){return e.isValid()?(t=zi(t,e.localeData()),Ks[t]=Ks[t]||Wc(t),Ks[t](e)):e.localeData().invalidDate()}function zi(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(Lr.lastIndex=0;r>=0&&Lr.test(e);)e=e.replace(Lr,s),Lr.lastIndex=0,r-=1;return e}var Ec={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Fc(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Js).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Uc="Invalid date";function Hc(){return this._invalidDate}var Ac="%d",Vc=/\d{1,2}/;function qc(e){return this._ordinal.replace("%d",e)}var Gc={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function zc(e,t,r,s){var a=this._relativeTime[r];return $e(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Zc(e,t){var r=this._relativeTime[e>0?"future":"past"];return $e(r)?r(t):r.replace(/%s/i,t)}var Zi={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function he(e){return typeof e=="string"?Zi[e]||Zi[e.toLowerCase()]:void 0}function Qs(e){var t={},r,s;for(s in e)T(e,s)&&(r=he(s),r&&(t[r]=e[s]));return t}var Bc={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Jc(e){var t=[],r;for(r in e)T(e,r)&&t.push({unit:r,priority:Bc[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Bi=/\d/,ne=/\d\d/,Ji=/\d{3}/,Xs=/\d{4}/,Wr=/[+-]?\d{6}/,U=/\d\d?/,Ki=/\d\d\d\d?/,Qi=/\d\d\d\d\d\d?/,Er=/\d{1,3}/,Is=/\d{1,4}/,Fr=/[+-]?\d{1,6}/,Yt=/\d+/,Ur=/[+-]?\d+/,Kc=/Z|[+-]\d\d:?\d\d/gi,Hr=/Z|[+-]\d\d(?::?\d\d)?/gi,Qc=/[+-]?\d+(\.\d{1,3})?/,Kt=/[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,Ot=/^[1-9]\d?/,ea=/^([1-9]\d|\d)/,Ar;Ar={};function b(e,t,r){Ar[e]=$e(t)?t:function(s,a){return s&&r?r:t}}function Xc(e,t){return T(Ar,e)?Ar[e](t._strict,t._locale):new RegExp(Ic(e))}function Ic(e){return Ve(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function Ve(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function D(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=_e(t)),r}var ta={};function j(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),Ae(t)&&(s=function(i,n){n[t]=D(i)}),a=e.length,r=0;r<a;r++)ta[e[r]]=s}function Qt(e,t){j(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function eh(e,t,r){t!=null&&T(ta,e)&&ta[e](t,r._a,r,e)}function Vr(e){return e%4===0&&e%100!==0||e%400===0}var X=0,qe=1,Ne=2,Z=3,we=4,Ge=5,ct=6,th=7,rh=8;k("Y",0,0,function(){var e=this.year();return e<=9999?Re(e,4):"+"+e}),k(0,["YY",2],0,function(){return this.year()%100}),k(0,["YYYY",4],0,"year"),k(0,["YYYYY",5],0,"year"),k(0,["YYYYYY",6,!0],0,"year"),b("Y",Ur),b("YY",U,ne),b("YYYY",Is,Xs),b("YYYYY",Fr,Wr),b("YYYYYY",Fr,Wr),j(["YYYYY","YYYYYY"],X),j("YYYY",function(e,t){t[X]=e.length===2?m.parseTwoDigitYear(e):D(e)}),j("YY",function(e,t){t[X]=m.parseTwoDigitYear(e)}),j("Y",function(e,t){t[X]=parseInt(e,10)});function Xt(e){return Vr(e)?366:365}m.parseTwoDigitYear=function(e){return D(e)+(D(e)>68?1900:2e3)};var Xi=$t("FullYear",!0);function sh(){return Vr(this.year())}function $t(e,t){return function(r){return r!=null?(Ii(this,e,r),m.updateOffset(this,t),this):It(this,e)}}function It(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function Ii(e,t,r){var s,a,i,n,l;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),l=e.date(),l=l===29&&n===1&&!Vr(i)?28:l,a?s.setUTCFullYear(i,n,l):s.setFullYear(i,n,l)}}function ah(e){return e=he(e),$e(this[e])?this[e]():this}function ih(e,t){if(typeof e=="object"){e=Qs(e);var r=Jc(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=he(e),$e(this[e]))return this[e](t);return this}function nh(e,t){return(e%t+t)%t}var G;Array.prototype.indexOf?G=Array.prototype.indexOf:G=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function ra(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=nh(t,12);return e+=(t-r)/12,r===1?Vr(e)?29:28:31-r%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1}),k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),k("MMMM",0,0,function(e){return this.localeData().months(this,e)}),b("M",U,Ot),b("MM",U,ne),b("MMM",function(e,t){return t.monthsShortRegex(e)}),b("MMMM",function(e,t){return t.monthsRegex(e)}),j(["M","MM"],function(e,t){t[qe]=D(e)-1}),j(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[qe]=a:S(r).invalidMonth=e});var oh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),en="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,lh=Kt,uh=Kt;function dh(e,t){return e?ve(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tn).test(t)?"format":"standalone"][e.month()]:ve(this._months)?this._months:this._months.standalone}function ch(e,t){return e?ve(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tn.test(t)?"format":"standalone"][e.month()]:ve(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function hh(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=Oe([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=G.call(this._shortMonthsParse,n),a!==-1?a:null):(a=G.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=G.call(this._shortMonthsParse,n),a!==-1?a:(a=G.call(this._longMonthsParse,n),a!==-1?a:null)):(a=G.call(this._longMonthsParse,n),a!==-1?a:(a=G.call(this._shortMonthsParse,n),a!==-1?a:null))}function _h(e,t,r){var s,a,i;if(this._monthsParseExact)return hh.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(a=Oe([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e)||r&&t==="MMM"&&this._shortMonthsParse[s].test(e)||!r&&this._monthsParse[s].test(e))return s}function rn(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=D(t);else if(t=e.localeData().monthsParse(t),!Ae(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,ra(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function sn(e){return e!=null?(rn(this,e),m.updateOffset(this,!0),this):It(this,"Month")}function ph(){return ra(this.year(),this.month())}function fh(e){return this._monthsParseExact?(T(this,"_monthsRegex")||an.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(T(this,"_monthsShortRegex")||(this._monthsShortRegex=lh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function gh(e){return this._monthsParseExact?(T(this,"_monthsRegex")||an.call(this),e?this._monthsStrictRegex:this._monthsRegex):(T(this,"_monthsRegex")||(this._monthsRegex=uh),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function an(){function e(u,d){return d.length-u.length}var t=[],r=[],s=[],a,i,n,l;for(a=0;a<12;a++)i=Oe([2e3,a]),n=Ve(this.monthsShort(i,"")),l=Ve(this.months(i,"")),t.push(n),r.push(l),s.push(l),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function mh(e,t,r,s,a,i,n){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,s,a,i,n),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,s,a,i,n),l}function er(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function qr(e,t,r){var s=7+t-r,a=(7+er(e,0,s).getUTCDay()-t)%7;return-a+s-1}function nn(e,t,r,s,a){var i=(7+r-s)%7,n=qr(e,s,a),l=1+7*(t-1)+i+n,u,d;return l<=0?(u=e-1,d=Xt(u)+l):l>Xt(e)?(u=e+1,d=l-Xt(e)):(u=e,d=l),{year:u,dayOfYear:d}}function tr(e,t,r){var s=qr(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+ze(n,t,r)):a>ze(e.year(),t,r)?(i=a-ze(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function ze(e,t,r){var s=qr(e,t,r),a=qr(e+1,t,r);return(Xt(e)-s+a)/7}k("w",["ww",2],"wo","week"),k("W",["WW",2],"Wo","isoWeek"),b("w",U,Ot),b("ww",U,ne),b("W",U,Ot),b("WW",U,ne),Qt(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=D(e)});function yh(e){return tr(e,this._week.dow,this._week.doy).week}var vh={dow:0,doy:6};function bh(){return this._week.dow}function wh(){return this._week.doy}function kh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function xh(e){var t=tr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day"),k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),k("e",0,0,"weekday"),k("E",0,0,"isoWeekday"),b("d",U),b("e",U),b("E",U),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)}),Qt(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:S(r).invalidWeekday=e}),Qt(["d","e","E"],function(e,t,r,s){t[s]=D(e)});function Sh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Mh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function sa(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Dh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),on="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Yh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Oh=Kt,$h=Kt,Rh=Kt;function Nh(e,t){var r=ve(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?sa(r,this._week.dow):e?r[e.day()]:r}function Th(e){return e===!0?sa(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ch(e){return e===!0?sa(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ph(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=Oe([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=G.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=G.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=G.call(this._weekdaysParse,n),a!==-1||(a=G.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=G.call(this._shortWeekdaysParse,n),a!==-1||(a=G.call(this._weekdaysParse,n),a!==-1)?a:(a=G.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=G.call(this._minWeekdaysParse,n),a!==-1||(a=G.call(this._weekdaysParse,n),a!==-1)?a:(a=G.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function Lh(e,t,r){var s,a,i;if(this._weekdaysParseExact)return Ph.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(a=Oe([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e)||r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e)||r&&t==="dd"&&this._minWeekdaysParse[s].test(e)||!r&&this._weekdaysParse[s].test(e))return s}function jh(e){if(!this.isValid())return e!=null?this:NaN;var t=It(this,"Day");return e!=null?(e=Sh(e,this.localeData()),this.add(e-t,"d")):t}function Wh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Eh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Mh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Fh(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||aa.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(T(this,"_weekdaysRegex")||(this._weekdaysRegex=Oh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Uh(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||aa.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(T(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$h),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Hh(e){return this._weekdaysParseExact?(T(this,"_weekdaysRegex")||aa.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(T(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rh),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function aa(){function e(h,f){return f.length-h.length}var t=[],r=[],s=[],a=[],i,n,l,u,d;for(i=0;i<7;i++)n=Oe([2e3,1]).day(i),l=Ve(this.weekdaysMin(n,"")),u=Ve(this.weekdaysShort(n,"")),d=Ve(this.weekdays(n,"")),t.push(l),r.push(u),s.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ia(){return this.hours()%12||12}function Ah(){return this.hours()||24}k("H",["HH",2],0,"hour"),k("h",["hh",2],0,ia),k("k",["kk",2],0,Ah),k("hmm",0,0,function(){return""+ia.apply(this)+Re(this.minutes(),2)}),k("hmmss",0,0,function(){return""+ia.apply(this)+Re(this.minutes(),2)+Re(this.seconds(),2)}),k("Hmm",0,0,function(){return""+this.hours()+Re(this.minutes(),2)}),k("Hmmss",0,0,function(){return""+this.hours()+Re(this.minutes(),2)+Re(this.seconds(),2)});function ln(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}ln("a",!0),ln("A",!1);function un(e,t){return t._meridiemParse}b("a",un),b("A",un),b("H",U,ea),b("h",U,Ot),b("k",U,Ot),b("HH",U,ne),b("hh",U,ne),b("kk",U,ne),b("hmm",Ki),b("hmmss",Qi),b("Hmm",Ki),b("Hmmss",Qi),j(["H","HH"],Z),j(["k","kk"],function(e,t,r){var s=D(e);t[Z]=s===24?0:s}),j(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),j(["h","hh"],function(e,t,r){t[Z]=D(e),S(r).bigHour=!0}),j("hmm",function(e,t,r){var s=e.length-2;t[Z]=D(e.substr(0,s)),t[we]=D(e.substr(s)),S(r).bigHour=!0}),j("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Z]=D(e.substr(0,s)),t[we]=D(e.substr(s,2)),t[Ge]=D(e.substr(a)),S(r).bigHour=!0}),j("Hmm",function(e,t,r){var s=e.length-2;t[Z]=D(e.substr(0,s)),t[we]=D(e.substr(s))}),j("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[Z]=D(e.substr(0,s)),t[we]=D(e.substr(s,2)),t[Ge]=D(e.substr(a))});function Vh(e){return(e+"").toLowerCase().charAt(0)==="p"}var qh=/[ap]\.?m?\.?/i,Gh=$t("Hours",!0);function zh(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var dn={calendar:Pc,longDateFormat:Ec,invalidDate:Uc,ordinal:Ac,dayOfMonthOrdinalParse:Vc,relativeTime:Gc,months:oh,monthsShort:en,week:vh,weekdays:Dh,weekdaysMin:Yh,weekdaysShort:on,meridiemParse:qh},V={},rr={},sr;function Zh(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function cn(e){return e&&e.toLowerCase().replace("_","-")}function Bh(e){for(var t=0,r,s,a,i;t<e.length;){for(i=cn(e[t]).split("-"),r=i.length,s=cn(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=Gr(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Zh(i,s)>=r-1)break;r--}t++}return sr}function Jh(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Gr(e){var t=null,r;if(V[e]===void 0&&typeof module<"u"&&module&&module.exports&&Jh(e))try{t=sr._abbr,r=require,r("./locale/"+e),st(t)}catch{V[e]=null}return V[e]}function st(e,t){var r;return e&&(ae(t)?r=Ze(e):r=na(e,t),r?sr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sr._abbr}function na(e,t){if(t!==null){var r,s=dn;if(t.abbr=e,V[e]!=null)Gi("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=V[e]._config;else if(t.parentLocale!=null)if(V[t.parentLocale]!=null)s=V[t.parentLocale]._config;else if(r=Gr(t.parentLocale),r!=null)s=r._config;else return rr[t.parentLocale]||(rr[t.parentLocale]=[]),rr[t.parentLocale].push({name:e,config:t}),null;return V[e]=new Zs(zs(s,t)),rr[e]&&rr[e].forEach(function(a){na(a.name,a.config)}),st(e),V[e]}else return delete V[e],null}function Kh(e,t){if(t!=null){var r,s,a=dn;V[e]!=null&&V[e].parentLocale!=null?V[e].set(zs(V[e]._config,t)):(s=Gr(e),s!=null&&(a=s._config),t=zs(a,t),s==null&&(t.abbr=e),r=new Zs(t),r.parentLocale=V[e],V[e]=r),st(e)}else V[e]!=null&&(V[e].parentLocale!=null?(V[e]=V[e].parentLocale,e===st()&&st(e)):V[e]!=null&&delete V[e]);return V[e]}function Ze(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sr;if(!ve(e)){if(t=Gr(e),t)return t;e=[e]}return Bh(e)}function Qh(){return Bs(V)}function oa(e){var t,r=e._a;return r&&S(e).overflow===-2&&(t=r[qe]<0||r[qe]>11?qe:r[Ne]<1||r[Ne]>ra(r[X],r[qe])?Ne:r[Z]<0||r[Z]>24||r[Z]===24&&(r[we]!==0||r[Ge]!==0||r[ct]!==0)?Z:r[we]<0||r[we]>59?we:r[Ge]<0||r[Ge]>59?Ge:r[ct]<0||r[ct]>999?ct:-1,S(e)._overflowDayOfYear&&(t<X||t>Ne)&&(t=Ne),S(e)._overflowWeeks&&t===-1&&(t=th),S(e)._overflowWeekday&&t===-1&&(t=rh),S(e).overflow=t),e}var Xh=/^\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)?)?$/,Ih=/^\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)?)?$/,e_=/Z|[+-]\d\d(?::?\d\d)?/,zr=[["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]],la=[["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/]],t_=/^\/?Date\((-?\d+)/i,r_=/^(?:(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}))$/,s_={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function hn(e){var t,r,s=e._i,a=Xh.exec(s)||Ih.exec(s),i,n,l,u,d=zr.length,h=la.length;if(a){for(S(e).iso=!0,t=0,r=d;t<r;t++)if(zr[t][1].exec(a[1])){n=zr[t][0],i=zr[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(la[t][1].exec(a[3])){l=(a[2]||" ")+la[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(e_.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=n+(l||"")+(u||""),da(e)}else e._isValid=!1}function a_(e,t,r,s,a,i){var n=[i_(e),en.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function i_(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function n_(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function o_(e,t,r){if(e){var s=on.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return S(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function l_(e,t,r){if(e)return s_[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function _n(e){var t=r_.exec(n_(e._i)),r;if(t){if(r=a_(t[4],t[3],t[2],t[5],t[6],t[7]),!o_(t[1],r,e))return;e._a=r,e._tzm=l_(t[8],t[9],t[10]),e._d=er.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),S(e).rfc2822=!0}else e._isValid=!1}function u_(e){var t=t_.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(hn(e),e._isValid===!1)delete e._isValid;else return;if(_n(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=ce("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Rt(e,t,r){return e??t??r}function d_(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ua(e){var t,r,s=[],a,i,n;if(!e._d){for(a=d_(e),e._w&&e._a[Ne]==null&&e._a[qe]==null&&c_(e),e._dayOfYear!=null&&(n=Rt(e._a[X],a[X]),(e._dayOfYear>Xt(n)||e._dayOfYear===0)&&(S(e)._overflowDayOfYear=!0),r=er(n,0,e._dayOfYear),e._a[qe]=r.getUTCMonth(),e._a[Ne]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Z]===24&&e._a[we]===0&&e._a[Ge]===0&&e._a[ct]===0&&(e._nextDay=!0,e._a[Z]=0),e._d=(e._useUTC?er:mh).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Z]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(S(e).weekdayMismatch=!0)}}function c_(e){var t,r,s,a,i,n,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=Rt(t.GG,e._a[X],tr(H(),1,4).year),s=Rt(t.W,1),a=Rt(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,d=tr(H(),i,n),r=Rt(t.gg,e._a[X],d.year),s=Rt(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),s<1||s>ze(r,i,n)?S(e)._overflowWeeks=!0:u!=null?S(e)._overflowWeekday=!0:(l=nn(r,s,a,i,n),e._a[X]=l.year,e._dayOfYear=l.dayOfYear)}m.ISO_8601=function(){},m.RFC_2822=function(){};function da(e){if(e._f===m.ISO_8601){hn(e);return}if(e._f===m.RFC_2822){_n(e);return}e._a=[],S(e).empty=!0;var t=""+e._i,r,s,a,i,n,l=t.length,u=0,d,h;for(a=zi(e._f,e._locale).match(Js)||[],h=a.length,r=0;r<h;r++)i=a[r],s=(t.match(Xc(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&S(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),u+=s.length),Dt[i]?(s?S(e).empty=!1:S(e).unusedTokens.push(i),eh(i,s,e)):e._strict&&!s&&S(e).unusedTokens.push(i);S(e).charsLeftOver=l-u,t.length>0&&S(e).unusedInput.push(t),e._a[Z]<=12&&S(e).bigHour===!0&&e._a[Z]>0&&(S(e).bigHour=void 0),S(e).parsedDateParts=e._a.slice(0),S(e).meridiem=e._meridiem,e._a[Z]=h_(e._locale,e._a[Z],e._meridiem),d=S(e).era,d!==null&&(e._a[X]=e._locale.erasConvertYear(d,e._a[X])),ua(e),oa(e)}function h_(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function __(e){var t,r,s,a,i,n,l=!1,u=e._f.length;if(u===0){S(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,n=!1,t=Gs({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],da(t),Vs(t)&&(n=!0),i+=S(t).charsLeftOver,i+=S(t).unusedTokens.length*10,S(t).score=i,l?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(l=!0));rt(e,r||t)}function p_(e){if(!e._d){var t=Qs(e._i),r=t.day===void 0?t.date:t.day;e._a=Hi([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),ua(e)}}function f_(e){var t=new Jt(oa(pn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function pn(e){var t=e._i,r=e._f;return e._locale=e._locale||Ze(e._l),t===null||r===void 0&&t===""?Pr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),be(t)?new Jt(oa(t)):(Bt(t)?e._d=t:ve(r)?__(e):r?da(e):g_(e),Vs(e)||(e._d=null),e))}function g_(e){var t=e._i;ae(t)?e._d=new Date(m.now()):Bt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?u_(e):ve(t)?(e._a=Hi(t.slice(0),function(r){return parseInt(r,10)}),ua(e)):dt(t)?p_(e):Ae(t)?e._d=new Date(t):m.createFromInputFallback(e)}function fn(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(dt(e)&&Hs(e)||ve(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,f_(i)}function H(e,t,r,s){return fn(e,t,r,s,!1)}var m_=ce("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=H.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Pr()}),y_=ce("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=H.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Pr()});function gn(e,t){var r,s;if(t.length===1&&ve(t[0])&&(t=t[0]),!t.length)return H();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function v_(){var e=[].slice.call(arguments,0);return gn("isBefore",e)}function b_(){var e=[].slice.call(arguments,0);return gn("isAfter",e)}var w_=function(){return Date.now?Date.now():+new Date},ar=["year","quarter","month","week","day","hour","minute","second","millisecond"];function k_(e){var t,r=!1,s,a=ar.length;for(t in e)if(T(e,t)&&!(G.call(ar,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[ar[s]]){if(r)return!1;parseFloat(e[ar[s]])!==D(e[ar[s]])&&(r=!0)}return!0}function x_(){return this._isValid}function S_(){return ke(NaN)}function Zr(e){var t=Qs(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=k_(t),this._milliseconds=+h+d*1e3+u*6e4+l*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=Ze(),this._bubble()}function Br(e){return e instanceof Zr}function ca(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function M_(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)D(e[n])!==D(t[n])&&i++;return i+a}function mn(e,t){k(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+Re(~~(r/60),2)+t+Re(~~r%60,2)})}mn("Z",":"),mn("ZZ",""),b("Z",Hr),b("ZZ",Hr),j(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=ha(Hr,e)});var D_=/([\+\-]|\d\d)/gi;function ha(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(D_)||["-",0,0],i=+(a[1]*60)+D(a[2]),i===0?0:a[0]==="+"?i:-i)}function _a(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(be(e)||Bt(e)?e.valueOf():H(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),m.updateOffset(r,!1),r):H(e).local()}function pa(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function Y_(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=ha(Hr,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=pa(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?wn(this,ke(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:pa(this)}function O_(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function $_(e){return this.utcOffset(0,e)}function R_(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pa(this),"m")),this}function N_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=ha(Kc,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function T_(e){return this.isValid()?(e=e?H(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function C_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function P_(){if(!ae(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Gs(e,this),e=pn(e),e._a?(t=e._isUTC?Oe(e._a):H(e._a),this._isDSTShifted=this.isValid()&&M_(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function L_(){return this.isValid()?!this._isUTC:!1}function j_(){return this.isValid()?this._isUTC:!1}function yn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var W_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,E_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ke(e,t){var r=e,s=null,a,i,n;return Br(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Ae(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=W_.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:D(s[Ne])*a,h:D(s[Z])*a,m:D(s[we])*a,s:D(s[Ge])*a,ms:D(ca(s[ct]*1e3))*a}):(s=E_.exec(e))?(a=s[1]==="-"?-1:1,r={y:ht(s[2],a),M:ht(s[3],a),w:ht(s[4],a),d:ht(s[5],a),h:ht(s[6],a),m:ht(s[7],a),s:ht(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=F_(H(r.from),H(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Zr(r),Br(e)&&T(e,"_locale")&&(i._locale=e._locale),Br(e)&&T(e,"_isValid")&&(i._isValid=e._isValid),i}ke.fn=Zr.prototype,ke.invalid=S_;function ht(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function vn(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function F_(e,t){var r;return e.isValid()&&t.isValid()?(t=_a(t,e),e.isBefore(t)?r=vn(e,t):(r=vn(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function bn(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Gi(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=ke(r,s),wn(this,a,e),this}}function wn(e,t,r,s){var a=t._milliseconds,i=ca(t._days),n=ca(t._months);e.isValid()&&(s=s??!0,n&&rn(e,It(e,"Month")+n*r),i&&Ii(e,"Date",It(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&m.updateOffset(e,i||n))}var U_=bn(1,"add"),H_=bn(-1,"subtract");function kn(e){return typeof e=="string"||e instanceof String}function A_(e){return be(e)||Bt(e)||kn(e)||Ae(e)||q_(e)||V_(e)||e===null||e===void 0}function V_(e){var t=dt(e)&&!Hs(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||T(e,i);return t&&r}function q_(e){var t=ve(e),r=!1;return t&&(r=e.filter(function(s){return!Ae(s)&&kn(e)}).length===0),t&&r}function G_(e){var t=dt(e)&&!Hs(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||T(e,i);return t&&r}function z_(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function Z_(e,t){arguments.length===1&&(arguments[0]?A_(arguments[0])?(e=arguments[0],t=void 0):G_(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||H(),s=_a(r,this).startOf("day"),a=m.calendarFormat(this,s)||"sameElse",i=t&&($e(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,H(r)))}function B_(){return new Jt(this)}function J_(e,t){var r=be(e)?e:H(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function K_(e,t){var r=be(e)?e:H(e);return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function Q_(e,t,r,s){var a=be(e)?e:H(e),i=be(t)?t:H(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function X_(e,t){var r=be(e)?e:H(e),s;return this.isValid()&&r.isValid()?(t=he(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function I_(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function ep(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function tp(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=_a(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=he(t),t){case"year":i=Jr(this,s)/12;break;case"month":i=Jr(this,s);break;case"quarter":i=Jr(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:_e(i)}function Jr(e,t){if(e.date()<t.date())return-Jr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function rp(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sp(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?jr(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):$e(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",jr(r,"Z")):jr(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ap(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function ip(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=jr(this,e);return this.localeData().postformat(t)}function np(e,t){return this.isValid()&&(be(e)&&e.isValid()||H(e).isValid())?ke({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function op(e){return this.from(H(),e)}function lp(e,t){return this.isValid()&&(be(e)&&e.isValid()||H(e).isValid())?ke({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function up(e){return this.to(H(),e)}function xn(e){var t;return e===void 0?this._locale._abbr:(t=Ze(e),t!=null&&(this._locale=t),this)}var Sn=ce("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Mn(){return this._locale}var Kr=1e3,Nt=60*Kr,Qr=60*Nt,Dn=(365*400+97)*24*Qr;function Tt(e,t){return(e%t+t)%t}function Yn(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-Dn:new Date(e,t,r).valueOf()}function On(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-Dn:Date.UTC(e,t,r)}function dp(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?On:Yn,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-=Tt(t+(this._isUTC?0:this.utcOffset()*Nt),Qr);break;case"minute":t=this._d.valueOf(),t-=Tt(t,Nt);break;case"second":t=this._d.valueOf(),t-=Tt(t,Kr);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function cp(e){var t,r;if(e=he(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?On:Yn,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+=Qr-Tt(t+(this._isUTC?0:this.utcOffset()*Nt),Qr)-1;break;case"minute":t=this._d.valueOf(),t+=Nt-Tt(t,Nt)-1;break;case"second":t=this._d.valueOf(),t+=Kr-Tt(t,Kr)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function hp(){return this._d.valueOf()-(this._offset||0)*6e4}function _p(){return Math.floor(this.valueOf()/1e3)}function pp(){return new Date(this.valueOf())}function fp(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function gp(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mp(){return this.isValid()?this.toISOString():null}function yp(){return Vs(this)}function vp(){return rt({},S(this))}function bp(){return S(this).overflow}function wp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr"),k("NN",0,0,"eraAbbr"),k("NNN",0,0,"eraAbbr"),k("NNNN",0,0,"eraName"),k("NNNNN",0,0,"eraNarrow"),k("y",["y",1],"yo","eraYear"),k("y",["yy",2],0,"eraYear"),k("y",["yyy",3],0,"eraYear"),k("y",["yyyy",4],0,"eraYear"),b("N",fa),b("NN",fa),b("NNN",fa),b("NNNN",Tp),b("NNNNN",Cp),j(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?S(r).era=a:S(r).invalidEra=e}),b("y",Yt),b("yy",Yt),b("yyy",Yt),b("yyyy",Yt),b("yo",Pp),j(["y","yy","yyy","yyyy"],X),j(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[X]=r._locale.eraYearOrdinalParse(e,a):t[X]=parseInt(e,10)});function kp(e,t){var r,s,a,i=this._eras||Ze("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=m(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=m(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function xp(e,t,r){var s,a,i=this.eras(),n,l,u;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),l=i[s].abbr.toUpperCase(),u=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(u===e)return i[s];break}else if([n,l,u].indexOf(e)>=0)return i[s]}function Sp(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function Mp(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Dp(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function Yp(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Op(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-m(a[e].since).year())*r+a[e].offset;return this.year()}function $p(e){return T(this,"_erasNameRegex")||ga.call(this),e?this._erasNameRegex:this._erasRegex}function Rp(e){return T(this,"_erasAbbrRegex")||ga.call(this),e?this._erasAbbrRegex:this._erasRegex}function Np(e){return T(this,"_erasNarrowRegex")||ga.call(this),e?this._erasNarrowRegex:this._erasRegex}function fa(e,t){return t.erasAbbrRegex(e)}function Tp(e,t){return t.erasNameRegex(e)}function Cp(e,t){return t.erasNarrowRegex(e)}function Pp(e,t){return t._eraYearOrdinalRegex||Yt}function ga(){var e=[],t=[],r=[],s=[],a,i,n,l,u,d=this.eras();for(a=0,i=d.length;a<i;++a)n=Ve(d[a].name),l=Ve(d[a].abbr),u=Ve(d[a].narrow),t.push(n),e.push(l),r.push(u),s.push(n),s.push(l),s.push(u);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100}),k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Xr(e,t){k(0,[e,e.length],0,t)}Xr("gggg","weekYear"),Xr("ggggg","weekYear"),Xr("GGGG","isoWeekYear"),Xr("GGGGG","isoWeekYear"),b("G",Ur),b("g",Ur),b("GG",U,ne),b("gg",U,ne),b("GGGG",Is,Xs),b("gggg",Is,Xs),b("GGGGG",Fr,Wr),b("ggggg",Fr,Wr),Qt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=D(e)}),Qt(["gg","GG"],function(e,t,r,s){t[s]=m.parseTwoDigitYear(e)});function Lp(e){return $n.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function jp(e){return $n.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wp(){return ze(this.year(),1,4)}function Ep(){return ze(this.isoWeekYear(),1,4)}function Fp(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)}function Up(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)}function $n(e,t,r,s,a){var i;return e==null?tr(this,s,a).year:(i=ze(e,s,a),t>i&&(t=i),Hp.call(this,e,t,r,s,a))}function Hp(e,t,r,s,a){var i=nn(e,t,r,s,a),n=er(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}k("Q",0,"Qo","quarter"),b("Q",Bi),j("Q",function(e,t){t[qe]=(D(e)-1)*3});function Ap(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date"),b("D",U,Ot),b("DD",U,ne),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),j(["D","DD"],Ne),j("Do",function(e,t){t[Ne]=D(e.match(U)[0])});var Rn=$t("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear"),b("DDD",Er),b("DDDD",Ji),j(["DDD","DDDD"],function(e,t,r){r._dayOfYear=D(e)});function Vp(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute"),b("m",U,ea),b("mm",U,ne),j(["m","mm"],we);var qp=$t("Minutes",!1);k("s",["ss",2],0,"second"),b("s",U,ea),b("ss",U,ne),j(["s","ss"],Ge);var Gp=$t("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)}),k(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),k(0,["SSS",3],0,"millisecond"),k(0,["SSSS",4],0,function(){return this.millisecond()*10}),k(0,["SSSSS",5],0,function(){return this.millisecond()*100}),k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),b("S",Er,Bi),b("SS",Er,ne),b("SSS",Er,Ji);var at,Nn;for(at="SSSS";at.length<=9;at+="S")b(at,Yt);function zp(e,t){t[ct]=D(("0."+e)*1e3)}for(at="S";at.length<=9;at+="S")j(at,zp);Nn=$t("Milliseconds",!1),k("z",0,0,"zoneAbbr"),k("zz",0,0,"zoneName");function Zp(){return this._isUTC?"UTC":""}function Bp(){return this._isUTC?"Coordinated Universal Time":""}var p=Jt.prototype;p.add=U_,p.calendar=Z_,p.clone=B_,p.diff=tp,p.endOf=cp,p.format=ip,p.from=np,p.fromNow=op,p.to=lp,p.toNow=up,p.get=ah,p.invalidAt=bp,p.isAfter=J_,p.isBefore=K_,p.isBetween=Q_,p.isSame=X_,p.isSameOrAfter=I_,p.isSameOrBefore=ep,p.isValid=yp,p.lang=Sn,p.locale=xn,p.localeData=Mn,p.max=y_,p.min=m_,p.parsingFlags=vp,p.set=ih,p.startOf=dp,p.subtract=H_,p.toArray=fp,p.toObject=gp,p.toDate=pp,p.toISOString=sp,p.inspect=ap,typeof Symbol<"u"&&Symbol.for!=null&&(p[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),p.toJSON=mp,p.toString=rp,p.unix=_p,p.valueOf=hp,p.creationData=wp,p.eraName=Mp,p.eraNarrow=Dp,p.eraAbbr=Yp,p.eraYear=Op,p.year=Xi,p.isLeapYear=sh,p.weekYear=Lp,p.isoWeekYear=jp,p.quarter=p.quarters=Ap,p.month=sn,p.daysInMonth=ph,p.week=p.weeks=kh,p.isoWeek=p.isoWeeks=xh,p.weeksInYear=Fp,p.weeksInWeekYear=Up,p.isoWeeksInYear=Wp,p.isoWeeksInISOWeekYear=Ep,p.date=Rn,p.day=p.days=jh,p.weekday=Wh,p.isoWeekday=Eh,p.dayOfYear=Vp,p.hour=p.hours=Gh,p.minute=p.minutes=qp,p.second=p.seconds=Gp,p.millisecond=p.milliseconds=Nn,p.utcOffset=Y_,p.utc=$_,p.local=R_,p.parseZone=N_,p.hasAlignedHourOffset=T_,p.isDST=C_,p.isLocal=L_,p.isUtcOffset=j_,p.isUtc=yn,p.isUTC=yn,p.zoneAbbr=Zp,p.zoneName=Bp,p.dates=ce("dates accessor is deprecated. Use date instead.",Rn),p.months=ce("months accessor is deprecated. Use month instead",sn),p.years=ce("years accessor is deprecated. Use year instead",Xi),p.zone=ce("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",O_),p.isDSTShifted=ce("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",P_);function Jp(e){return H(e*1e3)}function Kp(){return H.apply(null,arguments).parseZone()}function Tn(e){return e}var C=Zs.prototype;C.calendar=Lc,C.longDateFormat=Fc,C.invalidDate=Hc,C.ordinal=qc,C.preparse=Tn,C.postformat=Tn,C.relativeTime=zc,C.pastFuture=Zc,C.set=Cc,C.eras=kp,C.erasParse=xp,C.erasConvertYear=Sp,C.erasAbbrRegex=Rp,C.erasNameRegex=$p,C.erasNarrowRegex=Np,C.months=dh,C.monthsShort=ch,C.monthsParse=_h,C.monthsRegex=gh,C.monthsShortRegex=fh,C.week=yh,C.firstDayOfYear=wh,C.firstDayOfWeek=bh,C.weekdays=Nh,C.weekdaysMin=Ch,C.weekdaysShort=Th,C.weekdaysParse=Lh,C.weekdaysRegex=Fh,C.weekdaysShortRegex=Uh,C.weekdaysMinRegex=Hh,C.isPM=Vh,C.meridiem=zh;function Ir(e,t,r,s){var a=Ze(),i=Oe().set(s,t);return a[r](i,e)}function Cn(e,t,r){if(Ae(e)&&(t=e,e=void 0),e=e||"",t!=null)return Ir(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=Ir(e,s,r,"month");return a}function ma(e,t,r,s){typeof e=="boolean"?(Ae(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Ae(t)&&(r=t,t=void 0),t=t||"");var a=Ze(),i=e?a._week.dow:0,n,l=[];if(r!=null)return Ir(t,(r+i)%7,s,"day");for(n=0;n<7;n++)l[n]=Ir(t,(n+i)%7,s,"day");return l}function Qp(e,t){return Cn(e,t,"months")}function Xp(e,t){return Cn(e,t,"monthsShort")}function Ip(e,t,r){return ma(e,t,r,"weekdays")}function ef(e,t,r){return ma(e,t,r,"weekdaysShort")}function tf(e,t,r){return ma(e,t,r,"weekdaysMin")}st("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=D(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),m.lang=ce("moment.lang is deprecated. Use moment.locale instead.",st),m.langData=ce("moment.langData is deprecated. Use moment.localeData instead.",Ze);var Be=Math.abs;function rf(){var e=this._data;return this._milliseconds=Be(this._milliseconds),this._days=Be(this._days),this._months=Be(this._months),e.milliseconds=Be(e.milliseconds),e.seconds=Be(e.seconds),e.minutes=Be(e.minutes),e.hours=Be(e.hours),e.months=Be(e.months),e.years=Be(e.years),this}function Pn(e,t,r,s){var a=ke(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function sf(e,t){return Pn(this,e,t,1)}function af(e,t){return Pn(this,e,t,-1)}function Ln(e){return e<0?Math.floor(e):Math.ceil(e)}function nf(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,l,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Ln(ya(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=_e(e/1e3),s.seconds=a%60,i=_e(a/60),s.minutes=i%60,n=_e(i/60),s.hours=n%24,t+=_e(n/24),u=_e(jn(t)),r+=u,t-=Ln(ya(u)),l=_e(r/12),r%=12,s.days=t,s.months=r,s.years=l,this}function jn(e){return e*4800/146097}function ya(e){return e*146097/4800}function of(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=he(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+jn(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(ya(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Je(e){return function(){return this.as(e)}}var Wn=Je("ms"),lf=Je("s"),uf=Je("m"),df=Je("h"),cf=Je("d"),hf=Je("w"),_f=Je("M"),pf=Je("Q"),ff=Je("y"),gf=Wn;function mf(){return ke(this)}function yf(e){return e=he(e),this.isValid()?this[e+"s"]():NaN}function _t(e){return function(){return this.isValid()?this._data[e]:NaN}}var vf=_t("milliseconds"),bf=_t("seconds"),wf=_t("minutes"),kf=_t("hours"),xf=_t("days"),Sf=_t("months"),Mf=_t("years");function Df(){return _e(this.days()/7)}var Ke=Math.round,Ct={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Yf(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Of(e,t,r,s){var a=ke(e).abs(),i=Ke(a.as("s")),n=Ke(a.as("m")),l=Ke(a.as("h")),u=Ke(a.as("d")),d=Ke(a.as("M")),h=Ke(a.as("w")),f=Ke(a.as("y")),c=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||l<=1&&["h"]||l<r.h&&["hh",l]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||d<=1&&["M"]||d<r.M&&["MM",d]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=s,Yf.apply(null,c)}function $f(e){return e===void 0?Ke:typeof e=="function"?(Ke=e,!0):!1}function Rf(e,t){return Ct[e]===void 0?!1:t===void 0?Ct[e]:(Ct[e]=t,e==="s"&&(Ct.ss=t-1),!0)}function Nf(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=Ct,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},Ct,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Of(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var va=Math.abs;function Pt(e){return(e>0)-(e<0)||+e}function es(){if(!this.isValid())return this.localeData().invalidDate();var e=va(this._milliseconds)/1e3,t=va(this._days),r=va(this._months),s,a,i,n,l=this.asSeconds(),u,d,h,f;return l?(s=_e(e/60),a=_e(s/60),e%=60,s%=60,i=_e(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=Pt(this._months)!==Pt(l)?"-":"",h=Pt(this._days)!==Pt(l)?"-":"",f=Pt(this._milliseconds)!==Pt(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(t?h+t+"D":"")+(a||s||e?"T":"")+(a?f+a+"H":"")+(s?f+s+"M":"")+(e?f+n+"S":"")):"P0D"}var O=Zr.prototype;O.isValid=x_,O.abs=rf,O.add=sf,O.subtract=af,O.as=of,O.asMilliseconds=Wn,O.asSeconds=lf,O.asMinutes=uf,O.asHours=df,O.asDays=cf,O.asWeeks=hf,O.asMonths=_f,O.asQuarters=pf,O.asYears=ff,O.valueOf=gf,O._bubble=nf,O.clone=mf,O.get=yf,O.milliseconds=vf,O.seconds=bf,O.minutes=wf,O.hours=kf,O.days=xf,O.weeks=Df,O.months=Sf,O.years=Mf,O.humanize=Nf,O.toISOString=es,O.toString=es,O.toJSON=es,O.locale=xn,O.localeData=Mn,O.toIsoString=ce("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",es),O.lang=Sn,k("X",0,0,"unix"),k("x",0,0,"valueOf"),b("x",Ur),b("X",Qc),j("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),j("x",function(e,t,r){r._d=new Date(D(e))});//! moment.js
|
|
19
|
-
m.version="2.30.1",
|
|
20
|
-
`+Object.entries(e).filter(([,s])=>s>0).map(([s,a])=>{if(a===0)return;if(s==="xp"||s==="berry")return`- ${
|
|
18
|
+
`+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var zi={};function Zi(e,t){m.deprecationHandler!=null&&m.deprecationHandler(e,t),zi[e]||(Gi(t),zi[e]=!0)}m.suppressDeprecationWarnings=!1,m.deprecationHandler=null;function Ne(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Lc(e){var t,r;for(r in e)C(e,r)&&(t=e[r],Ne(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Bs(e,t){var r=rt({},e),s;for(s in t)C(t,s)&&(dt(e[s])&&dt(t[s])?(r[s]={},rt(r[s],e[s]),rt(r[s],t[s])):t[s]!=null?r[s]=t[s]:delete r[s]);for(s in e)C(e,s)&&!C(t,s)&&dt(e[s])&&(r[s]=rt({},r[s]));return r}function Js(e){e!=null&&this.set(e)}var Ks;Object.keys?Ks=Object.keys:Ks=function(e){var t,r=[];for(t in e)C(e,t)&&r.push(t);return r};var jc={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Wc(e,t,r){var s=this._calendar[e]||this._calendar.sameElse;return Ne(s)?s.call(t,r):s}function Te(e,t,r){var s=""+Math.abs(e),a=t-s.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+s}var Qs=/(\[[^\[]*\])|(\\)?([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,jr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Xs={},Dt={};function k(e,t,r,s){var a=s;typeof s=="string"&&(a=function(){return this[s]()}),e&&(Dt[e]=a),t&&(Dt[t[0]]=function(){return Te(a.apply(this,arguments),t[1],t[2])}),r&&(Dt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Ec(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Fc(e){var t=e.match(Qs),r,s;for(r=0,s=t.length;r<s;r++)Dt[t[r]]?t[r]=Dt[t[r]]:t[r]=Ec(t[r]);return function(a){var i="",n;for(n=0;n<s;n++)i+=Ne(t[n])?t[n].call(a,e):t[n];return i}}function Wr(e,t){return e.isValid()?(t=Bi(t,e.localeData()),Xs[t]=Xs[t]||Fc(t),Xs[t](e)):e.localeData().invalidDate()}function Bi(e,t){var r=5;function s(a){return t.longDateFormat(a)||a}for(jr.lastIndex=0;r>=0&&jr.test(e);)e=e.replace(jr,s),jr.lastIndex=0,r-=1;return e}var Uc={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Hc(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(Qs).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var Ac="Invalid date";function Vc(){return this._invalidDate}var qc="%d",Gc=/\d{1,2}/;function zc(e){return this._ordinal.replace("%d",e)}var Zc={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Bc(e,t,r,s){var a=this._relativeTime[r];return Ne(a)?a(e,t,r,s):a.replace(/%d/i,e)}function Jc(e,t){var r=this._relativeTime[e>0?"future":"past"];return Ne(r)?r(t):r.replace(/%s/i,t)}var Ji={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function _e(e){return typeof e=="string"?Ji[e]||Ji[e.toLowerCase()]:void 0}function Is(e){var t={},r,s;for(s in e)C(e,s)&&(r=_e(s),r&&(t[r]=e[s]));return t}var Kc={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Qc(e){var t=[],r;for(r in e)C(e,r)&&t.push({unit:r,priority:Kc[r]});return t.sort(function(s,a){return s.priority-a.priority}),t}var Ki=/\d/,ne=/\d\d/,Qi=/\d{3}/,ea=/\d{4}/,Er=/[+-]?\d{6}/,H=/\d\d?/,Xi=/\d\d\d\d?/,Ii=/\d\d\d\d\d\d?/,Fr=/\d{1,3}/,ta=/\d{1,4}/,Ur=/[+-]?\d{1,6}/,Yt=/\d+/,Hr=/[+-]?\d+/,Xc=/Z|[+-]\d\d:?\d\d/gi,Ar=/Z|[+-]\d\d(?::?\d\d)?/gi,Ic=/[+-]?\d+(\.\d{1,3})?/,Kt=/[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,Ot=/^[1-9]\d?/,ra=/^([1-9]\d|\d)/,Vr;Vr={};function b(e,t,r){Vr[e]=Ne(t)?t:function(s,a){return s&&r?r:t}}function eh(e,t){return C(Vr,e)?Vr[e](t._strict,t._locale):new RegExp(th(e))}function th(e){return Ge(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,s,a,i){return r||s||a||i}))}function Ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function pe(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Y(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=pe(t)),r}var sa={};function W(e,t){var r,s=t,a;for(typeof e=="string"&&(e=[e]),qe(t)&&(s=function(i,n){n[t]=Y(i)}),a=e.length,r=0;r<a;r++)sa[e[r]]=s}function Qt(e,t){W(e,function(r,s,a,i){a._w=a._w||{},t(r,a._w,a,i)})}function rh(e,t,r){t!=null&&C(sa,e)&&sa[e](t,r._a,r,e)}function qr(e){return e%4===0&&e%100!==0||e%400===0}var X=0,ze=1,Ce=2,J=3,ke=4,Ze=5,ct=6,sh=7,ah=8;k("Y",0,0,function(){var e=this.year();return e<=9999?Te(e,4):"+"+e}),k(0,["YY",2],0,function(){return this.year()%100}),k(0,["YYYY",4],0,"year"),k(0,["YYYYY",5],0,"year"),k(0,["YYYYYY",6,!0],0,"year"),b("Y",Hr),b("YY",H,ne),b("YYYY",ta,ea),b("YYYYY",Ur,Er),b("YYYYYY",Ur,Er),W(["YYYYY","YYYYYY"],X),W("YYYY",function(e,t){t[X]=e.length===2?m.parseTwoDigitYear(e):Y(e)}),W("YY",function(e,t){t[X]=m.parseTwoDigitYear(e)}),W("Y",function(e,t){t[X]=parseInt(e,10)});function Xt(e){return qr(e)?366:365}m.parseTwoDigitYear=function(e){return Y(e)+(Y(e)>68?1900:2e3)};var en=$t("FullYear",!0);function ih(){return qr(this.year())}function $t(e,t){return function(r){return r!=null?(tn(this,e,r),m.updateOffset(this,t),this):It(this,e)}}function It(e,t){if(!e.isValid())return NaN;var r=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return s?r.getUTCSeconds():r.getSeconds();case"Minutes":return s?r.getUTCMinutes():r.getMinutes();case"Hours":return s?r.getUTCHours():r.getHours();case"Date":return s?r.getUTCDate():r.getDate();case"Day":return s?r.getUTCDay():r.getDay();case"Month":return s?r.getUTCMonth():r.getMonth();case"FullYear":return s?r.getUTCFullYear():r.getFullYear();default:return NaN}}function tn(e,t,r){var s,a,i,n,l;if(!(!e.isValid()||isNaN(r))){switch(s=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?s.setUTCMilliseconds(r):s.setMilliseconds(r));case"Seconds":return void(a?s.setUTCSeconds(r):s.setSeconds(r));case"Minutes":return void(a?s.setUTCMinutes(r):s.setMinutes(r));case"Hours":return void(a?s.setUTCHours(r):s.setHours(r));case"Date":return void(a?s.setUTCDate(r):s.setDate(r));case"FullYear":break;default:return}i=r,n=e.month(),l=e.date(),l=l===29&&n===1&&!qr(i)?28:l,a?s.setUTCFullYear(i,n,l):s.setFullYear(i,n,l)}}function nh(e){return e=_e(e),Ne(this[e])?this[e]():this}function oh(e,t){if(typeof e=="object"){e=Is(e);var r=Qc(e),s,a=r.length;for(s=0;s<a;s++)this[r[s].unit](e[r[s].unit])}else if(e=_e(e),Ne(this[e]))return this[e](t);return this}function lh(e,t){return(e%t+t)%t}var z;Array.prototype.indexOf?z=Array.prototype.indexOf:z=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function aa(e,t){if(isNaN(e)||isNaN(t))return NaN;var r=lh(t,12);return e+=(t-r)/12,r===1?qr(e)?29:28:31-r%7%2}k("M",["MM",2],"Mo",function(){return this.month()+1}),k("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),k("MMMM",0,0,function(e){return this.localeData().months(this,e)}),b("M",H,Ot),b("MM",H,ne),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[ze]=Y(e)-1}),W(["MMM","MMMM"],function(e,t,r,s){var a=r._locale.monthsParse(e,s,r._strict);a!=null?t[ze]=a:M(r).invalidMonth=e});var uh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),rn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),sn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,dh=Kt,ch=Kt;function hh(e,t){return e?be(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||sn).test(t)?"format":"standalone"][e.month()]:be(this._months)?this._months:this._months.standalone}function _h(e,t){return e?be(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[sn.test(t)?"format":"standalone"][e.month()]:be(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ph(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)i=Re([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(i,"").toLocaleLowerCase();return r?t==="MMM"?(a=z.call(this._shortMonthsParse,n),a!==-1?a:null):(a=z.call(this._longMonthsParse,n),a!==-1?a:null):t==="MMM"?(a=z.call(this._shortMonthsParse,n),a!==-1?a:(a=z.call(this._longMonthsParse,n),a!==-1?a:null)):(a=z.call(this._longMonthsParse,n),a!==-1?a:(a=z.call(this._shortMonthsParse,n),a!==-1?a:null))}function fh(e,t,r){var s,a,i;if(this._monthsParseExact)return ph.call(this,e,t,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(a=Re([2e3,s]),r&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[s]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="MMMM"&&this._longMonthsParse[s].test(e)||r&&t==="MMM"&&this._shortMonthsParse[s].test(e)||!r&&this._monthsParse[s].test(e))return s}function an(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=Y(t);else if(t=e.localeData().monthsParse(t),!qe(t))return e}var r=t,s=e.date();return s=s<29?s:Math.min(s,aa(e.year(),r)),e._isUTC?e._d.setUTCMonth(r,s):e._d.setMonth(r,s),e}function nn(e){return e!=null?(an(this,e),m.updateOffset(this,!0),this):It(this,"Month")}function gh(){return aa(this.year(),this.month())}function mh(e){return this._monthsParseExact?(C(this,"_monthsRegex")||on.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(C(this,"_monthsShortRegex")||(this._monthsShortRegex=dh),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function yh(e){return this._monthsParseExact?(C(this,"_monthsRegex")||on.call(this),e?this._monthsStrictRegex:this._monthsRegex):(C(this,"_monthsRegex")||(this._monthsRegex=ch),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function on(){function e(u,d){return d.length-u.length}var t=[],r=[],s=[],a,i,n,l;for(a=0;a<12;a++)i=Re([2e3,a]),n=Ge(this.monthsShort(i,"")),l=Ge(this.months(i,"")),t.push(n),r.push(l),s.push(l),s.push(n);t.sort(e),r.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function vh(e,t,r,s,a,i,n){var l;return e<100&&e>=0?(l=new Date(e+400,t,r,s,a,i,n),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,r,s,a,i,n),l}function er(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Gr(e,t,r){var s=7+t-r,a=(7+er(e,0,s).getUTCDay()-t)%7;return-a+s-1}function ln(e,t,r,s,a){var i=(7+r-s)%7,n=Gr(e,s,a),l=1+7*(t-1)+i+n,u,d;return l<=0?(u=e-1,d=Xt(u)+l):l>Xt(e)?(u=e+1,d=l-Xt(e)):(u=e,d=l),{year:u,dayOfYear:d}}function tr(e,t,r){var s=Gr(e.year(),t,r),a=Math.floor((e.dayOfYear()-s-1)/7)+1,i,n;return a<1?(n=e.year()-1,i=a+Be(n,t,r)):a>Be(e.year(),t,r)?(i=a-Be(e.year(),t,r),n=e.year()+1):(n=e.year(),i=a),{week:i,year:n}}function Be(e,t,r){var s=Gr(e,t,r),a=Gr(e+1,t,r);return(Xt(e)-s+a)/7}k("w",["ww",2],"wo","week"),k("W",["WW",2],"Wo","isoWeek"),b("w",H,Ot),b("ww",H,ne),b("W",H,Ot),b("WW",H,ne),Qt(["w","ww","W","WW"],function(e,t,r,s){t[s.substr(0,1)]=Y(e)});function bh(e){return tr(e,this._week.dow,this._week.doy).week}var wh={dow:0,doy:6};function kh(){return this._week.dow}function xh(){return this._week.doy}function Sh(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Mh(e){var t=tr(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}k("d",0,"do","day"),k("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),k("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),k("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),k("e",0,0,"weekday"),k("E",0,0,"isoWeekday"),b("d",H),b("e",H),b("E",H),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)}),Qt(["dd","ddd","dddd"],function(e,t,r,s){var a=r._locale.weekdaysParse(e,s,r._strict);a!=null?t.d=a:M(r).invalidWeekday=e}),Qt(["d","e","E"],function(e,t,r,s){t[s]=Y(e)});function Dh(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Yh(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ia(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Oh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),un="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$h="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rh=Kt,Nh=Kt,Th=Kt;function Ch(e,t){var r=be(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ia(r,this._week.dow):e?r[e.day()]:r}function Ph(e){return e===!0?ia(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Lh(e){return e===!0?ia(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function jh(e,t,r){var s,a,i,n=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)i=Re([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=z.call(this._weekdaysParse,n),a!==-1?a:null):t==="ddd"?(a=z.call(this._shortWeekdaysParse,n),a!==-1?a:null):(a=z.call(this._minWeekdaysParse,n),a!==-1?a:null):t==="dddd"?(a=z.call(this._weekdaysParse,n),a!==-1||(a=z.call(this._shortWeekdaysParse,n),a!==-1)?a:(a=z.call(this._minWeekdaysParse,n),a!==-1?a:null)):t==="ddd"?(a=z.call(this._shortWeekdaysParse,n),a!==-1||(a=z.call(this._weekdaysParse,n),a!==-1)?a:(a=z.call(this._minWeekdaysParse,n),a!==-1?a:null)):(a=z.call(this._minWeekdaysParse,n),a!==-1||(a=z.call(this._weekdaysParse,n),a!==-1)?a:(a=z.call(this._shortWeekdaysParse,n),a!==-1?a:null))}function Wh(e,t,r){var s,a,i;if(this._weekdaysParseExact)return jh.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(a=Re([2e3,1]).day(s),r&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[s]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[s].test(e)||r&&t==="ddd"&&this._shortWeekdaysParse[s].test(e)||r&&t==="dd"&&this._minWeekdaysParse[s].test(e)||!r&&this._weekdaysParse[s].test(e))return s}function Eh(e){if(!this.isValid())return e!=null?this:NaN;var t=It(this,"Day");return e!=null?(e=Dh(e,this.localeData()),this.add(e-t,"d")):t}function Fh(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Uh(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Yh(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Hh(e){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||na.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(C(this,"_weekdaysRegex")||(this._weekdaysRegex=Rh),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ah(e){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||na.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(C(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nh),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Vh(e){return this._weekdaysParseExact?(C(this,"_weekdaysRegex")||na.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(C(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Th),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function na(){function e(h,f){return f.length-h.length}var t=[],r=[],s=[],a=[],i,n,l,u,d;for(i=0;i<7;i++)n=Re([2e3,1]).day(i),l=Ge(this.weekdaysMin(n,"")),u=Ge(this.weekdaysShort(n,"")),d=Ge(this.weekdays(n,"")),t.push(l),r.push(u),s.push(d),a.push(l),a.push(u),a.push(d);t.sort(e),r.sort(e),s.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function oa(){return this.hours()%12||12}function qh(){return this.hours()||24}k("H",["HH",2],0,"hour"),k("h",["hh",2],0,oa),k("k",["kk",2],0,qh),k("hmm",0,0,function(){return""+oa.apply(this)+Te(this.minutes(),2)}),k("hmmss",0,0,function(){return""+oa.apply(this)+Te(this.minutes(),2)+Te(this.seconds(),2)}),k("Hmm",0,0,function(){return""+this.hours()+Te(this.minutes(),2)}),k("Hmmss",0,0,function(){return""+this.hours()+Te(this.minutes(),2)+Te(this.seconds(),2)});function dn(e,t){k(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}dn("a",!0),dn("A",!1);function cn(e,t){return t._meridiemParse}b("a",cn),b("A",cn),b("H",H,ra),b("h",H,Ot),b("k",H,Ot),b("HH",H,ne),b("hh",H,ne),b("kk",H,ne),b("hmm",Xi),b("hmmss",Ii),b("Hmm",Xi),b("Hmmss",Ii),W(["H","HH"],J),W(["k","kk"],function(e,t,r){var s=Y(e);t[J]=s===24?0:s}),W(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e}),W(["h","hh"],function(e,t,r){t[J]=Y(e),M(r).bigHour=!0}),W("hmm",function(e,t,r){var s=e.length-2;t[J]=Y(e.substr(0,s)),t[ke]=Y(e.substr(s)),M(r).bigHour=!0}),W("hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[J]=Y(e.substr(0,s)),t[ke]=Y(e.substr(s,2)),t[Ze]=Y(e.substr(a)),M(r).bigHour=!0}),W("Hmm",function(e,t,r){var s=e.length-2;t[J]=Y(e.substr(0,s)),t[ke]=Y(e.substr(s))}),W("Hmmss",function(e,t,r){var s=e.length-4,a=e.length-2;t[J]=Y(e.substr(0,s)),t[ke]=Y(e.substr(s,2)),t[Ze]=Y(e.substr(a))});function Gh(e){return(e+"").toLowerCase().charAt(0)==="p"}var zh=/[ap]\.?m?\.?/i,Zh=$t("Hours",!0);function Bh(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var hn={calendar:jc,longDateFormat:Uc,invalidDate:Ac,ordinal:qc,dayOfMonthOrdinalParse:Gc,relativeTime:Zc,months:uh,monthsShort:rn,week:wh,weekdays:Oh,weekdaysMin:$h,weekdaysShort:un,meridiemParse:zh},q={},rr={},sr;function Jh(e,t){var r,s=Math.min(e.length,t.length);for(r=0;r<s;r+=1)if(e[r]!==t[r])return r;return s}function _n(e){return e&&e.toLowerCase().replace("_","-")}function Kh(e){for(var t=0,r,s,a,i;t<e.length;){for(i=_n(e[t]).split("-"),r=i.length,s=_n(e[t+1]),s=s?s.split("-"):null;r>0;){if(a=zr(i.slice(0,r).join("-")),a)return a;if(s&&s.length>=r&&Jh(i,s)>=r-1)break;r--}t++}return sr}function Qh(e){return!!(e&&e.match("^[^/\\\\]*$"))}function zr(e){var t=null,r;if(q[e]===void 0&&typeof module<"u"&&module&&module.exports&&Qh(e))try{t=sr._abbr,r=require,r("./locale/"+e),st(t)}catch{q[e]=null}return q[e]}function st(e,t){var r;return e&&(ae(t)?r=Je(e):r=la(e,t),r?sr=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sr._abbr}function la(e,t){if(t!==null){var r,s=hn;if(t.abbr=e,q[e]!=null)Zi("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),s=q[e]._config;else if(t.parentLocale!=null)if(q[t.parentLocale]!=null)s=q[t.parentLocale]._config;else if(r=zr(t.parentLocale),r!=null)s=r._config;else return rr[t.parentLocale]||(rr[t.parentLocale]=[]),rr[t.parentLocale].push({name:e,config:t}),null;return q[e]=new Js(Bs(s,t)),rr[e]&&rr[e].forEach(function(a){la(a.name,a.config)}),st(e),q[e]}else return delete q[e],null}function Xh(e,t){if(t!=null){var r,s,a=hn;q[e]!=null&&q[e].parentLocale!=null?q[e].set(Bs(q[e]._config,t)):(s=zr(e),s!=null&&(a=s._config),t=Bs(a,t),s==null&&(t.abbr=e),r=new Js(t),r.parentLocale=q[e],q[e]=r),st(e)}else q[e]!=null&&(q[e].parentLocale!=null?(q[e]=q[e].parentLocale,e===st()&&st(e)):q[e]!=null&&delete q[e]);return q[e]}function Je(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sr;if(!be(e)){if(t=zr(e),t)return t;e=[e]}return Kh(e)}function Ih(){return Ks(q)}function ua(e){var t,r=e._a;return r&&M(e).overflow===-2&&(t=r[ze]<0||r[ze]>11?ze:r[Ce]<1||r[Ce]>aa(r[X],r[ze])?Ce:r[J]<0||r[J]>24||r[J]===24&&(r[ke]!==0||r[Ze]!==0||r[ct]!==0)?J:r[ke]<0||r[ke]>59?ke:r[Ze]<0||r[Ze]>59?Ze:r[ct]<0||r[ct]>999?ct:-1,M(e)._overflowDayOfYear&&(t<X||t>Ce)&&(t=Ce),M(e)._overflowWeeks&&t===-1&&(t=sh),M(e)._overflowWeekday&&t===-1&&(t=ah),M(e).overflow=t),e}var e_=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,t_=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,r_=/Z|[+-]\d\d(?::?\d\d)?/,Zr=[["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]],da=[["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/]],s_=/^\/?Date\((-?\d+)/i,a_=/^(?:(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}))$/,i_={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function pn(e){var t,r,s=e._i,a=e_.exec(s)||t_.exec(s),i,n,l,u,d=Zr.length,h=da.length;if(a){for(M(e).iso=!0,t=0,r=d;t<r;t++)if(Zr[t][1].exec(a[1])){n=Zr[t][0],i=Zr[t][2]!==!1;break}if(n==null){e._isValid=!1;return}if(a[3]){for(t=0,r=h;t<r;t++)if(da[t][1].exec(a[3])){l=(a[2]||" ")+da[t][0];break}if(l==null){e._isValid=!1;return}}if(!i&&l!=null){e._isValid=!1;return}if(a[4])if(r_.exec(a[4]))u="Z";else{e._isValid=!1;return}e._f=n+(l||"")+(u||""),ha(e)}else e._isValid=!1}function n_(e,t,r,s,a,i){var n=[o_(e),rn.indexOf(t),parseInt(r,10),parseInt(s,10),parseInt(a,10)];return i&&n.push(parseInt(i,10)),n}function o_(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function l_(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function u_(e,t,r){if(e){var s=un.indexOf(e),a=new Date(t[0],t[1],t[2]).getDay();if(s!==a)return M(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function d_(e,t,r){if(e)return i_[e];if(t)return 0;var s=parseInt(r,10),a=s%100,i=(s-a)/100;return i*60+a}function fn(e){var t=a_.exec(l_(e._i)),r;if(t){if(r=n_(t[4],t[3],t[2],t[5],t[6],t[7]),!u_(t[1],r,e))return;e._a=r,e._tzm=d_(t[8],t[9],t[10]),e._d=er.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),M(e).rfc2822=!0}else e._isValid=!1}function c_(e){var t=s_.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(pn(e),e._isValid===!1)delete e._isValid;else return;if(fn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:m.createFromInputFallback(e)}m.createFromInputFallback=he("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Rt(e,t,r){return e??t??r}function h_(e){var t=new Date(m.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ca(e){var t,r,s=[],a,i,n;if(!e._d){for(a=h_(e),e._w&&e._a[Ce]==null&&e._a[ze]==null&&__(e),e._dayOfYear!=null&&(n=Rt(e._a[X],a[X]),(e._dayOfYear>Xt(n)||e._dayOfYear===0)&&(M(e)._overflowDayOfYear=!0),r=er(n,0,e._dayOfYear),e._a[ze]=r.getUTCMonth(),e._a[Ce]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=a[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[J]===24&&e._a[ke]===0&&e._a[Ze]===0&&e._a[ct]===0&&(e._nextDay=!0,e._a[J]=0),e._d=(e._useUTC?er:vh).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[J]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(M(e).weekdayMismatch=!0)}}function __(e){var t,r,s,a,i,n,l,u,d;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,n=4,r=Rt(t.GG,e._a[X],tr(A(),1,4).year),s=Rt(t.W,1),a=Rt(t.E,1),(a<1||a>7)&&(u=!0)):(i=e._locale._week.dow,n=e._locale._week.doy,d=tr(A(),i,n),r=Rt(t.gg,e._a[X],d.year),s=Rt(t.w,d.week),t.d!=null?(a=t.d,(a<0||a>6)&&(u=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(u=!0)):a=i),s<1||s>Be(r,i,n)?M(e)._overflowWeeks=!0:u!=null?M(e)._overflowWeekday=!0:(l=ln(r,s,a,i,n),e._a[X]=l.year,e._dayOfYear=l.dayOfYear)}m.ISO_8601=function(){},m.RFC_2822=function(){};function ha(e){if(e._f===m.ISO_8601){pn(e);return}if(e._f===m.RFC_2822){fn(e);return}e._a=[],M(e).empty=!0;var t=""+e._i,r,s,a,i,n,l=t.length,u=0,d,h;for(a=Bi(e._f,e._locale).match(Qs)||[],h=a.length,r=0;r<h;r++)i=a[r],s=(t.match(eh(i,e))||[])[0],s&&(n=t.substr(0,t.indexOf(s)),n.length>0&&M(e).unusedInput.push(n),t=t.slice(t.indexOf(s)+s.length),u+=s.length),Dt[i]?(s?M(e).empty=!1:M(e).unusedTokens.push(i),rh(i,s,e)):e._strict&&!s&&M(e).unusedTokens.push(i);M(e).charsLeftOver=l-u,t.length>0&&M(e).unusedInput.push(t),e._a[J]<=12&&M(e).bigHour===!0&&e._a[J]>0&&(M(e).bigHour=void 0),M(e).parsedDateParts=e._a.slice(0),M(e).meridiem=e._meridiem,e._a[J]=p_(e._locale,e._a[J],e._meridiem),d=M(e).era,d!==null&&(e._a[X]=e._locale.erasConvertYear(d,e._a[X])),ca(e),ua(e)}function p_(e,t,r){var s;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(s=e.isPM(r),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function f_(e){var t,r,s,a,i,n,l=!1,u=e._f.length;if(u===0){M(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;a<u;a++)i=0,n=!1,t=Zs({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[a],ha(t),Gs(t)&&(n=!0),i+=M(t).charsLeftOver,i+=M(t).unusedTokens.length*10,M(t).score=i,l?i<s&&(s=i,r=t):(s==null||i<s||n)&&(s=i,r=t,n&&(l=!0));rt(e,r||t)}function g_(e){if(!e._d){var t=Is(e._i),r=t.day===void 0?t.date:t.day;e._a=Vi([t.year,t.month,r,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),ca(e)}}function m_(e){var t=new Jt(ua(gn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function gn(e){var t=e._i,r=e._f;return e._locale=e._locale||Je(e._l),t===null||r===void 0&&t===""?Lr({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),we(t)?new Jt(ua(t)):(Bt(t)?e._d=t:be(r)?f_(e):r?ha(e):y_(e),Gs(e)||(e._d=null),e))}function y_(e){var t=e._i;ae(t)?e._d=new Date(m.now()):Bt(t)?e._d=new Date(t.valueOf()):typeof t=="string"?c_(e):be(t)?(e._a=Vi(t.slice(0),function(r){return parseInt(r,10)}),ca(e)):dt(t)?g_(e):qe(t)?e._d=new Date(t):m.createFromInputFallback(e)}function mn(e,t,r,s,a){var i={};return(t===!0||t===!1)&&(s=t,t=void 0),(r===!0||r===!1)&&(s=r,r=void 0),(dt(e)&&Vs(e)||be(e)&&e.length===0)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=e,i._f=t,i._strict=s,m_(i)}function A(e,t,r,s){return mn(e,t,r,s,!1)}var v_=he("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Lr()}),b_=he("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=A.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Lr()});function yn(e,t){var r,s;if(t.length===1&&be(t[0])&&(t=t[0]),!t.length)return A();for(r=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](r))&&(r=t[s]);return r}function w_(){var e=[].slice.call(arguments,0);return yn("isBefore",e)}function k_(){var e=[].slice.call(arguments,0);return yn("isAfter",e)}var x_=function(){return Date.now?Date.now():+new Date},ar=["year","quarter","month","week","day","hour","minute","second","millisecond"];function S_(e){var t,r=!1,s,a=ar.length;for(t in e)if(C(e,t)&&!(z.call(ar,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<a;++s)if(e[ar[s]]){if(r)return!1;parseFloat(e[ar[s]])!==Y(e[ar[s]])&&(r=!0)}return!0}function M_(){return this._isValid}function D_(){return xe(NaN)}function Br(e){var t=Is(e),r=t.year||0,s=t.quarter||0,a=t.month||0,i=t.week||t.isoWeek||0,n=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,h=t.millisecond||0;this._isValid=S_(t),this._milliseconds=+h+d*1e3+u*6e4+l*1e3*60*60,this._days=+n+i*7,this._months=+a+s*3+r*12,this._data={},this._locale=Je(),this._bubble()}function Jr(e){return e instanceof Br}function _a(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Y_(e,t,r){var s=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0,n;for(n=0;n<s;n++)Y(e[n])!==Y(t[n])&&i++;return i+a}function vn(e,t){k(e,0,0,function(){var r=this.utcOffset(),s="+";return r<0&&(r=-r,s="-"),s+Te(~~(r/60),2)+t+Te(~~r%60,2)})}vn("Z",":"),vn("ZZ",""),b("Z",Ar),b("ZZ",Ar),W(["Z","ZZ"],function(e,t,r){r._useUTC=!0,r._tzm=pa(Ar,e)});var O_=/([\+\-]|\d\d)/gi;function pa(e,t){var r=(t||"").match(e),s,a,i;return r===null?null:(s=r[r.length-1]||[],a=(s+"").match(O_)||["-",0,0],i=+(a[1]*60)+Y(a[2]),i===0?0:a[0]==="+"?i:-i)}function fa(e,t){var r,s;return t._isUTC?(r=t.clone(),s=(we(e)||Bt(e)?e.valueOf():A(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+s),m.updateOffset(r,!1),r):A(e).local()}function ga(e){return-Math.round(e._d.getTimezoneOffset())}m.updateOffset=function(){};function $_(e,t,r){var s=this._offset||0,a;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=pa(Ar,e),e===null)return this}else Math.abs(e)<16&&!r&&(e=e*60);return!this._isUTC&&t&&(a=ga(this)),this._offset=e,this._isUTC=!0,a!=null&&this.add(a,"m"),s!==e&&(!t||this._changeInProgress?xn(this,xe(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,m.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:ga(this)}function R_(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function N_(e){return this.utcOffset(0,e)}function T_(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(ga(this),"m")),this}function C_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=pa(Xc,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function P_(e){return this.isValid()?(e=e?A(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function L_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function j_(){if(!ae(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Zs(e,this),e=gn(e),e._a?(t=e._isUTC?Re(e._a):A(e._a),this._isDSTShifted=this.isValid()&&Y_(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function W_(){return this.isValid()?!this._isUTC:!1}function E_(){return this.isValid()?this._isUTC:!1}function bn(){return this.isValid()?this._isUTC&&this._offset===0:!1}var F_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,U_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xe(e,t){var r=e,s=null,a,i,n;return Jr(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:qe(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(s=F_.exec(e))?(a=s[1]==="-"?-1:1,r={y:0,d:Y(s[Ce])*a,h:Y(s[J])*a,m:Y(s[ke])*a,s:Y(s[Ze])*a,ms:Y(_a(s[ct]*1e3))*a}):(s=U_.exec(e))?(a=s[1]==="-"?-1:1,r={y:ht(s[2],a),M:ht(s[3],a),w:ht(s[4],a),d:ht(s[5],a),h:ht(s[6],a),m:ht(s[7],a),s:ht(s[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(n=H_(A(r.from),A(r.to)),r={},r.ms=n.milliseconds,r.M=n.months),i=new Br(r),Jr(e)&&C(e,"_locale")&&(i._locale=e._locale),Jr(e)&&C(e,"_isValid")&&(i._isValid=e._isValid),i}xe.fn=Br.prototype,xe.invalid=D_;function ht(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function wn(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function H_(e,t){var r;return e.isValid()&&t.isValid()?(t=fa(t,e),e.isBefore(t)?r=wn(e,t):(r=wn(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function kn(e,t){return function(r,s){var a,i;return s!==null&&!isNaN(+s)&&(Zi(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=s,s=i),a=xe(r,s),xn(this,a,e),this}}function xn(e,t,r,s){var a=t._milliseconds,i=_a(t._days),n=_a(t._months);e.isValid()&&(s=s??!0,n&&an(e,It(e,"Month")+n*r),i&&tn(e,"Date",It(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),s&&m.updateOffset(e,i||n))}var A_=kn(1,"add"),V_=kn(-1,"subtract");function Sn(e){return typeof e=="string"||e instanceof String}function q_(e){return we(e)||Bt(e)||Sn(e)||qe(e)||z_(e)||G_(e)||e===null||e===void 0}function G_(e){var t=dt(e)&&!Vs(e),r=!1,s=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,n=s.length;for(a=0;a<n;a+=1)i=s[a],r=r||C(e,i);return t&&r}function z_(e){var t=be(e),r=!1;return t&&(r=e.filter(function(s){return!qe(s)&&Sn(e)}).length===0),t&&r}function Z_(e){var t=dt(e)&&!Vs(e),r=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<s.length;a+=1)i=s[a],r=r||C(e,i);return t&&r}function B_(e,t){var r=e.diff(t,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function J_(e,t){arguments.length===1&&(arguments[0]?q_(arguments[0])?(e=arguments[0],t=void 0):Z_(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var r=e||A(),s=fa(r,this).startOf("day"),a=m.calendarFormat(this,s)||"sameElse",i=t&&(Ne(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,A(r)))}function K_(){return new Jt(this)}function Q_(e,t){var r=we(e)?e:A(e);return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(t).valueOf()):!1}function X_(e,t){var r=we(e)?e:A(e);return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(t).valueOf()<r.valueOf()):!1}function I_(e,t,r,s){var a=we(e)?e:A(e),i=we(t)?t:A(t);return this.isValid()&&a.isValid()&&i.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(s[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function ep(e,t){var r=we(e)?e:A(e),s;return this.isValid()&&r.isValid()?(t=_e(t)||"millisecond",t==="millisecond"?this.valueOf()===r.valueOf():(s=r.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function tp(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function rp(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function sp(e,t,r){var s,a,i;if(!this.isValid())return NaN;if(s=fa(e,this),!s.isValid())return NaN;switch(a=(s.utcOffset()-this.utcOffset())*6e4,t=_e(t),t){case"year":i=Kr(this,s)/12;break;case"month":i=Kr(this,s);break;case"quarter":i=Kr(this,s)/3;break;case"second":i=(this-s)/1e3;break;case"minute":i=(this-s)/6e4;break;case"hour":i=(this-s)/36e5;break;case"day":i=(this-s-a)/864e5;break;case"week":i=(this-s-a)/6048e5;break;default:i=this-s}return r?i:pe(i)}function Kr(e,t){if(e.date()<t.date())return-Kr(t,e);var r=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(r,"months"),a,i;return t-s<0?(a=e.clone().add(r-1,"months"),i=(t-s)/(s-a)):(a=e.clone().add(r+1,"months"),i=(t-s)/(a-s)),-(r+i)||0}m.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",m.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ap(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ip(e){if(!this.isValid())return null;var t=e!==!0,r=t?this.clone().utc():this;return r.year()<0||r.year()>9999?Wr(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ne(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Wr(r,"Z")):Wr(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function np(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,s,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+s+a+i)}function op(e){e||(e=this.isUtc()?m.defaultFormatUtc:m.defaultFormat);var t=Wr(this,e);return this.localeData().postformat(t)}function lp(e,t){return this.isValid()&&(we(e)&&e.isValid()||A(e).isValid())?xe({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function up(e){return this.from(A(),e)}function dp(e,t){return this.isValid()&&(we(e)&&e.isValid()||A(e).isValid())?xe({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cp(e){return this.to(A(),e)}function Mn(e){var t;return e===void 0?this._locale._abbr:(t=Je(e),t!=null&&(this._locale=t),this)}var Dn=he("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Yn(){return this._locale}var Qr=1e3,Nt=60*Qr,Xr=60*Nt,On=(365*400+97)*24*Xr;function Tt(e,t){return(e%t+t)%t}function $n(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-On:new Date(e,t,r).valueOf()}function Rn(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-On:Date.UTC(e,t,r)}function hp(e){var t,r;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Rn:$n,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-=Tt(t+(this._isUTC?0:this.utcOffset()*Nt),Xr);break;case"minute":t=this._d.valueOf(),t-=Tt(t,Nt);break;case"second":t=this._d.valueOf(),t-=Tt(t,Qr);break}return this._d.setTime(t),m.updateOffset(this,!0),this}function _p(e){var t,r;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Rn:$n,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+=Xr-Tt(t+(this._isUTC?0:this.utcOffset()*Nt),Xr)-1;break;case"minute":t=this._d.valueOf(),t+=Nt-Tt(t,Nt)-1;break;case"second":t=this._d.valueOf(),t+=Qr-Tt(t,Qr)-1;break}return this._d.setTime(t),m.updateOffset(this,!0),this}function pp(){return this._d.valueOf()-(this._offset||0)*6e4}function fp(){return Math.floor(this.valueOf()/1e3)}function gp(){return new Date(this.valueOf())}function mp(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function yp(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function vp(){return this.isValid()?this.toISOString():null}function bp(){return Gs(this)}function wp(){return rt({},M(this))}function kp(){return M(this).overflow}function xp(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}k("N",0,0,"eraAbbr"),k("NN",0,0,"eraAbbr"),k("NNN",0,0,"eraAbbr"),k("NNNN",0,0,"eraName"),k("NNNNN",0,0,"eraNarrow"),k("y",["y",1],"yo","eraYear"),k("y",["yy",2],0,"eraYear"),k("y",["yyy",3],0,"eraYear"),k("y",["yyyy",4],0,"eraYear"),b("N",ma),b("NN",ma),b("NNN",ma),b("NNNN",Pp),b("NNNNN",Lp),W(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,s){var a=r._locale.erasParse(e,s,r._strict);a?M(r).era=a:M(r).invalidEra=e}),b("y",Yt),b("yy",Yt),b("yyy",Yt),b("yyyy",Yt),b("yo",jp),W(["y","yy","yyy","yyyy"],X),W(["yo"],function(e,t,r,s){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[X]=r._locale.eraYearOrdinalParse(e,a):t[X]=parseInt(e,10)});function Sp(e,t){var r,s,a,i=this._eras||Je("en")._eras;for(r=0,s=i.length;r<s;++r){switch(typeof i[r].since){case"string":a=m(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=m(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function Mp(e,t,r){var s,a,i=this.eras(),n,l,u;for(e=e.toUpperCase(),s=0,a=i.length;s<a;++s)if(n=i[s].name.toUpperCase(),l=i[s].abbr.toUpperCase(),u=i[s].narrow.toUpperCase(),r)switch(t){case"N":case"NN":case"NNN":if(l===e)return i[s];break;case"NNNN":if(n===e)return i[s];break;case"NNNNN":if(u===e)return i[s];break}else if([n,l,u].indexOf(e)>=0)return i[s]}function Dp(e,t){var r=e.since<=e.until?1:-1;return t===void 0?m(e.since).year():m(e.since).year()+(t-e.offset)*r}function Yp(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].name;return""}function Op(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].narrow;return""}function $p(){var e,t,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return s[e].abbr;return""}function Rp(){var e,t,r,s,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(r=a[e].since<=a[e].until?1:-1,s=this.clone().startOf("day").valueOf(),a[e].since<=s&&s<=a[e].until||a[e].until<=s&&s<=a[e].since)return(this.year()-m(a[e].since).year())*r+a[e].offset;return this.year()}function Np(e){return C(this,"_erasNameRegex")||ya.call(this),e?this._erasNameRegex:this._erasRegex}function Tp(e){return C(this,"_erasAbbrRegex")||ya.call(this),e?this._erasAbbrRegex:this._erasRegex}function Cp(e){return C(this,"_erasNarrowRegex")||ya.call(this),e?this._erasNarrowRegex:this._erasRegex}function ma(e,t){return t.erasAbbrRegex(e)}function Pp(e,t){return t.erasNameRegex(e)}function Lp(e,t){return t.erasNarrowRegex(e)}function jp(e,t){return t._eraYearOrdinalRegex||Yt}function ya(){var e=[],t=[],r=[],s=[],a,i,n,l,u,d=this.eras();for(a=0,i=d.length;a<i;++a)n=Ge(d[a].name),l=Ge(d[a].abbr),u=Ge(d[a].narrow),t.push(n),e.push(l),r.push(u),s.push(n),s.push(l),s.push(u);this._erasRegex=new RegExp("^("+s.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}k(0,["gg",2],0,function(){return this.weekYear()%100}),k(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Ir(e,t){k(0,[e,e.length],0,t)}Ir("gggg","weekYear"),Ir("ggggg","weekYear"),Ir("GGGG","isoWeekYear"),Ir("GGGGG","isoWeekYear"),b("G",Hr),b("g",Hr),b("GG",H,ne),b("gg",H,ne),b("GGGG",ta,ea),b("gggg",ta,ea),b("GGGGG",Ur,Er),b("ggggg",Ur,Er),Qt(["gggg","ggggg","GGGG","GGGGG"],function(e,t,r,s){t[s.substr(0,2)]=Y(e)}),Qt(["gg","GG"],function(e,t,r,s){t[s]=m.parseTwoDigitYear(e)});function Wp(e){return Nn.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Ep(e){return Nn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Fp(){return Be(this.year(),1,4)}function Up(){return Be(this.isoWeekYear(),1,4)}function Hp(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)}function Ap(){var e=this.localeData()._week;return Be(this.weekYear(),e.dow,e.doy)}function Nn(e,t,r,s,a){var i;return e==null?tr(this,s,a).year:(i=Be(e,s,a),t>i&&(t=i),Vp.call(this,e,t,r,s,a))}function Vp(e,t,r,s,a){var i=ln(e,t,r,s,a),n=er(i.year,0,i.dayOfYear);return this.year(n.getUTCFullYear()),this.month(n.getUTCMonth()),this.date(n.getUTCDate()),this}k("Q",0,"Qo","quarter"),b("Q",Ki),W("Q",function(e,t){t[ze]=(Y(e)-1)*3});function qp(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}k("D",["DD",2],"Do","date"),b("D",H,Ot),b("DD",H,ne),b("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),W(["D","DD"],Ce),W("Do",function(e,t){t[Ce]=Y(e.match(H)[0])});var Tn=$t("Date",!0);k("DDD",["DDDD",3],"DDDo","dayOfYear"),b("DDD",Fr),b("DDDD",Qi),W(["DDD","DDDD"],function(e,t,r){r._dayOfYear=Y(e)});function Gp(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}k("m",["mm",2],0,"minute"),b("m",H,ra),b("mm",H,ne),W(["m","mm"],ke);var zp=$t("Minutes",!1);k("s",["ss",2],0,"second"),b("s",H,ra),b("ss",H,ne),W(["s","ss"],Ze);var Zp=$t("Seconds",!1);k("S",0,0,function(){return~~(this.millisecond()/100)}),k(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),k(0,["SSS",3],0,"millisecond"),k(0,["SSSS",4],0,function(){return this.millisecond()*10}),k(0,["SSSSS",5],0,function(){return this.millisecond()*100}),k(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),k(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),k(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),k(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),b("S",Fr,Ki),b("SS",Fr,ne),b("SSS",Fr,Qi);var at,Cn;for(at="SSSS";at.length<=9;at+="S")b(at,Yt);function Bp(e,t){t[ct]=Y(("0."+e)*1e3)}for(at="S";at.length<=9;at+="S")W(at,Bp);Cn=$t("Milliseconds",!1),k("z",0,0,"zoneAbbr"),k("zz",0,0,"zoneName");function Jp(){return this._isUTC?"UTC":""}function Kp(){return this._isUTC?"Coordinated Universal Time":""}var p=Jt.prototype;p.add=A_,p.calendar=J_,p.clone=K_,p.diff=sp,p.endOf=_p,p.format=op,p.from=lp,p.fromNow=up,p.to=dp,p.toNow=cp,p.get=nh,p.invalidAt=kp,p.isAfter=Q_,p.isBefore=X_,p.isBetween=I_,p.isSame=ep,p.isSameOrAfter=tp,p.isSameOrBefore=rp,p.isValid=bp,p.lang=Dn,p.locale=Mn,p.localeData=Yn,p.max=b_,p.min=v_,p.parsingFlags=wp,p.set=oh,p.startOf=hp,p.subtract=V_,p.toArray=mp,p.toObject=yp,p.toDate=gp,p.toISOString=ip,p.inspect=np,typeof Symbol<"u"&&Symbol.for!=null&&(p[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),p.toJSON=vp,p.toString=ap,p.unix=fp,p.valueOf=pp,p.creationData=xp,p.eraName=Yp,p.eraNarrow=Op,p.eraAbbr=$p,p.eraYear=Rp,p.year=en,p.isLeapYear=ih,p.weekYear=Wp,p.isoWeekYear=Ep,p.quarter=p.quarters=qp,p.month=nn,p.daysInMonth=gh,p.week=p.weeks=Sh,p.isoWeek=p.isoWeeks=Mh,p.weeksInYear=Hp,p.weeksInWeekYear=Ap,p.isoWeeksInYear=Fp,p.isoWeeksInISOWeekYear=Up,p.date=Tn,p.day=p.days=Eh,p.weekday=Fh,p.isoWeekday=Uh,p.dayOfYear=Gp,p.hour=p.hours=Zh,p.minute=p.minutes=zp,p.second=p.seconds=Zp,p.millisecond=p.milliseconds=Cn,p.utcOffset=$_,p.utc=N_,p.local=T_,p.parseZone=C_,p.hasAlignedHourOffset=P_,p.isDST=L_,p.isLocal=W_,p.isUtcOffset=E_,p.isUtc=bn,p.isUTC=bn,p.zoneAbbr=Jp,p.zoneName=Kp,p.dates=he("dates accessor is deprecated. Use date instead.",Tn),p.months=he("months accessor is deprecated. Use month instead",nn),p.years=he("years accessor is deprecated. Use year instead",en),p.zone=he("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",R_),p.isDSTShifted=he("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",j_);function Qp(e){return A(e*1e3)}function Xp(){return A.apply(null,arguments).parseZone()}function Pn(e){return e}var P=Js.prototype;P.calendar=Wc,P.longDateFormat=Hc,P.invalidDate=Vc,P.ordinal=zc,P.preparse=Pn,P.postformat=Pn,P.relativeTime=Bc,P.pastFuture=Jc,P.set=Lc,P.eras=Sp,P.erasParse=Mp,P.erasConvertYear=Dp,P.erasAbbrRegex=Tp,P.erasNameRegex=Np,P.erasNarrowRegex=Cp,P.months=hh,P.monthsShort=_h,P.monthsParse=fh,P.monthsRegex=yh,P.monthsShortRegex=mh,P.week=bh,P.firstDayOfYear=xh,P.firstDayOfWeek=kh,P.weekdays=Ch,P.weekdaysMin=Lh,P.weekdaysShort=Ph,P.weekdaysParse=Wh,P.weekdaysRegex=Hh,P.weekdaysShortRegex=Ah,P.weekdaysMinRegex=Vh,P.isPM=Gh,P.meridiem=Bh;function es(e,t,r,s){var a=Je(),i=Re().set(s,t);return a[r](i,e)}function Ln(e,t,r){if(qe(e)&&(t=e,e=void 0),e=e||"",t!=null)return es(e,t,r,"month");var s,a=[];for(s=0;s<12;s++)a[s]=es(e,s,r,"month");return a}function va(e,t,r,s){typeof e=="boolean"?(qe(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,qe(t)&&(r=t,t=void 0),t=t||"");var a=Je(),i=e?a._week.dow:0,n,l=[];if(r!=null)return es(t,(r+i)%7,s,"day");for(n=0;n<7;n++)l[n]=es(t,(n+i)%7,s,"day");return l}function Ip(e,t){return Ln(e,t,"months")}function ef(e,t){return Ln(e,t,"monthsShort")}function tf(e,t,r){return va(e,t,r,"weekdays")}function rf(e,t,r){return va(e,t,r,"weekdaysShort")}function sf(e,t,r){return va(e,t,r,"weekdaysMin")}st("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=Y(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}}),m.lang=he("moment.lang is deprecated. Use moment.locale instead.",st),m.langData=he("moment.langData is deprecated. Use moment.localeData instead.",Je);var Ke=Math.abs;function af(){var e=this._data;return this._milliseconds=Ke(this._milliseconds),this._days=Ke(this._days),this._months=Ke(this._months),e.milliseconds=Ke(e.milliseconds),e.seconds=Ke(e.seconds),e.minutes=Ke(e.minutes),e.hours=Ke(e.hours),e.months=Ke(e.months),e.years=Ke(e.years),this}function jn(e,t,r,s){var a=xe(t,r);return e._milliseconds+=s*a._milliseconds,e._days+=s*a._days,e._months+=s*a._months,e._bubble()}function nf(e,t){return jn(this,e,t,1)}function of(e,t){return jn(this,e,t,-1)}function Wn(e){return e<0?Math.floor(e):Math.ceil(e)}function lf(){var e=this._milliseconds,t=this._days,r=this._months,s=this._data,a,i,n,l,u;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=Wn(ba(r)+t)*864e5,t=0,r=0),s.milliseconds=e%1e3,a=pe(e/1e3),s.seconds=a%60,i=pe(a/60),s.minutes=i%60,n=pe(i/60),s.hours=n%24,t+=pe(n/24),u=pe(En(t)),r+=u,t-=Wn(ba(u)),l=pe(r/12),r%=12,s.days=t,s.months=r,s.years=l,this}function En(e){return e*4800/146097}function ba(e){return e*146097/4800}function uf(e){if(!this.isValid())return NaN;var t,r,s=this._milliseconds;if(e=_e(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,r=this._months+En(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(ba(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return t*24+s/36e5;case"minute":return t*1440+s/6e4;case"second":return t*86400+s/1e3;case"millisecond":return Math.floor(t*864e5)+s;default:throw new Error("Unknown unit "+e)}}function Qe(e){return function(){return this.as(e)}}var Fn=Qe("ms"),df=Qe("s"),cf=Qe("m"),hf=Qe("h"),_f=Qe("d"),pf=Qe("w"),ff=Qe("M"),gf=Qe("Q"),mf=Qe("y"),yf=Fn;function vf(){return xe(this)}function bf(e){return e=_e(e),this.isValid()?this[e+"s"]():NaN}function _t(e){return function(){return this.isValid()?this._data[e]:NaN}}var wf=_t("milliseconds"),kf=_t("seconds"),xf=_t("minutes"),Sf=_t("hours"),Mf=_t("days"),Df=_t("months"),Yf=_t("years");function Of(){return pe(this.days()/7)}var Xe=Math.round,Ct={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function $f(e,t,r,s,a){return a.relativeTime(t||1,!!r,e,s)}function Rf(e,t,r,s){var a=xe(e).abs(),i=Xe(a.as("s")),n=Xe(a.as("m")),l=Xe(a.as("h")),u=Xe(a.as("d")),d=Xe(a.as("M")),h=Xe(a.as("w")),f=Xe(a.as("y")),c=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||n<=1&&["m"]||n<r.m&&["mm",n]||l<=1&&["h"]||l<r.h&&["hh",l]||u<=1&&["d"]||u<r.d&&["dd",u];return r.w!=null&&(c=c||h<=1&&["w"]||h<r.w&&["ww",h]),c=c||d<=1&&["M"]||d<r.M&&["MM",d]||f<=1&&["y"]||["yy",f],c[2]=t,c[3]=+e>0,c[4]=s,$f.apply(null,c)}function Nf(e){return e===void 0?Xe:typeof e=="function"?(Xe=e,!0):!1}function Tf(e,t){return Ct[e]===void 0?!1:t===void 0?Ct[e]:(Ct[e]=t,e==="s"&&(Ct.ss=t-1),!0)}function Cf(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,s=Ct,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(s=Object.assign({},Ct,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),a=this.localeData(),i=Rf(this,!r,s,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var wa=Math.abs;function Pt(e){return(e>0)-(e<0)||+e}function ts(){if(!this.isValid())return this.localeData().invalidDate();var e=wa(this._milliseconds)/1e3,t=wa(this._days),r=wa(this._months),s,a,i,n,l=this.asSeconds(),u,d,h,f;return l?(s=pe(e/60),a=pe(s/60),e%=60,s%=60,i=pe(r/12),r%=12,n=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=l<0?"-":"",d=Pt(this._months)!==Pt(l)?"-":"",h=Pt(this._days)!==Pt(l)?"-":"",f=Pt(this._milliseconds)!==Pt(l)?"-":"",u+"P"+(i?d+i+"Y":"")+(r?d+r+"M":"")+(t?h+t+"D":"")+(a||s||e?"T":"")+(a?f+a+"H":"")+(s?f+s+"M":"")+(e?f+n+"S":"")):"P0D"}var $=Br.prototype;$.isValid=M_,$.abs=af,$.add=nf,$.subtract=of,$.as=uf,$.asMilliseconds=Fn,$.asSeconds=df,$.asMinutes=cf,$.asHours=hf,$.asDays=_f,$.asWeeks=pf,$.asMonths=ff,$.asQuarters=gf,$.asYears=mf,$.valueOf=yf,$._bubble=lf,$.clone=vf,$.get=bf,$.milliseconds=wf,$.seconds=kf,$.minutes=xf,$.hours=Sf,$.days=Mf,$.weeks=Of,$.months=Df,$.years=Yf,$.humanize=Cf,$.toISOString=ts,$.toString=ts,$.toJSON=ts,$.locale=Mn,$.localeData=Yn,$.toIsoString=he("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ts),$.lang=Dn,k("X",0,0,"unix"),k("x",0,0,"valueOf"),b("x",Hr),b("X",Ic),W("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)}),W("x",function(e,t,r){r._d=new Date(Y(e))});//! moment.js
|
|
19
|
+
m.version="2.30.1",Cc(A),m.fn=p,m.min=w_,m.max=k_,m.now=x_,m.utc=Re,m.unix=Qp,m.months=Ip,m.isDate=Bt,m.locale=st,m.invalid=Lr,m.duration=xe,m.isMoment=we,m.weekdays=tf,m.parseZone=Xp,m.localeData=Je,m.isDuration=Jr,m.monthsShort=ef,m.weekdaysMin=sf,m.defineLocale=la,m.updateLocale=Xh,m.locales=Ih,m.weekdaysShort=rf,m.normalizeUnits=_e,m.relativeTimeRounding=Nf,m.relativeTimeThreshold=Tf,m.calendarFormat=B_,m.prototype=p,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"};const Pf=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,Lf=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Un=/(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,ka=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],jf={months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:Un,monthsShortRegex:Un,monthsStrictRegex:Pf,monthsShortStrictRegex:Lf,monthsParse:ka,longMonthsParse:ka,shortMonthsParse:ka,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:(e,t)=>{switch(t){case"D":return e+(e===1?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(e===1?"er":"e");case"w":case"W":return e+(e===1?"re":"e")}},week:{dow:1,doy:4}};m.locale("fr",jf);const xa=e=>e.id.startsWith("ev_"),Hn=e=>e.id.startsWith("uc_"),Wf=e=>e.id.startsWith("goto_"),Ef=e=>e.id.startsWith("end_"),An=e=>e.id.startsWith("c_"),Vn=e=>e.id.startsWith("rq_"),y=(e,t)=>{const r=[];return e?r.push(`**${o.t("raid_rewards.reward_received")} :
|
|
20
|
+
`+Object.entries(e).filter(([,s])=>s>0).map(([s,a])=>{if(a===0)return;if(s==="xp"||s==="berry")return`- ${Hi(a)} ${As[s]}`;const i=K.findItem(s);return`- ${i.name(a)} ${i.emojis}`}).join(`
|
|
21
21
|
`)+"**"):r.push(`**${o.t("raid_rewards.no_reward_received")}**`),t&&r.push(`**${o.t("raid_rewards.penalty_received")} :
|
|
22
|
-
`+Object.entries(t).filter(([,s])=>s>0).map(([s,a])=>s==="xp"||s==="berry"?`- ${
|
|
22
|
+
`+Object.entries(t).filter(([,s])=>s>0).map(([s,a])=>s==="xp"||s==="berry"?`- ${Hi(a)} ${As[s]}`:s==="hp"?`- ${a} ${As.hp}`:`- ${K.findItem(s).name(a)} ${K.findItem(s).emojis}`).join(`
|
|
23
23
|
`)+"**"),`${r.length>0?`
|
|
24
24
|
|
|
25
25
|
`:""}${r.join(`
|
|
26
26
|
`)}${r.length>0?`
|
|
27
|
-
`:""}`},Wf=e=>Object.values(Sa).map(t=>t(null)).filter(t=>!Rc(e)||t.isSpecial===e),Ef=(e,t)=>{const r=Object.values(Sa).find(s=>s(t).id===e);if(!r)throw new Error("raidBug");return r(t)},An=(e,t)=>{if(wa(e))return e.outputs.find(r=>r.id===t);if(Un(e))return e.success.id===t?e.success:e.failure;if(Fn(e)||Hn(e))return e.output},Ff=(e,t)=>{let r=t.start;for(const s of e){if(!r)throw new Error("raidBug");r=An(r,s)}if(!r||!wa(r))throw new Error("raidBug");return r},Vn=e=>({id:"mysterious_island",name:o.t("raids.mysterious_island.name"),description:o.t("raids.mysterious_island.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.mysterious_island.ev_start.title"),text:o.t("raids.mysterious_island.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_ruin",label:o.t("raids.mysterious_island.uc_explore_ruin.label"),output:{id:"ev_walk_ruin",title:o.t("raids.mysterious_island.ev_walk_ruin.title"),text:o.t("raids.mysterious_island.ev_walk_ruin.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_try_open_door",label:o.t("raids.mysterious_island.uc_try_open_door.label"),output:{id:"ev_door_locked",title:o.t("raids.mysterious_island.ev_door_locked.title"),text:o.t("raids.mysterious_island.ev_door_locked.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_use_old_key",requirements:{ancient_key:1},label:o.t("raids.mysterious_island.rq_use_old_key.label",{requirements:J.findItem("ancient_key").name(1)}),output:{id:"ev_use_old_key",title:o.t("raids.mysterious_island.ev_use_old_key.title"),text:o.t("raids.mysterious_island.ev_use_old_key.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_enter_passage",label:o.t("raids.mysterious_island.uc_enter_passage.label"),output:{id:"ev_walk_passage",title:o.t("raids.mysterious_island.ev_walk_passage.title"),text:o.t("raids.mysterious_island.ev_walk_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_too_bad",label:o.t("raids.mysterious_island.uc_too_bad.label"),output:{id:"ev_find_tomb",title:o.t("raids.mysterious_island.ev_find_tomb.title"),text:o.t("raids.mysterious_island.ev_find_tomb.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_tomb",label:o.t("raids.mysterious_island.uc_open_tomb.label"),output:{id:"end_open_tomb",title:o.t("raids.mysterious_island.end_open_tomb.title"),text:o.t("raids.mysterious_island.end_open_tomb.text",{rewards:y(e==="rudder"?{berry:1e8,repair_tissue:10,essence_moon:5,xp:165e3}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,essence_moon:5,xp:15e4}:{berry:1e8,repair_tissue:10,essence_moon:5,xp:15e4},void 0)}),rewards:e==="rudder"?{berry:1e8,repair_tissue:10,essence_moon:5,xp:165e3}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,essence_moon:5,xp:15e4}:{berry:1e8,repair_tissue:10,essence_moon:5,xp:15e4},penalties:void 0}},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}},{id:"goto_walk_back",label:o.t("raids.mysterious_island.goto_walk_back.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}},{id:"uc_go_take_torch",label:o.t("raids.mysterious_island.uc_go_take_torch.label"),output:{id:"ev_find_torch",title:o.t("raids.mysterious_island.ev_find_torch.title"),text:o.t("raids.mysterious_island.ev_find_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_turn_on_torch_ruin",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_turn_on_torch_ruin.label",{requirements:J.findItem("wood").name(1)}),output:{id:"ev_ancient_dark_passage",title:o.t("raids.mysterious_island.ev_ancient_dark_passage.title"),text:o.t("raids.mysterious_island.ev_ancient_dark_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_decipher",label:o.t("raids.mysterious_island.uc_decipher.label"),output:{id:"c_decipher",requirements:e==="sailing_boat"?{intelligence:103.5,wisdom:103.5}:{intelligence:115,wisdom:115},success:{id:"ev_decipher_success",title:o.t("raids.mysterious_island.ev_decipher_success.title"),text:o.t("raids.mysterious_island.ev_decipher_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_follow_indications",label:o.t("raids.mysterious_island.uc_follow_indications.label"),output:{id:"end_indications_secret_room",title:o.t("raids.mysterious_island.end_indications_secret_room.title"),text:o.t("raids.mysterious_island.end_indications_secret_room.text",{rewards:y(e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},void 0)}),rewards:e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},penalties:void 0}},{id:"goto_walk_back",label:o.t("raids.mysterious_island.goto_walk_back.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]},failure:{id:"ev_decipher_failure",title:o.t("raids.mysterious_island.ev_decipher_failure.title"),text:o.t("raids.mysterious_island.ev_decipher_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"c_continue_chance",requirements:e==="sailing_boat"?{chance:108}:{chance:120},success:{id:"end_continue_chance_success",title:o.t("raids.mysterious_island.end_continue_chance_success.title"),text:o.t("raids.mysterious_island.end_continue_chance_success.text",{rewards:y(e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},void 0)}),rewards:e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},penalties:void 0},failure:{id:"ev_continue_chance_failure",title:o.t("raids.mysterious_island.ev_continue_chance_failure.title"),text:o.t("raids.mysterious_island.ev_continue_chance_failure.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_tomb",label:o.t("raids.mysterious_island.uc_open_tomb.label"),output:{id:"end_open_tomb",title:o.t("raids.mysterious_island.end_open_tomb.title"),text:o.t("raids.mysterious_island.end_open_tomb.text",{rewards:y(e==="rudder"?{berry:1e8,repair_tissue:10,xp:165e3,essence_moon:5}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,xp:15e4,essence_moon:5}:{berry:1e8,repair_tissue:10,xp:15e4,essence_moon:5},void 0)}),rewards:e==="rudder"?{berry:1e8,repair_tissue:10,xp:165e3,essence_moon:5}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,xp:15e4,essence_moon:5}:{berry:1e8,repair_tissue:10,xp:15e4,essence_moon:5},penalties:void 0}},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}}]}}}]}},{id:"rq_turn_on_torch_jungle",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_turn_on_torch_jungle.label",{requirements:J.findItem("wood").name(1)}),output:{id:"end_torch_jungle",title:o.t("raids.mysterious_island.end_torch_jungle.title"),text:o.t("raids.mysterious_island.end_torch_jungle.text",{rewards:y(e==="rudder"?{berry:15e7,rose:2,poppy:2,xp:0}:e==="rescue_boat"?{berry:225e6,rose:2,poppy:2}:{berry:15e7,rose:2,poppy:2},void 0)}),rewards:e==="rudder"?{berry:15e7,rose:2,poppy:2,xp:0}:e==="rescue_boat"?{berry:225e6,rose:2,poppy:2}:{berry:15e7,rose:2,poppy:2},penalties:void 0}},{id:"goto_explore_without_torch",label:o.t("raids.mysterious_island.goto_explore_without_torch.label"),goto:["uc_explore_ruin","ev_walk_ruin","uc_try_open_door","ev_door_locked","rq_use_old_key","ev_use_old_key","uc_enter_passage","ev_walk_passage"]}]}}]}},{id:"uc_force_door",label:o.t("raids.mysterious_island.uc_force_door.label"),output:{id:"ev_force_door",title:o.t("raids.mysterious_island.ev_force_door.title"),text:o.t("raids.mysterious_island.ev_force_door.text"),rewards:void 0,penalties:void 0,outputs:[{id:"goto_search_way",label:o.t("raids.mysterious_island.goto_search_way.label"),goto:["uc_explore_ruin","ev_walk_ruin","uc_search_way","ev_search_way"]},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}]}},{id:"uc_search_way",label:o.t("raids.mysterious_island.uc_search_way.label"),output:{id:"ev_search_way",title:o.t("raids.mysterious_island.ev_search_way.title"),text:o.t("raids.mysterious_island.ev_search_way.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_ramp",label:o.t("raids.mysterious_island.uc_ramp.label"),output:{id:"c_ramp",requirements:e==="sailing_boat"?{agility:108}:{agility:120},success:{id:"ev_ramp_success",title:o.t("raids.mysterious_island.ev_ramp_success.title"),text:o.t("raids.mysterious_island.ev_ramp_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:e==="anchor"?{hp:50}:{hp:100},outputs:[{id:"uc_explore_gallery_no_torch",label:o.t("raids.mysterious_island.uc_explore_gallery_no_torch.label"),output:{id:"ev_explore_gallery_no_torch",title:o.t("raids.mysterious_island.ev_explore_gallery_no_torch.title"),text:o.t("raids.mysterious_island.ev_explore_gallery_no_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.mysterious_island.uc_open_chest.label"),output:{id:"end_old_chest",title:o.t("raids.mysterious_island.end_old_chest.title"),text:o.t("raids.mysterious_island.end_old_chest.text",{rewards:y(e==="rudder"?{berry:1e8,essence_moon:3,xp:0}:e==="rescue_boat"?{berry:15e7,essence_moon:3}:{berry:1e8,essence_moon:3},void 0)}),rewards:e==="rudder"?{berry:1e8,essence_moon:3,xp:0}:e==="rescue_boat"?{berry:15e7,essence_moon:3}:{berry:1e8,essence_moon:3},penalties:void 0}}]}},{id:"rq_explore_gallery_with_torch",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_explore_gallery_with_torch.label",{requirements:J.findItem("wood").name(1)}),output:{id:"ev_explore_gallery_with_torch",title:o.t("raids.mysterious_island.ev_explore_gallery_with_torch.title"),text:o.t("raids.mysterious_island.ev_explore_gallery_with_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"end_explore_gallery_with_torch",title:o.t("raids.mysterious_island.end_explore_gallery_with_torch.title"),text:o.t("raids.mysterious_island.end_explore_gallery_with_torch.text",{rewards:y(e==="rudder"?{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2,xp:0}:e==="rescue_boat"?{berry:3e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2}:{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2},void 0)}),rewards:e==="rudder"?{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2,xp:0}:e==="rescue_boat"?{berry:3e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2}:{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2},penalties:void 0}}]}}]},failure:{id:"ev_ramp_failure",title:o.t("raids.mysterious_island.ev_ramp_failure.title"),text:o.t("raids.mysterious_island.ev_ramp_failure.text",{rewards:y(void 0,e==="anchor"?{hp:100}:{hp:200})}),rewards:void 0,penalties:e==="anchor"?{hp:100}:{hp:200},outputs:[{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}}]}}]}},{id:"uc_search_jungle",label:o.t("raids.mysterious_island.uc_search_jungle.label"),output:{id:"ev_enter_jungle",title:o.t("raids.mysterious_island.ev_enter_jungle.title"),text:o.t("raids.mysterious_island.ev_enter_jungle.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_hard_way",label:o.t("raids.mysterious_island.uc_explore_hard_way.label"),output:{id:"ev_wild_animals",title:o.t("raids.mysterious_island.ev_wild_animals.title"),text:o.t("raids.mysterious_island.ev_wild_animals.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_fight_animals",label:o.t("raids.mysterious_island.uc_fight_animals.label"),output:{id:"c_fight_animals",requirements:e==="sailing_boat"?{strength:103.5,agility:103.5}:{strength:115,agility:115},success:{id:"ev_fight_animals_success",title:o.t("raids.mysterious_island.ev_fight_animals_success.title"),text:o.t("raids.mysterious_island.ev_fight_animals_success.text",{rewards:y(e==="rudder"?{berry:1e7,xp:44e3}:e==="rescue_boat"?{berry:15e6,xp:4e4}:{berry:1e7,xp:4e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{berry:1e7,xp:44e3}:e==="rescue_boat"?{berry:15e6,xp:4e4}:{berry:1e7,xp:4e4},penalties:e==="anchor"?{hp:50}:{hp:100},outputs:[{id:"uc_go_back_ship",label:o.t("raids.mysterious_island.uc_go_back_ship.label"),output:{id:"end_go_back_ship",title:o.t("raids.mysterious_island.end_go_back_ship.title"),text:o.t("raids.mysterious_island.end_go_back_ship.text"),rewards:void 0,penalties:void 0}},{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"ev_keep_going_find_cave",title:o.t("raids.mysterious_island.ev_keep_going_find_cave.title"),text:o.t("raids.mysterious_island.ev_keep_going_find_cave.text"),rewards:void 0,penalties:void 0,outputs:[{id:"goto_enter_cave",label:o.t("raids.mysterious_island.goto_enter_cave.label"),goto:["uc_search_jungle","ev_enter_jungle","uc_explore_hard_way","ev_wild_animals","uc_dodge_animals","ev_dodge_animals","uc_enter_cave","ev_dark_cave"]}]}}]},failure:{id:"end_fight_animals_failure",title:o.t("raids.mysterious_island.end_fight_animals_failure.title"),text:o.t("raids.mysterious_island.end_fight_animals_failure.text",{rewards:y(e==="rudder"?{berry:1e7,xp:22e3}:e==="rescue_boat"?{berry:15e6,xp:2e4}:{berry:1e7,xp:2e4},e==="anchor"?{hp:200}:{hp:400})}),rewards:e==="rudder"?{berry:1e7,xp:22e3}:e==="rescue_boat"?{berry:15e6,xp:2e4}:{berry:1e7,xp:2e4},penalties:e==="anchor"?{hp:200}:{hp:400}}}},{id:"uc_dodge_animals",label:o.t("raids.mysterious_island.uc_dodge_animals.label"),output:{id:"ev_dodge_animals",title:o.t("raids.mysterious_island.ev_dodge_animals.title"),text:o.t("raids.mysterious_island.ev_dodge_animals.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_enter_cave",label:o.t("raids.mysterious_island.uc_enter_cave.label"),output:{id:"ev_dark_cave",title:o.t("raids.mysterious_island.ev_dark_cave.title"),text:o.t("raids.mysterious_island.ev_dark_cave.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cave_torch",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_cave_torch.label",{requirements:J.findItem("wood").name(1)}),output:{id:"ev_cave_torch_on",title:o.t("raids.mysterious_island.ev_cave_torch_on.title"),text:o.t("raids.mysterious_island.ev_cave_torch_on.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.mysterious_island.uc_open_chest.label"),output:{id:"end_cave_open_chest",title:o.t("raids.mysterious_island.end_cave_open_chest.title"),text:o.t("raids.mysterious_island.end_cave_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,xp:22e3,sea_salt:2}:e==="rescue_boat"?{berry:15e7,xp:2e4,sea_salt:2}:{berry:1e8,xp:2e4,sea_salt:2},void 0)}),rewards:e==="rudder"?{berry:1e8,xp:22e3,sea_salt:2}:e==="rescue_boat"?{berry:15e7,xp:2e4,sea_salt:2}:{berry:1e8,xp:2e4,sea_salt:2},penalties:void 0}}]}},{id:"uc_blind_walk",label:o.t("raids.mysterious_island.uc_blind_walk.label"),output:{id:"end_cave_blind_walk",title:o.t("raids.mysterious_island.end_cave_blind_walk.title"),text:o.t("raids.mysterious_island.end_cave_blind_walk.text",{rewards:y(e==="rudder"?{berry:5e7,xp:11e3}:e==="rescue_boat"?{berry:75e6,xp:1e4}:{berry:5e7,xp:1e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{berry:5e7,xp:11e3}:e==="rescue_boat"?{berry:75e6,xp:1e4}:{berry:5e7,xp:1e4},penalties:e==="anchor"?{hp:50}:{hp:100}}}]}}]}}]}},{id:"uc_follow_main_path",label:o.t("raids.mysterious_island.uc_follow_main_path.label"),output:{id:"ev_main_path",title:o.t("raids.mysterious_island.ev_main_path.title"),text:o.t("raids.mysterious_island.ev_main_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_medicine_herbs",label:o.t("raids.mysterious_island.uc_search_medicine_herbs.label"),output:{id:"c_herbs_wisdom",requirements:e==="sailing_boat"?{wisdom:108}:{wisdom:120},success:{id:"end_herbs_wisdom_success",title:o.t("raids.mysterious_island.end_herbs_wisdom_success.title"),text:o.t("raids.mysterious_island.end_herbs_wisdom_success.text",{rewards:y(e==="rudder"?{xp:27500,clover:10,poppy:3,ebony_poppy:5}:e==="rescue_boat"?{xp:25e3,clover:10,poppy:3,ebony_poppy:5,berry:0}:{xp:25e3,clover:10,poppy:3,ebony_poppy:5},void 0)}),rewards:e==="rudder"?{xp:27500,clover:10,poppy:3,ebony_poppy:5}:e==="rescue_boat"?{xp:25e3,clover:10,poppy:3,ebony_poppy:5,berry:0}:{xp:25e3,clover:10,poppy:3,ebony_poppy:5},penalties:void 0},failure:{id:"end_herbs_wisdom_failure",title:o.t("raids.mysterious_island.end_herbs_wisdom_failure.title"),text:o.t("raids.mysterious_island.end_herbs_wisdom_failure.text",{rewards:y(e==="rudder"?{xp:5500,clover:2,hemp:3,cereal:3}:e==="rescue_boat"?{xp:5e3,clover:2,hemp:3,cereal:3,berry:0}:{xp:5e3,clover:2,hemp:3,cereal:3},void 0)}),rewards:e==="rudder"?{xp:5500,clover:2,hemp:3,cereal:3}:e==="rescue_boat"?{xp:5e3,clover:2,hemp:3,cereal:3,berry:0}:{xp:5e3,clover:2,hemp:3,cereal:3},penalties:void 0}}},{id:"uc_take_fruits",label:o.t("raids.mysterious_island.uc_take_fruits.label"),output:{id:"end_find_fruits",title:o.t("raids.mysterious_island.end_find_fruits.title"),text:o.t("raids.mysterious_island.end_find_fruits.text",{rewards:y(e==="rudder"?{fruit:20,xp:11e3}:e==="rescue_boat"?{fruit:20,xp:1e4,berry:0}:{fruit:20,xp:1e4},void 0)}),rewards:e==="rudder"?{fruit:20,xp:11e3}:e==="rescue_boat"?{fruit:20,xp:1e4,berry:0}:{fruit:20,xp:1e4},penalties:void 0}}]}}]}}]}}),qn=e=>({id:"pirate_cave",name:o.t("raids.pirate_cave.name"),description:o.t("raids.pirate_cave.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.pirate_cave.ev_start.title"),text:o.t("raids.pirate_cave.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.pirate_cave.uc_continue.label"),output:{id:"ev_cave_entry",title:o.t("raids.pirate_cave.ev_cave_entry.title"),text:o.t("raids.pirate_cave.ev_cave_entry.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_cave_entry",label:o.t("raids.pirate_cave.uc_cave_entry.label"),output:{id:"ev_cave_begin",title:o.t("raids.pirate_cave.ev_cave_begin.title"),text:o.t("raids.pirate_cave.ev_cave_begin.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cave_torch",requirements:{wood:1},label:o.t("raids.pirate_cave.rq_cave_torch.label",{requirements:J.findItem("wood").name(1)}),output:{id:"ev_torch_on",title:o.t("raids.pirate_cave.ev_torch_on.title"),text:o.t("raids.pirate_cave.ev_torch_on.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_left_path",label:o.t("raids.pirate_cave.uc_left_path.label"),output:{id:"ev_left_path",title:o.t("raids.pirate_cave.ev_left_path.title"),text:o.t("raids.pirate_cave.ev_left_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_remove_traps",requirements:{tools:1},label:o.t("raids.pirate_cave.rq_remove_traps.label",{requirements:J.findItem("tools").name(1)}),output:{id:"ev_no_trap",title:o.t("raids.pirate_cave.ev_no_trap.title"),text:o.t("raids.pirate_cave.ev_no_trap.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.pirate_cave.uc_open_chest.label"),output:{id:"end_open_chest",title:o.t("raids.pirate_cave.end_open_chest.title"),text:o.t("raids.pirate_cave.end_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},void 0)}),rewards:e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},penalties:void 0}},{id:"uc_explore_room",label:o.t("raids.pirate_cave.uc_explore_room.label"),output:{id:"end_explore_room",title:o.t("raids.pirate_cave.end_explore_room.title"),text:o.t("raids.pirate_cave.end_explore_room.text",{rewards:y(e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},void 0)}),rewards:e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},penalties:void 0}}]}},{id:"uc_dodge_traps",label:o.t("raids.pirate_cave.uc_dodge_traps.label"),output:{id:"c_agility_trap",requirements:e==="sailing_boat"?{agility:103.5}:{agility:115},success:{id:"ev_dodge_traps_success",title:o.t("raids.pirate_cave.ev_dodge_traps_success.title"),text:o.t("raids.pirate_cave.ev_dodge_traps_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.pirate_cave.uc_open_chest.label"),output:{id:"end_open_chest",title:o.t("raids.pirate_cave.end_open_chest.title"),text:o.t("raids.pirate_cave.end_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},void 0)}),rewards:e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},penalties:void 0}},{id:"uc_explore_room",label:o.t("raids.pirate_cave.uc_explore_room.label"),output:{id:"end_explore_room",title:o.t("raids.pirate_cave.end_explore_room.title"),text:o.t("raids.pirate_cave.end_explore_room.text",{rewards:y(e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},void 0)}),rewards:e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},penalties:void 0}}]},failure:{id:"end_dodge_traps_failure",title:o.t("raids.pirate_cave.end_dodge_traps_failure.title"),text:o.t("raids.pirate_cave.end_dodge_traps_failure.text",{rewards:y(e==="rudder"?{berry:1e5,xp:7700}:e==="rescue_boat"?{berry:15e4,xp:7e3}:{berry:1e5,xp:7e3},e==="anchor"?{hp:25}:{hp:50})}),rewards:e==="rudder"?{berry:1e5,xp:7700}:e==="rescue_boat"?{berry:15e4,xp:7e3}:{berry:1e5,xp:7e3},penalties:e==="anchor"?{hp:25}:{hp:50}}}}]}},{id:"uc_right_path",label:o.t("raids.pirate_cave.uc_right_path.label"),output:{id:"ev_right_path",title:o.t("raids.pirate_cave.ev_right_path.title"),text:o.t("raids.pirate_cave.ev_right_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_seek_chamber",label:o.t("raids.pirate_cave.uc_seek_chamber.label"),output:{id:"end_chamber",title:o.t("raids.pirate_cave.end_chamber.title"),text:o.t("raids.pirate_cave.end_chamber.text",{rewards:y(e==="rudder"?{berry:2e7,xp:27500,scroll_wisdom:1}:e==="rescue_boat"?{berry:3e7,xp:25e3,scroll_wisdom:1}:{berry:2e7,xp:25e3,scroll_wisdom:1},void 0)}),rewards:e==="rudder"?{berry:2e7,xp:27500,scroll_wisdom:1}:e==="rescue_boat"?{berry:3e7,xp:25e3,scroll_wisdom:1}:{berry:2e7,xp:25e3,scroll_wisdom:1},penalties:void 0}},{id:"uc_keep_going",label:o.t("raids.pirate_cave.uc_keep_going.label"),output:{id:"ev_ghost_trap",title:o.t("raids.pirate_cave.ev_ghost_trap.title"),text:o.t("raids.pirate_cave.ev_ghost_trap.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_fight_ghost",label:o.t("raids.pirate_cave.uc_fight_ghost.label"),output:{id:"c_strength_ghosts",requirements:e==="sailing_boat"?{strength:112.5}:{strength:125},success:{id:"end_fight_ghost_success",title:o.t("raids.pirate_cave.end_fight_ghost_success.title"),text:o.t("raids.pirate_cave.end_fight_ghost_success.text",{rewards:y(e==="rudder"?{berry:2e8,xp:88e3}:e==="rescue_boat"?{berry:3e8,xp:8e4}:{berry:2e8,xp:8e4},void 0)}),rewards:e==="rudder"?{berry:2e8,xp:88e3}:e==="rescue_boat"?{berry:3e8,xp:8e4}:{berry:2e8,xp:8e4},penalties:void 0},failure:{id:"end_fight_ghost_failure",title:o.t("raids.pirate_cave.end_fight_ghost_failure.title"),text:o.t("raids.pirate_cave.end_fight_ghost_failure.text",{rewards:y(e==="rudder"?{berry:5e4,xp:88e3}:e==="rescue_boat"?{berry:75e3,xp:8e4}:{berry:5e4,xp:8e4},e==="anchor"?{hp:300}:{hp:600})}),rewards:e==="rudder"?{berry:5e4,xp:88e3}:e==="rescue_boat"?{berry:75e3,xp:8e4}:{berry:5e4,xp:8e4},penalties:e==="anchor"?{hp:300}:{hp:600}}}},{id:"uc_flee",label:o.t("raids.pirate_cave.uc_flee.label"),output:{id:"c_agility_ghosts",requirements:e==="sailing_boat"?{agility:99}:{agility:110},success:{id:"end_flee_ghost_success",title:o.t("raids.pirate_cave.end_flee_ghost_success.title"),text:o.t("raids.pirate_cave.end_flee_ghost_success.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0},failure:{id:"end_flee_ghost_failure",title:o.t("raids.pirate_cave.end_flee_ghost_failure.title"),text:o.t("raids.pirate_cave.end_flee_ghost_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{berry:25e5,hp:150}:{berry:5e6,hp:300})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{berry:25e5,hp:150}:{berry:5e6,hp:300}}}}]}}]}}]}},{id:"uc_walk_dark",label:o.t("raids.pirate_cave.uc_walk_dark.label"),output:{id:"ev_secret_passage",title:o.t("raids.pirate_cave.ev_secret_passage.title"),text:o.t("raids.pirate_cave.ev_secret_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_sneak_walk",label:o.t("raids.pirate_cave.uc_sneak_walk.label"),output:{id:"c_agility_sneak_walk",requirements:e==="sailing_boat"?{agility:103.5}:{agility:115},success:{id:"ev_sneak_walk_success",title:o.t("raids.pirate_cave.ev_sneak_walk_success.title"),text:o.t("raids.pirate_cave.ev_sneak_walk_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_fill_bag",label:o.t("raids.pirate_cave.uc_fill_bag.label"),output:{id:"c_strength_fill_bag",requirements:e==="sailing_boat"?{strength:99}:{strength:110},success:{id:"end_fill_bag_success",title:o.t("raids.pirate_cave.end_fill_bag_success.title"),text:o.t("raids.pirate_cave.end_fill_bag_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},penalties:void 0},failure:{id:"end_fill_bag_failure",title:o.t("raids.pirate_cave.end_fill_bag_failure.title"),text:o.t("raids.pirate_cave.end_fill_bag_failure.text",{rewards:y(e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},void 0)}),rewards:e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},penalties:void 0}}}]},failure:{id:"ev_sneak_walk_failure",title:o.t("raids.pirate_cave.ev_sneak_walk_failure.title"),text:o.t("raids.pirate_cave.ev_sneak_walk_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_keep_breath",label:o.t("raids.pirate_cave.uc_keep_breath.label"),output:{id:"c_chance_keep_breath",requirements:e==="sailing_boat"?{chance:103.5}:{chance:115},success:{id:"ev_keep_breath_success",title:o.t("raids.pirate_cave.ev_keep_breath_success.title"),text:o.t("raids.pirate_cave.ev_keep_breath_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_fill_bag",label:o.t("raids.pirate_cave.uc_fill_bag.label"),output:{id:"c_strength_fill_bag",requirements:e==="sailing_boat"?{strength:99}:{strength:110},success:{id:"end_fill_bag_success",title:o.t("raids.pirate_cave.end_fill_bag_success.title"),text:o.t("raids.pirate_cave.end_fill_bag_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},penalties:void 0},failure:{id:"end_fill_bag_failure",title:o.t("raids.pirate_cave.end_fill_bag_failure.title"),text:o.t("raids.pirate_cave.end_fill_bag_failure.text",{rewards:y(e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},void 0)}),rewards:e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},penalties:void 0}}}]},failure:{id:"ev_keep_breath_failure",title:o.t("raids.pirate_cave.ev_keep_breath_failure.title"),text:o.t("raids.pirate_cave.ev_keep_breath_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_fight_pirate",label:o.t("raids.pirate_cave.uc_fight_pirate.label"),output:{id:"c_strength_fight_pirate",requirements:e==="sailing_boat"?{strength:108}:{strength:120},success:{id:"end_fight_pirate_success",title:o.t("raids.pirate_cave.end_fight_pirate_success.title"),text:o.t("raids.pirate_cave.end_fight_pirate_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:4},penalties:void 0},failure:{id:"end_fight_pirate_failure",title:o.t("raids.pirate_cave.end_fight_pirate_failure.title"),text:o.t("raids.pirate_cave.end_fight_pirate_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{hp:250}:{hp:500})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{hp:250}:{hp:500}}}},{id:"uc_flee",label:o.t("raids.pirate_cave.uc_flee.label"),output:{id:"c_agility_flee_pirate",requirements:e==="sailing_boat"?{agility:99}:{agility:110},success:{id:"end_flee_pirate_success",title:o.t("raids.pirate_cave.end_flee_pirate_success.title"),text:o.t("raids.pirate_cave.end_flee_pirate_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0},failure:{id:"end_flee_pirate_failure",title:o.t("raids.pirate_cave.end_flee_pirate_failure.title"),text:o.t("raids.pirate_cave.end_flee_pirate_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{hp:150}:{hp:300})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{hp:150}:{hp:300}}}}]}}}]}}},{id:"uc_stun_pirate",label:o.t("raids.pirate_cave.uc_stun_pirate.label"),output:{id:"c_strength_stun_pirate",requirements:e==="sailing_boat"?{strength:67.5}:{strength:75},success:{id:"end_stun_pirate_success",title:o.t("raids.pirate_cave.end_stun_pirate_success.title"),text:o.t("raids.pirate_cave.end_stun_pirate_success.text",{rewards:y(e==="rudder"?{xp:82500,empty_chest:1,iron:4,repair_wood_plank:4}:e==="rescue_boat"?{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{xp:82500,empty_chest:1,iron:4,repair_wood_plank:4}:e==="rescue_boat"?{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4},penalties:void 0},failure:{id:"end_stun_pirate_failure",title:o.t("raids.pirate_cave.end_stun_pirate_failure.title"),text:o.t("raids.pirate_cave.end_stun_pirate_failure.text",{rewards:y(e==="rudder"?{xp:27500}:e==="rescue_boat"?{xp:25e3,berry:0}:{xp:25e3},e==="anchor"?{hp:100}:{hp:200})}),rewards:e==="rudder"?{xp:27500}:e==="rescue_boat"?{xp:25e3,berry:0}:{xp:25e3},penalties:e==="anchor"?{hp:100}:{hp:200}}}}]}}]}}]}}]}}),Gn=e=>({id:"resources",name:o.t("raids.resources.name"),description:o.t("raids.resources.description"),isSpecial:!0,start:{id:"ev_start",title:o.t("raids.resources.ev_start.title"),text:o.t("raids.resources.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_forest",label:o.t("raids.resources.uc_explore_forest.label"),output:{id:"ev_enter_forest",title:o.t("raids.resources.ev_enter_forest.title"),text:o.t("raids.resources.ev_enter_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_wood",label:o.t("raids.resources.uc_search_wood.label"),output:{id:"ev_search_wood",title:o.t("raids.resources.ev_search_wood.title"),text:o.t("raids.resources.ev_search_wood.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_wood",requirements:{tools:1},label:o.t("raids.resources.rq_wood.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_wood_big",title:o.t("raids.resources.end_wood_big.title"),text:o.t("raids.resources.end_wood_big.text",{rewards:y(e==="rudder"?{wood:20,xp:0}:e==="rescue_boat"?{wood:20,berry:0}:{wood:20},void 0)}),rewards:e==="rudder"?{wood:20,xp:0}:e==="rescue_boat"?{wood:20,berry:0}:{wood:20},penalties:void 0}},{id:"uc_wood",label:o.t("raids.resources.uc_wood.label"),output:{id:"end_wood_small",title:o.t("raids.resources.end_wood_small.title"),text:o.t("raids.resources.end_wood_small.text",{rewards:y(e==="rudder"?{wood:10,xp:0}:e==="rescue_boat"?{wood:10,berry:0}:{wood:10},void 0)}),rewards:e==="rudder"?{wood:10,xp:0}:e==="rescue_boat"?{wood:10,berry:0}:{wood:10},penalties:void 0}}]}},{id:"uc_search_iron",label:o.t("raids.resources.uc_search_iron.label"),output:{id:"ev_goto_mine",title:o.t("raids.resources.ev_goto_mine.title"),text:o.t("raids.resources.ev_goto_mine.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_iron",requirements:{tools:1},label:o.t("raids.resources.rq_iron.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_iron_big",title:o.t("raids.resources.end_iron_big.title"),text:o.t("raids.resources.end_iron_big.text",{rewards:y(e==="rudder"?{iron_ore:20,xp:0}:e==="rescue_boat"?{iron_ore:20,berry:0}:{iron_ore:20},void 0)}),rewards:e==="rudder"?{iron_ore:20,xp:0}:e==="rescue_boat"?{iron_ore:20,berry:0}:{iron_ore:20},penalties:void 0}},{id:"uc_iron",label:o.t("raids.resources.uc_iron.label"),output:{id:"end_iron_small",title:o.t("raids.resources.end_iron_small.title"),text:o.t("raids.resources.end_iron_small.text",{rewards:y(e==="rudder"?{iron_ore:10,xp:0}:e==="rescue_boat"?{iron_ore:10,berry:0}:{iron_ore:10},void 0)}),rewards:e==="rudder"?{iron_ore:10,xp:0}:e==="rescue_boat"?{iron_ore:10,berry:0}:{iron_ore:10},penalties:void 0}}]}}]}},{id:"uc_explore_beach",label:o.t("raids.resources.uc_explore_beach.label"),output:{id:"ev_enter_beach",title:o.t("raids.resources.ev_enter_beach.title"),text:o.t("raids.resources.ev_enter_beach.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_goto_herbs",label:o.t("raids.resources.uc_goto_herbs.label"),output:{id:"ev_hemp",title:o.t("raids.resources.ev_hemp.title"),text:o.t("raids.resources.ev_hemp.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_hemp",requirements:{tools:1},label:o.t("raids.resources.rq_hemp.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_hemp_big",title:o.t("raids.resources.end_hemp_big.title"),text:o.t("raids.resources.end_hemp_big.text",{rewards:y(e==="rudder"?{hemp:20,xp:0}:e==="rescue_boat"?{hemp:20,berry:0}:{hemp:20},void 0)}),rewards:e==="rudder"?{hemp:20,xp:0}:e==="rescue_boat"?{hemp:20,berry:0}:{hemp:20},penalties:void 0}},{id:"uc_hemp",label:o.t("raids.resources.uc_hemp.label"),output:{id:"end_hemp_small",title:o.t("raids.resources.end_hemp_small.title"),text:o.t("raids.resources.end_hemp_small.text",{rewards:y(e==="rudder"?{hemp:10,xp:0}:e==="rescue_boat"?{hemp:10,berry:0}:{hemp:10},void 0)}),rewards:e==="rudder"?{hemp:10,xp:0}:e==="rescue_boat"?{hemp:10,berry:0}:{hemp:10},penalties:void 0}}]}},{id:"uc_search_salt_water",label:o.t("raids.resources.uc_search_salt_water.label"),output:{id:"ev_salt_water",title:o.t("raids.resources.ev_salt_water.title"),text:o.t("raids.resources.ev_salt_water.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_bowl",requirements:{bowl:1},label:o.t("raids.resources.rq_bowl.label",{requirements:J.findItem("bowl").name(1)}),output:{id:"end_salt_water_big",title:o.t("raids.resources.end_salt_water_big.title"),text:o.t("raids.resources.end_salt_water_big.text",{rewards:y(e==="rudder"?{salt_water:10,xp:0}:e==="rescue_boat"?{salt_water:10,berry:0}:{salt_water:10},void 0)}),rewards:e==="rudder"?{salt_water:10,xp:0}:e==="rescue_boat"?{salt_water:10,berry:0}:{salt_water:10},penalties:void 0}},{id:"uc_bowl",label:o.t("raids.resources.uc_bowl.label"),output:{id:"end_salt_water_small",title:o.t("raids.resources.end_salt_water_small.title"),text:o.t("raids.resources.end_salt_water_small.text",{rewards:y(e==="rudder"?{salt_water:5,xp:0}:e==="rescue_boat"?{salt_water:5,berry:0}:{salt_water:5},void 0)}),rewards:e==="rudder"?{salt_water:5,xp:0}:e==="rescue_boat"?{salt_water:5,berry:0}:{salt_water:5},penalties:void 0}}]}}]}},{id:"uc_goto_plains",label:o.t("raids.resources.uc_goto_plains.label"),output:{id:"ev_enter_plains",title:o.t("raids.resources.ev_enter_plains.title"),text:o.t("raids.resources.ev_enter_plains.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_cereal",label:o.t("raids.resources.uc_search_cereal.label"),output:{id:"ev_search_cereal",title:o.t("raids.resources.ev_search_cereal.title"),text:o.t("raids.resources.ev_search_cereal.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cereal",requirements:{tools:1},label:o.t("raids.resources.rq_cereal.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_cereal_big",title:o.t("raids.resources.end_cereal_big.title"),text:o.t("raids.resources.end_cereal_big.text",{rewards:y(e==="rudder"?{cereal:20,xp:0}:e==="rescue_boat"?{cereal:20,berry:0}:{cereal:20},void 0)}),rewards:e==="rudder"?{cereal:20,xp:0}:e==="rescue_boat"?{cereal:20,berry:0}:{cereal:20},penalties:void 0}},{id:"uc_cereal",label:o.t("raids.resources.uc_cereal.label"),output:{id:"end_cereal_small",title:o.t("raids.resources.end_cereal_small.title"),text:o.t("raids.resources.end_cereal_small.text",{rewards:y(e==="rudder"?{cereal:10,xp:0}:e==="rescue_boat"?{cereal:10,berry:0}:{cereal:10},void 0)}),rewards:e==="rudder"?{cereal:10,xp:0}:e==="rescue_boat"?{cereal:10,berry:0}:{cereal:10},penalties:void 0}}]}},{id:"uc_search_cotton",label:o.t("raids.resources.uc_search_cotton.label"),output:{id:"ev_search_cotton",title:o.t("raids.resources.ev_search_cotton.title"),text:o.t("raids.resources.ev_search_cotton.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cotton",requirements:{tools:1},label:o.t("raids.resources.rq_cotton.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_cotton_big",title:o.t("raids.resources.end_cotton_big.title"),text:o.t("raids.resources.end_cotton_big.text",{rewards:y(e==="rudder"?{cotton:20,xp:0}:e==="rescue_boat"?{cotton:20,berry:0}:{cotton:20},void 0)}),rewards:e==="rudder"?{cotton:20,xp:0}:e==="rescue_boat"?{cotton:20,berry:0}:{cotton:20},penalties:void 0}},{id:"uc_cotton",label:o.t("raids.resources.uc_cotton.label"),output:{id:"end_cotton_small",title:o.t("raids.resources.end_cotton_small.title"),text:o.t("raids.resources.end_cotton_small.text",{rewards:y(e==="rudder"?{cotton:10,xp:0}:e==="rescue_boat"?{cotton:10,berry:0}:{cotton:10},void 0)}),rewards:e==="rudder"?{cotton:10,xp:0}:e==="rescue_boat"?{cotton:10,berry:0}:{cotton:10},penalties:void 0}}]}},{id:"uc_search_fruit",label:o.t("raids.resources.uc_search_fruit.label"),output:{id:"ev_fruit",title:o.t("raids.resources.ev_fruit.title"),text:o.t("raids.resources.ev_fruit.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_fruit",requirements:{tools:1},label:o.t("raids.resources.rq_fruit.label",{requirements:J.findItem("tools").name(1)}),output:{id:"end_fruit_big",title:o.t("raids.resources.end_fruit_big.title"),text:o.t("raids.resources.end_fruit_big.text",{rewards:y(e==="rudder"?{fruit:10,xp:0}:e==="rescue_boat"?{fruit:10,berry:0}:{fruit:10},void 0)}),rewards:e==="rudder"?{fruit:10,xp:0}:e==="rescue_boat"?{fruit:10,berry:0}:{fruit:10},penalties:void 0}},{id:"uc_fruit",label:o.t("raids.resources.uc_fruit.label"),output:{id:"end_fruit_small",title:o.t("raids.resources.end_fruit_small.title"),text:o.t("raids.resources.end_fruit_small.text",{rewards:y(e==="rudder"?{fruit:5,xp:0}:e==="rescue_boat"?{fruit:5,berry:0}:{fruit:5},void 0)}),rewards:e==="rudder"?{fruit:5,xp:0}:e==="rescue_boat"?{fruit:5,berry:0}:{fruit:5},penalties:void 0}}]}}]}}]}}),zn=e=>({id:"training",name:o.t("raids.training.name"),description:o.t("raids.training.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.training.ev_start.title"),text:o.t("raids.training.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_follow_marin",label:o.t("raids.training.uc_follow_marin.label"),output:{id:"ev_dense_jungle",title:o.t("raids.training.ev_dense_jungle.title"),text:o.t("raids.training.ev_dense_jungle.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_cross_river",label:o.t("raids.training.uc_cross_river.label"),output:{id:"c_agility50",requirements:e==="sailing_boat"?{agility:45}:{agility:50},success:{id:"ev_agility50_success",title:o.t("raids.training.ev_agility50_success.title"),text:o.t("raids.training.ev_agility50_success.text",{rewards:y(e==="rudder"?{xp:82500}:e==="rescue_boat"?{xp:75e3,berry:0}:{xp:75e3},void 0)}),rewards:e==="rudder"?{xp:82500}:e==="rescue_boat"?{xp:75e3,berry:0}:{xp:75e3},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_begin_forest",title:o.t("raids.training.ev_begin_forest.title"),text:o.t("raids.training.ev_begin_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_take_fruit",label:o.t("raids.training.uc_take_fruit.label"),output:{id:"end_fruits",title:o.t("raids.training.end_fruits.title"),text:o.t("raids.training.end_fruits.text",{rewards:y(e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},void 0)}),rewards:e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},penalties:void 0}},{id:"uc_collect_plants",label:o.t("raids.training.uc_collect_plants.label"),output:{id:"end_plants",title:o.t("raids.training.end_plants.title"),text:o.t("raids.training.end_plants.text",{rewards:y(e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},void 0)}),rewards:e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},penalties:void 0}}]}}]},failure:{id:"ev_agility50_failure",title:o.t("raids.training.ev_agility50_failure.title"),text:o.t("raids.training.ev_agility50_failure.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_begin_forest",title:o.t("raids.training.ev_begin_forest.title"),text:o.t("raids.training.ev_begin_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_take_fruit",label:o.t("raids.training.uc_take_fruit.label"),output:{id:"end_fruits",title:o.t("raids.training.end_fruits.title"),text:o.t("raids.training.end_fruits.text",{rewards:y(e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},void 0)}),rewards:e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},penalties:void 0}},{id:"uc_collect_plants",label:o.t("raids.training.uc_collect_plants.label"),output:{id:"end_plants",title:o.t("raids.training.end_plants.title"),text:o.t("raids.training.end_plants.text",{rewards:y(e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},void 0)}),rewards:e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},penalties:void 0}}]}}]}}},{id:"uc_rock_path",label:o.t("raids.training.uc_rock_path.label"),output:{id:"ev_hard_path",title:o.t("raids.training.ev_hard_path.title"),text:o.t("raids.training.ev_hard_path.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_swamp",title:o.t("raids.training.ev_swamp.title"),text:o.t("raids.training.ev_swamp.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_rummage_captain_suite",label:o.t("raids.training.uc_rummage_captain_suite.label"),output:{id:"end_captain_suite",title:o.t("raids.training.end_captain_suite.title"),text:o.t("raids.training.end_captain_suite.text",{rewards:y(e==="rudder"?{berry:5e7,strange_gem:1,xp:0}:e==="rescue_boat"?{berry:75e6,strange_gem:1}:{berry:5e7,strange_gem:1},void 0)}),rewards:e==="rudder"?{berry:5e7,strange_gem:1,xp:0}:e==="rescue_boat"?{berry:75e6,strange_gem:1}:{berry:5e7,strange_gem:1},penalties:void 0}},{id:"uc_look_hold",label:o.t("raids.training.uc_look_hold.label"),output:{id:"end_hold",title:o.t("raids.training.end_hold.title"),text:o.t("raids.training.end_hold.text",{rewards:y(e==="rudder"?{fruit:2,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{fruit:2,repair_wood_plank:4,berry:0}:{fruit:2,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{fruit:2,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{fruit:2,repair_wood_plank:4,berry:0}:{fruit:2,repair_wood_plank:4},penalties:void 0}}]}}]}}]}}]}}),Uf={mysterious_island:["end_cave_blind_walk","end_explore_gallery_with_torch","end_indications_secret_room","end_open_tomb","ev_ancient_dark_passage","ev_cave_torch_on","ev_dark_cave","ev_decipher_failure","ev_decipher_success","ev_dodge_animals","ev_enter_jungle","ev_explore_gallery_no_torch","ev_find_tomb","ev_main_path","ev_ramp_success","ev_search_way","ev_start","ev_walk_passage","ev_walk_ruin","ev_wild_animals"],pirate_cave:["end_explore_room","end_open_chest","ev_cave_begin","ev_cave_entry","ev_ghost_trap","ev_left_path","ev_right_path","ev_secret_passage","ev_sneak_walk_failure","ev_sneak_walk_success","ev_start","ev_torch_on"],resources:["ev_enter_beach","ev_enter_forest","ev_enter_plains","ev_goto_mine","ev_hemp","ev_salt_water","ev_search_cereal","ev_search_cotton","ev_search_wood","ev_start"],training:["end_captain_suite","end_fruits","end_plants","end_ship_hold","ev_agility50_failure","ev_agility50_success","ev_begin_forest","ev_dense_jungle","ev_hard_path","ev_start","ev_swamp"]};W.RAID_IMAGES=Uf,W.formatRewards=y,W.getAllRaids=Wf,W.getAvailableCharacteristicPoints=$c,W.getCharacteristicCost=Fs,W.getComputedCharacteristicCost=Yc,W.getComputedCharacteristicValue=Oc,W.getCurrentRaidEvent=Ff,W.getNextRaidStep=An,W.getRaid=Ef,W.isRaidCharacteristicsCheck=Un,W.isRaidEnd=jf,W.isRaidEvent=wa,W.isRaidGoto=Lf,W.isRaidItemRequired=Hn,W.isRaidUserChoice=Fn,W.mysteriousIslandRaid=Vn,W.pirateCaveRaid=qn,W.resourcesRaid=Gn,W.trainingRaid=zn,Object.defineProperty(W,Symbol.toStringTag,{value:"Module"})});
|
|
27
|
+
`:""}`},Ff=e=>Object.values(Da).map(t=>t(null)).filter(t=>!Tc(e)||t.isSpecial===e),Uf=(e,t)=>{const r=Object.values(Da).find(s=>s(t).id===e);if(!r)throw new Error("raidBug");return r(t)},qn=(e,t)=>{if(xa(e))return e.outputs.find(r=>r.id===t);if(An(e))return e.success.id===t?e.success:e.failure;if(Hn(e)||Vn(e))return e.output},Hf=(e,t)=>{let r=t.start;for(const s of e){if(!r)throw new Error("raidBug");r=qn(r,s)}if(!r||!xa(r))throw new Error("raidBug");return r},Gn=e=>({id:"mysterious_island",name:o.t("raids.mysterious_island.name"),description:o.t("raids.mysterious_island.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.mysterious_island.ev_start.title"),text:o.t("raids.mysterious_island.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_ruin",label:o.t("raids.mysterious_island.uc_explore_ruin.label"),output:{id:"ev_walk_ruin",title:o.t("raids.mysterious_island.ev_walk_ruin.title"),text:o.t("raids.mysterious_island.ev_walk_ruin.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_try_open_door",label:o.t("raids.mysterious_island.uc_try_open_door.label"),output:{id:"ev_door_locked",title:o.t("raids.mysterious_island.ev_door_locked.title"),text:o.t("raids.mysterious_island.ev_door_locked.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_use_old_key",requirements:{ancient_key:1},label:o.t("raids.mysterious_island.rq_use_old_key.label",{requirements:K.findItem("ancient_key").name(1)}),output:{id:"ev_use_old_key",title:o.t("raids.mysterious_island.ev_use_old_key.title"),text:o.t("raids.mysterious_island.ev_use_old_key.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_enter_passage",label:o.t("raids.mysterious_island.uc_enter_passage.label"),output:{id:"ev_walk_passage",title:o.t("raids.mysterious_island.ev_walk_passage.title"),text:o.t("raids.mysterious_island.ev_walk_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_too_bad",label:o.t("raids.mysterious_island.uc_too_bad.label"),output:{id:"ev_find_tomb",title:o.t("raids.mysterious_island.ev_find_tomb.title"),text:o.t("raids.mysterious_island.ev_find_tomb.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_tomb",label:o.t("raids.mysterious_island.uc_open_tomb.label"),output:{id:"end_open_tomb",title:o.t("raids.mysterious_island.end_open_tomb.title"),text:o.t("raids.mysterious_island.end_open_tomb.text",{rewards:y(e==="rudder"?{berry:1e8,repair_tissue:10,essence_moon:5,xp:165e3}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,essence_moon:5,xp:15e4}:{berry:1e8,repair_tissue:10,essence_moon:5,xp:15e4},void 0)}),rewards:e==="rudder"?{berry:1e8,repair_tissue:10,essence_moon:5,xp:165e3}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,essence_moon:5,xp:15e4}:{berry:1e8,repair_tissue:10,essence_moon:5,xp:15e4},penalties:void 0}},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}},{id:"goto_walk_back",label:o.t("raids.mysterious_island.goto_walk_back.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}},{id:"uc_go_take_torch",label:o.t("raids.mysterious_island.uc_go_take_torch.label"),output:{id:"ev_find_torch",title:o.t("raids.mysterious_island.ev_find_torch.title"),text:o.t("raids.mysterious_island.ev_find_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_turn_on_torch_ruin",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_turn_on_torch_ruin.label",{requirements:K.findItem("wood").name(1)}),output:{id:"ev_ancient_dark_passage",title:o.t("raids.mysterious_island.ev_ancient_dark_passage.title"),text:o.t("raids.mysterious_island.ev_ancient_dark_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_decipher",label:o.t("raids.mysterious_island.uc_decipher.label"),output:{id:"c_decipher",requirements:e==="sailing_boat"?{intelligence:103.5,wisdom:103.5}:{intelligence:115,wisdom:115},success:{id:"ev_decipher_success",title:o.t("raids.mysterious_island.ev_decipher_success.title"),text:o.t("raids.mysterious_island.ev_decipher_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_follow_indications",label:o.t("raids.mysterious_island.uc_follow_indications.label"),output:{id:"end_indications_secret_room",title:o.t("raids.mysterious_island.end_indications_secret_room.title"),text:o.t("raids.mysterious_island.end_indications_secret_room.text",{rewards:y(e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},void 0)}),rewards:e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},penalties:void 0}},{id:"goto_walk_back",label:o.t("raids.mysterious_island.goto_walk_back.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]},failure:{id:"ev_decipher_failure",title:o.t("raids.mysterious_island.ev_decipher_failure.title"),text:o.t("raids.mysterious_island.ev_decipher_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"c_continue_chance",requirements:e==="sailing_boat"?{chance:108}:{chance:120},success:{id:"end_continue_chance_success",title:o.t("raids.mysterious_island.end_continue_chance_success.title"),text:o.t("raids.mysterious_island.end_continue_chance_success.text",{rewards:y(e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},void 0)}),rewards:e==="rudder"?{berry:4e8,sapphire:1,essence_fire:5,xp:0}:e==="rescue_boat"?{berry:6e8,sapphire:1,essence_fire:5}:{berry:4e8,sapphire:1,essence_fire:5},penalties:void 0},failure:{id:"ev_continue_chance_failure",title:o.t("raids.mysterious_island.ev_continue_chance_failure.title"),text:o.t("raids.mysterious_island.ev_continue_chance_failure.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_tomb",label:o.t("raids.mysterious_island.uc_open_tomb.label"),output:{id:"end_open_tomb",title:o.t("raids.mysterious_island.end_open_tomb.title"),text:o.t("raids.mysterious_island.end_open_tomb.text",{rewards:y(e==="rudder"?{berry:1e8,repair_tissue:10,xp:165e3,essence_moon:5}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,xp:15e4,essence_moon:5}:{berry:1e8,repair_tissue:10,xp:15e4,essence_moon:5},void 0)}),rewards:e==="rudder"?{berry:1e8,repair_tissue:10,xp:165e3,essence_moon:5}:e==="rescue_boat"?{berry:15e7,repair_tissue:10,xp:15e4,essence_moon:5}:{berry:1e8,repair_tissue:10,xp:15e4,essence_moon:5},penalties:void 0}},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}}]}}}]}},{id:"rq_turn_on_torch_jungle",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_turn_on_torch_jungle.label",{requirements:K.findItem("wood").name(1)}),output:{id:"end_torch_jungle",title:o.t("raids.mysterious_island.end_torch_jungle.title"),text:o.t("raids.mysterious_island.end_torch_jungle.text",{rewards:y(e==="rudder"?{berry:15e7,rose:2,poppy:2,xp:0}:e==="rescue_boat"?{berry:225e6,rose:2,poppy:2}:{berry:15e7,rose:2,poppy:2},void 0)}),rewards:e==="rudder"?{berry:15e7,rose:2,poppy:2,xp:0}:e==="rescue_boat"?{berry:225e6,rose:2,poppy:2}:{berry:15e7,rose:2,poppy:2},penalties:void 0}},{id:"goto_explore_without_torch",label:o.t("raids.mysterious_island.goto_explore_without_torch.label"),goto:["uc_explore_ruin","ev_walk_ruin","uc_try_open_door","ev_door_locked","rq_use_old_key","ev_use_old_key","uc_enter_passage","ev_walk_passage"]}]}}]}},{id:"uc_force_door",label:o.t("raids.mysterious_island.uc_force_door.label"),output:{id:"ev_force_door",title:o.t("raids.mysterious_island.ev_force_door.title"),text:o.t("raids.mysterious_island.ev_force_door.text"),rewards:void 0,penalties:void 0,outputs:[{id:"goto_search_way",label:o.t("raids.mysterious_island.goto_search_way.label"),goto:["uc_explore_ruin","ev_walk_ruin","uc_search_way","ev_search_way"]},{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}]}},{id:"uc_search_way",label:o.t("raids.mysterious_island.uc_search_way.label"),output:{id:"ev_search_way",title:o.t("raids.mysterious_island.ev_search_way.title"),text:o.t("raids.mysterious_island.ev_search_way.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_ramp",label:o.t("raids.mysterious_island.uc_ramp.label"),output:{id:"c_ramp",requirements:e==="sailing_boat"?{agility:108}:{agility:120},success:{id:"ev_ramp_success",title:o.t("raids.mysterious_island.ev_ramp_success.title"),text:o.t("raids.mysterious_island.ev_ramp_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:e==="anchor"?{hp:50}:{hp:100},outputs:[{id:"uc_explore_gallery_no_torch",label:o.t("raids.mysterious_island.uc_explore_gallery_no_torch.label"),output:{id:"ev_explore_gallery_no_torch",title:o.t("raids.mysterious_island.ev_explore_gallery_no_torch.title"),text:o.t("raids.mysterious_island.ev_explore_gallery_no_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.mysterious_island.uc_open_chest.label"),output:{id:"end_old_chest",title:o.t("raids.mysterious_island.end_old_chest.title"),text:o.t("raids.mysterious_island.end_old_chest.text",{rewards:y(e==="rudder"?{berry:1e8,essence_moon:3,xp:0}:e==="rescue_boat"?{berry:15e7,essence_moon:3}:{berry:1e8,essence_moon:3},void 0)}),rewards:e==="rudder"?{berry:1e8,essence_moon:3,xp:0}:e==="rescue_boat"?{berry:15e7,essence_moon:3}:{berry:1e8,essence_moon:3},penalties:void 0}}]}},{id:"rq_explore_gallery_with_torch",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_explore_gallery_with_torch.label",{requirements:K.findItem("wood").name(1)}),output:{id:"ev_explore_gallery_with_torch",title:o.t("raids.mysterious_island.ev_explore_gallery_with_torch.title"),text:o.t("raids.mysterious_island.ev_explore_gallery_with_torch.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"end_explore_gallery_with_torch",title:o.t("raids.mysterious_island.end_explore_gallery_with_torch.title"),text:o.t("raids.mysterious_island.end_explore_gallery_with_torch.text",{rewards:y(e==="rudder"?{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2,xp:0}:e==="rescue_boat"?{berry:3e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2}:{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2},void 0)}),rewards:e==="rudder"?{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2,xp:0}:e==="rescue_boat"?{berry:3e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2}:{berry:2e8,bottle_xp_1:10,bottle_xp_2_casino:2,bottle_xp_2_work:2,bottle_xp_2_berry:2},penalties:void 0}}]}}]},failure:{id:"ev_ramp_failure",title:o.t("raids.mysterious_island.ev_ramp_failure.title"),text:o.t("raids.mysterious_island.ev_ramp_failure.text",{rewards:y(void 0,e==="anchor"?{hp:100}:{hp:200})}),rewards:void 0,penalties:e==="anchor"?{hp:100}:{hp:200},outputs:[{id:"goto_u_turn",label:o.t("raids.mysterious_island.goto_u_turn.label"),goto:["uc_search_jungle","ev_enter_jungle"]}]}}}]}}]}},{id:"uc_search_jungle",label:o.t("raids.mysterious_island.uc_search_jungle.label"),output:{id:"ev_enter_jungle",title:o.t("raids.mysterious_island.ev_enter_jungle.title"),text:o.t("raids.mysterious_island.ev_enter_jungle.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_hard_way",label:o.t("raids.mysterious_island.uc_explore_hard_way.label"),output:{id:"ev_wild_animals",title:o.t("raids.mysterious_island.ev_wild_animals.title"),text:o.t("raids.mysterious_island.ev_wild_animals.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_fight_animals",label:o.t("raids.mysterious_island.uc_fight_animals.label"),output:{id:"c_fight_animals",requirements:e==="sailing_boat"?{strength:103.5,agility:103.5}:{strength:115,agility:115},success:{id:"ev_fight_animals_success",title:o.t("raids.mysterious_island.ev_fight_animals_success.title"),text:o.t("raids.mysterious_island.ev_fight_animals_success.text",{rewards:y(e==="rudder"?{berry:1e7,xp:44e3}:e==="rescue_boat"?{berry:15e6,xp:4e4}:{berry:1e7,xp:4e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{berry:1e7,xp:44e3}:e==="rescue_boat"?{berry:15e6,xp:4e4}:{berry:1e7,xp:4e4},penalties:e==="anchor"?{hp:50}:{hp:100},outputs:[{id:"uc_go_back_ship",label:o.t("raids.mysterious_island.uc_go_back_ship.label"),output:{id:"end_go_back_ship",title:o.t("raids.mysterious_island.end_go_back_ship.title"),text:o.t("raids.mysterious_island.end_go_back_ship.text"),rewards:void 0,penalties:void 0}},{id:"uc_continue",label:o.t("raids.mysterious_island.uc_continue.label"),output:{id:"ev_keep_going_find_cave",title:o.t("raids.mysterious_island.ev_keep_going_find_cave.title"),text:o.t("raids.mysterious_island.ev_keep_going_find_cave.text"),rewards:void 0,penalties:void 0,outputs:[{id:"goto_enter_cave",label:o.t("raids.mysterious_island.goto_enter_cave.label"),goto:["uc_search_jungle","ev_enter_jungle","uc_explore_hard_way","ev_wild_animals","uc_dodge_animals","ev_dodge_animals","uc_enter_cave","ev_dark_cave"]}]}}]},failure:{id:"end_fight_animals_failure",title:o.t("raids.mysterious_island.end_fight_animals_failure.title"),text:o.t("raids.mysterious_island.end_fight_animals_failure.text",{rewards:y(e==="rudder"?{berry:1e7,xp:22e3}:e==="rescue_boat"?{berry:15e6,xp:2e4}:{berry:1e7,xp:2e4},e==="anchor"?{hp:200}:{hp:400})}),rewards:e==="rudder"?{berry:1e7,xp:22e3}:e==="rescue_boat"?{berry:15e6,xp:2e4}:{berry:1e7,xp:2e4},penalties:e==="anchor"?{hp:200}:{hp:400}}}},{id:"uc_dodge_animals",label:o.t("raids.mysterious_island.uc_dodge_animals.label"),output:{id:"ev_dodge_animals",title:o.t("raids.mysterious_island.ev_dodge_animals.title"),text:o.t("raids.mysterious_island.ev_dodge_animals.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_enter_cave",label:o.t("raids.mysterious_island.uc_enter_cave.label"),output:{id:"ev_dark_cave",title:o.t("raids.mysterious_island.ev_dark_cave.title"),text:o.t("raids.mysterious_island.ev_dark_cave.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cave_torch",requirements:{wood:1},label:o.t("raids.mysterious_island.rq_cave_torch.label",{requirements:K.findItem("wood").name(1)}),output:{id:"ev_cave_torch_on",title:o.t("raids.mysterious_island.ev_cave_torch_on.title"),text:o.t("raids.mysterious_island.ev_cave_torch_on.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.mysterious_island.uc_open_chest.label"),output:{id:"end_cave_open_chest",title:o.t("raids.mysterious_island.end_cave_open_chest.title"),text:o.t("raids.mysterious_island.end_cave_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,xp:22e3,sea_salt:2}:e==="rescue_boat"?{berry:15e7,xp:2e4,sea_salt:2}:{berry:1e8,xp:2e4,sea_salt:2},void 0)}),rewards:e==="rudder"?{berry:1e8,xp:22e3,sea_salt:2}:e==="rescue_boat"?{berry:15e7,xp:2e4,sea_salt:2}:{berry:1e8,xp:2e4,sea_salt:2},penalties:void 0}}]}},{id:"uc_blind_walk",label:o.t("raids.mysterious_island.uc_blind_walk.label"),output:{id:"end_cave_blind_walk",title:o.t("raids.mysterious_island.end_cave_blind_walk.title"),text:o.t("raids.mysterious_island.end_cave_blind_walk.text",{rewards:y(e==="rudder"?{berry:5e7,xp:11e3}:e==="rescue_boat"?{berry:75e6,xp:1e4}:{berry:5e7,xp:1e4},e==="anchor"?{hp:50}:{hp:100})}),rewards:e==="rudder"?{berry:5e7,xp:11e3}:e==="rescue_boat"?{berry:75e6,xp:1e4}:{berry:5e7,xp:1e4},penalties:e==="anchor"?{hp:50}:{hp:100}}}]}}]}}]}},{id:"uc_follow_main_path",label:o.t("raids.mysterious_island.uc_follow_main_path.label"),output:{id:"ev_main_path",title:o.t("raids.mysterious_island.ev_main_path.title"),text:o.t("raids.mysterious_island.ev_main_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_medicine_herbs",label:o.t("raids.mysterious_island.uc_search_medicine_herbs.label"),output:{id:"c_herbs_wisdom",requirements:e==="sailing_boat"?{wisdom:108}:{wisdom:120},success:{id:"end_herbs_wisdom_success",title:o.t("raids.mysterious_island.end_herbs_wisdom_success.title"),text:o.t("raids.mysterious_island.end_herbs_wisdom_success.text",{rewards:y(e==="rudder"?{xp:27500,clover:10,poppy:3,ebony_poppy:5}:e==="rescue_boat"?{xp:25e3,clover:10,poppy:3,ebony_poppy:5,berry:0}:{xp:25e3,clover:10,poppy:3,ebony_poppy:5},void 0)}),rewards:e==="rudder"?{xp:27500,clover:10,poppy:3,ebony_poppy:5}:e==="rescue_boat"?{xp:25e3,clover:10,poppy:3,ebony_poppy:5,berry:0}:{xp:25e3,clover:10,poppy:3,ebony_poppy:5},penalties:void 0},failure:{id:"end_herbs_wisdom_failure",title:o.t("raids.mysterious_island.end_herbs_wisdom_failure.title"),text:o.t("raids.mysterious_island.end_herbs_wisdom_failure.text",{rewards:y(e==="rudder"?{xp:5500,clover:2,hemp:3,cereal:3}:e==="rescue_boat"?{xp:5e3,clover:2,hemp:3,cereal:3,berry:0}:{xp:5e3,clover:2,hemp:3,cereal:3},void 0)}),rewards:e==="rudder"?{xp:5500,clover:2,hemp:3,cereal:3}:e==="rescue_boat"?{xp:5e3,clover:2,hemp:3,cereal:3,berry:0}:{xp:5e3,clover:2,hemp:3,cereal:3},penalties:void 0}}},{id:"uc_take_fruits",label:o.t("raids.mysterious_island.uc_take_fruits.label"),output:{id:"end_find_fruits",title:o.t("raids.mysterious_island.end_find_fruits.title"),text:o.t("raids.mysterious_island.end_find_fruits.text",{rewards:y(e==="rudder"?{fruit:20,xp:11e3}:e==="rescue_boat"?{fruit:20,xp:1e4,berry:0}:{fruit:20,xp:1e4},void 0)}),rewards:e==="rudder"?{fruit:20,xp:11e3}:e==="rescue_boat"?{fruit:20,xp:1e4,berry:0}:{fruit:20,xp:1e4},penalties:void 0}}]}}]}}]}}),zn=e=>({id:"pirate_cave",name:o.t("raids.pirate_cave.name"),description:o.t("raids.pirate_cave.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.pirate_cave.ev_start.title"),text:o.t("raids.pirate_cave.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.pirate_cave.uc_continue.label"),output:{id:"ev_cave_entry",title:o.t("raids.pirate_cave.ev_cave_entry.title"),text:o.t("raids.pirate_cave.ev_cave_entry.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_cave_entry",label:o.t("raids.pirate_cave.uc_cave_entry.label"),output:{id:"ev_cave_begin",title:o.t("raids.pirate_cave.ev_cave_begin.title"),text:o.t("raids.pirate_cave.ev_cave_begin.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cave_torch",requirements:{wood:1},label:o.t("raids.pirate_cave.rq_cave_torch.label",{requirements:K.findItem("wood").name(1)}),output:{id:"ev_torch_on",title:o.t("raids.pirate_cave.ev_torch_on.title"),text:o.t("raids.pirate_cave.ev_torch_on.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_left_path",label:o.t("raids.pirate_cave.uc_left_path.label"),output:{id:"ev_left_path",title:o.t("raids.pirate_cave.ev_left_path.title"),text:o.t("raids.pirate_cave.ev_left_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_remove_traps",requirements:{tools:1},label:o.t("raids.pirate_cave.rq_remove_traps.label",{requirements:K.findItem("tools").name(1)}),output:{id:"ev_no_trap",title:o.t("raids.pirate_cave.ev_no_trap.title"),text:o.t("raids.pirate_cave.ev_no_trap.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.pirate_cave.uc_open_chest.label"),output:{id:"end_open_chest",title:o.t("raids.pirate_cave.end_open_chest.title"),text:o.t("raids.pirate_cave.end_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},void 0)}),rewards:e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},penalties:void 0}},{id:"uc_explore_room",label:o.t("raids.pirate_cave.uc_explore_room.label"),output:{id:"end_explore_room",title:o.t("raids.pirate_cave.end_explore_room.title"),text:o.t("raids.pirate_cave.end_explore_room.text",{rewards:y(e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},void 0)}),rewards:e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},penalties:void 0}}]}},{id:"uc_dodge_traps",label:o.t("raids.pirate_cave.uc_dodge_traps.label"),output:{id:"c_agility_trap",requirements:e==="sailing_boat"?{agility:103.5}:{agility:115},success:{id:"ev_dodge_traps_success",title:o.t("raids.pirate_cave.ev_dodge_traps_success.title"),text:o.t("raids.pirate_cave.ev_dodge_traps_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_open_chest",label:o.t("raids.pirate_cave.uc_open_chest.label"),output:{id:"end_open_chest",title:o.t("raids.pirate_cave.end_open_chest.title"),text:o.t("raids.pirate_cave.end_open_chest.text",{rewards:y(e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},void 0)}),rewards:e==="rudder"?{berry:1e8,sapphire:1,xp:0}:e==="rescue_boat"?{berry:15e7,sapphire:1}:{berry:1e8,sapphire:1},penalties:void 0}},{id:"uc_explore_room",label:o.t("raids.pirate_cave.uc_explore_room.label"),output:{id:"end_explore_room",title:o.t("raids.pirate_cave.end_explore_room.title"),text:o.t("raids.pirate_cave.end_explore_room.text",{rewards:y(e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},void 0)}),rewards:e==="rudder"?{berry:2e8,ruby:1,xp:0}:e==="rescue_boat"?{berry:3e8,ruby:1}:{berry:2e8,ruby:1},penalties:void 0}}]},failure:{id:"end_dodge_traps_failure",title:o.t("raids.pirate_cave.end_dodge_traps_failure.title"),text:o.t("raids.pirate_cave.end_dodge_traps_failure.text",{rewards:y(e==="rudder"?{berry:1e5,xp:7700}:e==="rescue_boat"?{berry:15e4,xp:7e3}:{berry:1e5,xp:7e3},e==="anchor"?{hp:25}:{hp:50})}),rewards:e==="rudder"?{berry:1e5,xp:7700}:e==="rescue_boat"?{berry:15e4,xp:7e3}:{berry:1e5,xp:7e3},penalties:e==="anchor"?{hp:25}:{hp:50}}}}]}},{id:"uc_right_path",label:o.t("raids.pirate_cave.uc_right_path.label"),output:{id:"ev_right_path",title:o.t("raids.pirate_cave.ev_right_path.title"),text:o.t("raids.pirate_cave.ev_right_path.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_seek_chamber",label:o.t("raids.pirate_cave.uc_seek_chamber.label"),output:{id:"end_chamber",title:o.t("raids.pirate_cave.end_chamber.title"),text:o.t("raids.pirate_cave.end_chamber.text",{rewards:y(e==="rudder"?{berry:2e7,xp:27500,scroll_wisdom:1}:e==="rescue_boat"?{berry:3e7,xp:25e3,scroll_wisdom:1}:{berry:2e7,xp:25e3,scroll_wisdom:1},void 0)}),rewards:e==="rudder"?{berry:2e7,xp:27500,scroll_wisdom:1}:e==="rescue_boat"?{berry:3e7,xp:25e3,scroll_wisdom:1}:{berry:2e7,xp:25e3,scroll_wisdom:1},penalties:void 0}},{id:"uc_keep_going",label:o.t("raids.pirate_cave.uc_keep_going.label"),output:{id:"ev_ghost_trap",title:o.t("raids.pirate_cave.ev_ghost_trap.title"),text:o.t("raids.pirate_cave.ev_ghost_trap.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_fight_ghost",label:o.t("raids.pirate_cave.uc_fight_ghost.label"),output:{id:"c_strength_ghosts",requirements:e==="sailing_boat"?{strength:112.5}:{strength:125},success:{id:"end_fight_ghost_success",title:o.t("raids.pirate_cave.end_fight_ghost_success.title"),text:o.t("raids.pirate_cave.end_fight_ghost_success.text",{rewards:y(e==="rudder"?{berry:2e8,xp:88e3}:e==="rescue_boat"?{berry:3e8,xp:8e4}:{berry:2e8,xp:8e4},void 0)}),rewards:e==="rudder"?{berry:2e8,xp:88e3}:e==="rescue_boat"?{berry:3e8,xp:8e4}:{berry:2e8,xp:8e4},penalties:void 0},failure:{id:"end_fight_ghost_failure",title:o.t("raids.pirate_cave.end_fight_ghost_failure.title"),text:o.t("raids.pirate_cave.end_fight_ghost_failure.text",{rewards:y(e==="rudder"?{berry:5e4,xp:88e3}:e==="rescue_boat"?{berry:75e3,xp:8e4}:{berry:5e4,xp:8e4},e==="anchor"?{hp:300}:{hp:600})}),rewards:e==="rudder"?{berry:5e4,xp:88e3}:e==="rescue_boat"?{berry:75e3,xp:8e4}:{berry:5e4,xp:8e4},penalties:e==="anchor"?{hp:300}:{hp:600}}}},{id:"uc_flee",label:o.t("raids.pirate_cave.uc_flee.label"),output:{id:"c_agility_ghosts",requirements:e==="sailing_boat"?{agility:99}:{agility:110},success:{id:"end_flee_ghost_success",title:o.t("raids.pirate_cave.end_flee_ghost_success.title"),text:o.t("raids.pirate_cave.end_flee_ghost_success.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0},failure:{id:"end_flee_ghost_failure",title:o.t("raids.pirate_cave.end_flee_ghost_failure.title"),text:o.t("raids.pirate_cave.end_flee_ghost_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{berry:25e5,hp:150}:{berry:5e6,hp:300})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{berry:25e5,hp:150}:{berry:5e6,hp:300}}}}]}}]}}]}},{id:"uc_walk_dark",label:o.t("raids.pirate_cave.uc_walk_dark.label"),output:{id:"ev_secret_passage",title:o.t("raids.pirate_cave.ev_secret_passage.title"),text:o.t("raids.pirate_cave.ev_secret_passage.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_sneak_walk",label:o.t("raids.pirate_cave.uc_sneak_walk.label"),output:{id:"c_agility_sneak_walk",requirements:e==="sailing_boat"?{agility:103.5}:{agility:115},success:{id:"ev_sneak_walk_success",title:o.t("raids.pirate_cave.ev_sneak_walk_success.title"),text:o.t("raids.pirate_cave.ev_sneak_walk_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_fill_bag",label:o.t("raids.pirate_cave.uc_fill_bag.label"),output:{id:"c_strength_fill_bag",requirements:e==="sailing_boat"?{strength:99}:{strength:110},success:{id:"end_fill_bag_success",title:o.t("raids.pirate_cave.end_fill_bag_success.title"),text:o.t("raids.pirate_cave.end_fill_bag_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},penalties:void 0},failure:{id:"end_fill_bag_failure",title:o.t("raids.pirate_cave.end_fill_bag_failure.title"),text:o.t("raids.pirate_cave.end_fill_bag_failure.text",{rewards:y(e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},void 0)}),rewards:e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},penalties:void 0}}}]},failure:{id:"ev_sneak_walk_failure",title:o.t("raids.pirate_cave.ev_sneak_walk_failure.title"),text:o.t("raids.pirate_cave.ev_sneak_walk_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_keep_breath",label:o.t("raids.pirate_cave.uc_keep_breath.label"),output:{id:"c_chance_keep_breath",requirements:e==="sailing_boat"?{chance:103.5}:{chance:115},success:{id:"ev_keep_breath_success",title:o.t("raids.pirate_cave.ev_keep_breath_success.title"),text:o.t("raids.pirate_cave.ev_keep_breath_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_fill_bag",label:o.t("raids.pirate_cave.uc_fill_bag.label"),output:{id:"c_strength_fill_bag",requirements:e==="sailing_boat"?{strength:99}:{strength:110},success:{id:"end_fill_bag_success",title:o.t("raids.pirate_cave.end_fill_bag_success.title"),text:o.t("raids.pirate_cave.end_fill_bag_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:5,repair_tissue:4,repair_rope:4},penalties:void 0},failure:{id:"end_fill_bag_failure",title:o.t("raids.pirate_cave.end_fill_bag_failure.title"),text:o.t("raids.pirate_cave.end_fill_bag_failure.text",{rewards:y(e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},void 0)}),rewards:e==="rudder"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,xp:0}:e==="rescue_boat"?{repair_wood_plank:2,repair_tissue:2,repair_rope:2,berry:0}:{repair_wood_plank:2,repair_tissue:2,repair_rope:2},penalties:void 0}}}]},failure:{id:"ev_keep_breath_failure",title:o.t("raids.pirate_cave.ev_keep_breath_failure.title"),text:o.t("raids.pirate_cave.ev_keep_breath_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},void 0)}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:void 0,outputs:[{id:"uc_fight_pirate",label:o.t("raids.pirate_cave.uc_fight_pirate.label"),output:{id:"c_strength_fight_pirate",requirements:e==="sailing_boat"?{strength:108}:{strength:120},success:{id:"end_fight_pirate_success",title:o.t("raids.pirate_cave.end_fight_pirate_success.title"),text:o.t("raids.pirate_cave.end_fight_pirate_success.text",{rewards:y(e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{empty_chest:1,iron:4,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{empty_chest:1,iron:4,repair_wood_plank:4},penalties:void 0},failure:{id:"end_fight_pirate_failure",title:o.t("raids.pirate_cave.end_fight_pirate_failure.title"),text:o.t("raids.pirate_cave.end_fight_pirate_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{hp:250}:{hp:500})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{hp:250}:{hp:500}}}},{id:"uc_flee",label:o.t("raids.pirate_cave.uc_flee.label"),output:{id:"c_agility_flee_pirate",requirements:e==="sailing_boat"?{agility:99}:{agility:110},success:{id:"end_flee_pirate_success",title:o.t("raids.pirate_cave.end_flee_pirate_success.title"),text:o.t("raids.pirate_cave.end_flee_pirate_success.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0},failure:{id:"end_flee_pirate_failure",title:o.t("raids.pirate_cave.end_flee_pirate_failure.title"),text:o.t("raids.pirate_cave.end_flee_pirate_failure.text",{rewards:y(e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},e==="anchor"?{hp:150}:{hp:300})}),rewards:e==="rudder"?{xp:11e3}:e==="rescue_boat"?{xp:1e4,berry:0}:{xp:1e4},penalties:e==="anchor"?{hp:150}:{hp:300}}}}]}}}]}}},{id:"uc_stun_pirate",label:o.t("raids.pirate_cave.uc_stun_pirate.label"),output:{id:"c_strength_stun_pirate",requirements:e==="sailing_boat"?{strength:67.5}:{strength:75},success:{id:"end_stun_pirate_success",title:o.t("raids.pirate_cave.end_stun_pirate_success.title"),text:o.t("raids.pirate_cave.end_stun_pirate_success.text",{rewards:y(e==="rudder"?{xp:82500,empty_chest:1,iron:4,repair_wood_plank:4}:e==="rescue_boat"?{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{xp:82500,empty_chest:1,iron:4,repair_wood_plank:4}:e==="rescue_boat"?{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4,berry:0}:{xp:75e3,empty_chest:1,iron:4,repair_wood_plank:4},penalties:void 0},failure:{id:"end_stun_pirate_failure",title:o.t("raids.pirate_cave.end_stun_pirate_failure.title"),text:o.t("raids.pirate_cave.end_stun_pirate_failure.text",{rewards:y(e==="rudder"?{xp:27500}:e==="rescue_boat"?{xp:25e3,berry:0}:{xp:25e3},e==="anchor"?{hp:100}:{hp:200})}),rewards:e==="rudder"?{xp:27500}:e==="rescue_boat"?{xp:25e3,berry:0}:{xp:25e3},penalties:e==="anchor"?{hp:100}:{hp:200}}}}]}}]}}]}}]}}),Zn=e=>({id:"resources",name:o.t("raids.resources.name"),description:o.t("raids.resources.description"),isSpecial:!0,start:{id:"ev_start",title:o.t("raids.resources.ev_start.title"),text:o.t("raids.resources.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_explore_forest",label:o.t("raids.resources.uc_explore_forest.label"),output:{id:"ev_enter_forest",title:o.t("raids.resources.ev_enter_forest.title"),text:o.t("raids.resources.ev_enter_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_wood",label:o.t("raids.resources.uc_search_wood.label"),output:{id:"ev_search_wood",title:o.t("raids.resources.ev_search_wood.title"),text:o.t("raids.resources.ev_search_wood.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_wood",requirements:{tools:1},label:o.t("raids.resources.rq_wood.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_wood_big",title:o.t("raids.resources.end_wood_big.title"),text:o.t("raids.resources.end_wood_big.text",{rewards:y(e==="rudder"?{wood:20,xp:0}:e==="rescue_boat"?{wood:20,berry:0}:{wood:20},void 0)}),rewards:e==="rudder"?{wood:20,xp:0}:e==="rescue_boat"?{wood:20,berry:0}:{wood:20},penalties:void 0}},{id:"uc_wood",label:o.t("raids.resources.uc_wood.label"),output:{id:"end_wood_small",title:o.t("raids.resources.end_wood_small.title"),text:o.t("raids.resources.end_wood_small.text",{rewards:y(e==="rudder"?{wood:10,xp:0}:e==="rescue_boat"?{wood:10,berry:0}:{wood:10},void 0)}),rewards:e==="rudder"?{wood:10,xp:0}:e==="rescue_boat"?{wood:10,berry:0}:{wood:10},penalties:void 0}}]}},{id:"uc_search_iron",label:o.t("raids.resources.uc_search_iron.label"),output:{id:"ev_goto_mine",title:o.t("raids.resources.ev_goto_mine.title"),text:o.t("raids.resources.ev_goto_mine.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_iron",requirements:{tools:1},label:o.t("raids.resources.rq_iron.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_iron_big",title:o.t("raids.resources.end_iron_big.title"),text:o.t("raids.resources.end_iron_big.text",{rewards:y(e==="rudder"?{iron_ore:20,xp:0}:e==="rescue_boat"?{iron_ore:20,berry:0}:{iron_ore:20},void 0)}),rewards:e==="rudder"?{iron_ore:20,xp:0}:e==="rescue_boat"?{iron_ore:20,berry:0}:{iron_ore:20},penalties:void 0}},{id:"uc_iron",label:o.t("raids.resources.uc_iron.label"),output:{id:"end_iron_small",title:o.t("raids.resources.end_iron_small.title"),text:o.t("raids.resources.end_iron_small.text",{rewards:y(e==="rudder"?{iron_ore:10,xp:0}:e==="rescue_boat"?{iron_ore:10,berry:0}:{iron_ore:10},void 0)}),rewards:e==="rudder"?{iron_ore:10,xp:0}:e==="rescue_boat"?{iron_ore:10,berry:0}:{iron_ore:10},penalties:void 0}}]}}]}},{id:"uc_explore_beach",label:o.t("raids.resources.uc_explore_beach.label"),output:{id:"ev_enter_beach",title:o.t("raids.resources.ev_enter_beach.title"),text:o.t("raids.resources.ev_enter_beach.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_goto_herbs",label:o.t("raids.resources.uc_goto_herbs.label"),output:{id:"ev_hemp",title:o.t("raids.resources.ev_hemp.title"),text:o.t("raids.resources.ev_hemp.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_hemp",requirements:{tools:1},label:o.t("raids.resources.rq_hemp.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_hemp_big",title:o.t("raids.resources.end_hemp_big.title"),text:o.t("raids.resources.end_hemp_big.text",{rewards:y(e==="rudder"?{hemp:20,xp:0}:e==="rescue_boat"?{hemp:20,berry:0}:{hemp:20},void 0)}),rewards:e==="rudder"?{hemp:20,xp:0}:e==="rescue_boat"?{hemp:20,berry:0}:{hemp:20},penalties:void 0}},{id:"uc_hemp",label:o.t("raids.resources.uc_hemp.label"),output:{id:"end_hemp_small",title:o.t("raids.resources.end_hemp_small.title"),text:o.t("raids.resources.end_hemp_small.text",{rewards:y(e==="rudder"?{hemp:10,xp:0}:e==="rescue_boat"?{hemp:10,berry:0}:{hemp:10},void 0)}),rewards:e==="rudder"?{hemp:10,xp:0}:e==="rescue_boat"?{hemp:10,berry:0}:{hemp:10},penalties:void 0}}]}},{id:"uc_search_salt_water",label:o.t("raids.resources.uc_search_salt_water.label"),output:{id:"ev_salt_water",title:o.t("raids.resources.ev_salt_water.title"),text:o.t("raids.resources.ev_salt_water.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_bowl",requirements:{bowl:1},label:o.t("raids.resources.rq_bowl.label",{requirements:K.findItem("bowl").name(1)}),output:{id:"end_salt_water_big",title:o.t("raids.resources.end_salt_water_big.title"),text:o.t("raids.resources.end_salt_water_big.text",{rewards:y(e==="rudder"?{salt_water:10,xp:0}:e==="rescue_boat"?{salt_water:10,berry:0}:{salt_water:10},void 0)}),rewards:e==="rudder"?{salt_water:10,xp:0}:e==="rescue_boat"?{salt_water:10,berry:0}:{salt_water:10},penalties:void 0}},{id:"uc_bowl",label:o.t("raids.resources.uc_bowl.label"),output:{id:"end_salt_water_small",title:o.t("raids.resources.end_salt_water_small.title"),text:o.t("raids.resources.end_salt_water_small.text",{rewards:y(e==="rudder"?{salt_water:5,xp:0}:e==="rescue_boat"?{salt_water:5,berry:0}:{salt_water:5},void 0)}),rewards:e==="rudder"?{salt_water:5,xp:0}:e==="rescue_boat"?{salt_water:5,berry:0}:{salt_water:5},penalties:void 0}}]}}]}},{id:"uc_goto_plains",label:o.t("raids.resources.uc_goto_plains.label"),output:{id:"ev_enter_plains",title:o.t("raids.resources.ev_enter_plains.title"),text:o.t("raids.resources.ev_enter_plains.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_search_cereal",label:o.t("raids.resources.uc_search_cereal.label"),output:{id:"ev_search_cereal",title:o.t("raids.resources.ev_search_cereal.title"),text:o.t("raids.resources.ev_search_cereal.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cereal",requirements:{tools:1},label:o.t("raids.resources.rq_cereal.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_cereal_big",title:o.t("raids.resources.end_cereal_big.title"),text:o.t("raids.resources.end_cereal_big.text",{rewards:y(e==="rudder"?{cereal:20,xp:0}:e==="rescue_boat"?{cereal:20,berry:0}:{cereal:20},void 0)}),rewards:e==="rudder"?{cereal:20,xp:0}:e==="rescue_boat"?{cereal:20,berry:0}:{cereal:20},penalties:void 0}},{id:"uc_cereal",label:o.t("raids.resources.uc_cereal.label"),output:{id:"end_cereal_small",title:o.t("raids.resources.end_cereal_small.title"),text:o.t("raids.resources.end_cereal_small.text",{rewards:y(e==="rudder"?{cereal:10,xp:0}:e==="rescue_boat"?{cereal:10,berry:0}:{cereal:10},void 0)}),rewards:e==="rudder"?{cereal:10,xp:0}:e==="rescue_boat"?{cereal:10,berry:0}:{cereal:10},penalties:void 0}}]}},{id:"uc_search_cotton",label:o.t("raids.resources.uc_search_cotton.label"),output:{id:"ev_search_cotton",title:o.t("raids.resources.ev_search_cotton.title"),text:o.t("raids.resources.ev_search_cotton.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_cotton",requirements:{tools:1},label:o.t("raids.resources.rq_cotton.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_cotton_big",title:o.t("raids.resources.end_cotton_big.title"),text:o.t("raids.resources.end_cotton_big.text",{rewards:y(e==="rudder"?{cotton:20,xp:0}:e==="rescue_boat"?{cotton:20,berry:0}:{cotton:20},void 0)}),rewards:e==="rudder"?{cotton:20,xp:0}:e==="rescue_boat"?{cotton:20,berry:0}:{cotton:20},penalties:void 0}},{id:"uc_cotton",label:o.t("raids.resources.uc_cotton.label"),output:{id:"end_cotton_small",title:o.t("raids.resources.end_cotton_small.title"),text:o.t("raids.resources.end_cotton_small.text",{rewards:y(e==="rudder"?{cotton:10,xp:0}:e==="rescue_boat"?{cotton:10,berry:0}:{cotton:10},void 0)}),rewards:e==="rudder"?{cotton:10,xp:0}:e==="rescue_boat"?{cotton:10,berry:0}:{cotton:10},penalties:void 0}}]}},{id:"uc_search_fruit",label:o.t("raids.resources.uc_search_fruit.label"),output:{id:"ev_fruit",title:o.t("raids.resources.ev_fruit.title"),text:o.t("raids.resources.ev_fruit.text"),rewards:void 0,penalties:void 0,outputs:[{id:"rq_fruit",requirements:{tools:1},label:o.t("raids.resources.rq_fruit.label",{requirements:K.findItem("tools").name(1)}),output:{id:"end_fruit_big",title:o.t("raids.resources.end_fruit_big.title"),text:o.t("raids.resources.end_fruit_big.text",{rewards:y(e==="rudder"?{fruit:10,xp:0}:e==="rescue_boat"?{fruit:10,berry:0}:{fruit:10},void 0)}),rewards:e==="rudder"?{fruit:10,xp:0}:e==="rescue_boat"?{fruit:10,berry:0}:{fruit:10},penalties:void 0}},{id:"uc_fruit",label:o.t("raids.resources.uc_fruit.label"),output:{id:"end_fruit_small",title:o.t("raids.resources.end_fruit_small.title"),text:o.t("raids.resources.end_fruit_small.text",{rewards:y(e==="rudder"?{fruit:5,xp:0}:e==="rescue_boat"?{fruit:5,berry:0}:{fruit:5},void 0)}),rewards:e==="rudder"?{fruit:5,xp:0}:e==="rescue_boat"?{fruit:5,berry:0}:{fruit:5},penalties:void 0}}]}}]}}]}}),Bn=e=>({id:"training",name:o.t("raids.training.name"),description:o.t("raids.training.description"),isSpecial:!1,start:{id:"ev_start",title:o.t("raids.training.ev_start.title"),text:o.t("raids.training.ev_start.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_follow_marin",label:o.t("raids.training.uc_follow_marin.label"),output:{id:"ev_dense_jungle",title:o.t("raids.training.ev_dense_jungle.title"),text:o.t("raids.training.ev_dense_jungle.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_cross_river",label:o.t("raids.training.uc_cross_river.label"),output:{id:"c_agility50",requirements:e==="sailing_boat"?{agility:45}:{agility:50},success:{id:"ev_agility50_success",title:o.t("raids.training.ev_agility50_success.title"),text:o.t("raids.training.ev_agility50_success.text",{rewards:y(e==="rudder"?{xp:82500}:e==="rescue_boat"?{xp:75e3,berry:0}:{xp:75e3},void 0)}),rewards:e==="rudder"?{xp:82500}:e==="rescue_boat"?{xp:75e3,berry:0}:{xp:75e3},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_begin_forest",title:o.t("raids.training.ev_begin_forest.title"),text:o.t("raids.training.ev_begin_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_take_fruit",label:o.t("raids.training.uc_take_fruit.label"),output:{id:"end_fruits",title:o.t("raids.training.end_fruits.title"),text:o.t("raids.training.end_fruits.text",{rewards:y(e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},void 0)}),rewards:e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},penalties:void 0}},{id:"uc_collect_plants",label:o.t("raids.training.uc_collect_plants.label"),output:{id:"end_plants",title:o.t("raids.training.end_plants.title"),text:o.t("raids.training.end_plants.text",{rewards:y(e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},void 0)}),rewards:e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},penalties:void 0}}]}}]},failure:{id:"ev_agility50_failure",title:o.t("raids.training.ev_agility50_failure.title"),text:o.t("raids.training.ev_agility50_failure.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_begin_forest",title:o.t("raids.training.ev_begin_forest.title"),text:o.t("raids.training.ev_begin_forest.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_take_fruit",label:o.t("raids.training.uc_take_fruit.label"),output:{id:"end_fruits",title:o.t("raids.training.end_fruits.title"),text:o.t("raids.training.end_fruits.text",{rewards:y(e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},void 0)}),rewards:e==="rudder"?{fruit:4,xp:0}:e==="rescue_boat"?{fruit:4,berry:0}:{fruit:4},penalties:void 0}},{id:"uc_collect_plants",label:o.t("raids.training.uc_collect_plants.label"),output:{id:"end_plants",title:o.t("raids.training.end_plants.title"),text:o.t("raids.training.end_plants.text",{rewards:y(e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},void 0)}),rewards:e==="rudder"?{clover:3,hemp:4,xp:0}:e==="rescue_boat"?{clover:3,hemp:4,berry:0}:{clover:3,hemp:4},penalties:void 0}}]}}]}}},{id:"uc_rock_path",label:o.t("raids.training.uc_rock_path.label"),output:{id:"ev_hard_path",title:o.t("raids.training.ev_hard_path.title"),text:o.t("raids.training.ev_hard_path.text",{rewards:y(e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},void 0)}),rewards:e==="rudder"?{xp:55e3}:e==="rescue_boat"?{xp:5e4,berry:0}:{xp:5e4},penalties:void 0,outputs:[{id:"uc_continue",label:o.t("raids.training.uc_continue.label"),output:{id:"ev_swamp",title:o.t("raids.training.ev_swamp.title"),text:o.t("raids.training.ev_swamp.text"),rewards:void 0,penalties:void 0,outputs:[{id:"uc_rummage_captain_suite",label:o.t("raids.training.uc_rummage_captain_suite.label"),output:{id:"end_captain_suite",title:o.t("raids.training.end_captain_suite.title"),text:o.t("raids.training.end_captain_suite.text",{rewards:y(e==="rudder"?{berry:5e7,strange_gem:1,xp:0}:e==="rescue_boat"?{berry:75e6,strange_gem:1}:{berry:5e7,strange_gem:1},void 0)}),rewards:e==="rudder"?{berry:5e7,strange_gem:1,xp:0}:e==="rescue_boat"?{berry:75e6,strange_gem:1}:{berry:5e7,strange_gem:1},penalties:void 0}},{id:"uc_look_hold",label:o.t("raids.training.uc_look_hold.label"),output:{id:"end_hold",title:o.t("raids.training.end_hold.title"),text:o.t("raids.training.end_hold.text",{rewards:y(e==="rudder"?{fruit:2,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{fruit:2,repair_wood_plank:4,berry:0}:{fruit:2,repair_wood_plank:4},void 0)}),rewards:e==="rudder"?{fruit:2,repair_wood_plank:4,xp:0}:e==="rescue_boat"?{fruit:2,repair_wood_plank:4,berry:0}:{fruit:2,repair_wood_plank:4},penalties:void 0}}]}}]}}]}}]}}),Af={mysterious_island:["end_cave_blind_walk","end_explore_gallery_with_torch","end_indications_secret_room","end_open_tomb","ev_ancient_dark_passage","ev_cave_torch_on","ev_dark_cave","ev_decipher_failure","ev_decipher_success","ev_dodge_animals","ev_enter_jungle","ev_explore_gallery_no_torch","ev_find_tomb","ev_main_path","ev_ramp_success","ev_search_way","ev_start","ev_walk_passage","ev_walk_ruin","ev_wild_animals"],pirate_cave:["end_explore_room","end_open_chest","ev_cave_begin","ev_cave_entry","ev_ghost_trap","ev_left_path","ev_right_path","ev_secret_passage","ev_sneak_walk_failure","ev_sneak_walk_success","ev_start","ev_torch_on"],resources:["ev_enter_beach","ev_enter_forest","ev_enter_plains","ev_goto_mine","ev_hemp","ev_salt_water","ev_search_cereal","ev_search_cotton","ev_search_wood","ev_start"],training:["end_captain_suite","end_fruits","end_plants","end_ship_hold","ev_agility50_failure","ev_agility50_success","ev_begin_forest","ev_dense_jungle","ev_hard_path","ev_start","ev_swamp"]};E.RAID_IMAGES=Af,E.formatRewards=y,E.getAllRaids=Ff,E.getAvailableCharacteristicPoints=Nc,E.getCharacteristicCost=Hs,E.getComputedCharacteristicCost=$c,E.getComputedCharacteristicValue=Rc,E.getCurrentRaidEvent=Hf,E.getNextRaidStep=qn,E.getRaid=Uf,E.isRaidCharacteristicsCheck=An,E.isRaidEnd=Ef,E.isRaidEvent=xa,E.isRaidGoto=Wf,E.isRaidItemRequired=Vn,E.isRaidUserChoice=Hn,E.mysteriousIslandRaid=Gn,E.pirateCaveRaid=zn,E.resourcesRaid=Zn,E.trainingRaid=Bn,Object.defineProperty(E,Symbol.toStringTag,{value:"Module"})});
|