@agentlang/lstudio 0.5.7 → 0.5.8
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/assets/_commonjs-dynamic-modules-BpilXLfW-DfYEAvWy.js +1 -0
- package/assets/{_commonjs-dynamic-modules-D244begT.js → _commonjs-dynamic-modules-CBoS8n4P.js} +1 -1
- package/assets/example_app.png +0 -0
- package/assets/index-BJBOx-Z---hbiLl7B.js +5 -0
- package/assets/{index-QhSmQuQt.js → index-BLPvWbNs.js} +1 -1
- package/assets/{index-ruSRuF6L-BjzIBLlQ.js → index-BdO96dMW-BjEBMMER.js} +5 -5
- package/assets/index-BeE6X42x.js +1 -0
- package/assets/index-Bg7mjqf1.js +1 -0
- package/assets/{index-DzXvkWz5.js → index-BitrXVkV.js} +1 -1
- package/assets/index-BqmQ6R7D-Cvh6Y-cG.js +1 -0
- package/assets/{index-BvJIpPZM.js → index-C4ZJ2fWH.js} +1 -1
- package/assets/index-CTxlCoxU.js +1 -0
- package/assets/index-ChvoNxcO.js +5 -0
- package/assets/index-CtaoM3Uk.css +1 -0
- package/assets/{index-D9hvpHrT-D460pOJZ.js → index-DCVpGHYR-DncY2IUl.js} +7 -7
- package/assets/index-DTNuphFO-Bf5Ad1xs.js +17 -0
- package/assets/{index-DuUQBJXO-gNsOEp1C.js → index-DYmn2gQ6-CnjFa625.js} +1 -1
- package/assets/index-MQ64-2HE-2GyteIUG.js +6 -0
- package/assets/{index-Bxvbin5N.js → index-uGY2TZXj.js} +10471 -1897
- package/assets/index.browser-BHPvGrwi-6Mh8eUw-.js +1 -0
- package/assets/index.browser-LD9_MBUR.js +6 -0
- package/assets/loadCognitoIdentity-CbXsi3Qd.js +1 -0
- package/assets/loadSts-DomLYfvn.js +1 -0
- package/assets/{normalizeProvider-Cd9_AiS_.js → normalizeProvider-CtDY37Q6.js} +1 -1
- package/assets/replService-CbuM5xLC.js +1 -0
- package/assets/resolveDefaultsModeConfig-ogrP3dYF.js +15 -0
- package/assets/{winston-Dk1WXlDf--OwDrr6q.js → winston-BeL9Vq-B-C8Yb-h9y.js} +25 -25
- package/assets/winston-Bz1F2xmd-D4C41xs-.js +1 -0
- package/assets/{winston-BWsrMlta.js → winston-CnYg22C6.js} +2 -2
- package/assets/{winston-BvOMKj10.js → winston-DnkiK_Cl.js} +1 -1
- package/index.html +9 -7
- package/package.json +1 -1
- package/assets/AwsJson1_1Protocol-BPKAibNb.js +0 -1
- package/assets/AwsQueryProtocol-gcsdfhfo.js +0 -1
- package/assets/XmlShapeDeserializer-yfMUWnPw.js +0 -1
- package/assets/_commonjs-dynamic-modules-B90KZyeo-MqqgM5Sj.js +0 -1
- package/assets/_commonjsHelpers-B4e78b8K-W3E8ocG7.js +0 -1
- package/assets/aws-BDH7ihg3.js +0 -1
- package/assets/documentFetcher-DXduTBqD-jqdP0czN.js +0 -67
- package/assets/documentFetcher-Ds-FwFaK.js +0 -8
- package/assets/index-BWkXARMt.js +0 -1
- package/assets/index-CDKpgEyj-tyrSWl01.js +0 -8753
- package/assets/index-CZHYN75I.css +0 -1
- package/assets/index-Cv6PsiG7.js +0 -1
- package/assets/index-DGSGqHDe.js +0 -1
- package/assets/index-DRgW1--O-Be3NpfgF.js +0 -17
- package/assets/index-Dk98TczE-BtSqF03o.js +0 -1
- package/assets/index-_duzuPdC.js +0 -15
- package/assets/index.browser-DC-BI9vG.js +0 -5
- package/assets/index.browser-yI_W1hK0-C1Oinehc.js +0 -1
- package/assets/loadCognitoIdentity-C6X581JO.js +0 -1
- package/assets/loadSts-BLVzhgX4.js +0 -1
- package/assets/noAuth-Cp7LDRaC.js +0 -1
- package/assets/pdf-parse.es-Bg6uvNNe-3L3fe-Mc.js +0 -26
- package/assets/pdf-parse.es-CO6QlkPs.js +0 -26
- package/assets/replService-CPKXCVUs.js +0 -1
- package/assets/sdk-stream-mixin.browser-Dycc9CbH.js +0 -2
- package/assets/winston-CnOlwptw-BXt6VwZK.js +0 -1
- /package/assets/{index-BTpRe6xv-w-5JgxLH.js → index-Cd6-wDh7-w-5JgxLH.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function o(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}export{o as r};
|
package/assets/{_commonjs-dynamic-modules-D244begT.js → _commonjs-dynamic-modules-CBoS8n4P.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
var C={},B;function N(){if(B)return C;B=1,C.byteLength=d,C.toByteArray=y,C.fromByteArray=w;for(var n=[],a=[],A=typeof Uint8Array<"u"?Uint8Array:Array,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=x.length;i<c;++i)n[i]=x[i],a[x.charCodeAt(i)]=i;a[45]=62,a[95]=63;function t(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=r.indexOf("=");o===-1&&(o=e);var f=o===e?0:4-o%4;return[o,f]}function d(r){var e=t(r),o=e[0],f=e[1];return(o+f)*3/4-f}function l(r,e,o){return(e+o)*3/4-o}function y(r){var e,o=t(r),f=o[0],p=o[1],v=new A(l(r,f,p)),u=0,g=p>0?f-4:f,F;for(F=0;F<g;F+=4)e=a[r.charCodeAt(F)]<<18|a[r.charCodeAt(F+1)]<<12|a[r.charCodeAt(F+2)]<<6|a[r.charCodeAt(F+3)],v[u++]=e>>16&255,v[u++]=e>>8&255,v[u++]=e&255;return p===2&&(e=a[r.charCodeAt(F)]<<2|a[r.charCodeAt(F+1)]>>4,v[u++]=e&255),p===1&&(e=a[r.charCodeAt(F)]<<10|a[r.charCodeAt(F+1)]<<4|a[r.charCodeAt(F+2)]>>2,v[u++]=e>>8&255,v[u++]=e&255),v}function h(r){return n[r>>18&63]+n[r>>12&63]+n[r>>6&63]+n[r&63]}function s(r,e,o){for(var f,p=[],v=e;v<o;v+=3)f=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(h(f));return p.join("")}function w(r){for(var e,o=r.length,f=o%3,p=[],v=16383,u=0,g=o-f;u<g;u+=v)p.push(s(r,u,u+v>g?g:u+v));return f===1?(e=r[o-1],p.push(n[e>>2]+n[e<<4&63]+"==")):f===2&&(e=(r[o-2]<<8)+r[o-1],p.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),p.join("")}return C}var M={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var q;function k(){return q||(q=1,M.read=function(n,a,A,x,i){var c,t,d=i*8-x-1,l=(1<<d)-1,y=l>>1,h=-7,s=A?i-1:0,w=A?-1:1,r=n[a+s];for(s+=w,c=r&(1<<-h)-1,r>>=-h,h+=d;h>0;c=c*256+n[a+s],s+=w,h-=8);for(t=c&(1<<-h)-1,c>>=-h,h+=x;h>0;t=t*256+n[a+s],s+=w,h-=8);if(c===0)c=1-y;else{if(c===l)return t?NaN:(r?-1:1)*(1/0);t=t+Math.pow(2,x),c=c-y}return(r?-1:1)*t*Math.pow(2,c-x)},M.write=function(n,a,A,x,i,c){var t,d,l,y=c*8-i-1,h=(1<<y)-1,s=h>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,r=x?0:c-1,e=x?1:-1,o=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(d=isNaN(a)?1:0,t=h):(t=Math.floor(Math.log(a)/Math.LN2),a*(l=Math.pow(2,-t))<1&&(t--,l*=2),t+s>=1?a+=w/l:a+=w*Math.pow(2,1-s),a*l>=2&&(t++,l/=2),t+s>=h?(d=0,t=h):t+s>=1?(d=(a*l-1)*Math.pow(2,i),t=t+s):(d=a*Math.pow(2,s-1)*Math.pow(2,i),t=0));i>=8;n[A+r]=d&255,r+=e,d/=256,i-=8);for(t=t<<i|d,y+=i;y>0;n[A+r]=t&255,r+=e,t/=256,y-=8);n[A+r-e]|=o*128}),M}function I(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}export{
|
|
1
|
+
var C={},B;function N(){if(B)return C;B=1,C.byteLength=d,C.toByteArray=y,C.fromByteArray=w;for(var n=[],a=[],A=typeof Uint8Array<"u"?Uint8Array:Array,x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,c=x.length;i<c;++i)n[i]=x[i],a[x.charCodeAt(i)]=i;a[45]=62,a[95]=63;function t(r){var e=r.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var o=r.indexOf("=");o===-1&&(o=e);var f=o===e?0:4-o%4;return[o,f]}function d(r){var e=t(r),o=e[0],f=e[1];return(o+f)*3/4-f}function l(r,e,o){return(e+o)*3/4-o}function y(r){var e,o=t(r),f=o[0],p=o[1],v=new A(l(r,f,p)),u=0,g=p>0?f-4:f,F;for(F=0;F<g;F+=4)e=a[r.charCodeAt(F)]<<18|a[r.charCodeAt(F+1)]<<12|a[r.charCodeAt(F+2)]<<6|a[r.charCodeAt(F+3)],v[u++]=e>>16&255,v[u++]=e>>8&255,v[u++]=e&255;return p===2&&(e=a[r.charCodeAt(F)]<<2|a[r.charCodeAt(F+1)]>>4,v[u++]=e&255),p===1&&(e=a[r.charCodeAt(F)]<<10|a[r.charCodeAt(F+1)]<<4|a[r.charCodeAt(F+2)]>>2,v[u++]=e>>8&255,v[u++]=e&255),v}function h(r){return n[r>>18&63]+n[r>>12&63]+n[r>>6&63]+n[r&63]}function s(r,e,o){for(var f,p=[],v=e;v<o;v+=3)f=(r[v]<<16&16711680)+(r[v+1]<<8&65280)+(r[v+2]&255),p.push(h(f));return p.join("")}function w(r){for(var e,o=r.length,f=o%3,p=[],v=16383,u=0,g=o-f;u<g;u+=v)p.push(s(r,u,u+v>g?g:u+v));return f===1?(e=r[o-1],p.push(n[e>>2]+n[e<<4&63]+"==")):f===2&&(e=(r[o-2]<<8)+r[o-1],p.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),p.join("")}return C}var M={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var q;function k(){return q||(q=1,M.read=function(n,a,A,x,i){var c,t,d=i*8-x-1,l=(1<<d)-1,y=l>>1,h=-7,s=A?i-1:0,w=A?-1:1,r=n[a+s];for(s+=w,c=r&(1<<-h)-1,r>>=-h,h+=d;h>0;c=c*256+n[a+s],s+=w,h-=8);for(t=c&(1<<-h)-1,c>>=-h,h+=x;h>0;t=t*256+n[a+s],s+=w,h-=8);if(c===0)c=1-y;else{if(c===l)return t?NaN:(r?-1:1)*(1/0);t=t+Math.pow(2,x),c=c-y}return(r?-1:1)*t*Math.pow(2,c-x)},M.write=function(n,a,A,x,i,c){var t,d,l,y=c*8-i-1,h=(1<<y)-1,s=h>>1,w=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,r=x?0:c-1,e=x?1:-1,o=a<0||a===0&&1/a<0?1:0;for(a=Math.abs(a),isNaN(a)||a===1/0?(d=isNaN(a)?1:0,t=h):(t=Math.floor(Math.log(a)/Math.LN2),a*(l=Math.pow(2,-t))<1&&(t--,l*=2),t+s>=1?a+=w/l:a+=w*Math.pow(2,1-s),a*l>=2&&(t++,l/=2),t+s>=h?(d=0,t=h):t+s>=1?(d=(a*l-1)*Math.pow(2,i),t=t+s):(d=a*Math.pow(2,s-1)*Math.pow(2,i),t=0));i>=8;n[A+r]=d&255,r+=e,d/=256,i-=8);for(t=t<<i|d,y+=i;y>0;n[A+r]=t&255,r+=e,t/=256,y-=8);n[A+r-e]|=o*128}),M}function I(n){throw new Error('Could not dynamically require "'+n+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}export{N as a,I as c,k as r};
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const p=(o=0)=>e=>`\x1B[${e+o}m`,B=(o=0)=>e=>`\x1B[${38+o};5;${e}m`,y=(o=0)=>(e,t,r)=>`\x1B[${38+o};2;${e};${t};${r}m`,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(l.modifier);const T=Object.keys(l.color),M=Object.keys(l.bgColor);[...T,...M];function w(){const o=new Map;for(const[e,t]of Object.entries(l)){for(const[r,n]of Object.entries(t))l[r]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},t[r]=l[r],o.set(n[0],n[1]);Object.defineProperty(l,e,{value:t,enumerable:!1})}return Object.defineProperty(l,"codes",{value:o,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi=p(),l.color.ansi256=B(),l.color.ansi16m=y(),l.bgColor.ansi=p(10),l.bgColor.ansi256=B(10),l.bgColor.ansi16m=y(10),Object.defineProperties(l,{rgbToAnsi256:{value(e,t,r){return e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5)},enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;r.length===3&&(r=[...r].map(s=>s+s).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:e=>l.rgbToAnsi256(...l.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let t,r,n;if(e>=232)t=((e-232)*10+8)/255,r=t,n=t;else{e-=16;const v=e%36;t=Math.floor(e/36)/5,r=Math.floor(v/6)/5,n=v%6/5}const s=Math.max(t,r,n)*2;if(s===0)return 30;let a=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return s===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>l.ansi256ToAnsi(l.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>l.ansi256ToAnsi(l.hexToAnsi256(e)),enumerable:!1}}),l}const i=w(),O=(()=>{if(navigator.userAgentData){const o=navigator.userAgentData.brands.find(({brand:e})=>e==="Chromium");if(o&&o.version>93)return 3}return/\b(Chrome|Chromium)\//.test(navigator.userAgent)?1:0})(),x=O!==0&&{level:O},P={stdout:x,stderr:x};function k(o,e,t){let r=o.indexOf(e);if(r===-1)return o;const n=e.length;let s=0,a="";do a+=o.slice(s,r)+e+t,s=r+n,r=o.indexOf(e,s);while(r!==-1);return a+=o.slice(s),a}function R(o,e,t,r){let n=0,s="";do{const a=o[r-1]==="\r";s+=o.slice(n,a?r-1:r)+e+(a?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`)+t,n=r+1,r=o.indexOf(`
|
|
4
|
+
`,n)}while(r!==-1);return s+=o.slice(n),s}const{stdout:A,stderr:j}=P,f=Symbol("GENERATOR"),c=Symbol("STYLER"),g=Symbol("IS_EMPTY"),C=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),$=(o,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const t=A?A.level:0;o.level=e.level===void 0?t:e.level},S=o=>{const e=(...t)=>t.join(" ");return $(e,o),Object.setPrototypeOf(e,b.prototype),e};function b(o){return S(o)}Object.setPrototypeOf(b.prototype,Function.prototype);for(const[o,e]of Object.entries(i))u[o]={get(){const t=h(this,m(e.open,e.close,this[c]),this[g]);return Object.defineProperty(this,o,{value:t}),t}};u.visible={get(){const o=h(this,this[c],!0);return Object.defineProperty(this,"visible",{value:o}),o}};const d=(o,e,t,...r)=>o==="rgb"?e==="ansi16m"?i[t].ansi16m(...r):e==="ansi256"?i[t].ansi256(i.rgbToAnsi256(...r)):i[t].ansi(i.rgbToAnsi(...r)):o==="hex"?d("rgb",e,t,...i.hexToRgb(...r)):i[t][o](...r),E=["rgb","hex","ansi256"];for(const o of E){u[o]={get(){const{level:t}=this;return function(...r){const n=m(d(o,C[t],"color",...r),i.color.close,this[c]);return h(this,n,this[g])}}};const e="bg"+o[0].toUpperCase()+o.slice(1);u[e]={get(){const{level:t}=this;return function(...r){const n=m(d(o,C[t],"bgColor",...r),i.bgColor.close,this[c]);return h(this,n,this[g])}}}}const G=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this[f].level},set(o){this[f].level=o}}}),m=(o,e,t)=>{let r,n;return t===void 0?(r=o,n=e):(r=t.openAll+o,n=e+t.closeAll),{open:o,close:e,openAll:r,closeAll:n,parent:t}},h=(o,e,t)=>{const r=(...n)=>N(r,n.length===1?""+n[0]:n.join(" "));return Object.setPrototypeOf(r,G),r[f]=o,r[c]=e,r[g]=t,r},N=(o,e)=>{if(o.level<=0||!e)return o[g]?"":e;let t=o[c];if(t===void 0)return e;const{openAll:r,closeAll:n}=t;if(e.includes("\x1B"))for(;t!==void 0;)e=k(e,t.close,t.open),t=t.parent;const s=e.indexOf(`
|
|
5
|
+
`);return s!==-1&&(e=R(e,n,r,s)),r+e+n};Object.defineProperties(b.prototype,u);const I=b();b({level:j?j.level:0});export{M as backgroundColorNames,M as backgroundColors,I as default,T as foregroundColorNames,T as foregroundColors,A as supportsColor,j as supportsColorStderr};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Tn,g as En}from"./_commonjsHelpers-D6-XlEtG.js";import{
|
|
1
|
+
import{a as Tn,g as En}from"./_commonjsHelpers-D6-XlEtG.js";import{r as Nn,a as In,b as An,c as Fn}from"./winston-CnYg22C6.js";import Ar from"fs";import Rn from"os";import Fr from"path";import Rr from"util";import Ln from"zlib";import{c as st}from"./_commonjs-dynamic-modules-CBoS8n4P.js";import Wn from"stream";import Un from"crypto";function Pn(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(n,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Wt={exports:{}},kr;function Cn(){return kr||(kr=1,(function(e,t){(function(r){e.exports=r()})(function(){return(function r(n,s,u){function g(L,j){if(!s[L]){if(!n[L]){var ee=typeof st=="function"&&st;if(!j&&ee)return ee(L,!0);if(T)return T(L,!0);throw new Error("Cannot find module '"+L+"'")}j=s[L]={exports:{}},n[L][0].call(j.exports,function(k){var Q=n[L][1][k];return g(Q||k)},j,j.exports,r,n,s,u)}return s[L].exports}for(var T=typeof st=="function"&&st,F=0;F<u.length;F++)g(u[F]);return g})({1:[function(r,n,s){(function(u,g,T,F,L,j,ee,k,Q){var M=r("crypto");function _(c,w){w=v(c,w);var o;return(o=w.algorithm!=="passthrough"?M.createHash(w.algorithm):new D).write===void 0&&(o.write=o.update,o.end=o.update),b(w,o).dispatch(c),o.update||o.end(""),o.digest?o.digest(w.encoding==="buffer"?void 0:w.encoding):(c=o.read(),w.encoding!=="buffer"?c.toString(w.encoding):c)}(s=n.exports=_).sha1=function(c){return _(c)},s.keys=function(c){return _(c,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},s.MD5=function(c){return _(c,{algorithm:"md5",encoding:"hex"})},s.keysMD5=function(c){return _(c,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var d=M.getHashes?M.getHashes().slice():["sha1","md5"],m=(d.push("passthrough"),["buffer","hex","binary","base64"]);function v(c,w){var o={};if(o.algorithm=(w=w||{}).algorithm||"sha1",o.encoding=w.encoding||"hex",o.excludeValues=!!w.excludeValues,o.algorithm=o.algorithm.toLowerCase(),o.encoding=o.encoding.toLowerCase(),o.ignoreUnknown=w.ignoreUnknown===!0,o.respectType=w.respectType!==!1,o.respectFunctionNames=w.respectFunctionNames!==!1,o.respectFunctionProperties=w.respectFunctionProperties!==!1,o.unorderedArrays=w.unorderedArrays===!0,o.unorderedSets=w.unorderedSets!==!1,o.unorderedObjects=w.unorderedObjects!==!1,o.replacer=w.replacer||void 0,o.excludeKeys=w.excludeKeys||void 0,c===void 0)throw new Error("Object argument required.");for(var f=0;f<d.length;++f)d[f].toLowerCase()===o.algorithm.toLowerCase()&&(o.algorithm=d[f]);if(d.indexOf(o.algorithm)===-1)throw new Error('Algorithm "'+o.algorithm+'" not supported. supported values: '+d.join(", "));if(m.indexOf(o.encoding)===-1&&o.algorithm!=="passthrough")throw new Error('Encoding "'+o.encoding+'" not supported. supported values: '+m.join(", "));return o}function S(c){if(typeof c=="function")return/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(c))!=null}function b(c,w,o){o=o||[];function f(a){return w.update?w.update(a,"utf8"):w.write(a,"utf8")}return{dispatch:function(a){return this["_"+((a=c.replacer?c.replacer(a):a)===null?"null":typeof a)](a)},_object:function(a){var y,p=Object.prototype.toString.call(a),P=/\[object (.*)\]/i.exec(p);if(P=(P=P?P[1]:"unknown:["+p+"]").toLowerCase(),0<=(p=o.indexOf(a)))return this.dispatch("[CIRCULAR:"+p+"]");if(o.push(a),T!==void 0&&T.isBuffer&&T.isBuffer(a))return f("buffer:"),f(a);if(P==="object"||P==="function"||P==="asyncfunction")return p=Object.keys(a),c.unorderedObjects&&(p=p.sort()),c.respectType===!1||S(a)||p.splice(0,0,"prototype","__proto__","constructor"),c.excludeKeys&&(p=p.filter(function(U){return!c.excludeKeys(U)})),f("object:"+p.length+":"),y=this,p.forEach(function(U){y.dispatch(U),f(":"),c.excludeValues||y.dispatch(a[U]),f(",")});if(!this["_"+P]){if(c.ignoreUnknown)return f("["+P+"]");throw new Error('Unknown object type "'+P+'"')}this["_"+P](a)},_array:function(a,U){U=U!==void 0?U:c.unorderedArrays!==!1;var p=this;if(f("array:"+a.length+":"),!U||a.length<=1)return a.forEach(function(C){return p.dispatch(C)});var P=[],U=a.map(function(C){var R=new D,B=o.slice();return b(c,R,B).dispatch(C),P=P.concat(B.slice(o.length)),R.read().toString()});return o=o.concat(P),U.sort(),this._array(U,!1)},_date:function(a){return f("date:"+a.toJSON())},_symbol:function(a){return f("symbol:"+a.toString())},_error:function(a){return f("error:"+a.toString())},_boolean:function(a){return f("bool:"+a.toString())},_string:function(a){f("string:"+a.length+":"),f(a.toString())},_function:function(a){f("fn:"),S(a)?this.dispatch("[native]"):this.dispatch(a.toString()),c.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(a.name)),c.respectFunctionProperties&&this._object(a)},_number:function(a){return f("number:"+a.toString())},_xml:function(a){return f("xml:"+a.toString())},_null:function(){return f("Null")},_undefined:function(){return f("Undefined")},_regexp:function(a){return f("regex:"+a.toString())},_uint8array:function(a){return f("uint8array:"),this.dispatch(Array.prototype.slice.call(a))},_uint8clampedarray:function(a){return f("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(a))},_int8array:function(a){return f("int8array:"),this.dispatch(Array.prototype.slice.call(a))},_uint16array:function(a){return f("uint16array:"),this.dispatch(Array.prototype.slice.call(a))},_int16array:function(a){return f("int16array:"),this.dispatch(Array.prototype.slice.call(a))},_uint32array:function(a){return f("uint32array:"),this.dispatch(Array.prototype.slice.call(a))},_int32array:function(a){return f("int32array:"),this.dispatch(Array.prototype.slice.call(a))},_float32array:function(a){return f("float32array:"),this.dispatch(Array.prototype.slice.call(a))},_float64array:function(a){return f("float64array:"),this.dispatch(Array.prototype.slice.call(a))},_arraybuffer:function(a){return f("arraybuffer:"),this.dispatch(new Uint8Array(a))},_url:function(a){return f("url:"+a.toString())},_map:function(a){return f("map:"),a=Array.from(a),this._array(a,c.unorderedSets!==!1)},_set:function(a){return f("set:"),a=Array.from(a),this._array(a,c.unorderedSets!==!1)},_file:function(a){return f("file:"),this.dispatch([a.name,a.size,a.type,a.lastModfied])},_blob:function(){if(c.ignoreUnknown)return f("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
2
2
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
3
3
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
4
4
|
`)},_domwindow:function(){return f("domwindow")},_bigint:function(a){return f("bigint:"+a.toString())},_process:function(){return f("process")},_timer:function(){return f("timer")},_pipe:function(){return f("pipe")},_tcp:function(){return f("tcp")},_udp:function(){return f("udp")},_tty:function(){return f("tty")},_statwatcher:function(){return f("statwatcher")},_securecontext:function(){return f("securecontext")},_connection:function(){return f("connection")},_zlib:function(){return f("zlib")},_context:function(){return f("context")},_nodescript:function(){return f("nodescript")},_httpparser:function(){return f("httpparser")},_dataview:function(){return f("dataview")},_signal:function(){return f("signal")},_fsevent:function(){return f("fsevent")},_tlswrap:function(){return f("tlswrap")}}}function D(){return{buf:"",write:function(c){this.buf+=c},end:function(c){this.buf+=c},read:function(){return this.buf}}}s.writeToStream=function(c,w,o){return o===void 0&&(o=w,w={}),b(w=v(c,w),o).dispatch(c)}}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(r,n,s){(function(u,g,T,F,L,j,ee,k,Q){(function(M){var _=typeof Uint8Array<"u"?Uint8Array:Array,d=43,m=47,v=48,S=97,b=65,D=45,c=95;function w(o){return o=o.charCodeAt(0),o===d||o===D?62:o===m||o===c?63:o<v?-1:o<v+10?o-v+26+26:o<b+26?o-b:o<S+26?o-S+26:void 0}M.toByteArray=function(o){var f,a;if(0<o.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var y=o.length,y=o.charAt(y-2)==="="?2:o.charAt(y-1)==="="?1:0,p=new _(3*o.length/4-y),P=0<y?o.length-4:o.length,U=0;function C(R){p[U++]=R}for(f=0;f<P;f+=4,0)C((16711680&(a=w(o.charAt(f))<<18|w(o.charAt(f+1))<<12|w(o.charAt(f+2))<<6|w(o.charAt(f+3))))>>16),C((65280&a)>>8),C(255&a);return y==2?C(255&(a=w(o.charAt(f))<<2|w(o.charAt(f+1))>>4)):y==1&&(C((a=w(o.charAt(f))<<10|w(o.charAt(f+1))<<4|w(o.charAt(f+2))>>2)>>8&255),C(255&a)),p},M.fromByteArray=function(o){var f,a,y,p,P=o.length%3,U="";function C(R){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(R)}for(f=0,y=o.length-P;f<y;f+=3)a=(o[f]<<16)+(o[f+1]<<8)+o[f+2],U+=C((p=a)>>18&63)+C(p>>12&63)+C(p>>6&63)+C(63&p);switch(P){case 1:U=(U+=C((a=o[o.length-1])>>2))+C(a<<4&63)+"==";break;case 2:U=(U=(U+=C((a=(o[o.length-2]<<8)+o[o.length-1])>>10))+C(a>>4&63))+C(a<<2&63)+"="}return U}})(s===void 0?this.base64js={}:s)}).call(this,r("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},r("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(r,n,s){(function(u,g,d,F,L,j,ee,k,Q){var M=r("base64-js"),_=r("ieee754");function d(i,l,h){if(!(this instanceof d))return new d(i,l,h);var O,x,I,$,se=typeof i;if(l==="base64"&&se=="string")for(i=($=i).trim?$.trim():$.replace(/^\s+|\s+$/g,"");i.length%4!=0;)i+="=";if(se=="number")O=V(i);else if(se=="string")O=d.byteLength(i,l);else{if(se!="object")throw new Error("First argument needs to be a number, array or string.");O=V(i.length)}if(d._useTypedArrays?x=d._augment(new Uint8Array(O)):((x=this).length=O,x._isBuffer=!0),d._useTypedArrays&&typeof i.byteLength=="number")x._set(i);else if(K($=i)||d.isBuffer($)||$&&typeof $=="object"&&typeof $.length=="number")for(I=0;I<O;I++)d.isBuffer(i)?x[I]=i.readUInt8(I):x[I]=i[I];else if(se=="string")x.write(i,0,l);else if(se=="number"&&!d._useTypedArrays&&!h)for(I=0;I<O;I++)x[I]=0;return x}function m(i,l,h,O){return d._charsWritten=ye((function(x){for(var I=[],$=0;$<x.length;$++)I.push(255&x.charCodeAt($));return I})(l),i,h,O)}function v(i,l,h,O){return d._charsWritten=ye((function(x){for(var I,$,se=[],ue=0;ue<x.length;ue++)$=x.charCodeAt(ue),I=$>>8,$=$%256,se.push($),se.push(I);return se})(l),i,h,O)}function S(i,l,h){var O="";h=Math.min(i.length,h);for(var x=l;x<h;x++)O+=String.fromCharCode(i[x]);return O}function b(i,l,h,I){I||(E(typeof h=="boolean","missing or invalid endian"),E(l!=null,"missing offset"),E(l+1<i.length,"Trying to read beyond buffer length"));var x,I=i.length;if(!(I<=l))return h?(x=i[l],l+1<I&&(x|=i[l+1]<<8)):(x=i[l]<<8,l+1<I&&(x|=i[l+1])),x}function D(i,l,h,I){I||(E(typeof h=="boolean","missing or invalid endian"),E(l!=null,"missing offset"),E(l+3<i.length,"Trying to read beyond buffer length"));var x,I=i.length;if(!(I<=l))return h?(l+2<I&&(x=i[l+2]<<16),l+1<I&&(x|=i[l+1]<<8),x|=i[l],l+3<I&&(x+=i[l+3]<<24>>>0)):(l+1<I&&(x=i[l+1]<<16),l+2<I&&(x|=i[l+2]<<8),l+3<I&&(x|=i[l+3]),x+=i[l]<<24>>>0),x}function c(i,l,h,O){if(O||(E(typeof h=="boolean","missing or invalid endian"),E(l!=null,"missing offset"),E(l+1<i.length,"Trying to read beyond buffer length")),!(i.length<=l))return O=b(i,l,h,!0),32768&O?-1*(65535-O+1):O}function w(i,l,h,O){if(O||(E(typeof h=="boolean","missing or invalid endian"),E(l!=null,"missing offset"),E(l+3<i.length,"Trying to read beyond buffer length")),!(i.length<=l))return O=D(i,l,h,!0),2147483648&O?-1*(4294967295-O+1):O}function o(i,l,h,O){return O||(E(typeof h=="boolean","missing or invalid endian"),E(l+3<i.length,"Trying to read beyond buffer length")),_.read(i,l,h,23,4)}function f(i,l,h,O){return O||(E(typeof h=="boolean","missing or invalid endian"),E(l+7<i.length,"Trying to read beyond buffer length")),_.read(i,l,h,52,8)}function a(i,l,h,O,x){if(x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+1<i.length,"trying to write beyond buffer length"),Rt(l,65535)),x=i.length,!(x<=h))for(var I=0,$=Math.min(x-h,2);I<$;I++)i[h+I]=(l&255<<8*(O?I:1-I))>>>8*(O?I:1-I)}function y(i,l,h,O,x){if(x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+3<i.length,"trying to write beyond buffer length"),Rt(l,4294967295)),x=i.length,!(x<=h))for(var I=0,$=Math.min(x-h,4);I<$;I++)i[h+I]=l>>>8*(O?I:3-I)&255}function p(i,l,h,O,x){x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+1<i.length,"Trying to write beyond buffer length"),Lt(l,32767,-32768)),i.length<=h||a(i,0<=l?l:65535+l+1,h,O,x)}function P(i,l,h,O,x){x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+3<i.length,"Trying to write beyond buffer length"),Lt(l,2147483647,-2147483648)),i.length<=h||y(i,0<=l?l:4294967295+l+1,h,O,x)}function U(i,l,h,O,x){x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+3<i.length,"Trying to write beyond buffer length"),br(l,34028234663852886e22,-34028234663852886e22)),i.length<=h||_.write(i,l,h,O,23,4)}function C(i,l,h,O,x){x||(E(l!=null,"missing value"),E(typeof O=="boolean","missing or invalid endian"),E(h!=null,"missing offset"),E(h+7<i.length,"Trying to write beyond buffer length"),br(l,17976931348623157e292,-17976931348623157e292)),i.length<=h||_.write(i,l,h,O,52,8)}s.Buffer=d,s.SlowBuffer=d,s.INSPECT_MAX_BYTES=50,d.poolSize=8192,d._useTypedArrays=(function(){try{var i=new ArrayBuffer(0),l=new Uint8Array(i);return l.foo=function(){return 42},l.foo()===42&&typeof l.subarray=="function"}catch{return!1}})(),d.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},d.isBuffer=function(i){return!(i==null||!i._isBuffer)},d.byteLength=function(i,l){var h;switch(i+="",l||"utf8"){case"hex":h=i.length/2;break;case"utf8":case"utf-8":h=de(i).length;break;case"ascii":case"binary":case"raw":h=i.length;break;case"base64":h=Te(i).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":h=2*i.length;break;default:throw new Error("Unknown encoding")}return h},d.concat=function(i,l){if(E(K(i),`Usage: Buffer.concat(list, [totalLength])
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{N as Nr,_ as Or}from"./index-BqmQ6R7D-Cvh6Y-cG.js";import{v as Lr,t as Ar,N as Fr,a as Ir}from"./winston-BeL9Vq-B-C8Yb-h9y.js";import In from"fs";import Cr from"os";import Cn from"path";import Un from"util";import Ur from"zlib";import{r as st}from"./_commonjs-dynamic-modules-BpilXLfW-DfYEAvWy.js";import Rr from"stream";import{Z as Ut}from"./index-MQ64-2HE-2GyteIUG.js";import{Y as Wr}from"./index-6mKfgpcs-DsgiI2lM.js";import jr from"crypto";import"http";import"https";function Pr(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const s in r)if(s!=="default"&&!(s in e)){const u=Object.getOwnPropertyDescriptor(r,s);u&&Object.defineProperty(e,s,u.get?u:{enumerable:!0,get:()=>r[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Dn={exports:{}},kn;function Hr(){return kn||(kn=1,(function(e,t){(function(n){e.exports=n()})(function(){return(function n(r,s,u){function y(C,P){if(!s[C]){if(!r[C]){var ee=typeof st=="function"&&st;if(!P&&ee)return ee(C,!0);if(E)return E(C,!0);throw new Error("Cannot find module '"+C+"'")}P=s[C]={exports:{}},r[C][0].call(P.exports,function(M){var Q=r[C][1][M];return y(Q||M)},P,P.exports,n,r,s,u)}return s[C].exports}for(var E=typeof st=="function"&&st,F=0;F<u.length;F++)y(u[F]);return y})({1:[function(n,r,s){(function(u,y,E,F,C,P,ee,M,Q){var k=n("crypto");function g(d,_){_=v(d,_);var o;return(o=_.algorithm!=="passthrough"?k.createHash(_.algorithm):new D).write===void 0&&(o.write=o.update,o.end=o.update),b(_,o).dispatch(d),o.update||o.end(""),o.digest?o.digest(_.encoding==="buffer"?void 0:_.encoding):(d=o.read(),_.encoding!=="buffer"?d.toString(_.encoding):d)}(s=r.exports=g).sha1=function(d){return g(d)},s.keys=function(d){return g(d,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},s.MD5=function(d){return g(d,{algorithm:"md5",encoding:"hex"})},s.keysMD5=function(d){return g(d,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var c=k.getHashes?k.getHashes().slice():["sha1","md5"],p=(c.push("passthrough"),["buffer","hex","binary","base64"]);function v(d,_){var o={};if(o.algorithm=(_=_||{}).algorithm||"sha1",o.encoding=_.encoding||"hex",o.excludeValues=!!_.excludeValues,o.algorithm=o.algorithm.toLowerCase(),o.encoding=o.encoding.toLowerCase(),o.ignoreUnknown=_.ignoreUnknown===!0,o.respectType=_.respectType!==!1,o.respectFunctionNames=_.respectFunctionNames!==!1,o.respectFunctionProperties=_.respectFunctionProperties!==!1,o.unorderedArrays=_.unorderedArrays===!0,o.unorderedSets=_.unorderedSets!==!1,o.unorderedObjects=_.unorderedObjects!==!1,o.replacer=_.replacer||void 0,o.excludeKeys=_.excludeKeys||void 0,d===void 0)throw new Error("Object argument required.");for(var f=0;f<c.length;++f)c[f].toLowerCase()===o.algorithm.toLowerCase()&&(o.algorithm=c[f]);if(c.indexOf(o.algorithm)===-1)throw new Error('Algorithm "'+o.algorithm+'" not supported. supported values: '+c.join(", "));if(p.indexOf(o.encoding)===-1&&o.algorithm!=="passthrough")throw new Error('Encoding "'+o.encoding+'" not supported. supported values: '+p.join(", "));return o}function S(d){if(typeof d=="function")return/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(d))!=null}function b(d,_,o){o=o||[];function f(a){return _.update?_.update(a,"utf8"):_.write(a,"utf8")}return{dispatch:function(a){return this["_"+((a=d.replacer?d.replacer(a):a)===null?"null":typeof a)](a)},_object:function(a){var m,w=Object.prototype.toString.call(a),W=/\[object (.*)\]/i.exec(w);if(W=(W=W?W[1]:"unknown:["+w+"]").toLowerCase(),0<=(w=o.indexOf(a)))return this.dispatch("[CIRCULAR:"+w+"]");if(o.push(a),E!==void 0&&E.isBuffer&&E.isBuffer(a))return f("buffer:"),f(a);if(W==="object"||W==="function"||W==="asyncfunction")return w=Object.keys(a),d.unorderedObjects&&(w=w.sort()),d.respectType===!1||S(a)||w.splice(0,0,"prototype","__proto__","constructor"),d.excludeKeys&&(w=w.filter(function(R){return!d.excludeKeys(R)})),f("object:"+w.length+":"),m=this,w.forEach(function(R){m.dispatch(R),f(":"),d.excludeValues||m.dispatch(a[R]),f(",")});if(!this["_"+W]){if(d.ignoreUnknown)return f("["+W+"]");throw new Error('Unknown object type "'+W+'"')}this["_"+W](a)},_array:function(a,R){R=R!==void 0?R:d.unorderedArrays!==!1;var w=this;if(f("array:"+a.length+":"),!R||a.length<=1)return a.forEach(function(j){return w.dispatch(j)});var W=[],R=a.map(function(j){var I=new D,B=o.slice();return b(d,I,B).dispatch(j),W=W.concat(B.slice(o.length)),I.read().toString()});return o=o.concat(W),R.sort(),this._array(R,!1)},_date:function(a){return f("date:"+a.toJSON())},_symbol:function(a){return f("symbol:"+a.toString())},_error:function(a){return f("error:"+a.toString())},_boolean:function(a){return f("bool:"+a.toString())},_string:function(a){f("string:"+a.length+":"),f(a.toString())},_function:function(a){f("fn:"),S(a)?this.dispatch("[native]"):this.dispatch(a.toString()),d.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(a.name)),d.respectFunctionProperties&&this._object(a)},_number:function(a){return f("number:"+a.toString())},_xml:function(a){return f("xml:"+a.toString())},_null:function(){return f("Null")},_undefined:function(){return f("Undefined")},_regexp:function(a){return f("regex:"+a.toString())},_uint8array:function(a){return f("uint8array:"),this.dispatch(Array.prototype.slice.call(a))},_uint8clampedarray:function(a){return f("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(a))},_int8array:function(a){return f("int8array:"),this.dispatch(Array.prototype.slice.call(a))},_uint16array:function(a){return f("uint16array:"),this.dispatch(Array.prototype.slice.call(a))},_int16array:function(a){return f("int16array:"),this.dispatch(Array.prototype.slice.call(a))},_uint32array:function(a){return f("uint32array:"),this.dispatch(Array.prototype.slice.call(a))},_int32array:function(a){return f("int32array:"),this.dispatch(Array.prototype.slice.call(a))},_float32array:function(a){return f("float32array:"),this.dispatch(Array.prototype.slice.call(a))},_float64array:function(a){return f("float64array:"),this.dispatch(Array.prototype.slice.call(a))},_arraybuffer:function(a){return f("arraybuffer:"),this.dispatch(new Uint8Array(a))},_url:function(a){return f("url:"+a.toString())},_map:function(a){return f("map:"),a=Array.from(a),this._array(a,d.unorderedSets!==!1)},_set:function(a){return f("set:"),a=Array.from(a),this._array(a,d.unorderedSets!==!1)},_file:function(a){return f("file:"),this.dispatch([a.name,a.size,a.type,a.lastModfied])},_blob:function(){if(d.ignoreUnknown)return f("[blob]");throw Error(`Hashing Blob objects is currently not supported
|
|
2
2
|
(see https://github.com/puleos/object-hash/issues/26)
|
|
3
3
|
Use "options.replacer" or "options.ignoreUnknown"
|
|
4
4
|
`)},_domwindow:function(){return f("domwindow")},_bigint:function(a){return f("bigint:"+a.toString())},_process:function(){return f("process")},_timer:function(){return f("timer")},_pipe:function(){return f("pipe")},_tcp:function(){return f("tcp")},_udp:function(){return f("udp")},_tty:function(){return f("tty")},_statwatcher:function(){return f("statwatcher")},_securecontext:function(){return f("securecontext")},_connection:function(){return f("connection")},_zlib:function(){return f("zlib")},_context:function(){return f("context")},_nodescript:function(){return f("nodescript")},_httpparser:function(){return f("httpparser")},_dataview:function(){return f("dataview")},_signal:function(){return f("signal")},_fsevent:function(){return f("fsevent")},_tlswrap:function(){return f("tlswrap")}}}function D(){return{buf:"",write:function(d){this.buf+=d},end:function(d){this.buf+=d},read:function(){return this.buf}}}s.writeToStream=function(d,_,o){return o===void 0&&(o=_,_={}),b(_=v(d,_),o).dispatch(d)}}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(n,r,s){(function(u,y,E,F,C,P,ee,M,Q){(function(k){var g=typeof Uint8Array<"u"?Uint8Array:Array,c=43,p=47,v=48,S=97,b=65,D=45,d=95;function _(o){return o=o.charCodeAt(0),o===c||o===D?62:o===p||o===d?63:o<v?-1:o<v+10?o-v+26+26:o<b+26?o-b:o<S+26?o-S+26:void 0}k.toByteArray=function(o){var f,a;if(0<o.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var m=o.length,m=o.charAt(m-2)==="="?2:o.charAt(m-1)==="="?1:0,w=new g(3*o.length/4-m),W=0<m?o.length-4:o.length,R=0;function j(I){w[R++]=I}for(f=0;f<W;f+=4,0)j((16711680&(a=_(o.charAt(f))<<18|_(o.charAt(f+1))<<12|_(o.charAt(f+2))<<6|_(o.charAt(f+3))))>>16),j((65280&a)>>8),j(255&a);return m==2?j(255&(a=_(o.charAt(f))<<2|_(o.charAt(f+1))>>4)):m==1&&(j((a=_(o.charAt(f))<<10|_(o.charAt(f+1))<<4|_(o.charAt(f+2))>>2)>>8&255),j(255&a)),w},k.fromByteArray=function(o){var f,a,m,w,W=o.length%3,R="";function j(I){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(I)}for(f=0,m=o.length-W;f<m;f+=3)a=(o[f]<<16)+(o[f+1]<<8)+o[f+2],R+=j((w=a)>>18&63)+j(w>>12&63)+j(w>>6&63)+j(63&w);switch(W){case 1:R=(R+=j((a=o[o.length-1])>>2))+j(a<<4&63)+"==";break;case 2:R=(R=(R+=j((a=(o[o.length-2]<<8)+o[o.length-1])>>10))+j(a>>4&63))+j(a<<2&63)+"="}return R}})(s===void 0?this.base64js={}:s)}).call(this,n("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},n("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(n,r,s){(function(u,y,c,F,C,P,ee,M,Q){var k=n("base64-js"),g=n("ieee754");function c(i,l,h){if(!(this instanceof c))return new c(i,l,h);var T,Y,L,$,se=typeof i;if(l==="base64"&&se=="string")for(i=($=i).trim?$.trim():$.replace(/^\s+|\s+$/g,"");i.length%4!=0;)i+="=";if(se=="number")T=z(i);else if(se=="string")T=c.byteLength(i,l);else{if(se!="object")throw new Error("First argument needs to be a number, array or string.");T=z(i.length)}if(c._useTypedArrays?Y=c._augment(new Uint8Array(T)):((Y=this).length=T,Y._isBuffer=!0),c._useTypedArrays&&typeof i.byteLength=="number")Y._set(i);else if(X($=i)||c.isBuffer($)||$&&typeof $=="object"&&typeof $.length=="number")for(L=0;L<T;L++)c.isBuffer(i)?Y[L]=i.readUInt8(L):Y[L]=i[L];else if(se=="string")Y.write(i,0,l);else if(se=="number"&&!c._useTypedArrays&&!h)for(L=0;L<T;L++)Y[L]=0;return Y}function p(i,l,h,T){return c._charsWritten=ge((function(Y){for(var L=[],$=0;$<Y.length;$++)L.push(255&Y.charCodeAt($));return L})(l),i,h,T)}function v(i,l,h,T){return c._charsWritten=ge((function(Y){for(var L,$,se=[],ue=0;ue<Y.length;ue++)$=Y.charCodeAt(ue),L=$>>8,$=$%256,se.push($),se.push(L);return se})(l),i,h,T)}function S(i,l,h){var T="";h=Math.min(i.length,h);for(var Y=l;Y<h;Y++)T+=String.fromCharCode(i[Y]);return T}function b(i,l,h,L){L||(N(typeof h=="boolean","missing or invalid endian"),N(l!=null,"missing offset"),N(l+1<i.length,"Trying to read beyond buffer length"));var Y,L=i.length;if(!(L<=l))return h?(Y=i[l],l+1<L&&(Y|=i[l+1]<<8)):(Y=i[l]<<8,l+1<L&&(Y|=i[l+1])),Y}function D(i,l,h,L){L||(N(typeof h=="boolean","missing or invalid endian"),N(l!=null,"missing offset"),N(l+3<i.length,"Trying to read beyond buffer length"));var Y,L=i.length;if(!(L<=l))return h?(l+2<L&&(Y=i[l+2]<<16),l+1<L&&(Y|=i[l+1]<<8),Y|=i[l],l+3<L&&(Y+=i[l+3]<<24>>>0)):(l+1<L&&(Y=i[l+1]<<16),l+2<L&&(Y|=i[l+2]<<8),l+3<L&&(Y|=i[l+3]),Y+=i[l]<<24>>>0),Y}function d(i,l,h,T){if(T||(N(typeof h=="boolean","missing or invalid endian"),N(l!=null,"missing offset"),N(l+1<i.length,"Trying to read beyond buffer length")),!(i.length<=l))return T=b(i,l,h,!0),32768&T?-1*(65535-T+1):T}function _(i,l,h,T){if(T||(N(typeof h=="boolean","missing or invalid endian"),N(l!=null,"missing offset"),N(l+3<i.length,"Trying to read beyond buffer length")),!(i.length<=l))return T=D(i,l,h,!0),2147483648&T?-1*(4294967295-T+1):T}function o(i,l,h,T){return T||(N(typeof h=="boolean","missing or invalid endian"),N(l+3<i.length,"Trying to read beyond buffer length")),g.read(i,l,h,23,4)}function f(i,l,h,T){return T||(N(typeof h=="boolean","missing or invalid endian"),N(l+7<i.length,"Trying to read beyond buffer length")),g.read(i,l,h,52,8)}function a(i,l,h,T,Y){if(Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+1<i.length,"trying to write beyond buffer length"),It(l,65535)),Y=i.length,!(Y<=h))for(var L=0,$=Math.min(Y-h,2);L<$;L++)i[h+L]=(l&255<<8*(T?L:1-L))>>>8*(T?L:1-L)}function m(i,l,h,T,Y){if(Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+3<i.length,"trying to write beyond buffer length"),It(l,4294967295)),Y=i.length,!(Y<=h))for(var L=0,$=Math.min(Y-h,4);L<$;L++)i[h+L]=l>>>8*(T?L:3-L)&255}function w(i,l,h,T,Y){Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+1<i.length,"Trying to write beyond buffer length"),Ct(l,32767,-32768)),i.length<=h||a(i,0<=l?l:65535+l+1,h,T,Y)}function W(i,l,h,T,Y){Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+3<i.length,"Trying to write beyond buffer length"),Ct(l,2147483647,-2147483648)),i.length<=h||m(i,0<=l?l:4294967295+l+1,h,T,Y)}function R(i,l,h,T,Y){Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+3<i.length,"Trying to write beyond buffer length"),Sn(l,34028234663852886e22,-34028234663852886e22)),i.length<=h||g.write(i,l,h,T,23,4)}function j(i,l,h,T,Y){Y||(N(l!=null,"missing value"),N(typeof T=="boolean","missing or invalid endian"),N(h!=null,"missing offset"),N(h+7<i.length,"Trying to write beyond buffer length"),Sn(l,17976931348623157e292,-17976931348623157e292)),i.length<=h||g.write(i,l,h,T,52,8)}s.Buffer=c,s.SlowBuffer=c,s.INSPECT_MAX_BYTES=50,c.poolSize=8192,c._useTypedArrays=(function(){try{var i=new ArrayBuffer(0),l=new Uint8Array(i);return l.foo=function(){return 42},l.foo()===42&&typeof l.subarray=="function"}catch{return!1}})(),c.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.isBuffer=function(i){return!(i==null||!i._isBuffer)},c.byteLength=function(i,l){var h;switch(i+="",l||"utf8"){case"hex":h=i.length/2;break;case"utf8":case"utf-8":h=ce(i).length;break;case"ascii":case"binary":case"raw":h=i.length;break;case"base64":h=Ee(i).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":h=2*i.length;break;default:throw new Error("Unknown encoding")}return h},c.concat=function(i,l){if(N(X(i),`Usage: Buffer.concat(list, [totalLength])
|
|
@@ -8,13 +8,13 @@ list should be an Array.`),i.length===0)return new c(0);if(i.length===1)return i
|
|
|
8
8
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
9
9
|
//! license : MIT
|
|
10
10
|
//! momentjs.com
|
|
11
|
-
var Rn;function O(){return Rn.apply(null,arguments)}function Br(e){Rn=e}function Se(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ze(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function
|
|
12
|
-
[`+u+"] ";for(y in arguments[0])
|
|
11
|
+
var Rn;function O(){return Rn.apply(null,arguments)}function Br(e){Rn=e}function Se(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function ze(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Xt(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(q(e,t))return!1;return!0}function me(e){return e===void 0}function Ce(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function ft(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Wn(e,t){var n=[],r,s=e.length;for(r=0;r<s;++r)n.push(t(e[r],r));return n}function We(e,t){for(var n in t)q(t,n)&&(e[n]=t[n]);return q(t,"toString")&&(e.toString=t.toString),q(t,"valueOf")&&(e.valueOf=t.valueOf),e}function xe(e,t,n,r){return ur(e,t,n,r,!0).utc()}function zr(){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 H(e){return e._pf==null&&(e._pf=zr()),e._pf}var Gt;Array.prototype.some?Gt=Array.prototype.some:Gt=function(e){var t=Object(this),n=t.length>>>0,r;for(r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};function Kt(e){var t=null,n=!1,r=e._d&&!isNaN(e._d.getTime());if(r&&(t=H(e),n=Gt.call(t.parsedDateParts,function(s){return s!=null}),r=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&&(r=r&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=r;else return r;return e._isValid}function Dt(e){var t=xe(NaN);return e!=null?We(H(t),e):H(t).userInvalidated=!0,t}var Yn=O.momentProperties=[],Rt=!1;function en(e,t){var n,r,s,u=Yn.length;if(me(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),me(t._i)||(e._i=t._i),me(t._f)||(e._f=t._f),me(t._l)||(e._l=t._l),me(t._strict)||(e._strict=t._strict),me(t._tzm)||(e._tzm=t._tzm),me(t._isUTC)||(e._isUTC=t._isUTC),me(t._offset)||(e._offset=t._offset),me(t._pf)||(e._pf=H(t)),me(t._locale)||(e._locale=t._locale),u>0)for(n=0;n<u;n++)r=Yn[n],s=t[r],me(s)||(e[r]=s);return e}function ct(e){en(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Rt===!1&&(Rt=!0,O.updateOffset(this),Rt=!1)}function Me(e){return e instanceof ct||e!=null&&e._isAMomentObject!=null}function jn(e){O.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function _e(e,t){var n=!0;return We(function(){if(O.deprecationHandler!=null&&O.deprecationHandler(null,e),n){var r=[],s,u,y,E=arguments.length;for(u=0;u<E;u++){if(s="",typeof arguments[u]=="object"){s+=`
|
|
12
|
+
[`+u+"] ";for(y in arguments[0])q(arguments[0],y)&&(s+=y+": "+arguments[0][y]+", ");s=s.slice(0,-2)}else s=arguments[u];r.push(s)}jn(e+`
|
|
13
13
|
Arguments: `+Array.prototype.slice.call(r).join("")+`
|
|
14
|
-
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var xn={};function Pn(e,t){O.deprecationHandler!=null&&O.deprecationHandler(e,t),xn[e]||(jn(t),xn[e]=!0)}O.suppressDeprecationWarnings=!1;O.deprecationHandler=null;function Te(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Gr(e){var t,n;for(n in e)Z(e,n)&&(t=e[n],Te(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 Vt(e,t){var n=We({},e),r;for(r in t)Z(t,r)&&(ze(e[r])&&ze(t[r])?(n[r]={},We(n[r],e[r]),We(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)Z(e,r)&&!Z(t,r)&&ze(e[r])&&(n[r]=We({},n[r]));return n}function tn(e){e!=null&&this.set(e)}var $t;Object.keys?$t=Object.keys:$t=function(e){var t,n=[];for(t in e)Z(e,t)&&n.push(t);return n};var Vr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $r(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Te(r)?r.call(t,n):r}function Ye(e,t,n){var r=""+Math.abs(e),s=t-r.length,u=e>=0;return(u?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var nn=/(\[[^\[]*\])|(\\)?([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,mt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wt={},Je={};function U(e,t,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),e&&(Je[e]=s),t&&(Je[t[0]]=function(){return Ye(s.apply(this,arguments),t[1],t[2])}),n&&(Je[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function qr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Zr(e){var t=e.match(nn),n,r;for(n=0,r=t.length;n<r;n++)Je[t[n]]?t[n]=Je[t[n]]:t[n]=qr(t[n]);return function(s){var u="",y;for(y=0;y<r;y++)u+=Te(t[y])?t[y].call(s,e):t[y];return u}}function yt(e,t){return e.isValid()?(t=Hn(t,e.localeData()),Wt[t]=Wt[t]||Zr(t),Wt[t](e)):e.localeData().invalidDate()}function Hn(e,t){var n=5;function r(s){return t.longDateFormat(s)||s}for(mt.lastIndex=0;n>=0&&mt.test(e);)e=e.replace(mt,r),mt.lastIndex=0,n-=1;return e}var Jr={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 Qr(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(nn).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xr="Invalid date";function Kr(){return this._invalidDate}var es="%d",ts=/\d{1,2}/;function ns(e){return this._ordinal.replace("%d",e)}var rs={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 ss(e,t,n,r){var s=this._relativeTime[n];return Te(s)?s(e,t,n,r):s.replace(/%d/i,e)}function is(e,t){var n=this._relativeTime[e>0?"future":"past"];return Te(n)?n(t):n.replace(/%s/i,t)}var Tn={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 we(e){return typeof e=="string"?Tn[e]||Tn[e.toLowerCase()]:void 0}function rn(e){var t={},n,r;for(r in e)Z(e,r)&&(n=we(r),n&&(t[n]=e[r]));return t}var as={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 os(e){var t=[],n;for(n in e)Z(e,n)&&t.push({unit:n,priority:as[n]});return t.sort(function(r,s){return r.priority-s.priority}),t}var Bn=/\d/,ye=/\d\d/,zn=/\d{3}/,sn=/\d{4}/,kt=/[+-]?\d{6}/,ne=/\d\d?/,Gn=/\d\d\d\d?/,Vn=/\d\d\d\d\d\d?/,Yt=/\d{1,3}/,an=/\d{1,4}/,xt=/[+-]?\d{1,6}/,Ke=/\d+/,Tt=/[+-]?\d+/,us=/Z|[+-]\d\d:?\d\d/gi,Et=/Z|[+-]\d\d(?::?\d\d)?/gi,ls=/[+-]?\d+(\.\d{1,3})?/,dt=/[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,et=/^[1-9]\d?/,on=/^([1-9]\d|\d)/,wt;wt={};function A(e,t,n){wt[e]=Te(t)?t:function(r,s){return r&&n?n:t}}function fs(e,t){return Z(wt,e)?wt[e](t._strict,t._locale):new RegExp(cs(e))}function cs(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,s,u){return n||r||s||u}))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function pe(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=pe(t)),n}var qt={};function K(e,t){var n,r=t,s;for(typeof e=="string"&&(e=[e]),Ce(t)&&(r=function(u,y){y[t]=V(u)}),s=e.length,n=0;n<s;n++)qt[e[n]]=r}function ht(e,t){K(e,function(n,r,s,u){s._w=s._w||{},t(n,s._w,s,u)})}function ds(e,t,n){t!=null&&Z(qt,e)&&qt[e](t,n._a,n,e)}function Nt(e){return e%4===0&&e%100!==0||e%400===0}var fe=0,Le=1,ke=2,oe=3,be=4,Ae=5,Be=6,hs=7,ms=8;U("Y",0,0,function(){var e=this.year();return e<=9999?Ye(e,4):"+"+e});U(0,["YY",2],0,function(){return this.year()%100});U(0,["YYYY",4],0,"year");U(0,["YYYYY",5],0,"year");U(0,["YYYYYY",6,!0],0,"year");A("Y",Tt);A("YY",ne,ye);A("YYYY",an,sn);A("YYYYY",xt,kt);A("YYYYYY",xt,kt);K(["YYYYY","YYYYYY"],fe);K("YYYY",function(e,t){t[fe]=e.length===2?O.parseTwoDigitYear(e):V(e)});K("YY",function(e,t){t[fe]=O.parseTwoDigitYear(e)});K("Y",function(e,t){t[fe]=parseInt(e,10)});function it(e){return Nt(e)?366:365}O.parseTwoDigitYear=function(e){return V(e)+(V(e)>68?1900:2e3)};var $n=tt("FullYear",!0);function gs(){return Nt(this.year())}function tt(e,t){return function(n){return n!=null?(qn(this,e,n),O.updateOffset(this,t),this):at(this,e)}}function at(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function qn(e,t,n){var r,s,u,y,E;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}u=n,y=e.month(),E=e.date(),E=E===29&&y===1&&!Nt(u)?28:E,s?r.setUTCFullYear(u,y,E):r.setFullYear(u,y,E)}}function ys(e){return e=we(e),Te(this[e])?this[e]():this}function ps(e,t){if(typeof e=="object"){e=rn(e);var n=os(e),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](e[n[r].unit])}else if(e=we(e),Te(this[e]))return this[e](t);return this}function _s(e,t){return(e%t+t)%t}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function un(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=_s(t,12);return e+=(t-n)/12,n===1?Nt(e)?29:28:31-n%7%2}U("M",["MM",2],"Mo",function(){return this.month()+1});U("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});U("MMMM",0,0,function(e){return this.localeData().months(this,e)});A("M",ne,et);A("MM",ne,ye);A("MMM",function(e,t){return t.monthsShortRegex(e)});A("MMMM",function(e,t){return t.monthsRegex(e)});K(["M","MM"],function(e,t){t[Le]=V(e)-1});K(["MMM","MMMM"],function(e,t,n,r){var s=n._locale.monthsParse(e,r,n._strict);s!=null?t[Le]=s:H(n).invalidMonth=e});var ws="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Zn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vs=dt,bs=dt;function Ss(e,t){return e?Se(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Jn).test(t)?"format":"standalone"][e.month()]:Se(this._months)?this._months:this._months.standalone}function Ms(e,t){return e?Se(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jn.test(t)?"format":"standalone"][e.month()]:Se(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ds(e,t,n){var r,s,u,y=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)u=xe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(u,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(u,"").toLocaleLowerCase();return n?t==="MMM"?(s=ie.call(this._shortMonthsParse,y),s!==-1?s:null):(s=ie.call(this._longMonthsParse,y),s!==-1?s:null):t==="MMM"?(s=ie.call(this._shortMonthsParse,y),s!==-1?s:(s=ie.call(this._longMonthsParse,y),s!==-1?s:null)):(s=ie.call(this._longMonthsParse,y),s!==-1?s:(s=ie.call(this._shortMonthsParse,y),s!==-1?s:null))}function ks(e,t,n){var r,s,u;if(this._monthsParseExact)return Ds.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(s=xe([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(u="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(u.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e)||n&&t==="MMM"&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Qn(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),!Ce(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,un(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Xn(e){return e!=null?(Qn(this,e),O.updateOffset(this,!0),this):at(this,"Month")}function Ys(){return un(this.year(),this.month())}function xs(e){return this._monthsParseExact?(Z(this,"_monthsRegex")||Kn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(Z(this,"_monthsShortRegex")||(this._monthsShortRegex=vs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ts(e){return this._monthsParseExact?(Z(this,"_monthsRegex")||Kn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(Z(this,"_monthsRegex")||(this._monthsRegex=bs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Kn(){function e(F,C){return C.length-F.length}var t=[],n=[],r=[],s,u,y,E;for(s=0;s<12;s++)u=xe([2e3,s]),y=Fe(this.monthsShort(u,"")),E=Fe(this.months(u,"")),t.push(y),n.push(E),r.push(E),r.push(y);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Es(e,t,n,r,s,u,y){var E;return e<100&&e>=0?(E=new Date(e+400,t,n,r,s,u,y),isFinite(E.getFullYear())&&E.setFullYear(e)):E=new Date(e,t,n,r,s,u,y),E}function ot(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 vt(e,t,n){var r=7+t-n,s=(7+ot(e,0,r).getUTCDay()-t)%7;return-s+r-1}function er(e,t,n,r,s){var u=(7+n-r)%7,y=vt(e,r,s),E=1+7*(t-1)+u+y,F,C;return E<=0?(F=e-1,C=it(F)+E):E>it(e)?(F=e+1,C=E-it(e)):(F=e,C=E),{year:F,dayOfYear:C}}function ut(e,t,n){var r=vt(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1,u,y;return s<1?(y=e.year()-1,u=s+Ie(y,t,n)):s>Ie(e.year(),t,n)?(u=s-Ie(e.year(),t,n),y=e.year()+1):(y=e.year(),u=s),{week:u,year:y}}function Ie(e,t,n){var r=vt(e,t,n),s=vt(e+1,t,n);return(it(e)-r+s)/7}U("w",["ww",2],"wo","week");U("W",["WW",2],"Wo","isoWeek");A("w",ne,et);A("ww",ne,ye);A("W",ne,et);A("WW",ne,ye);ht(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=V(e)});function Ns(e){return ut(e,this._week.dow,this._week.doy).week}var Os={dow:0,doy:6};function Ls(){return this._week.dow}function As(){return this._week.doy}function Fs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Is(e){var t=ut(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}U("d",0,"do","day");U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});U("e",0,0,"weekday");U("E",0,0,"isoWeekday");A("d",ne);A("e",ne);A("E",ne);A("dd",function(e,t){return t.weekdaysMinRegex(e)});A("ddd",function(e,t){return t.weekdaysShortRegex(e)});A("dddd",function(e,t){return t.weekdaysRegex(e)});ht(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);s!=null?t.d=s:H(n).invalidWeekday=e});ht(["d","e","E"],function(e,t,n,r){t[r]=V(e)});function Cs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Us(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ln(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),js=dt,Ps=dt,Hs=dt;function Bs(e,t){var n=Se(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ln(n,this._week.dow):e?n[e.day()]:n}function zs(e){return e===!0?ln(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gs(e){return e===!0?ln(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vs(e,t,n){var r,s,u,y=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)u=xe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(u,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(u,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(u,"").toLocaleLowerCase();return n?t==="dddd"?(s=ie.call(this._weekdaysParse,y),s!==-1?s:null):t==="ddd"?(s=ie.call(this._shortWeekdaysParse,y),s!==-1?s:null):(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null):t==="dddd"?(s=ie.call(this._weekdaysParse,y),s!==-1||(s=ie.call(this._shortWeekdaysParse,y),s!==-1)?s:(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null)):t==="ddd"?(s=ie.call(this._shortWeekdaysParse,y),s!==-1||(s=ie.call(this._weekdaysParse,y),s!==-1)?s:(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null)):(s=ie.call(this._minWeekdaysParse,y),s!==-1||(s=ie.call(this._weekdaysParse,y),s!==-1)?s:(s=ie.call(this._shortWeekdaysParse,y),s!==-1?s:null))}function $s(e,t,n){var r,s,u;if(this._weekdaysParseExact)return Vs.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(s=xe([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(u="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(u.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e)||n&&t==="dd"&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function qs(e){if(!this.isValid())return e!=null?this:NaN;var t=at(this,"Day");return e!=null?(e=Cs(e,this.localeData()),this.add(e-t,"d")):t}function Zs(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 Js(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Us(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Qs(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Z(this,"_weekdaysRegex")||(this._weekdaysRegex=js),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xs(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Z(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ps),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ks(e){return this._weekdaysParseExact?(Z(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Z(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Hs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fn(){function e(P,ee){return ee.length-P.length}var t=[],n=[],r=[],s=[],u,y,E,F,C;for(u=0;u<7;u++)y=xe([2e3,1]).day(u),E=Fe(this.weekdaysMin(y,"")),F=Fe(this.weekdaysShort(y,"")),C=Fe(this.weekdays(y,"")),t.push(E),n.push(F),r.push(C),s.push(E),s.push(F),s.push(C);t.sort(e),n.sort(e),r.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function cn(){return this.hours()%12||12}function ei(){return this.hours()||24}U("H",["HH",2],0,"hour");U("h",["hh",2],0,cn);U("k",["kk",2],0,ei);U("hmm",0,0,function(){return""+cn.apply(this)+Ye(this.minutes(),2)});U("hmmss",0,0,function(){return""+cn.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)});U("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)});U("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)});function nr(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}nr("a",!0);nr("A",!1);function rr(e,t){return t._meridiemParse}A("a",rr);A("A",rr);A("H",ne,on);A("h",ne,et);A("k",ne,et);A("HH",ne,ye);A("hh",ne,ye);A("kk",ne,ye);A("hmm",Gn);A("hmmss",Vn);A("Hmm",Gn);A("Hmmss",Vn);K(["H","HH"],oe);K(["k","kk"],function(e,t,n){var r=V(e);t[oe]=r===24?0:r});K(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});K(["h","hh"],function(e,t,n){t[oe]=V(e),H(n).bigHour=!0});K("hmm",function(e,t,n){var r=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r)),H(n).bigHour=!0});K("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r,2)),t[Ae]=V(e.substr(s)),H(n).bigHour=!0});K("Hmm",function(e,t,n){var r=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r))});K("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r,2)),t[Ae]=V(e.substr(s))});function ti(e){return(e+"").toLowerCase().charAt(0)==="p"}var ni=/[ap]\.?m?\.?/i,ri=tt("Hours",!0);function si(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sr={calendar:Vr,longDateFormat:Jr,invalidDate:Xr,ordinal:es,dayOfMonthOrdinalParse:ts,relativeTime:rs,months:ws,monthsShort:Zn,week:Os,weekdays:Rs,weekdaysMin:Ws,weekdaysShort:tr,meridiemParse:ni},re={},nt={},lt;function ii(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function En(e){return e&&e.toLowerCase().replace("_","-")}function ai(e){for(var t=0,n,r,s,u;t<e.length;){for(u=En(e[t]).split("-"),n=u.length,r=En(e[t+1]),r=r?r.split("-"):null;n>0;){if(s=Ot(u.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&ii(u,r)>=n-1)break;n--}t++}return lt}function oi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ot(e){var t=null,n;if(re[e]===void 0&&typeof module<"u"&&module&&module.exports&&oi(e))try{t=lt._abbr,n=st,n("./locale/"+e),Pe(t)}catch{re[e]=null}return re[e]}function Pe(e,t){var n;return e&&(me(t)?n=Ue(e):n=dn(e,t),n?lt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function dn(e,t){if(t!==null){var n,r=sr;if(t.abbr=e,re[e]!=null)Pn("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."),r=re[e]._config;else if(t.parentLocale!=null)if(re[t.parentLocale]!=null)r=re[t.parentLocale]._config;else if(n=Ot(t.parentLocale),n!=null)r=n._config;else return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;return re[e]=new tn(Vt(r,t)),nt[e]&&nt[e].forEach(function(s){dn(s.name,s.config)}),Pe(e),re[e]}else return delete re[e],null}function ui(e,t){if(t!=null){var n,r,s=sr;re[e]!=null&&re[e].parentLocale!=null?re[e].set(Vt(re[e]._config,t)):(r=Ot(e),r!=null&&(s=r._config),t=Vt(s,t),r==null&&(t.abbr=e),n=new tn(t),n.parentLocale=re[e],re[e]=n),Pe(e)}else re[e]!=null&&(re[e].parentLocale!=null?(re[e]=re[e].parentLocale,e===Pe()&&Pe(e)):re[e]!=null&&delete re[e]);return re[e]}function Ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!Se(e)){if(t=Ot(e),t)return t;e=[e]}return ai(e)}function li(){return $t(re)}function hn(e){var t,n=e._a;return n&&H(e).overflow===-2&&(t=n[Le]<0||n[Le]>11?Le:n[ke]<1||n[ke]>un(n[fe],n[Le])?ke:n[oe]<0||n[oe]>24||n[oe]===24&&(n[be]!==0||n[Ae]!==0||n[Be]!==0)?oe:n[be]<0||n[be]>59?be:n[Ae]<0||n[Ae]>59?Ae:n[Be]<0||n[Be]>999?Be:-1,H(e)._overflowDayOfYear&&(t<fe||t>ke)&&(t=ke),H(e)._overflowWeeks&&t===-1&&(t=hs),H(e)._overflowWeekday&&t===-1&&(t=ms),H(e).overflow=t),e}var fi=/^\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)?)?$/,ci=/^\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)?)?$/,di=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["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]],jt=[["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/]],hi=/^\/?Date\((-?\d+)/i,mi=/^(?:(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}))$/,gi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ir(e){var t,n,r=e._i,s=fi.exec(r)||ci.exec(r),u,y,E,F,C=gt.length,P=jt.length;if(s){for(H(e).iso=!0,t=0,n=C;t<n;t++)if(gt[t][1].exec(s[1])){y=gt[t][0],u=gt[t][2]!==!1;break}if(y==null){e._isValid=!1;return}if(s[3]){for(t=0,n=P;t<n;t++)if(jt[t][1].exec(s[3])){E=(s[2]||" ")+jt[t][0];break}if(E==null){e._isValid=!1;return}}if(!u&&E!=null){e._isValid=!1;return}if(s[4])if(di.exec(s[4]))F="Z";else{e._isValid=!1;return}e._f=y+(E||"")+(F||""),gn(e)}else e._isValid=!1}function yi(e,t,n,r,s,u){var y=[pi(e),Zn.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return u&&y.push(parseInt(u,10)),y}function pi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _i(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function wi(e,t,n){if(e){var r=tr.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(r!==s)return H(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function vi(e,t,n){if(e)return gi[e];if(t)return 0;var r=parseInt(n,10),s=r%100,u=(r-s)/100;return u*60+s}function ar(e){var t=mi.exec(_i(e._i)),n;if(t){if(n=yi(t[4],t[3],t[2],t[5],t[6],t[7]),!wi(t[1],n,e))return;e._a=n,e._tzm=vi(t[8],t[9],t[10]),e._d=ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),H(e).rfc2822=!0}else e._isValid=!1}function bi(e){var t=hi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ir(e),e._isValid===!1)delete e._isValid;else return;if(ar(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:O.createFromInputFallback(e)}O.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function qe(e,t,n){return e??t??n}function Si(e){var t=new Date(O.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function mn(e){var t,n,r=[],s,u,y;if(!e._d){for(s=Si(e),e._w&&e._a[ke]==null&&e._a[Le]==null&&Mi(e),e._dayOfYear!=null&&(y=qe(e._a[fe],s[fe]),(e._dayOfYear>it(y)||e._dayOfYear===0)&&(H(e)._overflowDayOfYear=!0),n=ot(y,0,e._dayOfYear),e._a[Le]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[be]===0&&e._a[Ae]===0&&e._a[Be]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?ot:Es).apply(null,r),u=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==u&&(H(e).weekdayMismatch=!0)}}function Mi(e){var t,n,r,s,u,y,E,F,C;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(u=1,y=4,n=qe(t.GG,e._a[fe],ut(te(),1,4).year),r=qe(t.W,1),s=qe(t.E,1),(s<1||s>7)&&(F=!0)):(u=e._locale._week.dow,y=e._locale._week.doy,C=ut(te(),u,y),n=qe(t.gg,e._a[fe],C.year),r=qe(t.w,C.week),t.d!=null?(s=t.d,(s<0||s>6)&&(F=!0)):t.e!=null?(s=t.e+u,(t.e<0||t.e>6)&&(F=!0)):s=u),r<1||r>Ie(n,u,y)?H(e)._overflowWeeks=!0:F!=null?H(e)._overflowWeekday=!0:(E=er(n,r,s,u,y),e._a[fe]=E.year,e._dayOfYear=E.dayOfYear)}O.ISO_8601=function(){};O.RFC_2822=function(){};function gn(e){if(e._f===O.ISO_8601){ir(e);return}if(e._f===O.RFC_2822){ar(e);return}e._a=[],H(e).empty=!0;var t=""+e._i,n,r,s,u,y,E=t.length,F=0,C,P;for(s=Hn(e._f,e._locale).match(nn)||[],P=s.length,n=0;n<P;n++)u=s[n],r=(t.match(fs(u,e))||[])[0],r&&(y=t.substr(0,t.indexOf(r)),y.length>0&&H(e).unusedInput.push(y),t=t.slice(t.indexOf(r)+r.length),F+=r.length),Je[u]?(r?H(e).empty=!1:H(e).unusedTokens.push(u),ds(u,r,e)):e._strict&&!r&&H(e).unusedTokens.push(u);H(e).charsLeftOver=E-F,t.length>0&&H(e).unusedInput.push(t),e._a[oe]<=12&&H(e).bigHour===!0&&e._a[oe]>0&&(H(e).bigHour=void 0),H(e).parsedDateParts=e._a.slice(0),H(e).meridiem=e._meridiem,e._a[oe]=Di(e._locale,e._a[oe],e._meridiem),C=H(e).era,C!==null&&(e._a[fe]=e._locale.erasConvertYear(C,e._a[fe])),mn(e),hn(e)}function Di(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function ki(e){var t,n,r,s,u,y,E=!1,F=e._f.length;if(F===0){H(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<F;s++)u=0,y=!1,t=en({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],gn(t),Kt(t)&&(y=!0),u+=H(t).charsLeftOver,u+=H(t).unusedTokens.length*10,H(t).score=u,E?u<r&&(r=u,n=t):(r==null||u<r||y)&&(r=u,n=t,y&&(E=!0));We(e,n||t)}function Yi(e){if(!e._d){var t=rn(e._i),n=t.day===void 0?t.date:t.day;e._a=Wn([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),mn(e)}}function xi(e){var t=new ct(hn(or(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function or(e){var t=e._i,n=e._f;return e._locale=e._locale||Ue(e._l),t===null||n===void 0&&t===""?Dt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Me(t)?new ct(hn(t)):(ft(t)?e._d=t:Se(n)?ki(e):n?gn(e):Ti(e),Kt(e)||(e._d=null),e))}function Ti(e){var t=e._i;me(t)?e._d=new Date(O.now()):ft(t)?e._d=new Date(t.valueOf()):typeof t=="string"?bi(e):Se(t)?(e._a=Wn(t.slice(0),function(n){return parseInt(n,10)}),mn(e)):ze(t)?Yi(e):Ce(t)?e._d=new Date(t):O.createFromInputFallback(e)}function ur(e,t,n,r,s){var u={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(ze(e)&&Xt(e)||Se(e)&&e.length===0)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=r,xi(u)}function te(e,t,n,r){return ur(e,t,n,r,!1)}var Ei=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Dt()}),Ni=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Dt()});function lr(e,t){var n,r;if(t.length===1&&Se(t[0])&&(t=t[0]),!t.length)return te();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Oi(){var e=[].slice.call(arguments,0);return lr("isBefore",e)}function Li(){var e=[].slice.call(arguments,0);return lr("isAfter",e)}var Ai=function(){return Date.now?Date.now():+new Date},rt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fi(e){var t,n=!1,r,s=rt.length;for(t in e)if(Z(e,t)&&!(ie.call(rt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<s;++r)if(e[rt[r]]){if(n)return!1;parseFloat(e[rt[r]])!==V(e[rt[r]])&&(n=!0)}return!0}function Ii(){return this._isValid}function Ci(){return De(NaN)}function Lt(e){var t=rn(e),n=t.year||0,r=t.quarter||0,s=t.month||0,u=t.week||t.isoWeek||0,y=t.day||0,E=t.hour||0,F=t.minute||0,C=t.second||0,P=t.millisecond||0;this._isValid=Fi(t),this._milliseconds=+P+C*1e3+F*6e4+E*1e3*60*60,this._days=+y+u*7,this._months=+s+r*3+n*12,this._data={},this._locale=Ue(),this._bubble()}function pt(e){return e instanceof Lt}function Zt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ui(e,t,n){var r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),u=0,y;for(y=0;y<r;y++)V(e[y])!==V(t[y])&&u++;return u+s}function fr(e,t){U(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Ye(~~(n/60),2)+t+Ye(~~n%60,2)})}fr("Z",":");fr("ZZ","");A("Z",Et);A("ZZ",Et);K(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=yn(Et,e)});var Ri=/([\+\-]|\d\d)/gi;function yn(e,t){var n=(t||"").match(e),r,s,u;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(Ri)||["-",0,0],u=+(s[1]*60)+V(s[2]),u===0?0:s[0]==="+"?u:-u)}function pn(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Me(e)||ft(e)?e.valueOf():te(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),O.updateOffset(n,!1),n):te(e).local()}function Jt(e){return-Math.round(e._d.getTimezoneOffset())}O.updateOffset=function(){};function Wi(e,t,n){var r=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=yn(Et,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(s=Jt(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==e&&(!t||this._changeInProgress?hr(this,De(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,O.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Jt(this)}function ji(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Pi(e){return this.utcOffset(0,e)}function Hi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Jt(this),"m")),this}function Bi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=yn(us,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function zi(e){return this.isValid()?(e=e?te(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Gi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vi(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return en(e,this),e=or(e),e._a?(t=e._isUTC?xe(e._a):te(e._a),this._isDSTShifted=this.isValid()&&Ui(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function $i(){return this.isValid()?!this._isUTC:!1}function qi(){return this.isValid()?this._isUTC:!1}function cr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Zi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function De(e,t){var n=e,r=null,s,u,y;return pt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Ce(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Zi.exec(e))?(s=r[1]==="-"?-1:1,n={y:0,d:V(r[ke])*s,h:V(r[oe])*s,m:V(r[be])*s,s:V(r[Ae])*s,ms:V(Zt(r[Be]*1e3))*s}):(r=Ji.exec(e))?(s=r[1]==="-"?-1:1,n={y:He(r[2],s),M:He(r[3],s),w:He(r[4],s),d:He(r[5],s),h:He(r[6],s),m:He(r[7],s),s:He(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(y=Qi(te(n.from),te(n.to)),n={},n.ms=y.milliseconds,n.M=y.months),u=new Lt(n),pt(e)&&Z(e,"_locale")&&(u._locale=e._locale),pt(e)&&Z(e,"_isValid")&&(u._isValid=e._isValid),u}De.fn=Lt.prototype;De.invalid=Ci;function He(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Nn(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 Qi(e,t){var n;return e.isValid()&&t.isValid()?(t=pn(t,e),e.isBefore(t)?n=Nn(e,t):(n=Nn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function dr(e,t){return function(n,r){var s,u;return r!==null&&!isNaN(+r)&&(Pn(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."),u=n,n=r,r=u),s=De(n,r),hr(this,s,e),this}}function hr(e,t,n,r){var s=t._milliseconds,u=Zt(t._days),y=Zt(t._months);e.isValid()&&(r=r??!0,y&&Qn(e,at(e,"Month")+y*n),u&&qn(e,"Date",at(e,"Date")+u*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&O.updateOffset(e,u||y))}var Xi=dr(1,"add"),Ki=dr(-1,"subtract");function mr(e){return typeof e=="string"||e instanceof String}function ea(e){return Me(e)||ft(e)||mr(e)||Ce(e)||na(e)||ta(e)||e===null||e===void 0}function ta(e){var t=ze(e)&&!Xt(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,u,y=r.length;for(s=0;s<y;s+=1)u=r[s],n=n||Z(e,u);return t&&n}function na(e){var t=Se(e),n=!1;return t&&(n=e.filter(function(r){return!Ce(r)&&mr(e)}).length===0),t&&n}function ra(e){var t=ze(e)&&!Xt(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,u;for(s=0;s<r.length;s+=1)u=r[s],n=n||Z(e,u);return t&&n}function sa(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 ia(e,t){arguments.length===1&&(arguments[0]?ea(arguments[0])?(e=arguments[0],t=void 0):ra(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||te(),r=pn(n,this).startOf("day"),s=O.calendarFormat(this,r)||"sameElse",u=t&&(Te(t[s])?t[s].call(this,n):t[s]);return this.format(u||this.localeData().calendar(s,this,te(n)))}function aa(){return new ct(this)}function oa(e,t){var n=Me(e)?e:te(e);return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function ua(e,t){var n=Me(e)?e:te(e);return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function la(e,t,n,r){var s=Me(e)?e:te(e),u=Me(t)?t:te(t);return this.isValid()&&s.isValid()&&u.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(u,n):!this.isAfter(u,n))):!1}function fa(e,t){var n=Me(e)?e:te(e),r;return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ca(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function da(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ha(e,t,n){var r,s,u;if(!this.isValid())return NaN;if(r=pn(e,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,t=we(t),t){case"year":u=_t(this,r)/12;break;case"month":u=_t(this,r);break;case"quarter":u=_t(this,r)/3;break;case"second":u=(this-r)/1e3;break;case"minute":u=(this-r)/6e4;break;case"hour":u=(this-r)/36e5;break;case"day":u=(this-r-s)/864e5;break;case"week":u=(this-r-s)/6048e5;break;default:u=this-r}return n?u:pe(u)}function _t(e,t){if(e.date()<t.date())return-_t(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),s,u;return t-r<0?(s=e.clone().add(n-1,"months"),u=(t-r)/(r-s)):(s=e.clone().add(n+1,"months"),u=(t-r)/(s-r)),-(n+u)||0}O.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";O.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ma(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ga(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?yt(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Te(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yt(n,"Z")):yt(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ya(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,s,u;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",u=t+'[")]',this.format(n+r+s+u)}function pa(e){e||(e=this.isUtc()?O.defaultFormatUtc:O.defaultFormat);var t=yt(this,e);return this.localeData().postformat(t)}function _a(e,t){return this.isValid()&&(Me(e)&&e.isValid()||te(e).isValid())?De({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wa(e){return this.from(te(),e)}function va(e,t){return this.isValid()&&(Me(e)&&e.isValid()||te(e).isValid())?De({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.to(te(),e)}function gr(e){var t;return e===void 0?this._locale._abbr:(t=Ue(e),t!=null&&(this._locale=t),this)}var yr=_e("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 pr(){return this._locale}var bt=1e3,Qe=60*bt,St=60*Qe,_r=(365*400+97)*24*St;function Xe(e,t){return(e%t+t)%t}function wr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-_r:new Date(e,t,n).valueOf()}function vr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-_r:Date.UTC(e,t,n)}function Sa(e){var t,n;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?vr:wr,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-=Xe(t+(this._isUTC?0:this.utcOffset()*Qe),St);break;case"minute":t=this._d.valueOf(),t-=Xe(t,Qe);break;case"second":t=this._d.valueOf(),t-=Xe(t,bt);break}return this._d.setTime(t),O.updateOffset(this,!0),this}function Ma(e){var t,n;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?vr:wr,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+=St-Xe(t+(this._isUTC?0:this.utcOffset()*Qe),St)-1;break;case"minute":t=this._d.valueOf(),t+=Qe-Xe(t,Qe)-1;break;case"second":t=this._d.valueOf(),t+=bt-Xe(t,bt)-1;break}return this._d.setTime(t),O.updateOffset(this,!0),this}function Da(){return this._d.valueOf()-(this._offset||0)*6e4}function ka(){return Math.floor(this.valueOf()/1e3)}function Ya(){return new Date(this.valueOf())}function xa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ta(){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 Ea(){return this.isValid()?this.toISOString():null}function Na(){return Kt(this)}function Oa(){return We({},H(this))}function La(){return H(this).overflow}function Aa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}U("N",0,0,"eraAbbr");U("NN",0,0,"eraAbbr");U("NNN",0,0,"eraAbbr");U("NNNN",0,0,"eraName");U("NNNNN",0,0,"eraNarrow");U("y",["y",1],"yo","eraYear");U("y",["yy",2],0,"eraYear");U("y",["yyy",3],0,"eraYear");U("y",["yyyy",4],0,"eraYear");A("N",_n);A("NN",_n);A("NNN",_n);A("NNNN",za);A("NNNNN",Ga);K(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?H(n).era=s:H(n).invalidEra=e});A("y",Ke);A("yy",Ke);A("yyy",Ke);A("yyyy",Ke);A("yo",Va);K(["y","yy","yyy","yyyy"],fe);K(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[fe]=n._locale.eraYearOrdinalParse(e,s):t[fe]=parseInt(e,10)});function Fa(e,t){var n,r,s,u=this._eras||Ue("en")._eras;for(n=0,r=u.length;n<r;++n){switch(typeof u[n].since){case"string":s=O(u[n].since).startOf("day"),u[n].since=s.valueOf();break}switch(typeof u[n].until){case"undefined":u[n].until=1/0;break;case"string":s=O(u[n].until).startOf("day").valueOf(),u[n].until=s.valueOf();break}}return u}function Ia(e,t,n){var r,s,u=this.eras(),y,E,F;for(e=e.toUpperCase(),r=0,s=u.length;r<s;++r)if(y=u[r].name.toUpperCase(),E=u[r].abbr.toUpperCase(),F=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(E===e)return u[r];break;case"NNNN":if(y===e)return u[r];break;case"NNNNN":if(F===e)return u[r];break}else if([y,E,F].indexOf(e)>=0)return u[r]}function Ca(e,t){var n=e.since<=e.until?1:-1;return t===void 0?O(e.since).year():O(e.since).year()+(t-e.offset)*n}function Ua(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function Ra(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Wa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function ja(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-O(s[e].since).year())*n+s[e].offset;return this.year()}function Pa(e){return Z(this,"_erasNameRegex")||wn.call(this),e?this._erasNameRegex:this._erasRegex}function Ha(e){return Z(this,"_erasAbbrRegex")||wn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ba(e){return Z(this,"_erasNarrowRegex")||wn.call(this),e?this._erasNarrowRegex:this._erasRegex}function _n(e,t){return t.erasAbbrRegex(e)}function za(e,t){return t.erasNameRegex(e)}function Ga(e,t){return t.erasNarrowRegex(e)}function Va(e,t){return t._eraYearOrdinalRegex||Ke}function wn(){var e=[],t=[],n=[],r=[],s,u,y,E,F,C=this.eras();for(s=0,u=C.length;s<u;++s)y=Fe(C[s].name),E=Fe(C[s].abbr),F=Fe(C[s].narrow),t.push(y),e.push(E),n.push(F),r.push(y),r.push(E),r.push(F);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}U(0,["gg",2],0,function(){return this.weekYear()%100});U(0,["GG",2],0,function(){return this.isoWeekYear()%100});function At(e,t){U(0,[e,e.length],0,t)}At("gggg","weekYear");At("ggggg","weekYear");At("GGGG","isoWeekYear");At("GGGGG","isoWeekYear");A("G",Tt);A("g",Tt);A("GG",ne,ye);A("gg",ne,ye);A("GGGG",an,sn);A("gggg",an,sn);A("GGGGG",xt,kt);A("ggggg",xt,kt);ht(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=V(e)});ht(["gg","GG"],function(e,t,n,r){t[r]=O.parseTwoDigitYear(e)});function $a(e){return br.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function qa(e){return br.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Za(){return Ie(this.year(),1,4)}function Ja(){return Ie(this.isoWeekYear(),1,4)}function Qa(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)}function Xa(){var e=this.localeData()._week;return Ie(this.weekYear(),e.dow,e.doy)}function br(e,t,n,r,s){var u;return e==null?ut(this,r,s).year:(u=Ie(e,r,s),t>u&&(t=u),Ka.call(this,e,t,n,r,s))}function Ka(e,t,n,r,s){var u=er(e,t,n,r,s),y=ot(u.year,0,u.dayOfYear);return this.year(y.getUTCFullYear()),this.month(y.getUTCMonth()),this.date(y.getUTCDate()),this}U("Q",0,"Qo","quarter");A("Q",Bn);K("Q",function(e,t){t[Le]=(V(e)-1)*3});function eo(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}U("D",["DD",2],"Do","date");A("D",ne,et);A("DD",ne,ye);A("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});K(["D","DD"],ke);K("Do",function(e,t){t[ke]=V(e.match(ne)[0])});var Sr=tt("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear");A("DDD",Yt);A("DDDD",zn);K(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)});function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}U("m",["mm",2],0,"minute");A("m",ne,on);A("mm",ne,ye);K(["m","mm"],be);var no=tt("Minutes",!1);U("s",["ss",2],0,"second");A("s",ne,on);A("ss",ne,ye);K(["s","ss"],Ae);var ro=tt("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)});U(0,["SS",2],0,function(){return~~(this.millisecond()/10)});U(0,["SSS",3],0,"millisecond");U(0,["SSSS",4],0,function(){return this.millisecond()*10});U(0,["SSSSS",5],0,function(){return this.millisecond()*100});U(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});U(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});U(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});U(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});A("S",Yt,Bn);A("SS",Yt,ye);A("SSS",Yt,zn);var je,Mr;for(je="SSSS";je.length<=9;je+="S")A(je,Ke);function so(e,t){t[Be]=V(("0."+e)*1e3)}for(je="S";je.length<=9;je+="S")K(je,so);Mr=tt("Milliseconds",!1);U("z",0,0,"zoneAbbr");U("zz",0,0,"zoneName");function io(){return this._isUTC?"UTC":""}function ao(){return this._isUTC?"Coordinated Universal Time":""}var x=ct.prototype;x.add=Xi;x.calendar=ia;x.clone=aa;x.diff=ha;x.endOf=Ma;x.format=pa;x.from=_a;x.fromNow=wa;x.to=va;x.toNow=ba;x.get=ys;x.invalidAt=La;x.isAfter=oa;x.isBefore=ua;x.isBetween=la;x.isSame=fa;x.isSameOrAfter=ca;x.isSameOrBefore=da;x.isValid=Na;x.lang=yr;x.locale=gr;x.localeData=pr;x.max=Ni;x.min=Ei;x.parsingFlags=Oa;x.set=ps;x.startOf=Sa;x.subtract=Ki;x.toArray=xa;x.toObject=Ta;x.toDate=Ya;x.toISOString=ga;x.inspect=ya;typeof Symbol<"u"&&Symbol.for!=null&&(x[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});x.toJSON=Ea;x.toString=ma;x.unix=ka;x.valueOf=Da;x.creationData=Aa;x.eraName=Ua;x.eraNarrow=Ra;x.eraAbbr=Wa;x.eraYear=ja;x.year=$n;x.isLeapYear=gs;x.weekYear=$a;x.isoWeekYear=qa;x.quarter=x.quarters=eo;x.month=Xn;x.daysInMonth=Ys;x.week=x.weeks=Fs;x.isoWeek=x.isoWeeks=Is;x.weeksInYear=Qa;x.weeksInWeekYear=Xa;x.isoWeeksInYear=Za;x.isoWeeksInISOWeekYear=Ja;x.date=Sr;x.day=x.days=qs;x.weekday=Zs;x.isoWeekday=Js;x.dayOfYear=to;x.hour=x.hours=ri;x.minute=x.minutes=no;x.second=x.seconds=ro;x.millisecond=x.milliseconds=Mr;x.utcOffset=Wi;x.utc=Pi;x.local=Hi;x.parseZone=Bi;x.hasAlignedHourOffset=zi;x.isDST=Gi;x.isLocal=$i;x.isUtcOffset=qi;x.isUtc=cr;x.isUTC=cr;x.zoneAbbr=io;x.zoneName=ao;x.dates=_e("dates accessor is deprecated. Use date instead.",Sr);x.months=_e("months accessor is deprecated. Use month instead",Xn);x.years=_e("years accessor is deprecated. Use year instead",$n);x.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ji);x.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vi);function oo(e){return te(e*1e3)}function uo(){return te.apply(null,arguments).parseZone()}function Dr(e){return e}var J=tn.prototype;J.calendar=$r;J.longDateFormat=Qr;J.invalidDate=Kr;J.ordinal=ns;J.preparse=Dr;J.postformat=Dr;J.relativeTime=ss;J.pastFuture=is;J.set=Gr;J.eras=Fa;J.erasParse=Ia;J.erasConvertYear=Ca;J.erasAbbrRegex=Ha;J.erasNameRegex=Pa;J.erasNarrowRegex=Ba;J.months=Ss;J.monthsShort=Ms;J.monthsParse=ks;J.monthsRegex=Ts;J.monthsShortRegex=xs;J.week=Ns;J.firstDayOfYear=As;J.firstDayOfWeek=Ls;J.weekdays=Bs;J.weekdaysMin=Gs;J.weekdaysShort=zs;J.weekdaysParse=$s;J.weekdaysRegex=Qs;J.weekdaysShortRegex=Xs;J.weekdaysMinRegex=Ks;J.isPM=ti;J.meridiem=si;function Mt(e,t,n,r){var s=Ue(),u=xe().set(r,t);return s[n](u,e)}function kr(e,t,n){if(Ce(e)&&(t=e,e=void 0),e=e||"",t!=null)return Mt(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Mt(e,r,n,"month");return s}function vn(e,t,n,r){typeof e=="boolean"?(Ce(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Ce(t)&&(n=t,t=void 0),t=t||"");var s=Ue(),u=e?s._week.dow:0,y,E=[];if(n!=null)return Mt(t,(n+u)%7,r,"day");for(y=0;y<7;y++)E[y]=Mt(t,(y+u)%7,r,"day");return E}function lo(e,t){return kr(e,t,"months")}function fo(e,t){return kr(e,t,"monthsShort")}function co(e,t,n){return vn(e,t,n,"weekdays")}function ho(e,t,n){return vn(e,t,n,"weekdaysShort")}function mo(e,t,n){return vn(e,t,n,"weekdaysMin")}Pe("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}});O.lang=_e("moment.lang is deprecated. Use moment.locale instead.",Pe);O.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Ue);var Ne=Math.abs;function go(){var e=this._data;return this._milliseconds=Ne(this._milliseconds),this._days=Ne(this._days),this._months=Ne(this._months),e.milliseconds=Ne(e.milliseconds),e.seconds=Ne(e.seconds),e.minutes=Ne(e.minutes),e.hours=Ne(e.hours),e.months=Ne(e.months),e.years=Ne(e.years),this}function Yr(e,t,n,r){var s=De(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function yo(e,t){return Yr(this,e,t,1)}function po(e,t){return Yr(this,e,t,-1)}function On(e){return e<0?Math.floor(e):Math.ceil(e)}function _o(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,s,u,y,E,F;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=On(Qt(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,s=pe(e/1e3),r.seconds=s%60,u=pe(s/60),r.minutes=u%60,y=pe(u/60),r.hours=y%24,t+=pe(y/24),F=pe(xr(t)),n+=F,t-=On(Qt(F)),E=pe(n/12),n%=12,r.days=t,r.months=n,r.years=E,this}function xr(e){return e*4800/146097}function Qt(e){return e*146097/4800}function wo(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=we(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+xr(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Qt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Re(e){return function(){return this.as(e)}}var Tr=Re("ms"),vo=Re("s"),bo=Re("m"),So=Re("h"),Mo=Re("d"),Do=Re("w"),ko=Re("M"),Yo=Re("Q"),xo=Re("y"),To=Tr;function Eo(){return De(this)}function No(e){return e=we(e),this.isValid()?this[e+"s"]():NaN}function Ge(e){return function(){return this.isValid()?this._data[e]:NaN}}var Oo=Ge("milliseconds"),Lo=Ge("seconds"),Ao=Ge("minutes"),Fo=Ge("hours"),Io=Ge("days"),Co=Ge("months"),Uo=Ge("years");function Ro(){return pe(this.days()/7)}var Oe=Math.round,Ze={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wo(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}function jo(e,t,n,r){var s=De(e).abs(),u=Oe(s.as("s")),y=Oe(s.as("m")),E=Oe(s.as("h")),F=Oe(s.as("d")),C=Oe(s.as("M")),P=Oe(s.as("w")),ee=Oe(s.as("y")),M=u<=n.ss&&["s",u]||u<n.s&&["ss",u]||y<=1&&["m"]||y<n.m&&["mm",y]||E<=1&&["h"]||E<n.h&&["hh",E]||F<=1&&["d"]||F<n.d&&["dd",F];return n.w!=null&&(M=M||P<=1&&["w"]||P<n.w&&["ww",P]),M=M||C<=1&&["M"]||C<n.M&&["MM",C]||ee<=1&&["y"]||["yy",ee],M[2]=t,M[3]=+e>0,M[4]=r,Wo.apply(null,M)}function Po(e){return e===void 0?Oe:typeof e=="function"?(Oe=e,!0):!1}function Ho(e,t){return Ze[e]===void 0?!1:t===void 0?Ze[e]:(Ze[e]=t,e==="s"&&(Ze.ss=t-1),!0)}function Bo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Ze,s,u;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Ze,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),s=this.localeData(),u=jo(this,!n,r,s),n&&(u=s.pastFuture(+this,u)),s.postformat(u)}var Pt=Math.abs;function $e(e){return(e>0)-(e<0)||+e}function Ft(){if(!this.isValid())return this.localeData().invalidDate();var e=Pt(this._milliseconds)/1e3,t=Pt(this._days),n=Pt(this._months),r,s,u,y,E=this.asSeconds(),F,C,P,ee;return E?(r=pe(e/60),s=pe(r/60),e%=60,r%=60,u=pe(n/12),n%=12,y=e?e.toFixed(3).replace(/\.?0+$/,""):"",F=E<0?"-":"",C=$e(this._months)!==$e(E)?"-":"",P=$e(this._days)!==$e(E)?"-":"",ee=$e(this._milliseconds)!==$e(E)?"-":"",F+"P"+(u?C+u+"Y":"")+(n?C+n+"M":"")+(t?P+t+"D":"")+(s||r||e?"T":"")+(s?ee+s+"H":"")+(r?ee+r+"M":"")+(e?ee+y+"S":"")):"P0D"}var q=Lt.prototype;q.isValid=Ii;q.abs=go;q.add=yo;q.subtract=po;q.as=wo;q.asMilliseconds=Tr;q.asSeconds=vo;q.asMinutes=bo;q.asHours=So;q.asDays=Mo;q.asWeeks=Do;q.asMonths=ko;q.asQuarters=Yo;q.asYears=xo;q.valueOf=To;q._bubble=_o;q.clone=Eo;q.get=No;q.milliseconds=Oo;q.seconds=Lo;q.minutes=Ao;q.hours=Fo;q.days=Io;q.weeks=Ro;q.months=Co;q.years=Uo;q.humanize=Bo;q.toISOString=Ft;q.toString=Ft;q.toJSON=Ft;q.locale=gr;q.localeData=pr;q.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ft);q.lang=yr;U("X",0,0,"unix");U("x",0,0,"valueOf");A("x",Tt);A("X",ls);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
|
|
14
|
+
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var xn={};function Pn(e,t){O.deprecationHandler!=null&&O.deprecationHandler(e,t),xn[e]||(jn(t),xn[e]=!0)}O.suppressDeprecationWarnings=!1;O.deprecationHandler=null;function Te(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Gr(e){var t,n;for(n in e)q(e,n)&&(t=e[n],Te(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 Vt(e,t){var n=We({},e),r;for(r in t)q(t,r)&&(ze(e[r])&&ze(t[r])?(n[r]={},We(n[r],e[r]),We(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)q(e,r)&&!q(t,r)&&ze(e[r])&&(n[r]=We({},n[r]));return n}function tn(e){e!=null&&this.set(e)}var $t;Object.keys?$t=Object.keys:$t=function(e){var t,n=[];for(t in e)q(e,t)&&n.push(t);return n};var Vr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $r(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Te(r)?r.call(t,n):r}function Ye(e,t,n){var r=""+Math.abs(e),s=t-r.length,u=e>=0;return(u?n?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+r}var nn=/(\[[^\[]*\])|(\\)?([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,mt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Wt={},Je={};function U(e,t,n,r){var s=r;typeof r=="string"&&(s=function(){return this[r]()}),e&&(Je[e]=s),t&&(Je[t[0]]=function(){return Ye(s.apply(this,arguments),t[1],t[2])}),n&&(Je[n]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function Zr(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function qr(e){var t=e.match(nn),n,r;for(n=0,r=t.length;n<r;n++)Je[t[n]]?t[n]=Je[t[n]]:t[n]=Zr(t[n]);return function(s){var u="",y;for(y=0;y<r;y++)u+=Te(t[y])?t[y].call(s,e):t[y];return u}}function yt(e,t){return e.isValid()?(t=Hn(t,e.localeData()),Wt[t]=Wt[t]||qr(t),Wt[t](e)):e.localeData().invalidDate()}function Hn(e,t){var n=5;function r(s){return t.longDateFormat(s)||s}for(mt.lastIndex=0;n>=0&&mt.test(e);)e=e.replace(mt,r),mt.lastIndex=0,n-=1;return e}var Jr={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 Qr(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(nn).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Xr="Invalid date";function Kr(){return this._invalidDate}var es="%d",ts=/\d{1,2}/;function ns(e){return this._ordinal.replace("%d",e)}var rs={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 ss(e,t,n,r){var s=this._relativeTime[n];return Te(s)?s(e,t,n,r):s.replace(/%d/i,e)}function is(e,t){var n=this._relativeTime[e>0?"future":"past"];return Te(n)?n(t):n.replace(/%s/i,t)}var Tn={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 we(e){return typeof e=="string"?Tn[e]||Tn[e.toLowerCase()]:void 0}function rn(e){var t={},n,r;for(r in e)q(e,r)&&(n=we(r),n&&(t[n]=e[r]));return t}var as={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 os(e){var t=[],n;for(n in e)q(e,n)&&t.push({unit:n,priority:as[n]});return t.sort(function(r,s){return r.priority-s.priority}),t}var Bn=/\d/,ye=/\d\d/,zn=/\d{3}/,sn=/\d{4}/,kt=/[+-]?\d{6}/,ne=/\d\d?/,Gn=/\d\d\d\d?/,Vn=/\d\d\d\d\d\d?/,Yt=/\d{1,3}/,an=/\d{1,4}/,xt=/[+-]?\d{1,6}/,Ke=/\d+/,Tt=/[+-]?\d+/,us=/Z|[+-]\d\d:?\d\d/gi,Et=/Z|[+-]\d\d(?::?\d\d)?/gi,ls=/[+-]?\d+(\.\d{1,3})?/,dt=/[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,et=/^[1-9]\d?/,on=/^([1-9]\d|\d)/,wt;wt={};function A(e,t,n){wt[e]=Te(t)?t:function(r,s){return r&&n?n:t}}function fs(e,t){return q(wt,e)?wt[e](t._strict,t._locale):new RegExp(cs(e))}function cs(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,s,u){return n||r||s||u}))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function pe(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=pe(t)),n}var Zt={};function K(e,t){var n,r=t,s;for(typeof e=="string"&&(e=[e]),Ce(t)&&(r=function(u,y){y[t]=V(u)}),s=e.length,n=0;n<s;n++)Zt[e[n]]=r}function ht(e,t){K(e,function(n,r,s,u){s._w=s._w||{},t(n,s._w,s,u)})}function ds(e,t,n){t!=null&&q(Zt,e)&&Zt[e](t,n._a,n,e)}function Nt(e){return e%4===0&&e%100!==0||e%400===0}var fe=0,Le=1,ke=2,oe=3,be=4,Ae=5,Be=6,hs=7,ms=8;U("Y",0,0,function(){var e=this.year();return e<=9999?Ye(e,4):"+"+e});U(0,["YY",2],0,function(){return this.year()%100});U(0,["YYYY",4],0,"year");U(0,["YYYYY",5],0,"year");U(0,["YYYYYY",6,!0],0,"year");A("Y",Tt);A("YY",ne,ye);A("YYYY",an,sn);A("YYYYY",xt,kt);A("YYYYYY",xt,kt);K(["YYYYY","YYYYYY"],fe);K("YYYY",function(e,t){t[fe]=e.length===2?O.parseTwoDigitYear(e):V(e)});K("YY",function(e,t){t[fe]=O.parseTwoDigitYear(e)});K("Y",function(e,t){t[fe]=parseInt(e,10)});function it(e){return Nt(e)?366:365}O.parseTwoDigitYear=function(e){return V(e)+(V(e)>68?1900:2e3)};var $n=tt("FullYear",!0);function gs(){return Nt(this.year())}function tt(e,t){return function(n){return n!=null?(Zn(this,e,n),O.updateOffset(this,t),this):at(this,e)}}function at(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Zn(e,t,n){var r,s,u,y,E;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(s?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(s?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(s?r.setUTCHours(n):r.setHours(n));case"Date":return void(s?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}u=n,y=e.month(),E=e.date(),E=E===29&&y===1&&!Nt(u)?28:E,s?r.setUTCFullYear(u,y,E):r.setFullYear(u,y,E)}}function ys(e){return e=we(e),Te(this[e])?this[e]():this}function ps(e,t){if(typeof e=="object"){e=rn(e);var n=os(e),r,s=n.length;for(r=0;r<s;r++)this[n[r].unit](e[n[r].unit])}else if(e=we(e),Te(this[e]))return this[e](t);return this}function _s(e,t){return(e%t+t)%t}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function un(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=_s(t,12);return e+=(t-n)/12,n===1?Nt(e)?29:28:31-n%7%2}U("M",["MM",2],"Mo",function(){return this.month()+1});U("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)});U("MMMM",0,0,function(e){return this.localeData().months(this,e)});A("M",ne,et);A("MM",ne,ye);A("MMM",function(e,t){return t.monthsShortRegex(e)});A("MMMM",function(e,t){return t.monthsRegex(e)});K(["M","MM"],function(e,t){t[Le]=V(e)-1});K(["MMM","MMMM"],function(e,t,n,r){var s=n._locale.monthsParse(e,r,n._strict);s!=null?t[Le]=s:H(n).invalidMonth=e});var ws="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),qn="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Jn=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,vs=dt,bs=dt;function Ss(e,t){return e?Se(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Jn).test(t)?"format":"standalone"][e.month()]:Se(this._months)?this._months:this._months.standalone}function Ms(e,t){return e?Se(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Jn.test(t)?"format":"standalone"][e.month()]:Se(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Ds(e,t,n){var r,s,u,y=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)u=xe([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(u,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(u,"").toLocaleLowerCase();return n?t==="MMM"?(s=ie.call(this._shortMonthsParse,y),s!==-1?s:null):(s=ie.call(this._longMonthsParse,y),s!==-1?s:null):t==="MMM"?(s=ie.call(this._shortMonthsParse,y),s!==-1?s:(s=ie.call(this._longMonthsParse,y),s!==-1?s:null)):(s=ie.call(this._longMonthsParse,y),s!==-1?s:(s=ie.call(this._shortMonthsParse,y),s!==-1?s:null))}function ks(e,t,n){var r,s,u;if(this._monthsParseExact)return Ds.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++)if(s=xe([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),!n&&!this._monthsParse[r]&&(u="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[r]=new RegExp(u.replace(".",""),"i")),n&&t==="MMMM"&&this._longMonthsParse[r].test(e)||n&&t==="MMM"&&this._shortMonthsParse[r].test(e)||!n&&this._monthsParse[r].test(e))return r}function Qn(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),!Ce(t))return e}var n=t,r=e.date();return r=r<29?r:Math.min(r,un(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,r):e._d.setMonth(n,r),e}function Xn(e){return e!=null?(Qn(this,e),O.updateOffset(this,!0),this):at(this,"Month")}function Ys(){return un(this.year(),this.month())}function xs(e){return this._monthsParseExact?(q(this,"_monthsRegex")||Kn.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(q(this,"_monthsShortRegex")||(this._monthsShortRegex=vs),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function Ts(e){return this._monthsParseExact?(q(this,"_monthsRegex")||Kn.call(this),e?this._monthsStrictRegex:this._monthsRegex):(q(this,"_monthsRegex")||(this._monthsRegex=bs),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Kn(){function e(F,C){return C.length-F.length}var t=[],n=[],r=[],s,u,y,E;for(s=0;s<12;s++)u=xe([2e3,s]),y=Fe(this.monthsShort(u,"")),E=Fe(this.months(u,"")),t.push(y),n.push(E),r.push(E),r.push(y);t.sort(e),n.sort(e),r.sort(e),this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Es(e,t,n,r,s,u,y){var E;return e<100&&e>=0?(E=new Date(e+400,t,n,r,s,u,y),isFinite(E.getFullYear())&&E.setFullYear(e)):E=new Date(e,t,n,r,s,u,y),E}function ot(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 vt(e,t,n){var r=7+t-n,s=(7+ot(e,0,r).getUTCDay()-t)%7;return-s+r-1}function er(e,t,n,r,s){var u=(7+n-r)%7,y=vt(e,r,s),E=1+7*(t-1)+u+y,F,C;return E<=0?(F=e-1,C=it(F)+E):E>it(e)?(F=e+1,C=E-it(e)):(F=e,C=E),{year:F,dayOfYear:C}}function ut(e,t,n){var r=vt(e.year(),t,n),s=Math.floor((e.dayOfYear()-r-1)/7)+1,u,y;return s<1?(y=e.year()-1,u=s+Ie(y,t,n)):s>Ie(e.year(),t,n)?(u=s-Ie(e.year(),t,n),y=e.year()+1):(y=e.year(),u=s),{week:u,year:y}}function Ie(e,t,n){var r=vt(e,t,n),s=vt(e+1,t,n);return(it(e)-r+s)/7}U("w",["ww",2],"wo","week");U("W",["WW",2],"Wo","isoWeek");A("w",ne,et);A("ww",ne,ye);A("W",ne,et);A("WW",ne,ye);ht(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=V(e)});function Ns(e){return ut(e,this._week.dow,this._week.doy).week}var Os={dow:0,doy:6};function Ls(){return this._week.dow}function As(){return this._week.doy}function Fs(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Is(e){var t=ut(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}U("d",0,"do","day");U("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});U("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});U("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});U("e",0,0,"weekday");U("E",0,0,"isoWeekday");A("d",ne);A("e",ne);A("E",ne);A("dd",function(e,t){return t.weekdaysMinRegex(e)});A("ddd",function(e,t){return t.weekdaysShortRegex(e)});A("dddd",function(e,t){return t.weekdaysRegex(e)});ht(["dd","ddd","dddd"],function(e,t,n,r){var s=n._locale.weekdaysParse(e,r,n._strict);s!=null?t.d=s:H(n).invalidWeekday=e});ht(["d","e","E"],function(e,t,n,r){t[r]=V(e)});function Cs(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Us(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ln(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Rs="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),tr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ws="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),js=dt,Ps=dt,Hs=dt;function Bs(e,t){var n=Se(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?ln(n,this._week.dow):e?n[e.day()]:n}function zs(e){return e===!0?ln(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gs(e){return e===!0?ln(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vs(e,t,n){var r,s,u,y=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)u=xe([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(u,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(u,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(u,"").toLocaleLowerCase();return n?t==="dddd"?(s=ie.call(this._weekdaysParse,y),s!==-1?s:null):t==="ddd"?(s=ie.call(this._shortWeekdaysParse,y),s!==-1?s:null):(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null):t==="dddd"?(s=ie.call(this._weekdaysParse,y),s!==-1||(s=ie.call(this._shortWeekdaysParse,y),s!==-1)?s:(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null)):t==="ddd"?(s=ie.call(this._shortWeekdaysParse,y),s!==-1||(s=ie.call(this._weekdaysParse,y),s!==-1)?s:(s=ie.call(this._minWeekdaysParse,y),s!==-1?s:null)):(s=ie.call(this._minWeekdaysParse,y),s!==-1||(s=ie.call(this._weekdaysParse,y),s!==-1)?s:(s=ie.call(this._shortWeekdaysParse,y),s!==-1?s:null))}function $s(e,t,n){var r,s,u;if(this._weekdaysParseExact)return Vs.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(s=xe([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(u="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[r]=new RegExp(u.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e)||n&&t==="dd"&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function Zs(e){if(!this.isValid())return e!=null?this:NaN;var t=at(this,"Day");return e!=null?(e=Cs(e,this.localeData()),this.add(e-t,"d")):t}function qs(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 Js(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Us(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Qs(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(q(this,"_weekdaysRegex")||(this._weekdaysRegex=js),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xs(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(q(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ps),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ks(e){return this._weekdaysParseExact?(q(this,"_weekdaysRegex")||fn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(q(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Hs),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function fn(){function e(P,ee){return ee.length-P.length}var t=[],n=[],r=[],s=[],u,y,E,F,C;for(u=0;u<7;u++)y=xe([2e3,1]).day(u),E=Fe(this.weekdaysMin(y,"")),F=Fe(this.weekdaysShort(y,"")),C=Fe(this.weekdays(y,"")),t.push(E),n.push(F),r.push(C),s.push(E),s.push(F),s.push(C);t.sort(e),n.sort(e),r.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function cn(){return this.hours()%12||12}function ei(){return this.hours()||24}U("H",["HH",2],0,"hour");U("h",["hh",2],0,cn);U("k",["kk",2],0,ei);U("hmm",0,0,function(){return""+cn.apply(this)+Ye(this.minutes(),2)});U("hmmss",0,0,function(){return""+cn.apply(this)+Ye(this.minutes(),2)+Ye(this.seconds(),2)});U("Hmm",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)});U("Hmmss",0,0,function(){return""+this.hours()+Ye(this.minutes(),2)+Ye(this.seconds(),2)});function nr(e,t){U(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}nr("a",!0);nr("A",!1);function rr(e,t){return t._meridiemParse}A("a",rr);A("A",rr);A("H",ne,on);A("h",ne,et);A("k",ne,et);A("HH",ne,ye);A("hh",ne,ye);A("kk",ne,ye);A("hmm",Gn);A("hmmss",Vn);A("Hmm",Gn);A("Hmmss",Vn);K(["H","HH"],oe);K(["k","kk"],function(e,t,n){var r=V(e);t[oe]=r===24?0:r});K(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});K(["h","hh"],function(e,t,n){t[oe]=V(e),H(n).bigHour=!0});K("hmm",function(e,t,n){var r=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r)),H(n).bigHour=!0});K("hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r,2)),t[Ae]=V(e.substr(s)),H(n).bigHour=!0});K("Hmm",function(e,t,n){var r=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r))});K("Hmmss",function(e,t,n){var r=e.length-4,s=e.length-2;t[oe]=V(e.substr(0,r)),t[be]=V(e.substr(r,2)),t[Ae]=V(e.substr(s))});function ti(e){return(e+"").toLowerCase().charAt(0)==="p"}var ni=/[ap]\.?m?\.?/i,ri=tt("Hours",!0);function si(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sr={calendar:Vr,longDateFormat:Jr,invalidDate:Xr,ordinal:es,dayOfMonthOrdinalParse:ts,relativeTime:rs,months:ws,monthsShort:qn,week:Os,weekdays:Rs,weekdaysMin:Ws,weekdaysShort:tr,meridiemParse:ni},re={},nt={},lt;function ii(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function En(e){return e&&e.toLowerCase().replace("_","-")}function ai(e){for(var t=0,n,r,s,u;t<e.length;){for(u=En(e[t]).split("-"),n=u.length,r=En(e[t+1]),r=r?r.split("-"):null;n>0;){if(s=Ot(u.slice(0,n).join("-")),s)return s;if(r&&r.length>=n&&ii(u,r)>=n-1)break;n--}t++}return lt}function oi(e){return!!(e&&e.match("^[^/\\\\]*$"))}function Ot(e){var t=null,n;if(re[e]===void 0&&typeof module<"u"&&module&&module.exports&&oi(e))try{t=lt._abbr,n=st,n("./locale/"+e),Pe(t)}catch{re[e]=null}return re[e]}function Pe(e,t){var n;return e&&(me(t)?n=Ue(e):n=dn(e,t),n?lt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),lt._abbr}function dn(e,t){if(t!==null){var n,r=sr;if(t.abbr=e,re[e]!=null)Pn("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."),r=re[e]._config;else if(t.parentLocale!=null)if(re[t.parentLocale]!=null)r=re[t.parentLocale]._config;else if(n=Ot(t.parentLocale),n!=null)r=n._config;else return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;return re[e]=new tn(Vt(r,t)),nt[e]&&nt[e].forEach(function(s){dn(s.name,s.config)}),Pe(e),re[e]}else return delete re[e],null}function ui(e,t){if(t!=null){var n,r,s=sr;re[e]!=null&&re[e].parentLocale!=null?re[e].set(Vt(re[e]._config,t)):(r=Ot(e),r!=null&&(s=r._config),t=Vt(s,t),r==null&&(t.abbr=e),n=new tn(t),n.parentLocale=re[e],re[e]=n),Pe(e)}else re[e]!=null&&(re[e].parentLocale!=null?(re[e]=re[e].parentLocale,e===Pe()&&Pe(e)):re[e]!=null&&delete re[e]);return re[e]}function Ue(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return lt;if(!Se(e)){if(t=Ot(e),t)return t;e=[e]}return ai(e)}function li(){return $t(re)}function hn(e){var t,n=e._a;return n&&H(e).overflow===-2&&(t=n[Le]<0||n[Le]>11?Le:n[ke]<1||n[ke]>un(n[fe],n[Le])?ke:n[oe]<0||n[oe]>24||n[oe]===24&&(n[be]!==0||n[Ae]!==0||n[Be]!==0)?oe:n[be]<0||n[be]>59?be:n[Ae]<0||n[Ae]>59?Ae:n[Be]<0||n[Be]>999?Be:-1,H(e)._overflowDayOfYear&&(t<fe||t>ke)&&(t=ke),H(e)._overflowWeeks&&t===-1&&(t=hs),H(e)._overflowWeekday&&t===-1&&(t=ms),H(e).overflow=t),e}var fi=/^\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)?)?$/,ci=/^\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)?)?$/,di=/Z|[+-]\d\d(?::?\d\d)?/,gt=[["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]],jt=[["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/]],hi=/^\/?Date\((-?\d+)/i,mi=/^(?:(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}))$/,gi={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ir(e){var t,n,r=e._i,s=fi.exec(r)||ci.exec(r),u,y,E,F,C=gt.length,P=jt.length;if(s){for(H(e).iso=!0,t=0,n=C;t<n;t++)if(gt[t][1].exec(s[1])){y=gt[t][0],u=gt[t][2]!==!1;break}if(y==null){e._isValid=!1;return}if(s[3]){for(t=0,n=P;t<n;t++)if(jt[t][1].exec(s[3])){E=(s[2]||" ")+jt[t][0];break}if(E==null){e._isValid=!1;return}}if(!u&&E!=null){e._isValid=!1;return}if(s[4])if(di.exec(s[4]))F="Z";else{e._isValid=!1;return}e._f=y+(E||"")+(F||""),gn(e)}else e._isValid=!1}function yi(e,t,n,r,s,u){var y=[pi(e),qn.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(s,10)];return u&&y.push(parseInt(u,10)),y}function pi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function _i(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function wi(e,t,n){if(e){var r=tr.indexOf(e),s=new Date(t[0],t[1],t[2]).getDay();if(r!==s)return H(n).weekdayMismatch=!0,n._isValid=!1,!1}return!0}function vi(e,t,n){if(e)return gi[e];if(t)return 0;var r=parseInt(n,10),s=r%100,u=(r-s)/100;return u*60+s}function ar(e){var t=mi.exec(_i(e._i)),n;if(t){if(n=yi(t[4],t[3],t[2],t[5],t[6],t[7]),!wi(t[1],n,e))return;e._a=n,e._tzm=vi(t[8],t[9],t[10]),e._d=ot.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),H(e).rfc2822=!0}else e._isValid=!1}function bi(e){var t=hi.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(ir(e),e._isValid===!1)delete e._isValid;else return;if(ar(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:O.createFromInputFallback(e)}O.createFromInputFallback=_e("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))});function Ze(e,t,n){return e??t??n}function Si(e){var t=new Date(O.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function mn(e){var t,n,r=[],s,u,y;if(!e._d){for(s=Si(e),e._w&&e._a[ke]==null&&e._a[Le]==null&&Mi(e),e._dayOfYear!=null&&(y=Ze(e._a[fe],s[fe]),(e._dayOfYear>it(y)||e._dayOfYear===0)&&(H(e)._overflowDayOfYear=!0),n=ot(y,0,e._dayOfYear),e._a[Le]=n.getUTCMonth(),e._a[ke]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[oe]===24&&e._a[be]===0&&e._a[Ae]===0&&e._a[Be]===0&&(e._nextDay=!0,e._a[oe]=0),e._d=(e._useUTC?ot:Es).apply(null,r),u=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[oe]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==u&&(H(e).weekdayMismatch=!0)}}function Mi(e){var t,n,r,s,u,y,E,F,C;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(u=1,y=4,n=Ze(t.GG,e._a[fe],ut(te(),1,4).year),r=Ze(t.W,1),s=Ze(t.E,1),(s<1||s>7)&&(F=!0)):(u=e._locale._week.dow,y=e._locale._week.doy,C=ut(te(),u,y),n=Ze(t.gg,e._a[fe],C.year),r=Ze(t.w,C.week),t.d!=null?(s=t.d,(s<0||s>6)&&(F=!0)):t.e!=null?(s=t.e+u,(t.e<0||t.e>6)&&(F=!0)):s=u),r<1||r>Ie(n,u,y)?H(e)._overflowWeeks=!0:F!=null?H(e)._overflowWeekday=!0:(E=er(n,r,s,u,y),e._a[fe]=E.year,e._dayOfYear=E.dayOfYear)}O.ISO_8601=function(){};O.RFC_2822=function(){};function gn(e){if(e._f===O.ISO_8601){ir(e);return}if(e._f===O.RFC_2822){ar(e);return}e._a=[],H(e).empty=!0;var t=""+e._i,n,r,s,u,y,E=t.length,F=0,C,P;for(s=Hn(e._f,e._locale).match(nn)||[],P=s.length,n=0;n<P;n++)u=s[n],r=(t.match(fs(u,e))||[])[0],r&&(y=t.substr(0,t.indexOf(r)),y.length>0&&H(e).unusedInput.push(y),t=t.slice(t.indexOf(r)+r.length),F+=r.length),Je[u]?(r?H(e).empty=!1:H(e).unusedTokens.push(u),ds(u,r,e)):e._strict&&!r&&H(e).unusedTokens.push(u);H(e).charsLeftOver=E-F,t.length>0&&H(e).unusedInput.push(t),e._a[oe]<=12&&H(e).bigHour===!0&&e._a[oe]>0&&(H(e).bigHour=void 0),H(e).parsedDateParts=e._a.slice(0),H(e).meridiem=e._meridiem,e._a[oe]=Di(e._locale,e._a[oe],e._meridiem),C=H(e).era,C!==null&&(e._a[fe]=e._locale.erasConvertYear(C,e._a[fe])),mn(e),hn(e)}function Di(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function ki(e){var t,n,r,s,u,y,E=!1,F=e._f.length;if(F===0){H(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;s<F;s++)u=0,y=!1,t=en({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[s],gn(t),Kt(t)&&(y=!0),u+=H(t).charsLeftOver,u+=H(t).unusedTokens.length*10,H(t).score=u,E?u<r&&(r=u,n=t):(r==null||u<r||y)&&(r=u,n=t,y&&(E=!0));We(e,n||t)}function Yi(e){if(!e._d){var t=rn(e._i),n=t.day===void 0?t.date:t.day;e._a=Wn([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(r){return r&&parseInt(r,10)}),mn(e)}}function xi(e){var t=new ct(hn(or(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function or(e){var t=e._i,n=e._f;return e._locale=e._locale||Ue(e._l),t===null||n===void 0&&t===""?Dt({nullInput:!0}):(typeof t=="string"&&(e._i=t=e._locale.preparse(t)),Me(t)?new ct(hn(t)):(ft(t)?e._d=t:Se(n)?ki(e):n?gn(e):Ti(e),Kt(e)||(e._d=null),e))}function Ti(e){var t=e._i;me(t)?e._d=new Date(O.now()):ft(t)?e._d=new Date(t.valueOf()):typeof t=="string"?bi(e):Se(t)?(e._a=Wn(t.slice(0),function(n){return parseInt(n,10)}),mn(e)):ze(t)?Yi(e):Ce(t)?e._d=new Date(t):O.createFromInputFallback(e)}function ur(e,t,n,r,s){var u={};return(t===!0||t===!1)&&(r=t,t=void 0),(n===!0||n===!1)&&(r=n,n=void 0),(ze(e)&&Xt(e)||Se(e)&&e.length===0)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=s,u._l=n,u._i=e,u._f=t,u._strict=r,xi(u)}function te(e,t,n,r){return ur(e,t,n,r,!1)}var Ei=_e("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:Dt()}),Ni=_e("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=te.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:Dt()});function lr(e,t){var n,r;if(t.length===1&&Se(t[0])&&(t=t[0]),!t.length)return te();for(n=t[0],r=1;r<t.length;++r)(!t[r].isValid()||t[r][e](n))&&(n=t[r]);return n}function Oi(){var e=[].slice.call(arguments,0);return lr("isBefore",e)}function Li(){var e=[].slice.call(arguments,0);return lr("isAfter",e)}var Ai=function(){return Date.now?Date.now():+new Date},rt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Fi(e){var t,n=!1,r,s=rt.length;for(t in e)if(q(e,t)&&!(ie.call(rt,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(r=0;r<s;++r)if(e[rt[r]]){if(n)return!1;parseFloat(e[rt[r]])!==V(e[rt[r]])&&(n=!0)}return!0}function Ii(){return this._isValid}function Ci(){return De(NaN)}function Lt(e){var t=rn(e),n=t.year||0,r=t.quarter||0,s=t.month||0,u=t.week||t.isoWeek||0,y=t.day||0,E=t.hour||0,F=t.minute||0,C=t.second||0,P=t.millisecond||0;this._isValid=Fi(t),this._milliseconds=+P+C*1e3+F*6e4+E*1e3*60*60,this._days=+y+u*7,this._months=+s+r*3+n*12,this._data={},this._locale=Ue(),this._bubble()}function pt(e){return e instanceof Lt}function qt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Ui(e,t,n){var r=Math.min(e.length,t.length),s=Math.abs(e.length-t.length),u=0,y;for(y=0;y<r;y++)V(e[y])!==V(t[y])&&u++;return u+s}function fr(e,t){U(e,0,0,function(){var n=this.utcOffset(),r="+";return n<0&&(n=-n,r="-"),r+Ye(~~(n/60),2)+t+Ye(~~n%60,2)})}fr("Z",":");fr("ZZ","");A("Z",Et);A("ZZ",Et);K(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=yn(Et,e)});var Ri=/([\+\-]|\d\d)/gi;function yn(e,t){var n=(t||"").match(e),r,s,u;return n===null?null:(r=n[n.length-1]||[],s=(r+"").match(Ri)||["-",0,0],u=+(s[1]*60)+V(s[2]),u===0?0:s[0]==="+"?u:-u)}function pn(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(Me(e)||ft(e)?e.valueOf():te(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),O.updateOffset(n,!1),n):te(e).local()}function Jt(e){return-Math.round(e._d.getTimezoneOffset())}O.updateOffset=function(){};function Wi(e,t,n){var r=this._offset||0,s;if(!this.isValid())return e!=null?this:NaN;if(e!=null){if(typeof e=="string"){if(e=yn(Et,e),e===null)return this}else Math.abs(e)<16&&!n&&(e=e*60);return!this._isUTC&&t&&(s=Jt(this)),this._offset=e,this._isUTC=!0,s!=null&&this.add(s,"m"),r!==e&&(!t||this._changeInProgress?hr(this,De(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,O.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?r:Jt(this)}function ji(e,t){return e!=null?(typeof e!="string"&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Pi(e){return this.utcOffset(0,e)}function Hi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Jt(this),"m")),this}function Bi(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var e=yn(us,this._i);e!=null?this.utcOffset(e):this.utcOffset(0,!0)}return this}function zi(e){return this.isValid()?(e=e?te(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function Gi(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Vi(){if(!me(this._isDSTShifted))return this._isDSTShifted;var e={},t;return en(e,this),e=or(e),e._a?(t=e._isUTC?xe(e._a):te(e._a),this._isDSTShifted=this.isValid()&&Ui(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function $i(){return this.isValid()?!this._isUTC:!1}function Zi(){return this.isValid()?this._isUTC:!1}function cr(){return this.isValid()?this._isUTC&&this._offset===0:!1}var qi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Ji=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function De(e,t){var n=e,r=null,s,u,y;return pt(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Ce(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=qi.exec(e))?(s=r[1]==="-"?-1:1,n={y:0,d:V(r[ke])*s,h:V(r[oe])*s,m:V(r[be])*s,s:V(r[Ae])*s,ms:V(qt(r[Be]*1e3))*s}):(r=Ji.exec(e))?(s=r[1]==="-"?-1:1,n={y:He(r[2],s),M:He(r[3],s),w:He(r[4],s),d:He(r[5],s),h:He(r[6],s),m:He(r[7],s),s:He(r[8],s)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(y=Qi(te(n.from),te(n.to)),n={},n.ms=y.milliseconds,n.M=y.months),u=new Lt(n),pt(e)&&q(e,"_locale")&&(u._locale=e._locale),pt(e)&&q(e,"_isValid")&&(u._isValid=e._isValid),u}De.fn=Lt.prototype;De.invalid=Ci;function He(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Nn(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 Qi(e,t){var n;return e.isValid()&&t.isValid()?(t=pn(t,e),e.isBefore(t)?n=Nn(e,t):(n=Nn(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function dr(e,t){return function(n,r){var s,u;return r!==null&&!isNaN(+r)&&(Pn(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."),u=n,n=r,r=u),s=De(n,r),hr(this,s,e),this}}function hr(e,t,n,r){var s=t._milliseconds,u=qt(t._days),y=qt(t._months);e.isValid()&&(r=r??!0,y&&Qn(e,at(e,"Month")+y*n),u&&Zn(e,"Date",at(e,"Date")+u*n),s&&e._d.setTime(e._d.valueOf()+s*n),r&&O.updateOffset(e,u||y))}var Xi=dr(1,"add"),Ki=dr(-1,"subtract");function mr(e){return typeof e=="string"||e instanceof String}function ea(e){return Me(e)||ft(e)||mr(e)||Ce(e)||na(e)||ta(e)||e===null||e===void 0}function ta(e){var t=ze(e)&&!Xt(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,u,y=r.length;for(s=0;s<y;s+=1)u=r[s],n=n||q(e,u);return t&&n}function na(e){var t=Se(e),n=!1;return t&&(n=e.filter(function(r){return!Ce(r)&&mr(e)}).length===0),t&&n}function ra(e){var t=ze(e)&&!Xt(e),n=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],s,u;for(s=0;s<r.length;s+=1)u=r[s],n=n||q(e,u);return t&&n}function sa(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 ia(e,t){arguments.length===1&&(arguments[0]?ea(arguments[0])?(e=arguments[0],t=void 0):ra(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||te(),r=pn(n,this).startOf("day"),s=O.calendarFormat(this,r)||"sameElse",u=t&&(Te(t[s])?t[s].call(this,n):t[s]);return this.format(u||this.localeData().calendar(s,this,te(n)))}function aa(){return new ct(this)}function oa(e,t){var n=Me(e)?e:te(e);return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function ua(e,t){var n=Me(e)?e:te(e);return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function la(e,t,n,r){var s=Me(e)?e:te(e),u=Me(t)?t:te(t);return this.isValid()&&s.isValid()&&u.isValid()?(r=r||"()",(r[0]==="("?this.isAfter(s,n):!this.isBefore(s,n))&&(r[1]===")"?this.isBefore(u,n):!this.isAfter(u,n))):!1}function fa(e,t){var n=Me(e)?e:te(e),r;return this.isValid()&&n.isValid()?(t=we(t)||"millisecond",t==="millisecond"?this.valueOf()===n.valueOf():(r=n.valueOf(),this.clone().startOf(t).valueOf()<=r&&r<=this.clone().endOf(t).valueOf())):!1}function ca(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function da(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function ha(e,t,n){var r,s,u;if(!this.isValid())return NaN;if(r=pn(e,this),!r.isValid())return NaN;switch(s=(r.utcOffset()-this.utcOffset())*6e4,t=we(t),t){case"year":u=_t(this,r)/12;break;case"month":u=_t(this,r);break;case"quarter":u=_t(this,r)/3;break;case"second":u=(this-r)/1e3;break;case"minute":u=(this-r)/6e4;break;case"hour":u=(this-r)/36e5;break;case"day":u=(this-r-s)/864e5;break;case"week":u=(this-r-s)/6048e5;break;default:u=this-r}return n?u:pe(u)}function _t(e,t){if(e.date()<t.date())return-_t(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),r=e.clone().add(n,"months"),s,u;return t-r<0?(s=e.clone().add(n-1,"months"),u=(t-r)/(r-s)):(s=e.clone().add(n+1,"months"),u=(t-r)/(s-r)),-(n+u)||0}O.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";O.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function ma(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ga(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?yt(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Te(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",yt(n,"Z")):yt(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ya(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,s,u;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",u=t+'[")]',this.format(n+r+s+u)}function pa(e){e||(e=this.isUtc()?O.defaultFormatUtc:O.defaultFormat);var t=yt(this,e);return this.localeData().postformat(t)}function _a(e,t){return this.isValid()&&(Me(e)&&e.isValid()||te(e).isValid())?De({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wa(e){return this.from(te(),e)}function va(e,t){return this.isValid()&&(Me(e)&&e.isValid()||te(e).isValid())?De({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ba(e){return this.to(te(),e)}function gr(e){var t;return e===void 0?this._locale._abbr:(t=Ue(e),t!=null&&(this._locale=t),this)}var yr=_e("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 pr(){return this._locale}var bt=1e3,Qe=60*bt,St=60*Qe,_r=(365*400+97)*24*St;function Xe(e,t){return(e%t+t)%t}function wr(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-_r:new Date(e,t,n).valueOf()}function vr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-_r:Date.UTC(e,t,n)}function Sa(e){var t,n;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?vr:wr,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-=Xe(t+(this._isUTC?0:this.utcOffset()*Qe),St);break;case"minute":t=this._d.valueOf(),t-=Xe(t,Qe);break;case"second":t=this._d.valueOf(),t-=Xe(t,bt);break}return this._d.setTime(t),O.updateOffset(this,!0),this}function Ma(e){var t,n;if(e=we(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?vr:wr,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+=St-Xe(t+(this._isUTC?0:this.utcOffset()*Qe),St)-1;break;case"minute":t=this._d.valueOf(),t+=Qe-Xe(t,Qe)-1;break;case"second":t=this._d.valueOf(),t+=bt-Xe(t,bt)-1;break}return this._d.setTime(t),O.updateOffset(this,!0),this}function Da(){return this._d.valueOf()-(this._offset||0)*6e4}function ka(){return Math.floor(this.valueOf()/1e3)}function Ya(){return new Date(this.valueOf())}function xa(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ta(){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 Ea(){return this.isValid()?this.toISOString():null}function Na(){return Kt(this)}function Oa(){return We({},H(this))}function La(){return H(this).overflow}function Aa(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}U("N",0,0,"eraAbbr");U("NN",0,0,"eraAbbr");U("NNN",0,0,"eraAbbr");U("NNNN",0,0,"eraName");U("NNNNN",0,0,"eraNarrow");U("y",["y",1],"yo","eraYear");U("y",["yy",2],0,"eraYear");U("y",["yyy",3],0,"eraYear");U("y",["yyyy",4],0,"eraYear");A("N",_n);A("NN",_n);A("NNN",_n);A("NNNN",za);A("NNNNN",Ga);K(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var s=n._locale.erasParse(e,r,n._strict);s?H(n).era=s:H(n).invalidEra=e});A("y",Ke);A("yy",Ke);A("yyy",Ke);A("yyyy",Ke);A("yo",Va);K(["y","yy","yyy","yyyy"],fe);K(["yo"],function(e,t,n,r){var s;n._locale._eraYearOrdinalRegex&&(s=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[fe]=n._locale.eraYearOrdinalParse(e,s):t[fe]=parseInt(e,10)});function Fa(e,t){var n,r,s,u=this._eras||Ue("en")._eras;for(n=0,r=u.length;n<r;++n){switch(typeof u[n].since){case"string":s=O(u[n].since).startOf("day"),u[n].since=s.valueOf();break}switch(typeof u[n].until){case"undefined":u[n].until=1/0;break;case"string":s=O(u[n].until).startOf("day").valueOf(),u[n].until=s.valueOf();break}}return u}function Ia(e,t,n){var r,s,u=this.eras(),y,E,F;for(e=e.toUpperCase(),r=0,s=u.length;r<s;++r)if(y=u[r].name.toUpperCase(),E=u[r].abbr.toUpperCase(),F=u[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(E===e)return u[r];break;case"NNNN":if(y===e)return u[r];break;case"NNNNN":if(F===e)return u[r];break}else if([y,E,F].indexOf(e)>=0)return u[r]}function Ca(e,t){var n=e.since<=e.until?1:-1;return t===void 0?O(e.since).year():O(e.since).year()+(t-e.offset)*n}function Ua(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].name;return""}function Ra(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].narrow;return""}function Wa(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return r[e].abbr;return""}function ja(){var e,t,n,r,s=this.localeData().eras();for(e=0,t=s.length;e<t;++e)if(n=s[e].since<=s[e].until?1:-1,r=this.clone().startOf("day").valueOf(),s[e].since<=r&&r<=s[e].until||s[e].until<=r&&r<=s[e].since)return(this.year()-O(s[e].since).year())*n+s[e].offset;return this.year()}function Pa(e){return q(this,"_erasNameRegex")||wn.call(this),e?this._erasNameRegex:this._erasRegex}function Ha(e){return q(this,"_erasAbbrRegex")||wn.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ba(e){return q(this,"_erasNarrowRegex")||wn.call(this),e?this._erasNarrowRegex:this._erasRegex}function _n(e,t){return t.erasAbbrRegex(e)}function za(e,t){return t.erasNameRegex(e)}function Ga(e,t){return t.erasNarrowRegex(e)}function Va(e,t){return t._eraYearOrdinalRegex||Ke}function wn(){var e=[],t=[],n=[],r=[],s,u,y,E,F,C=this.eras();for(s=0,u=C.length;s<u;++s)y=Fe(C[s].name),E=Fe(C[s].abbr),F=Fe(C[s].narrow),t.push(y),e.push(E),n.push(F),r.push(y),r.push(E),r.push(F);this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+t.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+e.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+n.join("|")+")","i")}U(0,["gg",2],0,function(){return this.weekYear()%100});U(0,["GG",2],0,function(){return this.isoWeekYear()%100});function At(e,t){U(0,[e,e.length],0,t)}At("gggg","weekYear");At("ggggg","weekYear");At("GGGG","isoWeekYear");At("GGGGG","isoWeekYear");A("G",Tt);A("g",Tt);A("GG",ne,ye);A("gg",ne,ye);A("GGGG",an,sn);A("gggg",an,sn);A("GGGGG",xt,kt);A("ggggg",xt,kt);ht(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=V(e)});ht(["gg","GG"],function(e,t,n,r){t[r]=O.parseTwoDigitYear(e)});function $a(e){return br.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Za(e){return br.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function qa(){return Ie(this.year(),1,4)}function Ja(){return Ie(this.isoWeekYear(),1,4)}function Qa(){var e=this.localeData()._week;return Ie(this.year(),e.dow,e.doy)}function Xa(){var e=this.localeData()._week;return Ie(this.weekYear(),e.dow,e.doy)}function br(e,t,n,r,s){var u;return e==null?ut(this,r,s).year:(u=Ie(e,r,s),t>u&&(t=u),Ka.call(this,e,t,n,r,s))}function Ka(e,t,n,r,s){var u=er(e,t,n,r,s),y=ot(u.year,0,u.dayOfYear);return this.year(y.getUTCFullYear()),this.month(y.getUTCMonth()),this.date(y.getUTCDate()),this}U("Q",0,"Qo","quarter");A("Q",Bn);K("Q",function(e,t){t[Le]=(V(e)-1)*3});function eo(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}U("D",["DD",2],"Do","date");A("D",ne,et);A("DD",ne,ye);A("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});K(["D","DD"],ke);K("Do",function(e,t){t[ke]=V(e.match(ne)[0])});var Sr=tt("Date",!0);U("DDD",["DDDD",3],"DDDo","dayOfYear");A("DDD",Yt);A("DDDD",zn);K(["DDD","DDDD"],function(e,t,n){n._dayOfYear=V(e)});function to(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}U("m",["mm",2],0,"minute");A("m",ne,on);A("mm",ne,ye);K(["m","mm"],be);var no=tt("Minutes",!1);U("s",["ss",2],0,"second");A("s",ne,on);A("ss",ne,ye);K(["s","ss"],Ae);var ro=tt("Seconds",!1);U("S",0,0,function(){return~~(this.millisecond()/100)});U(0,["SS",2],0,function(){return~~(this.millisecond()/10)});U(0,["SSS",3],0,"millisecond");U(0,["SSSS",4],0,function(){return this.millisecond()*10});U(0,["SSSSS",5],0,function(){return this.millisecond()*100});U(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});U(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});U(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});U(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});A("S",Yt,Bn);A("SS",Yt,ye);A("SSS",Yt,zn);var je,Mr;for(je="SSSS";je.length<=9;je+="S")A(je,Ke);function so(e,t){t[Be]=V(("0."+e)*1e3)}for(je="S";je.length<=9;je+="S")K(je,so);Mr=tt("Milliseconds",!1);U("z",0,0,"zoneAbbr");U("zz",0,0,"zoneName");function io(){return this._isUTC?"UTC":""}function ao(){return this._isUTC?"Coordinated Universal Time":""}var x=ct.prototype;x.add=Xi;x.calendar=ia;x.clone=aa;x.diff=ha;x.endOf=Ma;x.format=pa;x.from=_a;x.fromNow=wa;x.to=va;x.toNow=ba;x.get=ys;x.invalidAt=La;x.isAfter=oa;x.isBefore=ua;x.isBetween=la;x.isSame=fa;x.isSameOrAfter=ca;x.isSameOrBefore=da;x.isValid=Na;x.lang=yr;x.locale=gr;x.localeData=pr;x.max=Ni;x.min=Ei;x.parsingFlags=Oa;x.set=ps;x.startOf=Sa;x.subtract=Ki;x.toArray=xa;x.toObject=Ta;x.toDate=Ya;x.toISOString=ga;x.inspect=ya;typeof Symbol<"u"&&Symbol.for!=null&&(x[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});x.toJSON=Ea;x.toString=ma;x.unix=ka;x.valueOf=Da;x.creationData=Aa;x.eraName=Ua;x.eraNarrow=Ra;x.eraAbbr=Wa;x.eraYear=ja;x.year=$n;x.isLeapYear=gs;x.weekYear=$a;x.isoWeekYear=Za;x.quarter=x.quarters=eo;x.month=Xn;x.daysInMonth=Ys;x.week=x.weeks=Fs;x.isoWeek=x.isoWeeks=Is;x.weeksInYear=Qa;x.weeksInWeekYear=Xa;x.isoWeeksInYear=qa;x.isoWeeksInISOWeekYear=Ja;x.date=Sr;x.day=x.days=Zs;x.weekday=qs;x.isoWeekday=Js;x.dayOfYear=to;x.hour=x.hours=ri;x.minute=x.minutes=no;x.second=x.seconds=ro;x.millisecond=x.milliseconds=Mr;x.utcOffset=Wi;x.utc=Pi;x.local=Hi;x.parseZone=Bi;x.hasAlignedHourOffset=zi;x.isDST=Gi;x.isLocal=$i;x.isUtcOffset=Zi;x.isUtc=cr;x.isUTC=cr;x.zoneAbbr=io;x.zoneName=ao;x.dates=_e("dates accessor is deprecated. Use date instead.",Sr);x.months=_e("months accessor is deprecated. Use month instead",Xn);x.years=_e("years accessor is deprecated. Use year instead",$n);x.zone=_e("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ji);x.isDSTShifted=_e("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Vi);function oo(e){return te(e*1e3)}function uo(){return te.apply(null,arguments).parseZone()}function Dr(e){return e}var J=tn.prototype;J.calendar=$r;J.longDateFormat=Qr;J.invalidDate=Kr;J.ordinal=ns;J.preparse=Dr;J.postformat=Dr;J.relativeTime=ss;J.pastFuture=is;J.set=Gr;J.eras=Fa;J.erasParse=Ia;J.erasConvertYear=Ca;J.erasAbbrRegex=Ha;J.erasNameRegex=Pa;J.erasNarrowRegex=Ba;J.months=Ss;J.monthsShort=Ms;J.monthsParse=ks;J.monthsRegex=Ts;J.monthsShortRegex=xs;J.week=Ns;J.firstDayOfYear=As;J.firstDayOfWeek=Ls;J.weekdays=Bs;J.weekdaysMin=Gs;J.weekdaysShort=zs;J.weekdaysParse=$s;J.weekdaysRegex=Qs;J.weekdaysShortRegex=Xs;J.weekdaysMinRegex=Ks;J.isPM=ti;J.meridiem=si;function Mt(e,t,n,r){var s=Ue(),u=xe().set(r,t);return s[n](u,e)}function kr(e,t,n){if(Ce(e)&&(t=e,e=void 0),e=e||"",t!=null)return Mt(e,t,n,"month");var r,s=[];for(r=0;r<12;r++)s[r]=Mt(e,r,n,"month");return s}function vn(e,t,n,r){typeof e=="boolean"?(Ce(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Ce(t)&&(n=t,t=void 0),t=t||"");var s=Ue(),u=e?s._week.dow:0,y,E=[];if(n!=null)return Mt(t,(n+u)%7,r,"day");for(y=0;y<7;y++)E[y]=Mt(t,(y+u)%7,r,"day");return E}function lo(e,t){return kr(e,t,"months")}function fo(e,t){return kr(e,t,"monthsShort")}function co(e,t,n){return vn(e,t,n,"weekdays")}function ho(e,t,n){return vn(e,t,n,"weekdaysShort")}function mo(e,t,n){return vn(e,t,n,"weekdaysMin")}Pe("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}});O.lang=_e("moment.lang is deprecated. Use moment.locale instead.",Pe);O.langData=_e("moment.langData is deprecated. Use moment.localeData instead.",Ue);var Ne=Math.abs;function go(){var e=this._data;return this._milliseconds=Ne(this._milliseconds),this._days=Ne(this._days),this._months=Ne(this._months),e.milliseconds=Ne(e.milliseconds),e.seconds=Ne(e.seconds),e.minutes=Ne(e.minutes),e.hours=Ne(e.hours),e.months=Ne(e.months),e.years=Ne(e.years),this}function Yr(e,t,n,r){var s=De(t,n);return e._milliseconds+=r*s._milliseconds,e._days+=r*s._days,e._months+=r*s._months,e._bubble()}function yo(e,t){return Yr(this,e,t,1)}function po(e,t){return Yr(this,e,t,-1)}function On(e){return e<0?Math.floor(e):Math.ceil(e)}function _o(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,s,u,y,E,F;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=On(Qt(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,s=pe(e/1e3),r.seconds=s%60,u=pe(s/60),r.minutes=u%60,y=pe(u/60),r.hours=y%24,t+=pe(y/24),F=pe(xr(t)),n+=F,t-=On(Qt(F)),E=pe(n/12),n%=12,r.days=t,r.months=n,r.years=E,this}function xr(e){return e*4800/146097}function Qt(e){return e*146097/4800}function wo(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=we(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+xr(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Qt(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Re(e){return function(){return this.as(e)}}var Tr=Re("ms"),vo=Re("s"),bo=Re("m"),So=Re("h"),Mo=Re("d"),Do=Re("w"),ko=Re("M"),Yo=Re("Q"),xo=Re("y"),To=Tr;function Eo(){return De(this)}function No(e){return e=we(e),this.isValid()?this[e+"s"]():NaN}function Ge(e){return function(){return this.isValid()?this._data[e]:NaN}}var Oo=Ge("milliseconds"),Lo=Ge("seconds"),Ao=Ge("minutes"),Fo=Ge("hours"),Io=Ge("days"),Co=Ge("months"),Uo=Ge("years");function Ro(){return pe(this.days()/7)}var Oe=Math.round,qe={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Wo(e,t,n,r,s){return s.relativeTime(t||1,!!n,e,r)}function jo(e,t,n,r){var s=De(e).abs(),u=Oe(s.as("s")),y=Oe(s.as("m")),E=Oe(s.as("h")),F=Oe(s.as("d")),C=Oe(s.as("M")),P=Oe(s.as("w")),ee=Oe(s.as("y")),M=u<=n.ss&&["s",u]||u<n.s&&["ss",u]||y<=1&&["m"]||y<n.m&&["mm",y]||E<=1&&["h"]||E<n.h&&["hh",E]||F<=1&&["d"]||F<n.d&&["dd",F];return n.w!=null&&(M=M||P<=1&&["w"]||P<n.w&&["ww",P]),M=M||C<=1&&["M"]||C<n.M&&["MM",C]||ee<=1&&["y"]||["yy",ee],M[2]=t,M[3]=+e>0,M[4]=r,Wo.apply(null,M)}function Po(e){return e===void 0?Oe:typeof e=="function"?(Oe=e,!0):!1}function Ho(e,t){return qe[e]===void 0?!1:t===void 0?qe[e]:(qe[e]=t,e==="s"&&(qe.ss=t-1),!0)}function Bo(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=qe,s,u;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},qe,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),s=this.localeData(),u=jo(this,!n,r,s),n&&(u=s.pastFuture(+this,u)),s.postformat(u)}var Pt=Math.abs;function $e(e){return(e>0)-(e<0)||+e}function Ft(){if(!this.isValid())return this.localeData().invalidDate();var e=Pt(this._milliseconds)/1e3,t=Pt(this._days),n=Pt(this._months),r,s,u,y,E=this.asSeconds(),F,C,P,ee;return E?(r=pe(e/60),s=pe(r/60),e%=60,r%=60,u=pe(n/12),n%=12,y=e?e.toFixed(3).replace(/\.?0+$/,""):"",F=E<0?"-":"",C=$e(this._months)!==$e(E)?"-":"",P=$e(this._days)!==$e(E)?"-":"",ee=$e(this._milliseconds)!==$e(E)?"-":"",F+"P"+(u?C+u+"Y":"")+(n?C+n+"M":"")+(t?P+t+"D":"")+(s||r||e?"T":"")+(s?ee+s+"H":"")+(r?ee+r+"M":"")+(e?ee+y+"S":"")):"P0D"}var Z=Lt.prototype;Z.isValid=Ii;Z.abs=go;Z.add=yo;Z.subtract=po;Z.as=wo;Z.asMilliseconds=Tr;Z.asSeconds=vo;Z.asMinutes=bo;Z.asHours=So;Z.asDays=Mo;Z.asWeeks=Do;Z.asMonths=ko;Z.asQuarters=Yo;Z.asYears=xo;Z.valueOf=To;Z._bubble=_o;Z.clone=Eo;Z.get=No;Z.milliseconds=Oo;Z.seconds=Lo;Z.minutes=Ao;Z.hours=Fo;Z.days=Io;Z.weeks=Ro;Z.months=Co;Z.years=Uo;Z.humanize=Bo;Z.toISOString=Ft;Z.toString=Ft;Z.toJSON=Ft;Z.locale=gr;Z.localeData=pr;Z.toIsoString=_e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Ft);Z.lang=yr;U("X",0,0,"unix");U("x",0,0,"valueOf");A("x",Tt);A("X",ls);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
|
|
15
15
|
O.version="2.30.1";Br(te);O.fn=x;O.min=Oi;O.max=Li;O.now=Ai;O.utc=xe;O.unix=oo;O.months=lo;O.isDate=ft;O.locale=Pe;O.invalid=Dt;O.duration=De;O.isMoment=Me;O.weekdays=co;O.parseZone=uo;O.localeData=Ue;O.isDuration=pt;O.monthsShort=fo;O.weekdaysMin=mo;O.defineLocale=dn;O.updateLocale=ui;O.locales=li;O.weekdaysShort=ho;O.normalizeUnits=we;O.relativeTimeRounding=Po;O.relativeTimeThreshold=Ho;O.calendarFormat=sa;O.prototype=x;O.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 zo=Object.freeze(Object.defineProperty({__proto__:null,default:O},Symbol.toStringTag,{value:"Module"})),Go=Or(zo);var Ht,Ln;function Vo(){if(Ln)return Ht;Ln=1;/*!
|
|
16
16
|
* FileStreamRotator
|
|
17
17
|
* Copyright(c) 2012-2017 Holiday Extras.
|
|
18
18
|
* Copyright(c) 2017 Roger C.
|
|
19
19
|
* MIT Licensed
|
|
20
|
-
*/var e=In,t=Cn,n=Go,r=jr,s=Ir(),u={};Ht=u;var y=["daily","test","m","h","custom"],E="YYYYMMDDHHmm",F=function(g,c){if(typeof c=="number"){switch(g){case"m":if(c<0||c>60)return!1;break;case"h":if(c<0||c>24)return!1;break}return{type:g,digit:c}}},C=function(g){switch(g){case"custom":case"daily":return{type:g,digit:void 0};case"test":return{type:g,digit:0}}return!1};u.getFrequency=function(g){var c=g.toLowerCase().match(/^(\d+)([mh])$/);if(c)return F(c[2],parseInt(c[1]));var p=C(g);return p||!1},u.parseFileSize=function(g){if(g&&typeof g=="string"){var c=g.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/);if(c)switch(c[2]){case"k":return c[1]*1024;case"m":return c[1]*1024*1024;case"g":return c[1]*1024*1024*1024}}return null},u.getDate=function(g,c,p){c=c||E;let v=p?n.utc():n().local();if(g&&y.indexOf(g.type)!==-1)switch(g.type){case"m":var S=Math.floor(v.minutes()/g.digit)*g.digit;return v.minutes(S).format(c);case"h":var b=Math.floor(v.hour()/g.digit)*g.digit;return v.hour(b).format(c);case"daily":case"custom":case"test":return v.format(c)}return v.format(c)},u.setAuditLog=function(g,c,p){var v=null;if(g){var S=g.toString().substr(-1),b=g.toString().match(/^(\d+)/);if(Number(b[1])>0){var D=t.dirname(p.replace(/%DATE%.+/,"_filename"));try{if(c){var d=t.resolve(c);v=JSON.parse(e.readFileSync(d,{encoding:"utf-8"}))}else{var d=t.resolve(D+"/.audit.json");v=JSON.parse(e.readFileSync(d,{encoding:"utf-8"}))}}catch(_){if(_.code!=="ENOENT")return null;v={keep:{days:!1,amount:Number(b[1])},auditLog:c||D+"/.audit.json",files:[]}}v.keep={days:S==="d",amount:Number(b[1])}}}return v},u.writeAuditLog=function(g,c){try{Q(g.auditLog),e.writeFileSync(g.auditLog,JSON.stringify(g,null,4))}catch(p){c&&console.error(new Date,"[FileStreamRotator] Failed to store log audit at:",g.auditLog,"Error:",p)}};function P(g,c){if(g.hash===r.createHash(g.hashType).update(g.name+"LOG_FILE"+g.date).digest("hex"))try{e.existsSync(g.name)&&e.unlinkSync(g.name)}catch{c&&console.error(new Date,"[FileStreamRotator] Could not remove old log file: ",g.name)}}function ee(g,c,p){let v=c||"current.log",S=t.dirname(g),b=t.basename(g),D=S+"/"+v;try{e.lstatSync(D).isSymbolicLink()&&(e.unlinkSync(D),e.symlinkSync(b,D))}catch(d){if(d&&d.code=="ENOENT")try{e.symlinkSync(b,D)}catch{p&&console.error(new Date,"[FileStreamRotator] Could not create symlink file: ",D," -> ",b)}}}function M(g,c,p){if(!g)return null;try{let v=e.lstatSync(g);return e.watch(g,function(S,b){if(S=="rename")try{let D=e.lstatSync(g)}catch(D){p(D,g)}})}catch{c&&console.log(new Date,"[FileStreamRotator] Could not add watcher for "+g)}}u.addLogToAudit=function(g,c,p,v){if(c&&c.files){var S=c.files.findIndex(function(o){return o.name===g});if(S!==-1)return c;var b=Date.now();if(c.files.push({date:b,name:g,hash:r.createHash(c.hashType).update(g+"LOG_FILE"+b).digest("hex")}),c.keep.days){var D=n().subtract(c.keep.amount,"days").valueOf(),d=c.files.filter(function(o){return o.date>D?!0:(o.hashType=c.hashType,P(o,v),p.emit("logRemoved",o),!1)});c.files=d}else{var _=c.files.splice(-c.keep.amount);c.files.length>0&&c.files.filter(function(o){return o.hashType=c.hashType,P(o,v),p.emit("logRemoved",o),!1}),c.files=_}u.writeAuditLog(c,v)}return c},u.getStream=function(g){var c=null,p=null,v=this;if(!g.filename)return console.error(new Date,"[FileStreamRotator] No filename supplied. Defaulting to STDOUT"),Ut.stdout;g.frequency&&(c=v.getFrequency(g.frequency));let S=v.setAuditLog(g.max_logs,g.audit_file,g.filename);S!=null&&(S.hashType=g.audit_hash_type!==void 0?g.audit_hash_type:"md5"),v.verbose=g.verbose!==void 0?g.verbose:!0;var b=null,D=0,d=0;g.size&&(b=u.parseFileSize(g.size));var _=g.date_format||E;c&&c.type=="daily"&&(g.date_format||(_="YYYY-MM-DD"),(n().format(_)!=n().endOf("day").format(_)||n().format(_)==n().add(1,"day").format(_))&&(v.verbose&&console.log(new Date,"[FileStreamRotator] Changing type to custom as date format changes more often than once a day or not every day"),c.type="custom")),c&&(p=g.frequency?v.getDate(c,_,g.utc):""),g.create_symlink=g.create_symlink||!1,g.extension=g.extension||"";var o=g.filename,f=null,a=o+(p?"."+p:"");if(o.match(/%DATE%/)&&(a=o.replace(/%DATE%/g,p||v.getDate(null,_,g.utc))),b){var m=null,w=a;if(S&&S.files&&S.files instanceof Array&&S.files.length>0){var W=S.files[S.files.length-1].name;if(W.match(w)){var R=W.match(w+"\\.(\\d+)");R&&(w=W,D=R[1])}}for(D==0&&w==a&&(w+=g.extension);e.existsSync(w);)m=w,D++,w=a+"."+D+g.extension;if(m){var j=e.statSync(m);j.size<b&&(w=m,D--,d=j.size)}a=w}else a+=g.extension;v.verbose&&console.log(new Date,"[FileStreamRotator] Logging to: ",a),Q(a);var I=g.file_options||{flags:"a"},B=e.createWriteStream(a,I);if(p&&c&&y.indexOf(c.type)>-1||b>0){v.verbose&&console.log(new Date,"[FileStreamRotator] Rotating file: ",c?c.type:"",b?"size: "+b:"");var z=new s;z.auditLog=S,z.end=function(){B.end.apply(B,arguments)},k(B,z),z.on("close",function(){X&&X.close()}),z.on("new",function(G){z.auditLog=v.addLogToAudit(G,z.auditLog,z,v.verbose),g.create_symlink&&ee(G,g.symlink_name,v.verbose),g.watch_log&&z.emit("addWatcher",G)});var X;return z.on("addWatcher",function(G){X&&X.close(),g.watch_log&&(X=M(G,v.verbose,function(ce,Ee){z.emit("createLog",Ee)}))}),z.on("createLog",function(G){try{let ce=e.lstatSync(G)}catch{B&&B.end=="function"&&B.end(),B=e.createWriteStream(G,I),z.emit("new",G),k(B,z)}}),z.write=(function(G,ce){var Ee=c?this.getDate(c,_,g.utc):p;if(Ee!=p||b&&d>b){var ge=o+(p&&c?"."+Ee:"");o.match(/%DATE%/)&&p&&(ge=o.replace(/%DATE%/g,Ee)),b&&d>b?(D++,ge+="."+D+g.extension):(D=0,ge+=g.extension),d=0,v.verbose&&console.log(new Date,Un.format("[FileStreamRotator] Changing logs from %s to %s",a,ge)),p=Ee,f=a,a=ge,g.end_stream===!0?B.end():B.destroy(),Q(a),B=e.createWriteStream(ge,I),z.emit("new",ge),z.emit("rotate",f,ge),k(B,z)}B.write(G,ce),d+=Wr.byteLength(G,ce)}).bind(this),Ut.nextTick(function(){z.emit("new",a)}),z.emit("new",a),z}else return v.verbose&&console.log(new Date,"[FileStreamRotator] File won't be rotated: ",g.frequency,g.size),Ut.nextTick(function(){B.emit("new",a)}),B};var Q=function(g){var c=t.dirname(g);c.split(t.sep).reduce(function(p,v){if(p+=v+t.sep,!e.existsSync(p))try{e.mkdirSync(p)}catch(S){if(S.code!=="EEXIST")throw S}return p},"")},k=function(g,c){g.on("close",function(){c.emit("close")}),g.on("finish",function(){c.emit("finish")}),g.on("error",function(p){c.emit("error",p)}),g.on("open",function(p){c.emit("open",p)})};return Ht}var Bt,An;function $o(){if(An)return Bt;An=1;const e=In,t=Cr,n=Cn,r=Un,s=Ur,u=Hr(),y=Ar().MESSAGE,E=Rr.PassThrough,F=Fr(),C={json:!1,colorize:!1,eol:t.EOL,logstash:null,prettyPrint:!1,label:null,stringify:!1,depth:null,showLevel:!0,timestamp:()=>new Date().toISOString()},P=function(M){M=M||{},F.call(this,M);function Q(p){Array.prototype.slice.call(arguments,1).forEach(v=>{if(M[v])throw new Error("Cannot set "+v+" and "+p+" together")})}function k(p){if(p&&typeof p=="string"){if(p.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/))return p}else if(p&&Number.isInteger(p)){const v=Math.round(p/1024);return v===0?"1k":v+"k"}return null}function g(p){return!/["<>|:*?\\/\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test(p)}function c(p){return!/["<>|\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test(p)}if(this.options=Object.assign({},C,M),M.stream)Q("stream","filename","maxsize"),this.logStream=new E,this.logStream.pipe(M.stream);else{if(this.filename=M.filename?n.basename(M.filename):"winston.log",this.dirname=M.dirname||n.dirname(M.filename),!g(this.filename)||!c(this.dirname))throw new Error("Your path or filename contain an invalid character.");this.logStream=Vo().getStream({filename:n.join(this.dirname,this.filename),frequency:M.frequency?M.frequency:"custom",date_format:M.datePattern?M.datePattern:"YYYY-MM-DD",verbose:!1,size:k(M.maxSize),max_logs:M.maxFiles,end_stream:!0,audit_file:M.auditFile?M.auditFile:n.join(this.dirname,"."+u(M)+"-audit.json"),file_options:M.options?M.options:{flags:"a"},utc:M.utc?M.utc:!1,extension:M.extension?M.extension:"",create_symlink:M.createSymlink?M.createSymlink:!1,symlink_name:M.symlinkName?M.symlinkName:"current.log",watch_log:M.watchLog?M.watchLog:!1,audit_hash_type:M.auditHashType?M.auditHashType:"sha256"}),this.logStream.on("new",p=>{this.emit("new",p)}),this.logStream.on("rotate",(p,v)=>{this.emit("rotate",p,v)}),this.logStream.on("logRemoved",p=>{if(M.zippedArchive){const v=p.name+".gz";try{e.unlinkSync(v)}catch(S){if(S.code!=="ENOENT"){S.message=`Error occurred while removing ${v}: ${S.message}`,this.emit("error",S);return}}this.emit("logRemoved",v);return}this.emit("logRemoved",p.name)}),M.zippedArchive&&this.logStream.on("rotate",p=>{try{if(!e.existsSync(p))return}catch(D){D.message=`Error occurred while checking existence of ${p}: ${D.message}`,this.emit("error",D);return}try{if(e.existsSync(`${p}.gz`))return}catch(D){D.message=`Error occurred while checking existence of ${p}.gz: ${D.message}`,this.emit("error",D);return}const v=s.createGzip(),S=e.createReadStream(p);S.on("error",D=>{D.message=`Error occurred while reading ${p}: ${D.message}`,this.emit("error",D)});const b=e.createWriteStream(p+".gz");b.on("error",D=>{D.message=`Error occurred while writing ${p}.gz: ${D.message}`,this.emit("error",D)}),S.pipe(v).pipe(b).on("finish",()=>{try{e.unlinkSync(p)}catch(D){if(D.code!=="ENOENT"){D.message=`Error occurred while removing ${p}: ${D.message}`,this.emit("error",D);return}}this.emit("archive",p+".gz")})}),M.watchLog&&this.logStream.on("addWatcher",p=>{this.emit("addWatcher",p)})}};Bt=P,r.inherits(P,F),P.prototype.name="dailyRotateFile";const ee=function(){};return P.prototype.log=function(M,Q){Q=Q||ee,this.logStream.write(M[y]+this.options.eol),this.emit("logged",M),Q(null,!0)},P.prototype.close=function(){this.logStream&&this.logStream.end(()=>{this.emit("finish")})},P.prototype.query=function(M,Q){if(typeof M=="function"&&(Q=M,M={}),!this.options.json)throw new Error("query() may not be used without the json option being set to true");if(!this.filename)throw new Error("query() may not be used when initializing with a stream");let k=[];M=M||{},M.rows=M.rows||M.limit||10,M.start=M.start||0,M.until=M.until||new Date,typeof M.until!="object"&&(M.until=new Date(M.until)),M.from=M.from||M.until-1440*60*1e3,typeof M.from!="object"&&(M.from=new Date(M.from)),M.order=M.order||"desc";const g=(()=>{const p=new RegExp(this.filename.replace("%DATE%",".*"),"i");return e.readdirSync(this.dirname).filter(v=>n.basename(v).match(p))})();g.length===0&&Q&&Q(null,k);const c=p=>{if(!p)return;const v=n.join(this.dirname,p);let S="",b;if(p.endsWith(".gz")){b=new E;const d=e.createReadStream(v);d.on("error",_=>{_.message=`Error occurred while reading ${v}: ${_.message}`,b.emit("error",_)}),d.pipe(s.createGunzip()).pipe(b)}else b=e.createReadStream(v,{encoding:"utf8"});b.on("error",d=>{if(b.readable&&b.destroy(),!!Q)return d.code==="ENOENT"?Q(null,k):Q(d)}),b.on("data",d=>{d=(S+d).split(/\n+/);const _=d.length-1;for(let o=0;o<_;o++)D(d[o]);S=d[_]}),b.on("end",()=>{if(S&&D(S,!0),g.length)c(g.shift());else if(Q){k.sort((o,f)=>{const a=new Date(o.timestamp).getTime(),m=new Date(f.timestamp).getTime();return a>m?1:a<m?-1:0}),M.order==="desc"&&(k=k.reverse());const d=M.start||0,_=M.limit||k.length;k=k.slice(d,d+_),M.fields&&(k=k.map(o=>{const f={};return M.fields.forEach(a=>{f[a]=o[a]}),f})),Q(null,k)}});function D(d,_){try{const o=JSON.parse(d);if(!o||typeof o!="object")return;const f=new Date(o.timestamp);if(M.from&&f<M.from||M.until&&f>M.until||M.level&&M.level!==o.level)return;k.push(o)}catch(o){_||b.emit("error",o)}}};c(g.shift())},Bt}var zt,Fn;function qo(){if(Fn)return zt;Fn=1;const e=Lr(),t=$o();return e.transports.DailyRotateFile=t,zt=t,zt}var Er=qo();const Zo=Nr(Er),yu=Pr({__proto__:null,default:Zo},[Er]);export{yu as i};
|
|
20
|
+
*/var e=In,t=Cn,n=Go,r=jr,s=Ir(),u={};Ht=u;var y=["daily","test","m","h","custom"],E="YYYYMMDDHHmm",F=function(g,c){if(typeof c=="number"){switch(g){case"m":if(c<0||c>60)return!1;break;case"h":if(c<0||c>24)return!1;break}return{type:g,digit:c}}},C=function(g){switch(g){case"custom":case"daily":return{type:g,digit:void 0};case"test":return{type:g,digit:0}}return!1};u.getFrequency=function(g){var c=g.toLowerCase().match(/^(\d+)([mh])$/);if(c)return F(c[2],parseInt(c[1]));var p=C(g);return p||!1},u.parseFileSize=function(g){if(g&&typeof g=="string"){var c=g.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/);if(c)switch(c[2]){case"k":return c[1]*1024;case"m":return c[1]*1024*1024;case"g":return c[1]*1024*1024*1024}}return null},u.getDate=function(g,c,p){c=c||E;let v=p?n.utc():n().local();if(g&&y.indexOf(g.type)!==-1)switch(g.type){case"m":var S=Math.floor(v.minutes()/g.digit)*g.digit;return v.minutes(S).format(c);case"h":var b=Math.floor(v.hour()/g.digit)*g.digit;return v.hour(b).format(c);case"daily":case"custom":case"test":return v.format(c)}return v.format(c)},u.setAuditLog=function(g,c,p){var v=null;if(g){var S=g.toString().substr(-1),b=g.toString().match(/^(\d+)/);if(Number(b[1])>0){var D=t.dirname(p.replace(/%DATE%.+/,"_filename"));try{if(c){var d=t.resolve(c);v=JSON.parse(e.readFileSync(d,{encoding:"utf-8"}))}else{var d=t.resolve(D+"/.audit.json");v=JSON.parse(e.readFileSync(d,{encoding:"utf-8"}))}}catch(_){if(_.code!=="ENOENT")return null;v={keep:{days:!1,amount:Number(b[1])},auditLog:c||D+"/.audit.json",files:[]}}v.keep={days:S==="d",amount:Number(b[1])}}}return v},u.writeAuditLog=function(g,c){try{Q(g.auditLog),e.writeFileSync(g.auditLog,JSON.stringify(g,null,4))}catch(p){c&&console.error(new Date,"[FileStreamRotator] Failed to store log audit at:",g.auditLog,"Error:",p)}};function P(g,c){if(g.hash===r.createHash(g.hashType).update(g.name+"LOG_FILE"+g.date).digest("hex"))try{e.existsSync(g.name)&&e.unlinkSync(g.name)}catch{c&&console.error(new Date,"[FileStreamRotator] Could not remove old log file: ",g.name)}}function ee(g,c,p){let v=c||"current.log",S=t.dirname(g),b=t.basename(g),D=S+"/"+v;try{e.lstatSync(D).isSymbolicLink()&&(e.unlinkSync(D),e.symlinkSync(b,D))}catch(d){if(d&&d.code=="ENOENT")try{e.symlinkSync(b,D)}catch{p&&console.error(new Date,"[FileStreamRotator] Could not create symlink file: ",D," -> ",b)}}}function M(g,c,p){if(!g)return null;try{let v=e.lstatSync(g);return e.watch(g,function(S,b){if(S=="rename")try{let D=e.lstatSync(g)}catch(D){p(D,g)}})}catch{c&&console.log(new Date,"[FileStreamRotator] Could not add watcher for "+g)}}u.addLogToAudit=function(g,c,p,v){if(c&&c.files){var S=c.files.findIndex(function(o){return o.name===g});if(S!==-1)return c;var b=Date.now();if(c.files.push({date:b,name:g,hash:r.createHash(c.hashType).update(g+"LOG_FILE"+b).digest("hex")}),c.keep.days){var D=n().subtract(c.keep.amount,"days").valueOf(),d=c.files.filter(function(o){return o.date>D?!0:(o.hashType=c.hashType,P(o,v),p.emit("logRemoved",o),!1)});c.files=d}else{var _=c.files.splice(-c.keep.amount);c.files.length>0&&c.files.filter(function(o){return o.hashType=c.hashType,P(o,v),p.emit("logRemoved",o),!1}),c.files=_}u.writeAuditLog(c,v)}return c},u.getStream=function(g){var c=null,p=null,v=this;if(!g.filename)return console.error(new Date,"[FileStreamRotator] No filename supplied. Defaulting to STDOUT"),Ut.stdout;g.frequency&&(c=v.getFrequency(g.frequency));let S=v.setAuditLog(g.max_logs,g.audit_file,g.filename);S!=null&&(S.hashType=g.audit_hash_type!==void 0?g.audit_hash_type:"md5"),v.verbose=g.verbose!==void 0?g.verbose:!0;var b=null,D=0,d=0;g.size&&(b=u.parseFileSize(g.size));var _=g.date_format||E;c&&c.type=="daily"&&(g.date_format||(_="YYYY-MM-DD"),(n().format(_)!=n().endOf("day").format(_)||n().format(_)==n().add(1,"day").format(_))&&(v.verbose&&console.log(new Date,"[FileStreamRotator] Changing type to custom as date format changes more often than once a day or not every day"),c.type="custom")),c&&(p=g.frequency?v.getDate(c,_,g.utc):""),g.create_symlink=g.create_symlink||!1,g.extension=g.extension||"";var o=g.filename,f=null,a=o+(p?"."+p:"");if(o.match(/%DATE%/)&&(a=o.replace(/%DATE%/g,p||v.getDate(null,_,g.utc))),b){var m=null,w=a;if(S&&S.files&&S.files instanceof Array&&S.files.length>0){var W=S.files[S.files.length-1].name;if(W.match(w)){var R=W.match(w+"\\.(\\d+)");R&&(w=W,D=R[1])}}for(D==0&&w==a&&(w+=g.extension);e.existsSync(w);)m=w,D++,w=a+"."+D+g.extension;if(m){var j=e.statSync(m);j.size<b&&(w=m,D--,d=j.size)}a=w}else a+=g.extension;v.verbose&&console.log(new Date,"[FileStreamRotator] Logging to: ",a),Q(a);var I=g.file_options||{flags:"a"},B=e.createWriteStream(a,I);if(p&&c&&y.indexOf(c.type)>-1||b>0){v.verbose&&console.log(new Date,"[FileStreamRotator] Rotating file: ",c?c.type:"",b?"size: "+b:"");var z=new s;z.auditLog=S,z.end=function(){B.end.apply(B,arguments)},k(B,z),z.on("close",function(){X&&X.close()}),z.on("new",function(G){z.auditLog=v.addLogToAudit(G,z.auditLog,z,v.verbose),g.create_symlink&&ee(G,g.symlink_name,v.verbose),g.watch_log&&z.emit("addWatcher",G)});var X;return z.on("addWatcher",function(G){X&&X.close(),g.watch_log&&(X=M(G,v.verbose,function(ce,Ee){z.emit("createLog",Ee)}))}),z.on("createLog",function(G){try{let ce=e.lstatSync(G)}catch{B&&B.end=="function"&&B.end(),B=e.createWriteStream(G,I),z.emit("new",G),k(B,z)}}),z.write=(function(G,ce){var Ee=c?this.getDate(c,_,g.utc):p;if(Ee!=p||b&&d>b){var ge=o+(p&&c?"."+Ee:"");o.match(/%DATE%/)&&p&&(ge=o.replace(/%DATE%/g,Ee)),b&&d>b?(D++,ge+="."+D+g.extension):(D=0,ge+=g.extension),d=0,v.verbose&&console.log(new Date,Un.format("[FileStreamRotator] Changing logs from %s to %s",a,ge)),p=Ee,f=a,a=ge,g.end_stream===!0?B.end():B.destroy(),Q(a),B=e.createWriteStream(ge,I),z.emit("new",ge),z.emit("rotate",f,ge),k(B,z)}B.write(G,ce),d+=Wr.byteLength(G,ce)}).bind(this),Ut.nextTick(function(){z.emit("new",a)}),z.emit("new",a),z}else return v.verbose&&console.log(new Date,"[FileStreamRotator] File won't be rotated: ",g.frequency,g.size),Ut.nextTick(function(){B.emit("new",a)}),B};var Q=function(g){var c=t.dirname(g);c.split(t.sep).reduce(function(p,v){if(p+=v+t.sep,!e.existsSync(p))try{e.mkdirSync(p)}catch(S){if(S.code!=="EEXIST")throw S}return p},"")},k=function(g,c){g.on("close",function(){c.emit("close")}),g.on("finish",function(){c.emit("finish")}),g.on("error",function(p){c.emit("error",p)}),g.on("open",function(p){c.emit("open",p)})};return Ht}var Bt,An;function $o(){if(An)return Bt;An=1;const e=In,t=Cr,n=Cn,r=Un,s=Ur,u=Hr(),y=Ar().MESSAGE,E=Rr.PassThrough,F=Fr(),C={json:!1,colorize:!1,eol:t.EOL,logstash:null,prettyPrint:!1,label:null,stringify:!1,depth:null,showLevel:!0,timestamp:()=>new Date().toISOString()},P=function(M){M=M||{},F.call(this,M);function Q(p){Array.prototype.slice.call(arguments,1).forEach(v=>{if(M[v])throw new Error("Cannot set "+v+" and "+p+" together")})}function k(p){if(p&&typeof p=="string"){if(p.toLowerCase().match(/^((?:0\.)?\d+)([kmg])$/))return p}else if(p&&Number.isInteger(p)){const v=Math.round(p/1024);return v===0?"1k":v+"k"}return null}function g(p){return!/["<>|:*?\\/\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test(p)}function c(p){return!/["<>|\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f]/g.test(p)}if(this.options=Object.assign({},C,M),M.stream)Q("stream","filename","maxsize"),this.logStream=new E,this.logStream.pipe(M.stream);else{if(this.filename=M.filename?n.basename(M.filename):"winston.log",this.dirname=M.dirname||n.dirname(M.filename),!g(this.filename)||!c(this.dirname))throw new Error("Your path or filename contain an invalid character.");this.logStream=Vo().getStream({filename:n.join(this.dirname,this.filename),frequency:M.frequency?M.frequency:"custom",date_format:M.datePattern?M.datePattern:"YYYY-MM-DD",verbose:!1,size:k(M.maxSize),max_logs:M.maxFiles,end_stream:!0,audit_file:M.auditFile?M.auditFile:n.join(this.dirname,"."+u(M)+"-audit.json"),file_options:M.options?M.options:{flags:"a"},utc:M.utc?M.utc:!1,extension:M.extension?M.extension:"",create_symlink:M.createSymlink?M.createSymlink:!1,symlink_name:M.symlinkName?M.symlinkName:"current.log",watch_log:M.watchLog?M.watchLog:!1,audit_hash_type:M.auditHashType?M.auditHashType:"sha256"}),this.logStream.on("new",p=>{this.emit("new",p)}),this.logStream.on("rotate",(p,v)=>{this.emit("rotate",p,v)}),this.logStream.on("logRemoved",p=>{if(M.zippedArchive){const v=p.name+".gz";try{e.unlinkSync(v)}catch(S){if(S.code!=="ENOENT"){S.message=`Error occurred while removing ${v}: ${S.message}`,this.emit("error",S);return}}this.emit("logRemoved",v);return}this.emit("logRemoved",p.name)}),M.zippedArchive&&this.logStream.on("rotate",p=>{try{if(!e.existsSync(p))return}catch(D){D.message=`Error occurred while checking existence of ${p}: ${D.message}`,this.emit("error",D);return}try{if(e.existsSync(`${p}.gz`))return}catch(D){D.message=`Error occurred while checking existence of ${p}.gz: ${D.message}`,this.emit("error",D);return}const v=s.createGzip(),S=e.createReadStream(p);S.on("error",D=>{D.message=`Error occurred while reading ${p}: ${D.message}`,this.emit("error",D)});const b=e.createWriteStream(p+".gz");b.on("error",D=>{D.message=`Error occurred while writing ${p}.gz: ${D.message}`,this.emit("error",D)}),S.pipe(v).pipe(b).on("finish",()=>{try{e.unlinkSync(p)}catch(D){if(D.code!=="ENOENT"){D.message=`Error occurred while removing ${p}: ${D.message}`,this.emit("error",D);return}}this.emit("archive",p+".gz")})}),M.watchLog&&this.logStream.on("addWatcher",p=>{this.emit("addWatcher",p)})}};Bt=P,r.inherits(P,F),P.prototype.name="dailyRotateFile";const ee=function(){};return P.prototype.log=function(M,Q){Q=Q||ee,this.logStream.write(M[y]+this.options.eol),this.emit("logged",M),Q(null,!0)},P.prototype.close=function(){this.logStream&&this.logStream.end(()=>{this.emit("finish")})},P.prototype.query=function(M,Q){if(typeof M=="function"&&(Q=M,M={}),!this.options.json)throw new Error("query() may not be used without the json option being set to true");if(!this.filename)throw new Error("query() may not be used when initializing with a stream");let k=[];M=M||{},M.rows=M.rows||M.limit||10,M.start=M.start||0,M.until=M.until||new Date,typeof M.until!="object"&&(M.until=new Date(M.until)),M.from=M.from||M.until-1440*60*1e3,typeof M.from!="object"&&(M.from=new Date(M.from)),M.order=M.order||"desc";const g=(()=>{const p=new RegExp(this.filename.replace("%DATE%",".*"),"i");return e.readdirSync(this.dirname).filter(v=>n.basename(v).match(p))})();g.length===0&&Q&&Q(null,k);const c=p=>{if(!p)return;const v=n.join(this.dirname,p);let S="",b;if(p.endsWith(".gz")){b=new E;const d=e.createReadStream(v);d.on("error",_=>{_.message=`Error occurred while reading ${v}: ${_.message}`,b.emit("error",_)}),d.pipe(s.createGunzip()).pipe(b)}else b=e.createReadStream(v,{encoding:"utf8"});b.on("error",d=>{if(b.readable&&b.destroy(),!!Q)return d.code==="ENOENT"?Q(null,k):Q(d)}),b.on("data",d=>{d=(S+d).split(/\n+/);const _=d.length-1;for(let o=0;o<_;o++)D(d[o]);S=d[_]}),b.on("end",()=>{if(S&&D(S,!0),g.length)c(g.shift());else if(Q){k.sort((o,f)=>{const a=new Date(o.timestamp).getTime(),m=new Date(f.timestamp).getTime();return a>m?1:a<m?-1:0}),M.order==="desc"&&(k=k.reverse());const d=M.start||0,_=M.limit||k.length;k=k.slice(d,d+_),M.fields&&(k=k.map(o=>{const f={};return M.fields.forEach(a=>{f[a]=o[a]}),f})),Q(null,k)}});function D(d,_){try{const o=JSON.parse(d);if(!o||typeof o!="object")return;const f=new Date(o.timestamp);if(M.from&&f<M.from||M.until&&f>M.until||M.level&&M.level!==o.level)return;k.push(o)}catch(o){_||b.emit("error",o)}}};c(g.shift())},Bt}var zt,Fn;function Zo(){if(Fn)return zt;Fn=1;const e=Lr(),t=$o();return e.transports.DailyRotateFile=t,zt=t,zt}var Er=Zo();const qo=Nr(Er),fu=Pr({__proto__:null,default:qo},[Er]);export{fu as i};
|