@opfr/utils-type 0.6.2 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/games/index.d.ts +2 -0
- package/dist/games/index.d.ts.map +1 -0
- package/dist/games/index.js +2 -0
- package/dist/games/index.js.map +1 -0
- package/dist/games/types.d.ts +11 -0
- package/dist/games/types.d.ts.map +1 -0
- package/dist/games/types.js +2 -0
- package/dist/games/types.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +4379 -24
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +10 -1
- package/dist/xp/index.d.ts +3 -0
- package/dist/xp/index.d.ts.map +1 -0
- package/dist/xp/index.js +2 -0
- package/dist/xp/index.js.map +1 -0
- package/dist/xp/types.d.ts +2 -0
- package/dist/xp/types.d.ts.map +1 -0
- package/dist/xp/types.js +2 -0
- package/dist/xp/types.js.map +1 -0
- package/dist/xp/utils.d.ts +5 -0
- package/dist/xp/utils.d.ts.map +1 -0
- package/dist/xp/utils.js +10 -0
- package/dist/xp/utils.js.map +1 -0
- package/locales/fr.json +4 -0
- package/package.json +4 -3
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC"}
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
(function(C,T){typeof exports=="object"&&typeof module<"u"?T(exports):typeof define=="function"&&define.amd?define(["exports"],T):(C=typeof globalThis<"u"?globalThis:C||self,T(C.utils={}))})(this,function(C){"use strict";var T=(A=>(A.BASIC="BASIC",A.COMMON="COMMON",A.RARE="RARE",A.EPIC="EPIC",A.LEGENDARY="LEGENDARY",A.MYTHIC="MYTHIC",A))(T||{});const t={BASIC:{color:"#fff",strength:0,id:T.BASIC},COMMON:{color:"#813D31",strength:1,id:T.COMMON},RARE:{color:"#5B6870",strength:2,id:T.RARE},EPIC:{color:"#C46619",strength:3,id:T.EPIC},LEGENDARY:{color:"#88A3CB",strength:4,id:T.LEGENDARY},MYTHIC:{color:"#F6bF62",strength:5,id:T.MYTHIC}},n=["vitality","strength","agility","intelligence","chance","wisdom"],o=10,e=1,i=[[200,4],[100,3],[50,2],[0,e]],E=100,I=10,c={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},R="citizen",S=["category","alpha","quantity"];C.CHARACTERISTICS=n,C.CHARACTERISTIC_DEFAULT_POINT_COST=e,C.CHARACTERISTIC_POINT_COSTS=i,C.CHARACTERISTIC_POINT_PER_LEVEL=o,C.DEFAULT_FACTION=R,C.DEFAULT_MAX_HP=E,C.FACTIONS=c,C.HP_PER_VITALITY=I,C.RANKS=t,C.RankId=T,C.SORT_VALUES=S,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(T,$){typeof exports=="object"&&typeof module<"u"?$(exports):typeof define=="function"&&define.amd?define(["exports"],$):(T=typeof globalThis<"u"?globalThis:T||self,$(T.utils={}))})(this,function(T){"use strict";var $=(e=>(e.BASIC="BASIC",e.COMMON="COMMON",e.RARE="RARE",e.EPIC="EPIC",e.LEGENDARY="LEGENDARY",e.MYTHIC="MYTHIC",e))($||{});const Ds={BASIC:{color:"#fff",strength:0,id:$.BASIC},COMMON:{color:"#813D31",strength:1,id:$.COMMON},RARE:{color:"#5B6870",strength:2,id:$.RARE},EPIC:{color:"#C46619",strength:3,id:$.EPIC},LEGENDARY:{color:"#88A3CB",strength:4,id:$.LEGENDARY},MYTHIC:{color:"#F6bF62",strength:5,id:$.MYTHIC}},Ys=["vitality","strength","agility","intelligence","chance","wisdom"],Ns=10,cn=1,Cs=[[200,4],[100,3],[50,2],[0,cn]],Rs=100,Ts=10,Ls={pirate:{name:"pirate",color:"#8A1623",role:"1047815125282848849"},marine:{name:"marine",color:"#387cbc",role:"1047816059937361940"},revolutionary:{name:"revolutionary",color:"#335635",role:"1047815105846444152"},citizen:{name:"citizen",color:"#fff",role:"1147953458507423874"}},Ps="citizen",Es=["category","alpha","quantity"],As={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)}};class qe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||As,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,s,i){return i&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${s}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new qe(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new qe(this.logger,t)}}var Q=new qe;class Je{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const i=this.observers[s].get(n)||0;this.observers[s].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(a=>{let[o,u]=a;for(let l=0;l<u;l++)o(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,u]=a;for(let l=0;l<u;l++)o.apply(o,[t,...s])})}}function Re(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});return n.resolve=e,n.reject=t,n}function fn(e){return e==null?"":""+e}function Fs(e,t,n){e.forEach(s=>{t[s]&&(n[s]=t[s])})}const Is=/###/g;function Te(e,t,n){function s(o){return o&&o.indexOf("###")>-1?o.replace(Is,"."):o}function i(){return!e||typeof e=="string"}const r=typeof t!="string"?t:t.split(".");let a=0;for(;a<r.length-1;){if(i())return{};const o=s(r[a]);!e[o]&&n&&(e[o]=new n),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={},++a}return i()?{}:{obj:e,k:s(r[a])}}function gn(e,t,n){const{obj:s,k:i}=Te(e,t,Object);if(s!==void 0||t.length===1){s[i]=n;return}let r=t[t.length-1],a=t.slice(0,t.length-1),o=Te(e,a,Object);for(;o.obj===void 0&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),o=Te(e,a,Object),o&&o.obj&&typeof o.obj[`${o.k}.${r}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=n}function js(e,t,n,s){const{obj:i,k:r}=Te(e,t,Object);i[r]=i[r]||[],i[r].push(n)}function Ze(e,t){const{obj:n,k:s}=Te(e,t);if(n)return n[s]}function Us(e,t,n){const s=Ze(e,n);return s!==void 0?s:Ze(t,n)}function mn(e,t,n){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?n&&(e[s]=t[s]):mn(e[s],t[s],n):e[s]=t[s]);return e}function we(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Hs={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function Vs(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Hs[t]):e}class $s{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;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 Ws=[" ",",","?","!",";"],Gs=new $s(20);function zs(e,t,n){t=t||"",n=n||"";const s=Ws.filter(a=>t.indexOf(a)<0&&n.indexOf(a)<0);if(s.length===0)return!0;const i=Gs.getRegExp(`(${s.map(a=>a==="?"?"\\?":a).join("|")})`);let r=!i.test(e);if(!r){const a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(r=!0)}return r}function Ot(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const s=t.split(n);let i=e;for(let r=0;r<s.length;){if(!i||typeof i!="object")return;let a,o="";for(let u=r;u<s.length;++u)if(u!==r&&(o+=n),o+=s[u],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&u<s.length-1)continue;r+=u-r+1;break}i=a}return i}function Qe(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class pn extends Je{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,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 n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;t.indexOf(".")>-1?o=t.split("."):(o=[t,n],s&&(Array.isArray(s)?o.push(...s):typeof s=="string"&&r?o.push(...s.split(r)):o.push(s)));const u=Ze(this.data,o);return!u&&!n&&!s&&t.indexOf(".")>-1&&(t=o[0],n=o[1],s=o.slice(2).join(".")),u||!a||typeof s!="string"?u:Ot(this.data&&this.data[t]&&this.data[t][n],s,r)}addResource(t,n,s,i){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=[t,n];s&&(o=o.concat(a?s.split(a):s)),t.indexOf(".")>-1&&(o=t.split("."),i=n,n=o[1]),this.addNamespaces(n),gn(this.data,o,i),r.silent||this.emit("added",t,n,s,i)}addResources(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const r in s)(typeof s[r]=="string"||Array.isArray(s[r]))&&this.addResource(t,n,r,s[r],{silent:!0});i.silent||this.emit("added",t,n,s)}addResourceBundle(t,n,s,i,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[t,n];t.indexOf(".")>-1&&(o=t.split("."),i=s,s=n,n=o[1]),this.addNamespaces(n);let u=Ze(this.data,o)||{};a.skipCopy||(s=JSON.parse(JSON.stringify(s))),i?mn(u,s,r):u={...u,...s},gn(this.data,o,u),a.silent||this.emit("added",t,n,s)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(i=>n[i]&&Object.keys(n[i]).length>0)}toJSON(){return this.data}}var yn={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,s,i){return e.forEach(r=>{this.processors[r]&&(t=this.processors[r].process(t,n,s,i))}),t}};const _n={};class Xe extends Je{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Fs(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Q.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const s=this.resolve(t,n);return s&&s.res!==void 0}extractFromKey(t,n){let s=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let r=n.ns||this.options.defaultNS||[];const a=s&&t.indexOf(s)>-1,o=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!zs(t,s,i);if(a&&!o){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:r};const l=t.split(s);(s!==i||s===i&&this.options.ns.indexOf(l[0])>-1)&&(r=l.shift()),t=l.join(i)}return typeof r=="string"&&(r=[r]),{key:t,namespaces:r}}translate(t,n,s){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(t[t.length-1],n),u=o[o.length-1],l=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&l.toLowerCase()==="cimode"){if(h){const R=n.nsSeparator||this.options.nsSeparator;return i?{res:`${u}${R}${a}`,usedKey:a,exactUsedKey:a,usedLng:l,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${R}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:l,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:a}const f=this.resolve(t,n);let d=f&&f.res;const x=f&&f.usedKey||a,y=f&&f.exactUsedKey||a,N=Object.prototype.toString.apply(d),Y=["[object Number]","[object Function]","[object RegExp]"],F=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject;if(P&&d&&(typeof d!="string"&&typeof d!="boolean"&&typeof d!="number")&&Y.indexOf(N)<0&&!(typeof F=="string"&&Array.isArray(d))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,d,{...n,ns:o}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(f.res=R,f.usedParams=this.getUsedParamsDetails(n),f):R}if(r){const R=Array.isArray(d),H=R?[]:{},Z=R?y:x;for(const I in d)if(Object.prototype.hasOwnProperty.call(d,I)){const xt=`${Z}${r}${I}`;H[I]=this.translate(xt,{...n,joinArrays:!1,ns:o}),H[I]===xt&&(H[I]=d[I])}d=H}}else if(P&&typeof F=="string"&&Array.isArray(d))d=d.join(F),d&&(d=this.extendTranslation(d,t,n,s));else{let R=!1,H=!1;const Z=n.count!==void 0&&typeof n.count!="string",I=Xe.hasDefaultValue(n),xt=Z?this.pluralResolver.getSuffix(l,n.count,n):"",du=n.ordinal&&Z?this.pluralResolver.getSuffix(l,n.count,{ordinal:!1}):"",ks=Z&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),Ge=ks&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${xt}`]||n[`defaultValue${du}`]||n.defaultValue;!this.isValidLookup(d)&&I&&(R=!0,d=Ge),this.isValidLookup(d)||(H=!0,d=a);const hu=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&H?void 0:d,ze=I&&Ge!==d&&this.options.updateMissing;if(H||R||ze){if(this.logger.log(ze?"updateKey":"missingKey",l,u,a,ze?Ge:d),r){const V=this.resolve(a,{...n,keySeparator:!1});V&&V.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 Ke=[];const kt=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&kt&&kt[0])for(let V=0;V<kt.length;V++)Ke.push(kt[V]);else this.options.saveMissingTo==="all"?Ke=this.languageUtils.toResolveHierarchy(n.lng||this.language):Ke.push(n.lng||this.language);const Os=(V,ve,Be)=>{const Ms=I&&Be!==d?Be:hu;this.options.missingKeyHandler?this.options.missingKeyHandler(V,u,ve,Ms,ze,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(V,u,ve,Ms,ze,n),this.emit("missingKey",V,u,ve,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Z?Ke.forEach(V=>{const ve=this.pluralResolver.getSuffixes(V,n);ks&&n[`defaultValue${this.options.pluralSeparator}zero`]&&ve.indexOf(`${this.options.pluralSeparator}zero`)<0&&ve.push(`${this.options.pluralSeparator}zero`),ve.forEach(Be=>{Os([V],a+Be,n[`defaultValue${Be}`]||Ge)})}):Os(Ke,a,Ge))}d=this.extendTranslation(d,t,n,f,s),H&&d===a&&this.options.appendNamespaceToMissingKey&&(d=`${u}:${a}`),(H||R)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${a}`:a,R?d:void 0):d=this.options.parseMissingKeyHandler(d))}return i?(f.res=d,f.usedParams=this.getUsedParamsDetails(n),f):d}extendTranslation(t,n,s,i,r){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const l=typeof t=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(l){const d=t.match(this.interpolator.nestingRegexp);h=d&&d.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||i.usedLng,s),l){const d=t.match(this.interpolator.nestingRegexp),x=d&&d.length;h<x&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(s.lng=this.language||i.usedLng),s.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var d=arguments.length,x=new Array(d),y=0;y<d;y++)x[y]=arguments[y];return r&&r[0]===x[0]&&!s.context?(a.logger.warn(`It seems you are nesting recursively key: ${x[0]} in key: ${n[0]}`),null):a.translate(...x,n)},s)),s.interpolation&&this.interpolator.reset()}const o=s.postProcess||this.options.postProcess,u=typeof o=="string"?[o]:o;return t!=null&&u&&u.length&&s.applyPostProcessor!==!1&&(t=yn.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,i,r,a,o;return typeof t=="string"&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(s))return;const l=this.extractFromKey(u,n),h=l.key;i=h;let f=l.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=n.count!==void 0&&typeof n.count!="string",x=d&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),y=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",N=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(Y=>{this.isValidLookup(s)||(o=Y,!_n[`${N[0]}-${Y}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(_n[`${N[0]}-${Y}`]=!0,this.logger.warn(`key "${i}" for languages "${N.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),N.forEach(F=>{if(this.isValidLookup(s))return;a=F;const P=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(P,h,F,Y,n);else{let R;d&&(R=this.pluralResolver.getSuffix(F,n.count,n));const H=`${this.options.pluralSeparator}zero`,Z=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(P.push(h+R),n.ordinal&&R.indexOf(Z)===0&&P.push(h+R.replace(Z,this.options.pluralSeparator)),x&&P.push(h+H)),y){const I=`${h}${this.options.contextSeparator}${n.context}`;P.push(I),d&&(P.push(I+R),n.ordinal&&R.indexOf(Z)===0&&P.push(I+R.replace(Z,this.options.pluralSeparator)),x&&P.push(I+H))}}let bt;for(;bt=P.pop();)this.isValidLookup(s)||(r=bt,s=this.getResource(F,Y,bt,n))}))})}),{res:s,usedKey:i,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,s,i):this.resourceStore.getResource(t,n,s,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=t.replace&&typeof t.replace!="string";let i=s?t.replace:t;if(s&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!s){i={...i};for(const r of n)delete i[r]}return i}static hasDefaultValue(t){const n="defaultValue";for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&n===s.substring(0,n.length)&&t[s]!==void 0)return!0;return!1}}function Mt(e){return e.charAt(0).toUpperCase()+e.slice(1)}class vn{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Q.create("languageUtils")}getScriptPartFromCode(t){if(t=Qe(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=Qe(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let s=t.split("-");return this.options.lowerCaseLng?s=s.map(i=>i.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=Mt(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()),n.indexOf(s[1].toLowerCase())>-1&&(s[1]=Mt(s[1].toLowerCase())),n.indexOf(s[2].toLowerCase())>-1&&(s[2]=Mt(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 n;return t.forEach(s=>{if(n)return;const i=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(s=>{if(n)return;const i=this.getLanguagePartFromCode(s);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(r=>{if(r===i)return r;if(!(r.indexOf("-")<0&&i.indexOf("-")<0)&&(r.indexOf("-")>0&&i.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===i||r.indexOf(i)===0&&i.length>1))return r})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let s=t[n];return s||(s=t[this.getScriptPartFromCode(n)]),s||(s=t[this.formatLanguageCode(n)]),s||(s=t[this.getLanguagePartFromCode(n)]),s||(s=t.default),s||[]}toResolveHierarchy(t,n){const s=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],r=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(t))):typeof t=="string"&&r(this.formatLanguageCode(t)),s.forEach(a=>{i.indexOf(a)<0&&r(this.formatLanguageCode(a))}),i}}let Ks=[{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}],Bs={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const qs=["v1","v2","v3"],Js=["v4"],wn={zero:0,one:1,two:2,few:3,many:4,other:5};function Zs(){const e={};return Ks.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Bs[t.fc]}})}),e}class Qs{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Q.create("pluralResolver"),(!this.options.compatibilityJSON||Js.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=Zs()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(Qe(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,n);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,s).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(t,n);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((i,r)=>wn[i]-wn[r]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):s.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,s);return i?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const s=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[s];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const r=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:r():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?r():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!qs.includes(this.options.compatibilityJSON)}}function Sn(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,r=Us(e,t,n);return!r&&i&&typeof n=="string"&&(r=Ot(e,n,s),r===void 0&&(r=Ot(t,n,s))),r}class Xs{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Q.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:s,useRawValueToEscape:i,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:u,formatSeparator:l,unescapeSuffix:h,unescapePrefix:f,nestingPrefix:d,nestingPrefixEscaped:x,nestingSuffix:y,nestingSuffixEscaped:N,nestingOptionsSeparator:Y,maxReplaces:F,alwaysFormat:P}=t.interpolation;this.escape=n!==void 0?n:Vs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=r?we(r):a||"{{",this.suffix=o?we(o):u||"}}",this.formatSeparator=l||",",this.unescapePrefix=h?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=d?we(d):x||we("$t("),this.nestingSuffix=y?we(y):N||we(")"),this.nestingOptionsSeparator=Y||",",this.maxReplaces=F||1e3,this.alwaysFormat=P!==void 0?P:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,s)=>n&&n.source===s?(n.lastIndex=0,n):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,n,s,i){let r,a,o;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(y){return y.replace(/\$/g,"$$$$")}const h=y=>{if(y.indexOf(this.formatSeparator)<0){const P=Sn(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(P,void 0,s,{...i,...n,interpolationkey:y}):P}const N=y.split(this.formatSeparator),Y=N.shift().trim(),F=N.join(this.formatSeparator).trim();return this.format(Sn(n,u,Y,this.options.keySeparator,this.options.ignoreJSONStructure),F,s,{...i,...n,interpolationkey:Y})};this.resetRegExp();const f=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>l(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?l(this.escape(y)):l(y)}].forEach(y=>{for(o=0;r=y.regex.exec(t);){const N=r[1].trim();if(a=h(N),a===void 0)if(typeof f=="function"){const F=f(t,r,i);a=typeof F=="string"?F:""}else if(i&&Object.prototype.hasOwnProperty.call(i,N))a="";else if(d){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${N} for interpolating ${t}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=fn(a));const Y=y.safeValue(a);if(t=t.replace(r[0],Y),d?(y.regex.lastIndex+=a.length,y.regex.lastIndex-=r[0].length):y.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),t}nest(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,r,a;function o(u,l){const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const f=u.split(new RegExp(`${h}[ ]*{`));let d=`{${f[1]}`;u=f[0],d=this.interpolate(d,a);const x=d.match(/'/g),y=d.match(/"/g);(x&&x.length%2===0&&!y||y.length%2!==0)&&(d=d.replace(/'/g,'"'));try{a=JSON.parse(d),l&&(a={...l,...a})}catch(N){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,N),`${u}${h}${d}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,u}for(;i=this.nestingRegexp.exec(t);){let u=[];a={...s},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let l=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const h=i[1].split(this.formatSeparator).map(f=>f.trim());i[1]=h.shift(),u=h,l=!0}if(r=n(o.call(this,i[1].trim(),a),a),r&&i[0]===t&&typeof r!="string")return r;typeof r!="string"&&(r=fn(r)),r||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),r=""),l&&(r=u.reduce((h,f)=>this.format(h,f,s.lng,{...s,interpolationkey:i[1].trim()}),r.trim())),t=t.replace(i[0],r),this.regexp.lastIndex=0}return t}}function ei(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const s=e.split("(");t=s[0].toLowerCase().trim();const i=s[1].substring(0,s[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(a=>{if(a){const[o,...u]=a.split(":"),l=u.join(":").trim().replace(/^'+|'+$/g,""),h=o.trim();n[h]||(n[h]=l),l==="false"&&(n[h]=!1),l==="true"&&(n[h]=!0),isNaN(l)||(n[h]=parseInt(l,10))}})}return{formatName:t,formatOptions:n}}function Se(e){const t={};return function(s,i,r){const a=i+JSON.stringify(r);let o=t[a];return o||(o=e(Qe(i),r),t[a]=o),o(s)}}class ti{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Q.create("formatter"),this.options=t,this.formats={number:Se((n,s)=>{const i=new Intl.NumberFormat(n,{...s});return r=>i.format(r)}),currency:Se((n,s)=>{const i=new Intl.NumberFormat(n,{...s,style:"currency"});return r=>i.format(r)}),datetime:Se((n,s)=>{const i=new Intl.DateTimeFormat(n,{...s});return r=>i.format(r)}),relativetime:Se((n,s)=>{const i=new Intl.RelativeTimeFormat(n,{...s});return r=>i.format(r,s.range||"day")}),list:Se((n,s)=>{const i=new Intl.ListFormat(n,{...s});return r=>i.format(r)})},this.init(t)}init(t){const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=s.formatSeparator?s.formatSeparator:s.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Se(n)}format(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((o,u)=>{const{formatName:l,formatOptions:h}=ei(u);if(this.formats[l]){let f=o;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},x=d.locale||d.lng||i.locale||i.lng||s;f=this.formats[l](o,x,{...h,...i,...d})}catch(d){this.logger.warn(d)}return f}else this.logger.warn(`there was no format function for ${l}`);return o},t)}}function ni(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class si extends Je{constructor(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=Q.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,i.backend,i)}queueLoad(t,n,s,i){const r={},a={},o={},u={};return t.forEach(l=>{let h=!0;n.forEach(f=>{const d=`${l}|${f}`;!s.reload&&this.store.hasResourceBundle(l,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?a[d]===void 0&&(a[d]=!0):(this.state[d]=1,h=!1,a[d]===void 0&&(a[d]=!0),r[d]===void 0&&(r[d]=!0),u[f]===void 0&&(u[f]=!0)))}),h||(o[l]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(u)}}loaded(t,n,s){const i=t.split("|"),r=i[0],a=i[1];n&&this.emit("failedLoading",r,a,n),s&&this.store.addResourceBundle(r,a,s,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const o={};this.queue.forEach(u=>{js(u.loaded,[r],a),ni(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(l=>{o[l]||(o[l]={});const h=u.loaded[l];h.length&&h.forEach(f=>{o[l][f]===void 0&&(o[l][f]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(u=>!u.done)}read(t,n,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:s,tried:i,wait:r,callback:a});return}this.readingCalls++;const o=(l,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(l&&h&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,s,i+1,r*2,a)},r);return}a(l,h)},u=this.backend[s].bind(this.backend);if(u.length===2){try{const l=u(t,n);l&&typeof l.then=="function"?l.then(h=>o(null,h)).catch(o):o(null,l)}catch(l){o(l)}return}return u(t,n,o)}prepareLoading(t,n){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=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."),i&&i();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const r=this.queueLoad(t,n,s,i);if(!r.toLoad.length)return r.pending.length||i(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,s){this.prepareLoading(t,n,{},s)}reload(t,n,s){this.prepareLoading(t,n,{reload:!0},s)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=t.split("|"),i=s[0],r=s[1];this.read(i,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${n}loading namespace ${r} for language ${i} failed`,a),!a&&o&&this.logger.log(`${n}loaded namespace ${r} for language ${i}`,o),this.loaded(t,a,o)})}saveMissing(t,n,s,i,r){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${s}" as the namespace "${n}" 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={...a,isUpdate:r},l=this.backend.create.bind(this.backend);if(l.length<6)try{let h;l.length===5?h=l(t,n,s,i,u):h=l(t,n,s,i),h&&typeof h.then=="function"?h.then(f=>o(null,f)).catch(o):o(null,h)}catch(h){o(h)}else l(t,n,s,i,o,u)}!t||!t[0]||this.store.addResource(t[0],n,s,i)}}}function bn(){return{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:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const s=t[3]||t[2];Object.keys(s).forEach(i=>{n[i]=s[i]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function xn(e){return 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}function et(){}function ii(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class Le extends Je{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=xn(t),this.services={},this.logger=Q,this.modules={external:[]},ii(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(s=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=bn();this.options={...i,...this.options,...xn(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function r(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?Q.init(r(this.modules.logger),this.options):Q.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:typeof Intl<"u"&&(h=ti);const f=new vn(this.options);this.store=new pn(this.options.resources,this.options);const d=this.services;d.logger=Q,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Qs(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(d.formatter=r(h),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Xs(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new si(r(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(x){for(var y=arguments.length,N=new Array(y>1?y-1:0),Y=1;Y<y;Y++)N[Y-1]=arguments[Y];t.emit(x,...N)}),this.modules.languageDetector&&(d.languageDetector=r(this.modules.languageDetector),d.languageDetector.init&&d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=r(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new Xe(this.services,this.options),this.translator.on("*",function(x){for(var y=arguments.length,N=new Array(y>1?y-1:0),Y=1;Y<y;Y++)N[Y-1]=arguments[Y];t.emit(x,...N)}),this.modules.external.forEach(x=>{x.init&&x.init(this)})}if(this.format=this.options.interpolation.format,s||(s=et),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[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(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=Re(),l=()=>{const h=(f,d)=>{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),u.resolve(d),s(f,d)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),u}loadResources(t){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et;const i=typeof t=="string"?t:this.language;if(typeof t=="function"&&(s=t),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const r=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(l=>{l!=="cimode"&&r.indexOf(l)<0&&r.push(l)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>a(u)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(o)})}else s(null)}reloadResources(t,n,s){const i=Re();return t||(t=this.languages),n||(n=this.options.ns),s||(s=et),this.services.backendConnector.reload(t,n,r=>{i.resolve(),s(r)}),i}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"&&yn.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 n=0;n<this.languages.length;n++){const s=this.languages[n];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(t,n){var s=this;this.isLanguageChangingTo=t;const i=Re();this.emit("languageChanging",t);const r=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},a=(u,l)=>{l?(r(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,i.resolve(function(){return s.t(...arguments)}),n&&n(u,function(){return s.t(...arguments)})},o=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const l=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);l&&(this.language||r(l),this.translator.language||this.translator.changeLanguage(l),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(l)),this.loadResources(l,h=>{a(h,l)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,n,s){var i=this;const r=function(a,o){let u;if(typeof o!="object"){for(var l=arguments.length,h=new Array(l>2?l-2:0),f=2;f<l;f++)h[f-2]=arguments[f];u=i.options.overloadTranslationOptionHandler([a,o].concat(h))}else u={...o};u.lng=u.lng||r.lng,u.lngs=u.lngs||r.lngs,u.ns=u.ns||r.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||s||r.keyPrefix);const d=i.options.keySeparator||".";let x;return u.keyPrefix&&Array.isArray(a)?x=a.map(y=>`${u.keyPrefix}${d}${y}`):x=u.keyPrefix?`${u.keyPrefix}${d}${a}`:a,i.t(x,u)};return typeof t=="string"?r.lng=t:r.lngs=t,r.ns=n,r.keyPrefix=s,r}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 n=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=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const a=(o,u)=>{const l=this.services.backendConnector.state[`${o}|${u}`];return l===-1||l===2};if(n.precheck){const o=n.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(s,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(s,t)&&(!i||a(r,t)))}loadNamespaces(t,n){const s=Re();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{s.resolve(),n&&n(i)}),s):(n&&n(),Promise.resolve())}loadLanguages(t,n){const s=Re();typeof t=="string"&&(t=[t]);const i=this.options.preload||[],r=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=i.concat(r),this.loadResources(a=>{s.resolve(),n&&n(a)}),s):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["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 vn(bn());return n.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]:{},n=arguments.length>1?arguments[1]:void 0;return new Le(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:et;const s=t.forkResourceStore;s&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},r=new Le(i);return(t.debug!==void 0||t.prefix!==void 0)&&(r.logger=r.logger.clone(t)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},s&&(r.store=new pn(this.store.data,i),r.services.resourceStore=r.store),r.translator=new Xe(r.services,i),r.translator.on("*",function(o){for(var u=arguments.length,l=new Array(u>1?u-1:0),h=1;h<u;h++)l[h-1]=arguments[h];r.emit(o,...l)}),r.init(i,n),r.translator.options=i,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const A=Le.createInstance();A.createInstance=Le.createInstance,A.createInstance,A.dir,A.init,A.loadResources,A.reloadResources,A.use,A.changeLanguage,A.getFixedT;const Dt=A.t;A.exists,A.setDefaultNamespace,A.hasLoadedNamespace,A.loadNamespaces,A.loadLanguages;const Yt={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>"},Nt=e=>new Intl.NumberFormat("de-DE").format(e);//! moment.js
|
|
2
|
+
//! version : 2.30.1
|
|
3
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
|
+
//! license : MIT
|
|
5
|
+
//! momentjs.com
|
|
6
|
+
var kn;function g(){return kn.apply(null,arguments)}function ri(e){kn=e}function K(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function me(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function S(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Ct(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(S(e,t))return!1;return!0}function j(e){return e===void 0}function se(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Pe(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function On(e,t){var n=[],s,i=e.length;for(s=0;s<i;++s)n.push(t(e[s],s));return n}function ce(e,t){for(var n in t)S(t,n)&&(e[n]=t[n]);return S(t,"toString")&&(e.toString=t.toString),S(t,"valueOf")&&(e.valueOf=t.valueOf),e}function X(e,t,n,s){return Qn(e,t,n,s,!0).utc()}function ai(){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 _(e){return e._pf==null&&(e._pf=ai()),e._pf}var Rt;Array.prototype.some?Rt=Array.prototype.some:Rt=function(e){var t=Object(this),n=t.length>>>0,s;for(s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};function Tt(e){var t=null,n=!1,s=e._d&&!isNaN(e._d.getTime());if(s&&(t=_(e),n=Rt.call(t.parsedDateParts,function(i){return i!=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&&n),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 tt(e){var t=X(NaN);return e!=null?ce(_(t),e):_(t).userInvalidated=!0,t}var Mn=g.momentProperties=[],Lt=!1;function Pt(e,t){var n,s,i,r=Mn.length;if(j(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),j(t._i)||(e._i=t._i),j(t._f)||(e._f=t._f),j(t._l)||(e._l=t._l),j(t._strict)||(e._strict=t._strict),j(t._tzm)||(e._tzm=t._tzm),j(t._isUTC)||(e._isUTC=t._isUTC),j(t._offset)||(e._offset=t._offset),j(t._pf)||(e._pf=_(t)),j(t._locale)||(e._locale=t._locale),r>0)for(n=0;n<r;n++)s=Mn[n],i=t[s],j(i)||(e[s]=i);return e}function Ee(e){Pt(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Lt===!1&&(Lt=!0,g.updateOffset(this),Lt=!1)}function B(e){return e instanceof Ee||e!=null&&e._isAMomentObject!=null}function Dn(e){g.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function W(e,t){var n=!0;return ce(function(){if(g.deprecationHandler!=null&&g.deprecationHandler(null,e),n){var s=[],i,r,a,o=arguments.length;for(r=0;r<o;r++){if(i="",typeof arguments[r]=="object"){i+=`
|
|
7
|
+
[`+r+"] ";for(a in arguments[0])S(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[r];s.push(i)}Dn(e+`
|
|
8
|
+
Arguments: `+Array.prototype.slice.call(s).join("")+`
|
|
9
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Yn={};function Nn(e,t){g.deprecationHandler!=null&&g.deprecationHandler(e,t),Yn[e]||(Dn(t),Yn[e]=!0)}g.suppressDeprecationWarnings=!1,g.deprecationHandler=null;function ee(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function oi(e){var t,n;for(n in e)S(e,n)&&(t=e[n],ee(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Et(e,t){var n=ce({},e),s;for(s in t)S(t,s)&&(me(e[s])&&me(t[s])?(n[s]={},ce(n[s],e[s]),ce(n[s],t[s])):t[s]!=null?n[s]=t[s]:delete n[s]);for(s in e)S(e,s)&&!S(t,s)&&me(e[s])&&(n[s]=ce({},n[s]));return n}function At(e){e!=null&&this.set(e)}var Ft;Object.keys?Ft=Object.keys:Ft=function(e){var t,n=[];for(t in e)S(e,t)&&n.push(t);return n};var ui={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function li(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return ee(s)?s.call(t,n):s}function te(e,t,n){var s=""+Math.abs(e),i=t-s.length,r=e>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var It=/(\[[^\[]*\])|(\\)?([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,nt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,jt={},be={};function p(e,t,n,s){var i=s;typeof s=="string"&&(i=function(){return this[s]()}),e&&(be[e]=i),t&&(be[t[0]]=function(){return te(i.apply(this,arguments),t[1],t[2])}),n&&(be[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function di(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function hi(e){var t=e.match(It),n,s;for(n=0,s=t.length;n<s;n++)be[t[n]]?t[n]=be[t[n]]:t[n]=di(t[n]);return function(i){var r="",a;for(a=0;a<s;a++)r+=ee(t[a])?t[a].call(i,e):t[a];return r}}function st(e,t){return e.isValid()?(t=Cn(t,e.localeData()),jt[t]=jt[t]||hi(t),jt[t](e)):e.localeData().invalidDate()}function Cn(e,t){var n=5;function s(i){return t.longDateFormat(i)||i}for(nt.lastIndex=0;n>=0&&nt.test(e);)e=e.replace(nt,s),nt.lastIndex=0,n-=1;return e}var ci={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 fi(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(It).map(function(s){return s==="MMMM"||s==="MM"||s==="DD"||s==="dddd"?s.slice(1):s}).join(""),this._longDateFormat[e])}var gi="Invalid date";function mi(){return this._invalidDate}var pi="%d",yi=/\d{1,2}/;function _i(e){return this._ordinal.replace("%d",e)}var vi={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 wi(e,t,n,s){var i=this._relativeTime[n];return ee(i)?i(e,t,n,s):i.replace(/%d/i,e)}function Si(e,t){var n=this._relativeTime[e>0?"future":"past"];return ee(n)?n(t):n.replace(/%s/i,t)}var Rn={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 G(e){return typeof e=="string"?Rn[e]||Rn[e.toLowerCase()]:void 0}function Ut(e){var t={},n,s;for(s in e)S(e,s)&&(n=G(s),n&&(t[n]=e[s]));return t}var bi={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 xi(e){var t=[],n;for(n in e)S(e,n)&&t.push({unit:n,priority:bi[n]});return t.sort(function(s,i){return s.priority-i.priority}),t}var Tn=/\d/,U=/\d\d/,Ln=/\d{3}/,Ht=/\d{4}/,it=/[+-]?\d{6}/,O=/\d\d?/,Pn=/\d\d\d\d?/,En=/\d\d\d\d\d\d?/,rt=/\d{1,3}/,Vt=/\d{1,4}/,at=/[+-]?\d{1,6}/,xe=/\d+/,ot=/[+-]?\d+/,ki=/Z|[+-]\d\d:?\d\d/gi,ut=/Z|[+-]\d\d(?::?\d\d)?/gi,Oi=/[+-]?\d+(\.\d{1,3})?/,Ae=/[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,ke=/^[1-9]\d?/,$t=/^([1-9]\d|\d)/,lt;lt={};function m(e,t,n){lt[e]=ee(t)?t:function(s,i){return s&&n?n:t}}function Mi(e,t){return S(lt,e)?lt[e](t._strict,t._locale):new RegExp(Di(e))}function Di(e){return ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,s,i,r){return n||s||i||r}))}function ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function z(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function v(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=z(t)),n}var Wt={};function k(e,t){var n,s=t,i;for(typeof e=="string"&&(e=[e]),se(t)&&(s=function(r,a){a[t]=v(r)}),i=e.length,n=0;n<i;n++)Wt[e[n]]=s}function Fe(e,t){k(e,function(n,s,i,r){i._w=i._w||{},t(n,i._w,i,r)})}function Yi(e,t,n){t!=null&&S(Wt,e)&&Wt[e](t,n._a,n,e)}function dt(e){return e%4===0&&e%100!==0||e%400===0}var E=0,re=1,ne=2,L=3,q=4,ae=5,pe=6,Ni=7,Ci=8;p("Y",0,0,function(){var e=this.year();return e<=9999?te(e,4):"+"+e}),p(0,["YY",2],0,function(){return this.year()%100}),p(0,["YYYY",4],0,"year"),p(0,["YYYYY",5],0,"year"),p(0,["YYYYYY",6,!0],0,"year"),m("Y",ot),m("YY",O,U),m("YYYY",Vt,Ht),m("YYYYY",at,it),m("YYYYYY",at,it),k(["YYYYY","YYYYYY"],E),k("YYYY",function(e,t){t[E]=e.length===2?g.parseTwoDigitYear(e):v(e)}),k("YY",function(e,t){t[E]=g.parseTwoDigitYear(e)}),k("Y",function(e,t){t[E]=parseInt(e,10)});function Ie(e){return dt(e)?366:365}g.parseTwoDigitYear=function(e){return v(e)+(v(e)>68?1900:2e3)};var An=Oe("FullYear",!0);function Ri(){return dt(this.year())}function Oe(e,t){return function(n){return n!=null?(Fn(this,e,n),g.updateOffset(this,t),this):je(this,e)}}function je(e,t){if(!e.isValid())return NaN;var n=e._d,s=e._isUTC;switch(t){case"Milliseconds":return s?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return s?n.getUTCSeconds():n.getSeconds();case"Minutes":return s?n.getUTCMinutes():n.getMinutes();case"Hours":return s?n.getUTCHours():n.getHours();case"Date":return s?n.getUTCDate():n.getDate();case"Day":return s?n.getUTCDay():n.getDay();case"Month":return s?n.getUTCMonth():n.getMonth();case"FullYear":return s?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Fn(e,t,n){var s,i,r,a,o;if(!(!e.isValid()||isNaN(n))){switch(s=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?s.setUTCMilliseconds(n):s.setMilliseconds(n));case"Seconds":return void(i?s.setUTCSeconds(n):s.setSeconds(n));case"Minutes":return void(i?s.setUTCMinutes(n):s.setMinutes(n));case"Hours":return void(i?s.setUTCHours(n):s.setHours(n));case"Date":return void(i?s.setUTCDate(n):s.setDate(n));case"FullYear":break;default:return}r=n,a=e.month(),o=e.date(),o=o===29&&a===1&&!dt(r)?28:o,i?s.setUTCFullYear(r,a,o):s.setFullYear(r,a,o)}}function Ti(e){return e=G(e),ee(this[e])?this[e]():this}function Li(e,t){if(typeof e=="object"){e=Ut(e);var n=xi(e),s,i=n.length;for(s=0;s<i;s++)this[n[s].unit](e[n[s].unit])}else if(e=G(e),ee(this[e]))return this[e](t);return this}function Pi(e,t){return(e%t+t)%t}var C;Array.prototype.indexOf?C=Array.prototype.indexOf:C=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function Gt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Pi(t,12);return e+=(t-n)/12,n===1?dt(e)?29:28:31-n%7%2}p("M",["MM",2],"Mo",function(){return this.month()+1}),p("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),p("MMMM",0,0,function(e){return this.localeData().months(this,e)}),m("M",O,ke),m("MM",O,U),m("MMM",function(e,t){return t.monthsShortRegex(e)}),m("MMMM",function(e,t){return t.monthsRegex(e)}),k(["M","MM"],function(e,t){t[re]=v(e)-1}),k(["MMM","MMMM"],function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);i!=null?t[re]=i:_(n).invalidMonth=e});var Ei="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),In="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),jn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ai=Ae,Fi=Ae;function Ii(e,t){return e?K(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||jn).test(t)?"format":"standalone"][e.month()]:K(this._months)?this._months:this._months.standalone}function ji(e,t){return e?K(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[jn.test(t)?"format":"standalone"][e.month()]:K(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ui(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=X([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?t==="MMM"?(i=C.call(this._shortMonthsParse,a),i!==-1?i:null):(i=C.call(this._longMonthsParse,a),i!==-1?i:null):t==="MMM"?(i=C.call(this._shortMonthsParse,a),i!==-1?i:(i=C.call(this._longMonthsParse,a),i!==-1?i:null)):(i=C.call(this._longMonthsParse,a),i!==-1?i:(i=C.call(this._shortMonthsParse,a),i!==-1?i:null))}function Hi(e,t,n){var s,i,r;if(this._monthsParseExact)return Ui.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++)if(i=X([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),!n&&!this._monthsParse[s]&&(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[s].test(e)||n&&t==="MMM"&&this._shortMonthsParse[s].test(e)||!n&&this._monthsParse[s].test(e))return s}function Un(e,t){if(!e.isValid())return e;if(typeof t=="string"){if(/^\d+$/.test(t))t=v(t);else if(t=e.localeData().monthsParse(t),!se(t))return e}var n=t,s=e.date();return s=s<29?s:Math.min(s,Gt(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,s):e._d.setMonth(n,s),e}function Hn(e){return e!=null?(Un(this,e),g.updateOffset(this,!0),this):je(this,"Month")}function Vi(){return Gt(this.year(),this.month())}function $i(e){return this._monthsParseExact?(S(this,"_monthsRegex")||Vn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(S(this,"_monthsShortRegex")||(this._monthsShortRegex=Ai),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Wi(e){return this._monthsParseExact?(S(this,"_monthsRegex")||Vn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(S(this,"_monthsRegex")||(this._monthsRegex=Fi),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Vn(){function e(u,l){return l.length-u.length}var t=[],n=[],s=[],i,r,a,o;for(i=0;i<12;i++)r=X([2e3,i]),a=ie(this.monthsShort(r,"")),o=ie(this.months(r,"")),t.push(a),n.push(o),s.push(o),s.push(a);t.sort(e),n.sort(e),s.sort(e),this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Gi(e,t,n,s,i,r,a){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,s,i,r,a),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,s,i,r,a),o}function Ue(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ht(e,t,n){var s=7+t-n,i=(7+Ue(e,0,s).getUTCDay()-t)%7;return-i+s-1}function $n(e,t,n,s,i){var r=(7+n-s)%7,a=ht(e,s,i),o=1+7*(t-1)+r+a,u,l;return o<=0?(u=e-1,l=Ie(u)+o):o>Ie(e)?(u=e+1,l=o-Ie(e)):(u=e,l=o),{year:u,dayOfYear:l}}function He(e,t,n){var s=ht(e.year(),t,n),i=Math.floor((e.dayOfYear()-s-1)/7)+1,r,a;return i<1?(a=e.year()-1,r=i+oe(a,t,n)):i>oe(e.year(),t,n)?(r=i-oe(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function oe(e,t,n){var s=ht(e,t,n),i=ht(e+1,t,n);return(Ie(e)-s+i)/7}p("w",["ww",2],"wo","week"),p("W",["WW",2],"Wo","isoWeek"),m("w",O,ke),m("ww",O,U),m("W",O,ke),m("WW",O,U),Fe(["w","ww","W","WW"],function(e,t,n,s){t[s.substr(0,1)]=v(e)});function zi(e){return He(e,this._week.dow,this._week.doy).week}var Ki={dow:0,doy:6};function Bi(){return this._week.dow}function qi(){return this._week.doy}function Ji(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Zi(e){var t=He(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}p("d",0,"do","day"),p("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),p("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),p("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),p("e",0,0,"weekday"),p("E",0,0,"isoWeekday"),m("d",O),m("e",O),m("E",O),m("dd",function(e,t){return t.weekdaysMinRegex(e)}),m("ddd",function(e,t){return t.weekdaysShortRegex(e)}),m("dddd",function(e,t){return t.weekdaysRegex(e)}),Fe(["dd","ddd","dddd"],function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);i!=null?t.d=i:_(n).invalidWeekday=e}),Fe(["d","e","E"],function(e,t,n,s){t[s]=v(e)});function Qi(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Xi(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function zt(e,t){return e.slice(t,7).concat(e.slice(0,t))}var er="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Wn="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),tr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nr=Ae,sr=Ae,ir=Ae;function rr(e,t){var n=K(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?zt(n,this._week.dow):e?n[e.day()]:n}function ar(e){return e===!0?zt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function or(e){return e===!0?zt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ur(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=X([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?t==="dddd"?(i=C.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=C.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=C.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=C.call(this._weekdaysParse,a),i!==-1||(i=C.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=C.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=C.call(this._shortWeekdaysParse,a),i!==-1||(i=C.call(this._weekdaysParse,a),i!==-1)?i:(i=C.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=C.call(this._minWeekdaysParse,a),i!==-1||(i=C.call(this._weekdaysParse,a),i!==-1)?i:(i=C.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function lr(e,t,n){var s,i,r;if(this._weekdaysParseExact)return ur.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++)if(i=X([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[s].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[s].test(e)||n&&t==="dd"&&this._minWeekdaysParse[s].test(e)||!n&&this._weekdaysParse[s].test(e))return s}function dr(e){if(!this.isValid())return e!=null?this:NaN;var t=je(this,"Day");return e!=null?(e=Qi(e,this.localeData()),this.add(e-t,"d")):t}function hr(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 cr(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Xi(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function fr(e){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(S(this,"_weekdaysRegex")||(this._weekdaysRegex=nr),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function gr(e){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(S(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sr),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function mr(e){return this._weekdaysParseExact?(S(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(S(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ir),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(h,f){return f.length-h.length}var t=[],n=[],s=[],i=[],r,a,o,u,l;for(r=0;r<7;r++)a=X([2e3,1]).day(r),o=ie(this.weekdaysMin(a,"")),u=ie(this.weekdaysShort(a,"")),l=ie(this.weekdays(a,"")),t.push(o),n.push(u),s.push(l),i.push(o),i.push(u),i.push(l);t.sort(e),n.sort(e),s.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Bt(){return this.hours()%12||12}function pr(){return this.hours()||24}p("H",["HH",2],0,"hour"),p("h",["hh",2],0,Bt),p("k",["kk",2],0,pr),p("hmm",0,0,function(){return""+Bt.apply(this)+te(this.minutes(),2)}),p("hmmss",0,0,function(){return""+Bt.apply(this)+te(this.minutes(),2)+te(this.seconds(),2)}),p("Hmm",0,0,function(){return""+this.hours()+te(this.minutes(),2)}),p("Hmmss",0,0,function(){return""+this.hours()+te(this.minutes(),2)+te(this.seconds(),2)});function Gn(e,t){p(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Gn("a",!0),Gn("A",!1);function zn(e,t){return t._meridiemParse}m("a",zn),m("A",zn),m("H",O,$t),m("h",O,ke),m("k",O,ke),m("HH",O,U),m("hh",O,U),m("kk",O,U),m("hmm",Pn),m("hmmss",En),m("Hmm",Pn),m("Hmmss",En),k(["H","HH"],L),k(["k","kk"],function(e,t,n){var s=v(e);t[L]=s===24?0:s}),k(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),k(["h","hh"],function(e,t,n){t[L]=v(e),_(n).bigHour=!0}),k("hmm",function(e,t,n){var s=e.length-2;t[L]=v(e.substr(0,s)),t[q]=v(e.substr(s)),_(n).bigHour=!0}),k("hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[L]=v(e.substr(0,s)),t[q]=v(e.substr(s,2)),t[ae]=v(e.substr(i)),_(n).bigHour=!0}),k("Hmm",function(e,t,n){var s=e.length-2;t[L]=v(e.substr(0,s)),t[q]=v(e.substr(s))}),k("Hmmss",function(e,t,n){var s=e.length-4,i=e.length-2;t[L]=v(e.substr(0,s)),t[q]=v(e.substr(s,2)),t[ae]=v(e.substr(i))});function yr(e){return(e+"").toLowerCase().charAt(0)==="p"}var _r=/[ap]\.?m?\.?/i,vr=Oe("Hours",!0);function wr(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Kn={calendar:ui,longDateFormat:ci,invalidDate:gi,ordinal:pi,dayOfMonthOrdinalParse:yi,relativeTime:vi,months:Ei,monthsShort:In,week:Ki,weekdays:er,weekdaysMin:tr,weekdaysShort:Wn,meridiemParse:_r},D={},Ve={},$e;function Sr(e,t){var n,s=Math.min(e.length,t.length);for(n=0;n<s;n+=1)if(e[n]!==t[n])return n;return s}function Bn(e){return e&&e.toLowerCase().replace("_","-")}function br(e){for(var t=0,n,s,i,r;t<e.length;){for(r=Bn(e[t]).split("-"),n=r.length,s=Bn(e[t+1]),s=s?s.split("-"):null;n>0;){if(i=ct(r.slice(0,n).join("-")),i)return i;if(s&&s.length>=n&&Sr(r,s)>=n-1)break;n--}t++}return $e}function xr(e){return!!(e&&e.match("^[^/\\\\]*$"))}function ct(e){var t=null,n;if(D[e]===void 0&&typeof module<"u"&&module&&module.exports&&xr(e))try{t=$e._abbr,n=require,n("./locale/"+e),fe(t)}catch{D[e]=null}return D[e]}function fe(e,t){var n;return e&&(j(t)?n=ue(e):n=qt(e,t),n?$e=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),$e._abbr}function qt(e,t){if(t!==null){var n,s=Kn;if(t.abbr=e,D[e]!=null)Nn("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=D[e]._config;else if(t.parentLocale!=null)if(D[t.parentLocale]!=null)s=D[t.parentLocale]._config;else if(n=ct(t.parentLocale),n!=null)s=n._config;else return Ve[t.parentLocale]||(Ve[t.parentLocale]=[]),Ve[t.parentLocale].push({name:e,config:t}),null;return D[e]=new At(Et(s,t)),Ve[e]&&Ve[e].forEach(function(i){qt(i.name,i.config)}),fe(e),D[e]}else return delete D[e],null}function kr(e,t){if(t!=null){var n,s,i=Kn;D[e]!=null&&D[e].parentLocale!=null?D[e].set(Et(D[e]._config,t)):(s=ct(e),s!=null&&(i=s._config),t=Et(i,t),s==null&&(t.abbr=e),n=new At(t),n.parentLocale=D[e],D[e]=n),fe(e)}else D[e]!=null&&(D[e].parentLocale!=null?(D[e]=D[e].parentLocale,e===fe()&&fe(e)):D[e]!=null&&delete D[e]);return D[e]}function ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return $e;if(!K(e)){if(t=ct(e),t)return t;e=[e]}return br(e)}function Or(){return Ft(D)}function Jt(e){var t,n=e._a;return n&&_(e).overflow===-2&&(t=n[re]<0||n[re]>11?re:n[ne]<1||n[ne]>Gt(n[E],n[re])?ne:n[L]<0||n[L]>24||n[L]===24&&(n[q]!==0||n[ae]!==0||n[pe]!==0)?L:n[q]<0||n[q]>59?q:n[ae]<0||n[ae]>59?ae:n[pe]<0||n[pe]>999?pe:-1,_(e)._overflowDayOfYear&&(t<E||t>ne)&&(t=ne),_(e)._overflowWeeks&&t===-1&&(t=Ni),_(e)._overflowWeekday&&t===-1&&(t=Ci),_(e).overflow=t),e}var Mr=/^\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)?)?$/,Dr=/^\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)?)?$/,Yr=/Z|[+-]\d\d(?::?\d\d)?/,ft=[["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]],Zt=[["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/]],Nr=/^\/?Date\((-?\d+)/i,Cr=/^(?:(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}))$/,Rr={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 qn(e){var t,n,s=e._i,i=Mr.exec(s)||Dr.exec(s),r,a,o,u,l=ft.length,h=Zt.length;if(i){for(_(e).iso=!0,t=0,n=l;t<n;t++)if(ft[t][1].exec(i[1])){a=ft[t][0],r=ft[t][2]!==!1;break}if(a==null){e._isValid=!1;return}if(i[3]){for(t=0,n=h;t<n;t++)if(Zt[t][1].exec(i[3])){o=(i[2]||" ")+Zt[t][0];break}if(o==null){e._isValid=!1;return}}if(!r&&o!=null){e._isValid=!1;return}if(i[4])if(Yr.exec(i[4]))u="Z";else{e._isValid=!1;return}e._f=a+(o||"")+(u||""),Xt(e)}else e._isValid=!1}function Tr(e,t,n,s,i,r){var a=[Lr(e),In.indexOf(t),parseInt(n,10),parseInt(s,10),parseInt(i,10)];return r&&a.push(parseInt(r,10)),a}function Lr(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pr(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Er(e,t,n){if(e){var s=Wn.indexOf(e),i=new Date(t[0],t[1],t[2]).getDay();if(s!==i)return _(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function Ar(e,t,n){if(e)return Rr[e];if(t)return 0;var s=parseInt(n,10),i=s%100,r=(s-i)/100;return r*60+i}function Jn(e){var t=Cr.exec(Pr(e._i)),n;if(t){if(n=Tr(t[4],t[3],t[2],t[5],t[6],t[7]),!Er(t[1],n,e))return;e._a=n,e._tzm=Ar(t[8],t[9],t[10]),e._d=Ue.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Fr(e){var t=Nr.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(qn(e),e._isValid===!1)delete e._isValid;else return;if(Jn(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:g.createFromInputFallback(e)}g.createFromInputFallback=W("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 Me(e,t,n){return e??t??n}function Ir(e){var t=new Date(g.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Qt(e){var t,n,s=[],i,r,a;if(!e._d){for(i=Ir(e),e._w&&e._a[ne]==null&&e._a[re]==null&&jr(e),e._dayOfYear!=null&&(a=Me(e._a[E],i[E]),(e._dayOfYear>Ie(a)||e._dayOfYear===0)&&(_(e)._overflowDayOfYear=!0),n=Ue(a,0,e._dayOfYear),e._a[re]=n.getUTCMonth(),e._a[ne]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[L]===24&&e._a[q]===0&&e._a[ae]===0&&e._a[pe]===0&&(e._nextDay=!0,e._a[L]=0),e._d=(e._useUTC?Ue:Gi).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[L]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==r&&(_(e).weekdayMismatch=!0)}}function jr(e){var t,n,s,i,r,a,o,u,l;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(r=1,a=4,n=Me(t.GG,e._a[E],He(M(),1,4).year),s=Me(t.W,1),i=Me(t.E,1),(i<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,l=He(M(),r,a),n=Me(t.gg,e._a[E],l.year),s=Me(t.w,l.week),t.d!=null?(i=t.d,(i<0||i>6)&&(u=!0)):t.e!=null?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r),s<1||s>oe(n,r,a)?_(e)._overflowWeeks=!0:u!=null?_(e)._overflowWeekday=!0:(o=$n(n,s,i,r,a),e._a[E]=o.year,e._dayOfYear=o.dayOfYear)}g.ISO_8601=function(){},g.RFC_2822=function(){};function Xt(e){if(e._f===g.ISO_8601){qn(e);return}if(e._f===g.RFC_2822){Jn(e);return}e._a=[],_(e).empty=!0;var t=""+e._i,n,s,i,r,a,o=t.length,u=0,l,h;for(i=Cn(e._f,e._locale).match(It)||[],h=i.length,n=0;n<h;n++)r=i[n],s=(t.match(Mi(r,e))||[])[0],s&&(a=t.substr(0,t.indexOf(s)),a.length>0&&_(e).unusedInput.push(a),t=t.slice(t.indexOf(s)+s.length),u+=s.length),be[r]?(s?_(e).empty=!1:_(e).unusedTokens.push(r),Yi(r,s,e)):e._strict&&!s&&_(e).unusedTokens.push(r);_(e).charsLeftOver=o-u,t.length>0&&_(e).unusedInput.push(t),e._a[L]<=12&&_(e).bigHour===!0&&e._a[L]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[L]=Ur(e._locale,e._a[L],e._meridiem),l=_(e).era,l!==null&&(e._a[E]=e._locale.erasConvertYear(l,e._a[E])),Qt(e),Jt(e)}function Ur(e,t,n){var s;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(s=e.isPM(n),s&&t<12&&(t+=12),!s&&t===12&&(t=0)),t)}function Hr(e){var t,n,s,i,r,a,o=!1,u=e._f.length;if(u===0){_(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;i<u;i++)r=0,a=!1,t=Pt({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[i],Xt(t),Tt(t)&&(a=!0),r+=_(t).charsLeftOver,r+=_(t).unusedTokens.length*10,_(t).score=r,o?r<s&&(s=r,n=t):(s==null||r<s||a)&&(s=r,n=t,a&&(o=!0));ce(e,n||t)}function Vr(e){if(!e._d){var t=Ut(e._i),n=t.day===void 0?t.date:t.day;e._a=On([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(s){return s&&parseInt(s,10)}),Qt(e)}}function $r(e){var t=new Ee(Jt(Zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Zn(e){var t=e._i,n=e._f;return e._locale=e._locale||ue(e._l),t===null||n===void 0&&t===""?tt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),B(t)?new Ee(Jt(t)):(Pe(t)?e._d=t:K(n)?Hr(e):n?Xt(e):Wr(e),Tt(e)||(e._d=null),e))}function Wr(e){var t=e._i;j(t)?e._d=new Date(g.now()):Pe(t)?e._d=new Date(t.valueOf()):typeof t=="string"?Fr(e):K(t)?(e._a=On(t.slice(0),function(n){return parseInt(n,10)}),Qt(e)):me(t)?Vr(e):se(t)?e._d=new Date(t):g.createFromInputFallback(e)}function Qn(e,t,n,s,i){var r={};return(t===!0||t===!1)&&(s=t,t=void 0),(n===!0||n===!1)&&(s=n,n=void 0),(me(e)&&Ct(e)||K(e)&&e.length===0)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=i,r._l=n,r._i=e,r._f=t,r._strict=s,$r(r)}function M(e,t,n,s){return Qn(e,t,n,s,!1)}var Gr=W("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:tt()}),zr=W("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=M.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:tt()});function Xn(e,t){var n,s;if(t.length===1&&K(t[0])&&(t=t[0]),!t.length)return M();for(n=t[0],s=1;s<t.length;++s)(!t[s].isValid()||t[s][e](n))&&(n=t[s]);return n}function Kr(){var e=[].slice.call(arguments,0);return Xn("isBefore",e)}function Br(){var e=[].slice.call(arguments,0);return Xn("isAfter",e)}var qr=function(){return Date.now?Date.now():+new Date},We=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Jr(e){var t,n=!1,s,i=We.length;for(t in e)if(S(e,t)&&!(C.call(We,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(s=0;s<i;++s)if(e[We[s]]){if(n)return!1;parseFloat(e[We[s]])!==v(e[We[s]])&&(n=!0)}return!0}function Zr(){return this._isValid}function Qr(){return J(NaN)}function gt(e){var t=Ut(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,h=t.millisecond||0;this._isValid=Jr(t),this._milliseconds=+h+l*1e3+u*6e4+o*1e3*60*60,this._days=+a+r*7,this._months=+i+s*3+n*12,this._data={},this._locale=ue(),this._bubble()}function mt(e){return e instanceof gt}function en(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Xr(e,t,n){var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a;for(a=0;a<s;a++)v(e[a])!==v(t[a])&&r++;return r+i}function es(e,t){p(e,0,0,function(){var n=this.utcOffset(),s="+";return n<0&&(n=-n,s="-"),s+te(~~(n/60),2)+t+te(~~n%60,2)})}es("Z",":"),es("ZZ",""),m("Z",ut),m("ZZ",ut),k(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=tn(ut,e)});var ea=/([\+\-]|\d\d)/gi;function tn(e,t){var n=(t||"").match(e),s,i,r;return n===null?null:(s=n[n.length-1]||[],i=(s+"").match(ea)||["-",0,0],r=+(i[1]*60)+v(i[2]),r===0?0:i[0]==="+"?r:-r)}function nn(e,t){var n,s;return t._isUTC?(n=t.clone(),s=(B(e)||Pe(e)?e.valueOf():M(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+s),g.updateOffset(n,!1),n):M(e).local()}function sn(e){return-Math.round(e._d.getTimezoneOffset())}g.updateOffset=function(){};function ta(e,t,n){var s=this._offset||0,i;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=tn(ut,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(i=sn(this)),this._offset=e,this._isUTC=!0,i!=null&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?is(this,J(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,g.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?s:sn(this)}function na(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function sa(e){return this.utcOffset(0,e)}function ia(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(sn(this),"m")),this}function ra(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=tn(ki,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function aa(e){return this.isValid()?(e=e?M(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function oa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ua(){if(!j(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Pt(e,this),e=Zn(e),e._a?(t=e._isUTC?X(e._a):M(e._a),this._isDSTShifted=this.isValid()&&Xr(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function la(){return this.isValid()?!this._isUTC:!1}function da(){return this.isValid()?this._isUTC:!1}function ts(){return this.isValid()?this._isUTC&&this._offset===0:!1}var ha=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,ca=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function J(e,t){var n=e,s=null,i,r,a;return mt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:se(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(s=ha.exec(e))?(i=s[1]==="-"?-1:1,n={y:0,d:v(s[ne])*i,h:v(s[L])*i,m:v(s[q])*i,s:v(s[ae])*i,ms:v(en(s[pe]*1e3))*i}):(s=ca.exec(e))?(i=s[1]==="-"?-1:1,n={y:ye(s[2],i),M:ye(s[3],i),w:ye(s[4],i),d:ye(s[5],i),h:ye(s[6],i),m:ye(s[7],i),s:ye(s[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=fa(M(n.from),M(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),r=new gt(n),mt(e)&&S(e,"_locale")&&(r._locale=e._locale),mt(e)&&S(e,"_isValid")&&(r._isValid=e._isValid),r}J.fn=gt.prototype,J.invalid=Qr;function ye(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function ns(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function fa(e,t){var n;return e.isValid()&&t.isValid()?(t=nn(t,e),e.isBefore(t)?n=ns(e,t):(n=ns(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function ss(e,t){return function(n,s){var i,r;return s!==null&&!isNaN(+s)&&(Nn(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."),r=n,n=s,s=r),i=J(n,s),is(this,i,e),this}}function is(e,t,n,s){var i=t._milliseconds,r=en(t._days),a=en(t._months);e.isValid()&&(s=s??!0,a&&Un(e,je(e,"Month")+a*n),r&&Fn(e,"Date",je(e,"Date")+r*n),i&&e._d.setTime(e._d.valueOf()+i*n),s&&g.updateOffset(e,r||a))}var ga=ss(1,"add"),ma=ss(-1,"subtract");function rs(e){return typeof e=="string"||e instanceof String}function pa(e){return B(e)||Pe(e)||rs(e)||se(e)||_a(e)||ya(e)||e===null||e===void 0}function ya(e){var t=me(e)&&!Ct(e),n=!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"],i,r,a=s.length;for(i=0;i<a;i+=1)r=s[i],n=n||S(e,r);return t&&n}function _a(e){var t=K(e),n=!1;return t&&(n=e.filter(function(s){return!se(s)&&rs(e)}).length===0),t&&n}function va(e){var t=me(e)&&!Ct(e),n=!1,s=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],i,r;for(i=0;i<s.length;i+=1)r=s[i],n=n||S(e,r);return t&&n}function wa(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Sa(e,t){arguments.length===1&&(arguments[0]?pa(arguments[0])?(e=arguments[0],t=void 0):va(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||M(),s=nn(n,this).startOf("day"),i=g.calendarFormat(this,s)||"sameElse",r=t&&(ee(t[i])?t[i].call(this,n):t[i]);return this.format(r||this.localeData().calendar(i,this,M(n)))}function ba(){return new Ee(this)}function xa(e,t){var n=B(e)?e:M(e);return this.isValid()&&n.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function ka(e,t){var n=B(e)?e:M(e);return this.isValid()&&n.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function Oa(e,t,n,s){var i=B(e)?e:M(e),r=B(t)?t:M(t);return this.isValid()&&i.isValid()&&r.isValid()?(s=s||"()",(s[0]==="("?this.isAfter(i,n):!this.isBefore(i,n))&&(s[1]===")"?this.isBefore(r,n):!this.isAfter(r,n))):!1}function Ma(e,t){var n=B(e)?e:M(e),s;return this.isValid()&&n.isValid()?(t=G(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf())):!1}function Da(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ya(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Na(e,t,n){var s,i,r;if(!this.isValid())return NaN;if(s=nn(e,this),!s.isValid())return NaN;switch(i=(s.utcOffset()-this.utcOffset())*6e4,t=G(t),t){case"year":r=pt(this,s)/12;break;case"month":r=pt(this,s);break;case"quarter":r=pt(this,s)/3;break;case"second":r=(this-s)/1e3;break;case"minute":r=(this-s)/6e4;break;case"hour":r=(this-s)/36e5;break;case"day":r=(this-s-i)/864e5;break;case"week":r=(this-s-i)/6048e5;break;default:r=this-s}return n?r:z(r)}function pt(e,t){if(e.date()<t.date())return-pt(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),s=e.clone().add(n,"months"),i,r;return t-s<0?(i=e.clone().add(n-1,"months"),r=(t-s)/(s-i)):(i=e.clone().add(n+1,"months"),r=(t-s)/(i-s)),-(n+r)||0}g.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",g.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Ca(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ra(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?st(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ee(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",st(n,"Z")):st(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Ta(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,s,i,r;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",r=t+'[")]',this.format(n+s+i+r)}function La(e){e||(e=this.isUtc()?g.defaultFormatUtc:g.defaultFormat);var t=st(this,e);return this.localeData().postformat(t)}function Pa(e,t){return this.isValid()&&(B(e)&&e.isValid()||M(e).isValid())?J({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Ea(e){return this.from(M(),e)}function Aa(e,t){return this.isValid()&&(B(e)&&e.isValid()||M(e).isValid())?J({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Fa(e){return this.to(M(),e)}function as(e){var t;return e===void 0?this._locale._abbr:(t=ue(e),t!=null&&(this._locale=t),this)}var os=W("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 us(){return this._locale}var yt=1e3,De=60*yt,_t=60*De,ls=(365*400+97)*24*_t;function Ye(e,t){return(e%t+t)%t}function ds(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ls:new Date(e,t,n).valueOf()}function hs(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ls:Date.UTC(e,t,n)}function Ia(e){var t,n;if(e=G(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?hs:ds,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Ye(t+(this._isUTC?0:this.utcOffset()*De),_t);break;case"minute":t=this._d.valueOf(),t-=Ye(t,De);break;case"second":t=this._d.valueOf(),t-=Ye(t,yt);break}return this._d.setTime(t),g.updateOffset(this,!0),this}function ja(e){var t,n;if(e=G(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?hs:ds,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=_t-Ye(t+(this._isUTC?0:this.utcOffset()*De),_t)-1;break;case"minute":t=this._d.valueOf(),t+=De-Ye(t,De)-1;break;case"second":t=this._d.valueOf(),t+=yt-Ye(t,yt)-1;break}return this._d.setTime(t),g.updateOffset(this,!0),this}function Ua(){return this._d.valueOf()-(this._offset||0)*6e4}function Ha(){return Math.floor(this.valueOf()/1e3)}function Va(){return new Date(this.valueOf())}function $a(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Wa(){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 Ga(){return this.isValid()?this.toISOString():null}function za(){return Tt(this)}function Ka(){return ce({},_(this))}function Ba(){return _(this).overflow}function qa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}p("N",0,0,"eraAbbr"),p("NN",0,0,"eraAbbr"),p("NNN",0,0,"eraAbbr"),p("NNNN",0,0,"eraName"),p("NNNNN",0,0,"eraNarrow"),p("y",["y",1],"yo","eraYear"),p("y",["yy",2],0,"eraYear"),p("y",["yyy",3],0,"eraYear"),p("y",["yyyy",4],0,"eraYear"),m("N",rn),m("NN",rn),m("NNN",rn),m("NNNN",ao),m("NNNNN",oo),k(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,s){var i=n._locale.erasParse(e,s,n._strict);i?_(n).era=i:_(n).invalidEra=e}),m("y",xe),m("yy",xe),m("yyy",xe),m("yyyy",xe),m("yo",uo),k(["y","yy","yyy","yyyy"],E),k(["yo"],function(e,t,n,s){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[E]=n._locale.eraYearOrdinalParse(e,i):t[E]=parseInt(e,10)});function Ja(e,t){var n,s,i,r=this._eras||ue("en")._eras;for(n=0,s=r.length;n<s;++n){switch(typeof r[n].since){case"string":i=g(r[n].since).startOf("day"),r[n].since=i.valueOf();break}switch(typeof r[n].until){case"undefined":r[n].until=1/0;break;case"string":i=g(r[n].until).startOf("day").valueOf(),r[n].until=i.valueOf();break}}return r}function Za(e,t,n){var s,i,r=this.eras(),a,o,u;for(e=e.toUpperCase(),s=0,i=r.length;s<i;++s)if(a=r[s].name.toUpperCase(),o=r[s].abbr.toUpperCase(),u=r[s].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return r[s];break;case"NNNN":if(a===e)return r[s];break;case"NNNNN":if(u===e)return r[s];break}else if([a,o,u].indexOf(e)>=0)return r[s]}function Qa(e,t){var n=e.since<=e.until?1:-1;return t===void 0?g(e.since).year():g(e.since).year()+(t-e.offset)*n}function Xa(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].name;return""}function eo(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].narrow;return""}function to(){var e,t,n,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),s[e].since<=n&&n<=s[e].until||s[e].until<=n&&n<=s[e].since)return s[e].abbr;return""}function no(){var e,t,n,s,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,s=this.clone().startOf("day").valueOf(),i[e].since<=s&&s<=i[e].until||i[e].until<=s&&s<=i[e].since)return(this.year()-g(i[e].since).year())*n+i[e].offset;return this.year()}function so(e){return S(this,"_erasNameRegex")||an.call(this),e?this._erasNameRegex:this._erasRegex}function io(e){return S(this,"_erasAbbrRegex")||an.call(this),e?this._erasAbbrRegex:this._erasRegex}function ro(e){return S(this,"_erasNarrowRegex")||an.call(this),e?this._erasNarrowRegex:this._erasRegex}function rn(e,t){return t.erasAbbrRegex(e)}function ao(e,t){return t.erasNameRegex(e)}function oo(e,t){return t.erasNarrowRegex(e)}function uo(e,t){return t._eraYearOrdinalRegex||xe}function an(){var e=[],t=[],n=[],s=[],i,r,a,o,u,l=this.eras();for(i=0,r=l.length;i<r;++i)a=ie(l[i].name),o=ie(l[i].abbr),u=ie(l[i].narrow),t.push(a),e.push(o),n.push(u),s.push(a),s.push(o),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("^("+n.join("|")+")","i")}p(0,["gg",2],0,function(){return this.weekYear()%100}),p(0,["GG",2],0,function(){return this.isoWeekYear()%100});function vt(e,t){p(0,[e,e.length],0,t)}vt("gggg","weekYear"),vt("ggggg","weekYear"),vt("GGGG","isoWeekYear"),vt("GGGGG","isoWeekYear"),m("G",ot),m("g",ot),m("GG",O,U),m("gg",O,U),m("GGGG",Vt,Ht),m("gggg",Vt,Ht),m("GGGGG",at,it),m("ggggg",at,it),Fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=v(e)}),Fe(["gg","GG"],function(e,t,n,s){t[s]=g.parseTwoDigitYear(e)});function lo(e){return cs.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function ho(e){return cs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function co(){return oe(this.year(),1,4)}function fo(){return oe(this.isoWeekYear(),1,4)}function go(){var e=this.localeData()._week;return oe(this.year(),e.dow,e.doy)}function mo(){var e=this.localeData()._week;return oe(this.weekYear(),e.dow,e.doy)}function cs(e,t,n,s,i){var r;return e==null?He(this,s,i).year:(r=oe(e,s,i),t>r&&(t=r),po.call(this,e,t,n,s,i))}function po(e,t,n,s,i){var r=$n(e,t,n,s,i),a=Ue(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}p("Q",0,"Qo","quarter"),m("Q",Tn),k("Q",function(e,t){t[re]=(v(e)-1)*3});function yo(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}p("D",["DD",2],"Do","date"),m("D",O,ke),m("DD",O,U),m("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),k(["D","DD"],ne),k("Do",function(e,t){t[ne]=v(e.match(O)[0])});var fs=Oe("Date",!0);p("DDD",["DDDD",3],"DDDo","dayOfYear"),m("DDD",rt),m("DDDD",Ln),k(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)});function _o(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}p("m",["mm",2],0,"minute"),m("m",O,$t),m("mm",O,U),k(["m","mm"],q);var vo=Oe("Minutes",!1);p("s",["ss",2],0,"second"),m("s",O,$t),m("ss",O,U),k(["s","ss"],ae);var wo=Oe("Seconds",!1);p("S",0,0,function(){return~~(this.millisecond()/100)}),p(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),p(0,["SSS",3],0,"millisecond"),p(0,["SSSS",4],0,function(){return this.millisecond()*10}),p(0,["SSSSS",5],0,function(){return this.millisecond()*100}),p(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),p(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),p(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),p(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),m("S",rt,Tn),m("SS",rt,U),m("SSS",rt,Ln);var ge,gs;for(ge="SSSS";ge.length<=9;ge+="S")m(ge,xe);function So(e,t){t[pe]=v(("0."+e)*1e3)}for(ge="S";ge.length<=9;ge+="S")k(ge,So);gs=Oe("Milliseconds",!1),p("z",0,0,"zoneAbbr"),p("zz",0,0,"zoneName");function bo(){return this._isUTC?"UTC":""}function xo(){return this._isUTC?"Coordinated Universal Time":""}var c=Ee.prototype;c.add=ga,c.calendar=Sa,c.clone=ba,c.diff=Na,c.endOf=ja,c.format=La,c.from=Pa,c.fromNow=Ea,c.to=Aa,c.toNow=Fa,c.get=Ti,c.invalidAt=Ba,c.isAfter=xa,c.isBefore=ka,c.isBetween=Oa,c.isSame=Ma,c.isSameOrAfter=Da,c.isSameOrBefore=Ya,c.isValid=za,c.lang=os,c.locale=as,c.localeData=us,c.max=zr,c.min=Gr,c.parsingFlags=Ka,c.set=Li,c.startOf=Ia,c.subtract=ma,c.toArray=$a,c.toObject=Wa,c.toDate=Va,c.toISOString=Ra,c.inspect=Ta,typeof Symbol<"u"&&Symbol.for!=null&&(c[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),c.toJSON=Ga,c.toString=Ca,c.unix=Ha,c.valueOf=Ua,c.creationData=qa,c.eraName=Xa,c.eraNarrow=eo,c.eraAbbr=to,c.eraYear=no,c.year=An,c.isLeapYear=Ri,c.weekYear=lo,c.isoWeekYear=ho,c.quarter=c.quarters=yo,c.month=Hn,c.daysInMonth=Vi,c.week=c.weeks=Ji,c.isoWeek=c.isoWeeks=Zi,c.weeksInYear=go,c.weeksInWeekYear=mo,c.isoWeeksInYear=co,c.isoWeeksInISOWeekYear=fo,c.date=fs,c.day=c.days=dr,c.weekday=hr,c.isoWeekday=cr,c.dayOfYear=_o,c.hour=c.hours=vr,c.minute=c.minutes=vo,c.second=c.seconds=wo,c.millisecond=c.milliseconds=gs,c.utcOffset=ta,c.utc=sa,c.local=ia,c.parseZone=ra,c.hasAlignedHourOffset=aa,c.isDST=oa,c.isLocal=la,c.isUtcOffset=da,c.isUtc=ts,c.isUTC=ts,c.zoneAbbr=bo,c.zoneName=xo,c.dates=W("dates accessor is deprecated. Use date instead.",fs),c.months=W("months accessor is deprecated. Use month instead",Hn),c.years=W("years accessor is deprecated. Use year instead",An),c.zone=W("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",na),c.isDSTShifted=W("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ua);function ko(e){return M(e*1e3)}function Oo(){return M.apply(null,arguments).parseZone()}function ms(e){return e}var b=At.prototype;b.calendar=li,b.longDateFormat=fi,b.invalidDate=mi,b.ordinal=_i,b.preparse=ms,b.postformat=ms,b.relativeTime=wi,b.pastFuture=Si,b.set=oi,b.eras=Ja,b.erasParse=Za,b.erasConvertYear=Qa,b.erasAbbrRegex=io,b.erasNameRegex=so,b.erasNarrowRegex=ro,b.months=Ii,b.monthsShort=ji,b.monthsParse=Hi,b.monthsRegex=Wi,b.monthsShortRegex=$i,b.week=zi,b.firstDayOfYear=qi,b.firstDayOfWeek=Bi,b.weekdays=rr,b.weekdaysMin=or,b.weekdaysShort=ar,b.weekdaysParse=lr,b.weekdaysRegex=fr,b.weekdaysShortRegex=gr,b.weekdaysMinRegex=mr,b.isPM=yr,b.meridiem=wr;function wt(e,t,n,s){var i=ue(),r=X().set(s,t);return i[n](r,e)}function ps(e,t,n){if(se(e)&&(t=e,e=void 0),e=e||"",t!=null)return wt(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=wt(e,s,n,"month");return i}function on(e,t,n,s){typeof e=="boolean"?(se(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,se(t)&&(n=t,t=void 0),t=t||"");var i=ue(),r=e?i._week.dow:0,a,o=[];if(n!=null)return wt(t,(n+r)%7,s,"day");for(a=0;a<7;a++)o[a]=wt(t,(a+r)%7,s,"day");return o}function Mo(e,t){return ps(e,t,"months")}function Do(e,t){return ps(e,t,"monthsShort")}function Yo(e,t,n){return on(e,t,n,"weekdays")}function No(e,t,n){return on(e,t,n,"weekdaysShort")}function Co(e,t,n){return on(e,t,n,"weekdaysMin")}fe("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,n=v(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}}),g.lang=W("moment.lang is deprecated. Use moment.locale instead.",fe),g.langData=W("moment.langData is deprecated. Use moment.localeData instead.",ue);var le=Math.abs;function Ro(){var e=this._data;return this._milliseconds=le(this._milliseconds),this._days=le(this._days),this._months=le(this._months),e.milliseconds=le(e.milliseconds),e.seconds=le(e.seconds),e.minutes=le(e.minutes),e.hours=le(e.hours),e.months=le(e.months),e.years=le(e.years),this}function ys(e,t,n,s){var i=J(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function To(e,t){return ys(this,e,t,1)}function Lo(e,t){return ys(this,e,t,-1)}function _s(e){return e<0?Math.floor(e):Math.ceil(e)}function Po(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data,i,r,a,o,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=_s(un(n)+t)*864e5,t=0,n=0),s.milliseconds=e%1e3,i=z(e/1e3),s.seconds=i%60,r=z(i/60),s.minutes=r%60,a=z(r/60),s.hours=a%24,t+=z(a/24),u=z(vs(t)),n+=u,t-=_s(un(u)),o=z(n/12),n%=12,s.days=t,s.months=n,s.years=o,this}function vs(e){return e*4800/146097}function un(e){return e*146097/4800}function Eo(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if(e=G(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+s/864e5,n=this._months+vs(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(un(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 de(e){return function(){return this.as(e)}}var ws=de("ms"),Ao=de("s"),Fo=de("m"),Io=de("h"),jo=de("d"),Uo=de("w"),Ho=de("M"),Vo=de("Q"),$o=de("y"),Wo=ws;function Go(){return J(this)}function zo(e){return e=G(e),this.isValid()?this[e+"s"]():NaN}function _e(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ko=_e("milliseconds"),Bo=_e("seconds"),qo=_e("minutes"),Jo=_e("hours"),Zo=_e("days"),Qo=_e("months"),Xo=_e("years");function eu(){return z(this.days()/7)}var he=Math.round,Ne={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tu(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function nu(e,t,n,s){var i=J(e).abs(),r=he(i.as("s")),a=he(i.as("m")),o=he(i.as("h")),u=he(i.as("d")),l=he(i.as("M")),h=he(i.as("w")),f=he(i.as("y")),d=r<=n.ss&&["s",r]||r<n.s&&["ss",r]||a<=1&&["m"]||a<n.m&&["mm",a]||o<=1&&["h"]||o<n.h&&["hh",o]||u<=1&&["d"]||u<n.d&&["dd",u];return n.w!=null&&(d=d||h<=1&&["w"]||h<n.w&&["ww",h]),d=d||l<=1&&["M"]||l<n.M&&["MM",l]||f<=1&&["y"]||["yy",f],d[2]=t,d[3]=+e>0,d[4]=s,tu.apply(null,d)}function su(e){return e===void 0?he:typeof e=="function"?(he=e,!0):!1}function iu(e,t){return Ne[e]===void 0?!1:t===void 0?Ne[e]:(Ne[e]=t,e==="s"&&(Ne.ss=t-1),!0)}function ru(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,s=Ne,i,r;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(s=Object.assign({},Ne,t),t.s!=null&&t.ss==null&&(s.ss=t.s-1)),i=this.localeData(),r=nu(this,!n,s,i),n&&(r=i.pastFuture(+this,r)),i.postformat(r)}var ln=Math.abs;function Ce(e){return(e>0)-(e<0)||+e}function St(){if(!this.isValid())return this.localeData().invalidDate();var e=ln(this._milliseconds)/1e3,t=ln(this._days),n=ln(this._months),s,i,r,a,o=this.asSeconds(),u,l,h,f;return o?(s=z(e/60),i=z(s/60),e%=60,s%=60,r=z(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",u=o<0?"-":"",l=Ce(this._months)!==Ce(o)?"-":"",h=Ce(this._days)!==Ce(o)?"-":"",f=Ce(this._milliseconds)!==Ce(o)?"-":"",u+"P"+(r?l+r+"Y":"")+(n?l+n+"M":"")+(t?h+t+"D":"")+(i||s||e?"T":"")+(i?f+i+"H":"")+(s?f+s+"M":"")+(e?f+a+"S":"")):"P0D"}var w=gt.prototype;w.isValid=Zr,w.abs=Ro,w.add=To,w.subtract=Lo,w.as=Eo,w.asMilliseconds=ws,w.asSeconds=Ao,w.asMinutes=Fo,w.asHours=Io,w.asDays=jo,w.asWeeks=Uo,w.asMonths=Ho,w.asQuarters=Vo,w.asYears=$o,w.valueOf=Wo,w._bubble=Po,w.clone=Go,w.get=zo,w.milliseconds=Ko,w.seconds=Bo,w.minutes=qo,w.hours=Jo,w.days=Zo,w.weeks=eu,w.months=Qo,w.years=Xo,w.humanize=ru,w.toISOString=St,w.toString=St,w.toJSON=St,w.locale=as,w.localeData=us,w.toIsoString=W("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",St),w.lang=os,p("X",0,0,"unix"),p("x",0,0,"valueOf"),m("x",ot),m("X",Oi),k("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),k("x",function(e,t,n){n._d=new Date(v(e))});//! moment.js
|
|
10
|
+
g.version="2.30.1",ri(M),g.fn=c,g.min=Kr,g.max=Br,g.now=qr,g.utc=X,g.unix=ko,g.months=Mo,g.isDate=Pe,g.locale=fe,g.invalid=tt,g.duration=J,g.isMoment=B,g.weekdays=Yo,g.parseZone=Oo,g.localeData=ue,g.isDuration=mt,g.monthsShort=Do,g.weekdaysMin=Co,g.defineLocale=qt,g.updateLocale=kr,g.locales=Or,g.weekdaysShort=No,g.normalizeUnits=G,g.relativeTimeRounding=su,g.relativeTimeThreshold=iu,g.calendarFormat=wa,g.prototype=c,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 au=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,ou=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,Ss=/(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,dn=[/^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],uu={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:Ss,monthsShortRegex:Ss,monthsStrictRegex:au,monthsShortStrictRegex:ou,monthsParse:dn,longMonthsParse:dn,shortMonthsParse:dn,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",uu);const bs=e=>Math.round(5e3*Math.pow(200,.01*e)/10)*10,hn=e=>e>=1?hn(e-1)+bs(e):0,xs=(e,t=0)=>e<hn(t+1)?t:xs(e,t+1),lu=([e,t])=>t?`${Dt("xp.user",{amount:Nt(e),emoji:Yt.xp})} ${Dt("xp.crew",{amount:Nt(t),emoji:Yt.xp})}`:Dt("xp.user",{amount:Nt(e),emoji:Yt.xp});T.CHARACTERISTICS=Ys,T.CHARACTERISTIC_DEFAULT_POINT_COST=cn,T.CHARACTERISTIC_POINT_COSTS=Cs,T.CHARACTERISTIC_POINT_PER_LEVEL=Ns,T.DEFAULT_FACTION=Ps,T.DEFAULT_MAX_HP=Rs,T.FACTIONS=Ls,T.HP_PER_VITALITY=Ts,T.RANKS=Ds,T.RankId=$,T.SORT_VALUES=Es,T.displayXp=lu,T.getCurrentLevel=xs,T.totalXpToLevel=hn,T.xpToLevel=bs,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/xp/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,SAAS,CAAC;AAC7B,cAAc,SAAS,CAAC"}
|
package/dist/xp/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/xp/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/xp/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
|
package/dist/xp/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/xp/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const xpToLevel: (level: number) => number;
|
|
2
|
+
export declare const totalXpToLevel: (level: number) => number;
|
|
3
|
+
export declare const getCurrentLevel: (xp: number, level?: number) => number;
|
|
4
|
+
export declare const displayXp: ([user, crew]: [number, number]) => string;
|
|
5
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/xp/utils.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS,UAAW,MAAM,WACqB,CAAC;AAE7D,eAAO,MAAM,cAAc,UAAW,MAAM,KAAG,MACgB,CAAC;AAEhE,eAAO,MAAM,eAAe,OAAQ,MAAM,UAAS,MAAM,KAAO,MACS,CAAC;AAE1E,eAAO,MAAM,SAAS,iBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC,WAGY,CAAC"}
|
package/dist/xp/utils.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t } from 'i18next';
|
|
2
|
+
import { emojis } from '@opfr/emojis';
|
|
3
|
+
import { formatNumber } from '@opfr/utils-lang';
|
|
4
|
+
export const xpToLevel = (level) => Math.round((5000 * Math.pow(200, 0.01 * level)) / 10) * 10;
|
|
5
|
+
export const totalXpToLevel = (level) => level >= 1 ? totalXpToLevel(level - 1) + xpToLevel(level) : 0;
|
|
6
|
+
export const getCurrentLevel = (xp, level = 0) => xp < totalXpToLevel(level + 1) ? level : getCurrentLevel(xp, level + 1);
|
|
7
|
+
export const displayXp = ([user, crew]) => crew
|
|
8
|
+
? `${t('xp.user', { amount: formatNumber(user), emoji: emojis.xp })} ${t('xp.crew', { amount: formatNumber(crew), emoji: emojis.xp })}`
|
|
9
|
+
: t('xp.user', { amount: formatNumber(user), emoji: emojis.xp });
|
|
10
|
+
//# sourceMappingURL=utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/xp/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,SAAS,CAAC;AAE5B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,EAAE,CACzC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE,IAAI,GAAG,KAAK,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAU,EAAE,CACtD,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAAU,EAAE,QAAgB,CAAC,EAAU,EAAE,CACvE,EAAE,GAAG,cAAc,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,eAAe,CAAC,EAAE,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;AAE1E,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,CAAmB,EAAE,EAAE,CAC1D,IAAI;IACF,CAAC,CAAC,GAAG,CAAC,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,EAAE;IACvI,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,EAAE,EAAE,CAAC,CAAC"}
|
package/locales/fr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/utils-type",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR utils-type",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -11,8 +11,9 @@
|
|
|
11
11
|
"test:ci": "vitest run"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
14
|
+
"@opfr/emojis": "0.x",
|
|
15
|
+
"@opfr/utils-lang": "0.x",
|
|
16
|
+
"i18next": "23.x"
|
|
16
17
|
},
|
|
17
18
|
"main": "dist/index.umd.js",
|
|
18
19
|
"module": "dist/index.es.js",
|