create-unibest 1.17.1 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/outfile.cjs CHANGED
@@ -1,101 +1,128 @@
1
1
  #!/usr/bin/env node
2
- "use strict";var Oo=Object.create;var wi=Object.defineProperty;var qo=Object.getOwnPropertyDescriptor;var To=Object.getOwnPropertyNames;var Mo=Object.getPrototypeOf,Po=Object.prototype.hasOwnProperty;var a=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports);var _o=(i,t,e,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of To(t))!Po.call(i,r)&&r!==e&&wi(i,r,{get:()=>t[r],enumerable:!(s=qo(t,r))||s.enumerable});return i};var D=(i,t,e)=>(e=i!=null?Oo(Mo(i)):{},_o(t||!i||!i.__esModule?wi(e,"default",{value:i,enumerable:!0}):e,i));var qi=a((Ma,Oi)=>{"use strict";function Co(i,t){var e=i;t.slice(0,-1).forEach(function(r){e=e[r]||{}});var s=t[t.length-1];return s in e}function Si(i){return typeof i=="number"||/^0x[0-9a-f]+$/i.test(i)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(i)}function $i(i,t){return t==="constructor"&&typeof i[t]=="function"||t==="__proto__"}Oi.exports=function(i,t){t||(t={});var e={bools:{},strings:{},unknownFn:null};typeof t.unknown=="function"&&(e.unknownFn=t.unknown),typeof t.boolean=="boolean"&&t.boolean?e.allBools=!0:[].concat(t.boolean).filter(Boolean).forEach(function(f){e.bools[f]=!0});var s={};function r(f){return s[f].some(function(T){return e.bools[T]})}Object.keys(t.alias||{}).forEach(function(f){s[f]=[].concat(t.alias[f]),s[f].forEach(function(T){s[T]=[f].concat(s[f].filter(function(U){return T!==U}))})}),[].concat(t.string).filter(Boolean).forEach(function(f){e.strings[f]=!0,s[f]&&[].concat(s[f]).forEach(function(T){e.strings[T]=!0})});var o=t.default||{},n={_:[]};function h(f,T){return e.allBools&&/^--[^=]+$/.test(T)||e.strings[f]||e.bools[f]||s[f]}function l(f,T,U){for(var b=f,mt=0;mt<T.length-1;mt++){var R=T[mt];if($i(b,R))return;b[R]===void 0&&(b[R]={}),(b[R]===Object.prototype||b[R]===Number.prototype||b[R]===String.prototype)&&(b[R]={}),b[R]===Array.prototype&&(b[R]=[]),b=b[R]}var G=T[T.length-1];$i(b,G)||((b===Object.prototype||b===Number.prototype||b===String.prototype)&&(b={}),b===Array.prototype&&(b=[]),b[G]===void 0||e.bools[G]||typeof b[G]=="boolean"?b[G]=U:Array.isArray(b[G])?b[G].push(U):b[G]=[b[G],U])}function u(f,T,U){if(!(U&&e.unknownFn&&!h(f,U)&&e.unknownFn(U)===!1)){var b=!e.strings[f]&&Si(T)?Number(T):T;l(n,f.split("."),b),(s[f]||[]).forEach(function(mt){l(n,mt.split("."),b)})}}Object.keys(e.bools).forEach(function(f){u(f,o[f]===void 0?!1:o[f])});var S=[];i.indexOf("--")!==-1&&(S=i.slice(i.indexOf("--")+1),i=i.slice(0,i.indexOf("--")));for(var m=0;m<i.length;m++){var c=i[m],p,q;if(/^--.+=/.test(c)){var pt=c.match(/^--([^=]+)=([\s\S]*)$/);p=pt[1];var E=pt[2];e.bools[p]&&(E=E!=="false"),u(p,E,c)}else if(/^--no-.+/.test(c))p=c.match(/^--no-(.+)/)[1],u(p,!1,c);else if(/^--.+/.test(c))p=c.match(/^--(.+)/)[1],q=i[m+1],q!==void 0&&!/^(-|--)[^-]/.test(q)&&!e.bools[p]&&!e.allBools&&(!s[p]||!r(p))?(u(p,q,c),m+=1):/^(true|false)$/.test(q)?(u(p,q==="true",c),m+=1):u(p,e.strings[p]?"":!0,c);else if(/^-[^-]+/.test(c)){for(var $=c.slice(1,-1).split(""),k=!1,P=0;P<$.length;P++){if(q=c.slice(P+2),q==="-"){u($[P],q,c);continue}if(/[A-Za-z]/.test($[P])&&q[0]==="="){u($[P],q.slice(1),c),k=!0;break}if(/[A-Za-z]/.test($[P])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(q)){u($[P],q,c),k=!0;break}if($[P+1]&&$[P+1].match(/\W/)){u($[P],c.slice(P+2),c),k=!0;break}else u($[P],e.strings[$[P]]?"":!0,c)}p=c.slice(-1)[0],!k&&p!=="-"&&(i[m+1]&&!/^(-|--)[^-]/.test(i[m+1])&&!e.bools[p]&&(!s[p]||!r(p))?(u(p,i[m+1],c),m+=1):i[m+1]&&/^(true|false)$/.test(i[m+1])?(u(p,i[m+1]==="true",c),m+=1):u(p,e.strings[p]?"":!0,c))}else if((!e.unknownFn||e.unknownFn(c)!==!1)&&n._.push(e.strings._||!Si(c)?c:Number(c)),t.stopEarly){n._.push.apply(n._,i.slice(m+1));break}}return Object.keys(o).forEach(function(f){Co(n,f.split("."))||(l(n,f.split("."),o[f]),(s[f]||[]).forEach(function(T){l(n,T.split("."),o[f])}))}),t["--"]?n["--"]=S.slice():S.forEach(function(f){n._.push(f)}),n}});var w=a((Pa,Mi)=>{"use strict";var{FORCE_COLOR:Io,NODE_DISABLE_COLORS:Do,TERM:Eo}=process.env,g={enabled:!Do&&Eo!=="dumb"&&Io!=="0",reset:v(0,0),bold:v(1,22),dim:v(2,22),italic:v(3,23),underline:v(4,24),inverse:v(7,27),hidden:v(8,28),strikethrough:v(9,29),black:v(30,39),red:v(31,39),green:v(32,39),yellow:v(33,39),blue:v(34,39),magenta:v(35,39),cyan:v(36,39),white:v(37,39),gray:v(90,39),grey:v(90,39),bgBlack:v(40,49),bgRed:v(41,49),bgGreen:v(42,49),bgYellow:v(43,49),bgBlue:v(44,49),bgMagenta:v(45,49),bgCyan:v(46,49),bgWhite:v(47,49)};function Ti(i,t){let e=0,s,r="",o="";for(;e<i.length;e++)s=i[e],r+=s.open,o+=s.close,t.includes(s.close)&&(t=t.replace(s.rgx,s.close+s.open));return r+t+o}function Ao(i,t){let e={has:i,keys:t};return e.reset=g.reset.bind(e),e.bold=g.bold.bind(e),e.dim=g.dim.bind(e),e.italic=g.italic.bind(e),e.underline=g.underline.bind(e),e.inverse=g.inverse.bind(e),e.hidden=g.hidden.bind(e),e.strikethrough=g.strikethrough.bind(e),e.black=g.black.bind(e),e.red=g.red.bind(e),e.green=g.green.bind(e),e.yellow=g.yellow.bind(e),e.blue=g.blue.bind(e),e.magenta=g.magenta.bind(e),e.cyan=g.cyan.bind(e),e.white=g.white.bind(e),e.gray=g.gray.bind(e),e.grey=g.grey.bind(e),e.bgBlack=g.bgBlack.bind(e),e.bgRed=g.bgRed.bind(e),e.bgGreen=g.bgGreen.bind(e),e.bgYellow=g.bgYellow.bind(e),e.bgBlue=g.bgBlue.bind(e),e.bgMagenta=g.bgMagenta.bind(e),e.bgCyan=g.bgCyan.bind(e),e.bgWhite=g.bgWhite.bind(e),e}function v(i,t){let e={open:`\x1B[${i}m`,close:`\x1B[${t}m`,rgx:new RegExp(`\\x1b\\[${t}m`,"g")};return function(s){return this!==void 0&&this.has!==void 0?(this.has.includes(i)||(this.has.push(i),this.keys.push(e)),s===void 0?this:g.enabled?Ti(this.keys,s+""):s+""):s===void 0?Ao([i],[e]):g.enabled?Ti([e],s+""):s+""}}Mi.exports=g});var _i=a((_a,Pi)=>{"use strict";Pi.exports=(i,t)=>{if(!(i.meta&&i.name!=="escape")){if(i.ctrl){if(i.name==="a")return"first";if(i.name==="c"||i.name==="d")return"abort";if(i.name==="e")return"last";if(i.name==="g")return"reset"}if(t){if(i.name==="j")return"down";if(i.name==="k")return"up"}return i.name==="return"||i.name==="enter"?"submit":i.name==="backspace"?"delete":i.name==="delete"?"deleteForward":i.name==="abort"?"abort":i.name==="escape"?"exit":i.name==="tab"?"next":i.name==="pagedown"?"nextPage":i.name==="pageup"?"prevPage":i.name==="home"?"home":i.name==="end"?"end":i.name==="up"?"up":i.name==="down"?"down":i.name==="right"?"right":i.name==="left"?"left":!1}}});var Ct=a((Ca,Ci)=>{"use strict";Ci.exports=i=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),e=new RegExp(t,"g");return typeof i=="string"?i.replace(e,""):i}});var x=a((Ia,Ii)=>{"use strict";var te="\x1B",y=`${te}[`,jo="\x07",ee={to(i,t){return t?`${y}${t+1};${i+1}H`:`${y}${i+1}G`},move(i,t){let e="";return i<0?e+=`${y}${-i}D`:i>0&&(e+=`${y}${i}C`),t<0?e+=`${y}${-t}A`:t>0&&(e+=`${y}${t}B`),e},up:(i=1)=>`${y}${i}A`,down:(i=1)=>`${y}${i}B`,forward:(i=1)=>`${y}${i}C`,backward:(i=1)=>`${y}${i}D`,nextLine:(i=1)=>`${y}E`.repeat(i),prevLine:(i=1)=>`${y}F`.repeat(i),left:`${y}G`,hide:`${y}?25l`,show:`${y}?25h`,save:`${te}7`,restore:`${te}8`},Ro={up:(i=1)=>`${y}S`.repeat(i),down:(i=1)=>`${y}T`.repeat(i)},Fo={screen:`${y}2J`,up:(i=1)=>`${y}1J`.repeat(i),down:(i=1)=>`${y}J`.repeat(i),line:`${y}2K`,lineEnd:`${y}K`,lineStart:`${y}1K`,lines(i){let t="";for(let e=0;e<i;e++)t+=this.line+(e<i-1?ee.up():"");return i&&(t+=ee.left),t}};Ii.exports={cursor:ee,scroll:Ro,erase:Fo,beep:jo}});var Ri=a((Da,ji)=>{"use strict";function Lo(i,t){var e=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!e){if(Array.isArray(i)||(e=Bo(i))||t&&i&&typeof i.length=="number"){e&&(i=e);var s=0,r=function(){};return{s:r,n:function(){return s>=i.length?{done:!0}:{done:!1,value:i[s++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,n=!1,h;return{s:function(){e=e.call(i)},n:function(){var u=e.next();return o=u.done,u},e:function(u){n=!0,h=u},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(n)throw h}}}}function Bo(i,t){if(i){if(typeof i=="string")return Di(i,t);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return Di(i,t)}}function Di(i,t){(t==null||t>i.length)&&(t=i.length);for(var e=0,s=new Array(t);e<t;e++)s[e]=i[e];return s}var Yo=Ct(),Ai=x(),Ei=Ai.erase,Ho=Ai.cursor,No=i=>[...Yo(i)].length;ji.exports=function(i,t){if(!t)return Ei.line+Ho.to(0);let e=0,s=i.split(/\r?\n/);var r=Lo(s),o;try{for(r.s();!(o=r.n()).done;){let n=o.value;e+=1+Math.floor(Math.max(No(n)-1,0)/t)}}catch(n){r.e(n)}finally{r.f()}return Ei.lines(e)}});var ie=a((Ea,Fi)=>{"use strict";var bt={arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",radioOn:"\u25C9",radioOff:"\u25EF",tick:"\u2714",cross:"\u2716",ellipsis:"\u2026",pointerSmall:"\u203A",line:"\u2500",pointer:"\u276F"},Vo={arrowUp:bt.arrowUp,arrowDown:bt.arrowDown,arrowLeft:bt.arrowLeft,arrowRight:bt.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"\u221A",cross:"\xD7",ellipsis:"...",pointerSmall:"\xBB",line:"\u2500",pointer:">"},ko=process.platform==="win32"?Vo:bt;Fi.exports=ko});var Bi=a((Aa,Li)=>{"use strict";var ut=w(),nt=ie(),se=Object.freeze({password:{scale:1,render:i=>"*".repeat(i.length)},emoji:{scale:2,render:i=>"\u{1F603}".repeat(i.length)},invisible:{scale:0,render:i=>""},default:{scale:1,render:i=>`${i}`}}),Uo=i=>se[i]||se.default,vt=Object.freeze({aborted:ut.red(nt.cross),done:ut.green(nt.tick),exited:ut.yellow(nt.cross),default:ut.cyan("?")}),Go=(i,t,e)=>t?vt.aborted:e?vt.exited:i?vt.done:vt.default,Jo=i=>ut.gray(i?nt.ellipsis:nt.pointerSmall),zo=(i,t)=>ut.gray(i?t?nt.pointerSmall:"+":nt.line);Li.exports={styles:se,render:Uo,symbols:vt,symbol:Go,delimiter:Jo,item:zo}});var Hi=a((ja,Yi)=>{"use strict";var Wo=Ct();Yi.exports=function(i,t){let e=String(Wo(i)||"").split(/\r?\n/);return t?e.map(s=>Math.ceil(s.length/t)).reduce((s,r)=>s+r):e.length}});var Vi=a((Ra,Ni)=>{"use strict";Ni.exports=(i,t={})=>{let e=Number.isSafeInteger(parseInt(t.margin))?new Array(parseInt(t.margin)).fill(" ").join(""):t.margin||"",s=t.width;return(i||"").split(/\r?\n/g).map(r=>r.split(/\s+/g).reduce((o,n)=>(n.length+e.length>=s||o[o.length-1].length+n.length+1<s?o[o.length-1]+=` ${n}`:o.push(`${e}${n}`),o),[e]).join(`
2
+ "use strict";var sm=Object.create;var es=Object.defineProperty;var rm=Object.getOwnPropertyDescriptor;var nm=Object.getOwnPropertyNames;var am=Object.getPrototypeOf,om=Object.prototype.hasOwnProperty;var d=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),cm=(t,e)=>{for(var i in e)es(t,i,{get:e[i],enumerable:!0})},lm=(t,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of nm(e))!om.call(t,r)&&r!==i&&es(t,r,{get:()=>e[r],enumerable:!(s=rm(e,r))||s.enumerable});return t};var H=(t,e,i)=>(i=t!=null?sm(am(t)):{},lm(e||!t||!t.__esModule?es(i,"default",{value:t,enumerable:!0}):i,t));var $n=d((My,Pn)=>{"use strict";function pm(t,e){var i=t;e.slice(0,-1).forEach(function(r){i=i[r]||{}});var s=e[e.length-1];return s in i}function qn(t){return typeof t=="number"||/^0x[0-9a-f]+$/i.test(t)?!0:/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(t)}function An(t,e){return e==="constructor"&&typeof t[e]=="function"||e==="__proto__"}Pn.exports=function(t,e){e||(e={});var i={bools:{},strings:{},unknownFn:null};typeof e.unknown=="function"&&(i.unknownFn=e.unknown),typeof e.boolean=="boolean"&&e.boolean?i.allBools=!0:[].concat(e.boolean).filter(Boolean).forEach(function(O){i.bools[O]=!0});var s={};function r(O){return s[O].some(function(R){return i.bools[R]})}Object.keys(e.alias||{}).forEach(function(O){s[O]=[].concat(e.alias[O]),s[O].forEach(function(R){s[R]=[O].concat(s[O].filter(function(V){return R!==V}))})}),[].concat(e.string).filter(Boolean).forEach(function(O){i.strings[O]=!0,s[O]&&[].concat(s[O]).forEach(function(R){i.strings[R]=!0})});var n=e.default||{},a={_:[]};function o(O,R){return i.allBools&&/^--[^=]+$/.test(R)||i.strings[O]||i.bools[O]||s[O]}function l(O,R,V){for(var P=O,F=0;F<R.length-1;F++){var A=R[F];if(An(P,A))return;P[A]===void 0&&(P[A]={}),(P[A]===Object.prototype||P[A]===Number.prototype||P[A]===String.prototype)&&(P[A]={}),P[A]===Array.prototype&&(P[A]=[]),P=P[A]}var se=R[R.length-1];An(P,se)||((P===Object.prototype||P===Number.prototype||P===String.prototype)&&(P={}),P===Array.prototype&&(P=[]),P[se]===void 0||i.bools[se]||typeof P[se]=="boolean"?P[se]=V:Array.isArray(P[se])?P[se].push(V):P[se]=[P[se],V])}function c(O,R,V){if(!(V&&i.unknownFn&&!o(O,V)&&i.unknownFn(V)===!1)){var P=!i.strings[O]&&qn(R)?Number(R):R;l(a,O.split("."),P),(s[O]||[]).forEach(function(F){l(a,F.split("."),P)})}}Object.keys(i.bools).forEach(function(O){c(O,n[O]===void 0?!1:n[O])});var u=[];t.indexOf("--")!==-1&&(u=t.slice(t.indexOf("--")+1),t=t.slice(0,t.indexOf("--")));for(var m=0;m<t.length;m++){var h=t[m],b,f;if(/^--.+=/.test(h)){var S=h.match(/^--([^=]+)=([\s\S]*)$/);b=S[1];var y=S[2];i.bools[b]&&(y=y!=="false"),c(b,y,h)}else if(/^--no-.+/.test(h))b=h.match(/^--no-(.+)/)[1],c(b,!1,h);else if(/^--.+/.test(h))b=h.match(/^--(.+)/)[1],f=t[m+1],f!==void 0&&!/^(-|--)[^-]/.test(f)&&!i.bools[b]&&!i.allBools&&(!s[b]||!r(b))?(c(b,f,h),m+=1):/^(true|false)$/.test(f)?(c(b,f==="true",h),m+=1):c(b,i.strings[b]?"":!0,h);else if(/^-[^-]+/.test(h)){for(var T=h.slice(1,-1).split(""),C=!1,k=0;k<T.length;k++){if(f=h.slice(k+2),f==="-"){c(T[k],f,h);continue}if(/[A-Za-z]/.test(T[k])&&f[0]==="="){c(T[k],f.slice(1),h),C=!0;break}if(/[A-Za-z]/.test(T[k])&&/-?\d+(\.\d*)?(e-?\d+)?$/.test(f)){c(T[k],f,h),C=!0;break}if(T[k+1]&&T[k+1].match(/\W/)){c(T[k],h.slice(k+2),h),C=!0;break}else c(T[k],i.strings[T[k]]?"":!0,h)}b=h.slice(-1)[0],!C&&b!=="-"&&(t[m+1]&&!/^(-|--)[^-]/.test(t[m+1])&&!i.bools[b]&&(!s[b]||!r(b))?(c(b,t[m+1],h),m+=1):t[m+1]&&/^(true|false)$/.test(t[m+1])?(c(b,t[m+1]==="true",h),m+=1):c(b,i.strings[b]?"":!0,h))}else if((!i.unknownFn||i.unknownFn(h)!==!1)&&a._.push(i.strings._||!qn(h)?h:Number(h)),e.stopEarly){a._.push.apply(a._,t.slice(m+1));break}}return Object.keys(n).forEach(function(O){pm(a,O.split("."))||(l(a,O.split("."),n[O]),(s[O]||[]).forEach(function(R){l(a,R.split("."),n[O])}))}),e["--"]?a["--"]=u.slice():u.forEach(function(O){a._.push(O)}),a}});var G=d((Fy,Dn)=>{"use strict";var{FORCE_COLOR:um,NODE_DISABLE_COLORS:dm,TERM:mm}=process.env,z={enabled:!dm&&mm!=="dumb"&&um!=="0",reset:Y(0,0),bold:Y(1,22),dim:Y(2,22),italic:Y(3,23),underline:Y(4,24),inverse:Y(7,27),hidden:Y(8,28),strikethrough:Y(9,29),black:Y(30,39),red:Y(31,39),green:Y(32,39),yellow:Y(33,39),blue:Y(34,39),magenta:Y(35,39),cyan:Y(36,39),white:Y(37,39),gray:Y(90,39),grey:Y(90,39),bgBlack:Y(40,49),bgRed:Y(41,49),bgGreen:Y(42,49),bgYellow:Y(43,49),bgBlue:Y(44,49),bgMagenta:Y(45,49),bgCyan:Y(46,49),bgWhite:Y(47,49)};function Cn(t,e){let i=0,s,r="",n="";for(;i<t.length;i++)s=t[i],r+=s.open,n+=s.close,e.includes(s.close)&&(e=e.replace(s.rgx,s.close+s.open));return r+e+n}function hm(t,e){let i={has:t,keys:e};return i.reset=z.reset.bind(i),i.bold=z.bold.bind(i),i.dim=z.dim.bind(i),i.italic=z.italic.bind(i),i.underline=z.underline.bind(i),i.inverse=z.inverse.bind(i),i.hidden=z.hidden.bind(i),i.strikethrough=z.strikethrough.bind(i),i.black=z.black.bind(i),i.red=z.red.bind(i),i.green=z.green.bind(i),i.yellow=z.yellow.bind(i),i.blue=z.blue.bind(i),i.magenta=z.magenta.bind(i),i.cyan=z.cyan.bind(i),i.white=z.white.bind(i),i.gray=z.gray.bind(i),i.grey=z.grey.bind(i),i.bgBlack=z.bgBlack.bind(i),i.bgRed=z.bgRed.bind(i),i.bgGreen=z.bgGreen.bind(i),i.bgYellow=z.bgYellow.bind(i),i.bgBlue=z.bgBlue.bind(i),i.bgMagenta=z.bgMagenta.bind(i),i.bgCyan=z.bgCyan.bind(i),i.bgWhite=z.bgWhite.bind(i),i}function Y(t,e){let i={open:`\x1B[${t}m`,close:`\x1B[${e}m`,rgx:new RegExp(`\\x1b\\[${e}m`,"g")};return function(s){return this!==void 0&&this.has!==void 0?(this.has.includes(t)||(this.has.push(t),this.keys.push(i)),s===void 0?this:z.enabled?Cn(this.keys,s+""):s+""):s===void 0?hm([t],[i]):z.enabled?Cn([i],s+""):s+""}}Dn.exports=z});var Mn=d((Iy,Ln)=>{"use strict";Ln.exports=(t,e)=>{if(!(t.meta&&t.name!=="escape")){if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c"||t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(e){if(t.name==="j")return"down";if(t.name==="k")return"up"}return t.name==="return"||t.name==="enter"?"submit":t.name==="backspace"?"delete":t.name==="delete"?"deleteForward":t.name==="abort"?"abort":t.name==="escape"?"exit":t.name==="tab"?"next":t.name==="pagedown"?"nextPage":t.name==="pageup"?"prevPage":t.name==="home"?"home":t.name==="end"?"end":t.name==="up"?"up":t.name==="down"?"down":t.name==="right"?"right":t.name==="left"?"left":!1}}});var ni=d((By,Fn)=>{"use strict";Fn.exports=t=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),i=new RegExp(e,"g");return typeof t=="string"?t.replace(i,""):t}});var K=d((Uy,In)=>{"use strict";var ts="\x1B",J=`${ts}[`,fm="\x07",is={to(t,e){return e?`${J}${e+1};${t+1}H`:`${J}${t+1}G`},move(t,e){let i="";return t<0?i+=`${J}${-t}D`:t>0&&(i+=`${J}${t}C`),e<0?i+=`${J}${-e}A`:e>0&&(i+=`${J}${e}B`),i},up:(t=1)=>`${J}${t}A`,down:(t=1)=>`${J}${t}B`,forward:(t=1)=>`${J}${t}C`,backward:(t=1)=>`${J}${t}D`,nextLine:(t=1)=>`${J}E`.repeat(t),prevLine:(t=1)=>`${J}F`.repeat(t),left:`${J}G`,hide:`${J}?25l`,show:`${J}?25h`,save:`${ts}7`,restore:`${ts}8`},xm={up:(t=1)=>`${J}S`.repeat(t),down:(t=1)=>`${J}T`.repeat(t)},vm={screen:`${J}2J`,up:(t=1)=>`${J}1J`.repeat(t),down:(t=1)=>`${J}J`.repeat(t),line:`${J}2K`,lineEnd:`${J}K`,lineStart:`${J}1K`,lines(t){let e="";for(let i=0;i<t;i++)e+=this.line+(i<t-1?is.up():"");return t&&(e+=is.left),e}};In.exports={cursor:is,scroll:xm,erase:vm,beep:fm}});var Hn=d((Ny,zn)=>{"use strict";function bm(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=gm(t))||e&&t&&typeof t.length=="number"){i&&(t=i);var s=0,r=function(){};return{s:r,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n=!0,a=!1,o;return{s:function(){i=i.call(t)},n:function(){var c=i.next();return n=c.done,c},e:function(c){a=!0,o=c},f:function(){try{!n&&i.return!=null&&i.return()}finally{if(a)throw o}}}}function gm(t,e){if(t){if(typeof t=="string")return Bn(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Bn(t,e)}}function Bn(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}var ym=ni(),Nn=K(),Un=Nn.erase,wm=Nn.cursor,Sm=t=>[...ym(t)].length;zn.exports=function(t,e){if(!e)return Un.line+wm.to(0);let i=0,s=t.split(/\r?\n/);var r=bm(s),n;try{for(r.s();!(n=r.n()).done;){let a=n.value;i+=1+Math.floor(Math.max(Sm(a)-1,0)/e)}}catch(a){r.e(a)}finally{r.f()}return Un.lines(i)}});var ss=d((zy,Vn)=>{"use strict";var Tt={arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",radioOn:"\u25C9",radioOff:"\u25EF",tick:"\u2714",cross:"\u2716",ellipsis:"\u2026",pointerSmall:"\u203A",line:"\u2500",pointer:"\u276F"},_m={arrowUp:Tt.arrowUp,arrowDown:Tt.arrowDown,arrowLeft:Tt.arrowLeft,arrowRight:Tt.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"\u221A",cross:"\xD7",ellipsis:"...",pointerSmall:"\xBB",line:"\u2500",pointer:">"},Em=process.platform==="win32"?_m:Tt;Vn.exports=Em});var Wn=d((Hy,Yn)=>{"use strict";var nt=G(),Ye=ss(),rs=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"\u{1F603}".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}}),Tm=t=>rs[t]||rs.default,Ot=Object.freeze({aborted:nt.red(Ye.cross),done:nt.green(Ye.tick),exited:nt.yellow(Ye.cross),default:nt.cyan("?")}),Om=(t,e,i)=>e?Ot.aborted:i?Ot.exited:t?Ot.done:Ot.default,km=t=>nt.gray(t?Ye.ellipsis:Ye.pointerSmall),jm=(t,e)=>nt.gray(t?e?Ye.pointerSmall:"+":Ye.line);Yn.exports={styles:rs,render:Tm,symbols:Ot,symbol:Om,delimiter:km,item:jm}});var Jn=d((Vy,Gn)=>{"use strict";var Rm=ni();Gn.exports=function(t,e){let i=String(Rm(t)||"").split(/\r?\n/);return e?i.map(s=>Math.ceil(s.length/e)).reduce((s,r)=>s+r):i.length}});var Xn=d((Yy,Kn)=>{"use strict";Kn.exports=(t,e={})=>{let i=Number.isSafeInteger(parseInt(e.margin))?new Array(parseInt(e.margin)).fill(" ").join(""):e.margin||"",s=e.width;return(t||"").split(/\r?\n/g).map(r=>r.split(/\s+/g).reduce((n,a)=>(a.length+i.length>=s||n[n.length-1].length+a.length+1<s?n[n.length-1]+=` ${a}`:n.push(`${i}${a}`),n),[i]).join(`
4
4
  `)).join(`
5
- `)}});var Ui=a((Fa,ki)=>{"use strict";ki.exports=(i,t,e)=>{e=e||t;let s=Math.min(t-e,i-Math.floor(e/2));s<0&&(s=0);let r=Math.min(s+e,t);return{startIndex:s,endIndex:r}}});var A=a((La,Gi)=>{"use strict";Gi.exports={action:_i(),clear:Ri(),style:Bi(),strip:Ct(),figures:ie(),lines:Hi(),wrap:Vi(),entriesToDisplay:Ui()}});var J=a((Ba,Wi)=>{"use strict";var Ji=require("readline"),Ko=A(),Zo=Ko.action,Xo=require("events"),zi=x(),Qo=zi.beep,th=zi.cursor,eh=w(),re=class extends Xo{constructor(t={}){super(),this.firstRender=!0,this.in=t.stdin||process.stdin,this.out=t.stdout||process.stdout,this.onRender=(t.onRender||(()=>{})).bind(this);let e=Ji.createInterface({input:this.in,escapeCodeTimeout:50});Ji.emitKeypressEvents(this.in,e),this.in.isTTY&&this.in.setRawMode(!0);let s=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1,r=(o,n)=>{let h=Zo(n,s);h===!1?this._&&this._(o,n):typeof this[h]=="function"?this[h](n):this.bell()};this.close=()=>{this.out.write(th.show),this.in.removeListener("keypress",r),this.in.isTTY&&this.in.setRawMode(!1),e.close(),this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value),this.closed=!0},this.in.on("keypress",r)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(Qo)}render(){this.onRender(eh),this.firstRender&&(this.firstRender=!1)}};Wi.exports=re});var ts=a((Ya,Qi)=>{"use strict";function Ki(i,t,e,s,r,o,n){try{var h=i[o](n),l=h.value}catch(u){e(u);return}h.done?t(l):Promise.resolve(l).then(s,r)}function Zi(i){return function(){var t=this,e=arguments;return new Promise(function(s,r){var o=i.apply(t,e);function n(l){Ki(o,s,r,n,h,"next",l)}function h(l){Ki(o,s,r,n,h,"throw",l)}n(void 0)})}}var It=w(),ih=J(),Xi=x(),sh=Xi.erase,wt=Xi.cursor,Dt=A(),ne=Dt.style,oe=Dt.clear,rh=Dt.lines,nh=Dt.figures,he=class extends ih{constructor(t={}){super(t),this.transform=ne.render(t.style),this.scale=this.transform.scale,this.msg=t.message,this.initial=t.initial||"",this.validator=t.validate||(()=>!0),this.value="",this.errorMsg=t.error||"Please Enter A Valid Value",this.cursor=+!!this.initial,this.cursorOffset=0,this.clear=oe("",this.out.columns),this.render()}set value(t){!t&&this.initial?(this.placeholder=!0,this.rendered=It.gray(this.transform.render(this.initial))):(this.placeholder=!1,this.rendered=this.transform.render(t)),this._value=t,this.fire()}get value(){return this._value}reset(){this.value="",this.cursor=+!!this.initial,this.cursorOffset=0,this.fire(),this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial,this.done=this.aborted=!0,this.error=!1,this.red=!1,this.fire(),this.render(),this.out.write(`
6
- `),this.close()}validate(){var t=this;return Zi(function*(){let e=yield t.validator(t.value);typeof e=="string"&&(t.errorMsg=e,e=!1),t.error=!e})()}submit(){var t=this;return Zi(function*(){if(t.value=t.value||t.initial,t.cursorOffset=0,t.cursor=t.rendered.length,yield t.validate(),t.error){t.red=!0,t.fire(),t.render();return}t.done=!0,t.aborted=!1,t.fire(),t.render(),t.out.write(`
7
- `),t.close()})()}next(){if(!this.placeholder)return this.bell();this.value=this.initial,this.cursor=this.rendered.length,this.fire(),this.render()}moveCursor(t){this.placeholder||(this.cursor=this.cursor+t,this.cursorOffset+=t)}_(t,e){let s=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.value=`${s}${t}${r}`,this.red=!1,this.cursor=this.placeholder?0:s.length+1,this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1),e=this.value.slice(this.cursor);this.value=`${t}${e}`,this.red=!1,this.isCursorAtStart()?this.cursorOffset=0:(this.cursorOffset++,this.moveCursor(-1)),this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor),e=this.value.slice(this.cursor+1);this.value=`${t}${e}`,this.red=!1,this.isCursorAtEnd()?this.cursorOffset=0:this.cursorOffset++,this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length,this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1),this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1),this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(wt.down(rh(this.outputError,this.out.columns)-1)+oe(this.outputError,this.out.columns)),this.out.write(oe(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[ne.symbol(this.done,this.aborted),It.bold(this.msg),ne.delimiter(this.done),this.red?It.red(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
8
- `).reduce((t,e,s)=>t+`
9
- ${s?" ":nh.pointerSmall} ${It.red().italic(e)}`,"")),this.out.write(sh.line+wt.to(0)+this.outputText+wt.save+this.outputError+wt.restore+wt.move(this.cursorOffset,0)))}};Qi.exports=he});var rs=a((Ha,ss)=>{"use strict";var z=w(),oh=J(),yt=A(),es=yt.style,is=yt.clear,Et=yt.figures,hh=yt.wrap,lh=yt.entriesToDisplay,uh=x(),ah=uh.cursor,le=class extends oh{constructor(t={}){super(t),this.msg=t.message,this.hint=t.hint||"- Use arrow-keys. Return to submit.",this.warn=t.warn||"- This option is disabled",this.cursor=t.initial||0,this.choices=t.choices.map((e,s)=>(typeof e=="string"&&(e={title:e,value:s}),{title:e&&(e.title||e.value||e),value:e&&(e.value===void 0?s:e.value),description:e&&e.description,selected:e&&e.selected,disabled:e&&e.disabled})),this.optionsPerPage=t.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=is("",this.out.columns),this.render()}moveCursor(t){this.cursor=t,this.value=this.choices[t].value,this.fire()}reset(){this.moveCursor(0),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
5
+ `)}});var Qn=d((Wy,Zn)=>{"use strict";Zn.exports=(t,e,i)=>{i=i||e;let s=Math.min(e-i,t-Math.floor(i/2));s<0&&(s=0);let r=Math.min(s+i,e);return{startIndex:s,endIndex:r}}});var fe=d((Gy,ea)=>{"use strict";ea.exports={action:Mn(),clear:Hn(),style:Wn(),strip:ni(),figures:ss(),lines:Jn(),wrap:Xn(),entriesToDisplay:Qn()}});var Re=d((Jy,sa)=>{"use strict";var ta=require("readline"),qm=fe(),Am=qm.action,Pm=require("events"),ia=K(),$m=ia.beep,Cm=ia.cursor,Dm=G(),ns=class extends Pm{constructor(e={}){super(),this.firstRender=!0,this.in=e.stdin||process.stdin,this.out=e.stdout||process.stdout,this.onRender=(e.onRender||(()=>{})).bind(this);let i=ta.createInterface({input:this.in,escapeCodeTimeout:50});ta.emitKeypressEvents(this.in,i),this.in.isTTY&&this.in.setRawMode(!0);let s=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1,r=(n,a)=>{let o=Am(a,s);o===!1?this._&&this._(n,a):typeof this[o]=="function"?this[o](a):this.bell()};this.close=()=>{this.out.write(Cm.show),this.in.removeListener("keypress",r),this.in.isTTY&&this.in.setRawMode(!1),i.close(),this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value),this.closed=!0},this.in.on("keypress",r)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write($m)}render(){this.onRender(Dm),this.firstRender&&(this.firstRender=!1)}};sa.exports=ns});var ca=d((Ky,oa)=>{"use strict";function ra(t,e,i,s,r,n,a){try{var o=t[n](a),l=o.value}catch(c){i(c);return}o.done?e(l):Promise.resolve(l).then(s,r)}function na(t){return function(){var e=this,i=arguments;return new Promise(function(s,r){var n=t.apply(e,i);function a(l){ra(n,s,r,a,o,"next",l)}function o(l){ra(n,s,r,a,o,"throw",l)}a(void 0)})}}var ai=G(),Lm=Re(),aa=K(),Mm=aa.erase,kt=aa.cursor,oi=fe(),as=oi.style,os=oi.clear,Fm=oi.lines,Im=oi.figures,cs=class extends Lm{constructor(e={}){super(e),this.transform=as.render(e.style),this.scale=this.transform.scale,this.msg=e.message,this.initial=e.initial||"",this.validator=e.validate||(()=>!0),this.value="",this.errorMsg=e.error||"Please Enter A Valid Value",this.cursor=+!!this.initial,this.cursorOffset=0,this.clear=os("",this.out.columns),this.render()}set value(e){!e&&this.initial?(this.placeholder=!0,this.rendered=ai.gray(this.transform.render(this.initial))):(this.placeholder=!1,this.rendered=this.transform.render(e)),this._value=e,this.fire()}get value(){return this._value}reset(){this.value="",this.cursor=+!!this.initial,this.cursorOffset=0,this.fire(),this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial,this.done=this.aborted=!0,this.error=!1,this.red=!1,this.fire(),this.render(),this.out.write(`
6
+ `),this.close()}validate(){var e=this;return na(function*(){let i=yield e.validator(e.value);typeof i=="string"&&(e.errorMsg=i,i=!1),e.error=!i})()}submit(){var e=this;return na(function*(){if(e.value=e.value||e.initial,e.cursorOffset=0,e.cursor=e.rendered.length,yield e.validate(),e.error){e.red=!0,e.fire(),e.render();return}e.done=!0,e.aborted=!1,e.fire(),e.render(),e.out.write(`
7
+ `),e.close()})()}next(){if(!this.placeholder)return this.bell();this.value=this.initial,this.cursor=this.rendered.length,this.fire(),this.render()}moveCursor(e){this.placeholder||(this.cursor=this.cursor+e,this.cursorOffset+=e)}_(e,i){let s=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.value=`${s}${e}${r}`,this.red=!1,this.cursor=this.placeholder?0:s.length+1,this.render()}delete(){if(this.isCursorAtStart())return this.bell();let e=this.value.slice(0,this.cursor-1),i=this.value.slice(this.cursor);this.value=`${e}${i}`,this.red=!1,this.isCursorAtStart()?this.cursorOffset=0:(this.cursorOffset++,this.moveCursor(-1)),this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let e=this.value.slice(0,this.cursor),i=this.value.slice(this.cursor+1);this.value=`${e}${i}`,this.red=!1,this.isCursorAtEnd()?this.cursorOffset=0:this.cursorOffset++,this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length,this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1),this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1),this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(kt.down(Fm(this.outputError,this.out.columns)-1)+os(this.outputError,this.out.columns)),this.out.write(os(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[as.symbol(this.done,this.aborted),ai.bold(this.msg),as.delimiter(this.done),this.red?ai.red(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
8
+ `).reduce((e,i,s)=>e+`
9
+ ${s?" ":Im.pointerSmall} ${ai.red().italic(i)}`,"")),this.out.write(Mm.line+kt.to(0)+this.outputText+kt.save+this.outputError+kt.restore+kt.move(this.cursorOffset,0)))}};oa.exports=cs});var da=d((Xy,ua)=>{"use strict";var qe=G(),Bm=Re(),jt=fe(),la=jt.style,pa=jt.clear,ci=jt.figures,Um=jt.wrap,Nm=jt.entriesToDisplay,zm=K(),Hm=zm.cursor,ls=class extends Bm{constructor(e={}){super(e),this.msg=e.message,this.hint=e.hint||"- Use arrow-keys. Return to submit.",this.warn=e.warn||"- This option is disabled",this.cursor=e.initial||0,this.choices=e.choices.map((i,s)=>(typeof i=="string"&&(i={title:i,value:s}),{title:i&&(i.title||i.value||i),value:i&&(i.value===void 0?s:i.value),description:i&&i.description,selected:i&&i.selected,disabled:i&&i.disabled})),this.optionsPerPage=e.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=pa("",this.out.columns),this.render()}moveCursor(e){this.cursor=e,this.value=this.choices[e].value,this.fire()}reset(){this.moveCursor(0),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
10
10
  `),this.close()}submit(){this.selection.disabled?this.bell():(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
11
- `),this.close())}first(){this.moveCursor(0),this.render()}last(){this.moveCursor(this.choices.length-1),this.render()}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render()}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render()}_(t,e){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(ah.hide):this.out.write(is(this.outputText,this.out.columns)),super.render();let t=lh(this.cursor,this.choices.length,this.optionsPerPage),e=t.startIndex,s=t.endIndex;if(this.outputText=[es.symbol(this.done,this.aborted),z.bold(this.msg),es.delimiter(!1),this.done?this.selection.title:this.selection.disabled?z.yellow(this.warn):z.gray(this.hint)].join(" "),!this.done){this.outputText+=`
12
- `;for(let r=e;r<s;r++){let o,n,h="",l=this.choices[r];r===e&&e>0?n=Et.arrowUp:r===s-1&&s<this.choices.length?n=Et.arrowDown:n=" ",l.disabled?(o=this.cursor===r?z.gray().underline(l.title):z.strikethrough().gray(l.title),n=(this.cursor===r?z.bold().gray(Et.pointer)+" ":" ")+n):(o=this.cursor===r?z.cyan().underline(l.title):l.title,n=(this.cursor===r?z.cyan(Et.pointer)+" ":" ")+n,l.description&&this.cursor===r&&(h=` - ${l.description}`,(n.length+o.length+h.length>=this.out.columns||l.description.split(/\r?\n/).length>1)&&(h=`
13
- `+hh(l.description,{margin:3,width:this.out.columns})))),this.outputText+=`${n} ${o}${z.gray(h)}
14
- `}}this.out.write(this.outputText)}};ss.exports=le});var as=a((Na,us)=>{"use strict";var At=w(),ch=J(),hs=A(),ns=hs.style,dh=hs.clear,ls=x(),os=ls.cursor,fh=ls.erase,ue=class extends ch{constructor(t={}){super(t),this.msg=t.message,this.value=!!t.initial,this.active=t.active||"on",this.inactive=t.inactive||"off",this.initialValue=this.value,this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
11
+ `),this.close())}first(){this.moveCursor(0),this.render()}last(){this.moveCursor(this.choices.length-1),this.render()}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render()}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render()}_(e,i){if(e===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(Hm.hide):this.out.write(pa(this.outputText,this.out.columns)),super.render();let e=Nm(this.cursor,this.choices.length,this.optionsPerPage),i=e.startIndex,s=e.endIndex;if(this.outputText=[la.symbol(this.done,this.aborted),qe.bold(this.msg),la.delimiter(!1),this.done?this.selection.title:this.selection.disabled?qe.yellow(this.warn):qe.gray(this.hint)].join(" "),!this.done){this.outputText+=`
12
+ `;for(let r=i;r<s;r++){let n,a,o="",l=this.choices[r];r===i&&i>0?a=ci.arrowUp:r===s-1&&s<this.choices.length?a=ci.arrowDown:a=" ",l.disabled?(n=this.cursor===r?qe.gray().underline(l.title):qe.strikethrough().gray(l.title),a=(this.cursor===r?qe.bold().gray(ci.pointer)+" ":" ")+a):(n=this.cursor===r?qe.cyan().underline(l.title):l.title,a=(this.cursor===r?qe.cyan(ci.pointer)+" ":" ")+a,l.description&&this.cursor===r&&(o=` - ${l.description}`,(a.length+n.length+o.length>=this.out.columns||l.description.split(/\r?\n/).length>1)&&(o=`
13
+ `+Um(l.description,{margin:3,width:this.out.columns})))),this.outputText+=`${a} ${n}${qe.gray(o)}
14
+ `}}this.out.write(this.outputText)}};ua.exports=ls});var ba=d((Zy,va)=>{"use strict";var li=G(),Vm=Re(),fa=fe(),ma=fa.style,Ym=fa.clear,xa=K(),ha=xa.cursor,Wm=xa.erase,ps=class extends Vm{constructor(e={}){super(e),this.msg=e.message,this.value=!!e.initial,this.active=e.active||"on",this.inactive=e.inactive||"off",this.initialValue=this.value,this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
15
15
  `),this.close()}submit(){this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
16
- `),this.close()}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render()}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value,this.fire(),this.render()}_(t,e){if(t===" ")this.value=!this.value;else if(t==="1")this.value=!0;else if(t==="0")this.value=!1;else return this.bell();this.render()}render(){this.closed||(this.firstRender?this.out.write(os.hide):this.out.write(dh(this.outputText,this.out.columns)),super.render(),this.outputText=[ns.symbol(this.done,this.aborted),At.bold(this.msg),ns.delimiter(this.done),this.value?this.inactive:At.cyan().underline(this.inactive),At.gray("/"),this.value?At.cyan().underline(this.active):this.active].join(" "),this.out.write(fh.line+os.to(0)+this.outputText))}};us.exports=ue});var F=a((Va,cs)=>{"use strict";var ae=class i{constructor({token:t,date:e,parts:s,locales:r}){this.token=t,this.date=e||new Date,this.parts=s||[this],this.locales=r||{}}up(){}down(){}next(){let t=this.parts.indexOf(this);return this.parts.find((e,s)=>s>t&&e instanceof i)}setTo(t){}prev(){let t=[].concat(this.parts).reverse(),e=t.indexOf(this);return t.find((s,r)=>r>e&&s instanceof i)}toString(){return String(this.date)}};cs.exports=ae});var fs=a((ka,ds)=>{"use strict";var ph=F(),ce=class extends ph{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}};ds.exports=ce});var ms=a((Ua,ps)=>{"use strict";var mh=F(),gh=i=>(i=i%10,i===1?"st":i===2?"nd":i===3?"rd":"th"),de=class extends mh{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate(),e=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+gh(t):this.token==="d"?e+1:this.token==="ddd"?this.locales.weekdaysShort[e]:this.token==="dddd"?this.locales.weekdays[e]:t}};ps.exports=de});var bs=a((Ga,gs)=>{"use strict";var bh=F(),fe=class extends bh{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();return/h/.test(this.token)&&(t=t%12||12),this.token.length>1?String(t).padStart(2,"0"):t}};gs.exports=fe});var ws=a((Ja,vs)=>{"use strict";var vh=F(),pe=class extends vh{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};vs.exports=pe});var xs=a((za,ys)=>{"use strict";var wh=F(),me=class extends wh{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}};ys.exports=me});var $s=a((Wa,Ss)=>{"use strict";var yh=F(),ge=class extends yh{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1,this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth(),e=this.token.length;return e===2?String(t+1).padStart(2,"0"):e===3?this.locales.monthsShort[t]:e===4?this.locales.months[t]:String(t+1)}};Ss.exports=ge});var qs=a((Ka,Os)=>{"use strict";var xh=F(),be=class extends xh{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}};Os.exports=be});var Ms=a((Za,Ts)=>{"use strict";var Sh=F(),ve=class extends Sh{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}};Ts.exports=ve});var _s=a((Xa,Ps)=>{"use strict";Ps.exports={DatePart:F(),Meridiem:fs(),Day:ms(),Hours:bs(),Milliseconds:ws(),Minutes:xs(),Month:$s(),Seconds:qs(),Year:Ms()}});var Bs=a((Qa,Ls)=>{"use strict";function Cs(i,t,e,s,r,o,n){try{var h=i[o](n),l=h.value}catch(u){e(u);return}h.done?t(l):Promise.resolve(l).then(s,r)}function Is(i){return function(){var t=this,e=arguments;return new Promise(function(s,r){var o=i.apply(t,e);function n(l){Cs(o,s,r,n,h,"next",l)}function h(l){Cs(o,s,r,n,h,"throw",l)}n(void 0)})}}var we=w(),$h=J(),xe=A(),Ds=xe.style,Es=xe.clear,Oh=xe.figures,Fs=x(),qh=Fs.erase,As=Fs.cursor,W=_s(),js=W.DatePart,Th=W.Meridiem,Mh=W.Day,Ph=W.Hours,_h=W.Milliseconds,Ch=W.Minutes,Ih=W.Month,Dh=W.Seconds,Eh=W.Year,Ah=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,Rs={1:({token:i})=>i.replace(/\\(.)/g,"$1"),2:i=>new Mh(i),3:i=>new Ih(i),4:i=>new Eh(i),5:i=>new Th(i),6:i=>new Ph(i),7:i=>new Ch(i),8:i=>new Dh(i),9:i=>new _h(i)},jh={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},ye=class extends $h{constructor(t={}){super(t),this.msg=t.message,this.cursor=0,this.typed="",this.locales=Object.assign(jh,t.locales),this._date=t.initial||new Date,this.errorMsg=t.error||"Please Enter A Valid Value",this.validator=t.validate||(()=>!0),this.mask=t.mask||"YYYY-MM-DD HH:mm:ss",this.clear=Es("",this.out.columns),this.render()}get value(){return this.date}get date(){return this._date}set date(t){t&&this._date.setTime(t.getTime())}set mask(t){let e;for(this.parts=[];e=Ah.exec(t);){let r=e.shift(),o=e.findIndex(n=>n!=null);this.parts.push(o in Rs?Rs[o]({token:e[o]||r,date:this.date,parts:this.parts,locales:this.locales}):e[o]||r)}let s=this.parts.reduce((r,o)=>(typeof o=="string"&&typeof r[r.length-1]=="string"?r[r.length-1]+=o:r.push(o),r),[]);this.parts.splice(0),this.parts.push(...s),this.reset()}moveCursor(t){this.typed="",this.cursor=t,this.fire()}reset(){this.moveCursor(this.parts.findIndex(t=>t instanceof js)),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
17
- `),this.close()}validate(){var t=this;return Is(function*(){let e=yield t.validator(t.value);typeof e=="string"&&(t.errorMsg=e,e=!1),t.error=!e})()}submit(){var t=this;return Is(function*(){if(yield t.validate(),t.error){t.color="red",t.fire(),t.render();return}t.done=!0,t.aborted=!1,t.fire(),t.render(),t.out.write(`
18
- `),t.close()})()}up(){this.typed="",this.parts[this.cursor].up(),this.render()}down(){this.typed="",this.parts[this.cursor].down(),this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t)),this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t)),this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex(e=>e instanceof js)),this.render()}_(t){/\d/.test(t)&&(this.typed+=t,this.parts[this.cursor].setTo(this.typed),this.render())}render(){this.closed||(this.firstRender?this.out.write(As.hide):this.out.write(Es(this.outputText,this.out.columns)),super.render(),this.outputText=[Ds.symbol(this.done,this.aborted),we.bold(this.msg),Ds.delimiter(!1),this.parts.reduce((t,e,s)=>t.concat(s===this.cursor&&!this.done?we.cyan().underline(e.toString()):e),[]).join("")].join(" "),this.error&&(this.outputText+=this.errorMsg.split(`
19
- `).reduce((t,e,s)=>t+`
20
- ${s?" ":Oh.pointerSmall} ${we.red().italic(e)}`,"")),this.out.write(qh.line+As.to(0)+this.outputText))}};Ls.exports=ye});var Gs=a((tc,Us)=>{"use strict";function Ys(i,t,e,s,r,o,n){try{var h=i[o](n),l=h.value}catch(u){e(u);return}h.done?t(l):Promise.resolve(l).then(s,r)}function Hs(i){return function(){var t=this,e=arguments;return new Promise(function(s,r){var o=i.apply(t,e);function n(l){Ys(o,s,r,n,h,"next",l)}function h(l){Ys(o,s,r,n,h,"throw",l)}n(void 0)})}}var jt=w(),Rh=J(),ks=x(),Rt=ks.cursor,Fh=ks.erase,Ft=A(),Se=Ft.style,Lh=Ft.figures,Ns=Ft.clear,Bh=Ft.lines,Yh=/[0-9]/,$e=i=>i!==void 0,Vs=(i,t)=>{let e=Math.pow(10,t);return Math.round(i*e)/e},Oe=class extends Rh{constructor(t={}){super(t),this.transform=Se.render(t.style),this.msg=t.message,this.initial=$e(t.initial)?t.initial:"",this.float=!!t.float,this.round=t.round||2,this.inc=t.increment||1,this.min=$e(t.min)?t.min:-1/0,this.max=$e(t.max)?t.max:1/0,this.errorMsg=t.error||"Please Enter A Valid Value",this.validator=t.validate||(()=>!0),this.color="cyan",this.value="",this.typed="",this.lastHit=0,this.render()}set value(t){!t&&t!==0?(this.placeholder=!0,this.rendered=jt.gray(this.transform.render(`${this.initial}`)),this._value=""):(this.placeholder=!1,this.rendered=this.transform.render(`${Vs(t,this.round)}`),this._value=Vs(t,this.round)),this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t==="-"||t==="."&&this.float||Yh.test(t)}reset(){this.typed="",this.value="",this.fire(),this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==""?t:this.initial,this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
21
- `),this.close()}validate(){var t=this;return Hs(function*(){let e=yield t.validator(t.value);typeof e=="string"&&(t.errorMsg=e,e=!1),t.error=!e})()}submit(){var t=this;return Hs(function*(){if(yield t.validate(),t.error){t.color="red",t.fire(),t.render();return}let e=t.value;t.value=e!==""?e:t.initial,t.done=!0,t.aborted=!1,t.error=!1,t.fire(),t.render(),t.out.write(`
22
- `),t.close()})()}up(){if(this.typed="",this.value===""&&(this.value=this.min-this.inc),this.value>=this.max)return this.bell();this.value+=this.inc,this.color="cyan",this.fire(),this.render()}down(){if(this.typed="",this.value===""&&(this.value=this.min+this.inc),this.value<=this.min)return this.bell();this.value-=this.inc,this.color="cyan",this.fire(),this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||"",this.value!==""&&this.value<this.min&&(this.value=this.min),this.color="cyan",this.fire(),this.render()}next(){this.value=this.initial,this.fire(),this.render()}_(t,e){if(!this.valid(t))return this.bell();let s=Date.now();if(s-this.lastHit>1e3&&(this.typed=""),this.typed+=t,this.lastHit=s,this.color="cyan",t===".")return this.fire();this.value=Math.min(this.parse(this.typed),this.max),this.value>this.max&&(this.value=this.max),this.value<this.min&&(this.value=this.min),this.fire(),this.render()}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(Rt.down(Bh(this.outputError,this.out.columns)-1)+Ns(this.outputError,this.out.columns)),this.out.write(Ns(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[Se.symbol(this.done,this.aborted),jt.bold(this.msg),Se.delimiter(this.done),!this.done||!this.done&&!this.placeholder?jt[this.color]().underline(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
23
- `).reduce((t,e,s)=>t+`
24
- ${s?" ":Lh.pointerSmall} ${jt.red().italic(e)}`,"")),this.out.write(Fh.line+Rt.to(0)+this.outputText+Rt.save+this.outputError+Rt.restore))}};Us.exports=Oe});var Te=a((ec,Ws)=>{"use strict";var L=w(),Hh=x(),Nh=Hh.cursor,Vh=J(),xt=A(),Js=xt.clear,tt=xt.figures,zs=xt.style,kh=xt.wrap,Uh=xt.entriesToDisplay,qe=class extends Vh{constructor(t={}){super(t),this.msg=t.message,this.cursor=t.cursor||0,this.scrollIndex=t.cursor||0,this.hint=t.hint||"",this.warn=t.warn||"- This option is disabled -",this.minSelected=t.min,this.showMinError=!1,this.maxChoices=t.max,this.instructions=t.instructions,this.optionsPerPage=t.optionsPerPage||10,this.value=t.choices.map((e,s)=>(typeof e=="string"&&(e={title:e,value:s}),{title:e&&(e.title||e.value||e),description:e&&e.description,value:e&&(e.value===void 0?s:e.value),selected:e&&e.selected,disabled:e&&e.disabled})),this.clear=Js("",this.out.columns),t.overrideRender||this.render()}reset(){this.value.map(t=>!t.selected),this.cursor=0,this.fire(),this.render()}selected(){return this.value.filter(t=>t.selected)}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
25
- `),this.close()}submit(){let t=this.value.filter(e=>e.selected);this.minSelected&&t.length<this.minSelected?(this.showMinError=!0,this.render()):(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
26
- `),this.close())}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.value.length,this.render()}up(){this.cursor===0?this.cursor=this.value.length-1:this.cursor--,this.render()}down(){this.cursor===this.value.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.value[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(t=>t.selected).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=!0,this.render()}handleSpaceToggle(){let t=this.value[this.cursor];if(t.selected)t.selected=!1,this.render();else{if(t.disabled||this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();t.selected=!0,this.render()}}toggleAll(){if(this.maxChoices!==void 0||this.value[this.cursor].disabled)return this.bell();let t=!this.value[this.cursor].selected;this.value.filter(e=>!e.disabled).forEach(e=>e.selected=t),this.render()}_(t,e){if(t===" ")this.handleSpaceToggle();else if(t==="a")this.toggleAll();else return this.bell()}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
16
+ `),this.close()}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render()}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value,this.fire(),this.render()}_(e,i){if(e===" ")this.value=!this.value;else if(e==="1")this.value=!0;else if(e==="0")this.value=!1;else return this.bell();this.render()}render(){this.closed||(this.firstRender?this.out.write(ha.hide):this.out.write(Ym(this.outputText,this.out.columns)),super.render(),this.outputText=[ma.symbol(this.done,this.aborted),li.bold(this.msg),ma.delimiter(this.done),this.value?this.inactive:li.cyan().underline(this.inactive),li.gray("/"),this.value?li.cyan().underline(this.active):this.active].join(" "),this.out.write(Wm.line+ha.to(0)+this.outputText))}};va.exports=ps});var ye=d((Qy,ga)=>{"use strict";var us=class t{constructor({token:e,date:i,parts:s,locales:r}){this.token=e,this.date=i||new Date,this.parts=s||[this],this.locales=r||{}}up(){}down(){}next(){let e=this.parts.indexOf(this);return this.parts.find((i,s)=>s>e&&i instanceof t)}setTo(e){}prev(){let e=[].concat(this.parts).reverse(),i=e.indexOf(this);return e.find((s,r)=>r>i&&s instanceof t)}toString(){return String(this.date)}};ga.exports=us});var wa=d((ew,ya)=>{"use strict";var Gm=ye(),ds=class extends Gm{constructor(e={}){super(e)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let e=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?e.toUpperCase():e}};ya.exports=ds});var _a=d((tw,Sa)=>{"use strict";var Jm=ye(),Km=t=>(t=t%10,t===1?"st":t===2?"nd":t===3?"rd":"th"),ms=class extends Jm{constructor(e={}){super(e)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(e){this.date.setDate(parseInt(e.substr(-2)))}toString(){let e=this.date.getDate(),i=this.date.getDay();return this.token==="DD"?String(e).padStart(2,"0"):this.token==="Do"?e+Km(e):this.token==="d"?i+1:this.token==="ddd"?this.locales.weekdaysShort[i]:this.token==="dddd"?this.locales.weekdays[i]:e}};Sa.exports=ms});var Ta=d((iw,Ea)=>{"use strict";var Xm=ye(),hs=class extends Xm{constructor(e={}){super(e)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(e){this.date.setHours(parseInt(e.substr(-2)))}toString(){let e=this.date.getHours();return/h/.test(this.token)&&(e=e%12||12),this.token.length>1?String(e).padStart(2,"0"):e}};Ea.exports=hs});var ka=d((sw,Oa)=>{"use strict";var Zm=ye(),fs=class extends Zm{constructor(e={}){super(e)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(e){this.date.setMilliseconds(parseInt(e.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};Oa.exports=fs});var Ra=d((rw,ja)=>{"use strict";var Qm=ye(),xs=class extends Qm{constructor(e={}){super(e)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(e){this.date.setMinutes(parseInt(e.substr(-2)))}toString(){let e=this.date.getMinutes();return this.token.length>1?String(e).padStart(2,"0"):e}};ja.exports=xs});var Aa=d((nw,qa)=>{"use strict";var eh=ye(),vs=class extends eh{constructor(e={}){super(e)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(e){e=parseInt(e.substr(-2))-1,this.date.setMonth(e<0?0:e)}toString(){let e=this.date.getMonth(),i=this.token.length;return i===2?String(e+1).padStart(2,"0"):i===3?this.locales.monthsShort[e]:i===4?this.locales.months[e]:String(e+1)}};qa.exports=vs});var $a=d((aw,Pa)=>{"use strict";var th=ye(),bs=class extends th{constructor(e={}){super(e)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(e){this.date.setSeconds(parseInt(e.substr(-2)))}toString(){let e=this.date.getSeconds();return this.token.length>1?String(e).padStart(2,"0"):e}};Pa.exports=bs});var Da=d((ow,Ca)=>{"use strict";var ih=ye(),gs=class extends ih{constructor(e={}){super(e)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(e){this.date.setFullYear(e.substr(-4))}toString(){let e=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?e.substr(-2):e}};Ca.exports=gs});var Ma=d((cw,La)=>{"use strict";La.exports={DatePart:ye(),Meridiem:wa(),Day:_a(),Hours:Ta(),Milliseconds:ka(),Minutes:Ra(),Month:Aa(),Seconds:$a(),Year:Da()}});var Wa=d((lw,Ya)=>{"use strict";function Fa(t,e,i,s,r,n,a){try{var o=t[n](a),l=o.value}catch(c){i(c);return}o.done?e(l):Promise.resolve(l).then(s,r)}function Ia(t){return function(){var e=this,i=arguments;return new Promise(function(s,r){var n=t.apply(e,i);function a(l){Fa(n,s,r,a,o,"next",l)}function o(l){Fa(n,s,r,a,o,"throw",l)}a(void 0)})}}var ys=G(),sh=Re(),Ss=fe(),Ba=Ss.style,Ua=Ss.clear,rh=Ss.figures,Va=K(),nh=Va.erase,Na=Va.cursor,Ae=Ma(),za=Ae.DatePart,ah=Ae.Meridiem,oh=Ae.Day,ch=Ae.Hours,lh=Ae.Milliseconds,ph=Ae.Minutes,uh=Ae.Month,dh=Ae.Seconds,mh=Ae.Year,hh=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,Ha={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new oh(t),3:t=>new uh(t),4:t=>new mh(t),5:t=>new ah(t),6:t=>new ch(t),7:t=>new ph(t),8:t=>new dh(t),9:t=>new lh(t)},fh={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},ws=class extends sh{constructor(e={}){super(e),this.msg=e.message,this.cursor=0,this.typed="",this.locales=Object.assign(fh,e.locales),this._date=e.initial||new Date,this.errorMsg=e.error||"Please Enter A Valid Value",this.validator=e.validate||(()=>!0),this.mask=e.mask||"YYYY-MM-DD HH:mm:ss",this.clear=Ua("",this.out.columns),this.render()}get value(){return this.date}get date(){return this._date}set date(e){e&&this._date.setTime(e.getTime())}set mask(e){let i;for(this.parts=[];i=hh.exec(e);){let r=i.shift(),n=i.findIndex(a=>a!=null);this.parts.push(n in Ha?Ha[n]({token:i[n]||r,date:this.date,parts:this.parts,locales:this.locales}):i[n]||r)}let s=this.parts.reduce((r,n)=>(typeof n=="string"&&typeof r[r.length-1]=="string"?r[r.length-1]+=n:r.push(n),r),[]);this.parts.splice(0),this.parts.push(...s),this.reset()}moveCursor(e){this.typed="",this.cursor=e,this.fire()}reset(){this.moveCursor(this.parts.findIndex(e=>e instanceof za)),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
17
+ `),this.close()}validate(){var e=this;return Ia(function*(){let i=yield e.validator(e.value);typeof i=="string"&&(e.errorMsg=i,i=!1),e.error=!i})()}submit(){var e=this;return Ia(function*(){if(yield e.validate(),e.error){e.color="red",e.fire(),e.render();return}e.done=!0,e.aborted=!1,e.fire(),e.render(),e.out.write(`
18
+ `),e.close()})()}up(){this.typed="",this.parts[this.cursor].up(),this.render()}down(){this.typed="",this.parts[this.cursor].down(),this.render()}left(){let e=this.parts[this.cursor].prev();if(e==null)return this.bell();this.moveCursor(this.parts.indexOf(e)),this.render()}right(){let e=this.parts[this.cursor].next();if(e==null)return this.bell();this.moveCursor(this.parts.indexOf(e)),this.render()}next(){let e=this.parts[this.cursor].next();this.moveCursor(e?this.parts.indexOf(e):this.parts.findIndex(i=>i instanceof za)),this.render()}_(e){/\d/.test(e)&&(this.typed+=e,this.parts[this.cursor].setTo(this.typed),this.render())}render(){this.closed||(this.firstRender?this.out.write(Na.hide):this.out.write(Ua(this.outputText,this.out.columns)),super.render(),this.outputText=[Ba.symbol(this.done,this.aborted),ys.bold(this.msg),Ba.delimiter(!1),this.parts.reduce((e,i,s)=>e.concat(s===this.cursor&&!this.done?ys.cyan().underline(i.toString()):i),[]).join("")].join(" "),this.error&&(this.outputText+=this.errorMsg.split(`
19
+ `).reduce((e,i,s)=>e+`
20
+ ${s?" ":rh.pointerSmall} ${ys.red().italic(i)}`,"")),this.out.write(nh.line+Na.to(0)+this.outputText))}};Ya.exports=ws});var eo=d((pw,Qa)=>{"use strict";function Ga(t,e,i,s,r,n,a){try{var o=t[n](a),l=o.value}catch(c){i(c);return}o.done?e(l):Promise.resolve(l).then(s,r)}function Ja(t){return function(){var e=this,i=arguments;return new Promise(function(s,r){var n=t.apply(e,i);function a(l){Ga(n,s,r,a,o,"next",l)}function o(l){Ga(n,s,r,a,o,"throw",l)}a(void 0)})}}var pi=G(),xh=Re(),Za=K(),ui=Za.cursor,vh=Za.erase,di=fe(),_s=di.style,bh=di.figures,Ka=di.clear,gh=di.lines,yh=/[0-9]/,Es=t=>t!==void 0,Xa=(t,e)=>{let i=Math.pow(10,e);return Math.round(t*i)/i},Ts=class extends xh{constructor(e={}){super(e),this.transform=_s.render(e.style),this.msg=e.message,this.initial=Es(e.initial)?e.initial:"",this.float=!!e.float,this.round=e.round||2,this.inc=e.increment||1,this.min=Es(e.min)?e.min:-1/0,this.max=Es(e.max)?e.max:1/0,this.errorMsg=e.error||"Please Enter A Valid Value",this.validator=e.validate||(()=>!0),this.color="cyan",this.value="",this.typed="",this.lastHit=0,this.render()}set value(e){!e&&e!==0?(this.placeholder=!0,this.rendered=pi.gray(this.transform.render(`${this.initial}`)),this._value=""):(this.placeholder=!1,this.rendered=this.transform.render(`${Xa(e,this.round)}`),this._value=Xa(e,this.round)),this.fire()}get value(){return this._value}parse(e){return this.float?parseFloat(e):parseInt(e)}valid(e){return e==="-"||e==="."&&this.float||yh.test(e)}reset(){this.typed="",this.value="",this.fire(),this.render()}exit(){this.abort()}abort(){let e=this.value;this.value=e!==""?e:this.initial,this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
21
+ `),this.close()}validate(){var e=this;return Ja(function*(){let i=yield e.validator(e.value);typeof i=="string"&&(e.errorMsg=i,i=!1),e.error=!i})()}submit(){var e=this;return Ja(function*(){if(yield e.validate(),e.error){e.color="red",e.fire(),e.render();return}let i=e.value;e.value=i!==""?i:e.initial,e.done=!0,e.aborted=!1,e.error=!1,e.fire(),e.render(),e.out.write(`
22
+ `),e.close()})()}up(){if(this.typed="",this.value===""&&(this.value=this.min-this.inc),this.value>=this.max)return this.bell();this.value+=this.inc,this.color="cyan",this.fire(),this.render()}down(){if(this.typed="",this.value===""&&(this.value=this.min+this.inc),this.value<=this.min)return this.bell();this.value-=this.inc,this.color="cyan",this.fire(),this.render()}delete(){let e=this.value.toString();if(e.length===0)return this.bell();this.value=this.parse(e=e.slice(0,-1))||"",this.value!==""&&this.value<this.min&&(this.value=this.min),this.color="cyan",this.fire(),this.render()}next(){this.value=this.initial,this.fire(),this.render()}_(e,i){if(!this.valid(e))return this.bell();let s=Date.now();if(s-this.lastHit>1e3&&(this.typed=""),this.typed+=e,this.lastHit=s,this.color="cyan",e===".")return this.fire();this.value=Math.min(this.parse(this.typed),this.max),this.value>this.max&&(this.value=this.max),this.value<this.min&&(this.value=this.min),this.fire(),this.render()}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(ui.down(gh(this.outputError,this.out.columns)-1)+Ka(this.outputError,this.out.columns)),this.out.write(Ka(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[_s.symbol(this.done,this.aborted),pi.bold(this.msg),_s.delimiter(this.done),!this.done||!this.done&&!this.placeholder?pi[this.color]().underline(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
23
+ `).reduce((e,i,s)=>e+`
24
+ ${s?" ":bh.pointerSmall} ${pi.red().italic(i)}`,"")),this.out.write(vh.line+ui.to(0)+this.outputText+ui.save+this.outputError+ui.restore))}};Qa.exports=Ts});var ks=d((uw,so)=>{"use strict";var we=G(),wh=K(),Sh=wh.cursor,_h=Re(),Rt=fe(),to=Rt.clear,Be=Rt.figures,io=Rt.style,Eh=Rt.wrap,Th=Rt.entriesToDisplay,Os=class extends _h{constructor(e={}){super(e),this.msg=e.message,this.cursor=e.cursor||0,this.scrollIndex=e.cursor||0,this.hint=e.hint||"",this.warn=e.warn||"- This option is disabled -",this.minSelected=e.min,this.showMinError=!1,this.maxChoices=e.max,this.instructions=e.instructions,this.optionsPerPage=e.optionsPerPage||10,this.value=e.choices.map((i,s)=>(typeof i=="string"&&(i={title:i,value:s}),{title:i&&(i.title||i.value||i),description:i&&i.description,value:i&&(i.value===void 0?s:i.value),selected:i&&i.selected,disabled:i&&i.disabled})),this.clear=to("",this.out.columns),e.overrideRender||this.render()}reset(){this.value.map(e=>!e.selected),this.cursor=0,this.fire(),this.render()}selected(){return this.value.filter(e=>e.selected)}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
25
+ `),this.close()}submit(){let e=this.value.filter(i=>i.selected);this.minSelected&&e.length<this.minSelected?(this.showMinError=!0,this.render()):(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
26
+ `),this.close())}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.value.length,this.render()}up(){this.cursor===0?this.cursor=this.value.length-1:this.cursor--,this.render()}down(){this.cursor===this.value.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.value[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=!0,this.render()}handleSpaceToggle(){let e=this.value[this.cursor];if(e.selected)e.selected=!1,this.render();else{if(e.disabled||this.value.filter(i=>i.selected).length>=this.maxChoices)return this.bell();e.selected=!0,this.render()}}toggleAll(){if(this.maxChoices!==void 0||this.value[this.cursor].disabled)return this.bell();let e=!this.value[this.cursor].selected;this.value.filter(i=>!i.disabled).forEach(i=>i.selected=e),this.render()}_(e,i){if(e===" ")this.handleSpaceToggle();else if(e==="a")this.toggleAll();else return this.bell()}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
27
27
  Instructions:
28
- ${tt.arrowUp}/${tt.arrowDown}: Highlight option
29
- ${tt.arrowLeft}/${tt.arrowRight}/[space]: Toggle selection
28
+ ${Be.arrowUp}/${Be.arrowDown}: Highlight option
29
+ ${Be.arrowLeft}/${Be.arrowRight}/[space]: Toggle selection
30
30
  `+(this.maxChoices===void 0?` a: Toggle all
31
- `:"")+" enter/return: Complete answer":""}renderOption(t,e,s,r){let o=(e.selected?L.green(tt.radioOn):tt.radioOff)+" "+r+" ",n,h;return e.disabled?n=t===s?L.gray().underline(e.title):L.strikethrough().gray(e.title):(n=t===s?L.cyan().underline(e.title):e.title,t===s&&e.description&&(h=` - ${e.description}`,(o.length+n.length+h.length>=this.out.columns||e.description.split(/\r?\n/).length>1)&&(h=`
32
- `+kh(e.description,{margin:o.length,width:this.out.columns})))),o+n+L.gray(h||"")}paginateOptions(t){if(t.length===0)return L.red("No matches for this query.");let e=Uh(this.cursor,t.length,this.optionsPerPage),s=e.startIndex,r=e.endIndex,o,n=[];for(let h=s;h<r;h++)h===s&&s>0?o=tt.arrowUp:h===r-1&&r<t.length?o=tt.arrowDown:o=" ",n.push(this.renderOption(this.cursor,t[h],h,o));return`
33
- `+n.join(`
34
- `)}renderOptions(t){return this.done?"":this.paginateOptions(t)}renderDoneOrInstructions(){if(this.done)return this.value.filter(e=>e.selected).map(e=>e.title).join(", ");let t=[L.gray(this.hint),this.renderInstructions()];return this.value[this.cursor].disabled&&t.push(L.yellow(this.warn)),t.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(Nh.hide),super.render();let t=[zs.symbol(this.done,this.aborted),L.bold(this.msg),zs.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(t+=L.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),t+=this.renderOptions(this.value),this.out.write(this.clear+t),this.clear=Js(t,this.out.columns)}};Ws.exports=qe});var ir=a((ic,er)=>{"use strict";function Ks(i,t,e,s,r,o,n){try{var h=i[o](n),l=h.value}catch(u){e(u);return}h.done?t(l):Promise.resolve(l).then(s,r)}function Gh(i){return function(){var t=this,e=arguments;return new Promise(function(s,r){var o=i.apply(t,e);function n(l){Ks(o,s,r,n,h,"next",l)}function h(l){Ks(o,s,r,n,h,"throw",l)}n(void 0)})}}var St=w(),Jh=J(),tr=x(),zh=tr.erase,Zs=tr.cursor,$t=A(),Me=$t.style,Xs=$t.clear,Pe=$t.figures,Wh=$t.wrap,Kh=$t.entriesToDisplay,Qs=(i,t)=>i[t]&&(i[t].value||i[t].title||i[t]),Zh=(i,t)=>i[t]&&(i[t].title||i[t].value||i[t]),Xh=(i,t)=>{let e=i.findIndex(s=>s.value===t||s.title===t);return e>-1?e:void 0},_e=class extends Jh{constructor(t={}){super(t),this.msg=t.message,this.suggest=t.suggest,this.choices=t.choices,this.initial=typeof t.initial=="number"?t.initial:Xh(t.choices,t.initial),this.select=this.initial||t.cursor||0,this.i18n={noMatches:t.noMatches||"no matches found"},this.fallback=t.fallback||this.initial,this.clearFirst=t.clearFirst||!1,this.suggestions=[],this.input="",this.limit=t.limit||10,this.cursor=0,this.transform=Me.render(t.style),this.scale=this.transform.scale,this.render=this.render.bind(this),this.complete=this.complete.bind(this),this.clear=Xs("",this.out.columns),this.complete(this.render),this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;return typeof this._fb=="number"?t=this.choices[this._fb]:typeof this._fb=="string"&&(t={title:this._fb}),t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t,this.suggestions.length>0?this.value=Qs(this.suggestions,t):this.value=this.fallback.value,this.fire()}complete(t){var e=this;return Gh(function*(){let s=e.completing=e.suggest(e.input,e.choices),r=yield s;if(e.completing!==s)return;e.suggestions=r.map((n,h,l)=>({title:Zh(l,h),value:Qs(l,h),description:n.description})),e.completing=!1;let o=Math.max(r.length-1,0);e.moveSelect(Math.min(o,e.select)),t&&t()})()}reset(){this.input="",this.complete(()=>{this.moveSelect(this.initial!==void 0?this.initial:0),this.render()}),this.render()}exit(){this.clearFirst&&this.input.length>0?this.reset():(this.done=this.exited=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
31
+ `:"")+" enter/return: Complete answer":""}renderOption(e,i,s,r){let n=(i.selected?we.green(Be.radioOn):Be.radioOff)+" "+r+" ",a,o;return i.disabled?a=e===s?we.gray().underline(i.title):we.strikethrough().gray(i.title):(a=e===s?we.cyan().underline(i.title):i.title,e===s&&i.description&&(o=` - ${i.description}`,(n.length+a.length+o.length>=this.out.columns||i.description.split(/\r?\n/).length>1)&&(o=`
32
+ `+Eh(i.description,{margin:n.length,width:this.out.columns})))),n+a+we.gray(o||"")}paginateOptions(e){if(e.length===0)return we.red("No matches for this query.");let i=Th(this.cursor,e.length,this.optionsPerPage),s=i.startIndex,r=i.endIndex,n,a=[];for(let o=s;o<r;o++)o===s&&s>0?n=Be.arrowUp:o===r-1&&r<e.length?n=Be.arrowDown:n=" ",a.push(this.renderOption(this.cursor,e[o],o,n));return`
33
+ `+a.join(`
34
+ `)}renderOptions(e){return this.done?"":this.paginateOptions(e)}renderDoneOrInstructions(){if(this.done)return this.value.filter(i=>i.selected).map(i=>i.title).join(", ");let e=[we.gray(this.hint),this.renderInstructions()];return this.value[this.cursor].disabled&&e.push(we.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(Sh.hide),super.render();let e=[io.symbol(this.done,this.aborted),we.bold(this.msg),io.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=we.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),e+=this.renderOptions(this.value),this.out.write(this.clear+e),this.clear=to(e,this.out.columns)}};so.exports=Os});var po=d((dw,lo)=>{"use strict";function ro(t,e,i,s,r,n,a){try{var o=t[n](a),l=o.value}catch(c){i(c);return}o.done?e(l):Promise.resolve(l).then(s,r)}function Oh(t){return function(){var e=this,i=arguments;return new Promise(function(s,r){var n=t.apply(e,i);function a(l){ro(n,s,r,a,o,"next",l)}function o(l){ro(n,s,r,a,o,"throw",l)}a(void 0)})}}var qt=G(),kh=Re(),co=K(),jh=co.erase,no=co.cursor,At=fe(),js=At.style,ao=At.clear,Rs=At.figures,Rh=At.wrap,qh=At.entriesToDisplay,oo=(t,e)=>t[e]&&(t[e].value||t[e].title||t[e]),Ah=(t,e)=>t[e]&&(t[e].title||t[e].value||t[e]),Ph=(t,e)=>{let i=t.findIndex(s=>s.value===e||s.title===e);return i>-1?i:void 0},qs=class extends kh{constructor(e={}){super(e),this.msg=e.message,this.suggest=e.suggest,this.choices=e.choices,this.initial=typeof e.initial=="number"?e.initial:Ph(e.choices,e.initial),this.select=this.initial||e.cursor||0,this.i18n={noMatches:e.noMatches||"no matches found"},this.fallback=e.fallback||this.initial,this.clearFirst=e.clearFirst||!1,this.suggestions=[],this.input="",this.limit=e.limit||10,this.cursor=0,this.transform=js.render(e.style),this.scale=this.transform.scale,this.render=this.render.bind(this),this.complete=this.complete.bind(this),this.clear=ao("",this.out.columns),this.complete(this.render),this.render()}set fallback(e){this._fb=Number.isSafeInteger(parseInt(e))?parseInt(e):e}get fallback(){let e;return typeof this._fb=="number"?e=this.choices[this._fb]:typeof this._fb=="string"&&(e={title:this._fb}),e||this._fb||{title:this.i18n.noMatches}}moveSelect(e){this.select=e,this.suggestions.length>0?this.value=oo(this.suggestions,e):this.value=this.fallback.value,this.fire()}complete(e){var i=this;return Oh(function*(){let s=i.completing=i.suggest(i.input,i.choices),r=yield s;if(i.completing!==s)return;i.suggestions=r.map((a,o,l)=>({title:Ah(l,o),value:oo(l,o),description:a.description})),i.completing=!1;let n=Math.max(r.length-1,0);i.moveSelect(Math.min(n,i.select)),e&&e()})()}reset(){this.input="",this.complete(()=>{this.moveSelect(this.initial!==void 0?this.initial:0),this.render()}),this.render()}exit(){this.clearFirst&&this.input.length>0?this.reset():(this.done=this.exited=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
35
35
  `),this.close())}abort(){this.done=this.aborted=!0,this.exited=!1,this.fire(),this.render(),this.out.write(`
36
36
  `),this.close()}submit(){this.done=!0,this.aborted=this.exited=!1,this.fire(),this.render(),this.out.write(`
37
- `),this.close()}_(t,e){let s=this.input.slice(0,this.cursor),r=this.input.slice(this.cursor);this.input=`${s}${t}${r}`,this.cursor=s.length+1,this.complete(this.render),this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1),e=this.input.slice(this.cursor);this.input=`${t}${e}`,this.complete(this.render),this.cursor=this.cursor-1,this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor),e=this.input.slice(this.cursor+1);this.input=`${t}${e}`,this.complete(this.render),this.render()}first(){this.moveSelect(0),this.render()}last(){this.moveSelect(this.suggestions.length-1),this.render()}up(){this.select===0?this.moveSelect(this.suggestions.length-1):this.moveSelect(this.select-1),this.render()}down(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}next(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1)),this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0)),this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1,this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1,this.render()}renderOption(t,e,s,r){let o,n=s?Pe.arrowUp:r?Pe.arrowDown:" ",h=e?St.cyan().underline(t.title):t.title;return n=(e?St.cyan(Pe.pointer)+" ":" ")+n,t.description&&(o=` - ${t.description}`,(n.length+h.length+o.length>=this.out.columns||t.description.split(/\r?\n/).length>1)&&(o=`
38
- `+Wh(t.description,{margin:3,width:this.out.columns}))),n+" "+h+St.gray(o||"")}render(){if(this.closed)return;this.firstRender?this.out.write(Zs.hide):this.out.write(Xs(this.outputText,this.out.columns)),super.render();let t=Kh(this.select,this.choices.length,this.limit),e=t.startIndex,s=t.endIndex;if(this.outputText=[Me.symbol(this.done,this.aborted,this.exited),St.bold(this.msg),Me.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" "),!this.done){let r=this.suggestions.slice(e,s).map((o,n)=>this.renderOption(o,this.select===n+e,n===0&&e>0,n+e===s-1&&s<this.choices.length)).join(`
37
+ `),this.close()}_(e,i){let s=this.input.slice(0,this.cursor),r=this.input.slice(this.cursor);this.input=`${s}${e}${r}`,this.cursor=s.length+1,this.complete(this.render),this.render()}delete(){if(this.cursor===0)return this.bell();let e=this.input.slice(0,this.cursor-1),i=this.input.slice(this.cursor);this.input=`${e}${i}`,this.complete(this.render),this.cursor=this.cursor-1,this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let e=this.input.slice(0,this.cursor),i=this.input.slice(this.cursor+1);this.input=`${e}${i}`,this.complete(this.render),this.render()}first(){this.moveSelect(0),this.render()}last(){this.moveSelect(this.suggestions.length-1),this.render()}up(){this.select===0?this.moveSelect(this.suggestions.length-1):this.moveSelect(this.select-1),this.render()}down(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}next(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1)),this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0)),this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1,this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1,this.render()}renderOption(e,i,s,r){let n,a=s?Rs.arrowUp:r?Rs.arrowDown:" ",o=i?qt.cyan().underline(e.title):e.title;return a=(i?qt.cyan(Rs.pointer)+" ":" ")+a,e.description&&(n=` - ${e.description}`,(a.length+o.length+n.length>=this.out.columns||e.description.split(/\r?\n/).length>1)&&(n=`
38
+ `+Rh(e.description,{margin:3,width:this.out.columns}))),a+" "+o+qt.gray(n||"")}render(){if(this.closed)return;this.firstRender?this.out.write(no.hide):this.out.write(ao(this.outputText,this.out.columns)),super.render();let e=qh(this.select,this.choices.length,this.limit),i=e.startIndex,s=e.endIndex;if(this.outputText=[js.symbol(this.done,this.aborted,this.exited),qt.bold(this.msg),js.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" "),!this.done){let r=this.suggestions.slice(i,s).map((n,a)=>this.renderOption(n,this.select===a+i,a===0&&i>0,a+i===s-1&&s<this.choices.length)).join(`
39
39
  `);this.outputText+=`
40
- `+(r||St.gray(this.fallback.title))}this.out.write(zh.line+Zs.to(0)+this.outputText)}};er.exports=_e});var or=a((sc,nr)=>{"use strict";var K=w(),Qh=x(),tl=Qh.cursor,el=Te(),Ie=A(),sr=Ie.clear,rr=Ie.style,at=Ie.figures,Ce=class extends el{constructor(t={}){t.overrideRender=!0,super(t),this.inputValue="",this.clear=sr("",this.out.columns),this.filteredOptions=this.value,this.render()}last(){this.cursor=this.filteredOptions.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length,this.render()}up(){this.cursor===0?this.cursor=this.filteredOptions.length-1:this.cursor--,this.render()}down(){this.cursor===this.filteredOptions.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.filteredOptions[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(t=>t.selected).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=!0,this.render()}delete(){this.inputValue.length&&(this.inputValue=this.inputValue.substr(0,this.inputValue.length-1),this.updateFilteredOptions())}updateFilteredOptions(){let t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter(s=>this.inputValue?!!(typeof s.title=="string"&&s.title.toLowerCase().includes(this.inputValue.toLowerCase())||typeof s.value=="string"&&s.value.toLowerCase().includes(this.inputValue.toLowerCase())):!0);let e=this.filteredOptions.findIndex(s=>s===t);this.cursor=e<0?0:e,this.render()}handleSpaceToggle(){let t=this.filteredOptions[this.cursor];if(t.selected)t.selected=!1,this.render();else{if(t.disabled||this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();t.selected=!0,this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t,this.updateFilteredOptions()}_(t,e){t===" "?this.handleSpaceToggle():this.handleInputChange(t)}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
40
+ `+(r||qt.gray(this.fallback.title))}this.out.write(jh.line+no.to(0)+this.outputText)}};lo.exports=qs});var fo=d((mw,ho)=>{"use strict";var Pe=G(),$h=K(),Ch=$h.cursor,Dh=ks(),Ps=fe(),uo=Ps.clear,mo=Ps.style,at=Ps.figures,As=class extends Dh{constructor(e={}){e.overrideRender=!0,super(e),this.inputValue="",this.clear=uo("",this.out.columns),this.filteredOptions=this.value,this.render()}last(){this.cursor=this.filteredOptions.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length,this.render()}up(){this.cursor===0?this.cursor=this.filteredOptions.length-1:this.cursor--,this.render()}down(){this.cursor===this.filteredOptions.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.filteredOptions[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=!0,this.render()}delete(){this.inputValue.length&&(this.inputValue=this.inputValue.substr(0,this.inputValue.length-1),this.updateFilteredOptions())}updateFilteredOptions(){let e=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter(s=>this.inputValue?!!(typeof s.title=="string"&&s.title.toLowerCase().includes(this.inputValue.toLowerCase())||typeof s.value=="string"&&s.value.toLowerCase().includes(this.inputValue.toLowerCase())):!0);let i=this.filteredOptions.findIndex(s=>s===e);this.cursor=i<0?0:i,this.render()}handleSpaceToggle(){let e=this.filteredOptions[this.cursor];if(e.selected)e.selected=!1,this.render();else{if(e.disabled||this.value.filter(i=>i.selected).length>=this.maxChoices)return this.bell();e.selected=!0,this.render()}}handleInputChange(e){this.inputValue=this.inputValue+e,this.updateFilteredOptions()}_(e,i){e===" "?this.handleSpaceToggle():this.handleInputChange(e)}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
41
41
  Instructions:
42
42
  ${at.arrowUp}/${at.arrowDown}: Highlight option
43
43
  ${at.arrowLeft}/${at.arrowRight}/[space]: Toggle selection
44
44
  [a,b,c]/delete: Filter choices
45
45
  enter/return: Complete answer
46
46
  `:""}renderCurrentInput(){return`
47
- Filtered results for: ${this.inputValue?this.inputValue:K.gray("Enter something to filter")}
48
- `}renderOption(t,e,s){let r;return e.disabled?r=t===s?K.gray().underline(e.title):K.strikethrough().gray(e.title):r=t===s?K.cyan().underline(e.title):e.title,(e.selected?K.green(at.radioOn):at.radioOff)+" "+r}renderDoneOrInstructions(){if(this.done)return this.value.filter(e=>e.selected).map(e=>e.title).join(", ");let t=[K.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&t.push(K.yellow(this.warn)),t.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(tl.hide),super.render();let t=[rr.symbol(this.done,this.aborted),K.bold(this.msg),rr.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(t+=K.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),t+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+t),this.clear=sr(t,this.out.columns)}};nr.exports=Ce});var fr=a((rc,dr)=>{"use strict";var hr=w(),il=J(),ar=A(),lr=ar.style,sl=ar.clear,cr=x(),rl=cr.erase,ur=cr.cursor,De=class extends il{constructor(t={}){super(t),this.msg=t.message,this.value=t.initial,this.initialValue=!!t.initial,this.yesMsg=t.yes||"yes",this.yesOption=t.yesOption||"(Y/n)",this.noMsg=t.no||"no",this.noOption=t.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
47
+ Filtered results for: ${this.inputValue?this.inputValue:Pe.gray("Enter something to filter")}
48
+ `}renderOption(e,i,s){let r;return i.disabled?r=e===s?Pe.gray().underline(i.title):Pe.strikethrough().gray(i.title):r=e===s?Pe.cyan().underline(i.title):i.title,(i.selected?Pe.green(at.radioOn):at.radioOff)+" "+r}renderDoneOrInstructions(){if(this.done)return this.value.filter(i=>i.selected).map(i=>i.title).join(", ");let e=[Pe.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&e.push(Pe.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(Ch.hide),super.render();let e=[mo.symbol(this.done,this.aborted),Pe.bold(this.msg),mo.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=Pe.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),e+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+e),this.clear=uo(e,this.out.columns)}};ho.exports=As});var So=d((hw,wo)=>{"use strict";var xo=G(),Lh=Re(),go=fe(),vo=go.style,Mh=go.clear,yo=K(),Fh=yo.erase,bo=yo.cursor,$s=class extends Lh{constructor(e={}){super(e),this.msg=e.message,this.value=e.initial,this.initialValue=!!e.initial,this.yesMsg=e.yes||"yes",this.yesOption=e.yesOption||"(Y/n)",this.noMsg=e.no||"no",this.noOption=e.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
49
49
  `),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
50
- `),this.close()}_(t,e){return t.toLowerCase()==="y"?(this.value=!0,this.submit()):t.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(ur.hide):this.out.write(sl(this.outputText,this.out.columns)),super.render(),this.outputText=[lr.symbol(this.done,this.aborted),hr.bold(this.msg),lr.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:hr.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(rl.line+ur.to(0)+this.outputText))}};dr.exports=De});var mr=a((nc,pr)=>{"use strict";pr.exports={TextPrompt:ts(),SelectPrompt:rs(),TogglePrompt:as(),DatePrompt:Bs(),NumberPrompt:Gs(),MultiselectPrompt:Te(),AutocompletePrompt:ir(),AutocompleteMultiselectPrompt:or(),ConfirmPrompt:fr()}});var br=a(gr=>{"use strict";var C=gr,nl=mr(),Lt=i=>i;function B(i,t,e={}){return new Promise((s,r)=>{let o=new nl[i](t),n=e.onAbort||Lt,h=e.onSubmit||Lt,l=e.onExit||Lt;o.on("state",t.onState||Lt),o.on("submit",u=>s(h(u))),o.on("exit",u=>s(l(u))),o.on("abort",u=>r(n(u)))})}C.text=i=>B("TextPrompt",i);C.password=i=>(i.style="password",C.text(i));C.invisible=i=>(i.style="invisible",C.text(i));C.number=i=>B("NumberPrompt",i);C.date=i=>B("DatePrompt",i);C.confirm=i=>B("ConfirmPrompt",i);C.list=i=>{let t=i.separator||",";return B("TextPrompt",i,{onSubmit:e=>e.split(t).map(s=>s.trim())})};C.toggle=i=>B("TogglePrompt",i);C.select=i=>B("SelectPrompt",i);C.multiselect=i=>{i.choices=[].concat(i.choices||[]);let t=e=>e.filter(s=>s.selected).map(s=>s.value);return B("MultiselectPrompt",i,{onAbort:t,onSubmit:t})};C.autocompleteMultiselect=i=>{i.choices=[].concat(i.choices||[]);let t=e=>e.filter(s=>s.selected).map(s=>s.value);return B("AutocompleteMultiselectPrompt",i,{onAbort:t,onSubmit:t})};var ol=(i,t)=>Promise.resolve(t.filter(e=>e.title.slice(0,i.length).toLowerCase()===i.toLowerCase()));C.autocomplete=i=>(i.suggest=i.suggest||ol,i.choices=[].concat(i.choices||[]),B("AutocompletePrompt",i))});var qr=a((hc,Or)=>{"use strict";function vr(i,t){var e=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),e.push.apply(e,s)}return e}function wr(i){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?vr(Object(e),!0).forEach(function(s){hl(i,s,e[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):vr(Object(e)).forEach(function(s){Object.defineProperty(i,s,Object.getOwnPropertyDescriptor(e,s))})}return i}function hl(i,t,e){return t in i?Object.defineProperty(i,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):i[t]=e,i}function ll(i,t){var e=typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(!e){if(Array.isArray(i)||(e=ul(i))||t&&i&&typeof i.length=="number"){e&&(i=e);var s=0,r=function(){};return{s:r,n:function(){return s>=i.length?{done:!0}:{done:!1,value:i[s++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
51
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,n=!1,h;return{s:function(){e=e.call(i)},n:function(){var u=e.next();return o=u.done,u},e:function(u){n=!0,h=u},f:function(){try{!o&&e.return!=null&&e.return()}finally{if(n)throw h}}}}function ul(i,t){if(i){if(typeof i=="string")return yr(i,t);var e=Object.prototype.toString.call(i).slice(8,-1);if(e==="Object"&&i.constructor&&(e=i.constructor.name),e==="Map"||e==="Set")return Array.from(i);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return yr(i,t)}}function yr(i,t){(t==null||t>i.length)&&(t=i.length);for(var e=0,s=new Array(t);e<t;e++)s[e]=i[e];return s}function xr(i,t,e,s,r,o,n){try{var h=i[o](n),l=h.value}catch(u){e(u);return}h.done?t(l):Promise.resolve(l).then(s,r)}function Sr(i){return function(){var t=this,e=arguments;return new Promise(function(s,r){var o=i.apply(t,e);function n(l){xr(o,s,r,n,h,"next",l)}function h(l){xr(o,s,r,n,h,"throw",l)}n(void 0)})}}var Ee=br(),al=["suggest","format","onState","validate","onRender","type"],$r=()=>{};function et(){return Ae.apply(this,arguments)}function Ae(){return Ae=Sr(function*(i=[],{onSubmit:t=$r,onCancel:e=$r}={}){let s={},r=et._override||{};i=[].concat(i);let o,n,h,l,u,S,m=function(){var E=Sr(function*($,k,P=!1){if(!(!P&&$.validate&&$.validate(k)!==!0))return $.format?yield $.format(k,s):k});return function(k,P){return E.apply(this,arguments)}}();var c=ll(i),p;try{for(c.s();!(p=c.n()).done;){n=p.value;var q=n;if(l=q.name,u=q.type,typeof u=="function"&&(u=yield u(o,wr({},s),n),n.type=u),!!u){for(let E in n){if(al.includes(E))continue;let $=n[E];n[E]=typeof $=="function"?yield $(o,wr({},s),S):$}if(S=n,typeof n.message!="string")throw new Error("prompt message is required");var pt=n;if(l=pt.name,u=pt.type,Ee[u]===void 0)throw new Error(`prompt type (${u}) is not defined`);if(r[n.name]!==void 0&&(o=yield m(n,r[n.name]),o!==void 0)){s[l]=o;continue}try{o=et._injected?cl(et._injected,n.initial):yield Ee[u](n),s[l]=o=yield m(n,o,!0),h=yield t(n,o,s)}catch{h=!(yield e(n,s))}if(h)return s}}}catch(E){c.e(E)}finally{c.f()}return s}),Ae.apply(this,arguments)}function cl(i,t){let e=i.shift();if(e instanceof Error)throw e;return e===void 0?t:e}function dl(i){et._injected=(et._injected||[]).concat(i)}function fl(i){et._override=Object.assign({},i)}Or.exports=Object.assign(et,{prompt:et,prompts:Ee,inject:dl,override:fl})});var Mr=a((lc,Tr)=>{"use strict";Tr.exports=(i,t)=>{if(!(i.meta&&i.name!=="escape")){if(i.ctrl){if(i.name==="a")return"first";if(i.name==="c"||i.name==="d")return"abort";if(i.name==="e")return"last";if(i.name==="g")return"reset"}if(t){if(i.name==="j")return"down";if(i.name==="k")return"up"}return i.name==="return"||i.name==="enter"?"submit":i.name==="backspace"?"delete":i.name==="delete"?"deleteForward":i.name==="abort"?"abort":i.name==="escape"?"exit":i.name==="tab"?"next":i.name==="pagedown"?"nextPage":i.name==="pageup"?"prevPage":i.name==="home"?"home":i.name==="end"?"end":i.name==="up"?"up":i.name==="down"?"down":i.name==="right"?"right":i.name==="left"?"left":!1}}});var Bt=a((uc,Pr)=>{"use strict";Pr.exports=i=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),e=new RegExp(t,"g");return typeof i=="string"?i.replace(e,""):i}});var Ir=a((ac,Cr)=>{"use strict";var pl=Bt(),{erase:_r,cursor:ml}=x(),gl=i=>[...pl(i)].length;Cr.exports=function(i,t){if(!t)return _r.line+ml.to(0);let e=0,s=i.split(/\r?\n/);for(let r of s)e+=1+Math.floor(Math.max(gl(r)-1,0)/t);return _r.lines(e)}});var ot=a((cc,Dr)=>{"use strict";var Ot={arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",radioOn:"\u25C9",radioOff:"\u25EF",tick:"\u2714",cross:"\u2716",ellipsis:"\u2026",pointerSmall:"\u203A",line:"\u2500",pointer:"\u276F"},bl={arrowUp:Ot.arrowUp,arrowDown:Ot.arrowDown,arrowLeft:Ot.arrowLeft,arrowRight:Ot.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"\u221A",cross:"\xD7",ellipsis:"...",pointerSmall:"\xBB",line:"\u2500",pointer:">"},vl=process.platform==="win32"?bl:Ot;Dr.exports=vl});var Ar=a((dc,Er)=>{"use strict";var ct=w(),ht=ot(),je=Object.freeze({password:{scale:1,render:i=>"*".repeat(i.length)},emoji:{scale:2,render:i=>"\u{1F603}".repeat(i.length)},invisible:{scale:0,render:i=>""},default:{scale:1,render:i=>`${i}`}}),wl=i=>je[i]||je.default,qt=Object.freeze({aborted:ct.red(ht.cross),done:ct.green(ht.tick),exited:ct.yellow(ht.cross),default:ct.cyan("?")}),yl=(i,t,e)=>t?qt.aborted:e?qt.exited:i?qt.done:qt.default,xl=i=>ct.gray(i?ht.ellipsis:ht.pointerSmall),Sl=(i,t)=>ct.gray(i?t?ht.pointerSmall:"+":ht.line);Er.exports={styles:je,render:wl,symbols:qt,symbol:yl,delimiter:xl,item:Sl}});var Rr=a((fc,jr)=>{"use strict";var $l=Bt();jr.exports=function(i,t){let e=String($l(i)||"").split(/\r?\n/);return t?e.map(s=>Math.ceil(s.length/t)).reduce((s,r)=>s+r):e.length}});var Lr=a((pc,Fr)=>{"use strict";Fr.exports=(i,t={})=>{let e=Number.isSafeInteger(parseInt(t.margin))?new Array(parseInt(t.margin)).fill(" ").join(""):t.margin||"",s=t.width;return(i||"").split(/\r?\n/g).map(r=>r.split(/\s+/g).reduce((o,n)=>(n.length+e.length>=s||o[o.length-1].length+n.length+1<s?o[o.length-1]+=` ${n}`:o.push(`${e}${n}`),o),[e]).join(`
50
+ `),this.close()}_(e,i){return e.toLowerCase()==="y"?(this.value=!0,this.submit()):e.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(bo.hide):this.out.write(Mh(this.outputText,this.out.columns)),super.render(),this.outputText=[vo.symbol(this.done,this.aborted),xo.bold(this.msg),vo.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:xo.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(Fh.line+bo.to(0)+this.outputText))}};wo.exports=$s});var Eo=d((fw,_o)=>{"use strict";_o.exports={TextPrompt:ca(),SelectPrompt:da(),TogglePrompt:ba(),DatePrompt:Wa(),NumberPrompt:eo(),MultiselectPrompt:ks(),AutocompletePrompt:po(),AutocompleteMultiselectPrompt:fo(),ConfirmPrompt:So()}});var Oo=d(To=>{"use strict";var ce=To,Ih=Eo(),mi=t=>t;function Se(t,e,i={}){return new Promise((s,r)=>{let n=new Ih[t](e),a=i.onAbort||mi,o=i.onSubmit||mi,l=i.onExit||mi;n.on("state",e.onState||mi),n.on("submit",c=>s(o(c))),n.on("exit",c=>s(l(c))),n.on("abort",c=>r(a(c)))})}ce.text=t=>Se("TextPrompt",t);ce.password=t=>(t.style="password",ce.text(t));ce.invisible=t=>(t.style="invisible",ce.text(t));ce.number=t=>Se("NumberPrompt",t);ce.date=t=>Se("DatePrompt",t);ce.confirm=t=>Se("ConfirmPrompt",t);ce.list=t=>{let e=t.separator||",";return Se("TextPrompt",t,{onSubmit:i=>i.split(e).map(s=>s.trim())})};ce.toggle=t=>Se("TogglePrompt",t);ce.select=t=>Se("SelectPrompt",t);ce.multiselect=t=>{t.choices=[].concat(t.choices||[]);let e=i=>i.filter(s=>s.selected).map(s=>s.value);return Se("MultiselectPrompt",t,{onAbort:e,onSubmit:e})};ce.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);let e=i=>i.filter(s=>s.selected).map(s=>s.value);return Se("AutocompleteMultiselectPrompt",t,{onAbort:e,onSubmit:e})};var Bh=(t,e)=>Promise.resolve(e.filter(i=>i.title.slice(0,t.length).toLowerCase()===t.toLowerCase()));ce.autocomplete=t=>(t.suggest=t.suggest||Bh,t.choices=[].concat(t.choices||[]),Se("AutocompletePrompt",t))});var Co=d((vw,$o)=>{"use strict";function ko(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),i.push.apply(i,s)}return i}function jo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?ko(Object(i),!0).forEach(function(s){Uh(t,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ko(Object(i)).forEach(function(s){Object.defineProperty(t,s,Object.getOwnPropertyDescriptor(i,s))})}return t}function Uh(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Nh(t,e){var i=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=zh(t))||e&&t&&typeof t.length=="number"){i&&(t=i);var s=0,r=function(){};return{s:r,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(c){throw c},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
51
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var n=!0,a=!1,o;return{s:function(){i=i.call(t)},n:function(){var c=i.next();return n=c.done,c},e:function(c){a=!0,o=c},f:function(){try{!n&&i.return!=null&&i.return()}finally{if(a)throw o}}}}function zh(t,e){if(t){if(typeof t=="string")return Ro(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Ro(t,e)}}function Ro(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,s=new Array(e);i<e;i++)s[i]=t[i];return s}function qo(t,e,i,s,r,n,a){try{var o=t[n](a),l=o.value}catch(c){i(c);return}o.done?e(l):Promise.resolve(l).then(s,r)}function Ao(t){return function(){var e=this,i=arguments;return new Promise(function(s,r){var n=t.apply(e,i);function a(l){qo(n,s,r,a,o,"next",l)}function o(l){qo(n,s,r,a,o,"throw",l)}a(void 0)})}}var Cs=Oo(),Hh=["suggest","format","onState","validate","onRender","type"],Po=()=>{};function Ue(){return Ds.apply(this,arguments)}function Ds(){return Ds=Ao(function*(t=[],{onSubmit:e=Po,onCancel:i=Po}={}){let s={},r=Ue._override||{};t=[].concat(t);let n,a,o,l,c,u,m=function(){var y=Ao(function*(T,C,k=!1){if(!(!k&&T.validate&&T.validate(C)!==!0))return T.format?yield T.format(C,s):C});return function(C,k){return y.apply(this,arguments)}}();var h=Nh(t),b;try{for(h.s();!(b=h.n()).done;){a=b.value;var f=a;if(l=f.name,c=f.type,typeof c=="function"&&(c=yield c(n,jo({},s),a),a.type=c),!!c){for(let y in a){if(Hh.includes(y))continue;let T=a[y];a[y]=typeof T=="function"?yield T(n,jo({},s),u):T}if(u=a,typeof a.message!="string")throw new Error("prompt message is required");var S=a;if(l=S.name,c=S.type,Cs[c]===void 0)throw new Error(`prompt type (${c}) is not defined`);if(r[a.name]!==void 0&&(n=yield m(a,r[a.name]),n!==void 0)){s[l]=n;continue}try{n=Ue._injected?Vh(Ue._injected,a.initial):yield Cs[c](a),s[l]=n=yield m(a,n,!0),o=yield e(a,n,s)}catch{o=!(yield i(a,s))}if(o)return s}}}catch(y){h.e(y)}finally{h.f()}return s}),Ds.apply(this,arguments)}function Vh(t,e){let i=t.shift();if(i instanceof Error)throw i;return i===void 0?e:i}function Yh(t){Ue._injected=(Ue._injected||[]).concat(t)}function Wh(t){Ue._override=Object.assign({},t)}$o.exports=Object.assign(Ue,{prompt:Ue,prompts:Cs,inject:Yh,override:Wh})});var Lo=d((bw,Do)=>{"use strict";Do.exports=(t,e)=>{if(!(t.meta&&t.name!=="escape")){if(t.ctrl){if(t.name==="a")return"first";if(t.name==="c"||t.name==="d")return"abort";if(t.name==="e")return"last";if(t.name==="g")return"reset"}if(e){if(t.name==="j")return"down";if(t.name==="k")return"up"}return t.name==="return"||t.name==="enter"?"submit":t.name==="backspace"?"delete":t.name==="delete"?"deleteForward":t.name==="abort"?"abort":t.name==="escape"?"exit":t.name==="tab"?"next":t.name==="pagedown"?"nextPage":t.name==="pageup"?"prevPage":t.name==="home"?"home":t.name==="end"?"end":t.name==="up"?"up":t.name==="down"?"down":t.name==="right"?"right":t.name==="left"?"left":!1}}});var hi=d((gw,Mo)=>{"use strict";Mo.exports=t=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|"),i=new RegExp(e,"g");return typeof t=="string"?t.replace(i,""):t}});var Bo=d((yw,Io)=>{"use strict";var Gh=hi(),{erase:Fo,cursor:Jh}=K(),Kh=t=>[...Gh(t)].length;Io.exports=function(t,e){if(!e)return Fo.line+Jh.to(0);let i=0,s=t.split(/\r?\n/);for(let r of s)i+=1+Math.floor(Math.max(Kh(r)-1,0)/e);return Fo.lines(i)}});var We=d((ww,Uo)=>{"use strict";var Pt={arrowUp:"\u2191",arrowDown:"\u2193",arrowLeft:"\u2190",arrowRight:"\u2192",radioOn:"\u25C9",radioOff:"\u25EF",tick:"\u2714",cross:"\u2716",ellipsis:"\u2026",pointerSmall:"\u203A",line:"\u2500",pointer:"\u276F"},Xh={arrowUp:Pt.arrowUp,arrowDown:Pt.arrowDown,arrowLeft:Pt.arrowLeft,arrowRight:Pt.arrowRight,radioOn:"(*)",radioOff:"( )",tick:"\u221A",cross:"\xD7",ellipsis:"...",pointerSmall:"\xBB",line:"\u2500",pointer:">"},Zh=process.platform==="win32"?Xh:Pt;Uo.exports=Zh});var zo=d((Sw,No)=>{"use strict";var ot=G(),Ge=We(),Ls=Object.freeze({password:{scale:1,render:t=>"*".repeat(t.length)},emoji:{scale:2,render:t=>"\u{1F603}".repeat(t.length)},invisible:{scale:0,render:t=>""},default:{scale:1,render:t=>`${t}`}}),Qh=t=>Ls[t]||Ls.default,$t=Object.freeze({aborted:ot.red(Ge.cross),done:ot.green(Ge.tick),exited:ot.yellow(Ge.cross),default:ot.cyan("?")}),ef=(t,e,i)=>e?$t.aborted:i?$t.exited:t?$t.done:$t.default,tf=t=>ot.gray(t?Ge.ellipsis:Ge.pointerSmall),sf=(t,e)=>ot.gray(t?e?Ge.pointerSmall:"+":Ge.line);No.exports={styles:Ls,render:Qh,symbols:$t,symbol:ef,delimiter:tf,item:sf}});var Vo=d((_w,Ho)=>{"use strict";var rf=hi();Ho.exports=function(t,e){let i=String(rf(t)||"").split(/\r?\n/);return e?i.map(s=>Math.ceil(s.length/e)).reduce((s,r)=>s+r):i.length}});var Wo=d((Ew,Yo)=>{"use strict";Yo.exports=(t,e={})=>{let i=Number.isSafeInteger(parseInt(e.margin))?new Array(parseInt(e.margin)).fill(" ").join(""):e.margin||"",s=e.width;return(t||"").split(/\r?\n/g).map(r=>r.split(/\s+/g).reduce((n,a)=>(a.length+i.length>=s||n[n.length-1].length+a.length+1<s?n[n.length-1]+=` ${a}`:n.push(`${i}${a}`),n),[i]).join(`
52
52
  `)).join(`
53
- `)}});var Yr=a((mc,Br)=>{"use strict";Br.exports=(i,t,e)=>{e=e||t;let s=Math.min(t-e,i-Math.floor(e/2));s<0&&(s=0);let r=Math.min(s+e,t);return{startIndex:s,endIndex:r}}});var j=a((gc,Hr)=>{"use strict";Hr.exports={action:Mr(),clear:Ir(),style:Ar(),strip:Bt(),figures:ot(),lines:Rr(),wrap:Lr(),entriesToDisplay:Yr()}});var Z=a((bc,Vr)=>{"use strict";var Nr=require("readline"),{action:Ol}=j(),ql=require("events"),{beep:Tl,cursor:Ml}=x(),Pl=w(),Re=class extends ql{constructor(t={}){super(),this.firstRender=!0,this.in=t.stdin||process.stdin,this.out=t.stdout||process.stdout,this.onRender=(t.onRender||(()=>{})).bind(this);let e=Nr.createInterface({input:this.in,escapeCodeTimeout:50});Nr.emitKeypressEvents(this.in,e),this.in.isTTY&&this.in.setRawMode(!0);let s=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1,r=(o,n)=>{let h=Ol(n,s);h===!1?this._&&this._(o,n):typeof this[h]=="function"?this[h](n):this.bell()};this.close=()=>{this.out.write(Ml.show),this.in.removeListener("keypress",r),this.in.isTTY&&this.in.setRawMode(!1),e.close(),this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value),this.closed=!0},this.in.on("keypress",r)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(Tl)}render(){this.onRender(Pl),this.firstRender&&(this.firstRender=!1)}};Vr.exports=Re});var Ur=a((vc,kr)=>{var Yt=w(),_l=Z(),{erase:Cl,cursor:Tt}=x(),{style:Fe,clear:Le,lines:Il,figures:Dl}=j(),Be=class extends _l{constructor(t={}){super(t),this.transform=Fe.render(t.style),this.scale=this.transform.scale,this.msg=t.message,this.initial=t.initial||"",this.validator=t.validate||(()=>!0),this.value="",this.errorMsg=t.error||"Please Enter A Valid Value",this.cursor=+!!this.initial,this.cursorOffset=0,this.clear=Le("",this.out.columns),this.render()}set value(t){!t&&this.initial?(this.placeholder=!0,this.rendered=Yt.gray(this.transform.render(this.initial))):(this.placeholder=!1,this.rendered=this.transform.render(t)),this._value=t,this.fire()}get value(){return this._value}reset(){this.value="",this.cursor=+!!this.initial,this.cursorOffset=0,this.fire(),this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial,this.done=this.aborted=!0,this.error=!1,this.red=!1,this.fire(),this.render(),this.out.write(`
54
- `),this.close()}async validate(){let t=await this.validator(this.value);typeof t=="string"&&(this.errorMsg=t,t=!1),this.error=!t}async submit(){if(this.value=this.value||this.initial,this.cursorOffset=0,this.cursor=this.rendered.length,await this.validate(),this.error){this.red=!0,this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
55
- `),this.close()}next(){if(!this.placeholder)return this.bell();this.value=this.initial,this.cursor=this.rendered.length,this.fire(),this.render()}moveCursor(t){this.placeholder||(this.cursor=this.cursor+t,this.cursorOffset+=t)}_(t,e){let s=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.value=`${s}${t}${r}`,this.red=!1,this.cursor=this.placeholder?0:s.length+1,this.render()}delete(){if(this.isCursorAtStart())return this.bell();let t=this.value.slice(0,this.cursor-1),e=this.value.slice(this.cursor);this.value=`${t}${e}`,this.red=!1,this.isCursorAtStart()?this.cursorOffset=0:(this.cursorOffset++,this.moveCursor(-1)),this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let t=this.value.slice(0,this.cursor),e=this.value.slice(this.cursor+1);this.value=`${t}${e}`,this.red=!1,this.isCursorAtEnd()?this.cursorOffset=0:this.cursorOffset++,this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length,this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1),this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1),this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(Tt.down(Il(this.outputError,this.out.columns)-1)+Le(this.outputError,this.out.columns)),this.out.write(Le(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[Fe.symbol(this.done,this.aborted),Yt.bold(this.msg),Fe.delimiter(this.done),this.red?Yt.red(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
56
- `).reduce((t,e,s)=>t+`
57
- ${s?" ":Dl.pointerSmall} ${Yt.red().italic(e)}`,"")),this.out.write(Cl.line+Tt.to(0)+this.outputText+Tt.save+this.outputError+Tt.restore+Tt.move(this.cursorOffset,0)))}};kr.exports=Be});var Wr=a((wc,zr)=>{"use strict";var X=w(),El=Z(),{style:Gr,clear:Jr,figures:Ht,wrap:Al,entriesToDisplay:jl}=j(),{cursor:Rl}=x(),Ye=class extends El{constructor(t={}){super(t),this.msg=t.message,this.hint=t.hint||"- Use arrow-keys. Return to submit.",this.warn=t.warn||"- This option is disabled",this.cursor=t.initial||0,this.choices=t.choices.map((e,s)=>(typeof e=="string"&&(e={title:e,value:s}),{title:e&&(e.title||e.value||e),value:e&&(e.value===void 0?s:e.value),description:e&&e.description,selected:e&&e.selected,disabled:e&&e.disabled})),this.optionsPerPage=t.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=Jr("",this.out.columns),this.render()}moveCursor(t){this.cursor=t,this.value=this.choices[t].value,this.fire()}reset(){this.moveCursor(0),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
53
+ `)}});var Jo=d((Tw,Go)=>{"use strict";Go.exports=(t,e,i)=>{i=i||e;let s=Math.min(e-i,t-Math.floor(i/2));s<0&&(s=0);let r=Math.min(s+i,e);return{startIndex:s,endIndex:r}}});var xe=d((Ow,Ko)=>{"use strict";Ko.exports={action:Lo(),clear:Bo(),style:zo(),strip:hi(),figures:We(),lines:Vo(),wrap:Wo(),entriesToDisplay:Jo()}});var $e=d((kw,Zo)=>{"use strict";var Xo=require("readline"),{action:nf}=xe(),af=require("events"),{beep:of,cursor:cf}=K(),lf=G(),Ms=class extends af{constructor(e={}){super(),this.firstRender=!0,this.in=e.stdin||process.stdin,this.out=e.stdout||process.stdout,this.onRender=(e.onRender||(()=>{})).bind(this);let i=Xo.createInterface({input:this.in,escapeCodeTimeout:50});Xo.emitKeypressEvents(this.in,i),this.in.isTTY&&this.in.setRawMode(!0);let s=["SelectPrompt","MultiselectPrompt"].indexOf(this.constructor.name)>-1,r=(n,a)=>{let o=nf(a,s);o===!1?this._&&this._(n,a):typeof this[o]=="function"?this[o](a):this.bell()};this.close=()=>{this.out.write(cf.show),this.in.removeListener("keypress",r),this.in.isTTY&&this.in.setRawMode(!1),i.close(),this.emit(this.aborted?"abort":this.exited?"exit":"submit",this.value),this.closed=!0},this.in.on("keypress",r)}fire(){this.emit("state",{value:this.value,aborted:!!this.aborted,exited:!!this.exited})}bell(){this.out.write(of)}render(){this.onRender(lf),this.firstRender&&(this.firstRender=!1)}};Zo.exports=Ms});var ec=d((jw,Qo)=>{var fi=G(),pf=$e(),{erase:uf,cursor:Ct}=K(),{style:Fs,clear:Is,lines:df,figures:mf}=xe(),Bs=class extends pf{constructor(e={}){super(e),this.transform=Fs.render(e.style),this.scale=this.transform.scale,this.msg=e.message,this.initial=e.initial||"",this.validator=e.validate||(()=>!0),this.value="",this.errorMsg=e.error||"Please Enter A Valid Value",this.cursor=+!!this.initial,this.cursorOffset=0,this.clear=Is("",this.out.columns),this.render()}set value(e){!e&&this.initial?(this.placeholder=!0,this.rendered=fi.gray(this.transform.render(this.initial))):(this.placeholder=!1,this.rendered=this.transform.render(e)),this._value=e,this.fire()}get value(){return this._value}reset(){this.value="",this.cursor=+!!this.initial,this.cursorOffset=0,this.fire(),this.render()}exit(){this.abort()}abort(){this.value=this.value||this.initial,this.done=this.aborted=!0,this.error=!1,this.red=!1,this.fire(),this.render(),this.out.write(`
54
+ `),this.close()}async validate(){let e=await this.validator(this.value);typeof e=="string"&&(this.errorMsg=e,e=!1),this.error=!e}async submit(){if(this.value=this.value||this.initial,this.cursorOffset=0,this.cursor=this.rendered.length,await this.validate(),this.error){this.red=!0,this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
55
+ `),this.close()}next(){if(!this.placeholder)return this.bell();this.value=this.initial,this.cursor=this.rendered.length,this.fire(),this.render()}moveCursor(e){this.placeholder||(this.cursor=this.cursor+e,this.cursorOffset+=e)}_(e,i){let s=this.value.slice(0,this.cursor),r=this.value.slice(this.cursor);this.value=`${s}${e}${r}`,this.red=!1,this.cursor=this.placeholder?0:s.length+1,this.render()}delete(){if(this.isCursorAtStart())return this.bell();let e=this.value.slice(0,this.cursor-1),i=this.value.slice(this.cursor);this.value=`${e}${i}`,this.red=!1,this.isCursorAtStart()?this.cursorOffset=0:(this.cursorOffset++,this.moveCursor(-1)),this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();let e=this.value.slice(0,this.cursor),i=this.value.slice(this.cursor+1);this.value=`${e}${i}`,this.red=!1,this.isCursorAtEnd()?this.cursorOffset=0:this.cursorOffset++,this.render()}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length,this.render()}left(){if(this.cursor<=0||this.placeholder)return this.bell();this.moveCursor(-1),this.render()}right(){if(this.cursor*this.scale>=this.rendered.length||this.placeholder)return this.bell();this.moveCursor(1),this.render()}isCursorAtStart(){return this.cursor===0||this.placeholder&&this.cursor===1}isCursorAtEnd(){return this.cursor===this.rendered.length||this.placeholder&&this.cursor===this.rendered.length+1}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(Ct.down(df(this.outputError,this.out.columns)-1)+Is(this.outputError,this.out.columns)),this.out.write(Is(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[Fs.symbol(this.done,this.aborted),fi.bold(this.msg),Fs.delimiter(this.done),this.red?fi.red(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
56
+ `).reduce((e,i,s)=>e+`
57
+ ${s?" ":mf.pointerSmall} ${fi.red().italic(i)}`,"")),this.out.write(uf.line+Ct.to(0)+this.outputText+Ct.save+this.outputError+Ct.restore+Ct.move(this.cursorOffset,0)))}};Qo.exports=Bs});var rc=d((Rw,sc)=>{"use strict";var Ce=G(),hf=$e(),{style:tc,clear:ic,figures:xi,wrap:ff,entriesToDisplay:xf}=xe(),{cursor:vf}=K(),Us=class extends hf{constructor(e={}){super(e),this.msg=e.message,this.hint=e.hint||"- Use arrow-keys. Return to submit.",this.warn=e.warn||"- This option is disabled",this.cursor=e.initial||0,this.choices=e.choices.map((i,s)=>(typeof i=="string"&&(i={title:i,value:s}),{title:i&&(i.title||i.value||i),value:i&&(i.value===void 0?s:i.value),description:i&&i.description,selected:i&&i.selected,disabled:i&&i.disabled})),this.optionsPerPage=e.optionsPerPage||10,this.value=(this.choices[this.cursor]||{}).value,this.clear=ic("",this.out.columns),this.render()}moveCursor(e){this.cursor=e,this.value=this.choices[e].value,this.fire()}reset(){this.moveCursor(0),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
58
58
  `),this.close()}submit(){this.selection.disabled?this.bell():(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
59
- `),this.close())}first(){this.moveCursor(0),this.render()}last(){this.moveCursor(this.choices.length-1),this.render()}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render()}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render()}_(t,e){if(t===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(Rl.hide):this.out.write(Jr(this.outputText,this.out.columns)),super.render();let{startIndex:t,endIndex:e}=jl(this.cursor,this.choices.length,this.optionsPerPage);if(this.outputText=[Gr.symbol(this.done,this.aborted),X.bold(this.msg),Gr.delimiter(!1),this.done?this.selection.title:this.selection.disabled?X.yellow(this.warn):X.gray(this.hint)].join(" "),!this.done){this.outputText+=`
60
- `;for(let s=t;s<e;s++){let r,o,n="",h=this.choices[s];s===t&&t>0?o=Ht.arrowUp:s===e-1&&e<this.choices.length?o=Ht.arrowDown:o=" ",h.disabled?(r=this.cursor===s?X.gray().underline(h.title):X.strikethrough().gray(h.title),o=(this.cursor===s?X.bold().gray(Ht.pointer)+" ":" ")+o):(r=this.cursor===s?X.cyan().underline(h.title):h.title,o=(this.cursor===s?X.cyan(Ht.pointer)+" ":" ")+o,h.description&&this.cursor===s&&(n=` - ${h.description}`,(o.length+r.length+n.length>=this.out.columns||h.description.split(/\r?\n/).length>1)&&(n=`
61
- `+Al(h.description,{margin:3,width:this.out.columns})))),this.outputText+=`${o} ${r}${X.gray(n)}
62
- `}}this.out.write(this.outputText)}};zr.exports=Ye});var Qr=a((yc,Xr)=>{var Nt=w(),Fl=Z(),{style:Kr,clear:Ll}=j(),{cursor:Zr,erase:Bl}=x(),He=class extends Fl{constructor(t={}){super(t),this.msg=t.message,this.value=!!t.initial,this.active=t.active||"on",this.inactive=t.inactive||"off",this.initialValue=this.value,this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
59
+ `),this.close())}first(){this.moveCursor(0),this.render()}last(){this.moveCursor(this.choices.length-1),this.render()}up(){this.cursor===0?this.moveCursor(this.choices.length-1):this.moveCursor(this.cursor-1),this.render()}down(){this.cursor===this.choices.length-1?this.moveCursor(0):this.moveCursor(this.cursor+1),this.render()}next(){this.moveCursor((this.cursor+1)%this.choices.length),this.render()}_(e,i){if(e===" ")return this.submit()}get selection(){return this.choices[this.cursor]}render(){if(this.closed)return;this.firstRender?this.out.write(vf.hide):this.out.write(ic(this.outputText,this.out.columns)),super.render();let{startIndex:e,endIndex:i}=xf(this.cursor,this.choices.length,this.optionsPerPage);if(this.outputText=[tc.symbol(this.done,this.aborted),Ce.bold(this.msg),tc.delimiter(!1),this.done?this.selection.title:this.selection.disabled?Ce.yellow(this.warn):Ce.gray(this.hint)].join(" "),!this.done){this.outputText+=`
60
+ `;for(let s=e;s<i;s++){let r,n,a="",o=this.choices[s];s===e&&e>0?n=xi.arrowUp:s===i-1&&i<this.choices.length?n=xi.arrowDown:n=" ",o.disabled?(r=this.cursor===s?Ce.gray().underline(o.title):Ce.strikethrough().gray(o.title),n=(this.cursor===s?Ce.bold().gray(xi.pointer)+" ":" ")+n):(r=this.cursor===s?Ce.cyan().underline(o.title):o.title,n=(this.cursor===s?Ce.cyan(xi.pointer)+" ":" ")+n,o.description&&this.cursor===s&&(a=` - ${o.description}`,(n.length+r.length+a.length>=this.out.columns||o.description.split(/\r?\n/).length>1)&&(a=`
61
+ `+ff(o.description,{margin:3,width:this.out.columns})))),this.outputText+=`${n} ${r}${Ce.gray(a)}
62
+ `}}this.out.write(this.outputText)}};sc.exports=Us});var cc=d((qw,oc)=>{var vi=G(),bf=$e(),{style:nc,clear:gf}=xe(),{cursor:ac,erase:yf}=K(),Ns=class extends bf{constructor(e={}){super(e),this.msg=e.message,this.value=!!e.initial,this.active=e.active||"on",this.inactive=e.inactive||"off",this.initialValue=this.value,this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
63
63
  `),this.close()}submit(){this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
64
- `),this.close()}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render()}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value,this.fire(),this.render()}_(t,e){if(t===" ")this.value=!this.value;else if(t==="1")this.value=!0;else if(t==="0")this.value=!1;else return this.bell();this.render()}render(){this.closed||(this.firstRender?this.out.write(Zr.hide):this.out.write(Ll(this.outputText,this.out.columns)),super.render(),this.outputText=[Kr.symbol(this.done,this.aborted),Nt.bold(this.msg),Kr.delimiter(this.done),this.value?this.inactive:Nt.cyan().underline(this.inactive),Nt.gray("/"),this.value?Nt.cyan().underline(this.active):this.active].join(" "),this.out.write(Bl.line+Zr.to(0)+this.outputText))}};Xr.exports=He});var Y=a((xc,tn)=>{"use strict";var Ne=class i{constructor({token:t,date:e,parts:s,locales:r}){this.token=t,this.date=e||new Date,this.parts=s||[this],this.locales=r||{}}up(){}down(){}next(){let t=this.parts.indexOf(this);return this.parts.find((e,s)=>s>t&&e instanceof i)}setTo(t){}prev(){let t=[].concat(this.parts).reverse(),e=t.indexOf(this);return t.find((s,r)=>r>e&&s instanceof i)}toString(){return String(this.date)}};tn.exports=Ne});var sn=a((Sc,en)=>{"use strict";var Yl=Y(),Ve=class extends Yl{constructor(t={}){super(t)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let t=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?t.toUpperCase():t}};en.exports=Ve});var nn=a(($c,rn)=>{"use strict";var Hl=Y(),Nl=i=>(i=i%10,i===1?"st":i===2?"nd":i===3?"rd":"th"),ke=class extends Hl{constructor(t={}){super(t)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(t){this.date.setDate(parseInt(t.substr(-2)))}toString(){let t=this.date.getDate(),e=this.date.getDay();return this.token==="DD"?String(t).padStart(2,"0"):this.token==="Do"?t+Nl(t):this.token==="d"?e+1:this.token==="ddd"?this.locales.weekdaysShort[e]:this.token==="dddd"?this.locales.weekdays[e]:t}};rn.exports=ke});var hn=a((Oc,on)=>{"use strict";var Vl=Y(),Ue=class extends Vl{constructor(t={}){super(t)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(t){this.date.setHours(parseInt(t.substr(-2)))}toString(){let t=this.date.getHours();return/h/.test(this.token)&&(t=t%12||12),this.token.length>1?String(t).padStart(2,"0"):t}};on.exports=Ue});var un=a((qc,ln)=>{"use strict";var kl=Y(),Ge=class extends kl{constructor(t={}){super(t)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(t){this.date.setMilliseconds(parseInt(t.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};ln.exports=Ge});var cn=a((Tc,an)=>{"use strict";var Ul=Y(),Je=class extends Ul{constructor(t={}){super(t)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(t){this.date.setMinutes(parseInt(t.substr(-2)))}toString(){let t=this.date.getMinutes();return this.token.length>1?String(t).padStart(2,"0"):t}};an.exports=Je});var fn=a((Mc,dn)=>{"use strict";var Gl=Y(),ze=class extends Gl{constructor(t={}){super(t)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(t){t=parseInt(t.substr(-2))-1,this.date.setMonth(t<0?0:t)}toString(){let t=this.date.getMonth(),e=this.token.length;return e===2?String(t+1).padStart(2,"0"):e===3?this.locales.monthsShort[t]:e===4?this.locales.months[t]:String(t+1)}};dn.exports=ze});var mn=a((Pc,pn)=>{"use strict";var Jl=Y(),We=class extends Jl{constructor(t={}){super(t)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(t){this.date.setSeconds(parseInt(t.substr(-2)))}toString(){let t=this.date.getSeconds();return this.token.length>1?String(t).padStart(2,"0"):t}};pn.exports=We});var bn=a((_c,gn)=>{"use strict";var zl=Y(),Ke=class extends zl{constructor(t={}){super(t)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(t){this.date.setFullYear(t.substr(-4))}toString(){let t=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?t.substr(-2):t}};gn.exports=Ke});var wn=a((Cc,vn)=>{"use strict";vn.exports={DatePart:Y(),Meridiem:sn(),Day:nn(),Hours:hn(),Milliseconds:un(),Minutes:cn(),Month:fn(),Seconds:mn(),Year:bn()}});var Tn=a((Ic,qn)=>{"use strict";var Ze=w(),Wl=Z(),{style:yn,clear:xn,figures:Kl}=j(),{erase:Zl,cursor:Sn}=x(),{DatePart:$n,Meridiem:Xl,Day:Ql,Hours:tu,Milliseconds:eu,Minutes:iu,Month:su,Seconds:ru,Year:nu}=wn(),ou=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,On={1:({token:i})=>i.replace(/\\(.)/g,"$1"),2:i=>new Ql(i),3:i=>new su(i),4:i=>new nu(i),5:i=>new Xl(i),6:i=>new tu(i),7:i=>new iu(i),8:i=>new ru(i),9:i=>new eu(i)},hu={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},Xe=class extends Wl{constructor(t={}){super(t),this.msg=t.message,this.cursor=0,this.typed="",this.locales=Object.assign(hu,t.locales),this._date=t.initial||new Date,this.errorMsg=t.error||"Please Enter A Valid Value",this.validator=t.validate||(()=>!0),this.mask=t.mask||"YYYY-MM-DD HH:mm:ss",this.clear=xn("",this.out.columns),this.render()}get value(){return this.date}get date(){return this._date}set date(t){t&&this._date.setTime(t.getTime())}set mask(t){let e;for(this.parts=[];e=ou.exec(t);){let r=e.shift(),o=e.findIndex(n=>n!=null);this.parts.push(o in On?On[o]({token:e[o]||r,date:this.date,parts:this.parts,locales:this.locales}):e[o]||r)}let s=this.parts.reduce((r,o)=>(typeof o=="string"&&typeof r[r.length-1]=="string"?r[r.length-1]+=o:r.push(o),r),[]);this.parts.splice(0),this.parts.push(...s),this.reset()}moveCursor(t){this.typed="",this.cursor=t,this.fire()}reset(){this.moveCursor(this.parts.findIndex(t=>t instanceof $n)),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
65
- `),this.close()}async validate(){let t=await this.validator(this.value);typeof t=="string"&&(this.errorMsg=t,t=!1),this.error=!t}async submit(){if(await this.validate(),this.error){this.color="red",this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
66
- `),this.close()}up(){this.typed="",this.parts[this.cursor].up(),this.render()}down(){this.typed="",this.parts[this.cursor].down(),this.render()}left(){let t=this.parts[this.cursor].prev();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t)),this.render()}right(){let t=this.parts[this.cursor].next();if(t==null)return this.bell();this.moveCursor(this.parts.indexOf(t)),this.render()}next(){let t=this.parts[this.cursor].next();this.moveCursor(t?this.parts.indexOf(t):this.parts.findIndex(e=>e instanceof $n)),this.render()}_(t){/\d/.test(t)&&(this.typed+=t,this.parts[this.cursor].setTo(this.typed),this.render())}render(){this.closed||(this.firstRender?this.out.write(Sn.hide):this.out.write(xn(this.outputText,this.out.columns)),super.render(),this.outputText=[yn.symbol(this.done,this.aborted),Ze.bold(this.msg),yn.delimiter(!1),this.parts.reduce((t,e,s)=>t.concat(s===this.cursor&&!this.done?Ze.cyan().underline(e.toString()):e),[]).join("")].join(" "),this.error&&(this.outputText+=this.errorMsg.split(`
67
- `).reduce((t,e,s)=>t+`
68
- ${s?" ":Kl.pointerSmall} ${Ze.red().italic(e)}`,"")),this.out.write(Zl.line+Sn.to(0)+this.outputText))}};qn.exports=Xe});var Cn=a((Dc,_n)=>{var Vt=w(),lu=Z(),{cursor:kt,erase:uu}=x(),{style:Qe,figures:au,clear:Mn,lines:cu}=j(),du=/[0-9]/,ti=i=>i!==void 0,Pn=(i,t)=>{let e=Math.pow(10,t);return Math.round(i*e)/e},ei=class extends lu{constructor(t={}){super(t),this.transform=Qe.render(t.style),this.msg=t.message,this.initial=ti(t.initial)?t.initial:"",this.float=!!t.float,this.round=t.round||2,this.inc=t.increment||1,this.min=ti(t.min)?t.min:-1/0,this.max=ti(t.max)?t.max:1/0,this.errorMsg=t.error||"Please Enter A Valid Value",this.validator=t.validate||(()=>!0),this.color="cyan",this.value="",this.typed="",this.lastHit=0,this.render()}set value(t){!t&&t!==0?(this.placeholder=!0,this.rendered=Vt.gray(this.transform.render(`${this.initial}`)),this._value=""):(this.placeholder=!1,this.rendered=this.transform.render(`${Pn(t,this.round)}`),this._value=Pn(t,this.round)),this.fire()}get value(){return this._value}parse(t){return this.float?parseFloat(t):parseInt(t)}valid(t){return t==="-"||t==="."&&this.float||du.test(t)}reset(){this.typed="",this.value="",this.fire(),this.render()}exit(){this.abort()}abort(){let t=this.value;this.value=t!==""?t:this.initial,this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
69
- `),this.close()}async validate(){let t=await this.validator(this.value);typeof t=="string"&&(this.errorMsg=t,t=!1),this.error=!t}async submit(){if(await this.validate(),this.error){this.color="red",this.fire(),this.render();return}let t=this.value;this.value=t!==""?t:this.initial,this.done=!0,this.aborted=!1,this.error=!1,this.fire(),this.render(),this.out.write(`
70
- `),this.close()}up(){if(this.typed="",this.value===""&&(this.value=this.min-this.inc),this.value>=this.max)return this.bell();this.value+=this.inc,this.color="cyan",this.fire(),this.render()}down(){if(this.typed="",this.value===""&&(this.value=this.min+this.inc),this.value<=this.min)return this.bell();this.value-=this.inc,this.color="cyan",this.fire(),this.render()}delete(){let t=this.value.toString();if(t.length===0)return this.bell();this.value=this.parse(t=t.slice(0,-1))||"",this.value!==""&&this.value<this.min&&(this.value=this.min),this.color="cyan",this.fire(),this.render()}next(){this.value=this.initial,this.fire(),this.render()}_(t,e){if(!this.valid(t))return this.bell();let s=Date.now();if(s-this.lastHit>1e3&&(this.typed=""),this.typed+=t,this.lastHit=s,this.color="cyan",t===".")return this.fire();this.value=Math.min(this.parse(this.typed),this.max),this.value>this.max&&(this.value=this.max),this.value<this.min&&(this.value=this.min),this.fire(),this.render()}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(kt.down(cu(this.outputError,this.out.columns)-1)+Mn(this.outputError,this.out.columns)),this.out.write(Mn(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[Qe.symbol(this.done,this.aborted),Vt.bold(this.msg),Qe.delimiter(this.done),!this.done||!this.done&&!this.placeholder?Vt[this.color]().underline(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
71
- `).reduce((t,e,s)=>t+`
72
- ${s?" ":au.pointerSmall} ${Vt.red().italic(e)}`,"")),this.out.write(uu.line+kt.to(0)+this.outputText+kt.save+this.outputError+kt.restore))}};_n.exports=ei});var si=a((Ec,En)=>{"use strict";var H=w(),{cursor:fu}=x(),pu=Z(),{clear:In,figures:it,style:Dn,wrap:mu,entriesToDisplay:gu}=j(),ii=class extends pu{constructor(t={}){super(t),this.msg=t.message,this.cursor=t.cursor||0,this.scrollIndex=t.cursor||0,this.hint=t.hint||"",this.warn=t.warn||"- This option is disabled -",this.minSelected=t.min,this.showMinError=!1,this.maxChoices=t.max,this.instructions=t.instructions,this.optionsPerPage=t.optionsPerPage||10,this.value=t.choices.map((e,s)=>(typeof e=="string"&&(e={title:e,value:s}),{title:e&&(e.title||e.value||e),description:e&&e.description,value:e&&(e.value===void 0?s:e.value),selected:e&&e.selected,disabled:e&&e.disabled})),this.clear=In("",this.out.columns),t.overrideRender||this.render()}reset(){this.value.map(t=>!t.selected),this.cursor=0,this.fire(),this.render()}selected(){return this.value.filter(t=>t.selected)}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
73
- `),this.close()}submit(){let t=this.value.filter(e=>e.selected);this.minSelected&&t.length<this.minSelected?(this.showMinError=!0,this.render()):(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
74
- `),this.close())}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.value.length,this.render()}up(){this.cursor===0?this.cursor=this.value.length-1:this.cursor--,this.render()}down(){this.cursor===this.value.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.value[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(t=>t.selected).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=!0,this.render()}handleSpaceToggle(){let t=this.value[this.cursor];if(t.selected)t.selected=!1,this.render();else{if(t.disabled||this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();t.selected=!0,this.render()}}toggleAll(){if(this.maxChoices!==void 0||this.value[this.cursor].disabled)return this.bell();let t=!this.value[this.cursor].selected;this.value.filter(e=>!e.disabled).forEach(e=>e.selected=t),this.render()}_(t,e){if(t===" ")this.handleSpaceToggle();else if(t==="a")this.toggleAll();else return this.bell()}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
64
+ `),this.close()}deactivate(){if(this.value===!1)return this.bell();this.value=!1,this.render()}activate(){if(this.value===!0)return this.bell();this.value=!0,this.render()}delete(){this.deactivate()}left(){this.deactivate()}right(){this.activate()}down(){this.deactivate()}up(){this.activate()}next(){this.value=!this.value,this.fire(),this.render()}_(e,i){if(e===" ")this.value=!this.value;else if(e==="1")this.value=!0;else if(e==="0")this.value=!1;else return this.bell();this.render()}render(){this.closed||(this.firstRender?this.out.write(ac.hide):this.out.write(gf(this.outputText,this.out.columns)),super.render(),this.outputText=[nc.symbol(this.done,this.aborted),vi.bold(this.msg),nc.delimiter(this.done),this.value?this.inactive:vi.cyan().underline(this.inactive),vi.gray("/"),this.value?vi.cyan().underline(this.active):this.active].join(" "),this.out.write(yf.line+ac.to(0)+this.outputText))}};oc.exports=Ns});var _e=d((Aw,lc)=>{"use strict";var zs=class t{constructor({token:e,date:i,parts:s,locales:r}){this.token=e,this.date=i||new Date,this.parts=s||[this],this.locales=r||{}}up(){}down(){}next(){let e=this.parts.indexOf(this);return this.parts.find((i,s)=>s>e&&i instanceof t)}setTo(e){}prev(){let e=[].concat(this.parts).reverse(),i=e.indexOf(this);return e.find((s,r)=>r>i&&s instanceof t)}toString(){return String(this.date)}};lc.exports=zs});var uc=d((Pw,pc)=>{"use strict";var wf=_e(),Hs=class extends wf{constructor(e={}){super(e)}up(){this.date.setHours((this.date.getHours()+12)%24)}down(){this.up()}toString(){let e=this.date.getHours()>12?"pm":"am";return/\A/.test(this.token)?e.toUpperCase():e}};pc.exports=Hs});var mc=d(($w,dc)=>{"use strict";var Sf=_e(),_f=t=>(t=t%10,t===1?"st":t===2?"nd":t===3?"rd":"th"),Vs=class extends Sf{constructor(e={}){super(e)}up(){this.date.setDate(this.date.getDate()+1)}down(){this.date.setDate(this.date.getDate()-1)}setTo(e){this.date.setDate(parseInt(e.substr(-2)))}toString(){let e=this.date.getDate(),i=this.date.getDay();return this.token==="DD"?String(e).padStart(2,"0"):this.token==="Do"?e+_f(e):this.token==="d"?i+1:this.token==="ddd"?this.locales.weekdaysShort[i]:this.token==="dddd"?this.locales.weekdays[i]:e}};dc.exports=Vs});var fc=d((Cw,hc)=>{"use strict";var Ef=_e(),Ys=class extends Ef{constructor(e={}){super(e)}up(){this.date.setHours(this.date.getHours()+1)}down(){this.date.setHours(this.date.getHours()-1)}setTo(e){this.date.setHours(parseInt(e.substr(-2)))}toString(){let e=this.date.getHours();return/h/.test(this.token)&&(e=e%12||12),this.token.length>1?String(e).padStart(2,"0"):e}};hc.exports=Ys});var vc=d((Dw,xc)=>{"use strict";var Tf=_e(),Ws=class extends Tf{constructor(e={}){super(e)}up(){this.date.setMilliseconds(this.date.getMilliseconds()+1)}down(){this.date.setMilliseconds(this.date.getMilliseconds()-1)}setTo(e){this.date.setMilliseconds(parseInt(e.substr(-this.token.length)))}toString(){return String(this.date.getMilliseconds()).padStart(4,"0").substr(0,this.token.length)}};xc.exports=Ws});var gc=d((Lw,bc)=>{"use strict";var Of=_e(),Gs=class extends Of{constructor(e={}){super(e)}up(){this.date.setMinutes(this.date.getMinutes()+1)}down(){this.date.setMinutes(this.date.getMinutes()-1)}setTo(e){this.date.setMinutes(parseInt(e.substr(-2)))}toString(){let e=this.date.getMinutes();return this.token.length>1?String(e).padStart(2,"0"):e}};bc.exports=Gs});var wc=d((Mw,yc)=>{"use strict";var kf=_e(),Js=class extends kf{constructor(e={}){super(e)}up(){this.date.setMonth(this.date.getMonth()+1)}down(){this.date.setMonth(this.date.getMonth()-1)}setTo(e){e=parseInt(e.substr(-2))-1,this.date.setMonth(e<0?0:e)}toString(){let e=this.date.getMonth(),i=this.token.length;return i===2?String(e+1).padStart(2,"0"):i===3?this.locales.monthsShort[e]:i===4?this.locales.months[e]:String(e+1)}};yc.exports=Js});var _c=d((Fw,Sc)=>{"use strict";var jf=_e(),Ks=class extends jf{constructor(e={}){super(e)}up(){this.date.setSeconds(this.date.getSeconds()+1)}down(){this.date.setSeconds(this.date.getSeconds()-1)}setTo(e){this.date.setSeconds(parseInt(e.substr(-2)))}toString(){let e=this.date.getSeconds();return this.token.length>1?String(e).padStart(2,"0"):e}};Sc.exports=Ks});var Tc=d((Iw,Ec)=>{"use strict";var Rf=_e(),Xs=class extends Rf{constructor(e={}){super(e)}up(){this.date.setFullYear(this.date.getFullYear()+1)}down(){this.date.setFullYear(this.date.getFullYear()-1)}setTo(e){this.date.setFullYear(e.substr(-4))}toString(){let e=String(this.date.getFullYear()).padStart(4,"0");return this.token.length===2?e.substr(-2):e}};Ec.exports=Xs});var kc=d((Bw,Oc)=>{"use strict";Oc.exports={DatePart:_e(),Meridiem:uc(),Day:mc(),Hours:fc(),Milliseconds:vc(),Minutes:gc(),Month:wc(),Seconds:_c(),Year:Tc()}});var Cc=d((Uw,$c)=>{"use strict";var Zs=G(),qf=$e(),{style:jc,clear:Rc,figures:Af}=xe(),{erase:Pf,cursor:qc}=K(),{DatePart:Ac,Meridiem:$f,Day:Cf,Hours:Df,Milliseconds:Lf,Minutes:Mf,Month:Ff,Seconds:If,Year:Bf}=kc(),Uf=/\\(.)|"((?:\\["\\]|[^"])+)"|(D[Do]?|d{3,4}|d)|(M{1,4})|(YY(?:YY)?)|([aA])|([Hh]{1,2})|(m{1,2})|(s{1,2})|(S{1,4})|./g,Pc={1:({token:t})=>t.replace(/\\(.)/g,"$1"),2:t=>new Cf(t),3:t=>new Ff(t),4:t=>new Bf(t),5:t=>new $f(t),6:t=>new Df(t),7:t=>new Mf(t),8:t=>new If(t),9:t=>new Lf(t)},Nf={months:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),monthsShort:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),weekdays:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),weekdaysShort:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(",")},Qs=class extends qf{constructor(e={}){super(e),this.msg=e.message,this.cursor=0,this.typed="",this.locales=Object.assign(Nf,e.locales),this._date=e.initial||new Date,this.errorMsg=e.error||"Please Enter A Valid Value",this.validator=e.validate||(()=>!0),this.mask=e.mask||"YYYY-MM-DD HH:mm:ss",this.clear=Rc("",this.out.columns),this.render()}get value(){return this.date}get date(){return this._date}set date(e){e&&this._date.setTime(e.getTime())}set mask(e){let i;for(this.parts=[];i=Uf.exec(e);){let r=i.shift(),n=i.findIndex(a=>a!=null);this.parts.push(n in Pc?Pc[n]({token:i[n]||r,date:this.date,parts:this.parts,locales:this.locales}):i[n]||r)}let s=this.parts.reduce((r,n)=>(typeof n=="string"&&typeof r[r.length-1]=="string"?r[r.length-1]+=n:r.push(n),r),[]);this.parts.splice(0),this.parts.push(...s),this.reset()}moveCursor(e){this.typed="",this.cursor=e,this.fire()}reset(){this.moveCursor(this.parts.findIndex(e=>e instanceof Ac)),this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
65
+ `),this.close()}async validate(){let e=await this.validator(this.value);typeof e=="string"&&(this.errorMsg=e,e=!1),this.error=!e}async submit(){if(await this.validate(),this.error){this.color="red",this.fire(),this.render();return}this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
66
+ `),this.close()}up(){this.typed="",this.parts[this.cursor].up(),this.render()}down(){this.typed="",this.parts[this.cursor].down(),this.render()}left(){let e=this.parts[this.cursor].prev();if(e==null)return this.bell();this.moveCursor(this.parts.indexOf(e)),this.render()}right(){let e=this.parts[this.cursor].next();if(e==null)return this.bell();this.moveCursor(this.parts.indexOf(e)),this.render()}next(){let e=this.parts[this.cursor].next();this.moveCursor(e?this.parts.indexOf(e):this.parts.findIndex(i=>i instanceof Ac)),this.render()}_(e){/\d/.test(e)&&(this.typed+=e,this.parts[this.cursor].setTo(this.typed),this.render())}render(){this.closed||(this.firstRender?this.out.write(qc.hide):this.out.write(Rc(this.outputText,this.out.columns)),super.render(),this.outputText=[jc.symbol(this.done,this.aborted),Zs.bold(this.msg),jc.delimiter(!1),this.parts.reduce((e,i,s)=>e.concat(s===this.cursor&&!this.done?Zs.cyan().underline(i.toString()):i),[]).join("")].join(" "),this.error&&(this.outputText+=this.errorMsg.split(`
67
+ `).reduce((e,i,s)=>e+`
68
+ ${s?" ":Af.pointerSmall} ${Zs.red().italic(i)}`,"")),this.out.write(Pf.line+qc.to(0)+this.outputText))}};$c.exports=Qs});var Fc=d((Nw,Mc)=>{var bi=G(),zf=$e(),{cursor:gi,erase:Hf}=K(),{style:er,figures:Vf,clear:Dc,lines:Yf}=xe(),Wf=/[0-9]/,tr=t=>t!==void 0,Lc=(t,e)=>{let i=Math.pow(10,e);return Math.round(t*i)/i},ir=class extends zf{constructor(e={}){super(e),this.transform=er.render(e.style),this.msg=e.message,this.initial=tr(e.initial)?e.initial:"",this.float=!!e.float,this.round=e.round||2,this.inc=e.increment||1,this.min=tr(e.min)?e.min:-1/0,this.max=tr(e.max)?e.max:1/0,this.errorMsg=e.error||"Please Enter A Valid Value",this.validator=e.validate||(()=>!0),this.color="cyan",this.value="",this.typed="",this.lastHit=0,this.render()}set value(e){!e&&e!==0?(this.placeholder=!0,this.rendered=bi.gray(this.transform.render(`${this.initial}`)),this._value=""):(this.placeholder=!1,this.rendered=this.transform.render(`${Lc(e,this.round)}`),this._value=Lc(e,this.round)),this.fire()}get value(){return this._value}parse(e){return this.float?parseFloat(e):parseInt(e)}valid(e){return e==="-"||e==="."&&this.float||Wf.test(e)}reset(){this.typed="",this.value="",this.fire(),this.render()}exit(){this.abort()}abort(){let e=this.value;this.value=e!==""?e:this.initial,this.done=this.aborted=!0,this.error=!1,this.fire(),this.render(),this.out.write(`
69
+ `),this.close()}async validate(){let e=await this.validator(this.value);typeof e=="string"&&(this.errorMsg=e,e=!1),this.error=!e}async submit(){if(await this.validate(),this.error){this.color="red",this.fire(),this.render();return}let e=this.value;this.value=e!==""?e:this.initial,this.done=!0,this.aborted=!1,this.error=!1,this.fire(),this.render(),this.out.write(`
70
+ `),this.close()}up(){if(this.typed="",this.value===""&&(this.value=this.min-this.inc),this.value>=this.max)return this.bell();this.value+=this.inc,this.color="cyan",this.fire(),this.render()}down(){if(this.typed="",this.value===""&&(this.value=this.min+this.inc),this.value<=this.min)return this.bell();this.value-=this.inc,this.color="cyan",this.fire(),this.render()}delete(){let e=this.value.toString();if(e.length===0)return this.bell();this.value=this.parse(e=e.slice(0,-1))||"",this.value!==""&&this.value<this.min&&(this.value=this.min),this.color="cyan",this.fire(),this.render()}next(){this.value=this.initial,this.fire(),this.render()}_(e,i){if(!this.valid(e))return this.bell();let s=Date.now();if(s-this.lastHit>1e3&&(this.typed=""),this.typed+=e,this.lastHit=s,this.color="cyan",e===".")return this.fire();this.value=Math.min(this.parse(this.typed),this.max),this.value>this.max&&(this.value=this.max),this.value<this.min&&(this.value=this.min),this.fire(),this.render()}render(){this.closed||(this.firstRender||(this.outputError&&this.out.write(gi.down(Yf(this.outputError,this.out.columns)-1)+Dc(this.outputError,this.out.columns)),this.out.write(Dc(this.outputText,this.out.columns))),super.render(),this.outputError="",this.outputText=[er.symbol(this.done,this.aborted),bi.bold(this.msg),er.delimiter(this.done),!this.done||!this.done&&!this.placeholder?bi[this.color]().underline(this.rendered):this.rendered].join(" "),this.error&&(this.outputError+=this.errorMsg.split(`
71
+ `).reduce((e,i,s)=>e+`
72
+ ${s?" ":Vf.pointerSmall} ${bi.red().italic(i)}`,"")),this.out.write(Hf.line+gi.to(0)+this.outputText+gi.save+this.outputError+gi.restore))}};Mc.exports=ir});var rr=d((zw,Uc)=>{"use strict";var Ee=G(),{cursor:Gf}=K(),Jf=$e(),{clear:Ic,figures:Ne,style:Bc,wrap:Kf,entriesToDisplay:Xf}=xe(),sr=class extends Jf{constructor(e={}){super(e),this.msg=e.message,this.cursor=e.cursor||0,this.scrollIndex=e.cursor||0,this.hint=e.hint||"",this.warn=e.warn||"- This option is disabled -",this.minSelected=e.min,this.showMinError=!1,this.maxChoices=e.max,this.instructions=e.instructions,this.optionsPerPage=e.optionsPerPage||10,this.value=e.choices.map((i,s)=>(typeof i=="string"&&(i={title:i,value:s}),{title:i&&(i.title||i.value||i),description:i&&i.description,value:i&&(i.value===void 0?s:i.value),selected:i&&i.selected,disabled:i&&i.disabled})),this.clear=Ic("",this.out.columns),e.overrideRender||this.render()}reset(){this.value.map(e=>!e.selected),this.cursor=0,this.fire(),this.render()}selected(){return this.value.filter(e=>e.selected)}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
73
+ `),this.close()}submit(){let e=this.value.filter(i=>i.selected);this.minSelected&&e.length<this.minSelected?(this.showMinError=!0,this.render()):(this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
74
+ `),this.close())}first(){this.cursor=0,this.render()}last(){this.cursor=this.value.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.value.length,this.render()}up(){this.cursor===0?this.cursor=this.value.length-1:this.cursor--,this.render()}down(){this.cursor===this.value.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.value[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();this.value[this.cursor].selected=!0,this.render()}handleSpaceToggle(){let e=this.value[this.cursor];if(e.selected)e.selected=!1,this.render();else{if(e.disabled||this.value.filter(i=>i.selected).length>=this.maxChoices)return this.bell();e.selected=!0,this.render()}}toggleAll(){if(this.maxChoices!==void 0||this.value[this.cursor].disabled)return this.bell();let e=!this.value[this.cursor].selected;this.value.filter(i=>!i.disabled).forEach(i=>i.selected=e),this.render()}_(e,i){if(e===" ")this.handleSpaceToggle();else if(e==="a")this.toggleAll();else return this.bell()}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
75
75
  Instructions:
76
- ${it.arrowUp}/${it.arrowDown}: Highlight option
77
- ${it.arrowLeft}/${it.arrowRight}/[space]: Toggle selection
76
+ ${Ne.arrowUp}/${Ne.arrowDown}: Highlight option
77
+ ${Ne.arrowLeft}/${Ne.arrowRight}/[space]: Toggle selection
78
78
  `+(this.maxChoices===void 0?` a: Toggle all
79
- `:"")+" enter/return: Complete answer":""}renderOption(t,e,s,r){let o=(e.selected?H.green(it.radioOn):it.radioOff)+" "+r+" ",n,h;return e.disabled?n=t===s?H.gray().underline(e.title):H.strikethrough().gray(e.title):(n=t===s?H.cyan().underline(e.title):e.title,t===s&&e.description&&(h=` - ${e.description}`,(o.length+n.length+h.length>=this.out.columns||e.description.split(/\r?\n/).length>1)&&(h=`
80
- `+mu(e.description,{margin:o.length,width:this.out.columns})))),o+n+H.gray(h||"")}paginateOptions(t){if(t.length===0)return H.red("No matches for this query.");let{startIndex:e,endIndex:s}=gu(this.cursor,t.length,this.optionsPerPage),r,o=[];for(let n=e;n<s;n++)n===e&&e>0?r=it.arrowUp:n===s-1&&s<t.length?r=it.arrowDown:r=" ",o.push(this.renderOption(this.cursor,t[n],n,r));return`
81
- `+o.join(`
82
- `)}renderOptions(t){return this.done?"":this.paginateOptions(t)}renderDoneOrInstructions(){if(this.done)return this.value.filter(e=>e.selected).map(e=>e.title).join(", ");let t=[H.gray(this.hint),this.renderInstructions()];return this.value[this.cursor].disabled&&t.push(H.yellow(this.warn)),t.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(fu.hide),super.render();let t=[Dn.symbol(this.done,this.aborted),H.bold(this.msg),Dn.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(t+=H.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),t+=this.renderOptions(this.value),this.out.write(this.clear+t),this.clear=In(t,this.out.columns)}};En.exports=ii});var Ln=a((Ac,Fn)=>{"use strict";var Mt=w(),bu=Z(),{erase:vu,cursor:An}=x(),{style:ri,clear:jn,figures:ni,wrap:wu,entriesToDisplay:yu}=j(),Rn=(i,t)=>i[t]&&(i[t].value||i[t].title||i[t]),xu=(i,t)=>i[t]&&(i[t].title||i[t].value||i[t]),Su=(i,t)=>{let e=i.findIndex(s=>s.value===t||s.title===t);return e>-1?e:void 0},oi=class extends bu{constructor(t={}){super(t),this.msg=t.message,this.suggest=t.suggest,this.choices=t.choices,this.initial=typeof t.initial=="number"?t.initial:Su(t.choices,t.initial),this.select=this.initial||t.cursor||0,this.i18n={noMatches:t.noMatches||"no matches found"},this.fallback=t.fallback||this.initial,this.clearFirst=t.clearFirst||!1,this.suggestions=[],this.input="",this.limit=t.limit||10,this.cursor=0,this.transform=ri.render(t.style),this.scale=this.transform.scale,this.render=this.render.bind(this),this.complete=this.complete.bind(this),this.clear=jn("",this.out.columns),this.complete(this.render),this.render()}set fallback(t){this._fb=Number.isSafeInteger(parseInt(t))?parseInt(t):t}get fallback(){let t;return typeof this._fb=="number"?t=this.choices[this._fb]:typeof this._fb=="string"&&(t={title:this._fb}),t||this._fb||{title:this.i18n.noMatches}}moveSelect(t){this.select=t,this.suggestions.length>0?this.value=Rn(this.suggestions,t):this.value=this.fallback.value,this.fire()}async complete(t){let e=this.completing=this.suggest(this.input,this.choices),s=await e;if(this.completing!==e)return;this.suggestions=s.map((o,n,h)=>({title:xu(h,n),value:Rn(h,n),description:o.description})),this.completing=!1;let r=Math.max(s.length-1,0);this.moveSelect(Math.min(r,this.select)),t&&t()}reset(){this.input="",this.complete(()=>{this.moveSelect(this.initial!==void 0?this.initial:0),this.render()}),this.render()}exit(){this.clearFirst&&this.input.length>0?this.reset():(this.done=this.exited=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
79
+ `:"")+" enter/return: Complete answer":""}renderOption(e,i,s,r){let n=(i.selected?Ee.green(Ne.radioOn):Ne.radioOff)+" "+r+" ",a,o;return i.disabled?a=e===s?Ee.gray().underline(i.title):Ee.strikethrough().gray(i.title):(a=e===s?Ee.cyan().underline(i.title):i.title,e===s&&i.description&&(o=` - ${i.description}`,(n.length+a.length+o.length>=this.out.columns||i.description.split(/\r?\n/).length>1)&&(o=`
80
+ `+Kf(i.description,{margin:n.length,width:this.out.columns})))),n+a+Ee.gray(o||"")}paginateOptions(e){if(e.length===0)return Ee.red("No matches for this query.");let{startIndex:i,endIndex:s}=Xf(this.cursor,e.length,this.optionsPerPage),r,n=[];for(let a=i;a<s;a++)a===i&&i>0?r=Ne.arrowUp:a===s-1&&s<e.length?r=Ne.arrowDown:r=" ",n.push(this.renderOption(this.cursor,e[a],a,r));return`
81
+ `+n.join(`
82
+ `)}renderOptions(e){return this.done?"":this.paginateOptions(e)}renderDoneOrInstructions(){if(this.done)return this.value.filter(i=>i.selected).map(i=>i.title).join(", ");let e=[Ee.gray(this.hint),this.renderInstructions()];return this.value[this.cursor].disabled&&e.push(Ee.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(Gf.hide),super.render();let e=[Bc.symbol(this.done,this.aborted),Ee.bold(this.msg),Bc.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=Ee.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),e+=this.renderOptions(this.value),this.out.write(this.clear+e),this.clear=Ic(e,this.out.columns)}};Uc.exports=sr});var Yc=d((Hw,Vc)=>{"use strict";var Dt=G(),Zf=$e(),{erase:Qf,cursor:Nc}=K(),{style:nr,clear:zc,figures:ar,wrap:ex,entriesToDisplay:tx}=xe(),Hc=(t,e)=>t[e]&&(t[e].value||t[e].title||t[e]),ix=(t,e)=>t[e]&&(t[e].title||t[e].value||t[e]),sx=(t,e)=>{let i=t.findIndex(s=>s.value===e||s.title===e);return i>-1?i:void 0},or=class extends Zf{constructor(e={}){super(e),this.msg=e.message,this.suggest=e.suggest,this.choices=e.choices,this.initial=typeof e.initial=="number"?e.initial:sx(e.choices,e.initial),this.select=this.initial||e.cursor||0,this.i18n={noMatches:e.noMatches||"no matches found"},this.fallback=e.fallback||this.initial,this.clearFirst=e.clearFirst||!1,this.suggestions=[],this.input="",this.limit=e.limit||10,this.cursor=0,this.transform=nr.render(e.style),this.scale=this.transform.scale,this.render=this.render.bind(this),this.complete=this.complete.bind(this),this.clear=zc("",this.out.columns),this.complete(this.render),this.render()}set fallback(e){this._fb=Number.isSafeInteger(parseInt(e))?parseInt(e):e}get fallback(){let e;return typeof this._fb=="number"?e=this.choices[this._fb]:typeof this._fb=="string"&&(e={title:this._fb}),e||this._fb||{title:this.i18n.noMatches}}moveSelect(e){this.select=e,this.suggestions.length>0?this.value=Hc(this.suggestions,e):this.value=this.fallback.value,this.fire()}async complete(e){let i=this.completing=this.suggest(this.input,this.choices),s=await i;if(this.completing!==i)return;this.suggestions=s.map((n,a,o)=>({title:ix(o,a),value:Hc(o,a),description:n.description})),this.completing=!1;let r=Math.max(s.length-1,0);this.moveSelect(Math.min(r,this.select)),e&&e()}reset(){this.input="",this.complete(()=>{this.moveSelect(this.initial!==void 0?this.initial:0),this.render()}),this.render()}exit(){this.clearFirst&&this.input.length>0?this.reset():(this.done=this.exited=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
83
83
  `),this.close())}abort(){this.done=this.aborted=!0,this.exited=!1,this.fire(),this.render(),this.out.write(`
84
84
  `),this.close()}submit(){this.done=!0,this.aborted=this.exited=!1,this.fire(),this.render(),this.out.write(`
85
- `),this.close()}_(t,e){let s=this.input.slice(0,this.cursor),r=this.input.slice(this.cursor);this.input=`${s}${t}${r}`,this.cursor=s.length+1,this.complete(this.render),this.render()}delete(){if(this.cursor===0)return this.bell();let t=this.input.slice(0,this.cursor-1),e=this.input.slice(this.cursor);this.input=`${t}${e}`,this.complete(this.render),this.cursor=this.cursor-1,this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let t=this.input.slice(0,this.cursor),e=this.input.slice(this.cursor+1);this.input=`${t}${e}`,this.complete(this.render),this.render()}first(){this.moveSelect(0),this.render()}last(){this.moveSelect(this.suggestions.length-1),this.render()}up(){this.select===0?this.moveSelect(this.suggestions.length-1):this.moveSelect(this.select-1),this.render()}down(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}next(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1)),this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0)),this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1,this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1,this.render()}renderOption(t,e,s,r){let o,n=s?ni.arrowUp:r?ni.arrowDown:" ",h=e?Mt.cyan().underline(t.title):t.title;return n=(e?Mt.cyan(ni.pointer)+" ":" ")+n,t.description&&(o=` - ${t.description}`,(n.length+h.length+o.length>=this.out.columns||t.description.split(/\r?\n/).length>1)&&(o=`
86
- `+wu(t.description,{margin:3,width:this.out.columns}))),n+" "+h+Mt.gray(o||"")}render(){if(this.closed)return;this.firstRender?this.out.write(An.hide):this.out.write(jn(this.outputText,this.out.columns)),super.render();let{startIndex:t,endIndex:e}=yu(this.select,this.choices.length,this.limit);if(this.outputText=[ri.symbol(this.done,this.aborted,this.exited),Mt.bold(this.msg),ri.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" "),!this.done){let s=this.suggestions.slice(t,e).map((r,o)=>this.renderOption(r,this.select===o+t,o===0&&t>0,o+t===e-1&&e<this.choices.length)).join(`
85
+ `),this.close()}_(e,i){let s=this.input.slice(0,this.cursor),r=this.input.slice(this.cursor);this.input=`${s}${e}${r}`,this.cursor=s.length+1,this.complete(this.render),this.render()}delete(){if(this.cursor===0)return this.bell();let e=this.input.slice(0,this.cursor-1),i=this.input.slice(this.cursor);this.input=`${e}${i}`,this.complete(this.render),this.cursor=this.cursor-1,this.render()}deleteForward(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();let e=this.input.slice(0,this.cursor),i=this.input.slice(this.cursor+1);this.input=`${e}${i}`,this.complete(this.render),this.render()}first(){this.moveSelect(0),this.render()}last(){this.moveSelect(this.suggestions.length-1),this.render()}up(){this.select===0?this.moveSelect(this.suggestions.length-1):this.moveSelect(this.select-1),this.render()}down(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}next(){this.select===this.suggestions.length-1?this.moveSelect(0):this.moveSelect(this.select+1),this.render()}nextPage(){this.moveSelect(Math.min(this.select+this.limit,this.suggestions.length-1)),this.render()}prevPage(){this.moveSelect(Math.max(this.select-this.limit,0)),this.render()}left(){if(this.cursor<=0)return this.bell();this.cursor=this.cursor-1,this.render()}right(){if(this.cursor*this.scale>=this.rendered.length)return this.bell();this.cursor=this.cursor+1,this.render()}renderOption(e,i,s,r){let n,a=s?ar.arrowUp:r?ar.arrowDown:" ",o=i?Dt.cyan().underline(e.title):e.title;return a=(i?Dt.cyan(ar.pointer)+" ":" ")+a,e.description&&(n=` - ${e.description}`,(a.length+o.length+n.length>=this.out.columns||e.description.split(/\r?\n/).length>1)&&(n=`
86
+ `+ex(e.description,{margin:3,width:this.out.columns}))),a+" "+o+Dt.gray(n||"")}render(){if(this.closed)return;this.firstRender?this.out.write(Nc.hide):this.out.write(zc(this.outputText,this.out.columns)),super.render();let{startIndex:e,endIndex:i}=tx(this.select,this.choices.length,this.limit);if(this.outputText=[nr.symbol(this.done,this.aborted,this.exited),Dt.bold(this.msg),nr.delimiter(this.completing),this.done&&this.suggestions[this.select]?this.suggestions[this.select].title:this.rendered=this.transform.render(this.input)].join(" "),!this.done){let s=this.suggestions.slice(e,i).map((r,n)=>this.renderOption(r,this.select===n+e,n===0&&e>0,n+e===i-1&&i<this.choices.length)).join(`
87
87
  `);this.outputText+=`
88
- `+(s||Mt.gray(this.fallback.title))}this.out.write(vu.line+An.to(0)+this.outputText)}};Fn.exports=oi});var Nn=a((jc,Hn)=>{"use strict";var Q=w(),{cursor:$u}=x(),Ou=si(),{clear:Bn,style:Yn,figures:dt}=j(),hi=class extends Ou{constructor(t={}){t.overrideRender=!0,super(t),this.inputValue="",this.clear=Bn("",this.out.columns),this.filteredOptions=this.value,this.render()}last(){this.cursor=this.filteredOptions.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length,this.render()}up(){this.cursor===0?this.cursor=this.filteredOptions.length-1:this.cursor--,this.render()}down(){this.cursor===this.filteredOptions.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.filteredOptions[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(t=>t.selected).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=!0,this.render()}delete(){this.inputValue.length&&(this.inputValue=this.inputValue.substr(0,this.inputValue.length-1),this.updateFilteredOptions())}updateFilteredOptions(){let t=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter(s=>this.inputValue?!!(typeof s.title=="string"&&s.title.toLowerCase().includes(this.inputValue.toLowerCase())||typeof s.value=="string"&&s.value.toLowerCase().includes(this.inputValue.toLowerCase())):!0);let e=this.filteredOptions.findIndex(s=>s===t);this.cursor=e<0?0:e,this.render()}handleSpaceToggle(){let t=this.filteredOptions[this.cursor];if(t.selected)t.selected=!1,this.render();else{if(t.disabled||this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();t.selected=!0,this.render()}}handleInputChange(t){this.inputValue=this.inputValue+t,this.updateFilteredOptions()}_(t,e){t===" "?this.handleSpaceToggle():this.handleInputChange(t)}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
88
+ `+(s||Dt.gray(this.fallback.title))}this.out.write(Qf.line+Nc.to(0)+this.outputText)}};Vc.exports=or});var Kc=d((Vw,Jc)=>{"use strict";var De=G(),{cursor:rx}=K(),nx=rr(),{clear:Wc,style:Gc,figures:ct}=xe(),cr=class extends nx{constructor(e={}){e.overrideRender=!0,super(e),this.inputValue="",this.clear=Wc("",this.out.columns),this.filteredOptions=this.value,this.render()}last(){this.cursor=this.filteredOptions.length-1,this.render()}next(){this.cursor=(this.cursor+1)%this.filteredOptions.length,this.render()}up(){this.cursor===0?this.cursor=this.filteredOptions.length-1:this.cursor--,this.render()}down(){this.cursor===this.filteredOptions.length-1?this.cursor=0:this.cursor++,this.render()}left(){this.filteredOptions[this.cursor].selected=!1,this.render()}right(){if(this.value.filter(e=>e.selected).length>=this.maxChoices)return this.bell();this.filteredOptions[this.cursor].selected=!0,this.render()}delete(){this.inputValue.length&&(this.inputValue=this.inputValue.substr(0,this.inputValue.length-1),this.updateFilteredOptions())}updateFilteredOptions(){let e=this.filteredOptions[this.cursor];this.filteredOptions=this.value.filter(s=>this.inputValue?!!(typeof s.title=="string"&&s.title.toLowerCase().includes(this.inputValue.toLowerCase())||typeof s.value=="string"&&s.value.toLowerCase().includes(this.inputValue.toLowerCase())):!0);let i=this.filteredOptions.findIndex(s=>s===e);this.cursor=i<0?0:i,this.render()}handleSpaceToggle(){let e=this.filteredOptions[this.cursor];if(e.selected)e.selected=!1,this.render();else{if(e.disabled||this.value.filter(i=>i.selected).length>=this.maxChoices)return this.bell();e.selected=!0,this.render()}}handleInputChange(e){this.inputValue=this.inputValue+e,this.updateFilteredOptions()}_(e,i){e===" "?this.handleSpaceToggle():this.handleInputChange(e)}renderInstructions(){return this.instructions===void 0||this.instructions?typeof this.instructions=="string"?this.instructions:`
89
89
  Instructions:
90
- ${dt.arrowUp}/${dt.arrowDown}: Highlight option
91
- ${dt.arrowLeft}/${dt.arrowRight}/[space]: Toggle selection
90
+ ${ct.arrowUp}/${ct.arrowDown}: Highlight option
91
+ ${ct.arrowLeft}/${ct.arrowRight}/[space]: Toggle selection
92
92
  [a,b,c]/delete: Filter choices
93
93
  enter/return: Complete answer
94
94
  `:""}renderCurrentInput(){return`
95
- Filtered results for: ${this.inputValue?this.inputValue:Q.gray("Enter something to filter")}
96
- `}renderOption(t,e,s){let r;return e.disabled?r=t===s?Q.gray().underline(e.title):Q.strikethrough().gray(e.title):r=t===s?Q.cyan().underline(e.title):e.title,(e.selected?Q.green(dt.radioOn):dt.radioOff)+" "+r}renderDoneOrInstructions(){if(this.done)return this.value.filter(e=>e.selected).map(e=>e.title).join(", ");let t=[Q.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&t.push(Q.yellow(this.warn)),t.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write($u.hide),super.render();let t=[Yn.symbol(this.done,this.aborted),Q.bold(this.msg),Yn.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(t+=Q.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),t+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+t),this.clear=Bn(t,this.out.columns)}};Hn.exports=hi});var Jn=a((Rc,Gn)=>{var Vn=w(),qu=Z(),{style:kn,clear:Tu}=j(),{erase:Mu,cursor:Un}=x(),li=class extends qu{constructor(t={}){super(t),this.msg=t.message,this.value=t.initial,this.initialValue=!!t.initial,this.yesMsg=t.yes||"yes",this.yesOption=t.yesOption||"(Y/n)",this.noMsg=t.no||"no",this.noOption=t.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
95
+ Filtered results for: ${this.inputValue?this.inputValue:De.gray("Enter something to filter")}
96
+ `}renderOption(e,i,s){let r;return i.disabled?r=e===s?De.gray().underline(i.title):De.strikethrough().gray(i.title):r=e===s?De.cyan().underline(i.title):i.title,(i.selected?De.green(ct.radioOn):ct.radioOff)+" "+r}renderDoneOrInstructions(){if(this.done)return this.value.filter(i=>i.selected).map(i=>i.title).join(", ");let e=[De.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&e.push(De.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(rx.hide),super.render();let e=[Gc.symbol(this.done,this.aborted),De.bold(this.msg),Gc.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=De.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),e+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+e),this.clear=Wc(e,this.out.columns)}};Jc.exports=cr});var tl=d((Yw,el)=>{var Xc=G(),ax=$e(),{style:Zc,clear:ox}=xe(),{erase:cx,cursor:Qc}=K(),lr=class extends ax{constructor(e={}){super(e),this.msg=e.message,this.value=e.initial,this.initialValue=!!e.initial,this.yesMsg=e.yes||"yes",this.yesOption=e.yesOption||"(Y/n)",this.noMsg=e.no||"no",this.noOption=e.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
97
97
  `),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
98
- `),this.close()}_(t,e){return t.toLowerCase()==="y"?(this.value=!0,this.submit()):t.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(Un.hide):this.out.write(Tu(this.outputText,this.out.columns)),super.render(),this.outputText=[kn.symbol(this.done,this.aborted),Vn.bold(this.msg),kn.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:Vn.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(Mu.line+Un.to(0)+this.outputText))}};Gn.exports=li});var Wn=a((Fc,zn)=>{"use strict";zn.exports={TextPrompt:Ur(),SelectPrompt:Wr(),TogglePrompt:Qr(),DatePrompt:Tn(),NumberPrompt:Cn(),MultiselectPrompt:si(),AutocompletePrompt:Ln(),AutocompleteMultiselectPrompt:Nn(),ConfirmPrompt:Jn()}});var Zn=a(Kn=>{"use strict";var I=Kn,Pu=Wn(),Ut=i=>i;function N(i,t,e={}){return new Promise((s,r)=>{let o=new Pu[i](t),n=e.onAbort||Ut,h=e.onSubmit||Ut,l=e.onExit||Ut;o.on("state",t.onState||Ut),o.on("submit",u=>s(h(u))),o.on("exit",u=>s(l(u))),o.on("abort",u=>r(n(u)))})}I.text=i=>N("TextPrompt",i);I.password=i=>(i.style="password",I.text(i));I.invisible=i=>(i.style="invisible",I.text(i));I.number=i=>N("NumberPrompt",i);I.date=i=>N("DatePrompt",i);I.confirm=i=>N("ConfirmPrompt",i);I.list=i=>{let t=i.separator||",";return N("TextPrompt",i,{onSubmit:e=>e.split(t).map(s=>s.trim())})};I.toggle=i=>N("TogglePrompt",i);I.select=i=>N("SelectPrompt",i);I.multiselect=i=>{i.choices=[].concat(i.choices||[]);let t=e=>e.filter(s=>s.selected).map(s=>s.value);return N("MultiselectPrompt",i,{onAbort:t,onSubmit:t})};I.autocompleteMultiselect=i=>{i.choices=[].concat(i.choices||[]);let t=e=>e.filter(s=>s.selected).map(s=>s.value);return N("AutocompleteMultiselectPrompt",i,{onAbort:t,onSubmit:t})};var _u=(i,t)=>Promise.resolve(t.filter(e=>e.title.slice(0,i.length).toLowerCase()===i.toLowerCase()));I.autocomplete=i=>(i.suggest=i.suggest||_u,i.choices=[].concat(i.choices||[]),N("AutocompletePrompt",i))});var to=a((Bc,Qn)=>{"use strict";var ui=Zn(),Cu=["suggest","format","onState","validate","onRender","type"],Xn=()=>{};async function st(i=[],{onSubmit:t=Xn,onCancel:e=Xn}={}){let s={},r=st._override||{};i=[].concat(i);let o,n,h,l,u,S,m=async(c,p,q=!1)=>{if(!(!q&&c.validate&&c.validate(p)!==!0))return c.format?await c.format(p,s):p};for(n of i)if({name:l,type:u}=n,typeof u=="function"&&(u=await u(o,{...s},n),n.type=u),!!u){for(let c in n){if(Cu.includes(c))continue;let p=n[c];n[c]=typeof p=="function"?await p(o,{...s},S):p}if(S=n,typeof n.message!="string")throw new Error("prompt message is required");if({name:l,type:u}=n,ui[u]===void 0)throw new Error(`prompt type (${u}) is not defined`);if(r[n.name]!==void 0&&(o=await m(n,r[n.name]),o!==void 0)){s[l]=o;continue}try{o=st._injected?Iu(st._injected,n.initial):await ui[u](n),s[l]=o=await m(n,o,!0),h=await t(n,o,s)}catch{h=!await e(n,s)}if(h)return s}return s}function Iu(i,t){let e=i.shift();if(e instanceof Error)throw e;return e===void 0?t:e}function Du(i){st._injected=(st._injected||[]).concat(i)}function Eu(i){st._override=Object.assign({},i)}Qn.exports=Object.assign(st,{prompt:st,prompts:ui,inject:Du,override:Eu})});var ai=a((Yc,eo)=>{function Au(i){i=(Array.isArray(i)?i:i.split(".")).map(Number);let t=0,e=process.versions.node.split(".").map(Number);for(;t<i.length;t++){if(e[t]>i[t])return!1;if(i[t]>e[t])return!0}return!1}eo.exports=Au("8.6.0")?qr():to()});var V=require("node:fs"),xo=require("node:path"),ft=D(require("node:process"),1);var rt=!0,lt=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},gt=0;if(lt.process&&lt.process.env&&lt.process.stdout){let{FORCE_COLOR:i,NODE_DISABLE_COLORS:t,NO_COLOR:e,TERM:s,COLORTERM:r}=lt.process.env;t||e||i==="0"?rt=!1:i==="1"||i==="2"||i==="3"?rt=!0:s==="dumb"?rt=!1:"CI"in lt.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(o=>o in lt.process.env)?rt=!0:rt=process.stdout.isTTY,rt&&(process.platform==="win32"||r&&(r==="truecolor"||r==="24bit")?gt=3:s&&(s.endsWith("-256color")||s.endsWith("256"))?gt=2:gt=1)}var yi={enabled:rt,supportLevel:gt};function d(i,t,e=1){let s=`\x1B[${i}m`,r=`\x1B[${t}m`,o=new RegExp(`\\x1b\\[${t}m`,"g");return n=>yi.enabled&&yi.supportLevel>=e?s+(""+n).replace(o,s)+r:""+n}var ku=d(0,0),M=d(1,22),Uu=d(2,22),Gu=d(3,23),Ju=d(4,24),zu=d(7,27),Wu=d(8,28),Ku=d(9,29),Zu=d(30,39),O=d(31,39),_=d(32,39),Xu=d(33,39),Qu=d(34,39),ta=d(35,39),ea=d(36,39),ia=d(97,39),sa=d(90,39),ra=d(37,39),na=d(91,39),oa=d(92,39),ha=d(93,39),la=d(94,39),ua=d(95,39),xi=d(96,39),aa=d(40,49),ca=d(41,49),da=d(42,49),fa=d(43,49),pa=d(44,49),ma=d(45,49),ga=d(46,49),ba=d(107,49),va=d(100,49),wa=d(101,49),ya=d(102,49),xa=d(103,49),Sa=d(104,49),$a=d(105,49),Oa=d(106,49),qa=d(47,49);var So=D(qi(),1),$o=D(ai(),1),Qt=D(ot(),1);var go=D(ai(),1);var bo=D(ot(),1);var fo=D(ot(),1);var Gt=require("node:fs");function Jt(i){if(!(0,Gt.existsSync)(i))return!0;let t=(0,Gt.readdirSync)(i);return t.length===0||t.length===1&&t[0]===".git"}var so=require("node:child_process"),ro=require("node:fs"),no=require("node:path"),oo=D(require("node:process"),1);var zt=require("node:fs"),io=require("node:path");function ju(i,t){let e=JSON.parse((0,zt.readFileSync)(i,"utf8"));e.name=t,(0,zt.writeFileSync)(i,JSON.stringify(e,null,2))}function Wt(i,t){let e=t.toLocaleLowerCase().replace(/\s/g,"-"),s=(0,io.join)(i,"package.json");ju(s,e)}async function Ru(i){let t=(0,no.join)(i,".git");await ro.promises.rm(t,{recursive:!0,force:!0})}async function Fu(i,t,e){let s=null;for(let r of i)try{await new Promise((o,n)=>{let h=`git clone -b ${t} ${r} "${e}"`;(0,so.exec)(h,async l=>{if(l){console.error(`${O("exec error:")} ${l}`),n(l);return}try{await Ru(e),o()}catch(u){n(u)}})});return}catch(o){console.error(`${O("cloneRepo error:")} ${o}`),s=o}if(s)throw new Error("All URLs failed")}function Lu(i){let{github:t,gitee:e}=i;return[e,t].filter(Boolean)}async function ho(i,t,e,s){let r=Lu(i.url);try{await Fu(r,i.branch||"base",e)}catch{s.fail(`${M("\u6A21\u677F\u521B\u5EFA\u5931\u8D25\uFF01")}`),oo.default.exit(1)}Wt(e,t),i.callBack?.(e)}var ci=D(require("node:process"),1);var lo="1.17.1";function uo(){let i=`create-unibest@v${lo} \u5FEB\u901F\u521B\u5EFA unibest \u9879\u76EE`,t="",e={r:59,g:209,b:145},s={r:43,g:76,b:238};for(let o=0;o<i.length;o++){let n=o/(i.length-1),h=Math.round(e.r+(s.r-e.r)*n),l=Math.round(e.g+(s.g-e.g)*n),u=Math.round(e.b+(s.b-e.b)*n);t+=`\x1B[38;2;${h};${l};${u}m${i[o]}\x1B[0m`}let r=ci.default.stdout.isTTY&&ci.default.stdout.getColorDepth()>8?t:xi(i);console.log(),console.log(r),console.log()}var Kt=D(require("node:process"),1);var di=D(ot(),1),Yu=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],fi=class{constructor(t){this.message=t,this.interval=null}setFinishMessage(t){let e=Math.max(0,this.message.length-t.length);return t+" ".repeat(e)}start(){let t=0;return this.interval=setInterval(()=>{Kt.default.stdout.write(`\r${Yu[t%9]} ${this.message}`),t++},100),this}fail(t){this.interval&&(clearInterval(this.interval),Kt.default.stdout.write(`\r${O(di.default.cross)} ${this.setFinishMessage(t)}
99
- `))}succeed(t){this.interval&&(clearInterval(this.interval),Kt.default.stdout.write(`\r${_(di.default.tick)} ${this.setFinishMessage(t)}
100
- `))}};function pi(i){return new fi(i)}var Pt=D(require("node:fs"),1),ao=D(require("node:path"),1);var mi=(i,t,e)=>{for(let s of Pt.readdirSync(i)){if(s===".git")continue;let r=ao.resolve(i,s);if(Pt.lstatSync(r).isDirectory()){mi(r,t,e),t(r);continue}e(r)}};var co=require("node:path");function gi(i,t,e){return t==="install"?i==="yarn"?"yarn":`${i} install`:e?i==="npm"?`npm run ${t} -- ${e}`:`${i} ${t} ${e}`:i==="npm"?`npm run ${t}`:`${i} ${t}`}function bi(i,t,e,s,r){if(s.succeed(`${M("\u6A21\u677F\u521B\u5EFA\u5B8C\u6210\uFF01")}`),console.log(),i!==t){let o=(0,co.relative)(t,i);console.log(` ${M(_(`cd ${o.includes(" ")?`"${o}"`:o}`))}`)}console.log(` ${M(_(gi(e,"i")))}`),r&&r.startsWith("hbx-")?console.log(` ${M(_("\u8BF7\u901A\u8FC7 HBuilderX \u6253\u5F00\u9879\u76EE\u5E76\u8FD0\u884C\uFF01"))}`):console.log(` ${M(_(gi(e,"dev")))}`),console.log()}var Zt=i=>[{name:"shouldOverwrite",type:t=>Jt(i??t)?null:"toggle",message:t=>{let e=i??t;return`${e==="."?"\u5F53\u524D\u6587\u4EF6":`\u76EE\u6807\u6587\u4EF6"${e}"`}\u975E\u7A7A\uFF0C\u662F\u5426\u8986\u76D6\uFF1F`},initial:!1,active:"\u662F",inactive:"\u5426"},{name:"overwriteChecker",type:t=>{if(t===!1)throw new Error(`${O(fo.default.cross)} ${M("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`);return null}}];var po=()=>[{name:"projectName",type:"text",message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0:",initial:"unibest"},...Zt()];var Xt=[{title:`base${_("(\u63A8\u8350)")}`,description:`${O("(\u591ATAB\u9879\u76EE\uFF0C\u6700\u57FA\u7840\u7684\u6A21\u677F)")}`,value:{type:"base",branch:"base",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`tabbar${_("(\u81EA\u5B9A\u4E49tabbar)")}`,description:`${O("(\u591ATAB\u9879\u76EE + \u81EA\u5B9A\u4E49\u56FE\u6807\u7684tabbar\u9879\u76EE)")}`,value:{type:"tabbar",branch:"tabbar",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`spa${_("(SPA\u5E94\u7528)")}`,description:`${O("(\u7EC4\u4EF6\u6A21\u62DFtabbar)")}`,value:{type:"spa",branch:"spa",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`demo${_("(\u6F14\u793A\u9879\u76EE)")}`,description:`${O("(\u591ATAB\u6F14\u793A\u9879\u76EE)")}`,value:{type:"demo",branch:"main",url:{gitee:"https://gitee.com/feige996/hello-unibest.git",github:"https://github.com/feige996/hello-unibest.git"}}},{title:`i18n${_("(\u591A\u8BED\u8A00)")}`,description:`${O("(\u591ATAB\u591A\u8BED\u8A00\u9879\u76EE)")}`,value:{type:"i18n",branch:"i18n",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`hbx-base${_("(hbx\u7248-base\u9879\u76EE)")}`,description:`${O("(hbx\u7684base\u9879\u76EE)")}`,value:{type:"hbx-base",branch:"base",url:{gitee:"https://gitee.com/uni-run/unibest-hbx.git",github:"https://github.com/uni-run/unibest-hbx.git"}}},{title:`hbx-demo${_("(hbx\u7248-demo\u9879\u76EE)")}`,description:`${O("(hbx\u7684demo\u9879\u76EE)")}`,value:{type:"hbx-demo",branch:"main",url:{gitee:"https://gitee.com/uni-run/unibest-hbx.git",github:"https://github.com/uni-run/unibest-hbx.git"}}}];var mo=()=>({name:"templateType",type:"select",message:"\u8BF7\u9009\u62E9 uni-app \u6A21\u677F\uFF1F",hint:"\u4F7F\u7528\u65B9\u5411\u952E\u9009\u62E9\uFF0C\u56DE\u8F66\u786E\u8BA4",choices:[...Xt],initial:0});async function vo(){let i=[...po(),mo()];return await(0,go.default)(i,{onCancel:()=>{throw new Error(`${O(bo.default.cross)} ${M("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`)}})}var wo=require("node:child_process"),vi=require("node:os"),Hu=(0,vi.platform)()==="win32"?"start":(0,vi.platform)()==="darwin"?"open":"xdg-open";function yo(i){if(!i){console.error("No URL provided to open.");return}setTimeout(()=>{(0,wo.exec)(`${Hu} ${i}`)},3e3)}var _t;async function Nu(){uo();let i=(0,So.default)(ft.default.argv.slice(2),{alias:{templateType:["t"]},string:["_"]}),t=i._[0],e={};if(t){let S=Xt.find(c=>c.value.type===i?.t)?.value;!S&&i?.templateType&&(console.log(`${O(Qt.default.cross)} ${M(`\u672A\u83B7\u53D6\u5230${i?.templateType}\u6A21\u677F`)}`),ft.default.exit(1));let m=async()=>{let c=()=>{throw new Error(`${O(Qt.default.cross)} ${M("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`)},p=Zt(t);try{return(await(0,$o.default)(p,{onCancel:c})).shouldOverwrite}catch{console.log(`${O(Qt.default.cross)} ${M("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`),ft.default.exit(1)}};e={projectName:t,shouldOverwrite:Jt(t)?!0:await m(),templateType:S||{type:"base",branch:"base",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}}}else try{e=await vo()}catch(S){console.log(S.message),ft.default.exit(1)}_t=pi(`${M("\u6B63\u5728\u521B\u5EFA\u6A21\u677F...")}`).start();let s=ft.default.cwd(),r=(0,xo.join)(s,e.projectName);pi("tip2").start().succeed(`${M(`
101
- \u5B98\u65B9\u6587\u6863\uFF1Ahttps://unibest.tech\uFF0C\u81EA\u52A8\u4E3A\u60A8\u6253\u5F00\uFF01`)}`),yo("https://unibest.tech");let n="pnpm";function h(S){(0,V.existsSync)(S)&&mi(S,m=>(0,V.rmdirSync)(m),m=>(0,V.unlinkSync)(m))}if((0,V.existsSync)(r)&&e.shouldOverwrite?h(r):(0,V.existsSync)(r)||(0,V.mkdirSync)(r),e.templateType.type!=="custom"){let{templateType:S,projectName:m}=e;await ho(S,m,r,_t),bi(r,s,n,_t,e.templateType.type);return}let l=[],u={};for(let S of l)await S(u);Wt(r,e.projectName),bi(r,s,n,_t)}Nu().catch(i=>{_t.fail(`${M("\u6A21\u677F\u521B\u5EFA\u5931\u8D25\uFF01")}`),console.error(i)});
98
+ `),this.close()}_(e,i){return e.toLowerCase()==="y"?(this.value=!0,this.submit()):e.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(Qc.hide):this.out.write(ox(this.outputText,this.out.columns)),super.render(),this.outputText=[Zc.symbol(this.done,this.aborted),Xc.bold(this.msg),Zc.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:Xc.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(cx.line+Qc.to(0)+this.outputText))}};el.exports=lr});var sl=d((Ww,il)=>{"use strict";il.exports={TextPrompt:ec(),SelectPrompt:rc(),TogglePrompt:cc(),DatePrompt:Cc(),NumberPrompt:Fc(),MultiselectPrompt:rr(),AutocompletePrompt:Yc(),AutocompleteMultiselectPrompt:Kc(),ConfirmPrompt:tl()}});var nl=d(rl=>{"use strict";var le=rl,lx=sl(),yi=t=>t;function Te(t,e,i={}){return new Promise((s,r)=>{let n=new lx[t](e),a=i.onAbort||yi,o=i.onSubmit||yi,l=i.onExit||yi;n.on("state",e.onState||yi),n.on("submit",c=>s(o(c))),n.on("exit",c=>s(l(c))),n.on("abort",c=>r(a(c)))})}le.text=t=>Te("TextPrompt",t);le.password=t=>(t.style="password",le.text(t));le.invisible=t=>(t.style="invisible",le.text(t));le.number=t=>Te("NumberPrompt",t);le.date=t=>Te("DatePrompt",t);le.confirm=t=>Te("ConfirmPrompt",t);le.list=t=>{let e=t.separator||",";return Te("TextPrompt",t,{onSubmit:i=>i.split(e).map(s=>s.trim())})};le.toggle=t=>Te("TogglePrompt",t);le.select=t=>Te("SelectPrompt",t);le.multiselect=t=>{t.choices=[].concat(t.choices||[]);let e=i=>i.filter(s=>s.selected).map(s=>s.value);return Te("MultiselectPrompt",t,{onAbort:e,onSubmit:e})};le.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);let e=i=>i.filter(s=>s.selected).map(s=>s.value);return Te("AutocompleteMultiselectPrompt",t,{onAbort:e,onSubmit:e})};var px=(t,e)=>Promise.resolve(e.filter(i=>i.title.slice(0,t.length).toLowerCase()===t.toLowerCase()));le.autocomplete=t=>(t.suggest=t.suggest||px,t.choices=[].concat(t.choices||[]),Te("AutocompletePrompt",t))});var cl=d((Jw,ol)=>{"use strict";var pr=nl(),ux=["suggest","format","onState","validate","onRender","type"],al=()=>{};async function ze(t=[],{onSubmit:e=al,onCancel:i=al}={}){let s={},r=ze._override||{};t=[].concat(t);let n,a,o,l,c,u,m=async(h,b,f=!1)=>{if(!(!f&&h.validate&&h.validate(b)!==!0))return h.format?await h.format(b,s):b};for(a of t)if({name:l,type:c}=a,typeof c=="function"&&(c=await c(n,{...s},a),a.type=c),!!c){for(let h in a){if(ux.includes(h))continue;let b=a[h];a[h]=typeof b=="function"?await b(n,{...s},u):b}if(u=a,typeof a.message!="string")throw new Error("prompt message is required");if({name:l,type:c}=a,pr[c]===void 0)throw new Error(`prompt type (${c}) is not defined`);if(r[a.name]!==void 0&&(n=await m(a,r[a.name]),n!==void 0)){s[l]=n;continue}try{n=ze._injected?dx(ze._injected,a.initial):await pr[c](a),s[l]=n=await m(a,n,!0),o=await e(a,n,s)}catch{o=!await i(a,s)}if(o)return s}return s}function dx(t,e){let i=t.shift();if(i instanceof Error)throw i;return i===void 0?e:i}function mx(t){ze._injected=(ze._injected||[]).concat(t)}function hx(t){ze._override=Object.assign({},t)}ol.exports=Object.assign(ze,{prompt:ze,prompts:pr,inject:mx,override:hx})});var ur=d((Kw,ll)=>{function fx(t){t=(Array.isArray(t)?t:t.split(".")).map(Number);let e=0,i=process.versions.node.split(".").map(Number);for(;e<t.length;e++){if(i[e]>t[e])return!1;if(t[e]>i[e])return!0}return!1}ll.exports=fx("8.6.0")?Co():cl()});var Nl=d((PS,Ul)=>{var Bl=require("stream").Stream,ov=require("util");Ul.exports=be;function be(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}ov.inherits(be,Bl);be.create=function(t,e){var i=new this;e=e||{};for(var s in e)i[s]=e[s];i.source=t;var r=t.emit;return t.emit=function(){return i._handleEmit(arguments),r.apply(t,arguments)},t.on("error",function(){}),i.pauseStream&&t.pause(),i};Object.defineProperty(be.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});be.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};be.prototype.resume=function(){this._released||this.release(),this.source.resume()};be.prototype.pause=function(){this.source.pause()};be.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(t){this.emit.apply(this,t)}.bind(this)),this._bufferedEvents=[]};be.prototype.pipe=function(){var t=Bl.prototype.pipe.apply(this,arguments);return this.resume(),t};be.prototype._handleEmit=function(t){if(this._released){this.emit.apply(this,t);return}t[0]==="data"&&(this.dataSize+=t[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(t)};be.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(t))}}});var Yl=d(($S,Vl)=>{var cv=require("util"),Hl=require("stream").Stream,zl=Nl();Vl.exports=Z;function Z(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}cv.inherits(Z,Hl);Z.create=function(t){var e=new this;t=t||{};for(var i in t)e[i]=t[i];return e};Z.isStreamLike=function(t){return typeof t!="function"&&typeof t!="string"&&typeof t!="boolean"&&typeof t!="number"&&!Buffer.isBuffer(t)};Z.prototype.append=function(t){var e=Z.isStreamLike(t);if(e){if(!(t instanceof zl)){var i=zl.create(t,{maxDataSize:1/0,pauseStream:this.pauseStreams});t.on("data",this._checkDataSize.bind(this)),t=i}this._handleErrors(t),this.pauseStreams&&t.pause()}return this._streams.push(t),this};Z.prototype.pipe=function(t,e){return Hl.prototype.pipe.call(this,t,e),this.resume(),t};Z.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};Z.prototype._realGetNext=function(){var t=this._streams.shift();if(typeof t>"u"){this.end();return}if(typeof t!="function"){this._pipeNext(t);return}var e=t;e(function(i){var s=Z.isStreamLike(i);s&&(i.on("data",this._checkDataSize.bind(this)),this._handleErrors(i)),this._pipeNext(i)}.bind(this))};Z.prototype._pipeNext=function(t){this._currentStream=t;var e=Z.isStreamLike(t);if(e){t.on("end",this._getNext.bind(this)),t.pipe(this,{end:!1});return}var i=t;this.write(i),this._getNext()};Z.prototype._handleErrors=function(t){var e=this;t.on("error",function(i){e._emitError(i)})};Z.prototype.write=function(t){this.emit("data",t)};Z.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};Z.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};Z.prototype.end=function(){this._reset(),this.emit("end")};Z.prototype.destroy=function(){this._reset(),this.emit("close")};Z.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Z.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var t="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(t))}};Z.prototype._updateDataSize=function(){this.dataSize=0;var t=this;this._streams.forEach(function(e){e.dataSize&&(t.dataSize+=e.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};Z.prototype._emitError=function(t){this._reset(),this.emit("error",t)}});var Wl=d((CS,lv)=>{lv.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var Jl=d((DS,Gl)=>{Gl.exports=Wl()});var Zl=d(ue=>{"use strict";var Ci=Jl(),pv=require("path").extname,Kl=/^\s*([^;\s]*)(?:;|\s|$)/,uv=/^text\//i;ue.charset=Xl;ue.charsets={lookup:Xl};ue.contentType=dv;ue.extension=mv;ue.extensions=Object.create(null);ue.lookup=hv;ue.types=Object.create(null);fv(ue.extensions,ue.types);function Xl(t){if(!t||typeof t!="string")return!1;var e=Kl.exec(t),i=e&&Ci[e[1].toLowerCase()];return i&&i.charset?i.charset:e&&uv.test(e[1])?"UTF-8":!1}function dv(t){if(!t||typeof t!="string")return!1;var e=t.indexOf("/")===-1?ue.lookup(t):t;if(!e)return!1;if(e.indexOf("charset")===-1){var i=ue.charset(e);i&&(e+="; charset="+i.toLowerCase())}return e}function mv(t){if(!t||typeof t!="string")return!1;var e=Kl.exec(t),i=e&&ue.extensions[e[1].toLowerCase()];return!i||!i.length?!1:i[0]}function hv(t){if(!t||typeof t!="string")return!1;var e=pv("x."+t).toLowerCase().substr(1);return e&&ue.types[e]||!1}function fv(t,e){var i=["nginx","apache",void 0,"iana"];Object.keys(Ci).forEach(function(r){var n=Ci[r],a=n.extensions;if(!(!a||!a.length)){t[r]=a;for(var o=0;o<a.length;o++){var l=a[o];if(e[l]){var c=i.indexOf(Ci[e[l]].source),u=i.indexOf(n.source);if(e[l]!=="application/octet-stream"&&(c>u||c===u&&e[l].substr(0,12)==="application/"))continue}e[l]=r}}})}});var ep=d((MS,Ql)=>{Ql.exports=xv;function xv(t){var e=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;e?e(t):setTimeout(t,0)}});var wr=d((FS,ip)=>{var tp=ep();ip.exports=vv;function vv(t){var e=!1;return tp(function(){e=!0}),function(s,r){e?t(s,r):tp(function(){t(s,r)})}}});var Sr=d((IS,sp)=>{sp.exports=bv;function bv(t){Object.keys(t.jobs).forEach(gv.bind(t)),t.jobs={}}function gv(t){typeof this.jobs[t]=="function"&&this.jobs[t]()}});var _r=d((BS,np)=>{var rp=wr(),yv=Sr();np.exports=wv;function wv(t,e,i,s){var r=i.keyedList?i.keyedList[i.index]:i.index;i.jobs[r]=Sv(e,r,t[r],function(n,a){r in i.jobs&&(delete i.jobs[r],n?yv(i):i.results[r]=a,s(n,i.results))})}function Sv(t,e,i,s){var r;return t.length==2?r=t(i,rp(s)):r=t(i,e,rp(s)),r}});var Er=d((US,ap)=>{ap.exports=_v;function _v(t,e){var i=!Array.isArray(t),s={index:0,keyedList:i||e?Object.keys(t):null,jobs:{},results:i?{}:[],size:i?Object.keys(t).length:t.length};return e&&s.keyedList.sort(i?e:function(r,n){return e(t[r],t[n])}),s}});var Tr=d((NS,op)=>{var Ev=Sr(),Tv=wr();op.exports=Ov;function Ov(t){Object.keys(this.jobs).length&&(this.index=this.size,Ev(this),Tv(t)(null,this.results))}});var lp=d((zS,cp)=>{var kv=_r(),jv=Er(),Rv=Tr();cp.exports=qv;function qv(t,e,i){for(var s=jv(t);s.index<(s.keyedList||t).length;)kv(t,e,s,function(r,n){if(r){i(r,n);return}if(Object.keys(s.jobs).length===0){i(null,s.results);return}}),s.index++;return Rv.bind(s,i)}});var Or=d((HS,Di)=>{var pp=_r(),Av=Er(),Pv=Tr();Di.exports=$v;Di.exports.ascending=up;Di.exports.descending=Cv;function $v(t,e,i,s){var r=Av(t,i);return pp(t,e,r,function n(a,o){if(a){s(a,o);return}if(r.index++,r.index<(r.keyedList||t).length){pp(t,e,r,n);return}s(null,r.results)}),Pv.bind(r,s)}function up(t,e){return t<e?-1:t>e?1:0}function Cv(t,e){return-1*up(t,e)}});var mp=d((VS,dp)=>{var Dv=Or();dp.exports=Lv;function Lv(t,e,i){return Dv(t,e,null,i)}});var fp=d((YS,hp)=>{hp.exports={parallel:lp(),serial:mp(),serialOrdered:Or()}});var kr=d((WS,xp)=>{"use strict";xp.exports=Object});var bp=d((GS,vp)=>{"use strict";vp.exports=Error});var yp=d((JS,gp)=>{"use strict";gp.exports=EvalError});var Sp=d((KS,wp)=>{"use strict";wp.exports=RangeError});var Ep=d((XS,_p)=>{"use strict";_p.exports=ReferenceError});var Op=d((ZS,Tp)=>{"use strict";Tp.exports=SyntaxError});var Li=d((QS,kp)=>{"use strict";kp.exports=TypeError});var Rp=d((e0,jp)=>{"use strict";jp.exports=URIError});var Ap=d((t0,qp)=>{"use strict";qp.exports=Math.abs});var $p=d((i0,Pp)=>{"use strict";Pp.exports=Math.floor});var Dp=d((s0,Cp)=>{"use strict";Cp.exports=Math.max});var Mp=d((r0,Lp)=>{"use strict";Lp.exports=Math.min});var Ip=d((n0,Fp)=>{"use strict";Fp.exports=Math.pow});var Up=d((a0,Bp)=>{"use strict";Bp.exports=Math.round});var zp=d((o0,Np)=>{"use strict";Np.exports=Number.isNaN||function(e){return e!==e}});var Vp=d((c0,Hp)=>{"use strict";var Mv=zp();Hp.exports=function(e){return Mv(e)||e===0?e:e<0?-1:1}});var Wp=d((l0,Yp)=>{"use strict";Yp.exports=Object.getOwnPropertyDescriptor});var jr=d((p0,Gp)=>{"use strict";var Mi=Wp();if(Mi)try{Mi([],"length")}catch{Mi=null}Gp.exports=Mi});var Kp=d((u0,Jp)=>{"use strict";var Fi=Object.defineProperty||!1;if(Fi)try{Fi({},"a",{value:1})}catch{Fi=!1}Jp.exports=Fi});var Rr=d((d0,Xp)=>{"use strict";Xp.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},i=Symbol("test"),s=Object(i);if(typeof i=="string"||Object.prototype.toString.call(i)!=="[object Symbol]"||Object.prototype.toString.call(s)!=="[object Symbol]")return!1;var r=42;e[i]=r;for(var n in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,i);if(o.value!==r||o.enumerable!==!0)return!1}return!0}});var eu=d((m0,Qp)=>{"use strict";var Zp=typeof Symbol<"u"&&Symbol,Fv=Rr();Qp.exports=function(){return typeof Zp!="function"||typeof Symbol!="function"||typeof Zp("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Fv()}});var qr=d((h0,tu)=>{"use strict";tu.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Ar=d((f0,iu)=>{"use strict";var Iv=kr();iu.exports=Iv.getPrototypeOf||null});var nu=d((x0,ru)=>{"use strict";var Bv="Function.prototype.bind called on incompatible ",Uv=Object.prototype.toString,Nv=Math.max,zv="[object Function]",su=function(e,i){for(var s=[],r=0;r<e.length;r+=1)s[r]=e[r];for(var n=0;n<i.length;n+=1)s[n+e.length]=i[n];return s},Hv=function(e,i){for(var s=[],r=i||0,n=0;r<e.length;r+=1,n+=1)s[n]=e[r];return s},Vv=function(t,e){for(var i="",s=0;s<t.length;s+=1)i+=t[s],s+1<t.length&&(i+=e);return i};ru.exports=function(e){var i=this;if(typeof i!="function"||Uv.apply(i)!==zv)throw new TypeError(Bv+i);for(var s=Hv(arguments,1),r,n=function(){if(this instanceof r){var u=i.apply(this,su(s,arguments));return Object(u)===u?u:this}return i.apply(e,su(s,arguments))},a=Nv(0,i.length-s.length),o=[],l=0;l<a;l++)o[l]="$"+l;if(r=Function("binder","return function ("+Vv(o,",")+"){ return binder.apply(this,arguments); }")(n),i.prototype){var c=function(){};c.prototype=i.prototype,r.prototype=new c,c.prototype=null}return r}});var Bt=d((v0,au)=>{"use strict";var Yv=nu();au.exports=Function.prototype.bind||Yv});var Ii=d((b0,ou)=>{"use strict";ou.exports=Function.prototype.call});var Pr=d((g0,cu)=>{"use strict";cu.exports=Function.prototype.apply});var pu=d((y0,lu)=>{"use strict";lu.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var du=d((w0,uu)=>{"use strict";var Wv=Bt(),Gv=Pr(),Jv=Ii(),Kv=pu();uu.exports=Kv||Wv.call(Jv,Gv)});var hu=d((S0,mu)=>{"use strict";var Xv=Bt(),Zv=Li(),Qv=Ii(),eb=du();mu.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Zv("a function is required");return eb(Xv,Qv,e)}});var yu=d((_0,gu)=>{"use strict";var tb=hu(),fu=jr(),vu;try{vu=[].__proto__===Array.prototype}catch(t){if(!t||typeof t!="object"||!("code"in t)||t.code!=="ERR_PROTO_ACCESS")throw t}var $r=!!vu&&fu&&fu(Object.prototype,"__proto__"),bu=Object,xu=bu.getPrototypeOf;gu.exports=$r&&typeof $r.get=="function"?tb([$r.get]):typeof xu=="function"?function(e){return xu(e==null?e:bu(e))}:!1});var Tu=d((E0,Eu)=>{"use strict";var wu=qr(),Su=Ar(),_u=yu();Eu.exports=wu?function(e){return wu(e)}:Su?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return Su(e)}:_u?function(e){return _u(e)}:null});var Cr=d((T0,Ou)=>{"use strict";var ib=Function.prototype.call,sb=Object.prototype.hasOwnProperty,rb=Bt();Ou.exports=rb.call(ib,sb)});var $u=d((O0,Pu)=>{"use strict";var L,nb=kr(),ab=bp(),ob=yp(),cb=Sp(),lb=Ep(),ht=Op(),mt=Li(),pb=Rp(),ub=Ap(),db=$p(),mb=Dp(),hb=Mp(),fb=Ip(),xb=Up(),vb=Vp(),qu=Function,Dr=function(t){try{return qu('"use strict"; return ('+t+").constructor;")()}catch{}},Ut=jr(),bb=Kp(),Lr=function(){throw new mt},gb=Ut?function(){try{return arguments.callee,Lr}catch{try{return Ut(arguments,"callee").get}catch{return Lr}}}():Lr,ut=eu()(),re=Tu(),yb=Ar(),wb=qr(),Au=Pr(),Nt=Ii(),dt={},Sb=typeof Uint8Array>"u"||!re?L:re(Uint8Array),Ke={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?L:ArrayBuffer,"%ArrayIteratorPrototype%":ut&&re?re([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":dt,"%AsyncGenerator%":dt,"%AsyncGeneratorFunction%":dt,"%AsyncIteratorPrototype%":dt,"%Atomics%":typeof Atomics>"u"?L:Atomics,"%BigInt%":typeof BigInt>"u"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":ab,"%eval%":eval,"%EvalError%":ob,"%Float16Array%":typeof Float16Array>"u"?L:Float16Array,"%Float32Array%":typeof Float32Array>"u"?L:Float32Array,"%Float64Array%":typeof Float64Array>"u"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?L:FinalizationRegistry,"%Function%":qu,"%GeneratorFunction%":dt,"%Int8Array%":typeof Int8Array>"u"?L:Int8Array,"%Int16Array%":typeof Int16Array>"u"?L:Int16Array,"%Int32Array%":typeof Int32Array>"u"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ut&&re?re(re([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map>"u"?L:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ut||!re?L:re(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":nb,"%Object.getOwnPropertyDescriptor%":Ut,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?L:Promise,"%Proxy%":typeof Proxy>"u"?L:Proxy,"%RangeError%":cb,"%ReferenceError%":lb,"%Reflect%":typeof Reflect>"u"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?L:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ut||!re?L:re(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ut&&re?re(""[Symbol.iterator]()):L,"%Symbol%":ut?Symbol:L,"%SyntaxError%":ht,"%ThrowTypeError%":gb,"%TypedArray%":Sb,"%TypeError%":mt,"%Uint8Array%":typeof Uint8Array>"u"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?L:Uint32Array,"%URIError%":pb,"%WeakMap%":typeof WeakMap>"u"?L:WeakMap,"%WeakRef%":typeof WeakRef>"u"?L:WeakRef,"%WeakSet%":typeof WeakSet>"u"?L:WeakSet,"%Function.prototype.call%":Nt,"%Function.prototype.apply%":Au,"%Object.defineProperty%":bb,"%Object.getPrototypeOf%":yb,"%Math.abs%":ub,"%Math.floor%":db,"%Math.max%":mb,"%Math.min%":hb,"%Math.pow%":fb,"%Math.round%":xb,"%Math.sign%":vb,"%Reflect.getPrototypeOf%":wb};if(re)try{null.error}catch(t){ku=re(re(t)),Ke["%Error.prototype%"]=ku}var ku,_b=function t(e){var i;if(e==="%AsyncFunction%")i=Dr("async function () {}");else if(e==="%GeneratorFunction%")i=Dr("function* () {}");else if(e==="%AsyncGeneratorFunction%")i=Dr("async function* () {}");else if(e==="%AsyncGenerator%"){var s=t("%AsyncGeneratorFunction%");s&&(i=s.prototype)}else if(e==="%AsyncIteratorPrototype%"){var r=t("%AsyncGenerator%");r&&re&&(i=re(r.prototype))}return Ke[e]=i,i},ju={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},zt=Bt(),Bi=Cr(),Eb=zt.call(Nt,Array.prototype.concat),Tb=zt.call(Au,Array.prototype.splice),Ru=zt.call(Nt,String.prototype.replace),Ui=zt.call(Nt,String.prototype.slice),Ob=zt.call(Nt,RegExp.prototype.exec),kb=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,jb=/\\(\\)?/g,Rb=function(e){var i=Ui(e,0,1),s=Ui(e,-1);if(i==="%"&&s!=="%")throw new ht("invalid intrinsic syntax, expected closing `%`");if(s==="%"&&i!=="%")throw new ht("invalid intrinsic syntax, expected opening `%`");var r=[];return Ru(e,kb,function(n,a,o,l){r[r.length]=o?Ru(l,jb,"$1"):a||n}),r},qb=function(e,i){var s=e,r;if(Bi(ju,s)&&(r=ju[s],s="%"+r[0]+"%"),Bi(Ke,s)){var n=Ke[s];if(n===dt&&(n=_b(s)),typeof n>"u"&&!i)throw new mt("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:s,value:n}}throw new ht("intrinsic "+e+" does not exist!")};Pu.exports=function(e,i){if(typeof e!="string"||e.length===0)throw new mt("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof i!="boolean")throw new mt('"allowMissing" argument must be a boolean');if(Ob(/^%?[^%]*%?$/,e)===null)throw new ht("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=Rb(e),r=s.length>0?s[0]:"",n=qb("%"+r+"%",i),a=n.name,o=n.value,l=!1,c=n.alias;c&&(r=c[0],Tb(s,Eb([0,1],c)));for(var u=1,m=!0;u<s.length;u+=1){var h=s[u],b=Ui(h,0,1),f=Ui(h,-1);if((b==='"'||b==="'"||b==="`"||f==='"'||f==="'"||f==="`")&&b!==f)throw new ht("property names with quotes must have matching quotes");if((h==="constructor"||!m)&&(l=!0),r+="."+h,a="%"+r+"%",Bi(Ke,a))o=Ke[a];else if(o!=null){if(!(h in o)){if(!i)throw new mt("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ut&&u+1>=s.length){var S=Ut(o,h);m=!!S,m&&"get"in S&&!("originalValue"in S.get)?o=S.get:o=o[h]}else m=Bi(o,h),o=o[h];m&&!l&&(Ke[a]=o)}}return o}});var Du=d((k0,Cu)=>{"use strict";var Ab=Rr();Cu.exports=function(){return Ab()&&!!Symbol.toStringTag}});var Fu=d((j0,Mu)=>{"use strict";var Pb=$u(),Lu=Pb("%Object.defineProperty%",!0),$b=Du()(),Cb=Cr(),Db=Li(),Ni=$b?Symbol.toStringTag:null;Mu.exports=function(e,i){var s=arguments.length>2&&!!arguments[2]&&arguments[2].force,r=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof s<"u"&&typeof s!="boolean"||typeof r<"u"&&typeof r!="boolean")throw new Db("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");Ni&&(s||!Cb(e,Ni))&&(Lu?Lu(e,Ni,{configurable:!r,enumerable:!1,value:i,writable:!1}):e[Ni]=i)}});var Bu=d((R0,Iu)=>{Iu.exports=function(t,e){return Object.keys(e).forEach(function(i){t[i]=t[i]||e[i]}),t}});var Nu=d((q0,Uu)=>{var Br=Yl(),Lb=require("util"),Mr=require("path"),Mb=require("http"),Fb=require("https"),Ib=require("url").parse,Bb=require("fs"),Ub=require("stream").Stream,Fr=Zl(),Nb=fp(),zb=Fu(),Ir=Bu();Uu.exports=I;Lb.inherits(I,Br);function I(t){if(!(this instanceof I))return new I(t);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],Br.call(this),t=t||{};for(var e in t)this[e]=t[e]}I.LINE_BREAK=`\r
99
+ `;I.DEFAULT_CONTENT_TYPE="application/octet-stream";I.prototype.append=function(t,e,i){i=i||{},typeof i=="string"&&(i={filename:i});var s=Br.prototype.append.bind(this);if(typeof e=="number"&&(e=""+e),Array.isArray(e)){this._error(new Error("Arrays are not supported."));return}var r=this._multiPartHeader(t,e,i),n=this._multiPartFooter();s(r),s(e),s(n),this._trackLength(r,e,i)};I.prototype._trackLength=function(t,e,i){var s=0;i.knownLength!=null?s+=+i.knownLength:Buffer.isBuffer(e)?s=e.length:typeof e=="string"&&(s=Buffer.byteLength(e)),this._valueLength+=s,this._overheadLength+=Buffer.byteLength(t)+I.LINE_BREAK.length,!(!e||!e.path&&!(e.readable&&Object.prototype.hasOwnProperty.call(e,"httpVersion"))&&!(e instanceof Ub))&&(i.knownLength||this._valuesToMeasure.push(e))};I.prototype._lengthRetriever=function(t,e){Object.prototype.hasOwnProperty.call(t,"fd")?t.end!=null&&t.end!=1/0&&t.start!=null?e(null,t.end+1-(t.start?t.start:0)):Bb.stat(t.path,function(i,s){var r;if(i){e(i);return}r=s.size-(t.start?t.start:0),e(null,r)}):Object.prototype.hasOwnProperty.call(t,"httpVersion")?e(null,+t.headers["content-length"]):Object.prototype.hasOwnProperty.call(t,"httpModule")?(t.on("response",function(i){t.pause(),e(null,+i.headers["content-length"])}),t.resume()):e("Unknown stream")};I.prototype._multiPartHeader=function(t,e,i){if(typeof i.header=="string")return i.header;var s=this._getContentDisposition(e,i),r=this._getContentType(e,i),n="",a={"Content-Disposition":["form-data",'name="'+t+'"'].concat(s||[]),"Content-Type":[].concat(r||[])};typeof i.header=="object"&&Ir(a,i.header);var o;for(var l in a)if(Object.prototype.hasOwnProperty.call(a,l)){if(o=a[l],o==null)continue;Array.isArray(o)||(o=[o]),o.length&&(n+=l+": "+o.join("; ")+I.LINE_BREAK)}return"--"+this.getBoundary()+I.LINE_BREAK+n+I.LINE_BREAK};I.prototype._getContentDisposition=function(t,e){var i,s;return typeof e.filepath=="string"?i=Mr.normalize(e.filepath).replace(/\\/g,"/"):e.filename||t.name||t.path?i=Mr.basename(e.filename||t.name||t.path):t.readable&&Object.prototype.hasOwnProperty.call(t,"httpVersion")&&(i=Mr.basename(t.client._httpMessage.path||"")),i&&(s='filename="'+i+'"'),s};I.prototype._getContentType=function(t,e){var i=e.contentType;return!i&&t.name&&(i=Fr.lookup(t.name)),!i&&t.path&&(i=Fr.lookup(t.path)),!i&&t.readable&&Object.prototype.hasOwnProperty.call(t,"httpVersion")&&(i=t.headers["content-type"]),!i&&(e.filepath||e.filename)&&(i=Fr.lookup(e.filepath||e.filename)),!i&&typeof t=="object"&&(i=I.DEFAULT_CONTENT_TYPE),i};I.prototype._multiPartFooter=function(){return function(t){var e=I.LINE_BREAK,i=this._streams.length===0;i&&(e+=this._lastBoundary()),t(e)}.bind(this)};I.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+I.LINE_BREAK};I.prototype.getHeaders=function(t){var e,i={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&(i[e.toLowerCase()]=t[e]);return i};I.prototype.setBoundary=function(t){this._boundary=t};I.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};I.prototype.getBuffer=function(){for(var t=new Buffer.alloc(0),e=this.getBoundary(),i=0,s=this._streams.length;i<s;i++)typeof this._streams[i]!="function"&&(Buffer.isBuffer(this._streams[i])?t=Buffer.concat([t,this._streams[i]]):t=Buffer.concat([t,Buffer.from(this._streams[i])]),(typeof this._streams[i]!="string"||this._streams[i].substring(2,e.length+2)!==e)&&(t=Buffer.concat([t,Buffer.from(I.LINE_BREAK)])));return Buffer.concat([t,Buffer.from(this._lastBoundary())])};I.prototype._generateBoundary=function(){for(var t="--------------------------",e=0;e<24;e++)t+=Math.floor(Math.random()*10).toString(16);this._boundary=t};I.prototype.getLengthSync=function(){var t=this._overheadLength+this._valueLength;return this._streams.length&&(t+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),t};I.prototype.hasKnownLength=function(){var t=!0;return this._valuesToMeasure.length&&(t=!1),t};I.prototype.getLength=function(t){var e=this._overheadLength+this._valueLength;if(this._streams.length&&(e+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(t.bind(this,null,e));return}Nb.parallel(this._valuesToMeasure,this._lengthRetriever,function(i,s){if(i){t(i);return}s.forEach(function(r){e+=r}),t(null,e)})};I.prototype.submit=function(t,e){var i,s,r={method:"post"};return typeof t=="string"?(t=Ib(t),s=Ir({port:t.port,path:t.pathname,host:t.hostname,protocol:t.protocol},r)):(s=Ir(t,r),s.port||(s.port=s.protocol=="https:"?443:80)),s.headers=this.getHeaders(t.headers),s.protocol=="https:"?i=Fb.request(s):i=Mb.request(s),this.getLength(function(n,a){if(n&&n!=="Unknown stream"){this._error(n);return}if(a&&i.setHeader("Content-Length",a),this.pipe(i),e){var o,l=function(c,u){return i.removeListener("error",l),i.removeListener("response",o),e.call(this,c,u)};o=l.bind(this,null),i.on("error",l),i.on("response",o)}}.bind(this)),i};I.prototype._error=function(t){this.error||(this.error=t,this.pause(),this.emit("error",t))};I.prototype.toString=function(){return"[object FormData]"};zb(I,"FormData")});var ad=d(nd=>{"use strict";var og=require("url").parse,cg={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},lg=String.prototype.endsWith||function(t){return t.length<=this.length&&this.indexOf(t,this.length-t.length)!==-1};function pg(t){var e=typeof t=="string"?og(t):t||{},i=e.protocol,s=e.host,r=e.port;if(typeof s!="string"||!s||typeof i!="string"||(i=i.split(":",1)[0],s=s.replace(/:\d*$/,""),r=parseInt(r)||cg[i]||0,!ug(s,r)))return"";var n=bt("npm_config_"+i+"_proxy")||bt(i+"_proxy")||bt("npm_config_proxy")||bt("all_proxy");return n&&n.indexOf("://")===-1&&(n=i+"://"+n),n}function ug(t,e){var i=(bt("npm_config_no_proxy")||bt("no_proxy")).toLowerCase();return i?i==="*"?!1:i.split(/[,\s]/).every(function(s){if(!s)return!0;var r=s.match(/^(.+):(\d+)$/),n=r?r[1]:s,a=r?parseInt(r[2]):0;return a&&a!==e?!0:/^[.*]/.test(n)?(n.charAt(0)==="*"&&(n=n.slice(1)),!lg.call(t,n)):t!==n}):!0}function bt(t){return process.env[t.toLowerCase()]||process.env[t.toUpperCase()]||""}nd.getProxyForUrl=pg});var cd=d((A1,od)=>{var Wt;od.exports=function(){if(!Wt){try{Wt=require("debug")("follow-redirects")}catch{}typeof Wt!="function"&&(Wt=function(){})}Wt.apply(null,arguments)}});var md=d((P1,un)=>{var Jt=require("url"),Gt=Jt.URL,dg=require("http"),mg=require("https"),rn=require("stream").Writable,nn=require("assert"),ld=cd();(function(){var e=typeof process<"u",i=typeof window<"u"&&typeof document<"u",s=et(Error.captureStackTrace);!e&&(i||!s)&&console.warn("The follow-redirects package should be excluded from browser builds.")})();var an=!1;try{nn(new Gt(""))}catch(t){an=t.code==="ERR_INVALID_URL"}var hg=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],on=["abort","aborted","connect","error","socket","timeout"],cn=Object.create(null);on.forEach(function(t){cn[t]=function(e,i,s){this._redirectable.emit(t,e,i,s)}});var en=Kt("ERR_INVALID_URL","Invalid URL",TypeError),tn=Kt("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),fg=Kt("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",tn),xg=Kt("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),vg=Kt("ERR_STREAM_WRITE_AFTER_END","write after end"),bg=rn.prototype.destroy||ud;function de(t,e){rn.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],e&&this.on("response",e);var i=this;this._onNativeResponse=function(s){try{i._processResponse(s)}catch(r){i.emit("error",r instanceof tn?r:new tn({cause:r}))}},this._performRequest()}de.prototype=Object.create(rn.prototype);de.prototype.abort=function(){pn(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};de.prototype.destroy=function(t){return pn(this._currentRequest,t),bg.call(this,t),this};de.prototype.write=function(t,e,i){if(this._ending)throw new vg;if(!Qe(t)&&!wg(t))throw new TypeError("data should be a string, Buffer or Uint8Array");if(et(e)&&(i=e,e=null),t.length===0){i&&i();return}this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,i)):(this.emit("error",new xg),this.abort())};de.prototype.end=function(t,e,i){if(et(t)?(i=t,t=e=null):et(e)&&(i=e,e=null),!t)this._ended=this._ending=!0,this._currentRequest.end(null,null,i);else{var s=this,r=this._currentRequest;this.write(t,e,function(){s._ended=!0,r.end(null,null,i)}),this._ending=!0}};de.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)};de.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)};de.prototype.setTimeout=function(t,e){var i=this;function s(a){a.setTimeout(t),a.removeListener("timeout",a.destroy),a.addListener("timeout",a.destroy)}function r(a){i._timeout&&clearTimeout(i._timeout),i._timeout=setTimeout(function(){i.emit("timeout"),n()},t),s(a)}function n(){i._timeout&&(clearTimeout(i._timeout),i._timeout=null),i.removeListener("abort",n),i.removeListener("error",n),i.removeListener("response",n),i.removeListener("close",n),e&&i.removeListener("timeout",e),i.socket||i._currentRequest.removeListener("socket",r)}return e&&this.on("timeout",e),this.socket?r(this.socket):this._currentRequest.once("socket",r),this.on("socket",s),this.on("abort",n),this.on("error",n),this.on("response",n),this.on("close",n),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(t){de.prototype[t]=function(e,i){return this._currentRequest[t](e,i)}});["aborted","connection","socket"].forEach(function(t){Object.defineProperty(de.prototype,t,{get:function(){return this._currentRequest[t]}})});de.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}};de.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(!e)throw new TypeError("Unsupported protocol "+t);if(this._options.agents){var i=t.slice(0,-1);this._options.agent=this._options.agents[i]}var s=this._currentRequest=e.request(this._options,this._onNativeResponse);s._redirectable=this;for(var r of on)s.on(r,cn[r]);if(this._currentUrl=/^\//.test(this._options.path)?Jt.format(this._options):this._options.path,this._isRedirect){var n=0,a=this,o=this._requestBodyBuffers;(function l(c){if(s===a._currentRequest)if(c)a.emit("error",c);else if(n<o.length){var u=o[n++];s.finished||s.write(u.data,u.encoding,l)}else a._ended&&s.end()})()}};de.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var i=t.headers.location;if(!i||this._options.followRedirects===!1||e<300||e>=400){t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[];return}if(pn(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)throw new fg;var s,r=this._options.beforeRedirect;r&&(s=Object.assign({Host:t.req.getHeader("host")},this._options.headers));var n=this._options.method;((e===301||e===302)&&this._options.method==="POST"||e===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],Qr(/^content-/i,this._options.headers));var a=Qr(/^host$/i,this._options.headers),o=ln(this._currentUrl),l=a||o.host,c=/^\w+:/.test(i)?this._currentUrl:Jt.format(Object.assign(o,{host:l})),u=gg(i,c);if(ld("redirecting to",u.href),this._isRedirect=!0,sn(u,this._options),(u.protocol!==o.protocol&&u.protocol!=="https:"||u.host!==l&&!yg(u.host,l))&&Qr(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers),et(r)){var m={headers:t.headers,statusCode:e},h={url:c,method:n,headers:s};r(this._options,m,h),this._sanitizeOptions(this._options)}this._performRequest()};function pd(t){var e={maxRedirects:21,maxBodyLength:10485760},i={};return Object.keys(t).forEach(function(s){var r=s+":",n=i[r]=t[s],a=e[s]=Object.create(n);function o(c,u,m){return Sg(c)?c=sn(c):Qe(c)?c=sn(ln(c)):(m=u,u=dd(c),c={protocol:r}),et(u)&&(m=u,u=null),u=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},c,u),u.nativeProtocols=i,!Qe(u.host)&&!Qe(u.hostname)&&(u.hostname="::1"),nn.equal(u.protocol,r,"protocol mismatch"),ld("options",u),new de(u,m)}function l(c,u,m){var h=a.request(c,u,m);return h.end(),h}Object.defineProperties(a,{request:{value:o,configurable:!0,enumerable:!0,writable:!0},get:{value:l,configurable:!0,enumerable:!0,writable:!0}})}),e}function ud(){}function ln(t){var e;if(an)e=new Gt(t);else if(e=dd(Jt.parse(t)),!Qe(e.protocol))throw new en({input:t});return e}function gg(t,e){return an?new Gt(t,e):ln(Jt.resolve(e,t))}function dd(t){if(/^\[/.test(t.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(t.hostname))throw new en({input:t.href||t});if(/^\[/.test(t.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(t.host))throw new en({input:t.href||t});return t}function sn(t,e){var i=e||{};for(var s of hg)i[s]=t[s];return i.hostname.startsWith("[")&&(i.hostname=i.hostname.slice(1,-1)),i.port!==""&&(i.port=Number(i.port)),i.path=i.search?i.pathname+i.search:i.pathname,i}function Qr(t,e){var i;for(var s in e)t.test(s)&&(i=e[s],delete e[s]);return i===null||typeof i>"u"?void 0:String(i).trim()}function Kt(t,e,i){function s(r){et(Error.captureStackTrace)&&Error.captureStackTrace(this,this.constructor),Object.assign(this,r||{}),this.code=t,this.message=this.cause?e+": "+this.cause.message:e}return s.prototype=new(i||Error),Object.defineProperties(s.prototype,{constructor:{value:s,enumerable:!1},name:{value:"Error ["+t+"]",enumerable:!1}}),s}function pn(t,e){for(var i of on)t.removeListener(i,cn[i]);t.on("error",ud),t.destroy(e)}function yg(t,e){nn(Qe(t)&&Qe(e));var i=t.length-e.length-1;return i>0&&t[i]==="."&&t.endsWith(e)}function Qe(t){return typeof t=="string"||t instanceof String}function et(t){return typeof t=="function"}function wg(t){return typeof t=="object"&&"length"in t}function Sg(t){return Gt&&t instanceof Gt}un.exports=pd({http:dg,https:mg});un.exports.wrap=pd});var Xd=d((On,kn)=>{(function(t,e){typeof On=="object"&&typeof kn<"u"?kn.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=e()})(On,function(){"use strict";var t=1e3,e=6e4,i=36e5,s="millisecond",r="second",n="minute",a="hour",o="day",l="week",c="month",u="quarter",m="year",h="date",b="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(q){var E=["th","st","nd","rd"],x=q%100;return"["+q+(E[(x-20)%10]||E[x]||E[0])+"]"}},T=function(q,E,x){var j=String(q);return!j||j.length>=E?q:""+Array(E+1-j.length).join(x)+q},C={s:T,z:function(q){var E=-q.utcOffset(),x=Math.abs(E),j=Math.floor(x/60),_=x%60;return(E<=0?"+":"-")+T(j,2,"0")+":"+T(_,2,"0")},m:function q(E,x){if(E.date()<x.date())return-q(x,E);var j=12*(x.year()-E.year())+(x.month()-E.month()),_=E.clone().add(j,c),g=x-_<0,v=E.clone().add(j+(g?-1:1),c);return+(-(j+(x-_)/(g?_-v:v-_))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:c,y:m,w:l,d:o,D:h,h:a,m:n,s:r,ms:s,Q:u}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},k="en",O={};O[k]=y;var R="$isDayjsObject",V=function(q){return q instanceof se||!(!q||!q[R])},P=function q(E,x,j){var _;if(!E)return k;if(typeof E=="string"){var g=E.toLowerCase();O[g]&&(_=g),x&&(O[g]=x,_=g);var v=E.split("-");if(!_&&v.length>1)return q(v[0])}else{var $=E.name;O[$]=E,_=$}return!j&&_&&(k=_),_||!j&&k},F=function(q,E){if(V(q))return q.clone();var x=typeof E=="object"?E:{};return x.date=q,x.args=arguments,new se(x)},A=C;A.l=P,A.i=V,A.w=function(q,E){return F(q,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var se=function(){function q(x){this.$L=P(x.locale,null,!0),this.parse(x),this.$x=this.$x||x.x||{},this[R]=!0}var E=q.prototype;return E.parse=function(x){this.$d=function(j){var _=j.date,g=j.utc;if(_===null)return new Date(NaN);if(A.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var v=_.match(f);if(v){var $=v[2]-1||0,N=(v[7]||"0").substring(0,3);return g?new Date(Date.UTC(v[1],$,v[3]||1,v[4]||0,v[5]||0,v[6]||0,N)):new Date(v[1],$,v[3]||1,v[4]||0,v[5]||0,v[6]||0,N)}}return new Date(_)}(x),this.init()},E.init=function(){var x=this.$d;this.$y=x.getFullYear(),this.$M=x.getMonth(),this.$D=x.getDate(),this.$W=x.getDay(),this.$H=x.getHours(),this.$m=x.getMinutes(),this.$s=x.getSeconds(),this.$ms=x.getMilliseconds()},E.$utils=function(){return A},E.isValid=function(){return this.$d.toString()!==b},E.isSame=function(x,j){var _=F(x);return this.startOf(j)<=_&&_<=this.endOf(j)},E.isAfter=function(x,j){return F(x)<this.startOf(j)},E.isBefore=function(x,j){return this.endOf(j)<F(x)},E.$g=function(x,j,_){return A.u(x)?this[j]:this.set(_,x)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(x,j){var _=this,g=!!A.u(j)||j,v=A.p(x),$=function(he,U){var Ie=A.w(_.$u?Date.UTC(_.$y,U,he):new Date(_.$y,U,he),_);return g?Ie:Ie.endOf(o)},N=function(he,U){return A.w(_.toDate()[he].apply(_.toDate("s"),(g?[0,0,0,0]:[23,59,59,999]).slice(U)),_)},M=this.$W,W=this.$M,ae=this.$D,ne="set"+(this.$u?"UTC":"");switch(v){case m:return g?$(1,0):$(31,11);case c:return g?$(1,W):$(0,W+1);case l:var ee=this.$locale().weekStart||0,Fe=(M<ee?M+7:M)-ee;return $(g?ae-Fe:ae+(6-Fe),W);case o:case h:return N(ne+"Hours",0);case a:return N(ne+"Minutes",1);case n:return N(ne+"Seconds",2);case r:return N(ne+"Milliseconds",3);default:return this.clone()}},E.endOf=function(x){return this.startOf(x,!1)},E.$set=function(x,j){var _,g=A.p(x),v="set"+(this.$u?"UTC":""),$=(_={},_[o]=v+"Date",_[h]=v+"Date",_[c]=v+"Month",_[m]=v+"FullYear",_[a]=v+"Hours",_[n]=v+"Minutes",_[r]=v+"Seconds",_[s]=v+"Milliseconds",_)[g],N=g===o?this.$D+(j-this.$W):j;if(g===c||g===m){var M=this.clone().set(h,1);M.$d[$](N),M.init(),this.$d=M.set(h,Math.min(this.$D,M.daysInMonth())).$d}else $&&this.$d[$](N);return this.init(),this},E.set=function(x,j){return this.clone().$set(x,j)},E.get=function(x){return this[A.p(x)]()},E.add=function(x,j){var _,g=this;x=Number(x);var v=A.p(j),$=function(W){var ae=F(g);return A.w(ae.date(ae.date()+Math.round(W*x)),g)};if(v===c)return this.set(c,this.$M+x);if(v===m)return this.set(m,this.$y+x);if(v===o)return $(1);if(v===l)return $(7);var N=(_={},_[n]=e,_[a]=i,_[r]=t,_)[v]||1,M=this.$d.getTime()+x*N;return A.w(M,this)},E.subtract=function(x,j){return this.add(-1*x,j)},E.format=function(x){var j=this,_=this.$locale();if(!this.isValid())return _.invalidDate||b;var g=x||"YYYY-MM-DDTHH:mm:ssZ",v=A.z(this),$=this.$H,N=this.$m,M=this.$M,W=_.weekdays,ae=_.months,ne=_.meridiem,ee=function(U,Ie,_t,ri){return U&&(U[Ie]||U(j,g))||_t[Ie].slice(0,ri)},Fe=function(U){return A.s($%12||12,U,"0")},he=ne||function(U,Ie,_t){var ri=U<12?"AM":"PM";return _t?ri.toLowerCase():ri};return g.replace(S,function(U,Ie){return Ie||function(_t){switch(_t){case"YY":return String(j.$y).slice(-2);case"YYYY":return A.s(j.$y,4,"0");case"M":return M+1;case"MM":return A.s(M+1,2,"0");case"MMM":return ee(_.monthsShort,M,ae,3);case"MMMM":return ee(ae,M);case"D":return j.$D;case"DD":return A.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return ee(_.weekdaysMin,j.$W,W,2);case"ddd":return ee(_.weekdaysShort,j.$W,W,3);case"dddd":return W[j.$W];case"H":return String($);case"HH":return A.s($,2,"0");case"h":return Fe(1);case"hh":return Fe(2);case"a":return he($,N,!0);case"A":return he($,N,!1);case"m":return String(N);case"mm":return A.s(N,2,"0");case"s":return String(j.$s);case"ss":return A.s(j.$s,2,"0");case"SSS":return A.s(j.$ms,3,"0");case"Z":return v}return null}(U)||v.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(x,j,_){var g,v=this,$=A.p(j),N=F(x),M=(N.utcOffset()-this.utcOffset())*e,W=this-N,ae=function(){return A.m(v,N)};switch($){case m:g=ae()/12;break;case c:g=ae();break;case u:g=ae()/3;break;case l:g=(W-M)/6048e5;break;case o:g=(W-M)/864e5;break;case a:g=W/i;break;case n:g=W/e;break;case r:g=W/t;break;default:g=W}return _?g:A.a(g)},E.daysInMonth=function(){return this.endOf(c).$D},E.$locale=function(){return O[this.$L]},E.locale=function(x,j){if(!x)return this.$L;var _=this.clone(),g=P(x,j,!0);return g&&(_.$L=g),_},E.clone=function(){return A.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},q}(),si=se.prototype;return F.prototype=si,[["$ms",s],["$s",r],["$m",n],["$H",a],["$W",o],["$M",c],["$y",m],["$D",h]].forEach(function(q){si[q[1]]=function(E){return this.$g(E,q[0],q[1])}}),F.extend=function(q,E){return q.$i||(q(E,se,F),q.$i=!0),F},F.locale=P,F.isDayjs=V,F.unix=function(q){return F(1e3*q)},F.en=O[k],F.Ls=O,F.p={},F})});var je=require("node:fs"),em=require("node:path"),St=H(require("node:process"),1);var Ve=!0,rt=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},Et=0;if(rt.process&&rt.process.env&&rt.process.stdout){let{FORCE_COLOR:t,NODE_DISABLE_COLORS:e,NO_COLOR:i,TERM:s,COLORTERM:r}=rt.process.env;e||i||t==="0"?Ve=!1:t==="1"||t==="2"||t==="3"?Ve=!0:s==="dumb"?Ve=!1:"CI"in rt.process.env&&["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some(n=>n in rt.process.env)?Ve=!0:Ve=process.stdout.isTTY,Ve&&(process.platform==="win32"||r&&(r==="truecolor"||r==="24bit")?Et=3:s&&(s.endsWith("-256color")||s.endsWith("256"))?Et=2:Et=1)}var jn={enabled:Ve,supportLevel:Et};function D(t,e,i=1){let s=`\x1B[${t}m`,r=`\x1B[${e}m`,n=new RegExp(`\\x1b\\[${e}m`,"g");return a=>jn.enabled&&jn.supportLevel>=i?s+(""+a).replace(n,s)+r:""+a}var ey=D(0,0),te=D(1,22),ty=D(2,22),iy=D(3,23),sy=D(4,24),ry=D(7,27),ny=D(8,28),ay=D(9,29),oy=D(30,39),Q=D(31,39),oe=D(32,39),cy=D(33,39),ly=D(34,39),py=D(35,39),uy=D(36,39),dy=D(97,39),my=D(90,39),hy=D(37,39),fy=D(91,39),xy=D(92,39),vy=D(93,39),by=D(94,39),gy=D(95,39),Rn=D(96,39),yy=D(40,49),wy=D(41,49),Sy=D(42,49),_y=D(43,49),Ey=D(44,49),Ty=D(45,49),Oy=D(46,49),ky=D(107,49),jy=D(100,49),Ry=D(101,49),qy=D(102,49),Ay=D(103,49),Py=D(104,49),$y=D(105,49),Cy=D(106,49),Dy=D(47,49);var tm=H($n(),1),im=H(ur(),1),Qi=H(We(),1);var Tl=H(ur(),1);var Ol=H(We(),1);var Sl=H(We(),1);var wi=require("node:fs");function Si(t){if(!(0,wi.existsSync)(t))return!0;let e=(0,wi.readdirSync)(t);return e.length===0||e.length===1&&e[0]===".git"}var ul=require("node:child_process"),dl=require("node:fs"),ml=require("node:path"),hl=H(require("node:process"),1);var _i=require("node:fs"),pl=require("node:path");function xx(t,e){let i=JSON.parse((0,_i.readFileSync)(t,"utf8"));i.name=e,(0,_i.writeFileSync)(t,JSON.stringify(i,null,2))}function Ei(t,e){let i=e.toLocaleLowerCase().replace(/\s/g,"-"),s=(0,pl.join)(t,"package.json");xx(s,i)}async function vx(t){let e=(0,ml.join)(t,".git");await dl.promises.rm(e,{recursive:!0,force:!0})}async function bx(t,e,i){let s=null;for(let r of t)try{await new Promise((n,a)=>{let o=`git clone -b ${e} ${r} "${i}"`;(0,ul.exec)(o,async l=>{if(l){console.error(`${Q("exec error:")} ${l}`),a(l);return}try{await vx(i),n()}catch(c){a(c)}})});return}catch(n){console.error(`${Q("cloneRepo error:")} ${n}`),s=n}if(s)throw new Error("All URLs failed")}function gx(t){let{github:e,gitee:i}=t;return[i,e].filter(Boolean)}async function fl(t,e,i,s){let r=gx(t.url);try{await bx(r,t.branch||"base",i)}catch{s.fail(`${te("\u6A21\u677F\u521B\u5EFA\u5931\u8D25\uFF01")}`),hl.default.exit(1)}Ei(i,e),t.callBack?.(i)}var dr=H(require("node:process"),1);var vl="1.18.0";var bl={name:"create-unibest",type:"module",version:vl,packageManager:"pnpm@8.15.1",description:"An easy way to start a unibest project",author:"\u83F2\u9E3D <1020103647@qq.com>",license:"MIT",homepage:"https://github.com/feige996/create-unibest#readme",repository:{type:"git",url:"git+https://github.com/feige996/create-unibest.git"},bugs:"https://github.com/feige996/create-unibest/issues",keywords:["uni","uni-app","unibest","create-unibest","cli","vue","miniapp"],sideEffects:!1,bin:{"create-unibest":"outfile.cjs"},files:["outfile.cjs"],scripts:{build:"node scripts/build.js",dev:"node outfile.cjs",prepublishOnly:"nr build",release:"bumpp",typecheck:"tsc --noEmit",up:"cd ./template && pnpx taze@latest major -w -r && cd ./base && pnpx @dcloudio/uvm@latest --manager pnpm"},devDependencies:{"@antfu/ni":"^0.21.12","@antfu/utils":"^0.7.7","@types/ejs":"^3.1.5","@types/minimist":"^1.2.5","@types/node":"^18.19.11","@types/prompts":"^2.4.9",bumpp:"^9.3.0",ejs:"^3.1.9",esbuild:"^0.18.20",kolorist:"^1.8.0",minimist:"^1.2.8",pnpm:"^8.15.1",prompts:"^2.4.2","simple-git-hooks":"^2.9.0",typescript:"^5.3.3"},dependencies:{axios:"^1.9.0",dayjs:"^1.11.13"}};function gl(){let t=`create-unibest@v${vl} \u5FEB\u901F\u521B\u5EFA unibest \u9879\u76EE`,e="",i={r:59,g:209,b:145},s={r:43,g:76,b:238};for(let n=0;n<t.length;n++){let a=n/(t.length-1),o=Math.round(i.r+(s.r-i.r)*a),l=Math.round(i.g+(s.g-i.g)*a),c=Math.round(i.b+(s.b-i.b)*a);e+=`\x1B[38;2;${o};${l};${c}m${t[n]}\x1B[0m`}let r=dr.default.stdout.isTTY&&dr.default.stdout.getColorDepth()>8?e:Rn(t);console.log(),console.log(r),console.log()}var Ti=H(require("node:process"),1);var mr=H(We(),1),yx=["\u280B","\u2819","\u2839","\u2838","\u283C","\u2834","\u2826","\u2827","\u2807","\u280F"],hr=class{constructor(e){this.message=e,this.interval=null}setFinishMessage(e){let i=Math.max(0,this.message.length-e.length);return e+" ".repeat(i)}start(){let e=0;return this.interval=setInterval(()=>{Ti.default.stdout.write(`\r${yx[e%9]} ${this.message}`),e++},100),this}fail(e){this.interval&&(clearInterval(this.interval),Ti.default.stdout.write(`\r${Q(mr.default.cross)} ${this.setFinishMessage(e)}
100
+ `))}succeed(e){this.interval&&(clearInterval(this.interval),Ti.default.stdout.write(`\r${oe(mr.default.tick)} ${this.setFinishMessage(e)}
101
+ `))}};function Oi(t){return new hr(t)}var Lt=H(require("node:fs"),1),yl=H(require("node:path"),1);var fr=(t,e,i)=>{for(let s of Lt.readdirSync(t)){if(s===".git")continue;let r=yl.resolve(t,s);if(Lt.lstatSync(r).isDirectory()){fr(r,e,i),e(r);continue}i(r)}};var wl=require("node:path");function xr(t,e,i){return e==="install"?t==="yarn"?"yarn":`${t} install`:i?t==="npm"?`npm run ${e} -- ${i}`:`${t} ${e} ${i}`:t==="npm"?`npm run ${e}`:`${t} ${e}`}function vr(t,e,i,s,r){if(s.succeed(`${te("\u6A21\u677F\u521B\u5EFA\u5B8C\u6210\uFF01")}`),console.log(),t!==e){let n=(0,wl.relative)(e,t);console.log(` ${te(oe(`cd ${n.includes(" ")?`"${n}"`:n}`))}`)}console.log(` ${te(oe(xr(i,"i")))}`),r&&r.startsWith("hbx-")?console.log(` ${te(oe("\u8BF7\u901A\u8FC7 HBuilderX \u6253\u5F00\u9879\u76EE\u5E76\u8FD0\u884C\uFF01"))}`):console.log(` ${te(oe(xr(i,"dev")))}`),console.log()}var ki=t=>[{name:"shouldOverwrite",type:e=>Si(t??e)?null:"toggle",message:e=>{let i=t??e;return`${i==="."?"\u5F53\u524D\u6587\u4EF6":`\u76EE\u6807\u6587\u4EF6"${i}"`}\u975E\u7A7A\uFF0C\u662F\u5426\u8986\u76D6\uFF1F`},initial:!1,active:"\u662F",inactive:"\u5426"},{name:"overwriteChecker",type:e=>{if(e===!1)throw new Error(`${Q(Sl.default.cross)} ${te("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`);return null}}];var _l=()=>[{name:"projectName",type:"text",message:"\u8BF7\u8F93\u5165\u9879\u76EE\u540D\u79F0:",initial:"unibest"},...ki()];var ji=[{title:`base${oe("(\u63A8\u8350)")}`,description:`${Q("(\u591ATAB\u9879\u76EE\uFF0C\u6700\u57FA\u7840\u7684\u6A21\u677F)")}`,value:{type:"base",branch:"base",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`tabbar${oe("(\u81EA\u5B9A\u4E49tabbar)")}`,description:`${Q("(\u591ATAB\u9879\u76EE + \u81EA\u5B9A\u4E49\u56FE\u6807\u7684tabbar\u9879\u76EE)")}`,value:{type:"tabbar",branch:"tabbar",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`spa${oe("(SPA\u5E94\u7528)")}`,description:`${Q("(\u7EC4\u4EF6\u6A21\u62DFtabbar)")}`,value:{type:"spa",branch:"spa",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`demo${oe("(\u6F14\u793A\u9879\u76EE)")}`,description:`${Q("(\u591ATAB\u6F14\u793A\u9879\u76EE)")}`,value:{type:"demo",branch:"main",url:{gitee:"https://gitee.com/feige996/hello-unibest.git",github:"https://github.com/feige996/hello-unibest.git"}}},{title:`i18n${oe("(\u591A\u8BED\u8A00)")}`,description:`${Q("(\u591ATAB\u591A\u8BED\u8A00\u9879\u76EE)")}`,value:{type:"i18n",branch:"i18n",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}},{title:`hbx-base${oe("(hbx\u7248-base\u9879\u76EE)")}`,description:`${Q("(hbx\u7684base\u9879\u76EE)")}`,value:{type:"hbx-base",branch:"base",url:{gitee:"https://gitee.com/uni-run/unibest-hbx.git",github:"https://github.com/uni-run/unibest-hbx.git"}}},{title:`hbx-demo${oe("(hbx\u7248-demo\u9879\u76EE)")}`,description:`${Q("(hbx\u7684demo\u9879\u76EE)")}`,value:{type:"hbx-demo",branch:"main",url:{gitee:"https://gitee.com/uni-run/unibest-hbx.git",github:"https://github.com/uni-run/unibest-hbx.git"}}}];var El=()=>({name:"templateType",type:"select",message:"\u8BF7\u9009\u62E9 uni-app \u6A21\u677F\uFF1F",hint:"\u4F7F\u7528\u65B9\u5411\u952E\u9009\u62E9\uFF0C\u56DE\u8F66\u786E\u8BA4",choices:[...ji],initial:0});async function kl(){let t=[..._l(),El()];return await(0,Tl.default)(t,{onCancel:()=>{throw new Error(`${Q(Ol.default.cross)} ${te("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`)}})}var jl=require("node:child_process"),br=require("node:os"),wx=(0,br.platform)()==="win32"?"start":(0,br.platform)()==="darwin"?"open":"xdg-open";function Rl(t){if(!t){console.error("No URL provided to open.");return}setTimeout(()=>{(0,jl.exec)(`${wx} ${t}`)},3e3)}function Mt(t,e){return function(){return t.apply(e,arguments)}}var{toString:Sx}=Object.prototype,{getPrototypeOf:yr}=Object,{iterator:qi,toStringTag:Al}=Symbol,Ai=(t=>e=>{let i=Sx.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),ve=t=>(t=t.toLowerCase(),e=>Ai(e)===t),Pi=t=>e=>typeof e===t,{isArray:lt}=Array,Ft=Pi("undefined");function _x(t){return t!==null&&!Ft(t)&&t.constructor!==null&&!Ft(t.constructor)&&pe(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}var Pl=ve("ArrayBuffer");function Ex(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Pl(t.buffer),e}var Tx=Pi("string"),pe=Pi("function"),$l=Pi("number"),$i=t=>t!==null&&typeof t=="object",Ox=t=>t===!0||t===!1,Ri=t=>{if(Ai(t)!=="object")return!1;let e=yr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Al in t)&&!(qi in t)},kx=ve("Date"),jx=ve("File"),Rx=ve("Blob"),qx=ve("FileList"),Ax=t=>$i(t)&&pe(t.pipe),Px=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||pe(t.append)&&((e=Ai(t))==="formdata"||e==="object"&&pe(t.toString)&&t.toString()==="[object FormData]"))},$x=ve("URLSearchParams"),[Cx,Dx,Lx,Mx]=["ReadableStream","Request","Response","Headers"].map(ve),Fx=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function It(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let s,r;if(typeof t!="object"&&(t=[t]),lt(t))for(s=0,r=t.length;s<r;s++)e.call(null,t[s],s,t);else{let n=i?Object.getOwnPropertyNames(t):Object.keys(t),a=n.length,o;for(s=0;s<a;s++)o=n[s],e.call(null,t[o],o,t)}}function Cl(t,e){e=e.toLowerCase();let i=Object.keys(t),s=i.length,r;for(;s-- >0;)if(r=i[s],e===r.toLowerCase())return r;return null}var Je=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Dl=t=>!Ft(t)&&t!==Je;function gr(){let{caseless:t}=Dl(this)&&this||{},e={},i=(s,r)=>{let n=t&&Cl(e,r)||r;Ri(e[n])&&Ri(s)?e[n]=gr(e[n],s):Ri(s)?e[n]=gr({},s):lt(s)?e[n]=s.slice():e[n]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&It(arguments[s],i);return e}var Ix=(t,e,i,{allOwnKeys:s}={})=>(It(e,(r,n)=>{i&&pe(r)?t[n]=Mt(r,i):t[n]=r},{allOwnKeys:s}),t),Bx=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ux=(t,e,i,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},Nx=(t,e,i,s)=>{let r,n,a,o={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),n=r.length;n-- >0;)a=r[n],(!s||s(a,t,e))&&!o[a]&&(e[a]=t[a],o[a]=!0);t=i!==!1&&yr(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},zx=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;let s=t.indexOf(e,i);return s!==-1&&s===i},Hx=t=>{if(!t)return null;if(lt(t))return t;let e=t.length;if(!$l(e))return null;let i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},Vx=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&yr(Uint8Array)),Yx=(t,e)=>{let s=(t&&t[qi]).call(t),r;for(;(r=s.next())&&!r.done;){let n=r.value;e.call(t,n[0],n[1])}},Wx=(t,e)=>{let i,s=[];for(;(i=t.exec(e))!==null;)s.push(i);return s},Gx=ve("HTMLFormElement"),Jx=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,s,r){return s.toUpperCase()+r}),ql=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),Kx=ve("RegExp"),Ll=(t,e)=>{let i=Object.getOwnPropertyDescriptors(t),s={};It(i,(r,n)=>{let a;(a=e(r,n,t))!==!1&&(s[n]=a||r)}),Object.defineProperties(t,s)},Xx=t=>{Ll(t,(e,i)=>{if(pe(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;let s=t[i];if(pe(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Zx=(t,e)=>{let i={},s=r=>{r.forEach(n=>{i[n]=!0})};return lt(t)?s(t):s(String(t).split(e)),i},Qx=()=>{},ev=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function tv(t){return!!(t&&pe(t.append)&&t[Al]==="FormData"&&t[qi])}var iv=t=>{let e=new Array(10),i=(s,r)=>{if($i(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[r]=s;let n=lt(s)?[]:{};return It(s,(a,o)=>{let l=i(a,r+1);!Ft(l)&&(n[o]=l)}),e[r]=void 0,n}}return s};return i(t,0)},sv=ve("AsyncFunction"),rv=t=>t&&($i(t)||pe(t))&&pe(t.then)&&pe(t.catch),Ml=((t,e)=>t?setImmediate:e?((i,s)=>(Je.addEventListener("message",({source:r,data:n})=>{r===Je&&n===i&&s.length&&s.shift()()},!1),r=>{s.push(r),Je.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",pe(Je.postMessage)),nv=typeof queueMicrotask<"u"?queueMicrotask.bind(Je):typeof process<"u"&&process.nextTick||Ml,av=t=>t!=null&&pe(t[qi]),p={isArray:lt,isArrayBuffer:Pl,isBuffer:_x,isFormData:Px,isArrayBufferView:Ex,isString:Tx,isNumber:$l,isBoolean:Ox,isObject:$i,isPlainObject:Ri,isReadableStream:Cx,isRequest:Dx,isResponse:Lx,isHeaders:Mx,isUndefined:Ft,isDate:kx,isFile:jx,isBlob:Rx,isRegExp:Kx,isFunction:pe,isStream:Ax,isURLSearchParams:$x,isTypedArray:Vx,isFileList:qx,forEach:It,merge:gr,extend:Ix,trim:Fx,stripBOM:Bx,inherits:Ux,toFlatObject:Nx,kindOf:Ai,kindOfTest:ve,endsWith:zx,toArray:Hx,forEachEntry:Yx,matchAll:Wx,isHTMLForm:Gx,hasOwnProperty:ql,hasOwnProp:ql,reduceDescriptors:Ll,freezeMethods:Xx,toObjectSet:Zx,toCamelCase:Jx,noop:Qx,toFiniteNumber:ev,findKey:Cl,global:Je,isContextDefined:Dl,isSpecCompliantForm:tv,toJSONObject:iv,isAsyncFn:sv,isThenable:rv,setImmediate:Ml,asap:nv,isIterable:av};function pt(t,e,i,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}p.inherits(pt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:p.toJSONObject(this.config),code:this.code,status:this.status}}});var Fl=pt.prototype,Il={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Il[t]={value:t}});Object.defineProperties(pt,Il);Object.defineProperty(Fl,"isAxiosError",{value:!0});pt.from=(t,e,i,s,r,n)=>{let a=Object.create(Fl);return p.toFlatObject(t,a,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),pt.call(a,t.message,e,i,s,r),a.cause=t,a.name=t.name,n&&Object.assign(a,n),a};var w=pt;var zu=H(Nu(),1),zi=zu.default;function Ur(t){return p.isPlainObject(t)||p.isArray(t)}function Vu(t){return p.endsWith(t,"[]")?t.slice(0,-2):t}function Hu(t,e,i){return t?t.concat(e).map(function(r,n){return r=Vu(r),!i&&n?"["+r+"]":r}).join(i?".":""):e}function Hb(t){return p.isArray(t)&&!t.some(Ur)}var Vb=p.toFlatObject(p,{},null,function(e){return/^is[A-Z]/.test(e)});function Yb(t,e,i){if(!p.isObject(t))throw new TypeError("target must be an object");e=e||new(zi||FormData),i=p.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,y){return!p.isUndefined(y[S])});let s=i.metaTokens,r=i.visitor||u,n=i.dots,a=i.indexes,l=(i.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(e);if(!p.isFunction(r))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(p.isDate(f))return f.toISOString();if(!l&&p.isBlob(f))throw new w("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(f)||p.isTypedArray(f)?l&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function u(f,S,y){let T=f;if(f&&!y&&typeof f=="object"){if(p.endsWith(S,"{}"))S=s?S:S.slice(0,-2),f=JSON.stringify(f);else if(p.isArray(f)&&Hb(f)||(p.isFileList(f)||p.endsWith(S,"[]"))&&(T=p.toArray(f)))return S=Vu(S),T.forEach(function(k,O){!(p.isUndefined(k)||k===null)&&e.append(a===!0?Hu([S],O,n):a===null?S:S+"[]",c(k))}),!1}return Ur(f)?!0:(e.append(Hu(y,S,n),c(f)),!1)}let m=[],h=Object.assign(Vb,{defaultVisitor:u,convertValue:c,isVisitable:Ur});function b(f,S){if(!p.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+S.join("."));m.push(f),p.forEach(f,function(T,C){(!(p.isUndefined(T)||T===null)&&r.call(e,T,p.isString(C)?C.trim():C,S,h))===!0&&b(T,S?S.concat(C):[C])}),m.pop()}}if(!p.isObject(t))throw new TypeError("data must be an object");return b(t),e}var He=Yb;function Yu(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Wu(t,e){this._pairs=[],t&&He(t,this,e)}var Gu=Wu.prototype;Gu.append=function(e,i){this._pairs.push([e,i])};Gu.toString=function(e){let i=e?function(s){return e.call(this,s,Yu)}:Yu;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};var Ju=Wu;function Wb(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xe(t,e,i){if(!e)return t;let s=i&&i.encode||Wb;p.isFunction(i)&&(i={serialize:i});let r=i&&i.serialize,n;if(r?n=r(e,i):n=p.isURLSearchParams(e)?e.toString():new Ju(e,i).toString(s),n){let a=t.indexOf("#");a!==-1&&(t=t.slice(0,a)),t+=(t.indexOf("?")===-1?"?":"&")+n}return t}var Nr=class{constructor(){this.handlers=[]}use(e,i,s){return this.handlers.push({fulfilled:e,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){p.forEach(this.handlers,function(s){s!==null&&e(s)})}},zr=Nr;var ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var Qu=H(require("crypto"),1);var Ku=H(require("url"),1),Xu=Ku.default.URLSearchParams;var Hr="abcdefghijklmnopqrstuvwxyz",Zu="0123456789",ed={DIGIT:Zu,ALPHA:Hr,ALPHA_DIGIT:Hr+Hr.toUpperCase()+Zu},Gb=(t=16,e=ed.ALPHA_DIGIT)=>{let i="",{length:s}=e,r=new Uint32Array(t);Qu.default.randomFillSync(r);for(let n=0;n<t;n++)i+=e[r[n]%s];return i},td={isNode:!0,classes:{URLSearchParams:Xu,FormData:zi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:ed,generateString:Gb,protocols:["http","https","file","data"]};var Wr={};cm(Wr,{hasBrowserEnv:()=>Yr,hasStandardBrowserEnv:()=>Jb,hasStandardBrowserWebWorkerEnv:()=>Kb,navigator:()=>Vr,origin:()=>Xb});var Yr=typeof window<"u"&&typeof document<"u",Vr=typeof navigator=="object"&&navigator||void 0,Jb=Yr&&(!Vr||["ReactNative","NativeScript","NS"].indexOf(Vr.product)<0),Kb=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Xb=Yr&&window.location.href||"http://localhost";var B={...Wr,...td};function Gr(t,e){return He(t,new B.classes.URLSearchParams,Object.assign({visitor:function(i,s,r,n){return B.isNode&&p.isBuffer(i)?(this.append(s,i.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}function Zb(t){return p.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Qb(t){let e={},i=Object.keys(t),s,r=i.length,n;for(s=0;s<r;s++)n=i[s],e[n]=t[n];return e}function eg(t){function e(i,s,r,n){let a=i[n++];if(a==="__proto__")return!0;let o=Number.isFinite(+a),l=n>=i.length;return a=!a&&p.isArray(r)?r.length:a,l?(p.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!o):((!r[a]||!p.isObject(r[a]))&&(r[a]=[]),e(i,s,r[a],n)&&p.isArray(r[a])&&(r[a]=Qb(r[a])),!o)}if(p.isFormData(t)&&p.isFunction(t.entries)){let i={};return p.forEachEntry(t,(s,r)=>{e(Zb(s),r,i,0)}),i}return null}var Hi=eg;function tg(t,e,i){if(p.isString(t))try{return(e||JSON.parse)(t),p.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(t)}var Jr={transitional:ft,adapter:["xhr","http","fetch"],transformRequest:[function(e,i){let s=i.getContentType()||"",r=s.indexOf("application/json")>-1,n=p.isObject(e);if(n&&p.isHTMLForm(e)&&(e=new FormData(e)),p.isFormData(e))return r?JSON.stringify(Hi(e)):e;if(p.isArrayBuffer(e)||p.isBuffer(e)||p.isStream(e)||p.isFile(e)||p.isBlob(e)||p.isReadableStream(e))return e;if(p.isArrayBufferView(e))return e.buffer;if(p.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(n){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Gr(e,this.formSerializer).toString();if((o=p.isFileList(e))||s.indexOf("multipart/form-data")>-1){let l=this.env&&this.env.FormData;return He(o?{"files[]":e}:e,l&&new l,this.formSerializer)}}return n||r?(i.setContentType("application/json",!1),tg(e)):e}],transformResponse:[function(e){let i=this.transitional||Jr.transitional,s=i&&i.forcedJSONParsing,r=this.responseType==="json";if(p.isResponse(e)||p.isReadableStream(e))return e;if(e&&p.isString(e)&&(s&&!this.responseType||r)){let a=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?w.from(o,w.ERR_BAD_RESPONSE,this,null,this.response):o}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:B.classes.FormData,Blob:B.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],t=>{Jr.headers[t]={}});var xt=Jr;var ig=p.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),id=t=>{let e={},i,s,r;return t&&t.split(`
102
+ `).forEach(function(a){r=a.indexOf(":"),i=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!i||e[i]&&ig[i])&&(i==="set-cookie"?e[i]?e[i].push(s):e[i]=[s]:e[i]=e[i]?e[i]+", "+s:s)}),e};var sd=Symbol("internals");function Ht(t){return t&&String(t).trim().toLowerCase()}function Vi(t){return t===!1||t==null?t:p.isArray(t)?t.map(Vi):String(t)}function sg(t){let e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,s;for(;s=i.exec(t);)e[s[1]]=s[2];return e}var rg=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Kr(t,e,i,s,r){if(p.isFunction(s))return s.call(this,e,i);if(r&&(e=i),!!p.isString(e)){if(p.isString(s))return e.indexOf(s)!==-1;if(p.isRegExp(s))return s.test(e)}}function ng(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,s)=>i.toUpperCase()+s)}function ag(t,e){let i=p.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+i,{value:function(r,n,a){return this[s].call(this,e,r,n,a)},configurable:!0})})}var vt=class{constructor(e){e&&this.set(e)}set(e,i,s){let r=this;function n(o,l,c){let u=Ht(l);if(!u)throw new Error("header name must be a non-empty string");let m=p.findKey(r,u);(!m||r[m]===void 0||c===!0||c===void 0&&r[m]!==!1)&&(r[m||l]=Vi(o))}let a=(o,l)=>p.forEach(o,(c,u)=>n(c,u,l));if(p.isPlainObject(e)||e instanceof this.constructor)a(e,i);else if(p.isString(e)&&(e=e.trim())&&!rg(e))a(id(e),i);else if(p.isObject(e)&&p.isIterable(e)){let o={},l,c;for(let u of e){if(!p.isArray(u))throw TypeError("Object iterator must return a key-value pair");o[c=u[0]]=(l=o[c])?p.isArray(l)?[...l,u[1]]:[l,u[1]]:u[1]}a(o,i)}else e!=null&&n(i,e,s);return this}get(e,i){if(e=Ht(e),e){let s=p.findKey(this,e);if(s){let r=this[s];if(!i)return r;if(i===!0)return sg(r);if(p.isFunction(i))return i.call(this,r,s);if(p.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=Ht(e),e){let s=p.findKey(this,e);return!!(s&&this[s]!==void 0&&(!i||Kr(this,this[s],s,i)))}return!1}delete(e,i){let s=this,r=!1;function n(a){if(a=Ht(a),a){let o=p.findKey(s,a);o&&(!i||Kr(s,s[o],o,i))&&(delete s[o],r=!0)}}return p.isArray(e)?e.forEach(n):n(e),r}clear(e){let i=Object.keys(this),s=i.length,r=!1;for(;s--;){let n=i[s];(!e||Kr(this,this[n],n,e,!0))&&(delete this[n],r=!0)}return r}normalize(e){let i=this,s={};return p.forEach(this,(r,n)=>{let a=p.findKey(s,n);if(a){i[a]=Vi(r),delete i[n];return}let o=e?ng(n):String(n).trim();o!==n&&delete i[n],i[o]=Vi(r),s[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let i=Object.create(null);return p.forEach(this,(s,r)=>{s!=null&&s!==!1&&(i[r]=e&&p.isArray(s)?s.join(", "):s)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(`
103
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){let s=new this(e);return i.forEach(r=>s.set(r)),s}static accessor(e){let s=(this[sd]=this[sd]={accessors:{}}).accessors,r=this.prototype;function n(a){let o=Ht(a);s[o]||(ag(r,a),s[o]=!0)}return p.isArray(e)?e.forEach(n):n(e),this}};vt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);p.reduceDescriptors(vt.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(s){this[i]=s}}});p.freezeMethods(vt);var X=vt;function Vt(t,e){let i=this||xt,s=e||i,r=X.from(s.headers),n=s.data;return p.forEach(t,function(o){n=o.call(i,n,r.normalize(),e?e.status:void 0)}),r.normalize(),n}function Yt(t){return!!(t&&t.__CANCEL__)}function rd(t,e,i){w.call(this,t??"canceled",w.ERR_CANCELED,e,i),this.name="CanceledError"}p.inherits(rd,w,{__CANCEL__:!0});var me=rd;function Oe(t,e,i){let s=i.config.validateStatus;!i.status||!s||s(i.status)?t(i):e(new w("Request failed with status code "+i.status,[w.ERR_BAD_REQUEST,w.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Xr(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Zr(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Ze(t,e,i){let s=!Xr(e);return t&&(s||i==!1)?Zr(t,e):e}var Rd=H(ad(),1),qd=H(require("http"),1),Ad=H(require("https"),1),Pd=H(require("util"),1),$d=H(md(),1),Me=H(require("zlib"),1);var tt="1.9.0";function Xt(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}var _g=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function dn(t,e,i){let s=i&&i.Blob||B.classes.Blob,r=Xt(t);if(e===void 0&&s&&(e=!0),r==="data"){t=r.length?t.slice(r.length+1):t;let n=_g.exec(t);if(!n)throw new w("Invalid URL",w.ERR_INVALID_URL);let a=n[1],o=n[2],l=n[3],c=Buffer.from(decodeURIComponent(l),o?"base64":"utf8");if(e){if(!s)throw new w("Blob is not supported",w.ERR_NOT_SUPPORT);return new s([c],{type:a})}return c}throw new w("Unsupported protocol "+r,w.ERR_NOT_SUPPORT)}var st=H(require("stream"),1);var hd=H(require("stream"),1);var mn=Symbol("internals"),hn=class extends hd.default.Transform{constructor(e){e=p.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(s,r)=>!p.isUndefined(r[s])),super({readableHighWaterMark:e.chunkSize});let i=this[mn]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",s=>{s==="progress"&&(i.isCaptured||(i.isCaptured=!0))})}_read(e){let i=this[mn];return i.onReadCallback&&i.onReadCallback(),super._read(e)}_transform(e,i,s){let r=this[mn],n=r.maxRate,a=this.readableHighWaterMark,o=r.timeWindow,l=1e3/o,c=n/l,u=r.minChunkSize!==!1?Math.max(r.minChunkSize,c*.01):0,m=(b,f)=>{let S=Buffer.byteLength(b);r.bytesSeen+=S,r.bytes+=S,r.isCaptured&&this.emit("progress",r.bytesSeen),this.push(b)?process.nextTick(f):r.onReadCallback=()=>{r.onReadCallback=null,process.nextTick(f)}},h=(b,f)=>{let S=Buffer.byteLength(b),y=null,T=a,C,k=0;if(n){let O=Date.now();(!r.ts||(k=O-r.ts)>=o)&&(r.ts=O,C=c-r.bytes,r.bytes=C<0?-C:0,k=0),C=c-r.bytes}if(n){if(C<=0)return setTimeout(()=>{f(null,b)},o-k);C<T&&(T=C)}T&&S>T&&S-T>u&&(y=b.subarray(T),b=b.subarray(0,T)),m(b,y?()=>{process.nextTick(f,null,y)}:f)};h(e,function b(f,S){if(f)return s(f);S?h(S,b):s(null)})}},fn=hn;var Cd=require("events");var xd=H(require("util"),1),vd=require("stream");var{asyncIterator:fd}=Symbol,Eg=async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[fd]?yield*t[fd]():yield t},Yi=Eg;var Tg=B.ALPHABET.ALPHA_DIGIT+"-_",Zt=typeof TextEncoder=="function"?new TextEncoder:new xd.default.TextEncoder,it=`\r
104
+ `,Og=Zt.encode(it),kg=2,xn=class{constructor(e,i){let{escapeName:s}=this.constructor,r=p.isString(i),n=`Content-Disposition: form-data; name="${s(e)}"${!r&&i.name?`; filename="${s(i.name)}"`:""}${it}`;r?i=Zt.encode(String(i).replace(/\r?\n|\r\n?/g,it)):n+=`Content-Type: ${i.type||"application/octet-stream"}${it}`,this.headers=Zt.encode(n+it),this.contentLength=r?i.byteLength:i.size,this.size=this.headers.byteLength+this.contentLength+kg,this.name=e,this.value=i}async*encode(){yield this.headers;let{value:e}=this;p.isTypedArray(e)?yield e:yield*Yi(e),yield Og}static escapeName(e){return String(e).replace(/[\r\n"]/g,i=>({"\r":"%0D","\n":"%0A",'"':"%22"})[i])}},jg=(t,e,i)=>{let{tag:s="form-data-boundary",size:r=25,boundary:n=s+"-"+B.generateString(r,Tg)}=i||{};if(!p.isFormData(t))throw TypeError("FormData instance required");if(n.length<1||n.length>70)throw Error("boundary must be 10-70 characters long");let a=Zt.encode("--"+n+it),o=Zt.encode("--"+n+"--"+it),l=o.byteLength,c=Array.from(t.entries()).map(([m,h])=>{let b=new xn(m,h);return l+=b.size,b});l+=a.byteLength*c.length,l=p.toFiniteNumber(l);let u={"Content-Type":`multipart/form-data; boundary=${n}`};return Number.isFinite(l)&&(u["Content-Length"]=l),e&&e(u),vd.Readable.from(async function*(){for(let m of c)yield a,yield*m.encode();yield o}())},bd=jg;var gd=H(require("stream"),1),vn=class extends gd.default.Transform{__transform(e,i,s){this.push(e),s()}_transform(e,i,s){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let r=Buffer.alloc(2);r[0]=120,r[1]=156,this.push(r,i)}this.__transform(e,i,s)}},yd=vn;var Rg=(t,e)=>p.isAsyncFn(t)?function(...i){let s=i.pop();t.apply(this,i).then(r=>{try{e?s(null,...e(r)):s(null,r)}catch(n){s(n)}},s)}:t,wd=Rg;function qg(t,e){t=t||10;let i=new Array(t),s=new Array(t),r=0,n=0,a;return e=e!==void 0?e:1e3,function(l){let c=Date.now(),u=s[n];a||(a=c),i[r]=l,s[r]=c;let m=n,h=0;for(;m!==r;)h+=i[m++],m=m%t;if(r=(r+1)%t,r===n&&(n=(n+1)%t),c-a<e)return;let b=u&&c-u;return b?Math.round(h*1e3/b):void 0}}var Sd=qg;function Ag(t,e){let i=0,s=1e3/e,r,n,a=(c,u=Date.now())=>{i=u,r=null,n&&(clearTimeout(n),n=null),t.apply(null,c)};return[(...c)=>{let u=Date.now(),m=u-i;m>=s?a(c,u):(r=c,n||(n=setTimeout(()=>{n=null,a(r)},s-m)))},()=>r&&a(r)]}var _d=Ag;var Le=(t,e,i=3)=>{let s=0,r=Sd(50,250);return _d(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,l=a-s,c=r(l),u=a<=o;s=a;let m={loaded:a,total:o,progress:o?a/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o&&u?(o-a)/c:void 0,event:n,lengthComputable:o!=null,[e?"download":"upload"]:!0};t(m)},i)},gt=(t,e)=>{let i=t!=null;return[s=>e[0]({lengthComputable:i,total:t,loaded:s}),e[1]]},yt=t=>(...e)=>p.asap(()=>t(...e));var Ed={flush:Me.default.constants.Z_SYNC_FLUSH,finishFlush:Me.default.constants.Z_SYNC_FLUSH},Pg={flush:Me.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:Me.default.constants.BROTLI_OPERATION_FLUSH},Td=p.isFunction(Me.default.createBrotliDecompress),{http:$g,https:Cg}=$d.default,Dg=/https:?/,Od=B.protocols.map(t=>t+":"),kd=(t,[e,i])=>(t.on("end",i).on("error",i),e);function Lg(t,e){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t,e)}function Dd(t,e,i){let s=e;if(!s&&s!==!1){let r=Rd.default.getProxyForUrl(i);r&&(s=new URL(r))}if(s){if(s.username&&(s.auth=(s.username||"")+":"+(s.password||"")),s.auth){(s.auth.username||s.auth.password)&&(s.auth=(s.auth.username||"")+":"+(s.auth.password||""));let n=Buffer.from(s.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+n}t.headers.host=t.hostname+(t.port?":"+t.port:"");let r=s.hostname||s.host;t.hostname=r,t.host=r,t.port=s.port,t.path=i,s.protocol&&(t.protocol=s.protocol.includes(":")?s.protocol:`${s.protocol}:`)}t.beforeRedirects.proxy=function(n){Dd(n,e,n.href)}}var Mg=typeof process<"u"&&p.kindOf(process)==="process",Fg=t=>new Promise((e,i)=>{let s,r,n=(l,c)=>{r||(r=!0,s&&s(l,c))},a=l=>{n(l),e(l)},o=l=>{n(l,!0),i(l)};t(a,o,l=>s=l).catch(o)}),Ig=({address:t,family:e})=>{if(!p.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},jd=(t,e)=>Ig(p.isObject(t)?t:{address:t,family:e}),Ld=Mg&&function(e){return Fg(async function(s,r,n){let{data:a,lookup:o,family:l}=e,{responseType:c,responseEncoding:u}=e,m=e.method.toUpperCase(),h,b=!1,f;if(o){let g=wd(o,v=>p.isArray(v)?v:[v]);o=(v,$,N)=>{g(v,$,(M,W,ae)=>{if(M)return N(M);let ne=p.isArray(W)?W.map(ee=>jd(ee)):[jd(W,ae)];$.all?N(M,ne):N(M,ne[0].address,ne[0].family)})}}let S=new Cd.EventEmitter,y=()=>{e.cancelToken&&e.cancelToken.unsubscribe(T),e.signal&&e.signal.removeEventListener("abort",T),S.removeAllListeners()};n((g,v)=>{h=!0,v&&(b=!0,y())});function T(g){S.emit("abort",!g||g.type?new me(null,e,f):g)}S.once("abort",r),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(T),e.signal&&(e.signal.aborted?T():e.signal.addEventListener("abort",T)));let C=Ze(e.baseURL,e.url,e.allowAbsoluteUrls),k=new URL(C,B.hasBrowserEnv?B.origin:void 0),O=k.protocol||Od[0];if(O==="data:"){let g;if(m!=="GET")return Oe(s,r,{status:405,statusText:"method not allowed",headers:{},config:e});try{g=dn(e.url,c==="blob",{Blob:e.env&&e.env.Blob})}catch(v){throw w.from(v,w.ERR_BAD_REQUEST,e)}return c==="text"?(g=g.toString(u),(!u||u==="utf8")&&(g=p.stripBOM(g))):c==="stream"&&(g=st.default.Readable.from(g)),Oe(s,r,{data:g,status:200,statusText:"OK",headers:new X,config:e})}if(Od.indexOf(O)===-1)return r(new w("Unsupported protocol "+O,w.ERR_BAD_REQUEST,e));let R=X.from(e.headers).normalize();R.set("User-Agent","axios/"+tt,!1);let{onUploadProgress:V,onDownloadProgress:P}=e,F=e.maxRate,A,se;if(p.isSpecCompliantForm(a)){let g=R.getContentType(/boundary=([-_\w\d]{10,70})/i);a=bd(a,v=>{R.set(v)},{tag:`axios-${tt}-boundary`,boundary:g&&g[1]||void 0})}else if(p.isFormData(a)&&p.isFunction(a.getHeaders)){if(R.set(a.getHeaders()),!R.hasContentLength())try{let g=await Pd.default.promisify(a.getLength).call(a);Number.isFinite(g)&&g>=0&&R.setContentLength(g)}catch{}}else if(p.isBlob(a)||p.isFile(a))a.size&&R.setContentType(a.type||"application/octet-stream"),R.setContentLength(a.size||0),a=st.default.Readable.from(Yi(a));else if(a&&!p.isStream(a)){if(!Buffer.isBuffer(a))if(p.isArrayBuffer(a))a=Buffer.from(new Uint8Array(a));else if(p.isString(a))a=Buffer.from(a,"utf-8");else return r(new w("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",w.ERR_BAD_REQUEST,e));if(R.setContentLength(a.length,!1),e.maxBodyLength>-1&&a.length>e.maxBodyLength)return r(new w("Request body larger than maxBodyLength limit",w.ERR_BAD_REQUEST,e))}let si=p.toFiniteNumber(R.getContentLength());p.isArray(F)?(A=F[0],se=F[1]):A=se=F,a&&(V||A)&&(p.isStream(a)||(a=st.default.Readable.from(a,{objectMode:!1})),a=st.default.pipeline([a,new fn({maxRate:p.toFiniteNumber(A)})],p.noop),V&&a.on("progress",kd(a,gt(si,Le(yt(V),!1,3)))));let q;if(e.auth){let g=e.auth.username||"",v=e.auth.password||"";q=g+":"+v}if(!q&&k.username){let g=k.username,v=k.password;q=g+":"+v}q&&R.delete("authorization");let E;try{E=Xe(k.pathname+k.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(g){let v=new Error(g.message);return v.config=e,v.url=e.url,v.exists=!0,r(v)}R.set("Accept-Encoding","gzip, compress, deflate"+(Td?", br":""),!1);let x={path:E,method:m,headers:R.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:q,protocol:O,family:l,beforeRedirect:Lg,beforeRedirects:{}};!p.isUndefined(o)&&(x.lookup=o),e.socketPath?x.socketPath=e.socketPath:(x.hostname=k.hostname.startsWith("[")?k.hostname.slice(1,-1):k.hostname,x.port=k.port,Dd(x,e.proxy,O+"//"+k.hostname+(k.port?":"+k.port:"")+x.path));let j,_=Dg.test(x.protocol);if(x.agent=_?e.httpsAgent:e.httpAgent,e.transport?j=e.transport:e.maxRedirects===0?j=_?Ad.default:qd.default:(e.maxRedirects&&(x.maxRedirects=e.maxRedirects),e.beforeRedirect&&(x.beforeRedirects.config=e.beforeRedirect),j=_?Cg:$g),e.maxBodyLength>-1?x.maxBodyLength=e.maxBodyLength:x.maxBodyLength=1/0,e.insecureHTTPParser&&(x.insecureHTTPParser=e.insecureHTTPParser),f=j.request(x,function(v){if(f.destroyed)return;let $=[v],N=+v.headers["content-length"];if(P||se){let ee=new fn({maxRate:p.toFiniteNumber(se)});P&&ee.on("progress",kd(ee,gt(N,Le(yt(P),!0,3)))),$.push(ee)}let M=v,W=v.req||f;if(e.decompress!==!1&&v.headers["content-encoding"])switch((m==="HEAD"||v.statusCode===204)&&delete v.headers["content-encoding"],(v.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":$.push(Me.default.createUnzip(Ed)),delete v.headers["content-encoding"];break;case"deflate":$.push(new yd),$.push(Me.default.createUnzip(Ed)),delete v.headers["content-encoding"];break;case"br":Td&&($.push(Me.default.createBrotliDecompress(Pg)),delete v.headers["content-encoding"])}M=$.length>1?st.default.pipeline($,p.noop):$[0];let ae=st.default.finished(M,()=>{ae(),y()}),ne={status:v.statusCode,statusText:v.statusMessage,headers:new X(v.headers),config:e,request:W};if(c==="stream")ne.data=M,Oe(s,r,ne);else{let ee=[],Fe=0;M.on("data",function(U){ee.push(U),Fe+=U.length,e.maxContentLength>-1&&Fe>e.maxContentLength&&(b=!0,M.destroy(),r(new w("maxContentLength size of "+e.maxContentLength+" exceeded",w.ERR_BAD_RESPONSE,e,W)))}),M.on("aborted",function(){if(b)return;let U=new w("stream has been aborted",w.ERR_BAD_RESPONSE,e,W);M.destroy(U),r(U)}),M.on("error",function(U){f.destroyed||r(w.from(U,null,e,W))}),M.on("end",function(){try{let U=ee.length===1?ee[0]:Buffer.concat(ee);c!=="arraybuffer"&&(U=U.toString(u),(!u||u==="utf8")&&(U=p.stripBOM(U))),ne.data=U}catch(U){return r(w.from(U,null,e,ne.request,ne))}Oe(s,r,ne)})}S.once("abort",ee=>{M.destroyed||(M.emit("error",ee),M.destroy())})}),S.once("abort",g=>{r(g),f.destroy(g)}),f.on("error",function(v){r(w.from(v,null,e,f))}),f.on("socket",function(v){v.setKeepAlive(!0,1e3*60)}),e.timeout){let g=parseInt(e.timeout,10);if(Number.isNaN(g)){r(new w("error trying to parse `config.timeout` to int",w.ERR_BAD_OPTION_VALUE,e,f));return}f.setTimeout(g,function(){if(h)return;let $=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",N=e.transitional||ft;e.timeoutErrorMessage&&($=e.timeoutErrorMessage),r(new w($,N.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,e,f)),T()})}if(p.isStream(a)){let g=!1,v=!1;a.on("end",()=>{g=!0}),a.once("error",$=>{v=!0,f.destroy($)}),a.on("close",()=>{!g&&!v&&T(new me("Request stream has been aborted",e,f))}),a.pipe(f)}else f.end(a)})};var Md=B.hasStandardBrowserEnv?((t,e)=>i=>(i=new URL(i,B.origin),t.protocol===i.protocol&&t.host===i.host&&(e||t.port===i.port)))(new URL(B.origin),B.navigator&&/(msie|trident)/i.test(B.navigator.userAgent)):()=>!0;var Fd=B.hasStandardBrowserEnv?{write(t,e,i,s,r,n){let a=[t+"="+encodeURIComponent(e)];p.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),p.isString(s)&&a.push("path="+s),p.isString(r)&&a.push("domain="+r),n===!0&&a.push("secure"),document.cookie=a.join("; ")},read(t){let e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};var Id=t=>t instanceof X?{...t}:t;function ge(t,e){e=e||{};let i={};function s(c,u,m,h){return p.isPlainObject(c)&&p.isPlainObject(u)?p.merge.call({caseless:h},c,u):p.isPlainObject(u)?p.merge({},u):p.isArray(u)?u.slice():u}function r(c,u,m,h){if(p.isUndefined(u)){if(!p.isUndefined(c))return s(void 0,c,m,h)}else return s(c,u,m,h)}function n(c,u){if(!p.isUndefined(u))return s(void 0,u)}function a(c,u){if(p.isUndefined(u)){if(!p.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function o(c,u,m){if(m in e)return s(c,u);if(m in t)return s(void 0,c)}let l={url:n,method:n,data:n,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:o,headers:(c,u,m)=>r(Id(c),Id(u),m,!0)};return p.forEach(Object.keys(Object.assign({},t,e)),function(u){let m=l[u]||r,h=m(t[u],e[u],u);p.isUndefined(h)&&m!==o||(i[u]=h)}),i}var Wi=t=>{let e=ge({},t),{data:i,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:n,headers:a,auth:o}=e;e.headers=a=X.from(a),e.url=Xe(Ze(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),o&&a.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let l;if(p.isFormData(i)){if(B.hasStandardBrowserEnv||B.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){let[c,...u]=l?l.split(";").map(m=>m.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(B.hasStandardBrowserEnv&&(s&&p.isFunction(s)&&(s=s(e)),s||s!==!1&&Md(e.url))){let c=r&&n&&Fd.read(n);c&&a.set(r,c)}return e};var Bg=typeof XMLHttpRequest<"u",Bd=Bg&&function(t){return new Promise(function(i,s){let r=Wi(t),n=r.data,a=X.from(r.headers).normalize(),{responseType:o,onUploadProgress:l,onDownloadProgress:c}=r,u,m,h,b,f;function S(){b&&b(),f&&f(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function T(){if(!y)return;let k=X.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),R={data:!o||o==="text"||o==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:k,config:t,request:y};Oe(function(P){i(P),S()},function(P){s(P),S()},R),y=null}"onloadend"in y?y.onloadend=T:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(T)},y.onabort=function(){y&&(s(new w("Request aborted",w.ECONNABORTED,t,y)),y=null)},y.onerror=function(){s(new w("Network Error",w.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let O=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded",R=r.transitional||ft;r.timeoutErrorMessage&&(O=r.timeoutErrorMessage),s(new w(O,R.clarifyTimeoutError?w.ETIMEDOUT:w.ECONNABORTED,t,y)),y=null},n===void 0&&a.setContentType(null),"setRequestHeader"in y&&p.forEach(a.toJSON(),function(O,R){y.setRequestHeader(R,O)}),p.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),o&&o!=="json"&&(y.responseType=r.responseType),c&&([h,f]=Le(c,!0),y.addEventListener("progress",h)),l&&y.upload&&([m,b]=Le(l),y.upload.addEventListener("progress",m),y.upload.addEventListener("loadend",b)),(r.cancelToken||r.signal)&&(u=k=>{y&&(s(!k||k.type?new me(null,t,y):k),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));let C=Xt(r.url);if(C&&B.protocols.indexOf(C)===-1){s(new w("Unsupported protocol "+C+":",w.ERR_BAD_REQUEST,t));return}y.send(n||null)})};var Ug=(t,e)=>{let{length:i}=t=t?t.filter(Boolean):[];if(e||i){let s=new AbortController,r,n=function(c){if(!r){r=!0,o();let u=c instanceof Error?c:this.reason;s.abort(u instanceof w?u:new me(u instanceof Error?u.message:u))}},a=e&&setTimeout(()=>{a=null,n(new w(`timeout ${e} of ms exceeded`,w.ETIMEDOUT))},e),o=()=>{t&&(a&&clearTimeout(a),a=null,t.forEach(c=>{c.unsubscribe?c.unsubscribe(n):c.removeEventListener("abort",n)}),t=null)};t.forEach(c=>c.addEventListener("abort",n));let{signal:l}=s;return l.unsubscribe=()=>p.asap(o),l}},Ud=Ug;var Ng=function*(t,e){let i=t.byteLength;if(!e||i<e){yield t;return}let s=0,r;for(;s<i;)r=s+e,yield t.slice(s,r),s=r},zg=async function*(t,e){for await(let i of Hg(t))yield*Ng(i,e)},Hg=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:i,value:s}=await e.read();if(i)break;yield s}}finally{await e.cancel()}},bn=(t,e,i,s)=>{let r=zg(t,e),n=0,a,o=l=>{a||(a=!0,s&&s(l))};return new ReadableStream({async pull(l){try{let{done:c,value:u}=await r.next();if(c){o(),l.close();return}let m=u.byteLength;if(i){let h=n+=m;i(h)}l.enqueue(new Uint8Array(u))}catch(c){throw o(c),c}},cancel(l){return o(l),r.return()}},{highWaterMark:2})};var Ji=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",zd=Ji&&typeof ReadableStream=="function",Vg=Ji&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Hd=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Yg=zd&&Hd(()=>{let t=!1,e=new Request(B.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Nd=64*1024,gn=zd&&Hd(()=>p.isReadableStream(new Response("").body)),Gi={stream:gn&&(t=>t.body)};Ji&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Gi[e]&&(Gi[e]=p.isFunction(t[e])?i=>i[e]():(i,s)=>{throw new w(`Response type '${e}' is not supported`,w.ERR_NOT_SUPPORT,s)})})})(new Response);var Wg=async t=>{if(t==null)return 0;if(p.isBlob(t))return t.size;if(p.isSpecCompliantForm(t))return(await new Request(B.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(p.isArrayBufferView(t)||p.isArrayBuffer(t))return t.byteLength;if(p.isURLSearchParams(t)&&(t=t+""),p.isString(t))return(await Vg(t)).byteLength},Gg=async(t,e)=>{let i=p.toFiniteNumber(t.getContentLength());return i??Wg(e)},Vd=Ji&&(async t=>{let{url:e,method:i,data:s,signal:r,cancelToken:n,timeout:a,onDownloadProgress:o,onUploadProgress:l,responseType:c,headers:u,withCredentials:m="same-origin",fetchOptions:h}=Wi(t);c=c?(c+"").toLowerCase():"text";let b=Ud([r,n&&n.toAbortSignal()],a),f,S=b&&b.unsubscribe&&(()=>{b.unsubscribe()}),y;try{if(l&&Yg&&i!=="get"&&i!=="head"&&(y=await Gg(u,s))!==0){let R=new Request(e,{method:"POST",body:s,duplex:"half"}),V;if(p.isFormData(s)&&(V=R.headers.get("content-type"))&&u.setContentType(V),R.body){let[P,F]=gt(y,Le(yt(l)));s=bn(R.body,Nd,P,F)}}p.isString(m)||(m=m?"include":"omit");let T="credentials"in Request.prototype;f=new Request(e,{...h,signal:b,method:i.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:T?m:void 0});let C=await fetch(f),k=gn&&(c==="stream"||c==="response");if(gn&&(o||k&&S)){let R={};["status","statusText","headers"].forEach(A=>{R[A]=C[A]});let V=p.toFiniteNumber(C.headers.get("content-length")),[P,F]=o&&gt(V,Le(yt(o),!0))||[];C=new Response(bn(C.body,Nd,P,()=>{F&&F(),S&&S()}),R)}c=c||"text";let O=await Gi[p.findKey(Gi,c)||"text"](C,t);return!k&&S&&S(),await new Promise((R,V)=>{Oe(R,V,{data:O,headers:X.from(C.headers),status:C.status,statusText:C.statusText,config:t,request:f})})}catch(T){throw S&&S(),T&&T.name==="TypeError"&&/Load failed|fetch/i.test(T.message)?Object.assign(new w("Network Error",w.ERR_NETWORK,t,f),{cause:T.cause||T}):w.from(T,T&&T.code,t,f)}});var yn={http:Ld,xhr:Bd,fetch:Vd};p.forEach(yn,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Yd=t=>`- ${t}`,Jg=t=>p.isFunction(t)||t===null||t===!1,Ki={getAdapter:t=>{t=p.isArray(t)?t:[t];let{length:e}=t,i,s,r={};for(let n=0;n<e;n++){i=t[n];let a;if(s=i,!Jg(i)&&(s=yn[(a=String(i)).toLowerCase()],s===void 0))throw new w(`Unknown adapter '${a}'`);if(s)break;r[a||"#"+n]=s}if(!s){let n=Object.entries(r).map(([o,l])=>`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build")),a=e?n.length>1?`since :
105
+ `+n.map(Yd).join(`
106
+ `):" "+Yd(n[0]):"as no adapter specified";throw new w("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:yn};function wn(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new me(null,t)}function Xi(t){return wn(t),t.headers=X.from(t.headers),t.data=Vt.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Ki.getAdapter(t.adapter||xt.adapter)(t).then(function(s){return wn(t),s.data=Vt.call(t,t.transformResponse,s),s.headers=X.from(s.headers),s},function(s){return Yt(s)||(wn(t),s&&s.response&&(s.response.data=Vt.call(t,t.transformResponse,s.response),s.response.headers=X.from(s.response.headers))),Promise.reject(s)})}var Zi={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Zi[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});var Wd={};Zi.transitional=function(e,i,s){function r(n,a){return"[Axios v"+tt+"] Transitional option '"+n+"'"+a+(s?". "+s:"")}return(n,a,o)=>{if(e===!1)throw new w(r(a," has been removed"+(i?" in "+i:"")),w.ERR_DEPRECATED);return i&&!Wd[a]&&(Wd[a]=!0,console.warn(r(a," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(n,a,o):!0}};Zi.spelling=function(e){return(i,s)=>(console.warn(`${s} is likely a misspelling of ${e}`),!0)};function Kg(t,e,i){if(typeof t!="object")throw new w("options must be an object",w.ERR_BAD_OPTION_VALUE);let s=Object.keys(t),r=s.length;for(;r-- >0;){let n=s[r],a=e[n];if(a){let o=t[n],l=o===void 0||a(o,n,t);if(l!==!0)throw new w("option "+n+" must be "+l,w.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new w("Unknown option "+n,w.ERR_BAD_OPTION)}}var Qt={assertOptions:Kg,validators:Zi};var ke=Qt.validators,wt=class{constructor(e){this.defaults=e||{},this.interceptors={request:new zr,response:new zr}}async request(e,i){try{return await this._request(e,i)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;let n=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?n&&!String(s.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(s.stack+=`
107
+ `+n):s.stack=n}catch{}}throw s}}_request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=ge(this.defaults,i);let{transitional:s,paramsSerializer:r,headers:n}=i;s!==void 0&&Qt.assertOptions(s,{silentJSONParsing:ke.transitional(ke.boolean),forcedJSONParsing:ke.transitional(ke.boolean),clarifyTimeoutError:ke.transitional(ke.boolean)},!1),r!=null&&(p.isFunction(r)?i.paramsSerializer={serialize:r}:Qt.assertOptions(r,{encode:ke.function,serialize:ke.function},!0)),i.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?i.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:i.allowAbsoluteUrls=!0),Qt.assertOptions(i,{baseUrl:ke.spelling("baseURL"),withXsrfToken:ke.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=n&&p.merge(n.common,n[i.method]);n&&p.forEach(["delete","get","head","post","put","patch","common"],f=>{delete n[f]}),i.headers=X.concat(a,n);let o=[],l=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(i)===!1||(l=l&&S.synchronous,o.unshift(S.fulfilled,S.rejected))});let c=[];this.interceptors.response.forEach(function(S){c.push(S.fulfilled,S.rejected)});let u,m=0,h;if(!l){let f=[Xi.bind(this),void 0];for(f.unshift.apply(f,o),f.push.apply(f,c),h=f.length,u=Promise.resolve(i);m<h;)u=u.then(f[m++],f[m++]);return u}h=o.length;let b=i;for(m=0;m<h;){let f=o[m++],S=o[m++];try{b=f(b)}catch(y){S.call(this,y);break}}try{u=Xi.call(this,b)}catch(f){return Promise.reject(f)}for(m=0,h=c.length;m<h;)u=u.then(c[m++],c[m++]);return u}getUri(e){e=ge(this.defaults,e);let i=Ze(e.baseURL,e.url,e.allowAbsoluteUrls);return Xe(i,e.params,e.paramsSerializer)}};p.forEach(["delete","get","head","options"],function(e){wt.prototype[e]=function(i,s){return this.request(ge(s||{},{method:e,url:i,data:(s||{}).data}))}});p.forEach(["post","put","patch"],function(e){function i(s){return function(n,a,o){return this.request(ge(o||{},{method:e,headers:s?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))}}wt.prototype[e]=i(),wt.prototype[e+"Form"]=i(!0)});var ei=wt;var Sn=class t{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(n){i=n});let s=this;this.promise.then(r=>{if(!s._listeners)return;let n=s._listeners.length;for(;n-- >0;)s._listeners[n](r);s._listeners=null}),this.promise.then=r=>{let n,a=new Promise(o=>{s.subscribe(o),n=o}).then(r);return a.cancel=function(){s.unsubscribe(n)},a},e(function(n,a,o){s.reason||(s.reason=new me(n,a,o),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){let e=new AbortController,i=s=>{e.abort(s)};return this.subscribe(i),e.signal.unsubscribe=()=>this.unsubscribe(i),e.signal}static source(){let e;return{token:new t(function(r){e=r}),cancel:e}}},Gd=Sn;function _n(t){return function(i){return t.apply(null,i)}}function En(t){return p.isObject(t)&&t.isAxiosError===!0}var Tn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Tn).forEach(([t,e])=>{Tn[e]=t});var Jd=Tn;function Kd(t){let e=new ei(t),i=Mt(ei.prototype.request,e);return p.extend(i,ei.prototype,e,{allOwnKeys:!0}),p.extend(i,e,null,{allOwnKeys:!0}),i.create=function(r){return Kd(ge(t,r))},i}var ie=Kd(xt);ie.Axios=ei;ie.CanceledError=me;ie.CancelToken=Gd;ie.isCancel=Yt;ie.VERSION=tt;ie.toFormData=He;ie.AxiosError=w;ie.Cancel=ie.CanceledError;ie.all=function(e){return Promise.all(e)};ie.spread=_n;ie.isAxiosError=En;ie.mergeConfig=ge;ie.AxiosHeaders=X;ie.formToJSON=t=>Hi(p.isHTMLForm(t)?new FormData(t):t);ie.getAdapter=Ki.getAdapter;ie.HttpStatusCode=Jd;ie.default=ie;var ti=ie;var{Axios:rT,AxiosError:nT,CanceledError:aT,isCancel:oT,CancelToken:cT,VERSION:lT,all:pT,Cancel:uT,isAxiosError:dT,spread:mT,toFormData:hT,AxiosHeaders:fT,HttpStatusCode:xT,formToJSON:vT,getAdapter:bT,mergeConfig:gT}=ti;var Zd=H(Xd(),1);async function Qd(t){console.log("template: ",t);let e=await Xg();ti.post("https://ukw0y1.laf.run/create-unibest/beacon",{template:t,unibestVersion:e,createUnibestVersion:bl.version,time:(0,Zd.default)().format("YYYY-MM-DD HH:mm:ss"),nodeVersion:process.version,os:process.platform,cpuArch:process.arch})}async function Xg(){try{let t="https://raw.githubusercontent.com/feige996/unibest/main/package.json";return(await ti.get(t)).data.version}catch{return null}}var ii;async function Zg(){gl();let t=(0,tm.default)(St.default.argv.slice(2),{alias:{templateType:["t"]},string:["_"]}),e=t._[0],i={};if(e){let m=ji.find(b=>b.value.type===t?.t)?.value;!m&&t?.templateType&&(console.log(`${Q(Qi.default.cross)} ${te(`\u672A\u83B7\u53D6\u5230${t?.templateType}\u6A21\u677F`)}`),St.default.exit(1));let h=async()=>{let b=()=>{throw new Error(`${Q(Qi.default.cross)} ${te("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`)},f=ki(e);try{return(await(0,im.default)(f,{onCancel:b})).shouldOverwrite}catch{console.log(`${Q(Qi.default.cross)} ${te("\u64CD\u4F5C\u5DF2\u53D6\u6D88")}`),St.default.exit(1)}};i={projectName:e,shouldOverwrite:Si(e)?!0:await h(),templateType:m||{type:"base",branch:"base",url:{gitee:"https://gitee.com/feige996/unibest.git",github:"https://github.com/feige996/unibest.git"}}}}else try{i=await kl()}catch(m){console.log(m.message),St.default.exit(1)}ii=Oi(`${te("\u6B63\u5728\u521B\u5EFA\u6A21\u677F...")}`).start();let s=St.default.cwd(),r=(0,em.join)(s,i.projectName),n=Oi("tip2").start(),a=Oi("tip4").start();n.succeed(`${te(`
108
+ unibest\u5B98\u65B9\u6587\u6863\uFF1Ahttps://unibest.tech`)}`),a.succeed(`${te(`
109
+ \u5E38\u89C1\u95EE\u9898\u7ECF\u5E38\u88AB\u63D0\u53CA\uFF0C\u81EA\u52A8\u4E3A\u60A8\u6253\u5F00\u8BE5\u6587\u6863\uFF01
110
+ `)}`),Rl("https://unibest.tech/base/14-faq");let o="pnpm";function l(m){(0,je.existsSync)(m)&&fr(m,h=>(0,je.rmdirSync)(h),h=>(0,je.unlinkSync)(h))}if((0,je.existsSync)(r)&&i.shouldOverwrite?l(r):(0,je.existsSync)(r)||(0,je.mkdirSync)(r),i.templateType.type!=="custom"){let{templateType:m,projectName:h}=i;Qd(m?.branch||"base"),await fl(m,h,r,ii),vr(r,s,o,ii,i.templateType.type);return}let c=[],u={};for(let m of c)await m(u);Ei(r,i.projectName),vr(r,s,o,ii)}Zg().catch(t=>{ii.fail(`${te("\u6A21\u677F\u521B\u5EFA\u5931\u8D25\uFF01")}`),console.error(t)});
111
+ /*! Bundled license information:
112
+
113
+ mime-db/index.js:
114
+ (*!
115
+ * mime-db
116
+ * Copyright(c) 2014 Jonathan Ong
117
+ * Copyright(c) 2015-2022 Douglas Christopher Wilson
118
+ * MIT Licensed
119
+ *)
120
+
121
+ mime-types/index.js:
122
+ (*!
123
+ * mime-types
124
+ * Copyright(c) 2014 Jonathan Ong
125
+ * Copyright(c) 2015 Douglas Christopher Wilson
126
+ * MIT Licensed
127
+ *)
128
+ */