gitlab-ci-local 4.65.1 → 4.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,331 @@
1
+ #!/usr/bin/env node
2
+ import{createRequire as wP}from"node:module";var xP=Object.create;var{getPrototypeOf:HP,defineProperty:$8,getOwnPropertyNames:eZ,getOwnPropertyDescriptor:VP}=Object,uq=Object.prototype.hasOwnProperty;var E0=(u,D,F)=>{F=u!=null?xP(HP(u)):{};let $=D||!u||!u.__esModule?$8(F,"default",{value:u,enumerable:!0}):F;for(let B of eZ(u))if(!uq.call($,B))$8($,B,{get:()=>u[B],enumerable:!0});return $},tZ=new WeakMap,LP=(u)=>{var D=tZ.get(u),F;if(D)return D;if(D=$8({},"__esModule",{value:!0}),u&&typeof u==="object"||typeof u==="function")eZ(u).map(($)=>!uq.call(D,$)&&$8(D,$,{get:()=>u[$],enumerable:!(F=VP(u,$))||F.enumerable}));return tZ.set(u,D),D},H=(u,D)=>()=>(D||u((D={exports:{}}).exports,D),D.exports);var Y3=(u,D)=>{for(var F in D)$8(u,F,{get:D[F],enumerable:!0,configurable:!0,set:($)=>D[F]=()=>$})};var MP=(u,D)=>()=>(u&&(D=u(u=0)),D);var o=wP(import.meta.url);var jq=H((u50,Nq)=>{Nq.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var tq=H((m50,rq)=>{rq.exports=function(D){if(D===void 0)D=2;if(D>=Error.stackTraceLimit)throw TypeError("getCallerFile(position) requires position be less then Error.stackTraceLimit but position was: `"+D+"` and Error.stackTraceLimit was: `"+Error.stackTraceLimit+"`");var F=Error.prepareStackTrace;Error.prepareStackTrace=function(B,z){return z};var $=Error().stack;if(Error.prepareStackTrace=F,$!==null&&typeof $==="object")return $[D]?$[D].getFileName():void 0}});var Y8=H((B$0,lX)=>{/*!
3
+ * @description Recursive object extending
4
+ * @author Viacheslav Lotsmanov <lotsmanov89@gmail.com>
5
+ * @license MIT
6
+ *
7
+ * The MIT License (MIT)
8
+ *
9
+ * Copyright (c) 2013-2018 Viacheslav Lotsmanov
10
+ *
11
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
12
+ * this software and associated documentation files (the "Software"), to deal in
13
+ * the Software without restriction, including without limitation the rights to
14
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
15
+ * the Software, and to permit persons to whom the Software is furnished to do so,
16
+ * subject to the following conditions:
17
+ *
18
+ * The above copyright notice and this permission notice shall be included in all
19
+ * copies or substantial portions of the Software.
20
+ *
21
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
23
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
24
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
25
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
26
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
27
+ */function mX(u){return u instanceof Buffer||u instanceof Date||u instanceof RegExp?!0:!1}function nX(u){if(u instanceof Buffer){var D=Buffer.alloc?Buffer.alloc(u.length):new Buffer(u.length);return u.copy(D),D}else if(u instanceof Date)return new Date(u.getTime());else if(u instanceof RegExp)return new RegExp(u);else throw Error("Unexpected situation")}function pX(u){var D=[];return u.forEach(function(F,$){if(typeof F==="object"&&F!==null)if(Array.isArray(F))D[$]=pX(F);else if(mX(F))D[$]=nX(F);else D[$]=h3({},F);else D[$]=F}),D}function hX(u,D){return D==="__proto__"?void 0:u[D]}var h3=lX.exports=function(){if(arguments.length<1||typeof arguments[0]!=="object")return!1;if(arguments.length<2)return arguments[0];var u=arguments[0],D=Array.prototype.slice.call(arguments,1),F,$,B;return D.forEach(function(z){if(typeof z!=="object"||z===null||Array.isArray(z))return;Object.keys(z).forEach(function(Z){if($=hX(u,Z),F=hX(z,Z),F===u)return;else if(typeof F!=="object"||F===null){u[Z]=F;return}else if(Array.isArray(F)){u[Z]=pX(F);return}else if(mX(F)){u[Z]=nX(F);return}else if(typeof $!=="object"||$===null||Array.isArray($)){u[Z]=h3({},F);return}else{u[Z]=h3($,F);return}})}),u}});var Lu=H((u_)=>{u_.fromCallback=function(u){return Object.defineProperty(function(...D){if(typeof D[D.length-1]==="function")u.apply(this,D);else return new Promise((F,$)=>{D.push((B,z)=>B!=null?$(B):F(z)),u.apply(this,D)})},"name",{value:u.name})};u_.fromPromise=function(u){return Object.defineProperty(function(...D){let F=D[D.length-1];if(typeof F!=="function")return u.apply(this,D);else D.pop(),u.apply(this,D).then(($)=>F(null,$),F)},"name",{value:u.name})}});var gX=H((Z$0,dX)=>{var E1=o("constants"),$_=process.cwd,O7=null,B_=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!O7)O7=$_.call(process);return O7};try{process.cwd()}catch(u){}if(typeof process.chdir==="function"){if(A7=process.chdir,process.chdir=function(u){O7=null,A7.call(process,u)},Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,A7)}var A7;dX.exports=z_;function z_(u){if(E1.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./))D(u);if(!u.lutimes)F(u);if(u.chown=z(u.chown),u.fchown=z(u.fchown),u.lchown=z(u.lchown),u.chmod=$(u.chmod),u.fchmod=$(u.fchmod),u.lchmod=$(u.lchmod),u.chownSync=Z(u.chownSync),u.fchownSync=Z(u.fchownSync),u.lchownSync=Z(u.lchownSync),u.chmodSync=B(u.chmodSync),u.fchmodSync=B(u.fchmodSync),u.lchmodSync=B(u.lchmodSync),u.stat=q(u.stat),u.fstat=q(u.fstat),u.lstat=q(u.lstat),u.statSync=X(u.statSync),u.fstatSync=X(u.fstatSync),u.lstatSync=X(u.lstatSync),u.chmod&&!u.lchmod)u.lchmod=function(Y,W,J){if(J)process.nextTick(J)},u.lchmodSync=function(){};if(u.chown&&!u.lchown)u.lchown=function(Y,W,J,G){if(G)process.nextTick(G)},u.lchownSync=function(){};if(B_==="win32")u.rename=typeof u.rename!=="function"?u.rename:function(Y){function W(J,G,f){var K=Date.now(),x=0;Y(J,G,function M(L){if(L&&(L.code==="EACCES"||L.code==="EPERM"||L.code==="EBUSY")&&Date.now()-K<60000){if(setTimeout(function(){u.stat(G,function(j,U){if(j&&j.code==="ENOENT")Y(J,G,M);else f(L)})},x),x<100)x+=10;return}if(f)f(L)})}if(Object.setPrototypeOf)Object.setPrototypeOf(W,Y);return W}(u.rename);u.read=typeof u.read!=="function"?u.read:function(Y){function W(J,G,f,K,x,M){var L;if(M&&typeof M==="function"){var j=0;L=function(U,I,S){if(U&&U.code==="EAGAIN"&&j<10)return j++,Y.call(u,J,G,f,K,x,L);M.apply(this,arguments)}}return Y.call(u,J,G,f,K,x,L)}if(Object.setPrototypeOf)Object.setPrototypeOf(W,Y);return W}(u.read),u.readSync=typeof u.readSync!=="function"?u.readSync:function(Y){return function(W,J,G,f,K){var x=0;while(!0)try{return Y.call(u,W,J,G,f,K)}catch(M){if(M.code==="EAGAIN"&&x<10){x++;continue}throw M}}}(u.readSync);function D(Y){Y.lchmod=function(W,J,G){Y.open(W,E1.O_WRONLY|E1.O_SYMLINK,J,function(f,K){if(f){if(G)G(f);return}Y.fchmod(K,J,function(x){Y.close(K,function(M){if(G)G(x||M)})})})},Y.lchmodSync=function(W,J){var G=Y.openSync(W,E1.O_WRONLY|E1.O_SYMLINK,J),f=!0,K;try{K=Y.fchmodSync(G,J),f=!1}finally{if(f)try{Y.closeSync(G)}catch(x){}else Y.closeSync(G)}return K}}function F(Y){if(E1.hasOwnProperty("O_SYMLINK")&&Y.futimes)Y.lutimes=function(W,J,G,f){Y.open(W,E1.O_SYMLINK,function(K,x){if(K){if(f)f(K);return}Y.futimes(x,J,G,function(M){Y.close(x,function(L){if(f)f(M||L)})})})},Y.lutimesSync=function(W,J,G){var f=Y.openSync(W,E1.O_SYMLINK),K,x=!0;try{K=Y.futimesSync(f,J,G),x=!1}finally{if(x)try{Y.closeSync(f)}catch(M){}else Y.closeSync(f)}return K};else if(Y.futimes)Y.lutimes=function(W,J,G,f){if(f)process.nextTick(f)},Y.lutimesSync=function(){}}function $(Y){if(!Y)return Y;return function(W,J,G){return Y.call(u,W,J,function(f){if(Q(f))f=null;if(G)G.apply(this,arguments)})}}function B(Y){if(!Y)return Y;return function(W,J){try{return Y.call(u,W,J)}catch(G){if(!Q(G))throw G}}}function z(Y){if(!Y)return Y;return function(W,J,G,f){return Y.call(u,W,J,G,function(K){if(Q(K))K=null;if(f)f.apply(this,arguments)})}}function Z(Y){if(!Y)return Y;return function(W,J,G){try{return Y.call(u,W,J,G)}catch(f){if(!Q(f))throw f}}}function q(Y){if(!Y)return Y;return function(W,J,G){if(typeof J==="function")G=J,J=null;function f(K,x){if(x){if(x.uid<0)x.uid+=4294967296;if(x.gid<0)x.gid+=4294967296}if(G)G.apply(this,arguments)}return J?Y.call(u,W,J,f):Y.call(u,W,f)}}function X(Y){if(!Y)return Y;return function(W,J){var G=J?Y.call(u,W,J):Y.call(u,W);if(G){if(G.uid<0)G.uid+=4294967296;if(G.gid<0)G.gid+=4294967296}return G}}function Q(Y){if(!Y)return!0;if(Y.code==="ENOSYS")return!0;var W=!process.getuid||process.getuid()!==0;if(W){if(Y.code==="EINVAL"||Y.code==="EPERM")return!0}return!1}}});var aX=H((q$0,sX)=>{var oX=o("stream").Stream;sX.exports=Z_;function Z_(u){return{ReadStream:D,WriteStream:F};function D($,B){if(!(this instanceof D))return new D($,B);oX.call(this);var z=this;this.path=$,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,B=B||{};var Z=Object.keys(B);for(var q=0,X=Z.length;q<X;q++){var Q=Z[q];this[Q]=B[Q]}if(this.encoding)this.setEncoding(this.encoding);if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!=="number")throw TypeError("end must be a Number");if(this.start>this.end)throw Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){z._read()});return}u.open(this.path,this.flags,this.mode,function(Y,W){if(Y){z.emit("error",Y),z.readable=!1;return}z.fd=W,z.emit("open",W),z._read()})}function F($,B){if(!(this instanceof F))return new F($,B);oX.call(this),this.path=$,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,B=B||{};var z=Object.keys(B);for(var Z=0,q=z.length;Z<q;Z++){var X=z[Z];this[X]=B[X]}if(this.start!==void 0){if(typeof this.start!=="number")throw TypeError("start must be a Number");if(this.start<0)throw Error("start must be >= zero");this.pos=this.start}if(this.busy=!1,this._queue=[],this.fd===null)this._open=u.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush()}}});var tX=H((X$0,rX)=>{rX.exports=X_;var q_=Object.getPrototypeOf||function(u){return u.__proto__};function X_(u){if(u===null||typeof u!=="object")return u;if(u instanceof Object)var D={__proto__:q_(u)};else var D=Object.create(null);return Object.getOwnPropertyNames(u).forEach(function(F){Object.defineProperty(D,F,Object.getOwnPropertyDescriptor(u,F))}),D}});var u6=H((Q$0,l3)=>{var uu=o("fs"),Q_=gX(),Y_=aX(),W_=tX(),N7=o("util"),iu,I7;if(typeof Symbol==="function"&&typeof Symbol.for==="function")iu=Symbol.for("graceful-fs.queue"),I7=Symbol.for("graceful-fs.previous");else iu="___graceful-fs.queue",I7="___graceful-fs.previous";function J_(){}function uQ(u,D){Object.defineProperty(u,iu,{get:function(){return D}})}var HF=J_;if(N7.debuglog)HF=N7.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))HF=function(){var u=N7.format.apply(N7,arguments);u="GFS4: "+u.split(/\n/).join(`
28
+ GFS4: `),console.error(u)};if(!uu[iu]){if(m3=global[iu]||[],uQ(uu,m3),uu.close=function(u){function D(F,$){return u.call(uu,F,function(B){if(!B)eX();if(typeof $==="function")$.apply(this,arguments)})}return Object.defineProperty(D,I7,{value:u}),D}(uu.close),uu.closeSync=function(u){function D(F){u.apply(uu,arguments),eX()}return Object.defineProperty(D,I7,{value:u}),D}(uu.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))process.on("exit",function(){HF(uu[iu]),o("assert").equal(uu[iu].length,0)})}var m3;if(!global[iu])uQ(global,uu[iu]);l3.exports=n3(W_(uu));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!uu.__patched)l3.exports=n3(uu),uu.__patched=!0;function n3(u){Q_(u),u.gracefulify=n3,u.createReadStream=I,u.createWriteStream=S;var D=u.readFile;u.readFile=F;function F(h,F0,O){if(typeof F0==="function")O=F0,F0=null;return c(h,F0,O);function c(n,a,C,P){return D(n,a,function(g){if(g&&(g.code==="EMFILE"||g.code==="ENFILE"))eF([c,[n,a,C],g,P||Date.now(),Date.now()]);else if(typeof C==="function")C.apply(this,arguments)})}}var $=u.writeFile;u.writeFile=B;function B(h,F0,O,c){if(typeof O==="function")c=O,O=null;return n(h,F0,O,c);function n(a,C,P,g,r){return $(a,C,P,function(V0){if(V0&&(V0.code==="EMFILE"||V0.code==="ENFILE"))eF([n,[a,C,P,g],V0,r||Date.now(),Date.now()]);else if(typeof g==="function")g.apply(this,arguments)})}}var z=u.appendFile;if(z)u.appendFile=Z;function Z(h,F0,O,c){if(typeof O==="function")c=O,O=null;return n(h,F0,O,c);function n(a,C,P,g,r){return z(a,C,P,function(V0){if(V0&&(V0.code==="EMFILE"||V0.code==="ENFILE"))eF([n,[a,C,P,g],V0,r||Date.now(),Date.now()]);else if(typeof g==="function")g.apply(this,arguments)})}}var q=u.copyFile;if(q)u.copyFile=X;function X(h,F0,O,c){if(typeof O==="function")c=O,O=0;return n(h,F0,O,c);function n(a,C,P,g,r){return q(a,C,P,function(V0){if(V0&&(V0.code==="EMFILE"||V0.code==="ENFILE"))eF([n,[a,C,P,g],V0,r||Date.now(),Date.now()]);else if(typeof g==="function")g.apply(this,arguments)})}}var Q=u.readdir;u.readdir=W;var Y=/^v[0-5]\./;function W(h,F0,O){if(typeof F0==="function")O=F0,F0=null;var c=Y.test(process.version)?function(C,P,g,r){return Q(C,n(C,P,g,r))}:function(C,P,g,r){return Q(C,P,n(C,P,g,r))};return c(h,F0,O);function n(a,C,P,g){return function(r,V0){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))eF([c,[a,C,P],r,g||Date.now(),Date.now()]);else{if(V0&&V0.sort)V0.sort();if(typeof P==="function")P.call(this,r,V0)}}}}if(process.version.substr(0,4)==="v0.8"){var J=Y_(u);M=J.ReadStream,j=J.WriteStream}var G=u.ReadStream;if(G)M.prototype=Object.create(G.prototype),M.prototype.open=L;var f=u.WriteStream;if(f)j.prototype=Object.create(f.prototype),j.prototype.open=U;Object.defineProperty(u,"ReadStream",{get:function(){return M},set:function(h){M=h},enumerable:!0,configurable:!0}),Object.defineProperty(u,"WriteStream",{get:function(){return j},set:function(h){j=h},enumerable:!0,configurable:!0});var K=M;Object.defineProperty(u,"FileReadStream",{get:function(){return K},set:function(h){K=h},enumerable:!0,configurable:!0});var x=j;Object.defineProperty(u,"FileWriteStream",{get:function(){return x},set:function(h){x=h},enumerable:!0,configurable:!0});function M(h,F0){if(this instanceof M)return G.apply(this,arguments),this;else return M.apply(Object.create(M.prototype),arguments)}function L(){var h=this;R(h.path,h.flags,h.mode,function(F0,O){if(F0){if(h.autoClose)h.destroy();h.emit("error",F0)}else h.fd=O,h.emit("open",O),h.read()})}function j(h,F0){if(this instanceof j)return f.apply(this,arguments),this;else return j.apply(Object.create(j.prototype),arguments)}function U(){var h=this;R(h.path,h.flags,h.mode,function(F0,O){if(F0)h.destroy(),h.emit("error",F0);else h.fd=O,h.emit("open",O)})}function I(h,F0){return new u.ReadStream(h,F0)}function S(h,F0){return new u.WriteStream(h,F0)}var k=u.open;u.open=R;function R(h,F0,O,c){if(typeof O==="function")c=O,O=null;return n(h,F0,O,c);function n(a,C,P,g,r){return k(a,C,P,function(V0,t){if(V0&&(V0.code==="EMFILE"||V0.code==="ENFILE"))eF([n,[a,C,P,g],V0,r||Date.now(),Date.now()]);else if(typeof g==="function")g.apply(this,arguments)})}}return u}function eF(u){HF("ENQUEUE",u[0].name,u[1]),uu[iu].push(u),p3()}var j7;function eX(){var u=Date.now();for(var D=0;D<uu[iu].length;++D)if(uu[iu][D].length>2)uu[iu][D][3]=u,uu[iu][D][4]=u;p3()}function p3(){if(clearTimeout(j7),j7=void 0,uu[iu].length===0)return;var u=uu[iu].shift(),D=u[0],F=u[1],$=u[2],B=u[3],z=u[4];if(B===void 0)HF("RETRY",D.name,F),D.apply(null,F);else if(Date.now()-B>=60000){HF("TIMEOUT",D.name,F);var Z=F.pop();if(typeof Z==="function")Z.call(null,$)}else{var q=Date.now()-z,X=Math.max(z-B,1),Q=Math.min(X*1.2,100);if(q>=Q)HF("RETRY",D.name,F),D.apply(null,F.concat([B]));else uu[iu].push(u)}if(j7===void 0)j7=setTimeout(p3,0)}});var Su=H((d3)=>{var DQ=Lu().fromCallback,Uu=u6(),G_=["access","appendFile","chmod","chown","close","copyFile","cp","fchmod","fchown","fdatasync","fstat","fsync","ftruncate","futimes","glob","lchmod","lchown","lutimes","link","lstat","mkdir","mkdtemp","open","opendir","readdir","readFile","readlink","realpath","rename","rm","rmdir","stat","statfs","symlink","truncate","unlink","utimes","writeFile"].filter((u)=>{return typeof Uu[u]==="function"});Object.assign(d3,Uu);G_.forEach((u)=>{d3[u]=DQ(Uu[u])});d3.exists=function(u,D){if(typeof D==="function")return Uu.exists(u,D);return new Promise((F)=>{return Uu.exists(u,F)})};d3.read=function(u,D,F,$,B,z){if(typeof z==="function")return Uu.read(u,D,F,$,B,z);return new Promise((Z,q)=>{Uu.read(u,D,F,$,B,(X,Q,Y)=>{if(X)return q(X);Z({bytesRead:Q,buffer:Y})})})};d3.write=function(u,D,...F){if(typeof F[F.length-1]==="function")return Uu.write(u,D,...F);return new Promise(($,B)=>{Uu.write(u,D,...F,(z,Z,q)=>{if(z)return B(z);$({bytesWritten:Z,buffer:q})})})};d3.readv=function(u,D,...F){if(typeof F[F.length-1]==="function")return Uu.readv(u,D,...F);return new Promise(($,B)=>{Uu.readv(u,D,...F,(z,Z,q)=>{if(z)return B(z);$({bytesRead:Z,buffers:q})})})};d3.writev=function(u,D,...F){if(typeof F[F.length-1]==="function")return Uu.writev(u,D,...F);return new Promise(($,B)=>{Uu.writev(u,D,...F,(z,Z,q)=>{if(z)return B(z);$({bytesWritten:Z,buffers:q})})})};if(typeof Uu.realpath.native==="function")d3.realpath.native=DQ(Uu.realpath.native);else process.emitWarning("fs.realpath.native is not a function. Is fs being monkey-patched?","Warning","fs-extra-WARN0003")});var $Q=H((M_,FQ)=>{var L_=o("path");M_.checkPath=function(D){if(process.platform==="win32"){if(/[<>:"|?*]/.test(D.replace(L_.parse(D).root,""))){let $=Error(`Path contains invalid characters: ${D}`);throw $.code="EINVAL",$}}}});var qQ=H((i_,g3)=>{var BQ=Su(),{checkPath:zQ}=$Q(),ZQ=(u)=>{let D={mode:511};if(typeof u==="number")return u;return{...D,...u}.mode};i_.makeDir=async(u,D)=>{return zQ(u),BQ.mkdir(u,{mode:ZQ(D),recursive:!0})};i_.makeDirSync=(u,D)=>{return zQ(u),BQ.mkdirSync(u,{mode:ZQ(D),recursive:!0})}});var CD=H((J$0,XQ)=>{var N_=Lu().fromPromise,{makeDir:j_,makeDirSync:o3}=qQ(),s3=N_(j_);XQ.exports={mkdirs:s3,mkdirsSync:o3,mkdirp:s3,mkdirpSync:o3,ensureDir:s3,ensureDirSync:o3}});var C1=H((G$0,YQ)=>{var I_=Lu().fromPromise,QQ=Su();function E_(u){return QQ.access(u).then(()=>!0).catch(()=>!1)}YQ.exports={pathExists:I_(E_),pathExistsSync:QQ.existsSync}});var a3=H((f$0,WQ)=>{var D6=Su(),C_=Lu().fromPromise;async function P_(u,D,F){let $=await D6.open(u,"r+"),B=null;try{await D6.futimes($,D,F)}finally{try{await D6.close($)}catch(z){B=z}}if(B)throw B}function v_(u,D,F){let $=D6.openSync(u,"r+");return D6.futimesSync($,D,F),D6.closeSync($)}WQ.exports={utimesMillis:C_(P_),utimesMillisSync:v_}});var VF=H((K$0,KQ)=>{var F6=Su(),Mu=o("path"),JQ=Lu().fromPromise;function __(u,D,F){let $=F.dereference?(B)=>F6.stat(B,{bigint:!0}):(B)=>F6.lstat(B,{bigint:!0});return Promise.all([$(u),$(D).catch((B)=>{if(B.code==="ENOENT")return null;throw B})]).then(([B,z])=>({srcStat:B,destStat:z}))}function U_(u,D,F){let $,B=F.dereference?(Z)=>F6.statSync(Z,{bigint:!0}):(Z)=>F6.lstatSync(Z,{bigint:!0}),z=B(u);try{$=B(D)}catch(Z){if(Z.code==="ENOENT")return{srcStat:z,destStat:null};throw Z}return{srcStat:z,destStat:$}}async function S_(u,D,F,$){let{srcStat:B,destStat:z}=await __(u,D,$);if(z){if(W8(B,z)){let Z=Mu.basename(u),q=Mu.basename(D);if(F==="move"&&Z!==q&&Z.toLowerCase()===q.toLowerCase())return{srcStat:B,destStat:z,isChangingCase:!0};throw Error("Source and destination must not be the same.")}if(B.isDirectory()&&!z.isDirectory())throw Error(`Cannot overwrite non-directory '${D}' with directory '${u}'.`);if(!B.isDirectory()&&z.isDirectory())throw Error(`Cannot overwrite directory '${D}' with non-directory '${u}'.`)}if(B.isDirectory()&&r3(u,D))throw Error(E7(u,D,F));return{srcStat:B,destStat:z}}function T_(u,D,F,$){let{srcStat:B,destStat:z}=U_(u,D,$);if(z){if(W8(B,z)){let Z=Mu.basename(u),q=Mu.basename(D);if(F==="move"&&Z!==q&&Z.toLowerCase()===q.toLowerCase())return{srcStat:B,destStat:z,isChangingCase:!0};throw Error("Source and destination must not be the same.")}if(B.isDirectory()&&!z.isDirectory())throw Error(`Cannot overwrite non-directory '${D}' with directory '${u}'.`);if(!B.isDirectory()&&z.isDirectory())throw Error(`Cannot overwrite directory '${D}' with non-directory '${u}'.`)}if(B.isDirectory()&&r3(u,D))throw Error(E7(u,D,F));return{srcStat:B,destStat:z}}async function GQ(u,D,F,$){let B=Mu.resolve(Mu.dirname(u)),z=Mu.resolve(Mu.dirname(F));if(z===B||z===Mu.parse(z).root)return;let Z;try{Z=await F6.stat(z,{bigint:!0})}catch(q){if(q.code==="ENOENT")return;throw q}if(W8(D,Z))throw Error(E7(u,F,$));return GQ(u,D,z,$)}function fQ(u,D,F,$){let B=Mu.resolve(Mu.dirname(u)),z=Mu.resolve(Mu.dirname(F));if(z===B||z===Mu.parse(z).root)return;let Z;try{Z=F6.statSync(z,{bigint:!0})}catch(q){if(q.code==="ENOENT")return;throw q}if(W8(D,Z))throw Error(E7(u,F,$));return fQ(u,D,z,$)}function W8(u,D){return D.ino!==void 0&&D.dev!==void 0&&D.ino===u.ino&&D.dev===u.dev}function r3(u,D){let F=Mu.resolve(u).split(Mu.sep).filter((B)=>B),$=Mu.resolve(D).split(Mu.sep).filter((B)=>B);return F.every((B,z)=>$[z]===B)}function E7(u,D,F){return`Cannot ${F} '${u}' to a subdirectory of itself, '${D}'.`}KQ.exports={checkPaths:JQ(S_),checkPathsSync:T_,checkParentPaths:JQ(GQ),checkParentPathsSync:fQ,isSrcSubdir:r3,areIdentical:W8}});var HQ=H((x$0,xQ)=>{async function y_(u,D){let F=[];for await(let $ of u)F.push(D($).then(()=>null,(B)=>B??Error("unknown error")));await Promise.all(F.map(($)=>$.then((B)=>{if(B!==null)throw B})))}xQ.exports={asyncIteratorConcurrentProcess:y_}});var iQ=H((H$0,wQ)=>{var Nu=Su(),J8=o("path"),{mkdirs:b_}=CD(),{pathExists:R_}=C1(),{utimesMillis:k_}=a3(),G8=VF(),{asyncIteratorConcurrentProcess:c_}=HQ();async function h_(u,D,F={}){if(typeof F==="function")F={filter:F};if(F.clobber="clobber"in F?!!F.clobber:!0,F.overwrite="overwrite"in F?!!F.overwrite:F.clobber,F.preserveTimestamps&&process.arch==="ia32")process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
29
+
30
+ see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0001");let{srcStat:$,destStat:B}=await G8.checkPaths(u,D,"copy",F);if(await G8.checkParentPaths(u,$,D,"copy"),!await LQ(u,D,F))return;let Z=J8.dirname(D);if(!await R_(Z))await b_(Z);await MQ(B,u,D,F)}async function LQ(u,D,F){if(!F.filter)return!0;return F.filter(u,D)}async function MQ(u,D,F,$){let z=await($.dereference?Nu.stat:Nu.lstat)(D);if(z.isDirectory())return l_(z,u,D,F,$);if(z.isFile()||z.isCharacterDevice()||z.isBlockDevice())return m_(z,u,D,F,$);if(z.isSymbolicLink())return d_(u,D,F,$);if(z.isSocket())throw Error(`Cannot copy a socket file: ${D}`);if(z.isFIFO())throw Error(`Cannot copy a FIFO pipe: ${D}`);throw Error(`Unknown file: ${D}`)}async function m_(u,D,F,$,B){if(!D)return VQ(u,F,$,B);if(B.overwrite)return await Nu.unlink($),VQ(u,F,$,B);if(B.errorOnExist)throw Error(`'${$}' already exists`)}async function VQ(u,D,F,$){if(await Nu.copyFile(D,F),$.preserveTimestamps){if(n_(u.mode))await p_(F,u.mode);let B=await Nu.stat(D);await k_(F,B.atime,B.mtime)}return Nu.chmod(F,u.mode)}function n_(u){return(u&128)===0}function p_(u,D){return Nu.chmod(u,D|128)}async function l_(u,D,F,$,B){if(!D)await Nu.mkdir($);if(await c_(await Nu.opendir(F),async(z)=>{let Z=J8.join(F,z.name),q=J8.join($,z.name);if(await LQ(Z,q,B)){let{destStat:Q}=await G8.checkPaths(Z,q,"copy",B);await MQ(Q,Z,q,B)}}),!D)await Nu.chmod($,u.mode)}async function d_(u,D,F,$){let B=await Nu.readlink(D);if($.dereference)B=J8.resolve(process.cwd(),B);if(!u)return Nu.symlink(B,F);let z=null;try{z=await Nu.readlink(F)}catch(Z){if(Z.code==="EINVAL"||Z.code==="UNKNOWN")return Nu.symlink(B,F);throw Z}if($.dereference)z=J8.resolve(process.cwd(),z);if(B!==z){if(G8.isSrcSubdir(B,z))throw Error(`Cannot copy '${B}' to a subdirectory of itself, '${z}'.`);if(G8.isSrcSubdir(z,B))throw Error(`Cannot overwrite '${z}' with '${B}'.`)}return await Nu.unlink(F),Nu.symlink(B,F)}wQ.exports=h_});var IQ=H((V$0,jQ)=>{var Tu=u6(),f8=o("path"),g_=CD().mkdirsSync,o_=a3().utimesMillisSync,K8=VF();function s_(u,D,F){if(typeof F==="function")F={filter:F};if(F=F||{},F.clobber="clobber"in F?!!F.clobber:!0,F.overwrite="overwrite"in F?!!F.overwrite:F.clobber,F.preserveTimestamps&&process.arch==="ia32")process.emitWarning(`Using the preserveTimestamps option in 32-bit node is not recommended;
31
+
32
+ see https://github.com/jprichardson/node-fs-extra/issues/269`,"Warning","fs-extra-WARN0002");let{srcStat:$,destStat:B}=K8.checkPathsSync(u,D,"copy",F);if(K8.checkParentPathsSync(u,$,D,"copy"),F.filter&&!F.filter(u,D))return;let z=f8.dirname(D);if(!Tu.existsSync(z))g_(z);return OQ(B,u,D,F)}function OQ(u,D,F,$){let z=($.dereference?Tu.statSync:Tu.lstatSync)(D);if(z.isDirectory())return FU(z,u,D,F,$);else if(z.isFile()||z.isCharacterDevice()||z.isBlockDevice())return a_(z,u,D,F,$);else if(z.isSymbolicLink())return zU(u,D,F,$);else if(z.isSocket())throw Error(`Cannot copy a socket file: ${D}`);else if(z.isFIFO())throw Error(`Cannot copy a FIFO pipe: ${D}`);throw Error(`Unknown file: ${D}`)}function a_(u,D,F,$,B){if(!D)return AQ(u,F,$,B);return r_(u,F,$,B)}function r_(u,D,F,$){if($.overwrite)return Tu.unlinkSync(F),AQ(u,D,F,$);else if($.errorOnExist)throw Error(`'${F}' already exists`)}function AQ(u,D,F,$){if(Tu.copyFileSync(D,F),$.preserveTimestamps)t_(u.mode,D,F);return t3(F,u.mode)}function t_(u,D,F){if(e_(u))uU(F,u);return DU(D,F)}function e_(u){return(u&128)===0}function uU(u,D){return t3(u,D|128)}function t3(u,D){return Tu.chmodSync(u,D)}function DU(u,D){let F=Tu.statSync(u);return o_(D,F.atime,F.mtime)}function FU(u,D,F,$,B){if(!D)return $U(u.mode,F,$,B);return NQ(F,$,B)}function $U(u,D,F,$){return Tu.mkdirSync(F),NQ(D,F,$),t3(F,u)}function NQ(u,D,F){let $=Tu.opendirSync(u);try{let B;while((B=$.readSync())!==null)BU(B.name,u,D,F)}finally{$.closeSync()}}function BU(u,D,F,$){let B=f8.join(D,u),z=f8.join(F,u);if($.filter&&!$.filter(B,z))return;let{destStat:Z}=K8.checkPathsSync(B,z,"copy",$);return OQ(Z,B,z,$)}function zU(u,D,F,$){let B=Tu.readlinkSync(D);if($.dereference)B=f8.resolve(process.cwd(),B);if(!u)return Tu.symlinkSync(B,F);else{let z;try{z=Tu.readlinkSync(F)}catch(Z){if(Z.code==="EINVAL"||Z.code==="UNKNOWN")return Tu.symlinkSync(B,F);throw Z}if($.dereference)z=f8.resolve(process.cwd(),z);if(B!==z){if(K8.isSrcSubdir(B,z))throw Error(`Cannot copy '${B}' to a subdirectory of itself, '${z}'.`);if(K8.isSrcSubdir(z,B))throw Error(`Cannot overwrite '${z}' with '${B}'.`)}return ZU(B,F)}}function ZU(u,D){return Tu.unlinkSync(D),Tu.symlinkSync(u,D)}jQ.exports=s_});var C7=H((L$0,EQ)=>{var qU=Lu().fromPromise;EQ.exports={copy:qU(iQ()),copySync:IQ()}});var x8=H((M$0,PQ)=>{var CQ=u6(),XU=Lu().fromCallback;function QU(u,D){CQ.rm(u,{recursive:!0,force:!0},D)}function YU(u){CQ.rmSync(u,{recursive:!0,force:!0})}PQ.exports={remove:XU(QU),removeSync:YU}});var RQ=H((w$0,bQ)=>{var WU=Lu().fromPromise,UQ=Su(),SQ=o("path"),TQ=CD(),yQ=x8(),vQ=WU(async function(D){let F;try{F=await UQ.readdir(D)}catch{return TQ.mkdirs(D)}return Promise.all(F.map(($)=>yQ.remove(SQ.join(D,$))))});function _Q(u){let D;try{D=UQ.readdirSync(u)}catch{return TQ.mkdirsSync(u)}D.forEach((F)=>{F=SQ.join(u,F),yQ.removeSync(F)})}bQ.exports={emptyDirSync:_Q,emptydirSync:_Q,emptyDir:vQ,emptydir:vQ}});var mQ=H((i$0,hQ)=>{var JU=Lu().fromPromise,kQ=o("path"),Z1=Su(),cQ=CD();async function GU(u){let D;try{D=await Z1.stat(u)}catch{}if(D&&D.isFile())return;let F=kQ.dirname(u),$=null;try{$=await Z1.stat(F)}catch(B){if(B.code==="ENOENT"){await cQ.mkdirs(F),await Z1.writeFile(u,"");return}else throw B}if($.isDirectory())await Z1.writeFile(u,"");else await Z1.readdir(F)}function fU(u){let D;try{D=Z1.statSync(u)}catch{}if(D&&D.isFile())return;let F=kQ.dirname(u);try{if(!Z1.statSync(F).isDirectory())Z1.readdirSync(F)}catch($){if($&&$.code==="ENOENT")cQ.mkdirsSync(F);else throw $}Z1.writeFileSync(u,"")}hQ.exports={createFile:JU(GU),createFileSync:fU}});var gQ=H((O$0,dQ)=>{var KU=Lu().fromPromise,nQ=o("path"),P1=Su(),pQ=CD(),{pathExists:xU}=C1(),{areIdentical:lQ}=VF();async function HU(u,D){let F;try{F=await P1.lstat(D)}catch{}let $;try{$=await P1.lstat(u)}catch(Z){throw Z.message=Z.message.replace("lstat","ensureLink"),Z}if(F&&lQ($,F))return;let B=nQ.dirname(D);if(!await xU(B))await pQ.mkdirs(B);await P1.link(u,D)}function VU(u,D){let F;try{F=P1.lstatSync(D)}catch{}try{let z=P1.lstatSync(u);if(F&&lQ(z,F))return}catch(z){throw z.message=z.message.replace("lstat","ensureLink"),z}let $=nQ.dirname(D);if(P1.existsSync($))return P1.linkSync(u,D);return pQ.mkdirsSync($),P1.linkSync(u,D)}dQ.exports={createLink:KU(HU),createLinkSync:VU}});var sQ=H((A$0,oQ)=>{var v1=o("path"),H8=Su(),{pathExists:LU}=C1(),MU=Lu().fromPromise;async function wU(u,D){if(v1.isAbsolute(u)){try{await H8.lstat(u)}catch(z){throw z.message=z.message.replace("lstat","ensureSymlink"),z}return{toCwd:u,toDst:u}}let F=v1.dirname(D),$=v1.join(F,u);if(await LU($))return{toCwd:$,toDst:u};try{await H8.lstat(u)}catch(z){throw z.message=z.message.replace("lstat","ensureSymlink"),z}return{toCwd:u,toDst:v1.relative(F,u)}}function iU(u,D){if(v1.isAbsolute(u)){if(!H8.existsSync(u))throw Error("absolute srcpath does not exist");return{toCwd:u,toDst:u}}let F=v1.dirname(D),$=v1.join(F,u);if(H8.existsSync($))return{toCwd:$,toDst:u};if(!H8.existsSync(u))throw Error("relative srcpath does not exist");return{toCwd:u,toDst:v1.relative(F,u)}}oQ.exports={symlinkPaths:MU(wU),symlinkPathsSync:iU}});var tQ=H((N$0,rQ)=>{var aQ=Su(),OU=Lu().fromPromise;async function AU(u,D){if(D)return D;let F;try{F=await aQ.lstat(u)}catch{return"file"}return F&&F.isDirectory()?"dir":"file"}function NU(u,D){if(D)return D;let F;try{F=aQ.lstatSync(u)}catch{return"file"}return F&&F.isDirectory()?"dir":"file"}rQ.exports={symlinkType:OU(AU),symlinkTypeSync:NU}});var FY=H((j$0,DY)=>{var jU=Lu().fromPromise,eQ=o("path"),gD=Su(),{mkdirs:IU,mkdirsSync:EU}=CD(),{symlinkPaths:CU,symlinkPathsSync:PU}=sQ(),{symlinkType:vU,symlinkTypeSync:_U}=tQ(),{pathExists:UU}=C1(),{areIdentical:uY}=VF();async function SU(u,D,F){let $;try{$=await gD.lstat(D)}catch{}if($&&$.isSymbolicLink()){let[q,X]=await Promise.all([gD.stat(u),gD.stat(D)]);if(uY(q,X))return}let B=await CU(u,D);u=B.toDst;let z=await vU(B.toCwd,F),Z=eQ.dirname(D);if(!await UU(Z))await IU(Z);return gD.symlink(u,D,z)}function TU(u,D,F){let $;try{$=gD.lstatSync(D)}catch{}if($&&$.isSymbolicLink()){let q=gD.statSync(u),X=gD.statSync(D);if(uY(q,X))return}let B=PU(u,D);u=B.toDst,F=_U(B.toCwd,F);let z=eQ.dirname(D);if(gD.existsSync(z))return gD.symlinkSync(u,D,F);return EU(z),gD.symlinkSync(u,D,F)}DY.exports={createSymlink:jU(SU),createSymlinkSync:TU}});var YY=H((I$0,QY)=>{var{createFile:$Y,createFileSync:BY}=mQ(),{createLink:zY,createLinkSync:ZY}=gQ(),{createSymlink:qY,createSymlinkSync:XY}=FY();QY.exports={createFile:$Y,createFileSync:BY,ensureFile:$Y,ensureFileSync:BY,createLink:zY,createLinkSync:ZY,ensureLink:zY,ensureLinkSync:ZY,createSymlink:qY,createSymlinkSync:XY,ensureSymlink:qY,ensureSymlinkSync:XY}});var P7=H((E$0,WY)=>{function yU(u,{EOL:D=`
33
+ `,finalEOL:F=!0,replacer:$=null,spaces:B}={}){let z=F?D:"";return JSON.stringify(u,$,B).replace(/\n/g,D)+z}function bU(u){if(Buffer.isBuffer(u))u=u.toString("utf8");return u.replace(/^\uFEFF/,"")}WY.exports={stringify:yU,stripBom:bU}});var KY=H((C$0,fY)=>{var $6;try{$6=u6()}catch(u){$6=o("fs")}var v7=Lu(),{stringify:JY,stripBom:GY}=P7();async function RU(u,D={}){if(typeof D==="string")D={encoding:D};let F=D.fs||$6,$="throws"in D?D.throws:!0,B=await v7.fromCallback(F.readFile)(u,D);B=GY(B);let z;try{z=JSON.parse(B,D?D.reviver:null)}catch(Z){if($)throw Z.message=`${u}: ${Z.message}`,Z;else return null}return z}var kU=v7.fromPromise(RU);function cU(u,D={}){if(typeof D==="string")D={encoding:D};let F=D.fs||$6,$="throws"in D?D.throws:!0;try{let B=F.readFileSync(u,D);return B=GY(B),JSON.parse(B,D.reviver)}catch(B){if($)throw B.message=`${u}: ${B.message}`,B;else return null}}async function hU(u,D,F={}){let $=F.fs||$6,B=JY(D,F);await v7.fromCallback($.writeFile)(u,B,F)}var mU=v7.fromPromise(hU);function nU(u,D,F={}){let $=F.fs||$6,B=JY(D,F);return $.writeFileSync(u,B,F)}fY.exports={readFile:kU,readFileSync:cU,writeFile:mU,writeFileSync:nU}});var HY=H((P$0,xY)=>{var _7=KY();xY.exports={readJson:_7.readFile,readJsonSync:_7.readFileSync,writeJson:_7.writeFile,writeJsonSync:_7.writeFileSync}});var U7=H((v$0,MY)=>{var pU=Lu().fromPromise,e3=Su(),VY=o("path"),LY=CD(),lU=C1().pathExists;async function dU(u,D,F="utf-8"){let $=VY.dirname(u);if(!await lU($))await LY.mkdirs($);return e3.writeFile(u,D,F)}function gU(u,...D){let F=VY.dirname(u);if(!e3.existsSync(F))LY.mkdirsSync(F);e3.writeFileSync(u,...D)}MY.exports={outputFile:pU(dU),outputFileSync:gU}});var iY=H((_$0,wY)=>{var{stringify:oU}=P7(),{outputFile:sU}=U7();async function aU(u,D,F={}){let $=oU(D,F);await sU(u,$,F)}wY.exports=aU});var AY=H((U$0,OY)=>{var{stringify:rU}=P7(),{outputFileSync:tU}=U7();function eU(u,D,F){let $=rU(D,F);tU(u,$,F)}OY.exports=eU});var jY=H((S$0,NY)=>{var uS=Lu().fromPromise,yu=HY();yu.outputJson=uS(iY());yu.outputJsonSync=AY();yu.outputJSON=yu.outputJson;yu.outputJSONSync=yu.outputJsonSync;yu.writeJSON=yu.writeJson;yu.writeJSONSync=yu.writeJsonSync;yu.readJSON=yu.readJson;yu.readJSONSync=yu.readJsonSync;NY.exports=yu});var vY=H((T$0,PY)=>{var DS=Su(),IY=o("path"),{copy:FS}=C7(),{remove:CY}=x8(),{mkdirp:$S}=CD(),{pathExists:BS}=C1(),EY=VF();async function zS(u,D,F={}){let $=F.overwrite||F.clobber||!1,{srcStat:B,isChangingCase:z=!1}=await EY.checkPaths(u,D,"move",F);await EY.checkParentPaths(u,B,D,"move");let Z=IY.dirname(D);if(IY.parse(Z).root!==Z)await $S(Z);return ZS(u,D,$,z)}async function ZS(u,D,F,$){if(!$){if(F)await CY(D);else if(await BS(D))throw Error("dest already exists.")}try{await DS.rename(u,D)}catch(B){if(B.code!=="EXDEV")throw B;await qS(u,D,F)}}async function qS(u,D,F){return await FS(u,D,{overwrite:F,errorOnExist:!0,preserveTimestamps:!0}),CY(u)}PY.exports=zS});var yY=H((y$0,TY)=>{var UY=u6(),D$=o("path"),XS=C7().copySync,SY=x8().removeSync,QS=CD().mkdirpSync,_Y=VF();function YS(u,D,F){F=F||{};let $=F.overwrite||F.clobber||!1,{srcStat:B,isChangingCase:z=!1}=_Y.checkPathsSync(u,D,"move",F);if(_Y.checkParentPathsSync(u,B,D,"move"),!WS(D))QS(D$.dirname(D));return JS(u,D,$,z)}function WS(u){let D=D$.dirname(u);return D$.parse(D).root===D}function JS(u,D,F,$){if($)return u$(u,D,F);if(F)return SY(D),u$(u,D,F);if(UY.existsSync(D))throw Error("dest already exists.");return u$(u,D,F)}function u$(u,D,F){try{UY.renameSync(u,D)}catch($){if($.code!=="EXDEV")throw $;return GS(u,D,F)}}function GS(u,D,F){return XS(u,D,{overwrite:F,errorOnExist:!0,preserveTimestamps:!0}),SY(u)}TY.exports=YS});var RY=H((b$0,bY)=>{var fS=Lu().fromPromise;bY.exports={move:fS(vY()),moveSync:yY()}});var oD=H((R$0,kY)=>{kY.exports={...Su(),...C7(),...RQ(),...YY(),...jY(),...CD(),...RY(),...U7(),...C1(),...x8()}});var h7=H((m$0,PW)=>{var yy=["h","min","s","ms","μs","ns"],by=["hour","minute","second","millisecond","microsecond","nanosecond"],CW=[3600,60,1,1e6,1000,1];PW.exports=function(u,D){var F,$,B,z,Z,q,X,Q,Y,W;if(F=!1,$=!1,D)F=D.verbose||!1,$=D.precise||!1;if(!Array.isArray(u)||u.length!==2)return"";if(typeof u[0]!=="number"||typeof u[1]!=="number")return"";if(u[1]<0)W=u[0]+u[1]/1e9,u[0]=parseInt(W),u[1]=parseFloat((W%1).toPrecision(9))*1e9;Y="";for(B=0;B<6;B++){if(z=B<3?0:1,Z=u[z],B!==3&&B!==0)Z=Z%CW[B-1];if(B===2)Z+=u[1]/1e9;if(q=Z/CW[B],q>=1){if(F)q=Math.floor(q);if(!$)X=q>=10?0:2,Q=q.toFixed(X);else Q=q.toString();if(Q.indexOf(".")>-1&&Q[Q.length-1]==="0")Q=Q.replace(/\.?0+$/,"");if(Y)Y+=" ";if(Y+=Q,F){if(Y+=" "+by[B],Q!=="1")Y+="s"}else Y+=" "+yy[B];if(!F)break}}return Y}});var vW=H((n$0,Ry)=>{Ry.exports={name:"dotenv",version:"17.3.1",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard",pretest:"npm run lint && npm run dts-check",test:"tap run tests/**/*.js --allow-empty-coverage --disable-coverage --timeout=60000","test:coverage":"tap run tests/**/*.js --show-full-coverage --timeout=60000 --coverage-report=text --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},homepage:"https://github.com/motdotla/dotenv#readme",funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@types/node":"^18.11.3",decache:"^4.6.2",sinon:"^14.0.1",standard:"^17.0.0","standard-version":"^9.5.0",tap:"^19.2.0",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var n7=H((p$0,X1)=>{var V$=o("fs"),m7=o("path"),ky=o("os"),cy=o("crypto"),hy=vW(),L$=hy.version,_W=["\uD83D\uDD10 encrypt with Dotenvx: https://dotenvx.com","\uD83D\uDD10 prevent committing .env to code: https://dotenvx.com/precommit","\uD83D\uDD10 prevent building .env in docker: https://dotenvx.com/prebuild","\uD83E\uDD16 agentic secret storage: https://dotenvx.com/as2","⚡️ secrets for agents: https://dotenvx.com/as2","\uD83D\uDEE1️ auth for agents: https://vestauth.com","\uD83D\uDEE0️ run anywhere with `dotenvx run -- yourcommand`","⚙️ specify custom .env file path with { path: '/custom/path/.env' }","⚙️ enable debug logging with { debug: true }","⚙️ override existing env vars with { override: true }","⚙️ suppress all logs with { quiet: true }","⚙️ write to custom object with { processEnv: myObject }","⚙️ load multiple .env files with { path: ['.env.local', '.env'] }"];function my(){return _W[Math.floor(Math.random()*_W.length)]}function Q6(u){if(typeof u==="string")return!["false","0","no","off",""].includes(u.toLowerCase());return Boolean(u)}function ny(){return process.stdout.isTTY}function py(u){return ny()?`\x1B[2m${u}\x1B[0m`:u}var ly=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function dy(u){let D={},F=u.toString();F=F.replace(/\r\n?/mg,`
34
+ `);let $;while(($=ly.exec(F))!=null){let B=$[1],z=$[2]||"";z=z.trim();let Z=z[0];if(z=z.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),Z==='"')z=z.replace(/\\n/g,`
35
+ `),z=z.replace(/\\r/g,"\r");D[B]=z}return D}function gy(u){u=u||{};let D=yW(u);u.path=D;let F=Ku.configDotenv(u);if(!F.parsed){let Z=Error(`MISSING_DATA: Cannot parse ${D} for an unknown reason`);throw Z.code="MISSING_DATA",Z}let $=TW(u).split(","),B=$.length,z;for(let Z=0;Z<B;Z++)try{let q=$[Z].trim(),X=sy(F,q);z=Ku.decrypt(X.ciphertext,X.key);break}catch(q){if(Z+1>=B)throw q}return Ku.parse(z)}function oy(u){console.error(`[dotenv@${L$}][WARN] ${u}`)}function A8(u){console.log(`[dotenv@${L$}][DEBUG] ${u}`)}function SW(u){console.log(`[dotenv@${L$}] ${u}`)}function TW(u){if(u&&u.DOTENV_KEY&&u.DOTENV_KEY.length>0)return u.DOTENV_KEY;if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0)return process.env.DOTENV_KEY;return""}function sy(u,D){let F;try{F=new URL(D)}catch(q){if(q.code==="ERR_INVALID_URL"){let X=Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw X.code="INVALID_DOTENV_KEY",X}throw q}let $=F.password;if(!$){let q=Error("INVALID_DOTENV_KEY: Missing key part");throw q.code="INVALID_DOTENV_KEY",q}let B=F.searchParams.get("environment");if(!B){let q=Error("INVALID_DOTENV_KEY: Missing environment part");throw q.code="INVALID_DOTENV_KEY",q}let z=`DOTENV_VAULT_${B.toUpperCase()}`,Z=u.parsed[z];if(!Z){let q=Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${z} in your .env.vault file.`);throw q.code="NOT_FOUND_DOTENV_ENVIRONMENT",q}return{ciphertext:Z,key:$}}function yW(u){let D=null;if(u&&u.path&&u.path.length>0)if(Array.isArray(u.path)){for(let F of u.path)if(V$.existsSync(F))D=F.endsWith(".vault")?F:`${F}.vault`}else D=u.path.endsWith(".vault")?u.path:`${u.path}.vault`;else D=m7.resolve(process.cwd(),".env.vault");if(V$.existsSync(D))return D;return null}function UW(u){return u[0]==="~"?m7.join(ky.homedir(),u.slice(1)):u}function ay(u){let D=Q6(process.env.DOTENV_CONFIG_DEBUG||u&&u.debug),F=Q6(process.env.DOTENV_CONFIG_QUIET||u&&u.quiet);if(D||!F)SW("Loading env from encrypted .env.vault");let $=Ku._parseVault(u),B=process.env;if(u&&u.processEnv!=null)B=u.processEnv;return Ku.populate(B,$,u),{parsed:$}}function ry(u){let D=m7.resolve(process.cwd(),".env"),F="utf8",$=process.env;if(u&&u.processEnv!=null)$=u.processEnv;let B=Q6($.DOTENV_CONFIG_DEBUG||u&&u.debug),z=Q6($.DOTENV_CONFIG_QUIET||u&&u.quiet);if(u&&u.encoding)F=u.encoding;else if(B)A8("No encoding is specified. UTF-8 is used by default");let Z=[D];if(u&&u.path)if(!Array.isArray(u.path))Z=[UW(u.path)];else{Z=[];for(let Y of u.path)Z.push(UW(Y))}let q,X={};for(let Y of Z)try{let W=Ku.parse(V$.readFileSync(Y,{encoding:F}));Ku.populate(X,W,u)}catch(W){if(B)A8(`Failed to load ${Y} ${W.message}`);q=W}let Q=Ku.populate($,X,u);if(B=Q6($.DOTENV_CONFIG_DEBUG||B),z=Q6($.DOTENV_CONFIG_QUIET||z),B||!z){let Y=Object.keys(Q).length,W=[];for(let J of Z)try{let G=m7.relative(process.cwd(),J);W.push(G)}catch(G){if(B)A8(`Failed to load ${J} ${G.message}`);q=G}SW(`injecting env (${Y}) from ${W.join(",")} ${py(`-- tip: ${my()}`)}`)}if(q)return{parsed:X,error:q};else return{parsed:X}}function ty(u){if(TW(u).length===0)return Ku.configDotenv(u);let D=yW(u);if(!D)return oy(`You set DOTENV_KEY but you are missing a .env.vault file at ${D}. Did you forget to build it?`),Ku.configDotenv(u);return Ku._configVault(u)}function ey(u,D){let F=Buffer.from(D.slice(-64),"hex"),$=Buffer.from(u,"base64"),B=$.subarray(0,12),z=$.subarray(-16);$=$.subarray(12,-16);try{let Z=cy.createDecipheriv("aes-256-gcm",F,B);return Z.setAuthTag(z),`${Z.update($)}${Z.final()}`}catch(Z){let q=Z instanceof RangeError,X=Z.message==="Invalid key length",Q=Z.message==="Unsupported state or unable to authenticate data";if(q||X){let Y=Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw Y.code="INVALID_DOTENV_KEY",Y}else if(Q){let Y=Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw Y.code="DECRYPTION_FAILED",Y}else throw Z}}function ub(u,D,F={}){let $=Boolean(F&&F.debug),B=Boolean(F&&F.override),z={};if(typeof D!=="object"){let Z=Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw Z.code="OBJECT_REQUIRED",Z}for(let Z of Object.keys(D))if(Object.prototype.hasOwnProperty.call(u,Z)){if(B===!0)u[Z]=D[Z],z[Z]=D[Z];if($)if(B===!0)A8(`"${Z}" is already defined and WAS overwritten`);else A8(`"${Z}" is already defined and was NOT overwritten`)}else u[Z]=D[Z],z[Z]=D[Z];return z}var Ku={configDotenv:ry,_configVault:ay,_parseVault:gy,config:ty,decrypt:ey,parse:dy,populate:ub};p$0.configDotenv=Ku.configDotenv;p$0._configVault=Ku._configVault;p$0._parseVault=Ku._parseVault;p$0.config=Ku.config;p$0.decrypt=Ku.decrypt;p$0.parse=Ku.parse;p$0.populate=Ku.populate;X1.exports=Ku});var cW=H((l$0,kW)=>{var{Transform:Xb}=o("stream"),{StringDecoder:Qb}=o("string_decoder"),y1=Symbol("last"),p7=Symbol("decoder");function Yb(u,D,F){let $;if(this.overflow){if($=this[p7].write(u).split(this.matcher),$.length===1)return F();$.shift(),this.overflow=!1}else this[y1]+=this[p7].write(u),$=this[y1].split(this.matcher);this[y1]=$.pop();for(let B=0;B<$.length;B++)try{RW(this,this.mapper($[B]))}catch(z){return F(z)}if(this.overflow=this[y1].length>this.maxLength,this.overflow&&!this.skipOverflow){F(Error("maximum buffer reached"));return}F()}function Wb(u){if(this[y1]+=this[p7].end(),this[y1])try{RW(this,this.mapper(this[y1]))}catch(D){return u(D)}u()}function RW(u,D){if(D!==void 0)u.push(D)}function bW(u){return u}function Jb(u,D,F){switch(u=u||/\r?\n/,D=D||bW,F=F||{},arguments.length){case 1:if(typeof u==="function")D=u,u=/\r?\n/;else if(typeof u==="object"&&!(u instanceof RegExp)&&!u[Symbol.split])F=u,u=/\r?\n/;break;case 2:if(typeof u==="function")F=D,D=u,u=/\r?\n/;else if(typeof D==="object")F=D,D=bW}F=Object.assign({},F),F.autoDestroy=!0,F.transform=Yb,F.flush=Wb,F.readableObjectMode=!0;let $=new Xb(F);return $[y1]="",$[p7]=new Qb("utf8"),$.matcher=u,$.mapper=D,$.maxLength=F.maxLength,$.skipOverflow=F.skipOverflow||!1,$.overflow=!1,$._destroy=function(B,z){this._writableState.errorEmitted=!1,z(B)},$}kW.exports=Jb});var LJ=H((VJ)=>{Object.defineProperty(VJ,"__esModule",{value:!0});var HJ=".",Gb={traversalType:"depth-first",maxNodes:Number.POSITIVE_INFINITY,cycleHandling:!0,maxDepth:Number.POSITIVE_INFINITY,haltOnTruthy:!1,pathSeparator:HJ},i$=function(){function u(){this.head=void 0,this.tail=void 0}var D=u.prototype;return D.enqueue=function($){if(this.tail)this.tail=this.tail.next={value:$};else this.head=this.tail={value:$}},D.dequeue=function(){var $=this.head.value;if(this.head=this.head.next,!this.head)this.tail=this.head;return $},D.isEmpty=function(){return!this.head},D.reset=function(){this.head=this.tail=void 0},u}(),O$=function(){function u(F){this.queue=void 0,this.queue=F}var D=u.prototype;return D.push=function($){this.queue.enqueue($)},D.pop=function(){return this.queue.dequeue()},D.isEmpty=function(){return this.queue.isEmpty()},D.reset=function(){return this.queue.reset()},u}(),A$=function(){function u(){this.tail=void 0}var D=u.prototype;return D.push=function($){this.tail={value:$,prev:this.tail}},D.pop=function(){var $=this.tail;return this.tail=this.tail.prev,$.value},D.isEmpty=function(){return!this.tail},D.reset=function(){this.tail=void 0},u}(),fb=function(D,F,$){if(!(D instanceof Object))throw Error("First argument must be an object");var B=Object.assign({},Gb,$);B.disablePathTracking=typeof B.pathSeparator!=="string";var z;if(B.traversalType==="depth-first")z=new A$;else z=new O$(new i$);var Z={visitedNodes:new WeakSet,depth:0};if(!B.disablePathTracking)Z.nodePath=null;z.push({parent:null,key:null,value:D,meta:Z}),Kb(F,z,B)},Kb=function(D,F,$){var B;if($.traversalType==="depth-first")B=new A$;else B=new O$(new i$);var{maxNodes:z,cycleHandling:Z,maxDepth:q,haltOnTruthy:X,pathSeparator:Q}=$,Y=0;while(!F.isEmpty()&&z>Y){var W=F.pop(),J=W.value,G=W.meta,f=G.visitedNodes,K=J instanceof Object,x=Z&&K&&f.has(J);if(x)continue;if(D(W)&&X)break;if(Y++,K){f.add(J);var{depth:M,nodePath:L}=G,j=M+1;if(j>q)continue;B.reset();var U=Object.keys(J);for(var I=0;I<U.length;I++){var S=U[I],k={visitedNodes:f,depth:j},R=void 0;if(!$.disablePathTracking){if(!L)R=S;else R=""+L+Q+S;k.nodePath=R}B.push({value:J[S],meta:k,key:S,parent:J})}while(!B.isEmpty())F.push(B.pop())}}};function xb(u,D,F){if(F===void 0)F=HJ;var $=u,B=D.split(F),z=0,Z=B[z];while($&&Z)$=$[Z],Z=B[++z];return $}VJ._Queue=i$;VJ._QueueToStackAdapter=O$;VJ._Stack=A$;VJ.getNodeByPath=xb;VJ.traverse=fb});var _J=H((e$0,vJ)=>{/*!
36
+ * checksum
37
+ * Copyright(c) 2013 Daniel D. Shaw <dshaw@dshaw.com>
38
+ * MIT Licensed
39
+ */var CJ=o("crypto"),EJ=o("fs");vJ.exports=PJ;PJ.file=Sb;function PJ(u,D){if(D||(D={}),!D.algorithm)D.algorithm="sha1";var F=CJ.createHash(D.algorithm);if(!F.write)return F.update(u),F.digest("hex");else return F.write(u),F.digest("hex")}function Sb(u,D,F){if(typeof D==="function")F=D,D={};if(D||(D={}),!D.algorithm)D.algorithm="sha1";EJ.stat(u,function($,B){if(!$&&!B.isFile())$=Error("Not a file");if($)return F($);var z=CJ.createHash(D.algorithm),Z=EJ.createReadStream(u);if(!z.write)Z.on("data",function(q){z.update(q)}),Z.on("end",function(){F(null,z.digest("hex"))});else z.setEncoding("hex"),Z.pipe(z,{end:!1}),Z.on("end",function(){z.end(),F(null,z.read())})})}});var SJ=H((UJ)=>{Object.defineProperty(UJ,"__esModule",{value:!0});function Tb(u){var D=4,F=u.length,$=F%D;if(!$)return u;var B=F,z=D-$,Z=F+z,q=Buffer.alloc(Z);q.write(u);while(z--)q.write("=",B++);return q.toString()}UJ.default=Tb});var bJ=H((yJ)=>{Object.defineProperty(yJ,"__esModule",{value:!0});var bb=SJ();function TJ(u,D){if(D===void 0)D="utf8";if(Buffer.isBuffer(u))return E$(u.toString("base64"));return E$(Buffer.from(u,D).toString("base64"))}function Rb(u,D){if(D===void 0)D="utf8";return Buffer.from(C$(u),"base64").toString(D)}function C$(u){return u=u.toString(),bb.default(u).replace(/\-/g,"+").replace(/_/g,"/")}function E$(u){return u.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function kb(u){return Buffer.from(C$(u),"base64")}var W6=TJ;W6.encode=TJ;W6.decode=Rb;W6.toBase64=C$;W6.fromBase64=E$;W6.toBuffer=kb;yJ.default=W6});var RJ=H((F20,l7)=>{l7.exports=bJ().default;l7.exports.default=l7.exports});var nJ=H(($20,mJ)=>{mJ.exports=hJ;hJ.sync=mb;var kJ=o("fs");function hb(u,D){var F=D.pathExt!==void 0?D.pathExt:process.env.PATHEXT;if(!F)return!0;if(F=F.split(";"),F.indexOf("")!==-1)return!0;for(var $=0;$<F.length;$++){var B=F[$].toLowerCase();if(B&&u.substr(-B.length).toLowerCase()===B)return!0}return!1}function cJ(u,D,F){if(!u.isSymbolicLink()&&!u.isFile())return!1;return hb(D,F)}function hJ(u,D,F){kJ.stat(u,function($,B){F($,$?!1:cJ(B,u,D))})}function mb(u,D){return cJ(kJ.statSync(u),u,D)}});var oJ=H((B20,gJ)=>{gJ.exports=lJ;lJ.sync=nb;var pJ=o("fs");function lJ(u,D,F){pJ.stat(u,function($,B){F($,$?!1:dJ(B,D))})}function nb(u,D){return dJ(pJ.statSync(u),D)}function dJ(u,D){return u.isFile()&&pb(u,D)}function pb(u,D){var{mode:F,uid:$,gid:B}=u,z=D.uid!==void 0?D.uid:process.getuid&&process.getuid(),Z=D.gid!==void 0?D.gid:process.getgid&&process.getgid(),q=parseInt("100",8),X=parseInt("010",8),Q=parseInt("001",8),Y=q|X,W=F&Q||F&X&&B===Z||F&q&&$===z||F&Y&&z===0;return W}});var aJ=H((Z20,sJ)=>{var z20=o("fs"),d7;if(process.platform==="win32"||global.TESTING_WINDOWS)d7=nJ();else d7=oJ();sJ.exports=P$;P$.sync=lb;function P$(u,D,F){if(typeof D==="function")F=D,D={};if(!F){if(typeof Promise!=="function")throw TypeError("callback not provided");return new Promise(function($,B){P$(u,D||{},function(z,Z){if(z)B(z);else $(Z)})})}d7(u,D||{},function($,B){if($){if($.code==="EACCES"||D&&D.ignoreErrors)$=null,B=!1}F($,B)})}function lb(u,D){try{return d7.sync(u,D||{})}catch(F){if(D&&D.ignoreErrors||F.code==="EACCES")return!1;else throw F}}});var $G=H((q20,FG)=>{var J6=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",rJ=o("path"),db=J6?";":":",tJ=aJ(),eJ=(u)=>Object.assign(Error(`not found: ${u}`),{code:"ENOENT"}),uG=(u,D)=>{let F=D.colon||db,$=u.match(/\//)||J6&&u.match(/\\/)?[""]:[...J6?[process.cwd()]:[],...(D.path||process.env.PATH||"").split(F)],B=J6?D.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",z=J6?B.split(F):[""];if(J6){if(u.indexOf(".")!==-1&&z[0]!=="")z.unshift("")}return{pathEnv:$,pathExt:z,pathExtExe:B}},DG=(u,D,F)=>{if(typeof D==="function")F=D,D={};if(!D)D={};let{pathEnv:$,pathExt:B,pathExtExe:z}=uG(u,D),Z=[],q=(Q)=>new Promise((Y,W)=>{if(Q===$.length)return D.all&&Z.length?Y(Z):W(eJ(u));let J=$[Q],G=/^".*"$/.test(J)?J.slice(1,-1):J,f=rJ.join(G,u),K=!G&&/^\.[\\\/]/.test(u)?u.slice(0,2)+f:f;Y(X(K,Q,0))}),X=(Q,Y,W)=>new Promise((J,G)=>{if(W===B.length)return J(q(Y+1));let f=B[W];tJ(Q+f,{pathExt:z},(K,x)=>{if(!K&&x)if(D.all)Z.push(Q+f);else return J(Q+f);return J(X(Q,Y,W+1))})});return F?q(0).then((Q)=>F(null,Q),F):q(0)},gb=(u,D)=>{D=D||{};let{pathEnv:F,pathExt:$,pathExtExe:B}=uG(u,D),z=[];for(let Z=0;Z<F.length;Z++){let q=F[Z],X=/^".*"$/.test(q)?q.slice(1,-1):q,Q=rJ.join(X,u),Y=!X&&/^\.[\\\/]/.test(u)?u.slice(0,2)+Q:Q;for(let W=0;W<$.length;W++){let J=Y+$[W];try{if(tJ.sync(J,{pathExt:B}))if(D.all)z.push(J);else return J}catch(G){}}}if(D.all&&z.length)return z;if(D.nothrow)return null;throw eJ(u)};FG.exports=DG;DG.sync=gb});var _$=H((X20,v$)=>{var BG=(u={})=>{let D=u.env||process.env;if((u.platform||process.platform)!=="win32")return"PATH";return Object.keys(D).reverse().find(($)=>$.toUpperCase()==="PATH")||"Path"};v$.exports=BG;v$.exports.default=BG});var XG=H((Q20,qG)=>{var zG=o("path"),ob=$G(),sb=_$();function ZG(u,D){let F=u.options.env||process.env,$=process.cwd(),B=u.options.cwd!=null,z=B&&process.chdir!==void 0&&!process.chdir.disabled;if(z)try{process.chdir(u.options.cwd)}catch(q){}let Z;try{Z=ob.sync(u.command,{path:F[sb({env:F})],pathExt:D?zG.delimiter:void 0})}catch(q){}finally{if(z)process.chdir($)}if(Z)Z=zG.resolve(B?u.options.cwd:"",Z);return Z}function ab(u){return ZG(u)||ZG(u,!0)}qG.exports=ab});var QG=H((eb,S$)=>{var U$=/([()\][%!^"`<>&|;, *?])/g;function rb(u){return u=u.replace(U$,"^$1"),u}function tb(u,D){if(u=`${u}`,u=u.replace(/(?=(\\+?)?)\1"/g,"$1$1\\\""),u=u.replace(/(?=(\\+?)?)\1$/,"$1$1"),u=`"${u}"`,u=u.replace(U$,"^$1"),D)u=u.replace(U$,"^$1");return u}eb.command=rb;eb.argument=tb});var WG=H((Y20,YG)=>{YG.exports=/^#!(.*)/});var GG=H((W20,JG)=>{var FR=WG();JG.exports=(u="")=>{let D=u.match(FR);if(!D)return null;let[F,$]=D[0].replace(/#! ?/,"").split(" "),B=F.split("/").pop();if(B==="env")return $;return $?`${B} ${$}`:B}});var KG=H((J20,fG)=>{var T$=o("fs"),$R=GG();function BR(u){let F=Buffer.alloc(150),$;try{$=T$.openSync(u,"r"),T$.readSync($,F,0,150,0),T$.closeSync($)}catch(B){}return $R(F.toString())}fG.exports=BR});var LG=H((G20,VG)=>{var zR=o("path"),xG=XG(),HG=QG(),ZR=KG(),qR=process.platform==="win32",XR=/\.(?:com|exe)$/i,QR=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function YR(u){u.file=xG(u);let D=u.file&&ZR(u.file);if(D)return u.args.unshift(u.file),u.command=D,xG(u);return u.file}function WR(u){if(!qR)return u;let D=YR(u),F=!XR.test(D);if(u.options.forceShell||F){let $=QR.test(D);u.command=zR.normalize(u.command),u.command=HG.command(u.command),u.args=u.args.map((z)=>HG.argument(z,$));let B=[u.command].concat(u.args).join(" ");u.args=["/d","/s","/c",`"${B}"`],u.command=process.env.comspec||"cmd.exe",u.options.windowsVerbatimArguments=!0}return u}function JR(u,D,F){if(D&&!Array.isArray(D))F=D,D=null;D=D?D.slice(0):[],F=Object.assign({},F);let $={command:u,args:D,options:F,file:void 0,original:{command:u,args:D}};return F.shell?$:WR($)}VG.exports=JR});var iG=H((f20,wG)=>{var y$=process.platform==="win32";function b$(u,D){return Object.assign(Error(`${D} ${u.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${D} ${u.command}`,path:u.command,spawnargs:u.args})}function GR(u,D){if(!y$)return;let F=u.emit;u.emit=function($,B){if($==="exit"){let z=MG(B,D);if(z)return F.call(u,"error",z)}return F.apply(u,arguments)}}function MG(u,D){if(y$&&u===1&&!D.file)return b$(D.original,"spawn");return null}function fR(u,D){if(y$&&u===1&&!D.file)return b$(D.original,"spawnSync");return null}wG.exports={hookChildProcess:GR,verifyENOENT:MG,verifyENOENTSync:fR,notFoundError:b$}});var NG=H((K20,G6)=>{var OG=o("child_process"),R$=LG(),k$=iG();function AG(u,D,F){let $=R$(u,D,F),B=OG.spawn($.command,$.args,$.options);return k$.hookChildProcess(B,$),B}function KR(u,D,F){let $=R$(u,D,F),B=OG.spawnSync($.command,$.args,$.options);return B.error=B.error||k$.verifyENOENTSync(B.status,$),B}G6.exports=AG;G6.exports.spawn=AG;G6.exports.sync=KR;G6.exports._parse=R$;G6.exports._enoent=k$});var IG=H((x20,jG)=>{jG.exports=(u)=>{let D=typeof u==="string"?`
40
+ `:`
41
+ `.charCodeAt(),F=typeof u==="string"?"\r":"\r".charCodeAt();if(u[u.length-1]===D)u=u.slice(0,u.length-1);if(u[u.length-1]===F)u=u.slice(0,u.length-1);return u}});var PG=H((H20,_8)=>{var v8=o("path"),EG=_$(),CG=(u)=>{u={cwd:process.cwd(),path:process.env[EG()],execPath:process.execPath,...u};let D,F=v8.resolve(u.cwd),$=[];while(D!==F)$.push(v8.join(F,"node_modules/.bin")),D=F,F=v8.resolve(F,"..");let B=v8.resolve(u.cwd,u.execPath,"..");return $.push(B),$.concat(u.path).join(v8.delimiter)};_8.exports=CG;_8.exports.default=CG;_8.exports.env=(u)=>{u={env:process.env,...u};let D={...u.env},F=EG({env:D});return u.path=D[F],D[F]=_8.exports(u),D}});var _G=H((V20,c$)=>{var vG=(u,D)=>{for(let F of Reflect.ownKeys(D))Object.defineProperty(u,F,Object.getOwnPropertyDescriptor(D,F));return u};c$.exports=vG;c$.exports.default=vG});var SG=H((L20,o7)=>{var xR=_G(),g7=new WeakMap,UG=(u,D={})=>{if(typeof u!=="function")throw TypeError("Expected a function");let F,$=0,B=u.displayName||u.name||"<anonymous>",z=function(...Z){if(g7.set(z,++$),$===1)F=u.apply(this,Z),u=null;else if(D.throw===!0)throw Error(`Function \`${B}\` can only be called once`);return F};return xR(z,u),g7.set(z,$),z};o7.exports=UG;o7.exports.default=UG;o7.exports.callCount=(u)=>{if(!g7.has(u))throw Error(`The given function \`${u.name}\` is not wrapped by the \`onetime\` package`);return g7.get(u)}});var bG=H((TG)=>{Object.defineProperty(TG,"__esModule",{value:!0});TG.SIGNALS=void 0;var HR=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];TG.SIGNALS=HR});var h$=H((cG)=>{Object.defineProperty(cG,"__esModule",{value:!0});cG.SIGRTMAX=cG.getRealtimeSignals=void 0;var VR=function(){let u=kG-RG+1;return Array.from({length:u},LR)};cG.getRealtimeSignals=VR;var LR=function(u,D){return{name:`SIGRT${D+1}`,number:RG+D,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}},RG=34,kG=64;cG.SIGRTMAX=kG});var pG=H((mG)=>{Object.defineProperty(mG,"__esModule",{value:!0});mG.getSignals=void 0;var wR=o("os"),iR=bG(),OR=h$(),AR=function(){let u=(0,OR.getRealtimeSignals)();return[...iR.SIGNALS,...u].map(NR)};mG.getSignals=AR;var NR=function({name:u,number:D,description:F,action:$,forced:B=!1,standard:z}){let{signals:{[u]:Z}}=wR.constants,q=Z!==void 0;return{name:u,number:q?Z:D,description:F,supported:q,action:$,forced:B,standard:z}}});var oG=H((dG)=>{Object.defineProperty(dG,"__esModule",{value:!0});dG.signalsByNumber=dG.signalsByName=void 0;var jR=o("os"),lG=pG(),IR=h$(),ER=function(){return(0,lG.getSignals)().reduce(CR,{})},CR=function(u,{name:D,number:F,description:$,supported:B,action:z,forced:Z,standard:q}){return{...u,[D]:{name:D,number:F,description:$,supported:B,action:z,forced:Z,standard:q}}},PR=ER();dG.signalsByName=PR;var vR=function(){let u=(0,lG.getSignals)(),D=IR.SIGRTMAX+1,F=Array.from({length:D},($,B)=>_R(B,u));return Object.assign({},...F)},_R=function(u,D){let F=UR(u,D);if(F===void 0)return{};let{name:$,description:B,supported:z,action:Z,forced:q,standard:X}=F;return{[u]:{name:$,number:u,description:B,supported:z,action:Z,forced:q,standard:X}}},UR=function(u,D){let F=D.find(({name:$})=>jR.constants.signals[$]===u);if(F!==void 0)return F;return D.find(($)=>$.number===u)},SR=vR();dG.signalsByNumber=SR});var aG=H((A20,sG)=>{var{signalsByName:yR}=oG(),bR=({timedOut:u,timeout:D,errorCode:F,signal:$,signalDescription:B,exitCode:z,isCanceled:Z})=>{if(u)return`timed out after ${D} milliseconds`;if(Z)return"was canceled";if(F!==void 0)return`failed with ${F}`;if($!==void 0)return`was killed with ${$} (${B})`;if(z!==void 0)return`failed with exit code ${z}`;return"failed"},RR=({stdout:u,stderr:D,all:F,error:$,signal:B,exitCode:z,command:Z,escapedCommand:q,timedOut:X,isCanceled:Q,killed:Y,parsed:{options:{timeout:W}}})=>{z=z===null?void 0:z,B=B===null?void 0:B;let J=B===void 0?void 0:yR[B].description,G=$&&$.code,K=`Command ${bR({timedOut:X,timeout:W,errorCode:G,signal:B,signalDescription:J,exitCode:z,isCanceled:Q})}: ${Z}`,x=Object.prototype.toString.call($)==="[object Error]",M=x?`${K}
42
+ ${$.message}`:K,L=[M,D,u].filter(Boolean).join(`
43
+ `);if(x)$.originalMessage=$.message,$.message=L;else $=Error(L);if($.shortMessage=M,$.command=Z,$.escapedCommand=q,$.exitCode=z,$.signal=B,$.signalDescription=J,$.stdout=u,$.stderr=D,F!==void 0)$.all=F;if("bufferedData"in $)delete $.bufferedData;return $.failed=!0,$.timedOut=Boolean(X),$.isCanceled=Q,$.killed=Y&&!X,$};sG.exports=RR});var tG=H((N20,m$)=>{var s7=["stdin","stdout","stderr"],kR=(u)=>s7.some((D)=>u[D]!==void 0),rG=(u)=>{if(!u)return;let{stdio:D}=u;if(D===void 0)return s7.map(($)=>u[$]);if(kR(u))throw Error(`It's not possible to provide \`stdio\` in combination with one of ${s7.map(($)=>`\`${$}\``).join(", ")}`);if(typeof D==="string")return D;if(!Array.isArray(D))throw TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof D}\``);let F=Math.max(D.length,s7.length);return Array.from({length:F},($,B)=>D[B])};m$.exports=rG;m$.exports.node=(u)=>{let D=rG(u);if(D==="ipc")return"ipc";if(D===void 0||typeof D==="string")return[D,D,D,"ipc"];if(D.includes("ipc"))return D;return[...D,"ipc"]}});var eG=H((j20,a7)=>{a7.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32")a7.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")a7.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var uf=H((I20,K6)=>{var r0=global.process,wF=function(u){return u&&typeof u==="object"&&typeof u.removeListener==="function"&&typeof u.emit==="function"&&typeof u.reallyExit==="function"&&typeof u.listeners==="function"&&typeof u.kill==="function"&&typeof u.pid==="number"&&typeof u.on==="function"};if(!wF(r0))K6.exports=function(){return function(){}};else{if(n$=o("assert"),iF=eG(),p$=/^win/i.test(r0.platform),f6=o("events"),typeof f6!=="function")f6=f6.EventEmitter;if(r0.__signal_exit_emitter__)xu=r0.__signal_exit_emitter__;else xu=r0.__signal_exit_emitter__=new f6,xu.count=0,xu.emitted={};if(!xu.infinite)xu.setMaxListeners(1/0),xu.infinite=!0;K6.exports=function(u,D){if(!wF(global.process))return function(){};if(n$.equal(typeof u,"function","a callback must be provided for exit handler"),OF===!1)r7();var F="exit";if(D&&D.alwaysLast)F="afterexit";var $=function(){if(xu.removeListener(F,u),xu.listeners("exit").length===0&&xu.listeners("afterexit").length===0)U8()};return xu.on(F,u),$},U8=function(){if(!OF||!wF(global.process))return;OF=!1,iF.forEach(function(D){try{r0.removeListener(D,S8[D])}catch(F){}}),r0.emit=T8,r0.reallyExit=t7,xu.count-=1},K6.exports.unload=U8,R1=function(D,F,$){if(xu.emitted[D])return;xu.emitted[D]=!0,xu.emit(D,F,$)},S8={},iF.forEach(function(u){S8[u]=function(){if(!wF(global.process))return;var F=r0.listeners(u);if(F.length===xu.count){if(U8(),R1("exit",null,u),R1("afterexit",null,u),p$&&u==="SIGHUP")u="SIGINT";r0.kill(r0.pid,u)}}}),K6.exports.signals=function(){return iF},OF=!1,r7=function(){if(OF||!wF(global.process))return;OF=!0,xu.count+=1,iF=iF.filter(function(D){try{return r0.on(D,S8[D]),!0}catch(F){return!1}}),r0.emit=d$,r0.reallyExit=l$},K6.exports.load=r7,t7=r0.reallyExit,l$=function(D){if(!wF(global.process))return;r0.exitCode=D||0,R1("exit",r0.exitCode,null),R1("afterexit",r0.exitCode,null),t7.call(r0,r0.exitCode)},T8=r0.emit,d$=function(D,F){if(D==="exit"&&wF(global.process)){if(F!==void 0)r0.exitCode=F;var $=T8.apply(this,arguments);return R1("exit",r0.exitCode,null),R1("afterexit",r0.exitCode,null),$}else return T8.apply(this,arguments)}}var n$,iF,p$,f6,xu,U8,R1,S8,OF,r7,t7,l$,T8,d$});var Ff=H((E20,Df)=>{var cR=o("os"),hR=uf(),mR=(u,D="SIGTERM",F={})=>{let $=u(D);return nR(u,D,F,$),$},nR=(u,D,F,$)=>{if(!pR(D,F,$))return;let B=dR(F),z=setTimeout(()=>{u("SIGKILL")},B);if(z.unref)z.unref()},pR=(u,{forceKillAfterTimeout:D},F)=>{return lR(u)&&D!==!1&&F},lR=(u)=>{return u===cR.constants.signals.SIGTERM||typeof u==="string"&&u.toUpperCase()==="SIGTERM"},dR=({forceKillAfterTimeout:u=!0})=>{if(u===!0)return 5000;if(!Number.isFinite(u)||u<0)throw TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${u}\` (${typeof u})`);return u},gR=(u,D)=>{if(u.kill())D.isCanceled=!0},oR=(u,D,F)=>{u.kill(D),F(Object.assign(Error("Timed out"),{timedOut:!0,signal:D}))},sR=(u,{timeout:D,killSignal:F="SIGTERM"},$)=>{if(D===0||D===void 0)return $;let B,z=new Promise((q,X)=>{B=setTimeout(()=>{oR(u,F,X)},D)}),Z=$.finally(()=>{clearTimeout(B)});return Promise.race([z,Z])},aR=({timeout:u})=>{if(u!==void 0&&(!Number.isFinite(u)||u<0))throw TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${u}\` (${typeof u})`)},rR=async(u,{cleanup:D,detached:F},$)=>{if(!D||F)return $;let B=hR(()=>{u.kill()});return $.finally(()=>{B()})};Df.exports={spawnedKill:mR,spawnedCancel:gR,setupTimeout:sR,validateTimeout:aR,setExitHandler:rR}});var Bf=H((C20,$f)=>{var tD=(u)=>u!==null&&typeof u==="object"&&typeof u.pipe==="function";tD.writable=(u)=>tD(u)&&u.writable!==!1&&typeof u._write==="function"&&typeof u._writableState==="object";tD.readable=(u)=>tD(u)&&u.readable!==!1&&typeof u._read==="function"&&typeof u._readableState==="object";tD.duplex=(u)=>tD.writable(u)&&tD.readable(u);tD.transform=(u)=>tD.duplex(u)&&typeof u._transform==="function";$f.exports=tD});var Zf=H((P20,zf)=>{var{PassThrough:tR}=o("stream");zf.exports=(u)=>{u={...u};let{array:D}=u,{encoding:F}=u,$=F==="buffer",B=!1;if(D)B=!(F||$);else F=F||"utf8";if($)F=null;let z=new tR({objectMode:B});if(F)z.setEncoding(F);let Z=0,q=[];return z.on("data",(X)=>{if(q.push(X),B)Z=q.length;else Z+=X.length}),z.getBufferedValue=()=>{if(D)return q;return $?Buffer.concat(q,Z):q.join("")},z.getBufferedLength=()=>Z,z}});var qf=H((v20,y8)=>{var{constants:eR}=o("buffer"),uk=o("stream"),{promisify:Dk}=o("util"),Fk=Zf(),$k=Dk(uk.pipeline);class g$ extends Error{constructor(){super("maxBuffer exceeded");this.name="MaxBufferError"}}async function o$(u,D){if(!u)throw Error("Expected a stream");D={maxBuffer:1/0,...D};let{maxBuffer:F}=D,$=Fk(D);return await new Promise((B,z)=>{let Z=(q)=>{if(q&&$.getBufferedLength()<=eR.MAX_LENGTH)q.bufferedData=$.getBufferedValue();z(q)};(async()=>{try{await $k(u,$),B()}catch(q){Z(q)}})(),$.on("data",()=>{if($.getBufferedLength()>F)Z(new g$)})}),$.getBufferedValue()}y8.exports=o$;y8.exports.buffer=(u,D)=>o$(u,{...D,encoding:"buffer"});y8.exports.array=(u,D)=>o$(u,{...D,array:!0});y8.exports.MaxBufferError=g$});var Qf=H((_20,Xf)=>{var{PassThrough:Bk}=o("stream");Xf.exports=function(){var u=[],D=new Bk({objectMode:!0});return D.setMaxListeners(0),D.add=F,D.isEmpty=$,D.on("unpipe",B),Array.prototype.slice.call(arguments).forEach(F),D;function F(z){if(Array.isArray(z))return z.forEach(F),this;return u.push(z),z.once("end",B.bind(null,z)),z.once("error",D.emit.bind(D,"error")),z.pipe(D,{end:!1}),this}function $(){return u.length==0}function B(z){if(u=u.filter(function(Z){return Z!==z}),!u.length&&D.readable)D.end()}}});var Gf=H((U20,Jf)=>{var Wf=Bf(),Yf=qf(),zk=Qf(),Zk=(u,D)=>{if(D===void 0||u.stdin===void 0)return;if(Wf(D))D.pipe(u.stdin);else u.stdin.end(D)},qk=(u,{all:D})=>{if(!D||!u.stdout&&!u.stderr)return;let F=zk();if(u.stdout)F.add(u.stdout);if(u.stderr)F.add(u.stderr);return F},s$=async(u,D)=>{if(!u)return;u.destroy();try{return await D}catch(F){return F.bufferedData}},a$=(u,{encoding:D,buffer:F,maxBuffer:$})=>{if(!u||!F)return;if(D)return Yf(u,{encoding:D,maxBuffer:$});return Yf.buffer(u,{maxBuffer:$})},Xk=async({stdout:u,stderr:D,all:F},{encoding:$,buffer:B,maxBuffer:z},Z)=>{let q=a$(u,{encoding:$,buffer:B,maxBuffer:z}),X=a$(D,{encoding:$,buffer:B,maxBuffer:z}),Q=a$(F,{encoding:$,buffer:B,maxBuffer:z*2});try{return await Promise.all([Z,q,X,Q])}catch(Y){return Promise.all([{error:Y,signal:Y.signal,timedOut:Y.timedOut},s$(u,q),s$(D,X),s$(F,Q)])}},Qk=({input:u})=>{if(Wf(u))throw TypeError("The `input` option cannot be a stream in sync mode")};Jf.exports={handleInput:Zk,makeAllStream:qk,getSpawnedResult:Xk,validateInputSync:Qk}});var Kf=H((S20,ff)=>{var Yk=(async()=>{})().constructor.prototype,Wk=["then","catch","finally"].map((u)=>[u,Reflect.getOwnPropertyDescriptor(Yk,u)]),Jk=(u,D)=>{for(let[F,$]of Wk){let B=typeof D==="function"?(...z)=>Reflect.apply($.value,D(),z):$.value.bind(D);Reflect.defineProperty(u,F,{...$,value:B})}return u},Gk=(u)=>{return new Promise((D,F)=>{if(u.on("exit",($,B)=>{D({exitCode:$,signal:B})}),u.on("error",($)=>{F($)}),u.stdin)u.stdin.on("error",($)=>{F($)})})};ff.exports={mergePromise:Jk,getSpawnedPromise:Gk}});var Vf=H((T20,Hf)=>{var xf=(u,D=[])=>{if(!Array.isArray(D))return[u];return[u,...D]},fk=/^[\w.-]+$/,Kk=/"/g,xk=(u)=>{if(typeof u!=="string"||fk.test(u))return u;return`"${u.replace(Kk,"\\\"")}"`},Hk=(u,D)=>{return xf(u,D).join(" ")},Vk=(u,D)=>{return xf(u,D).map((F)=>xk(F)).join(" ")},Lk=/ +/g,Mk=(u)=>{let D=[];for(let F of u.trim().split(Lk)){let $=D[D.length-1];if($&&$.endsWith("\\"))D[D.length-1]=`${$.slice(0,-1)} ${F}`;else D.push(F)}return D};Hf.exports={joinCommand:Hk,getEscapedCommand:Vk,parseCommand:Mk}});var t$=H((y20,x6)=>{var wk=o("path"),r$=o("child_process"),ik=NG(),Ok=IG(),Ak=PG(),Nk=SG(),e7=aG(),Mf=tG(),{spawnedKill:jk,spawnedCancel:Ik,setupTimeout:Ek,validateTimeout:Ck,setExitHandler:Pk}=Ff(),{handleInput:vk,getSpawnedResult:_k,makeAllStream:Uk,validateInputSync:Sk}=Gf(),{mergePromise:Lf,getSpawnedPromise:Tk}=Kf(),{joinCommand:wf,parseCommand:Of,getEscapedCommand:Af}=Vf(),yk=({env:u,extendEnv:D,preferLocal:F,localDir:$,execPath:B})=>{let z=D?{...process.env,...u}:u;if(F)return Ak.env({env:z,cwd:$,execPath:B});return z},Nf=(u,D,F={})=>{let $=ik._parse(u,D,F);if(u=$.command,D=$.args,F=$.options,F={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:F.cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...F},F.env=yk(F),F.stdio=Mf(F),process.platform==="win32"&&wk.basename(u,".exe")==="cmd")D.unshift("/q");return{file:u,args:D,options:F,parsed:$}},b8=(u,D,F)=>{if(typeof D!=="string"&&!Buffer.isBuffer(D))return F===void 0?void 0:"";if(u.stripFinalNewline)return Ok(D);return D},u9=(u,D,F)=>{let $=Nf(u,D,F),B=wf(u,D),z=Af(u,D);Ck($.options);let Z;try{Z=r$.spawn($.file,$.args,$.options)}catch(G){let f=new r$.ChildProcess,K=Promise.reject(e7({error:G,stdout:"",stderr:"",all:"",command:B,escapedCommand:z,parsed:$,timedOut:!1,isCanceled:!1,killed:!1}));return Lf(f,K)}let q=Tk(Z),X=Ek(Z,$.options,q),Q=Pk(Z,$.options,X),Y={isCanceled:!1};Z.kill=jk.bind(null,Z.kill.bind(Z)),Z.cancel=Ik.bind(null,Z,Y);let J=Nk(async()=>{let[{error:G,exitCode:f,signal:K,timedOut:x},M,L,j]=await _k(Z,$.options,Q),U=b8($.options,M),I=b8($.options,L),S=b8($.options,j);if(G||f!==0||K!==null){let k=e7({error:G,exitCode:f,signal:K,stdout:U,stderr:I,all:S,command:B,escapedCommand:z,parsed:$,timedOut:x,isCanceled:Y.isCanceled,killed:Z.killed});if(!$.options.reject)return k;throw k}return{command:B,escapedCommand:z,exitCode:0,stdout:U,stderr:I,all:S,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}});return vk(Z,$.options.input),Z.all=Uk(Z,$.options),Lf(Z,J)};x6.exports=u9;x6.exports.sync=(u,D,F)=>{let $=Nf(u,D,F),B=wf(u,D),z=Af(u,D);Sk($.options);let Z;try{Z=r$.spawnSync($.file,$.args,$.options)}catch(Q){throw e7({error:Q,stdout:"",stderr:"",all:"",command:B,escapedCommand:z,parsed:$,timedOut:!1,isCanceled:!1,killed:!1})}let q=b8($.options,Z.stdout,Z.error),X=b8($.options,Z.stderr,Z.error);if(Z.error||Z.status!==0||Z.signal!==null){let Q=e7({stdout:q,stderr:X,error:Z.error,signal:Z.signal,exitCode:Z.status,command:B,escapedCommand:z,parsed:$,timedOut:Z.error&&Z.error.code==="ETIMEDOUT",isCanceled:!1,killed:Z.signal!==null});if(!$.options.reject)return Q;throw Q}return{command:B,escapedCommand:z,exitCode:0,stdout:q,stderr:X,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}};x6.exports.command=(u,D)=>{let[F,...$]=Of(u);return u9(F,$,D)};x6.exports.commandSync=(u,D)=>{let[F,...$]=Of(u);return u9.sync(F,$,D)};x6.exports.node=(u,D,F={})=>{if(D&&!Array.isArray(D)&&typeof D==="object")F=D,D=[];let $=Mf.node(F),B=process.execArgv.filter((q)=>!q.startsWith("--inspect")),{nodePath:z=process.execPath,nodeOptions:Z=B}=F;return u9(z,[...Z,u,...Array.isArray(D)?D:[]],{...F,stdin:void 0,stdout:void 0,stderr:void 0,stdio:$,shell:!1})}});var bf=H((Tf)=>{Object.defineProperty(Tf,"__esModule",{value:!0});Tf.splitWhen=Tf.flatten=void 0;function ak(u){return u.reduce((D,F)=>[].concat(D,F),[])}Tf.flatten=ak;function rk(u,D){let F=[[]],$=0;for(let B of u)if(D(B))$++,F[$]=[];else F[$].push(B);return F}Tf.splitWhen=rk});var cf=H((Rf)=>{Object.defineProperty(Rf,"__esModule",{value:!0});Rf.isEnoentCodeError=void 0;function ek(u){return u.code==="ENOENT"}Rf.isEnoentCodeError=ek});var pf=H((mf)=>{Object.defineProperty(mf,"__esModule",{value:!0});mf.createDirentFromStats=void 0;class hf{constructor(u,D){this.name=u,this.isBlockDevice=D.isBlockDevice.bind(D),this.isCharacterDevice=D.isCharacterDevice.bind(D),this.isDirectory=D.isDirectory.bind(D),this.isFIFO=D.isFIFO.bind(D),this.isFile=D.isFile.bind(D),this.isSocket=D.isSocket.bind(D),this.isSymbolicLink=D.isSymbolicLink.bind(D)}}function uc(u,D){return new hf(u,D)}mf.createDirentFromStats=uc});var af=H((of)=>{Object.defineProperty(of,"__esModule",{value:!0});of.convertPosixPathToPattern=of.convertWindowsPathToPattern=of.convertPathToPattern=of.escapePosixPath=of.escapeWindowsPath=of.escape=of.removeLeadingDotSegment=of.makeAbsolute=of.unixify=void 0;var Dc=o("os"),Fc=o("path"),lf=Dc.platform()==="win32",$c=2,Bc=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,zc=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,Zc=/^\\\\([.?])/,qc=/\\(?![!()+@[\]{}])/g;function Xc(u){return u.replace(/\\/g,"/")}of.unixify=Xc;function Qc(u,D){return Fc.resolve(u,D)}of.makeAbsolute=Qc;function Yc(u){if(u.charAt(0)==="."){let D=u.charAt(1);if(D==="/"||D==="\\")return u.slice($c)}return u}of.removeLeadingDotSegment=Yc;of.escape=lf?$2:B2;function $2(u){return u.replace(zc,"\\$2")}of.escapeWindowsPath=$2;function B2(u){return u.replace(Bc,"\\$2")}of.escapePosixPath=B2;of.convertPathToPattern=lf?df:gf;function df(u){return $2(u).replace(Zc,"//$1").replace(qc,"/")}of.convertWindowsPathToPattern=df;function gf(u){return B2(u)}of.convertPosixPathToPattern=gf});var tf=H((s20,rf)=>{/*!
44
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
45
+ *
46
+ * Copyright (c) 2014-2016, Jon Schlinkert.
47
+ * Licensed under the MIT License.
48
+ */rf.exports=function(D){if(typeof D!=="string"||D==="")return!1;var F;while(F=/(\\).|([@?!+*]\(.*\))/g.exec(D)){if(F[2])return!0;D=D.slice(F.index+F[0].length)}return!1}});var DK=H((a20,uK)=>{/*!
49
+ * is-glob <https://github.com/jonschlinkert/is-glob>
50
+ *
51
+ * Copyright (c) 2014-2017, Jon Schlinkert.
52
+ * Released under the MIT License.
53
+ */var Lc=tf(),ef={"{":"}","(":")","[":"]"},Mc=function(u){if(u[0]==="!")return!0;var D=0,F=-2,$=-2,B=-2,z=-2,Z=-2;while(D<u.length){if(u[D]==="*")return!0;if(u[D+1]==="?"&&/[\].+)]/.test(u[D]))return!0;if($!==-1&&u[D]==="["&&u[D+1]!=="]"){if($<D)$=u.indexOf("]",D);if($>D){if(Z===-1||Z>$)return!0;if(Z=u.indexOf("\\",D),Z===-1||Z>$)return!0}}if(B!==-1&&u[D]==="{"&&u[D+1]!=="}"){if(B=u.indexOf("}",D),B>D){if(Z=u.indexOf("\\",D),Z===-1||Z>B)return!0}}if(z!==-1&&u[D]==="("&&u[D+1]==="?"&&/[:!=]/.test(u[D+2])&&u[D+3]!==")"){if(z=u.indexOf(")",D),z>D){if(Z=u.indexOf("\\",D),Z===-1||Z>z)return!0}}if(F!==-1&&u[D]==="("&&u[D+1]!=="|"){if(F<D)F=u.indexOf("|",D);if(F!==-1&&u[F+1]!==")"){if(z=u.indexOf(")",F),z>F){if(Z=u.indexOf("\\",F),Z===-1||Z>z)return!0}}}if(u[D]==="\\"){var q=u[D+1];D+=2;var X=ef[q];if(X){var Q=u.indexOf(X,D);if(Q!==-1)D=Q+1}if(u[D]==="!")return!0}else D++}return!1},wc=function(u){if(u[0]==="!")return!0;var D=0;while(D<u.length){if(/[*?{}()[\]]/.test(u[D]))return!0;if(u[D]==="\\"){var F=u[D+1];D+=2;var $=ef[F];if($){var B=u.indexOf($,D);if(B!==-1)D=B+1}if(u[D]==="!")return!0}else D++}return!1};uK.exports=function(D,F){if(typeof D!=="string"||D==="")return!1;if(Lc(D))return!0;var $=Mc;if(F&&F.strict===!1)$=wc;return $(D)}});var $K=H((r20,FK)=>{var ic=DK(),Oc=o("path").posix.dirname,Ac=o("os").platform()==="win32",z2="/",Nc=/\\/g,jc=/[\{\[].*[\}\]]$/,Ic=/(^|[^\\])([\{\[]|\([^\)]+$)/,Ec=/\\([\!\*\?\|\[\]\(\)\{\}])/g;FK.exports=function(D,F){var $=Object.assign({flipBackslashes:!0},F);if($.flipBackslashes&&Ac&&D.indexOf(z2)<0)D=D.replace(Nc,z2);if(jc.test(D))D+=z2;D+="a";do D=Oc(D);while(ic(D)||Ic.test(D));return D.replace(Ec,"$1")}});var F9=H((Cc)=>{Cc.isInteger=(u)=>{if(typeof u==="number")return Number.isInteger(u);if(typeof u==="string"&&u.trim()!=="")return Number.isInteger(Number(u));return!1};Cc.find=(u,D)=>u.nodes.find((F)=>F.type===D);Cc.exceedsLimit=(u,D,F=1,$)=>{if($===!1)return!1;if(!Cc.isInteger(u)||!Cc.isInteger(D))return!1;return(Number(D)-Number(u))/Number(F)>=$};Cc.escapeNode=(u,D=0,F)=>{let $=u.nodes[D];if(!$)return;if(F&&$.type===F||$.type==="open"||$.type==="close"){if($.escaped!==!0)$.value="\\"+$.value,$.escaped=!0}};Cc.encloseBrace=(u)=>{if(u.type!=="brace")return!1;if(u.commas>>0+u.ranges>>0===0)return u.invalid=!0,!0;return!1};Cc.isInvalidBrace=(u)=>{if(u.type!=="brace")return!1;if(u.invalid===!0||u.dollar)return!0;if(u.commas>>0+u.ranges>>0===0)return u.invalid=!0,!0;if(u.open!==!0||u.close!==!0)return u.invalid=!0,!0;return!1};Cc.isOpenOrClose=(u)=>{if(u.type==="open"||u.type==="close")return!0;return u.open===!0||u.close===!0};Cc.reduce=(u)=>u.reduce((D,F)=>{if(F.type==="text")D.push(F.value);if(F.type==="range")F.type="text";return D},[]);Cc.flatten=(...u)=>{let D=[],F=($)=>{for(let B=0;B<$.length;B++){let z=$[B];if(Array.isArray(z)){F(z);continue}if(z!==void 0)D.push(z)}return D};return F(u),D}});var $9=H((e20,zK)=>{var BK=F9();zK.exports=(u,D={})=>{let F=($,B={})=>{let z=D.escapeInvalid&&BK.isInvalidBrace(B),Z=$.invalid===!0&&D.escapeInvalid===!0,q="";if($.value){if((z||Z)&&BK.isOpenOrClose($))return"\\"+$.value;return $.value}if($.value)return $.value;if($.nodes)for(let X of $.nodes)q+=F(X);return q};return F(u)}});var qK=H((uB0,ZK)=>{/*!
54
+ * is-number <https://github.com/jonschlinkert/is-number>
55
+ *
56
+ * Copyright (c) 2014-present, Jon Schlinkert.
57
+ * Released under the MIT License.
58
+ */ZK.exports=function(u){if(typeof u==="number")return u-u===0;if(typeof u==="string"&&u.trim()!=="")return Number.isFinite?Number.isFinite(+u):isFinite(+u);return!1}});var xK=H((DB0,KK)=>{/*!
59
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
60
+ *
61
+ * Copyright (c) 2015-present, Jon Schlinkert.
62
+ * Released under the MIT License.
63
+ */var XK=qK(),AF=(u,D,F)=>{if(XK(u)===!1)throw TypeError("toRegexRange: expected the first argument to be a number");if(D===void 0||u===D)return String(u);if(XK(D)===!1)throw TypeError("toRegexRange: expected the second argument to be a number.");let $={relaxZeros:!0,...F};if(typeof $.strictZeros==="boolean")$.relaxZeros=$.strictZeros===!1;let B=String($.relaxZeros),z=String($.shorthand),Z=String($.capture),q=String($.wrap),X=u+":"+D+"="+B+z+Z+q;if(AF.cache.hasOwnProperty(X))return AF.cache[X].result;let Q=Math.min(u,D),Y=Math.max(u,D);if(Math.abs(Q-Y)===1){let K=u+"|"+D;if($.capture)return`(${K})`;if($.wrap===!1)return K;return`(?:${K})`}let W=fK(u)||fK(D),J={min:u,max:D,a:Q,b:Y},G=[],f=[];if(W)J.isPadded=W,J.maxLen=String(J.max).length;if(Q<0){let K=Y<0?Math.abs(Y):1;f=QK(K,Math.abs(Q),J,$),Q=J.a=0}if(Y>=0)G=QK(Q,Y,J,$);if(J.negatives=f,J.positives=G,J.result=Rc(f,G,$),$.capture===!0)J.result=`(${J.result})`;else if($.wrap!==!1&&G.length+f.length>1)J.result=`(?:${J.result})`;return AF.cache[X]=J,J.result};function Rc(u,D,F){let $=q2(u,D,"-",!1,F)||[],B=q2(D,u,"",!1,F)||[],z=q2(u,D,"-?",!0,F)||[];return $.concat(z).concat(B).join("|")}function kc(u,D){let F=1,$=1,B=WK(u,F),z=new Set([D]);while(u<=B&&B<=D)z.add(B),F+=1,B=WK(u,F);B=JK(D+1,$)-1;while(u<B&&B<=D)z.add(B),$+=1,B=JK(D+1,$)-1;return z=[...z],z.sort(mc),z}function cc(u,D,F){if(u===D)return{pattern:u,count:[],digits:0};let $=hc(u,D),B=$.length,z="",Z=0;for(let q=0;q<B;q++){let[X,Q]=$[q];if(X===Q)z+=X;else if(X!=="0"||Q!=="9")z+=nc(X,Q,F);else Z++}if(Z)z+=F.shorthand===!0?"\\d":"[0-9]";return{pattern:z,count:[Z],digits:B}}function QK(u,D,F,$){let B=kc(u,D),z=[],Z=u,q;for(let X=0;X<B.length;X++){let Q=B[X],Y=cc(String(Z),String(Q),$),W="";if(!F.isPadded&&q&&q.pattern===Y.pattern){if(q.count.length>1)q.count.pop();q.count.push(Y.count[0]),q.string=q.pattern+GK(q.count),Z=Q+1;continue}if(F.isPadded)W=pc(Q,F,$);Y.string=W+Y.pattern+GK(Y.count),z.push(Y),Z=Q+1,q=Y}return z}function q2(u,D,F,$,B){let z=[];for(let Z of u){let{string:q}=Z;if(!$&&!YK(D,"string",q))z.push(F+q);if($&&YK(D,"string",q))z.push(F+q)}return z}function hc(u,D){let F=[];for(let $=0;$<u.length;$++)F.push([u[$],D[$]]);return F}function mc(u,D){return u>D?1:D>u?-1:0}function YK(u,D,F){return u.some(($)=>$[D]===F)}function WK(u,D){return Number(String(u).slice(0,-D)+"9".repeat(D))}function JK(u,D){return u-u%Math.pow(10,D)}function GK(u){let[D=0,F=""]=u;if(F||D>1)return`{${D+(F?","+F:"")}}`;return""}function nc(u,D,F){return`[${u}${D-u===1?"":"-"}${D}]`}function fK(u){return/^-?(0+)\d/.test(u)}function pc(u,D,F){if(!D.isPadded)return u;let $=Math.abs(D.maxLen-String(u).length),B=F.relaxZeros!==!1;switch($){case 0:return"";case 1:return B?"0?":"0";case 2:return B?"0{0,2}":"00";default:return B?`0{0,${$}}`:`0{${$}}`}}AF.cache={};AF.clearCache=()=>AF.cache={};KK.exports=AF});var Y2=H((FB0,OK)=>{/*!
64
+ * fill-range <https://github.com/jonschlinkert/fill-range>
65
+ *
66
+ * Copyright (c) 2014-present, Jon Schlinkert.
67
+ * Licensed under the MIT License.
68
+ */var lc=o("util"),VK=xK(),HK=(u)=>u!==null&&typeof u==="object"&&!Array.isArray(u),dc=(u)=>{return(D)=>u===!0?Number(D):String(D)},X2=(u)=>{return typeof u==="number"||typeof u==="string"&&u!==""},R8=(u)=>Number.isInteger(+u),Q2=(u)=>{let D=`${u}`,F=-1;if(D[0]==="-")D=D.slice(1);if(D==="0")return!1;while(D[++F]==="0");return F>0},gc=(u,D,F)=>{if(typeof u==="string"||typeof D==="string")return!0;return F.stringify===!0},oc=(u,D,F)=>{if(D>0){let $=u[0]==="-"?"-":"";if($)u=u.slice(1);u=$+u.padStart($?D-1:D,"0")}if(F===!1)return String(u);return u},z9=(u,D)=>{let F=u[0]==="-"?"-":"";if(F)u=u.slice(1),D--;while(u.length<D)u="0"+u;return F?"-"+u:u},sc=(u,D,F)=>{u.negatives.sort((q,X)=>q<X?-1:q>X?1:0),u.positives.sort((q,X)=>q<X?-1:q>X?1:0);let $=D.capture?"":"?:",B="",z="",Z;if(u.positives.length)B=u.positives.map((q)=>z9(String(q),F)).join("|");if(u.negatives.length)z=`-(${$}${u.negatives.map((q)=>z9(String(q),F)).join("|")})`;if(B&&z)Z=`${B}|${z}`;else Z=B||z;if(D.wrap)return`(${$}${Z})`;return Z},LK=(u,D,F,$)=>{if(F)return VK(u,D,{wrap:!1,...$});let B=String.fromCharCode(u);if(u===D)return B;let z=String.fromCharCode(D);return`[${B}-${z}]`},MK=(u,D,F)=>{if(Array.isArray(u)){let $=F.wrap===!0,B=F.capture?"":"?:";return $?`(${B}${u.join("|")})`:u.join("|")}return VK(u,D,F)},wK=(...u)=>{return RangeError("Invalid range arguments: "+lc.inspect(...u))},iK=(u,D,F)=>{if(F.strictRanges===!0)throw wK([u,D]);return[]},ac=(u,D)=>{if(D.strictRanges===!0)throw TypeError(`Expected step "${u}" to be a number`);return[]},rc=(u,D,F=1,$={})=>{let B=Number(u),z=Number(D);if(!Number.isInteger(B)||!Number.isInteger(z)){if($.strictRanges===!0)throw wK([u,D]);return[]}if(B===0)B=0;if(z===0)z=0;let Z=B>z,q=String(u),X=String(D),Q=String(F);F=Math.max(Math.abs(F),1);let Y=Q2(q)||Q2(X)||Q2(Q),W=Y?Math.max(q.length,X.length,Q.length):0,J=Y===!1&&gc(u,D,$)===!1,G=$.transform||dc(J);if($.toRegex&&F===1)return LK(z9(u,W),z9(D,W),!0,$);let f={negatives:[],positives:[]},K=(L)=>f[L<0?"negatives":"positives"].push(Math.abs(L)),x=[],M=0;while(Z?B>=z:B<=z){if($.toRegex===!0&&F>1)K(B);else x.push(oc(G(B,M),W,J));B=Z?B-F:B+F,M++}if($.toRegex===!0)return F>1?sc(f,$,W):MK(x,null,{wrap:!1,...$});return x},tc=(u,D,F=1,$={})=>{if(!R8(u)&&u.length>1||!R8(D)&&D.length>1)return iK(u,D,$);let B=$.transform||((J)=>String.fromCharCode(J)),z=`${u}`.charCodeAt(0),Z=`${D}`.charCodeAt(0),q=z>Z,X=Math.min(z,Z),Q=Math.max(z,Z);if($.toRegex&&F===1)return LK(X,Q,!1,$);let Y=[],W=0;while(q?z>=Z:z<=Z)Y.push(B(z,W)),z=q?z-F:z+F,W++;if($.toRegex===!0)return MK(Y,null,{wrap:!1,options:$});return Y},B9=(u,D,F,$={})=>{if(D==null&&X2(u))return[u];if(!X2(u)||!X2(D))return iK(u,D,$);if(typeof F==="function")return B9(u,D,1,{transform:F});if(HK(F))return B9(u,D,0,F);let B={...$};if(B.capture===!0)B.wrap=!0;if(F=F||B.step||1,!R8(F)){if(F!=null&&!HK(F))return ac(F,B);return B9(u,D,1,F)}if(R8(u)&&R8(D))return rc(u,D,F,B);return tc(u,D,Math.max(Math.abs(F),1),B)};OK.exports=B9});var jK=H(($B0,NK)=>{var ec=Y2(),AK=F9(),uh=(u,D={})=>{let F=($,B={})=>{let z=AK.isInvalidBrace(B),Z=$.invalid===!0&&D.escapeInvalid===!0,q=z===!0||Z===!0,X=D.escapeInvalid===!0?"\\":"",Q="";if($.isOpen===!0)return X+$.value;if($.isClose===!0)return console.log("node.isClose",X,$.value),X+$.value;if($.type==="open")return q?X+$.value:"(";if($.type==="close")return q?X+$.value:")";if($.type==="comma")return $.prev.type==="comma"?"":q?$.value:"|";if($.value)return $.value;if($.nodes&&$.ranges>0){let Y=AK.reduce($.nodes),W=ec(...Y,{...D,wrap:!1,toRegex:!0,strictZeros:!0});if(W.length!==0)return Y.length>1&&W.length>1?`(${W})`:W}if($.nodes)for(let Y of $.nodes)Q+=F(Y,$);return Q};return F(u)};NK.exports=uh});var CK=H((BB0,EK)=>{var Dh=Y2(),IK=$9(),V6=F9(),NF=(u="",D="",F=!1)=>{let $=[];if(u=[].concat(u),D=[].concat(D),!D.length)return u;if(!u.length)return F?V6.flatten(D).map((B)=>`{${B}}`):D;for(let B of u)if(Array.isArray(B))for(let z of B)$.push(NF(z,D,F));else for(let z of D){if(F===!0&&typeof z==="string")z=`{${z}}`;$.push(Array.isArray(z)?NF(B,z,F):B+z)}return V6.flatten($)},Fh=(u,D={})=>{let F=D.rangeLimit===void 0?1000:D.rangeLimit,$=(B,z={})=>{B.queue=[];let Z=z,q=z.queue;while(Z.type!=="brace"&&Z.type!=="root"&&Z.parent)Z=Z.parent,q=Z.queue;if(B.invalid||B.dollar){q.push(NF(q.pop(),IK(B,D)));return}if(B.type==="brace"&&B.invalid!==!0&&B.nodes.length===2){q.push(NF(q.pop(),["{}"]));return}if(B.nodes&&B.ranges>0){let W=V6.reduce(B.nodes);if(V6.exceedsLimit(...W,D.step,F))throw RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let J=Dh(...W,D);if(J.length===0)J=IK(B,D);q.push(NF(q.pop(),J)),B.nodes=[];return}let X=V6.encloseBrace(B),Q=B.queue,Y=B;while(Y.type!=="brace"&&Y.type!=="root"&&Y.parent)Y=Y.parent,Q=Y.queue;for(let W=0;W<B.nodes.length;W++){let J=B.nodes[W];if(J.type==="comma"&&B.type==="brace"){if(W===1)Q.push("");Q.push("");continue}if(J.type==="close"){q.push(NF(q.pop(),Q,X));continue}if(J.value&&J.type!=="open"){Q.push(NF(Q.pop(),J.value));continue}if(J.nodes)$(J,B)}return Q};return V6.flatten($(u))};EK.exports=Fh});var vK=H((zB0,PK)=>{PK.exports={MAX_LENGTH:1e4,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
69
+ `,CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var yK=H((ZB0,TK)=>{var $h=$9(),{MAX_LENGTH:_K,CHAR_BACKSLASH:W2,CHAR_BACKTICK:Bh,CHAR_COMMA:zh,CHAR_DOT:Zh,CHAR_LEFT_PARENTHESES:qh,CHAR_RIGHT_PARENTHESES:Xh,CHAR_LEFT_CURLY_BRACE:Qh,CHAR_RIGHT_CURLY_BRACE:Yh,CHAR_LEFT_SQUARE_BRACKET:UK,CHAR_RIGHT_SQUARE_BRACKET:SK,CHAR_DOUBLE_QUOTE:Wh,CHAR_SINGLE_QUOTE:Jh,CHAR_NO_BREAK_SPACE:Gh,CHAR_ZERO_WIDTH_NOBREAK_SPACE:fh}=vK(),Kh=(u,D={})=>{if(typeof u!=="string")throw TypeError("Expected a string");let F=D||{},$=typeof F.maxLength==="number"?Math.min(_K,F.maxLength):_K;if(u.length>$)throw SyntaxError(`Input length (${u.length}), exceeds max characters (${$})`);let B={type:"root",input:u,nodes:[]},z=[B],Z=B,q=B,X=0,Q=u.length,Y=0,W=0,J,G=()=>u[Y++],f=(K)=>{if(K.type==="text"&&q.type==="dot")q.type="text";if(q&&q.type==="text"&&K.type==="text"){q.value+=K.value;return}return Z.nodes.push(K),K.parent=Z,K.prev=q,q=K,K};f({type:"bos"});while(Y<Q){if(Z=z[z.length-1],J=G(),J===fh||J===Gh)continue;if(J===W2){f({type:"text",value:(D.keepEscaping?J:"")+G()});continue}if(J===SK){f({type:"text",value:"\\"+J});continue}if(J===UK){X++;let K;while(Y<Q&&(K=G())){if(J+=K,K===UK){X++;continue}if(K===W2){J+=G();continue}if(K===SK){if(X--,X===0)break}}f({type:"text",value:J});continue}if(J===qh){Z=f({type:"paren",nodes:[]}),z.push(Z),f({type:"text",value:J});continue}if(J===Xh){if(Z.type!=="paren"){f({type:"text",value:J});continue}Z=z.pop(),f({type:"text",value:J}),Z=z[z.length-1];continue}if(J===Wh||J===Jh||J===Bh){let K=J,x;if(D.keepQuotes!==!0)J="";while(Y<Q&&(x=G())){if(x===W2){J+=x+G();continue}if(x===K){if(D.keepQuotes===!0)J+=x;break}J+=x}f({type:"text",value:J});continue}if(J===Qh){W++;let x={type:"brace",open:!0,close:!1,dollar:q.value&&q.value.slice(-1)==="$"||Z.dollar===!0,depth:W,commas:0,ranges:0,nodes:[]};Z=f(x),z.push(Z),f({type:"open",value:J});continue}if(J===Yh){if(Z.type!=="brace"){f({type:"text",value:J});continue}let K="close";Z=z.pop(),Z.close=!0,f({type:K,value:J}),W--,Z=z[z.length-1];continue}if(J===zh&&W>0){if(Z.ranges>0){Z.ranges=0;let K=Z.nodes.shift();Z.nodes=[K,{type:"text",value:$h(Z)}]}f({type:"comma",value:J}),Z.commas++;continue}if(J===Zh&&W>0&&Z.commas===0){let K=Z.nodes;if(W===0||K.length===0){f({type:"text",value:J});continue}if(q.type==="dot"){if(Z.range=[],q.value+=J,q.type="range",Z.nodes.length!==3&&Z.nodes.length!==5){Z.invalid=!0,Z.ranges=0,q.type="text";continue}Z.ranges++,Z.args=[];continue}if(q.type==="range"){K.pop();let x=K[K.length-1];x.value+=q.value+J,q=x,Z.ranges--;continue}f({type:"dot",value:J});continue}f({type:"text",value:J})}do if(Z=z.pop(),Z.type!=="root"){Z.nodes.forEach((M)=>{if(!M.nodes){if(M.type==="open")M.isOpen=!0;if(M.type==="close")M.isClose=!0;if(!M.nodes)M.type="text";M.invalid=!0}});let K=z[z.length-1],x=K.nodes.indexOf(Z);K.nodes.splice(x,1,...Z.nodes)}while(z.length>0);return f({type:"eos"}),B};TK.exports=Kh});var kK=H((qB0,RK)=>{var bK=$9(),xh=jK(),Hh=CK(),Vh=yK(),ZD=(u,D={})=>{let F=[];if(Array.isArray(u))for(let $ of u){let B=ZD.create($,D);if(Array.isArray(B))F.push(...B);else F.push(B)}else F=[].concat(ZD.create(u,D));if(D&&D.expand===!0&&D.nodupes===!0)F=[...new Set(F)];return F};ZD.parse=(u,D={})=>Vh(u,D);ZD.stringify=(u,D={})=>{if(typeof u==="string")return bK(ZD.parse(u,D),D);return bK(u,D)};ZD.compile=(u,D={})=>{if(typeof u==="string")u=ZD.parse(u,D);return xh(u,D)};ZD.expand=(u,D={})=>{if(typeof u==="string")u=ZD.parse(u,D);let F=Hh(u,D);if(D.noempty===!0)F=F.filter(Boolean);if(D.nodupes===!0)F=[...new Set(F)];return F};ZD.create=(u,D={})=>{if(u===""||u.length<3)return[u];return D.expand!==!0?ZD.compile(u,D):ZD.expand(u,D)};RK.exports=ZD});var k8=H((XB0,hK)=>{var Lh=o("path"),cK={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:"(?=.)",QMARK:"[^/]",END_ANCHOR:"(?:\\/|$)",DOTS_SLASH:"\\.{1,2}(?:\\/|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|\\/)\\.{1,2}(?:\\/|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:\\/|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:\\/|$))",QMARK_NO_DOT:"[^.\\/]",STAR:"[^/]*?",START_ANCHOR:"(?:^|\\/)"},Mh={...cK,SLASH_LITERAL:"[\\\\/]",QMARK:"[^\\\\/]",STAR:"[^\\\\/]*?",DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)"},wh={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};hK.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:wh,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Lh.sep,extglobChars(u){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${u.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(u){return u===!0?Mh:cK}}});var c8=H((Eh)=>{var ih=o("path"),Oh=process.platform==="win32",{REGEX_BACKSLASH:Ah,REGEX_REMOVE_BACKSLASH:Nh,REGEX_SPECIAL_CHARS:jh,REGEX_SPECIAL_CHARS_GLOBAL:Ih}=k8();Eh.isObject=(u)=>u!==null&&typeof u==="object"&&!Array.isArray(u);Eh.hasRegexChars=(u)=>jh.test(u);Eh.isRegexChar=(u)=>u.length===1&&Eh.hasRegexChars(u);Eh.escapeRegex=(u)=>u.replace(Ih,"\\$1");Eh.toPosixSlashes=(u)=>u.replace(Ah,"/");Eh.removeBackslashes=(u)=>{return u.replace(Nh,(D)=>{return D==="\\"?"":D})};Eh.supportsLookbehinds=()=>{let u=process.version.slice(1).split(".").map(Number);if(u.length===3&&u[0]>=9||u[0]===8&&u[1]>=10)return!0;return!1};Eh.isWindows=(u)=>{if(u&&typeof u.windows==="boolean")return u.windows;return Oh===!0||ih.sep==="\\"};Eh.escapeLast=(u,D,F)=>{let $=u.lastIndexOf(D,F);if($===-1)return u;if(u[$-1]==="\\")return Eh.escapeLast(u,D,$-1);return`${u.slice(0,$)}\\${u.slice($)}`};Eh.removePrefix=(u,D={})=>{let F=u;if(F.startsWith("./"))F=F.slice(2),D.prefix="./";return F};Eh.wrapOutput=(u,D={},F={})=>{let $=F.contains?"":"^",B=F.contains?"":"$",z=`${$}(?:${u})${B}`;if(D.negated===!0)z=`(?:^(?!${z}).*$)`;return z}});var rK=H((YB0,aK)=>{var pK=c8(),{CHAR_ASTERISK:J2,CHAR_AT:Rh,CHAR_BACKWARD_SLASH:h8,CHAR_COMMA:kh,CHAR_DOT:G2,CHAR_EXCLAMATION_MARK:f2,CHAR_FORWARD_SLASH:sK,CHAR_LEFT_CURLY_BRACE:K2,CHAR_LEFT_PARENTHESES:x2,CHAR_LEFT_SQUARE_BRACKET:ch,CHAR_PLUS:hh,CHAR_QUESTION_MARK:lK,CHAR_RIGHT_CURLY_BRACE:mh,CHAR_RIGHT_PARENTHESES:dK,CHAR_RIGHT_SQUARE_BRACKET:nh}=k8(),gK=(u)=>{return u===sK||u===h8},oK=(u)=>{if(u.isPrefix!==!0)u.depth=u.isGlobstar?1/0:1},ph=(u,D)=>{let F=D||{},$=u.length-1,B=F.parts===!0||F.scanToEnd===!0,z=[],Z=[],q=[],X=u,Q=-1,Y=0,W=0,J=!1,G=!1,f=!1,K=!1,x=!1,M=!1,L=!1,j=!1,U=!1,I=!1,S=0,k,R,h={value:"",depth:0,isGlob:!1},F0=()=>Q>=$,O=()=>X.charCodeAt(Q+1),c=()=>{return k=R,X.charCodeAt(++Q)};while(Q<$){R=c();let g;if(R===h8){if(L=h.backslashes=!0,R=c(),R===K2)M=!0;continue}if(M===!0||R===K2){S++;while(F0()!==!0&&(R=c())){if(R===h8){L=h.backslashes=!0,c();continue}if(R===K2){S++;continue}if(M!==!0&&R===G2&&(R=c())===G2){if(J=h.isBrace=!0,f=h.isGlob=!0,I=!0,B===!0)continue;break}if(M!==!0&&R===kh){if(J=h.isBrace=!0,f=h.isGlob=!0,I=!0,B===!0)continue;break}if(R===mh){if(S--,S===0){M=!1,J=h.isBrace=!0,I=!0;break}}}if(B===!0)continue;break}if(R===sK){if(z.push(Q),Z.push(h),h={value:"",depth:0,isGlob:!1},I===!0)continue;if(k===G2&&Q===Y+1){Y+=2;continue}W=Q+1;continue}if(F.noext!==!0){if((R===hh||R===Rh||R===J2||R===lK||R===f2)===!0&&O()===x2){if(f=h.isGlob=!0,K=h.isExtglob=!0,I=!0,R===f2&&Q===Y)U=!0;if(B===!0){while(F0()!==!0&&(R=c())){if(R===h8){L=h.backslashes=!0,R=c();continue}if(R===dK){f=h.isGlob=!0,I=!0;break}}continue}break}}if(R===J2){if(k===J2)x=h.isGlobstar=!0;if(f=h.isGlob=!0,I=!0,B===!0)continue;break}if(R===lK){if(f=h.isGlob=!0,I=!0,B===!0)continue;break}if(R===ch){while(F0()!==!0&&(g=c())){if(g===h8){L=h.backslashes=!0,c();continue}if(g===nh){G=h.isBracket=!0,f=h.isGlob=!0,I=!0;break}}if(B===!0)continue;break}if(F.nonegate!==!0&&R===f2&&Q===Y){j=h.negated=!0,Y++;continue}if(F.noparen!==!0&&R===x2){if(f=h.isGlob=!0,B===!0){while(F0()!==!0&&(R=c())){if(R===x2){L=h.backslashes=!0,R=c();continue}if(R===dK){I=!0;break}}continue}break}if(f===!0){if(I=!0,B===!0)continue;break}}if(F.noext===!0)K=!1,f=!1;let n=X,a="",C="";if(Y>0)a=X.slice(0,Y),X=X.slice(Y),W-=Y;if(n&&f===!0&&W>0)n=X.slice(0,W),C=X.slice(W);else if(f===!0)n="",C=X;else n=X;if(n&&n!==""&&n!=="/"&&n!==X){if(gK(n.charCodeAt(n.length-1)))n=n.slice(0,-1)}if(F.unescape===!0){if(C)C=pK.removeBackslashes(C);if(n&&L===!0)n=pK.removeBackslashes(n)}let P={prefix:a,input:u,start:Y,base:n,glob:C,isBrace:J,isBracket:G,isGlob:f,isExtglob:K,isGlobstar:x,negated:j,negatedExtglob:U};if(F.tokens===!0){if(P.maxDepth=0,!gK(R))Z.push(h);P.tokens=Z}if(F.parts===!0||F.tokens===!0){let g;for(let r=0;r<z.length;r++){let V0=g?g+1:Y,t=z[r],e=u.slice(V0,t);if(F.tokens){if(r===0&&Y!==0)Z[r].isPrefix=!0,Z[r].value=a;else Z[r].value=e;oK(Z[r]),P.maxDepth+=Z[r].depth}if(r!==0||e!=="")q.push(e);g=t}if(g&&g+1<u.length){let r=u.slice(g+1);if(q.push(r),F.tokens)Z[Z.length-1].value=r,oK(Z[Z.length-1]),P.maxDepth+=Z[Z.length-1].depth}P.slashes=z,P.parts=q}return P};aK.exports=ph});var ux=H((WB0,eK)=>{var Z9=k8(),qD=c8(),{MAX_LENGTH:q9,POSIX_REGEX_SOURCE:lh,REGEX_NON_SPECIAL_CHARS:dh,REGEX_SPECIAL_CHARS_BACKREF:gh,REPLACEMENTS:tK}=Z9,oh=(u,D)=>{if(typeof D.expandRange==="function")return D.expandRange(...u,D);u.sort();let F=`[${u.join("-")}]`;try{new RegExp(F)}catch($){return u.map((B)=>qD.escapeRegex(B)).join("..")}return F},L6=(u,D)=>{return`Missing ${u}: "${D}" - use "\\\\${D}" to match literal characters`},H2=(u,D)=>{if(typeof u!=="string")throw TypeError("Expected a string");u=tK[u]||u;let F={...D},$=typeof F.maxLength==="number"?Math.min(q9,F.maxLength):q9,B=u.length;if(B>$)throw SyntaxError(`Input length: ${B}, exceeds maximum allowed length: ${$}`);let z={type:"bos",value:"",output:F.prepend||""},Z=[z],q=F.capture?"":"?:",X=qD.isWindows(D),Q=Z9.globChars(X),Y=Z9.extglobChars(Q),{DOT_LITERAL:W,PLUS_LITERAL:J,SLASH_LITERAL:G,ONE_CHAR:f,DOTS_SLASH:K,NO_DOT:x,NO_DOT_SLASH:M,NO_DOTS_SLASH:L,QMARK:j,QMARK_NO_DOT:U,STAR:I,START_ANCHOR:S}=Q,k=(p)=>{return`(${q}(?:(?!${S}${p.dot?K:W}).)*?)`},R=F.dot?"":x,h=F.dot?j:U,F0=F.bash===!0?k(F):I;if(F.capture)F0=`(${F0})`;if(typeof F.noext==="boolean")F.noextglob=F.noext;let O={input:u,index:-1,start:0,dot:F.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:Z};u=qD.removePrefix(u,O),B=u.length;let c=[],n=[],a=[],C=z,P,g=()=>O.index===B-1,r=O.peek=(p=1)=>u[O.index+p],V0=O.advance=()=>u[++O.index]||"",t=()=>u.slice(O.index+1),e=(p="",Y0=0)=>{O.consumed+=p,O.index+=Y0},j0=(p)=>{O.output+=p.output!=null?p.output:p.value,e(p.value)},Z0=()=>{let p=1;while(r()==="!"&&(r(2)!=="("||r(3)==="?"))V0(),O.start++,p++;if(p%2===0)return!1;return O.negated=!0,O.start++,!0},b0=(p)=>{O[p]++,a.push(p)},$u=(p)=>{O[p]--,a.pop()},d=(p)=>{if(C.type==="globstar"){let Y0=O.braces>0&&(p.type==="comma"||p.type==="brace"),l=p.extglob===!0||c.length&&(p.type==="pipe"||p.type==="paren");if(p.type!=="slash"&&p.type!=="paren"&&!Y0&&!l)O.output=O.output.slice(0,-C.output.length),C.type="star",C.value="*",C.output=F0,O.output+=C.output}if(c.length&&p.type!=="paren")c[c.length-1].inner+=p.value;if(p.value||p.output)j0(p);if(C&&C.type==="text"&&p.type==="text"){C.value+=p.value,C.output=(C.output||"")+p.value;return}p.prev=C,Z.push(p),C=p},M0=(p,Y0)=>{let l={...Y[Y0],conditions:1,inner:""};l.prev=C,l.parens=O.parens,l.output=O.output;let W0=(F.capture?"(":"")+l.open;b0("parens"),d({type:p,value:Y0,output:O.output?"":f}),d({type:"paren",extglob:!0,value:V0(),output:W0}),c.push(l)},m0=(p)=>{let Y0=p.close+(F.capture?")":""),l;if(p.type==="negate"){let W0=F0;if(p.inner&&p.inner.length>1&&p.inner.includes("/"))W0=k(F);if(W0!==F0||g()||/^\)+$/.test(t()))Y0=p.close=`)$))${W0}`;if(p.inner.includes("*")&&(l=t())&&/^\.[^\\/.]+$/.test(l)){let c0=H2(l,{...D,fastpaths:!1}).output;Y0=p.close=`)${c0})${W0})`}if(p.prev.type==="bos")O.negatedExtglob=!0}d({type:"paren",extglob:!0,value:P,output:Y0}),$u("parens")};if(F.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(u)){let p=!1,Y0=u.replace(gh,(l,W0,c0,A,v,s)=>{if(A==="\\")return p=!0,l;if(A==="?"){if(W0)return W0+A+(v?j.repeat(v.length):"");if(s===0)return h+(v?j.repeat(v.length):"");return j.repeat(c0.length)}if(A===".")return W.repeat(c0.length);if(A==="*"){if(W0)return W0+A+(v?F0:"");return F0}return W0?l:`\\${l}`});if(p===!0)if(F.unescape===!0)Y0=Y0.replace(/\\/g,"");else Y0=Y0.replace(/\\+/g,(l)=>{return l.length%2===0?"\\\\":l?"\\":""});if(Y0===u&&F.contains===!0)return O.output=u,O;return O.output=qD.wrapOutput(Y0,O,D),O}while(!g()){if(P=V0(),P==="\x00")continue;if(P==="\\"){let l=r();if(l==="/"&&F.bash!==!0)continue;if(l==="."||l===";")continue;if(!l){P+="\\",d({type:"text",value:P});continue}let W0=/^\\+/.exec(t()),c0=0;if(W0&&W0[0].length>2){if(c0=W0[0].length,O.index+=c0,c0%2!==0)P+="\\"}if(F.unescape===!0)P=V0();else P+=V0();if(O.brackets===0){d({type:"text",value:P});continue}}if(O.brackets>0&&(P!=="]"||C.value==="["||C.value==="[^")){if(F.posix!==!1&&P===":"){let l=C.value.slice(1);if(l.includes("[")){if(C.posix=!0,l.includes(":")){let W0=C.value.lastIndexOf("["),c0=C.value.slice(0,W0),A=C.value.slice(W0+2),v=lh[A];if(v){if(C.value=c0+v,O.backtrack=!0,V0(),!z.output&&Z.indexOf(C)===1)z.output=f;continue}}}}if(P==="["&&r()!==":"||P==="-"&&r()==="]")P=`\\${P}`;if(P==="]"&&(C.value==="["||C.value==="[^"))P=`\\${P}`;if(F.posix===!0&&P==="!"&&C.value==="[")P="^";C.value+=P,j0({value:P});continue}if(O.quotes===1&&P!=='"'){P=qD.escapeRegex(P),C.value+=P,j0({value:P});continue}if(P==='"'){if(O.quotes=O.quotes===1?0:1,F.keepQuotes===!0)d({type:"text",value:P});continue}if(P==="("){b0("parens"),d({type:"paren",value:P});continue}if(P===")"){if(O.parens===0&&F.strictBrackets===!0)throw SyntaxError(L6("opening","("));let l=c[c.length-1];if(l&&O.parens===l.parens+1){m0(c.pop());continue}d({type:"paren",value:P,output:O.parens?")":"\\)"}),$u("parens");continue}if(P==="["){if(F.nobracket===!0||!t().includes("]")){if(F.nobracket!==!0&&F.strictBrackets===!0)throw SyntaxError(L6("closing","]"));P=`\\${P}`}else b0("brackets");d({type:"bracket",value:P});continue}if(P==="]"){if(F.nobracket===!0||C&&C.type==="bracket"&&C.value.length===1){d({type:"text",value:P,output:`\\${P}`});continue}if(O.brackets===0){if(F.strictBrackets===!0)throw SyntaxError(L6("opening","["));d({type:"text",value:P,output:`\\${P}`});continue}$u("brackets");let l=C.value.slice(1);if(C.posix!==!0&&l[0]==="^"&&!l.includes("/"))P=`/${P}`;if(C.value+=P,j0({value:P}),F.literalBrackets===!1||qD.hasRegexChars(l))continue;let W0=qD.escapeRegex(C.value);if(O.output=O.output.slice(0,-C.value.length),F.literalBrackets===!0){O.output+=W0,C.value=W0;continue}C.value=`(${q}${W0}|${C.value})`,O.output+=C.value;continue}if(P==="{"&&F.nobrace!==!0){b0("braces");let l={type:"brace",value:P,output:"(",outputIndex:O.output.length,tokensIndex:O.tokens.length};n.push(l),d(l);continue}if(P==="}"){let l=n[n.length-1];if(F.nobrace===!0||!l){d({type:"text",value:P,output:P});continue}let W0=")";if(l.dots===!0){let c0=Z.slice(),A=[];for(let v=c0.length-1;v>=0;v--){if(Z.pop(),c0[v].type==="brace")break;if(c0[v].type!=="dots")A.unshift(c0[v].value)}W0=oh(A,F),O.backtrack=!0}if(l.comma!==!0&&l.dots!==!0){let c0=O.output.slice(0,l.outputIndex),A=O.tokens.slice(l.tokensIndex);l.value=l.output="\\{",P=W0="\\}",O.output=c0;for(let v of A)O.output+=v.output||v.value}d({type:"brace",value:P,output:W0}),$u("braces"),n.pop();continue}if(P==="|"){if(c.length>0)c[c.length-1].conditions++;d({type:"text",value:P});continue}if(P===","){let l=P,W0=n[n.length-1];if(W0&&a[a.length-1]==="braces")W0.comma=!0,l="|";d({type:"comma",value:P,output:l});continue}if(P==="/"){if(C.type==="dot"&&O.index===O.start+1){O.start=O.index+1,O.consumed="",O.output="",Z.pop(),C=z;continue}d({type:"slash",value:P,output:G});continue}if(P==="."){if(O.braces>0&&C.type==="dot"){if(C.value===".")C.output=W;let l=n[n.length-1];C.type="dots",C.output+=P,C.value+=P,l.dots=!0;continue}if(O.braces+O.parens===0&&C.type!=="bos"&&C.type!=="slash"){d({type:"text",value:P,output:W});continue}d({type:"dot",value:P,output:W});continue}if(P==="?"){if(!(C&&C.value==="(")&&F.noextglob!==!0&&r()==="("&&r(2)!=="?"){M0("qmark",P);continue}if(C&&C.type==="paren"){let W0=r(),c0=P;if(W0==="<"&&!qD.supportsLookbehinds())throw Error("Node.js v10 or higher is required for regex lookbehinds");if(C.value==="("&&!/[!=<:]/.test(W0)||W0==="<"&&!/<([!=]|\w+>)/.test(t()))c0=`\\${P}`;d({type:"text",value:P,output:c0});continue}if(F.dot!==!0&&(C.type==="slash"||C.type==="bos")){d({type:"qmark",value:P,output:U});continue}d({type:"qmark",value:P,output:j});continue}if(P==="!"){if(F.noextglob!==!0&&r()==="("){if(r(2)!=="?"||!/[!=<:]/.test(r(3))){M0("negate",P);continue}}if(F.nonegate!==!0&&O.index===0){Z0();continue}}if(P==="+"){if(F.noextglob!==!0&&r()==="("&&r(2)!=="?"){M0("plus",P);continue}if(C&&C.value==="("||F.regex===!1){d({type:"plus",value:P,output:J});continue}if(C&&(C.type==="bracket"||C.type==="paren"||C.type==="brace")||O.parens>0){d({type:"plus",value:P});continue}d({type:"plus",value:J});continue}if(P==="@"){if(F.noextglob!==!0&&r()==="("&&r(2)!=="?"){d({type:"at",extglob:!0,value:P,output:""});continue}d({type:"text",value:P});continue}if(P!=="*"){if(P==="$"||P==="^")P=`\\${P}`;let l=dh.exec(t());if(l)P+=l[0],O.index+=l[0].length;d({type:"text",value:P});continue}if(C&&(C.type==="globstar"||C.star===!0)){C.type="star",C.star=!0,C.value+=P,C.output=F0,O.backtrack=!0,O.globstar=!0,e(P);continue}let p=t();if(F.noextglob!==!0&&/^\([^?]/.test(p)){M0("star",P);continue}if(C.type==="star"){if(F.noglobstar===!0){e(P);continue}let l=C.prev,W0=l.prev,c0=l.type==="slash"||l.type==="bos",A=W0&&(W0.type==="star"||W0.type==="globstar");if(F.bash===!0&&(!c0||p[0]&&p[0]!=="/")){d({type:"star",value:P,output:""});continue}let v=O.braces>0&&(l.type==="comma"||l.type==="brace"),s=c.length&&(l.type==="pipe"||l.type==="paren");if(!c0&&l.type!=="paren"&&!v&&!s){d({type:"star",value:P,output:""});continue}while(p.slice(0,3)==="/**"){let m=u[O.index+4];if(m&&m!=="/")break;p=p.slice(3),e("/**",3)}if(l.type==="bos"&&g()){C.type="globstar",C.value+=P,C.output=k(F),O.output=C.output,O.globstar=!0,e(P);continue}if(l.type==="slash"&&l.prev.type!=="bos"&&!A&&g()){O.output=O.output.slice(0,-(l.output+C.output).length),l.output=`(?:${l.output}`,C.type="globstar",C.output=k(F)+(F.strictSlashes?")":"|$)"),C.value+=P,O.globstar=!0,O.output+=l.output+C.output,e(P);continue}if(l.type==="slash"&&l.prev.type!=="bos"&&p[0]==="/"){let m=p[1]!==void 0?"|$":"";O.output=O.output.slice(0,-(l.output+C.output).length),l.output=`(?:${l.output}`,C.type="globstar",C.output=`${k(F)}${G}|${G}${m})`,C.value+=P,O.output+=l.output+C.output,O.globstar=!0,e(P+V0()),d({type:"slash",value:"/",output:""});continue}if(l.type==="bos"&&p[0]==="/"){C.type="globstar",C.value+=P,C.output=`(?:^|${G}|${k(F)}${G})`,O.output=C.output,O.globstar=!0,e(P+V0()),d({type:"slash",value:"/",output:""});continue}O.output=O.output.slice(0,-C.output.length),C.type="globstar",C.output=k(F),C.value+=P,O.output+=C.output,O.globstar=!0,e(P);continue}let Y0={type:"star",value:P,output:F0};if(F.bash===!0){if(Y0.output=".*?",C.type==="bos"||C.type==="slash")Y0.output=R+Y0.output;d(Y0);continue}if(C&&(C.type==="bracket"||C.type==="paren")&&F.regex===!0){Y0.output=P,d(Y0);continue}if(O.index===O.start||C.type==="slash"||C.type==="dot"){if(C.type==="dot")O.output+=M,C.output+=M;else if(F.dot===!0)O.output+=L,C.output+=L;else O.output+=R,C.output+=R;if(r()!=="*")O.output+=f,C.output+=f}d(Y0)}while(O.brackets>0){if(F.strictBrackets===!0)throw SyntaxError(L6("closing","]"));O.output=qD.escapeLast(O.output,"["),$u("brackets")}while(O.parens>0){if(F.strictBrackets===!0)throw SyntaxError(L6("closing",")"));O.output=qD.escapeLast(O.output,"("),$u("parens")}while(O.braces>0){if(F.strictBrackets===!0)throw SyntaxError(L6("closing","}"));O.output=qD.escapeLast(O.output,"{"),$u("braces")}if(F.strictSlashes!==!0&&(C.type==="star"||C.type==="bracket"))d({type:"maybe_slash",value:"",output:`${G}?`});if(O.backtrack===!0){O.output="";for(let p of O.tokens)if(O.output+=p.output!=null?p.output:p.value,p.suffix)O.output+=p.suffix}return O};H2.fastpaths=(u,D)=>{let F={...D},$=typeof F.maxLength==="number"?Math.min(q9,F.maxLength):q9,B=u.length;if(B>$)throw SyntaxError(`Input length: ${B}, exceeds maximum allowed length: ${$}`);u=tK[u]||u;let z=qD.isWindows(D),{DOT_LITERAL:Z,SLASH_LITERAL:q,ONE_CHAR:X,DOTS_SLASH:Q,NO_DOT:Y,NO_DOTS:W,NO_DOTS_SLASH:J,STAR:G,START_ANCHOR:f}=Z9.globChars(z),K=F.dot?W:Y,x=F.dot?J:Y,M=F.capture?"":"?:",L={negated:!1,prefix:""},j=F.bash===!0?".*?":G;if(F.capture)j=`(${j})`;let U=(R)=>{if(R.noglobstar===!0)return j;return`(${M}(?:(?!${f}${R.dot?Q:Z}).)*?)`},I=(R)=>{switch(R){case"*":return`${K}${X}${j}`;case".*":return`${Z}${X}${j}`;case"*.*":return`${K}${j}${Z}${X}${j}`;case"*/*":return`${K}${j}${q}${X}${x}${j}`;case"**":return K+U(F);case"**/*":return`(?:${K}${U(F)}${q})?${x}${X}${j}`;case"**/*.*":return`(?:${K}${U(F)}${q})?${x}${j}${Z}${X}${j}`;case"**/.*":return`(?:${K}${U(F)}${q})?${Z}${X}${j}`;default:{let h=/^(.*?)\.(\w+)$/.exec(R);if(!h)return;let F0=I(h[1]);if(!F0)return;return F0+Z+h[2]}}},S=qD.removePrefix(u,L),k=I(S);if(k&&F.strictSlashes!==!0)k+=`${q}?`;return k};eK.exports=H2});var Fx=H((JB0,Dx)=>{var sh=o("path"),ah=rK(),V2=ux(),L2=c8(),rh=k8(),th=(u)=>u&&typeof u==="object"&&!Array.isArray(u),Qu=(u,D,F=!1)=>{if(Array.isArray(u)){let Y=u.map((J)=>Qu(J,D,F));return(J)=>{for(let G of Y){let f=G(J);if(f)return f}return!1}}let $=th(u)&&u.tokens&&u.input;if(u===""||typeof u!=="string"&&!$)throw TypeError("Expected pattern to be a non-empty string");let B=D||{},z=L2.isWindows(D),Z=$?Qu.compileRe(u,D):Qu.makeRe(u,D,!1,!0),q=Z.state;delete Z.state;let X=()=>!1;if(B.ignore){let Y={...D,ignore:null,onMatch:null,onResult:null};X=Qu(B.ignore,Y,F)}let Q=(Y,W=!1)=>{let{isMatch:J,match:G,output:f}=Qu.test(Y,Z,D,{glob:u,posix:z}),K={glob:u,state:q,regex:Z,posix:z,input:Y,output:f,match:G,isMatch:J};if(typeof B.onResult==="function")B.onResult(K);if(J===!1)return K.isMatch=!1,W?K:!1;if(X(Y)){if(typeof B.onIgnore==="function")B.onIgnore(K);return K.isMatch=!1,W?K:!1}if(typeof B.onMatch==="function")B.onMatch(K);return W?K:!0};if(F)Q.state=q;return Q};Qu.test=(u,D,F,{glob:$,posix:B}={})=>{if(typeof u!=="string")throw TypeError("Expected input to be a string");if(u==="")return{isMatch:!1,output:""};let z=F||{},Z=z.format||(B?L2.toPosixSlashes:null),q=u===$,X=q&&Z?Z(u):u;if(q===!1)X=Z?Z(u):u,q=X===$;if(q===!1||z.capture===!0)if(z.matchBase===!0||z.basename===!0)q=Qu.matchBase(u,D,F,B);else q=D.exec(X);return{isMatch:Boolean(q),match:q,output:X}};Qu.matchBase=(u,D,F,$=L2.isWindows(F))=>{return(D instanceof RegExp?D:Qu.makeRe(D,F)).test(sh.basename(u))};Qu.isMatch=(u,D,F)=>Qu(D,F)(u);Qu.parse=(u,D)=>{if(Array.isArray(u))return u.map((F)=>Qu.parse(F,D));return V2(u,{...D,fastpaths:!1})};Qu.scan=(u,D)=>ah(u,D);Qu.compileRe=(u,D,F=!1,$=!1)=>{if(F===!0)return u.output;let B=D||{},z=B.contains?"":"^",Z=B.contains?"":"$",q=`${z}(?:${u.output})${Z}`;if(u&&u.negated===!0)q=`^(?!${q}).*$`;let X=Qu.toRegex(q,D);if($===!0)X.state=u;return X};Qu.makeRe=(u,D={},F=!1,$=!1)=>{if(!u||typeof u!=="string")throw TypeError("Expected a non-empty string");let B={negated:!1,fastpaths:!0};if(D.fastpaths!==!1&&(u[0]==="."||u[0]==="*"))B.output=V2.fastpaths(u,D);if(!B.output)B=V2(u,D);return Qu.compileRe(B,D,F,$)};Qu.toRegex=(u,D)=>{try{let F=D||{};return new RegExp(u,F.flags||(F.nocase?"i":""))}catch(F){if(D&&D.debug===!0)throw F;return/$^/}};Qu.constants=rh;Dx.exports=Qu});var w2=H((GB0,qx)=>{var Bx=o("util"),zx=kK(),eD=Fx(),M2=c8(),$x=(u)=>u===""||u==="./",Zx=(u)=>{let D=u.indexOf("{");return D>-1&&u.indexOf("}",D)>-1},l0=(u,D,F)=>{D=[].concat(D),u=[].concat(u);let $=new Set,B=new Set,z=new Set,Z=0,q=(Y)=>{if(z.add(Y.output),F&&F.onResult)F.onResult(Y)};for(let Y=0;Y<D.length;Y++){let W=eD(String(D[Y]),{...F,onResult:q},!0),J=W.state.negated||W.state.negatedExtglob;if(J)Z++;for(let G of u){let f=W(G,!0);if(!(J?!f.isMatch:f.isMatch))continue;if(J)$.add(f.output);else $.delete(f.output),B.add(f.output)}}let Q=(Z===D.length?[...z]:[...B]).filter((Y)=>!$.has(Y));if(F&&Q.length===0){if(F.failglob===!0)throw Error(`No matches found for "${D.join(", ")}"`);if(F.nonull===!0||F.nullglob===!0)return F.unescape?D.map((Y)=>Y.replace(/\\/g,"")):D}return Q};l0.match=l0;l0.matcher=(u,D)=>eD(u,D);l0.isMatch=(u,D,F)=>eD(D,F)(u);l0.any=l0.isMatch;l0.not=(u,D,F={})=>{D=[].concat(D).map(String);let $=new Set,B=[],Z=new Set(l0(u,D,{...F,onResult:(q)=>{if(F.onResult)F.onResult(q);B.push(q.output)}}));for(let q of B)if(!Z.has(q))$.add(q);return[...$]};l0.contains=(u,D,F)=>{if(typeof u!=="string")throw TypeError(`Expected a string: "${Bx.inspect(u)}"`);if(Array.isArray(D))return D.some(($)=>l0.contains(u,$,F));if(typeof D==="string"){if($x(u)||$x(D))return!1;if(u.includes(D)||u.startsWith("./")&&u.slice(2).includes(D))return!0}return l0.isMatch(u,D,{...F,contains:!0})};l0.matchKeys=(u,D,F)=>{if(!M2.isObject(u))throw TypeError("Expected the first argument to be an object");let $=l0(Object.keys(u),D,F),B={};for(let z of $)B[z]=u[z];return B};l0.some=(u,D,F)=>{let $=[].concat(u);for(let B of[].concat(D)){let z=eD(String(B),F);if($.some((Z)=>z(Z)))return!0}return!1};l0.every=(u,D,F)=>{let $=[].concat(u);for(let B of[].concat(D)){let z=eD(String(B),F);if(!$.every((Z)=>z(Z)))return!1}return!0};l0.all=(u,D,F)=>{if(typeof u!=="string")throw TypeError(`Expected a string: "${Bx.inspect(u)}"`);return[].concat(D).every(($)=>eD($,F)(u))};l0.capture=(u,D,F)=>{let $=M2.isWindows(F),z=eD.makeRe(String(u),{...F,capture:!0}).exec($?M2.toPosixSlashes(D):D);if(z)return z.slice(1).map((Z)=>Z===void 0?"":Z)};l0.makeRe=(...u)=>eD.makeRe(...u);l0.scan=(...u)=>eD.scan(...u);l0.parse=(u,D)=>{let F=[];for(let $ of[].concat(u||[]))for(let B of zx(String($),D))F.push(eD.parse(B,D));return F};l0.braces=(u,D)=>{if(typeof u!=="string")throw TypeError("Expected a string");if(D&&D.nobrace===!0||!Zx(u))return[u];return zx(u,D)};l0.braceExpand=(u,D)=>{if(typeof u!=="string")throw TypeError("Expected a string");return l0.braces(u,{...D,expand:!0})};l0.hasBraces=Zx;qx.exports=l0});var Lx=H((Hx)=>{Object.defineProperty(Hx,"__esModule",{value:!0});Hx.isAbsolute=Hx.partitionAbsoluteAndRelative=Hx.removeDuplicateSlashes=Hx.matchAny=Hx.convertPatternsToRe=Hx.makeRe=Hx.getPatternParts=Hx.expandBraceExpansion=Hx.expandPatternsWithBraceExpansion=Hx.isAffectDepthOfReadingPattern=Hx.endsWithSlashGlobStar=Hx.hasGlobStar=Hx.getBaseDirectory=Hx.isPatternRelatedToParentDirectory=Hx.getPatternsOutsideCurrentDirectory=Hx.getPatternsInsideCurrentDirectory=Hx.getPositivePatterns=Hx.getNegativePatterns=Hx.isPositivePattern=Hx.isNegativePattern=Hx.convertToNegativePattern=Hx.convertToPositivePattern=Hx.isDynamicPattern=Hx.isStaticPattern=void 0;var Xx=o("path"),eh=$K(),i2=w2(),Qx="**",um="\\",Dm=/[*?]|^!/,Fm=/\[[^[]*]/,$m=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Bm=/[!*+?@]\([^(]*\)/,zm=/,|\.\./,Zm=/(?!^)\/{2,}/g;function Yx(u,D={}){return!Wx(u,D)}Hx.isStaticPattern=Yx;function Wx(u,D={}){if(u==="")return!1;if(D.caseSensitiveMatch===!1||u.includes(um))return!0;if(Dm.test(u)||Fm.test(u)||$m.test(u))return!0;if(D.extglob!==!1&&Bm.test(u))return!0;if(D.braceExpansion!==!1&&qm(u))return!0;return!1}Hx.isDynamicPattern=Wx;function qm(u){let D=u.indexOf("{");if(D===-1)return!1;let F=u.indexOf("}",D+1);if(F===-1)return!1;let $=u.slice(D,F);return zm.test($)}function Xm(u){return X9(u)?u.slice(1):u}Hx.convertToPositivePattern=Xm;function Qm(u){return"!"+u}Hx.convertToNegativePattern=Qm;function X9(u){return u.startsWith("!")&&u[1]!=="("}Hx.isNegativePattern=X9;function Jx(u){return!X9(u)}Hx.isPositivePattern=Jx;function Ym(u){return u.filter(X9)}Hx.getNegativePatterns=Ym;function Wm(u){return u.filter(Jx)}Hx.getPositivePatterns=Wm;function Jm(u){return u.filter((D)=>!O2(D))}Hx.getPatternsInsideCurrentDirectory=Jm;function Gm(u){return u.filter(O2)}Hx.getPatternsOutsideCurrentDirectory=Gm;function O2(u){return u.startsWith("..")||u.startsWith("./..")}Hx.isPatternRelatedToParentDirectory=O2;function fm(u){return eh(u,{flipBackslashes:!1})}Hx.getBaseDirectory=fm;function Km(u){return u.includes(Qx)}Hx.hasGlobStar=Km;function Gx(u){return u.endsWith("/"+Qx)}Hx.endsWithSlashGlobStar=Gx;function xm(u){let D=Xx.basename(u);return Gx(u)||Yx(D)}Hx.isAffectDepthOfReadingPattern=xm;function Hm(u){return u.reduce((D,F)=>{return D.concat(fx(F))},[])}Hx.expandPatternsWithBraceExpansion=Hm;function fx(u){let D=i2.braces(u,{expand:!0,nodupes:!0,keepEscaping:!0});return D.sort((F,$)=>F.length-$.length),D.filter((F)=>F!=="")}Hx.expandBraceExpansion=fx;function Vm(u,D){let{parts:F}=i2.scan(u,Object.assign(Object.assign({},D),{parts:!0}));if(F.length===0)F=[u];if(F[0].startsWith("/"))F[0]=F[0].slice(1),F.unshift("");return F}Hx.getPatternParts=Vm;function Kx(u,D){return i2.makeRe(u,D)}Hx.makeRe=Kx;function Lm(u,D){return u.map((F)=>Kx(F,D))}Hx.convertPatternsToRe=Lm;function Mm(u,D){return D.some((F)=>F.test(u))}Hx.matchAny=Mm;function wm(u){return u.replace(Zm,"/")}Hx.removeDuplicateSlashes=wm;function im(u){let D=[],F=[];for(let $ of u)if(xx($))D.push($);else F.push($);return[D,F]}Hx.partitionAbsoluteAndRelative=im;function xx(u){return Xx.isAbsolute(u)}Hx.isAbsolute=xx});var Ox=H((KB0,ix)=>{var dm=o("stream"),Mx=dm.PassThrough,gm=Array.prototype.slice;ix.exports=om;function om(){let u=[],D=gm.call(arguments),F=!1,$=D[D.length-1];if($&&!Array.isArray($)&&$.pipe==null)D.pop();else $={};let B=$.end!==!1,z=$.pipeError===!0;if($.objectMode==null)$.objectMode=!0;if($.highWaterMark==null)$.highWaterMark=65536;let Z=Mx($);function q(){for(let Y=0,W=arguments.length;Y<W;Y++)u.push(wx(arguments[Y],$));return X(),this}function X(){if(F)return;F=!0;let Y=u.shift();if(!Y){process.nextTick(Q);return}if(!Array.isArray(Y))Y=[Y];let W=Y.length+1;function J(){if(--W>0)return;F=!1,X()}function G(f){function K(){if(f.removeListener("merge2UnpipeEnd",K),f.removeListener("end",K),z)f.removeListener("error",x);J()}function x(M){Z.emit("error",M)}if(f._readableState.endEmitted)return J();if(f.on("merge2UnpipeEnd",K),f.on("end",K),z)f.on("error",x);f.pipe(Z,{end:!1}),f.resume()}for(let f=0;f<Y.length;f++)G(Y[f]);J()}function Q(){if(F=!1,Z.emit("queueDrain"),B)Z.end()}if(Z.setMaxListeners(0),Z.add=q,Z.on("unpipe",function(Y){Y.emit("merge2UnpipeEnd")}),D.length)q.apply(null,D);return Z}function wx(u,D){if(!Array.isArray(u)){if(!u._readableState&&u.pipe)u=u.pipe(Mx(D));if(!u._readableState||!u.pause||!u.pipe)throw Error("Only readable stream can be merged.");u.pause()}else for(let F=0,$=u.length;F<$;F++)u[F]=wx(u[F],D);return u}});var Ix=H((Nx)=>{Object.defineProperty(Nx,"__esModule",{value:!0});Nx.merge=void 0;var sm=Ox();function am(u){let D=sm(u);return u.forEach((F)=>{F.once("error",($)=>D.emit("error",$))}),D.once("close",()=>Ax(u)),D.once("end",()=>Ax(u)),D}Nx.merge=am;function Ax(u){u.forEach((D)=>D.emit("close"))}});var Px=H((Ex)=>{Object.defineProperty(Ex,"__esModule",{value:!0});Ex.isEmpty=Ex.isString=void 0;function rm(u){return typeof u==="string"}Ex.isString=rm;function tm(u){return u===""}Ex.isEmpty=tm});var W1=H((vx)=>{Object.defineProperty(vx,"__esModule",{value:!0});vx.string=vx.stream=vx.pattern=vx.path=vx.fs=vx.errno=vx.array=void 0;var un=bf();vx.array=un;var Dn=cf();vx.errno=Dn;var Fn=pf();vx.fs=Fn;var $n=af();vx.path=$n;var Bn=Lx();vx.pattern=Bn;var zn=Ix();vx.stream=zn;var Zn=Px();vx.string=Zn});var Rx=H((yx)=>{Object.defineProperty(yx,"__esModule",{value:!0});yx.convertPatternGroupToTask=yx.convertPatternGroupsToTasks=yx.groupPatternsByBaseDirectory=yx.getNegativePatternsAsPositive=yx.getPositivePatterns=yx.convertPatternsToTasks=yx.generate=void 0;var vD=W1();function Gn(u,D){let F=Ux(u,D),$=Ux(D.ignore,D),B=Sx(F),z=Tx(F,$),Z=B.filter((Y)=>vD.pattern.isStaticPattern(Y,D)),q=B.filter((Y)=>vD.pattern.isDynamicPattern(Y,D)),X=A2(Z,z,!1),Q=A2(q,z,!0);return X.concat(Q)}yx.generate=Gn;function Ux(u,D){let F=u;if(D.braceExpansion)F=vD.pattern.expandPatternsWithBraceExpansion(F);if(D.baseNameMatch)F=F.map(($)=>$.includes("/")?$:`**/${$}`);return F.map(($)=>vD.pattern.removeDuplicateSlashes($))}function A2(u,D,F){let $=[],B=vD.pattern.getPatternsOutsideCurrentDirectory(u),z=vD.pattern.getPatternsInsideCurrentDirectory(u),Z=N2(B),q=N2(z);if($.push(...j2(Z,D,F)),"."in q)$.push(I2(".",z,D,F));else $.push(...j2(q,D,F));return $}yx.convertPatternsToTasks=A2;function Sx(u){return vD.pattern.getPositivePatterns(u)}yx.getPositivePatterns=Sx;function Tx(u,D){return vD.pattern.getNegativePatterns(u).concat(D).map(vD.pattern.convertToPositivePattern)}yx.getNegativePatternsAsPositive=Tx;function N2(u){let D={};return u.reduce((F,$)=>{let B=vD.pattern.getBaseDirectory($);if(B in F)F[B].push($);else F[B]=[$];return F},D)}yx.groupPatternsByBaseDirectory=N2;function j2(u,D,F){return Object.keys(u).map(($)=>{return I2($,u[$],D,F)})}yx.convertPatternGroupsToTasks=j2;function I2(u,D,F,$){return{dynamic:$,positive:D,negative:F,base:u,patterns:[].concat(D,F.map(vD.pattern.convertToNegativePattern))}}yx.convertPatternGroupToTask=I2});var mx=H((cx)=>{Object.defineProperty(cx,"__esModule",{value:!0});cx.read=void 0;function Mn(u,D,F){D.fs.lstat(u,($,B)=>{if($!==null){kx(F,$);return}if(!B.isSymbolicLink()||!D.followSymbolicLink){E2(F,B);return}D.fs.stat(u,(z,Z)=>{if(z!==null){if(D.throwErrorOnBrokenSymbolicLink){kx(F,z);return}E2(F,B);return}if(D.markSymbolicLink)Z.isSymbolicLink=()=>!0;E2(F,Z)})})}cx.read=Mn;function kx(u,D){u(D)}function E2(u,D){u(null,D)}});var lx=H((nx)=>{Object.defineProperty(nx,"__esModule",{value:!0});nx.read=void 0;function wn(u,D){let F=D.fs.lstatSync(u);if(!F.isSymbolicLink()||!D.followSymbolicLink)return F;try{let $=D.fs.statSync(u);if(D.markSymbolicLink)$.isSymbolicLink=()=>!0;return $}catch($){if(!D.throwErrorOnBrokenSymbolicLink)return F;throw $}}nx.read=wn});var ox=H((dx)=>{Object.defineProperty(dx,"__esModule",{value:!0});dx.createFileSystemAdapter=dx.FILE_SYSTEM_ADAPTER=void 0;var Q9=o("fs");dx.FILE_SYSTEM_ADAPTER={lstat:Q9.lstat,stat:Q9.stat,lstatSync:Q9.lstatSync,statSync:Q9.statSync};function On(u){if(u===void 0)return dx.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},dx.FILE_SYSTEM_ADAPTER),u)}dx.createFileSystemAdapter=On});var rx=H((ax)=>{Object.defineProperty(ax,"__esModule",{value:!0});var An=ox();class sx{constructor(u={}){this._options=u,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=An.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(u,D){return u!==null&&u!==void 0?u:D}}ax.default=sx});var jF=H((ex)=>{Object.defineProperty(ex,"__esModule",{value:!0});ex.statSync=ex.stat=ex.Settings=void 0;var tx=mx(),jn=lx(),P2=rx();ex.Settings=P2.default;function In(u,D,F){if(typeof D==="function"){tx.read(u,v2(),D);return}tx.read(u,v2(D),F)}ex.stat=In;function En(u,D){let F=v2(D);return jn.read(u,F)}ex.statSync=En;function v2(u={}){if(u instanceof P2.default)return u;return new P2.default(u)}});var $H=H((NB0,FH)=>{/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var DH;FH.exports=typeof queueMicrotask==="function"?queueMicrotask.bind(typeof window<"u"?window:global):(u)=>(DH||(DH=Promise.resolve())).then(u).catch((D)=>setTimeout(()=>{throw D},0))});var zH=H((jB0,BH)=>{/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */BH.exports=_n;var vn=$H();function _n(u,D){let F,$,B,z=!0;if(Array.isArray(u))F=[],$=u.length;else B=Object.keys(u),F={},$=B.length;function Z(X){function Q(){if(D)D(X,F);D=null}if(z)vn(Q);else Q()}function q(X,Q,Y){if(F[X]=Y,--$===0||Q)Z(Q)}if(!$)Z(null);else if(B)B.forEach(function(X){u[X](function(Q,Y){q(X,Q,Y)})});else u.forEach(function(X,Q){X(function(Y,W){q(Q,Y,W)})});z=!1}});var _2=H((XH)=>{Object.defineProperty(XH,"__esModule",{value:!0});XH.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Y9=process.versions.node.split(".");if(Y9[0]===void 0||Y9[1]===void 0)throw Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var ZH=Number.parseInt(Y9[0],10),Un=Number.parseInt(Y9[1],10),qH=10,Sn=10,Tn=ZH>qH,yn=ZH===qH&&Un>=Sn;XH.IS_SUPPORT_READDIR_WITH_FILE_TYPES=Tn||yn});var GH=H((WH)=>{Object.defineProperty(WH,"__esModule",{value:!0});WH.createDirentFromStats=void 0;class YH{constructor(u,D){this.name=u,this.isBlockDevice=D.isBlockDevice.bind(D),this.isCharacterDevice=D.isCharacterDevice.bind(D),this.isDirectory=D.isDirectory.bind(D),this.isFIFO=D.isFIFO.bind(D),this.isFile=D.isFile.bind(D),this.isSocket=D.isSocket.bind(D),this.isSymbolicLink=D.isSymbolicLink.bind(D)}}function bn(u,D){return new YH(u,D)}WH.createDirentFromStats=bn});var U2=H((fH)=>{Object.defineProperty(fH,"__esModule",{value:!0});fH.fs=void 0;var Rn=GH();fH.fs=Rn});var S2=H((xH)=>{Object.defineProperty(xH,"__esModule",{value:!0});xH.joinPathSegments=void 0;function kn(u,D,F){if(u.endsWith(F))return u+D;return u+F+D}xH.joinPathSegments=kn});var NH=H((OH)=>{Object.defineProperty(OH,"__esModule",{value:!0});OH.readdir=OH.readdirWithFileTypes=OH.read=void 0;var cn=jF(),VH=zH(),hn=_2(),LH=U2(),MH=S2();function mn(u,D,F){if(!D.stats&&hn.IS_SUPPORT_READDIR_WITH_FILE_TYPES){wH(u,D,F);return}iH(u,D,F)}OH.read=mn;function wH(u,D,F){D.fs.readdir(u,{withFileTypes:!0},($,B)=>{if($!==null){W9(F,$);return}let z=B.map((q)=>({dirent:q,name:q.name,path:MH.joinPathSegments(u,q.name,D.pathSegmentSeparator)}));if(!D.followSymbolicLinks){T2(F,z);return}let Z=z.map((q)=>nn(q,D));VH(Z,(q,X)=>{if(q!==null){W9(F,q);return}T2(F,X)})})}OH.readdirWithFileTypes=wH;function nn(u,D){return(F)=>{if(!u.dirent.isSymbolicLink()){F(null,u);return}D.fs.stat(u.path,($,B)=>{if($!==null){if(D.throwErrorOnBrokenSymbolicLink){F($);return}F(null,u);return}u.dirent=LH.fs.createDirentFromStats(u.name,B),F(null,u)})}}function iH(u,D,F){D.fs.readdir(u,($,B)=>{if($!==null){W9(F,$);return}let z=B.map((Z)=>{let q=MH.joinPathSegments(u,Z,D.pathSegmentSeparator);return(X)=>{cn.stat(q,D.fsStatSettings,(Q,Y)=>{if(Q!==null){X(Q);return}let W={name:Z,path:q,dirent:LH.fs.createDirentFromStats(Z,Y)};if(D.stats)W.stats=Y;X(null,W)})}});VH(z,(Z,q)=>{if(Z!==null){W9(F,Z);return}T2(F,q)})})}OH.readdir=iH;function W9(u,D){u(D)}function T2(u,D){u(null,D)}});var _H=H((PH)=>{Object.defineProperty(PH,"__esModule",{value:!0});PH.readdir=PH.readdirWithFileTypes=PH.read=void 0;var dn=jF(),gn=_2(),jH=U2(),IH=S2();function on(u,D){if(!D.stats&&gn.IS_SUPPORT_READDIR_WITH_FILE_TYPES)return EH(u,D);return CH(u,D)}PH.read=on;function EH(u,D){return D.fs.readdirSync(u,{withFileTypes:!0}).map(($)=>{let B={dirent:$,name:$.name,path:IH.joinPathSegments(u,$.name,D.pathSegmentSeparator)};if(B.dirent.isSymbolicLink()&&D.followSymbolicLinks)try{let z=D.fs.statSync(B.path);B.dirent=jH.fs.createDirentFromStats(B.name,z)}catch(z){if(D.throwErrorOnBrokenSymbolicLink)throw z}return B})}PH.readdirWithFileTypes=EH;function CH(u,D){return D.fs.readdirSync(u).map(($)=>{let B=IH.joinPathSegments(u,$,D.pathSegmentSeparator),z=dn.statSync(B,D.fsStatSettings),Z={name:$,path:B,dirent:jH.fs.createDirentFromStats($,z)};if(D.stats)Z.stats=z;return Z})}PH.readdir=CH});var TH=H((UH)=>{Object.defineProperty(UH,"__esModule",{value:!0});UH.createFileSystemAdapter=UH.FILE_SYSTEM_ADAPTER=void 0;var M6=o("fs");UH.FILE_SYSTEM_ADAPTER={lstat:M6.lstat,stat:M6.stat,lstatSync:M6.lstatSync,statSync:M6.statSync,readdir:M6.readdir,readdirSync:M6.readdirSync};function rn(u){if(u===void 0)return UH.FILE_SYSTEM_ADAPTER;return Object.assign(Object.assign({},UH.FILE_SYSTEM_ADAPTER),u)}UH.createFileSystemAdapter=rn});var RH=H((bH)=>{Object.defineProperty(bH,"__esModule",{value:!0});var tn=o("path"),en=jF(),up=TH();class yH{constructor(u={}){this._options=u,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=up.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,tn.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new en.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(u,D){return u!==null&&u!==void 0?u:D}}bH.default=yH});var J9=H((cH)=>{Object.defineProperty(cH,"__esModule",{value:!0});cH.Settings=cH.scandirSync=cH.scandir=void 0;var kH=NH(),Fp=_H(),b2=RH();cH.Settings=b2.default;function $p(u,D,F){if(typeof D==="function"){kH.read(u,R2(),D);return}kH.read(u,R2(D),F)}cH.scandir=$p;function Bp(u,D){let F=R2(D);return Fp.read(u,F)}cH.scandirSync=Bp;function R2(u={}){if(u instanceof b2.default)return u;return new b2.default(u)}});var nH=H((yB0,mH)=>{function qp(u){var D=new u,F=D;function $(){var z=D;if(z.next)D=z.next;else D=new u,F=D;return z.next=null,z}function B(z){F.next=z,F=z}return{get:$,release:B}}mH.exports=qp});var lH=H((bB0,k2)=>{var Xp=nH();function pH(u,D,F){if(typeof u==="function")F=D,D=u,u=null;if(!(F>=1))throw Error("fastqueue concurrency must be equal to or greater than 1");var $=Xp(Qp),B=null,z=null,Z=0,q=null,X={push:K,drain:gu,saturated:gu,pause:Y,paused:!1,get concurrency(){return F},set concurrency(S){if(!(S>=1))throw Error("fastqueue concurrency must be equal to or greater than 1");if(F=S,X.paused)return;for(;B&&Z<F;)Z++,M()},running:Q,resume:G,idle:f,length:W,getQueue:J,unshift:x,empty:gu,kill:L,killAndDrain:j,error:I,abort:U};return X;function Q(){return Z}function Y(){X.paused=!0}function W(){var S=B,k=0;while(S)S=S.next,k++;return k}function J(){var S=B,k=[];while(S)k.push(S.value),S=S.next;return k}function G(){if(!X.paused)return;if(X.paused=!1,B===null){Z++,M();return}for(;B&&Z<F;)Z++,M()}function f(){return Z===0&&X.length()===0}function K(S,k){var R=$.get();if(R.context=u,R.release=M,R.value=S,R.callback=k||gu,R.errorHandler=q,Z>=F||X.paused)if(z)z.next=R,z=R;else B=R,z=R,X.saturated();else Z++,D.call(u,R.value,R.worked)}function x(S,k){var R=$.get();if(R.context=u,R.release=M,R.value=S,R.callback=k||gu,R.errorHandler=q,Z>=F||X.paused)if(B)R.next=B,B=R;else B=R,z=R,X.saturated();else Z++,D.call(u,R.value,R.worked)}function M(S){if(S)$.release(S);var k=B;if(k&&Z<=F)if(!X.paused){if(z===B)z=null;if(B=k.next,k.next=null,D.call(u,k.value,k.worked),z===null)X.empty()}else Z--;else if(--Z===0)X.drain()}function L(){B=null,z=null,X.drain=gu}function j(){B=null,z=null,X.drain(),X.drain=gu}function U(){var S=B;B=null,z=null;while(S){var{next:k,callback:R,errorHandler:h,value:F0,context:O}=S;if(S.value=null,S.callback=gu,S.errorHandler=null,h)h(Error("abort"),F0);R.call(O,Error("abort")),S.release(S),S=k}X.drain=gu}function I(S){q=S}}function gu(){}function Qp(){this.value=null,this.callback=gu,this.next=null,this.release=gu,this.context=null,this.errorHandler=null;var u=this;this.worked=function(F,$){var{callback:B,errorHandler:z,value:Z}=u;if(u.value=null,u.callback=gu,u.errorHandler)z(F,Z);B.call(u.context,F,$),u.release(u)}}function Yp(u,D,F){if(typeof u==="function")F=D,D=u,u=null;function $(Y,W){D.call(this,Y).then(function(J){W(null,J)},W)}var B=pH(u,$,F),z=B.push,Z=B.unshift;return B.push=q,B.unshift=X,B.drained=Q,B;function q(Y){var W=new Promise(function(J,G){z(Y,function(f,K){if(f){G(f);return}J(K)})});return W.catch(gu),W}function X(Y){var W=new Promise(function(J,G){Z(Y,function(f,K){if(f){G(f);return}J(K)})});return W.catch(gu),W}function Q(){var Y=new Promise(function(W){process.nextTick(function(){if(B.idle())W();else{var J=B.drain;B.drain=function(){if(typeof J==="function")J();W(),B.drain=J}}})});return Y}}k2.exports=pH;k2.exports.promise=Yp});var G9=H((dH)=>{Object.defineProperty(dH,"__esModule",{value:!0});dH.joinPathSegments=dH.replacePathSegmentSeparator=dH.isAppliedFilter=dH.isFatalError=void 0;function Wp(u,D){if(u.errorFilter===null)return!0;return!u.errorFilter(D)}dH.isFatalError=Wp;function Jp(u,D){return u===null||u(D)}dH.isAppliedFilter=Jp;function Gp(u,D){return u.split(/[/\\]/).join(D)}dH.replacePathSegmentSeparator=Gp;function fp(u,D,F){if(u==="")return D;if(u.endsWith(F))return u+D;return u+F+D}dH.joinPathSegments=fp});var c2=H((sH)=>{Object.defineProperty(sH,"__esModule",{value:!0});var Vp=G9();class oH{constructor(u,D){this._root=u,this._settings=D,this._root=Vp.replacePathSegmentSeparator(u,D.pathSegmentSeparator)}}sH.default=oH});var h2=H((rH)=>{Object.defineProperty(rH,"__esModule",{value:!0});var Mp=o("events"),wp=J9(),ip=lH(),f9=G9(),Op=c2();class aH extends Op.default{constructor(u,D){super(u,D);this._settings=D,this._scandir=wp.scandir,this._emitter=new Mp.EventEmitter,this._queue=ip(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{if(!this._isFatalError)this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(u){this._emitter.on("entry",u)}onError(u){this._emitter.once("error",u)}onEnd(u){this._emitter.once("end",u)}_pushToQueue(u,D){let F={directory:u,base:D};this._queue.push(F,($)=>{if($!==null)this._handleError($)})}_worker(u,D){this._scandir(u.directory,this._settings.fsScandirSettings,(F,$)=>{if(F!==null){D(F,void 0);return}for(let B of $)this._handleEntry(B,u.base);D(null,void 0)})}_handleError(u){if(this._isDestroyed||!f9.isFatalError(this._settings,u))return;this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",u)}_handleEntry(u,D){if(this._isDestroyed||this._isFatalError)return;let F=u.path;if(D!==void 0)u.path=f9.joinPathSegments(D,u.name,this._settings.pathSegmentSeparator);if(f9.isAppliedFilter(this._settings.entryFilter,u))this._emitEntry(u);if(u.dirent.isDirectory()&&f9.isAppliedFilter(this._settings.deepFilter,u))this._pushToQueue(F,D===void 0?void 0:u.path)}_emitEntry(u){this._emitter.emit("entry",u)}}rH.default=aH});var uV=H((eH)=>{Object.defineProperty(eH,"__esModule",{value:!0});var Np=h2();class tH{constructor(u,D){this._root=u,this._settings=D,this._reader=new Np.default(this._root,this._settings),this._storage=[]}read(u){this._reader.onError((D)=>{jp(u,D)}),this._reader.onEntry((D)=>{this._storage.push(D)}),this._reader.onEnd(()=>{Ip(u,this._storage)}),this._reader.read()}}eH.default=tH;function jp(u,D){u(D)}function Ip(u,D){u(null,D)}});var $V=H((FV)=>{Object.defineProperty(FV,"__esModule",{value:!0});var Cp=o("stream"),Pp=h2();class DV{constructor(u,D){this._root=u,this._settings=D,this._reader=new Pp.default(this._root,this._settings),this._stream=new Cp.Readable({objectMode:!0,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed)this._reader.destroy()}})}read(){return this._reader.onError((u)=>{this._stream.emit("error",u)}),this._reader.onEntry((u)=>{this._stream.push(u)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}FV.default=DV});var ZV=H((zV)=>{Object.defineProperty(zV,"__esModule",{value:!0});var _p=J9(),K9=G9(),Up=c2();class BV extends Up.default{constructor(){super(...arguments);this._scandir=_p.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(u,D){this._queue.add({directory:u,base:D})}_handleQueue(){for(let u of this._queue.values())this._handleDirectory(u.directory,u.base)}_handleDirectory(u,D){try{let F=this._scandir(u,this._settings.fsScandirSettings);for(let $ of F)this._handleEntry($,D)}catch(F){this._handleError(F)}}_handleError(u){if(!K9.isFatalError(this._settings,u))return;throw u}_handleEntry(u,D){let F=u.path;if(D!==void 0)u.path=K9.joinPathSegments(D,u.name,this._settings.pathSegmentSeparator);if(K9.isAppliedFilter(this._settings.entryFilter,u))this._pushToStorage(u);if(u.dirent.isDirectory()&&K9.isAppliedFilter(this._settings.deepFilter,u))this._pushToQueue(F,D===void 0?void 0:u.path)}_pushToStorage(u){this._storage.push(u)}}zV.default=BV});var QV=H((XV)=>{Object.defineProperty(XV,"__esModule",{value:!0});var Tp=ZV();class qV{constructor(u,D){this._root=u,this._settings=D,this._reader=new Tp.default(this._root,this._settings)}read(){return this._reader.read()}}XV.default=qV});var JV=H((WV)=>{Object.defineProperty(WV,"__esModule",{value:!0});var bp=o("path"),Rp=J9();class YV{constructor(u={}){this._options=u,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,bp.sep),this.fsScandirSettings=new Rp.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(u,D){return u!==null&&u!==void 0?u:D}}WV.default=YV});var H9=H((fV)=>{Object.defineProperty(fV,"__esModule",{value:!0});fV.Settings=fV.walkStream=fV.walkSync=fV.walk=void 0;var GV=uV(),cp=$V(),hp=QV(),m2=JV();fV.Settings=m2.default;function mp(u,D,F){if(typeof D==="function"){new GV.default(u,x9()).read(D);return}new GV.default(u,x9(D)).read(F)}fV.walk=mp;function np(u,D){let F=x9(D);return new hp.default(u,F).read()}fV.walkSync=np;function pp(u,D){let F=x9(D);return new cp.default(u,F).read()}fV.walkStream=pp;function x9(u={}){if(u instanceof m2.default)return u;return new m2.default(u)}});var V9=H((VV)=>{Object.defineProperty(VV,"__esModule",{value:!0});var op=o("path"),sp=jF(),xV=W1();class HV{constructor(u){this._settings=u,this._fsStatSettings=new sp.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(u){return op.resolve(this._settings.cwd,u)}_makeEntry(u,D){let F={name:D,path:D,dirent:xV.fs.createDirentFromStats(D,u)};if(this._settings.stats)F.stats=u;return F}_isFatalError(u){return!xV.errno.isEnoentCodeError(u)&&!this._settings.suppressErrors}}VV.default=HV});var n2=H((MV)=>{Object.defineProperty(MV,"__esModule",{value:!0});var rp=o("stream"),tp=jF(),ep=H9(),ul=V9();class LV extends ul.default{constructor(){super(...arguments);this._walkStream=ep.walkStream,this._stat=tp.stat}dynamic(u,D){return this._walkStream(u,D)}static(u,D){let F=u.map(this._getFullEntryPath,this),$=new rp.PassThrough({objectMode:!0});$._write=(B,z,Z)=>{return this._getEntry(F[B],u[B],D).then((q)=>{if(q!==null&&D.entryFilter(q))$.push(q);if(B===F.length-1)$.end();Z()}).catch(Z)};for(let B=0;B<F.length;B++)$.write(B);return $}_getEntry(u,D,F){return this._getStat(u).then(($)=>this._makeEntry($,D)).catch(($)=>{if(F.errorFilter($))return null;throw $})}_getStat(u){return new Promise((D,F)=>{this._stat(u,this._fsStatSettings,($,B)=>{return $===null?D(B):F($)})})}}MV.default=LV});var OV=H((iV)=>{Object.defineProperty(iV,"__esModule",{value:!0});var Fl=H9(),$l=V9(),Bl=n2();class wV extends $l.default{constructor(){super(...arguments);this._walkAsync=Fl.walk,this._readerStream=new Bl.default(this._settings)}dynamic(u,D){return new Promise((F,$)=>{this._walkAsync(u,D,(B,z)=>{if(B===null)F(z);else $(B)})})}async static(u,D){let F=[],$=this._readerStream.static(u,D);return new Promise((B,z)=>{$.once("error",z),$.on("data",(Z)=>F.push(Z)),$.once("end",()=>B(F))})}}iV.default=wV});var jV=H((NV)=>{Object.defineProperty(NV,"__esModule",{value:!0});var m8=W1();class AV{constructor(u,D,F){this._patterns=u,this._settings=D,this._micromatchOptions=F,this._storage=[],this._fillStorage()}_fillStorage(){for(let u of this._patterns){let D=this._getPatternSegments(u),F=this._splitSegmentsIntoSections(D);this._storage.push({complete:F.length<=1,pattern:u,segments:D,sections:F})}}_getPatternSegments(u){return m8.pattern.getPatternParts(u,this._micromatchOptions).map((F)=>{if(!m8.pattern.isDynamicPattern(F,this._settings))return{dynamic:!1,pattern:F};return{dynamic:!0,pattern:F,patternRe:m8.pattern.makeRe(F,this._micromatchOptions)}})}_splitSegmentsIntoSections(u){return m8.array.splitWhen(u,(D)=>D.dynamic&&m8.pattern.hasGlobStar(D.pattern))}}NV.default=AV});var CV=H((EV)=>{Object.defineProperty(EV,"__esModule",{value:!0});var ql=jV();class IV extends ql.default{match(u){let D=u.split("/"),F=D.length,$=this._storage.filter((B)=>!B.complete||B.segments.length>F);for(let B of $){let z=B.sections[0];if(!B.complete&&F>z.length)return!0;if(D.every((q,X)=>{let Q=B.segments[X];if(Q.dynamic&&Q.patternRe.test(q))return!0;if(!Q.dynamic&&Q.pattern===q)return!0;return!1}))return!0}return!1}}EV.default=IV});var _V=H((vV)=>{Object.defineProperty(vV,"__esModule",{value:!0});var L9=W1(),Ql=CV();class PV{constructor(u,D){this._settings=u,this._micromatchOptions=D}getFilter(u,D,F){let $=this._getMatcher(D),B=this._getNegativePatternsRe(F);return(z)=>this._filter(u,z,$,B)}_getMatcher(u){return new Ql.default(u,this._settings,this._micromatchOptions)}_getNegativePatternsRe(u){let D=u.filter(L9.pattern.isAffectDepthOfReadingPattern);return L9.pattern.convertPatternsToRe(D,this._micromatchOptions)}_filter(u,D,F,$){if(this._isSkippedByDeep(u,D.path))return!1;if(this._isSkippedSymbolicLink(D))return!1;let B=L9.path.removeLeadingDotSegment(D.path);if(this._isSkippedByPositivePatterns(B,F))return!1;return this._isSkippedByNegativePatterns(B,$)}_isSkippedByDeep(u,D){if(this._settings.deep===1/0)return!1;return this._getEntryLevel(u,D)>=this._settings.deep}_getEntryLevel(u,D){let F=D.split("/").length;if(u==="")return F;let $=u.split("/").length;return F-$}_isSkippedSymbolicLink(u){return!this._settings.followSymbolicLinks&&u.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(u,D){return!this._settings.baseNameMatch&&!D.match(u)}_isSkippedByNegativePatterns(u,D){return!L9.pattern.matchAny(u,D)}}vV.default=PV});var TV=H((SV)=>{Object.defineProperty(SV,"__esModule",{value:!0});var k1=W1();class UV{constructor(u,D){this._settings=u,this._micromatchOptions=D,this.index=new Map}getFilter(u,D){let[F,$]=k1.pattern.partitionAbsoluteAndRelative(D),B={positive:{all:k1.pattern.convertPatternsToRe(u,this._micromatchOptions)},negative:{absolute:k1.pattern.convertPatternsToRe(F,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:k1.pattern.convertPatternsToRe($,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return(z)=>this._filter(z,B)}_filter(u,D){let F=k1.path.removeLeadingDotSegment(u.path);if(this._settings.unique&&this._isDuplicateEntry(F))return!1;if(this._onlyFileFilter(u)||this._onlyDirectoryFilter(u))return!1;let $=this._isMatchToPatternsSet(F,D,u.dirent.isDirectory());if(this._settings.unique&&$)this._createIndexRecord(F);return $}_isDuplicateEntry(u){return this.index.has(u)}_createIndexRecord(u){this.index.set(u,void 0)}_onlyFileFilter(u){return this._settings.onlyFiles&&!u.dirent.isFile()}_onlyDirectoryFilter(u){return this._settings.onlyDirectories&&!u.dirent.isDirectory()}_isMatchToPatternsSet(u,D,F){if(!this._isMatchToPatterns(u,D.positive.all,F))return!1;if(this._isMatchToPatterns(u,D.negative.relative,F))return!1;if(this._isMatchToAbsoluteNegative(u,D.negative.absolute,F))return!1;return!0}_isMatchToAbsoluteNegative(u,D,F){if(D.length===0)return!1;let $=k1.path.makeAbsolute(this._settings.cwd,u);return this._isMatchToPatterns($,D,F)}_isMatchToPatterns(u,D,F){if(D.length===0)return!1;let $=k1.pattern.matchAny(u,D);if(!$&&F)return k1.pattern.matchAny(u+"/",D);return $}}SV.default=UV});var RV=H((bV)=>{Object.defineProperty(bV,"__esModule",{value:!0});var Jl=W1();class yV{constructor(u){this._settings=u}getFilter(){return(u)=>this._isNonFatalError(u)}_isNonFatalError(u){return Jl.errno.isEnoentCodeError(u)||this._settings.suppressErrors}}bV.default=yV});var mV=H((hV)=>{Object.defineProperty(hV,"__esModule",{value:!0});var kV=W1();class cV{constructor(u){this._settings=u}getTransformer(){return(u)=>this._transform(u)}_transform(u){let D=u.path;if(this._settings.absolute)D=kV.path.makeAbsolute(this._settings.cwd,D),D=kV.path.unixify(D);if(this._settings.markDirectories&&u.dirent.isDirectory())D+="/";if(!this._settings.objectMode)return D;return Object.assign(Object.assign({},u),{path:D})}}hV.default=cV});var M9=H((pV)=>{Object.defineProperty(pV,"__esModule",{value:!0});var Kl=o("path"),xl=_V(),Hl=TV(),Vl=RV(),Ll=mV();class nV{constructor(u){this._settings=u,this.errorFilter=new Vl.default(this._settings),this.entryFilter=new Hl.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new xl.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Ll.default(this._settings)}_getRootDirectory(u){return Kl.resolve(this._settings.cwd,u.base)}_getReaderOptions(u){let D=u.base==="."?"":u.base;return{basePath:D,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(D,u.positive,u.negative),entryFilter:this.entryFilter.getFilter(u.positive,u.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}pV.default=nV});var gV=H((dV)=>{Object.defineProperty(dV,"__esModule",{value:!0});var wl=OV(),il=M9();class lV extends il.default{constructor(){super(...arguments);this._reader=new wl.default(this._settings)}async read(u){let D=this._getRootDirectory(u),F=this._getReaderOptions(u);return(await this.api(D,u,F)).map((B)=>F.transform(B))}api(u,D,F){if(D.dynamic)return this._reader.dynamic(u,F);return this._reader.static(D.patterns,F)}}dV.default=lV});var aV=H((sV)=>{Object.defineProperty(sV,"__esModule",{value:!0});var Al=o("stream"),Nl=n2(),jl=M9();class oV extends jl.default{constructor(){super(...arguments);this._reader=new Nl.default(this._settings)}read(u){let D=this._getRootDirectory(u),F=this._getReaderOptions(u),$=this.api(D,u,F),B=new Al.Readable({objectMode:!0,read:()=>{}});return $.once("error",(z)=>B.emit("error",z)).on("data",(z)=>B.emit("data",F.transform(z))).once("end",()=>B.emit("end")),B.once("close",()=>$.destroy()),B}api(u,D,F){if(D.dynamic)return this._reader.dynamic(u,F);return this._reader.static(D.patterns,F)}}sV.default=oV});var eV=H((tV)=>{Object.defineProperty(tV,"__esModule",{value:!0});var El=jF(),Cl=H9(),Pl=V9();class rV extends Pl.default{constructor(){super(...arguments);this._walkSync=Cl.walkSync,this._statSync=El.statSync}dynamic(u,D){return this._walkSync(u,D)}static(u,D){let F=[];for(let $ of u){let B=this._getFullEntryPath($),z=this._getEntry(B,$,D);if(z===null||!D.entryFilter(z))continue;F.push(z)}return F}_getEntry(u,D,F){try{let $=this._getStat(u);return this._makeEntry($,D)}catch($){if(F.errorFilter($))return null;throw $}}_getStat(u){return this._statSync(u,this._fsStatSettings)}}tV.default=rV});var FL=H((DL)=>{Object.defineProperty(DL,"__esModule",{value:!0});var _l=eV(),Ul=M9();class uL extends Ul.default{constructor(){super(...arguments);this._reader=new _l.default(this._settings)}read(u){let D=this._getRootDirectory(u),F=this._getReaderOptions(u);return this.api(D,u,F).map(F.transform)}api(u,D,F){if(D.dynamic)return this._reader.dynamic(u,F);return this._reader.static(D.patterns,F)}}DL.default=uL});var zL=H((BL)=>{Object.defineProperty(BL,"__esModule",{value:!0});BL.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var w6=o("fs"),Tl=o("os"),yl=Math.max(Tl.cpus().length,1);BL.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:w6.lstat,lstatSync:w6.lstatSync,stat:w6.stat,statSync:w6.statSync,readdir:w6.readdir,readdirSync:w6.readdirSync};class $L{constructor(u={}){if(this._options=u,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,yl),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories)this.onlyFiles=!1;if(this.stats)this.objectMode=!0;this.ignore=[].concat(this.ignore)}_getValue(u,D){return u===void 0?D:u}_getFileSystemMethods(u={}){return Object.assign(Object.assign({},BL.DEFAULT_FILE_SYSTEM_ADAPTER),u)}}BL.default=$L});var o2=H((Xz0,qL)=>{var ZL=Rx(),Rl=gV(),kl=aV(),cl=FL(),l2=zL(),KD=W1();async function d2(u,D){_D(u);let F=g2(u,Rl.default,D),$=await Promise.all(F);return KD.array.flatten($)}(function(u){u.glob=u,u.globSync=D,u.globStream=F,u.async=u;function D(Q,Y){_D(Q);let W=g2(Q,cl.default,Y);return KD.array.flatten(W)}u.sync=D;function F(Q,Y){_D(Q);let W=g2(Q,kl.default,Y);return KD.stream.merge(W)}u.stream=F;function $(Q,Y){_D(Q);let W=[].concat(Q),J=new l2.default(Y);return ZL.generate(W,J)}u.generateTasks=$;function B(Q,Y){_D(Q);let W=new l2.default(Y);return KD.pattern.isDynamicPattern(Q,W)}u.isDynamicPattern=B;function z(Q){return _D(Q),KD.path.escape(Q)}u.escapePath=z;function Z(Q){return _D(Q),KD.path.convertPathToPattern(Q)}u.convertPathToPattern=Z;let q;(function(Q){function Y(J){return _D(J),KD.path.escapePosixPath(J)}Q.escapePath=Y;function W(J){return _D(J),KD.path.convertPosixPathToPattern(J)}Q.convertPathToPattern=W})(q=u.posix||(u.posix={}));let X;(function(Q){function Y(J){return _D(J),KD.path.escapeWindowsPath(J)}Q.escapePath=Y;function W(J){return _D(J),KD.path.convertWindowsPathToPattern(J)}Q.convertPathToPattern=W})(X=u.win32||(u.win32={}))})(d2||(d2={}));function g2(u,D,F){let $=[].concat(u),B=new l2.default(F),z=ZL.generate($,B),Z=new D(B);return z.map(Z.read,Z)}function _D(u){if(![].concat(u).every(($)=>KD.string.isString($)&&!KD.string.isEmpty($)))throw TypeError("Patterns must be a string (non empty) or an array of strings")}qL.exports=d2});var LL=H((xz0,O9)=>{function YL(u){return Array.isArray(u)?u:[u]}var pl=void 0,a2="",XL=" ",s2="\\",ll=/^\s+$/,dl=/(?:[^\\]|^)\\$/,gl=/^\\!/,ol=/^\\#/,sl=/\r?\n/g,al=/^\.{0,2}\/|^\.{1,2}$/,rl=/\/$/,i6="/",WL="node-ignore";if(typeof Symbol<"u")WL=Symbol.for("node-ignore");var JL=WL,O6=(u,D,F)=>{return Object.defineProperty(u,D,{value:F}),F},tl=/([0-z])-([0-z])/g,GL=()=>!1,el=(u)=>u.replace(tl,(D,F,$)=>F.charCodeAt(0)<=$.charCodeAt(0)?D:a2),ud=(u)=>{let{length:D}=u;return u.slice(0,D-D%2)},Dd=[[/^\uFEFF/,()=>a2],[/((?:\\\\)*?)(\\?\s+)$/,(u,D,F)=>D+(F.indexOf("\\")===0?XL:a2)],[/(\\+?)\s/g,(u,D)=>{let{length:F}=D;return D.slice(0,F-F%2)+XL}],[/[\\$.|*+(){^]/g,(u)=>`\\${u}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return!/\/(?!$)/.test(this)?"(?:^|\\/)":"^"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(u,D,F)=>D+6<F.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(u,D,F)=>{let $=F.replace(/\\\*/g,"[^\\/]*");return D+$}],[/\\\\\\(?=[$.|*+(){^])/g,()=>s2],[/\\\\/g,()=>s2],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(u,D,F,$,B)=>D===s2?`\\[${F}${ud($)}${B}`:B==="]"?$.length%2===0?`[${el(F)}${$}]`:"[]":"[]"],[/(?:[^*])$/,(u)=>/\/$/.test(u)?`${u}$`:`${u}(?=$|\\/$)`]],Fd=/(^|\\\/)?\\\*$/,p8="regex",w9="checkRegex",QL="_",$d={[p8](u,D){return`${D?`${D}[^/]+`:"[^/]*"}(?=$|\\/$)`},[w9](u,D){return`${D?`${D}[^/]*`:"[^/]*"}(?=$|\\/$)`}},Bd=(u)=>Dd.reduce((D,[F,$])=>D.replace(F,$.bind(u)),u),i9=(u)=>typeof u==="string",zd=(u)=>u&&i9(u)&&!ll.test(u)&&!dl.test(u)&&u.indexOf("#")!==0,Zd=(u)=>u.split(sl).filter(Boolean);class fL{constructor(u,D,F,$,B,z){this.pattern=u,this.mark=D,this.negative=B,O6(this,"body",F),O6(this,"ignoreCase",$),O6(this,"regexPrefix",z)}get regex(){let u=QL+p8;if(this[u])return this[u];return this._make(p8,u)}get checkRegex(){let u=QL+w9;if(this[u])return this[u];return this._make(w9,u)}_make(u,D){let F=this.regexPrefix.replace(Fd,$d[u]),$=this.ignoreCase?new RegExp(F,"i"):new RegExp(F);return O6(this,D,$)}}var qd=({pattern:u,mark:D},F)=>{let $=!1,B=u;if(B.indexOf("!")===0)$=!0,B=B.substr(1);B=B.replace(gl,"!").replace(ol,"#");let z=Bd(B);return new fL(u,D,B,F,$,z)};class KL{constructor(u){this._ignoreCase=u,this._rules=[]}_add(u){if(u&&u[JL]){this._rules=this._rules.concat(u._rules._rules),this._added=!0;return}if(i9(u))u={pattern:u};if(zd(u.pattern)){let D=qd(u,this._ignoreCase);this._added=!0,this._rules.push(D)}}add(u){return this._added=!1,YL(i9(u)?Zd(u):u).forEach(this._add,this),this._added}test(u,D,F){let $=!1,B=!1,z;this._rules.forEach((q)=>{let{negative:X}=q;if(B===X&&$!==B||X&&!$&&!B&&!D)return;if(!q[F].test(u))return;$=!X,B=X,z=X?pl:q});let Z={ignored:$,unignored:B};if(z)Z.rule=z;return Z}}var Xd=(u,D)=>{throw new D(u)},J1=(u,D,F)=>{if(!i9(u))return F(`path must be a string, but got \`${D}\``,TypeError);if(!u)return F("path must not be empty",TypeError);if(J1.isNotRelative(u))return F(`path should be a \`path.relative()\`d string, but got "${D}"`,RangeError);return!0},xL=(u)=>al.test(u);J1.isNotRelative=xL;J1.convert=(u)=>u;class HL{constructor({ignorecase:u=!0,ignoreCase:D=u,allowRelativePaths:F=!1}={}){O6(this,JL,!0),this._rules=new KL(D),this._strictPathCheck=!F,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add(u){if(this._rules.add(u))this._initCache();return this}addPattern(u){return this.add(u)}_test(u,D,F,$){let B=u&&J1.convert(u);return J1(B,u,this._strictPathCheck?Xd:GL),this._t(B,D,F,$)}checkIgnore(u){if(!rl.test(u))return this.test(u);let D=u.split(i6).filter(Boolean);if(D.pop(),D.length){let F=this._t(D.join(i6)+i6,this._testCache,!0,D);if(F.ignored)return F}return this._rules.test(u,!1,w9)}_t(u,D,F,$){if(u in D)return D[u];if(!$)$=u.split(i6).filter(Boolean);if($.pop(),!$.length)return D[u]=this._rules.test(u,F,p8);let B=this._t($.join(i6)+i6,D,F,$);return D[u]=B.ignored?B:this._rules.test(u,F,p8)}ignores(u){return this._test(u,this._ignoreCache,!1).ignored}createFilter(){return(u)=>!this.ignores(u)}filter(u){return YL(u).filter(this.createFilter())}test(u){return this._test(u,this._testCache,!0)}}var r2=(u)=>new HL(u),Qd=(u)=>J1(u&&J1.convert(u),u,GL),VL=()=>{let u=(F)=>/^\\\\\?\\/.test(F)||/["<>|\u0000-\u001F]+/u.test(F)?F:F.replace(/\\/g,"/");J1.convert=u;let D=/^[a-z]:\//i;J1.isNotRelative=(F)=>D.test(F)||xL(F)};if(typeof process<"u"&&process.platform==="win32")VL();O9.exports=r2;r2.default=r2;O9.exports.isPathValid=Qd;O6(O9.exports,Symbol.for("setupWindows"),VL)});var xM=H((mZ0,KM)=>{var fM=o("stream").Stream,mg=o("util");KM.exports=yD;function yD(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}mg.inherits(yD,fM);yD.create=function(u,D){var F=new this;D=D||{};for(var $ in D)F[$]=D[$];F.source=u;var B=u.emit;if(u.emit=function(){return F._handleEmit(arguments),B.apply(u,arguments)},u.on("error",function(){}),F.pauseStream)u.pause();return F};Object.defineProperty(yD.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});yD.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};yD.prototype.resume=function(){if(!this._released)this.release();this.source.resume()};yD.prototype.pause=function(){this.source.pause()};yD.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(u){this.emit.apply(this,u)}.bind(this)),this._bufferedEvents=[]};yD.prototype.pipe=function(){var u=fM.prototype.pipe.apply(this,arguments);return this.resume(),u};yD.prototype._handleEmit=function(u){if(this._released){this.emit.apply(this,u);return}if(u[0]==="data")this.dataSize+=u[1].length,this._checkIfMaxDataSizeExceeded();this._bufferedEvents.push(u)};yD.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded)return;if(this.dataSize<=this.maxDataSize)return;this._maxDataSizeExceeded=!0;var u="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",Error(u))}});var MM=H((nZ0,LM)=>{var ng=o("util"),VM=o("stream").Stream,HM=xM();LM.exports=Zu;function Zu(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}ng.inherits(Zu,VM);Zu.create=function(u){var D=new this;u=u||{};for(var F in u)D[F]=u[F];return D};Zu.isStreamLike=function(u){return typeof u!=="function"&&typeof u!=="string"&&typeof u!=="boolean"&&typeof u!=="number"&&!Buffer.isBuffer(u)};Zu.prototype.append=function(u){var D=Zu.isStreamLike(u);if(D){if(!(u instanceof HM)){var F=HM.create(u,{maxDataSize:1/0,pauseStream:this.pauseStreams});u.on("data",this._checkDataSize.bind(this)),u=F}if(this._handleErrors(u),this.pauseStreams)u.pause()}return this._streams.push(u),this};Zu.prototype.pipe=function(u,D){return VM.prototype.pipe.call(this,u,D),this.resume(),u};Zu.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}};Zu.prototype._realGetNext=function(){var u=this._streams.shift();if(typeof u>"u"){this.end();return}if(typeof u!=="function"){this._pipeNext(u);return}var D=u;D(function(F){var $=Zu.isStreamLike(F);if($)F.on("data",this._checkDataSize.bind(this)),this._handleErrors(F);this._pipeNext(F)}.bind(this))};Zu.prototype._pipeNext=function(u){this._currentStream=u;var D=Zu.isStreamLike(u);if(D){u.on("end",this._getNext.bind(this)),u.pipe(this,{end:!1});return}var F=u;this.write(F),this._getNext()};Zu.prototype._handleErrors=function(u){var D=this;u.on("error",function(F){D._emitError(F)})};Zu.prototype.write=function(u){this.emit("data",u)};Zu.prototype.pause=function(){if(!this.pauseStreams)return;if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};Zu.prototype.resume=function(){if(!this._released)this._released=!0,this.writable=!0,this._getNext();if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};Zu.prototype.end=function(){this._reset(),this.emit("end")};Zu.prototype.destroy=function(){this._reset(),this.emit("close")};Zu.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};Zu.prototype._checkDataSize=function(){if(this._updateDataSize(),this.dataSize<=this.maxDataSize)return;var u="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(Error(u))};Zu.prototype._updateDataSize=function(){this.dataSize=0;var u=this;if(this._streams.forEach(function(D){if(!D.dataSize)return;u.dataSize+=D.dataSize}),this._currentStream&&this._currentStream.dataSize)this.dataSize+=this._currentStream.dataSize};Zu.prototype._emitError=function(u){this._reset(),this.emit("error",u)}});var wM=H((pZ0,pg)=>{pg.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 jM=H((rg)=>{/*!
70
+ * mime-types
71
+ * Copyright(c) 2014 Jonathan Ong
72
+ * Copyright(c) 2015 Douglas Christopher Wilson
73
+ * MIT Licensed
74
+ */var c9=wM(),lg=o("path").extname,iM=/^\s*([^;\s]*)(?:;|\s|$)/,dg=/^text\//i;rg.charset=OM;rg.charsets={lookup:OM};rg.contentType=gg;rg.extension=og;rg.extensions=Object.create(null);rg.lookup=sg;rg.types=Object.create(null);ag(rg.extensions,rg.types);function OM(u){if(!u||typeof u!=="string")return!1;var D=iM.exec(u),F=D&&c9[D[1].toLowerCase()];if(F&&F.charset)return F.charset;if(D&&dg.test(D[1]))return"UTF-8";return!1}function gg(u){if(!u||typeof u!=="string")return!1;var D=u.indexOf("/")===-1?rg.lookup(u):u;if(!D)return!1;if(D.indexOf("charset")===-1){var F=rg.charset(D);if(F)D+="; charset="+F.toLowerCase()}return D}function og(u){if(!u||typeof u!=="string")return!1;var D=iM.exec(u),F=D&&rg.extensions[D[1].toLowerCase()];if(!F||!F.length)return!1;return F[0]}function sg(u){if(!u||typeof u!=="string")return!1;var D=lg("x."+u).toLowerCase().substr(1);if(!D)return!1;return rg.types[D]||!1}function ag(u,D){var F=["nginx","apache",void 0,"iana"];Object.keys(c9).forEach(function(B){var z=c9[B],Z=z.extensions;if(!Z||!Z.length)return;u[B]=Z;for(var q=0;q<Z.length;q++){var X=Z[q];if(D[X]){var Q=F.indexOf(c9[D[X]].source),Y=F.indexOf(z.source);if(D[X]!=="application/octet-stream"&&(Q>Y||Q===Y&&D[X].substr(0,12)==="application/"))continue}D[X]=B}})}});var EM=H((dZ0,IM)=>{IM.exports=Do;function Do(u){var D=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(D)D(u);else setTimeout(u,0)}});var wB=H((gZ0,PM)=>{var CM=EM();PM.exports=Fo;function Fo(u){var D=!1;return CM(function(){D=!0}),function($,B){if(D)u($,B);else CM(function(){u($,B)})}}});var iB=H((oZ0,vM)=>{vM.exports=$o;function $o(u){Object.keys(u.jobs).forEach(Bo.bind(u)),u.jobs={}}function Bo(u){if(typeof this.jobs[u]=="function")this.jobs[u]()}});var OB=H((sZ0,UM)=>{var _M=wB(),zo=iB();UM.exports=Zo;function Zo(u,D,F,$){var B=F.keyedList?F.keyedList[F.index]:F.index;F.jobs[B]=qo(D,B,u[B],function(z,Z){if(!(B in F.jobs))return;if(delete F.jobs[B],z)zo(F);else F.results[B]=Z;$(z,F.results)})}function qo(u,D,F,$){var B;if(u.length==2)B=u(F,_M($));else B=u(F,D,_M($));return B}});var AB=H((aZ0,SM)=>{SM.exports=Xo;function Xo(u,D){var F=!Array.isArray(u),$={index:0,keyedList:F||D?Object.keys(u):null,jobs:{},results:F?{}:[],size:F?Object.keys(u).length:u.length};if(D)$.keyedList.sort(F?D:function(B,z){return D(u[B],u[z])});return $}});var NB=H((rZ0,TM)=>{var Qo=iB(),Yo=wB();TM.exports=Wo;function Wo(u){if(!Object.keys(this.jobs).length)return;this.index=this.size,Qo(this),Yo(u)(null,this.results)}});var bM=H((tZ0,yM)=>{var Jo=OB(),Go=AB(),fo=NB();yM.exports=Ko;function Ko(u,D,F){var $=Go(u);while($.index<($.keyedList||u).length)Jo(u,D,$,function(B,z){if(B){F(B,z);return}if(Object.keys($.jobs).length===0){F(null,$.results);return}}),$.index++;return fo.bind($,F)}});var jB=H((eZ0,h9)=>{var RM=OB(),xo=AB(),Ho=NB();h9.exports=Vo;h9.exports.ascending=kM;h9.exports.descending=Lo;function Vo(u,D,F,$){var B=xo(u,F);return RM(u,D,B,function z(Z,q){if(Z){$(Z,q);return}if(B.index++,B.index<(B.keyedList||u).length){RM(u,D,B,z);return}$(null,B.results)}),Ho.bind(B,$)}function kM(u,D){return u<D?-1:u>D?1:0}function Lo(u,D){return-1*kM(u,D)}});var hM=H((uq0,cM)=>{var Mo=jB();cM.exports=wo;function wo(u,D,F){return Mo(u,D,null,F)}});var nM=H((Dq0,mM)=>{mM.exports={parallel:bM(),serial:hM(),serialOrdered:jB()}});var IB=H((Fq0,pM)=>{pM.exports=Object});var dM=H(($q0,lM)=>{lM.exports=Error});var oM=H((Bq0,gM)=>{gM.exports=EvalError});var aM=H((zq0,sM)=>{sM.exports=RangeError});var tM=H((Zq0,rM)=>{rM.exports=ReferenceError});var uw=H((qq0,eM)=>{eM.exports=SyntaxError});var m9=H((Xq0,Dw)=>{Dw.exports=TypeError});var $w=H((Qq0,Fw)=>{Fw.exports=URIError});var zw=H((Yq0,Bw)=>{Bw.exports=Math.abs});var qw=H((Wq0,Zw)=>{Zw.exports=Math.floor});var Qw=H((Jq0,Xw)=>{Xw.exports=Math.max});var Ww=H((Gq0,Yw)=>{Yw.exports=Math.min});var Gw=H((fq0,Jw)=>{Jw.exports=Math.pow});var Kw=H((Kq0,fw)=>{fw.exports=Math.round});var Hw=H((xq0,xw)=>{xw.exports=Number.isNaN||function(D){return D!==D}});var Lw=H((Hq0,Vw)=>{var io=Hw();Vw.exports=function(D){if(io(D)||D===0)return D;return D<0?-1:1}});var ww=H((Vq0,Mw)=>{Mw.exports=Object.getOwnPropertyDescriptor});var EB=H((Lq0,iw)=>{var n9=ww();if(n9)try{n9([],"length")}catch(u){n9=null}iw.exports=n9});var Aw=H((Mq0,Ow)=>{var p9=Object.defineProperty||!1;if(p9)try{p9({},"a",{value:1})}catch(u){p9=!1}Ow.exports=p9});var CB=H((wq0,Nw)=>{Nw.exports=function(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function")return!1;if(typeof Symbol.iterator==="symbol")return!0;var D={},F=Symbol("test"),$=Object(F);if(typeof F==="string")return!1;if(Object.prototype.toString.call(F)!=="[object Symbol]")return!1;if(Object.prototype.toString.call($)!=="[object Symbol]")return!1;var B=42;D[F]=B;for(var z in D)return!1;if(typeof Object.keys==="function"&&Object.keys(D).length!==0)return!1;if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(D).length!==0)return!1;var Z=Object.getOwnPropertySymbols(D);if(Z.length!==1||Z[0]!==F)return!1;if(!Object.prototype.propertyIsEnumerable.call(D,F))return!1;if(typeof Object.getOwnPropertyDescriptor==="function"){var q=Object.getOwnPropertyDescriptor(D,F);if(q.value!==B||q.enumerable!==!0)return!1}return!0}});var Ew=H((iq0,Iw)=>{var jw=typeof Symbol<"u"&&Symbol,Oo=CB();Iw.exports=function(){if(typeof jw!=="function")return!1;if(typeof Symbol!=="function")return!1;if(typeof jw("foo")!=="symbol")return!1;if(typeof Symbol("bar")!=="symbol")return!1;return Oo()}});var PB=H((Oq0,Cw)=>{Cw.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var vB=H((Aq0,Pw)=>{var Ao=IB();Pw.exports=Ao.getPrototypeOf||null});var Uw=H((Nq0,_w)=>{var No="Function.prototype.bind called on incompatible ",jo=Object.prototype.toString,Io=Math.max,Eo="[object Function]",vw=function(D,F){var $=[];for(var B=0;B<D.length;B+=1)$[B]=D[B];for(var z=0;z<F.length;z+=1)$[z+D.length]=F[z];return $},Co=function(D,F){var $=[];for(var B=F||0,z=0;B<D.length;B+=1,z+=1)$[z]=D[B];return $},Po=function(u,D){var F="";for(var $=0;$<u.length;$+=1)if(F+=u[$],$+1<u.length)F+=D;return F};_w.exports=function(D){var F=this;if(typeof F!=="function"||jo.apply(F)!==Eo)throw TypeError(No+F);var $=Co(arguments,1),B,z=function(){if(this instanceof B){var Y=F.apply(this,vw($,arguments));if(Object(Y)===Y)return Y;return this}return F.apply(D,vw($,arguments))},Z=Io(0,F.length-$.length),q=[];for(var X=0;X<Z;X++)q[X]="$"+X;if(B=Function("binder","return function ("+Po(q,",")+"){ return binder.apply(this,arguments); }")(z),F.prototype){var Q=function(){};Q.prototype=F.prototype,B.prototype=new Q,Q.prototype=null}return B}});var D4=H((jq0,Sw)=>{var vo=Uw();Sw.exports=Function.prototype.bind||vo});var l9=H((Iq0,Tw)=>{Tw.exports=Function.prototype.call});var _B=H((Eq0,yw)=>{yw.exports=Function.prototype.apply});var Rw=H((Cq0,bw)=>{bw.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var cw=H((Pq0,kw)=>{var _o=D4(),Uo=_B(),So=l9(),To=Rw();kw.exports=To||_o.call(So,Uo)});var mw=H((vq0,hw)=>{var yo=D4(),bo=m9(),Ro=l9(),ko=cw();hw.exports=function(D){if(D.length<1||typeof D[0]!=="function")throw new bo("a function is required");return ko(yo,Ro,D)}});var ow=H((_q0,gw)=>{var co=mw(),nw=EB(),lw;try{lw=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!=="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var UB=!!lw&&nw&&nw(Object.prototype,"__proto__"),dw=Object,pw=dw.getPrototypeOf;gw.exports=UB&&typeof UB.get==="function"?co([UB.get]):typeof pw==="function"?function(D){return pw(D==null?D:dw(D))}:!1});var ew=H((Uq0,tw)=>{var sw=PB(),aw=vB(),rw=ow();tw.exports=sw?function(D){return sw(D)}:aw?function(D){if(!D||typeof D!=="object"&&typeof D!=="function")throw TypeError("getProto: not an object");return aw(D)}:rw?function(D){return rw(D)}:null});var d9=H((Sq0,ui)=>{var ho=Function.prototype.call,mo=Object.prototype.hasOwnProperty,no=D4();ui.exports=no.call(ho,mo)});var Zi=H((Tq0,zi)=>{var C0,po=IB(),lo=dM(),go=oM(),oo=aM(),so=tM(),_6=uw(),v6=m9(),ao=$w(),ro=zw(),to=qw(),eo=Qw(),us=Ww(),Ds=Gw(),Fs=Kw(),$s=Lw(),$i=Function,SB=function(u){try{return $i('"use strict"; return ('+u+").constructor;")()}catch(D){}},F4=EB(),Bs=Aw(),TB=function(){throw new v6},zs=F4?function(){try{return arguments.callee,TB}catch(u){try{return F4(arguments,"callee").get}catch(D){return TB}}}():TB,C6=Ew()(),wu=ew(),Zs=vB(),qs=PB(),Bi=_B(),$4=l9(),P6={},Xs=typeof Uint8Array>"u"||!wu?C0:wu(Uint8Array),CF={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?C0:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?C0:ArrayBuffer,"%ArrayIteratorPrototype%":C6&&wu?wu([][Symbol.iterator]()):C0,"%AsyncFromSyncIteratorPrototype%":C0,"%AsyncFunction%":P6,"%AsyncGenerator%":P6,"%AsyncGeneratorFunction%":P6,"%AsyncIteratorPrototype%":P6,"%Atomics%":typeof Atomics>"u"?C0:Atomics,"%BigInt%":typeof BigInt>"u"?C0:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?C0:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?C0:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?C0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":lo,"%eval%":eval,"%EvalError%":go,"%Float16Array%":typeof Float16Array>"u"?C0:Float16Array,"%Float32Array%":typeof Float32Array>"u"?C0:Float32Array,"%Float64Array%":typeof Float64Array>"u"?C0:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?C0:FinalizationRegistry,"%Function%":$i,"%GeneratorFunction%":P6,"%Int8Array%":typeof Int8Array>"u"?C0:Int8Array,"%Int16Array%":typeof Int16Array>"u"?C0:Int16Array,"%Int32Array%":typeof Int32Array>"u"?C0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C6&&wu?wu(wu([][Symbol.iterator]())):C0,"%JSON%":typeof JSON==="object"?JSON:C0,"%Map%":typeof Map>"u"?C0:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C6||!wu?C0:wu(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":po,"%Object.getOwnPropertyDescriptor%":F4,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?C0:Promise,"%Proxy%":typeof Proxy>"u"?C0:Proxy,"%RangeError%":oo,"%ReferenceError%":so,"%Reflect%":typeof Reflect>"u"?C0:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?C0:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C6||!wu?C0:wu(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?C0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C6&&wu?wu(""[Symbol.iterator]()):C0,"%Symbol%":C6?Symbol:C0,"%SyntaxError%":_6,"%ThrowTypeError%":zs,"%TypedArray%":Xs,"%TypeError%":v6,"%Uint8Array%":typeof Uint8Array>"u"?C0:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?C0:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?C0:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?C0:Uint32Array,"%URIError%":ao,"%WeakMap%":typeof WeakMap>"u"?C0:WeakMap,"%WeakRef%":typeof WeakRef>"u"?C0:WeakRef,"%WeakSet%":typeof WeakSet>"u"?C0:WeakSet,"%Function.prototype.call%":$4,"%Function.prototype.apply%":Bi,"%Object.defineProperty%":Bs,"%Object.getPrototypeOf%":Zs,"%Math.abs%":ro,"%Math.floor%":to,"%Math.max%":eo,"%Math.min%":us,"%Math.pow%":Ds,"%Math.round%":Fs,"%Math.sign%":$s,"%Reflect.getPrototypeOf%":qs};if(wu)try{null.error}catch(u){yB=wu(wu(u)),CF["%Error.prototype%"]=yB}var yB,Qs=function u(D){var F;if(D==="%AsyncFunction%")F=SB("async function () {}");else if(D==="%GeneratorFunction%")F=SB("function* () {}");else if(D==="%AsyncGeneratorFunction%")F=SB("async function* () {}");else if(D==="%AsyncGenerator%"){var $=u("%AsyncGeneratorFunction%");if($)F=$.prototype}else if(D==="%AsyncIteratorPrototype%"){var B=u("%AsyncGenerator%");if(B&&wu)F=wu(B.prototype)}return CF[D]=F,F},Di={__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"]},B4=D4(),g9=d9(),Ys=B4.call($4,Array.prototype.concat),Ws=B4.call(Bi,Array.prototype.splice),Fi=B4.call($4,String.prototype.replace),o9=B4.call($4,String.prototype.slice),Js=B4.call($4,RegExp.prototype.exec),Gs=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fs=/\\(\\)?/g,Ks=function(D){var F=o9(D,0,1),$=o9(D,-1);if(F==="%"&&$!=="%")throw new _6("invalid intrinsic syntax, expected closing `%`");else if($==="%"&&F!=="%")throw new _6("invalid intrinsic syntax, expected opening `%`");var B=[];return Fi(D,Gs,function(z,Z,q,X){B[B.length]=q?Fi(X,fs,"$1"):Z||z}),B},xs=function(D,F){var $=D,B;if(g9(Di,$))B=Di[$],$="%"+B[0]+"%";if(g9(CF,$)){var z=CF[$];if(z===P6)z=Qs($);if(typeof z>"u"&&!F)throw new v6("intrinsic "+D+" exists, but is not available. Please file an issue!");return{alias:B,name:$,value:z}}throw new _6("intrinsic "+D+" does not exist!")};zi.exports=function(D,F){if(typeof D!=="string"||D.length===0)throw new v6("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!=="boolean")throw new v6('"allowMissing" argument must be a boolean');if(Js(/^%?[^%]*%?$/,D)===null)throw new _6("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var $=Ks(D),B=$.length>0?$[0]:"",z=xs("%"+B+"%",F),Z=z.name,q=z.value,X=!1,Q=z.alias;if(Q)B=Q[0],Ws($,Ys([0,1],Q));for(var Y=1,W=!0;Y<$.length;Y+=1){var J=$[Y],G=o9(J,0,1),f=o9(J,-1);if((G==='"'||G==="'"||G==="`"||(f==='"'||f==="'"||f==="`"))&&G!==f)throw new _6("property names with quotes must have matching quotes");if(J==="constructor"||!W)X=!0;if(B+="."+J,Z="%"+B+"%",g9(CF,Z))q=CF[Z];else if(q!=null){if(!(J in q)){if(!F)throw new v6("base intrinsic for "+D+" exists, but the property is not available.");return}if(F4&&Y+1>=$.length){var K=F4(q,J);if(W=!!K,W&&"get"in K&&!("originalValue"in K.get))q=K.get;else q=q[J]}else W=g9(q,J),q=q[J];if(W&&!X)CF[Z]=q}}return q}});var Xi=H((yq0,qi)=>{var Hs=CB();qi.exports=function(){return Hs()&&!!Symbol.toStringTag}});var Wi=H((bq0,Yi)=>{var Vs=Zi(),Qi=Vs("%Object.defineProperty%",!0),Ls=Xi()(),Ms=d9(),ws=m9(),s9=Ls?Symbol.toStringTag:null;Yi.exports=function(D,F){var $=arguments.length>2&&!!arguments[2]&&arguments[2].force,B=arguments.length>2&&!!arguments[2]&&arguments[2].nonConfigurable;if(typeof $<"u"&&typeof $!=="boolean"||typeof B<"u"&&typeof B!=="boolean")throw new ws("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");if(s9&&($||!Ms(D,s9)))if(Qi)Qi(D,s9,{configurable:!B,enumerable:!1,value:F,writable:!1});else D[s9]=F}});var Gi=H((Rq0,Ji)=>{Ji.exports=function(u,D){return Object.keys(D).forEach(function(F){u[F]=u[F]||D[F]}),u}});var Ki=H((kq0,fi)=>{var cB=MM(),is=o("util"),bB=o("path"),Os=o("http"),As=o("https"),Ns=o("url").parse,js=o("fs"),Is=o("stream").Stream,Es=o("crypto"),RB=jM(),Cs=nM(),Ps=Wi(),m1=d9(),kB=Gi();function U0(u){if(!(this instanceof U0))return new U0(u);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],cB.call(this),u=u||{};for(var D in u)this[D]=u[D]}is.inherits(U0,cB);U0.LINE_BREAK=`\r
75
+ `;U0.DEFAULT_CONTENT_TYPE="application/octet-stream";U0.prototype.append=function(u,D,F){if(F=F||{},typeof F==="string")F={filename:F};var $=cB.prototype.append.bind(this);if(typeof D==="number"||D==null)D=String(D);if(Array.isArray(D)){this._error(Error("Arrays are not supported."));return}var B=this._multiPartHeader(u,D,F),z=this._multiPartFooter();$(B),$(D),$(z),this._trackLength(B,D,F)};U0.prototype._trackLength=function(u,D,F){var $=0;if(F.knownLength!=null)$+=Number(F.knownLength);else if(Buffer.isBuffer(D))$=D.length;else if(typeof D==="string")$=Buffer.byteLength(D);if(this._valueLength+=$,this._overheadLength+=Buffer.byteLength(u)+U0.LINE_BREAK.length,!D||!D.path&&!(D.readable&&m1(D,"httpVersion"))&&!(D instanceof Is))return;if(!F.knownLength)this._valuesToMeasure.push(D)};U0.prototype._lengthRetriever=function(u,D){if(m1(u,"fd"))if(u.end!=null&&u.end!=1/0&&u.start!=null)D(null,u.end+1-(u.start?u.start:0));else js.stat(u.path,function(F,$){if(F){D(F);return}var B=$.size-(u.start?u.start:0);D(null,B)});else if(m1(u,"httpVersion"))D(null,Number(u.headers["content-length"]));else if(m1(u,"httpModule"))u.on("response",function(F){u.pause(),D(null,Number(F.headers["content-length"]))}),u.resume();else D("Unknown stream")};U0.prototype._multiPartHeader=function(u,D,F){if(typeof F.header==="string")return F.header;var $=this._getContentDisposition(D,F),B=this._getContentType(D,F),z="",Z={"Content-Disposition":["form-data",'name="'+u+'"'].concat($||[]),"Content-Type":[].concat(B||[])};if(typeof F.header==="object")kB(Z,F.header);var q;for(var X in Z)if(m1(Z,X)){if(q=Z[X],q==null)continue;if(!Array.isArray(q))q=[q];if(q.length)z+=X+": "+q.join("; ")+U0.LINE_BREAK}return"--"+this.getBoundary()+U0.LINE_BREAK+z+U0.LINE_BREAK};U0.prototype._getContentDisposition=function(u,D){var F;if(typeof D.filepath==="string")F=bB.normalize(D.filepath).replace(/\\/g,"/");else if(D.filename||u&&(u.name||u.path))F=bB.basename(D.filename||u&&(u.name||u.path));else if(u&&u.readable&&m1(u,"httpVersion"))F=bB.basename(u.client._httpMessage.path||"");if(F)return'filename="'+F+'"'};U0.prototype._getContentType=function(u,D){var F=D.contentType;if(!F&&u&&u.name)F=RB.lookup(u.name);if(!F&&u&&u.path)F=RB.lookup(u.path);if(!F&&u&&u.readable&&m1(u,"httpVersion"))F=u.headers["content-type"];if(!F&&(D.filepath||D.filename))F=RB.lookup(D.filepath||D.filename);if(!F&&u&&typeof u==="object")F=U0.DEFAULT_CONTENT_TYPE;return F};U0.prototype._multiPartFooter=function(){return function(u){var D=U0.LINE_BREAK,F=this._streams.length===0;if(F)D+=this._lastBoundary();u(D)}.bind(this)};U0.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+U0.LINE_BREAK};U0.prototype.getHeaders=function(u){var D,F={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(D in u)if(m1(u,D))F[D.toLowerCase()]=u[D];return F};U0.prototype.setBoundary=function(u){if(typeof u!=="string")throw TypeError("FormData boundary must be a string");this._boundary=u};U0.prototype.getBoundary=function(){if(!this._boundary)this._generateBoundary();return this._boundary};U0.prototype.getBuffer=function(){var u=new Buffer.alloc(0),D=this.getBoundary();for(var F=0,$=this._streams.length;F<$;F++)if(typeof this._streams[F]!=="function"){if(Buffer.isBuffer(this._streams[F]))u=Buffer.concat([u,this._streams[F]]);else u=Buffer.concat([u,Buffer.from(this._streams[F])]);if(typeof this._streams[F]!=="string"||this._streams[F].substring(2,D.length+2)!==D)u=Buffer.concat([u,Buffer.from(U0.LINE_BREAK)])}return Buffer.concat([u,Buffer.from(this._lastBoundary())])};U0.prototype._generateBoundary=function(){this._boundary="--------------------------"+Es.randomBytes(12).toString("hex")};U0.prototype.getLengthSync=function(){var u=this._overheadLength+this._valueLength;if(this._streams.length)u+=this._lastBoundary().length;if(!this.hasKnownLength())this._error(Error("Cannot calculate proper length in synchronous way."));return u};U0.prototype.hasKnownLength=function(){var u=!0;if(this._valuesToMeasure.length)u=!1;return u};U0.prototype.getLength=function(u){var D=this._overheadLength+this._valueLength;if(this._streams.length)D+=this._lastBoundary().length;if(!this._valuesToMeasure.length){process.nextTick(u.bind(this,null,D));return}Cs.parallel(this._valuesToMeasure,this._lengthRetriever,function(F,$){if(F){u(F);return}$.forEach(function(B){D+=B}),u(null,D)})};U0.prototype.submit=function(u,D){var F,$,B={method:"post"};if(typeof u==="string")u=Ns(u),$=kB({port:u.port,path:u.pathname,host:u.hostname,protocol:u.protocol},B);else if($=kB(u,B),!$.port)$.port=$.protocol==="https:"?443:80;if($.headers=this.getHeaders(u.headers),$.protocol==="https:")F=As.request($);else F=Os.request($);return this.getLength(function(z,Z){if(z&&z!=="Unknown stream"){this._error(z);return}if(Z)F.setHeader("Content-Length",Z);if(this.pipe(F),D){var q,X=function(Q,Y){return F.removeListener("error",X),F.removeListener("response",q),D.call(this,Q,Y)};q=X.bind(this,null),F.on("error",X),F.on("response",q)}}.bind(this)),F};U0.prototype._error=function(u){if(!this.error)this.error=u,this.pause(),this.emit("error",u)};U0.prototype.toString=function(){return"[object FormData]"};Ps(U0.prototype,"FormData");fi.exports=U0});var vi=H((Da)=>{var as=o("url").parse,rs={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},ts=String.prototype.endsWith||function(u){return u.length<=this.length&&this.indexOf(u,this.length-u.length)!==-1};function es(u){var D=typeof u==="string"?as(u):u||{},F=D.protocol,$=D.host,B=D.port;if(typeof $!=="string"||!$||typeof F!=="string")return"";if(F=F.split(":",1)[0],$=$.replace(/:\d*$/,""),B=parseInt(B)||rs[F]||0,!ua($,B))return"";var z=S6("npm_config_"+F+"_proxy")||S6(F+"_proxy")||S6("npm_config_proxy")||S6("all_proxy");if(z&&z.indexOf("://")===-1)z=F+"://"+z;return z}function ua(u,D){var F=(S6("npm_config_no_proxy")||S6("no_proxy")).toLowerCase();if(!F)return!0;if(F==="*")return!1;return F.split(/[,\s]/).every(function($){if(!$)return!0;var B=$.match(/^(.+):(\d+)$/),z=B?B[1]:$,Z=B?parseInt(B[2]):0;if(Z&&Z!==D)return!0;if(!/^[.*]/.test(z))return u!==z;if(z.charAt(0)==="*")z=z.slice(1);return!ts.call(u,z)})}function S6(u){return process.env[u.toLowerCase()]||process.env[u.toUpperCase()]||""}Da.getProxyForUrl=es});var Ui=H((hX0,_i)=>{var T6=1000,y6=T6*60,b6=y6*60,_F=b6*24,$a=_F*7,Ba=_F*365.25;_i.exports=function(u,D){D=D||{};var F=typeof u;if(F==="string"&&u.length>0)return za(u);else if(F==="number"&&isFinite(u))return D.long?qa(u):Za(u);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(u))};function za(u){if(u=String(u),u.length>100)return;var D=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(!D)return;var F=parseFloat(D[1]),$=(D[2]||"ms").toLowerCase();switch($){case"years":case"year":case"yrs":case"yr":case"y":return F*Ba;case"weeks":case"week":case"w":return F*$a;case"days":case"day":case"d":return F*_F;case"hours":case"hour":case"hrs":case"hr":case"h":return F*b6;case"minutes":case"minute":case"mins":case"min":case"m":return F*y6;case"seconds":case"second":case"secs":case"sec":case"s":return F*T6;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return F;default:return}}function Za(u){var D=Math.abs(u);if(D>=_F)return Math.round(u/_F)+"d";if(D>=b6)return Math.round(u/b6)+"h";if(D>=y6)return Math.round(u/y6)+"m";if(D>=T6)return Math.round(u/T6)+"s";return u+"ms"}function qa(u){var D=Math.abs(u);if(D>=_F)return e9(u,D,_F,"day");if(D>=b6)return e9(u,D,b6,"hour");if(D>=y6)return e9(u,D,y6,"minute");if(D>=T6)return e9(u,D,T6,"second");return u+" ms"}function e9(u,D,F,$){var B=D>=F*1.5;return Math.round(u/F)+" "+$+(B?"s":"")}});var tB=H((mX0,Si)=>{function Xa(u){F.debug=F,F.default=F,F.coerce=X,F.disable=Z,F.enable=B,F.enabled=q,F.humanize=Ui(),F.destroy=Q,Object.keys(u).forEach((Y)=>{F[Y]=u[Y]}),F.names=[],F.skips=[],F.formatters={};function D(Y){let W=0;for(let J=0;J<Y.length;J++)W=(W<<5)-W+Y.charCodeAt(J),W|=0;return F.colors[Math.abs(W)%F.colors.length]}F.selectColor=D;function F(Y){let W,J=null,G,f;function K(...x){if(!K.enabled)return;let M=K,L=Number(new Date),j=L-(W||L);if(M.diff=j,M.prev=W,M.curr=L,W=L,x[0]=F.coerce(x[0]),typeof x[0]!=="string")x.unshift("%O");let U=0;x[0]=x[0].replace(/%([a-zA-Z%])/g,(S,k)=>{if(S==="%%")return"%";U++;let R=F.formatters[k];if(typeof R==="function"){let h=x[U];S=R.call(M,h),x.splice(U,1),U--}return S}),F.formatArgs.call(M,x),(M.log||F.log).apply(M,x)}if(K.namespace=Y,K.useColors=F.useColors(),K.color=F.selectColor(Y),K.extend=$,K.destroy=F.destroy,Object.defineProperty(K,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(J!==null)return J;if(G!==F.namespaces)G=F.namespaces,f=F.enabled(Y);return f},set:(x)=>{J=x}}),typeof F.init==="function")F.init(K);return K}function $(Y,W){let J=F(this.namespace+(typeof W>"u"?":":W)+Y);return J.log=this.log,J}function B(Y){F.save(Y),F.namespaces=Y,F.names=[],F.skips=[];let W=(typeof Y==="string"?Y:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let J of W)if(J[0]==="-")F.skips.push(J.slice(1));else F.names.push(J)}function z(Y,W){let J=0,G=0,f=-1,K=0;while(J<Y.length)if(G<W.length&&(W[G]===Y[J]||W[G]==="*"))if(W[G]==="*")f=G,K=J,G++;else J++,G++;else if(f!==-1)G=f+1,K++,J=K;else return!1;while(G<W.length&&W[G]==="*")G++;return G===W.length}function Z(){let Y=[...F.names,...F.skips.map((W)=>"-"+W)].join(",");return F.enable(""),Y}function q(Y){for(let W of F.skips)if(z(Y,W))return!1;for(let W of F.names)if(z(Y,W))return!0;return!1}function X(Y){if(Y instanceof Error)return Y.stack||Y.message;return Y}function Q(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return F.enable(F.load()),F}Si.exports=Xa});var yi=H((Ti,u5)=>{Ti.formatArgs=Ya;Ti.save=Wa;Ti.load=Ja;Ti.useColors=Qa;Ti.storage=Ga();Ti.destroy=(()=>{let u=!1;return()=>{if(!u)u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Ti.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Qa(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Ya(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+u5.exports.humanize(this.diff),!this.useColors)return;let D="color: "+this.color;u.splice(1,0,D,"color: inherit");let F=0,$=0;u[0].replace(/%[a-zA-Z%]/g,(B)=>{if(B==="%%")return;if(F++,B==="%c")$=F}),u.splice($,0,D)}Ti.log=console.debug||console.log||(()=>{});function Wa(u){try{if(u)Ti.storage.setItem("debug",u);else Ti.storage.removeItem("debug")}catch(D){}}function Ja(){let u;try{u=Ti.storage.getItem("debug")||Ti.storage.getItem("DEBUG")}catch(D){}if(!u&&typeof process<"u"&&"env"in process)u=process.env.DEBUG;return u}function Ga(){try{return localStorage}catch(u){}}u5.exports=tB()(Ti);var{formatters:fa}=u5.exports;fa.j=function(u){try{return JSON.stringify(u)}catch(D){return"[UnexpectedJSONParseError]: "+D.message}}});var Ri={};Y3(Ri,{default:()=>Ia,createSupportsColor:()=>Y4});import eB from"node:process";import ia from"node:os";import bi from"node:tty";function VD(u,D=globalThis.Deno?globalThis.Deno.args:eB.argv){let F=u.startsWith("-")?"":u.length===1?"-":"--",$=D.indexOf(F+u),B=D.indexOf("--");return $!==-1&&(B===-1||$<B)}function Oa(){if(!("FORCE_COLOR"in e0))return;if(e0.FORCE_COLOR==="true")return 1;if(e0.FORCE_COLOR==="false")return 0;if(e0.FORCE_COLOR.length===0)return 1;let u=Math.min(Number.parseInt(e0.FORCE_COLOR,10),3);if(![0,1,2,3].includes(u))return;return u}function Aa(u){if(u===0)return!1;return{level:u,hasBasic:!0,has256:u>=2,has16m:u>=3}}function Na(u,{streamIsTTY:D,sniffFlags:F=!0}={}){let $=Oa();if($!==void 0)D5=$;let B=F?D5:$;if(B===0)return 0;if(F){if(VD("color=16m")||VD("color=full")||VD("color=truecolor"))return 3;if(VD("color=256"))return 2}if("TF_BUILD"in e0&&"AGENT_NAME"in e0)return 1;if(u&&!D&&B===void 0)return 0;let z=B||0;if(e0.TERM==="dumb")return z;if(eB.platform==="win32"){let Z=ia.release().split(".");if(Number(Z[0])>=10&&Number(Z[2])>=10586)return Number(Z[2])>=14931?3:2;return 1}if("CI"in e0){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Z)=>(Z in e0)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Z)=>(Z in e0))||e0.CI_NAME==="codeship")return 1;return z}if("TEAMCITY_VERSION"in e0)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(e0.TEAMCITY_VERSION)?1:0;if(e0.COLORTERM==="truecolor")return 3;if(e0.TERM==="xterm-kitty")return 3;if(e0.TERM==="xterm-ghostty")return 3;if(e0.TERM==="wezterm")return 3;if("TERM_PROGRAM"in e0){let Z=Number.parseInt((e0.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(e0.TERM_PROGRAM){case"iTerm.app":return Z>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(e0.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(e0.TERM))return 1;if("COLORTERM"in e0)return 1;return z}function Y4(u,D={}){let F=Na(u,{streamIsTTY:u&&u.isTTY,...D});return Aa(F)}var e0,D5,ja,Ia;var uz=MP(()=>{({env:e0}=eB);if(VD("no-color")||VD("no-colors")||VD("color=false")||VD("color=never"))D5=0;else if(VD("color")||VD("colors")||VD("color=true")||VD("color=always"))D5=1;ja={stdout:Y4({isTTY:bi.isatty(1)}),stderr:Y4({isTTY:bi.isatty(2)})},Ia=ja});var mi=H((ci,$5)=>{var Ea=o("tty"),F5=o("util");ci.init=Ta;ci.log=_a;ci.formatArgs=Pa;ci.save=Ua;ci.load=Sa;ci.useColors=Ca;ci.destroy=F5.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");ci.colors=[6,2,3,4,5,1];try{let u=(uz(),LP(Ri));if(u&&(u.stderr||u).level>=2)ci.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(u){}ci.inspectOpts=Object.keys(process.env).filter((u)=>{return/^debug_/i.test(u)}).reduce((u,D)=>{let F=D.substring(6).toLowerCase().replace(/_([a-z])/g,(B,z)=>{return z.toUpperCase()}),$=process.env[D];if(/^(yes|on|true|enabled)$/i.test($))$=!0;else if(/^(no|off|false|disabled)$/i.test($))$=!1;else if($==="null")$=null;else $=Number($);return u[F]=$,u},{});function Ca(){return"colors"in ci.inspectOpts?Boolean(ci.inspectOpts.colors):Ea.isatty(process.stderr.fd)}function Pa(u){let{namespace:D,useColors:F}=this;if(F){let $=this.color,B="\x1B[3"+($<8?$:"8;5;"+$),z=` ${B};1m${D} \x1B[0m`;u[0]=z+u[0].split(`
76
+ `).join(`
77
+ `+z),u.push(B+"m+"+$5.exports.humanize(this.diff)+"\x1B[0m")}else u[0]=va()+D+" "+u[0]}function va(){if(ci.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function _a(...u){return process.stderr.write(F5.formatWithOptions(ci.inspectOpts,...u)+`
78
+ `)}function Ua(u){if(u)process.env.DEBUG=u;else delete process.env.DEBUG}function Sa(){return process.env.DEBUG}function Ta(u){u.inspectOpts={};let D=Object.keys(ci.inspectOpts);for(let F=0;F<D.length;F++)u.inspectOpts[D[F]]=ci.inspectOpts[D[F]]}$5.exports=tB()(ci);var{formatters:ki}=$5.exports;ki.o=function(u){return this.inspectOpts.colors=this.useColors,F5.inspect(u,this.inspectOpts).split(`
79
+ `).map((D)=>D.trim()).join(" ")};ki.O=function(u){return this.inspectOpts.colors=this.useColors,F5.inspect(u,this.inspectOpts)}});var ni=H((oX0,Dz)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)Dz.exports=yi();else Dz.exports=mi()});var li=H((sX0,pi)=>{var W4;pi.exports=function(){if(!W4){try{W4=ni()("follow-redirects")}catch(u){}if(typeof W4!=="function")W4=function(){}}W4.apply(null,arguments)}});var ai=H((aX0,Gz)=>{var G4=o("url"),J4=G4.URL,na=o("http"),pa=o("https"),Zz=o("stream").Writable,qz=o("assert"),di=li();(function(){var D=typeof process<"u",F=typeof window<"u"&&typeof document<"u",$=TF(Error.captureStackTrace);if(!D&&(F||!$))console.warn("The follow-redirects package should be excluded from browser builds.")})();var Xz=!1;try{qz(new J4(""))}catch(u){Xz=u.code==="ERR_INVALID_URL"}var la=["auth","host","hostname","href","path","pathname","port","protocol","query","search","hash"],Qz=["abort","aborted","connect","error","socket","timeout"],Yz=Object.create(null);Qz.forEach(function(u){Yz[u]=function(D,F,$){this._redirectable.emit(u,D,F,$)}});var $z=f4("ERR_INVALID_URL","Invalid URL",TypeError),Bz=f4("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),da=f4("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",Bz),ga=f4("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),oa=f4("ERR_STREAM_WRITE_AFTER_END","write after end"),sa=Zz.prototype.destroy||oi;function ru(u,D){if(Zz.call(this),this._sanitizeOptions(u),this._options=u,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],D)this.on("response",D);var F=this;this._onNativeResponse=function($){try{F._processResponse($)}catch(B){F.emit("error",B instanceof Bz?B:new Bz({cause:B}))}},this._performRequest()}ru.prototype=Object.create(Zz.prototype);ru.prototype.abort=function(){Jz(this._currentRequest),this._currentRequest.abort(),this.emit("abort")};ru.prototype.destroy=function(u){return Jz(this._currentRequest,u),sa.call(this,u),this};ru.prototype.write=function(u,D,F){if(this._ending)throw new oa;if(!SF(u)&&!ta(u))throw TypeError("data should be a string, Buffer or Uint8Array");if(TF(D))F=D,D=null;if(u.length===0){if(F)F();return}if(this._requestBodyLength+u.length<=this._options.maxBodyLength)this._requestBodyLength+=u.length,this._requestBodyBuffers.push({data:u,encoding:D}),this._currentRequest.write(u,D,F);else this.emit("error",new ga),this.abort()};ru.prototype.end=function(u,D,F){if(TF(u))F=u,u=D=null;else if(TF(D))F=D,D=null;if(!u)this._ended=this._ending=!0,this._currentRequest.end(null,null,F);else{var $=this,B=this._currentRequest;this.write(u,D,function(){$._ended=!0,B.end(null,null,F)}),this._ending=!0}};ru.prototype.setHeader=function(u,D){this._options.headers[u]=D,this._currentRequest.setHeader(u,D)};ru.prototype.removeHeader=function(u){delete this._options.headers[u],this._currentRequest.removeHeader(u)};ru.prototype.setTimeout=function(u,D){var F=this;function $(Z){Z.setTimeout(u),Z.removeListener("timeout",Z.destroy),Z.addListener("timeout",Z.destroy)}function B(Z){if(F._timeout)clearTimeout(F._timeout);F._timeout=setTimeout(function(){F.emit("timeout"),z()},u),$(Z)}function z(){if(F._timeout)clearTimeout(F._timeout),F._timeout=null;if(F.removeListener("abort",z),F.removeListener("error",z),F.removeListener("response",z),F.removeListener("close",z),D)F.removeListener("timeout",D);if(!F.socket)F._currentRequest.removeListener("socket",B)}if(D)this.on("timeout",D);if(this.socket)B(this.socket);else this._currentRequest.once("socket",B);return this.on("socket",$),this.on("abort",z),this.on("error",z),this.on("response",z),this.on("close",z),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(u){ru.prototype[u]=function(D,F){return this._currentRequest[u](D,F)}});["aborted","connection","socket"].forEach(function(u){Object.defineProperty(ru.prototype,u,{get:function(){return this._currentRequest[u]}})});ru.prototype._sanitizeOptions=function(u){if(!u.headers)u.headers={};if(u.host){if(!u.hostname)u.hostname=u.host;delete u.host}if(!u.pathname&&u.path){var D=u.path.indexOf("?");if(D<0)u.pathname=u.path;else u.pathname=u.path.substring(0,D),u.search=u.path.substring(D)}};ru.prototype._performRequest=function(){var u=this._options.protocol,D=this._options.nativeProtocols[u];if(!D)throw TypeError("Unsupported protocol "+u);if(this._options.agents){var F=u.slice(0,-1);this._options.agent=this._options.agents[F]}var $=this._currentRequest=D.request(this._options,this._onNativeResponse);$._redirectable=this;for(var B of Qz)$.on(B,Yz[B]);if(this._currentUrl=/^\//.test(this._options.path)?G4.format(this._options):this._options.path,this._isRedirect){var z=0,Z=this,q=this._requestBodyBuffers;(function X(Q){if($===Z._currentRequest){if(Q)Z.emit("error",Q);else if(z<q.length){var Y=q[z++];if(!$.finished)$.write(Y.data,Y.encoding,X)}else if(Z._ended)$.end()}})()}};ru.prototype._processResponse=function(u){var D=u.statusCode;if(this._options.trackRedirects)this._redirects.push({url:this._currentUrl,headers:u.headers,statusCode:D});var F=u.headers.location;if(!F||this._options.followRedirects===!1||D<300||D>=400){u.responseUrl=this._currentUrl,u.redirects=this._redirects,this.emit("response",u),this._requestBodyBuffers=[];return}if(Jz(this._currentRequest),u.destroy(),++this._redirectCount>this._options.maxRedirects)throw new da;var $,B=this._options.beforeRedirect;if(B)$=Object.assign({Host:u.req.getHeader("host")},this._options.headers);var z=this._options.method;if((D===301||D===302)&&this._options.method==="POST"||D===303&&!/^(?:GET|HEAD)$/.test(this._options.method))this._options.method="GET",this._requestBodyBuffers=[],Fz(/^content-/i,this._options.headers);var Z=Fz(/^host$/i,this._options.headers),q=Wz(this._currentUrl),X=Z||q.host,Q=/^\w+:/.test(F)?this._currentUrl:G4.format(Object.assign(q,{host:X})),Y=aa(F,Q);if(di("redirecting to",Y.href),this._isRedirect=!0,zz(Y,this._options),Y.protocol!==q.protocol&&Y.protocol!=="https:"||Y.host!==X&&!ra(Y.host,X))Fz(/^(?:(?:proxy-)?authorization|cookie)$/i,this._options.headers);if(TF(B)){var W={headers:u.headers,statusCode:D},J={url:Q,method:z,headers:$};B(this._options,W,J),this._sanitizeOptions(this._options)}this._performRequest()};function gi(u){var D={maxRedirects:21,maxBodyLength:10485760},F={};return Object.keys(u).forEach(function($){var B=$+":",z=F[B]=u[$],Z=D[$]=Object.create(z);function q(Q,Y,W){if(ea(Q))Q=zz(Q);else if(SF(Q))Q=zz(Wz(Q));else W=Y,Y=si(Q),Q={protocol:B};if(TF(Y))W=Y,Y=null;if(Y=Object.assign({maxRedirects:D.maxRedirects,maxBodyLength:D.maxBodyLength},Q,Y),Y.nativeProtocols=F,!SF(Y.host)&&!SF(Y.hostname))Y.hostname="::1";return qz.equal(Y.protocol,B,"protocol mismatch"),di("options",Y),new ru(Y,W)}function X(Q,Y,W){var J=Z.request(Q,Y,W);return J.end(),J}Object.defineProperties(Z,{request:{value:q,configurable:!0,enumerable:!0,writable:!0},get:{value:X,configurable:!0,enumerable:!0,writable:!0}})}),D}function oi(){}function Wz(u){var D;if(Xz)D=new J4(u);else if(D=si(G4.parse(u)),!SF(D.protocol))throw new $z({input:u});return D}function aa(u,D){return Xz?new J4(u,D):Wz(G4.resolve(D,u))}function si(u){if(/^\[/.test(u.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(u.hostname))throw new $z({input:u.href||u});if(/^\[/.test(u.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(u.host))throw new $z({input:u.href||u});return u}function zz(u,D){var F=D||{};for(var $ of la)F[$]=u[$];if(F.hostname.startsWith("["))F.hostname=F.hostname.slice(1,-1);if(F.port!=="")F.port=Number(F.port);return F.path=F.search?F.pathname+F.search:F.pathname,F}function Fz(u,D){var F;for(var $ in D)if(u.test($))F=D[$],delete D[$];return F===null||typeof F>"u"?void 0:String(F).trim()}function f4(u,D,F){function $(B){if(TF(Error.captureStackTrace))Error.captureStackTrace(this,this.constructor);Object.assign(this,B||{}),this.code=u,this.message=this.cause?D+": "+this.cause.message:D}return $.prototype=new(F||Error),Object.defineProperties($.prototype,{constructor:{value:$,enumerable:!1},name:{value:"Error ["+u+"]",enumerable:!1}}),$}function Jz(u,D){for(var F of Qz)u.removeListener(F,Yz[F]);u.on("error",oi),u.destroy(D)}function ra(u,D){qz(SF(u)&&SF(D));var F=u.length-D.length-1;return F>0&&u[F]==="."&&u.endsWith(D)}function SF(u){return typeof u==="string"||u instanceof String}function TF(u){return typeof u==="function"}function ta(u){return typeof u==="object"&&"length"in u}function ea(u){return J4&&u instanceof J4}Gz.exports=gi({http:na,https:pa});Gz.exports.wrap=gi});var M4=H((yW0,_O)=>{var Rr=Number.MAX_SAFE_INTEGER||9007199254740991,kr=["major","premajor","minor","preminor","patch","prepatch","prerelease"];_O.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:Rr,RELEASE_TYPES:kr,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var w4=H((bW0,UO)=>{var cr=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...u)=>console.error("SEMVER",...u):()=>{};UO.exports=cr});var c6=H((D1,SO)=>{var{MAX_SAFE_COMPONENT_LENGTH:Iz,MAX_SAFE_BUILD_LENGTH:hr,MAX_LENGTH:mr}=M4(),nr=w4();D1=SO.exports={};var pr=D1.re=[],lr=D1.safeRe=[],B0=D1.src=[],dr=D1.safeSrc=[],z0=D1.t={},gr=0,Ez="[a-zA-Z0-9-]",or=[["\\s",1],["\\d",mr],[Ez,hr]],sr=(u)=>{for(let[D,F]of or)u=u.split(`${D}*`).join(`${D}{0,${F}}`).split(`${D}+`).join(`${D}{1,${F}}`);return u},A0=(u,D,F)=>{let $=sr(D),B=gr++;nr(u,B,D),z0[u]=B,B0[B]=D,dr[B]=$,pr[B]=new RegExp(D,F?"g":void 0),lr[B]=new RegExp($,F?"g":void 0)};A0("NUMERICIDENTIFIER","0|[1-9]\\d*");A0("NUMERICIDENTIFIERLOOSE","\\d+");A0("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Ez}*`);A0("MAINVERSION",`(${B0[z0.NUMERICIDENTIFIER]})\\.(${B0[z0.NUMERICIDENTIFIER]})\\.(${B0[z0.NUMERICIDENTIFIER]})`);A0("MAINVERSIONLOOSE",`(${B0[z0.NUMERICIDENTIFIERLOOSE]})\\.(${B0[z0.NUMERICIDENTIFIERLOOSE]})\\.(${B0[z0.NUMERICIDENTIFIERLOOSE]})`);A0("PRERELEASEIDENTIFIER",`(?:${B0[z0.NONNUMERICIDENTIFIER]}|${B0[z0.NUMERICIDENTIFIER]})`);A0("PRERELEASEIDENTIFIERLOOSE",`(?:${B0[z0.NONNUMERICIDENTIFIER]}|${B0[z0.NUMERICIDENTIFIERLOOSE]})`);A0("PRERELEASE",`(?:-(${B0[z0.PRERELEASEIDENTIFIER]}(?:\\.${B0[z0.PRERELEASEIDENTIFIER]})*))`);A0("PRERELEASELOOSE",`(?:-?(${B0[z0.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${B0[z0.PRERELEASEIDENTIFIERLOOSE]})*))`);A0("BUILDIDENTIFIER",`${Ez}+`);A0("BUILD",`(?:\\+(${B0[z0.BUILDIDENTIFIER]}(?:\\.${B0[z0.BUILDIDENTIFIER]})*))`);A0("FULLPLAIN",`v?${B0[z0.MAINVERSION]}${B0[z0.PRERELEASE]}?${B0[z0.BUILD]}?`);A0("FULL",`^${B0[z0.FULLPLAIN]}$`);A0("LOOSEPLAIN",`[v=\\s]*${B0[z0.MAINVERSIONLOOSE]}${B0[z0.PRERELEASELOOSE]}?${B0[z0.BUILD]}?`);A0("LOOSE",`^${B0[z0.LOOSEPLAIN]}$`);A0("GTLT","((?:<|>)?=?)");A0("XRANGEIDENTIFIERLOOSE",`${B0[z0.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);A0("XRANGEIDENTIFIER",`${B0[z0.NUMERICIDENTIFIER]}|x|X|\\*`);A0("XRANGEPLAIN",`[v=\\s]*(${B0[z0.XRANGEIDENTIFIER]})(?:\\.(${B0[z0.XRANGEIDENTIFIER]})(?:\\.(${B0[z0.XRANGEIDENTIFIER]})(?:${B0[z0.PRERELEASE]})?${B0[z0.BUILD]}?)?)?`);A0("XRANGEPLAINLOOSE",`[v=\\s]*(${B0[z0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B0[z0.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B0[z0.XRANGEIDENTIFIERLOOSE]})(?:${B0[z0.PRERELEASELOOSE]})?${B0[z0.BUILD]}?)?)?`);A0("XRANGE",`^${B0[z0.GTLT]}\\s*${B0[z0.XRANGEPLAIN]}$`);A0("XRANGELOOSE",`^${B0[z0.GTLT]}\\s*${B0[z0.XRANGEPLAINLOOSE]}$`);A0("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Iz}})(?:\\.(\\d{1,${Iz}}))?(?:\\.(\\d{1,${Iz}}))?`);A0("COERCE",`${B0[z0.COERCEPLAIN]}(?:$|[^\\d])`);A0("COERCEFULL",B0[z0.COERCEPLAIN]+`(?:${B0[z0.PRERELEASE]})?(?:${B0[z0.BUILD]})?(?:$|[^\\d])`);A0("COERCERTL",B0[z0.COERCE],!0);A0("COERCERTLFULL",B0[z0.COERCEFULL],!0);A0("LONETILDE","(?:~>?)");A0("TILDETRIM",`(\\s*)${B0[z0.LONETILDE]}\\s+`,!0);D1.tildeTrimReplace="$1~";A0("TILDE",`^${B0[z0.LONETILDE]}${B0[z0.XRANGEPLAIN]}$`);A0("TILDELOOSE",`^${B0[z0.LONETILDE]}${B0[z0.XRANGEPLAINLOOSE]}$`);A0("LONECARET","(?:\\^)");A0("CARETTRIM",`(\\s*)${B0[z0.LONECARET]}\\s+`,!0);D1.caretTrimReplace="$1^";A0("CARET",`^${B0[z0.LONECARET]}${B0[z0.XRANGEPLAIN]}$`);A0("CARETLOOSE",`^${B0[z0.LONECARET]}${B0[z0.XRANGEPLAINLOOSE]}$`);A0("COMPARATORLOOSE",`^${B0[z0.GTLT]}\\s*(${B0[z0.LOOSEPLAIN]})$|^$`);A0("COMPARATOR",`^${B0[z0.GTLT]}\\s*(${B0[z0.FULLPLAIN]})$|^$`);A0("COMPARATORTRIM",`(\\s*)${B0[z0.GTLT]}\\s*(${B0[z0.LOOSEPLAIN]}|${B0[z0.XRANGEPLAIN]})`,!0);D1.comparatorTrimReplace="$1$2$3";A0("HYPHENRANGE",`^\\s*(${B0[z0.XRANGEPLAIN]})\\s+-\\s+(${B0[z0.XRANGEPLAIN]})\\s*$`);A0("HYPHENRANGELOOSE",`^\\s*(${B0[z0.XRANGEPLAINLOOSE]})\\s+-\\s+(${B0[z0.XRANGEPLAINLOOSE]})\\s*$`);A0("STAR","(<|>)?=?\\s*\\*");A0("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");A0("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Y5=H((RW0,TO)=>{var ar=Object.freeze({loose:!0}),rr=Object.freeze({}),tr=(u)=>{if(!u)return rr;if(typeof u!=="object")return ar;return u};TO.exports=tr});var Cz=H((kW0,RO)=>{var yO=/^[0-9]+$/,bO=(u,D)=>{if(typeof u==="number"&&typeof D==="number")return u===D?0:u<D?-1:1;let F=yO.test(u),$=yO.test(D);if(F&&$)u=+u,D=+D;return u===D?0:F&&!$?-1:$&&!F?1:u<D?-1:1},er=(u,D)=>bO(D,u);RO.exports={compareIdentifiers:bO,rcompareIdentifiers:er}});var Eu=H((cW0,cO)=>{var W5=w4(),{MAX_LENGTH:kO,MAX_SAFE_INTEGER:J5}=M4(),{safeRe:G5,t:f5}=c6(),ut=Y5(),{compareIdentifiers:Pz}=Cz();class RD{constructor(u,D){if(D=ut(D),u instanceof RD)if(u.loose===!!D.loose&&u.includePrerelease===!!D.includePrerelease)return u;else u=u.version;else if(typeof u!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>kO)throw TypeError(`version is longer than ${kO} characters`);W5("SemVer",u,D),this.options=D,this.loose=!!D.loose,this.includePrerelease=!!D.includePrerelease;let F=u.trim().match(D.loose?G5[f5.LOOSE]:G5[f5.FULL]);if(!F)throw TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+F[1],this.minor=+F[2],this.patch=+F[3],this.major>J5||this.major<0)throw TypeError("Invalid major version");if(this.minor>J5||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>J5||this.patch<0)throw TypeError("Invalid patch version");if(!F[4])this.prerelease=[];else this.prerelease=F[4].split(".").map(($)=>{if(/^[0-9]+$/.test($)){let B=+$;if(B>=0&&B<J5)return B}return $});this.build=F[5]?F[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(u){if(W5("SemVer.compare",this.version,this.options,u),!(u instanceof RD)){if(typeof u==="string"&&u===this.version)return 0;u=new RD(u,this.options)}if(u.version===this.version)return 0;return this.compareMain(u)||this.comparePre(u)}compareMain(u){if(!(u instanceof RD))u=new RD(u,this.options);if(this.major<u.major)return-1;if(this.major>u.major)return 1;if(this.minor<u.minor)return-1;if(this.minor>u.minor)return 1;if(this.patch<u.patch)return-1;if(this.patch>u.patch)return 1;return 0}comparePre(u){if(!(u instanceof RD))u=new RD(u,this.options);if(this.prerelease.length&&!u.prerelease.length)return-1;else if(!this.prerelease.length&&u.prerelease.length)return 1;else if(!this.prerelease.length&&!u.prerelease.length)return 0;let D=0;do{let F=this.prerelease[D],$=u.prerelease[D];if(W5("prerelease compare",D,F,$),F===void 0&&$===void 0)return 0;else if($===void 0)return 1;else if(F===void 0)return-1;else if(F===$)continue;else return Pz(F,$)}while(++D)}compareBuild(u){if(!(u instanceof RD))u=new RD(u,this.options);let D=0;do{let F=this.build[D],$=u.build[D];if(W5("build compare",D,F,$),F===void 0&&$===void 0)return 0;else if($===void 0)return 1;else if(F===void 0)return-1;else if(F===$)continue;else return Pz(F,$)}while(++D)}inc(u,D,F){if(u.startsWith("pre")){if(!D&&F===!1)throw Error("invalid increment argument: identifier is empty");if(D){let $=`-${D}`.match(this.options.loose?G5[f5.PRERELEASELOOSE]:G5[f5.PRERELEASE]);if(!$||$[1]!==D)throw Error(`invalid identifier: ${D}`)}}switch(u){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",D,F);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",D,F);break;case"prepatch":this.prerelease.length=0,this.inc("patch",D,F),this.inc("pre",D,F);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",D,F);this.inc("pre",D,F);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let $=Number(F)?1:0;if(this.prerelease.length===0)this.prerelease=[$];else{let B=this.prerelease.length;while(--B>=0)if(typeof this.prerelease[B]==="number")this.prerelease[B]++,B=-2;if(B===-1){if(D===this.prerelease.join(".")&&F===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push($)}}if(D){let B=[D,$];if(F===!1)B=[D];if(Pz(this.prerelease[0],D)===0){if(isNaN(this.prerelease[1]))this.prerelease=B}else this.prerelease=B}break}default:throw Error(`invalid increment argument: ${u}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}cO.exports=RD});var RF=H((hW0,mO)=>{var hO=Eu(),Dt=(u,D,F=!1)=>{if(u instanceof hO)return u;try{return new hO(u,D)}catch($){if(!F)return null;throw $}};mO.exports=Dt});var pO=H((mW0,nO)=>{var Ft=RF(),$t=(u,D)=>{let F=Ft(u,D);return F?F.version:null};nO.exports=$t});var dO=H((nW0,lO)=>{var Bt=RF(),zt=(u,D)=>{let F=Bt(u.trim().replace(/^[=v]+/,""),D);return F?F.version:null};lO.exports=zt});var sO=H((pW0,oO)=>{var gO=Eu(),Zt=(u,D,F,$,B)=>{if(typeof F==="string")B=$,$=F,F=void 0;try{return new gO(u instanceof gO?u.version:u,F).inc(D,$,B).version}catch(z){return null}};oO.exports=Zt});var tO=H((lW0,rO)=>{var aO=RF(),qt=(u,D)=>{let F=aO(u,null,!0),$=aO(D,null,!0),B=F.compare($);if(B===0)return null;let z=B>0,Z=z?F:$,q=z?$:F,X=!!Z.prerelease.length;if(!!q.prerelease.length&&!X){if(!q.patch&&!q.minor)return"major";if(q.compareMain(Z)===0){if(q.minor&&!q.patch)return"minor";return"patch"}}let Y=X?"pre":"";if(F.major!==$.major)return Y+"major";if(F.minor!==$.minor)return Y+"minor";if(F.patch!==$.patch)return Y+"patch";return"prerelease"};rO.exports=qt});var uA=H((dW0,eO)=>{var Xt=Eu(),Qt=(u,D)=>new Xt(u,D).major;eO.exports=Qt});var FA=H((gW0,DA)=>{var Yt=Eu(),Wt=(u,D)=>new Yt(u,D).minor;DA.exports=Wt});var BA=H((oW0,$A)=>{var Jt=Eu(),Gt=(u,D)=>new Jt(u,D).patch;$A.exports=Gt});var ZA=H((sW0,zA)=>{var ft=RF(),Kt=(u,D)=>{let F=ft(u,D);return F&&F.prerelease.length?F.prerelease:null};zA.exports=Kt});var MD=H((aW0,XA)=>{var qA=Eu(),xt=(u,D,F)=>new qA(u,F).compare(new qA(D,F));XA.exports=xt});var YA=H((rW0,QA)=>{var Ht=MD(),Vt=(u,D,F)=>Ht(D,u,F);QA.exports=Vt});var JA=H((tW0,WA)=>{var Lt=MD(),Mt=(u,D)=>Lt(u,D,!0);WA.exports=Mt});var K5=H((eW0,fA)=>{var GA=Eu(),wt=(u,D,F)=>{let $=new GA(u,F),B=new GA(D,F);return $.compare(B)||$.compareBuild(B)};fA.exports=wt});var xA=H((uJ0,KA)=>{var it=K5(),Ot=(u,D)=>u.sort((F,$)=>it(F,$,D));KA.exports=Ot});var VA=H((DJ0,HA)=>{var At=K5(),Nt=(u,D)=>u.sort((F,$)=>At($,F,D));HA.exports=Nt});var i4=H((FJ0,LA)=>{var jt=MD(),It=(u,D,F)=>jt(u,D,F)>0;LA.exports=It});var x5=H(($J0,MA)=>{var Et=MD(),Ct=(u,D,F)=>Et(u,D,F)<0;MA.exports=Ct});var vz=H((BJ0,wA)=>{var Pt=MD(),vt=(u,D,F)=>Pt(u,D,F)===0;wA.exports=vt});var _z=H((zJ0,iA)=>{var _t=MD(),Ut=(u,D,F)=>_t(u,D,F)!==0;iA.exports=Ut});var H5=H((ZJ0,OA)=>{var St=MD(),Tt=(u,D,F)=>St(u,D,F)>=0;OA.exports=Tt});var V5=H((qJ0,AA)=>{var yt=MD(),bt=(u,D,F)=>yt(u,D,F)<=0;AA.exports=bt});var Uz=H((XJ0,NA)=>{var Rt=vz(),kt=_z(),ct=i4(),ht=H5(),mt=x5(),nt=V5(),pt=(u,D,F,$)=>{switch(D){case"===":if(typeof u==="object")u=u.version;if(typeof F==="object")F=F.version;return u===F;case"!==":if(typeof u==="object")u=u.version;if(typeof F==="object")F=F.version;return u!==F;case"":case"=":case"==":return Rt(u,F,$);case"!=":return kt(u,F,$);case">":return ct(u,F,$);case">=":return ht(u,F,$);case"<":return mt(u,F,$);case"<=":return nt(u,F,$);default:throw TypeError(`Invalid operator: ${D}`)}};NA.exports=pt});var IA=H((QJ0,jA)=>{var lt=Eu(),dt=RF(),{safeRe:L5,t:M5}=c6(),gt=(u,D)=>{if(u instanceof lt)return u;if(typeof u==="number")u=String(u);if(typeof u!=="string")return null;D=D||{};let F=null;if(!D.rtl)F=u.match(D.includePrerelease?L5[M5.COERCEFULL]:L5[M5.COERCE]);else{let X=D.includePrerelease?L5[M5.COERCERTLFULL]:L5[M5.COERCERTL],Q;while((Q=X.exec(u))&&(!F||F.index+F[0].length!==u.length)){if(!F||Q.index+Q[0].length!==F.index+F[0].length)F=Q;X.lastIndex=Q.index+Q[1].length+Q[2].length}X.lastIndex=-1}if(F===null)return null;let $=F[2],B=F[3]||"0",z=F[4]||"0",Z=D.includePrerelease&&F[5]?`-${F[5]}`:"",q=D.includePrerelease&&F[6]?`+${F[6]}`:"";return dt(`${$}.${B}.${z}${Z}${q}`,D)};jA.exports=gt});var PA=H((YJ0,CA)=>{class EA{constructor(){this.max=1000,this.map=new Map}get(u){let D=this.map.get(u);if(D===void 0)return;else return this.map.delete(u),this.map.set(u,D),D}delete(u){return this.map.delete(u)}set(u,D){if(!this.delete(u)&&D!==void 0){if(this.map.size>=this.max){let $=this.map.keys().next().value;this.delete($)}this.map.set(u,D)}return this}}CA.exports=EA});var wD=H((WJ0,SA)=>{var ot=/\s+/g;class O4{constructor(u,D){if(D=at(D),u instanceof O4)if(u.loose===!!D.loose&&u.includePrerelease===!!D.includePrerelease)return u;else return new O4(u.raw,D);if(u instanceof Sz)return this.raw=u.value,this.set=[[u]],this.formatted=void 0,this;if(this.options=D,this.loose=!!D.loose,this.includePrerelease=!!D.includePrerelease,this.raw=u.trim().replace(ot," "),this.set=this.raw.split("||").map((F)=>this.parseRange(F.trim())).filter((F)=>F.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let F=this.set[0];if(this.set=this.set.filter(($)=>!_A($[0])),this.set.length===0)this.set=[F];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&$e($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let u=0;u<this.set.length;u++){if(u>0)this.formatted+="||";let D=this.set[u];for(let F=0;F<D.length;F++){if(F>0)this.formatted+=" ";this.formatted+=D[F].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(u){let F=((this.options.includePrerelease&&De)|(this.options.loose&&Fe))+":"+u,$=vA.get(F);if($)return $;let B=this.options.loose,z=B?hu[Cu.HYPHENRANGELOOSE]:hu[Cu.HYPHENRANGE];u=u.replace(z,Ge(this.options.includePrerelease)),d0("hyphen replace",u),u=u.replace(hu[Cu.COMPARATORTRIM],tt),d0("comparator trim",u),u=u.replace(hu[Cu.TILDETRIM],et),d0("tilde trim",u),u=u.replace(hu[Cu.CARETTRIM],ue),d0("caret trim",u);let Z=u.split(" ").map((Y)=>Be(Y,this.options)).join(" ").split(/\s+/).map((Y)=>Je(Y,this.options));if(B)Z=Z.filter((Y)=>{return d0("loose invalid filter",Y,this.options),!!Y.match(hu[Cu.COMPARATORLOOSE])});d0("range list",Z);let q=new Map,X=Z.map((Y)=>new Sz(Y,this.options));for(let Y of X){if(_A(Y))return[Y];q.set(Y.value,Y)}if(q.size>1&&q.has(""))q.delete("");let Q=[...q.values()];return vA.set(F,Q),Q}intersects(u,D){if(!(u instanceof O4))throw TypeError("a Range is required");return this.set.some((F)=>{return UA(F,D)&&u.set.some(($)=>{return UA($,D)&&F.every((B)=>{return $.every((z)=>{return B.intersects(z,D)})})})})}test(u){if(!u)return!1;if(typeof u==="string")try{u=new rt(u,this.options)}catch(D){return!1}for(let D=0;D<this.set.length;D++)if(fe(this.set[D],u,this.options))return!0;return!1}}SA.exports=O4;var st=PA(),vA=new st,at=Y5(),Sz=A4(),d0=w4(),rt=Eu(),{safeRe:hu,t:Cu,comparatorTrimReplace:tt,tildeTrimReplace:et,caretTrimReplace:ue}=c6(),{FLAG_INCLUDE_PRERELEASE:De,FLAG_LOOSE:Fe}=M4(),_A=(u)=>u.value==="<0.0.0-0",$e=(u)=>u.value==="",UA=(u,D)=>{let F=!0,$=u.slice(),B=$.pop();while(F&&$.length)F=$.every((z)=>{return B.intersects(z,D)}),B=$.pop();return F},Be=(u,D)=>{return u=u.replace(hu[Cu.BUILD],""),d0("comp",u,D),u=qe(u,D),d0("caret",u),u=ze(u,D),d0("tildes",u),u=Qe(u,D),d0("xrange",u),u=We(u,D),d0("stars",u),u},mu=(u)=>!u||u.toLowerCase()==="x"||u==="*",ze=(u,D)=>{return u.trim().split(/\s+/).map((F)=>Ze(F,D)).join(" ")},Ze=(u,D)=>{let F=D.loose?hu[Cu.TILDELOOSE]:hu[Cu.TILDE];return u.replace(F,($,B,z,Z,q)=>{d0("tilde",u,$,B,z,Z,q);let X;if(mu(B))X="";else if(mu(z))X=`>=${B}.0.0 <${+B+1}.0.0-0`;else if(mu(Z))X=`>=${B}.${z}.0 <${B}.${+z+1}.0-0`;else if(q)d0("replaceTilde pr",q),X=`>=${B}.${z}.${Z}-${q} <${B}.${+z+1}.0-0`;else X=`>=${B}.${z}.${Z} <${B}.${+z+1}.0-0`;return d0("tilde return",X),X})},qe=(u,D)=>{return u.trim().split(/\s+/).map((F)=>Xe(F,D)).join(" ")},Xe=(u,D)=>{d0("caret",u,D);let F=D.loose?hu[Cu.CARETLOOSE]:hu[Cu.CARET],$=D.includePrerelease?"-0":"";return u.replace(F,(B,z,Z,q,X)=>{d0("caret",u,B,z,Z,q,X);let Q;if(mu(z))Q="";else if(mu(Z))Q=`>=${z}.0.0${$} <${+z+1}.0.0-0`;else if(mu(q))if(z==="0")Q=`>=${z}.${Z}.0${$} <${z}.${+Z+1}.0-0`;else Q=`>=${z}.${Z}.0${$} <${+z+1}.0.0-0`;else if(X)if(d0("replaceCaret pr",X),z==="0")if(Z==="0")Q=`>=${z}.${Z}.${q}-${X} <${z}.${Z}.${+q+1}-0`;else Q=`>=${z}.${Z}.${q}-${X} <${z}.${+Z+1}.0-0`;else Q=`>=${z}.${Z}.${q}-${X} <${+z+1}.0.0-0`;else if(d0("no pr"),z==="0")if(Z==="0")Q=`>=${z}.${Z}.${q}${$} <${z}.${Z}.${+q+1}-0`;else Q=`>=${z}.${Z}.${q}${$} <${z}.${+Z+1}.0-0`;else Q=`>=${z}.${Z}.${q} <${+z+1}.0.0-0`;return d0("caret return",Q),Q})},Qe=(u,D)=>{return d0("replaceXRanges",u,D),u.split(/\s+/).map((F)=>Ye(F,D)).join(" ")},Ye=(u,D)=>{u=u.trim();let F=D.loose?hu[Cu.XRANGELOOSE]:hu[Cu.XRANGE];return u.replace(F,($,B,z,Z,q,X)=>{d0("xRange",u,$,B,z,Z,q,X);let Q=mu(z),Y=Q||mu(Z),W=Y||mu(q),J=W;if(B==="="&&J)B="";if(X=D.includePrerelease?"-0":"",Q)if(B===">"||B==="<")$="<0.0.0-0";else $="*";else if(B&&J){if(Y)Z=0;if(q=0,B===">")if(B=">=",Y)z=+z+1,Z=0,q=0;else Z=+Z+1,q=0;else if(B==="<=")if(B="<",Y)z=+z+1;else Z=+Z+1;if(B==="<")X="-0";$=`${B+z}.${Z}.${q}${X}`}else if(Y)$=`>=${z}.0.0${X} <${+z+1}.0.0-0`;else if(W)$=`>=${z}.${Z}.0${X} <${z}.${+Z+1}.0-0`;return d0("xRange return",$),$})},We=(u,D)=>{return d0("replaceStars",u,D),u.trim().replace(hu[Cu.STAR],"")},Je=(u,D)=>{return d0("replaceGTE0",u,D),u.trim().replace(hu[D.includePrerelease?Cu.GTE0PRE:Cu.GTE0],"")},Ge=(u)=>(D,F,$,B,z,Z,q,X,Q,Y,W,J)=>{if(mu($))F="";else if(mu(B))F=`>=${$}.0.0${u?"-0":""}`;else if(mu(z))F=`>=${$}.${B}.0${u?"-0":""}`;else if(Z)F=`>=${F}`;else F=`>=${F}${u?"-0":""}`;if(mu(Q))X="";else if(mu(Y))X=`<${+Q+1}.0.0-0`;else if(mu(W))X=`<${Q}.${+Y+1}.0-0`;else if(J)X=`<=${Q}.${Y}.${W}-${J}`;else if(u)X=`<${Q}.${Y}.${+W+1}-0`;else X=`<=${X}`;return`${F} ${X}`.trim()},fe=(u,D,F)=>{for(let $=0;$<u.length;$++)if(!u[$].test(D))return!1;if(D.prerelease.length&&!F.includePrerelease){for(let $=0;$<u.length;$++){if(d0(u[$].semver),u[$].semver===Sz.ANY)continue;if(u[$].semver.prerelease.length>0){let B=u[$].semver;if(B.major===D.major&&B.minor===D.minor&&B.patch===D.patch)return!0}}return!1}return!0}});var A4=H((JJ0,cA)=>{var N4=Symbol("SemVer ANY");class w5{static get ANY(){return N4}constructor(u,D){if(D=TA(D),u instanceof w5)if(u.loose===!!D.loose)return u;else u=u.value;if(u=u.trim().split(/\s+/).join(" "),yz("comparator",u,D),this.options=D,this.loose=!!D.loose,this.parse(u),this.semver===N4)this.value="";else this.value=this.operator+this.semver.version;yz("comp",this)}parse(u){let D=this.options.loose?yA[bA.COMPARATORLOOSE]:yA[bA.COMPARATOR],F=u.match(D);if(!F)throw TypeError(`Invalid comparator: ${u}`);if(this.operator=F[1]!==void 0?F[1]:"",this.operator==="=")this.operator="";if(!F[2])this.semver=N4;else this.semver=new RA(F[2],this.options.loose)}toString(){return this.value}test(u){if(yz("Comparator.test",u,this.options.loose),this.semver===N4||u===N4)return!0;if(typeof u==="string")try{u=new RA(u,this.options)}catch(D){return!1}return Tz(u,this.operator,this.semver,this.options)}intersects(u,D){if(!(u instanceof w5))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new kA(u.value,D).test(this.value)}else if(u.operator===""){if(u.value==="")return!0;return new kA(this.value,D).test(u.semver)}if(D=TA(D),D.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0"))return!1;if(!D.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&u.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&u.operator.startsWith("<"))return!0;if(this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("="))return!0;if(Tz(this.semver,"<",u.semver,D)&&this.operator.startsWith(">")&&u.operator.startsWith("<"))return!0;if(Tz(this.semver,">",u.semver,D)&&this.operator.startsWith("<")&&u.operator.startsWith(">"))return!0;return!1}}cA.exports=w5;var TA=Y5(),{safeRe:yA,t:bA}=c6(),Tz=Uz(),yz=w4(),RA=Eu(),kA=wD()});var j4=H((GJ0,hA)=>{var Ke=wD(),xe=(u,D,F)=>{try{D=new Ke(D,F)}catch($){return!1}return D.test(u)};hA.exports=xe});var nA=H((fJ0,mA)=>{var He=wD(),Ve=(u,D)=>new He(u,D).set.map((F)=>F.map(($)=>$.value).join(" ").trim().split(" "));mA.exports=Ve});var lA=H((KJ0,pA)=>{var Le=Eu(),Me=wD(),we=(u,D,F)=>{let $=null,B=null,z=null;try{z=new Me(D,F)}catch(Z){return null}return u.forEach((Z)=>{if(z.test(Z)){if(!$||B.compare(Z)===-1)$=Z,B=new Le($,F)}}),$};pA.exports=we});var gA=H((xJ0,dA)=>{var ie=Eu(),Oe=wD(),Ae=(u,D,F)=>{let $=null,B=null,z=null;try{z=new Oe(D,F)}catch(Z){return null}return u.forEach((Z)=>{if(z.test(Z)){if(!$||B.compare(Z)===1)$=Z,B=new ie($,F)}}),$};dA.exports=Ae});var aA=H((HJ0,sA)=>{var bz=Eu(),Ne=wD(),oA=i4(),je=(u,D)=>{u=new Ne(u,D);let F=new bz("0.0.0");if(u.test(F))return F;if(F=new bz("0.0.0-0"),u.test(F))return F;F=null;for(let $=0;$<u.set.length;++$){let B=u.set[$],z=null;if(B.forEach((Z)=>{let q=new bz(Z.semver.version);switch(Z.operator){case">":if(q.prerelease.length===0)q.patch++;else q.prerelease.push(0);q.raw=q.format();case"":case">=":if(!z||oA(q,z))z=q;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${Z.operator}`)}}),z&&(!F||oA(F,z)))F=z}if(F&&u.test(F))return F;return null};sA.exports=je});var tA=H((VJ0,rA)=>{var Ie=wD(),Ee=(u,D)=>{try{return new Ie(u,D).range||"*"}catch(F){return null}};rA.exports=Ee});var i5=H((LJ0,FN)=>{var Ce=Eu(),DN=A4(),{ANY:Pe}=DN,ve=wD(),_e=j4(),eA=i4(),uN=x5(),Ue=V5(),Se=H5(),Te=(u,D,F,$)=>{u=new Ce(u,$),D=new ve(D,$);let B,z,Z,q,X;switch(F){case">":B=eA,z=Ue,Z=uN,q=">",X=">=";break;case"<":B=uN,z=Se,Z=eA,q="<",X="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(_e(u,D,$))return!1;for(let Q=0;Q<D.set.length;++Q){let Y=D.set[Q],W=null,J=null;if(Y.forEach((G)=>{if(G.semver===Pe)G=new DN(">=0.0.0");if(W=W||G,J=J||G,B(G.semver,W.semver,$))W=G;else if(Z(G.semver,J.semver,$))J=G}),W.operator===q||W.operator===X)return!1;if((!J.operator||J.operator===q)&&z(u,J.semver))return!1;else if(J.operator===X&&Z(u,J.semver))return!1}return!0};FN.exports=Te});var BN=H((MJ0,$N)=>{var ye=i5(),be=(u,D,F)=>ye(u,D,">",F);$N.exports=be});var ZN=H((wJ0,zN)=>{var Re=i5(),ke=(u,D,F)=>Re(u,D,"<",F);zN.exports=ke});var QN=H((iJ0,XN)=>{var qN=wD(),ce=(u,D,F)=>{return u=new qN(u,F),D=new qN(D,F),u.intersects(D,F)};XN.exports=ce});var WN=H((OJ0,YN)=>{var he=j4(),me=MD();YN.exports=(u,D,F)=>{let $=[],B=null,z=null,Z=u.sort((Y,W)=>me(Y,W,F));for(let Y of Z)if(he(Y,D,F)){if(z=Y,!B)B=Y}else{if(z)$.push([B,z]);z=null,B=null}if(B)$.push([B,null]);let q=[];for(let[Y,W]of $)if(Y===W)q.push(Y);else if(!W&&Y===Z[0])q.push("*");else if(!W)q.push(`>=${Y}`);else if(Y===Z[0])q.push(`<=${W}`);else q.push(`${Y} - ${W}`);let X=q.join(" || "),Q=typeof D.raw==="string"?D.raw:String(D);return X.length<Q.length?X:D}});var HN=H((AJ0,xN)=>{var JN=wD(),kz=A4(),{ANY:Rz}=kz,I4=j4(),cz=MD(),ne=(u,D,F={})=>{if(u===D)return!0;u=new JN(u,F),D=new JN(D,F);let $=!1;u:for(let B of u.set){for(let z of D.set){let Z=le(B,z,F);if($=$||Z!==null,Z)continue u}if($)return!1}return!0},pe=[new kz(">=0.0.0-0")],GN=[new kz(">=0.0.0")],le=(u,D,F)=>{if(u===D)return!0;if(u.length===1&&u[0].semver===Rz)if(D.length===1&&D[0].semver===Rz)return!0;else if(F.includePrerelease)u=pe;else u=GN;if(D.length===1&&D[0].semver===Rz)if(F.includePrerelease)return!0;else D=GN;let $=new Set,B,z;for(let G of u)if(G.operator===">"||G.operator===">=")B=fN(B,G,F);else if(G.operator==="<"||G.operator==="<=")z=KN(z,G,F);else $.add(G.semver);if($.size>1)return null;let Z;if(B&&z){if(Z=cz(B.semver,z.semver,F),Z>0)return null;else if(Z===0&&(B.operator!==">="||z.operator!=="<="))return null}for(let G of $){if(B&&!I4(G,String(B),F))return null;if(z&&!I4(G,String(z),F))return null;for(let f of D)if(!I4(G,String(f),F))return!1;return!0}let q,X,Q,Y,W=z&&!F.includePrerelease&&z.semver.prerelease.length?z.semver:!1,J=B&&!F.includePrerelease&&B.semver.prerelease.length?B.semver:!1;if(W&&W.prerelease.length===1&&z.operator==="<"&&W.prerelease[0]===0)W=!1;for(let G of D){if(Y=Y||G.operator===">"||G.operator===">=",Q=Q||G.operator==="<"||G.operator==="<=",B){if(J){if(G.semver.prerelease&&G.semver.prerelease.length&&G.semver.major===J.major&&G.semver.minor===J.minor&&G.semver.patch===J.patch)J=!1}if(G.operator===">"||G.operator===">="){if(q=fN(B,G,F),q===G&&q!==B)return!1}else if(B.operator===">="&&!I4(B.semver,String(G),F))return!1}if(z){if(W){if(G.semver.prerelease&&G.semver.prerelease.length&&G.semver.major===W.major&&G.semver.minor===W.minor&&G.semver.patch===W.patch)W=!1}if(G.operator==="<"||G.operator==="<="){if(X=KN(z,G,F),X===G&&X!==z)return!1}else if(z.operator==="<="&&!I4(z.semver,String(G),F))return!1}if(!G.operator&&(z||B)&&Z!==0)return!1}if(B&&Q&&!z&&Z!==0)return!1;if(z&&Y&&!B&&Z!==0)return!1;if(J||W)return!1;return!0},fN=(u,D,F)=>{if(!u)return D;let $=cz(u.semver,D.semver,F);return $>0?u:$<0?D:D.operator===">"&&u.operator===">="?D:u},KN=(u,D,F)=>{if(!u)return D;let $=cz(u.semver,D.semver,F);return $<0?u:$>0?D:D.operator==="<"&&u.operator==="<="?D:u};xN.exports=ne});var wN=H((NJ0,MN)=>{var hz=c6(),VN=M4(),de=Eu(),LN=Cz(),ge=RF(),oe=pO(),se=dO(),ae=sO(),re=tO(),te=uA(),ee=FA(),u00=BA(),D00=ZA(),F00=MD(),$00=YA(),B00=JA(),z00=K5(),Z00=xA(),q00=VA(),X00=i4(),Q00=x5(),Y00=vz(),W00=_z(),J00=H5(),G00=V5(),f00=Uz(),K00=IA(),x00=A4(),H00=wD(),V00=j4(),L00=nA(),M00=lA(),w00=gA(),i00=aA(),O00=tA(),A00=i5(),N00=BN(),j00=ZN(),I00=QN(),E00=WN(),C00=HN();MN.exports={parse:ge,valid:oe,clean:se,inc:ae,diff:re,major:te,minor:ee,patch:u00,prerelease:D00,compare:F00,rcompare:$00,compareLoose:B00,compareBuild:z00,sort:Z00,rsort:q00,gt:X00,lt:Q00,eq:Y00,neq:W00,gte:J00,lte:G00,cmp:f00,coerce:K00,Comparator:x00,Range:H00,satisfies:V00,toComparators:L00,maxSatisfying:M00,minSatisfying:w00,minVersion:i00,validRange:O00,outside:A00,gtr:N00,ltr:j00,intersects:I00,simplifyRange:E00,subset:C00,SemVer:de,re:hz.re,src:hz.src,tokens:hz.t,SEMVER_SPEC_VERSION:VN.SEMVER_SPEC_VERSION,RELEASE_TYPES:VN.RELEASE_TYPES,compareIdentifiers:LN.compareIdentifiers,rcompareIdentifiers:LN.rcompareIdentifiers}});var S4=H((RN)=>{Object.defineProperty(RN,"__esModule",{value:!0});RN.regexpCode=RN.getEsmExportName=RN.getProperty=RN.safeStringify=RN.stringify=RN.strConcat=RN.addCodeArg=RN.str=RN._=RN.nil=RN._Code=RN.Name=RN.IDENTIFIER=RN._CodeOrName=void 0;class I5{}RN._CodeOrName=I5;RN.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class l6 extends I5{constructor(u){super();if(!RN.IDENTIFIER.test(u))throw Error("CodeGen: name must be a valid identifier");this.str=u}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}RN.Name=l6;class kD extends I5{constructor(u){super();this._items=typeof u==="string"?[u]:u}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let u=this._items[0];return u===""||u==='""'}get str(){var u;return(u=this._str)!==null&&u!==void 0?u:this._str=this._items.reduce((D,F)=>`${D}${F}`,"")}get names(){var u;return(u=this._names)!==null&&u!==void 0?u:this._names=this._items.reduce((D,F)=>{if(F instanceof l6)D[F.str]=(D[F.str]||0)+1;return D},{})}}RN._Code=kD;RN.nil=new kD("");function yN(u,...D){let F=[u[0]],$=0;while($<D.length)sz(F,D[$]),F.push(u[++$]);return new kD(F)}RN._=yN;var oz=new kD("+");function bN(u,...D){let F=[U4(u[0])],$=0;while($<D.length)F.push(oz),sz(F,D[$]),F.push(oz,U4(u[++$]));return Gu0(F),new kD(F)}RN.str=bN;function sz(u,D){if(D instanceof kD)u.push(...D._items);else if(D instanceof l6)u.push(D);else u.push(xu0(D))}RN.addCodeArg=sz;function Gu0(u){let D=1;while(D<u.length-1){if(u[D]===oz){let F=fu0(u[D-1],u[D+1]);if(F!==void 0){u.splice(D-1,3,F);continue}u[D++]="+"}D++}}function fu0(u,D){if(D==='""')return u;if(u==='""')return D;if(typeof u=="string"){if(D instanceof l6||u[u.length-1]!=='"')return;if(typeof D!="string")return`${u.slice(0,-1)}${D}"`;if(D[0]==='"')return u.slice(0,-1)+D.slice(1);return}if(typeof D=="string"&&D[0]==='"'&&!(u instanceof l6))return`"${u}${D.slice(1)}`;return}function Ku0(u,D){return D.emptyStr()?u:u.emptyStr()?D:bN`${u}${D}`}RN.strConcat=Ku0;function xu0(u){return typeof u=="number"||typeof u=="boolean"||u===null?u:U4(Array.isArray(u)?u.join(","):u)}function Hu0(u){return new kD(U4(u))}RN.stringify=Hu0;function U4(u){return JSON.stringify(u).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}RN.safeStringify=U4;function Vu0(u){return typeof u=="string"&&RN.IDENTIFIER.test(u)?new kD(`.${u}`):yN`[${u}]`}RN.getProperty=Vu0;function Lu0(u){if(typeof u=="string"&&RN.IDENTIFIER.test(u))return new kD(`${u}`);throw Error(`CodeGen: invalid export name: ${u}, use explicit $id name mapping`)}RN.getEsmExportName=Lu0;function Mu0(u){return new kD(u.toString())}RN.regexpCode=Mu0});var ez=H((mN)=>{Object.defineProperty(mN,"__esModule",{value:!0});mN.ValueScope=mN.ValueScopeName=mN.Scope=mN.varKinds=mN.UsedValueState=void 0;var tu=S4();class cN extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`);this.value=u.value}}var C5;(function(u){u[u.Started=0]="Started",u[u.Completed=1]="Completed"})(C5||(mN.UsedValueState=C5={}));mN.varKinds={const:new tu.Name("const"),let:new tu.Name("let"),var:new tu.Name("var")};class rz{constructor({prefixes:u,parent:D}={}){this._names={},this._prefixes=u,this._parent=D}toName(u){return u instanceof tu.Name?u:this.name(u)}name(u){return new tu.Name(this._newName(u))}_newName(u){let D=this._names[u]||this._nameGroup(u);return`${u}${D.index++}`}_nameGroup(u){var D,F;if(((F=(D=this._parent)===null||D===void 0?void 0:D._prefixes)===null||F===void 0?void 0:F.has(u))||this._prefixes&&!this._prefixes.has(u))throw Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}}mN.Scope=rz;class tz extends tu.Name{constructor(u,D){super(D);this.prefix=u}setValue(u,{property:D,itemIndex:F}){this.value=u,this.scopePath=tu._`.${new tu.Name(D)}[${F}]`}}mN.ValueScopeName=tz;var Uu0=tu._`\n`;class hN extends rz{constructor(u){super(u);this._values={},this._scope=u.scope,this.opts={...u,_n:u.lines?Uu0:tu.nil}}get(){return this._scope}name(u){return new tz(u,this._newName(u))}value(u,D){var F;if(D.ref===void 0)throw Error("CodeGen: ref must be passed in value");let $=this.toName(u),{prefix:B}=$,z=(F=D.key)!==null&&F!==void 0?F:D.ref,Z=this._values[B];if(Z){let Q=Z.get(z);if(Q)return Q}else Z=this._values[B]=new Map;Z.set(z,$);let q=this._scope[B]||(this._scope[B]=[]),X=q.length;return q[X]=D.ref,$.setValue(D,{property:B,itemIndex:X}),$}getValue(u,D){let F=this._values[u];if(!F)return;return F.get(D)}scopeRefs(u,D=this._values){return this._reduceValues(D,(F)=>{if(F.scopePath===void 0)throw Error(`CodeGen: name "${F}" has no value`);return tu._`${u}${F.scopePath}`})}scopeCode(u=this._values,D,F){return this._reduceValues(u,($)=>{if($.value===void 0)throw Error(`CodeGen: name "${$}" has no value`);return $.value.code},D,F)}_reduceValues(u,D,F={},$){let B=tu.nil;for(let z in u){let Z=u[z];if(!Z)continue;let q=F[z]=F[z]||new Map;Z.forEach((X)=>{if(q.has(X))return;q.set(X,C5.Started);let Q=D(X);if(Q){let Y=this.opts.es5?mN.varKinds.var:mN.varKinds.const;B=tu._`${B}${Y} ${X} = ${Q};${this.opts._n}`}else if(Q=$===null||$===void 0?void 0:$(X))B=tu._`${B}${Q}${this.opts._n}`;else throw new cN(X);q.set(X,C5.Completed)})}return B}}mN.ValueScope=hN});var I0=H((eu)=>{Object.defineProperty(eu,"__esModule",{value:!0});eu.or=eu.and=eu.not=eu.CodeGen=eu.operators=eu.varKinds=eu.ValueScopeName=eu.ValueScope=eu.Scope=eu.Name=eu.regexpCode=eu.stringify=eu.getProperty=eu.nil=eu.strConcat=eu.str=eu._=void 0;var _0=S4(),cD=ez(),s1=S4();Object.defineProperty(eu,"_",{enumerable:!0,get:function(){return s1._}});Object.defineProperty(eu,"str",{enumerable:!0,get:function(){return s1.str}});Object.defineProperty(eu,"strConcat",{enumerable:!0,get:function(){return s1.strConcat}});Object.defineProperty(eu,"nil",{enumerable:!0,get:function(){return s1.nil}});Object.defineProperty(eu,"getProperty",{enumerable:!0,get:function(){return s1.getProperty}});Object.defineProperty(eu,"stringify",{enumerable:!0,get:function(){return s1.stringify}});Object.defineProperty(eu,"regexpCode",{enumerable:!0,get:function(){return s1.regexpCode}});Object.defineProperty(eu,"Name",{enumerable:!0,get:function(){return s1.Name}});var T5=ez();Object.defineProperty(eu,"Scope",{enumerable:!0,get:function(){return T5.Scope}});Object.defineProperty(eu,"ValueScope",{enumerable:!0,get:function(){return T5.ValueScope}});Object.defineProperty(eu,"ValueScopeName",{enumerable:!0,get:function(){return T5.ValueScopeName}});Object.defineProperty(eu,"varKinds",{enumerable:!0,get:function(){return T5.varKinds}});eu.operators={GT:new _0._Code(">"),GTE:new _0._Code(">="),LT:new _0._Code("<"),LTE:new _0._Code("<="),EQ:new _0._Code("==="),NEQ:new _0._Code("!=="),NOT:new _0._Code("!"),OR:new _0._Code("||"),AND:new _0._Code("&&"),ADD:new _0._Code("+")};class a1{optimizeNodes(){return this}optimizeNames(u,D){return this}}class pN extends a1{constructor(u,D,F){super();this.varKind=u,this.name=D,this.rhs=F}render({es5:u,_n:D}){let F=u?cD.varKinds.var:this.varKind,$=this.rhs===void 0?"":` = ${this.rhs}`;return`${F} ${this.name}${$};`+D}optimizeNames(u,D){if(!u[this.name.str])return;if(this.rhs)this.rhs=g6(this.rhs,u,D);return this}get names(){return this.rhs instanceof _0._CodeOrName?this.rhs.names:{}}}class FZ extends a1{constructor(u,D,F){super();this.lhs=u,this.rhs=D,this.sideEffects=F}render({_n:u}){return`${this.lhs} = ${this.rhs};`+u}optimizeNames(u,D){if(this.lhs instanceof _0.Name&&!u[this.lhs.str]&&!this.sideEffects)return;return this.rhs=g6(this.rhs,u,D),this}get names(){let u=this.lhs instanceof _0.Name?{}:{...this.lhs.names};return S5(u,this.rhs)}}class lN extends FZ{constructor(u,D,F,$){super(u,F,$);this.op=D}render({_n:u}){return`${this.lhs} ${this.op}= ${this.rhs};`+u}}class dN extends a1{constructor(u){super();this.label=u,this.names={}}render({_n:u}){return`${this.label}:`+u}}class gN extends a1{constructor(u){super();this.label=u,this.names={}}render({_n:u}){return`break${this.label?` ${this.label}`:""};`+u}}class oN extends a1{constructor(u){super();this.error=u}render({_n:u}){return`throw ${this.error};`+u}get names(){return this.error.names}}class sN extends a1{constructor(u){super();this.code=u}render({_n:u}){return`${this.code};`+u}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(u,D){return this.code=g6(this.code,u,D),this}get names(){return this.code instanceof _0._CodeOrName?this.code.names:{}}}class y5 extends a1{constructor(u=[]){super();this.nodes=u}render(u){return this.nodes.reduce((D,F)=>D+F.render(u),"")}optimizeNodes(){let{nodes:u}=this,D=u.length;while(D--){let F=u[D].optimizeNodes();if(Array.isArray(F))u.splice(D,1,...F);else if(F)u[D]=F;else u.splice(D,1)}return u.length>0?this:void 0}optimizeNames(u,D){let{nodes:F}=this,$=F.length;while($--){let B=F[$];if(B.optimizeNames(u,D))continue;bu0(u,B.names),F.splice($,1)}return F.length>0?this:void 0}get names(){return this.nodes.reduce((u,D)=>hF(u,D.names),{})}}class r1 extends y5{render(u){return"{"+u._n+super.render(u)+"}"+u._n}}class aN extends y5{}class T4 extends r1{}T4.kind="else";class x1 extends r1{constructor(u,D){super(D);this.condition=u}render(u){let D=`if(${this.condition})`+super.render(u);if(this.else)D+="else "+this.else.render(u);return D}optimizeNodes(){super.optimizeNodes();let u=this.condition;if(u===!0)return this.nodes;let D=this.else;if(D){let F=D.optimizeNodes();D=this.else=Array.isArray(F)?new T4(F):F}if(D){if(u===!1)return D instanceof x1?D:D.nodes;if(this.nodes.length)return this;return new x1(Dj(u),D instanceof x1?[D]:D.nodes)}if(u===!1||!this.nodes.length)return;return this}optimizeNames(u,D){var F;if(this.else=(F=this.else)===null||F===void 0?void 0:F.optimizeNames(u,D),!(super.optimizeNames(u,D)||this.else))return;return this.condition=g6(this.condition,u,D),this}get names(){let u=super.names;if(S5(u,this.condition),this.else)hF(u,this.else.names);return u}}x1.kind="if";class d6 extends r1{}d6.kind="for";class rN extends d6{constructor(u){super();this.iteration=u}render(u){return`for(${this.iteration})`+super.render(u)}optimizeNames(u,D){if(!super.optimizeNames(u,D))return;return this.iteration=g6(this.iteration,u,D),this}get names(){return hF(super.names,this.iteration.names)}}class tN extends d6{constructor(u,D,F,$){super();this.varKind=u,this.name=D,this.from=F,this.to=$}render(u){let D=u.es5?cD.varKinds.var:this.varKind,{name:F,from:$,to:B}=this;return`for(${D} ${F}=${$}; ${F}<${B}; ${F}++)`+super.render(u)}get names(){let u=S5(super.names,this.from);return S5(u,this.to)}}class uZ extends d6{constructor(u,D,F,$){super();this.loop=u,this.varKind=D,this.name=F,this.iterable=$}render(u){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(u)}optimizeNames(u,D){if(!super.optimizeNames(u,D))return;return this.iterable=g6(this.iterable,u,D),this}get names(){return hF(super.names,this.iterable.names)}}class P5 extends r1{constructor(u,D,F){super();this.name=u,this.args=D,this.async=F}render(u){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(u)}}P5.kind="func";class v5 extends y5{render(u){return"return "+super.render(u)}}v5.kind="return";class eN extends r1{render(u){let D="try"+super.render(u);if(this.catch)D+=this.catch.render(u);if(this.finally)D+=this.finally.render(u);return D}optimizeNodes(){var u,D;return super.optimizeNodes(),(u=this.catch)===null||u===void 0||u.optimizeNodes(),(D=this.finally)===null||D===void 0||D.optimizeNodes(),this}optimizeNames(u,D){var F,$;return super.optimizeNames(u,D),(F=this.catch)===null||F===void 0||F.optimizeNames(u,D),($=this.finally)===null||$===void 0||$.optimizeNames(u,D),this}get names(){let u=super.names;if(this.catch)hF(u,this.catch.names);if(this.finally)hF(u,this.finally.names);return u}}class _5 extends r1{constructor(u){super();this.error=u}render(u){return`catch(${this.error})`+super.render(u)}}_5.kind="catch";class U5 extends r1{render(u){return"finally"+super.render(u)}}U5.kind="finally";class uj{constructor(u,D={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...D,_n:D.lines?`
80
+ `:""},this._extScope=u,this._scope=new cD.Scope({parent:u}),this._nodes=[new aN]}toString(){return this._root.render(this.opts)}name(u){return this._scope.name(u)}scopeName(u){return this._extScope.name(u)}scopeValue(u,D){let F=this._extScope.value(u,D);return(this._values[F.prefix]||(this._values[F.prefix]=new Set)).add(F),F}getScopeValue(u,D){return this._extScope.getValue(u,D)}scopeRefs(u){return this._extScope.scopeRefs(u,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(u,D,F,$){let B=this._scope.toName(D);if(F!==void 0&&$)this._constants[B.str]=F;return this._leafNode(new pN(u,B,F)),B}const(u,D,F){return this._def(cD.varKinds.const,u,D,F)}let(u,D,F){return this._def(cD.varKinds.let,u,D,F)}var(u,D,F){return this._def(cD.varKinds.var,u,D,F)}assign(u,D,F){return this._leafNode(new FZ(u,D,F))}add(u,D){return this._leafNode(new lN(u,eu.operators.ADD,D))}code(u){if(typeof u=="function")u();else if(u!==_0.nil)this._leafNode(new sN(u));return this}object(...u){let D=["{"];for(let[F,$]of u){if(D.length>1)D.push(",");if(D.push(F),F!==$||this.opts.es5)D.push(":"),(0,_0.addCodeArg)(D,$)}return D.push("}"),new _0._Code(D)}if(u,D,F){if(this._blockNode(new x1(u)),D&&F)this.code(D).else().code(F).endIf();else if(D)this.code(D).endIf();else if(F)throw Error('CodeGen: "else" body without "then" body');return this}elseIf(u){return this._elseNode(new x1(u))}else(){return this._elseNode(new T4)}endIf(){return this._endBlockNode(x1,T4)}_for(u,D){if(this._blockNode(u),D)this.code(D).endFor();return this}for(u,D){return this._for(new rN(u),D)}forRange(u,D,F,$,B=this.opts.es5?cD.varKinds.var:cD.varKinds.let){let z=this._scope.toName(u);return this._for(new tN(B,z,D,F),()=>$(z))}forOf(u,D,F,$=cD.varKinds.const){let B=this._scope.toName(u);if(this.opts.es5){let z=D instanceof _0.Name?D:this.var("_arr",D);return this.forRange("_i",0,_0._`${z}.length`,(Z)=>{this.var(B,_0._`${z}[${Z}]`),F(B)})}return this._for(new uZ("of",$,B,D),()=>F(B))}forIn(u,D,F,$=this.opts.es5?cD.varKinds.var:cD.varKinds.const){if(this.opts.ownProperties)return this.forOf(u,_0._`Object.keys(${D})`,F);let B=this._scope.toName(u);return this._for(new uZ("in",$,B,D),()=>F(B))}endFor(){return this._endBlockNode(d6)}label(u){return this._leafNode(new dN(u))}break(u){return this._leafNode(new gN(u))}return(u){let D=new v5;if(this._blockNode(D),this.code(u),D.nodes.length!==1)throw Error('CodeGen: "return" should have one node');return this._endBlockNode(v5)}try(u,D,F){if(!D&&!F)throw Error('CodeGen: "try" without "catch" and "finally"');let $=new eN;if(this._blockNode($),this.code(u),D){let B=this.name("e");this._currNode=$.catch=new _5(B),D(B)}if(F)this._currNode=$.finally=new U5,this.code(F);return this._endBlockNode(_5,U5)}throw(u){return this._leafNode(new oN(u))}block(u,D){if(this._blockStarts.push(this._nodes.length),u)this.code(u).endBlock(D);return this}endBlock(u){let D=this._blockStarts.pop();if(D===void 0)throw Error("CodeGen: not in self-balancing block");let F=this._nodes.length-D;if(F<0||u!==void 0&&F!==u)throw Error(`CodeGen: wrong number of nodes: ${F} vs ${u} expected`);return this._nodes.length=D,this}func(u,D=_0.nil,F,$){if(this._blockNode(new P5(u,D,F)),$)this.code($).endFunc();return this}endFunc(){return this._endBlockNode(P5)}optimize(u=1){while(u-- >0)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(u){return this._currNode.nodes.push(u),this}_blockNode(u){this._currNode.nodes.push(u),this._nodes.push(u)}_endBlockNode(u,D){let F=this._currNode;if(F instanceof u||D&&F instanceof D)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${D?`${u.kind}/${D.kind}`:u.kind}"`)}_elseNode(u){let D=this._currNode;if(!(D instanceof x1))throw Error('CodeGen: "else" without "if"');return this._currNode=D.else=u,this}get _root(){return this._nodes[0]}get _currNode(){let u=this._nodes;return u[u.length-1]}set _currNode(u){let D=this._nodes;D[D.length-1]=u}}eu.CodeGen=uj;function hF(u,D){for(let F in D)u[F]=(u[F]||0)+(D[F]||0);return u}function S5(u,D){return D instanceof _0._CodeOrName?hF(u,D.names):u}function g6(u,D,F){if(u instanceof _0.Name)return $(u);if(!B(u))return u;return new _0._Code(u._items.reduce((z,Z)=>{if(Z instanceof _0.Name)Z=$(Z);if(Z instanceof _0._Code)z.push(...Z._items);else z.push(Z);return z},[]));function $(z){let Z=F[z.str];if(Z===void 0||D[z.str]!==1)return z;return delete D[z.str],Z}function B(z){return z instanceof _0._Code&&z._items.some((Z)=>Z instanceof _0.Name&&D[Z.str]===1&&F[Z.str]!==void 0)}}function bu0(u,D){for(let F in D)u[F]=(u[F]||0)-(D[F]||0)}function Dj(u){return typeof u=="boolean"||typeof u=="number"||u===null?!u:_0._`!${DZ(u)}`}eu.not=Dj;var Ru0=Fj(eu.operators.AND);function ku0(...u){return u.reduce(Ru0)}eu.and=ku0;var cu0=Fj(eu.operators.OR);function hu0(...u){return u.reduce(cu0)}eu.or=hu0;function Fj(u){return(D,F)=>D===_0.nil?F:F===_0.nil?D:_0._`${DZ(D)} ${u} ${DZ(F)}`}function DZ(u){return u instanceof _0.Name?u:_0._`(${u})`}});var T0=H((Wj)=>{Object.defineProperty(Wj,"__esModule",{value:!0});Wj.checkStrictMode=Wj.getErrorPath=Wj.Type=Wj.useFunc=Wj.setEvaluated=Wj.evaluatedPropsToName=Wj.mergeEvaluated=Wj.eachItem=Wj.unescapeJsonPointer=Wj.escapeJsonPointer=Wj.escapeFragment=Wj.unescapeFragment=Wj.schemaRefOrVal=Wj.schemaHasRulesButRef=Wj.schemaHasRules=Wj.checkUnknownRules=Wj.alwaysValidSchema=Wj.toHash=void 0;var h0=I0(),lu0=S4();function du0(u){let D={};for(let F of u)D[F]=!0;return D}Wj.toHash=du0;function gu0(u,D){if(typeof D=="boolean")return D;if(Object.keys(D).length===0)return!0;return Zj(u,D),!qj(D,u.self.RULES.all)}Wj.alwaysValidSchema=gu0;function Zj(u,D=u.schema){let{opts:F,self:$}=u;if(!F.strictSchema)return;if(typeof D==="boolean")return;let B=$.RULES.keywords;for(let z in D)if(!B[z])Yj(u,`unknown keyword: "${z}"`)}Wj.checkUnknownRules=Zj;function qj(u,D){if(typeof u=="boolean")return!u;for(let F in u)if(D[F])return!0;return!1}Wj.schemaHasRules=qj;function ou0(u,D){if(typeof u=="boolean")return!u;for(let F in u)if(F!=="$ref"&&D.all[F])return!0;return!1}Wj.schemaHasRulesButRef=ou0;function su0({topSchemaRef:u,schemaPath:D},F,$,B){if(!B){if(typeof F=="number"||typeof F=="boolean")return F;if(typeof F=="string")return h0._`${F}`}return h0._`${u}${D}${(0,h0.getProperty)($)}`}Wj.schemaRefOrVal=su0;function au0(u){return Xj(decodeURIComponent(u))}Wj.unescapeFragment=au0;function ru0(u){return encodeURIComponent(BZ(u))}Wj.escapeFragment=ru0;function BZ(u){if(typeof u=="number")return`${u}`;return u.replace(/~/g,"~0").replace(/\//g,"~1")}Wj.escapeJsonPointer=BZ;function Xj(u){return u.replace(/~1/g,"/").replace(/~0/g,"~")}Wj.unescapeJsonPointer=Xj;function tu0(u,D){if(Array.isArray(u))for(let F of u)D(F);else D(u)}Wj.eachItem=tu0;function Bj({mergeNames:u,mergeToName:D,mergeValues:F,resultToName:$}){return(B,z,Z,q)=>{let X=Z===void 0?z:Z instanceof h0.Name?(z instanceof h0.Name?u(B,z,Z):D(B,z,Z),Z):z instanceof h0.Name?(D(B,Z,z),z):F(z,Z);return q===h0.Name&&!(X instanceof h0.Name)?$(B,X):X}}Wj.mergeEvaluated={props:Bj({mergeNames:(u,D,F)=>u.if(h0._`${F} !== true && ${D} !== undefined`,()=>{u.if(h0._`${D} === true`,()=>u.assign(F,!0),()=>u.assign(F,h0._`${F} || {}`).code(h0._`Object.assign(${F}, ${D})`))}),mergeToName:(u,D,F)=>u.if(h0._`${F} !== true`,()=>{if(D===!0)u.assign(F,!0);else u.assign(F,h0._`${F} || {}`),zZ(u,F,D)}),mergeValues:(u,D)=>u===!0?!0:{...u,...D},resultToName:Qj}),items:Bj({mergeNames:(u,D,F)=>u.if(h0._`${F} !== true && ${D} !== undefined`,()=>u.assign(F,h0._`${D} === true ? true : ${F} > ${D} ? ${F} : ${D}`)),mergeToName:(u,D,F)=>u.if(h0._`${F} !== true`,()=>u.assign(F,D===!0?!0:h0._`${F} > ${D} ? ${F} : ${D}`)),mergeValues:(u,D)=>u===!0?!0:Math.max(u,D),resultToName:(u,D)=>u.var("items",D)})};function Qj(u,D){if(D===!0)return u.var("props",!0);let F=u.var("props",h0._`{}`);if(D!==void 0)zZ(u,F,D);return F}Wj.evaluatedPropsToName=Qj;function zZ(u,D,F){Object.keys(F).forEach(($)=>u.assign(h0._`${D}${(0,h0.getProperty)($)}`,!0))}Wj.setEvaluated=zZ;var zj={};function eu0(u,D){return u.scopeValue("func",{ref:D,code:zj[D.code]||(zj[D.code]=new lu0._Code(D.code))})}Wj.useFunc=eu0;var $Z;(function(u){u[u.Num=0]="Num",u[u.Str=1]="Str"})($Z||(Wj.Type=$Z={}));function uD0(u,D,F){if(u instanceof h0.Name){let $=D===$Z.Num;return F?$?h0._`"[" + ${u} + "]"`:h0._`"['" + ${u} + "']"`:$?h0._`"/" + ${u}`:h0._`"/" + ${u}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return F?(0,h0.getProperty)(u).toString():"/"+BZ(u)}Wj.getErrorPath=uD0;function Yj(u,D,F=u.opts.strictSchema){if(!F)return;if(D=`strict mode: ${D}`,F===!0)throw Error(D);u.self.logger.warn(D)}Wj.checkStrictMode=Yj});var H1=H((Gj)=>{Object.defineProperty(Gj,"__esModule",{value:!0});var Pu=I0(),VD0={data:new Pu.Name("data"),valCxt:new Pu.Name("valCxt"),instancePath:new Pu.Name("instancePath"),parentData:new Pu.Name("parentData"),parentDataProperty:new Pu.Name("parentDataProperty"),rootData:new Pu.Name("rootData"),dynamicAnchors:new Pu.Name("dynamicAnchors"),vErrors:new Pu.Name("vErrors"),errors:new Pu.Name("errors"),this:new Pu.Name("this"),self:new Pu.Name("self"),scope:new Pu.Name("scope"),json:new Pu.Name("json"),jsonPos:new Pu.Name("jsonPos"),jsonLen:new Pu.Name("jsonLen"),jsonPart:new Pu.Name("jsonPart")};Gj.default=VD0});var y4=H((Hj)=>{Object.defineProperty(Hj,"__esModule",{value:!0});Hj.extendErrors=Hj.resetErrorsCount=Hj.reportExtraError=Hj.reportError=Hj.keyword$DataError=Hj.keywordError=void 0;var y0=I0(),R5=T0(),nu=H1();Hj.keywordError={message:({keyword:u})=>y0.str`must pass "${u}" keyword validation`};Hj.keyword$DataError={message:({keyword:u,schemaType:D})=>D?y0.str`"${u}" keyword must be ${D} ($data)`:y0.str`"${u}" keyword is invalid ($data)`};function MD0(u,D=Hj.keywordError,F,$){let{it:B}=u,{gen:z,compositeRule:Z,allErrors:q}=B,X=xj(u,D,F);if($!==null&&$!==void 0?$:Z||q)fj(z,X);else Kj(B,y0._`[${X}]`)}Hj.reportError=MD0;function wD0(u,D=Hj.keywordError,F){let{it:$}=u,{gen:B,compositeRule:z,allErrors:Z}=$,q=xj(u,D,F);if(fj(B,q),!(z||Z))Kj($,nu.default.vErrors)}Hj.reportExtraError=wD0;function iD0(u,D){u.assign(nu.default.errors,D),u.if(y0._`${nu.default.vErrors} !== null`,()=>u.if(D,()=>u.assign(y0._`${nu.default.vErrors}.length`,D),()=>u.assign(nu.default.vErrors,null)))}Hj.resetErrorsCount=iD0;function OD0({gen:u,keyword:D,schemaValue:F,data:$,errsCount:B,it:z}){if(B===void 0)throw Error("ajv implementation error");let Z=u.name("err");u.forRange("i",B,nu.default.errors,(q)=>{if(u.const(Z,y0._`${nu.default.vErrors}[${q}]`),u.if(y0._`${Z}.instancePath === undefined`,()=>u.assign(y0._`${Z}.instancePath`,(0,y0.strConcat)(nu.default.instancePath,z.errorPath))),u.assign(y0._`${Z}.schemaPath`,y0.str`${z.errSchemaPath}/${D}`),z.opts.verbose)u.assign(y0._`${Z}.schema`,F),u.assign(y0._`${Z}.data`,$)})}Hj.extendErrors=OD0;function fj(u,D){let F=u.const("err",D);u.if(y0._`${nu.default.vErrors} === null`,()=>u.assign(nu.default.vErrors,y0._`[${F}]`),y0._`${nu.default.vErrors}.push(${F})`),u.code(y0._`${nu.default.errors}++`)}function Kj(u,D){let{gen:F,validateName:$,schemaEnv:B}=u;if(B.$async)F.throw(y0._`new ${u.ValidationError}(${D})`);else F.assign(y0._`${$}.errors`,D),F.return(!1)}var mF={keyword:new y0.Name("keyword"),schemaPath:new y0.Name("schemaPath"),params:new y0.Name("params"),propertyName:new y0.Name("propertyName"),message:new y0.Name("message"),schema:new y0.Name("schema"),parentSchema:new y0.Name("parentSchema")};function xj(u,D,F){let{createErrors:$}=u.it;if($===!1)return y0._`{}`;return AD0(u,D,F)}function AD0(u,D,F={}){let{gen:$,it:B}=u,z=[ND0(B,F),jD0(u,F)];return ID0(u,D,z),$.object(...z)}function ND0({errorPath:u},{instancePath:D}){let F=D?y0.str`${u}${(0,R5.getErrorPath)(D,R5.Type.Str)}`:u;return[nu.default.instancePath,(0,y0.strConcat)(nu.default.instancePath,F)]}function jD0({keyword:u,it:{errSchemaPath:D}},{schemaPath:F,parentSchema:$}){let B=$?D:y0.str`${D}/${u}`;if(F)B=y0.str`${B}${(0,R5.getErrorPath)(F,R5.Type.Str)}`;return[mF.schemaPath,B]}function ID0(u,{params:D,message:F},$){let{keyword:B,data:z,schemaValue:Z,it:q}=u,{opts:X,propertyName:Q,topSchemaRef:Y,schemaPath:W}=q;if($.push([mF.keyword,B],[mF.params,typeof D=="function"?D(u):D||y0._`{}`]),X.messages)$.push([mF.message,typeof F=="function"?F(u):F]);if(X.verbose)$.push([mF.schema,Z],[mF.parentSchema,y0._`${Y}${W}`],[nu.default.data,z]);if(Q)$.push([mF.propertyName,Q])}});var ij=H((Mj)=>{Object.defineProperty(Mj,"__esModule",{value:!0});Mj.boolOrEmptySchema=Mj.topBoolOrEmptySchema=void 0;var _D0=y4(),UD0=I0(),SD0=H1(),TD0={message:"boolean schema is false"};function yD0(u){let{gen:D,schema:F,validateName:$}=u;if(F===!1)Lj(u,!1);else if(typeof F=="object"&&F.$async===!0)D.return(SD0.default.data);else D.assign(UD0._`${$}.errors`,null),D.return(!0)}Mj.topBoolOrEmptySchema=yD0;function bD0(u,D){let{gen:F,schema:$}=u;if($===!1)F.var(D,!1),Lj(u);else F.var(D,!0)}Mj.boolOrEmptySchema=bD0;function Lj(u,D){let{gen:F,data:$}=u,B={gen:F,keyword:"false schema",data:$,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:u};(0,_D0.reportError)(B,TD0,void 0,D)}});var qZ=H((Oj)=>{Object.defineProperty(Oj,"__esModule",{value:!0});Oj.getRules=Oj.isJSONType=void 0;var kD0=["string","number","integer","boolean","null","object","array"],cD0=new Set(kD0);function hD0(u){return typeof u=="string"&&cD0.has(u)}Oj.isJSONType=hD0;function mD0(){let u={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...u,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},u.number,u.string,u.array,u.object],post:{rules:[]},all:{},keywords:{}}}Oj.getRules=mD0});var XZ=H((Ij)=>{Object.defineProperty(Ij,"__esModule",{value:!0});Ij.shouldUseRule=Ij.shouldUseGroup=Ij.schemaHasRulesForType=void 0;function pD0({schema:u,self:D},F){let $=D.RULES.types[F];return $&&$!==!0&&Nj(u,$)}Ij.schemaHasRulesForType=pD0;function Nj(u,D){return D.rules.some((F)=>jj(u,F))}Ij.shouldUseGroup=Nj;function jj(u,D){var F;return u[D.keyword]!==void 0||((F=D.definition.implements)===null||F===void 0?void 0:F.some(($)=>u[$]!==void 0))}Ij.shouldUseRule=jj});var b4=H((_j)=>{Object.defineProperty(_j,"__esModule",{value:!0});_j.reportTypeError=_j.checkDataTypes=_j.checkDataType=_j.coerceAndCheckDataType=_j.getJSONTypes=_j.getSchemaTypes=_j.DataType=void 0;var gD0=qZ(),oD0=XZ(),sD0=y4(),N0=I0(),Cj=T0(),o6;(function(u){u[u.Correct=0]="Correct",u[u.Wrong=1]="Wrong"})(o6||(_j.DataType=o6={}));function aD0(u){let D=Pj(u.type);if(D.includes("null")){if(u.nullable===!1)throw Error("type: null contradicts nullable: false")}else{if(!D.length&&u.nullable!==void 0)throw Error('"nullable" cannot be used without "type"');if(u.nullable===!0)D.push("null")}return D}_j.getSchemaTypes=aD0;function Pj(u){let D=Array.isArray(u)?u:u?[u]:[];if(D.every(gD0.isJSONType))return D;throw Error("type must be JSONType or JSONType[]: "+D.join(","))}_j.getJSONTypes=Pj;function rD0(u,D){let{gen:F,data:$,opts:B}=u,z=tD0(D,B.coerceTypes),Z=D.length>0&&!(z.length===0&&D.length===1&&(0,oD0.schemaHasRulesForType)(u,D[0]));if(Z){let q=YZ(D,$,B.strictNumbers,o6.Wrong);F.if(q,()=>{if(z.length)eD0(u,D,z);else WZ(u)})}return Z}_j.coerceAndCheckDataType=rD0;var vj=new Set(["string","number","integer","boolean","null"]);function tD0(u,D){return D?u.filter((F)=>vj.has(F)||D==="array"&&F==="array"):[]}function eD0(u,D,F){let{gen:$,data:B,opts:z}=u,Z=$.let("dataType",N0._`typeof ${B}`),q=$.let("coerced",N0._`undefined`);if(z.coerceTypes==="array")$.if(N0._`${Z} == 'object' && Array.isArray(${B}) && ${B}.length == 1`,()=>$.assign(B,N0._`${B}[0]`).assign(Z,N0._`typeof ${B}`).if(YZ(D,B,z.strictNumbers),()=>$.assign(q,B)));$.if(N0._`${q} !== undefined`);for(let Q of F)if(vj.has(Q)||Q==="array"&&z.coerceTypes==="array")X(Q);$.else(),WZ(u),$.endIf(),$.if(N0._`${q} !== undefined`,()=>{$.assign(B,q),u10(u,q)});function X(Q){switch(Q){case"string":$.elseIf(N0._`${Z} == "number" || ${Z} == "boolean"`).assign(q,N0._`"" + ${B}`).elseIf(N0._`${B} === null`).assign(q,N0._`""`);return;case"number":$.elseIf(N0._`${Z} == "boolean" || ${B} === null
81
+ || (${Z} == "string" && ${B} && ${B} == +${B})`).assign(q,N0._`+${B}`);return;case"integer":$.elseIf(N0._`${Z} === "boolean" || ${B} === null
82
+ || (${Z} === "string" && ${B} && ${B} == +${B} && !(${B} % 1))`).assign(q,N0._`+${B}`);return;case"boolean":$.elseIf(N0._`${B} === "false" || ${B} === 0 || ${B} === null`).assign(q,!1).elseIf(N0._`${B} === "true" || ${B} === 1`).assign(q,!0);return;case"null":$.elseIf(N0._`${B} === "" || ${B} === 0 || ${B} === false`),$.assign(q,null);return;case"array":$.elseIf(N0._`${Z} === "string" || ${Z} === "number"
83
+ || ${Z} === "boolean" || ${B} === null`).assign(q,N0._`[${B}]`)}}}function u10({gen:u,parentData:D,parentDataProperty:F},$){u.if(N0._`${D} !== undefined`,()=>u.assign(N0._`${D}[${F}]`,$))}function QZ(u,D,F,$=o6.Correct){let B=$===o6.Correct?N0.operators.EQ:N0.operators.NEQ,z;switch(u){case"null":return N0._`${D} ${B} null`;case"array":z=N0._`Array.isArray(${D})`;break;case"object":z=N0._`${D} && typeof ${D} == "object" && !Array.isArray(${D})`;break;case"integer":z=Z(N0._`!(${D} % 1) && !isNaN(${D})`);break;case"number":z=Z();break;default:return N0._`typeof ${D} ${B} ${u}`}return $===o6.Correct?z:(0,N0.not)(z);function Z(q=N0.nil){return(0,N0.and)(N0._`typeof ${D} == "number"`,q,F?N0._`isFinite(${D})`:N0.nil)}}_j.checkDataType=QZ;function YZ(u,D,F,$){if(u.length===1)return QZ(u[0],D,F,$);let B,z=(0,Cj.toHash)(u);if(z.array&&z.object){let Z=N0._`typeof ${D} != "object"`;B=z.null?Z:N0._`!${D} || ${Z}`,delete z.null,delete z.array,delete z.object}else B=N0.nil;if(z.number)delete z.integer;for(let Z in z)B=(0,N0.and)(B,QZ(Z,D,F,$));return B}_j.checkDataTypes=YZ;var D10={message:({schema:u})=>`must be ${u}`,params:({schema:u,schemaValue:D})=>typeof u=="string"?N0._`{type: ${u}}`:N0._`{type: ${D}}`};function WZ(u){let D=F10(u);(0,sD0.reportError)(D,D10)}_j.reportTypeError=WZ;function F10(u){let{gen:D,data:F,schema:$}=u,B=(0,Cj.schemaRefOrVal)(u,$,"type");return{gen:D,keyword:"type",data:F,schema:$.type,schemaCode:B,schemaValue:B,parentSchema:$,params:{},it:u}}});var bj=H((Tj)=>{Object.defineProperty(Tj,"__esModule",{value:!0});Tj.assignDefaults=void 0;var s6=I0(),Q10=T0();function Y10(u,D){let{properties:F,items:$}=u.schema;if(D==="object"&&F)for(let B in F)Sj(u,B,F[B].default);else if(D==="array"&&Array.isArray($))$.forEach((B,z)=>Sj(u,z,B.default))}Tj.assignDefaults=Y10;function Sj(u,D,F){let{gen:$,compositeRule:B,data:z,opts:Z}=u;if(F===void 0)return;let q=s6._`${z}${(0,s6.getProperty)(D)}`;if(B){(0,Q10.checkStrictMode)(u,`default is ignored for: ${q}`);return}let X=s6._`${q} === undefined`;if(Z.useDefaults==="empty")X=s6._`${X} || ${q} === null || ${q} === ""`;$.if(X,s6._`${q} = ${(0,s6.stringify)(F)}`)}});var OD=H((cj)=>{Object.defineProperty(cj,"__esModule",{value:!0});cj.validateUnion=cj.validateArray=cj.usePattern=cj.callValidateCode=cj.schemaProperties=cj.allSchemaProperties=cj.noPropertyInData=cj.propertyInData=cj.isOwnProperty=cj.hasPropFunc=cj.reportMissingProp=cj.checkMissingProp=cj.checkReportMissingProp=void 0;var g0=I0(),JZ=T0(),t1=H1(),W10=T0();function J10(u,D){let{gen:F,data:$,it:B}=u;F.if(fZ(F,$,D,B.opts.ownProperties),()=>{u.setParams({missingProperty:g0._`${D}`},!0),u.error()})}cj.checkReportMissingProp=J10;function G10({gen:u,data:D,it:{opts:F}},$,B){return(0,g0.or)(...$.map((z)=>(0,g0.and)(fZ(u,D,z,F.ownProperties),g0._`${B} = ${z}`)))}cj.checkMissingProp=G10;function f10(u,D){u.setParams({missingProperty:D},!0),u.error()}cj.reportMissingProp=f10;function Rj(u){return u.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:g0._`Object.prototype.hasOwnProperty`})}cj.hasPropFunc=Rj;function GZ(u,D,F){return g0._`${Rj(u)}.call(${D}, ${F})`}cj.isOwnProperty=GZ;function K10(u,D,F,$){let B=g0._`${D}${(0,g0.getProperty)(F)} !== undefined`;return $?g0._`${B} && ${GZ(u,D,F)}`:B}cj.propertyInData=K10;function fZ(u,D,F,$){let B=g0._`${D}${(0,g0.getProperty)(F)} === undefined`;return $?(0,g0.or)(B,(0,g0.not)(GZ(u,D,F))):B}cj.noPropertyInData=fZ;function kj(u){return u?Object.keys(u).filter((D)=>D!=="__proto__"):[]}cj.allSchemaProperties=kj;function x10(u,D){return kj(D).filter((F)=>!(0,JZ.alwaysValidSchema)(u,D[F]))}cj.schemaProperties=x10;function H10({schemaCode:u,data:D,it:{gen:F,topSchemaRef:$,schemaPath:B,errorPath:z},it:Z},q,X,Q){let Y=Q?g0._`${u}, ${D}, ${$}${B}`:D,W=[[t1.default.instancePath,(0,g0.strConcat)(t1.default.instancePath,z)],[t1.default.parentData,Z.parentData],[t1.default.parentDataProperty,Z.parentDataProperty],[t1.default.rootData,t1.default.rootData]];if(Z.opts.dynamicRef)W.push([t1.default.dynamicAnchors,t1.default.dynamicAnchors]);let J=g0._`${Y}, ${F.object(...W)}`;return X!==g0.nil?g0._`${q}.call(${X}, ${J})`:g0._`${q}(${J})`}cj.callValidateCode=H10;var V10=g0._`new RegExp`;function L10({gen:u,it:{opts:D}},F){let $=D.unicodeRegExp?"u":"",{regExp:B}=D.code,z=B(F,$);return u.scopeValue("pattern",{key:z.toString(),ref:z,code:g0._`${B.code==="new RegExp"?V10:(0,W10.useFunc)(u,B)}(${F}, ${$})`})}cj.usePattern=L10;function M10(u){let{gen:D,data:F,keyword:$,it:B}=u,z=D.name("valid");if(B.allErrors){let q=D.let("valid",!0);return Z(()=>D.assign(q,!1)),q}return D.var(z,!0),Z(()=>D.break()),z;function Z(q){let X=D.const("len",g0._`${F}.length`);D.forRange("i",0,X,(Q)=>{u.subschema({keyword:$,dataProp:Q,dataPropType:JZ.Type.Num},z),D.if((0,g0.not)(z),q)})}}cj.validateArray=M10;function w10(u){let{gen:D,schema:F,keyword:$,it:B}=u;if(!Array.isArray(F))throw Error("ajv implementation error");if(F.some((X)=>(0,JZ.alwaysValidSchema)(B,X))&&!B.opts.unevaluated)return;let Z=D.let("valid",!1),q=D.name("_valid");D.block(()=>F.forEach((X,Q)=>{let Y=u.subschema({keyword:$,schemaProp:Q,compositeRule:!0},q);if(D.assign(Z,g0._`${Z} || ${q}`),!u.mergeValidEvaluated(Y,q))D.if((0,g0.not)(Z))})),u.result(Z,()=>u.reset(),()=>u.error(!0))}cj.validateUnion=w10});var dj=H((pj)=>{Object.defineProperty(pj,"__esModule",{value:!0});pj.validateKeywordUsage=pj.validSchemaType=pj.funcKeywordCode=pj.macroKeywordCode=void 0;var pu=I0(),nF=H1(),S10=OD(),T10=y4();function y10(u,D){let{gen:F,keyword:$,schema:B,parentSchema:z,it:Z}=u,q=D.macro.call(Z.self,B,z,Z),X=nj(F,$,q);if(Z.opts.validateSchema!==!1)Z.self.validateSchema(q,!0);let Q=F.name("valid");u.subschema({schema:q,schemaPath:pu.nil,errSchemaPath:`${Z.errSchemaPath}/${$}`,topSchemaRef:X,compositeRule:!0},Q),u.pass(Q,()=>u.error(!0))}pj.macroKeywordCode=y10;function b10(u,D){var F;let{gen:$,keyword:B,schema:z,parentSchema:Z,$data:q,it:X}=u;k10(X,D);let Q=!q&&D.compile?D.compile.call(X.self,z,Z,X):D.validate,Y=nj($,B,Q),W=$.let("valid");u.block$data(W,J),u.ok((F=D.valid)!==null&&F!==void 0?F:W);function J(){if(D.errors===!1){if(K(),D.modifying)mj(u);x(()=>u.error())}else{let M=D.async?G():f();if(D.modifying)mj(u);x(()=>R10(u,M))}}function G(){let M=$.let("ruleErrs",null);return $.try(()=>K(pu._`await `),(L)=>$.assign(W,!1).if(pu._`${L} instanceof ${X.ValidationError}`,()=>$.assign(M,pu._`${L}.errors`),()=>$.throw(L))),M}function f(){let M=pu._`${Y}.errors`;return $.assign(M,null),K(pu.nil),M}function K(M=D.async?pu._`await `:pu.nil){let L=X.opts.passContext?nF.default.this:nF.default.self,j=!(("compile"in D)&&!q||D.schema===!1);$.assign(W,pu._`${M}${(0,S10.callValidateCode)(u,Y,L,j)}`,D.modifying)}function x(M){var L;$.if((0,pu.not)((L=D.valid)!==null&&L!==void 0?L:W),M)}}pj.funcKeywordCode=b10;function mj(u){let{gen:D,data:F,it:$}=u;D.if($.parentData,()=>D.assign(F,pu._`${$.parentData}[${$.parentDataProperty}]`))}function R10(u,D){let{gen:F}=u;F.if(pu._`Array.isArray(${D})`,()=>{F.assign(nF.default.vErrors,pu._`${nF.default.vErrors} === null ? ${D} : ${nF.default.vErrors}.concat(${D})`).assign(nF.default.errors,pu._`${nF.default.vErrors}.length`),(0,T10.extendErrors)(u)},()=>u.error())}function k10({schemaEnv:u},D){if(D.async&&!u.$async)throw Error("async keyword in sync schema")}function nj(u,D,F){if(F===void 0)throw Error(`keyword "${D}" failed to compile`);return u.scopeValue("keyword",typeof F=="function"?{ref:F}:{ref:F,code:(0,pu.stringify)(F)})}function c10(u,D,F=!1){return!D.length||D.some(($)=>$==="array"?Array.isArray(u):$==="object"?u&&typeof u=="object"&&!Array.isArray(u):typeof u==$||F&&typeof u>"u")}pj.validSchemaType=c10;function h10({schema:u,opts:D,self:F,errSchemaPath:$},B,z){if(Array.isArray(B.keyword)?!B.keyword.includes(z):B.keyword!==z)throw Error("ajv implementation error");let Z=B.dependencies;if(Z===null||Z===void 0?void 0:Z.some((q)=>!Object.prototype.hasOwnProperty.call(u,q)))throw Error(`parent schema must have dependencies of ${z}: ${Z.join(",")}`);if(B.validateSchema){if(!B.validateSchema(u[z])){let X=`keyword "${z}" value is invalid at path "${$}": `+F.errorsText(B.validateSchema.errors);if(D.validateSchema==="log")F.logger.error(X);else throw Error(X)}}}pj.validateKeywordUsage=h10});var aj=H((oj)=>{Object.defineProperty(oj,"__esModule",{value:!0});oj.extendSubschemaMode=oj.extendSubschemaData=oj.getSubschema=void 0;var $1=I0(),gj=T0();function l10(u,{keyword:D,schemaProp:F,schema:$,schemaPath:B,errSchemaPath:z,topSchemaRef:Z}){if(D!==void 0&&$!==void 0)throw Error('both "keyword" and "schema" passed, only one allowed');if(D!==void 0){let q=u.schema[D];return F===void 0?{schema:q,schemaPath:$1._`${u.schemaPath}${(0,$1.getProperty)(D)}`,errSchemaPath:`${u.errSchemaPath}/${D}`}:{schema:q[F],schemaPath:$1._`${u.schemaPath}${(0,$1.getProperty)(D)}${(0,$1.getProperty)(F)}`,errSchemaPath:`${u.errSchemaPath}/${D}/${(0,gj.escapeFragment)(F)}`}}if($!==void 0){if(B===void 0||z===void 0||Z===void 0)throw Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:$,schemaPath:B,topSchemaRef:Z,errSchemaPath:z}}throw Error('either "keyword" or "schema" must be passed')}oj.getSubschema=l10;function d10(u,D,{dataProp:F,dataPropType:$,data:B,dataTypes:z,propertyName:Z}){if(B!==void 0&&F!==void 0)throw Error('both "data" and "dataProp" passed, only one allowed');let{gen:q}=D;if(F!==void 0){let{errorPath:Q,dataPathArr:Y,opts:W}=D,J=q.let("data",$1._`${D.data}${(0,$1.getProperty)(F)}`,!0);X(J),u.errorPath=$1.str`${Q}${(0,gj.getErrorPath)(F,$,W.jsPropertySyntax)}`,u.parentDataProperty=$1._`${F}`,u.dataPathArr=[...Y,u.parentDataProperty]}if(B!==void 0){let Q=B instanceof $1.Name?B:q.let("data",B,!0);if(X(Q),Z!==void 0)u.propertyName=Z}if(z)u.dataTypes=z;function X(Q){u.data=Q,u.dataLevel=D.dataLevel+1,u.dataTypes=[],D.definedProperties=new Set,u.parentData=D.data,u.dataNames=[...D.dataNames,Q]}}oj.extendSubschemaData=d10;function g10(u,{jtdDiscriminator:D,jtdMetadata:F,compositeRule:$,createErrors:B,allErrors:z}){if($!==void 0)u.compositeRule=$;if(B!==void 0)u.createErrors=B;if(z!==void 0)u.allErrors=z;u.jtdDiscriminator=D,u.jtdMetadata=F}oj.extendSubschemaMode=g10});var KZ=H((dG0,rj)=>{rj.exports=function u(D,F){if(D===F)return!0;if(D&&F&&typeof D=="object"&&typeof F=="object"){if(D.constructor!==F.constructor)return!1;var $,B,z;if(Array.isArray(D)){if($=D.length,$!=F.length)return!1;for(B=$;B--!==0;)if(!u(D[B],F[B]))return!1;return!0}if(D.constructor===RegExp)return D.source===F.source&&D.flags===F.flags;if(D.valueOf!==Object.prototype.valueOf)return D.valueOf()===F.valueOf();if(D.toString!==Object.prototype.toString)return D.toString()===F.toString();if(z=Object.keys(D),$=z.length,$!==Object.keys(F).length)return!1;for(B=$;B--!==0;)if(!Object.prototype.hasOwnProperty.call(F,z[B]))return!1;for(B=$;B--!==0;){var Z=z[B];if(!u(D[Z],F[Z]))return!1}return!0}return D!==D&&F!==F}});var ej=H((gG0,tj)=>{var e1=tj.exports=function(u,D,F){if(typeof D=="function")F=D,D={};F=D.cb||F;var $=typeof F=="function"?F:F.pre||function(){},B=F.post||function(){};k5(D,$,B,u,"",u)};e1.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};e1.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};e1.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};e1.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function k5(u,D,F,$,B,z,Z,q,X,Q){if($&&typeof $=="object"&&!Array.isArray($)){D($,B,z,Z,q,X,Q);for(var Y in $){var W=$[Y];if(Array.isArray(W)){if(Y in e1.arrayKeywords)for(var J=0;J<W.length;J++)k5(u,D,F,W[J],B+"/"+Y+"/"+J,z,B,Y,$,J)}else if(Y in e1.propsKeywords){if(W&&typeof W=="object")for(var G in W)k5(u,D,F,W[G],B+"/"+Y+"/"+a10(G),z,B,Y,$,G)}else if(Y in e1.keywords||u.allKeys&&!(Y in e1.skipKeywords))k5(u,D,F,W,B+"/"+Y,z,B,Y,$)}F($,B,z,Z,q,X,Q)}}function a10(u){return u.replace(/~/g,"~0").replace(/\//g,"~1")}});var R4=H(($I)=>{Object.defineProperty($I,"__esModule",{value:!0});$I.getSchemaRefs=$I.resolveUrl=$I.normalizeId=$I._getFullPath=$I.getFullPath=$I.inlineRef=void 0;var r10=T0(),t10=KZ(),e10=ej(),uF0=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function DF0(u,D=!0){if(typeof u=="boolean")return!0;if(D===!0)return!xZ(u);if(!D)return!1;return uI(u)<=D}$I.inlineRef=DF0;var FF0=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function xZ(u){for(let D in u){if(FF0.has(D))return!0;let F=u[D];if(Array.isArray(F)&&F.some(xZ))return!0;if(typeof F=="object"&&xZ(F))return!0}return!1}function uI(u){let D=0;for(let F in u){if(F==="$ref")return 1/0;if(D++,uF0.has(F))continue;if(typeof u[F]=="object")(0,r10.eachItem)(u[F],($)=>D+=uI($));if(D===1/0)return 1/0}return D}function DI(u,D="",F){if(F!==!1)D=a6(D);let $=u.parse(D);return FI(u,$)}$I.getFullPath=DI;function FI(u,D){return u.serialize(D).split("#")[0]+"#"}$I._getFullPath=FI;var $F0=/#\/?$/;function a6(u){return u?u.replace($F0,""):""}$I.normalizeId=a6;function BF0(u,D,F){return F=a6(F),u.resolve(D,F)}$I.resolveUrl=BF0;var zF0=/^[a-z_][-a-z0-9._]*$/i;function ZF0(u,D){if(typeof u=="boolean")return{};let{schemaId:F,uriResolver:$}=this.opts,B=a6(u[F]||D),z={"":B},Z=DI($,B,!1),q={},X=new Set;return e10(u,{allKeys:!0},(W,J,G,f)=>{if(f===void 0)return;let K=Z+J,x=z[f];if(typeof W[F]=="string")x=M.call(this,W[F]);L.call(this,W.$anchor),L.call(this,W.$dynamicAnchor),z[J]=x;function M(j){let U=this.opts.uriResolver.resolve;if(j=a6(x?U(x,j):j),X.has(j))throw Y(j);X.add(j);let I=this.refs[j];if(typeof I=="string")I=this.refs[I];if(typeof I=="object")Q(W,I.schema,j);else if(j!==a6(K))if(j[0]==="#")Q(W,q[j],j),q[j]=W;else this.refs[j]=K;return j}function L(j){if(typeof j=="string"){if(!zF0.test(j))throw Error(`invalid anchor "${j}"`);M.call(this,`#${j}`)}}}),q;function Q(W,J,G){if(J!==void 0&&!t10(W,J))throw Y(G)}function Y(W){return Error(`reference "${W}" resolves to more than one schema`)}}$I.getSchemaRefs=ZF0});var h4=H((LI)=>{Object.defineProperty(LI,"__esModule",{value:!0});LI.getData=LI.KeywordCxt=LI.validateFunctionCode=void 0;var QI=ij(),zI=b4(),VZ=XZ(),c5=b4(),JF0=bj(),c4=dj(),HZ=aj(),f0=I0(),w0=H1(),GF0=R4(),V1=T0(),k4=y4();function fF0(u){if(JI(u)){if(GI(u),WI(u)){HF0(u);return}}YI(u,()=>(0,QI.topBoolOrEmptySchema)(u))}LI.validateFunctionCode=fF0;function YI({gen:u,validateName:D,schema:F,schemaEnv:$,opts:B},z){if(B.code.es5)u.func(D,f0._`${w0.default.data}, ${w0.default.valCxt}`,$.$async,()=>{u.code(f0._`"use strict"; ${ZI(F,B)}`),xF0(u,B),u.code(z)});else u.func(D,f0._`${w0.default.data}, ${KF0(B)}`,$.$async,()=>u.code(ZI(F,B)).code(z))}function KF0(u){return f0._`{${w0.default.instancePath}="", ${w0.default.parentData}, ${w0.default.parentDataProperty}, ${w0.default.rootData}=${w0.default.data}${u.dynamicRef?f0._`, ${w0.default.dynamicAnchors}={}`:f0.nil}}={}`}function xF0(u,D){u.if(w0.default.valCxt,()=>{if(u.var(w0.default.instancePath,f0._`${w0.default.valCxt}.${w0.default.instancePath}`),u.var(w0.default.parentData,f0._`${w0.default.valCxt}.${w0.default.parentData}`),u.var(w0.default.parentDataProperty,f0._`${w0.default.valCxt}.${w0.default.parentDataProperty}`),u.var(w0.default.rootData,f0._`${w0.default.valCxt}.${w0.default.rootData}`),D.dynamicRef)u.var(w0.default.dynamicAnchors,f0._`${w0.default.valCxt}.${w0.default.dynamicAnchors}`)},()=>{if(u.var(w0.default.instancePath,f0._`""`),u.var(w0.default.parentData,f0._`undefined`),u.var(w0.default.parentDataProperty,f0._`undefined`),u.var(w0.default.rootData,w0.default.data),D.dynamicRef)u.var(w0.default.dynamicAnchors,f0._`{}`)})}function HF0(u){let{schema:D,opts:F,gen:$}=u;YI(u,()=>{if(F.$comment&&D.$comment)KI(u);if(iF0(u),$.let(w0.default.vErrors,null),$.let(w0.default.errors,0),F.unevaluated)VF0(u);fI(u),NF0(u)});return}function VF0(u){let{gen:D,validateName:F}=u;u.evaluated=D.const("evaluated",f0._`${F}.evaluated`),D.if(f0._`${u.evaluated}.dynamicProps`,()=>D.assign(f0._`${u.evaluated}.props`,f0._`undefined`)),D.if(f0._`${u.evaluated}.dynamicItems`,()=>D.assign(f0._`${u.evaluated}.items`,f0._`undefined`))}function ZI(u,D){let F=typeof u=="object"&&u[D.schemaId];return F&&(D.code.source||D.code.process)?f0._`/*# sourceURL=${F} */`:f0.nil}function LF0(u,D){if(JI(u)){if(GI(u),WI(u)){MF0(u,D);return}}(0,QI.boolOrEmptySchema)(u,D)}function WI({schema:u,self:D}){if(typeof u=="boolean")return!u;for(let F in u)if(D.RULES.all[F])return!0;return!1}function JI(u){return typeof u.schema!="boolean"}function MF0(u,D){let{schema:F,gen:$,opts:B}=u;if(B.$comment&&F.$comment)KI(u);OF0(u),AF0(u);let z=$.const("_errs",w0.default.errors);fI(u,z),$.var(D,f0._`${z} === ${w0.default.errors}`)}function GI(u){(0,V1.checkUnknownRules)(u),wF0(u)}function fI(u,D){if(u.opts.jtd)return qI(u,[],!1,D);let F=(0,zI.getSchemaTypes)(u.schema),$=(0,zI.coerceAndCheckDataType)(u,F);qI(u,F,!$,D)}function wF0(u){let{schema:D,errSchemaPath:F,opts:$,self:B}=u;if(D.$ref&&$.ignoreKeywordsWithRef&&(0,V1.schemaHasRulesButRef)(D,B.RULES))B.logger.warn(`$ref: keywords ignored in schema at path "${F}"`)}function iF0(u){let{schema:D,opts:F}=u;if(D.default!==void 0&&F.useDefaults&&F.strictSchema)(0,V1.checkStrictMode)(u,"default is ignored in the schema root")}function OF0(u){let D=u.schema[u.opts.schemaId];if(D)u.baseId=(0,GF0.resolveUrl)(u.opts.uriResolver,u.baseId,D)}function AF0(u){if(u.schema.$async&&!u.schemaEnv.$async)throw Error("async schema in sync schema")}function KI({gen:u,schemaEnv:D,schema:F,errSchemaPath:$,opts:B}){let z=F.$comment;if(B.$comment===!0)u.code(f0._`${w0.default.self}.logger.log(${z})`);else if(typeof B.$comment=="function"){let Z=f0.str`${$}/$comment`,q=u.scopeValue("root",{ref:D.root});u.code(f0._`${w0.default.self}.opts.$comment(${z}, ${Z}, ${q}.schema)`)}}function NF0(u){let{gen:D,schemaEnv:F,validateName:$,ValidationError:B,opts:z}=u;if(F.$async)D.if(f0._`${w0.default.errors} === 0`,()=>D.return(w0.default.data),()=>D.throw(f0._`new ${B}(${w0.default.vErrors})`));else{if(D.assign(f0._`${$}.errors`,w0.default.vErrors),z.unevaluated)jF0(u);D.return(f0._`${w0.default.errors} === 0`)}}function jF0({gen:u,evaluated:D,props:F,items:$}){if(F instanceof f0.Name)u.assign(f0._`${D}.props`,F);if($ instanceof f0.Name)u.assign(f0._`${D}.items`,$)}function qI(u,D,F,$){let{gen:B,schema:z,data:Z,allErrors:q,opts:X,self:Q}=u,{RULES:Y}=Q;if(z.$ref&&(X.ignoreKeywordsWithRef||!(0,V1.schemaHasRulesButRef)(z,Y))){B.block(()=>HI(u,"$ref",Y.all.$ref.definition));return}if(!X.jtd)IF0(u,D);B.block(()=>{for(let J of Y.rules)W(J);W(Y.post)});function W(J){if(!(0,VZ.shouldUseGroup)(z,J))return;if(J.type){if(B.if((0,c5.checkDataType)(J.type,Z,X.strictNumbers)),XI(u,J),D.length===1&&D[0]===J.type&&F)B.else(),(0,c5.reportTypeError)(u);B.endIf()}else XI(u,J);if(!q)B.if(f0._`${w0.default.errors} === ${$||0}`)}}function XI(u,D){let{gen:F,schema:$,opts:{useDefaults:B}}=u;if(B)(0,JF0.assignDefaults)(u,D.type);F.block(()=>{for(let z of D.rules)if((0,VZ.shouldUseRule)($,z))HI(u,z.keyword,z.definition,D.type)})}function IF0(u,D){if(u.schemaEnv.meta||!u.opts.strictTypes)return;if(EF0(u,D),!u.opts.allowUnionTypes)CF0(u,D);PF0(u,u.dataTypes)}function EF0(u,D){if(!D.length)return;if(!u.dataTypes.length){u.dataTypes=D;return}D.forEach((F)=>{if(!xI(u.dataTypes,F))LZ(u,`type "${F}" not allowed by context "${u.dataTypes.join(",")}"`)}),_F0(u,D)}function CF0(u,D){if(D.length>1&&!(D.length===2&&D.includes("null")))LZ(u,"use allowUnionTypes to allow union type keyword")}function PF0(u,D){let F=u.self.RULES.all;for(let $ in F){let B=F[$];if(typeof B=="object"&&(0,VZ.shouldUseRule)(u.schema,B)){let{type:z}=B.definition;if(z.length&&!z.some((Z)=>vF0(D,Z)))LZ(u,`missing type "${z.join(",")}" for keyword "${$}"`)}}}function vF0(u,D){return u.includes(D)||D==="number"&&u.includes("integer")}function xI(u,D){return u.includes(D)||D==="integer"&&u.includes("number")}function _F0(u,D){let F=[];for(let $ of u.dataTypes)if(xI(D,$))F.push($);else if(D.includes("integer")&&$==="number")F.push("integer");u.dataTypes=F}function LZ(u,D){let F=u.schemaEnv.baseId+u.errSchemaPath;D+=` at "${F}" (strictTypes)`,(0,V1.checkStrictMode)(u,D,u.opts.strictTypes)}class MZ{constructor(u,D,F){if((0,c4.validateKeywordUsage)(u,D,F),this.gen=u.gen,this.allErrors=u.allErrors,this.keyword=F,this.data=u.data,this.schema=u.schema[F],this.$data=D.$data&&u.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,V1.schemaRefOrVal)(u,this.schema,F,this.$data),this.schemaType=D.schemaType,this.parentSchema=u.schema,this.params={},this.it=u,this.def=D,this.$data)this.schemaCode=u.gen.const("vSchema",VI(this.$data,u));else if(this.schemaCode=this.schemaValue,!(0,c4.validSchemaType)(this.schema,D.schemaType,D.allowUndefined))throw Error(`${F} value must be ${JSON.stringify(D.schemaType)}`);if("code"in D?D.trackErrors:D.errors!==!1)this.errsCount=u.gen.const("_errs",w0.default.errors)}result(u,D,F){this.failResult((0,f0.not)(u),D,F)}failResult(u,D,F){if(this.gen.if(u),F)F();else this.error();if(D){if(this.gen.else(),D(),this.allErrors)this.gen.endIf()}else if(this.allErrors)this.gen.endIf();else this.gen.else()}pass(u,D){this.failResult((0,f0.not)(u),void 0,D)}fail(u){if(u===void 0){if(this.error(),!this.allErrors)this.gen.if(!1);return}if(this.gen.if(u),this.error(),this.allErrors)this.gen.endIf();else this.gen.else()}fail$data(u){if(!this.$data)return this.fail(u);let{schemaCode:D}=this;this.fail(f0._`${D} !== undefined && (${(0,f0.or)(this.invalid$data(),u)})`)}error(u,D,F){if(D){this.setParams(D),this._error(u,F),this.setParams({});return}this._error(u,F)}_error(u,D){(u?k4.reportExtraError:k4.reportError)(this,this.def.error,D)}$dataError(){(0,k4.reportError)(this,this.def.$dataError||k4.keyword$DataError)}reset(){if(this.errsCount===void 0)throw Error('add "trackErrors" to keyword definition');(0,k4.resetErrorsCount)(this.gen,this.errsCount)}ok(u){if(!this.allErrors)this.gen.if(u)}setParams(u,D){if(D)Object.assign(this.params,u);else this.params=u}block$data(u,D,F=f0.nil){this.gen.block(()=>{this.check$data(u,F),D()})}check$data(u=f0.nil,D=f0.nil){if(!this.$data)return;let{gen:F,schemaCode:$,schemaType:B,def:z}=this;if(F.if((0,f0.or)(f0._`${$} === undefined`,D)),u!==f0.nil)F.assign(u,!0);if(B.length||z.validateSchema){if(F.elseIf(this.invalid$data()),this.$dataError(),u!==f0.nil)F.assign(u,!1)}F.else()}invalid$data(){let{gen:u,schemaCode:D,schemaType:F,def:$,it:B}=this;return(0,f0.or)(z(),Z());function z(){if(F.length){if(!(D instanceof f0.Name))throw Error("ajv implementation error");let q=Array.isArray(F)?F:[F];return f0._`${(0,c5.checkDataTypes)(q,D,B.opts.strictNumbers,c5.DataType.Wrong)}`}return f0.nil}function Z(){if($.validateSchema){let q=u.scopeValue("validate$data",{ref:$.validateSchema});return f0._`!${q}(${D})`}return f0.nil}}subschema(u,D){let F=(0,HZ.getSubschema)(this.it,u);(0,HZ.extendSubschemaData)(F,this.it,u),(0,HZ.extendSubschemaMode)(F,u);let $={...this.it,...F,items:void 0,props:void 0};return LF0($,D),$}mergeEvaluated(u,D){let{it:F,gen:$}=this;if(!F.opts.unevaluated)return;if(F.props!==!0&&u.props!==void 0)F.props=V1.mergeEvaluated.props($,u.props,F.props,D);if(F.items!==!0&&u.items!==void 0)F.items=V1.mergeEvaluated.items($,u.items,F.items,D)}mergeValidEvaluated(u,D){let{it:F,gen:$}=this;if(F.opts.unevaluated&&(F.props!==!0||F.items!==!0))return $.if(D,()=>this.mergeEvaluated(u,f0.Name)),!0}}LI.KeywordCxt=MZ;function HI(u,D,F,$){let B=new MZ(u,F,D);if("code"in F)F.code(B,$);else if(B.$data&&F.validate)(0,c4.funcKeywordCode)(B,F);else if("macro"in F)(0,c4.macroKeywordCode)(B,F);else if(F.compile||F.validate)(0,c4.funcKeywordCode)(B,F)}var UF0=/^\/(?:[^~]|~0|~1)*$/,SF0=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function VI(u,{dataLevel:D,dataNames:F,dataPathArr:$}){let B,z;if(u==="")return w0.default.rootData;if(u[0]==="/"){if(!UF0.test(u))throw Error(`Invalid JSON-pointer: ${u}`);B=u,z=w0.default.rootData}else{let Q=SF0.exec(u);if(!Q)throw Error(`Invalid JSON-pointer: ${u}`);let Y=+Q[1];if(B=Q[2],B==="#"){if(Y>=D)throw Error(X("property/index",Y));return $[D-Y]}if(Y>D)throw Error(X("data",Y));if(z=F[D-Y],!B)return z}let Z=z,q=B.split("/");for(let Q of q)if(Q)z=f0._`${z}${(0,f0.getProperty)((0,V1.unescapeJsonPointer)(Q))}`,Z=f0._`${Z} && ${z}`;return Z;function X(Q,Y){return`Cannot access ${Q} ${Y} levels up, current level is ${D}`}}LI.getData=VI});var h5=H((iI)=>{Object.defineProperty(iI,"__esModule",{value:!0});class wI extends Error{constructor(u){super("validation failed");this.errors=u,this.ajv=this.validation=!0}}iI.default=wI});var m4=H((AI)=>{Object.defineProperty(AI,"__esModule",{value:!0});var wZ=R4();class OI extends Error{constructor(u,D,F,$){super($||`can't resolve reference ${F} from id ${D}`);this.missingRef=(0,wZ.resolveUrl)(u,D,F),this.missingSchema=(0,wZ.normalizeId)((0,wZ.getFullPath)(u,this.missingRef))}}AI.default=OI});var n5=H((II)=>{Object.defineProperty(II,"__esModule",{value:!0});II.resolveSchema=II.getCompilingSchema=II.resolveRef=II.compileSchema=II.SchemaEnv=void 0;var hD=I0(),kF0=h5(),pF=H1(),mD=R4(),NI=T0(),cF0=h4();class n4{constructor(u){var D;this.refs={},this.dynamicAnchors={};let F;if(typeof u.schema=="object")F=u.schema;this.schema=u.schema,this.schemaId=u.schemaId,this.root=u.root||this,this.baseId=(D=u.baseId)!==null&&D!==void 0?D:(0,mD.normalizeId)(F===null||F===void 0?void 0:F[u.schemaId||"$id"]),this.schemaPath=u.schemaPath,this.localRefs=u.localRefs,this.meta=u.meta,this.$async=F===null||F===void 0?void 0:F.$async,this.refs={}}}II.SchemaEnv=n4;function OZ(u){let D=jI.call(this,u);if(D)return D;let F=(0,mD.getFullPath)(this.opts.uriResolver,u.root.baseId),{es5:$,lines:B}=this.opts.code,{ownProperties:z}=this.opts,Z=new hD.CodeGen(this.scope,{es5:$,lines:B,ownProperties:z}),q;if(u.$async)q=Z.scopeValue("Error",{ref:kF0.default,code:hD._`require("ajv/dist/runtime/validation_error").default`});let X=Z.scopeName("validate");u.validateName=X;let Q={gen:Z,allErrors:this.opts.allErrors,data:pF.default.data,parentData:pF.default.parentData,parentDataProperty:pF.default.parentDataProperty,dataNames:[pF.default.data],dataPathArr:[hD.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:Z.scopeValue("schema",this.opts.code.source===!0?{ref:u.schema,code:(0,hD.stringify)(u.schema)}:{ref:u.schema}),validateName:X,ValidationError:q,schema:u.schema,schemaEnv:u,rootId:F,baseId:u.baseId||F,schemaPath:hD.nil,errSchemaPath:u.schemaPath||(this.opts.jtd?"":"#"),errorPath:hD._`""`,opts:this.opts,self:this},Y;try{this._compilations.add(u),(0,cF0.validateFunctionCode)(Q),Z.optimize(this.opts.code.optimize);let W=Z.toString();if(Y=`${Z.scopeRefs(pF.default.scope)}return ${W}`,this.opts.code.process)Y=this.opts.code.process(Y,u);let G=Function(`${pF.default.self}`,`${pF.default.scope}`,Y)(this,this.scope.get());if(this.scope.value(X,{ref:G}),G.errors=null,G.schema=u.schema,G.schemaEnv=u,u.$async)G.$async=!0;if(this.opts.code.source===!0)G.source={validateName:X,validateCode:W,scopeValues:Z._values};if(this.opts.unevaluated){let{props:f,items:K}=Q;if(G.evaluated={props:f instanceof hD.Name?void 0:f,items:K instanceof hD.Name?void 0:K,dynamicProps:f instanceof hD.Name,dynamicItems:K instanceof hD.Name},G.source)G.source.evaluated=(0,hD.stringify)(G.evaluated)}return u.validate=G,u}catch(W){if(delete u.validate,delete u.validateName,Y)this.logger.error("Error compiling schema, function code:",Y);throw W}finally{this._compilations.delete(u)}}II.compileSchema=OZ;function hF0(u,D,F){var $;F=(0,mD.resolveUrl)(this.opts.uriResolver,D,F);let B=u.refs[F];if(B)return B;let z=pF0.call(this,u,F);if(z===void 0){let Z=($=u.localRefs)===null||$===void 0?void 0:$[F],{schemaId:q}=this.opts;if(Z)z=new n4({schema:Z,schemaId:q,root:u,baseId:D})}if(z===void 0)return;return u.refs[F]=mF0.call(this,z)}II.resolveRef=hF0;function mF0(u){if((0,mD.inlineRef)(u.schema,this.opts.inlineRefs))return u.schema;return u.validate?u:OZ.call(this,u)}function jI(u){for(let D of this._compilations)if(nF0(D,u))return D}II.getCompilingSchema=jI;function nF0(u,D){return u.schema===D.schema&&u.root===D.root&&u.baseId===D.baseId}function pF0(u,D){let F;while(typeof(F=this.refs[D])=="string")D=F;return F||this.schemas[D]||m5.call(this,u,D)}function m5(u,D){let F=this.opts.uriResolver.parse(D),$=(0,mD._getFullPath)(this.opts.uriResolver,F),B=(0,mD.getFullPath)(this.opts.uriResolver,u.baseId,void 0);if(Object.keys(u.schema).length>0&&$===B)return iZ.call(this,F,u);let z=(0,mD.normalizeId)($),Z=this.refs[z]||this.schemas[z];if(typeof Z=="string"){let q=m5.call(this,u,Z);if(typeof(q===null||q===void 0?void 0:q.schema)!=="object")return;return iZ.call(this,F,q)}if(typeof(Z===null||Z===void 0?void 0:Z.schema)!=="object")return;if(!Z.validate)OZ.call(this,Z);if(z===(0,mD.normalizeId)(D)){let{schema:q}=Z,{schemaId:X}=this.opts,Q=q[X];if(Q)B=(0,mD.resolveUrl)(this.opts.uriResolver,B,Q);return new n4({schema:q,schemaId:X,root:u,baseId:B})}return iZ.call(this,F,Z)}II.resolveSchema=m5;var lF0=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function iZ(u,{baseId:D,schema:F,root:$}){var B;if(((B=u.fragment)===null||B===void 0?void 0:B[0])!=="/")return;for(let q of u.fragment.slice(1).split("/")){if(typeof F==="boolean")return;let X=F[(0,NI.unescapeFragment)(q)];if(X===void 0)return;F=X;let Q=typeof F==="object"&&F[this.opts.schemaId];if(!lF0.has(q)&&Q)D=(0,mD.resolveUrl)(this.opts.uriResolver,D,Q)}let z;if(typeof F!="boolean"&&F.$ref&&!(0,NI.schemaHasRulesButRef)(F,this.RULES)){let q=(0,mD.resolveUrl)(this.opts.uriResolver,D,F.$ref);z=m5.call(this,$,q)}let{schemaId:Z}=this.opts;if(z=z||new n4({schema:F,schemaId:Z,root:$,baseId:D}),z.schema!==z.root.schema)return z;return}});var CI=H((eG0,aF0)=>{aF0.exports={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1}});var NZ=H((uf0,UI)=>{var rF0=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),vI=RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);function AZ(u){let D="",F=0,$=0;for($=0;$<u.length;$++){if(F=u[$].charCodeAt(0),F===48)continue;if(!(F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102))return"";D+=u[$];break}for($+=1;$<u.length;$++){if(F=u[$].charCodeAt(0),!(F>=48&&F<=57||F>=65&&F<=70||F>=97&&F<=102))return"";D+=u[$]}return D}var tF0=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function PI(u){return u.length=0,!0}function eF0(u,D,F){if(u.length){let $=AZ(u);if($!=="")D.push($);else return F.error=!0,!1;u.length=0}return!0}function u60(u){let D=0,F={error:!1,address:"",zone:""},$=[],B=[],z=!1,Z=!1,q=eF0;for(let X=0;X<u.length;X++){let Q=u[X];if(Q==="["||Q==="]")continue;if(Q===":"){if(z===!0)Z=!0;if(!q(B,$,F))break;if(++D>7){F.error=!0;break}if(X>0&&u[X-1]===":")z=!0;$.push(":");continue}else if(Q==="%"){if(!q(B,$,F))break;q=PI}else{B.push(Q);continue}}if(B.length)if(q===PI)F.zone=B.join("");else if(Z)$.push(B.join(""));else $.push(AZ(B));return F.address=$.join(""),F}function _I(u){if(D60(u,":")<2)return{host:u,isIPV6:!1};let D=u60(u);if(!D.error){let{address:F,address:$}=D;if(D.zone)F+="%"+D.zone,$+="%25"+D.zone;return{host:F,isIPV6:!0,escapedHost:$}}else return{host:u,isIPV6:!1}}function D60(u,D){let F=0;for(let $=0;$<u.length;$++)if(u[$]===D)F++;return F}function F60(u){let D=u,F=[],$=-1,B=0;while(B=D.length){if(B===1)if(D===".")break;else if(D==="/"){F.push("/");break}else{F.push(D);break}else if(B===2){if(D[0]==="."){if(D[1]===".")break;else if(D[1]==="/"){D=D.slice(2);continue}}else if(D[0]==="/"){if(D[1]==="."||D[1]==="/"){F.push("/");break}}}else if(B===3){if(D==="/.."){if(F.length!==0)F.pop();F.push("/");break}}if(D[0]==="."){if(D[1]==="."){if(D[2]==="/"){D=D.slice(3);continue}}else if(D[1]==="/"){D=D.slice(2);continue}}else if(D[0]==="/"){if(D[1]==="."){if(D[2]==="/"){D=D.slice(2);continue}else if(D[2]==="."){if(D[3]==="/"){if(D=D.slice(3),F.length!==0)F.pop();continue}}}}if(($=D.indexOf("/",1))===-1){F.push(D);break}else F.push(D.slice(0,$)),D=D.slice($)}return F.join("")}function $60(u,D){let F=D!==!0?escape:unescape;if(u.scheme!==void 0)u.scheme=F(u.scheme);if(u.userinfo!==void 0)u.userinfo=F(u.userinfo);if(u.host!==void 0)u.host=F(u.host);if(u.path!==void 0)u.path=F(u.path);if(u.query!==void 0)u.query=F(u.query);if(u.fragment!==void 0)u.fragment=F(u.fragment);return u}function B60(u){let D=[];if(u.userinfo!==void 0)D.push(u.userinfo),D.push("@");if(u.host!==void 0){let F=unescape(u.host);if(!vI(F)){let $=_I(F);if($.isIPV6===!0)F=`[${$.escapedHost}]`;else F=u.host}D.push(F)}if(typeof u.port==="number"||typeof u.port==="string")D.push(":"),D.push(String(u.port));return D.length?D.join(""):void 0}UI.exports={nonSimpleDomain:tF0,recomposeAuthority:B60,normalizeComponentEncoding:$60,removeDotSegments:F60,isIPv4:vI,isUUID:rF0,normalizeIPv6:_I,stringArrayToHexStripped:AZ}});var RI=H((Df0,bI)=>{var{isUUID:z60}=NZ(),Z60=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,q60=["http","https","ws","wss","urn","urn:uuid"];function X60(u){return q60.indexOf(u)!==-1}function jZ(u){if(u.secure===!0)return!0;else if(u.secure===!1)return!1;else if(u.scheme)return u.scheme.length===3&&(u.scheme[0]==="w"||u.scheme[0]==="W")&&(u.scheme[1]==="s"||u.scheme[1]==="S")&&(u.scheme[2]==="s"||u.scheme[2]==="S");else return!1}function SI(u){if(!u.host)u.error=u.error||"HTTP URIs must have a host.";return u}function TI(u){let D=String(u.scheme).toLowerCase()==="https";if(u.port===(D?443:80)||u.port==="")u.port=void 0;if(!u.path)u.path="/";return u}function Q60(u){return u.secure=jZ(u),u.resourceName=(u.path||"/")+(u.query?"?"+u.query:""),u.path=void 0,u.query=void 0,u}function Y60(u){if(u.port===(jZ(u)?443:80)||u.port==="")u.port=void 0;if(typeof u.secure==="boolean")u.scheme=u.secure?"wss":"ws",u.secure=void 0;if(u.resourceName){let[D,F]=u.resourceName.split("?");u.path=D&&D!=="/"?D:void 0,u.query=F,u.resourceName=void 0}return u.fragment=void 0,u}function W60(u,D){if(!u.path)return u.error="URN can not be parsed",u;let F=u.path.match(Z60);if(F){let $=D.scheme||u.scheme||"urn";u.nid=F[1].toLowerCase(),u.nss=F[2];let B=`${$}:${D.nid||u.nid}`,z=IZ(B);if(u.path=void 0,z)u=z.parse(u,D)}else u.error=u.error||"URN can not be parsed.";return u}function J60(u,D){if(u.nid===void 0)throw Error("URN without nid cannot be serialized");let F=D.scheme||u.scheme||"urn",$=u.nid.toLowerCase(),B=`${F}:${D.nid||$}`,z=IZ(B);if(z)u=z.serialize(u,D);let Z=u,q=u.nss;return Z.path=`${$||D.nid}:${q}`,D.skipEscape=!0,Z}function G60(u,D){let F=u;if(F.uuid=F.nss,F.nss=void 0,!D.tolerant&&(!F.uuid||!z60(F.uuid)))F.error=F.error||"UUID is not valid.";return F}function f60(u){let D=u;return D.nss=(u.uuid||"").toLowerCase(),D}var yI={scheme:"http",domainHost:!0,parse:SI,serialize:TI},K60={scheme:"https",domainHost:yI.domainHost,parse:SI,serialize:TI},p5={scheme:"ws",domainHost:!0,parse:Q60,serialize:Y60},x60={scheme:"wss",domainHost:p5.domainHost,parse:p5.parse,serialize:p5.serialize},H60={scheme:"urn",parse:W60,serialize:J60,skipNormalize:!0},V60={scheme:"urn:uuid",parse:G60,serialize:f60,skipNormalize:!0},l5={http:yI,https:K60,ws:p5,wss:x60,urn:H60,"urn:uuid":V60};Object.setPrototypeOf(l5,null);function IZ(u){return u&&(l5[u]||l5[u.toLowerCase()])||void 0}bI.exports={wsIsSecure:jZ,SCHEMES:l5,isValidSchemeName:X60,getSchemeHandler:IZ}});var hI=H((Ff0,g5)=>{var{normalizeIPv6:L60,removeDotSegments:p4,recomposeAuthority:M60,normalizeComponentEncoding:d5,isIPv4:w60,nonSimpleDomain:i60}=NZ(),{SCHEMES:O60,getSchemeHandler:kI}=RI();function A60(u,D){if(typeof u==="string")u=B1(L1(u,D),D);else if(typeof u==="object")u=L1(B1(u,D),D);return u}function N60(u,D,F){let $=F?Object.assign({scheme:"null"},F):{scheme:"null"},B=cI(L1(u,$),L1(D,$),$,!0);return $.skipEscape=!0,B1(B,$)}function cI(u,D,F,$){let B={};if(!$)u=L1(B1(u,F),F),D=L1(B1(D,F),F);if(F=F||{},!F.tolerant&&D.scheme)B.scheme=D.scheme,B.userinfo=D.userinfo,B.host=D.host,B.port=D.port,B.path=p4(D.path||""),B.query=D.query;else{if(D.userinfo!==void 0||D.host!==void 0||D.port!==void 0)B.userinfo=D.userinfo,B.host=D.host,B.port=D.port,B.path=p4(D.path||""),B.query=D.query;else{if(!D.path)if(B.path=u.path,D.query!==void 0)B.query=D.query;else B.query=u.query;else{if(D.path[0]==="/")B.path=p4(D.path);else{if((u.userinfo!==void 0||u.host!==void 0||u.port!==void 0)&&!u.path)B.path="/"+D.path;else if(!u.path)B.path=D.path;else B.path=u.path.slice(0,u.path.lastIndexOf("/")+1)+D.path;B.path=p4(B.path)}B.query=D.query}B.userinfo=u.userinfo,B.host=u.host,B.port=u.port}B.scheme=u.scheme}return B.fragment=D.fragment,B}function j60(u,D,F){if(typeof u==="string")u=unescape(u),u=B1(d5(L1(u,F),!0),{...F,skipEscape:!0});else if(typeof u==="object")u=B1(d5(u,!0),{...F,skipEscape:!0});if(typeof D==="string")D=unescape(D),D=B1(d5(L1(D,F),!0),{...F,skipEscape:!0});else if(typeof D==="object")D=B1(d5(D,!0),{...F,skipEscape:!0});return u.toLowerCase()===D.toLowerCase()}function B1(u,D){let F={host:u.host,scheme:u.scheme,userinfo:u.userinfo,port:u.port,path:u.path,query:u.query,nid:u.nid,nss:u.nss,uuid:u.uuid,fragment:u.fragment,reference:u.reference,resourceName:u.resourceName,secure:u.secure,error:""},$=Object.assign({},D),B=[],z=kI($.scheme||F.scheme);if(z&&z.serialize)z.serialize(F,$);if(F.path!==void 0)if(!$.skipEscape){if(F.path=escape(F.path),F.scheme!==void 0)F.path=F.path.split("%3A").join(":")}else F.path=unescape(F.path);if($.reference!=="suffix"&&F.scheme)B.push(F.scheme,":");let Z=M60(F);if(Z!==void 0){if($.reference!=="suffix")B.push("//");if(B.push(Z),F.path&&F.path[0]!=="/")B.push("/")}if(F.path!==void 0){let q=F.path;if(!$.absolutePath&&(!z||!z.absolutePath))q=p4(q);if(Z===void 0&&q[0]==="/"&&q[1]==="/")q="/%2F"+q.slice(2);B.push(q)}if(F.query!==void 0)B.push("?",F.query);if(F.fragment!==void 0)B.push("#",F.fragment);return B.join("")}var I60=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function L1(u,D){let F=Object.assign({},D),$={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},B=!1;if(F.reference==="suffix")if(F.scheme)u=F.scheme+":"+u;else u="//"+u;let z=u.match(I60);if(z){if($.scheme=z[1],$.userinfo=z[3],$.host=z[4],$.port=parseInt(z[5],10),$.path=z[6]||"",$.query=z[7],$.fragment=z[8],isNaN($.port))$.port=z[5];if($.host)if(w60($.host)===!1){let X=L60($.host);$.host=X.host.toLowerCase(),B=X.isIPV6}else B=!0;if($.scheme===void 0&&$.userinfo===void 0&&$.host===void 0&&$.port===void 0&&$.query===void 0&&!$.path)$.reference="same-document";else if($.scheme===void 0)$.reference="relative";else if($.fragment===void 0)$.reference="absolute";else $.reference="uri";if(F.reference&&F.reference!=="suffix"&&F.reference!==$.reference)$.error=$.error||"URI is not a "+F.reference+" reference.";let Z=kI(F.scheme||$.scheme);if(!F.unicodeSupport&&(!Z||!Z.unicodeSupport)){if($.host&&(F.domainHost||Z&&Z.domainHost)&&B===!1&&i60($.host))try{$.host=URL.domainToASCII($.host.toLowerCase())}catch(q){$.error=$.error||"Host's domain name can not be converted to ASCII: "+q}}if(!Z||Z&&!Z.skipNormalize){if(u.indexOf("%")!==-1){if($.scheme!==void 0)$.scheme=unescape($.scheme);if($.host!==void 0)$.host=unescape($.host)}if($.path)$.path=escape(unescape($.path));if($.fragment)$.fragment=encodeURI(decodeURIComponent($.fragment))}if(Z&&Z.parse)Z.parse($,F)}else $.error=$.error||"URI can not be parsed.";return $}var EZ={SCHEMES:O60,normalize:A60,resolve:N60,resolveComponent:cI,equal:j60,serialize:B1,parse:L1};g5.exports=EZ;g5.exports.default=EZ;g5.exports.fastUri=EZ});var pI=H((nI)=>{Object.defineProperty(nI,"__esModule",{value:!0});var mI=hI();mI.code='require("ajv/dist/runtime/uri").default';nI.default=mI});var tI=H((M1)=>{Object.defineProperty(M1,"__esModule",{value:!0});M1.CodeGen=M1.Name=M1.nil=M1.stringify=M1.str=M1._=M1.KeywordCxt=void 0;var C60=h4();Object.defineProperty(M1,"KeywordCxt",{enumerable:!0,get:function(){return C60.KeywordCxt}});var r6=I0();Object.defineProperty(M1,"_",{enumerable:!0,get:function(){return r6._}});Object.defineProperty(M1,"str",{enumerable:!0,get:function(){return r6.str}});Object.defineProperty(M1,"stringify",{enumerable:!0,get:function(){return r6.stringify}});Object.defineProperty(M1,"nil",{enumerable:!0,get:function(){return r6.nil}});Object.defineProperty(M1,"Name",{enumerable:!0,get:function(){return r6.Name}});Object.defineProperty(M1,"CodeGen",{enumerable:!0,get:function(){return r6.CodeGen}});var P60=h5(),sI=m4(),v60=qZ(),l4=n5(),_60=I0(),d4=R4(),o5=b4(),PZ=T0(),lI=CI(),U60=pI(),aI=(u,D)=>new RegExp(u,D);aI.code="new RegExp";var S60=["removeAdditional","useDefaults","coerceTypes"],T60=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y60={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b60={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},dI=200;function R60(u){var D,F,$,B,z,Z,q,X,Q,Y,W,J,G,f,K,x,M,L,j,U,I,S,k,R,h;let F0=u.strict,O=(D=u.code)===null||D===void 0?void 0:D.optimize,c=O===!0||O===void 0?1:O||0,n=($=(F=u.code)===null||F===void 0?void 0:F.regExp)!==null&&$!==void 0?$:aI,a=(B=u.uriResolver)!==null&&B!==void 0?B:U60.default;return{strictSchema:(Z=(z=u.strictSchema)!==null&&z!==void 0?z:F0)!==null&&Z!==void 0?Z:!0,strictNumbers:(X=(q=u.strictNumbers)!==null&&q!==void 0?q:F0)!==null&&X!==void 0?X:!0,strictTypes:(Y=(Q=u.strictTypes)!==null&&Q!==void 0?Q:F0)!==null&&Y!==void 0?Y:"log",strictTuples:(J=(W=u.strictTuples)!==null&&W!==void 0?W:F0)!==null&&J!==void 0?J:"log",strictRequired:(f=(G=u.strictRequired)!==null&&G!==void 0?G:F0)!==null&&f!==void 0?f:!1,code:u.code?{...u.code,optimize:c,regExp:n}:{optimize:c,regExp:n},loopRequired:(K=u.loopRequired)!==null&&K!==void 0?K:dI,loopEnum:(x=u.loopEnum)!==null&&x!==void 0?x:dI,meta:(M=u.meta)!==null&&M!==void 0?M:!0,messages:(L=u.messages)!==null&&L!==void 0?L:!0,inlineRefs:(j=u.inlineRefs)!==null&&j!==void 0?j:!0,schemaId:(U=u.schemaId)!==null&&U!==void 0?U:"$id",addUsedSchema:(I=u.addUsedSchema)!==null&&I!==void 0?I:!0,validateSchema:(S=u.validateSchema)!==null&&S!==void 0?S:!0,validateFormats:(k=u.validateFormats)!==null&&k!==void 0?k:!0,unicodeRegExp:(R=u.unicodeRegExp)!==null&&R!==void 0?R:!0,int32range:(h=u.int32range)!==null&&h!==void 0?h:!0,uriResolver:a}}class s5{constructor(u={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,u=this.opts={...u,...R60(u)};let{es5:D,lines:F}=this.opts.code;this.scope=new _60.ValueScope({scope:{},prefixes:T60,es5:D,lines:F}),this.logger=p60(u.logger);let $=u.validateFormats;if(u.validateFormats=!1,this.RULES=(0,v60.getRules)(),gI.call(this,y60,u,"NOT SUPPORTED"),gI.call(this,b60,u,"DEPRECATED","warn"),this._metaOpts=m60.call(this),u.formats)c60.call(this);if(this._addVocabularies(),this._addDefaultMetaSchema(),u.keywords)h60.call(this,u.keywords);if(typeof u.meta=="object")this.addMetaSchema(u.meta);k60.call(this),u.validateFormats=$}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:u,meta:D,schemaId:F}=this.opts,$=lI;if(F==="id")$={...lI},$.id=$.$id,delete $.$id;if(D&&u)this.addMetaSchema($,$[F],!1)}defaultMeta(){let{meta:u,schemaId:D}=this.opts;return this.opts.defaultMeta=typeof u=="object"?u[D]||u:void 0}validate(u,D){let F;if(typeof u=="string"){if(F=this.getSchema(u),!F)throw Error(`no schema with key or ref "${u}"`)}else F=this.compile(u);let $=F(D);if(!("$async"in F))this.errors=F.errors;return $}compile(u,D){let F=this._addSchema(u,D);return F.validate||this._compileSchemaEnv(F)}compileAsync(u,D){if(typeof this.opts.loadSchema!="function")throw Error("options.loadSchema should be a function");let{loadSchema:F}=this.opts;return $.call(this,u,D);async function $(Q,Y){await B.call(this,Q.$schema);let W=this._addSchema(Q,Y);return W.validate||z.call(this,W)}async function B(Q){if(Q&&!this.getSchema(Q))await $.call(this,{$ref:Q},!0)}async function z(Q){try{return this._compileSchemaEnv(Q)}catch(Y){if(!(Y instanceof sI.default))throw Y;return Z.call(this,Y),await q.call(this,Y.missingSchema),z.call(this,Q)}}function Z({missingSchema:Q,missingRef:Y}){if(this.refs[Q])throw Error(`AnySchema ${Q} is loaded but ${Y} cannot be resolved`)}async function q(Q){let Y=await X.call(this,Q);if(!this.refs[Q])await B.call(this,Y.$schema);if(!this.refs[Q])this.addSchema(Y,Q,D)}async function X(Q){let Y=this._loading[Q];if(Y)return Y;try{return await(this._loading[Q]=F(Q))}finally{delete this._loading[Q]}}}addSchema(u,D,F,$=this.opts.validateSchema){if(Array.isArray(u)){for(let z of u)this.addSchema(z,void 0,F,$);return this}let B;if(typeof u==="object"){let{schemaId:z}=this.opts;if(B=u[z],B!==void 0&&typeof B!="string")throw Error(`schema ${z} must be string`)}return D=(0,d4.normalizeId)(D||B),this._checkUnique(D),this.schemas[D]=this._addSchema(u,F,D,$,!0),this}addMetaSchema(u,D,F=this.opts.validateSchema){return this.addSchema(u,D,!0,F),this}validateSchema(u,D){if(typeof u=="boolean")return!0;let F;if(F=u.$schema,F!==void 0&&typeof F!="string")throw Error("$schema must be a string");if(F=F||this.opts.defaultMeta||this.defaultMeta(),!F)return this.logger.warn("meta-schema not available"),this.errors=null,!0;let $=this.validate(F,u);if(!$&&D){let B="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(B);else throw Error(B)}return $}getSchema(u){let D;while(typeof(D=oI.call(this,u))=="string")u=D;if(D===void 0){let{schemaId:F}=this.opts,$=new l4.SchemaEnv({schema:{},schemaId:F});if(D=l4.resolveSchema.call(this,$,u),!D)return;this.refs[u]=D}return D.validate||this._compileSchemaEnv(D)}removeSchema(u){if(u instanceof RegExp)return this._removeAllSchemas(this.schemas,u),this._removeAllSchemas(this.refs,u),this;switch(typeof u){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{let D=oI.call(this,u);if(typeof D=="object")this._cache.delete(D.schema);return delete this.schemas[u],delete this.refs[u],this}case"object":{let D=u;this._cache.delete(D);let F=u[this.opts.schemaId];if(F)F=(0,d4.normalizeId)(F),delete this.schemas[F],delete this.refs[F];return this}default:throw Error("ajv.removeSchema: invalid parameter")}}addVocabulary(u){for(let D of u)this.addKeyword(D);return this}addKeyword(u,D){let F;if(typeof u=="string"){if(F=u,typeof D=="object")this.logger.warn("these parameters are deprecated, see docs for addKeyword"),D.keyword=F}else if(typeof u=="object"&&D===void 0){if(D=u,F=D.keyword,Array.isArray(F)&&!F.length)throw Error("addKeywords: keyword must be string or non-empty array")}else throw Error("invalid addKeywords parameters");if(d60.call(this,F,D),!D)return(0,PZ.eachItem)(F,(B)=>CZ.call(this,B)),this;o60.call(this,D);let $={...D,type:(0,o5.getJSONTypes)(D.type),schemaType:(0,o5.getJSONTypes)(D.schemaType)};return(0,PZ.eachItem)(F,$.type.length===0?(B)=>CZ.call(this,B,$):(B)=>$.type.forEach((z)=>CZ.call(this,B,$,z))),this}getKeyword(u){let D=this.RULES.all[u];return typeof D=="object"?D.definition:!!D}removeKeyword(u){let{RULES:D}=this;delete D.keywords[u],delete D.all[u];for(let F of D.rules){let $=F.rules.findIndex((B)=>B.keyword===u);if($>=0)F.rules.splice($,1)}return this}addFormat(u,D){if(typeof D=="string")D=new RegExp(D);return this.formats[u]=D,this}errorsText(u=this.errors,{separator:D=", ",dataVar:F="data"}={}){if(!u||u.length===0)return"No errors";return u.map(($)=>`${F}${$.instancePath} ${$.message}`).reduce(($,B)=>$+D+B)}$dataMetaSchema(u,D){let F=this.RULES.all;u=JSON.parse(JSON.stringify(u));for(let $ of D){let B=$.split("/").slice(1),z=u;for(let Z of B)z=z[Z];for(let Z in F){let q=F[Z];if(typeof q!="object")continue;let{$data:X}=q.definition,Q=z[Z];if(X&&Q)z[Z]=rI(Q)}}return u}_removeAllSchemas(u,D){for(let F in u){let $=u[F];if(!D||D.test(F)){if(typeof $=="string")delete u[F];else if($&&!$.meta)this._cache.delete($.schema),delete u[F]}}}_addSchema(u,D,F,$=this.opts.validateSchema,B=this.opts.addUsedSchema){let z,{schemaId:Z}=this.opts;if(typeof u=="object")z=u[Z];else if(this.opts.jtd)throw Error("schema must be object");else if(typeof u!="boolean")throw Error("schema must be object or boolean");let q=this._cache.get(u);if(q!==void 0)return q;F=(0,d4.normalizeId)(z||F);let X=d4.getSchemaRefs.call(this,u,F);if(q=new l4.SchemaEnv({schema:u,schemaId:Z,meta:D,baseId:F,localRefs:X}),this._cache.set(q.schema,q),B&&!F.startsWith("#")){if(F)this._checkUnique(F);this.refs[F]=q}if($)this.validateSchema(u,!0);return q}_checkUnique(u){if(this.schemas[u]||this.refs[u])throw Error(`schema with key or id "${u}" already exists`)}_compileSchemaEnv(u){if(u.meta)this._compileMetaSchema(u);else l4.compileSchema.call(this,u);if(!u.validate)throw Error("ajv implementation error");return u.validate}_compileMetaSchema(u){let D=this.opts;this.opts=this._metaOpts;try{l4.compileSchema.call(this,u)}finally{this.opts=D}}}s5.ValidationError=P60.default;s5.MissingRefError=sI.default;M1.default=s5;function gI(u,D,F,$="error"){for(let B in u){let z=B;if(z in D)this.logger[$](`${F}: option ${B}. ${u[z]}`)}}function oI(u){return u=(0,d4.normalizeId)(u),this.schemas[u]||this.refs[u]}function k60(){let u=this.opts.schemas;if(!u)return;if(Array.isArray(u))this.addSchema(u);else for(let D in u)this.addSchema(u[D],D)}function c60(){for(let u in this.opts.formats){let D=this.opts.formats[u];if(D)this.addFormat(u,D)}}function h60(u){if(Array.isArray(u)){this.addVocabulary(u);return}this.logger.warn("keywords option as map is deprecated, pass array");for(let D in u){let F=u[D];if(!F.keyword)F.keyword=D;this.addKeyword(F)}}function m60(){let u={...this.opts};for(let D of S60)delete u[D];return u}var n60={log(){},warn(){},error(){}};function p60(u){if(u===!1)return n60;if(u===void 0)return console;if(u.log&&u.warn&&u.error)return u;throw Error("logger must implement log, warn and error methods")}var l60=/^[a-z_$][a-z0-9_$:-]*$/i;function d60(u,D){let{RULES:F}=this;if((0,PZ.eachItem)(u,($)=>{if(F.keywords[$])throw Error(`Keyword ${$} is already defined`);if(!l60.test($))throw Error(`Keyword ${$} has invalid name`)}),!D)return;if(D.$data&&!(("code"in D)||("validate"in D)))throw Error('$data keyword must have "code" or "validate" function')}function CZ(u,D,F){var $;let B=D===null||D===void 0?void 0:D.post;if(F&&B)throw Error('keyword with "post" flag cannot have "type"');let{RULES:z}=this,Z=B?z.post:z.rules.find(({type:X})=>X===F);if(!Z)Z={type:F,rules:[]},z.rules.push(Z);if(z.keywords[u]=!0,!D)return;let q={keyword:u,definition:{...D,type:(0,o5.getJSONTypes)(D.type),schemaType:(0,o5.getJSONTypes)(D.schemaType)}};if(D.before)g60.call(this,Z,q,D.before);else Z.rules.push(q);z.all[u]=q,($=D.implements)===null||$===void 0||$.forEach((X)=>this.addKeyword(X))}function g60(u,D,F){let $=u.rules.findIndex((B)=>B.keyword===F);if($>=0)u.rules.splice($,0,D);else u.rules.push(D),this.logger.warn(`rule ${F} is not defined`)}function o60(u){let{metaSchema:D}=u;if(D===void 0)return;if(u.$data&&this.opts.$data)D=rI(D);u.validateSchema=this.compile(D,!0)}var s60={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function rI(u){return{anyOf:[u,s60]}}});var uE=H((eI)=>{Object.defineProperty(eI,"__esModule",{value:!0});var t60={keyword:"id",code(){throw Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};eI.default=t60});var ZE=H((BE)=>{Object.defineProperty(BE,"__esModule",{value:!0});BE.callRef=BE.getValidate=void 0;var u80=m4(),DE=OD(),uD=I0(),t6=H1(),FE=n5(),a5=T0(),D80={keyword:"$ref",schemaType:"string",code(u){let{gen:D,schema:F,it:$}=u,{baseId:B,schemaEnv:z,validateName:Z,opts:q,self:X}=$,{root:Q}=z;if((F==="#"||F==="#/")&&B===Q.baseId)return W();let Y=FE.resolveRef.call(X,Q,B,F);if(Y===void 0)throw new u80.default($.opts.uriResolver,B,F);if(Y instanceof FE.SchemaEnv)return J(Y);return G(Y);function W(){if(z===Q)return r5(u,Z,z,z.$async);let f=D.scopeValue("root",{ref:Q});return r5(u,uD._`${f}.validate`,Q,Q.$async)}function J(f){let K=$E(u,f);r5(u,K,f,f.$async)}function G(f){let K=D.scopeValue("schema",q.code.source===!0?{ref:f,code:(0,uD.stringify)(f)}:{ref:f}),x=D.name("valid"),M=u.subschema({schema:f,dataTypes:[],schemaPath:uD.nil,topSchemaRef:K,errSchemaPath:F},x);u.mergeEvaluated(M),u.ok(x)}}};function $E(u,D){let{gen:F}=u;return D.validate?F.scopeValue("validate",{ref:D.validate}):uD._`${F.scopeValue("wrapper",{ref:D})}.validate`}BE.getValidate=$E;function r5(u,D,F,$){let{gen:B,it:z}=u,{allErrors:Z,schemaEnv:q,opts:X}=z,Q=X.passContext?t6.default.this:uD.nil;if($)Y();else W();function Y(){if(!q.$async)throw Error("async schema referenced by sync schema");let f=B.let("valid");B.try(()=>{if(B.code(uD._`await ${(0,DE.callValidateCode)(u,D,Q)}`),G(D),!Z)B.assign(f,!0)},(K)=>{if(B.if(uD._`!(${K} instanceof ${z.ValidationError})`,()=>B.throw(K)),J(K),!Z)B.assign(f,!1)}),u.ok(f)}function W(){u.result((0,DE.callValidateCode)(u,D,Q),()=>G(D),()=>J(D))}function J(f){let K=uD._`${f}.errors`;B.assign(t6.default.vErrors,uD._`${t6.default.vErrors} === null ? ${K} : ${t6.default.vErrors}.concat(${K})`),B.assign(t6.default.errors,uD._`${t6.default.vErrors}.length`)}function G(f){var K;if(!z.opts.unevaluated)return;let x=(K=F===null||F===void 0?void 0:F.validate)===null||K===void 0?void 0:K.evaluated;if(z.props!==!0)if(x&&!x.dynamicProps){if(x.props!==void 0)z.props=a5.mergeEvaluated.props(B,x.props,z.props)}else{let M=B.var("props",uD._`${f}.evaluated.props`);z.props=a5.mergeEvaluated.props(B,M,z.props,uD.Name)}if(z.items!==!0)if(x&&!x.dynamicItems){if(x.items!==void 0)z.items=a5.mergeEvaluated.items(B,x.items,z.items)}else{let M=B.var("items",uD._`${f}.evaluated.items`);z.items=a5.mergeEvaluated.items(B,M,z.items,uD.Name)}}}BE.callRef=r5;BE.default=D80});var XE=H((qE)=>{Object.defineProperty(qE,"__esModule",{value:!0});var B80=uE(),z80=ZE(),Z80=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",B80.default,z80.default];qE.default=Z80});var YE=H((QE)=>{Object.defineProperty(QE,"__esModule",{value:!0});var t5=I0(),uF=t5.operators,e5={maximum:{okStr:"<=",ok:uF.LTE,fail:uF.GT},minimum:{okStr:">=",ok:uF.GTE,fail:uF.LT},exclusiveMaximum:{okStr:"<",ok:uF.LT,fail:uF.GTE},exclusiveMinimum:{okStr:">",ok:uF.GT,fail:uF.LTE}},X80={message:({keyword:u,schemaCode:D})=>t5.str`must be ${e5[u].okStr} ${D}`,params:({keyword:u,schemaCode:D})=>t5._`{comparison: ${e5[u].okStr}, limit: ${D}}`},Q80={keyword:Object.keys(e5),type:"number",schemaType:"number",$data:!0,error:X80,code(u){let{keyword:D,data:F,schemaCode:$}=u;u.fail$data(t5._`${F} ${e5[D].fail} ${$} || isNaN(${F})`)}};QE.default=Q80});var JE=H((WE)=>{Object.defineProperty(WE,"__esModule",{value:!0});var g4=I0(),W80={message:({schemaCode:u})=>g4.str`must be multiple of ${u}`,params:({schemaCode:u})=>g4._`{multipleOf: ${u}}`},J80={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:W80,code(u){let{gen:D,data:F,schemaCode:$,it:B}=u,z=B.opts.multipleOfPrecision,Z=D.let("res"),q=z?g4._`Math.abs(Math.round(${Z}) - ${Z}) > 1e-${z}`:g4._`${Z} !== parseInt(${Z})`;u.fail$data(g4._`(${$} === 0 || (${Z} = ${F}/${$}, ${q}))`)}};WE.default=J80});var KE=H((fE)=>{Object.defineProperty(fE,"__esModule",{value:!0});function GE(u){let D=u.length,F=0,$=0,B;while($<D)if(F++,B=u.charCodeAt($++),B>=55296&&B<=56319&&$<D){if(B=u.charCodeAt($),(B&64512)===56320)$++}return F}fE.default=GE;GE.code='require("ajv/dist/runtime/ucs2length").default'});var HE=H((xE)=>{Object.defineProperty(xE,"__esModule",{value:!0});var lF=I0(),K80=T0(),x80=KE(),H80={message({keyword:u,schemaCode:D}){let F=u==="maxLength"?"more":"fewer";return lF.str`must NOT have ${F} than ${D} characters`},params:({schemaCode:u})=>lF._`{limit: ${u}}`},V80={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:H80,code(u){let{keyword:D,data:F,schemaCode:$,it:B}=u,z=D==="maxLength"?lF.operators.GT:lF.operators.LT,Z=B.opts.unicode===!1?lF._`${F}.length`:lF._`${(0,K80.useFunc)(u.gen,x80.default)}(${F})`;u.fail$data(lF._`${Z} ${z} ${$}`)}};xE.default=V80});var LE=H((VE)=>{Object.defineProperty(VE,"__esModule",{value:!0});var M80=OD(),w80=T0(),e6=I0(),i80={message:({schemaCode:u})=>e6.str`must match pattern "${u}"`,params:({schemaCode:u})=>e6._`{pattern: ${u}}`},O80={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:i80,code(u){let{gen:D,data:F,$data:$,schema:B,schemaCode:z,it:Z}=u,q=Z.opts.unicodeRegExp?"u":"";if($){let{regExp:X}=Z.opts.code,Q=X.code==="new RegExp"?e6._`new RegExp`:(0,w80.useFunc)(D,X),Y=D.let("valid");D.try(()=>D.assign(Y,e6._`${Q}(${z}, ${q}).test(${F})`),()=>D.assign(Y,!1)),u.fail$data(e6._`!${Y}`)}else{let X=(0,M80.usePattern)(u,B);u.fail$data(e6._`!${X}.test(${F})`)}}};VE.default=O80});var wE=H((ME)=>{Object.defineProperty(ME,"__esModule",{value:!0});var o4=I0(),N80={message({keyword:u,schemaCode:D}){let F=u==="maxProperties"?"more":"fewer";return o4.str`must NOT have ${F} than ${D} properties`},params:({schemaCode:u})=>o4._`{limit: ${u}}`},j80={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:N80,code(u){let{keyword:D,data:F,schemaCode:$}=u,B=D==="maxProperties"?o4.operators.GT:o4.operators.LT;u.fail$data(o4._`Object.keys(${F}).length ${B} ${$}`)}};ME.default=j80});var OE=H((iE)=>{Object.defineProperty(iE,"__esModule",{value:!0});var s4=OD(),a4=I0(),E80=T0(),C80={message:({params:{missingProperty:u}})=>a4.str`must have required property '${u}'`,params:({params:{missingProperty:u}})=>a4._`{missingProperty: ${u}}`},P80={keyword:"required",type:"object",schemaType:"array",$data:!0,error:C80,code(u){let{gen:D,schema:F,schemaCode:$,data:B,$data:z,it:Z}=u,{opts:q}=Z;if(!z&&F.length===0)return;let X=F.length>=q.loopRequired;if(Z.allErrors)Q();else Y();if(q.strictRequired){let G=u.parentSchema.properties,{definedProperties:f}=u.it;for(let K of F)if((G===null||G===void 0?void 0:G[K])===void 0&&!f.has(K)){let x=Z.schemaEnv.baseId+Z.errSchemaPath,M=`required property "${K}" is not defined at "${x}" (strictRequired)`;(0,E80.checkStrictMode)(Z,M,Z.opts.strictRequired)}}function Q(){if(X||z)u.block$data(a4.nil,W);else for(let G of F)(0,s4.checkReportMissingProp)(u,G)}function Y(){let G=D.let("missing");if(X||z){let f=D.let("valid",!0);u.block$data(f,()=>J(G,f)),u.ok(f)}else D.if((0,s4.checkMissingProp)(u,F,G)),(0,s4.reportMissingProp)(u,G),D.else()}function W(){D.forOf("prop",$,(G)=>{u.setParams({missingProperty:G}),D.if((0,s4.noPropertyInData)(D,B,G,q.ownProperties),()=>u.error())})}function J(G,f){u.setParams({missingProperty:G}),D.forOf(G,$,()=>{D.assign(f,(0,s4.propertyInData)(D,B,G,q.ownProperties)),D.if((0,a4.not)(f),()=>{u.error(),D.break()})},a4.nil)}}};iE.default=P80});var NE=H((AE)=>{Object.defineProperty(AE,"__esModule",{value:!0});var r4=I0(),_80={message({keyword:u,schemaCode:D}){let F=u==="maxItems"?"more":"fewer";return r4.str`must NOT have ${F} than ${D} items`},params:({schemaCode:u})=>r4._`{limit: ${u}}`},U80={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:_80,code(u){let{keyword:D,data:F,schemaCode:$}=u,B=D==="maxItems"?r4.operators.GT:r4.operators.LT;u.fail$data(r4._`${F}.length ${B} ${$}`)}};AE.default=U80});var u3=H((IE)=>{Object.defineProperty(IE,"__esModule",{value:!0});var jE=KZ();jE.code='require("ajv/dist/runtime/equal").default';IE.default=jE});var CE=H((EE)=>{Object.defineProperty(EE,"__esModule",{value:!0});var vZ=b4(),Au=I0(),y80=T0(),b80=u3(),R80={message:({params:{i:u,j:D}})=>Au.str`must NOT have duplicate items (items ## ${D} and ${u} are identical)`,params:({params:{i:u,j:D}})=>Au._`{i: ${u}, j: ${D}}`},k80={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:R80,code(u){let{gen:D,data:F,$data:$,schema:B,parentSchema:z,schemaCode:Z,it:q}=u;if(!$&&!B)return;let X=D.let("valid"),Q=z.items?(0,vZ.getSchemaTypes)(z.items):[];u.block$data(X,Y,Au._`${Z} === false`),u.ok(X);function Y(){let f=D.let("i",Au._`${F}.length`),K=D.let("j");u.setParams({i:f,j:K}),D.assign(X,!0),D.if(Au._`${f} > 1`,()=>(W()?J:G)(f,K))}function W(){return Q.length>0&&!Q.some((f)=>f==="object"||f==="array")}function J(f,K){let x=D.name("item"),M=(0,vZ.checkDataTypes)(Q,x,q.opts.strictNumbers,vZ.DataType.Wrong),L=D.const("indices",Au._`{}`);D.for(Au._`;${f}--;`,()=>{if(D.let(x,Au._`${F}[${f}]`),D.if(M,Au._`continue`),Q.length>1)D.if(Au._`typeof ${x} == "string"`,Au._`${x} += "_"`);D.if(Au._`typeof ${L}[${x}] == "number"`,()=>{D.assign(K,Au._`${L}[${x}]`),u.error(),D.assign(X,!1).break()}).code(Au._`${L}[${x}] = ${f}`)})}function G(f,K){let x=(0,y80.useFunc)(D,b80.default),M=D.name("outer");D.label(M).for(Au._`;${f}--;`,()=>D.for(Au._`${K} = ${f}; ${K}--;`,()=>D.if(Au._`${x}(${F}[${f}], ${F}[${K}])`,()=>{u.error(),D.assign(X,!1).break(M)})))}}};EE.default=k80});var vE=H((PE)=>{Object.defineProperty(PE,"__esModule",{value:!0});var _Z=I0(),h80=T0(),m80=u3(),n80={message:"must be equal to constant",params:({schemaCode:u})=>_Z._`{allowedValue: ${u}}`},p80={keyword:"const",$data:!0,error:n80,code(u){let{gen:D,data:F,$data:$,schemaCode:B,schema:z}=u;if($||z&&typeof z=="object")u.fail$data(_Z._`!${(0,h80.useFunc)(D,m80.default)}(${F}, ${B})`);else u.fail(_Z._`${z} !== ${F}`)}};PE.default=p80});var UE=H((_E)=>{Object.defineProperty(_E,"__esModule",{value:!0});var t4=I0(),d80=T0(),g80=u3(),o80={message:"must be equal to one of the allowed values",params:({schemaCode:u})=>t4._`{allowedValues: ${u}}`},s80={keyword:"enum",schemaType:"array",$data:!0,error:o80,code(u){let{gen:D,data:F,$data:$,schema:B,schemaCode:z,it:Z}=u;if(!$&&B.length===0)throw Error("enum must have non-empty array");let q=B.length>=Z.opts.loopEnum,X,Q=()=>X!==null&&X!==void 0?X:X=(0,d80.useFunc)(D,g80.default),Y;if(q||$)Y=D.let("valid"),u.block$data(Y,W);else{if(!Array.isArray(B))throw Error("ajv implementation error");let G=D.const("vSchema",z);Y=(0,t4.or)(...B.map((f,K)=>J(G,K)))}u.pass(Y);function W(){D.assign(Y,!1),D.forOf("v",z,(G)=>D.if(t4._`${Q()}(${F}, ${G})`,()=>D.assign(Y,!0).break()))}function J(G,f){let K=B[f];return typeof K==="object"&&K!==null?t4._`${Q()}(${F}, ${G}[${f}])`:t4._`${F} === ${K}`}}};_E.default=s80});var TE=H((SE)=>{Object.defineProperty(SE,"__esModule",{value:!0});var r80=YE(),t80=JE(),e80=HE(),u40=LE(),D40=wE(),F40=OE(),$40=NE(),B40=CE(),z40=vE(),Z40=UE(),q40=[r80.default,t80.default,e80.default,u40.default,D40.default,F40.default,$40.default,B40.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},z40.default,Z40.default];SE.default=q40});var SZ=H((bE)=>{Object.defineProperty(bE,"__esModule",{value:!0});bE.validateAdditionalItems=void 0;var dF=I0(),UZ=T0(),Q40={message:({params:{len:u}})=>dF.str`must NOT have more than ${u} items`,params:({params:{len:u}})=>dF._`{limit: ${u}}`},Y40={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:Q40,code(u){let{parentSchema:D,it:F}=u,{items:$}=D;if(!Array.isArray($)){(0,UZ.checkStrictMode)(F,'"additionalItems" is ignored when "items" is not an array of schemas');return}yE(u,$)}};function yE(u,D){let{gen:F,schema:$,data:B,keyword:z,it:Z}=u;Z.items=!0;let q=F.const("len",dF._`${B}.length`);if($===!1)u.setParams({len:D.length}),u.pass(dF._`${q} <= ${D.length}`);else if(typeof $=="object"&&!(0,UZ.alwaysValidSchema)(Z,$)){let Q=F.var("valid",dF._`${q} <= ${D.length}`);F.if((0,dF.not)(Q),()=>X(Q)),u.ok(Q)}function X(Q){F.forRange("i",D.length,q,(Y)=>{if(u.subschema({keyword:z,dataProp:Y,dataPropType:UZ.Type.Num},Q),!Z.allErrors)F.if((0,dF.not)(Q),()=>F.break())})}}bE.validateAdditionalItems=yE;bE.default=Y40});var TZ=H((hE)=>{Object.defineProperty(hE,"__esModule",{value:!0});hE.validateTuple=void 0;var kE=I0(),D3=T0(),J40=OD(),G40={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(u){let{schema:D,it:F}=u;if(Array.isArray(D))return cE(u,"additionalItems",D);if(F.items=!0,(0,D3.alwaysValidSchema)(F,D))return;u.ok((0,J40.validateArray)(u))}};function cE(u,D,F=u.schema){let{gen:$,parentSchema:B,data:z,keyword:Z,it:q}=u;if(Y(B),q.opts.unevaluated&&F.length&&q.items!==!0)q.items=D3.mergeEvaluated.items($,F.length,q.items);let X=$.name("valid"),Q=$.const("len",kE._`${z}.length`);F.forEach((W,J)=>{if((0,D3.alwaysValidSchema)(q,W))return;$.if(kE._`${Q} > ${J}`,()=>u.subschema({keyword:Z,schemaProp:J,dataProp:J},X)),u.ok(X)});function Y(W){let{opts:J,errSchemaPath:G}=q,f=F.length,K=f===W.minItems&&(f===W.maxItems||W[D]===!1);if(J.strictTuples&&!K){let x=`"${Z}" is ${f}-tuple, but minItems or maxItems/${D} are not specified or different at path "${G}"`;(0,D3.checkStrictMode)(q,x,J.strictTuples)}}}hE.validateTuple=cE;hE.default=G40});var pE=H((nE)=>{Object.defineProperty(nE,"__esModule",{value:!0});var K40=TZ(),x40={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:(u)=>(0,K40.validateTuple)(u,"items")};nE.default=x40});var gE=H((dE)=>{Object.defineProperty(dE,"__esModule",{value:!0});var lE=I0(),V40=T0(),L40=OD(),M40=SZ(),w40={message:({params:{len:u}})=>lE.str`must NOT have more than ${u} items`,params:({params:{len:u}})=>lE._`{limit: ${u}}`},i40={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:w40,code(u){let{schema:D,parentSchema:F,it:$}=u,{prefixItems:B}=F;if($.items=!0,(0,V40.alwaysValidSchema)($,D))return;if(B)(0,M40.validateAdditionalItems)(u,B);else u.ok((0,L40.validateArray)(u))}};dE.default=i40});var sE=H((oE)=>{Object.defineProperty(oE,"__esModule",{value:!0});var AD=I0(),F3=T0(),A40={message:({params:{min:u,max:D}})=>D===void 0?AD.str`must contain at least ${u} valid item(s)`:AD.str`must contain at least ${u} and no more than ${D} valid item(s)`,params:({params:{min:u,max:D}})=>D===void 0?AD._`{minContains: ${u}}`:AD._`{minContains: ${u}, maxContains: ${D}}`},N40={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:A40,code(u){let{gen:D,schema:F,parentSchema:$,data:B,it:z}=u,Z,q,{minContains:X,maxContains:Q}=$;if(z.opts.next)Z=X===void 0?1:X,q=Q;else Z=1;let Y=D.const("len",AD._`${B}.length`);if(u.setParams({min:Z,max:q}),q===void 0&&Z===0){(0,F3.checkStrictMode)(z,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(q!==void 0&&Z>q){(0,F3.checkStrictMode)(z,'"minContains" > "maxContains" is always invalid'),u.fail();return}if((0,F3.alwaysValidSchema)(z,F)){let K=AD._`${Y} >= ${Z}`;if(q!==void 0)K=AD._`${K} && ${Y} <= ${q}`;u.pass(K);return}z.items=!0;let W=D.name("valid");if(q===void 0&&Z===1)G(W,()=>D.if(W,()=>D.break()));else if(Z===0){if(D.let(W,!0),q!==void 0)D.if(AD._`${B}.length > 0`,J)}else D.let(W,!1),J();u.result(W,()=>u.reset());function J(){let K=D.name("_valid"),x=D.let("count",0);G(K,()=>D.if(K,()=>f(x)))}function G(K,x){D.forRange("i",0,Y,(M)=>{u.subschema({keyword:"contains",dataProp:M,dataPropType:F3.Type.Num,compositeRule:!0},K),x()})}function f(K){if(D.code(AD._`${K}++`),q===void 0)D.if(AD._`${K} >= ${Z}`,()=>D.assign(W,!0).break());else if(D.if(AD._`${K} > ${q}`,()=>D.assign(W,!1).break()),Z===1)D.assign(W,!0);else D.if(AD._`${K} >= ${Z}`,()=>D.assign(W,!0))}}};oE.default=N40});var DC=H((tE)=>{Object.defineProperty(tE,"__esModule",{value:!0});tE.validateSchemaDeps=tE.validatePropertyDeps=tE.error=void 0;var yZ=I0(),I40=T0(),e4=OD();tE.error={message:({params:{property:u,depsCount:D,deps:F}})=>{let $=D===1?"property":"properties";return yZ.str`must have ${$} ${F} when property ${u} is present`},params:({params:{property:u,depsCount:D,deps:F,missingProperty:$}})=>yZ._`{property: ${u},
84
+ missingProperty: ${$},
85
+ depsCount: ${D},
86
+ deps: ${F}}`};var E40={keyword:"dependencies",type:"object",schemaType:"object",error:tE.error,code(u){let[D,F]=C40(u);aE(u,D),rE(u,F)}};function C40({schema:u}){let D={},F={};for(let $ in u){if($==="__proto__")continue;let B=Array.isArray(u[$])?D:F;B[$]=u[$]}return[D,F]}function aE(u,D=u.schema){let{gen:F,data:$,it:B}=u;if(Object.keys(D).length===0)return;let z=F.let("missing");for(let Z in D){let q=D[Z];if(q.length===0)continue;let X=(0,e4.propertyInData)(F,$,Z,B.opts.ownProperties);if(u.setParams({property:Z,depsCount:q.length,deps:q.join(", ")}),B.allErrors)F.if(X,()=>{for(let Q of q)(0,e4.checkReportMissingProp)(u,Q)});else F.if(yZ._`${X} && (${(0,e4.checkMissingProp)(u,q,z)})`),(0,e4.reportMissingProp)(u,z),F.else()}}tE.validatePropertyDeps=aE;function rE(u,D=u.schema){let{gen:F,data:$,keyword:B,it:z}=u,Z=F.name("valid");for(let q in D){if((0,I40.alwaysValidSchema)(z,D[q]))continue;F.if((0,e4.propertyInData)(F,$,q,z.opts.ownProperties),()=>{let X=u.subschema({keyword:B,schemaProp:q},Z);u.mergeValidEvaluated(X,Z)},()=>F.var(Z,!0)),u.ok(Z)}}tE.validateSchemaDeps=rE;tE.default=E40});var BC=H(($C)=>{Object.defineProperty($C,"__esModule",{value:!0});var FC=I0(),_40=T0(),U40={message:"property name must be valid",params:({params:u})=>FC._`{propertyName: ${u.propertyName}}`},S40={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:U40,code(u){let{gen:D,schema:F,data:$,it:B}=u;if((0,_40.alwaysValidSchema)(B,F))return;let z=D.name("valid");D.forIn("key",$,(Z)=>{u.setParams({propertyName:Z}),u.subschema({keyword:"propertyNames",data:Z,dataTypes:["string"],propertyName:Z,compositeRule:!0},z),D.if((0,FC.not)(z),()=>{if(u.error(!0),!B.allErrors)D.break()})}),u.ok(z)}};$C.default=S40});var bZ=H((zC)=>{Object.defineProperty(zC,"__esModule",{value:!0});var $3=OD(),nD=I0(),y40=H1(),B3=T0(),b40={message:"must NOT have additional properties",params:({params:u})=>nD._`{additionalProperty: ${u.additionalProperty}}`},R40={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:b40,code(u){let{gen:D,schema:F,parentSchema:$,data:B,errsCount:z,it:Z}=u;if(!z)throw Error("ajv implementation error");let{allErrors:q,opts:X}=Z;if(Z.props=!0,X.removeAdditional!=="all"&&(0,B3.alwaysValidSchema)(Z,F))return;let Q=(0,$3.allSchemaProperties)($.properties),Y=(0,$3.allSchemaProperties)($.patternProperties);W(),u.ok(nD._`${z} === ${y40.default.errors}`);function W(){D.forIn("key",B,(x)=>{if(!Q.length&&!Y.length)f(x);else D.if(J(x),()=>f(x))})}function J(x){let M;if(Q.length>8){let L=(0,B3.schemaRefOrVal)(Z,$.properties,"properties");M=(0,$3.isOwnProperty)(D,L,x)}else if(Q.length)M=(0,nD.or)(...Q.map((L)=>nD._`${x} === ${L}`));else M=nD.nil;if(Y.length)M=(0,nD.or)(M,...Y.map((L)=>nD._`${(0,$3.usePattern)(u,L)}.test(${x})`));return(0,nD.not)(M)}function G(x){D.code(nD._`delete ${B}[${x}]`)}function f(x){if(X.removeAdditional==="all"||X.removeAdditional&&F===!1){G(x);return}if(F===!1){if(u.setParams({additionalProperty:x}),u.error(),!q)D.break();return}if(typeof F=="object"&&!(0,B3.alwaysValidSchema)(Z,F)){let M=D.name("valid");if(X.removeAdditional==="failing")K(x,M,!1),D.if((0,nD.not)(M),()=>{u.reset(),G(x)});else if(K(x,M),!q)D.if((0,nD.not)(M),()=>D.break())}}function K(x,M,L){let j={keyword:"additionalProperties",dataProp:x,dataPropType:B3.Type.Str};if(L===!1)Object.assign(j,{compositeRule:!0,createErrors:!1,allErrors:!1});u.subschema(j,M)}}};zC.default=R40});var QC=H((XC)=>{Object.defineProperty(XC,"__esModule",{value:!0});var c40=h4(),ZC=OD(),RZ=T0(),qC=bZ(),h40={keyword:"properties",type:"object",schemaType:"object",code(u){let{gen:D,schema:F,parentSchema:$,data:B,it:z}=u;if(z.opts.removeAdditional==="all"&&$.additionalProperties===void 0)qC.default.code(new c40.KeywordCxt(z,qC.default,"additionalProperties"));let Z=(0,ZC.allSchemaProperties)(F);for(let W of Z)z.definedProperties.add(W);if(z.opts.unevaluated&&Z.length&&z.props!==!0)z.props=RZ.mergeEvaluated.props(D,(0,RZ.toHash)(Z),z.props);let q=Z.filter((W)=>!(0,RZ.alwaysValidSchema)(z,F[W]));if(q.length===0)return;let X=D.name("valid");for(let W of q){if(Q(W))Y(W);else{if(D.if((0,ZC.propertyInData)(D,B,W,z.opts.ownProperties)),Y(W),!z.allErrors)D.else().var(X,!0);D.endIf()}u.it.definedProperties.add(W),u.ok(X)}function Q(W){return z.opts.useDefaults&&!z.compositeRule&&F[W].default!==void 0}function Y(W){u.subschema({keyword:"properties",schemaProp:W,dataProp:W},X)}}};XC.default=h40});var fC=H((GC)=>{Object.defineProperty(GC,"__esModule",{value:!0});var YC=OD(),z3=I0(),WC=T0(),JC=T0(),n40={keyword:"patternProperties",type:"object",schemaType:"object",code(u){let{gen:D,schema:F,data:$,parentSchema:B,it:z}=u,{opts:Z}=z,q=(0,YC.allSchemaProperties)(F),X=q.filter((K)=>(0,WC.alwaysValidSchema)(z,F[K]));if(q.length===0||X.length===q.length&&(!z.opts.unevaluated||z.props===!0))return;let Q=Z.strictSchema&&!Z.allowMatchingProperties&&B.properties,Y=D.name("valid");if(z.props!==!0&&!(z.props instanceof z3.Name))z.props=(0,JC.evaluatedPropsToName)(D,z.props);let{props:W}=z;J();function J(){for(let K of q){if(Q)G(K);if(z.allErrors)f(K);else D.var(Y,!0),f(K),D.if(Y)}}function G(K){for(let x in Q)if(new RegExp(K).test(x))(0,WC.checkStrictMode)(z,`property ${x} matches pattern ${K} (use allowMatchingProperties)`)}function f(K){D.forIn("key",$,(x)=>{D.if(z3._`${(0,YC.usePattern)(u,K)}.test(${x})`,()=>{let M=X.includes(K);if(!M)u.subschema({keyword:"patternProperties",schemaProp:K,dataProp:x,dataPropType:JC.Type.Str},Y);if(z.opts.unevaluated&&W!==!0)D.assign(z3._`${W}[${x}]`,!0);else if(!M&&!z.allErrors)D.if((0,z3.not)(Y),()=>D.break())})})}}};GC.default=n40});var xC=H((KC)=>{Object.defineProperty(KC,"__esModule",{value:!0});var l40=T0(),d40={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(u){let{gen:D,schema:F,it:$}=u;if((0,l40.alwaysValidSchema)($,F)){u.fail();return}let B=D.name("valid");u.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},B),u.failResult(B,()=>u.reset(),()=>u.error())},error:{message:"must NOT be valid"}};KC.default=d40});var VC=H((HC)=>{Object.defineProperty(HC,"__esModule",{value:!0});var o40=OD(),s40={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:o40.validateUnion,error:{message:"must match a schema in anyOf"}};HC.default=s40});var MC=H((LC)=>{Object.defineProperty(LC,"__esModule",{value:!0});var Z3=I0(),r40=T0(),t40={message:"must match exactly one schema in oneOf",params:({params:u})=>Z3._`{passingSchemas: ${u.passing}}`},e40={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:t40,code(u){let{gen:D,schema:F,parentSchema:$,it:B}=u;if(!Array.isArray(F))throw Error("ajv implementation error");if(B.opts.discriminator&&$.discriminator)return;let z=F,Z=D.let("valid",!1),q=D.let("passing",null),X=D.name("_valid");u.setParams({passing:q}),D.block(Q),u.result(Z,()=>u.reset(),()=>u.error(!0));function Q(){z.forEach((Y,W)=>{let J;if((0,r40.alwaysValidSchema)(B,Y))D.var(X,!0);else J=u.subschema({keyword:"oneOf",schemaProp:W,compositeRule:!0},X);if(W>0)D.if(Z3._`${X} && ${Z}`).assign(Z,!1).assign(q,Z3._`[${q}, ${W}]`).else();D.if(X,()=>{if(D.assign(Z,!0),D.assign(q,W),J)u.mergeEvaluated(J,Z3.Name)})})}}};LC.default=e40});var iC=H((wC)=>{Object.defineProperty(wC,"__esModule",{value:!0});var D70=T0(),F70={keyword:"allOf",schemaType:"array",code(u){let{gen:D,schema:F,it:$}=u;if(!Array.isArray(F))throw Error("ajv implementation error");let B=D.name("valid");F.forEach((z,Z)=>{if((0,D70.alwaysValidSchema)($,z))return;let q=u.subschema({keyword:"allOf",schemaProp:Z},B);u.ok(B),u.mergeEvaluated(q)})}};wC.default=F70});var jC=H((NC)=>{Object.defineProperty(NC,"__esModule",{value:!0});var q3=I0(),AC=T0(),B70={message:({params:u})=>q3.str`must match "${u.ifClause}" schema`,params:({params:u})=>q3._`{failingKeyword: ${u.ifClause}}`},z70={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:B70,code(u){let{gen:D,parentSchema:F,it:$}=u;if(F.then===void 0&&F.else===void 0)(0,AC.checkStrictMode)($,'"if" without "then" and "else" is ignored');let B=OC($,"then"),z=OC($,"else");if(!B&&!z)return;let Z=D.let("valid",!0),q=D.name("_valid");if(X(),u.reset(),B&&z){let Y=D.let("ifClause");u.setParams({ifClause:Y}),D.if(q,Q("then",Y),Q("else",Y))}else if(B)D.if(q,Q("then"));else D.if((0,q3.not)(q),Q("else"));u.pass(Z,()=>u.error(!0));function X(){let Y=u.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},q);u.mergeEvaluated(Y)}function Q(Y,W){return()=>{let J=u.subschema({keyword:Y},q);if(D.assign(Z,q),u.mergeValidEvaluated(J,Z),W)D.assign(W,q3._`${Y}`);else u.setParams({ifClause:Y})}}}};function OC(u,D){let F=u.schema[D];return F!==void 0&&!(0,AC.alwaysValidSchema)(u,F)}NC.default=z70});var EC=H((IC)=>{Object.defineProperty(IC,"__esModule",{value:!0});var q70=T0(),X70={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:u,parentSchema:D,it:F}){if(D.if===void 0)(0,q70.checkStrictMode)(F,`"${u}" without "if" is ignored`)}};IC.default=X70});var PC=H((CC)=>{Object.defineProperty(CC,"__esModule",{value:!0});var Y70=SZ(),W70=pE(),J70=TZ(),G70=gE(),f70=sE(),K70=DC(),x70=BC(),H70=bZ(),V70=QC(),L70=fC(),M70=xC(),w70=VC(),i70=MC(),O70=iC(),A70=jC(),N70=EC();function j70(u=!1){let D=[M70.default,w70.default,i70.default,O70.default,A70.default,N70.default,x70.default,H70.default,K70.default,V70.default,L70.default];if(u)D.push(W70.default,G70.default);else D.push(Y70.default,J70.default);return D.push(f70.default),D}CC.default=j70});var _C=H((vC)=>{Object.defineProperty(vC,"__esModule",{value:!0});var Wu=I0(),E70={message:({schemaCode:u})=>Wu.str`must match format "${u}"`,params:({schemaCode:u})=>Wu._`{format: ${u}}`},C70={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:E70,code(u,D){let{gen:F,data:$,$data:B,schema:z,schemaCode:Z,it:q}=u,{opts:X,errSchemaPath:Q,schemaEnv:Y,self:W}=q;if(!X.validateFormats)return;if(B)J();else G();function J(){let f=F.scopeValue("formats",{ref:W.formats,code:X.code.formats}),K=F.const("fDef",Wu._`${f}[${Z}]`),x=F.let("fType"),M=F.let("format");F.if(Wu._`typeof ${K} == "object" && !(${K} instanceof RegExp)`,()=>F.assign(x,Wu._`${K}.type || "string"`).assign(M,Wu._`${K}.validate`),()=>F.assign(x,Wu._`"string"`).assign(M,K)),u.fail$data((0,Wu.or)(L(),j()));function L(){if(X.strictSchema===!1)return Wu.nil;return Wu._`${Z} && !${M}`}function j(){let U=Y.$async?Wu._`(${K}.async ? await ${M}(${$}) : ${M}(${$}))`:Wu._`${M}(${$})`,I=Wu._`(typeof ${M} == "function" ? ${U} : ${M}.test(${$}))`;return Wu._`${M} && ${M} !== true && ${x} === ${D} && !${I}`}}function G(){let f=W.formats[z];if(!f){L();return}if(f===!0)return;let[K,x,M]=j(f);if(K===D)u.pass(U());function L(){if(X.strictSchema===!1){W.logger.warn(I());return}throw Error(I());function I(){return`unknown format "${z}" ignored in schema at path "${Q}"`}}function j(I){let S=I instanceof RegExp?(0,Wu.regexpCode)(I):X.code.formats?Wu._`${X.code.formats}${(0,Wu.getProperty)(z)}`:void 0,k=F.scopeValue("formats",{key:z,ref:I,code:S});if(typeof I=="object"&&!(I instanceof RegExp))return[I.type||"string",I.validate,Wu._`${k}.validate`];return["string",I,k]}function U(){if(typeof f=="object"&&!(f instanceof RegExp)&&f.async){if(!Y.$async)throw Error("async format in sync schema");return Wu._`await ${M}(${$})`}return typeof x=="function"?Wu._`${M}(${$})`:Wu._`${M}.test(${$})`}}}};vC.default=C70});var SC=H((UC)=>{Object.defineProperty(UC,"__esModule",{value:!0});var v70=_C(),_70=[v70.default];UC.default=_70});var bC=H((TC)=>{Object.defineProperty(TC,"__esModule",{value:!0});TC.contentVocabulary=TC.metadataVocabulary=void 0;TC.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];TC.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var cC=H((kC)=>{Object.defineProperty(kC,"__esModule",{value:!0});var T70=XE(),y70=TE(),b70=PC(),R70=SC(),RC=bC(),k70=[T70.default,y70.default,(0,b70.default)(),R70.default,RC.metadataVocabulary,RC.contentVocabulary];kC.default=k70});var pC=H((mC)=>{Object.defineProperty(mC,"__esModule",{value:!0});mC.DiscrError=void 0;var hC;(function(u){u.Tag="tag",u.Mapping="mapping"})(hC||(mC.DiscrError=hC={}))});var gC=H((dC)=>{Object.defineProperty(dC,"__esModule",{value:!0});var u8=I0(),kZ=pC(),lC=n5(),h70=m4(),m70=T0(),n70={message:({params:{discrError:u,tagName:D}})=>u===kZ.DiscrError.Tag?`tag "${D}" must be string`:`value of tag "${D}" must be in oneOf`,params:({params:{discrError:u,tag:D,tagName:F}})=>u8._`{error: ${u}, tag: ${F}, tagValue: ${D}}`},p70={keyword:"discriminator",type:"object",schemaType:"object",error:n70,code(u){let{gen:D,data:F,schema:$,parentSchema:B,it:z}=u,{oneOf:Z}=B;if(!z.opts.discriminator)throw Error("discriminator: requires discriminator option");let q=$.propertyName;if(typeof q!="string")throw Error("discriminator: requires propertyName");if($.mapping)throw Error("discriminator: mapping is not supported");if(!Z)throw Error("discriminator: requires oneOf keyword");let X=D.let("valid",!1),Q=D.const("tag",u8._`${F}${(0,u8.getProperty)(q)}`);D.if(u8._`typeof ${Q} == "string"`,()=>Y(),()=>u.error(!1,{discrError:kZ.DiscrError.Tag,tag:Q,tagName:q})),u.ok(X);function Y(){let G=J();D.if(!1);for(let f in G)D.elseIf(u8._`${Q} === ${f}`),D.assign(X,W(G[f]));D.else(),u.error(!1,{discrError:kZ.DiscrError.Mapping,tag:Q,tagName:q}),D.endIf()}function W(G){let f=D.name("valid"),K=u.subschema({keyword:"oneOf",schemaProp:G},f);return u.mergeEvaluated(K,u8.Name),f}function J(){var G;let f={},K=M(B),x=!0;for(let U=0;U<Z.length;U++){let I=Z[U];if((I===null||I===void 0?void 0:I.$ref)&&!(0,m70.schemaHasRulesButRef)(I,z.self.RULES)){let k=I.$ref;if(I=lC.resolveRef.call(z.self,z.schemaEnv.root,z.baseId,k),I instanceof lC.SchemaEnv)I=I.schema;if(I===void 0)throw new h70.default(z.opts.uriResolver,z.baseId,k)}let S=(G=I===null||I===void 0?void 0:I.properties)===null||G===void 0?void 0:G[q];if(typeof S!="object")throw Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${q}"`);x=x&&(K||M(I)),L(S,U)}if(!x)throw Error(`discriminator: "${q}" must be required`);return f;function M({required:U}){return Array.isArray(U)&&U.includes(q)}function L(U,I){if(U.const)j(U.const,I);else if(U.enum)for(let S of U.enum)j(S,I);else throw Error(`discriminator: "properties/${q}" must have "const" or "enum"`)}function j(U,I){if(typeof U!="string"||U in f)throw Error(`discriminator: "${q}" values must be unique strings`);f[U]=I}}}};dC.default=p70});var oC=H((af0,d70)=>{d70.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:!0}});var aC=H((DD,cZ)=>{Object.defineProperty(DD,"__esModule",{value:!0});DD.MissingRefError=DD.ValidationError=DD.CodeGen=DD.Name=DD.nil=DD.stringify=DD.str=DD._=DD.KeywordCxt=DD.Ajv=void 0;var g70=tI(),o70=cC(),s70=gC(),sC=oC(),a70=["/properties"],X3="http://json-schema.org/draft-07/schema";class u7 extends g70.default{_addVocabularies(){if(super._addVocabularies(),o70.default.forEach((u)=>this.addVocabulary(u)),this.opts.discriminator)this.addKeyword(s70.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let u=this.opts.$data?this.$dataMetaSchema(sC,a70):sC;this.addMetaSchema(u,X3,!1),this.refs["http://json-schema.org/schema"]=X3}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(X3)?X3:void 0)}}DD.Ajv=u7;cZ.exports=DD=u7;cZ.exports.Ajv=u7;Object.defineProperty(DD,"__esModule",{value:!0});DD.default=u7;var r70=h4();Object.defineProperty(DD,"KeywordCxt",{enumerable:!0,get:function(){return r70.KeywordCxt}});var D8=I0();Object.defineProperty(DD,"_",{enumerable:!0,get:function(){return D8._}});Object.defineProperty(DD,"str",{enumerable:!0,get:function(){return D8.str}});Object.defineProperty(DD,"stringify",{enumerable:!0,get:function(){return D8.stringify}});Object.defineProperty(DD,"nil",{enumerable:!0,get:function(){return D8.nil}});Object.defineProperty(DD,"Name",{enumerable:!0,get:function(){return D8.Name}});Object.defineProperty(DD,"CodeGen",{enumerable:!0,get:function(){return D8.CodeGen}});var t70=h5();Object.defineProperty(DD,"ValidationError",{enumerable:!0,get:function(){return t70.default}});var e70=m4();Object.defineProperty(DD,"MissingRefError",{enumerable:!0,get:function(){return e70.default}})});var DP=H((X90)=>{var $90=/~/,B90=/~[01]/g;function z90(u){switch(u){case"~1":return"/";case"~0":return"~"}throw Error("Invalid tilde escape: "+u)}function tC(u){if(!$90.test(u))return u;return u.replace(B90,z90)}function Z90(u,D,F){var $,B;for(var z=1,Z=D.length;z<Z;){if(D[z]==="constructor"||D[z]==="prototype"||D[z]==="__proto__")return u;if($=tC(D[z++]),B=Z>z,typeof u[$]>"u"){if(Array.isArray(u)&&$==="-")$=u.length;if(B)if(D[z]!==""&&D[z]<1/0||D[z]==="-")u[$]=[];else u[$]={}}if(!B)break;u=u[$]}var q=u[$];if(F===void 0)delete u[$];else u[$]=F;return q}function hZ(u){if(typeof u==="string"){if(u=u.split("/"),u[0]==="")return u;throw Error("Invalid JSON pointer.")}else if(Array.isArray(u)){for(let D of u)if(typeof D!=="string"&&typeof D!=="number")throw Error("Invalid JSON pointer. Must be of type string or number.");return u}throw Error("Invalid JSON pointer.")}function eC(u,D){if(typeof u!=="object")throw Error("Invalid input object.");D=hZ(D);var F=D.length;if(F===1)return u;for(var $=1;$<F;){if(u=u[tC(D[$++])],F===$)return u;if(typeof u!=="object"||u===null)return}}function uP(u,D,F){if(typeof u!=="object")throw Error("Invalid input object.");if(D=hZ(D),D.length===0)throw Error("Invalid JSON pointer for set.");return Z90(u,D,F)}function q90(u){var D=hZ(u);return{get:function(F){return eC(F,D)},set:function(F,$){return uP(F,D,$)}}}X90.get=eC;X90.set=uP;X90.compile=q90});var Dq=(u=0)=>(D)=>`\x1B[${D+u}m`,Fq=(u=0)=>(D)=>`\x1B[${38+u};5;${D}m`,$q=(u=0)=>(D,F,$)=>`\x1B[${38+u};2;${D};${F};${$}m`,o0={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},v90=Object.keys(o0.modifier),iP=Object.keys(o0.color),OP=Object.keys(o0.bgColor),_90=[...iP,...OP];function AP(){let u=new Map;for(let[D,F]of Object.entries(o0)){for(let[$,B]of Object.entries(F))o0[$]={open:`\x1B[${B[0]}m`,close:`\x1B[${B[1]}m`},F[$]=o0[$],u.set(B[0],B[1]);Object.defineProperty(o0,D,{value:F,enumerable:!1})}return Object.defineProperty(o0,"codes",{value:u,enumerable:!1}),o0.color.close="\x1B[39m",o0.bgColor.close="\x1B[49m",o0.color.ansi=Dq(),o0.color.ansi256=Fq(),o0.color.ansi16m=$q(),o0.bgColor.ansi=Dq(10),o0.bgColor.ansi256=Fq(10),o0.bgColor.ansi16m=$q(10),Object.defineProperties(o0,{rgbToAnsi256:{value(D,F,$){if(D===F&&F===$){if(D<8)return 16;if(D>248)return 231;return Math.round((D-8)/247*24)+232}return 16+36*Math.round(D/255*5)+6*Math.round(F/255*5)+Math.round($/255*5)},enumerable:!1},hexToRgb:{value(D){let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(D.toString(16));if(!F)return[0,0,0];let[$]=F;if($.length===3)$=[...$].map((z)=>z+z).join("");let B=Number.parseInt($,16);return[B>>16&255,B>>8&255,B&255]},enumerable:!1},hexToAnsi256:{value:(D)=>o0.rgbToAnsi256(...o0.hexToRgb(D)),enumerable:!1},ansi256ToAnsi:{value(D){if(D<8)return 30+D;if(D<16)return 90+(D-8);let F,$,B;if(D>=232)F=((D-232)*10+8)/255,$=F,B=F;else{D-=16;let q=D%36;F=Math.floor(D/36)/5,$=Math.floor(q/6)/5,B=q%6/5}let z=Math.max(F,$,B)*2;if(z===0)return 30;let Z=30+(Math.round(B)<<2|Math.round($)<<1|Math.round(F));if(z===2)Z+=60;return Z},enumerable:!1},rgbToAnsi:{value:(D,F,$)=>o0.ansi256ToAnsi(o0.rgbToAnsi256(D,F,$)),enumerable:!1},hexToAnsi:{value:(D)=>o0.ansi256ToAnsi(o0.hexToAnsi256(D)),enumerable:!1}}),o0}var NP=AP(),jD=NP;import W3 from"node:process";import jP from"node:os";import Bq from"node:tty";function YD(u,D=globalThis.Deno?globalThis.Deno.args:W3.argv){let F=u.startsWith("-")?"":u.length===1?"-":"--",$=D.indexOf(F+u),B=D.indexOf("--");return $!==-1&&(B===-1||$<B)}var{env:s0}=W3,$7;if(YD("no-color")||YD("no-colors")||YD("color=false")||YD("color=never"))$7=0;else if(YD("color")||YD("colors")||YD("color=true")||YD("color=always"))$7=1;function IP(){if("FORCE_COLOR"in s0){if(s0.FORCE_COLOR==="true")return 1;if(s0.FORCE_COLOR==="false")return 0;return s0.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(s0.FORCE_COLOR,10),3)}}function EP(u){if(u===0)return!1;return{level:u,hasBasic:!0,has256:u>=2,has16m:u>=3}}function CP(u,{streamIsTTY:D,sniffFlags:F=!0}={}){let $=IP();if($!==void 0)$7=$;let B=F?$7:$;if(B===0)return 0;if(F){if(YD("color=16m")||YD("color=full")||YD("color=truecolor"))return 3;if(YD("color=256"))return 2}if("TF_BUILD"in s0&&"AGENT_NAME"in s0)return 1;if(u&&!D&&B===void 0)return 0;let z=B||0;if(s0.TERM==="dumb")return z;if(W3.platform==="win32"){let Z=jP.release().split(".");if(Number(Z[0])>=10&&Number(Z[2])>=10586)return Number(Z[2])>=14931?3:2;return 1}if("CI"in s0){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Z)=>(Z in s0)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Z)=>(Z in s0))||s0.CI_NAME==="codeship")return 1;return z}if("TEAMCITY_VERSION"in s0)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(s0.TEAMCITY_VERSION)?1:0;if(s0.COLORTERM==="truecolor")return 3;if(s0.TERM==="xterm-kitty")return 3;if(s0.TERM==="xterm-ghostty")return 3;if(s0.TERM==="wezterm")return 3;if("TERM_PROGRAM"in s0){let Z=Number.parseInt((s0.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(s0.TERM_PROGRAM){case"iTerm.app":return Z>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(s0.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(s0.TERM))return 1;if("COLORTERM"in s0)return 1;return z}function zq(u,D={}){let F=CP(u,{streamIsTTY:u&&u.isTTY,...D});return EP(F)}var PP={stdout:zq({isTTY:Bq.isatty(1)}),stderr:zq({isTTY:Bq.isatty(2)})},Zq=PP;function qq(u,D,F){let $=u.indexOf(D);if($===-1)return u;let B=D.length,z=0,Z="";do Z+=u.slice(z,$)+D+F,z=$+B,$=u.indexOf(D,z);while($!==-1);return Z+=u.slice(z),Z}function Xq(u,D,F,$){let B=0,z="";do{let Z=u[$-1]==="\r";z+=u.slice(B,Z?$-1:$)+D+(Z?`\r
87
+ `:`
88
+ `)+F,B=$+1,$=u.indexOf(`
89
+ `,B)}while($!==-1);return z+=u.slice(B),z}var{stdout:Qq,stderr:Yq}=Zq,J3=Symbol("GENERATOR"),gF=Symbol("STYLER"),B8=Symbol("IS_EMPTY"),Wq=["ansi","ansi","ansi256","ansi16m"],oF=Object.create(null),vP=(u,D={})=>{if(D.level&&!(Number.isInteger(D.level)&&D.level>=0&&D.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let F=Qq?Qq.level:0;u.level=D.level===void 0?F:D.level};var _P=(u)=>{let D=(...F)=>F.join(" ");return vP(D,u),Object.setPrototypeOf(D,z8.prototype),D};function z8(u){return _P(u)}Object.setPrototypeOf(z8.prototype,Function.prototype);for(let[u,D]of Object.entries(jD))oF[u]={get(){let F=B7(this,f3(D.open,D.close,this[gF]),this[B8]);return Object.defineProperty(this,u,{value:F}),F}};oF.visible={get(){let u=B7(this,this[gF],!0);return Object.defineProperty(this,"visible",{value:u}),u}};var G3=(u,D,F,...$)=>{if(u==="rgb"){if(D==="ansi16m")return jD[F].ansi16m(...$);if(D==="ansi256")return jD[F].ansi256(jD.rgbToAnsi256(...$));return jD[F].ansi(jD.rgbToAnsi(...$))}if(u==="hex")return G3("rgb",D,F,...jD.hexToRgb(...$));return jD[F][u](...$)},UP=["rgb","hex","ansi256"];for(let u of UP){oF[u]={get(){let{level:F}=this;return function(...$){let B=f3(G3(u,Wq[F],"color",...$),jD.color.close,this[gF]);return B7(this,B,this[B8])}}};let D="bg"+u[0].toUpperCase()+u.slice(1);oF[D]={get(){let{level:F}=this;return function(...$){let B=f3(G3(u,Wq[F],"bgColor",...$),jD.bgColor.close,this[gF]);return B7(this,B,this[B8])}}}}var SP=Object.defineProperties(()=>{},{...oF,level:{enumerable:!0,get(){return this[J3].level},set(u){this[J3].level=u}}}),f3=(u,D,F)=>{let $,B;if(F===void 0)$=u,B=D;else $=F.openAll+u,B=D+F.closeAll;return{open:u,close:D,openAll:$,closeAll:B,parent:F}},B7=(u,D,F)=>{let $=(...B)=>TP($,B.length===1?""+B[0]:B.join(" "));return Object.setPrototypeOf($,SP),$[J3]=u,$[gF]=D,$[B8]=F,$},TP=(u,D)=>{if(u.level<=0||!D)return u[B8]?"":D;let F=u[gF];if(F===void 0)return D;let{openAll:$,closeAll:B}=F;if(D.includes("\x1B"))while(F!==void 0)D=qq(D,F.close,F.open),F=F.parent;let z=D.indexOf(`
90
+ `);if(z!==-1)D=Xq(D,B,$,z);return $+D+B};Object.defineProperties(z8.prototype,oF);var yP=z8(),Jq=z8({level:Yq?Yq.level:0});var z7=yP;var bP=/(?:\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.))|(?:{(~)?(#?[\w:]+(?:\([^)]*\))?(?:\.#?[\w:]+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(})|((?:.|[\r\n\f])+?)/gi,Gq=/(?:^|\.)(?:(?:(\w+)(?:\(([^)]*)\))?)|(?:#(?=[:a-fA-F\d]{2,})([a-fA-F\d]{6})?(?::([a-fA-F\d]{6}))?))/g,RP=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,kP=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,cP=new Map([["n",`
91
+ `],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\x00"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Kq(u){let D=u[0]==="u",F=u[1]==="{";if(D&&!F&&u.length===5||u[0]==="x"&&u.length===3)return String.fromCodePoint(Number.parseInt(u.slice(1),16));if(D&&F)return String.fromCodePoint(Number.parseInt(u.slice(2,-1),16));return cP.get(u)||u}function hP(u,D){let F=[],$=D.trim().split(/\s*,\s*/g),B;for(let z of $){let Z=Number(z);if(!Number.isNaN(Z))F.push(Z);else if(B=z.match(RP))F.push(B[2].replace(kP,(q,X,Q)=>X?Kq(X):Q));else throw Error(`Invalid Chalk template style argument: ${z} (in style '${u}')`)}return F}function fq(u){let D=Number.parseInt(u,16);return[D>>16&255,D>>8&255,D&255]}function mP(u){Gq.lastIndex=0;let D=[],F;while((F=Gq.exec(u))!==null){let $=F[1];if(F[2])D.push([$,...hP($,F[2])]);else if(F[3]||F[4]){if(F[3])D.push(["rgb",...fq(F[3])]);if(F[4])D.push(["bgRgb",...fq(F[4])])}else D.push([$])}return D}function xq(u){function D($){let B={};for(let Z of $)for(let q of Z.styles)B[q[0]]=Z.inverse?null:q.slice(1);let z=u;for(let[Z,q]of Object.entries(B)){if(!Array.isArray(q))continue;if(!(Z in z))throw Error(`Unknown Chalk style: ${Z}`);z=q.length>0?z[Z](...q):z[Z]}return z}function F($){let B=[],z=[],Z=[];if($.replace(bP,(q,X,Q,Y,W,J)=>{if(X)Z.push(Kq(X));else if(Y){let G=Z.join("");Z=[],z.push(B.length===0?G:D(B)(G)),B.push({inverse:Q,styles:mP(Y)})}else if(W){if(B.length===0)throw Error("Found extraneous } in Chalk template literal");z.push(D(B)(Z.join(""))),Z=[],B.pop()}else Z.push(J)}),z.push(Z.join("")),B.length>0)throw Error(`Chalk template literal is missing ${B.length} closing bracket${B.length===1?"":"s"} (\`}\`)`);return z.join("")}return F}function Hq(u){function D(F,...$){if(!Array.isArray(F)||!Array.isArray(F.raw))throw TypeError("A tagged template literal must be provided");let B=[F.raw[0]];for(let z=1;z<F.raw.length;z++)B.push(String($[z-1]).replace(/[{}\\]/g,"\\$&"),String(F.raw[z]));return u(B.join(""))}return D}var nP=xq(z7),y=Hq(nP),pP=xq(Jq),p90=Hq(pP);import{notStrictEqual as Iv,strictEqual as Ev}from"assert";var lP={right:oP,center:sP};class Lq{constructor(u){var D;this.width=u.width,this.wrap=(D=u.wrap)!==null&&D!==void 0?D:!0,this.rows=[]}span(...u){let D=this.div(...u);D.span=!0}resetOutput(){this.rows=[]}div(...u){if(u.length===0)this.div("");if(this.wrap&&this.shouldApplyLayoutDSL(...u)&&typeof u[0]==="string")return this.applyLayoutDSL(u[0]);let D=u.map((F)=>{if(typeof F==="string")return this.colFromString(F);return F});return this.rows.push(D),D}shouldApplyLayoutDSL(...u){return u.length===1&&typeof u[0]==="string"&&/[\t\n]/.test(u[0])}applyLayoutDSL(u){let D=u.split(`
92
+ `).map(($)=>$.split("\t")),F=0;return D.forEach(($)=>{if($.length>1&&FD.stringWidth($[0])>F)F=Math.min(Math.floor(this.width*0.5),FD.stringWidth($[0]))}),D.forEach(($)=>{this.div(...$.map((B,z)=>{return{text:B.trim(),padding:this.measurePadding(B),width:z===0&&$.length>1?F:void 0}}))}),this.rows[this.rows.length-1]}colFromString(u){return{text:u,padding:this.measurePadding(u)}}measurePadding(u){let D=FD.stripAnsi(u);return[0,D.match(/\s*$/)[0].length,0,D.match(/^\s*/)[0].length]}toString(){let u=[];return this.rows.forEach((D)=>{this.rowToString(D,u)}),u.filter((D)=>!D.hidden).map((D)=>D.text).join(`
93
+ `)}rowToString(u,D){return this.rasterize(u).forEach((F,$)=>{let B="";F.forEach((z,Z)=>{let{width:q}=u[Z],X=this.negatePadding(u[Z]),Q=z;if(X>FD.stringWidth(z))Q+=" ".repeat(X-FD.stringWidth(z));if(u[Z].align&&u[Z].align!=="left"&&this.wrap){let W=lP[u[Z].align];if(Q=W(Q,X),FD.stringWidth(Q)<X)Q+=" ".repeat((q||0)-FD.stringWidth(Q)-1)}let Y=u[Z].padding||[0,0,0,0];if(Y[3])B+=" ".repeat(Y[3]);if(B+=Vq(u[Z],Q,"| "),B+=Q,B+=Vq(u[Z],Q," |"),Y[1])B+=" ".repeat(Y[1]);if($===0&&D.length>0)B=this.renderInline(B,D[D.length-1])}),D.push({text:B.replace(/ +$/,""),span:u.span})}),D}renderInline(u,D){let F=u.match(/^ */),$=F?F[0].length:0,B=D.text,z=FD.stringWidth(B.trimRight());if(!D.span)return u;if(!this.wrap)return D.hidden=!0,B+u;if($<z)return u;return D.hidden=!0,B.trimRight()+" ".repeat($-z)+u.trimLeft()}rasterize(u){let D=[],F=this.columnWidths(u),$;return u.forEach((B,z)=>{if(B.width=F[z],this.wrap)$=FD.wrap(B.text,this.negatePadding(B),{hard:!0}).split(`
94
+ `);else $=B.text.split(`
95
+ `);if(B.border)$.unshift("."+"-".repeat(this.negatePadding(B)+2)+"."),$.push("'"+"-".repeat(this.negatePadding(B)+2)+"'");if(B.padding)$.unshift(...Array(B.padding[0]||0).fill("")),$.push(...Array(B.padding[2]||0).fill(""));$.forEach((Z,q)=>{if(!D[q])D.push([]);let X=D[q];for(let Q=0;Q<z;Q++)if(X[Q]===void 0)X.push("");X.push(Z)})}),D}negatePadding(u){let D=u.width||0;if(u.padding)D-=(u.padding[3]||0)+(u.padding[1]||0);if(u.border)D-=4;return D}columnWidths(u){if(!this.wrap)return u.map((z)=>{return z.width||FD.stringWidth(z.text)});let D=u.length,F=this.width,$=u.map((z)=>{if(z.width)return D--,F-=z.width,z.width;return}),B=D?Math.floor(F/D):0;return $.map((z,Z)=>{if(z===void 0)return Math.max(B,dP(u[Z]));return z})}}function Vq(u,D,F){if(u.border){if(/[.']-+[.']/.test(D))return"";if(D.trim().length!==0)return F;return" "}return""}function dP(u){let D=u.padding||[],F=1+(D[3]||0)+(D[1]||0);if(u.border)return F+4;return F}function gP(){if(typeof process==="object"&&process.stdout&&process.stdout.columns)return process.stdout.columns;return 80}function oP(u,D){u=u.trim();let F=FD.stringWidth(u);if(F<D)return" ".repeat(D-F)+u;return u}function sP(u,D){u=u.trim();let F=FD.stringWidth(u);if(F>=D)return u;return" ".repeat(D-F>>1)+u}var FD;function Mq(u,D){return FD=D,new Lq({width:(u===null||u===void 0?void 0:u.width)||gP(),wrap:u===null||u===void 0?void 0:u.wrap})}function K3({onlyFirst:u=!1}={}){return new RegExp("(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]",u?void 0:"g")}var aP=K3();function FF(u){if(typeof u!=="string")throw TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(aP,"")}function wq(u){return u===161||u===164||u===167||u===168||u===170||u===173||u===174||u>=176&&u<=180||u>=182&&u<=186||u>=188&&u<=191||u===198||u===208||u===215||u===216||u>=222&&u<=225||u===230||u>=232&&u<=234||u===236||u===237||u===240||u===242||u===243||u>=247&&u<=250||u===252||u===254||u===257||u===273||u===275||u===283||u===294||u===295||u===299||u>=305&&u<=307||u===312||u>=319&&u<=322||u===324||u>=328&&u<=331||u===333||u===338||u===339||u===358||u===359||u===363||u===462||u===464||u===466||u===468||u===470||u===472||u===474||u===476||u===593||u===609||u===708||u===711||u>=713&&u<=715||u===717||u===720||u>=728&&u<=731||u===733||u===735||u>=768&&u<=879||u>=913&&u<=929||u>=931&&u<=937||u>=945&&u<=961||u>=963&&u<=969||u===1025||u>=1040&&u<=1103||u===1105||u===8208||u>=8211&&u<=8214||u===8216||u===8217||u===8220||u===8221||u>=8224&&u<=8226||u>=8228&&u<=8231||u===8240||u===8242||u===8243||u===8245||u===8251||u===8254||u===8308||u===8319||u>=8321&&u<=8324||u===8364||u===8451||u===8453||u===8457||u===8467||u===8470||u===8481||u===8482||u===8486||u===8491||u===8531||u===8532||u>=8539&&u<=8542||u>=8544&&u<=8555||u>=8560&&u<=8569||u===8585||u>=8592&&u<=8601||u===8632||u===8633||u===8658||u===8660||u===8679||u===8704||u===8706||u===8707||u===8711||u===8712||u===8715||u===8719||u===8721||u===8725||u===8730||u>=8733&&u<=8736||u===8739||u===8741||u>=8743&&u<=8748||u===8750||u>=8756&&u<=8759||u===8764||u===8765||u===8776||u===8780||u===8786||u===8800||u===8801||u>=8804&&u<=8807||u===8810||u===8811||u===8814||u===8815||u===8834||u===8835||u===8838||u===8839||u===8853||u===8857||u===8869||u===8895||u===8978||u>=9312&&u<=9449||u>=9451&&u<=9547||u>=9552&&u<=9587||u>=9600&&u<=9615||u>=9618&&u<=9621||u===9632||u===9633||u>=9635&&u<=9641||u===9650||u===9651||u===9654||u===9655||u===9660||u===9661||u===9664||u===9665||u>=9670&&u<=9672||u===9675||u>=9678&&u<=9681||u>=9698&&u<=9701||u===9711||u===9733||u===9734||u===9737||u===9742||u===9743||u===9756||u===9758||u===9792||u===9794||u===9824||u===9825||u>=9827&&u<=9829||u>=9831&&u<=9834||u===9836||u===9837||u===9839||u===9886||u===9887||u===9919||u>=9926&&u<=9933||u>=9935&&u<=9939||u>=9941&&u<=9953||u===9955||u===9960||u===9961||u>=9963&&u<=9969||u===9972||u>=9974&&u<=9977||u===9979||u===9980||u===9982||u===9983||u===10045||u>=10102&&u<=10111||u>=11094&&u<=11097||u>=12872&&u<=12879||u>=57344&&u<=63743||u>=65024&&u<=65039||u===65533||u>=127232&&u<=127242||u>=127248&&u<=127277||u>=127280&&u<=127337||u>=127344&&u<=127373||u===127375||u===127376||u>=127387&&u<=127404||u>=917760&&u<=917999||u>=983040&&u<=1048573||u>=1048576&&u<=1114109}function iq(u){return u===12288||u>=65281&&u<=65376||u>=65504&&u<=65510}function Oq(u){return u>=4352&&u<=4447||u===8986||u===8987||u===9001||u===9002||u>=9193&&u<=9196||u===9200||u===9203||u===9725||u===9726||u===9748||u===9749||u>=9776&&u<=9783||u>=9800&&u<=9811||u===9855||u>=9866&&u<=9871||u===9875||u===9889||u===9898||u===9899||u===9917||u===9918||u===9924||u===9925||u===9934||u===9940||u===9962||u===9970||u===9971||u===9973||u===9978||u===9981||u===9989||u===9994||u===9995||u===10024||u===10060||u===10062||u>=10067&&u<=10069||u===10071||u>=10133&&u<=10135||u===10160||u===10175||u===11035||u===11036||u===11088||u===11093||u>=11904&&u<=11929||u>=11931&&u<=12019||u>=12032&&u<=12245||u>=12272&&u<=12287||u>=12289&&u<=12350||u>=12353&&u<=12438||u>=12441&&u<=12543||u>=12549&&u<=12591||u>=12593&&u<=12686||u>=12688&&u<=12773||u>=12783&&u<=12830||u>=12832&&u<=12871||u>=12880&&u<=42124||u>=42128&&u<=42182||u>=43360&&u<=43388||u>=44032&&u<=55203||u>=63744&&u<=64255||u>=65040&&u<=65049||u>=65072&&u<=65106||u>=65108&&u<=65126||u>=65128&&u<=65131||u>=94176&&u<=94180||u>=94192&&u<=94198||u>=94208&&u<=101589||u>=101631&&u<=101662||u>=101760&&u<=101874||u>=110576&&u<=110579||u>=110581&&u<=110587||u===110589||u===110590||u>=110592&&u<=110882||u===110898||u>=110928&&u<=110930||u===110933||u>=110948&&u<=110951||u>=110960&&u<=111355||u>=119552&&u<=119638||u>=119648&&u<=119670||u===126980||u===127183||u===127374||u>=127377&&u<=127386||u>=127488&&u<=127490||u>=127504&&u<=127547||u>=127552&&u<=127560||u===127568||u===127569||u>=127584&&u<=127589||u>=127744&&u<=127776||u>=127789&&u<=127797||u>=127799&&u<=127868||u>=127870&&u<=127891||u>=127904&&u<=127946||u>=127951&&u<=127955||u>=127968&&u<=127984||u===127988||u>=127992&&u<=128062||u===128064||u>=128066&&u<=128252||u>=128255&&u<=128317||u>=128331&&u<=128334||u>=128336&&u<=128359||u===128378||u===128405||u===128406||u===128420||u>=128507&&u<=128591||u>=128640&&u<=128709||u===128716||u>=128720&&u<=128722||u>=128725&&u<=128728||u>=128732&&u<=128735||u===128747||u===128748||u>=128756&&u<=128764||u>=128992&&u<=129003||u===129008||u>=129292&&u<=129338||u>=129340&&u<=129349||u>=129351&&u<=129535||u>=129648&&u<=129660||u>=129664&&u<=129674||u>=129678&&u<=129734||u===129736||u>=129741&&u<=129756||u>=129759&&u<=129770||u>=129775&&u<=129784||u>=131072&&u<=196605||u>=196608&&u<=262141}function rP(u){if(!Number.isSafeInteger(u))throw TypeError(`Expected a code point, got \`${typeof u}\`.`)}function Aq(u,{ambiguousAsWide:D=!1}={}){if(rP(u),iq(u)||Oq(u)||D&&wq(u))return 2;return 1}var Iq=E0(jq(),1),tP=new Intl.Segmenter,eP=/^\p{Default_Ignorable_Code_Point}$/u;function ID(u,D={}){if(typeof u!=="string"||u.length===0)return 0;let{ambiguousIsNarrow:F=!0,countAnsiEscapeCodes:$=!1}=D;if(!$)u=FF(u);if(u.length===0)return 0;let B=0,z={ambiguousAsWide:!F};for(let{segment:Z}of tP.segment(u)){let q=Z.codePointAt(0);if(q<=31||q>=127&&q<=159)continue;if(q>=8203&&q<=8207||q===65279)continue;if(q>=768&&q<=879||q>=6832&&q<=6911||q>=7616&&q<=7679||q>=8400&&q<=8447||q>=65056&&q<=65071)continue;if(q>=55296&&q<=57343)continue;if(q>=65024&&q<=65039)continue;if(eP.test(Z))continue;if(Iq.default().test(Z)){B+=2;continue}B+=Aq(q,z)}return B}var Eq=(u=0)=>(D)=>`\x1B[${D+u}m`,Cq=(u=0)=>(D)=>`\x1B[${38+u};5;${D}m`,Pq=(u=0)=>(D,F,$)=>`\x1B[${38+u};2;${D};${F};${$}m`,a0={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},B50=Object.keys(a0.modifier),uv=Object.keys(a0.color),Dv=Object.keys(a0.bgColor),z50=[...uv,...Dv];function Fv(){let u=new Map;for(let[D,F]of Object.entries(a0)){for(let[$,B]of Object.entries(F))a0[$]={open:`\x1B[${B[0]}m`,close:`\x1B[${B[1]}m`},F[$]=a0[$],u.set(B[0],B[1]);Object.defineProperty(a0,D,{value:F,enumerable:!1})}return Object.defineProperty(a0,"codes",{value:u,enumerable:!1}),a0.color.close="\x1B[39m",a0.bgColor.close="\x1B[49m",a0.color.ansi=Eq(),a0.color.ansi256=Cq(),a0.color.ansi16m=Pq(),a0.bgColor.ansi=Eq(10),a0.bgColor.ansi256=Cq(10),a0.bgColor.ansi16m=Pq(10),Object.defineProperties(a0,{rgbToAnsi256:{value(D,F,$){if(D===F&&F===$){if(D<8)return 16;if(D>248)return 231;return Math.round((D-8)/247*24)+232}return 16+36*Math.round(D/255*5)+6*Math.round(F/255*5)+Math.round($/255*5)},enumerable:!1},hexToRgb:{value(D){let F=/[a-f\d]{6}|[a-f\d]{3}/i.exec(D.toString(16));if(!F)return[0,0,0];let[$]=F;if($.length===3)$=[...$].map((z)=>z+z).join("");let B=Number.parseInt($,16);return[B>>16&255,B>>8&255,B&255]},enumerable:!1},hexToAnsi256:{value:(D)=>a0.rgbToAnsi256(...a0.hexToRgb(D)),enumerable:!1},ansi256ToAnsi:{value(D){if(D<8)return 30+D;if(D<16)return 90+(D-8);let F,$,B;if(D>=232)F=((D-232)*10+8)/255,$=F,B=F;else{D-=16;let q=D%36;F=Math.floor(D/36)/5,$=Math.floor(q/6)/5,B=q%6/5}let z=Math.max(F,$,B)*2;if(z===0)return 30;let Z=30+(Math.round(B)<<2|Math.round($)<<1|Math.round(F));if(z===2)Z+=60;return Z},enumerable:!1},rgbToAnsi:{value:(D,F,$)=>a0.ansi256ToAnsi(a0.rgbToAnsi256(D,F,$)),enumerable:!1},hexToAnsi:{value:(D)=>a0.ansi256ToAnsi(a0.hexToAnsi256(D)),enumerable:!1}}),a0}var $v=Fv(),vq=$v;var q7=new Set(["\x1B","›"]),Bv=39,H3="\x07",Sq="[",zv="]",Tq="m",Z7=`${zv}8;;`,_q=(u)=>`${q7.values().next().value}${Sq}${u}${Tq}`,Uq=(u)=>`${q7.values().next().value}${Z7}${u}${H3}`,Zv=(u)=>u.split(" ").map((D)=>ID(D)),x3=(u,D,F)=>{let $=[...D],B=!1,z=!1,Z=ID(FF(u.at(-1)));for(let[q,X]of $.entries()){let Q=ID(X);if(Z+Q<=F)u[u.length-1]+=X;else u.push(X),Z=0;if(q7.has(X))B=!0,z=$.slice(q+1,q+1+Z7.length).join("")===Z7;if(B){if(z){if(X===H3)B=!1,z=!1}else if(X===Tq)B=!1;continue}if(Z+=Q,Z===F&&q<$.length-1)u.push(""),Z=0}if(!Z&&u.at(-1).length>0&&u.length>1)u[u.length-2]+=u.pop()},qv=(u)=>{let D=u.split(" "),F=D.length;while(F>0){if(ID(D[F-1])>0)break;F--}if(F===D.length)return u;return D.slice(0,F).join(" ")+D.slice(F).join("")},Xv=(u,D,F={})=>{if(F.trim!==!1&&u.trim()==="")return"";let $="",B,z,Z=Zv(u),q=[""];for(let[W,J]of u.split(" ").entries()){if(F.trim!==!1)q[q.length-1]=q.at(-1).trimStart();let G=ID(q.at(-1));if(W!==0){if(G>=D&&(F.wordWrap===!1||F.trim===!1))q.push(""),G=0;if(G>0||F.trim===!1)q[q.length-1]+=" ",G++}if(F.hard&&Z[W]>D){let f=D-G,K=1+Math.floor((Z[W]-f-1)/D);if(Math.floor((Z[W]-1)/D)<K)q.push("");x3(q,J,D);continue}if(G+Z[W]>D&&G>0&&Z[W]>0){if(F.wordWrap===!1&&G<D){x3(q,J,D);continue}q.push("")}if(G+Z[W]>D&&F.wordWrap===!1){x3(q,J,D);continue}q[q.length-1]+=J}if(F.trim!==!1)q=q.map((W)=>qv(W));let X=q.join(`
96
+ `),Q=[...X],Y=0;for(let[W,J]of Q.entries()){if($+=J,q7.has(J)){let{groups:f}=new RegExp(`(?:\\${Sq}(?<code>\\d+)m|\\${Z7}(?<uri>.*)${H3})`).exec(X.slice(Y))||{groups:{}};if(f.code!==void 0){let K=Number.parseFloat(f.code);B=K===Bv?void 0:K}else if(f.uri!==void 0)z=f.uri.length===0?void 0:f.uri}let G=vq.codes.get(Number(B));if(Q[W+1]===`
97
+ `){if(z)$+=Uq("");if(B&&G)$+=_q(G)}else if(J===`
98
+ `){if(B&&G)$+=_q(B);if(z)$+=Uq(z)}Y+=J.length}return $};function V3(u,D,F){return String(u).normalize().replaceAll(`\r
99
+ `,`
100
+ `).split(`
101
+ `).map(($)=>Xv($,D,F)).join(`
102
+ `)}function L3(u){return Mq(u,{stringWidth:ID,stripAnsi:FF,wrap:V3})}import{dirname as yq,resolve as bq}from"path";import{readdirSync as Qv,statSync as Yv}from"fs";function M3(u,D){let F=bq(".",u),$;if(!Yv(F).isDirectory())F=yq(F);while(!0){if($=D(F,Qv(F)),$)return bq(F,$);if(F=yq($=F),$===F)break}}import{inspect as Cv}from"util";import{fileURLToPath as uX}from"url";import{format as Gv}from"util";import{normalize as fv,resolve as Kv}from"path";function $F(u){if(!(u!==u.toLowerCase()&&u!==u.toUpperCase()))u=u.toLowerCase();if(u.indexOf("-")===-1&&u.indexOf("_")===-1)return u;else{let F="",$=!1,B=u.match(/^-+/);for(let z=B?B[0].length:0;z<u.length;z++){let Z=u.charAt(z);if($)$=!1,Z=Z.toUpperCase();if(z!==0&&(Z==="-"||Z==="_"))$=!0;else if(Z!=="-"&&Z!=="_")F+=Z}return F}}function X7(u,D){let F=u.toLowerCase();D=D||"-";let $="";for(let B=0;B<u.length;B++){let z=F.charAt(B),Z=u.charAt(B);if(z!==Z&&B>0)$+=`${D}${F.charAt(B)}`;else $+=Z}return $}function Q7(u){if(u===null||u===void 0)return!1;if(typeof u==="number")return!0;if(/^0x[0-9a-f]+$/i.test(u))return!0;if(/^0[^.]/.test(u))return!1;return/^[-]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/.test(u)}function Rq(u){if(Array.isArray(u))return u.map((Z)=>typeof Z!=="string"?Z+"":Z);u=u.trim();let D=0,F=null,$=null,B=null,z=[];for(let Z=0;Z<u.length;Z++){if(F=$,$=u.charAt(Z),$===" "&&!B){if(F!==" ")D++;continue}if($===B)B=null;else if(($==="'"||$==='"')&&!B)B=$;if(!z[D])z[D]="";z[D]+=$}return z}var WD;(function(u){u.BOOLEAN="boolean",u.STRING="string",u.NUMBER="number",u.ARRAY="array"})(WD||(WD={}));var z1;class i3{constructor(u){z1=u}parse(u,D){let F=Object.assign({alias:void 0,array:void 0,boolean:void 0,config:void 0,configObjects:void 0,configuration:void 0,coerce:void 0,count:void 0,default:void 0,envPrefix:void 0,narg:void 0,normalize:void 0,string:void 0,number:void 0,__:void 0,key:void 0},D),$=Rq(u),B=typeof u==="string",z=Wv(Object.assign(Object.create(null),F.alias)),Z=Object.assign({"boolean-negation":!0,"camel-case-expansion":!0,"combine-arrays":!1,"dot-notation":!0,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"greedy-arrays":!0,"halt-at-non-option":!1,"nargs-eats-options":!1,"negation-prefix":"no-","parse-numbers":!0,"parse-positional-numbers":!0,"populate--":!1,"set-placeholder-key":!1,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,"unknown-options-as-args":!1},F.configuration),q=Object.assign(Object.create(null),F.default),X=F.configObjects||[],Q=F.envPrefix,Y=Z["populate--"],W=Y?"--":"_",J=Object.create(null),G=Object.create(null),f=F.__||z1.format,K={aliases:Object.create(null),arrays:Object.create(null),bools:Object.create(null),strings:Object.create(null),numbers:Object.create(null),counts:Object.create(null),normalize:Object.create(null),configs:Object.create(null),nargs:Object.create(null),coercions:Object.create(null),keys:[]},x=/^-([0-9]+(\.[0-9]+)?|\.[0-9]+)$/,M=new RegExp("^--"+Z["negation-prefix"]+"(.+)");if([].concat(F.array||[]).filter(Boolean).forEach(function(A){let v=typeof A==="object"?A.key:A,s=Object.keys(A).map(function(m){return{boolean:"bools",string:"strings",number:"numbers"}[m]}).filter(Boolean).pop();if(s)K[s][v]=!0;K.arrays[v]=!0,K.keys.push(v)}),[].concat(F.boolean||[]).filter(Boolean).forEach(function(A){K.bools[A]=!0,K.keys.push(A)}),[].concat(F.string||[]).filter(Boolean).forEach(function(A){K.strings[A]=!0,K.keys.push(A)}),[].concat(F.number||[]).filter(Boolean).forEach(function(A){K.numbers[A]=!0,K.keys.push(A)}),[].concat(F.count||[]).filter(Boolean).forEach(function(A){K.counts[A]=!0,K.keys.push(A)}),[].concat(F.normalize||[]).filter(Boolean).forEach(function(A){K.normalize[A]=!0,K.keys.push(A)}),typeof F.narg==="object")Object.entries(F.narg).forEach(([A,v])=>{if(typeof v==="number")K.nargs[A]=v,K.keys.push(A)});if(typeof F.coerce==="object")Object.entries(F.coerce).forEach(([A,v])=>{if(typeof v==="function")K.coercions[A]=v,K.keys.push(A)});if(typeof F.config<"u"){if(Array.isArray(F.config)||typeof F.config==="string")[].concat(F.config).filter(Boolean).forEach(function(A){K.configs[A]=!0});else if(typeof F.config==="object")Object.entries(F.config).forEach(([A,v])=>{if(typeof v==="boolean"||typeof v==="function")K.configs[A]=v})}j0(F.key,z,F.default,K.arrays),Object.keys(q).forEach(function(A){(K.aliases[A]||[]).forEach(function(v){q[v]=q[A]})});let L=null;c0();let j=[],U=Object.assign(Object.create(null),{_:[]}),I={};for(let A=0;A<$.length;A++){let v=$[A],s=v.replace(/^-{3,}/,"---"),m,T,Q0,$0,K0,Hu;if(v!=="--"&&/^-/.test(v)&&M0(v))S(v);else if(s.match(/^---+(=|$)/)){S(v);continue}else if(v.match(/^--.+=/)||!Z["short-option-groups"]&&v.match(/^-.+=/)){if($0=v.match(/^--?([^=]+)=([\s\S]*)$/),$0!==null&&Array.isArray($0)&&$0.length>=3)if(Z0($0[1],K.arrays))A=R(A,$0[1],$,$0[2]);else if(Z0($0[1],K.nargs)!==!1)A=k(A,$0[1],$,$0[2]);else h($0[1],$0[2],!0)}else if(v.match(M)&&Z["boolean-negation"]){if($0=v.match(M),$0!==null&&Array.isArray($0)&&$0.length>=2)T=$0[1],h(T,Z0(T,K.arrays)?[!1]:!1)}else if(v.match(/^--.+/)||!Z["short-option-groups"]&&v.match(/^-[^-]+/)){if($0=v.match(/^--?(.+)/),$0!==null&&Array.isArray($0)&&$0.length>=2)if(T=$0[1],Z0(T,K.arrays))A=R(A,T,$);else if(Z0(T,K.nargs)!==!1)A=k(A,T,$);else if(K0=$[A+1],K0!==void 0&&(!K0.match(/^-/)||K0.match(x))&&!Z0(T,K.bools)&&!Z0(T,K.counts))h(T,K0),A++;else if(/^(true|false)$/.test(K0))h(T,K0),A++;else h(T,p(T))}else if(v.match(/^-.\..+=/)){if($0=v.match(/^-([^=]+)=([\s\S]*)$/),$0!==null&&Array.isArray($0)&&$0.length>=3)h($0[1],$0[2])}else if(v.match(/^-.\..+/)&&!v.match(x)){if(K0=$[A+1],$0=v.match(/^-(.\..+)/),$0!==null&&Array.isArray($0)&&$0.length>=2)if(T=$0[1],K0!==void 0&&!K0.match(/^-/)&&!Z0(T,K.bools)&&!Z0(T,K.counts))h(T,K0),A++;else h(T,p(T))}else if(v.match(/^-[^-]+/)&&!v.match(x)){Q0=v.slice(1,-1).split(""),m=!1;for(let vu=0;vu<Q0.length;vu++){if(K0=v.slice(vu+2),Q0[vu+1]&&Q0[vu+1]==="="){if(Hu=v.slice(vu+3),T=Q0[vu],Z0(T,K.arrays))A=R(A,T,$,Hu);else if(Z0(T,K.nargs)!==!1)A=k(A,T,$,Hu);else h(T,Hu);m=!0;break}if(K0==="-"){h(Q0[vu],K0);continue}if(/[A-Za-z]/.test(Q0[vu])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(K0)&&Z0(K0,K.bools)===!1){h(Q0[vu],K0),m=!0;break}if(Q0[vu+1]&&Q0[vu+1].match(/\W/)){h(Q0[vu],K0),m=!0;break}else h(Q0[vu],p(Q0[vu]))}if(T=v.slice(-1)[0],!m&&T!=="-")if(Z0(T,K.arrays))A=R(A,T,$);else if(Z0(T,K.nargs)!==!1)A=k(A,T,$);else if(K0=$[A+1],K0!==void 0&&(!/^(-|--)[^-]/.test(K0)||K0.match(x))&&!Z0(T,K.bools)&&!Z0(T,K.counts))h(T,K0),A++;else if(/^(true|false)$/.test(K0))h(T,K0),A++;else h(T,p(T))}else if(v.match(/^-[0-9]$/)&&v.match(x)&&Z0(v.slice(1),K.bools))T=v.slice(1),h(T,p(T));else if(v==="--"){j=$.slice(A+1);break}else if(Z["halt-at-non-option"]){j=$.slice(A);break}else S(v)}if(P(U,!0),P(U,!1),n(U),C(),V0(U,K.aliases,q,!0),g(U),Z["set-placeholder-key"])r(U);if(Object.keys(K.counts).forEach(function(A){if(!t(U,A.split(".")))h(A,0)}),Y&&j.length)U[W]=[];if(j.forEach(function(A){U[W].push(A)}),Z["camel-case-expansion"]&&Z["strip-dashed"])Object.keys(U).filter((A)=>A!=="--"&&A.includes("-")).forEach((A)=>{delete U[A]});if(Z["strip-aliased"])[].concat(...Object.keys(z).map((A)=>z[A])).forEach((A)=>{if(Z["camel-case-expansion"]&&A.includes("-"))delete U[A.split(".").map((v)=>$F(v)).join(".")];delete U[A]});function S(A){let v=c("_",A);if(typeof v==="string"||typeof v==="number")U._.push(v)}function k(A,v,s,m){let T,Q0=Z0(v,K.nargs);if(Q0=typeof Q0!=="number"||isNaN(Q0)?1:Q0,Q0===0){if(!W0(m))L=Error(f("Argument unexpected for: %s",v));return h(v,p(v)),A}let $0=W0(m)?0:1;if(Z["nargs-eats-options"]){if(s.length-(A+1)+$0<Q0)L=Error(f("Not enough arguments following: %s",v));$0=Q0}else{for(T=A+1;T<s.length;T++)if(!s[T].match(/^-[^0-9]/)||s[T].match(x)||M0(s[T]))$0++;else break;if($0<Q0)L=Error(f("Not enough arguments following: %s",v))}let K0=Math.min($0,Q0);if(!W0(m)&&K0>0)h(v,m),K0--;for(T=A+1;T<K0+A+1;T++)h(v,s[T]);return A+K0}function R(A,v,s,m){let T=[],Q0=m||s[A+1],$0=Z0(v,K.nargs);if(Z0(v,K.bools)&&!/^(true|false)$/.test(Q0))T.push(!0);else if(W0(Q0)||W0(m)&&/^-/.test(Q0)&&!x.test(Q0)&&!M0(Q0)){if(q[v]!==void 0){let K0=q[v];T=Array.isArray(K0)?K0:[K0]}}else{if(!W0(m))T.push(O(v,m,!0));for(let K0=A+1;K0<s.length;K0++){if(!Z["greedy-arrays"]&&T.length>0||$0&&typeof $0==="number"&&T.length>=$0)break;if(Q0=s[K0],/^-/.test(Q0)&&!x.test(Q0)&&!M0(Q0))break;A=K0,T.push(O(v,Q0,B))}}if(typeof $0==="number"&&($0&&T.length<$0||isNaN($0)&&T.length===0))L=Error(f("Not enough arguments following: %s",v));return h(v,T),A}function h(A,v,s=B){if(/-/.test(A)&&Z["camel-case-expansion"]){let Q0=A.split(".").map(function($0){return $F($0)}).join(".");F0(A,Q0)}let m=O(A,v,s),T=A.split(".");if(e(U,T,m),K.aliases[A])K.aliases[A].forEach(function(Q0){let $0=Q0.split(".");e(U,$0,m)});if(T.length>1&&Z["dot-notation"])(K.aliases[T[0]]||[]).forEach(function(Q0){let $0=Q0.split("."),K0=[].concat(T);if(K0.shift(),$0=$0.concat(K0),!(K.aliases[A]||[]).includes($0.join(".")))e(U,$0,m)});if(Z0(A,K.normalize)&&!Z0(A,K.arrays))[A].concat(K.aliases[A]||[]).forEach(function($0){Object.defineProperty(I,$0,{enumerable:!0,get(){return v},set(K0){v=typeof K0==="string"?z1.normalize(K0):K0}})})}function F0(A,v){if(!(K.aliases[A]&&K.aliases[A].length))K.aliases[A]=[v],J[v]=!0;if(!(K.aliases[v]&&K.aliases[v].length))F0(v,A)}function O(A,v,s){if(s)v=Jv(v);if(Z0(A,K.bools)||Z0(A,K.counts)){if(typeof v==="string")v=v==="true"}let m=Array.isArray(v)?v.map(function(T){return c(A,T)}):c(A,v);if(Z0(A,K.counts)&&(W0(m)||typeof m==="boolean"))m=w3();if(Z0(A,K.normalize)&&Z0(A,K.arrays))if(Array.isArray(v))m=v.map((T)=>{return z1.normalize(T)});else m=z1.normalize(v);return m}function c(A,v){if(!Z["parse-positional-numbers"]&&A==="_")return v;if(!Z0(A,K.strings)&&!Z0(A,K.bools)&&!Array.isArray(v)){if(Q7(v)&&Z["parse-numbers"]&&Number.isSafeInteger(Math.floor(parseFloat(`${v}`)))||!W0(v)&&Z0(A,K.numbers))v=Number(v)}return v}function n(A){let v=Object.create(null);V0(v,K.aliases,q),Object.keys(K.configs).forEach(function(s){let m=A[s]||v[s];if(m)try{let T=null,Q0=z1.resolve(z1.cwd(),m),$0=K.configs[s];if(typeof $0==="function"){try{T=$0(Q0)}catch(K0){T=K0}if(T instanceof Error){L=T;return}}else T=z1.require(Q0);a(T)}catch(T){if(T.name==="PermissionDenied")L=T;else if(A[s])L=Error(f("Invalid JSON config file: %s",m))}})}function a(A,v){Object.keys(A).forEach(function(s){let m=A[s],T=v?v+"."+s:s;if(typeof m==="object"&&m!==null&&!Array.isArray(m)&&Z["dot-notation"])a(m,T);else if(!t(U,T.split("."))||Z0(T,K.arrays)&&Z["combine-arrays"])h(T,m)})}function C(){if(typeof X<"u")X.forEach(function(A){a(A)})}function P(A,v){if(typeof Q>"u")return;let s=typeof Q==="string"?Q:"",m=z1.env();Object.keys(m).forEach(function(T){if(s===""||T.lastIndexOf(s,0)===0){let Q0=T.split("__").map(function($0,K0){if(K0===0)$0=$0.substring(s.length);return $F($0)});if((v&&K.configs[Q0.join(".")]||!v)&&!t(A,Q0))h(Q0.join("."),m[T])}})}function g(A){let v,s=new Set;Object.keys(A).forEach(function(m){if(!s.has(m)){if(v=Z0(m,K.coercions),typeof v==="function")try{let T=c(m,v(A[m]));[].concat(K.aliases[m]||[],m).forEach((Q0)=>{s.add(Q0),A[Q0]=T})}catch(T){L=T}}})}function r(A){return K.keys.forEach((v)=>{if(~v.indexOf("."))return;if(typeof A[v]>"u")A[v]=void 0}),A}function V0(A,v,s,m=!1){Object.keys(s).forEach(function(T){if(!t(A,T.split("."))){if(e(A,T.split("."),s[T]),m)G[T]=!0;(v[T]||[]).forEach(function(Q0){if(t(A,Q0.split(".")))return;e(A,Q0.split("."),s[T])})}})}function t(A,v){let s=A;if(!Z["dot-notation"])v=[v.join(".")];v.slice(0,-1).forEach(function(T){s=s[T]||{}});let m=v[v.length-1];if(typeof s!=="object")return!1;else return m in s}function e(A,v,s){let m=A;if(!Z["dot-notation"])v=[v.join(".")];v.slice(0,-1).forEach(function(Hu){if(Hu=kq(Hu),typeof m==="object"&&m[Hu]===void 0)m[Hu]={};if(typeof m[Hu]!=="object"||Array.isArray(m[Hu])){if(Array.isArray(m[Hu]))m[Hu].push({});else m[Hu]=[m[Hu],{}];m=m[Hu][m[Hu].length-1]}else m=m[Hu]});let T=kq(v[v.length-1]),Q0=Z0(v.join("."),K.arrays),$0=Array.isArray(s),K0=Z["duplicate-arguments-array"];if(!K0&&Z0(T,K.nargs)){if(K0=!0,!W0(m[T])&&K.nargs[T]===1||Array.isArray(m[T])&&m[T].length===K.nargs[T])m[T]=void 0}if(s===w3())m[T]=w3(m[T]);else if(Array.isArray(m[T]))if(K0&&Q0&&$0)m[T]=Z["flatten-duplicate-arrays"]?m[T].concat(s):(Array.isArray(m[T][0])?m[T]:[m[T]]).concat([s]);else if(!K0&&Boolean(Q0)===Boolean($0))m[T]=s;else m[T]=m[T].concat([s]);else if(m[T]===void 0&&Q0)m[T]=$0?s:[s];else if(K0&&!(m[T]===void 0||Z0(T,K.counts)||Z0(T,K.bools)))m[T]=[m[T],s];else m[T]=s}function j0(...A){A.forEach(function(v){Object.keys(v||{}).forEach(function(s){if(K.aliases[s])return;K.aliases[s]=[].concat(z[s]||[]),K.aliases[s].concat(s).forEach(function(m){if(/-/.test(m)&&Z["camel-case-expansion"]){let T=$F(m);if(T!==s&&K.aliases[s].indexOf(T)===-1)K.aliases[s].push(T),J[T]=!0}}),K.aliases[s].concat(s).forEach(function(m){if(m.length>1&&/[A-Z]/.test(m)&&Z["camel-case-expansion"]){let T=X7(m,"-");if(T!==s&&K.aliases[s].indexOf(T)===-1)K.aliases[s].push(T),J[T]=!0}}),K.aliases[s].forEach(function(m){K.aliases[m]=[s].concat(K.aliases[s].filter(function(T){return m!==T}))})})})}function Z0(A,v){let s=[].concat(K.aliases[A]||[],A),m=Object.keys(v),T=s.find((Q0)=>m.includes(Q0));return T?v[T]:!1}function b0(A){let v=Object.keys(K);return[].concat(v.map((m)=>K[m])).some(function(m){return Array.isArray(m)?m.includes(A):m[A]})}function $u(A,...v){return[].concat(...v).some(function(m){let T=A.match(m);return T&&b0(T[1])})}function d(A){if(A.match(x)||!A.match(/^-[^-]+/))return!1;let v=!0,s,m=A.slice(1).split("");for(let T=0;T<m.length;T++){if(s=A.slice(T+2),!b0(m[T])){v=!1;break}if(m[T+1]&&m[T+1]==="="||s==="-"||/[A-Za-z]/.test(m[T])&&/^-?\d+(\.\d*)?(e-?\d+)?$/.test(s)||m[T+1]&&m[T+1].match(/\W/))break}return v}function M0(A){return Z["unknown-options-as-args"]&&m0(A)}function m0(A){if(A=A.replace(/^-{3,}/,"--"),A.match(x))return!1;if(d(A))return!1;return!$u(A,/^-+([^=]+?)=[\s\S]*$/,M,/^-+([^=]+?)$/,/^-+([^=]+?)-$/,/^-+([^=]+?\d+)$/,/^-+([^=]+?)\W+.*$/)}function p(A){if(!Z0(A,K.bools)&&!Z0(A,K.counts)&&`${A}`in q)return q[A];else return Y0(l(A))}function Y0(A){return{[WD.BOOLEAN]:!0,[WD.STRING]:"",[WD.NUMBER]:void 0,[WD.ARRAY]:[]}[A]}function l(A){let v=WD.BOOLEAN;if(Z0(A,K.strings))v=WD.STRING;else if(Z0(A,K.numbers))v=WD.NUMBER;else if(Z0(A,K.bools))v=WD.BOOLEAN;else if(Z0(A,K.arrays))v=WD.ARRAY;return v}function W0(A){return A===void 0}function c0(){Object.keys(K.counts).find((A)=>{if(Z0(A,K.arrays))return L=Error(f("Invalid configuration: %s, opts.count excludes opts.array.",A)),!0;else if(Z0(A,K.nargs))return L=Error(f("Invalid configuration: %s, opts.count excludes opts.narg.",A)),!0;return!1})}return{aliases:Object.assign({},K.aliases),argv:Object.assign(I,U),configuration:Z,defaulted:Object.assign({},G),error:L,newAliases:Object.assign({},J)}}}function Wv(u){let D=[],F=Object.create(null),$=!0;Object.keys(u).forEach(function(B){D.push([].concat(u[B],B))});while($){$=!1;for(let B=0;B<D.length;B++)for(let z=B+1;z<D.length;z++)if(D[B].filter(function(q){return D[z].indexOf(q)!==-1}).length){D[B]=D[B].concat(D[z]),D.splice(z,1),$=!0;break}}return D.forEach(function(B){B=B.filter(function(Z,q,X){return X.indexOf(Z)===q});let z=B.pop();if(z!==void 0&&typeof z==="string")F[z]=B}),F}function w3(u){return u!==void 0?u+1:1}function kq(u){if(u==="__proto__")return"___proto___";return u}function Jv(u){return typeof u==="string"&&(u[0]==="'"||u[0]==='"')&&u[u.length-1]===u[0]?u.substring(1,u.length-1):u}import{readFileSync as xv}from"fs";import{createRequire as cq}from"node:module";var O3,A3,N3,hq=process&&process.env&&process.env.YARGS_MIN_NODE_VERSION?Number(process.env.YARGS_MIN_NODE_VERSION):20,mq=(A3=(O3=process===null||process===void 0?void 0:process.versions)===null||O3===void 0?void 0:O3.node)!==null&&A3!==void 0?A3:(N3=process===null||process===void 0?void 0:process.version)===null||N3===void 0?void 0:N3.slice(1);if(mq){if(Number(mq.match(/^([^.]+)/)[1])<hq)throw Error(`yargs parser supports a minimum Node.js version of ${hq}. Read our version support policy: https://github.com/yargs/yargs-parser#supported-nodejs-versions`)}var Hv=process?process.env:{},nq=cq?cq(import.meta.url):void 0,pq=new i3({cwd:process.cwd,env:()=>{return Hv},format:Gv,normalize:fv,resolve:Kv,require:(u)=>{if(typeof nq<"u")return nq(u);else if(u.match(/\.json$/))return JSON.parse(xv(u,"utf8"));else throw Error("only .json config files are supported in ESM")}}),Z8=function(D,F){return pq.parse(D.slice(),F).argv};Z8.detailed=function(u,D){return pq.parse(u.slice(),D)};Z8.camelCase=$F;Z8.decamelize=X7;Z8.looksLikeNumber=Q7;var lq=Z8;import{basename as Pv,dirname as vv,extname as _v,relative as Uv,resolve as eq,join as Sv}from"path";function Vv(){if(Lv())return 0;return 1}function Lv(){return Mv()&&!process.defaultApp}function Mv(){return!!process.versions.electron}function dq(){return process.argv[Vv()]}import{readFileSync as wv,statSync as iv,writeFile as Ov}from"fs";import{format as Av}from"util";import{resolve as Nv}from"path";var gq={fs:{readFileSync:wv,writeFile:Ov},format:Av,resolve:Nv,exists:(u)=>{try{return iv(u).isFile()}catch(D){return!1}}};var ED;class oq{constructor(u){u=u||{},this.directory=u.directory||"./locales",this.updateFiles=typeof u.updateFiles==="boolean"?u.updateFiles:!0,this.locale=u.locale||"en",this.fallbackToLanguage=typeof u.fallbackToLanguage==="boolean"?u.fallbackToLanguage:!0,this.cache=Object.create(null),this.writeQueue=[]}__(...u){if(typeof arguments[0]!=="string")return this._taggedLiteral(arguments[0],...arguments);let D=u.shift(),F=function(){};if(typeof u[u.length-1]==="function")F=u.pop();if(F=F||function(){},!this.cache[this.locale])this._readLocaleFile();if(!this.cache[this.locale][D]&&this.updateFiles)this.cache[this.locale][D]=D,this._enqueueWrite({directory:this.directory,locale:this.locale,cb:F});else F();return ED.format.apply(ED.format,[this.cache[this.locale][D]||D].concat(u))}__n(){let u=Array.prototype.slice.call(arguments),D=u.shift(),F=u.shift(),$=u.shift(),B=function(){};if(typeof u[u.length-1]==="function")B=u.pop();if(!this.cache[this.locale])this._readLocaleFile();let z=$===1?D:F;if(this.cache[this.locale][D])z=this.cache[this.locale][D][$===1?"one":"other"];if(!this.cache[this.locale][D]&&this.updateFiles)this.cache[this.locale][D]={one:D,other:F},this._enqueueWrite({directory:this.directory,locale:this.locale,cb:B});else B();let Z=[z];if(~z.indexOf("%d"))Z.push($);return ED.format.apply(ED.format,Z.concat(u))}setLocale(u){this.locale=u}getLocale(){return this.locale}updateLocale(u){if(!this.cache[this.locale])this._readLocaleFile();for(let D in u)if(Object.prototype.hasOwnProperty.call(u,D))this.cache[this.locale][D]=u[D]}_taggedLiteral(u,...D){let F="";return u.forEach(function($,B){let z=D[B+1];if(F+=$,typeof z<"u")F+="%s"}),this.__.apply(this,[F].concat([].slice.call(D,1)))}_enqueueWrite(u){if(this.writeQueue.push(u),this.writeQueue.length===1)this._processWriteQueue()}_processWriteQueue(){let u=this,D=this.writeQueue[0],F=D.directory,$=D.locale,B=D.cb,z=this._resolveLocaleFile(F,$),Z=JSON.stringify(this.cache[$],null,2);ED.fs.writeFile(z,Z,"utf-8",function(q){if(u.writeQueue.shift(),u.writeQueue.length>0)u._processWriteQueue();B(q)})}_readLocaleFile(){let u={},D=this._resolveLocaleFile(this.directory,this.locale);try{if(ED.fs.readFileSync)u=JSON.parse(ED.fs.readFileSync(D,"utf-8"))}catch(F){if(F instanceof SyntaxError)F.message="syntax error in "+D;if(F.code==="ENOENT")u={};else throw F}this.cache[this.locale]=u}_resolveLocaleFile(u,D){let F=ED.resolve(u,"./",D+".json");if(this.fallbackToLanguage&&!this._fileExistsSync(F)&&~D.lastIndexOf("_")){let $=ED.resolve(u,"./",D.split("_")[0]+".json");if(this._fileExistsSync($))F=$}return F}_fileExistsSync(u){return ED.exists(u)}}function sq(u,D){ED=D;let F=new oq(u);return{__:F.__.bind(F),__n:F.__n.bind(F),setLocale:F.setLocale.bind(F),getLocale:F.getLocale.bind(F),updateLocale:F.updateLocale.bind(F),locale:F.locale}}var jv=(u)=>{return sq(u,gq)},aq=jv;var DX=E0(tq(),1);import{createRequire as Tv}from"node:module";import{readFileSync as yv,readdirSync as bv}from"node:fs";var j3=uX(import.meta.url),Rv=j3.substring(0,j3.lastIndexOf("node_modules")),kv=Tv(import.meta.url),FX={assert:{notStrictEqual:Iv,strictEqual:Ev},cliui:L3,findUp:M3,getEnv:(u)=>{return process.env[u]},inspect:Cv,getProcessArgvBin:dq,mainFilename:Rv||process.cwd(),Parser:lq,path:{basename:Pv,dirname:vv,extname:_v,relative:Uv,resolve:eq,join:Sv},process:{argv:()=>process.argv,cwd:process.cwd,emitWarning:(u,D)=>process.emitWarning(u,D),execPath:()=>process.execPath,exit:(u)=>{process.exit(u)},nextTick:process.nextTick,stdColumns:typeof process.stdout.columns<"u"?process.stdout.columns:null},readFileSync:yv,readdirSync:bv,require:kv,getCallerFile:()=>{let u=DX.default(3);return u.match(/^file:\/\//)?uX(u):u},stringWidth:ID,y18n:aq({directory:eq(j3,"../../../locales"),updateFiles:!1})};function _u(u,D,F,$){F.assert.notStrictEqual(u,D,$)}function I3(u,D){D.assert.strictEqual(typeof u,"string")}function sF(u){return Object.keys(u)}function p0(u){return!!u&&!!u.then&&typeof u.then==="function"}class qu extends Error{constructor(u){super(u||"yargs error");if(this.name="YError",Error.captureStackTrace)Error.captureStackTrace(this,qu)}}function i1(u){let F=u.replace(/\s{2,}/g," ").split(/\s+(?![^[]*]|[^<]*>)/),$=/\.*[\][<>]/g,B=F.shift();if(!B)throw Error(`No command found in: ${u}`);let z={cmd:B.replace($,""),demanded:[],optional:[]};return F.forEach((Z,q)=>{let X=!1;if(Z=Z.replace(/\s/g,""),/\.+[\]>]/.test(Z)&&q===F.length-1)X=!0;if(/^\[/.test(Z))z.optional.push({cmd:Z.replace($,"").split("|"),variadic:X});else z.demanded.push({cmd:Z.replace($,"").split("|"),variadic:X})}),z}var cv=["first","second","third","fourth","fifth","sixth"];function q0(u,D,F){function $(){return typeof u==="object"?[{demanded:[],optional:[]},u,D]:[i1(`cmd ${u}`),D,F]}try{let B=0,[z,Z,q]=$(),X=[].slice.call(Z);while(X.length&&X[X.length-1]===void 0)X.pop();let Q=q||X.length;if(Q<z.demanded.length)throw new qu(`Not enough arguments provided. Expected ${z.demanded.length} but received ${X.length}.`);let Y=z.demanded.length+z.optional.length;if(Q>Y)throw new qu(`Too many arguments provided. Expected max ${Y} but received ${Q}.`);z.demanded.forEach((W)=>{let J=X.shift(),G=$X(J);if(W.cmd.filter((K)=>K===G||K==="*").length===0)BX(G,W.cmd,B);B+=1}),z.optional.forEach((W)=>{if(X.length===0)return;let J=X.shift(),G=$X(J);if(W.cmd.filter((K)=>K===G||K==="*").length===0)BX(G,W.cmd,B);B+=1})}catch(B){console.warn(B.stack)}}function $X(u){if(Array.isArray(u))return"array";else if(u===null)return"null";return typeof u}function BX(u,D,F){throw new qu(`Invalid ${cv[F]||"manyith"} argument. Expected ${D.join(" or ")} but received ${u}.`)}class E3{constructor(u){this.globalMiddleware=[],this.frozens=[],this.yargs=u}addMiddleware(u,D,F=!0,$=!1){if(q0("<array|function> [boolean] [boolean] [boolean]",[u,D,F],arguments.length),Array.isArray(u)){for(let B=0;B<u.length;B++){if(typeof u[B]!=="function")throw Error("middleware must be a function");let z=u[B];z.applyBeforeValidation=D,z.global=F}Array.prototype.push.apply(this.globalMiddleware,u)}else if(typeof u==="function"){let B=u;B.applyBeforeValidation=D,B.global=F,B.mutates=$,this.globalMiddleware.push(u)}return this.yargs}addCoerceMiddleware(u,D){let F=this.yargs.getAliases();return this.globalMiddleware=this.globalMiddleware.filter(($)=>{let B=[...F[D]||[],D];if(!$.option)return!0;else return!B.includes($.option)}),u.option=D,this.addMiddleware(u,!0,!0,!0)}getMiddleware(){return this.globalMiddleware}freeze(){this.frozens.push([...this.globalMiddleware])}unfreeze(){let u=this.frozens.pop();if(u!==void 0)this.globalMiddleware=u}reset(){this.globalMiddleware=this.globalMiddleware.filter((u)=>u.global)}}function zX(u){if(!u)return[];return u.map((D)=>{return D.applyBeforeValidation=!1,D})}function BF(u,D,F,$){return F.reduce((B,z)=>{if(z.applyBeforeValidation!==$)return B;if(z.mutates){if(z.applied)return B;z.applied=!0}if(p0(B))return B.then((Z)=>Promise.all([Z,z(Z,D)])).then(([Z,q])=>Object.assign(Z,q));else{let Z=z(B,D);return p0(Z)?Z.then((q)=>Object.assign(B,q)):Object.assign(B,Z)}},u)}function zF(u,D,F=($)=>{throw $}){try{let $=hv(u)?u():u;return p0($)?$.then((B)=>D(B)):D($)}catch($){return F($)}}function hv(u){return typeof u==="function"}var aF=/(^\*)|(^\$0)/;class qX{constructor(u,D,F,$){this.requireCache=new Set,this.handlers={},this.aliasMap={},this.frozens=[],this.shim=$,this.usage=u,this.globalMiddleware=F,this.validation=D}addDirectory(u,D,F,$){$=$||{},this.requireCache.add(F);let B=this.shim.path.resolve(this.shim.path.dirname(F),u),z=this.shim.readdirSync(B,{recursive:$.recurse?!0:!1});if(!Array.isArray($.extensions))$.extensions=["js"];let Z=typeof $.visit==="function"?$.visit:(q)=>q;for(let q of z){let X=q.toString();if($.exclude){let Y=!1;if(typeof $.exclude==="function")Y=$.exclude(X);else Y=$.exclude.test(X);if(Y)continue}if($.include){let Y=!1;if(typeof $.include==="function")Y=$.include(X);else Y=$.include.test(X);if(!Y)continue}let Q=!1;for(let Y of $.extensions)if(X.endsWith(Y))Q=!0;if(Q){let Y=this.shim.path.join(B,X),W=D(Y),J=Object.create(null,Object.getOwnPropertyDescriptors({...W}));if(Z(J,Y,X)){if(this.requireCache.has(Y))continue;else this.requireCache.add(Y);if(!J.command)J.command=this.shim.path.basename(Y,this.shim.path.extname(Y));this.addHandler(J)}}}}addHandler(u,D,F,$,B,z){let Z=[],q=zX(B);if($=$||(()=>{}),Array.isArray(u))if(mv(u))[u,...Z]=u;else for(let X of u)this.addHandler(X);else if(pv(u)){let X=Array.isArray(u.command)||typeof u.command==="string"?u.command:null;if(X===null)throw Error(`No command name given for module: ${this.shim.inspect(u)}`);if(u.aliases)X=[].concat(X).concat(u.aliases);this.addHandler(X,this.extractDesc(u),u.builder,u.handler,u.middlewares,u.deprecated);return}else if(ZX(F)){this.addHandler([u].concat(Z),D,F.builder,F.handler,F.middlewares,F.deprecated);return}if(typeof u==="string"){let X=i1(u);Z=Z.map((W)=>i1(W).cmd);let Q=!1,Y=[X.cmd].concat(Z).filter((W)=>{if(aF.test(W))return Q=!0,!1;return!0});if(Y.length===0&&Q)Y.push("$0");if(Q)X.cmd=Y[0],Z=Y.slice(1),u=u.replace(aF,X.cmd);if(Z.forEach((W)=>{this.aliasMap[W]=X.cmd}),D!==!1)this.usage.command(u,D,Q,Z,z);if(this.handlers[X.cmd]={original:u,description:D,handler:$,builder:F||{},middlewares:q,deprecated:z,demanded:X.demanded,optional:X.optional},Q)this.defaultCommand=this.handlers[X.cmd]}}getCommandHandlers(){return this.handlers}getCommands(){return Object.keys(this.handlers).concat(Object.keys(this.aliasMap))}hasDefaultCommand(){return!!this.defaultCommand}runCommand(u,D,F,$,B,z){let Z=this.handlers[u]||this.handlers[this.aliasMap[u]]||this.defaultCommand,q=D.getInternalMethods().getContext(),X=q.commands.slice(),Q=!u;if(u)q.commands.push(u),q.fullCommands.push(Z.original);let Y=this.applyBuilderUpdateUsageAndParse(Q,Z,D,F.aliases,X,$,B,z);return p0(Y)?Y.then((W)=>this.applyMiddlewareAndGetResult(Q,Z,W.innerArgv,q,B,W.aliases,D)):this.applyMiddlewareAndGetResult(Q,Z,Y.innerArgv,q,B,Y.aliases,D)}applyBuilderUpdateUsageAndParse(u,D,F,$,B,z,Z,q){let X=D.builder,Q=F;if(Y7(X)){F.getInternalMethods().getUsageInstance().freeze();let Y=X(F.getInternalMethods().reset($),q);if(p0(Y))return Y.then((W)=>{return Q=QX(W)?W:F,this.parseAndUpdateUsage(u,D,Q,B,z,Z)})}else if(nv(X))F.getInternalMethods().getUsageInstance().freeze(),Q=F.getInternalMethods().reset($),Object.keys(D.builder).forEach((Y)=>{Q.option(Y,X[Y])});return this.parseAndUpdateUsage(u,D,Q,B,z,Z)}parseAndUpdateUsage(u,D,F,$,B,z){if(u)F.getInternalMethods().getUsageInstance().unfreeze(!0);if(this.shouldUpdateUsage(F))F.getInternalMethods().getUsageInstance().usage(this.usageFromParentCommandsCommandHandler($,D),D.description);let Z=F.getInternalMethods().runYargsParserAndExecuteCommands(null,void 0,!0,B,z);return p0(Z)?Z.then((q)=>({aliases:F.parsed.aliases,innerArgv:q})):{aliases:F.parsed.aliases,innerArgv:Z}}shouldUpdateUsage(u){return!u.getInternalMethods().getUsageInstance().getUsageDisabled()&&u.getInternalMethods().getUsageInstance().getUsage().length===0}usageFromParentCommandsCommandHandler(u,D){let F=aF.test(D.original)?D.original.replace(aF,"").trim():D.original,$=u.filter((B)=>{return!aF.test(B)});return $.push(F),`$0 ${$.join(" ")}`}handleValidationAndGetResult(u,D,F,$,B,z,Z,q){if(!z.getInternalMethods().getHasOutput()){let X=z.getInternalMethods().runValidation(B,q,z.parsed.error,u);F=zF(F,(Q)=>{return X(Q),Q})}if(D.handler&&!z.getInternalMethods().getHasOutput()){z.getInternalMethods().setHasOutput();let X=!!z.getOptions().configuration["populate--"];if(z.getInternalMethods().postProcess(F,X,!1,!1),F=BF(F,z,Z,!1),F=zF(F,(Q)=>{let Y=D.handler(Q);return p0(Y)?Y.then(()=>Q):Q}),!u)z.getInternalMethods().getUsageInstance().cacheHelpMessage();if(p0(F)&&!z.getInternalMethods().hasParseCallback())F.catch((Q)=>{try{z.getInternalMethods().getUsageInstance().fail(null,Q)}catch(Y){}})}if(!u)$.commands.pop(),$.fullCommands.pop();return F}applyMiddlewareAndGetResult(u,D,F,$,B,z,Z){let q={};if(B)return F;if(!Z.getInternalMethods().getHasOutput())q=this.populatePositionals(D,F,$,Z);let X=this.globalMiddleware.getMiddleware().slice(0).concat(D.middlewares),Q=BF(F,Z,X,!0);return p0(Q)?Q.then((Y)=>this.handleValidationAndGetResult(u,D,Y,$,z,Z,X,q)):this.handleValidationAndGetResult(u,D,Q,$,z,Z,X,q)}populatePositionals(u,D,F,$){D._=D._.slice(F.commands.length);let B=u.demanded.slice(0),z=u.optional.slice(0),Z={};this.validation.positionalCount(B.length,D._.length);while(B.length){let q=B.shift();this.populatePositional(q,D,Z)}while(z.length){let q=z.shift();this.populatePositional(q,D,Z)}return D._=F.commands.concat(D._.map((q)=>""+q)),this.postProcessPositionals(D,Z,this.cmdToParseOptions(u.original),$),Z}populatePositional(u,D,F){let $=u.cmd[0];if(u.variadic)F[$]=D._.splice(0).map(String);else if(D._.length)F[$]=[String(D._.shift())]}cmdToParseOptions(u){let D={array:[],default:{},alias:{},demand:{}},F=i1(u);return F.demanded.forEach(($)=>{let[B,...z]=$.cmd;if($.variadic)D.array.push(B),D.default[B]=[];D.alias[B]=z,D.demand[B]=!0}),F.optional.forEach(($)=>{let[B,...z]=$.cmd;if($.variadic)D.array.push(B),D.default[B]=[];D.alias[B]=z}),D}postProcessPositionals(u,D,F,$){let B=Object.assign({},$.getOptions());B.default=Object.assign(F.default,B.default);for(let X of Object.keys(F.alias))B.alias[X]=(B.alias[X]||[]).concat(F.alias[X]);B.array=B.array.concat(F.array),B.config={};let z=[];if(Object.keys(D).forEach((X)=>{D[X].map((Q)=>{if(B.configuration["unknown-options-as-args"])B.key[X]=!0;z.push(`--${X}`),z.push(Q)})}),!z.length)return;let Z=Object.assign({},B.configuration,{"populate--":!1}),q=this.shim.Parser.detailed(z,Object.assign({},B,{configuration:Z}));if(q.error)$.getInternalMethods().getUsageInstance().fail(q.error.message,q.error);else{let X=Object.keys(D);Object.keys(D).forEach((Q)=>{X.push(...q.aliases[Q])}),Object.keys(q.argv).forEach((Q)=>{if(X.includes(Q)){if(!D[Q])D[Q]=q.argv[Q];if(!this.isInConfigs($,Q)&&!this.isDefaulted($,Q)&&Object.prototype.hasOwnProperty.call(u,Q)&&Object.prototype.hasOwnProperty.call(q.argv,Q)&&(Array.isArray(u[Q])||Array.isArray(q.argv[Q])))u[Q]=[].concat(u[Q],q.argv[Q]);else u[Q]=q.argv[Q]}})}}isDefaulted(u,D){let{default:F}=u.getOptions();return Object.prototype.hasOwnProperty.call(F,D)||Object.prototype.hasOwnProperty.call(F,this.shim.Parser.camelCase(D))}isInConfigs(u,D){let{configObjects:F}=u.getOptions();return F.some(($)=>Object.prototype.hasOwnProperty.call($,D))||F.some(($)=>Object.prototype.hasOwnProperty.call($,this.shim.Parser.camelCase(D)))}runDefaultBuilderOn(u){if(!this.defaultCommand)return;if(this.shouldUpdateUsage(u)){let F=aF.test(this.defaultCommand.original)?this.defaultCommand.original:this.defaultCommand.original.replace(/^[^[\]<>]*/,"$0 ");u.getInternalMethods().getUsageInstance().usage(F,this.defaultCommand.description)}let D=this.defaultCommand.builder;if(Y7(D))return D(u,!0);else if(!ZX(D))Object.keys(D).forEach((F)=>{u.option(F,D[F])});return}extractDesc({describe:u,description:D,desc:F}){for(let $ of[u,D,F]){if(typeof $==="string"||$===!1)return $;_u($,!0,this.shim)}return!1}freeze(){this.frozens.push({handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand})}unfreeze(){let u=this.frozens.pop();_u(u,void 0,this.shim),{handlers:this.handlers,aliasMap:this.aliasMap,defaultCommand:this.defaultCommand}=u}reset(){return this.handlers={},this.aliasMap={},this.defaultCommand=void 0,this.requireCache=new Set,this}}function XX(u,D,F,$){return new qX(u,D,F,$)}function ZX(u){return typeof u==="object"&&!!u.builder&&typeof u.handler==="function"}function mv(u){return u.every((D)=>typeof D==="string")}function Y7(u){return typeof u==="function"}function nv(u){return typeof u==="object"}function pv(u){return typeof u==="object"&&!Array.isArray(u)}function O1(u={},D=()=>!0){let F={};return sF(u).forEach(($)=>{if(D($,u[$]))F[$]=u[$]}),F}function A1(u){if(typeof process>"u")return;[process.stdout,process.stderr].forEach((D)=>{let F=D;if(F._handle&&F.isTTY&&typeof F._handle.setBlocking==="function")F._handle.setBlocking(u)})}function lv(u){return typeof u==="boolean"}function WX(u,D){let F=D.y18n.__,$={},B=[];$.failFn=function(c){B.push(c)};let z=null,Z=null,q=!0;$.showHelpOnFail=function(c=!0,n){let[a,C]=typeof c==="string"?[!0,c]:[c,n];if(u.getInternalMethods().isGlobalContext())Z=C;return z=C,q=a,$};let X=!1;$.fail=function(c,n){let a=u.getInternalMethods().getLoggerInstance();if(B.length)for(let C=B.length-1;C>=0;--C){let P=B[C];if(lv(P)){if(n)throw n;else if(c)throw Error(c)}else P(c,n,$)}else{if(u.getExitProcess())A1(!0);if(!X){if(X=!0,q)u.showHelp("error"),a.error();if(c||n)a.error(c||n);let C=z||Z;if(C){if(c||n)a.error("");a.error(C)}}if(n=n||new qu(c),u.getExitProcess())return u.exit(1);else if(u.getInternalMethods().hasParseCallback())return u.exit(1,n);else throw n}};let Q=[],Y=!1;$.usage=(O,c)=>{if(O===null)return Y=!0,Q=[],$;return Y=!1,Q.push([O,c||""]),$},$.getUsage=()=>{return Q},$.getUsageDisabled=()=>{return Y},$.getPositionalGroupName=()=>{return F("Positionals:")};let W=[];$.example=(O,c)=>{W.push([O,c||""])};let J=[];$.command=function(c,n,a,C,P=!1){if(a)J=J.map((g)=>{return g[2]=!1,g});J.push([c,n||"",a,C,P])},$.getCommands=()=>J;let G={};$.describe=function(c,n){if(Array.isArray(c))c.forEach((a)=>{$.describe(a,n)});else if(typeof c==="object")Object.keys(c).forEach((a)=>{$.describe(a,c[a])});else G[c]=n},$.getDescriptions=()=>G;let f=[];$.epilog=(O)=>{f.push(O)};let K=!1,x;$.wrap=(O)=>{K=!0,x=O},$.getWrap=()=>{if(D.getEnv("YARGS_DISABLE_WRAP"))return null;if(!K)x=R(),K=!0;return x};let M="__yargsString__:";$.deferY18nLookup=(O)=>M+O,$.help=function(){if(U)return U;j();let c=u.customScriptName?u.$0:D.path.basename(u.$0),n=u.getDemandedOptions(),a=u.getDemandedCommands(),C=u.getDeprecatedOptions(),P=u.getGroups(),g=u.getOptions(),r=[];r=r.concat(Object.keys(G)),r=r.concat(Object.keys(n)),r=r.concat(Object.keys(a)),r=r.concat(Object.keys(g.default)),r=r.filter(S),r=Object.keys(r.reduce((d,M0)=>{if(M0!=="_")d[M0]=!0;return d},{}));let V0=$.getWrap(),t=D.cliui({width:V0,wrap:!!V0});if(!Y){if(Q.length)Q.forEach((d)=>{if(t.div({text:`${d[0].replace(/\$0/g,c)}`}),d[1])t.div({text:`${d[1]}`,padding:[1,0,0,0]})}),t.div();else if(J.length){let d=null;if(a._)d=`${c} <${F("command")}>
103
+ `;else d=`${c} [${F("command")}]
104
+ `;t.div(`${d}`)}}if(J.length>1||J.length===1&&!J[0][2]){t.div(F("Commands:"));let d=u.getInternalMethods().getContext(),M0=d.commands.length?`${d.commands.join(" ")} `:"";if(u.getInternalMethods().getParserConfiguration()["sort-commands"]===!0)J=J.sort((p,Y0)=>p[0].localeCompare(Y0[0]));let m0=c?`${c} `:"";J.forEach((p)=>{let Y0=`${m0}${M0}${p[0].replace(/^\$0 ?/,"")}`;t.span({text:Y0,padding:[0,2,0,2],width:L(J,V0,`${c}${M0}`)+4},{text:p[1]});let l=[];if(p[2])l.push(`[${F("default")}]`);if(p[3]&&p[3].length)l.push(`[${F("aliases:")} ${p[3].join(", ")}]`);if(p[4])if(typeof p[4]==="string")l.push(`[${F("deprecated: %s",p[4])}]`);else l.push(`[${F("deprecated")}]`);if(l.length)t.div({text:l.join(" "),padding:[0,0,0,2],align:"right"});else t.div()}),t.div()}let e=(Object.keys(g.alias)||[]).concat(Object.keys(u.parsed.newAliases)||[]);r=r.filter((d)=>!u.parsed.newAliases[d]&&e.every((M0)=>(g.alias[M0]||[]).indexOf(d)===-1));let j0=F("Options:");if(!P[j0])P[j0]=[];I(r,g.alias,P,j0);let Z0=(d)=>/^--/.test(W7(d)),b0=Object.keys(P).filter((d)=>P[d].length>0).map((d)=>{let M0=P[d].filter(S).map((m0)=>{if(e.includes(m0))return m0;for(let p=0,Y0;(Y0=e[p])!==void 0;p++)if((g.alias[Y0]||[]).includes(m0))return Y0;return m0});return{groupName:d,normalizedKeys:M0}}).filter(({normalizedKeys:d})=>d.length>0).map(({groupName:d,normalizedKeys:M0})=>{let m0=M0.reduce((p,Y0)=>{return p[Y0]=[Y0].concat(g.alias[Y0]||[]).map((l)=>{if(d===$.getPositionalGroupName())return l;else return(/^[0-9]$/.test(l)?g.boolean.includes(Y0)?"-":"--":l.length>1?"--":"-")+l}).sort((l,W0)=>Z0(l)===Z0(W0)?0:Z0(l)?1:-1).join(", "),p},{});return{groupName:d,normalizedKeys:M0,switches:m0}});if(b0.filter(({groupName:d})=>d!==$.getPositionalGroupName()).some(({normalizedKeys:d,switches:M0})=>!d.every((m0)=>Z0(M0[m0]))))b0.filter(({groupName:d})=>d!==$.getPositionalGroupName()).forEach(({normalizedKeys:d,switches:M0})=>{d.forEach((m0)=>{if(Z0(M0[m0]))M0[m0]=dv(M0[m0],4)})});if(b0.forEach(({groupName:d,normalizedKeys:M0,switches:m0})=>{t.div(d),M0.forEach((p)=>{let Y0=m0[p],l=G[p]||"",W0=null;if(l.includes(M))l=F(l.substring(M.length));if(g.boolean.includes(p))W0=`[${F("boolean")}]`;if(g.count.includes(p))W0=`[${F("count")}]`;if(g.string.includes(p))W0=`[${F("string")}]`;if(g.normalize.includes(p))W0=`[${F("string")}]`;if(g.array.includes(p))W0=`[${F("array")}]`;if(g.number.includes(p))W0=`[${F("number")}]`;let c0=(s)=>typeof s==="string"?`[${F("deprecated: %s",s)}]`:`[${F("deprecated")}]`,A=[p in C?c0(C[p]):null,W0,p in n?`[${F("required")}]`:null,g.choices&&g.choices[p]?`[${F("choices:")} ${$.stringifiedValues(g.choices[p])}]`:null,k(g.default[p],g.defaultDescription[p])].filter(Boolean).join(" ");t.span({text:W7(Y0),padding:[0,2,0,2+YX(Y0)],width:L(m0,V0)+4},l);let v=u.getInternalMethods().getUsageConfiguration()["hide-types"]===!0;if(A&&!v)t.div({text:A,padding:[0,0,0,2],align:"right"});else t.div()}),t.div()}),W.length)t.div(F("Examples:")),W.forEach((d)=>{d[0]=d[0].replace(/\$0/g,c)}),W.forEach((d)=>{if(d[1]==="")t.div({text:d[0],padding:[0,2,0,2]});else t.div({text:d[0],padding:[0,2,0,2],width:L(W,V0)+4},{text:d[1]})}),t.div();if(f.length>0){let d=f.map((M0)=>M0.replace(/\$0/g,c)).join(`
105
+ `);t.div(`${d}
106
+ `)}return t.toString().replace(/\s*$/,"")};function L(O,c,n){let a=0;if(!Array.isArray(O))O=Object.values(O).map((C)=>[C]);if(O.forEach((C)=>{a=Math.max(D.stringWidth(n?`${n} ${W7(C[0])}`:W7(C[0]))+YX(C[0]),a)}),c)a=Math.min(a,parseInt((c*0.5).toString(),10));return a}function j(){let O=u.getDemandedOptions(),c=u.getOptions();(Object.keys(c.alias)||[]).forEach((n)=>{c.alias[n].forEach((a)=>{if(G[a])$.describe(n,G[a]);if(a in O)u.demandOption(n,O[a]);if(c.boolean.includes(a))u.boolean(n);if(c.count.includes(a))u.count(n);if(c.string.includes(a))u.string(n);if(c.normalize.includes(a))u.normalize(n);if(c.array.includes(a))u.array(n);if(c.number.includes(a))u.number(n)})})}let U;$.cacheHelpMessage=function(){U=this.help()},$.clearCachedHelpMessage=function(){U=void 0},$.hasCachedHelpMessage=function(){return!!U};function I(O,c,n,a){let C=[],P=null;return Object.keys(n).forEach((g)=>{C=C.concat(n[g])}),O.forEach((g)=>{if(P=[g].concat(c[g]),!P.some((r)=>C.indexOf(r)!==-1))n[a].push(g)}),C}function S(O){return u.getOptions().hiddenOptions.indexOf(O)<0||u.parsed.argv[u.getOptions().showHiddenOpt]}$.showHelp=(O)=>{let c=u.getInternalMethods().getLoggerInstance();if(!O)O="error";(typeof O==="function"?O:c[O])($.help())},$.functionDescription=(O)=>{return["(",O.name?D.Parser.decamelize(O.name,"-"):F("generated-value"),")"].join("")},$.stringifiedValues=function(c,n){let a="",C=n||", ",P=[].concat(c);if(!c||!P.length)return a;return P.forEach((g)=>{if(a.length)a+=C;a+=JSON.stringify(g)}),a};function k(O,c){let n=`[${F("default:")} `;if(O===void 0&&!c)return null;if(c)n+=c;else switch(typeof O){case"string":n+=`"${O}"`;break;case"object":n+=JSON.stringify(O);break;default:n+=O}return`${n}]`}function R(){if(D.process.stdColumns)return Math.min(80,D.process.stdColumns);else return 80}let h=null;$.version=(O)=>{h=O},$.showVersion=(O)=>{let c=u.getInternalMethods().getLoggerInstance();if(!O)O="error";(typeof O==="function"?O:c[O])(h)},$.reset=function(c){return z=null,X=!1,Q=[],Y=!1,f=[],W=[],J=[],G=O1(G,(n)=>!c[n]),$};let F0=[];return $.freeze=function(){F0.push({failMessage:z,failureOutput:X,usages:Q,usageDisabled:Y,epilogs:f,examples:W,commands:J,descriptions:G})},$.unfreeze=function(c=!1){let n=F0.pop();if(!n)return;if(c)G={...n.descriptions,...G},J=[...n.commands,...J],Q=[...n.usages,...Q],W=[...n.examples,...W],f=[...n.epilogs,...f];else({failMessage:z,failureOutput:X,usages:Q,usageDisabled:Y,epilogs:f,examples:W,commands:J,descriptions:G}=n)},$}function C3(u){return typeof u==="object"}function dv(u,D){return C3(u)?{text:u.text,indentation:u.indentation+D}:{text:u,indentation:D}}function YX(u){return C3(u)?u.indentation:0}function W7(u){return C3(u)?u.text:u}var JX=`###-begin-{{app_name}}-completions-###
107
+ #
108
+ # yargs command completion script
109
+ #
110
+ # Installation: {{app_path}} {{completion_command}} >> ~/.bashrc
111
+ # or {{app_path}} {{completion_command}} >> ~/.bash_profile on OSX.
112
+ #
113
+ _{{app_name}}_yargs_completions()
114
+ {
115
+ local cur_word args type_list
116
+
117
+ cur_word="\${COMP_WORDS[COMP_CWORD]}"
118
+ args=("\${COMP_WORDS[@]}")
119
+
120
+ # ask yargs to generate completions.
121
+ # see https://stackoverflow.com/a/40944195/7080036 for the spaces-handling awk
122
+ mapfile -t type_list < <({{app_path}} --get-yargs-completions "\${args[@]}")
123
+ mapfile -t COMPREPLY < <(compgen -W "$( printf '%q ' "\${type_list[@]}" )" -- "\${cur_word}" |
124
+ awk '/ / { print "\\""$0"\\"" } /^[^ ]+$/ { print $0 }')
125
+
126
+ # if no match was found, fall back to filename completion
127
+ if [ \${#COMPREPLY[@]} -eq 0 ]; then
128
+ COMPREPLY=()
129
+ fi
130
+
131
+ return 0
132
+ }
133
+ complete -o bashdefault -o default -F _{{app_name}}_yargs_completions {{app_name}}
134
+ ###-end-{{app_name}}-completions-###
135
+ `,GX=`#compdef {{app_name}}
136
+ ###-begin-{{app_name}}-completions-###
137
+ #
138
+ # yargs command completion script
139
+ #
140
+ # Installation: {{app_path}} {{completion_command}} >> ~/.zshrc
141
+ # or {{app_path}} {{completion_command}} >> ~/.zprofile on OSX.
142
+ #
143
+ _{{app_name}}_yargs_completions()
144
+ {
145
+ local reply
146
+ local si=$IFS
147
+ IFS=$'
148
+ ' reply=($(COMP_CWORD="$((CURRENT-1))" COMP_LINE="$BUFFER" COMP_POINT="$CURSOR" {{app_path}} --get-yargs-completions "\${words[@]}"))
149
+ IFS=$si
150
+ if [[ \${#reply} -gt 0 ]]; then
151
+ _describe 'values' reply
152
+ else
153
+ _default
154
+ fi
155
+ }
156
+ if [[ "'\${zsh_eval_context[-1]}" == "loadautofunc" ]]; then
157
+ _{{app_name}}_yargs_completions "$@"
158
+ else
159
+ compdef _{{app_name}}_yargs_completions {{app_name}}
160
+ fi
161
+ ###-end-{{app_name}}-completions-###
162
+ `;class fX{constructor(u,D,F,$){var B,z,Z;this.yargs=u,this.usage=D,this.command=F,this.shim=$,this.completionKey="get-yargs-completions",this.aliases=null,this.customCompletionFunction=null,this.indexAfterLastReset=0,this.zshShell=(Z=((B=this.shim.getEnv("SHELL"))===null||B===void 0?void 0:B.includes("zsh"))||((z=this.shim.getEnv("ZSH_NAME"))===null||z===void 0?void 0:z.includes("zsh")))!==null&&Z!==void 0?Z:!1}defaultCompletion(u,D,F,$){let B=this.command.getCommandHandlers();for(let Z=0,q=u.length;Z<q;++Z)if(B[u[Z]]&&B[u[Z]].builder){let X=B[u[Z]].builder;if(Y7(X)){this.indexAfterLastReset=Z+1;let Q=this.yargs.getInternalMethods().reset();return X(Q,!0),Q.argv}}let z=[];this.commandCompletions(z,u,F),this.optionCompletions(z,u,D,F),this.choicesFromOptionsCompletions(z,u,D,F),this.choicesFromPositionalsCompletions(z,u,D,F),$(null,z)}commandCompletions(u,D,F){let $=this.yargs.getInternalMethods().getContext().commands;if(!F.match(/^-/)&&$[$.length-1]!==F&&!this.previousArgHasChoices(D))this.usage.getCommands().forEach((B)=>{let z=i1(B[0]).cmd;if(D.indexOf(z)===-1)if(!this.zshShell)u.push(z);else{let Z=B[1]||"";u.push(z.replace(/:/g,"\\:")+":"+Z)}})}optionCompletions(u,D,F,$){if(($.match(/^-/)||$===""&&u.length===0)&&!this.previousArgHasChoices(D)){let B=this.yargs.getOptions(),z=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[];Object.keys(B.key).forEach((Z)=>{let q=!!B.configuration["boolean-negation"]&&B.boolean.includes(Z);if(!z.includes(Z)&&!B.hiddenOptions.includes(Z)&&!this.argsContainKey(D,Z,q))this.completeOptionKey(Z,u,$,q&&!!B.default[Z])})}}choicesFromOptionsCompletions(u,D,F,$){if(this.previousArgHasChoices(D)){let B=this.getPreviousArgChoices(D);if(B&&B.length>0)u.push(...B.map((z)=>z.replace(/:/g,"\\:")))}}choicesFromPositionalsCompletions(u,D,F,$){if($===""&&u.length>0&&this.previousArgHasChoices(D))return;let B=this.yargs.getGroups()[this.usage.getPositionalGroupName()]||[],z=Math.max(this.indexAfterLastReset,this.yargs.getInternalMethods().getContext().commands.length+1),Z=B[F._.length-z-1];if(!Z)return;let q=this.yargs.getOptions().choices[Z]||[];for(let X of q)if(X.startsWith($))u.push(X.replace(/:/g,"\\:"))}getPreviousArgChoices(u){if(u.length<1)return;let D=u[u.length-1],F="";if(!D.startsWith("-")&&u.length>1)F=D,D=u[u.length-2];if(!D.startsWith("-"))return;let $=D.replace(/^-+/,""),B=this.yargs.getOptions(),z=[$,...this.yargs.getAliases()[$]||[]],Z;for(let q of z)if(Object.prototype.hasOwnProperty.call(B.key,q)&&Array.isArray(B.choices[q])){Z=B.choices[q];break}if(Z)return Z.filter((q)=>!F||q.startsWith(F))}previousArgHasChoices(u){let D=this.getPreviousArgChoices(u);return D!==void 0&&D.length>0}argsContainKey(u,D,F){let $=(B)=>u.indexOf((/^[^0-9]$/.test(B)?"-":"--")+B)!==-1;if($(D))return!0;if(F&&$(`no-${D}`))return!0;if(this.aliases){for(let B of this.aliases[D])if($(B))return!0}return!1}completeOptionKey(u,D,F,$){var B,z,Z,q;let X=u;if(this.zshShell){let J=this.usage.getDescriptions(),G=(z=(B=this===null||this===void 0?void 0:this.aliases)===null||B===void 0?void 0:B[u])===null||z===void 0?void 0:z.find((x)=>{let M=J[x];return typeof M==="string"&&M.length>0}),f=G?J[G]:void 0,K=(q=(Z=J[u])!==null&&Z!==void 0?Z:f)!==null&&q!==void 0?q:"";X=`${u.replace(/:/g,"\\:")}:${K.replace("__yargsString__:","").replace(/(\r\n|\n|\r)/gm," ")}`}let Q=(J)=>/^--/.test(J),Y=(J)=>/^[^0-9]$/.test(J),W=!Q(F)&&Y(u)?"-":"--";if(D.push(W+X),$)D.push(W+"no-"+X)}customCompletion(u,D,F,$){if(_u(this.customCompletionFunction,null,this.shim),ov(this.customCompletionFunction)){let B=this.customCompletionFunction(F,D);if(p0(B))return B.then((z)=>{this.shim.process.nextTick(()=>{$(null,z)})}).catch((z)=>{this.shim.process.nextTick(()=>{$(z,void 0)})});return $(null,B)}else if(sv(this.customCompletionFunction))return this.customCompletionFunction(F,D,(B=$)=>this.defaultCompletion(u,D,F,B),(B)=>{$(null,B)});else return this.customCompletionFunction(F,D,(B)=>{$(null,B)})}getCompletion(u,D){let F=u.length?u[u.length-1]:"",$=this.yargs.parse(u,!0),B=this.customCompletionFunction?(z)=>this.customCompletion(u,z,F,D):(z)=>this.defaultCompletion(u,z,F,D);return p0($)?$.then(B):B($)}generateCompletionScript(u,D){let F=this.zshShell?GX:JX,$=this.shim.path.basename(u);if(u.match(/\.js$/))u=`./${u}`;return F=F.replace(/{{app_name}}/g,$),F=F.replace(/{{completion_command}}/g,D),F.replace(/{{app_path}}/g,u)}registerFunction(u){this.customCompletionFunction=u}setParsed(u){this.aliases=u.aliases}}function KX(u,D,F,$){return new fX(u,D,F,$)}function ov(u){return u.length<3}function sv(u){return u.length>3}function xX(u,D){if(u.length===0)return D.length;if(D.length===0)return u.length;let F=[],$;for($=0;$<=D.length;$++)F[$]=[$];let B;for(B=0;B<=u.length;B++)F[0][B]=B;for($=1;$<=D.length;$++)for(B=1;B<=u.length;B++)if(D.charAt($-1)===u.charAt(B-1))F[$][B]=F[$-1][B-1];else if($>1&&B>1&&D.charAt($-2)===u.charAt(B-1)&&D.charAt($-1)===u.charAt(B-2))F[$][B]=F[$-2][B-2]+1;else F[$][B]=Math.min(F[$-1][B-1]+1,Math.min(F[$][B-1]+1,F[$-1][B]+1));return F[D.length][u.length]}var HX=["$0","--","_"];function VX(u,D,F){let $=F.y18n.__,B=F.y18n.__n,z={};z.nonOptionCount=function(W){let J=u.getDemandedCommands(),f=W._.length+(W["--"]?W["--"].length:0)-u.getInternalMethods().getContext().commands.length;if(J._&&(f<J._.min||f>J._.max)){if(f<J._.min)if(J._.minMsg!==void 0)D.fail(J._.minMsg?J._.minMsg.replace(/\$0/g,f.toString()).replace(/\$1/,J._.min.toString()):null);else D.fail(B("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",f,f.toString(),J._.min.toString()));else if(f>J._.max)if(J._.maxMsg!==void 0)D.fail(J._.maxMsg?J._.maxMsg.replace(/\$0/g,f.toString()).replace(/\$1/,J._.max.toString()):null);else D.fail(B("Too many non-option arguments: got %s, maximum of %s","Too many non-option arguments: got %s, maximum of %s",f,f.toString(),J._.max.toString()))}},z.positionalCount=function(W,J){if(J<W)D.fail(B("Not enough non-option arguments: got %s, need at least %s","Not enough non-option arguments: got %s, need at least %s",J,J+"",W+""))},z.requiredArguments=function(W,J){let G=null;for(let f of Object.keys(J))if(!Object.prototype.hasOwnProperty.call(W,f)||typeof W[f]>"u")G=G||{},G[f]=J[f];if(G){let f=[];for(let x of Object.keys(G)){let M=G[x];if(M&&f.indexOf(M)<0)f.push(M)}let K=f.length?`
163
+ ${f.join(`
164
+ `)}`:"";D.fail(B("Missing required argument: %s","Missing required arguments: %s",Object.keys(G).length,Object.keys(G).join(", ")+K))}},z.unknownArguments=function(W,J,G,f,K=!0){var x;let M=u.getInternalMethods().getCommandInstance().getCommands(),L=[],j=u.getInternalMethods().getContext();if(Object.keys(W).forEach((U)=>{if(!HX.includes(U)&&!Object.prototype.hasOwnProperty.call(G,U)&&!Object.prototype.hasOwnProperty.call(u.getInternalMethods().getParseContext(),U)&&!z.isValidAndSomeAliasIsNotNew(U,J))L.push(U)}),K&&(j.commands.length>0||M.length>0||f))W._.slice(j.commands.length).forEach((U)=>{if(!M.includes(""+U))L.push(""+U)});if(K){let I=((x=u.getDemandedCommands()._)===null||x===void 0?void 0:x.max)||0,S=j.commands.length+I;if(S<W._.length)W._.slice(S).forEach((k)=>{if(k=String(k),!j.commands.includes(k)&&!L.includes(k))L.push(k)})}if(L.length)D.fail(B("Unknown argument: %s","Unknown arguments: %s",L.length,L.map((U)=>U.trim()?U:`"${U}"`).join(", ")))},z.unknownCommands=function(W){let J=u.getInternalMethods().getCommandInstance().getCommands(),G=[],f=u.getInternalMethods().getContext();if(f.commands.length>0||J.length>0)W._.slice(f.commands.length).forEach((K)=>{if(!J.includes(""+K))G.push(""+K)});if(G.length>0)return D.fail(B("Unknown command: %s","Unknown commands: %s",G.length,G.join(", "))),!0;else return!1},z.isValidAndSomeAliasIsNotNew=function(W,J){if(!Object.prototype.hasOwnProperty.call(J,W))return!1;let G=u.parsed.newAliases;return[W,...J[W]].some((f)=>!Object.prototype.hasOwnProperty.call(G,f)||!G[W])},z.limitedChoices=function(W){let J=u.getOptions(),G={};if(!Object.keys(J.choices).length)return;Object.keys(W).forEach((x)=>{if(HX.indexOf(x)===-1&&Object.prototype.hasOwnProperty.call(J.choices,x))[].concat(W[x]).forEach((M)=>{if(J.choices[x].indexOf(M)===-1&&M!==void 0)G[x]=(G[x]||[]).concat(M)})});let f=Object.keys(G);if(!f.length)return;let K=$("Invalid values:");f.forEach((x)=>{K+=`
165
+ ${$("Argument: %s, Given: %s, Choices: %s",x,D.stringifiedValues(G[x]),D.stringifiedValues(J.choices[x]))}`}),D.fail(K)};let Z={};z.implies=function(W,J){if(q0("<string|object> [array|number|string]",[W,J],arguments.length),typeof W==="object")Object.keys(W).forEach((G)=>{z.implies(G,W[G])});else{if(u.global(W),!Z[W])Z[W]=[];if(Array.isArray(J))J.forEach((G)=>z.implies(W,G));else _u(J,void 0,F),Z[W].push(J)}},z.getImplied=function(){return Z};function q(Y,W){let J=Number(W);if(W=isNaN(J)?W:J,typeof W==="number")W=Y._.length>=W;else if(W.match(/^--no-.+/))W=W.match(/^--no-(.+)/)[1],W=!Object.prototype.hasOwnProperty.call(Y,W);else W=Object.prototype.hasOwnProperty.call(Y,W);return W}z.implications=function(W){let J=[];if(Object.keys(Z).forEach((G)=>{let f=G;(Z[G]||[]).forEach((K)=>{let x=f,M=K;if(x=q(W,x),K=q(W,K),x&&!K)J.push(` ${f} -> ${M}`)})}),J.length){let G=`${$("Implications failed:")}
166
+ `;J.forEach((f)=>{G+=f}),D.fail(G)}};let X={};z.conflicts=function(W,J){if(q0("<string|object> [array|string]",[W,J],arguments.length),typeof W==="object")Object.keys(W).forEach((G)=>{z.conflicts(G,W[G])});else{if(u.global(W),!X[W])X[W]=[];if(Array.isArray(J))J.forEach((G)=>z.conflicts(W,G));else X[W].push(J)}},z.getConflicting=()=>X,z.conflicting=function(W){if(Object.keys(W).forEach((J)=>{if(X[J])X[J].forEach((G)=>{if(G&&W[J]!==void 0&&W[G]!==void 0)D.fail($("Arguments %s and %s are mutually exclusive",J,G))})}),u.getInternalMethods().getParserConfiguration()["strip-dashed"])Object.keys(X).forEach((J)=>{X[J].forEach((G)=>{if(G&&W[F.Parser.camelCase(J)]!==void 0&&W[F.Parser.camelCase(G)]!==void 0)D.fail($("Arguments %s and %s are mutually exclusive",J,G))})})},z.recommendCommands=function(W,J){J=J.sort((x,M)=>M.length-x.length);let f=null,K=1/0;for(let x=0,M;(M=J[x])!==void 0;x++){let L=xX(W,M);if(L<=3&&L<K)K=L,f=M}if(f)D.fail($("Did you mean %s?",f))},z.reset=function(W){return Z=O1(Z,(J)=>!W[J]),X=O1(X,(J)=>!W[J]),z};let Q=[];return z.freeze=function(){Q.push({implied:Z,conflicting:X})},z.unfreeze=function(){let W=Q.pop();_u(W,void 0,F),{implied:Z,conflicting:X}=W},z}var P3=[],q8;function J7(u,D,F,$){q8=$;let B={};if(Object.prototype.hasOwnProperty.call(u,"extends")){if(typeof u.extends!=="string")return B;let z=/\.json|\..*rc$/.test(u.extends),Z=null;if(!z)try{Z=import.meta.resolve(u.extends)}catch(q){return u}else Z=rv(D,u.extends);av(Z),P3.push(Z),B=z?JSON.parse(q8.readFileSync(Z,"utf8")):$.require(u.extends),delete u.extends,B=J7(B,q8.path.dirname(Z),F,q8)}return P3=[],F?LX(B,u):Object.assign({},B,u)}function av(u){if(P3.indexOf(u)>-1)throw new qu(`Circular extended configurations: '${u}'.`)}function rv(u,D){return q8.path.resolve(u,D)}function LX(u,D){let F={};function $(B){return B&&typeof B==="object"&&!Array.isArray(B)}Object.assign(F,u);for(let B of Object.keys(D))if($(D[B])&&$(F[B]))F[B]=LX(u[B],D[B]);else F[B]=D[B];return F}var X0=function(u,D,F,$,B){if($==="m")throw TypeError("Private method is not writable");if($==="a"&&!B)throw TypeError("Private accessor was defined without a setter");if(typeof D==="function"?u!==D||!B:!D.has(u))throw TypeError("Cannot write private member to an object whose class did not declare it");return $==="a"?B.call(u,F):B?B.value=F:D.set(u,F),F},V=function(u,D,F,$){if(F==="a"&&!$)throw TypeError("Private accessor was defined without a getter");if(typeof D==="function"?u!==D||!$:!D.has(u))throw TypeError("Cannot read private member from an object whose class did not declare it");return F==="m"?$:F==="a"?$.call(u):$?$.value:D.get(u)},Xu,ZF,X8,lu,$D,G7,N1,qF,f7,JD,K7,GD,lD,BD,fD,x7,XF,Vu,J0,H7,V7,zD,QF,rF,YF,j1,L7,L0,WF,JF,GF,i0,M7,dD,Bu;function kX(u){return(D=[],F=u.process.cwd(),$)=>{let B=new cX(D,F,$,u);return Object.defineProperty(B,"argv",{get:()=>{return B.parse()},enumerable:!0}),B.help(),B.version(),B}}var MX=Symbol("copyDoubleDash"),wX=Symbol("copyDoubleDash"),v3=Symbol("deleteFromParserHintObject"),iX=Symbol("emitWarning"),OX=Symbol("freeze"),AX=Symbol("getDollarZero"),fF=Symbol("getParserConfiguration"),NX=Symbol("getUsageConfiguration"),_3=Symbol("guessLocale"),jX=Symbol("guessVersion"),IX=Symbol("parsePositionalNumbers"),U3=Symbol("pkgUp"),I1=Symbol("populateParserHintArray"),tF=Symbol("populateParserHintSingleValueDictionary"),S3=Symbol("populateParserHintArrayDictionary"),T3=Symbol("populateParserHintDictionary"),y3=Symbol("sanitizeKey"),b3=Symbol("setKey"),R3=Symbol("unfreeze"),EX=Symbol("validateAsync"),CX=Symbol("getCommandInstance"),PX=Symbol("getContext"),vX=Symbol("getHasOutput"),_X=Symbol("getLoggerInstance"),UX=Symbol("getParseContext"),SX=Symbol("getUsageInstance"),TX=Symbol("getValidationInstance"),w7=Symbol("hasParseCallback"),yX=Symbol("isGlobalContext"),KF=Symbol("postProcess"),bX=Symbol("rebase"),k3=Symbol("reset"),Q8=Symbol("runYargsParserAndExecuteCommands"),c3=Symbol("runValidation"),RX=Symbol("setHasOutput"),xF=Symbol("kTrackManuallySetKeys"),tv="en_US";class cX{constructor(u=[],D,F,$){this.customScriptName=!1,this.parsed=!1,Xu.set(this,void 0),ZF.set(this,void 0),X8.set(this,{commands:[],fullCommands:[]}),lu.set(this,null),$D.set(this,null),G7.set(this,"show-hidden"),N1.set(this,null),qF.set(this,!0),f7.set(this,{}),JD.set(this,!0),K7.set(this,[]),GD.set(this,void 0),lD.set(this,{}),BD.set(this,!1),fD.set(this,null),x7.set(this,!0),XF.set(this,void 0),Vu.set(this,""),J0.set(this,void 0),H7.set(this,void 0),V7.set(this,{}),zD.set(this,null),QF.set(this,null),rF.set(this,{}),YF.set(this,{}),j1.set(this,void 0),L7.set(this,!1),L0.set(this,void 0),WF.set(this,!1),JF.set(this,!1),GF.set(this,!1),i0.set(this,void 0),M7.set(this,{}),dD.set(this,null),Bu.set(this,void 0),X0(this,L0,$,"f"),X0(this,j1,u,"f"),X0(this,ZF,D,"f"),X0(this,H7,F,"f"),X0(this,GD,new E3(this),"f"),this.$0=this[AX](),this[k3](),X0(this,Xu,V(this,Xu,"f"),"f"),X0(this,i0,V(this,i0,"f"),"f"),X0(this,Bu,V(this,Bu,"f"),"f"),X0(this,J0,V(this,J0,"f"),"f"),V(this,J0,"f").showHiddenOpt=V(this,G7,"f"),X0(this,XF,this[wX](),"f"),V(this,L0,"f").y18n.setLocale(tv)}addHelpOpt(u,D){if(q0("[string|boolean] [string]",[u,D],arguments.length),V(this,fD,"f"))this[v3](V(this,fD,"f")),X0(this,fD,null,"f");if(u===!1&&D===void 0)return this;return X0(this,fD,typeof u==="string"?u:"help","f"),this.boolean(V(this,fD,"f")),this.describe(V(this,fD,"f"),D||V(this,i0,"f").deferY18nLookup("Show help")),this}help(u,D){return this.addHelpOpt(u,D)}addShowHiddenOpt(u,D){if(q0("[string|boolean] [string]",[u,D],arguments.length),u===!1&&D===void 0)return this;let F=typeof u==="string"?u:V(this,G7,"f");return this.boolean(F),this.describe(F,D||V(this,i0,"f").deferY18nLookup("Show hidden options")),V(this,J0,"f").showHiddenOpt=F,this}showHidden(u,D){return this.addShowHiddenOpt(u,D)}alias(u,D){return q0("<object|string|array> [string|array]",[u,D],arguments.length),this[S3](this.alias.bind(this),"alias",u,D),this}array(u){return q0("<array|string>",[u],arguments.length),this[I1]("array",u),this[xF](u),this}boolean(u){return q0("<array|string>",[u],arguments.length),this[I1]("boolean",u),this[xF](u),this}check(u,D){return q0("<function> [boolean]",[u,D],arguments.length),this.middleware((F,$)=>{return zF(()=>{return u(F,$.getOptions())},(B)=>{if(!B)V(this,i0,"f").fail(V(this,L0,"f").y18n.__("Argument check failed: %s",u.toString()));else if(typeof B==="string"||B instanceof Error)V(this,i0,"f").fail(B.toString(),B);return F},(B)=>{return V(this,i0,"f").fail(B.message?B.message:B.toString(),B),F})},!1,D),this}choices(u,D){return q0("<object|string|array> [string|array]",[u,D],arguments.length),this[S3](this.choices.bind(this),"choices",u,D),this}coerce(u,D){if(q0("<object|string|array> [function]",[u,D],arguments.length),Array.isArray(u)){if(!D)throw new qu("coerce callback must be provided");for(let $ of u)this.coerce($,D);return this}else if(typeof u==="object"){for(let $ of Object.keys(u))this.coerce($,u[$]);return this}if(!D)throw new qu("coerce callback must be provided");let F=u;return V(this,J0,"f").key[F]=!0,V(this,GD,"f").addCoerceMiddleware(($,B)=>{var z;let Z=(z=B.getAliases()[F])!==null&&z!==void 0?z:[],q=[F,...Z].filter((X)=>Object.prototype.hasOwnProperty.call($,X));if(q.length===0)return $;return zF(()=>{return D($[q[0]])},(X)=>{return q.forEach((Q)=>{$[Q]=X}),$},(X)=>{throw new qu(X.message)})},F),this}conflicts(u,D){return q0("<string|object> [string|array]",[u,D],arguments.length),V(this,Bu,"f").conflicts(u,D),this}config(u="config",D,F){if(q0("[object|string] [string|function] [function]",[u,D,F],arguments.length),typeof u==="object"&&!Array.isArray(u))return u=J7(u,V(this,ZF,"f"),this[fF]()["deep-merge-config"]||!1,V(this,L0,"f")),V(this,J0,"f").configObjects=(V(this,J0,"f").configObjects||[]).concat(u),this;if(typeof D==="function")F=D,D=void 0;return this.describe(u,D||V(this,i0,"f").deferY18nLookup("Path to JSON config file")),(Array.isArray(u)?u:[u]).forEach(($)=>{V(this,J0,"f").config[$]=F||!0}),this}completion(u,D,F){if(q0("[string] [string|boolean|function] [function]",[u,D,F],arguments.length),typeof D==="function")F=D,D=void 0;if(X0(this,$D,u||V(this,$D,"f")||"completion","f"),!D&&D!==!1)D="generate completion script";if(this.command(V(this,$D,"f"),D),F)V(this,lu,"f").registerFunction(F);return this}command(u,D,F,$,B,z){return q0("<string|array|object> [string|boolean] [function|object] [function] [array] [boolean|string]",[u,D,F,$,B,z],arguments.length),V(this,Xu,"f").addHandler(u,D,F,$,B,z),this}commands(u,D,F,$,B,z){return this.command(u,D,F,$,B,z)}commandDir(u,D){q0("<string> [object]",[u,D],arguments.length);let F=V(this,H7,"f")||V(this,L0,"f").require;return V(this,Xu,"f").addDirectory(u,F,V(this,L0,"f").getCallerFile(),D),this}count(u){return q0("<array|string>",[u],arguments.length),this[I1]("count",u),this[xF](u),this}default(u,D,F){if(q0("<object|string|array> [*] [string]",[u,D,F],arguments.length),F)I3(u,V(this,L0,"f")),V(this,J0,"f").defaultDescription[u]=F;if(typeof D==="function"){if(I3(u,V(this,L0,"f")),!V(this,J0,"f").defaultDescription[u])V(this,J0,"f").defaultDescription[u]=V(this,i0,"f").functionDescription(D);D=D.call()}return this[tF](this.default.bind(this),"default",u,D),this}defaults(u,D,F){return this.default(u,D,F)}demandCommand(u=1,D,F,$){if(q0("[number] [number|string] [string|null|undefined] [string|null|undefined]",[u,D,F,$],arguments.length),typeof D!=="number")F=D,D=1/0;return this.global("_",!1),V(this,J0,"f").demandedCommands._={min:u,max:D,minMsg:F,maxMsg:$},this}demand(u,D,F){if(Array.isArray(D))D.forEach(($)=>{_u(F,!0,V(this,L0,"f")),this.demandOption($,F)}),D=1/0;else if(typeof D!=="number")F=D,D=1/0;if(typeof u==="number")_u(F,!0,V(this,L0,"f")),this.demandCommand(u,D,F,F);else if(Array.isArray(u))u.forEach(($)=>{_u(F,!0,V(this,L0,"f")),this.demandOption($,F)});else if(typeof F==="string")this.demandOption(u,F);else if(F===!0||typeof F>"u")this.demandOption(u);return this}demandOption(u,D){return q0("<object|string|array> [string]",[u,D],arguments.length),this[tF](this.demandOption.bind(this),"demandedOptions",u,D),this}deprecateOption(u,D){return q0("<string> [string|boolean]",[u,D],arguments.length),V(this,J0,"f").deprecatedOptions[u]=D,this}describe(u,D){return q0("<object|string|array> [string]",[u,D],arguments.length),this[b3](u,!0),V(this,i0,"f").describe(u,D),this}detectLocale(u){return q0("<boolean>",[u],arguments.length),X0(this,qF,u,"f"),this}env(u){if(q0("[string|boolean]",[u],arguments.length),u===!1)delete V(this,J0,"f").envPrefix;else V(this,J0,"f").envPrefix=u||"";return this}epilogue(u){return q0("<string>",[u],arguments.length),V(this,i0,"f").epilog(u),this}epilog(u){return this.epilogue(u)}example(u,D){if(q0("<string|array> [string]",[u,D],arguments.length),Array.isArray(u))u.forEach((F)=>this.example(...F));else V(this,i0,"f").example(u,D);return this}exit(u,D){if(X0(this,BD,!0,"f"),X0(this,N1,D,"f"),V(this,JD,"f"))V(this,L0,"f").process.exit(u)}exitProcess(u=!0){return q0("[boolean]",[u],arguments.length),X0(this,JD,u,"f"),this}fail(u){if(q0("<function|boolean>",[u],arguments.length),typeof u==="boolean"&&u!==!1)throw new qu("Invalid first argument. Expected function or boolean 'false'");return V(this,i0,"f").failFn(u),this}getAliases(){return this.parsed?this.parsed.aliases:{}}async getCompletion(u,D){if(q0("<array> [function]",[u,D],arguments.length),!D)return new Promise((F,$)=>{V(this,lu,"f").getCompletion(u,(B,z)=>{if(B)$(B);else F(z)})});else return V(this,lu,"f").getCompletion(u,D)}getDemandedOptions(){return q0([],0),V(this,J0,"f").demandedOptions}getDemandedCommands(){return q0([],0),V(this,J0,"f").demandedCommands}getDeprecatedOptions(){return q0([],0),V(this,J0,"f").deprecatedOptions}getDetectLocale(){return V(this,qF,"f")}getExitProcess(){return V(this,JD,"f")}getGroups(){return Object.assign({},V(this,lD,"f"),V(this,YF,"f"))}getHelp(){if(X0(this,BD,!0,"f"),!V(this,i0,"f").hasCachedHelpMessage()){if(!this.parsed){let D=this[Q8](V(this,j1,"f"),void 0,void 0,0,!0);if(p0(D))return D.then(()=>{return V(this,i0,"f").help()})}let u=V(this,Xu,"f").runDefaultBuilderOn(this);if(p0(u))return u.then(()=>{return V(this,i0,"f").help()})}return Promise.resolve(V(this,i0,"f").help())}getOptions(){return V(this,J0,"f")}getStrict(){return V(this,WF,"f")}getStrictCommands(){return V(this,JF,"f")}getStrictOptions(){return V(this,GF,"f")}global(u,D){if(q0("<string|array> [boolean]",[u,D],arguments.length),u=[].concat(u),D!==!1)V(this,J0,"f").local=V(this,J0,"f").local.filter((F)=>u.indexOf(F)===-1);else u.forEach((F)=>{if(!V(this,J0,"f").local.includes(F))V(this,J0,"f").local.push(F)});return this}group(u,D){q0("<string|array> <string>",[u,D],arguments.length);let F=V(this,YF,"f")[D]||V(this,lD,"f")[D];if(V(this,YF,"f")[D])delete V(this,YF,"f")[D];let $={};return V(this,lD,"f")[D]=(F||[]).concat(u).filter((B)=>{if($[B])return!1;return $[B]=!0}),this}hide(u){return q0("<string>",[u],arguments.length),V(this,J0,"f").hiddenOptions.push(u),this}implies(u,D){return q0("<string|object> [number|string|array]",[u,D],arguments.length),V(this,Bu,"f").implies(u,D),this}locale(u){if(q0("[string]",[u],arguments.length),u===void 0)return this[_3](),V(this,L0,"f").y18n.getLocale();return X0(this,qF,!1,"f"),V(this,L0,"f").y18n.setLocale(u),this}middleware(u,D,F){return V(this,GD,"f").addMiddleware(u,!!D,F)}nargs(u,D){return q0("<string|object|array> [number]",[u,D],arguments.length),this[tF](this.nargs.bind(this),"narg",u,D),this}normalize(u){return q0("<array|string>",[u],arguments.length),this[I1]("normalize",u),this}number(u){return q0("<array|string>",[u],arguments.length),this[I1]("number",u),this[xF](u),this}option(u,D){if(q0("<string|object> [object]",[u,D],arguments.length),typeof u==="object")Object.keys(u).forEach((F)=>{this.options(F,u[F])});else{if(typeof D!=="object")D={};if(this[xF](u),V(this,dD,"f")&&(u==="version"||(D===null||D===void 0?void 0:D.alias)==="version"))this[iX](['"version" is a reserved word.',"Please do one of the following:",'- Disable version with `yargs.version(false)` if using "version" as an option',"- Use the built-in `yargs.version` method instead (if applicable)","- Use a different option key","https://yargs.js.org/docs/#api-reference-version"].join(`
167
+ `),void 0,"versionWarning");if(V(this,J0,"f").key[u]=!0,D.alias)this.alias(u,D.alias);let F=D.deprecate||D.deprecated;if(F)this.deprecateOption(u,F);let $=D.demand||D.required||D.require;if($)this.demand(u,$);if(D.demandOption)this.demandOption(u,typeof D.demandOption==="string"?D.demandOption:void 0);if(D.conflicts)this.conflicts(u,D.conflicts);if("default"in D)this.default(u,D.default);if(D.implies!==void 0)this.implies(u,D.implies);if(D.nargs!==void 0)this.nargs(u,D.nargs);if(D.config)this.config(u,D.configParser);if(D.normalize)this.normalize(u);if(D.choices)this.choices(u,D.choices);if(D.coerce)this.coerce(u,D.coerce);if(D.group)this.group(u,D.group);if(D.boolean||D.type==="boolean"){if(this.boolean(u),D.alias)this.boolean(D.alias)}if(D.array||D.type==="array"){if(this.array(u),D.alias)this.array(D.alias)}if(D.number||D.type==="number"){if(this.number(u),D.alias)this.number(D.alias)}if(D.string||D.type==="string"){if(this.string(u),D.alias)this.string(D.alias)}if(D.count||D.type==="count")this.count(u);if(typeof D.global==="boolean")this.global(u,D.global);if(D.defaultDescription)V(this,J0,"f").defaultDescription[u]=D.defaultDescription;if(D.skipValidation)this.skipValidation(u);let B=D.describe||D.description||D.desc,z=V(this,i0,"f").getDescriptions();if(!Object.prototype.hasOwnProperty.call(z,u)||typeof B==="string")this.describe(u,B);if(D.hidden)this.hide(u);if(D.requiresArg)this.requiresArg(u)}return this}options(u,D){return this.option(u,D)}parse(u,D,F){if(q0("[string|array] [function|boolean|object] [function]",[u,D,F],arguments.length),this[OX](),typeof u>"u")u=V(this,j1,"f");if(typeof D==="object")X0(this,QF,D,"f"),D=F;if(typeof D==="function")X0(this,zD,D,"f"),D=!1;if(!D)X0(this,j1,u,"f");if(V(this,zD,"f"))X0(this,JD,!1,"f");let $=this[Q8](u,!!D),B=this.parsed;if(V(this,lu,"f").setParsed(this.parsed),p0($))return $.then((z)=>{if(V(this,zD,"f"))V(this,zD,"f").call(this,V(this,N1,"f"),z,V(this,Vu,"f"));return z}).catch((z)=>{if(V(this,zD,"f"))V(this,zD,"f")(z,this.parsed.argv,V(this,Vu,"f"));throw z}).finally(()=>{this[R3](),this.parsed=B});else{if(V(this,zD,"f"))V(this,zD,"f").call(this,V(this,N1,"f"),$,V(this,Vu,"f"));this[R3](),this.parsed=B}return $}parseAsync(u,D,F){let $=this.parse(u,D,F);return!p0($)?Promise.resolve($):$}parseSync(u,D,F){let $=this.parse(u,D,F);if(p0($))throw new qu(".parseSync() must not be used with asynchronous builders, handlers, or middleware");return $}parserConfiguration(u){return q0("<object>",[u],arguments.length),X0(this,V7,u,"f"),this}pkgConf(u,D){q0("<string> [string]",[u,D],arguments.length);let F=null,$=this[U3](D||V(this,ZF,"f"));if($[u]&&typeof $[u]==="object")F=J7($[u],D||V(this,ZF,"f"),this[fF]()["deep-merge-config"]||!1,V(this,L0,"f")),V(this,J0,"f").configObjects=(V(this,J0,"f").configObjects||[]).concat(F);return this}positional(u,D){q0("<string> <object>",[u,D],arguments.length);let F=["default","defaultDescription","implies","normalize","choices","conflicts","coerce","type","describe","desc","description","alias"];D=O1(D,(z,Z)=>{if(z==="type"&&!["string","number","boolean"].includes(Z))return!1;return F.includes(z)});let $=V(this,X8,"f").fullCommands[V(this,X8,"f").fullCommands.length-1],B=$?V(this,Xu,"f").cmdToParseOptions($):{array:[],alias:{},default:{},demand:{}};return sF(B).forEach((z)=>{let Z=B[z];if(Array.isArray(Z)){if(Z.indexOf(u)!==-1)D[z]=!0}else if(Z[u]&&!(z in D))D[z]=Z[u]}),this.group(u,V(this,i0,"f").getPositionalGroupName()),this.option(u,D)}recommendCommands(u=!0){return q0("[boolean]",[u],arguments.length),X0(this,L7,u,"f"),this}required(u,D,F){return this.demand(u,D,F)}require(u,D,F){return this.demand(u,D,F)}requiresArg(u){if(q0("<array|string|object> [number]",[u],arguments.length),typeof u==="string"&&V(this,J0,"f").narg[u])return this;else this[tF](this.requiresArg.bind(this),"narg",u,NaN);return this}showCompletionScript(u,D){return q0("[string] [string]",[u,D],arguments.length),u=u||this.$0,V(this,XF,"f").log(V(this,lu,"f").generateCompletionScript(u,D||V(this,$D,"f")||"completion")),this}showHelp(u){if(q0("[string|function]",[u],arguments.length),X0(this,BD,!0,"f"),!V(this,i0,"f").hasCachedHelpMessage()){if(!this.parsed){let F=this[Q8](V(this,j1,"f"),void 0,void 0,0,!0);if(p0(F))return F.then(()=>{V(this,i0,"f").showHelp(u)}),this}let D=V(this,Xu,"f").runDefaultBuilderOn(this);if(p0(D))return D.then(()=>{V(this,i0,"f").showHelp(u)}),this}return V(this,i0,"f").showHelp(u),this}scriptName(u){return this.customScriptName=!0,this.$0=u,this}showHelpOnFail(u,D){return q0("[boolean|string] [string]",[u,D],arguments.length),V(this,i0,"f").showHelpOnFail(u,D),this}showVersion(u){return q0("[string|function]",[u],arguments.length),V(this,i0,"f").showVersion(u),this}skipValidation(u){return q0("<array|string>",[u],arguments.length),this[I1]("skipValidation",u),this}strict(u){return q0("[boolean]",[u],arguments.length),X0(this,WF,u!==!1,"f"),this}strictCommands(u){return q0("[boolean]",[u],arguments.length),X0(this,JF,u!==!1,"f"),this}strictOptions(u){return q0("[boolean]",[u],arguments.length),X0(this,GF,u!==!1,"f"),this}string(u){return q0("<array|string>",[u],arguments.length),this[I1]("string",u),this[xF](u),this}terminalWidth(){return q0([],0),V(this,L0,"f").process.stdColumns}updateLocale(u){return this.updateStrings(u)}updateStrings(u){return q0("<object>",[u],arguments.length),X0(this,qF,!1,"f"),V(this,L0,"f").y18n.updateLocale(u),this}usage(u,D,F,$){if(q0("<string|null|undefined> [string|boolean] [function|object] [function]",[u,D,F,$],arguments.length),D!==void 0)if(_u(u,null,V(this,L0,"f")),(u||"").match(/^\$0( |$)/))return this.command(u,D,F,$);else throw new qu(".usage() description must start with $0 if being used as alias for .command()");else return V(this,i0,"f").usage(u),this}usageConfiguration(u){return q0("<object>",[u],arguments.length),X0(this,M7,u,"f"),this}version(u,D,F){if(q0("[boolean|string] [string] [string]",[u,D,F],arguments.length),V(this,dD,"f"))this[v3](V(this,dD,"f")),V(this,i0,"f").version(void 0),X0(this,dD,null,"f");if(arguments.length===0)F=this[jX](),u="version";else if(arguments.length===1){if(u===!1)return this;F=u,u="version"}else if(arguments.length===2)F=D,D=void 0;return X0(this,dD,typeof u==="string"?u:"version","f"),D=D||V(this,i0,"f").deferY18nLookup("Show version number"),V(this,i0,"f").version(F||void 0),this.boolean(V(this,dD,"f")),this.describe(V(this,dD,"f"),D),this}wrap(u){return q0("<number|null|undefined>",[u],arguments.length),V(this,i0,"f").wrap(u),this}[(Xu=new WeakMap,ZF=new WeakMap,X8=new WeakMap,lu=new WeakMap,$D=new WeakMap,G7=new WeakMap,N1=new WeakMap,qF=new WeakMap,f7=new WeakMap,JD=new WeakMap,K7=new WeakMap,GD=new WeakMap,lD=new WeakMap,BD=new WeakMap,fD=new WeakMap,x7=new WeakMap,XF=new WeakMap,Vu=new WeakMap,J0=new WeakMap,H7=new WeakMap,V7=new WeakMap,zD=new WeakMap,QF=new WeakMap,rF=new WeakMap,YF=new WeakMap,j1=new WeakMap,L7=new WeakMap,L0=new WeakMap,WF=new WeakMap,JF=new WeakMap,GF=new WeakMap,i0=new WeakMap,M7=new WeakMap,dD=new WeakMap,Bu=new WeakMap,MX)](u){if(!u._||!u["--"])return u;u._.push.apply(u._,u["--"]);try{delete u["--"]}catch(D){}return u}[wX](){return{log:(...u)=>{if(!this[w7]())console.log(...u);if(X0(this,BD,!0,"f"),V(this,Vu,"f").length)X0(this,Vu,V(this,Vu,"f")+`
168
+ `,"f");X0(this,Vu,V(this,Vu,"f")+u.join(" "),"f")},error:(...u)=>{if(!this[w7]())console.error(...u);if(X0(this,BD,!0,"f"),V(this,Vu,"f").length)X0(this,Vu,V(this,Vu,"f")+`
169
+ `,"f");X0(this,Vu,V(this,Vu,"f")+u.join(" "),"f")}}}[v3](u){sF(V(this,J0,"f")).forEach((D)=>{if((($)=>$==="configObjects")(D))return;let F=V(this,J0,"f")[D];if(Array.isArray(F)){if(F.includes(u))F.splice(F.indexOf(u),1)}else if(typeof F==="object")delete F[u]}),delete V(this,i0,"f").getDescriptions()[u]}[iX](u,D,F){if(!V(this,f7,"f")[F])V(this,L0,"f").process.emitWarning(u,D),V(this,f7,"f")[F]=!0}[OX](){V(this,K7,"f").push({options:V(this,J0,"f"),configObjects:V(this,J0,"f").configObjects.slice(0),exitProcess:V(this,JD,"f"),groups:V(this,lD,"f"),strict:V(this,WF,"f"),strictCommands:V(this,JF,"f"),strictOptions:V(this,GF,"f"),completionCommand:V(this,$D,"f"),output:V(this,Vu,"f"),exitError:V(this,N1,"f"),hasOutput:V(this,BD,"f"),parsed:this.parsed,parseFn:V(this,zD,"f"),parseContext:V(this,QF,"f")}),V(this,i0,"f").freeze(),V(this,Bu,"f").freeze(),V(this,Xu,"f").freeze(),V(this,GD,"f").freeze()}[AX](){let u="",D;if(/\b(node|iojs|electron)(\.exe)?$/.test(V(this,L0,"f").process.argv()[0]))D=V(this,L0,"f").process.argv().slice(1,2);else D=V(this,L0,"f").process.argv().slice(0,1);if(u=D.map((F)=>{let $=this[bX](V(this,ZF,"f"),F);return F.match(/^(\/|([a-zA-Z]:)?\\)/)&&$.length<F.length?$:F}).join(" ").trim(),V(this,L0,"f").getEnv("_")&&V(this,L0,"f").getProcessArgvBin()===V(this,L0,"f").getEnv("_"))u=V(this,L0,"f").getEnv("_").replace(`${V(this,L0,"f").path.dirname(V(this,L0,"f").process.execPath())}/`,"");return u}[fF](){return V(this,V7,"f")}[NX](){return V(this,M7,"f")}[_3](){if(!V(this,qF,"f"))return;let u=V(this,L0,"f").getEnv("LC_ALL")||V(this,L0,"f").getEnv("LC_MESSAGES")||V(this,L0,"f").getEnv("LANG")||V(this,L0,"f").getEnv("LANGUAGE")||"en_US";this.locale(u.replace(/[.:].*/,""))}[jX](){return this[U3]().version||"unknown"}[IX](u){let D=u["--"]?u["--"]:u._;for(let F=0,$;($=D[F])!==void 0;F++)if(V(this,L0,"f").Parser.looksLikeNumber($)&&Number.isSafeInteger(Math.floor(parseFloat(`${$}`))))D[F]=Number($);return u}[U3](u){let D=u||"*";if(V(this,rF,"f")[D])return V(this,rF,"f")[D];let F={};try{let $=u||V(this,L0,"f").mainFilename;if(V(this,L0,"f").path.extname($))$=V(this,L0,"f").path.dirname($);let B=V(this,L0,"f").findUp($,(z,Z)=>{if(Z.includes("package.json"))return"package.json";else return});_u(B,void 0,V(this,L0,"f")),F=JSON.parse(V(this,L0,"f").readFileSync(B,"utf8"))}catch($){}return V(this,rF,"f")[D]=F||{},V(this,rF,"f")[D]}[I1](u,D){D=[].concat(D),D.forEach((F)=>{F=this[y3](F),V(this,J0,"f")[u].push(F)})}[tF](u,D,F,$){this[T3](u,D,F,$,(B,z,Z)=>{V(this,J0,"f")[B][z]=Z})}[S3](u,D,F,$){this[T3](u,D,F,$,(B,z,Z)=>{V(this,J0,"f")[B][z]=(V(this,J0,"f")[B][z]||[]).concat(Z)})}[T3](u,D,F,$,B){if(Array.isArray(F))F.forEach((z)=>{u(z,$)});else if(((z)=>typeof z==="object")(F))for(let z of sF(F))u(z,F[z]);else B(D,this[y3](F),$)}[y3](u){if(u==="__proto__")return"___proto___";return u}[b3](u,D){return this[tF](this[b3].bind(this),"key",u,D),this}[R3](){var u,D,F,$,B,z,Z,q,X,Q,Y,W;let J=V(this,K7,"f").pop();_u(J,void 0,V(this,L0,"f"));let G;u=this,D=this,F=this,$=this,B=this,z=this,Z=this,q=this,X=this,Q=this,Y=this,W=this,{options:{set value(f){X0(u,J0,f,"f")}}.value,configObjects:G,exitProcess:{set value(f){X0(D,JD,f,"f")}}.value,groups:{set value(f){X0(F,lD,f,"f")}}.value,output:{set value(f){X0($,Vu,f,"f")}}.value,exitError:{set value(f){X0(B,N1,f,"f")}}.value,hasOutput:{set value(f){X0(z,BD,f,"f")}}.value,parsed:this.parsed,strict:{set value(f){X0(Z,WF,f,"f")}}.value,strictCommands:{set value(f){X0(q,JF,f,"f")}}.value,strictOptions:{set value(f){X0(X,GF,f,"f")}}.value,completionCommand:{set value(f){X0(Q,$D,f,"f")}}.value,parseFn:{set value(f){X0(Y,zD,f,"f")}}.value,parseContext:{set value(f){X0(W,QF,f,"f")}}.value}=J,V(this,J0,"f").configObjects=G,V(this,i0,"f").unfreeze(),V(this,Bu,"f").unfreeze(),V(this,Xu,"f").unfreeze(),V(this,GD,"f").unfreeze()}[EX](u,D){return zF(D,(F)=>{return u(F),F})}getInternalMethods(){return{getCommandInstance:this[CX].bind(this),getContext:this[PX].bind(this),getHasOutput:this[vX].bind(this),getLoggerInstance:this[_X].bind(this),getParseContext:this[UX].bind(this),getParserConfiguration:this[fF].bind(this),getUsageConfiguration:this[NX].bind(this),getUsageInstance:this[SX].bind(this),getValidationInstance:this[TX].bind(this),hasParseCallback:this[w7].bind(this),isGlobalContext:this[yX].bind(this),postProcess:this[KF].bind(this),reset:this[k3].bind(this),runValidation:this[c3].bind(this),runYargsParserAndExecuteCommands:this[Q8].bind(this),setHasOutput:this[RX].bind(this)}}[CX](){return V(this,Xu,"f")}[PX](){return V(this,X8,"f")}[vX](){return V(this,BD,"f")}[_X](){return V(this,XF,"f")}[UX](){return V(this,QF,"f")||{}}[SX](){return V(this,i0,"f")}[TX](){return V(this,Bu,"f")}[w7](){return!!V(this,zD,"f")}[yX](){return V(this,x7,"f")}[KF](u,D,F,$){if(F)return u;if(p0(u))return u;if(!D)u=this[MX](u);if(this[fF]()["parse-positional-numbers"]||this[fF]()["parse-positional-numbers"]===void 0)u=this[IX](u);if($)u=BF(u,this,V(this,GD,"f").getMiddleware(),!1);return u}[k3](u={}){X0(this,J0,V(this,J0,"f")||{},"f");let D={};D.local=V(this,J0,"f").local||[],D.configObjects=V(this,J0,"f").configObjects||[];let F={};D.local.forEach((z)=>{F[z]=!0,(u[z]||[]).forEach((Z)=>{F[Z]=!0})}),Object.assign(V(this,YF,"f"),Object.keys(V(this,lD,"f")).reduce((z,Z)=>{let q=V(this,lD,"f")[Z].filter((X)=>!(X in F));if(q.length>0)z[Z]=q;return z},{})),X0(this,lD,{},"f");let $=["array","boolean","string","skipValidation","count","normalize","number","hiddenOptions"],B=["narg","key","alias","default","defaultDescription","config","choices","demandedOptions","demandedCommands","deprecatedOptions"];if($.forEach((z)=>{D[z]=(V(this,J0,"f")[z]||[]).filter((Z)=>!F[Z])}),B.forEach((z)=>{D[z]=O1(V(this,J0,"f")[z],(Z)=>!F[Z])}),D.envPrefix=V(this,J0,"f").envPrefix,X0(this,J0,D,"f"),X0(this,i0,V(this,i0,"f")?V(this,i0,"f").reset(F):WX(this,V(this,L0,"f")),"f"),X0(this,Bu,V(this,Bu,"f")?V(this,Bu,"f").reset(F):VX(this,V(this,i0,"f"),V(this,L0,"f")),"f"),X0(this,Xu,V(this,Xu,"f")?V(this,Xu,"f").reset():XX(V(this,i0,"f"),V(this,Bu,"f"),V(this,GD,"f"),V(this,L0,"f")),"f"),!V(this,lu,"f"))X0(this,lu,KX(this,V(this,i0,"f"),V(this,Xu,"f"),V(this,L0,"f")),"f");return V(this,GD,"f").reset(),X0(this,$D,null,"f"),X0(this,Vu,"","f"),X0(this,N1,null,"f"),X0(this,BD,!1,"f"),this.parsed=!1,this}[bX](u,D){return V(this,L0,"f").path.relative(u,D)}[Q8](u,D,F,$=0,B=!1){var z,Z,q,X;let Q=!!F||B;u=u||V(this,j1,"f"),V(this,J0,"f").__=V(this,L0,"f").y18n.__,V(this,J0,"f").configuration=this[fF]();let Y=!!V(this,J0,"f").configuration["populate--"],W=Object.assign({},V(this,J0,"f").configuration,{"populate--":!0}),J=V(this,L0,"f").Parser.detailed(u,Object.assign({},V(this,J0,"f"),{configuration:{"parse-positional-numbers":!1,...W}})),G=Object.assign(J.argv,V(this,QF,"f")),f=void 0,K=J.aliases,x=!1,M=!1;if(Object.keys(G).forEach((L)=>{if(L===V(this,fD,"f")&&G[L])x=!0;else if(L===V(this,dD,"f")&&G[L])M=!0}),G.$0=this.$0,this.parsed=J,$===0)V(this,i0,"f").clearCachedHelpMessage();try{if(this[_3](),D)return this[KF](G,Y,!!F,!1);if(V(this,fD,"f")){if([V(this,fD,"f")].concat(K[V(this,fD,"f")]||[]).filter((S)=>S.length>1).includes(""+G._[G._.length-1]))G._.pop(),x=!0}X0(this,x7,!1,"f");let L=V(this,Xu,"f").getCommands(),j=((z=V(this,lu,"f"))===null||z===void 0?void 0:z.completionKey)?[(Z=V(this,lu,"f"))===null||Z===void 0?void 0:Z.completionKey,...(X=this.getAliases()[(q=V(this,lu,"f"))===null||q===void 0?void 0:q.completionKey])!==null&&X!==void 0?X:[]].some((I)=>Object.prototype.hasOwnProperty.call(G,I)):!1,U=x||j||B;if(G._.length){if(L.length){let I;for(let S=$||0,k;G._[S]!==void 0;S++)if(k=String(G._[S]),L.includes(k)&&k!==V(this,$D,"f")){let R=V(this,Xu,"f").runCommand(k,this,J,S+1,B,x||M||B);return this[KF](R,Y,!!F,!1)}else if(!I&&k!==V(this,$D,"f")){I=k;break}if(!V(this,Xu,"f").hasDefaultCommand()&&V(this,L7,"f")&&I&&!U)V(this,Bu,"f").recommendCommands(I,L)}if(V(this,$D,"f")&&G._.includes(V(this,$D,"f"))&&!j){if(V(this,JD,"f"))A1(!0);this.showCompletionScript(),this.exit(0)}}if(V(this,Xu,"f").hasDefaultCommand()&&!U){let I=V(this,Xu,"f").runCommand(null,this,J,0,B,x||M||B);return this[KF](I,Y,!!F,!1)}if(j){if(V(this,JD,"f"))A1(!0);u=[].concat(u);let I=u.slice(u.indexOf(`--${V(this,lu,"f").completionKey}`)+1);return V(this,lu,"f").getCompletion(I,(S,k)=>{if(S)throw new qu(S.message);(k||[]).forEach((R)=>{V(this,XF,"f").log(R)}),this.exit(0)}),this[KF](G,!Y,!!F,!1)}if(!V(this,BD,"f")){if(x){if(V(this,JD,"f"))A1(!0);Q=!0,this.showHelp((I)=>{V(this,XF,"f").log(I),this.exit(0)})}else if(M){if(V(this,JD,"f"))A1(!0);Q=!0,V(this,i0,"f").showVersion("log"),this.exit(0)}}if(!Q&&V(this,J0,"f").skipValidation.length>0)Q=Object.keys(G).some((I)=>V(this,J0,"f").skipValidation.indexOf(I)>=0&&G[I]===!0);if(!Q){if(J.error)throw new qu(J.error.message);if(!j){let I=this[c3](K,{},J.error);if(!F)f=BF(G,this,V(this,GD,"f").getMiddleware(),!0);if(f=this[EX](I,f!==null&&f!==void 0?f:G),p0(f)&&!F)f=f.then(()=>{return BF(G,this,V(this,GD,"f").getMiddleware(),!1)})}}}catch(L){if(L instanceof qu)V(this,i0,"f").fail(L.message,L);else throw L}return this[KF](f!==null&&f!==void 0?f:G,Y,!!F,!0)}[c3](u,D,F,$){let B={...this.getDemandedOptions()};return(z)=>{if(F)throw new qu(F.message);V(this,Bu,"f").nonOptionCount(z),V(this,Bu,"f").requiredArguments(z,B);let Z=!1;if(V(this,JF,"f"))Z=V(this,Bu,"f").unknownCommands(z);if(V(this,WF,"f")&&!Z)V(this,Bu,"f").unknownArguments(z,u,D,!!$);else if(V(this,GF,"f"))V(this,Bu,"f").unknownArguments(z,u,{},!1,!1);V(this,Bu,"f").limitedChoices(z),V(this,Bu,"f").implications(z),V(this,Bu,"f").conflicting(z)}}[RX](){X0(this,BD,!0,"f")}[xF](u){if(typeof u==="string")V(this,J0,"f").key[u]=!0;else for(let D of u)V(this,J0,"f").key[D]=!0}}function QX(u){return!!u&&typeof u.getInternalMethods==="function"}var ev=kX(FX),i7=ev;var JP=E0(Y8(),1),D7=E0(oD(),1);import gZ from"path";/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function DW(u){return typeof u>"u"||u===null}function KS(u){return typeof u==="object"&&u!==null}function xS(u){if(Array.isArray(u))return u;else if(DW(u))return[];return[u]}function HS(u,D){var F,$,B,z;if(D){z=Object.keys(D);for(F=0,$=z.length;F<$;F+=1)B=z[F],u[B]=D[B]}return u}function VS(u,D){var F="",$;for($=0;$<D;$+=1)F+=u;return F}function LS(u){return u===0&&Number.NEGATIVE_INFINITY===1/u}var MS=DW,wS=KS,iS=xS,OS=VS,AS=LS,NS=HS,fu={isNothing:MS,isObject:wS,toArray:iS,repeat:OS,isNegativeZero:AS,extend:NS};function FW(u,D){var F="",$=u.reason||"(unknown reason)";if(!u.mark)return $;if(u.mark.name)F+='in "'+u.mark.name+'" ';if(F+="("+(u.mark.line+1)+":"+(u.mark.column+1)+")",!D&&u.mark.snippet)F+=`
170
+
171
+ `+u.mark.snippet;return $+" "+F}function L8(u,D){if(Error.call(this),this.name="YAMLException",this.reason=u,this.mark=D,this.message=FW(this,!1),Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);else this.stack=Error().stack||""}L8.prototype=Object.create(Error.prototype);L8.prototype.constructor=L8;L8.prototype.toString=function(D){return this.name+": "+FW(this,D)};var bu=L8;function F$(u,D,F,$,B){var z="",Z="",q=Math.floor(B/2)-1;if($-D>q)z=" ... ",D=$-q+z.length;if(F-$>q)Z=" ...",F=$+q-Z.length;return{str:z+u.slice(D,F).replace(/\t/g,"→")+Z,pos:$-D+z.length}}function $$(u,D){return fu.repeat(" ",D-u.length)+u}function jS(u,D){if(D=Object.create(D||null),!u.buffer)return null;if(!D.maxLength)D.maxLength=79;if(typeof D.indent!=="number")D.indent=1;if(typeof D.linesBefore!=="number")D.linesBefore=3;if(typeof D.linesAfter!=="number")D.linesAfter=2;var F=/\r?\n|\r|\0/g,$=[0],B=[],z,Z=-1;while(z=F.exec(u.buffer))if(B.push(z.index),$.push(z.index+z[0].length),u.position<=z.index&&Z<0)Z=$.length-2;if(Z<0)Z=$.length-1;var q="",X,Q,Y=Math.min(u.line+D.linesAfter,B.length).toString().length,W=D.maxLength-(D.indent+Y+3);for(X=1;X<=D.linesBefore;X++){if(Z-X<0)break;Q=F$(u.buffer,$[Z-X],B[Z-X],u.position-($[Z]-$[Z-X]),W),q=fu.repeat(" ",D.indent)+$$((u.line-X+1).toString(),Y)+" | "+Q.str+`
172
+ `+q}Q=F$(u.buffer,$[Z],B[Z],u.position,W),q+=fu.repeat(" ",D.indent)+$$((u.line+1).toString(),Y)+" | "+Q.str+`
173
+ `,q+=fu.repeat("-",D.indent+Y+3+Q.pos)+`^
174
+ `;for(X=1;X<=D.linesAfter;X++){if(Z+X>=B.length)break;Q=F$(u.buffer,$[Z+X],B[Z+X],u.position-($[Z]-$[Z+X]),W),q+=fu.repeat(" ",D.indent)+$$((u.line+X+1).toString(),Y)+" | "+Q.str+`
175
+ `}return q.replace(/\n$/,"")}var IS=jS,ES=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],CS=["scalar","sequence","mapping"];function PS(u){var D={};if(u!==null)Object.keys(u).forEach(function(F){u[F].forEach(function($){D[String($)]=F})});return D}function vS(u,D){if(D=D||{},Object.keys(D).forEach(function(F){if(ES.indexOf(F)===-1)throw new bu('Unknown option "'+F+'" is met in definition of "'+u+'" YAML type.')}),this.options=D,this.tag=u,this.kind=D.kind||null,this.resolve=D.resolve||function(){return!0},this.construct=D.construct||function(F){return F},this.instanceOf=D.instanceOf||null,this.predicate=D.predicate||null,this.represent=D.represent||null,this.representName=D.representName||null,this.defaultStyle=D.defaultStyle||null,this.multi=D.multi||!1,this.styleAliases=PS(D.styleAliases||null),CS.indexOf(this.kind)===-1)throw new bu('Unknown kind "'+this.kind+'" is specified for "'+u+'" YAML type.')}var Ou=vS;function cY(u,D){var F=[];return u[D].forEach(function($){var B=F.length;F.forEach(function(z,Z){if(z.tag===$.tag&&z.kind===$.kind&&z.multi===$.multi)B=Z}),F[B]=$}),F}function _S(){var u={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},D,F;function $(B){if(B.multi)u.multi[B.kind].push(B),u.multi.fallback.push(B);else u[B.kind][B.tag]=u.fallback[B.tag]=B}for(D=0,F=arguments.length;D<F;D+=1)arguments[D].forEach($);return u}function z$(u){return this.extend(u)}z$.prototype.extend=function(D){var F=[],$=[];if(D instanceof Ou)$.push(D);else if(Array.isArray(D))$=$.concat(D);else if(D&&(Array.isArray(D.implicit)||Array.isArray(D.explicit))){if(D.implicit)F=F.concat(D.implicit);if(D.explicit)$=$.concat(D.explicit)}else throw new bu("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");F.forEach(function(z){if(!(z instanceof Ou))throw new bu("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(z.loadKind&&z.loadKind!=="scalar")throw new bu("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(z.multi)throw new bu("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),$.forEach(function(z){if(!(z instanceof Ou))throw new bu("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var B=Object.create(z$.prototype);return B.implicit=(this.implicit||[]).concat(F),B.explicit=(this.explicit||[]).concat($),B.compiledImplicit=cY(B,"implicit"),B.compiledExplicit=cY(B,"explicit"),B.compiledTypeMap=_S(B.compiledImplicit,B.compiledExplicit),B};var US=z$,SS=new Ou("tag:yaml.org,2002:str",{kind:"scalar",construct:function(u){return u!==null?u:""}}),TS=new Ou("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(u){return u!==null?u:[]}}),yS=new Ou("tag:yaml.org,2002:map",{kind:"mapping",construct:function(u){return u!==null?u:{}}}),$W=new US({explicit:[SS,TS,yS]});function bS(u){if(u===null)return!0;var D=u.length;return D===1&&u==="~"||D===4&&(u==="null"||u==="Null"||u==="NULL")}function RS(){return null}function kS(u){return u===null}var cS=new Ou("tag:yaml.org,2002:null",{kind:"scalar",resolve:bS,construct:RS,predicate:kS,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function hS(u){if(u===null)return!1;var D=u.length;return D===4&&(u==="true"||u==="True"||u==="TRUE")||D===5&&(u==="false"||u==="False"||u==="FALSE")}function mS(u){return u==="true"||u==="True"||u==="TRUE"}function nS(u){return Object.prototype.toString.call(u)==="[object Boolean]"}var pS=new Ou("tag:yaml.org,2002:bool",{kind:"scalar",resolve:hS,construct:mS,predicate:nS,represent:{lowercase:function(u){return u?"true":"false"},uppercase:function(u){return u?"TRUE":"FALSE"},camelcase:function(u){return u?"True":"False"}},defaultStyle:"lowercase"});function lS(u){return 48<=u&&u<=57||65<=u&&u<=70||97<=u&&u<=102}function dS(u){return 48<=u&&u<=55}function gS(u){return 48<=u&&u<=57}function oS(u){if(u===null)return!1;var D=u.length,F=0,$=!1,B;if(!D)return!1;if(B=u[F],B==="-"||B==="+")B=u[++F];if(B==="0"){if(F+1===D)return!0;if(B=u[++F],B==="b"){F++;for(;F<D;F++){if(B=u[F],B==="_")continue;if(B!=="0"&&B!=="1")return!1;$=!0}return $&&B!=="_"}if(B==="x"){F++;for(;F<D;F++){if(B=u[F],B==="_")continue;if(!lS(u.charCodeAt(F)))return!1;$=!0}return $&&B!=="_"}if(B==="o"){F++;for(;F<D;F++){if(B=u[F],B==="_")continue;if(!dS(u.charCodeAt(F)))return!1;$=!0}return $&&B!=="_"}}if(B==="_")return!1;for(;F<D;F++){if(B=u[F],B==="_")continue;if(!gS(u.charCodeAt(F)))return!1;$=!0}if(!$||B==="_")return!1;return!0}function sS(u){var D=u,F=1,$;if(D.indexOf("_")!==-1)D=D.replace(/_/g,"");if($=D[0],$==="-"||$==="+"){if($==="-")F=-1;D=D.slice(1),$=D[0]}if(D==="0")return 0;if($==="0"){if(D[1]==="b")return F*parseInt(D.slice(2),2);if(D[1]==="x")return F*parseInt(D.slice(2),16);if(D[1]==="o")return F*parseInt(D.slice(2),8)}return F*parseInt(D,10)}function aS(u){return Object.prototype.toString.call(u)==="[object Number]"&&(u%1===0&&!fu.isNegativeZero(u))}var rS=new Ou("tag:yaml.org,2002:int",{kind:"scalar",resolve:oS,construct:sS,predicate:aS,represent:{binary:function(u){return u>=0?"0b"+u.toString(2):"-0b"+u.toString(2).slice(1)},octal:function(u){return u>=0?"0o"+u.toString(8):"-0o"+u.toString(8).slice(1)},decimal:function(u){return u.toString(10)},hexadecimal:function(u){return u>=0?"0x"+u.toString(16).toUpperCase():"-0x"+u.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),tS=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function eS(u){if(u===null)return!1;if(!tS.test(u)||u[u.length-1]==="_")return!1;return!0}function uT(u){var D,F;if(D=u.replace(/_/g,"").toLowerCase(),F=D[0]==="-"?-1:1,"+-".indexOf(D[0])>=0)D=D.slice(1);if(D===".inf")return F===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY;else if(D===".nan")return NaN;return F*parseFloat(D,10)}var DT=/^[-+]?[0-9]+e/;function FT(u,D){var F;if(isNaN(u))switch(D){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===u)switch(D){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===u)switch(D){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(fu.isNegativeZero(u))return"-0.0";return F=u.toString(10),DT.test(F)?F.replace("e",".e"):F}function $T(u){return Object.prototype.toString.call(u)==="[object Number]"&&(u%1!==0||fu.isNegativeZero(u))}var BT=new Ou("tag:yaml.org,2002:float",{kind:"scalar",resolve:eS,construct:uT,predicate:$T,represent:FT,defaultStyle:"lowercase"}),zT=$W.extend({implicit:[cS,pS,rS,BT]}),ZT=zT,BW=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),zW=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function qT(u){if(u===null)return!1;if(BW.exec(u)!==null)return!0;if(zW.exec(u)!==null)return!0;return!1}function XT(u){var D,F,$,B,z,Z,q,X=0,Q=null,Y,W,J;if(D=BW.exec(u),D===null)D=zW.exec(u);if(D===null)throw Error("Date resolve error");if(F=+D[1],$=+D[2]-1,B=+D[3],!D[4])return new Date(Date.UTC(F,$,B));if(z=+D[4],Z=+D[5],q=+D[6],D[7]){X=D[7].slice(0,3);while(X.length<3)X+="0";X=+X}if(D[9]){if(Y=+D[10],W=+(D[11]||0),Q=(Y*60+W)*60000,D[9]==="-")Q=-Q}if(J=new Date(Date.UTC(F,$,B,z,Z,q,X)),Q)J.setTime(J.getTime()-Q);return J}function QT(u){return u.toISOString()}var YT=new Ou("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:qT,construct:XT,instanceOf:Date,represent:QT});function WT(u){return u==="<<"||u===null}var JT=new Ou("tag:yaml.org,2002:merge",{kind:"scalar",resolve:WT}),Y$=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
176
+ \r`;function GT(u){if(u===null)return!1;var D,F,$=0,B=u.length,z=Y$;for(F=0;F<B;F++){if(D=z.indexOf(u.charAt(F)),D>64)continue;if(D<0)return!1;$+=6}return $%8===0}function fT(u){var D,F,$=u.replace(/[\r\n=]/g,""),B=$.length,z=Y$,Z=0,q=[];for(D=0;D<B;D++){if(D%4===0&&D)q.push(Z>>16&255),q.push(Z>>8&255),q.push(Z&255);Z=Z<<6|z.indexOf($.charAt(D))}if(F=B%4*6,F===0)q.push(Z>>16&255),q.push(Z>>8&255),q.push(Z&255);else if(F===18)q.push(Z>>10&255),q.push(Z>>2&255);else if(F===12)q.push(Z>>4&255);return new Uint8Array(q)}function KT(u){var D="",F=0,$,B,z=u.length,Z=Y$;for($=0;$<z;$++){if($%3===0&&$)D+=Z[F>>18&63],D+=Z[F>>12&63],D+=Z[F>>6&63],D+=Z[F&63];F=(F<<8)+u[$]}if(B=z%3,B===0)D+=Z[F>>18&63],D+=Z[F>>12&63],D+=Z[F>>6&63],D+=Z[F&63];else if(B===2)D+=Z[F>>10&63],D+=Z[F>>4&63],D+=Z[F<<2&63],D+=Z[64];else if(B===1)D+=Z[F>>2&63],D+=Z[F<<4&63],D+=Z[64],D+=Z[64];return D}function xT(u){return Object.prototype.toString.call(u)==="[object Uint8Array]"}var HT=new Ou("tag:yaml.org,2002:binary",{kind:"scalar",resolve:GT,construct:fT,predicate:xT,represent:KT}),VT=Object.prototype.hasOwnProperty,LT=Object.prototype.toString;function MT(u){if(u===null)return!0;var D=[],F,$,B,z,Z,q=u;for(F=0,$=q.length;F<$;F+=1){if(B=q[F],Z=!1,LT.call(B)!=="[object Object]")return!1;for(z in B)if(VT.call(B,z))if(!Z)Z=!0;else return!1;if(!Z)return!1;if(D.indexOf(z)===-1)D.push(z);else return!1}return!0}function wT(u){return u!==null?u:[]}var iT=new Ou("tag:yaml.org,2002:omap",{kind:"sequence",resolve:MT,construct:wT}),OT=Object.prototype.toString;function AT(u){if(u===null)return!0;var D,F,$,B,z,Z=u;z=Array(Z.length);for(D=0,F=Z.length;D<F;D+=1){if($=Z[D],OT.call($)!=="[object Object]")return!1;if(B=Object.keys($),B.length!==1)return!1;z[D]=[B[0],$[B[0]]]}return!0}function NT(u){if(u===null)return[];var D,F,$,B,z,Z=u;z=Array(Z.length);for(D=0,F=Z.length;D<F;D+=1)$=Z[D],B=Object.keys($),z[D]=[B[0],$[B[0]]];return z}var jT=new Ou("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:AT,construct:NT}),IT=Object.prototype.hasOwnProperty;function ET(u){if(u===null)return!0;var D,F=u;for(D in F)if(IT.call(F,D)){if(F[D]!==null)return!1}return!0}function CT(u){return u!==null?u:{}}var PT=new Ou("tag:yaml.org,2002:set",{kind:"mapping",resolve:ET,construct:CT}),W$=ZT.extend({implicit:[YT,JT],explicit:[HT,iT,jT,PT]}),S1=Object.prototype.hasOwnProperty,S7=1,ZW=2,qW=3,T7=4,B$=1,vT=2,hY=3,_T=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,UT=/[\x85\u2028\u2029]/,ST=/[,\[\]\{\}]/,XW=/^(?:!|!!|![a-z\-]+!)$/i,QW=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function mY(u){return Object.prototype.toString.call(u)}function sD(u){return u===10||u===13}function LF(u){return u===9||u===32}function du(u){return u===9||u===32||u===10||u===13}function z6(u){return u===44||u===91||u===93||u===123||u===125}function TT(u){var D;if(48<=u&&u<=57)return u-48;if(D=u|32,97<=D&&D<=102)return D-97+10;return-1}function yT(u){if(u===120)return 2;if(u===117)return 4;if(u===85)return 8;return 0}function bT(u){if(48<=u&&u<=57)return u-48;return-1}function nY(u){return u===48?"\x00":u===97?"\x07":u===98?"\b":u===116?"\t":u===9?"\t":u===110?`
177
+ `:u===118?"\v":u===102?"\f":u===114?"\r":u===101?"\x1B":u===32?" ":u===34?'"':u===47?"/":u===92?"\\":u===78?"…":u===95?" ":u===76?"\u2028":u===80?"\u2029":""}function RT(u){if(u<=65535)return String.fromCharCode(u);return String.fromCharCode((u-65536>>10)+55296,(u-65536&1023)+56320)}function YW(u,D,F){if(D==="__proto__")Object.defineProperty(u,D,{configurable:!0,enumerable:!0,writable:!0,value:F});else u[D]=F}var WW=Array(256),JW=Array(256);for(_1=0;_1<256;_1++)WW[_1]=nY(_1)?1:0,JW[_1]=nY(_1);var _1;function kT(u,D){this.input=u,this.filename=D.filename||null,this.schema=D.schema||W$,this.onWarning=D.onWarning||null,this.legacy=D.legacy||!1,this.json=D.json||!1,this.listener=D.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=u.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function GW(u,D){var F={name:u.filename,buffer:u.input.slice(0,-1),position:u.position,line:u.line,column:u.position-u.lineStart};return F.snippet=IS(F),new bu(D,F)}function x0(u,D){throw GW(u,D)}function y7(u,D){if(u.onWarning)u.onWarning.call(null,GW(u,D))}var pY={YAML:function(D,F,$){var B,z,Z;if(D.version!==null)x0(D,"duplication of %YAML directive");if($.length!==1)x0(D,"YAML directive accepts exactly one argument");if(B=/^([0-9]+)\.([0-9]+)$/.exec($[0]),B===null)x0(D,"ill-formed argument of the YAML directive");if(z=parseInt(B[1],10),Z=parseInt(B[2],10),z!==1)x0(D,"unacceptable YAML version of the document");if(D.version=$[0],D.checkLineBreaks=Z<2,Z!==1&&Z!==2)y7(D,"unsupported YAML version of the document")},TAG:function(D,F,$){var B,z;if($.length!==2)x0(D,"TAG directive accepts exactly two arguments");if(B=$[0],z=$[1],!XW.test(B))x0(D,"ill-formed tag handle (first argument) of the TAG directive");if(S1.call(D.tagMap,B))x0(D,'there is a previously declared suffix for "'+B+'" tag handle');if(!QW.test(z))x0(D,"ill-formed tag prefix (second argument) of the TAG directive");try{z=decodeURIComponent(z)}catch(Z){x0(D,"tag prefix is malformed: "+z)}D.tagMap[B]=z}};function U1(u,D,F,$){var B,z,Z,q;if(D<F){if(q=u.input.slice(D,F),$){for(B=0,z=q.length;B<z;B+=1)if(Z=q.charCodeAt(B),!(Z===9||32<=Z&&Z<=1114111))x0(u,"expected valid JSON character")}else if(_T.test(q))x0(u,"the stream contains non-printable characters");u.result+=q}}function lY(u,D,F,$){var B,z,Z,q;if(!fu.isObject(F))x0(u,"cannot merge mappings; the provided source object is unacceptable");B=Object.keys(F);for(Z=0,q=B.length;Z<q;Z+=1)if(z=B[Z],!S1.call(D,z))YW(D,z,F[z]),$[z]=!0}function Z6(u,D,F,$,B,z,Z,q,X){var Q,Y;if(Array.isArray(B)){B=Array.prototype.slice.call(B);for(Q=0,Y=B.length;Q<Y;Q+=1){if(Array.isArray(B[Q]))x0(u,"nested arrays are not supported inside keys");if(typeof B==="object"&&mY(B[Q])==="[object Object]")B[Q]="[object Object]"}}if(typeof B==="object"&&mY(B)==="[object Object]")B="[object Object]";if(B=String(B),D===null)D={};if($==="tag:yaml.org,2002:merge")if(Array.isArray(z))for(Q=0,Y=z.length;Q<Y;Q+=1)lY(u,D,z[Q],F);else lY(u,D,z,F);else{if(!u.json&&!S1.call(F,B)&&S1.call(D,B))u.line=Z||u.line,u.lineStart=q||u.lineStart,u.position=X||u.position,x0(u,"duplicated mapping key");YW(D,B,z),delete F[B]}return D}function J$(u){var D=u.input.charCodeAt(u.position);if(D===10)u.position++;else if(D===13){if(u.position++,u.input.charCodeAt(u.position)===10)u.position++}else x0(u,"a line break is expected");u.line+=1,u.lineStart=u.position,u.firstTabInLine=-1}function Ju(u,D,F){var $=0,B=u.input.charCodeAt(u.position);while(B!==0){while(LF(B)){if(B===9&&u.firstTabInLine===-1)u.firstTabInLine=u.position;B=u.input.charCodeAt(++u.position)}if(D&&B===35)do B=u.input.charCodeAt(++u.position);while(B!==10&&B!==13&&B!==0);if(sD(B)){J$(u),B=u.input.charCodeAt(u.position),$++,u.lineIndent=0;while(B===32)u.lineIndent++,B=u.input.charCodeAt(++u.position)}else break}if(F!==-1&&$!==0&&u.lineIndent<F)y7(u,"deficient indentation");return $}function k7(u){var D=u.position,F;if(F=u.input.charCodeAt(D),(F===45||F===46)&&F===u.input.charCodeAt(D+1)&&F===u.input.charCodeAt(D+2)){if(D+=3,F=u.input.charCodeAt(D),F===0||du(F))return!0}return!1}function G$(u,D){if(D===1)u.result+=" ";else if(D>1)u.result+=fu.repeat(`
178
+ `,D-1)}function cT(u,D,F){var $,B,z,Z,q,X,Q,Y,W=u.kind,J=u.result,G;if(G=u.input.charCodeAt(u.position),du(G)||z6(G)||G===35||G===38||G===42||G===33||G===124||G===62||G===39||G===34||G===37||G===64||G===96)return!1;if(G===63||G===45){if(B=u.input.charCodeAt(u.position+1),du(B)||F&&z6(B))return!1}u.kind="scalar",u.result="",z=Z=u.position,q=!1;while(G!==0){if(G===58){if(B=u.input.charCodeAt(u.position+1),du(B)||F&&z6(B))break}else if(G===35){if($=u.input.charCodeAt(u.position-1),du($))break}else if(u.position===u.lineStart&&k7(u)||F&&z6(G))break;else if(sD(G))if(X=u.line,Q=u.lineStart,Y=u.lineIndent,Ju(u,!1,-1),u.lineIndent>=D){q=!0,G=u.input.charCodeAt(u.position);continue}else{u.position=Z,u.line=X,u.lineStart=Q,u.lineIndent=Y;break}if(q)U1(u,z,Z,!1),G$(u,u.line-X),z=Z=u.position,q=!1;if(!LF(G))Z=u.position+1;G=u.input.charCodeAt(++u.position)}if(U1(u,z,Z,!1),u.result)return!0;return u.kind=W,u.result=J,!1}function hT(u,D){var F,$,B;if(F=u.input.charCodeAt(u.position),F!==39)return!1;u.kind="scalar",u.result="",u.position++,$=B=u.position;while((F=u.input.charCodeAt(u.position))!==0)if(F===39)if(U1(u,$,u.position,!0),F=u.input.charCodeAt(++u.position),F===39)$=u.position,u.position++,B=u.position;else return!0;else if(sD(F))U1(u,$,B,!0),G$(u,Ju(u,!1,D)),$=B=u.position;else if(u.position===u.lineStart&&k7(u))x0(u,"unexpected end of the document within a single quoted scalar");else u.position++,B=u.position;x0(u,"unexpected end of the stream within a single quoted scalar")}function mT(u,D){var F,$,B,z,Z,q;if(q=u.input.charCodeAt(u.position),q!==34)return!1;u.kind="scalar",u.result="",u.position++,F=$=u.position;while((q=u.input.charCodeAt(u.position))!==0)if(q===34)return U1(u,F,u.position,!0),u.position++,!0;else if(q===92){if(U1(u,F,u.position,!0),q=u.input.charCodeAt(++u.position),sD(q))Ju(u,!1,D);else if(q<256&&WW[q])u.result+=JW[q],u.position++;else if((Z=yT(q))>0){B=Z,z=0;for(;B>0;B--)if(q=u.input.charCodeAt(++u.position),(Z=TT(q))>=0)z=(z<<4)+Z;else x0(u,"expected hexadecimal character");u.result+=RT(z),u.position++}else x0(u,"unknown escape sequence");F=$=u.position}else if(sD(q))U1(u,F,$,!0),G$(u,Ju(u,!1,D)),F=$=u.position;else if(u.position===u.lineStart&&k7(u))x0(u,"unexpected end of the document within a double quoted scalar");else u.position++,$=u.position;x0(u,"unexpected end of the stream within a double quoted scalar")}function nT(u,D){var F=!0,$,B,z,Z=u.tag,q,X=u.anchor,Q,Y,W,J,G,f=Object.create(null),K,x,M,L;if(L=u.input.charCodeAt(u.position),L===91)Y=93,G=!1,q=[];else if(L===123)Y=125,G=!0,q={};else return!1;if(u.anchor!==null)u.anchorMap[u.anchor]=q;L=u.input.charCodeAt(++u.position);while(L!==0){if(Ju(u,!0,D),L=u.input.charCodeAt(u.position),L===Y)return u.position++,u.tag=Z,u.anchor=X,u.kind=G?"mapping":"sequence",u.result=q,!0;else if(!F)x0(u,"missed comma between flow collection entries");else if(L===44)x0(u,"expected the node content, but found ','");if(x=K=M=null,W=J=!1,L===63){if(Q=u.input.charCodeAt(u.position+1),du(Q))W=J=!0,u.position++,Ju(u,!0,D)}if($=u.line,B=u.lineStart,z=u.position,q6(u,D,S7,!1,!0),x=u.tag,K=u.result,Ju(u,!0,D),L=u.input.charCodeAt(u.position),(J||u.line===$)&&L===58)W=!0,L=u.input.charCodeAt(++u.position),Ju(u,!0,D),q6(u,D,S7,!1,!0),M=u.result;if(G)Z6(u,q,f,x,K,M,$,B,z);else if(W)q.push(Z6(u,null,f,x,K,M,$,B,z));else q.push(K);if(Ju(u,!0,D),L=u.input.charCodeAt(u.position),L===44)F=!0,L=u.input.charCodeAt(++u.position);else F=!1}x0(u,"unexpected end of the stream within a flow collection")}function pT(u,D){var F,$,B=B$,z=!1,Z=!1,q=D,X=0,Q=!1,Y,W;if(W=u.input.charCodeAt(u.position),W===124)$=!1;else if(W===62)$=!0;else return!1;u.kind="scalar",u.result="";while(W!==0)if(W=u.input.charCodeAt(++u.position),W===43||W===45)if(B$===B)B=W===43?hY:vT;else x0(u,"repeat of a chomping mode identifier");else if((Y=bT(W))>=0)if(Y===0)x0(u,"bad explicit indentation width of a block scalar; it cannot be less than one");else if(!Z)q=D+Y-1,Z=!0;else x0(u,"repeat of an indentation width identifier");else break;if(LF(W)){do W=u.input.charCodeAt(++u.position);while(LF(W));if(W===35)do W=u.input.charCodeAt(++u.position);while(!sD(W)&&W!==0)}while(W!==0){J$(u),u.lineIndent=0,W=u.input.charCodeAt(u.position);while((!Z||u.lineIndent<q)&&W===32)u.lineIndent++,W=u.input.charCodeAt(++u.position);if(!Z&&u.lineIndent>q)q=u.lineIndent;if(sD(W)){X++;continue}if(u.lineIndent<q){if(B===hY)u.result+=fu.repeat(`
179
+ `,z?1+X:X);else if(B===B$){if(z)u.result+=`
180
+ `}break}if($)if(LF(W))Q=!0,u.result+=fu.repeat(`
181
+ `,z?1+X:X);else if(Q)Q=!1,u.result+=fu.repeat(`
182
+ `,X+1);else if(X===0){if(z)u.result+=" "}else u.result+=fu.repeat(`
183
+ `,X);else u.result+=fu.repeat(`
184
+ `,z?1+X:X);z=!0,Z=!0,X=0,F=u.position;while(!sD(W)&&W!==0)W=u.input.charCodeAt(++u.position);U1(u,F,u.position,!1)}return!0}function dY(u,D){var F,$=u.tag,B=u.anchor,z=[],Z,q=!1,X;if(u.firstTabInLine!==-1)return!1;if(u.anchor!==null)u.anchorMap[u.anchor]=z;X=u.input.charCodeAt(u.position);while(X!==0){if(u.firstTabInLine!==-1)u.position=u.firstTabInLine,x0(u,"tab characters must not be used in indentation");if(X!==45)break;if(Z=u.input.charCodeAt(u.position+1),!du(Z))break;if(q=!0,u.position++,Ju(u,!0,-1)){if(u.lineIndent<=D){z.push(null),X=u.input.charCodeAt(u.position);continue}}if(F=u.line,q6(u,D,qW,!1,!0),z.push(u.result),Ju(u,!0,-1),X=u.input.charCodeAt(u.position),(u.line===F||u.lineIndent>D)&&X!==0)x0(u,"bad indentation of a sequence entry");else if(u.lineIndent<D)break}if(q)return u.tag=$,u.anchor=B,u.kind="sequence",u.result=z,!0;return!1}function lT(u,D,F){var $,B,z,Z,q,X,Q=u.tag,Y=u.anchor,W={},J=Object.create(null),G=null,f=null,K=null,x=!1,M=!1,L;if(u.firstTabInLine!==-1)return!1;if(u.anchor!==null)u.anchorMap[u.anchor]=W;L=u.input.charCodeAt(u.position);while(L!==0){if(!x&&u.firstTabInLine!==-1)u.position=u.firstTabInLine,x0(u,"tab characters must not be used in indentation");if($=u.input.charCodeAt(u.position+1),z=u.line,(L===63||L===58)&&du($)){if(L===63){if(x)Z6(u,W,J,G,f,null,Z,q,X),G=f=K=null;M=!0,x=!0,B=!0}else if(x)x=!1,B=!0;else x0(u,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line");u.position+=1,L=$}else{if(Z=u.line,q=u.lineStart,X=u.position,!q6(u,F,ZW,!1,!0))break;if(u.line===z){L=u.input.charCodeAt(u.position);while(LF(L))L=u.input.charCodeAt(++u.position);if(L===58){if(L=u.input.charCodeAt(++u.position),!du(L))x0(u,"a whitespace character is expected after the key-value separator within a block mapping");if(x)Z6(u,W,J,G,f,null,Z,q,X),G=f=K=null;M=!0,x=!1,B=!1,G=u.tag,f=u.result}else if(M)x0(u,"can not read an implicit mapping pair; a colon is missed");else return u.tag=Q,u.anchor=Y,!0}else if(M)x0(u,"can not read a block mapping entry; a multiline key may not be an implicit key");else return u.tag=Q,u.anchor=Y,!0}if(u.line===z||u.lineIndent>D){if(x)Z=u.line,q=u.lineStart,X=u.position;if(q6(u,D,T7,!0,B))if(x)f=u.result;else K=u.result;if(!x)Z6(u,W,J,G,f,K,Z,q,X),G=f=K=null;Ju(u,!0,-1),L=u.input.charCodeAt(u.position)}if((u.line===z||u.lineIndent>D)&&L!==0)x0(u,"bad indentation of a mapping entry");else if(u.lineIndent<D)break}if(x)Z6(u,W,J,G,f,null,Z,q,X);if(M)u.tag=Q,u.anchor=Y,u.kind="mapping",u.result=W;return M}function dT(u){var D,F=!1,$=!1,B,z,Z;if(Z=u.input.charCodeAt(u.position),Z!==33)return!1;if(u.tag!==null)x0(u,"duplication of a tag property");if(Z=u.input.charCodeAt(++u.position),Z===60)F=!0,Z=u.input.charCodeAt(++u.position);else if(Z===33)$=!0,B="!!",Z=u.input.charCodeAt(++u.position);else B="!";if(D=u.position,F){do Z=u.input.charCodeAt(++u.position);while(Z!==0&&Z!==62);if(u.position<u.length)z=u.input.slice(D,u.position),Z=u.input.charCodeAt(++u.position);else x0(u,"unexpected end of the stream within a verbatim tag")}else{while(Z!==0&&!du(Z)){if(Z===33)if(!$){if(B=u.input.slice(D-1,u.position+1),!XW.test(B))x0(u,"named tag handle cannot contain such characters");$=!0,D=u.position+1}else x0(u,"tag suffix cannot contain exclamation marks");Z=u.input.charCodeAt(++u.position)}if(z=u.input.slice(D,u.position),ST.test(z))x0(u,"tag suffix cannot contain flow indicator characters")}if(z&&!QW.test(z))x0(u,"tag name cannot contain such characters: "+z);try{z=decodeURIComponent(z)}catch(q){x0(u,"tag name is malformed: "+z)}if(F)u.tag=z;else if(S1.call(u.tagMap,B))u.tag=u.tagMap[B]+z;else if(B==="!")u.tag="!"+z;else if(B==="!!")u.tag="tag:yaml.org,2002:"+z;else x0(u,'undeclared tag handle "'+B+'"');return!0}function gT(u){var D,F;if(F=u.input.charCodeAt(u.position),F!==38)return!1;if(u.anchor!==null)x0(u,"duplication of an anchor property");F=u.input.charCodeAt(++u.position),D=u.position;while(F!==0&&!du(F)&&!z6(F))F=u.input.charCodeAt(++u.position);if(u.position===D)x0(u,"name of an anchor node must contain at least one character");return u.anchor=u.input.slice(D,u.position),!0}function oT(u){var D,F,$;if($=u.input.charCodeAt(u.position),$!==42)return!1;$=u.input.charCodeAt(++u.position),D=u.position;while($!==0&&!du($)&&!z6($))$=u.input.charCodeAt(++u.position);if(u.position===D)x0(u,"name of an alias node must contain at least one character");if(F=u.input.slice(D,u.position),!S1.call(u.anchorMap,F))x0(u,'unidentified alias "'+F+'"');return u.result=u.anchorMap[F],Ju(u,!0,-1),!0}function q6(u,D,F,$,B){var z,Z,q,X=1,Q=!1,Y=!1,W,J,G,f,K,x;if(u.listener!==null)u.listener("open",u);if(u.tag=null,u.anchor=null,u.kind=null,u.result=null,z=Z=q=T7===F||qW===F,$){if(Ju(u,!0,-1)){if(Q=!0,u.lineIndent>D)X=1;else if(u.lineIndent===D)X=0;else if(u.lineIndent<D)X=-1}}if(X===1)while(dT(u)||gT(u))if(Ju(u,!0,-1)){if(Q=!0,q=z,u.lineIndent>D)X=1;else if(u.lineIndent===D)X=0;else if(u.lineIndent<D)X=-1}else q=!1;if(q)q=Q||B;if(X===1||T7===F){if(S7===F||ZW===F)K=D;else K=D+1;if(x=u.position-u.lineStart,X===1)if(q&&(dY(u,x)||lT(u,x,K))||nT(u,K))Y=!0;else{if(Z&&pT(u,K)||hT(u,K)||mT(u,K))Y=!0;else if(oT(u)){if(Y=!0,u.tag!==null||u.anchor!==null)x0(u,"alias node should not have any properties")}else if(cT(u,K,S7===F)){if(Y=!0,u.tag===null)u.tag="?"}if(u.anchor!==null)u.anchorMap[u.anchor]=u.result}else if(X===0)Y=q&&dY(u,x)}if(u.tag===null){if(u.anchor!==null)u.anchorMap[u.anchor]=u.result}else if(u.tag==="?"){if(u.result!==null&&u.kind!=="scalar")x0(u,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+u.kind+'"');for(W=0,J=u.implicitTypes.length;W<J;W+=1)if(f=u.implicitTypes[W],f.resolve(u.result)){if(u.result=f.construct(u.result),u.tag=f.tag,u.anchor!==null)u.anchorMap[u.anchor]=u.result;break}}else if(u.tag!=="!"){if(S1.call(u.typeMap[u.kind||"fallback"],u.tag))f=u.typeMap[u.kind||"fallback"][u.tag];else{f=null,G=u.typeMap.multi[u.kind||"fallback"];for(W=0,J=G.length;W<J;W+=1)if(u.tag.slice(0,G[W].tag.length)===G[W].tag){f=G[W];break}}if(!f)x0(u,"unknown tag !<"+u.tag+">");if(u.result!==null&&f.kind!==u.kind)x0(u,"unacceptable node kind for !<"+u.tag+'> tag; it should be "'+f.kind+'", not "'+u.kind+'"');if(!f.resolve(u.result,u.tag))x0(u,"cannot resolve a node with !<"+u.tag+"> explicit tag");else if(u.result=f.construct(u.result,u.tag),u.anchor!==null)u.anchorMap[u.anchor]=u.result}if(u.listener!==null)u.listener("close",u);return u.tag!==null||u.anchor!==null||Y}function sT(u){var D=u.position,F,$,B,z=!1,Z;u.version=null,u.checkLineBreaks=u.legacy,u.tagMap=Object.create(null),u.anchorMap=Object.create(null);while((Z=u.input.charCodeAt(u.position))!==0){if(Ju(u,!0,-1),Z=u.input.charCodeAt(u.position),u.lineIndent>0||Z!==37)break;z=!0,Z=u.input.charCodeAt(++u.position),F=u.position;while(Z!==0&&!du(Z))Z=u.input.charCodeAt(++u.position);if($=u.input.slice(F,u.position),B=[],$.length<1)x0(u,"directive name must not be less than one character in length");while(Z!==0){while(LF(Z))Z=u.input.charCodeAt(++u.position);if(Z===35){do Z=u.input.charCodeAt(++u.position);while(Z!==0&&!sD(Z));break}if(sD(Z))break;F=u.position;while(Z!==0&&!du(Z))Z=u.input.charCodeAt(++u.position);B.push(u.input.slice(F,u.position))}if(Z!==0)J$(u);if(S1.call(pY,$))pY[$](u,$,B);else y7(u,'unknown document directive "'+$+'"')}if(Ju(u,!0,-1),u.lineIndent===0&&u.input.charCodeAt(u.position)===45&&u.input.charCodeAt(u.position+1)===45&&u.input.charCodeAt(u.position+2)===45)u.position+=3,Ju(u,!0,-1);else if(z)x0(u,"directives end mark is expected");if(q6(u,u.lineIndent-1,T7,!1,!0),Ju(u,!0,-1),u.checkLineBreaks&&UT.test(u.input.slice(D,u.position)))y7(u,"non-ASCII line breaks are interpreted as content");if(u.documents.push(u.result),u.position===u.lineStart&&k7(u)){if(u.input.charCodeAt(u.position)===46)u.position+=3,Ju(u,!0,-1);return}if(u.position<u.length-1)x0(u,"end of the stream or a document separator is expected");else return}function fW(u,D){if(u=String(u),D=D||{},u.length!==0){if(u.charCodeAt(u.length-1)!==10&&u.charCodeAt(u.length-1)!==13)u+=`
185
+ `;if(u.charCodeAt(0)===65279)u=u.slice(1)}var F=new kT(u,D),$=u.indexOf("\x00");if($!==-1)F.position=$,x0(F,"null byte is not allowed in input");F.input+="\x00";while(F.input.charCodeAt(F.position)===32)F.lineIndent+=1,F.position+=1;while(F.position<F.length-1)sT(F);return F.documents}function aT(u,D,F){if(D!==null&&typeof D==="object"&&typeof F>"u")F=D,D=null;var $=fW(u,F);if(typeof D!=="function")return $;for(var B=0,z=$.length;B<z;B+=1)D($[B])}function rT(u,D){var F=fW(u,D);if(F.length===0)return;else if(F.length===1)return F[0];throw new bu("expected a single document in the stream, but found more")}var tT=aT,eT=rT,KW={loadAll:tT,load:eT},xW=Object.prototype.toString,HW=Object.prototype.hasOwnProperty,f$=65279,uy=9,M8=10,Dy=13,Fy=32,$y=33,By=34,Z$=35,zy=37,Zy=38,qy=39,Xy=42,VW=44,Qy=45,b7=58,Yy=61,Wy=62,Jy=63,Gy=64,LW=91,MW=93,fy=96,wW=123,Ky=124,iW=125,ju={};ju[0]="\\0";ju[7]="\\a";ju[8]="\\b";ju[9]="\\t";ju[10]="\\n";ju[11]="\\v";ju[12]="\\f";ju[13]="\\r";ju[27]="\\e";ju[34]="\\\"";ju[92]="\\\\";ju[133]="\\N";ju[160]="\\_";ju[8232]="\\L";ju[8233]="\\P";var xy=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],Hy=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function Vy(u,D){var F,$,B,z,Z,q,X;if(D===null)return{};F={},$=Object.keys(D);for(B=0,z=$.length;B<z;B+=1){if(Z=$[B],q=String(D[Z]),Z.slice(0,2)==="!!")Z="tag:yaml.org,2002:"+Z.slice(2);if(X=u.compiledTypeMap.fallback[Z],X&&HW.call(X.styleAliases,q))q=X.styleAliases[q];F[Z]=q}return F}function Ly(u){var D,F,$;if(D=u.toString(16).toUpperCase(),u<=255)F="x",$=2;else if(u<=65535)F="u",$=4;else if(u<=4294967295)F="U",$=8;else throw new bu("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+F+fu.repeat("0",$-D.length)+D}var My=1,w8=2;function wy(u){this.schema=u.schema||W$,this.indent=Math.max(1,u.indent||2),this.noArrayIndent=u.noArrayIndent||!1,this.skipInvalid=u.skipInvalid||!1,this.flowLevel=fu.isNothing(u.flowLevel)?-1:u.flowLevel,this.styleMap=Vy(this.schema,u.styles||null),this.sortKeys=u.sortKeys||!1,this.lineWidth=u.lineWidth||80,this.noRefs=u.noRefs||!1,this.noCompatMode=u.noCompatMode||!1,this.condenseFlow=u.condenseFlow||!1,this.quotingType=u.quotingType==='"'?w8:My,this.forceQuotes=u.forceQuotes||!1,this.replacer=typeof u.replacer==="function"?u.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function gY(u,D){var F=fu.repeat(" ",D),$=0,B=-1,z="",Z,q=u.length;while($<q){if(B=u.indexOf(`
186
+ `,$),B===-1)Z=u.slice($),$=q;else Z=u.slice($,B+1),$=B+1;if(Z.length&&Z!==`
187
+ `)z+=F;z+=Z}return z}function q$(u,D){return`
188
+ `+fu.repeat(" ",u.indent*D)}function iy(u,D){var F,$,B;for(F=0,$=u.implicitTypes.length;F<$;F+=1)if(B=u.implicitTypes[F],B.resolve(D))return!0;return!1}function R7(u){return u===Fy||u===uy}function i8(u){return 32<=u&&u<=126||161<=u&&u<=55295&&u!==8232&&u!==8233||57344<=u&&u<=65533&&u!==f$||65536<=u&&u<=1114111}function oY(u){return i8(u)&&u!==f$&&u!==Dy&&u!==M8}function sY(u,D,F){var $=oY(u),B=$&&!R7(u);return(F?$:$&&u!==VW&&u!==LW&&u!==MW&&u!==wW&&u!==iW)&&u!==Z$&&!(D===b7&&!B)||oY(D)&&!R7(D)&&u===Z$||D===b7&&B}function Oy(u){return i8(u)&&u!==f$&&!R7(u)&&u!==Qy&&u!==Jy&&u!==b7&&u!==VW&&u!==LW&&u!==MW&&u!==wW&&u!==iW&&u!==Z$&&u!==Zy&&u!==Xy&&u!==$y&&u!==Ky&&u!==Yy&&u!==Wy&&u!==qy&&u!==By&&u!==zy&&u!==Gy&&u!==fy}function Ay(u){return!R7(u)&&u!==b7}function V8(u,D){var F=u.charCodeAt(D),$;if(F>=55296&&F<=56319&&D+1<u.length){if($=u.charCodeAt(D+1),$>=56320&&$<=57343)return(F-55296)*1024+$-56320+65536}return F}function OW(u){var D=/^\n* /;return D.test(u)}var AW=1,X$=2,NW=3,jW=4,B6=5;function Ny(u,D,F,$,B,z,Z,q){var X,Q=0,Y=null,W=!1,J=!1,G=$!==-1,f=-1,K=Oy(V8(u,0))&&Ay(V8(u,u.length-1));if(D||Z)for(X=0;X<u.length;Q>=65536?X+=2:X++){if(Q=V8(u,X),!i8(Q))return B6;K=K&&sY(Q,Y,q),Y=Q}else{for(X=0;X<u.length;Q>=65536?X+=2:X++){if(Q=V8(u,X),Q===M8){if(W=!0,G)J=J||X-f-1>$&&u[f+1]!==" ",f=X}else if(!i8(Q))return B6;K=K&&sY(Q,Y,q),Y=Q}J=J||G&&(X-f-1>$&&u[f+1]!==" ")}if(!W&&!J){if(K&&!Z&&!B(u))return AW;return z===w8?B6:X$}if(F>9&&OW(u))return B6;if(!Z)return J?jW:NW;return z===w8?B6:X$}function jy(u,D,F,$,B){u.dump=function(){if(D.length===0)return u.quotingType===w8?'""':"''";if(!u.noCompatMode){if(xy.indexOf(D)!==-1||Hy.test(D))return u.quotingType===w8?'"'+D+'"':"'"+D+"'"}var z=u.indent*Math.max(1,F),Z=u.lineWidth===-1?-1:Math.max(Math.min(u.lineWidth,40),u.lineWidth-z),q=$||u.flowLevel>-1&&F>=u.flowLevel;function X(Q){return iy(u,Q)}switch(Ny(D,q,u.indent,Z,X,u.quotingType,u.forceQuotes&&!$,B)){case AW:return D;case X$:return"'"+D.replace(/'/g,"''")+"'";case NW:return"|"+aY(D,u.indent)+rY(gY(D,z));case jW:return">"+aY(D,u.indent)+rY(gY(Iy(D,Z),z));case B6:return'"'+Ey(D)+'"';default:throw new bu("impossible error: invalid scalar style")}}()}function aY(u,D){var F=OW(u)?String(D):"",$=u[u.length-1]===`
189
+ `,B=$&&(u[u.length-2]===`
190
+ `||u===`
191
+ `),z=B?"+":$?"":"-";return F+z+`
192
+ `}function rY(u){return u[u.length-1]===`
193
+ `?u.slice(0,-1):u}function Iy(u,D){var F=/(\n+)([^\n]*)/g,$=function(){var Q=u.indexOf(`
194
+ `);return Q=Q!==-1?Q:u.length,F.lastIndex=Q,tY(u.slice(0,Q),D)}(),B=u[0]===`
195
+ `||u[0]===" ",z,Z;while(Z=F.exec(u)){var q=Z[1],X=Z[2];z=X[0]===" ",$+=q+(!B&&!z&&X!==""?`
196
+ `:"")+tY(X,D),B=z}return $}function tY(u,D){if(u===""||u[0]===" ")return u;var F=/ [^ ]/g,$,B=0,z,Z=0,q=0,X="";while($=F.exec(u)){if(q=$.index,q-B>D)z=Z>B?Z:q,X+=`
197
+ `+u.slice(B,z),B=z+1;Z=q}if(X+=`
198
+ `,u.length-B>D&&Z>B)X+=u.slice(B,Z)+`
199
+ `+u.slice(Z+1);else X+=u.slice(B);return X.slice(1)}function Ey(u){var D="",F=0,$;for(var B=0;B<u.length;F>=65536?B+=2:B++)if(F=V8(u,B),$=ju[F],!$&&i8(F)){if(D+=u[B],F>=65536)D+=u[B+1]}else D+=$||Ly(F);return D}function Cy(u,D,F){var $="",B=u.tag,z,Z,q;for(z=0,Z=F.length;z<Z;z+=1){if(q=F[z],u.replacer)q=u.replacer.call(F,String(z),q);if(q1(u,D,q,!1,!1)||typeof q>"u"&&q1(u,D,null,!1,!1)){if($!=="")$+=","+(!u.condenseFlow?" ":"");$+=u.dump}}u.tag=B,u.dump="["+$+"]"}function eY(u,D,F,$){var B="",z=u.tag,Z,q,X;for(Z=0,q=F.length;Z<q;Z+=1){if(X=F[Z],u.replacer)X=u.replacer.call(F,String(Z),X);if(q1(u,D+1,X,!0,!0,!1,!0)||typeof X>"u"&&q1(u,D+1,null,!0,!0,!1,!0)){if(!$||B!=="")B+=q$(u,D);if(u.dump&&M8===u.dump.charCodeAt(0))B+="-";else B+="- ";B+=u.dump}}u.tag=z,u.dump=B||"[]"}function Py(u,D,F){var $="",B=u.tag,z=Object.keys(F),Z,q,X,Q,Y;for(Z=0,q=z.length;Z<q;Z+=1){if(Y="",$!=="")Y+=", ";if(u.condenseFlow)Y+='"';if(X=z[Z],Q=F[X],u.replacer)Q=u.replacer.call(F,X,Q);if(!q1(u,D,X,!1,!1))continue;if(u.dump.length>1024)Y+="? ";if(Y+=u.dump+(u.condenseFlow?'"':"")+":"+(u.condenseFlow?"":" "),!q1(u,D,Q,!1,!1))continue;Y+=u.dump,$+=Y}u.tag=B,u.dump="{"+$+"}"}function vy(u,D,F,$){var B="",z=u.tag,Z=Object.keys(F),q,X,Q,Y,W,J;if(u.sortKeys===!0)Z.sort();else if(typeof u.sortKeys==="function")Z.sort(u.sortKeys);else if(u.sortKeys)throw new bu("sortKeys must be a boolean or a function");for(q=0,X=Z.length;q<X;q+=1){if(J="",!$||B!=="")J+=q$(u,D);if(Q=Z[q],Y=F[Q],u.replacer)Y=u.replacer.call(F,Q,Y);if(!q1(u,D+1,Q,!0,!0,!0))continue;if(W=u.tag!==null&&u.tag!=="?"||u.dump&&u.dump.length>1024,W)if(u.dump&&M8===u.dump.charCodeAt(0))J+="?";else J+="? ";if(J+=u.dump,W)J+=q$(u,D);if(!q1(u,D+1,Y,!0,W))continue;if(u.dump&&M8===u.dump.charCodeAt(0))J+=":";else J+=": ";J+=u.dump,B+=J}u.tag=z,u.dump=B||"{}"}function uW(u,D,F){var $,B,z,Z,q,X;B=F?u.explicitTypes:u.implicitTypes;for(z=0,Z=B.length;z<Z;z+=1)if(q=B[z],(q.instanceOf||q.predicate)&&(!q.instanceOf||typeof D==="object"&&D instanceof q.instanceOf)&&(!q.predicate||q.predicate(D))){if(F)if(q.multi&&q.representName)u.tag=q.representName(D);else u.tag=q.tag;else u.tag="?";if(q.represent){if(X=u.styleMap[q.tag]||q.defaultStyle,xW.call(q.represent)==="[object Function]")$=q.represent(D,X);else if(HW.call(q.represent,X))$=q.represent[X](D,X);else throw new bu("!<"+q.tag+'> tag resolver accepts not "'+X+'" style');u.dump=$}return!0}return!1}function q1(u,D,F,$,B,z,Z){if(u.tag=null,u.dump=F,!uW(u,F,!1))uW(u,F,!0);var q=xW.call(u.dump),X=$,Q;if($)$=u.flowLevel<0||u.flowLevel>D;var Y=q==="[object Object]"||q==="[object Array]",W,J;if(Y)W=u.duplicates.indexOf(F),J=W!==-1;if(u.tag!==null&&u.tag!=="?"||J||u.indent!==2&&D>0)B=!1;if(J&&u.usedDuplicates[W])u.dump="*ref_"+W;else{if(Y&&J&&!u.usedDuplicates[W])u.usedDuplicates[W]=!0;if(q==="[object Object]"){if($&&Object.keys(u.dump).length!==0){if(vy(u,D,u.dump,B),J)u.dump="&ref_"+W+u.dump}else if(Py(u,D,u.dump),J)u.dump="&ref_"+W+" "+u.dump}else if(q==="[object Array]"){if($&&u.dump.length!==0){if(u.noArrayIndent&&!Z&&D>0)eY(u,D-1,u.dump,B);else eY(u,D,u.dump,B);if(J)u.dump="&ref_"+W+u.dump}else if(Cy(u,D,u.dump),J)u.dump="&ref_"+W+" "+u.dump}else if(q==="[object String]"){if(u.tag!=="?")jy(u,u.dump,D,z,X)}else if(q==="[object Undefined]")return!1;else{if(u.skipInvalid)return!1;throw new bu("unacceptable kind of an object to dump "+q)}if(u.tag!==null&&u.tag!=="?"){if(Q=encodeURI(u.tag[0]==="!"?u.tag.slice(1):u.tag).replace(/!/g,"%21"),u.tag[0]==="!")Q="!"+Q;else if(Q.slice(0,18)==="tag:yaml.org,2002:")Q="!!"+Q.slice(18);else Q="!<"+Q+">";u.dump=Q+" "+u.dump}}return!0}function _y(u,D){var F=[],$=[],B,z;Q$(u,F,$);for(B=0,z=$.length;B<z;B+=1)D.duplicates.push(F[$[B]]);D.usedDuplicates=Array(z)}function Q$(u,D,F){var $,B,z;if(u!==null&&typeof u==="object")if(B=D.indexOf(u),B!==-1){if(F.indexOf(B)===-1)F.push(B)}else if(D.push(u),Array.isArray(u))for(B=0,z=u.length;B<z;B+=1)Q$(u[B],D,F);else{$=Object.keys(u);for(B=0,z=$.length;B<z;B+=1)Q$(u[$[B]],D,F)}}function Uy(u,D){D=D||{};var F=new wy(D);if(!F.noRefs)_y(u,F);var $=u;if(F.replacer)$=F.replacer.call({"":$},"",$);if(q1(F,0,$,!0,!0))return F.dump+`
200
+ `;return""}var Sy=Uy,Ty={dump:Sy};function K$(u,D){return function(){throw Error("Function yaml."+u+" is removed in js-yaml 4. Use yaml."+D+" instead, which is now safe by default.")}}var IW=Ou;var x$=$W;var EW=W$,X6=KW.load,H$=KW.loadAll,T1=Ty.dump,c7=bu;var k$0=K$("safeLoad","load"),c$0=K$("safeLoadAll","loadAll"),h$0=K$("safeDump","dump");var oZ=E0(h7(),1);var SN=E0(n7(),1),k0=E0(oD(),1),iD=E0(h7(),1),dz=E0(cW(),1);String.prototype.matchRE2JS=function(u){let D=null,F=u.matcher(this.toString());while(F.find()){let $=F.group();if($==null||$=="")continue;D=D??[],D.push($)}return D};String.prototype.matchAllRE2JS=function(u){let D=this.toString(),F=u.matcher(D);function*$(){while(F.find()){let B=[];for(let z=0;z<=F.groupCount();z++)B.push(F.group(z));if(B.index=F.groups[0],B.input=D,F.namedGroups&&Object.keys(F.namedGroups).length>0){let z=Object.create(null);for(let[Z,q]of Object.entries(F.namedGroups))z[Z]=F.group(q);B.groups=z}else B.groups=void 0;yield B}}return $()};/*!
201
+ * re2js
202
+ * RE2JS is the JavaScript port of RE2, a regular expression engine that provides linear time matching
203
+ *
204
+ * @version v1.2.1
205
+ * @author Alexey Vasiliev
206
+ * @homepage https://github.com/le0pard/re2js#readme
207
+ * @repository github:le0pard/re2js
208
+ * @license MIT
209
+ */class u0{static FOLD_CASE=1;static LITERAL=2;static CLASS_NL=4;static DOT_NL=8;static ONE_LINE=16;static NON_GREEDY=32;static PERL_X=64;static UNICODE_GROUPS=128;static WAS_DOLLAR=256;static MATCH_NL=u0.CLASS_NL|u0.DOT_NL;static PERL=u0.CLASS_NL|u0.ONE_LINE|u0.PERL_X|u0.UNICODE_GROUPS;static POSIX=0;static UNANCHORED=0;static ANCHOR_START=1;static ANCHOR_BOTH=2}class b{static CODES=new Map([["\x07",7],["\b",8],["\t",9],[`
210
+ `,10],["\v",11],["\f",12],["\r",13],[" ",32],['"',34],["$",36],["&",38],["(",40],[")",41],["*",42],["+",43],["-",45],[".",46],["0",48],["1",49],["2",50],["3",51],["4",52],["5",53],["6",54],["7",55],["8",56],["9",57],[":",58],["<",60],[">",62],["?",63],["A",65],["B",66],["C",67],["F",70],["P",80],["Q",81],["U",85],["Z",90],["[",91],["\\",92],["]",93],["^",94],["_",95],["a",97],["b",98],["f",102],["i",105],["m",109],["n",110],["r",114],["s",115],["t",116],["v",118],["x",120],["z",122],["{",123],["|",124],["}",125]]);static toUpperCase(u){let D=String.fromCodePoint(u).toUpperCase();if(D.length>1)return u;let F=String.fromCodePoint(D.codePointAt(0)).toLowerCase();if(F.length>1||F.codePointAt(0)!==u)return u;return D.codePointAt(0)}static toLowerCase(u){let D=String.fromCodePoint(u).toLowerCase();if(D.length>1)return u;let F=String.fromCodePoint(D.codePointAt(0)).toUpperCase();if(F.length>1||F.codePointAt(0)!==u)return u;return D.codePointAt(0)}}class i{SIZE=3;constructor(u){this.data=u}getLo(u){return this.data[u*this.SIZE]}getHi(u){return this.data[u*this.SIZE+1]}getStride(u){return this.data[u*this.SIZE+2]}get(u){let D=u*this.SIZE;return[this.data[D],this.data[D+1],this.data[D+2]]}get length(){return this.data.length/this.SIZE}}class w{static CASE_ORBIT=new Map([[75,107],[107,8490],[8490,75],[83,115],[115,383],[383,83],[181,924],[924,956],[956,181],[197,229],[229,8491],[8491,197],[452,453],[453,454],[454,452],[455,456],[456,457],[457,455],[458,459],[459,460],[460,458],[497,498],[498,499],[499,497],[837,921],[921,953],[953,8126],[8126,837],[914,946],[946,976],[976,914],[917,949],[949,1013],[1013,917],[920,952],[952,977],[977,1012],[1012,920],[922,954],[954,1008],[1008,922],[928,960],[960,982],[982,928],[929,961],[961,1009],[1009,929],[931,962],[962,963],[963,931],[934,966],[966,981],[981,934],[937,969],[969,8486],[8486,937],[1042,1074],[1074,7296],[7296,1042],[1044,1076],[1076,7297],[7297,1044],[1054,1086],[1086,7298],[7298,1054],[1057,1089],[1089,7299],[7299,1057],[1058,1090],[1090,7300],[7300,7301],[7301,1058],[1066,1098],[1098,7302],[7302,1066],[1122,1123],[1123,7303],[7303,1122],[7304,42570],[42570,42571],[42571,7304],[7776,7777],[7777,7835],[7835,7776],[223,7838],[7838,223],[8064,8072],[8072,8064],[8065,8073],[8073,8065],[8066,8074],[8074,8066],[8067,8075],[8075,8067],[8068,8076],[8076,8068],[8069,8077],[8077,8069],[8070,8078],[8078,8070],[8071,8079],[8079,8071],[8080,8088],[8088,8080],[8081,8089],[8089,8081],[8082,8090],[8090,8082],[8083,8091],[8091,8083],[8084,8092],[8092,8084],[8085,8093],[8093,8085],[8086,8094],[8094,8086],[8087,8095],[8095,8087],[8096,8104],[8104,8096],[8097,8105],[8105,8097],[8098,8106],[8106,8098],[8099,8107],[8107,8099],[8100,8108],[8108,8100],[8101,8109],[8109,8101],[8102,8110],[8110,8102],[8103,8111],[8111,8103],[8115,8124],[8124,8115],[8131,8140],[8140,8131],[912,8147],[8147,912],[944,8163],[8163,944],[8179,8188],[8188,8179],[64261,64262],[64262,64261],[66560,66600],[66600,66560],[66561,66601],[66601,66561],[66562,66602],[66602,66562],[66563,66603],[66603,66563],[66564,66604],[66604,66564],[66565,66605],[66605,66565],[66566,66606],[66606,66566],[66567,66607],[66607,66567],[66568,66608],[66608,66568],[66569,66609],[66609,66569],[66570,66610],[66610,66570],[66571,66611],[66611,66571],[66572,66612],[66612,66572],[66573,66613],[66613,66573],[66574,66614],[66614,66574],[66575,66615],[66615,66575],[66576,66616],[66616,66576],[66577,66617],[66617,66577],[66578,66618],[66618,66578],[66579,66619],[66619,66579],[66580,66620],[66620,66580],[66581,66621],[66621,66581],[66582,66622],[66622,66582],[66583,66623],[66623,66583],[66584,66624],[66624,66584],[66585,66625],[66625,66585],[66586,66626],[66626,66586],[66587,66627],[66627,66587],[66588,66628],[66628,66588],[66589,66629],[66629,66589],[66590,66630],[66630,66590],[66591,66631],[66631,66591],[66592,66632],[66632,66592],[66593,66633],[66633,66593],[66594,66634],[66634,66594],[66595,66635],[66635,66595],[66596,66636],[66636,66596],[66597,66637],[66637,66597],[66598,66638],[66638,66598],[66599,66639],[66639,66599],[66736,66776],[66776,66736],[66737,66777],[66777,66737],[66738,66778],[66778,66738],[66739,66779],[66779,66739],[66740,66780],[66780,66740],[66741,66781],[66781,66741],[66742,66782],[66782,66742],[66743,66783],[66783,66743],[66744,66784],[66784,66744],[66745,66785],[66785,66745],[66746,66786],[66786,66746],[66747,66787],[66787,66747],[66748,66788],[66788,66748],[66749,66789],[66789,66749],[66750,66790],[66790,66750],[66751,66791],[66791,66751],[66752,66792],[66792,66752],[66753,66793],[66793,66753],[66754,66794],[66794,66754],[66755,66795],[66795,66755],[66756,66796],[66796,66756],[66757,66797],[66797,66757],[66758,66798],[66798,66758],[66759,66799],[66799,66759],[66760,66800],[66800,66760],[66761,66801],[66801,66761],[66762,66802],[66802,66762],[66763,66803],[66803,66763],[66764,66804],[66804,66764],[66765,66805],[66805,66765],[66766,66806],[66806,66766],[66767,66807],[66807,66767],[66768,66808],[66808,66768],[66769,66809],[66809,66769],[66770,66810],[66810,66770],[66771,66811],[66811,66771],[66928,66967],[66967,66928],[66929,66968],[66968,66929],[66930,66969],[66969,66930],[66931,66970],[66970,66931],[66932,66971],[66971,66932],[66933,66972],[66972,66933],[66934,66973],[66973,66934],[66935,66974],[66974,66935],[66936,66975],[66975,66936],[66937,66976],[66976,66937],[66938,66977],[66977,66938],[66940,66979],[66979,66940],[66941,66980],[66980,66941],[66942,66981],[66981,66942],[66943,66982],[66982,66943],[66944,66983],[66983,66944],[66945,66984],[66984,66945],[66946,66985],[66985,66946],[66947,66986],[66986,66947],[66948,66987],[66987,66948],[66949,66988],[66988,66949],[66950,66989],[66989,66950],[66951,66990],[66990,66951],[66952,66991],[66991,66952],[66953,66992],[66992,66953],[66954,66993],[66993,66954],[66956,66995],[66995,66956],[66957,66996],[66996,66957],[66958,66997],[66997,66958],[66959,66998],[66998,66959],[66960,66999],[66999,66960],[66961,67000],[67000,66961],[66962,67001],[67001,66962],[66964,67003],[67003,66964],[66965,67004],[67004,66965],[68736,68800],[68800,68736],[68737,68801],[68801,68737],[68738,68802],[68802,68738],[68739,68803],[68803,68739],[68740,68804],[68804,68740],[68741,68805],[68805,68741],[68742,68806],[68806,68742],[68743,68807],[68807,68743],[68744,68808],[68808,68744],[68745,68809],[68809,68745],[68746,68810],[68810,68746],[68747,68811],[68811,68747],[68748,68812],[68812,68748],[68749,68813],[68813,68749],[68750,68814],[68814,68750],[68751,68815],[68815,68751],[68752,68816],[68816,68752],[68753,68817],[68817,68753],[68754,68818],[68818,68754],[68755,68819],[68819,68755],[68756,68820],[68820,68756],[68757,68821],[68821,68757],[68758,68822],[68822,68758],[68759,68823],[68823,68759],[68760,68824],[68824,68760],[68761,68825],[68825,68761],[68762,68826],[68826,68762],[68763,68827],[68827,68763],[68764,68828],[68828,68764],[68765,68829],[68829,68765],[68766,68830],[68830,68766],[68767,68831],[68831,68767],[68768,68832],[68832,68768],[68769,68833],[68833,68769],[68770,68834],[68834,68770],[68771,68835],[68835,68771],[68772,68836],[68836,68772],[68773,68837],[68837,68773],[68774,68838],[68838,68774],[68775,68839],[68839,68775],[68776,68840],[68840,68776],[68777,68841],[68841,68777],[68778,68842],[68842,68778],[68779,68843],[68843,68779],[68780,68844],[68844,68780],[68781,68845],[68845,68781],[68782,68846],[68846,68782],[68783,68847],[68847,68783],[68784,68848],[68848,68784],[68785,68849],[68849,68785],[68786,68850],[68850,68786],[68944,68976],[68976,68944],[68945,68977],[68977,68945],[68946,68978],[68978,68946],[68947,68979],[68979,68947],[68948,68980],[68980,68948],[68949,68981],[68981,68949],[68950,68982],[68982,68950],[68951,68983],[68983,68951],[68952,68984],[68984,68952],[68953,68985],[68985,68953],[68954,68986],[68986,68954],[68955,68987],[68987,68955],[68956,68988],[68988,68956],[68957,68989],[68989,68957],[68958,68990],[68990,68958],[68959,68991],[68991,68959],[68960,68992],[68992,68960],[68961,68993],[68993,68961],[68962,68994],[68994,68962],[68963,68995],[68995,68963],[68964,68996],[68996,68964],[68965,68997],[68997,68965],[71840,71872],[71872,71840],[71841,71873],[71873,71841],[71842,71874],[71874,71842],[71843,71875],[71875,71843],[71844,71876],[71876,71844],[71845,71877],[71877,71845],[71846,71878],[71878,71846],[71847,71879],[71879,71847],[71848,71880],[71880,71848],[71849,71881],[71881,71849],[71850,71882],[71882,71850],[71851,71883],[71883,71851],[71852,71884],[71884,71852],[71853,71885],[71885,71853],[71854,71886],[71886,71854],[71855,71887],[71887,71855],[71856,71888],[71888,71856],[71857,71889],[71889,71857],[71858,71890],[71890,71858],[71859,71891],[71891,71859],[71860,71892],[71892,71860],[71861,71893],[71893,71861],[71862,71894],[71894,71862],[71863,71895],[71895,71863],[71864,71896],[71896,71864],[71865,71897],[71897,71865],[71866,71898],[71898,71866],[71867,71899],[71899,71867],[71868,71900],[71900,71868],[71869,71901],[71901,71869],[71870,71902],[71902,71870],[71871,71903],[71903,71871],[93760,93792],[93792,93760],[93761,93793],[93793,93761],[93762,93794],[93794,93762],[93763,93795],[93795,93763],[93764,93796],[93796,93764],[93765,93797],[93797,93765],[93766,93798],[93798,93766],[93767,93799],[93799,93767],[93768,93800],[93800,93768],[93769,93801],[93801,93769],[93770,93802],[93802,93770],[93771,93803],[93803,93771],[93772,93804],[93804,93772],[93773,93805],[93805,93773],[93774,93806],[93806,93774],[93775,93807],[93807,93775],[93776,93808],[93808,93776],[93777,93809],[93809,93777],[93778,93810],[93810,93778],[93779,93811],[93811,93779],[93780,93812],[93812,93780],[93781,93813],[93813,93781],[93782,93814],[93814,93782],[93783,93815],[93815,93783],[93784,93816],[93816,93784],[93785,93817],[93817,93785],[93786,93818],[93818,93786],[93787,93819],[93819,93787],[93788,93820],[93820,93788],[93789,93821],[93821,93789],[93790,93822],[93822,93790],[93791,93823],[93823,93791],[125184,125218],[125218,125184],[125185,125219],[125219,125185],[125186,125220],[125220,125186],[125187,125221],[125221,125187],[125188,125222],[125222,125188],[125189,125223],[125223,125189],[125190,125224],[125224,125190],[125191,125225],[125225,125191],[125192,125226],[125226,125192],[125193,125227],[125227,125193],[125194,125228],[125228,125194],[125195,125229],[125229,125195],[125196,125230],[125230,125196],[125197,125231],[125231,125197],[125198,125232],[125232,125198],[125199,125233],[125233,125199],[125200,125234],[125234,125200],[125201,125235],[125235,125201],[125202,125236],[125236,125202],[125203,125237],[125237,125203],[125204,125238],[125238,125204],[125205,125239],[125239,125205],[125206,125240],[125240,125206],[125207,125241],[125241,125207],[125208,125242],[125242,125208],[125209,125243],[125243,125209],[125210,125244],[125244,125210],[125211,125245],[125245,125211],[125212,125246],[125246,125212],[125213,125247],[125247,125213],[125214,125248],[125248,125214],[125215,125249],[125249,125215],[125216,125250],[125250,125216],[125217,125251],[125251,125217]]);static C=new i(new Uint32Array([0,31,1,127,159,1,173,888,715,889,896,7,897,899,1,907,909,2,930,1328,398,1367,1368,1,1419,1420,1,1424,1480,56,1481,1487,1,1515,1518,1,1525,1541,1,1564,1757,193,1806,1807,1,1867,1868,1,1970,1983,1,2043,2044,1,2094,2095,1,2111,2140,29,2141,2143,2,2155,2159,1,2191,2198,1,2274,2436,162,2445,2446,1,2449,2450,1,2473,2481,8,2483,2485,1,2490,2491,1,2501,2502,1,2505,2506,1,2511,2518,1,2520,2523,1,2526,2532,6,2533,2559,26,2560,2564,4,2571,2574,1,2577,2578,1,2601,2609,8,2612,2618,3,2619,2621,2,2627,2630,1,2633,2634,1,2638,2640,1,2642,2648,1,2653,2655,2,2656,2661,1,2679,2688,1,2692,2702,10,2706,2729,23,2737,2740,3,2746,2747,1,2758,2766,4,2767,2769,2,2770,2783,1,2788,2789,1,2802,2808,1,2816,2820,4,2829,2830,1,2833,2834,1,2857,2865,8,2868,2874,6,2875,2885,10,2886,2889,3,2890,2894,4,2895,2900,1,2904,2907,1,2910,2916,6,2917,2936,19,2937,2945,1,2948,2955,7,2956,2957,1,2961,2966,5,2967,2968,1,2971,2973,2,2976,2978,1,2981,2983,1,2987,2989,1,3002,3005,1,3011,3013,1,3017,3022,5,3023,3025,2,3026,3030,1,3032,3045,1,3067,3071,1,3085,3089,4,3113,3130,17,3131,3141,10,3145,3150,5,3151,3156,1,3159,3163,4,3164,3166,2,3167,3172,5,3173,3184,11,3185,3190,1,3213,3217,4,3241,3252,11,3258,3259,1,3269,3273,4,3278,3284,1,3287,3292,1,3295,3300,5,3301,3312,11,3316,3327,1,3341,3345,4,3397,3401,4,3408,3411,1,3428,3429,1,3456,3460,4,3479,3481,1,3506,3516,10,3518,3519,1,3527,3529,1,3531,3534,1,3541,3543,2,3552,3557,1,3568,3569,1,3573,3584,1,3643,3646,1,3676,3712,1,3715,3717,2,3723,3748,25,3750,3774,24,3775,3781,6,3783,3791,8,3802,3803,1,3808,3839,1,3912,3949,37,3950,3952,1,3992,4029,37,4045,4059,14,4060,4095,1,4294,4296,2,4297,4300,1,4302,4303,1,4681,4686,5,4687,4695,8,4697,4702,5,4703,4745,42,4750,4751,1,4785,4790,5,4791,4799,8,4801,4806,5,4807,4823,16,4881,4886,5,4887,4955,68,4956,4989,33,4990,4991,1,5018,5023,1,5110,5111,1,5118,5119,1,5789,5791,1,5881,5887,1,5910,5918,1,5943,5951,1,5972,5983,1,5997,6001,4,6004,6015,1,6110,6111,1,6122,6127,1,6138,6143,1,6158,6170,12,6171,6175,1,6265,6271,1,6315,6319,1,6390,6399,1,6431,6444,13,6445,6447,1,6460,6463,1,6465,6467,1,6510,6511,1,6517,6527,1,6572,6575,1,6602,6607,1,6619,6621,1,6684,6685,1,6751,6781,30,6782,6794,12,6795,6799,1,6810,6815,1,6830,6831,1,6863,6911,1,6989,7156,167,7157,7163,1,7224,7226,1,7242,7244,1,7307,7311,1,7355,7356,1,7368,7375,1,7419,7423,1,7958,7959,1,7966,7967,1,8006,8007,1,8014,8015,1,8024,8030,2,8062,8063,1,8117,8133,16,8148,8149,1,8156,8176,20,8177,8181,4,8191,8203,12,8204,8207,1,8234,8238,1,8288,8303,1,8306,8307,1,8335,8349,14,8350,8351,1,8385,8399,1,8433,8447,1,8588,8591,1,9258,9279,1,9291,9311,1,11124,11125,1,11158,11508,350,11509,11512,1,11558,11560,2,11561,11564,1,11566,11567,1,11624,11630,1,11633,11646,1,11671,11679,1,11687,11743,8,11870,11903,1,11930,12020,90,12021,12031,1,12246,12271,1,12352,12439,87,12440,12544,104,12545,12548,1,12592,12687,95,12774,12782,1,12831,42125,29294,42126,42127,1,42183,42191,1,42540,42559,1,42744,42751,1,42958,42959,1,42962,42964,2,42973,42993,1,43053,43055,1,43066,43071,1,43128,43135,1,43206,43213,1,43226,43231,1,43348,43358,1,43389,43391,1,43470,43482,12,43483,43485,1,43519,43575,56,43576,43583,1,43598,43599,1,43610,43611,1,43715,43738,1,43767,43776,1,43783,43784,1,43791,43792,1,43799,43807,1,43815,43823,8,43884,43887,1,44014,44015,1,44026,44031,1,55204,55215,1,55239,55242,1,55292,63743,1,64110,64111,1,64218,64255,1,64263,64274,1,64280,64284,1,64311,64317,6,64319,64325,3,64451,64466,1,64912,64913,1,64968,64974,1,64976,65007,1,65050,65055,1,65107,65127,20,65132,65135,1,65141,65277,136,65278,65280,1,65471,65473,1,65480,65481,1,65488,65489,1,65496,65497,1,65501,65503,1,65511,65519,8,65520,65531,1,65534,65535,1,65548,65575,27,65595,65598,3,65614,65615,1,65630,65663,1,65787,65791,1,65795,65798,1,65844,65846,1,65935,65949,14,65950,65951,1,65953,65999,1,66046,66175,1,66205,66207,1,66257,66271,1,66300,66303,1,66340,66348,1,66379,66383,1,66427,66431,1,66462,66500,38,66501,66503,1,66518,66559,1,66718,66719,1,66730,66735,1,66772,66775,1,66812,66815,1,66856,66863,1,66916,66926,1,66939,66955,16,66963,66966,3,66978,66994,16,67002,67005,3,67006,67007,1,67060,67071,1,67383,67391,1,67414,67423,1,67432,67455,1,67462,67505,43,67515,67583,1,67590,67591,1,67593,67638,45,67641,67643,1,67645,67646,1,67670,67743,73,67744,67750,1,67760,67807,1,67827,67830,3,67831,67834,1,67868,67870,1,67898,67902,1,67904,67967,1,68024,68027,1,68048,68049,1,68100,68103,3,68104,68107,1,68116,68120,4,68150,68151,1,68155,68158,1,68169,68175,1,68185,68191,1,68256,68287,1,68327,68330,1,68343,68351,1,68406,68408,1,68438,68439,1,68467,68471,1,68498,68504,1,68509,68520,1,68528,68607,1,68681,68735,1,68787,68799,1,68851,68857,1,68904,68911,1,68922,68927,1,68966,68968,1,68998,69005,1,69008,69215,1,69247,69290,43,69294,69295,1,69298,69313,1,69317,69371,1,69416,69423,1,69466,69487,1,69514,69551,1,69580,69599,1,69623,69631,1,69710,69713,1,69750,69758,1,69821,69827,6,69828,69839,1,69865,69871,1,69882,69887,1,69941,69960,19,69961,69967,1,70007,70015,1,70112,70133,21,70134,70143,1,70162,70210,48,70211,70271,1,70279,70281,2,70286,70302,16,70314,70319,1,70379,70383,1,70394,70399,1,70404,70413,9,70414,70417,3,70418,70441,23,70449,70452,3,70458,70469,11,70470,70473,3,70474,70478,4,70479,70481,2,70482,70486,1,70488,70492,1,70500,70501,1,70509,70511,1,70517,70527,1,70538,70540,2,70541,70543,2,70582,70593,11,70595,70596,1,70598,70603,5,70614,70617,3,70618,70624,1,70627,70655,1,70748,70754,6,70755,70783,1,70856,70863,1,70874,71039,1,71094,71095,1,71134,71167,1,71237,71247,1,71258,71263,1,71277,71295,1,71354,71359,1,71370,71375,1,71396,71423,1,71451,71452,1,71468,71471,1,71495,71679,1,71740,71839,1,71923,71934,1,71943,71944,1,71946,71947,1,71956,71959,3,71990,71993,3,71994,72007,13,72008,72015,1,72026,72095,1,72104,72105,1,72152,72153,1,72165,72191,1,72264,72271,1,72355,72367,1,72441,72447,1,72458,72639,1,72674,72687,1,72698,72703,1,72713,72759,46,72774,72783,1,72813,72815,1,72848,72849,1,72872,72887,15,72888,72959,1,72967,72970,3,73015,73017,1,73019,73022,3,73032,73039,1,73050,73055,1,73062,73065,3,73103,73106,3,73113,73119,1,73130,73439,1,73465,73471,1,73489,73531,42,73532,73533,1,73563,73647,1,73649,73663,1,73714,73726,1,74650,74751,1,74863,74869,6,74870,74879,1,75076,77711,1,77811,77823,1,78896,78911,1,78934,78943,1,82939,82943,1,83527,90367,1,90426,92159,1,92729,92735,1,92767,92778,11,92779,92781,1,92863,92874,11,92875,92879,1,92910,92911,1,92918,92927,1,92998,93007,1,93018,93026,8,93048,93052,1,93072,93503,1,93562,93759,1,93851,93951,1,94027,94030,1,94088,94094,1,94112,94175,1,94181,94191,1,94194,94207,1,100344,100351,1,101590,101630,1,101641,110575,1,110580,110588,8,110591,110883,292,110884,110897,1,110899,110927,1,110931,110932,1,110934,110947,1,110952,110959,1,111356,113663,1,113771,113775,1,113789,113791,1,113801,113807,1,113818,113819,1,113824,117759,1,118010,118015,1,118452,118527,1,118574,118575,1,118599,118607,1,118724,118783,1,119030,119039,1,119079,119080,1,119155,119162,1,119275,119295,1,119366,119487,1,119508,119519,1,119540,119551,1,119639,119647,1,119673,119807,1,119893,119965,72,119968,119969,1,119971,119972,1,119975,119976,1,119981,119994,13,119996,120004,8,120070,120075,5,120076,120085,9,120093,120122,29,120127,120133,6,120135,120137,1,120145,120486,341,120487,120780,293,120781,121484,703,121485,121498,1,121504,121520,16,121521,122623,1,122655,122660,1,122667,122879,1,122887,122905,18,122906,122914,8,122917,122923,6,122924,122927,1,122990,123022,1,123024,123135,1,123181,123183,1,123198,123199,1,123210,123213,1,123216,123535,1,123567,123583,1,123642,123646,1,123648,124111,1,124154,124367,1,124411,124414,1,124416,124895,1,124903,124908,5,124911,124927,16,125125,125126,1,125143,125183,1,125260,125263,1,125274,125277,1,125280,126064,1,126133,126208,1,126270,126463,1,126468,126496,28,126499,126501,2,126502,126504,2,126515,126520,5,126522,126524,2,126525,126529,1,126531,126534,1,126536,126540,2,126544,126547,3,126549,126550,1,126552,126560,2,126563,126565,2,126566,126571,5,126579,126589,5,126591,126602,11,126620,126624,1,126628,126634,6,126652,126703,1,126706,126975,1,127020,127023,1,127124,127135,1,127151,127152,1,127168,127184,16,127222,127231,1,127406,127461,1,127491,127503,1,127548,127551,1,127561,127567,1,127570,127583,1,127590,127743,1,128728,128731,1,128749,128751,1,128765,128767,1,128887,128890,1,128986,128991,1,129004,129007,1,129009,129023,1,129036,129039,1,129096,129103,1,129114,129119,1,129160,129167,1,129198,129199,1,129212,129215,1,129218,129279,1,129620,129631,1,129646,129647,1,129661,129663,1,129674,129678,1,129735,129741,1,129757,129758,1,129770,129775,1,129785,129791,1,129939,130042,103,130043,131071,1,173792,173823,1,177978,177983,1,178206,178207,1,183970,183983,1,191457,191471,1,192094,194559,1,195102,196607,1,201547,201551,1,205744,917759,1,918000,1114111,1]));static Cc=new i(new Uint32Array([0,31,1,127,159,1]));static Cf=new i(new Uint32Array([173,1536,1363,1537,1541,1,1564,1757,193,1807,2192,385,2193,2274,81,6158,8203,2045,8204,8207,1,8234,8238,1,8288,8292,1,8294,8303,1,65279,65529,250,65530,65531,1,69821,69837,16,78896,78911,1,113824,113827,1,119155,119162,1,917505,917536,31,917537,917631,1]));static Co=new i(new Uint32Array([57344,63743,1,983040,1048573,1,1048576,1114109,1]));static Cs=new i(new Uint32Array([55296,57343,1]));static L=new i(new Uint32Array([65,90,1,97,122,1,170,181,11,186,192,6,193,214,1,216,246,1,248,705,1,710,721,1,736,740,1,748,750,2,880,884,1,886,887,1,890,893,1,895,902,7,904,906,1,908,910,2,911,929,1,931,1013,1,1015,1153,1,1162,1327,1,1329,1366,1,1369,1376,7,1377,1416,1,1488,1514,1,1519,1522,1,1568,1610,1,1646,1647,1,1649,1747,1,1749,1765,16,1766,1774,8,1775,1786,11,1787,1788,1,1791,1808,17,1810,1839,1,1869,1957,1,1969,1994,25,1995,2026,1,2036,2037,1,2042,2048,6,2049,2069,1,2074,2084,10,2088,2112,24,2113,2136,1,2144,2154,1,2160,2183,1,2185,2190,1,2208,2249,1,2308,2361,1,2365,2384,19,2392,2401,1,2417,2432,1,2437,2444,1,2447,2448,1,2451,2472,1,2474,2480,1,2482,2486,4,2487,2489,1,2493,2510,17,2524,2525,1,2527,2529,1,2544,2545,1,2556,2565,9,2566,2570,1,2575,2576,1,2579,2600,1,2602,2608,1,2610,2611,1,2613,2614,1,2616,2617,1,2649,2652,1,2654,2674,20,2675,2676,1,2693,2701,1,2703,2705,1,2707,2728,1,2730,2736,1,2738,2739,1,2741,2745,1,2749,2768,19,2784,2785,1,2809,2821,12,2822,2828,1,2831,2832,1,2835,2856,1,2858,2864,1,2866,2867,1,2869,2873,1,2877,2908,31,2909,2911,2,2912,2913,1,2929,2947,18,2949,2954,1,2958,2960,1,2962,2965,1,2969,2970,1,2972,2974,2,2975,2979,4,2980,2984,4,2985,2986,1,2990,3001,1,3024,3077,53,3078,3084,1,3086,3088,1,3090,3112,1,3114,3129,1,3133,3160,27,3161,3162,1,3165,3168,3,3169,3200,31,3205,3212,1,3214,3216,1,3218,3240,1,3242,3251,1,3253,3257,1,3261,3293,32,3294,3296,2,3297,3313,16,3314,3332,18,3333,3340,1,3342,3344,1,3346,3386,1,3389,3406,17,3412,3414,1,3423,3425,1,3450,3455,1,3461,3478,1,3482,3505,1,3507,3515,1,3517,3520,3,3521,3526,1,3585,3632,1,3634,3635,1,3648,3654,1,3713,3714,1,3716,3718,2,3719,3722,1,3724,3747,1,3749,3751,2,3752,3760,1,3762,3763,1,3773,3776,3,3777,3780,1,3782,3804,22,3805,3807,1,3840,3904,64,3905,3911,1,3913,3948,1,3976,3980,1,4096,4138,1,4159,4176,17,4177,4181,1,4186,4189,1,4193,4197,4,4198,4206,8,4207,4208,1,4213,4225,1,4238,4256,18,4257,4293,1,4295,4301,6,4304,4346,1,4348,4680,1,4682,4685,1,4688,4694,1,4696,4698,2,4699,4701,1,4704,4744,1,4746,4749,1,4752,4784,1,4786,4789,1,4792,4798,1,4800,4802,2,4803,4805,1,4808,4822,1,4824,4880,1,4882,4885,1,4888,4954,1,4992,5007,1,5024,5109,1,5112,5117,1,5121,5740,1,5743,5759,1,5761,5786,1,5792,5866,1,5873,5880,1,5888,5905,1,5919,5937,1,5952,5969,1,5984,5996,1,5998,6000,1,6016,6067,1,6103,6108,5,6176,6264,1,6272,6276,1,6279,6312,1,6314,6320,6,6321,6389,1,6400,6430,1,6480,6509,1,6512,6516,1,6528,6571,1,6576,6601,1,6656,6678,1,6688,6740,1,6823,6917,94,6918,6963,1,6981,6988,1,7043,7072,1,7086,7087,1,7098,7141,1,7168,7203,1,7245,7247,1,7258,7293,1,7296,7306,1,7312,7354,1,7357,7359,1,7401,7404,1,7406,7411,1,7413,7414,1,7418,7424,6,7425,7615,1,7680,7957,1,7960,7965,1,7968,8005,1,8008,8013,1,8016,8023,1,8025,8031,2,8032,8061,1,8064,8116,1,8118,8124,1,8126,8130,4,8131,8132,1,8134,8140,1,8144,8147,1,8150,8155,1,8160,8172,1,8178,8180,1,8182,8188,1,8305,8319,14,8336,8348,1,8450,8455,5,8458,8467,1,8469,8473,4,8474,8477,1,8484,8490,2,8491,8493,1,8495,8505,1,8508,8511,1,8517,8521,1,8526,8579,53,8580,11264,2684,11265,11492,1,11499,11502,1,11506,11507,1,11520,11557,1,11559,11565,6,11568,11623,1,11631,11648,17,11649,11670,1,11680,11686,1,11688,11694,1,11696,11702,1,11704,11710,1,11712,11718,1,11720,11726,1,11728,11734,1,11736,11742,1,11823,12293,470,12294,12337,43,12338,12341,1,12347,12348,1,12353,12438,1,12445,12447,1,12449,12538,1,12540,12543,1,12549,12591,1,12593,12686,1,12704,12735,1,12784,12799,1,13312,19903,1,19968,42124,1,42192,42237,1,42240,42508,1,42512,42527,1,42538,42539,1,42560,42606,1,42623,42653,1,42656,42725,1,42775,42783,1,42786,42888,1,42891,42957,1,42960,42961,1,42963,42965,2,42966,42972,1,42994,43009,1,43011,43013,1,43015,43018,1,43020,43042,1,43072,43123,1,43138,43187,1,43250,43255,1,43259,43261,2,43262,43274,12,43275,43301,1,43312,43334,1,43360,43388,1,43396,43442,1,43471,43488,17,43489,43492,1,43494,43503,1,43514,43518,1,43520,43560,1,43584,43586,1,43588,43595,1,43616,43638,1,43642,43646,4,43647,43695,1,43697,43701,4,43702,43705,3,43706,43709,1,43712,43714,2,43739,43741,1,43744,43754,1,43762,43764,1,43777,43782,1,43785,43790,1,43793,43798,1,43808,43814,1,43816,43822,1,43824,43866,1,43868,43881,1,43888,44002,1,44032,55203,1,55216,55238,1,55243,55291,1,63744,64109,1,64112,64217,1,64256,64262,1,64275,64279,1,64285,64287,2,64288,64296,1,64298,64310,1,64312,64316,1,64318,64320,2,64321,64323,2,64324,64326,2,64327,64433,1,64467,64829,1,64848,64911,1,64914,64967,1,65008,65019,1,65136,65140,1,65142,65276,1,65313,65338,1,65345,65370,1,65382,65470,1,65474,65479,1,65482,65487,1,65490,65495,1,65498,65500,1,65536,65547,1,65549,65574,1,65576,65594,1,65596,65597,1,65599,65613,1,65616,65629,1,65664,65786,1,66176,66204,1,66208,66256,1,66304,66335,1,66349,66368,1,66370,66377,1,66384,66421,1,66432,66461,1,66464,66499,1,66504,66511,1,66560,66717,1,66736,66771,1,66776,66811,1,66816,66855,1,66864,66915,1,66928,66938,1,66940,66954,1,66956,66962,1,66964,66965,1,66967,66977,1,66979,66993,1,66995,67001,1,67003,67004,1,67008,67059,1,67072,67382,1,67392,67413,1,67424,67431,1,67456,67461,1,67463,67504,1,67506,67514,1,67584,67589,1,67592,67594,2,67595,67637,1,67639,67640,1,67644,67647,3,67648,67669,1,67680,67702,1,67712,67742,1,67808,67826,1,67828,67829,1,67840,67861,1,67872,67897,1,67968,68023,1,68030,68031,1,68096,68112,16,68113,68115,1,68117,68119,1,68121,68149,1,68192,68220,1,68224,68252,1,68288,68295,1,68297,68324,1,68352,68405,1,68416,68437,1,68448,68466,1,68480,68497,1,68608,68680,1,68736,68786,1,68800,68850,1,68864,68899,1,68938,68965,1,68975,68997,1,69248,69289,1,69296,69297,1,69314,69316,1,69376,69404,1,69415,69424,9,69425,69445,1,69488,69505,1,69552,69572,1,69600,69622,1,69635,69687,1,69745,69746,1,69749,69763,14,69764,69807,1,69840,69864,1,69891,69926,1,69956,69959,3,69968,70002,1,70006,70019,13,70020,70066,1,70081,70084,1,70106,70108,2,70144,70161,1,70163,70187,1,70207,70208,1,70272,70278,1,70280,70282,2,70283,70285,1,70287,70301,1,70303,70312,1,70320,70366,1,70405,70412,1,70415,70416,1,70419,70440,1,70442,70448,1,70450,70451,1,70453,70457,1,70461,70480,19,70493,70497,1,70528,70537,1,70539,70542,3,70544,70581,1,70583,70609,26,70611,70656,45,70657,70708,1,70727,70730,1,70751,70753,1,70784,70831,1,70852,70853,1,70855,71040,185,71041,71086,1,71128,71131,1,71168,71215,1,71236,71296,60,71297,71338,1,71352,71424,72,71425,71450,1,71488,71494,1,71680,71723,1,71840,71903,1,71935,71942,1,71945,71948,3,71949,71955,1,71957,71958,1,71960,71983,1,71999,72001,2,72096,72103,1,72106,72144,1,72161,72163,2,72192,72203,11,72204,72242,1,72250,72272,22,72284,72329,1,72349,72368,19,72369,72440,1,72640,72672,1,72704,72712,1,72714,72750,1,72768,72818,50,72819,72847,1,72960,72966,1,72968,72969,1,72971,73008,1,73030,73056,26,73057,73061,1,73063,73064,1,73066,73097,1,73112,73440,328,73441,73458,1,73474,73476,2,73477,73488,1,73490,73523,1,73648,73728,80,73729,74649,1,74880,75075,1,77712,77808,1,77824,78895,1,78913,78918,1,78944,82938,1,82944,83526,1,90368,90397,1,92160,92728,1,92736,92766,1,92784,92862,1,92880,92909,1,92928,92975,1,92992,92995,1,93027,93047,1,93053,93071,1,93504,93548,1,93760,93823,1,93952,94026,1,94032,94099,67,94100,94111,1,94176,94177,1,94179,94208,29,94209,100343,1,100352,101589,1,101631,101640,1,110576,110579,1,110581,110587,1,110589,110590,1,110592,110882,1,110898,110928,30,110929,110930,1,110933,110948,15,110949,110951,1,110960,111355,1,113664,113770,1,113776,113788,1,113792,113800,1,113808,113817,1,119808,119892,1,119894,119964,1,119966,119967,1,119970,119973,3,119974,119977,3,119978,119980,1,119982,119993,1,119995,119997,2,119998,120003,1,120005,120069,1,120071,120074,1,120077,120084,1,120086,120092,1,120094,120121,1,120123,120126,1,120128,120132,1,120134,120138,4,120139,120144,1,120146,120485,1,120488,120512,1,120514,120538,1,120540,120570,1,120572,120596,1,120598,120628,1,120630,120654,1,120656,120686,1,120688,120712,1,120714,120744,1,120746,120770,1,120772,120779,1,122624,122654,1,122661,122666,1,122928,122989,1,123136,123180,1,123191,123197,1,123214,123536,322,123537,123565,1,123584,123627,1,124112,124139,1,124368,124397,1,124400,124896,496,124897,124902,1,124904,124907,1,124909,124910,1,124912,124926,1,124928,125124,1,125184,125251,1,125259,126464,1205,126465,126467,1,126469,126495,1,126497,126498,1,126500,126503,3,126505,126514,1,126516,126519,1,126521,126523,2,126530,126535,5,126537,126541,2,126542,126543,1,126545,126546,1,126548,126551,3,126553,126561,2,126562,126564,2,126567,126570,1,126572,126578,1,126580,126583,1,126585,126588,1,126590,126592,2,126593,126601,1,126603,126619,1,126625,126627,1,126629,126633,1,126635,126651,1,131072,173791,1,173824,177977,1,177984,178205,1,178208,183969,1,183984,191456,1,191472,192093,1,194560,195101,1,196608,201546,1,201552,205743,1]));static foldL=new i(new Uint32Array([837,837,1]));static Ll=new i(new Uint32Array([97,122,1,181,223,42,224,246,1,248,255,1,257,311,2,312,328,2,329,375,2,378,382,2,383,384,1,387,389,2,392,396,4,397,402,5,405,409,4,410,411,1,414,417,3,419,421,2,424,426,2,427,429,2,432,436,4,438,441,3,442,445,3,446,447,1,454,460,3,462,476,2,477,495,2,496,499,3,501,505,4,507,563,2,564,569,1,572,575,3,576,578,2,583,591,2,592,659,1,661,687,1,881,883,2,887,891,4,892,893,1,912,940,28,941,974,1,976,977,1,981,983,1,985,1007,2,1008,1011,1,1013,1019,3,1020,1072,52,1073,1119,1,1121,1153,2,1163,1215,2,1218,1230,2,1231,1327,2,1376,1416,1,4304,4346,1,4349,4351,1,5112,5117,1,7296,7304,1,7306,7424,118,7425,7467,1,7531,7543,1,7545,7578,1,7681,7829,2,7830,7837,1,7839,7935,2,7936,7943,1,7952,7957,1,7968,7975,1,7984,7991,1,8000,8005,1,8016,8023,1,8032,8039,1,8048,8061,1,8064,8071,1,8080,8087,1,8096,8103,1,8112,8116,1,8118,8119,1,8126,8130,4,8131,8132,1,8134,8135,1,8144,8147,1,8150,8151,1,8160,8167,1,8178,8180,1,8182,8183,1,8458,8462,4,8463,8467,4,8495,8505,5,8508,8509,1,8518,8521,1,8526,8580,54,11312,11359,1,11361,11365,4,11366,11372,2,11377,11379,2,11380,11382,2,11383,11387,1,11393,11491,2,11492,11500,8,11502,11507,5,11520,11557,1,11559,11565,6,42561,42605,2,42625,42651,2,42787,42799,2,42800,42801,1,42803,42865,2,42866,42872,1,42874,42876,2,42879,42887,2,42892,42894,2,42897,42899,2,42900,42901,1,42903,42921,2,42927,42933,6,42935,42947,2,42952,42954,2,42957,42961,4,42963,42971,2,42998,43002,4,43824,43866,1,43872,43880,1,43888,43967,1,64256,64262,1,64275,64279,1,65345,65370,1,66600,66639,1,66776,66811,1,66967,66977,1,66979,66993,1,66995,67001,1,67003,67004,1,68800,68850,1,68976,68997,1,71872,71903,1,93792,93823,1,119834,119859,1,119886,119892,1,119894,119911,1,119938,119963,1,119990,119993,1,119995,119997,2,119998,120003,1,120005,120015,1,120042,120067,1,120094,120119,1,120146,120171,1,120198,120223,1,120250,120275,1,120302,120327,1,120354,120379,1,120406,120431,1,120458,120485,1,120514,120538,1,120540,120545,1,120572,120596,1,120598,120603,1,120630,120654,1,120656,120661,1,120688,120712,1,120714,120719,1,120746,120770,1,120772,120777,1,120779,122624,1845,122625,122633,1,122635,122654,1,122661,122666,1,125218,125251,1]));static foldLl=new i(new Uint32Array([65,90,1,192,214,1,216,222,1,256,302,2,306,310,2,313,327,2,330,376,2,377,381,2,385,386,1,388,390,2,391,393,2,394,395,1,398,401,1,403,404,1,406,408,1,412,413,1,415,416,1,418,422,2,423,425,2,428,430,2,431,433,2,434,435,1,437,439,2,440,444,4,452,453,1,455,456,1,458,459,1,461,475,2,478,494,2,497,498,1,500,502,2,503,504,1,506,562,2,570,571,1,573,574,1,577,579,2,580,582,1,584,590,2,837,880,43,882,886,4,895,902,7,904,906,1,908,910,2,911,913,2,914,929,1,931,939,1,975,984,9,986,1006,2,1012,1015,3,1017,1018,1,1021,1071,1,1120,1152,2,1162,1216,2,1217,1229,2,1232,1326,2,1329,1366,1,4256,4293,1,4295,4301,6,5024,5109,1,7305,7312,7,7313,7354,1,7357,7359,1,7680,7828,2,7838,7934,2,7944,7951,1,7960,7965,1,7976,7983,1,7992,7999,1,8008,8013,1,8025,8031,2,8040,8047,1,8072,8079,1,8088,8095,1,8104,8111,1,8120,8124,1,8136,8140,1,8152,8155,1,8168,8172,1,8184,8188,1,8486,8490,4,8491,8498,7,8579,11264,2685,11265,11311,1,11360,11362,2,11363,11364,1,11367,11373,2,11374,11376,1,11378,11381,3,11390,11392,1,11394,11490,2,11499,11501,2,11506,42560,31054,42562,42604,2,42624,42650,2,42786,42798,2,42802,42862,2,42873,42877,2,42878,42886,2,42891,42893,2,42896,42898,2,42902,42922,2,42923,42926,1,42928,42932,1,42934,42948,2,42949,42951,1,42953,42955,2,42956,42960,4,42966,42972,2,42997,65313,22316,65314,65338,1,66560,66599,1,66736,66771,1,66928,66938,1,66940,66954,1,66956,66962,1,66964,66965,1,68736,68786,1,68944,68965,1,71840,71871,1,93760,93791,1,125184,125217,1]));static Lm=new i(new Uint32Array([688,705,1,710,721,1,736,740,1,748,750,2,884,890,6,1369,1600,231,1765,1766,1,2036,2037,1,2042,2074,32,2084,2088,4,2249,2417,168,3654,3782,128,4348,6103,1755,6211,6823,612,7288,7293,1,7468,7530,1,7544,7579,35,7580,7615,1,8305,8319,14,8336,8348,1,11388,11389,1,11631,11823,192,12293,12337,44,12338,12341,1,12347,12445,98,12446,12540,94,12541,12542,1,40981,42232,1251,42233,42237,1,42508,42623,115,42652,42653,1,42775,42783,1,42864,42888,24,42994,42996,1,43000,43001,1,43471,43494,23,43632,43741,109,43763,43764,1,43868,43871,1,43881,65392,21511,65438,65439,1,67456,67461,1,67463,67504,1,67506,67514,1,68942,68975,33,92992,92995,1,93504,93506,1,93547,93548,1,94099,94111,1,94176,94177,1,94179,110576,16397,110577,110579,1,110581,110587,1,110589,110590,1,122928,122989,1,123191,123197,1,124139,125259,1120]));static Lo=new i(new Uint32Array([170,186,16,443,448,5,449,451,1,660,1488,828,1489,1514,1,1519,1522,1,1568,1599,1,1601,1610,1,1646,1647,1,1649,1747,1,1749,1774,25,1775,1786,11,1787,1788,1,1791,1808,17,1810,1839,1,1869,1957,1,1969,1994,25,1995,2026,1,2048,2069,1,2112,2136,1,2144,2154,1,2160,2183,1,2185,2190,1,2208,2248,1,2308,2361,1,2365,2384,19,2392,2401,1,2418,2432,1,2437,2444,1,2447,2448,1,2451,2472,1,2474,2480,1,2482,2486,4,2487,2489,1,2493,2510,17,2524,2525,1,2527,2529,1,2544,2545,1,2556,2565,9,2566,2570,1,2575,2576,1,2579,2600,1,2602,2608,1,2610,2611,1,2613,2614,1,2616,2617,1,2649,2652,1,2654,2674,20,2675,2676,1,2693,2701,1,2703,2705,1,2707,2728,1,2730,2736,1,2738,2739,1,2741,2745,1,2749,2768,19,2784,2785,1,2809,2821,12,2822,2828,1,2831,2832,1,2835,2856,1,2858,2864,1,2866,2867,1,2869,2873,1,2877,2908,31,2909,2911,2,2912,2913,1,2929,2947,18,2949,2954,1,2958,2960,1,2962,2965,1,2969,2970,1,2972,2974,2,2975,2979,4,2980,2984,4,2985,2986,1,2990,3001,1,3024,3077,53,3078,3084,1,3086,3088,1,3090,3112,1,3114,3129,1,3133,3160,27,3161,3162,1,3165,3168,3,3169,3200,31,3205,3212,1,3214,3216,1,3218,3240,1,3242,3251,1,3253,3257,1,3261,3293,32,3294,3296,2,3297,3313,16,3314,3332,18,3333,3340,1,3342,3344,1,3346,3386,1,3389,3406,17,3412,3414,1,3423,3425,1,3450,3455,1,3461,3478,1,3482,3505,1,3507,3515,1,3517,3520,3,3521,3526,1,3585,3632,1,3634,3635,1,3648,3653,1,3713,3714,1,3716,3718,2,3719,3722,1,3724,3747,1,3749,3751,2,3752,3760,1,3762,3763,1,3773,3776,3,3777,3780,1,3804,3807,1,3840,3904,64,3905,3911,1,3913,3948,1,3976,3980,1,4096,4138,1,4159,4176,17,4177,4181,1,4186,4189,1,4193,4197,4,4198,4206,8,4207,4208,1,4213,4225,1,4238,4352,114,4353,4680,1,4682,4685,1,4688,4694,1,4696,4698,2,4699,4701,1,4704,4744,1,4746,4749,1,4752,4784,1,4786,4789,1,4792,4798,1,4800,4802,2,4803,4805,1,4808,4822,1,4824,4880,1,4882,4885,1,4888,4954,1,4992,5007,1,5121,5740,1,5743,5759,1,5761,5786,1,5792,5866,1,5873,5880,1,5888,5905,1,5919,5937,1,5952,5969,1,5984,5996,1,5998,6000,1,6016,6067,1,6108,6176,68,6177,6210,1,6212,6264,1,6272,6276,1,6279,6312,1,6314,6320,6,6321,6389,1,6400,6430,1,6480,6509,1,6512,6516,1,6528,6571,1,6576,6601,1,6656,6678,1,6688,6740,1,6917,6963,1,6981,6988,1,7043,7072,1,7086,7087,1,7098,7141,1,7168,7203,1,7245,7247,1,7258,7287,1,7401,7404,1,7406,7411,1,7413,7414,1,7418,8501,1083,8502,8504,1,11568,11623,1,11648,11670,1,11680,11686,1,11688,11694,1,11696,11702,1,11704,11710,1,11712,11718,1,11720,11726,1,11728,11734,1,11736,11742,1,12294,12348,54,12353,12438,1,12447,12449,2,12450,12538,1,12543,12549,6,12550,12591,1,12593,12686,1,12704,12735,1,12784,12799,1,13312,19903,1,19968,40980,1,40982,42124,1,42192,42231,1,42240,42507,1,42512,42527,1,42538,42539,1,42606,42656,50,42657,42725,1,42895,42999,104,43003,43009,1,43011,43013,1,43015,43018,1,43020,43042,1,43072,43123,1,43138,43187,1,43250,43255,1,43259,43261,2,43262,43274,12,43275,43301,1,43312,43334,1,43360,43388,1,43396,43442,1,43488,43492,1,43495,43503,1,43514,43518,1,43520,43560,1,43584,43586,1,43588,43595,1,43616,43631,1,43633,43638,1,43642,43646,4,43647,43695,1,43697,43701,4,43702,43705,3,43706,43709,1,43712,43714,2,43739,43740,1,43744,43754,1,43762,43777,15,43778,43782,1,43785,43790,1,43793,43798,1,43808,43814,1,43816,43822,1,43968,44002,1,44032,55203,1,55216,55238,1,55243,55291,1,63744,64109,1,64112,64217,1,64285,64287,2,64288,64296,1,64298,64310,1,64312,64316,1,64318,64320,2,64321,64323,2,64324,64326,2,64327,64433,1,64467,64829,1,64848,64911,1,64914,64967,1,65008,65019,1,65136,65140,1,65142,65276,1,65382,65391,1,65393,65437,1,65440,65470,1,65474,65479,1,65482,65487,1,65490,65495,1,65498,65500,1,65536,65547,1,65549,65574,1,65576,65594,1,65596,65597,1,65599,65613,1,65616,65629,1,65664,65786,1,66176,66204,1,66208,66256,1,66304,66335,1,66349,66368,1,66370,66377,1,66384,66421,1,66432,66461,1,66464,66499,1,66504,66511,1,66640,66717,1,66816,66855,1,66864,66915,1,67008,67059,1,67072,67382,1,67392,67413,1,67424,67431,1,67584,67589,1,67592,67594,2,67595,67637,1,67639,67640,1,67644,67647,3,67648,67669,1,67680,67702,1,67712,67742,1,67808,67826,1,67828,67829,1,67840,67861,1,67872,67897,1,67968,68023,1,68030,68031,1,68096,68112,16,68113,68115,1,68117,68119,1,68121,68149,1,68192,68220,1,68224,68252,1,68288,68295,1,68297,68324,1,68352,68405,1,68416,68437,1,68448,68466,1,68480,68497,1,68608,68680,1,68864,68899,1,68938,68941,1,68943,69248,305,69249,69289,1,69296,69297,1,69314,69316,1,69376,69404,1,69415,69424,9,69425,69445,1,69488,69505,1,69552,69572,1,69600,69622,1,69635,69687,1,69745,69746,1,69749,69763,14,69764,69807,1,69840,69864,1,69891,69926,1,69956,69959,3,69968,70002,1,70006,70019,13,70020,70066,1,70081,70084,1,70106,70108,2,70144,70161,1,70163,70187,1,70207,70208,1,70272,70278,1,70280,70282,2,70283,70285,1,70287,70301,1,70303,70312,1,70320,70366,1,70405,70412,1,70415,70416,1,70419,70440,1,70442,70448,1,70450,70451,1,70453,70457,1,70461,70480,19,70493,70497,1,70528,70537,1,70539,70542,3,70544,70581,1,70583,70609,26,70611,70656,45,70657,70708,1,70727,70730,1,70751,70753,1,70784,70831,1,70852,70853,1,70855,71040,185,71041,71086,1,71128,71131,1,71168,71215,1,71236,71296,60,71297,71338,1,71352,71424,72,71425,71450,1,71488,71494,1,71680,71723,1,71935,71942,1,71945,71948,3,71949,71955,1,71957,71958,1,71960,71983,1,71999,72001,2,72096,72103,1,72106,72144,1,72161,72163,2,72192,72203,11,72204,72242,1,72250,72272,22,72284,72329,1,72349,72368,19,72369,72440,1,72640,72672,1,72704,72712,1,72714,72750,1,72768,72818,50,72819,72847,1,72960,72966,1,72968,72969,1,72971,73008,1,73030,73056,26,73057,73061,1,73063,73064,1,73066,73097,1,73112,73440,328,73441,73458,1,73474,73476,2,73477,73488,1,73490,73523,1,73648,73728,80,73729,74649,1,74880,75075,1,77712,77808,1,77824,78895,1,78913,78918,1,78944,82938,1,82944,83526,1,90368,90397,1,92160,92728,1,92736,92766,1,92784,92862,1,92880,92909,1,92928,92975,1,93027,93047,1,93053,93071,1,93507,93546,1,93952,94026,1,94032,94208,176,94209,100343,1,100352,101589,1,101631,101640,1,110592,110882,1,110898,110928,30,110929,110930,1,110933,110948,15,110949,110951,1,110960,111355,1,113664,113770,1,113776,113788,1,113792,113800,1,113808,113817,1,122634,123136,502,123137,123180,1,123214,123536,322,123537,123565,1,123584,123627,1,124112,124138,1,124368,124397,1,124400,124896,496,124897,124902,1,124904,124907,1,124909,124910,1,124912,124926,1,124928,125124,1,126464,126467,1,126469,126495,1,126497,126498,1,126500,126503,3,126505,126514,1,126516,126519,1,126521,126523,2,126530,126535,5,126537,126541,2,126542,126543,1,126545,126546,1,126548,126551,3,126553,126561,2,126562,126564,2,126567,126570,1,126572,126578,1,126580,126583,1,126585,126588,1,126590,126592,2,126593,126601,1,126603,126619,1,126625,126627,1,126629,126633,1,126635,126651,1,131072,173791,1,173824,177977,1,177984,178205,1,178208,183969,1,183984,191456,1,191472,192093,1,194560,195101,1,196608,201546,1,201552,205743,1]));static Lt=new i(new Uint32Array([453,459,3,498,8072,7574,8073,8079,1,8088,8095,1,8104,8111,1,8124,8140,16,8188,8188,1]));static foldLt=new i(new Uint32Array([452,454,2,455,457,2,458,460,2,497,499,2,8064,8071,1,8080,8087,1,8096,8103,1,8115,8131,16,8179,8179,1]));static Lu=new i(new Uint32Array([65,90,1,192,214,1,216,222,1,256,310,2,313,327,2,330,376,2,377,381,2,385,386,1,388,390,2,391,393,2,394,395,1,398,401,1,403,404,1,406,408,1,412,413,1,415,416,1,418,422,2,423,425,2,428,430,2,431,433,2,434,435,1,437,439,2,440,444,4,452,461,3,463,475,2,478,494,2,497,500,3,502,504,1,506,562,2,570,571,1,573,574,1,577,579,2,580,582,1,584,590,2,880,882,2,886,895,9,902,904,2,905,906,1,908,910,2,911,913,2,914,929,1,931,939,1,975,978,3,979,980,1,984,1006,2,1012,1015,3,1017,1018,1,1021,1071,1,1120,1152,2,1162,1216,2,1217,1229,2,1232,1326,2,1329,1366,1,4256,4293,1,4295,4301,6,5024,5109,1,7305,7312,7,7313,7354,1,7357,7359,1,7680,7828,2,7838,7934,2,7944,7951,1,7960,7965,1,7976,7983,1,7992,7999,1,8008,8013,1,8025,8031,2,8040,8047,1,8120,8123,1,8136,8139,1,8152,8155,1,8168,8172,1,8184,8187,1,8450,8455,5,8459,8461,1,8464,8466,1,8469,8473,4,8474,8477,1,8484,8490,2,8491,8493,1,8496,8499,1,8510,8511,1,8517,8579,62,11264,11311,1,11360,11362,2,11363,11364,1,11367,11373,2,11374,11376,1,11378,11381,3,11390,11392,1,11394,11490,2,11499,11501,2,11506,42560,31054,42562,42604,2,42624,42650,2,42786,42798,2,42802,42862,2,42873,42877,2,42878,42886,2,42891,42893,2,42896,42898,2,42902,42922,2,42923,42926,1,42928,42932,1,42934,42948,2,42949,42951,1,42953,42955,2,42956,42960,4,42966,42972,2,42997,65313,22316,65314,65338,1,66560,66599,1,66736,66771,1,66928,66938,1,66940,66954,1,66956,66962,1,66964,66965,1,68736,68786,1,68944,68965,1,71840,71871,1,93760,93791,1,119808,119833,1,119860,119885,1,119912,119937,1,119964,119966,2,119967,119973,3,119974,119977,3,119978,119980,1,119982,119989,1,120016,120041,1,120068,120069,1,120071,120074,1,120077,120084,1,120086,120092,1,120120,120121,1,120123,120126,1,120128,120132,1,120134,120138,4,120139,120144,1,120172,120197,1,120224,120249,1,120276,120301,1,120328,120353,1,120380,120405,1,120432,120457,1,120488,120512,1,120546,120570,1,120604,120628,1,120662,120686,1,120720,120744,1,120778,125184,4406,125185,125217,1]));static Upper=this.Lu;static foldLu=new i(new Uint32Array([97,122,1,181,223,42,224,246,1,248,255,1,257,303,2,307,311,2,314,328,2,331,375,2,378,382,2,383,384,1,387,389,2,392,396,4,402,405,3,409,411,1,414,417,3,419,421,2,424,429,5,432,436,4,438,441,3,445,447,2,453,454,1,456,457,1,459,460,1,462,476,2,477,495,2,498,499,1,501,505,4,507,543,2,547,563,2,572,575,3,576,578,2,583,591,2,592,596,1,598,599,1,601,603,2,604,608,4,609,611,2,612,614,1,616,620,1,623,625,2,626,629,3,637,640,3,642,643,1,647,652,1,658,669,11,670,837,167,881,883,2,887,891,4,892,893,1,940,943,1,945,974,1,976,977,1,981,983,1,985,1007,2,1008,1011,1,1013,1019,3,1072,1119,1,1121,1153,2,1163,1215,2,1218,1230,2,1231,1327,2,1377,1414,1,4304,4346,1,4349,4351,1,5112,5117,1,7296,7304,1,7306,7545,239,7549,7566,17,7681,7829,2,7835,7841,6,7843,7935,2,7936,7943,1,7952,7957,1,7968,7975,1,7984,7991,1,8000,8005,1,8017,8023,2,8032,8039,1,8048,8061,1,8112,8113,1,8126,8144,18,8145,8160,15,8161,8165,4,8526,8580,54,11312,11359,1,11361,11365,4,11366,11372,2,11379,11382,3,11393,11491,2,11500,11502,2,11507,11520,13,11521,11557,1,11559,11565,6,42561,42605,2,42625,42651,2,42787,42799,2,42803,42863,2,42874,42876,2,42879,42887,2,42892,42897,5,42899,42900,1,42903,42921,2,42933,42947,2,42952,42954,2,42957,42961,4,42967,42971,2,42998,43859,861,43888,43967,1,65345,65370,1,66600,66639,1,66776,66811,1,66967,66977,1,66979,66993,1,66995,67001,1,67003,67004,1,68800,68850,1,68976,68997,1,71872,71903,1,93792,93823,1,125218,125251,1]));static M=new i(new Uint32Array([768,879,1,1155,1161,1,1425,1469,1,1471,1473,2,1474,1476,2,1477,1479,2,1552,1562,1,1611,1631,1,1648,1750,102,1751,1756,1,1759,1764,1,1767,1768,1,1770,1773,1,1809,1840,31,1841,1866,1,1958,1968,1,2027,2035,1,2045,2070,25,2071,2073,1,2075,2083,1,2085,2087,1,2089,2093,1,2137,2139,1,2199,2207,1,2250,2273,1,2275,2307,1,2362,2364,1,2366,2383,1,2385,2391,1,2402,2403,1,2433,2435,1,2492,2494,2,2495,2500,1,2503,2504,1,2507,2509,1,2519,2530,11,2531,2558,27,2561,2563,1,2620,2622,2,2623,2626,1,2631,2632,1,2635,2637,1,2641,2672,31,2673,2677,4,2689,2691,1,2748,2750,2,2751,2757,1,2759,2761,1,2763,2765,1,2786,2787,1,2810,2815,1,2817,2819,1,2876,2878,2,2879,2884,1,2887,2888,1,2891,2893,1,2901,2903,1,2914,2915,1,2946,3006,60,3007,3010,1,3014,3016,1,3018,3021,1,3031,3072,41,3073,3076,1,3132,3134,2,3135,3140,1,3142,3144,1,3146,3149,1,3157,3158,1,3170,3171,1,3201,3203,1,3260,3262,2,3263,3268,1,3270,3272,1,3274,3277,1,3285,3286,1,3298,3299,1,3315,3328,13,3329,3331,1,3387,3388,1,3390,3396,1,3398,3400,1,3402,3405,1,3415,3426,11,3427,3457,30,3458,3459,1,3530,3535,5,3536,3540,1,3542,3544,2,3545,3551,1,3570,3571,1,3633,3636,3,3637,3642,1,3655,3662,1,3761,3764,3,3765,3772,1,3784,3790,1,3864,3865,1,3893,3897,2,3902,3903,1,3953,3972,1,3974,3975,1,3981,3991,1,3993,4028,1,4038,4139,101,4140,4158,1,4182,4185,1,4190,4192,1,4194,4196,1,4199,4205,1,4209,4212,1,4226,4237,1,4239,4250,11,4251,4253,1,4957,4959,1,5906,5909,1,5938,5940,1,5970,5971,1,6002,6003,1,6068,6099,1,6109,6155,46,6156,6157,1,6159,6277,118,6278,6313,35,6432,6443,1,6448,6459,1,6679,6683,1,6741,6750,1,6752,6780,1,6783,6832,49,6833,6862,1,6912,6916,1,6964,6980,1,7019,7027,1,7040,7042,1,7073,7085,1,7142,7155,1,7204,7223,1,7376,7378,1,7380,7400,1,7405,7412,7,7415,7417,1,7616,7679,1,8400,8432,1,11503,11505,1,11647,11744,97,11745,11775,1,12330,12335,1,12441,12442,1,42607,42610,1,42612,42621,1,42654,42655,1,42736,42737,1,43010,43014,4,43019,43043,24,43044,43047,1,43052,43136,84,43137,43188,51,43189,43205,1,43232,43249,1,43263,43302,39,43303,43309,1,43335,43347,1,43392,43395,1,43443,43456,1,43493,43561,68,43562,43574,1,43587,43596,9,43597,43643,46,43644,43645,1,43696,43698,2,43699,43700,1,43703,43704,1,43710,43711,1,43713,43755,42,43756,43759,1,43765,43766,1,44003,44010,1,44012,44013,1,64286,65024,738,65025,65039,1,65056,65071,1,66045,66272,227,66422,66426,1,68097,68099,1,68101,68102,1,68108,68111,1,68152,68154,1,68159,68325,166,68326,68900,574,68901,68903,1,68969,68973,1,69291,69292,1,69372,69375,1,69446,69456,1,69506,69509,1,69632,69634,1,69688,69702,1,69744,69747,3,69748,69759,11,69760,69762,1,69808,69818,1,69826,69888,62,69889,69890,1,69927,69940,1,69957,69958,1,70003,70016,13,70017,70018,1,70067,70080,1,70089,70092,1,70094,70095,1,70188,70199,1,70206,70209,3,70367,70378,1,70400,70403,1,70459,70460,1,70462,70468,1,70471,70472,1,70475,70477,1,70487,70498,11,70499,70502,3,70503,70508,1,70512,70516,1,70584,70592,1,70594,70597,3,70599,70602,1,70604,70608,1,70610,70625,15,70626,70709,83,70710,70726,1,70750,70832,82,70833,70851,1,71087,71093,1,71096,71104,1,71132,71133,1,71216,71232,1,71339,71351,1,71453,71467,1,71724,71738,1,71984,71989,1,71991,71992,1,71995,71998,1,72000,72002,2,72003,72145,142,72146,72151,1,72154,72160,1,72164,72193,29,72194,72202,1,72243,72249,1,72251,72254,1,72263,72273,10,72274,72283,1,72330,72345,1,72751,72758,1,72760,72767,1,72850,72871,1,72873,72886,1,73009,73014,1,73018,73020,2,73021,73023,2,73024,73029,1,73031,73098,67,73099,73102,1,73104,73105,1,73107,73111,1,73459,73462,1,73472,73473,1,73475,73524,49,73525,73530,1,73534,73538,1,73562,78912,5350,78919,78933,1,90398,90415,1,92912,92916,1,92976,92982,1,94031,94033,2,94034,94087,1,94095,94098,1,94180,94192,12,94193,113821,19628,113822,118528,4706,118529,118573,1,118576,118598,1,119141,119145,1,119149,119154,1,119163,119170,1,119173,119179,1,119210,119213,1,119362,119364,1,121344,121398,1,121403,121452,1,121461,121476,15,121499,121503,1,121505,121519,1,122880,122886,1,122888,122904,1,122907,122913,1,122915,122916,1,122918,122922,1,123023,123184,161,123185,123190,1,123566,123628,62,123629,123631,1,124140,124143,1,124398,124399,1,125136,125142,1,125252,125258,1,917760,917999,1]));static foldM=new i(new Uint32Array([921,953,32,8126,8126,1]));static Mc=new i(new Uint32Array([2307,2363,56,2366,2368,1,2377,2380,1,2382,2383,1,2434,2435,1,2494,2496,1,2503,2504,1,2507,2508,1,2519,2563,44,2622,2624,1,2691,2750,59,2751,2752,1,2761,2763,2,2764,2818,54,2819,2878,59,2880,2887,7,2888,2891,3,2892,2903,11,3006,3007,1,3009,3010,1,3014,3016,1,3018,3020,1,3031,3073,42,3074,3075,1,3137,3140,1,3202,3203,1,3262,3264,2,3265,3268,1,3271,3272,1,3274,3275,1,3285,3286,1,3315,3330,15,3331,3390,59,3391,3392,1,3398,3400,1,3402,3404,1,3415,3458,43,3459,3535,76,3536,3537,1,3544,3551,1,3570,3571,1,3902,3903,1,3967,4139,172,4140,4145,5,4152,4155,3,4156,4182,26,4183,4194,11,4195,4196,1,4199,4205,1,4227,4228,1,4231,4236,1,4239,4250,11,4251,4252,1,5909,5940,31,6070,6078,8,6079,6085,1,6087,6088,1,6435,6438,1,6441,6443,1,6448,6449,1,6451,6456,1,6681,6682,1,6741,6743,2,6753,6755,2,6756,6765,9,6766,6770,1,6916,6965,49,6971,6973,2,6974,6977,1,6979,6980,1,7042,7073,31,7078,7079,1,7082,7143,61,7146,7148,1,7150,7154,4,7155,7204,49,7205,7211,1,7220,7221,1,7393,7415,22,12334,12335,1,43043,43044,1,43047,43136,89,43137,43188,51,43189,43203,1,43346,43347,1,43395,43444,49,43445,43450,5,43451,43454,3,43455,43456,1,43567,43568,1,43571,43572,1,43597,43643,46,43645,43755,110,43758,43759,1,43765,44003,238,44004,44006,2,44007,44009,2,44010,44012,2,69632,69634,2,69762,69808,46,69809,69810,1,69815,69816,1,69932,69957,25,69958,70018,60,70067,70069,1,70079,70080,1,70094,70188,94,70189,70190,1,70194,70195,1,70197,70368,171,70369,70370,1,70402,70403,1,70462,70463,1,70465,70468,1,70471,70472,1,70475,70477,1,70487,70498,11,70499,70584,85,70585,70586,1,70594,70597,3,70599,70602,1,70604,70605,1,70607,70709,102,70710,70711,1,70720,70721,1,70725,70832,107,70833,70834,1,70841,70843,2,70844,70846,1,70849,71087,238,71088,71089,1,71096,71099,1,71102,71216,114,71217,71218,1,71227,71228,1,71230,71340,110,71342,71343,1,71350,71454,104,71456,71457,1,71462,71724,262,71725,71726,1,71736,71984,248,71985,71989,1,71991,71992,1,71997,72000,3,72002,72145,143,72146,72147,1,72156,72159,1,72164,72249,85,72279,72280,1,72343,72751,408,72766,72873,107,72881,72884,3,73098,73102,1,73107,73108,1,73110,73461,351,73462,73475,13,73524,73525,1,73534,73535,1,73537,90410,16873,90411,90412,1,94033,94087,1,94192,94193,1,119141,119142,1,119149,119154,1]));static Me=new i(new Uint32Array([1160,1161,1,6846,8413,1567,8414,8416,1,8418,8420,1,42608,42610,1]));static Mn=new i(new Uint32Array([768,879,1,1155,1159,1,1425,1469,1,1471,1473,2,1474,1476,2,1477,1479,2,1552,1562,1,1611,1631,1,1648,1750,102,1751,1756,1,1759,1764,1,1767,1768,1,1770,1773,1,1809,1840,31,1841,1866,1,1958,1968,1,2027,2035,1,2045,2070,25,2071,2073,1,2075,2083,1,2085,2087,1,2089,2093,1,2137,2139,1,2199,2207,1,2250,2273,1,2275,2306,1,2362,2364,2,2369,2376,1,2381,2385,4,2386,2391,1,2402,2403,1,2433,2492,59,2497,2500,1,2509,2530,21,2531,2558,27,2561,2562,1,2620,2625,5,2626,2631,5,2632,2635,3,2636,2637,1,2641,2672,31,2673,2677,4,2689,2690,1,2748,2753,5,2754,2757,1,2759,2760,1,2765,2786,21,2787,2810,23,2811,2815,1,2817,2876,59,2879,2881,2,2882,2884,1,2893,2901,8,2902,2914,12,2915,2946,31,3008,3021,13,3072,3076,4,3132,3134,2,3135,3136,1,3142,3144,1,3146,3149,1,3157,3158,1,3170,3171,1,3201,3260,59,3263,3270,7,3276,3277,1,3298,3299,1,3328,3329,1,3387,3388,1,3393,3396,1,3405,3426,21,3427,3457,30,3530,3538,8,3539,3540,1,3542,3633,91,3636,3642,1,3655,3662,1,3761,3764,3,3765,3772,1,3784,3790,1,3864,3865,1,3893,3897,2,3953,3966,1,3968,3972,1,3974,3975,1,3981,3991,1,3993,4028,1,4038,4141,103,4142,4144,1,4146,4151,1,4153,4154,1,4157,4158,1,4184,4185,1,4190,4192,1,4209,4212,1,4226,4229,3,4230,4237,7,4253,4957,704,4958,4959,1,5906,5908,1,5938,5939,1,5970,5971,1,6002,6003,1,6068,6069,1,6071,6077,1,6086,6089,3,6090,6099,1,6109,6155,46,6156,6157,1,6159,6277,118,6278,6313,35,6432,6434,1,6439,6440,1,6450,6457,7,6458,6459,1,6679,6680,1,6683,6742,59,6744,6750,1,6752,6754,2,6757,6764,1,6771,6780,1,6783,6832,49,6833,6845,1,6847,6862,1,6912,6915,1,6964,6966,2,6967,6970,1,6972,6978,6,7019,7027,1,7040,7041,1,7074,7077,1,7080,7081,1,7083,7085,1,7142,7144,2,7145,7149,4,7151,7153,1,7212,7219,1,7222,7223,1,7376,7378,1,7380,7392,1,7394,7400,1,7405,7412,7,7416,7417,1,7616,7679,1,8400,8412,1,8417,8421,4,8422,8432,1,11503,11505,1,11647,11744,97,11745,11775,1,12330,12333,1,12441,12442,1,42607,42612,5,42613,42621,1,42654,42655,1,42736,42737,1,43010,43014,4,43019,43045,26,43046,43052,6,43204,43205,1,43232,43249,1,43263,43302,39,43303,43309,1,43335,43345,1,43392,43394,1,43443,43446,3,43447,43449,1,43452,43453,1,43493,43561,68,43562,43566,1,43569,43570,1,43573,43574,1,43587,43596,9,43644,43696,52,43698,43700,1,43703,43704,1,43710,43711,1,43713,43756,43,43757,43766,9,44005,44008,3,44013,64286,20273,65024,65039,1,65056,65071,1,66045,66272,227,66422,66426,1,68097,68099,1,68101,68102,1,68108,68111,1,68152,68154,1,68159,68325,166,68326,68900,574,68901,68903,1,68969,68973,1,69291,69292,1,69372,69375,1,69446,69456,1,69506,69509,1,69633,69688,55,69689,69702,1,69744,69747,3,69748,69759,11,69760,69761,1,69811,69814,1,69817,69818,1,69826,69888,62,69889,69890,1,69927,69931,1,69933,69940,1,70003,70016,13,70017,70070,53,70071,70078,1,70089,70092,1,70095,70191,96,70192,70193,1,70196,70198,2,70199,70206,7,70209,70367,158,70371,70378,1,70400,70401,1,70459,70460,1,70464,70502,38,70503,70508,1,70512,70516,1,70587,70592,1,70606,70610,2,70625,70626,1,70712,70719,1,70722,70724,1,70726,70750,24,70835,70840,1,70842,70847,5,70848,70850,2,70851,71090,239,71091,71093,1,71100,71101,1,71103,71104,1,71132,71133,1,71219,71226,1,71229,71231,2,71232,71339,107,71341,71344,3,71345,71349,1,71351,71453,102,71455,71458,3,71459,71461,1,71463,71467,1,71727,71735,1,71737,71738,1,71995,71996,1,71998,72003,5,72148,72151,1,72154,72155,1,72160,72193,33,72194,72202,1,72243,72248,1,72251,72254,1,72263,72273,10,72274,72278,1,72281,72283,1,72330,72342,1,72344,72345,1,72752,72758,1,72760,72765,1,72767,72850,83,72851,72871,1,72874,72880,1,72882,72883,1,72885,72886,1,73009,73014,1,73018,73020,2,73021,73023,2,73024,73029,1,73031,73104,73,73105,73109,4,73111,73459,348,73460,73472,12,73473,73526,53,73527,73530,1,73536,73538,2,73562,78912,5350,78919,78933,1,90398,90409,1,90413,90415,1,92912,92916,1,92976,92982,1,94031,94095,64,94096,94098,1,94180,113821,19641,113822,118528,4706,118529,118573,1,118576,118598,1,119143,119145,1,119163,119170,1,119173,119179,1,119210,119213,1,119362,119364,1,121344,121398,1,121403,121452,1,121461,121476,15,121499,121503,1,121505,121519,1,122880,122886,1,122888,122904,1,122907,122913,1,122915,122916,1,122918,122922,1,123023,123184,161,123185,123190,1,123566,123628,62,123629,123631,1,124140,124143,1,124398,124399,1,125136,125142,1,125252,125258,1,917760,917999,1]));static foldMn=new i(new Uint32Array([921,953,32,8126,8126,1]));static N=new i(new Uint32Array([48,57,1,178,179,1,185,188,3,189,190,1,1632,1641,1,1776,1785,1,1984,1993,1,2406,2415,1,2534,2543,1,2548,2553,1,2662,2671,1,2790,2799,1,2918,2927,1,2930,2935,1,3046,3058,1,3174,3183,1,3192,3198,1,3302,3311,1,3416,3422,1,3430,3448,1,3558,3567,1,3664,3673,1,3792,3801,1,3872,3891,1,4160,4169,1,4240,4249,1,4969,4988,1,5870,5872,1,6112,6121,1,6128,6137,1,6160,6169,1,6470,6479,1,6608,6618,1,6784,6793,1,6800,6809,1,6992,7001,1,7088,7097,1,7232,7241,1,7248,7257,1,8304,8308,4,8309,8313,1,8320,8329,1,8528,8578,1,8581,8585,1,9312,9371,1,9450,9471,1,10102,10131,1,11517,12295,778,12321,12329,1,12344,12346,1,12690,12693,1,12832,12841,1,12872,12879,1,12881,12895,1,12928,12937,1,12977,12991,1,42528,42537,1,42726,42735,1,43056,43061,1,43216,43225,1,43264,43273,1,43472,43481,1,43504,43513,1,43600,43609,1,44016,44025,1,65296,65305,1,65799,65843,1,65856,65912,1,65930,65931,1,66273,66299,1,66336,66339,1,66369,66378,9,66513,66517,1,66720,66729,1,67672,67679,1,67705,67711,1,67751,67759,1,67835,67839,1,67862,67867,1,68028,68029,1,68032,68047,1,68050,68095,1,68160,68168,1,68221,68222,1,68253,68255,1,68331,68335,1,68440,68447,1,68472,68479,1,68521,68527,1,68858,68863,1,68912,68921,1,68928,68937,1,69216,69246,1,69405,69414,1,69457,69460,1,69573,69579,1,69714,69743,1,69872,69881,1,69942,69951,1,70096,70105,1,70113,70132,1,70384,70393,1,70736,70745,1,70864,70873,1,71248,71257,1,71360,71369,1,71376,71395,1,71472,71483,1,71904,71922,1,72016,72025,1,72688,72697,1,72784,72812,1,73040,73049,1,73120,73129,1,73552,73561,1,73664,73684,1,74752,74862,1,90416,90425,1,92768,92777,1,92864,92873,1,93008,93017,1,93019,93025,1,93552,93561,1,93824,93846,1,118000,118009,1,119488,119507,1,119520,119539,1,119648,119672,1,120782,120831,1,123200,123209,1,123632,123641,1,124144,124153,1,124401,124410,1,125127,125135,1,125264,125273,1,126065,126123,1,126125,126127,1,126129,126132,1,126209,126253,1,126255,126269,1,127232,127244,1,130032,130041,1]));static Nd=new i(new Uint32Array([48,57,1,1632,1641,1,1776,1785,1,1984,1993,1,2406,2415,1,2534,2543,1,2662,2671,1,2790,2799,1,2918,2927,1,3046,3055,1,3174,3183,1,3302,3311,1,3430,3439,1,3558,3567,1,3664,3673,1,3792,3801,1,3872,3881,1,4160,4169,1,4240,4249,1,6112,6121,1,6160,6169,1,6470,6479,1,6608,6617,1,6784,6793,1,6800,6809,1,6992,7001,1,7088,7097,1,7232,7241,1,7248,7257,1,42528,42537,1,43216,43225,1,43264,43273,1,43472,43481,1,43504,43513,1,43600,43609,1,44016,44025,1,65296,65305,1,66720,66729,1,68912,68921,1,68928,68937,1,69734,69743,1,69872,69881,1,69942,69951,1,70096,70105,1,70384,70393,1,70736,70745,1,70864,70873,1,71248,71257,1,71360,71369,1,71376,71395,1,71472,71481,1,71904,71913,1,72016,72025,1,72688,72697,1,72784,72793,1,73040,73049,1,73120,73129,1,73552,73561,1,90416,90425,1,92768,92777,1,92864,92873,1,93008,93017,1,93552,93561,1,118000,118009,1,120782,120831,1,123200,123209,1,123632,123641,1,124144,124153,1,124401,124410,1,125264,125273,1,130032,130041,1]));static Nl=new i(new Uint32Array([5870,5872,1,8544,8578,1,8581,8584,1,12295,12321,26,12322,12329,1,12344,12346,1,42726,42735,1,65856,65908,1,66369,66378,9,66513,66517,1,74752,74862,1]));static No=new i(new Uint32Array([178,179,1,185,188,3,189,190,1,2548,2553,1,2930,2935,1,3056,3058,1,3192,3198,1,3416,3422,1,3440,3448,1,3882,3891,1,4969,4988,1,6128,6137,1,6618,8304,1686,8308,8313,1,8320,8329,1,8528,8543,1,8585,9312,727,9313,9371,1,9450,9471,1,10102,10131,1,11517,12690,1173,12691,12693,1,12832,12841,1,12872,12879,1,12881,12895,1,12928,12937,1,12977,12991,1,43056,43061,1,65799,65843,1,65909,65912,1,65930,65931,1,66273,66299,1,66336,66339,1,67672,67679,1,67705,67711,1,67751,67759,1,67835,67839,1,67862,67867,1,68028,68029,1,68032,68047,1,68050,68095,1,68160,68168,1,68221,68222,1,68253,68255,1,68331,68335,1,68440,68447,1,68472,68479,1,68521,68527,1,68858,68863,1,69216,69246,1,69405,69414,1,69457,69460,1,69573,69579,1,69714,69733,1,70113,70132,1,71482,71483,1,71914,71922,1,72794,72812,1,73664,73684,1,93019,93025,1,93824,93846,1,119488,119507,1,119520,119539,1,119648,119672,1,125127,125135,1,126065,126123,1,126125,126127,1,126129,126132,1,126209,126253,1,126255,126269,1,127232,127244,1]));static P=new i(new Uint32Array([33,35,1,37,42,1,44,47,1,58,59,1,63,64,1,91,93,1,95,123,28,125,161,36,167,171,4,182,183,1,187,191,4,894,903,9,1370,1375,1,1417,1418,1,1470,1472,2,1475,1478,3,1523,1524,1,1545,1546,1,1548,1549,1,1563,1565,2,1566,1567,1,1642,1645,1,1748,1792,44,1793,1805,1,2039,2041,1,2096,2110,1,2142,2404,262,2405,2416,11,2557,2678,121,2800,3191,391,3204,3572,368,3663,3674,11,3675,3844,169,3845,3858,1,3860,3898,38,3899,3901,1,3973,4048,75,4049,4052,1,4057,4058,1,4170,4175,1,4347,4960,613,4961,4968,1,5120,5742,622,5787,5788,1,5867,5869,1,5941,5942,1,6100,6102,1,6104,6106,1,6144,6154,1,6468,6469,1,6686,6687,1,6816,6822,1,6824,6829,1,6990,6991,1,7002,7008,1,7037,7039,1,7164,7167,1,7227,7231,1,7294,7295,1,7360,7367,1,7379,8208,829,8209,8231,1,8240,8259,1,8261,8273,1,8275,8286,1,8317,8318,1,8333,8334,1,8968,8971,1,9001,9002,1,10088,10101,1,10181,10182,1,10214,10223,1,10627,10648,1,10712,10715,1,10748,10749,1,11513,11516,1,11518,11519,1,11632,11776,144,11777,11822,1,11824,11855,1,11858,11869,1,12289,12291,1,12296,12305,1,12308,12319,1,12336,12349,13,12448,12539,91,42238,42239,1,42509,42511,1,42611,42622,11,42738,42743,1,43124,43127,1,43214,43215,1,43256,43258,1,43260,43310,50,43311,43359,48,43457,43469,1,43486,43487,1,43612,43615,1,43742,43743,1,43760,43761,1,44011,64830,20819,64831,65040,209,65041,65049,1,65072,65106,1,65108,65121,1,65123,65128,5,65130,65131,1,65281,65283,1,65285,65290,1,65292,65295,1,65306,65307,1,65311,65312,1,65339,65341,1,65343,65371,28,65373,65375,2,65376,65381,1,65792,65794,1,66463,66512,49,66927,67671,744,67871,67903,32,68176,68184,1,68223,68336,113,68337,68342,1,68409,68415,1,68505,68508,1,68974,69293,319,69461,69465,1,69510,69513,1,69703,69709,1,69819,69820,1,69822,69825,1,69952,69955,1,70004,70005,1,70085,70088,1,70093,70107,14,70109,70111,1,70200,70205,1,70313,70612,299,70613,70615,2,70616,70731,115,70732,70735,1,70746,70747,1,70749,70854,105,71105,71127,1,71233,71235,1,71264,71276,1,71353,71484,131,71485,71486,1,71739,72004,265,72005,72006,1,72162,72255,93,72256,72262,1,72346,72348,1,72350,72354,1,72448,72457,1,72673,72769,96,72770,72773,1,72816,72817,1,73463,73464,1,73539,73551,1,73727,74864,1137,74865,74868,1,77809,77810,1,92782,92783,1,92917,92983,66,92984,92987,1,92996,93549,553,93550,93551,1,93847,93850,1,94178,113823,19645,121479,121483,1,124415,125278,863,125279,125279,1]));static Pc=new i(new Uint32Array([95,8255,8160,8256,8276,20,65075,65076,1,65101,65103,1,65343,65343,1]));static Pd=new i(new Uint32Array([45,1418,1373,1470,5120,3650,6150,8208,2058,8209,8213,1,11799,11802,3,11834,11835,1,11840,11869,29,12316,12336,20,12448,65073,52625,65074,65112,38,65123,65293,170,68974,69293,319]));static Pe=new i(new Uint32Array([41,93,52,125,3899,3774,3901,5788,1887,8262,8318,56,8334,8969,635,8971,9002,31,10089,10101,2,10182,10215,33,10217,10223,2,10628,10648,2,10713,10715,2,10749,11811,1062,11813,11817,2,11862,11868,2,12297,12305,2,12309,12315,2,12318,12319,1,64830,65048,218,65078,65092,2,65096,65114,18,65116,65118,2,65289,65341,52,65373,65379,3]));static Pf=new i(new Uint32Array([187,8217,8030,8221,8250,29,11779,11781,2,11786,11789,3,11805,11809,4]));static Pi=new i(new Uint32Array([171,8216,8045,8219,8220,1,8223,8249,26,11778,11780,2,11785,11788,3,11804,11808,4]));static Po=new i(new Uint32Array([33,35,1,37,39,1,42,46,2,47,58,11,59,63,4,64,92,28,161,167,6,182,183,1,191,894,703,903,1370,467,1371,1375,1,1417,1472,55,1475,1478,3,1523,1524,1,1545,1546,1,1548,1549,1,1563,1565,2,1566,1567,1,1642,1645,1,1748,1792,44,1793,1805,1,2039,2041,1,2096,2110,1,2142,2404,262,2405,2416,11,2557,2678,121,2800,3191,391,3204,3572,368,3663,3674,11,3675,3844,169,3845,3858,1,3860,3973,113,4048,4052,1,4057,4058,1,4170,4175,1,4347,4960,613,4961,4968,1,5742,5867,125,5868,5869,1,5941,5942,1,6100,6102,1,6104,6106,1,6144,6149,1,6151,6154,1,6468,6469,1,6686,6687,1,6816,6822,1,6824,6829,1,6990,6991,1,7002,7008,1,7037,7039,1,7164,7167,1,7227,7231,1,7294,7295,1,7360,7367,1,7379,8214,835,8215,8224,9,8225,8231,1,8240,8248,1,8251,8254,1,8257,8259,1,8263,8273,1,8275,8277,2,8278,8286,1,11513,11516,1,11518,11519,1,11632,11776,144,11777,11782,5,11783,11784,1,11787,11790,3,11791,11798,1,11800,11801,1,11803,11806,3,11807,11818,11,11819,11822,1,11824,11833,1,11836,11839,1,11841,11843,2,11844,11855,1,11858,11860,1,12289,12291,1,12349,12539,190,42238,42239,1,42509,42511,1,42611,42622,11,42738,42743,1,43124,43127,1,43214,43215,1,43256,43258,1,43260,43310,50,43311,43359,48,43457,43469,1,43486,43487,1,43612,43615,1,43742,43743,1,43760,43761,1,44011,65040,21029,65041,65046,1,65049,65072,23,65093,65094,1,65097,65100,1,65104,65106,1,65108,65111,1,65119,65121,1,65128,65130,2,65131,65281,150,65282,65283,1,65285,65287,1,65290,65294,2,65295,65306,11,65307,65311,4,65312,65340,28,65377,65380,3,65381,65792,411,65793,65794,1,66463,66512,49,66927,67671,744,67871,67903,32,68176,68184,1,68223,68336,113,68337,68342,1,68409,68415,1,68505,68508,1,69461,69465,1,69510,69513,1,69703,69709,1,69819,69820,1,69822,69825,1,69952,69955,1,70004,70005,1,70085,70088,1,70093,70107,14,70109,70111,1,70200,70205,1,70313,70612,299,70613,70615,2,70616,70731,115,70732,70735,1,70746,70747,1,70749,70854,105,71105,71127,1,71233,71235,1,71264,71276,1,71353,71484,131,71485,71486,1,71739,72004,265,72005,72006,1,72162,72255,93,72256,72262,1,72346,72348,1,72350,72354,1,72448,72457,1,72673,72769,96,72770,72773,1,72816,72817,1,73463,73464,1,73539,73551,1,73727,74864,1137,74865,74868,1,77809,77810,1,92782,92783,1,92917,92983,66,92984,92987,1,92996,93549,553,93550,93551,1,93847,93850,1,94178,113823,19645,121479,121483,1,124415,125278,863,125279,125279,1]));static Ps=new i(new Uint32Array([40,91,51,123,3898,3775,3900,5787,1887,8218,8222,4,8261,8317,56,8333,8968,635,8970,9001,31,10088,10100,2,10181,10214,33,10216,10222,2,10627,10647,2,10712,10714,2,10748,11810,1062,11812,11816,2,11842,11861,19,11863,11867,2,12296,12304,2,12308,12314,2,12317,64831,52514,65047,65077,30,65079,65091,2,65095,65113,18,65115,65117,2,65288,65339,51,65371,65375,4,65378,65378,1]));static S=new i(new Uint32Array([36,43,7,60,62,1,94,96,2,124,126,2,162,166,1,168,169,1,172,174,2,175,177,1,180,184,4,215,247,32,706,709,1,722,735,1,741,747,1,749,751,2,752,767,1,885,900,15,901,1014,113,1154,1421,267,1422,1423,1,1542,1544,1,1547,1550,3,1551,1758,207,1769,1789,20,1790,2038,248,2046,2047,1,2184,2546,362,2547,2554,7,2555,2801,246,2928,3059,131,3060,3066,1,3199,3407,208,3449,3647,198,3841,3843,1,3859,3861,2,3862,3863,1,3866,3871,1,3892,3896,2,4030,4037,1,4039,4044,1,4046,4047,1,4053,4056,1,4254,4255,1,5008,5017,1,5741,6107,366,6464,6622,158,6623,6655,1,7009,7018,1,7028,7036,1,8125,8127,2,8128,8129,1,8141,8143,1,8157,8159,1,8173,8175,1,8189,8190,1,8260,8274,14,8314,8316,1,8330,8332,1,8352,8384,1,8448,8449,1,8451,8454,1,8456,8457,1,8468,8470,2,8471,8472,1,8478,8483,1,8485,8489,2,8494,8506,12,8507,8512,5,8513,8516,1,8522,8525,1,8527,8586,59,8587,8592,5,8593,8967,1,8972,9000,1,9003,9257,1,9280,9290,1,9372,9449,1,9472,10087,1,10132,10180,1,10183,10213,1,10224,10626,1,10649,10711,1,10716,10747,1,10750,11123,1,11126,11157,1,11159,11263,1,11493,11498,1,11856,11857,1,11904,11929,1,11931,12019,1,12032,12245,1,12272,12287,1,12292,12306,14,12307,12320,13,12342,12343,1,12350,12351,1,12443,12444,1,12688,12689,1,12694,12703,1,12736,12773,1,12783,12800,17,12801,12830,1,12842,12871,1,12880,12896,16,12897,12927,1,12938,12976,1,12992,13311,1,19904,19967,1,42128,42182,1,42752,42774,1,42784,42785,1,42889,42890,1,43048,43051,1,43062,43065,1,43639,43641,1,43867,43882,15,43883,64297,20414,64434,64450,1,64832,64847,1,64975,65020,45,65021,65023,1,65122,65124,2,65125,65126,1,65129,65284,155,65291,65308,17,65309,65310,1,65342,65344,2,65372,65374,2,65504,65510,1,65512,65518,1,65532,65533,1,65847,65855,1,65913,65929,1,65932,65934,1,65936,65948,1,65952,66000,48,66001,66044,1,67703,67704,1,68296,69006,710,69007,71487,2480,73685,73713,1,92988,92991,1,92997,113820,20823,117760,117999,1,118016,118451,1,118608,118723,1,118784,119029,1,119040,119078,1,119081,119140,1,119146,119148,1,119171,119172,1,119180,119209,1,119214,119274,1,119296,119361,1,119365,119552,187,119553,119638,1,120513,120539,26,120571,120597,26,120629,120655,26,120687,120713,26,120745,120771,26,120832,121343,1,121399,121402,1,121453,121460,1,121462,121475,1,121477,121478,1,123215,123647,432,126124,126128,4,126254,126704,450,126705,126976,271,126977,127019,1,127024,127123,1,127136,127150,1,127153,127167,1,127169,127183,1,127185,127221,1,127245,127405,1,127462,127490,1,127504,127547,1,127552,127560,1,127568,127569,1,127584,127589,1,127744,128727,1,128732,128748,1,128752,128764,1,128768,128886,1,128891,128985,1,128992,129003,1,129008,129024,16,129025,129035,1,129040,129095,1,129104,129113,1,129120,129159,1,129168,129197,1,129200,129211,1,129216,129217,1,129280,129619,1,129632,129645,1,129648,129660,1,129664,129673,1,129679,129734,1,129742,129756,1,129759,129769,1,129776,129784,1,129792,129938,1,129940,130031,1]));static Sc=new i(new Uint32Array([36,162,126,163,165,1,1423,1547,124,2046,2047,1,2546,2547,1,2555,2801,246,3065,3647,582,6107,8352,2245,8353,8384,1,43064,65020,21956,65129,65284,155,65504,65505,1,65509,65510,1,73693,73696,1,123647,126128,2481]));static Sk=new i(new Uint32Array([94,96,2,168,175,7,180,184,4,706,709,1,722,735,1,741,747,1,749,751,2,752,767,1,885,900,15,901,2184,1283,8125,8127,2,8128,8129,1,8141,8143,1,8157,8159,1,8173,8175,1,8189,8190,1,12443,12444,1,42752,42774,1,42784,42785,1,42889,42890,1,43867,43882,15,43883,64434,20551,64435,64450,1,65342,65344,2,65507,127995,62488,127996,127999,1]));static Sm=new i(new Uint32Array([43,60,17,61,62,1,124,126,2,172,177,5,215,247,32,1014,1542,528,1543,1544,1,8260,8274,14,8314,8316,1,8330,8332,1,8472,8512,40,8513,8516,1,8523,8592,69,8593,8596,1,8602,8603,1,8608,8614,3,8622,8654,32,8655,8658,3,8660,8692,32,8693,8959,1,8992,8993,1,9084,9115,31,9116,9139,1,9180,9185,1,9655,9665,10,9720,9727,1,9839,10176,337,10177,10180,1,10183,10213,1,10224,10239,1,10496,10626,1,10649,10711,1,10716,10747,1,10750,11007,1,11056,11076,1,11079,11084,1,64297,65122,825,65124,65126,1,65291,65308,17,65309,65310,1,65372,65374,2,65506,65513,7,65514,65516,1,69006,69007,1,120513,120539,26,120571,120597,26,120629,120655,26,120687,120713,26,120745,120771,26,126704,126705,1]));static So=new i(new Uint32Array([166,169,3,174,176,2,1154,1421,267,1422,1550,128,1551,1758,207,1769,1789,20,1790,2038,248,2554,2928,374,3059,3064,1,3066,3199,133,3407,3449,42,3841,3843,1,3859,3861,2,3862,3863,1,3866,3871,1,3892,3896,2,4030,4037,1,4039,4044,1,4046,4047,1,4053,4056,1,4254,4255,1,5008,5017,1,5741,6464,723,6622,6655,1,7009,7018,1,7028,7036,1,8448,8449,1,8451,8454,1,8456,8457,1,8468,8470,2,8471,8478,7,8479,8483,1,8485,8489,2,8494,8506,12,8507,8522,15,8524,8525,1,8527,8586,59,8587,8597,10,8598,8601,1,8604,8607,1,8609,8610,1,8612,8613,1,8615,8621,1,8623,8653,1,8656,8657,1,8659,8661,2,8662,8691,1,8960,8967,1,8972,8991,1,8994,9000,1,9003,9083,1,9085,9114,1,9140,9179,1,9186,9257,1,9280,9290,1,9372,9449,1,9472,9654,1,9656,9664,1,9666,9719,1,9728,9838,1,9840,10087,1,10132,10175,1,10240,10495,1,11008,11055,1,11077,11078,1,11085,11123,1,11126,11157,1,11159,11263,1,11493,11498,1,11856,11857,1,11904,11929,1,11931,12019,1,12032,12245,1,12272,12287,1,12292,12306,14,12307,12320,13,12342,12343,1,12350,12351,1,12688,12689,1,12694,12703,1,12736,12773,1,12783,12800,17,12801,12830,1,12842,12871,1,12880,12896,16,12897,12927,1,12938,12976,1,12992,13311,1,19904,19967,1,42128,42182,1,43048,43051,1,43062,43063,1,43065,43639,574,43640,43641,1,64832,64847,1,64975,65021,46,65022,65023,1,65508,65512,4,65517,65518,1,65532,65533,1,65847,65855,1,65913,65929,1,65932,65934,1,65936,65948,1,65952,66000,48,66001,66044,1,67703,67704,1,68296,71487,3191,73685,73692,1,73697,73713,1,92988,92991,1,92997,113820,20823,117760,117999,1,118016,118451,1,118608,118723,1,118784,119029,1,119040,119078,1,119081,119140,1,119146,119148,1,119171,119172,1,119180,119209,1,119214,119274,1,119296,119361,1,119365,119552,187,119553,119638,1,120832,121343,1,121399,121402,1,121453,121460,1,121462,121475,1,121477,121478,1,123215,126124,2909,126254,126976,722,126977,127019,1,127024,127123,1,127136,127150,1,127153,127167,1,127169,127183,1,127185,127221,1,127245,127405,1,127462,127490,1,127504,127547,1,127552,127560,1,127568,127569,1,127584,127589,1,127744,127994,1,128000,128727,1,128732,128748,1,128752,128764,1,128768,128886,1,128891,128985,1,128992,129003,1,129008,129024,16,129025,129035,1,129040,129095,1,129104,129113,1,129120,129159,1,129168,129197,1,129200,129211,1,129216,129217,1,129280,129619,1,129632,129645,1,129648,129660,1,129664,129673,1,129679,129734,1,129742,129756,1,129759,129769,1,129776,129784,1,129792,129938,1,129940,130031,1]));static Z=new i(new Uint32Array([32,160,128,5760,8192,2432,8193,8202,1,8232,8233,1,8239,8287,48,12288,12288,1]));static Zl=new i(new Uint32Array([8232,8232,1]));static Zp=new i(new Uint32Array([8233,8233,1]));static Zs=new i(new Uint32Array([32,160,128,5760,8192,2432,8193,8202,1,8239,8287,48,12288,12288,1]));static Adlam=new i(new Uint32Array([125184,125259,1,125264,125273,1,125278,125279,1]));static Ahom=new i(new Uint32Array([71424,71450,1,71453,71467,1,71472,71494,1]));static Anatolian_Hieroglyphs=new i(new Uint32Array([82944,83526,1]));static Arabic=new i(new Uint32Array([1536,1540,1,1542,1547,1,1549,1562,1,1564,1566,1,1568,1599,1,1601,1610,1,1622,1647,1,1649,1756,1,1758,1791,1,1872,1919,1,2160,2190,1,2192,2193,1,2199,2273,1,2275,2303,1,64336,64450,1,64467,64829,1,64832,64911,1,64914,64967,1,64975,65008,33,65009,65023,1,65136,65140,1,65142,65276,1,69216,69246,1,69314,69316,1,69372,69375,1,126464,126467,1,126469,126495,1,126497,126498,1,126500,126503,3,126505,126514,1,126516,126519,1,126521,126523,2,126530,126535,5,126537,126541,2,126542,126543,1,126545,126546,1,126548,126551,3,126553,126561,2,126562,126564,2,126567,126570,1,126572,126578,1,126580,126583,1,126585,126588,1,126590,126592,2,126593,126601,1,126603,126619,1,126625,126627,1,126629,126633,1,126635,126651,1,126704,126705,1]));static Armenian=new i(new Uint32Array([1329,1366,1,1369,1418,1,1421,1423,1,64275,64279,1]));static Avestan=new i(new Uint32Array([68352,68405,1,68409,68415,1]));static Balinese=new i(new Uint32Array([6912,6988,1,6990,7039,1]));static Bamum=new i(new Uint32Array([42656,42743,1,92160,92728,1]));static Bassa_Vah=new i(new Uint32Array([92880,92909,1,92912,92917,1]));static Batak=new i(new Uint32Array([7104,7155,1,7164,7167,1]));static Bengali=new i(new Uint32Array([2432,2435,1,2437,2444,1,2447,2448,1,2451,2472,1,2474,2480,1,2482,2486,4,2487,2489,1,2492,2500,1,2503,2504,1,2507,2510,1,2519,2524,5,2525,2527,2,2528,2531,1,2534,2558,1]));static Bhaiksuki=new i(new Uint32Array([72704,72712,1,72714,72758,1,72760,72773,1,72784,72812,1]));static Bopomofo=new i(new Uint32Array([746,747,1,12549,12591,1,12704,12735,1]));static Brahmi=new i(new Uint32Array([69632,69709,1,69714,69749,1,69759,69759,1]));static Braille=new i(new Uint32Array([10240,10495,1]));static Buginese=new i(new Uint32Array([6656,6683,1,6686,6687,1]));static Buhid=new i(new Uint32Array([5952,5971,1]));static Canadian_Aboriginal=new i(new Uint32Array([5120,5759,1,6320,6389,1,72368,72383,1]));static Carian=new i(new Uint32Array([66208,66256,1]));static Caucasian_Albanian=new i(new Uint32Array([66864,66915,1,66927,66927,1]));static Chakma=new i(new Uint32Array([69888,69940,1,69942,69959,1]));static Cham=new i(new Uint32Array([43520,43574,1,43584,43597,1,43600,43609,1,43612,43615,1]));static Cherokee=new i(new Uint32Array([5024,5109,1,5112,5117,1,43888,43967,1]));static Chorasmian=new i(new Uint32Array([69552,69579,1]));static Common=new i(new Uint32Array([0,64,1,91,96,1,123,169,1,171,185,1,187,191,1,215,247,32,697,735,1,741,745,1,748,767,1,884,894,10,901,903,2,1541,1548,7,1563,1567,4,1600,1757,157,2274,2404,130,2405,3647,1242,4053,4056,1,4347,5867,1520,5868,5869,1,5941,5942,1,6146,6147,1,6149,7379,1230,7393,7401,8,7402,7404,1,7406,7411,1,7413,7415,1,7418,8192,774,8193,8203,1,8206,8292,1,8294,8304,1,8308,8318,1,8320,8334,1,8352,8384,1,8448,8485,1,8487,8489,1,8492,8497,1,8499,8525,1,8527,8543,1,8585,8587,1,8592,9257,1,9280,9290,1,9312,10239,1,10496,11123,1,11126,11157,1,11159,11263,1,11776,11869,1,12272,12292,1,12294,12296,2,12297,12320,1,12336,12343,1,12348,12351,1,12443,12444,1,12448,12539,91,12540,12688,148,12689,12703,1,12736,12773,1,12783,12832,49,12833,12895,1,12927,13007,1,13055,13144,89,13145,13311,1,19904,19967,1,42752,42785,1,42888,42890,1,43056,43065,1,43310,43471,161,43867,43882,15,43883,64830,20947,64831,65040,209,65041,65049,1,65072,65106,1,65108,65126,1,65128,65131,1,65279,65281,2,65282,65312,1,65339,65344,1,65371,65381,1,65392,65438,46,65439,65504,65,65505,65510,1,65512,65518,1,65529,65533,1,65792,65794,1,65799,65843,1,65847,65855,1,65936,65948,1,66000,66044,1,66273,66299,1,113824,113827,1,117760,118009,1,118016,118451,1,118608,118723,1,118784,119029,1,119040,119078,1,119081,119142,1,119146,119162,1,119171,119172,1,119180,119209,1,119214,119274,1,119488,119507,1,119520,119539,1,119552,119638,1,119648,119672,1,119808,119892,1,119894,119964,1,119966,119967,1,119970,119973,3,119974,119977,3,119978,119980,1,119982,119993,1,119995,119997,2,119998,120003,1,120005,120069,1,120071,120074,1,120077,120084,1,120086,120092,1,120094,120121,1,120123,120126,1,120128,120132,1,120134,120138,4,120139,120144,1,120146,120485,1,120488,120779,1,120782,120831,1,126065,126132,1,126209,126269,1,126976,127019,1,127024,127123,1,127136,127150,1,127153,127167,1,127169,127183,1,127185,127221,1,127232,127405,1,127462,127487,1,127489,127490,1,127504,127547,1,127552,127560,1,127568,127569,1,127584,127589,1,127744,128727,1,128732,128748,1,128752,128764,1,128768,128886,1,128891,128985,1,128992,129003,1,129008,129024,16,129025,129035,1,129040,129095,1,129104,129113,1,129120,129159,1,129168,129197,1,129200,129211,1,129216,129217,1,129280,129619,1,129632,129645,1,129648,129660,1,129664,129673,1,129679,129734,1,129742,129756,1,129759,129769,1,129776,129784,1,129792,129938,1,129940,130041,1,917505,917536,31,917537,917631,1]));static foldCommon=new i(new Uint32Array([924,956,32]));static Coptic=new i(new Uint32Array([994,1007,1,11392,11507,1,11513,11519,1]));static Cuneiform=new i(new Uint32Array([73728,74649,1,74752,74862,1,74864,74868,1,74880,75075,1]));static Cypriot=new i(new Uint32Array([67584,67589,1,67592,67594,2,67595,67637,1,67639,67640,1,67644,67647,3]));static Cypro_Minoan=new i(new Uint32Array([77712,77810,1]));static Cyrillic=new i(new Uint32Array([1024,1156,1,1159,1327,1,7296,7306,1,7467,7544,77,11744,11775,1,42560,42655,1,65070,65071,1,122928,122989,1,123023,123023,1]));static Deseret=new i(new Uint32Array([66560,66639,1]));static Devanagari=new i(new Uint32Array([2304,2384,1,2389,2403,1,2406,2431,1,43232,43263,1,72448,72457,1]));static Dives_Akuru=new i(new Uint32Array([71936,71942,1,71945,71948,3,71949,71955,1,71957,71958,1,71960,71989,1,71991,71992,1,71995,72006,1,72016,72025,1]));static Dogra=new i(new Uint32Array([71680,71739,1]));static Duployan=new i(new Uint32Array([113664,113770,1,113776,113788,1,113792,113800,1,113808,113817,1,113820,113823,1]));static Egyptian_Hieroglyphs=new i(new Uint32Array([77824,78933,1,78944,82938,1]));static Elbasan=new i(new Uint32Array([66816,66855,1]));static Elymaic=new i(new Uint32Array([69600,69622,1]));static Ethiopic=new i(new Uint32Array([4608,4680,1,4682,4685,1,4688,4694,1,4696,4698,2,4699,4701,1,4704,4744,1,4746,4749,1,4752,4784,1,4786,4789,1,4792,4798,1,4800,4802,2,4803,4805,1,4808,4822,1,4824,4880,1,4882,4885,1,4888,4954,1,4957,4988,1,4992,5017,1,11648,11670,1,11680,11686,1,11688,11694,1,11696,11702,1,11704,11710,1,11712,11718,1,11720,11726,1,11728,11734,1,11736,11742,1,43777,43782,1,43785,43790,1,43793,43798,1,43808,43814,1,43816,43822,1,124896,124902,1,124904,124907,1,124909,124910,1,124912,124926,1]));static Garay=new i(new Uint32Array([68928,68965,1,68969,68997,1,69006,69007,1]));static Georgian=new i(new Uint32Array([4256,4293,1,4295,4301,6,4304,4346,1,4348,4351,1,7312,7354,1,7357,7359,1,11520,11557,1,11559,11565,6]));static Glagolitic=new i(new Uint32Array([11264,11359,1,122880,122886,1,122888,122904,1,122907,122913,1,122915,122916,1,122918,122922,1]));static Gothic=new i(new Uint32Array([66352,66378,1]));static Grantha=new i(new Uint32Array([70400,70403,1,70405,70412,1,70415,70416,1,70419,70440,1,70442,70448,1,70450,70451,1,70453,70457,1,70460,70468,1,70471,70472,1,70475,70477,1,70480,70487,7,70493,70499,1,70502,70508,1,70512,70516,1]));static Greek=new i(new Uint32Array([880,883,1,885,887,1,890,893,1,895,900,5,902,904,2,905,906,1,908,910,2,911,929,1,931,993,1,1008,1023,1,7462,7466,1,7517,7521,1,7526,7530,1,7615,7936,321,7937,7957,1,7960,7965,1,7968,8005,1,8008,8013,1,8016,8023,1,8025,8031,2,8032,8061,1,8064,8116,1,8118,8132,1,8134,8147,1,8150,8155,1,8157,8175,1,8178,8180,1,8182,8190,1,8486,43877,35391,65856,65934,1,65952,119296,53344,119297,119365,1]));static foldGreek=new i(new Uint32Array([181,837,656]));static Gujarati=new i(new Uint32Array([2689,2691,1,2693,2701,1,2703,2705,1,2707,2728,1,2730,2736,1,2738,2739,1,2741,2745,1,2748,2757,1,2759,2761,1,2763,2765,1,2768,2784,16,2785,2787,1,2790,2801,1,2809,2815,1]));static Gunjala_Gondi=new i(new Uint32Array([73056,73061,1,73063,73064,1,73066,73102,1,73104,73105,1,73107,73112,1,73120,73129,1]));static Gurmukhi=new i(new Uint32Array([2561,2563,1,2565,2570,1,2575,2576,1,2579,2600,1,2602,2608,1,2610,2611,1,2613,2614,1,2616,2617,1,2620,2622,2,2623,2626,1,2631,2632,1,2635,2637,1,2641,2649,8,2650,2652,1,2654,2662,8,2663,2678,1]));static Gurung_Khema=new i(new Uint32Array([90368,90425,1]));static Han=new i(new Uint32Array([11904,11929,1,11931,12019,1,12032,12245,1,12293,12295,2,12321,12329,1,12344,12347,1,13312,19903,1,19968,40959,1,63744,64109,1,64112,64217,1,94178,94179,1,94192,94193,1,131072,173791,1,173824,177977,1,177984,178205,1,178208,183969,1,183984,191456,1,191472,192093,1,194560,195101,1,196608,201546,1,201552,205743,1]));static Hangul=new i(new Uint32Array([4352,4607,1,12334,12335,1,12593,12686,1,12800,12830,1,12896,12926,1,43360,43388,1,44032,55203,1,55216,55238,1,55243,55291,1,65440,65470,1,65474,65479,1,65482,65487,1,65490,65495,1,65498,65500,1]));static Hanifi_Rohingya=new i(new Uint32Array([68864,68903,1,68912,68921,1]));static Hanunoo=new i(new Uint32Array([5920,5940,1]));static Hatran=new i(new Uint32Array([67808,67826,1,67828,67829,1,67835,67839,1]));static Hebrew=new i(new Uint32Array([1425,1479,1,1488,1514,1,1519,1524,1,64285,64310,1,64312,64316,1,64318,64320,2,64321,64323,2,64324,64326,2,64327,64335,1]));static Hiragana=new i(new Uint32Array([12353,12438,1,12445,12447,1,110593,110879,1,110898,110928,30,110929,110930,1,127488,127488,1]));static Imperial_Aramaic=new i(new Uint32Array([67648,67669,1,67671,67679,1]));static Inherited=new i(new Uint32Array([768,879,1,1157,1158,1,1611,1621,1,1648,2385,737,2386,2388,1,6832,6862,1,7376,7378,1,7380,7392,1,7394,7400,1,7405,7412,7,7416,7417,1,7616,7679,1,8204,8205,1,8400,8432,1,12330,12333,1,12441,12442,1,65024,65039,1,65056,65069,1,66045,66272,227,70459,118528,48069,118529,118573,1,118576,118598,1,119143,119145,1,119163,119170,1,119173,119179,1,119210,119213,1,917760,917999,1]));static foldInherited=new i(new Uint32Array([921,953,32,8126,8126,1]));static Inscriptional_Pahlavi=new i(new Uint32Array([68448,68466,1,68472,68479,1]));static Inscriptional_Parthian=new i(new Uint32Array([68416,68437,1,68440,68447,1]));static Javanese=new i(new Uint32Array([43392,43469,1,43472,43481,1,43486,43487,1]));static Kaithi=new i(new Uint32Array([69760,69826,1,69837,69837,1]));static Kannada=new i(new Uint32Array([3200,3212,1,3214,3216,1,3218,3240,1,3242,3251,1,3253,3257,1,3260,3268,1,3270,3272,1,3274,3277,1,3285,3286,1,3293,3294,1,3296,3299,1,3302,3311,1,3313,3315,1]));static Katakana=new i(new Uint32Array([12449,12538,1,12541,12543,1,12784,12799,1,13008,13054,1,13056,13143,1,65382,65391,1,65393,65437,1,110576,110579,1,110581,110587,1,110589,110590,1,110592,110880,288,110881,110882,1,110933,110948,15,110949,110951,1]));static Kawi=new i(new Uint32Array([73472,73488,1,73490,73530,1,73534,73562,1]));static Kayah_Li=new i(new Uint32Array([43264,43309,1,43311,43311,1]));static Kharoshthi=new i(new Uint32Array([68096,68099,1,68101,68102,1,68108,68115,1,68117,68119,1,68121,68149,1,68152,68154,1,68159,68168,1,68176,68184,1]));static Khitan_Small_Script=new i(new Uint32Array([94180,101120,6940,101121,101589,1,101631,101631,1]));static Khmer=new i(new Uint32Array([6016,6109,1,6112,6121,1,6128,6137,1,6624,6655,1]));static Khojki=new i(new Uint32Array([70144,70161,1,70163,70209,1]));static Khudawadi=new i(new Uint32Array([70320,70378,1,70384,70393,1]));static Kirat_Rai=new i(new Uint32Array([93504,93561,1]));static Lao=new i(new Uint32Array([3713,3714,1,3716,3718,2,3719,3722,1,3724,3747,1,3749,3751,2,3752,3773,1,3776,3780,1,3782,3784,2,3785,3790,1,3792,3801,1,3804,3807,1]));static Latin=new i(new Uint32Array([65,90,1,97,122,1,170,186,16,192,214,1,216,246,1,248,696,1,736,740,1,7424,7461,1,7468,7516,1,7522,7525,1,7531,7543,1,7545,7614,1,7680,7935,1,8305,8319,14,8336,8348,1,8490,8491,1,8498,8526,28,8544,8584,1,11360,11391,1,42786,42887,1,42891,42957,1,42960,42961,1,42963,42965,2,42966,42972,1,42994,43007,1,43824,43866,1,43868,43876,1,43878,43881,1,64256,64262,1,65313,65338,1,65345,65370,1,67456,67461,1,67463,67504,1,67506,67514,1,122624,122654,1,122661,122666,1]));static Lepcha=new i(new Uint32Array([7168,7223,1,7227,7241,1,7245,7247,1]));static Limbu=new i(new Uint32Array([6400,6430,1,6432,6443,1,6448,6459,1,6464,6468,4,6469,6479,1]));static Linear_A=new i(new Uint32Array([67072,67382,1,67392,67413,1,67424,67431,1]));static Linear_B=new i(new Uint32Array([65536,65547,1,65549,65574,1,65576,65594,1,65596,65597,1,65599,65613,1,65616,65629,1,65664,65786,1]));static Lisu=new i(new Uint32Array([42192,42239,1,73648,73648,1]));static Lycian=new i(new Uint32Array([66176,66204,1]));static Lydian=new i(new Uint32Array([67872,67897,1,67903,67903,1]));static Mahajani=new i(new Uint32Array([69968,70006,1]));static Makasar=new i(new Uint32Array([73440,73464,1]));static Malayalam=new i(new Uint32Array([3328,3340,1,3342,3344,1,3346,3396,1,3398,3400,1,3402,3407,1,3412,3427,1,3430,3455,1]));static Mandaic=new i(new Uint32Array([2112,2139,1,2142,2142,1]));static Manichaean=new i(new Uint32Array([68288,68326,1,68331,68342,1]));static Marchen=new i(new Uint32Array([72816,72847,1,72850,72871,1,72873,72886,1]));static Masaram_Gondi=new i(new Uint32Array([72960,72966,1,72968,72969,1,72971,73014,1,73018,73020,2,73021,73023,2,73024,73031,1,73040,73049,1]));static Medefaidrin=new i(new Uint32Array([93760,93850,1]));static Meetei_Mayek=new i(new Uint32Array([43744,43766,1,43968,44013,1,44016,44025,1]));static Mende_Kikakui=new i(new Uint32Array([124928,125124,1,125127,125142,1]));static Meroitic_Cursive=new i(new Uint32Array([68000,68023,1,68028,68047,1,68050,68095,1]));static Meroitic_Hieroglyphs=new i(new Uint32Array([67968,67999,1]));static Miao=new i(new Uint32Array([93952,94026,1,94031,94087,1,94095,94111,1]));static Modi=new i(new Uint32Array([71168,71236,1,71248,71257,1]));static Mongolian=new i(new Uint32Array([6144,6145,1,6148,6150,2,6151,6169,1,6176,6264,1,6272,6314,1,71264,71276,1]));static Mro=new i(new Uint32Array([92736,92766,1,92768,92777,1,92782,92783,1]));static Multani=new i(new Uint32Array([70272,70278,1,70280,70282,2,70283,70285,1,70287,70301,1,70303,70313,1]));static Myanmar=new i(new Uint32Array([4096,4255,1,43488,43518,1,43616,43647,1,71376,71395,1]));static Nabataean=new i(new Uint32Array([67712,67742,1,67751,67759,1]));static Nag_Mundari=new i(new Uint32Array([124112,124153,1]));static Nandinagari=new i(new Uint32Array([72096,72103,1,72106,72151,1,72154,72164,1]));static New_Tai_Lue=new i(new Uint32Array([6528,6571,1,6576,6601,1,6608,6618,1,6622,6623,1]));static Newa=new i(new Uint32Array([70656,70747,1,70749,70753,1]));static Nko=new i(new Uint32Array([1984,2042,1,2045,2047,1]));static Nushu=new i(new Uint32Array([94177,110960,16783,110961,111355,1]));static Nyiakeng_Puachue_Hmong=new i(new Uint32Array([123136,123180,1,123184,123197,1,123200,123209,1,123214,123215,1]));static Ogham=new i(new Uint32Array([5760,5788,1]));static Ol_Chiki=new i(new Uint32Array([7248,7295,1]));static Ol_Onal=new i(new Uint32Array([124368,124410,1,124415,124415,1]));static Old_Hungarian=new i(new Uint32Array([68736,68786,1,68800,68850,1,68858,68863,1]));static Old_Italic=new i(new Uint32Array([66304,66339,1,66349,66351,1]));static Old_North_Arabian=new i(new Uint32Array([68224,68255,1]));static Old_Permic=new i(new Uint32Array([66384,66426,1]));static Old_Persian=new i(new Uint32Array([66464,66499,1,66504,66517,1]));static Old_Sogdian=new i(new Uint32Array([69376,69415,1]));static Old_South_Arabian=new i(new Uint32Array([68192,68223,1]));static Old_Turkic=new i(new Uint32Array([68608,68680,1]));static Old_Uyghur=new i(new Uint32Array([69488,69513,1]));static Oriya=new i(new Uint32Array([2817,2819,1,2821,2828,1,2831,2832,1,2835,2856,1,2858,2864,1,2866,2867,1,2869,2873,1,2876,2884,1,2887,2888,1,2891,2893,1,2901,2903,1,2908,2909,1,2911,2915,1,2918,2935,1]));static Osage=new i(new Uint32Array([66736,66771,1,66776,66811,1]));static Osmanya=new i(new Uint32Array([66688,66717,1,66720,66729,1]));static Pahawh_Hmong=new i(new Uint32Array([92928,92997,1,93008,93017,1,93019,93025,1,93027,93047,1,93053,93071,1]));static Palmyrene=new i(new Uint32Array([67680,67711,1]));static Pau_Cin_Hau=new i(new Uint32Array([72384,72440,1]));static Phags_Pa=new i(new Uint32Array([43072,43127,1]));static Phoenician=new i(new Uint32Array([67840,67867,1,67871,67871,1]));static Psalter_Pahlavi=new i(new Uint32Array([68480,68497,1,68505,68508,1,68521,68527,1]));static Rejang=new i(new Uint32Array([43312,43347,1,43359,43359,1]));static Runic=new i(new Uint32Array([5792,5866,1,5870,5880,1]));static Samaritan=new i(new Uint32Array([2048,2093,1,2096,2110,1]));static Saurashtra=new i(new Uint32Array([43136,43205,1,43214,43225,1]));static Sharada=new i(new Uint32Array([70016,70111,1]));static Shavian=new i(new Uint32Array([66640,66687,1]));static Siddham=new i(new Uint32Array([71040,71093,1,71096,71133,1]));static SignWriting=new i(new Uint32Array([120832,121483,1,121499,121503,1,121505,121519,1]));static Sinhala=new i(new Uint32Array([3457,3459,1,3461,3478,1,3482,3505,1,3507,3515,1,3517,3520,3,3521,3526,1,3530,3535,5,3536,3540,1,3542,3544,2,3545,3551,1,3558,3567,1,3570,3572,1,70113,70132,1]));static Sogdian=new i(new Uint32Array([69424,69465,1]));static Sora_Sompeng=new i(new Uint32Array([69840,69864,1,69872,69881,1]));static Soyombo=new i(new Uint32Array([72272,72354,1]));static Sundanese=new i(new Uint32Array([7040,7103,1,7360,7367,1]));static Sunuwar=new i(new Uint32Array([72640,72673,1,72688,72697,1]));static Syloti_Nagri=new i(new Uint32Array([43008,43052,1]));static Syriac=new i(new Uint32Array([1792,1805,1,1807,1866,1,1869,1871,1,2144,2154,1]));static Tagalog=new i(new Uint32Array([5888,5909,1,5919,5919,1]));static Tagbanwa=new i(new Uint32Array([5984,5996,1,5998,6000,1,6002,6003,1]));static Tai_Le=new i(new Uint32Array([6480,6509,1,6512,6516,1]));static Tai_Tham=new i(new Uint32Array([6688,6750,1,6752,6780,1,6783,6793,1,6800,6809,1,6816,6829,1]));static Tai_Viet=new i(new Uint32Array([43648,43714,1,43739,43743,1]));static Takri=new i(new Uint32Array([71296,71353,1,71360,71369,1]));static Tamil=new i(new Uint32Array([2946,2947,1,2949,2954,1,2958,2960,1,2962,2965,1,2969,2970,1,2972,2974,2,2975,2979,4,2980,2984,4,2985,2986,1,2990,3001,1,3006,3010,1,3014,3016,1,3018,3021,1,3024,3031,7,3046,3066,1,73664,73713,1,73727,73727,1]));static Tangsa=new i(new Uint32Array([92784,92862,1,92864,92873,1]));static Tangut=new i(new Uint32Array([94176,94208,32,94209,100343,1,100352,101119,1,101632,101640,1]));static Telugu=new i(new Uint32Array([3072,3084,1,3086,3088,1,3090,3112,1,3114,3129,1,3132,3140,1,3142,3144,1,3146,3149,1,3157,3158,1,3160,3162,1,3165,3168,3,3169,3171,1,3174,3183,1,3191,3199,1]));static Thaana=new i(new Uint32Array([1920,1969,1]));static Thai=new i(new Uint32Array([3585,3642,1,3648,3675,1]));static Tibetan=new i(new Uint32Array([3840,3911,1,3913,3948,1,3953,3991,1,3993,4028,1,4030,4044,1,4046,4052,1,4057,4058,1]));static Tifinagh=new i(new Uint32Array([11568,11623,1,11631,11632,1,11647,11647,1]));static Tirhuta=new i(new Uint32Array([70784,70855,1,70864,70873,1]));static Todhri=new i(new Uint32Array([67008,67059,1]));static Toto=new i(new Uint32Array([123536,123566,1]));static Tulu_Tigalari=new i(new Uint32Array([70528,70537,1,70539,70542,3,70544,70581,1,70583,70592,1,70594,70597,3,70599,70602,1,70604,70613,1,70615,70616,1,70625,70626,1]));static Ugaritic=new i(new Uint32Array([66432,66461,1,66463,66463,1]));static Vai=new i(new Uint32Array([42240,42539,1]));static Vithkuqi=new i(new Uint32Array([66928,66938,1,66940,66954,1,66956,66962,1,66964,66965,1,66967,66977,1,66979,66993,1,66995,67001,1,67003,67004,1]));static Wancho=new i(new Uint32Array([123584,123641,1,123647,123647,1]));static Warang_Citi=new i(new Uint32Array([71840,71922,1,71935,71935,1]));static Yezidi=new i(new Uint32Array([69248,69289,1,69291,69293,1,69296,69297,1]));static Yi=new i(new Uint32Array([40960,42124,1,42128,42182,1]));static Zanabazar_Square=new i(new Uint32Array([72192,72263,1]));static CATEGORIES=new Map([["C",w.C],["Cc",w.Cc],["Cf",w.Cf],["Co",w.Co],["Cs",w.Cs],["L",w.L],["Ll",w.Ll],["Lm",w.Lm],["Lo",w.Lo],["Lt",w.Lt],["Lu",w.Lu],["M",w.M],["Mc",w.Mc],["Me",w.Me],["Mn",w.Mn],["N",w.N],["Nd",w.Nd],["Nl",w.Nl],["No",w.No],["P",w.P],["Pc",w.Pc],["Pd",w.Pd],["Pe",w.Pe],["Pf",w.Pf],["Pi",w.Pi],["Po",w.Po],["Ps",w.Ps],["S",w.S],["Sc",w.Sc],["Sk",w.Sk],["Sm",w.Sm],["So",w.So],["Z",w.Z],["Zl",w.Zl],["Zp",w.Zp],["Zs",w.Zs]]);static SCRIPTS=new Map([["Adlam",w.Adlam],["Ahom",w.Ahom],["Anatolian_Hieroglyphs",w.Anatolian_Hieroglyphs],["Arabic",w.Arabic],["Armenian",w.Armenian],["Avestan",w.Avestan],["Balinese",w.Balinese],["Bamum",w.Bamum],["Bassa_Vah",w.Bassa_Vah],["Batak",w.Batak],["Bengali",w.Bengali],["Bhaiksuki",w.Bhaiksuki],["Bopomofo",w.Bopomofo],["Brahmi",w.Brahmi],["Braille",w.Braille],["Buginese",w.Buginese],["Buhid",w.Buhid],["Canadian_Aboriginal",w.Canadian_Aboriginal],["Carian",w.Carian],["Caucasian_Albanian",w.Caucasian_Albanian],["Chakma",w.Chakma],["Cham",w.Cham],["Cherokee",w.Cherokee],["Chorasmian",w.Chorasmian],["Common",w.Common],["Coptic",w.Coptic],["Cuneiform",w.Cuneiform],["Cypriot",w.Cypriot],["Cypro_Minoan",w.Cypro_Minoan],["Cyrillic",w.Cyrillic],["Deseret",w.Deseret],["Devanagari",w.Devanagari],["Dives_Akuru",w.Dives_Akuru],["Dogra",w.Dogra],["Duployan",w.Duployan],["Egyptian_Hieroglyphs",w.Egyptian_Hieroglyphs],["Elbasan",w.Elbasan],["Elymaic",w.Elymaic],["Ethiopic",w.Ethiopic],["Garay",w.Garay],["Georgian",w.Georgian],["Glagolitic",w.Glagolitic],["Gothic",w.Gothic],["Grantha",w.Grantha],["Greek",w.Greek],["Gujarati",w.Gujarati],["Gunjala_Gondi",w.Gunjala_Gondi],["Gurmukhi",w.Gurmukhi],["Gurung_Khema",w.Gurung_Khema],["Han",w.Han],["Hangul",w.Hangul],["Hanifi_Rohingya",w.Hanifi_Rohingya],["Hanunoo",w.Hanunoo],["Hatran",w.Hatran],["Hebrew",w.Hebrew],["Hiragana",w.Hiragana],["Imperial_Aramaic",w.Imperial_Aramaic],["Inherited",w.Inherited],["Inscriptional_Pahlavi",w.Inscriptional_Pahlavi],["Inscriptional_Parthian",w.Inscriptional_Parthian],["Javanese",w.Javanese],["Kaithi",w.Kaithi],["Kannada",w.Kannada],["Katakana",w.Katakana],["Kawi",w.Kawi],["Kayah_Li",w.Kayah_Li],["Kharoshthi",w.Kharoshthi],["Khitan_Small_Script",w.Khitan_Small_Script],["Khmer",w.Khmer],["Khojki",w.Khojki],["Khudawadi",w.Khudawadi],["Kirat_Rai",w.Kirat_Rai],["Lao",w.Lao],["Latin",w.Latin],["Lepcha",w.Lepcha],["Limbu",w.Limbu],["Linear_A",w.Linear_A],["Linear_B",w.Linear_B],["Lisu",w.Lisu],["Lycian",w.Lycian],["Lydian",w.Lydian],["Mahajani",w.Mahajani],["Makasar",w.Makasar],["Malayalam",w.Malayalam],["Mandaic",w.Mandaic],["Manichaean",w.Manichaean],["Marchen",w.Marchen],["Masaram_Gondi",w.Masaram_Gondi],["Medefaidrin",w.Medefaidrin],["Meetei_Mayek",w.Meetei_Mayek],["Mende_Kikakui",w.Mende_Kikakui],["Meroitic_Cursive",w.Meroitic_Cursive],["Meroitic_Hieroglyphs",w.Meroitic_Hieroglyphs],["Miao",w.Miao],["Modi",w.Modi],["Mongolian",w.Mongolian],["Mro",w.Mro],["Multani",w.Multani],["Myanmar",w.Myanmar],["Nabataean",w.Nabataean],["Nag_Mundari",w.Nag_Mundari],["Nandinagari",w.Nandinagari],["New_Tai_Lue",w.New_Tai_Lue],["Newa",w.Newa],["Nko",w.Nko],["Nushu",w.Nushu],["Nyiakeng_Puachue_Hmong",w.Nyiakeng_Puachue_Hmong],["Ogham",w.Ogham],["Ol_Chiki",w.Ol_Chiki],["Ol_Onal",w.Ol_Onal],["Old_Hungarian",w.Old_Hungarian],["Old_Italic",w.Old_Italic],["Old_North_Arabian",w.Old_North_Arabian],["Old_Permic",w.Old_Permic],["Old_Persian",w.Old_Persian],["Old_Sogdian",w.Old_Sogdian],["Old_South_Arabian",w.Old_South_Arabian],["Old_Turkic",w.Old_Turkic],["Old_Uyghur",w.Old_Uyghur],["Oriya",w.Oriya],["Osage",w.Osage],["Osmanya",w.Osmanya],["Pahawh_Hmong",w.Pahawh_Hmong],["Palmyrene",w.Palmyrene],["Pau_Cin_Hau",w.Pau_Cin_Hau],["Phags_Pa",w.Phags_Pa],["Phoenician",w.Phoenician],["Psalter_Pahlavi",w.Psalter_Pahlavi],["Rejang",w.Rejang],["Runic",w.Runic],["Samaritan",w.Samaritan],["Saurashtra",w.Saurashtra],["Sharada",w.Sharada],["Shavian",w.Shavian],["Siddham",w.Siddham],["SignWriting",w.SignWriting],["Sinhala",w.Sinhala],["Sogdian",w.Sogdian],["Sora_Sompeng",w.Sora_Sompeng],["Soyombo",w.Soyombo],["Sundanese",w.Sundanese],["Sunuwar",w.Sunuwar],["Syloti_Nagri",w.Syloti_Nagri],["Syriac",w.Syriac],["Tagalog",w.Tagalog],["Tagbanwa",w.Tagbanwa],["Tai_Le",w.Tai_Le],["Tai_Tham",w.Tai_Tham],["Tai_Viet",w.Tai_Viet],["Takri",w.Takri],["Tamil",w.Tamil],["Tangsa",w.Tangsa],["Tangut",w.Tangut],["Telugu",w.Telugu],["Thaana",w.Thaana],["Thai",w.Thai],["Tibetan",w.Tibetan],["Tifinagh",w.Tifinagh],["Tirhuta",w.Tirhuta],["Todhri",w.Todhri],["Toto",w.Toto],["Tulu_Tigalari",w.Tulu_Tigalari],["Ugaritic",w.Ugaritic],["Vai",w.Vai],["Vithkuqi",w.Vithkuqi],["Wancho",w.Wancho],["Warang_Citi",w.Warang_Citi],["Yezidi",w.Yezidi],["Yi",w.Yi],["Zanabazar_Square",w.Zanabazar_Square]]);static FOLD_CATEGORIES=new Map([["L",w.foldL],["Ll",w.foldLl],["Lt",w.foldLt],["Lu",w.foldLu],["M",w.foldM],["Mn",w.foldMn]]);static FOLD_SCRIPT=new Map([["Common",w.foldCommon],["Greek",w.foldGreek],["Inherited",w.foldInherited]]);static Print=new i(new Uint32Array([33,126,1,161,172,1,174,887,1,890,895,1,900,906,1,908,910,2,911,929,1,931,1327,1,1329,1366,1,1369,1418,1,1421,1423,1,1425,1479,1,1488,1514,1,1519,1524,1,1542,1563,1,1565,1756,1,1758,1805,1,1808,1866,1,1869,1969,1,1984,2042,1,2045,2093,1,2096,2110,1,2112,2139,1,2142,2144,2,2145,2154,1,2160,2190,1,2199,2273,1,2275,2435,1,2437,2444,1,2447,2448,1,2451,2472,1,2474,2480,1,2482,2486,4,2487,2489,1,2492,2500,1,2503,2504,1,2507,2510,1,2519,2524,5,2525,2527,2,2528,2531,1,2534,2558,1,2561,2563,1,2565,2570,1,2575,2576,1,2579,2600,1,2602,2608,1,2610,2611,1,2613,2614,1,2616,2617,1,2620,2622,2,2623,2626,1,2631,2632,1,2635,2637,1,2641,2649,8,2650,2652,1,2654,2662,8,2663,2678,1,2689,2691,1,2693,2701,1,2703,2705,1,2707,2728,1,2730,2736,1,2738,2739,1,2741,2745,1,2748,2757,1,2759,2761,1,2763,2765,1,2768,2784,16,2785,2787,1,2790,2801,1,2809,2815,1,2817,2819,1,2821,2828,1,2831,2832,1,2835,2856,1,2858,2864,1,2866,2867,1,2869,2873,1,2876,2884,1,2887,2888,1,2891,2893,1,2901,2903,1,2908,2909,1,2911,2915,1,2918,2935,1,2946,2947,1,2949,2954,1,2958,2960,1,2962,2965,1,2969,2970,1,2972,2974,2,2975,2979,4,2980,2984,4,2985,2986,1,2990,3001,1,3006,3010,1,3014,3016,1,3018,3021,1,3024,3031,7,3046,3066,1,3072,3084,1,3086,3088,1,3090,3112,1,3114,3129,1,3132,3140,1,3142,3144,1,3146,3149,1,3157,3158,1,3160,3162,1,3165,3168,3,3169,3171,1,3174,3183,1,3191,3212,1,3214,3216,1,3218,3240,1,3242,3251,1,3253,3257,1,3260,3268,1,3270,3272,1,3274,3277,1,3285,3286,1,3293,3294,1,3296,3299,1,3302,3311,1,3313,3315,1,3328,3340,1,3342,3344,1,3346,3396,1,3398,3400,1,3402,3407,1,3412,3427,1,3430,3455,1,3457,3459,1,3461,3478,1,3482,3505,1,3507,3515,1,3517,3520,3,3521,3526,1,3530,3535,5,3536,3540,1,3542,3544,2,3545,3551,1,3558,3567,1,3570,3572,1,3585,3642,1,3647,3675,1,3713,3714,1,3716,3718,2,3719,3722,1,3724,3747,1,3749,3751,2,3752,3773,1,3776,3780,1,3782,3784,2,3785,3790,1,3792,3801,1,3804,3807,1,3840,3911,1,3913,3948,1,3953,3991,1,3993,4028,1,4030,4044,1,4046,4058,1,4096,4293,1,4295,4301,6,4304,4680,1,4682,4685,1,4688,4694,1,4696,4698,2,4699,4701,1,4704,4744,1,4746,4749,1,4752,4784,1,4786,4789,1,4792,4798,1,4800,4802,2,4803,4805,1,4808,4822,1,4824,4880,1,4882,4885,1,4888,4954,1,4957,4988,1,4992,5017,1,5024,5109,1,5112,5117,1,5120,5759,1,5761,5788,1,5792,5880,1,5888,5909,1,5919,5942,1,5952,5971,1,5984,5996,1,5998,6000,1,6002,6003,1,6016,6109,1,6112,6121,1,6128,6137,1,6144,6157,1,6159,6169,1,6176,6264,1,6272,6314,1,6320,6389,1,6400,6430,1,6432,6443,1,6448,6459,1,6464,6468,4,6469,6509,1,6512,6516,1,6528,6571,1,6576,6601,1,6608,6618,1,6622,6683,1,6686,6750,1,6752,6780,1,6783,6793,1,6800,6809,1,6816,6829,1,6832,6862,1,6912,6988,1,6990,7155,1,7164,7223,1,7227,7241,1,7245,7306,1,7312,7354,1,7357,7367,1,7376,7418,1,7424,7957,1,7960,7965,1,7968,8005,1,8008,8013,1,8016,8023,1,8025,8031,2,8032,8061,1,8064,8116,1,8118,8132,1,8134,8147,1,8150,8155,1,8157,8175,1,8178,8180,1,8182,8190,1,8208,8231,1,8240,8286,1,8304,8305,1,8308,8334,1,8336,8348,1,8352,8384,1,8400,8432,1,8448,8587,1,8592,9257,1,9280,9290,1,9312,11123,1,11126,11157,1,11159,11507,1,11513,11557,1,11559,11565,6,11568,11623,1,11631,11632,1,11647,11670,1,11680,11686,1,11688,11694,1,11696,11702,1,11704,11710,1,11712,11718,1,11720,11726,1,11728,11734,1,11736,11742,1,11744,11869,1,11904,11929,1,11931,12019,1,12032,12245,1,12272,12287,1,12289,12351,1,12353,12438,1,12441,12543,1,12549,12591,1,12593,12686,1,12688,12773,1,12783,12830,1,12832,42124,1,42128,42182,1,42192,42539,1,42560,42743,1,42752,42957,1,42960,42961,1,42963,42965,2,42966,42972,1,42994,43052,1,43056,43065,1,43072,43127,1,43136,43205,1,43214,43225,1,43232,43347,1,43359,43388,1,43392,43469,1,43471,43481,1,43486,43518,1,43520,43574,1,43584,43597,1,43600,43609,1,43612,43714,1,43739,43766,1,43777,43782,1,43785,43790,1,43793,43798,1,43808,43814,1,43816,43822,1,43824,43883,1,43888,44013,1,44016,44025,1,44032,55203,1,55216,55238,1,55243,55291,1,63744,64109,1,64112,64217,1,64256,64262,1,64275,64279,1,64285,64310,1,64312,64316,1,64318,64320,2,64321,64323,2,64324,64326,2,64327,64450,1,64467,64911,1,64914,64967,1,64975,65008,33,65009,65049,1,65056,65106,1,65108,65126,1,65128,65131,1,65136,65140,1,65142,65276,1,65281,65470,1,65474,65479,1,65482,65487,1,65490,65495,1,65498,65500,1,65504,65510,1,65512,65518,1,65532,65533,1,65536,65547,1,65549,65574,1,65576,65594,1,65596,65597,1,65599,65613,1,65616,65629,1,65664,65786,1,65792,65794,1,65799,65843,1,65847,65934,1,65936,65948,1,65952,66000,48,66001,66045,1,66176,66204,1,66208,66256,1,66272,66299,1,66304,66339,1,66349,66378,1,66384,66426,1,66432,66461,1,66463,66499,1,66504,66517,1,66560,66717,1,66720,66729,1,66736,66771,1,66776,66811,1,66816,66855,1,66864,66915,1,66927,66938,1,66940,66954,1,66956,66962,1,66964,66965,1,66967,66977,1,66979,66993,1,66995,67001,1,67003,67004,1,67008,67059,1,67072,67382,1,67392,67413,1,67424,67431,1,67456,67461,1,67463,67504,1,67506,67514,1,67584,67589,1,67592,67594,2,67595,67637,1,67639,67640,1,67644,67647,3,67648,67669,1,67671,67742,1,67751,67759,1,67808,67826,1,67828,67829,1,67835,67867,1,67871,67897,1,67903,67968,65,67969,68023,1,68028,68047,1,68050,68099,1,68101,68102,1,68108,68115,1,68117,68119,1,68121,68149,1,68152,68154,1,68159,68168,1,68176,68184,1,68192,68255,1,68288,68326,1,68331,68342,1,68352,68405,1,68409,68437,1,68440,68466,1,68472,68497,1,68505,68508,1,68521,68527,1,68608,68680,1,68736,68786,1,68800,68850,1,68858,68903,1,68912,68921,1,68928,68965,1,68969,68997,1,69006,69007,1,69216,69246,1,69248,69289,1,69291,69293,1,69296,69297,1,69314,69316,1,69372,69415,1,69424,69465,1,69488,69513,1,69552,69579,1,69600,69622,1,69632,69709,1,69714,69749,1,69759,69820,1,69822,69826,1,69840,69864,1,69872,69881,1,69888,69940,1,69942,69959,1,69968,70006,1,70016,70111,1,70113,70132,1,70144,70161,1,70163,70209,1,70272,70278,1,70280,70282,2,70283,70285,1,70287,70301,1,70303,70313,1,70320,70378,1,70384,70393,1,70400,70403,1,70405,70412,1,70415,70416,1,70419,70440,1,70442,70448,1,70450,70451,1,70453,70457,1,70459,70468,1,70471,70472,1,70475,70477,1,70480,70487,7,70493,70499,1,70502,70508,1,70512,70516,1,70528,70537,1,70539,70542,3,70544,70581,1,70583,70592,1,70594,70597,3,70599,70602,1,70604,70613,1,70615,70616,1,70625,70626,1,70656,70747,1,70749,70753,1,70784,70855,1,70864,70873,1,71040,71093,1,71096,71133,1,71168,71236,1,71248,71257,1,71264,71276,1,71296,71353,1,71360,71369,1,71376,71395,1,71424,71450,1,71453,71467,1,71472,71494,1,71680,71739,1,71840,71922,1,71935,71942,1,71945,71948,3,71949,71955,1,71957,71958,1,71960,71989,1,71991,71992,1,71995,72006,1,72016,72025,1,72096,72103,1,72106,72151,1,72154,72164,1,72192,72263,1,72272,72354,1,72368,72440,1,72448,72457,1,72640,72673,1,72688,72697,1,72704,72712,1,72714,72758,1,72760,72773,1,72784,72812,1,72816,72847,1,72850,72871,1,72873,72886,1,72960,72966,1,72968,72969,1,72971,73014,1,73018,73020,2,73021,73023,2,73024,73031,1,73040,73049,1,73056,73061,1,73063,73064,1,73066,73102,1,73104,73105,1,73107,73112,1,73120,73129,1,73440,73464,1,73472,73488,1,73490,73530,1,73534,73562,1,73648,73664,16,73665,73713,1,73727,74649,1,74752,74862,1,74864,74868,1,74880,75075,1,77712,77810,1,77824,78895,1,78912,78933,1,78944,82938,1,82944,83526,1,90368,90425,1,92160,92728,1,92736,92766,1,92768,92777,1,92782,92862,1,92864,92873,1,92880,92909,1,92912,92917,1,92928,92997,1,93008,93017,1,93019,93025,1,93027,93047,1,93053,93071,1,93504,93561,1,93760,93850,1,93952,94026,1,94031,94087,1,94095,94111,1,94176,94180,1,94192,94193,1,94208,100343,1,100352,101589,1,101631,101640,1,110576,110579,1,110581,110587,1,110589,110590,1,110592,110882,1,110898,110928,30,110929,110930,1,110933,110948,15,110949,110951,1,110960,111355,1,113664,113770,1,113776,113788,1,113792,113800,1,113808,113817,1,113820,113823,1,117760,118009,1,118016,118451,1,118528,118573,1,118576,118598,1,118608,118723,1,118784,119029,1,119040,119078,1,119081,119154,1,119163,119274,1,119296,119365,1,119488,119507,1,119520,119539,1,119552,119638,1,119648,119672,1,119808,119892,1,119894,119964,1,119966,119967,1,119970,119973,3,119974,119977,3,119978,119980,1,119982,119993,1,119995,119997,2,119998,120003,1,120005,120069,1,120071,120074,1,120077,120084,1,120086,120092,1,120094,120121,1,120123,120126,1,120128,120132,1,120134,120138,4,120139,120144,1,120146,120485,1,120488,120779,1,120782,121483,1,121499,121503,1,121505,121519,1,122624,122654,1,122661,122666,1,122880,122886,1,122888,122904,1,122907,122913,1,122915,122916,1,122918,122922,1,122928,122989,1,123023,123136,113,123137,123180,1,123184,123197,1,123200,123209,1,123214,123215,1,123536,123566,1,123584,123641,1,123647,124112,465,124113,124153,1,124368,124410,1,124415,124896,481,124897,124902,1,124904,124907,1,124909,124910,1,124912,124926,1,124928,125124,1,125127,125142,1,125184,125259,1,125264,125273,1,125278,125279,1,126065,126132,1,126209,126269,1,126464,126467,1,126469,126495,1,126497,126498,1,126500,126503,3,126505,126514,1,126516,126519,1,126521,126523,2,126530,126535,5,126537,126541,2,126542,126543,1,126545,126546,1,126548,126551,3,126553,126561,2,126562,126564,2,126567,126570,1,126572,126578,1,126580,126583,1,126585,126588,1,126590,126592,2,126593,126601,1,126603,126619,1,126625,126627,1,126629,126633,1,126635,126651,1,126704,126705,1,126976,127019,1,127024,127123,1,127136,127150,1,127153,127167,1,127169,127183,1,127185,127221,1,127232,127405,1,127462,127490,1,127504,127547,1,127552,127560,1,127568,127569,1,127584,127589,1,127744,128727,1,128732,128748,1,128752,128764,1,128768,128886,1,128891,128985,1,128992,129003,1,129008,129024,16,129025,129035,1,129040,129095,1,129104,129113,1,129120,129159,1,129168,129197,1,129200,129211,1,129216,129217,1,129280,129619,1,129632,129645,1,129648,129660,1,129664,129673,1,129679,129734,1,129742,129756,1,129759,129769,1,129776,129784,1,129792,129938,1,129940,130041,1,131072,173791,1,173824,177977,1,177984,178205,1,178208,183969,1,183984,191456,1,191472,192093,1,194560,195101,1,196608,201546,1,201552,205743,1,917760,917999,1]))}class O0{static MAX_RUNE=1114111;static MAX_ASCII=127;static MAX_LATIN1=255;static MAX_BMP=65535;static MIN_FOLD=65;static MAX_FOLD=125251;static is32(u,D){let F=0,$=u.length;while(F<$){let B=F+Math.floor(($-F)/2),z=u.getLo(B),Z=u.getHi(B);if(z<=D&&D<=Z){let q=u.getStride(B);return(D-z)%q===0}if(D<z)$=B;else F=B+1}return!1}static is(u,D){if(D<=this.MAX_LATIN1){for(let F=0;F<u.length;F++){let $=u.getHi(F);if(D>$)continue;let B=u.getLo(F);if(D<B)return!1;let z=u.getStride(F);return(D-B)%z===0}return!1}return u.length>0&&D>=u.getLo(0)&&this.is32(u,D)}static isUpper(u){if(u<=this.MAX_LATIN1){let D=String.fromCodePoint(u);return D.toUpperCase()===D&&D.toLowerCase()!==D}return this.is(w.Upper,u)}static isPrint(u){if(u<=this.MAX_LATIN1)return u>=32&&u<this.MAX_ASCII||u>=161&&u!==173;return this.is(w.Print,u)}static simpleFold(u){if(w.CASE_ORBIT.has(u))return w.CASE_ORBIT.get(u);let D=b.toLowerCase(u);if(D!==u)return D;return b.toUpperCase(u)}static equalsIgnoreCase(u,D){if(u<0||D<0||u===D)return!0;if(u<=this.MAX_ASCII&&D<=this.MAX_ASCII){if(b.CODES.get("A")<=u&&u<=b.CODES.get("Z"))u|=32;if(b.CODES.get("A")<=D&&D<=b.CODES.get("Z"))D|=32;return u===D}for(let F=this.simpleFold(u);F!==u;F=this.simpleFold(F))if(F===D)return!0;return!1}}class v0{static METACHARACTERS="\\.+*?()|[]{}^$";static EMPTY_BEGIN_LINE=1;static EMPTY_END_LINE=2;static EMPTY_BEGIN_TEXT=4;static EMPTY_END_TEXT=8;static EMPTY_WORD_BOUNDARY=16;static EMPTY_NO_WORD_BOUNDARY=32;static EMPTY_ALL=-1;static emptyInts(){return[]}static isalnum(u){return b.CODES.get("0")<=u&&u<=b.CODES.get("9")||b.CODES.get("a")<=u&&u<=b.CODES.get("z")||b.CODES.get("A")<=u&&u<=b.CODES.get("Z")}static unhex(u){if(b.CODES.get("0")<=u&&u<=b.CODES.get("9"))return u-b.CODES.get("0");if(b.CODES.get("a")<=u&&u<=b.CODES.get("f"))return u-b.CODES.get("a")+10;if(b.CODES.get("A")<=u&&u<=b.CODES.get("F"))return u-b.CODES.get("A")+10;return-1}static escapeRune(u){let D="";if(O0.isPrint(u)){if(this.METACHARACTERS.indexOf(String.fromCodePoint(u))>=0)D+="\\";D+=String.fromCodePoint(u)}else switch(u){case b.CODES.get('"'):D+="\\\"";break;case b.CODES.get("\\"):D+="\\\\";break;case b.CODES.get("\t"):D+="\\t";break;case b.CODES.get(`
211
+ `):D+="\\n";break;case b.CODES.get("\r"):D+="\\r";break;case b.CODES.get("\b"):D+="\\b";break;case b.CODES.get("\f"):D+="\\f";break;default:{let F=u.toString(16);if(u<256){if(D+="\\x",F.length===1)D+="0";D+=F}else D+=`\\x{${F}}`;break}}return D}static stringToRunes(u){return String(u).split("").map((D)=>D.codePointAt(0))}static runeToString(u){return String.fromCodePoint(u)}static isWordRune(u){return b.CODES.get("a")<=u&&u<=b.CODES.get("z")||b.CODES.get("A")<=u&&u<=b.CODES.get("Z")||b.CODES.get("0")<=u&&u<=b.CODES.get("9")||u===b.CODES.get("_")}static emptyOpContext(u,D){let F=0;if(u<0)F|=this.EMPTY_BEGIN_TEXT|this.EMPTY_BEGIN_LINE;if(u===b.CODES.get(`
212
+ `))F|=this.EMPTY_BEGIN_LINE;if(D<0)F|=this.EMPTY_END_TEXT|this.EMPTY_END_LINE;if(D===b.CODES.get(`
213
+ `))F|=this.EMPTY_END_LINE;if(this.isWordRune(u)!==this.isWordRune(D))F|=this.EMPTY_WORD_BOUNDARY;else F|=this.EMPTY_NO_WORD_BOUNDARY;return F}static quoteMeta(u){return u.split("").map((D)=>{if(this.METACHARACTERS.indexOf(D)>=0)return`\\${D}`;return D}).join("")}static charCount(u){return u>O0.MAX_BMP?2:1}static stringToUtf8ByteArray(u){if(globalThis.TextEncoder)return Array.from(new TextEncoder().encode(u));else{let D=[],F=0;for(let $=0;$<u.length;$++){let B=u.charCodeAt($);if(B<128)D[F++]=B;else if(B<2048)D[F++]=B>>6|192,D[F++]=B&63|128;else if((B&64512)===55296&&$+1<u.length&&(u.charCodeAt($+1)&64512)===56320)B=65536+((B&1023)<<10)+(u.charCodeAt(++$)&1023),D[F++]=B>>18|240,D[F++]=B>>12&63|128,D[F++]=B>>6&63|128,D[F++]=B&63|128;else D[F++]=B>>12|224,D[F++]=B>>6&63|128,D[F++]=B&63|128}return D}}static utf8ByteArrayToString(u){if(globalThis.TextDecoder)return new TextDecoder("utf-8").decode(new Uint8Array(u));else{let D=[],F=0,$=0;while(F<u.length){let B=u[F++];if(B<128)D[$++]=String.fromCharCode(B);else if(B>191&&B<224){let z=u[F++];D[$++]=String.fromCharCode((B&31)<<6|z&63)}else if(B>239&&B<365){let z=u[F++],Z=u[F++],q=u[F++],X=((B&7)<<18|(z&63)<<12|(Z&63)<<6|q&63)-65536;D[$++]=String.fromCharCode(55296+(X>>10)),D[$++]=String.fromCharCode(56320+(X&1023))}else{let z=u[F++],Z=u[F++];D[$++]=String.fromCharCode((B&15)<<12|(z&63)<<6|Z&63)}}return D.join("")}}}var ZJ=(u=[],D=0)=>{let F={};for(let $=0;$<u.length;$++){let B=u[$],z=D+$;F[B]=z,F[z]=B}return Object.freeze(F)};class Y1{static Encoding=ZJ(["UTF_16","UTF_8"]);getEncoding(){throw Error("not implemented")}isUTF8Encoding(){return this.getEncoding()===Y1.Encoding.UTF_8}isUTF16Encoding(){return this.getEncoding()===Y1.Encoding.UTF_16}}class M$ extends Y1{constructor(u=null){super();this.bytes=u}getEncoding(){return Y1.Encoding.UTF_8}asCharSequence(){return v0.utf8ByteArrayToString(this.bytes)}asBytes(){return this.bytes}length(){return this.bytes.length}}class qJ extends Y1{constructor(u=null){super();this.charSequence=u}getEncoding(){return Y1.Encoding.UTF_16}asCharSequence(){return this.charSequence}asBytes(){return this.charSequence.toString().split("").map((u)=>u.codePointAt(0))}length(){return this.charSequence.length}}class E8{static utf16(u){return new qJ(u)}static utf8(u){if(Array.isArray(u))return new M$(u);return new M$(v0.stringToUtf8ByteArray(u))}}class C8 extends Error{constructor(u){super(u);this.name="RE2JSException"}}class n0 extends C8{constructor(u,D=null){let F=`error parsing regexp: ${u}`;if(D)F+=`: \`${D}\``;super(F);this.name="RE2JSSyntaxException",this.message=F,this.error=u,this.input=D}getDescription(){return this.error}getPattern(){return this.input}}class XJ extends C8{constructor(u){super(u);this.name="RE2JSCompileException"}}class aD extends C8{constructor(u){super(u);this.name="RE2JSGroupException"}}class QJ extends C8{constructor(u){super(u);this.name="RE2JSFlagsException"}}class YJ{static quoteReplacement(u){if(u.indexOf("\\")<0&&u.indexOf("$")<0)return u;return u.split("").map((D)=>{let F=D.codePointAt(0);if(F===b.CODES["\\"]||F===b.CODES.$)return`\\${D}`;return D}).join("")}constructor(u,D){if(u===null)throw Error("pattern is null");this.patternInput=u;let F=this.patternInput.re2();if(this.patternGroupCount=F.numberOfCapturingGroups(),this.groups=[],this.namedGroups=F.namedGroups,this.numberOfInstructions=F.numberOfInstructions(),D instanceof Y1)this.resetMatcherInput(D);else if(Array.isArray(D))this.resetMatcherInput(E8.utf8(D));else this.resetMatcherInput(E8.utf16(D))}pattern(){return this.patternInput}reset(){return this.matcherInputLength=this.matcherInput.length(),this.appendPos=0,this.hasMatch=!1,this.hasGroups=!1,this.anchorFlag=0,this}resetMatcherInput(u){if(u===null)throw Error("input is null");return this.matcherInput=u,this.reset(),this}start(u=0){if(typeof u==="string"){let D=this.namedGroups[u];if(!Number.isFinite(D))throw new aD(`group '${u}' not found`);u=D}return this.loadGroup(u),this.groups[2*u]}end(u=0){if(typeof u==="string"){let D=this.namedGroups[u];if(!Number.isFinite(D))throw new aD(`group '${u}' not found`);u=D}return this.loadGroup(u),this.groups[2*u+1]}programSize(){return this.numberOfInstructions}group(u=0){if(typeof u==="string"){let $=this.namedGroups[u];if(!Number.isFinite($))throw new aD(`group '${u}' not found`);u=$}let D=this.start(u),F=this.end(u);if(D<0&&F<0)return null;return this.substring(D,F)}groupCount(){return this.patternGroupCount}loadGroup(u){if(u<0||u>this.patternGroupCount)throw new aD(`Group index out of bounds: ${u}`);if(!this.hasMatch)throw new aD("perhaps no match attempted");if(u===0||this.hasGroups)return;let D=this.groups[1]+1;if(D>this.matcherInputLength)D=this.matcherInputLength;let F=this.patternInput.re2().matchMachineInput(this.matcherInput,this.groups[0],D,this.anchorFlag,1+this.patternGroupCount);if(!F[0])throw new aD("inconsistency in matching group data");this.groups=F[1],this.hasGroups=!0}matches(){return this.genMatch(0,u0.ANCHOR_BOTH)}lookingAt(){return this.genMatch(0,u0.ANCHOR_START)}find(u=null){if(u!==null){if(u<0||u>this.matcherInputLength)throw new aD(`start index out of bounds: ${u}`);return this.reset(),this.genMatch(u,0)}if(u=0,this.hasMatch){if(u=this.groups[1],this.groups[0]===this.groups[1])u++}return this.genMatch(u,u0.UNANCHORED)}genMatch(u,D){let F=this.patternInput.re2().matchMachineInput(this.matcherInput,u,this.matcherInputLength,D,1);if(!F[0])return!1;return this.groups=F[1],this.hasMatch=!0,this.hasGroups=!1,this.anchorFlag=D,!0}substring(u,D){if(this.matcherInput.isUTF8Encoding())return v0.utf8ByteArrayToString(this.matcherInput.asBytes().slice(u,D));return this.matcherInput.asCharSequence().substring(u,D).toString()}inputLength(){return this.matcherInputLength}appendReplacement(u,D=!1){let F="",$=this.start(),B=this.end();if(this.appendPos<$)F+=this.substring(this.appendPos,$);return this.appendPos=B,F+=D?this.appendReplacementInternalPerl(u):this.appendReplacementInternal(u),F}appendReplacementInternal(u){let D="",F=0,$=u.length;for(let B=0;B<$-1;B++){if(u.codePointAt(B)===b.CODES.get("\\")){if(F<B)D+=u.substring(F,B);B++,F=B;continue}if(u.codePointAt(B)===b.CODES.get("$")){let z=u.codePointAt(B+1);if(b.CODES.get("0")<=z&&z<=b.CODES.get("9")){let Z=z-b.CODES.get("0");if(F<B)D+=u.substring(F,B);for(B+=2;B<$;B++){if(z=u.codePointAt(B),z<b.CODES.get("0")||z>b.CODES.get("9")||Z*10+z-b.CODES.get("0")>this.patternGroupCount)break;Z=Z*10+z-b.CODES.get("0")}if(Z>this.patternGroupCount)throw new aD(`n > number of groups: ${Z}`);let q=this.group(Z);if(q!==null)D+=q;F=B,B--;continue}else if(z===b.CODES.get("{")){if(F<B)D+=u.substring(F,B);B++;let Z=B+1;while(Z<u.length&&u.codePointAt(Z)!==b.CODES.get("}")&&u.codePointAt(Z)!==b.CODES.get(" "))Z++;if(Z===u.length||u.codePointAt(Z)!==b.CODES.get("}"))throw new aD("named capture group is missing trailing '}'");let q=u.substring(B+1,Z);D+=this.group(q),F=Z+1}}}if(F<$)D+=u.substring(F,$);return D}appendReplacementInternalPerl(u){let D="",F=0,$=u.length;for(let B=0;B<$-1;B++)if(u.codePointAt(B)===b.CODES.get("$")){let z=u.codePointAt(B+1);if(b.CODES.get("$")===z){if(F<B)D+=u.substring(F,B);D+="$",B++,F=B+1;continue}else if(b.CODES.get("&")===z){if(F<B)D+=u.substring(F,B);let Z=this.group(0);if(Z!==null)D+=Z;else D+="$&";B++,F=B+1;continue}else if(b.CODES.get("1")<=z&&z<=b.CODES.get("9")){let Z=z-b.CODES.get("0");if(F<B)D+=u.substring(F,B);for(B+=2;B<$;B++){if(z=u.codePointAt(B),z<b.CODES.get("0")||z>b.CODES.get("9")||Z*10+z-b.CODES.get("0")>this.patternGroupCount)break;Z=Z*10+z-b.CODES.get("0")}if(Z>this.patternGroupCount){D+=`$${Z}`,F=B,B--;continue}let q=this.group(Z);if(q!==null)D+=q;F=B,B--;continue}else if(z===b.CODES.get("<")){if(F<B)D+=u.substring(F,B);B++;let Z=B+1;while(Z<u.length&&u.codePointAt(Z)!==b.CODES.get(">")&&u.codePointAt(Z)!==b.CODES.get(" "))Z++;if(Z===u.length||u.codePointAt(Z)!==b.CODES.get(">")){D+=u.substring(B-1,Z+1),F=Z+1;continue}let q=u.substring(B+1,Z);if(Object.prototype.hasOwnProperty.call(this.namedGroups,q))D+=this.group(q);else D+=`$<${q}>`;F=Z+1}}if(F<$)D+=u.substring(F,$);return D}appendTail(){return this.substring(this.appendPos,this.matcherInputLength)}replaceAll(u,D=!1){return this.replace(u,!0,D)}replaceFirst(u,D=!1){return this.replace(u,!1,D)}replace(u,D=!0,F=!1){let $="";this.reset();while(this.find())if($+=this.appendReplacement(u,F),!D)break;return $+=this.appendTail(),$}}class Q1{static EOF(){return-8}canCheckPrefix(){return!0}endPos(){return this.end}}class WJ extends Q1{constructor(u,D=0,F=u.length){super();this.bytes=u,this.start=D,this.end=F}step(u){if(u+=this.start,u>=this.end)return Q1.EOF();let D=this.bytes[u++]&255;if((D&128)===0)return D<<3|1;else if((D&224)===192){if(D=D&31,u>=this.end)return Q1.EOF();return D=D<<6|this.bytes[u++]&63,D<<3|2}else if((D&240)===224){if(D=D&15,u+1>=this.end)return Q1.EOF();return D=D<<6|this.bytes[u++]&63,D=D<<6|this.bytes[u++]&63,D<<3|3}else{if(D=D&7,u+2>=this.end)return Q1.EOF();return D=D<<6|this.bytes[u++]&63,D=D<<6|this.bytes[u++]&63,D=D<<6|this.bytes[u++]&63,D<<3|4}}index(u,D){D+=this.start;let F=this.indexOf(this.bytes,u.prefixUTF8,D);return F<0?F:F-D}context(u){u+=this.start;let D=-1;if(u>this.start&&u<=this.end){let $=u-1;if(D=this.bytes[$--],D>=128){let B=u-4;if(B<this.start)B=this.start;while($>=B&&(this.bytes[$]&192)===128)$--;if($<this.start)$=this.start;D=this.step($)>>3}}let F=u<this.end?this.step(u)>>3:-1;return v0.emptyOpContext(D,F)}indexOf(u,D,F=0){let $=D.length;if($===0)return-1;let B=u.length;for(let z=F;z<=B-$;z++)for(let Z=0;Z<$;Z++)if(u[z+Z]!==D[Z])break;else if(Z===$-1)return z;return-1}}class JJ extends Q1{constructor(u,D=0,F=u.length){super();this.charSequence=u,this.start=D,this.end=F}step(u){if(u+=this.start,u<this.end){let D=this.charSequence.codePointAt(u);return D<<3|v0.charCount(D)}else return Q1.EOF()}index(u,D){D+=this.start;let F=this.charSequence.indexOf(u.prefix,D);return F<0?F:F-D}context(u){u+=this.start;let D=u>0&&u<=this.charSequence.length?this.charSequence.codePointAt(u-1):-1,F=u<this.charSequence.length?this.charSequence.codePointAt(u):-1;return v0.emptyOpContext(D,F)}}class zu{static fromUTF8(u,D=0,F=u.length){return new WJ(u,D,F)}static fromUTF16(u,D=0,F=u.length){return new JJ(u,D,F)}}class H0{static ALT=1;static ALT_MATCH=2;static CAPTURE=3;static EMPTY_WIDTH=4;static FAIL=5;static MATCH=6;static NOP=7;static RUNE=8;static RUNE1=9;static RUNE_ANY=10;static RUNE_ANY_NOT_NL=11;static isRuneOp(u){return H0.RUNE<=u&&u<=H0.RUNE_ANY_NOT_NL}static escapeRunes(u){let D='"';for(let F of u)D+=v0.escapeRune(F);return D+='"',D}constructor(u){this.op=u,this.out=0,this.arg=0,this.runes=[]}matchRune(u){if(this.runes.length===1){let $=this.runes[0];if((this.arg&u0.FOLD_CASE)!==0)return O0.equalsIgnoreCase($,u);return u===$}for(let $=0;$<this.runes.length&&$<=8;$+=2){if(u<this.runes[$])return!1;if(u<=this.runes[$+1])return!0}let D=0,F=this.runes.length/2|0;while(D<F){let $=D+((F-D)/2|0);if(this.runes[2*$]<=u){if(u<=this.runes[2*$+1])return!0;D=$+1}else F=$}return!1}toString(){switch(this.op){case H0.ALT:return`alt -> ${this.out}, ${this.arg}`;case H0.ALT_MATCH:return`altmatch -> ${this.out}, ${this.arg}`;case H0.CAPTURE:return`cap ${this.arg} -> ${this.out}`;case H0.EMPTY_WIDTH:return`empty ${this.arg} -> ${this.out}`;case H0.MATCH:return"match";case H0.FAIL:return"fail";case H0.NOP:return`nop -> ${this.out}`;case H0.RUNE:if(this.runes===null)return"rune <null>";return["rune ",H0.escapeRunes(this.runes),(this.arg&u0.FOLD_CASE)!==0?"/i":""," -> ",this.out].join("");case H0.RUNE1:return`rune1 ${H0.escapeRunes(this.runes)} -> ${this.out}`;case H0.RUNE_ANY:return`any -> ${this.out}`;case H0.RUNE_ANY_NOT_NL:return`anynotnl -> ${this.out}`;default:throw Error("unhandled case in Inst.toString")}}}class GJ{constructor(){this.inst=null,this.cap=[]}}class w${constructor(){this.sparse=[],this.densePcs=[],this.denseThreads=[],this.size=0}contains(u){let D=this.sparse[u];return D<this.size&&this.densePcs[D]===u}isEmpty(){return this.size===0}add(u){let D=this.size++;return this.sparse[u]=D,this.denseThreads[D]=null,this.densePcs[D]=u,D}clear(){this.sparse=[],this.densePcs=[],this.denseThreads=[],this.size=0}toString(){let u="{";for(let D=0;D<this.size;D++){if(D!==0)u+=", ";u+=this.densePcs[D]}return u+="}",u}}class Y6{static fromRE2(u){let D=new Y6;return D.prog=u.prog,D.re2=u,D.q0=new w$(D.prog.numInst()),D.q1=new w$(D.prog.numInst()),D.pool=[],D.poolSize=0,D.matched=!1,D.matchcap=Array(D.prog.numCap<2?2:D.prog.numCap).fill(0),D.ncap=0,D}static fromMachine(u){let D=new Y6;return D.re2=u.re2,D.prog=u.prog,D.q0=u.q0,D.q1=u.q1,D.pool=u.pool,D.poolSize=u.poolSize,D.matched=u.matched,D.matchcap=u.matchcap,D.ncap=u.ncap,D}init(u){if(this.ncap=u,u>this.matchcap.length)this.initNewCap(u);else this.resetCap(u)}resetCap(u){for(let D=0;D<this.poolSize;D++){let F=this.pool[D];F.cap=Array(u).fill(0)}}initNewCap(u){for(let D=0;D<this.poolSize;D++){let F=this.pool[D];F.cap=Array(u).fill(0)}this.matchcap=Array(u).fill(0)}submatches(){if(this.ncap===0)return v0.emptyInts();return this.matchcap.slice(0,this.ncap)}alloc(u){let D;if(this.poolSize>0)this.poolSize--,D=this.pool[this.poolSize];else D=new GJ;return D.inst=u,D}freeQueue(u,D=0){let F=u.size-D,$=this.poolSize+F;if(this.pool.length<$)this.pool=this.pool.slice(0,Math.max(this.pool.length*2,$));for(let B=D;B<u.size;B++){let z=u.denseThreads[B];if(z!==null)this.pool[this.poolSize]=z,this.poolSize++}u.clear()}freeThread(u){if(this.pool.length<=this.poolSize)this.pool=this.pool.slice(0,this.pool.length*2);this.pool[this.poolSize]=u,this.poolSize++}match(u,D,F){let $=this.re2.cond;if($===v0.EMPTY_ALL)return!1;if((F===u0.ANCHOR_START||F===u0.ANCHOR_BOTH)&&D!==0)return!1;this.matched=!1,this.matchcap=Array(this.prog.numCap).fill(-1);let B=this.q0,z=this.q1,Z=u.step(D),q=Z>>3,X=Z&7,Q=-1,Y=0;if(Z!==Q1.EOF())Z=u.step(D+X),Q=Z>>3,Y=Z&7;let W;if(D===0)W=v0.emptyOpContext(-1,q);else W=u.context(D);while(!0){if(B.isEmpty()){if(($&v0.EMPTY_BEGIN_TEXT)!==0&&D!==0)break;if(this.matched)break;if(this.re2.prefix.length!==0&&Q!==this.re2.prefixRune&&u.canCheckPrefix()){let f=u.index(this.re2,D);if(f<0)break;D+=f,Z=u.step(D),q=Z>>3,X=Z&7,Z=u.step(D+X),Q=Z>>3,Y=Z&7}}if(!this.matched&&(D===0||F===u0.UNANCHORED)){if(this.ncap>0)this.matchcap[0]=D;this.add(B,this.prog.start,D,this.matchcap,W,null)}let J=D+X;if(W=u.context(J),this.step(B,z,D,J,q,W,F,D===u.endPos()),X===0)break;if(this.ncap===0&&this.matched)break;if(D+=X,q=Q,X=Y,q!==-1)Z=u.step(D+X),Q=Z>>3,Y=Z&7;let G=B;B=z,z=G}return this.freeQueue(z),this.matched}step(u,D,F,$,B,z,Z,q){let X=this.re2.longest;for(let Q=0;Q<u.size;Q++){let Y=u.denseThreads[Q];if(Y===null)continue;if(X&&this.matched&&this.ncap>0&&this.matchcap[0]<Y.cap[0]){this.freeThread(Y);continue}let W=Y.inst,J=!1;switch(W.op){case H0.MATCH:if(Z===u0.ANCHOR_BOTH&&!q)break;if(this.ncap>0&&(!X||!this.matched||this.matchcap[1]<F))Y.cap[1]=F,this.matchcap=Y.cap.slice(0,this.ncap);if(!X)this.freeQueue(u,Q+1);this.matched=!0;break;case H0.RUNE:J=W.matchRune(B);break;case H0.RUNE1:J=B===W.runes[0];break;case H0.RUNE_ANY:J=!0;break;case H0.RUNE_ANY_NOT_NL:J=B!==b.CODES.get(`
214
+ `);break;default:throw Error("bad inst")}if(J)Y=this.add(D,W.out,$,Y.cap,z,Y);if(Y!==null)this.freeThread(Y),u.denseThreads[Q]=null}u.clear()}add(u,D,F,$,B,z){if(D===0)return z;if(u.contains(D))return z;let Z=u.add(D),q=this.prog.inst[D];switch(q.op){case H0.FAIL:break;case H0.ALT:case H0.ALT_MATCH:z=this.add(u,q.out,F,$,B,z),z=this.add(u,q.arg,F,$,B,z);break;case H0.EMPTY_WIDTH:if((q.arg&~B)===0)z=this.add(u,q.out,F,$,B,z);break;case H0.NOP:z=this.add(u,q.out,F,$,B,z);break;case H0.CAPTURE:if(q.arg<this.ncap){let X=$[q.arg];$[q.arg]=F,this.add(u,q.out,F,$,B,null),$[q.arg]=X}else z=this.add(u,q.out,F,$,B,z);break;case H0.MATCH:case H0.RUNE:case H0.RUNE1:case H0.RUNE_ANY:case H0.RUNE_ANY_NOT_NL:if(z===null)z=this.alloc(q);else z.inst=q;if(this.ncap>0&&z.cap!==$)z.cap=$.slice(0,this.ncap);u.denseThreads[Z]=z,z=null;break;default:throw Error("unhandled")}return z}}class E{static Op=ZJ(["NO_MATCH","EMPTY_MATCH","LITERAL","CHAR_CLASS","ANY_CHAR_NOT_NL","ANY_CHAR","BEGIN_LINE","END_LINE","BEGIN_TEXT","END_TEXT","WORD_BOUNDARY","NO_WORD_BOUNDARY","CAPTURE","STAR","PLUS","QUEST","REPEAT","CONCAT","ALTERNATE","LEFT_PAREN","VERTICAL_BAR"]);static isPseudoOp(u){return u>=E.Op.LEFT_PAREN}static emptySubs(){return[]}static quoteIfHyphen(u){if(u===b.CODES.get("-"))return"\\";return""}static fromRegexp(u){let D=new E(u.op);return D.flags=u.flags,D.subs=u.subs,D.runes=u.runes,D.cap=u.cap,D.min=u.min,D.max=u.max,D.name=u.name,D.namedGroups=u.namedGroups,D}constructor(u){this.op=u,this.flags=0,this.subs=E.emptySubs(),this.runes=[],this.min=0,this.max=0,this.cap=0,this.name=null,this.namedGroups={}}reinit(){this.flags=0,this.subs=E.emptySubs(),this.runes=[],this.cap=0,this.min=0,this.max=0,this.name=null,this.namedGroups={}}toString(){return this.appendTo()}appendTo(){let u="";switch(this.op){case E.Op.NO_MATCH:u+="[^\\x00-\\x{10FFFF}]";break;case E.Op.EMPTY_MATCH:u+="(?:)";break;case E.Op.STAR:case E.Op.PLUS:case E.Op.QUEST:case E.Op.REPEAT:{let D=this.subs[0];if(D.op>E.Op.CAPTURE||D.op===E.Op.LITERAL&&D.runes.length>1)u+=`(?:${D.appendTo()})`;else u+=D.appendTo();switch(this.op){case E.Op.STAR:u+="*";break;case E.Op.PLUS:u+="+";break;case E.Op.QUEST:u+="?";break;case E.Op.REPEAT:if(u+=`{${this.min}`,this.min!==this.max){if(u+=",",this.max>=0)u+=this.max}u+="}";break}if((this.flags&u0.NON_GREEDY)!==0)u+="?";break}case E.Op.CONCAT:{for(let D of this.subs)if(D.op===E.Op.ALTERNATE)u+=`(?:${D.appendTo()})`;else u+=D.appendTo();break}case E.Op.ALTERNATE:{let D="";for(let F of this.subs)u+=D,D="|",u+=F.appendTo();break}case E.Op.LITERAL:if((this.flags&u0.FOLD_CASE)!==0)u+="(?i:";for(let D of this.runes)u+=v0.escapeRune(D);if((this.flags&u0.FOLD_CASE)!==0)u+=")";break;case E.Op.ANY_CHAR_NOT_NL:u+="(?-s:.)";break;case E.Op.ANY_CHAR:u+="(?s:.)";break;case E.Op.CAPTURE:if(this.name===null||this.name.length===0)u+="(";else u+=`(?P<${this.name}>`;if(this.subs[0].op!==E.Op.EMPTY_MATCH)u+=this.subs[0].appendTo();u+=")";break;case E.Op.BEGIN_TEXT:u+="\\A";break;case E.Op.END_TEXT:if((this.flags&u0.WAS_DOLLAR)!==0)u+="(?-m:$)";else u+="\\z";break;case E.Op.BEGIN_LINE:u+="^";break;case E.Op.END_LINE:u+="$";break;case E.Op.WORD_BOUNDARY:u+="\\b";break;case E.Op.NO_WORD_BOUNDARY:u+="\\B";break;case E.Op.CHAR_CLASS:if(this.runes.length%2!==0){u+="[invalid char class]";break}if(u+="[",this.runes.length===0)u+="^\\x00-\\x{10FFFF}";else if(this.runes[0]===0&&this.runes[this.runes.length-1]===O0.MAX_RUNE){u+="^";for(let D=1;D<this.runes.length-1;D+=2){let F=this.runes[D]+1,$=this.runes[D+1]-1;if(u+=E.quoteIfHyphen(F),u+=v0.escapeRune(F),F!==$)u+="-",u+=E.quoteIfHyphen($),u+=v0.escapeRune($)}}else for(let D=0;D<this.runes.length;D+=2){let F=this.runes[D],$=this.runes[D+1];if(u+=E.quoteIfHyphen(F),u+=v0.escapeRune(F),F!==$)u+="-",u+=E.quoteIfHyphen($),u+=v0.escapeRune($)}u+="]";break;default:u+=this.op;break}return u}maxCap(){let u=0;if(this.op===E.Op.CAPTURE)u=this.cap;if(this.subs!==null)for(let D of this.subs){let F=D.maxCap();if(u<F)u=F}return u}equals(u){if(!(u!==null&&u instanceof E))return!1;if(this.op!==u.op)return!1;switch(this.op){case E.Op.END_TEXT:{if((this.flags&u0.WAS_DOLLAR)!==(u.flags&u0.WAS_DOLLAR))return!1;break}case E.Op.LITERAL:case E.Op.CHAR_CLASS:{if(this.runes===null&&u.runes===null)break;if(this.runes===null||u.runes===null)return!1;if(this.runes.length!==u.runes.length)return!1;for(let D=0;D<this.runes.length;D++)if(this.runes[D]!==u.runes[D])return!1;break}case E.Op.ALTERNATE:case E.Op.CONCAT:{if(this.subs.length!==u.subs.length)return!1;for(let D=0;D<this.subs.length;++D)if(!this.subs[D].equals(u.subs[D]))return!1;break}case E.Op.STAR:case E.Op.PLUS:case E.Op.QUEST:{if((this.flags&u0.NON_GREEDY)!==(u.flags&u0.NON_GREEDY)||!this.subs[0].equals(u.subs[0]))return!1;break}case E.Op.REPEAT:{if((this.flags&u0.NON_GREEDY)!==(u.flags&u0.NON_GREEDY)||this.min!==u.min||this.max!==u.max||!this.subs[0].equals(u.subs[0]))return!1;break}case E.Op.CAPTURE:{if(this.cap!==u.cap||(this.name===null?u.name!==null:this.name!==u.name)||!this.subs[0].equals(u.subs[0]))return!1;break}}return!0}}class fJ{constructor(){this.inst=[],this.start=0,this.numCap=2}getInst(u){return this.inst[u]}numInst(){return this.inst.length}addInst(u){this.inst.push(new H0(u))}skipNop(u){let D=this.inst[u];while(D.op===H0.NOP||D.op===H0.CAPTURE)D=this.inst[u],u=D.out;return D}prefix(){let u="",D=this.skipNop(this.start);if(!H0.isRuneOp(D.op)||D.runes.length!==1)return[D.op===H0.MATCH,u];while(H0.isRuneOp(D.op)&&D.runes.length===1&&(D.arg&u0.FOLD_CASE)===0)u+=String.fromCodePoint(D.runes[0]),D=this.skipNop(D.out);return[D.op===H0.MATCH,u]}startCond(){let u=0,D=this.start;u:for(;;){let F=this.inst[D];switch(F.op){case H0.EMPTY_WIDTH:u|=F.arg;break;case H0.FAIL:return-1;case H0.CAPTURE:case H0.NOP:break;default:break u}D=F.out}return u}next(u){let D=this.inst[u>>1];if((u&1)===0)return D.out;return D.arg}patch(u,D){while(u!==0){let F=this.inst[u>>1];if((u&1)===0)u=F.out,F.out=D;else u=F.arg,F.arg=D}}append(u,D){if(u===0)return D;if(D===0)return u;let F=u;for(;;){let B=this.next(F);if(B===0)break;F=B}let $=this.inst[F>>1];if((F&1)===0)$.out=D;else $.arg=D;return u}toString(){let u="";for(let D=0;D<this.inst.length;D++){let F=u.length;if(u+=D,D===this.start)u+="*";u+=" ".substring(u.length-F),u+=this.inst[D],u+=`
215
+ `}return u}}class N8{constructor(u=0,D=0,F=!1){this.i=u,this.out=D,this.nullable=F}}class j8{static ANY_RUNE_NOT_NL(){return[0,b.CODES.get(`
216
+ `)-1,b.CODES.get(`
217
+ `)+1,O0.MAX_RUNE]}static ANY_RUNE(){return[0,O0.MAX_RUNE]}static compileRegexp(u){let D=new j8,F=D.compile(u);return D.prog.patch(F.out,D.newInst(H0.MATCH).i),D.prog.start=F.i,D.prog}constructor(){this.prog=new fJ,this.newInst(H0.FAIL)}newInst(u){return this.prog.addInst(u),new N8(this.prog.numInst()-1,0,!0)}nop(){let u=this.newInst(H0.NOP);return u.out=u.i<<1,u}fail(){return new N8}cap(u){let D=this.newInst(H0.CAPTURE);if(D.out=D.i<<1,this.prog.getInst(D.i).arg=u,this.prog.numCap<u+1)this.prog.numCap=u+1;return D}cat(u,D){if(u.i===0||D.i===0)return this.fail();return this.prog.patch(u.out,D.i),new N8(u.i,D.out,u.nullable&&D.nullable)}alt(u,D){if(u.i===0)return D;if(D.i===0)return u;let F=this.newInst(H0.ALT),$=this.prog.getInst(F.i);return $.out=u.i,$.arg=D.i,F.out=this.prog.append(u.out,D.out),F.nullable=u.nullable||D.nullable,F}loop(u,D){let F=this.newInst(H0.ALT),$=this.prog.getInst(F.i);if(D)$.arg=u.i,F.out=F.i<<1;else $.out=u.i,F.out=F.i<<1|1;return this.prog.patch(u.out,F.i),F}quest(u,D){let F=this.newInst(H0.ALT),$=this.prog.getInst(F.i);if(D)$.arg=u.i,F.out=F.i<<1;else $.out=u.i,F.out=F.i<<1|1;return F.out=this.prog.append(F.out,u.out),F}star(u,D){if(u.nullable)return this.quest(this.plus(u,D),D);return this.loop(u,D)}plus(u,D){return new N8(u.i,this.loop(u,D).out,u.nullable)}empty(u){let D=this.newInst(H0.EMPTY_WIDTH);return this.prog.getInst(D.i).arg=u,D.out=D.i<<1,D}rune(u,D){let F=this.newInst(H0.RUNE);F.nullable=!1;let $=this.prog.getInst(F.i);if($.runes=u,D&=u0.FOLD_CASE,u.length!==1||O0.simpleFold(u[0])===u[0])D&=-2;if($.arg=D,F.out=F.i<<1,(D&u0.FOLD_CASE)===0&&u.length===1||u.length===2&&u[0]===u[1])$.op=H0.RUNE1;else if(u.length===2&&u[0]===0&&u[1]===O0.MAX_RUNE)$.op=H0.RUNE_ANY;else if(u.length===4&&u[0]===0&&u[1]===b.CODES.get(`
218
+ `)-1&&u[2]===b.CODES.get(`
219
+ `)+1&&u[3]===O0.MAX_RUNE)$.op=H0.RUNE_ANY_NOT_NL;return F}compile(u){switch(u.op){case E.Op.NO_MATCH:return this.fail();case E.Op.EMPTY_MATCH:return this.nop();case E.Op.LITERAL:if(u.runes.length===0)return this.nop();else{let D=null;for(let F of u.runes){let $=this.rune([F],u.flags);D=D===null?$:this.cat(D,$)}return D}case E.Op.CHAR_CLASS:return this.rune(u.runes,u.flags);case E.Op.ANY_CHAR_NOT_NL:return this.rune(j8.ANY_RUNE_NOT_NL(),0);case E.Op.ANY_CHAR:return this.rune(j8.ANY_RUNE(),0);case E.Op.BEGIN_LINE:return this.empty(v0.EMPTY_BEGIN_LINE);case E.Op.END_LINE:return this.empty(v0.EMPTY_END_LINE);case E.Op.BEGIN_TEXT:return this.empty(v0.EMPTY_BEGIN_TEXT);case E.Op.END_TEXT:return this.empty(v0.EMPTY_END_TEXT);case E.Op.WORD_BOUNDARY:return this.empty(v0.EMPTY_WORD_BOUNDARY);case E.Op.NO_WORD_BOUNDARY:return this.empty(v0.EMPTY_NO_WORD_BOUNDARY);case E.Op.CAPTURE:{let D=this.cap(u.cap<<1),F=this.compile(u.subs[0]),$=this.cap(u.cap<<1|1);return this.cat(this.cat(D,F),$)}case E.Op.STAR:return this.star(this.compile(u.subs[0]),(u.flags&u0.NON_GREEDY)!==0);case E.Op.PLUS:return this.plus(this.compile(u.subs[0]),(u.flags&u0.NON_GREEDY)!==0);case E.Op.QUEST:return this.quest(this.compile(u.subs[0]),(u.flags&u0.NON_GREEDY)!==0);case E.Op.CONCAT:if(u.subs.length===0)return this.nop();else{let D=null;for(let F of u.subs){let $=this.compile(F);D=D===null?$:this.cat(D,$)}return D}case E.Op.ALTERNATE:if(u.subs.length===0)return this.nop();else{let D=null;for(let F of u.subs){let $=this.compile(F);D=D===null?$:this.alt(D,$)}return D}default:throw new XJ("regexp: unhandled case in compile")}}}class PD{static simplify(u){if(u===null)return null;switch(u.op){case E.Op.CAPTURE:case E.Op.CONCAT:case E.Op.ALTERNATE:{let D=u;for(let F=0;F<u.subs.length;F++){let $=u.subs[F],B=PD.simplify($);if(D===u&&B!==$)D=E.fromRegexp(u),D.runes=[],D.subs=u.subs.slice(0,u.subs.length);if(D!==u)D.subs[F]=B}return D}case E.Op.STAR:case E.Op.PLUS:case E.Op.QUEST:{let D=PD.simplify(u.subs[0]);return PD.simplify1(u.op,u.flags,D,u)}case E.Op.REPEAT:{if(u.min===0&&u.max===0)return new E(E.Op.EMPTY_MATCH);let D=PD.simplify(u.subs[0]);if(u.max===-1){if(u.min===0)return PD.simplify1(E.Op.STAR,u.flags,D,null);if(u.min===1)return PD.simplify1(E.Op.PLUS,u.flags,D,null);let $=new E(E.Op.CONCAT),B=[];for(let z=0;z<u.min-1;z++)B.push(D);return B.push(PD.simplify1(E.Op.PLUS,u.flags,D,null)),$.subs=B.slice(0),$}if(u.min===1&&u.max===1)return D;let F=null;if(u.min>0){F=[];for(let $=0;$<u.min;$++)F.push(D)}if(u.max>u.min){let $=PD.simplify1(E.Op.QUEST,u.flags,D,null);for(let B=u.min+1;B<u.max;B++){let z=new E(E.Op.CONCAT);z.subs=[D,$],$=PD.simplify1(E.Op.QUEST,u.flags,z,null)}if(F===null)return $;F.push($)}if(F!==null){let $=new E(E.Op.CONCAT);return $.subs=F.slice(0),$}return new E(E.Op.NO_MATCH)}}return u}static simplify1(u,D,F,$){if(F.op===E.Op.EMPTY_MATCH)return F;if(u===F.op&&(D&u0.NON_GREEDY)===(F.flags&u0.NON_GREEDY))return F;if($!==null&&$.op===u&&($.flags&u0.NON_GREEDY)===(D&u0.NON_GREEDY)&&F===$.subs[0])return $;return $=new E(u),$.flags=D,$.subs=[F],$}}class P0{constructor(u,D){this.sign=u,this.cls=D}}var hW=[48,57],mW=[9,10,12,13,32,32],nW=[48,57,65,90,95,95,97,122],pW=new Map([["\\d",new P0(1,hW)],["\\D",new P0(-1,hW)],["\\s",new P0(1,mW)],["\\S",new P0(-1,mW)],["\\w",new P0(1,nW)],["\\W",new P0(-1,nW)]]),lW=[48,57,65,90,97,122],dW=[65,90,97,122],gW=[0,127],oW=[9,9,32,32],sW=[0,31,127,127],aW=[48,57],rW=[33,126],tW=[97,122],eW=[32,126],uJ=[33,47,58,64,91,96,123,126],DJ=[9,13,32,32],FJ=[65,90],$J=[48,57,65,90,95,95,97,122],BJ=[48,57,65,70,97,102],zJ=new Map([["[:alnum:]",new P0(1,lW)],["[:^alnum:]",new P0(-1,lW)],["[:alpha:]",new P0(1,dW)],["[:^alpha:]",new P0(-1,dW)],["[:ascii:]",new P0(1,gW)],["[:^ascii:]",new P0(-1,gW)],["[:blank:]",new P0(1,oW)],["[:^blank:]",new P0(-1,oW)],["[:cntrl:]",new P0(1,sW)],["[:^cntrl:]",new P0(-1,sW)],["[:digit:]",new P0(1,aW)],["[:^digit:]",new P0(-1,aW)],["[:graph:]",new P0(1,rW)],["[:^graph:]",new P0(-1,rW)],["[:lower:]",new P0(1,tW)],["[:^lower:]",new P0(-1,tW)],["[:print:]",new P0(1,eW)],["[:^print:]",new P0(-1,eW)],["[:punct:]",new P0(1,uJ)],["[:^punct:]",new P0(-1,uJ)],["[:space:]",new P0(1,DJ)],["[:^space:]",new P0(-1,DJ)],["[:upper:]",new P0(1,FJ)],["[:^upper:]",new P0(-1,FJ)],["[:word:]",new P0(1,$J)],["[:^word:]",new P0(-1,$J)],["[:xdigit:]",new P0(1,BJ)],["[:^xdigit:]",new P0(-1,BJ)]]);class Iu{static charClassToString(u,D){let F="[";for(let $=0;$<D;$+=2){if($>0)F+=" ";let B=u[$],z=u[$+1];if(B===z)F+=`0x${B.toString(16)}`;else F+=`0x${B.toString(16)}-0x${z.toString(16)}`}return F+="]",F}static cmp(u,D,F,$){let B=u[D]-F;return B!==0?B:$-u[D+1]}static qsortIntPair(u,D,F){let $=((D+F)/2|0)&-2,B=u[$],z=u[$+1],Z=D,q=F;while(Z<=q){while(Z<F&&Iu.cmp(u,Z,B,z)<0)Z+=2;while(q>D&&Iu.cmp(u,q,B,z)>0)q-=2;if(Z<=q){if(Z!==q){let X=u[Z];u[Z]=u[q],u[q]=X,X=u[Z+1],u[Z+1]=u[q+1],u[q+1]=X}Z+=2,q-=2}}if(D<q)Iu.qsortIntPair(u,D,q);if(Z<F)Iu.qsortIntPair(u,Z,F)}constructor(u=v0.emptyInts()){this.r=u,this.len=u.length}toArray(){if(this.len===this.r.length)return this.r;else return this.r.slice(0,this.len)}cleanClass(){if(this.len<4)return this;Iu.qsortIntPair(this.r,0,this.len-2);let u=2;for(let D=2;D<this.len;D+=2){let F=this.r[D],$=this.r[D+1];if(F<=this.r[u-1]+1){if($>this.r[u-1])this.r[u-1]=$;continue}this.r[u]=F,this.r[u+1]=$,u+=2}return this.len=u,this}appendLiteral(u,D){return(D&u0.FOLD_CASE)!==0?this.appendFoldedRange(u,u):this.appendRange(u,u)}appendRange(u,D){if(this.len>0){for(let F=2;F<=4;F+=2)if(this.len>=F){let $=this.r[this.len-F],B=this.r[this.len-F+1];if(u<=B+1&&$<=D+1){if(u<$)this.r[this.len-F]=u;if(D>B)this.r[this.len-F+1]=D;return this}}}return this.r[this.len++]=u,this.r[this.len++]=D,this}appendFoldedRange(u,D){if(u<=O0.MIN_FOLD&&D>=O0.MAX_FOLD)return this.appendRange(u,D);if(D<O0.MIN_FOLD||u>O0.MAX_FOLD)return this.appendRange(u,D);if(u<O0.MIN_FOLD)this.appendRange(u,O0.MIN_FOLD-1),u=O0.MIN_FOLD;if(D>O0.MAX_FOLD)this.appendRange(O0.MAX_FOLD+1,D),D=O0.MAX_FOLD;for(let F=u;F<=D;F++){this.appendRange(F,F);for(let $=O0.simpleFold(F);$!==F;$=O0.simpleFold($))this.appendRange($,$)}return this}appendClass(u){for(let D=0;D<u.length;D+=2)this.appendRange(u[D],u[D+1]);return this}appendFoldedClass(u){for(let D=0;D<u.length;D+=2)this.appendFoldedRange(u[D],u[D+1]);return this}appendNegatedClass(u){let D=0;for(let F=0;F<u.length;F+=2){let $=u[F],B=u[F+1];if(D<=$-1)this.appendRange(D,$-1);D=B+1}if(D<=O0.MAX_RUNE)this.appendRange(D,O0.MAX_RUNE);return this}appendTable(u){for(let D=0;D<u.length;++D){let F=u.getLo(D),$=u.getHi(D),B=u.getStride(D);if(B===1){this.appendRange(F,$);continue}for(let z=F;z<=$;z+=B)this.appendRange(z,z)}return this}appendNegatedTable(u){let D=0;for(let F=0;F<u.length;++F){let $=u.getLo(F),B=u.getHi(F),z=u.getStride(F);if(z===1){if(D<=$-1)this.appendRange(D,$-1);D=B+1;continue}for(let Z=$;Z<=B;Z+=z){if(D<=Z-1)this.appendRange(D,Z-1);D=Z+1}}if(D<=O0.MAX_RUNE)this.appendRange(D,O0.MAX_RUNE);return this}appendTableWithSign(u,D){return D<0?this.appendNegatedTable(u):this.appendTable(u)}negateClass(){let u=0,D=0;for(let F=0;F<this.len;F+=2){let $=this.r[F],B=this.r[F+1];if(u<=$-1)this.r[D]=u,this.r[D+1]=$-1,D+=2;u=B+1}if(this.len=D,u<=O0.MAX_RUNE)this.r[this.len++]=u,this.r[this.len++]=O0.MAX_RUNE;return this}appendClassWithSign(u,D){return D<0?this.appendNegatedClass(u):this.appendClass(u)}appendGroup(u,D){let F=u.cls;if(D)F=new Iu().appendFoldedClass(F).cleanClass().toArray();return this.appendClassWithSign(F,u.sign)}toString(){return Iu.charClassToString(this.r,this.len)}}class I8{static of(u,D){return new I8(u,D)}constructor(u,D){this.first=u,this.second=D}}class KJ{constructor(u){this.str=u,this.position=0}pos(){return this.position}rewindTo(u){this.position=u}more(){return this.position<this.str.length}peek(){return this.str.codePointAt(this.position)}skip(u){this.position+=u}skipString(u){this.position+=u.length}pop(){let u=this.str.codePointAt(this.position);return this.position+=v0.charCount(u),u}lookingAt(u){return this.rest().startsWith(u)}rest(){return this.str.substring(this.position)}from(u){return this.str.substring(u,this.position)}toString(){return this.rest()}}class G0{static ERR_INTERNAL_ERROR="regexp/syntax: internal error";static ERR_INVALID_CHAR_RANGE="invalid character class range";static ERR_INVALID_ESCAPE="invalid escape sequence";static ERR_INVALID_NAMED_CAPTURE="invalid named capture";static ERR_INVALID_PERL_OP="invalid or unsupported Perl syntax";static ERR_INVALID_REPEAT_OP="invalid nested repetition operator";static ERR_INVALID_REPEAT_SIZE="invalid repeat count";static ERR_MISSING_BRACKET="missing closing ]";static ERR_MISSING_PAREN="missing closing )";static ERR_MISSING_REPEAT_ARGUMENT="missing argument to repetition operator";static ERR_TRAILING_BACKSLASH="trailing backslash at end of expression";static ERR_DUPLICATE_NAMED_CAPTURE="duplicate capture group name";static ERR_UNEXPECTED_PAREN="unexpected )";static ERR_NESTING_DEPTH="expression nests too deeply";static ERR_LARGE="expression too large";static MAX_HEIGHT=1000;static MAX_SIZE=3355443;static MAX_RUNES=33554432;static ANY_TABLE=new i(new Uint32Array([0,O0.MAX_RUNE,1]));static unicodeTable(u){if(u==="Any")return I8.of(G0.ANY_TABLE,G0.ANY_TABLE);if(w.CATEGORIES.has(u))return I8.of(w.CATEGORIES.get(u),w.FOLD_CATEGORIES.get(u));if(w.SCRIPTS.has(u))return I8.of(w.SCRIPTS.get(u),w.FOLD_SCRIPT.get(u));return null}static minFoldRune(u){if(u<O0.MIN_FOLD||u>O0.MAX_FOLD)return u;let D=u,F=u;for(u=O0.simpleFold(u);u!==F;u=O0.simpleFold(u))if(D>u)D=u;return D}static leadingRegexp(u){if(u.op===E.Op.EMPTY_MATCH)return null;if(u.op===E.Op.CONCAT&&u.subs.length>0){let D=u.subs[0];if(D.op===E.Op.EMPTY_MATCH)return null;return D}return u}static literalRegexp(u,D){let F=new E(E.Op.LITERAL);return F.flags=D,F.runes=v0.stringToRunes(u),F}static parse(u,D){return new G0(u,D).parseInternal()}static parseRepeat(u){let D=u.pos();if(!u.more()||!u.lookingAt("{"))return-1;u.skip(1);let F=G0.parseInt(u);if(F===-1)return-1;if(!u.more())return-1;let $;if(!u.lookingAt(","))$=F;else{if(u.skip(1),!u.more())return-1;if(u.lookingAt("}"))$=-1;else if(($=G0.parseInt(u))===-1)return-1}if(!u.more()||!u.lookingAt("}"))return-1;if(u.skip(1),F<0||F>1000||$===-2||$>1000||$>=0&&F>$)throw new n0(G0.ERR_INVALID_REPEAT_SIZE,u.from(D));return F<<16|$&O0.MAX_BMP}static isValidCaptureName(u){if(u.length===0)return!1;for(let D=0;D<u.length;D++){let F=u.codePointAt(D);if(F!==b.CODES.get("_")&&!v0.isalnum(F))return!1}return!0}static parseInt(u){let D=u.pos();while(u.more()&&u.peek()>=b.CODES.get("0")&&u.peek()<=b.CODES.get("9"))u.skip(1);let F=u.from(D);if(F.length===0||F.length>1&&F.codePointAt(0)===b.CODES.get("0"))return-1;if(F.length>8)return-2;return parseFloat(F,10)}static isCharClass(u){return u.op===E.Op.LITERAL&&u.runes.length===1||u.op===E.Op.CHAR_CLASS||u.op===E.Op.ANY_CHAR_NOT_NL||u.op===E.Op.ANY_CHAR}static matchRune(u,D){switch(u.op){case E.Op.LITERAL:return u.runes.length===1&&u.runes[0]===D;case E.Op.CHAR_CLASS:for(let F=0;F<u.runes.length;F+=2)if(u.runes[F]<=D&&D<=u.runes[F+1])return!0;return!1;case E.Op.ANY_CHAR_NOT_NL:return D!==b.CODES.get(`
220
+ `);case E.Op.ANY_CHAR:return!0}return!1}static mergeCharClass(u,D){switch(u.op){case E.Op.ANY_CHAR:break;case E.Op.ANY_CHAR_NOT_NL:if(G0.matchRune(D,b.CODES.get(`
221
+ `)))u.op=E.Op.ANY_CHAR;break;case E.Op.CHAR_CLASS:if(D.op===E.Op.LITERAL)u.runes=new Iu(u.runes).appendLiteral(D.runes[0],D.flags).toArray();else u.runes=new Iu(u.runes).appendClass(D.runes).toArray();break;case E.Op.LITERAL:if(D.runes[0]===u.runes[0]&&D.flags===u.flags)break;u.op=E.Op.CHAR_CLASS,u.runes=new Iu().appendLiteral(u.runes[0],u.flags).appendLiteral(D.runes[0],D.flags).toArray();break}}static parseEscape(u){let D=u.pos();if(u.skip(1),!u.more())throw new n0(G0.ERR_TRAILING_BACKSLASH);let F=u.pop();u:switch(F){case b.CODES.get("1"):case b.CODES.get("2"):case b.CODES.get("3"):case b.CODES.get("4"):case b.CODES.get("5"):case b.CODES.get("6"):case b.CODES.get("7"):if(!u.more()||u.peek()<b.CODES.get("0")||u.peek()>b.CODES.get("7"))break;case b.CODES.get("0"):{let $=F-b.CODES.get("0");for(let B=1;B<3;B++){if(!u.more()||u.peek()<b.CODES.get("0")||u.peek()>b.CODES.get("7"))break;$=$*8+u.peek()-b.CODES.get("0"),u.skip(1)}return $}case b.CODES.get("x"):{if(!u.more())break;if(F=u.pop(),F===b.CODES.get("{")){let z=0,Z=0;while(!0){if(!u.more())break u;if(F=u.pop(),F===b.CODES.get("}"))break;let q=v0.unhex(F);if(q<0)break u;if(Z=Z*16+q,Z>O0.MAX_RUNE)break u;z++}if(z===0)break u;return Z}let $=v0.unhex(F);if(!u.more())break;F=u.pop();let B=v0.unhex(F);if($<0||B<0)break;return $*16+B}case b.CODES.get("a"):return b.CODES.get("\x07");case b.CODES.get("f"):return b.CODES.get("\f");case b.CODES.get("n"):return b.CODES.get(`
222
+ `);case b.CODES.get("r"):return b.CODES.get("\r");case b.CODES.get("t"):return b.CODES.get("\t");case b.CODES.get("v"):return b.CODES.get("\v");default:if(F<=O0.MAX_ASCII&&!v0.isalnum(F))return F;break}throw new n0(G0.ERR_INVALID_ESCAPE,u.from(D))}static parseClassChar(u,D){if(!u.more())throw new n0(G0.ERR_MISSING_BRACKET,u.from(D));if(u.lookingAt("\\"))return G0.parseEscape(u);return u.pop()}static concatRunes(u,D){return[...u,...D]}constructor(u,D=0){this.wholeRegexp=u,this.flags=D,this.numCap=0,this.namedGroups={},this.stack=[],this.free=null,this.numRegexp=0,this.numRunes=0,this.repeats=0,this.height=null,this.size=null}newRegexp(u){let D=this.free;if(D!==null&&D.subs!==null&&D.subs.length>0)this.free=D.subs[0],D.reinit(),D.op=u;else D=new E(u),this.numRegexp+=1;return D}reuse(u){if(this.height!==null&&Object.prototype.hasOwnProperty.call(this.height,u))delete this.height[u];if(u.subs!==null&&u.subs.length>0)u.subs[0]=this.free;this.free=u}checkLimits(u){if(this.numRunes>G0.MAX_RUNES)throw new n0(G0.ERR_LARGE);this.checkSize(u),this.checkHeight(u)}checkSize(u){if(this.size===null){if(this.repeats===0)this.repeats=1;if(u.op===E.Op.REPEAT){let D=u.max;if(D===-1)D=u.min;if(D<=0)D=1;if(D>G0.MAX_SIZE/this.repeats)this.repeats=G0.MAX_SIZE;else this.repeats*=D}if(this.numRegexp<G0.MAX_SIZE/this.repeats)return;this.size={};for(let D of this.stack)this.checkSize(D)}if(this.calcSize(u,!0)>G0.MAX_SIZE)throw new n0(G0.ERR_LARGE)}calcSize(u,D=!1){if(!D){if(Object.prototype.hasOwnProperty.call(this.size,u))return this.size[u]}let F=0;switch(u.op){case E.Op.LITERAL:{F=u.runes.length;break}case E.Op.CAPTURE:case E.Op.STAR:{F=2+this.calcSize(u.subs[0]);break}case E.Op.PLUS:case E.Op.QUEST:{F=1+this.calcSize(u.subs[0]);break}case E.Op.CONCAT:{for(let $ of u.subs)F=F+this.calcSize($);break}case E.Op.ALTERNATE:{for(let $ of u.subs)F=F+this.calcSize($);if(u.subs.length>1)F=F+u.subs.length-1;break}case E.Op.REPEAT:{let $=this.calcSize(u.subs[0]);if(u.max===-1){if(u.min===0)F=2+$;else F=1+u.min*$;break}F=u.max*$+(u.max-u.min);break}}return F=Math.max(1,F),this.size[u]=F,F}checkHeight(u){if(this.numRegexp<G0.MAX_HEIGHT)return;if(this.height===null){this.height={};for(let D of this.stack)this.checkHeight(D)}if(this.calcHeight(u,!0)>G0.MAX_HEIGHT)throw new n0(G0.ERR_NESTING_DEPTH)}calcHeight(u,D=!1){if(!D){if(Object.prototype.hasOwnProperty.call(this.height,u))return this.height[u]}let F=1;for(let $ of u.subs){let B=this.calcHeight($);if(F<1+B)F=1+B}return this.height[u]=F,F}pop(){return this.stack.pop()}popToPseudo(){let u=this.stack.length,D=u;while(D>0&&!E.isPseudoOp(this.stack[D-1].op))D--;let F=this.stack.slice(D,u);return this.stack=this.stack.slice(0,D),F}push(u){if(this.numRunes+=u.runes.length,u.op===E.Op.CHAR_CLASS&&u.runes.length===2&&u.runes[0]===u.runes[1]){if(this.maybeConcat(u.runes[0],this.flags&-2))return null;u.op=E.Op.LITERAL,u.runes=[u.runes[0]],u.flags=this.flags&-2}else if(u.op===E.Op.CHAR_CLASS&&u.runes.length===4&&u.runes[0]===u.runes[1]&&u.runes[2]===u.runes[3]&&O0.simpleFold(u.runes[0])===u.runes[2]&&O0.simpleFold(u.runes[2])===u.runes[0]||u.op===E.Op.CHAR_CLASS&&u.runes.length===2&&u.runes[0]+1===u.runes[1]&&O0.simpleFold(u.runes[0])===u.runes[1]&&O0.simpleFold(u.runes[1])===u.runes[0]){if(this.maybeConcat(u.runes[0],this.flags|u0.FOLD_CASE))return null;u.op=E.Op.LITERAL,u.runes=[u.runes[0]],u.flags=this.flags|u0.FOLD_CASE}else this.maybeConcat(-1,0);return this.stack.push(u),this.checkLimits(u),u}maybeConcat(u,D){let F=this.stack.length;if(F<2)return!1;let $=this.stack[F-1],B=this.stack[F-2];if($.op!==E.Op.LITERAL||B.op!==E.Op.LITERAL||($.flags&u0.FOLD_CASE)!==(B.flags&u0.FOLD_CASE))return!1;if(B.runes=G0.concatRunes(B.runes,$.runes),u>=0)return $.runes=[u],$.flags=D,!0;return this.pop(),this.reuse($),!1}newLiteral(u,D){let F=this.newRegexp(E.Op.LITERAL);if(F.flags=D,(D&u0.FOLD_CASE)!==0)u=G0.minFoldRune(u);return F.runes=[u],F}literal(u){this.push(this.newLiteral(u,this.flags))}op(u){let D=this.newRegexp(u);return D.flags=this.flags,this.push(D)}repeat(u,D,F,$,B,z){let Z=this.flags;if((Z&u0.PERL_X)!==0){if(B.more()&&B.lookingAt("?"))B.skip(1),Z^=u0.NON_GREEDY;if(z!==-1)throw new n0(G0.ERR_INVALID_REPEAT_OP,B.from(z))}let q=this.stack.length;if(q===0)throw new n0(G0.ERR_MISSING_REPEAT_ARGUMENT,B.from($));let X=this.stack[q-1];if(E.isPseudoOp(X.op))throw new n0(G0.ERR_MISSING_REPEAT_ARGUMENT,B.from($));let Q=this.newRegexp(u);if(Q.min=D,Q.max=F,Q.flags=Z,Q.subs=[X],this.stack[q-1]=Q,this.checkLimits(Q),u===E.Op.REPEAT&&(D>=2||F>=2)&&!this.repeatIsValid(Q,1000))throw new n0(G0.ERR_INVALID_REPEAT_SIZE,B.from($))}repeatIsValid(u,D){if(u.op===E.Op.REPEAT){let F=u.max;if(F===0)return!0;if(F<0)F=u.min;if(F>D)return!1;if(F>0)D=Math.trunc(D/F)}for(let F of u.subs)if(!this.repeatIsValid(F,D))return!1;return!0}concat(){this.maybeConcat(-1,0);let u=this.popToPseudo();if(u.length===0)return this.push(this.newRegexp(E.Op.EMPTY_MATCH));return this.push(this.collapse(u,E.Op.CONCAT))}alternate(){let u=this.popToPseudo();if(u.length>0)this.cleanAlt(u[u.length-1]);if(u.length===0)return this.push(this.newRegexp(E.Op.NO_MATCH));return this.push(this.collapse(u,E.Op.ALTERNATE))}cleanAlt(u){if(u.op===E.Op.CHAR_CLASS){if(u.runes=new Iu(u.runes).cleanClass().toArray(),u.runes.length===2&&u.runes[0]===0&&u.runes[1]===O0.MAX_RUNE)u.runes=[],u.op=E.Op.ANY_CHAR;else if(u.runes.length===4&&u.runes[0]===0&&u.runes[1]===b.CODES.get(`
223
+ `)-1&&u.runes[2]===b.CODES.get(`
224
+ `)+1&&u.runes[3]===O0.MAX_RUNE)u.runes=[],u.op=E.Op.ANY_CHAR_NOT_NL}}collapse(u,D){if(u.length===1)return u[0];let F=0;for(let Z of u)F+=Z.op===D?Z.subs.length:1;let $=Array(F).fill(null),B=0;for(let Z of u)if(Z.op===D)$.splice(B,Z.subs.length,...Z.subs),B+=Z.subs.length,this.reuse(Z);else $[B++]=Z;let z=this.newRegexp(D);if(z.subs=$,D===E.Op.ALTERNATE){if(z.subs=this.factor(z.subs),z.subs.length===1){let Z=z;z=z.subs[0],this.reuse(Z)}}return z}factor(u){if(u.length<2)return u;let D=0,F=u.length,$=0,B=null,z=0,Z=0,q=0;for(let Q=0;Q<=F;Q++){let Y=null,W=0,J=0;if(Q<F){let G=u[D+Q];if(G.op===E.Op.CONCAT&&G.subs.length>0)G=G.subs[0];if(G.op===E.Op.LITERAL)Y=G.runes,W=G.runes.length,J=G.flags&u0.FOLD_CASE;if(J===Z){let f=0;while(f<z&&f<W&&B[f]===Y[f])f++;if(f>0){z=f;continue}}}if(Q===q);else if(Q===q+1)u[$++]=u[D+q];else{let G=this.newRegexp(E.Op.LITERAL);G.flags=Z,G.runes=B.slice(0,z);for(let x=q;x<Q;x++)u[D+x]=this.removeLeadingString(u[D+x],z),this.checkLimits(u[D+x]);let f=this.collapse(u.slice(D+q,D+Q),E.Op.ALTERNATE),K=this.newRegexp(E.Op.CONCAT);K.subs=[G,f],u[$++]=K}q=Q,B=Y,z=W,Z=J}F=$,D=0,q=0,$=0;let X=null;for(let Q=0;Q<=F;Q++){let Y=null;if(Q<F){if(Y=G0.leadingRegexp(u[D+Q]),X!==null&&X.equals(Y)&&(G0.isCharClass(X)||X.op===E.Op.REPEAT&&X.min===X.max&&G0.isCharClass(X.subs[0])))continue}if(Q===q);else if(Q===q+1)u[$++]=u[D+q];else{let W=X;for(let f=q;f<Q;f++){let K=f!==q;u[D+f]=this.removeLeadingRegexp(u[D+f],K),this.checkLimits(u[D+f])}let J=this.collapse(u.slice(D+q,D+Q),E.Op.ALTERNATE),G=this.newRegexp(E.Op.CONCAT);G.subs=[W,J],u[$++]=G}q=Q,X=Y}F=$,D=0,q=0,$=0;for(let Q=0;Q<=F;Q++){if(Q<F&&G0.isCharClass(u[D+Q]))continue;if(Q===q);else if(Q===q+1)u[$++]=u[D+q];else{let Y=q;for(let J=q+1;J<Q;J++){let G=u[D+Y],f=u[D+J];if(G.op<f.op||G.op===f.op&&(G.runes!==null?G.runes.length:0)<(f.runes!==null?f.runes.length:0))Y=J}let W=u[D+q];u[D+q]=u[D+Y],u[D+Y]=W;for(let J=q+1;J<Q;J++)G0.mergeCharClass(u[D+q],u[D+J]),this.reuse(u[D+J]);this.cleanAlt(u[D+q]),u[$++]=u[D+q]}if(Q<F)u[$++]=u[D+Q];q=Q+1}F=$,D=0,q=0,$=0;for(let Q=0;Q<F;++Q){if(Q+1<F&&u[D+Q].op===E.Op.EMPTY_MATCH&&u[D+Q+1].op===E.Op.EMPTY_MATCH)continue;u[$++]=u[D+Q]}return F=$,D=0,u.slice(D,F)}removeLeadingString(u,D){if(u.op===E.Op.CONCAT&&u.subs.length>0){let F=this.removeLeadingString(u.subs[0],D);if(u.subs[0]=F,F.op===E.Op.EMPTY_MATCH)switch(this.reuse(F),u.subs.length){case 0:case 1:u.op=E.Op.EMPTY_MATCH,u.subs=null;break;case 2:{let $=u;u=u.subs[1],this.reuse($);break}default:u.subs=u.subs.slice(1,u.subs.length);break}return u}if(u.op===E.Op.LITERAL){if(u.runes=u.runes.slice(D,u.runes.length),u.runes.length===0)u.op=E.Op.EMPTY_MATCH}return u}removeLeadingRegexp(u,D){if(u.op===E.Op.CONCAT&&u.subs.length>0){if(D)this.reuse(u.subs[0]);switch(u.subs=u.subs.slice(1,u.subs.length),u.subs.length){case 0:{u.op=E.Op.EMPTY_MATCH,u.subs=E.emptySubs();break}case 1:{let F=u;u=u.subs[0],this.reuse(F);break}}return u}if(D)this.reuse(u);return this.newRegexp(E.Op.EMPTY_MATCH)}parseInternal(){if((this.flags&u0.LITERAL)!==0)return G0.literalRegexp(this.wholeRegexp,this.flags);let u=-1,D=-1,F=-1,$=new KJ(this.wholeRegexp);while($.more()){let z=-1;u:switch($.peek()){case b.CODES.get("("):if((this.flags&u0.PERL_X)!==0&&$.lookingAt("(?")){this.parsePerlFlags($);break}this.op(E.Op.LEFT_PAREN).cap=++this.numCap,$.skip(1);break;case b.CODES.get("|"):this.parseVerticalBar(),$.skip(1);break;case b.CODES.get(")"):this.parseRightParen(),$.skip(1);break;case b.CODES.get("^"):if((this.flags&u0.ONE_LINE)!==0)this.op(E.Op.BEGIN_TEXT);else this.op(E.Op.BEGIN_LINE);$.skip(1);break;case b.CODES.get("$"):if((this.flags&u0.ONE_LINE)!==0)this.op(E.Op.END_TEXT).flags|=u0.WAS_DOLLAR;else this.op(E.Op.END_LINE);$.skip(1);break;case b.CODES.get("."):if((this.flags&u0.DOT_NL)!==0)this.op(E.Op.ANY_CHAR);else this.op(E.Op.ANY_CHAR_NOT_NL);$.skip(1);break;case b.CODES.get("["):this.parseClass($);break;case b.CODES.get("*"):case b.CODES.get("+"):case b.CODES.get("?"):{z=$.pos();let Z=null;switch($.pop()){case b.CODES.get("*"):Z=E.Op.STAR;break;case b.CODES.get("+"):Z=E.Op.PLUS;break;case b.CODES.get("?"):Z=E.Op.QUEST;break}this.repeat(Z,D,F,z,$,u);break}case b.CODES.get("{"):{z=$.pos();let Z=G0.parseRepeat($);if(Z<0){$.rewindTo(z),this.literal($.pop());break}D=Z>>16,F=(Z&O0.MAX_BMP)<<16>>16,this.repeat(E.Op.REPEAT,D,F,z,$,u);break}case b.CODES.get("\\"):{let Z=$.pos();if($.skip(1),(this.flags&u0.PERL_X)!==0&&$.more())switch($.pop()){case b.CODES.get("A"):this.op(E.Op.BEGIN_TEXT);break u;case b.CODES.get("b"):this.op(E.Op.WORD_BOUNDARY);break u;case b.CODES.get("B"):this.op(E.Op.NO_WORD_BOUNDARY);break u;case b.CODES.get("C"):throw new n0(G0.ERR_INVALID_ESCAPE,"\\C");case b.CODES.get("Q"):{let Y=$.rest(),W=Y.indexOf("\\E");if(W>=0)Y=Y.substring(0,W);$.skipString(Y),$.skipString("\\E");let J=0;while(J<Y.length){let G=Y.codePointAt(J);this.literal(G),J+=v0.charCount(G)}break u}case b.CODES.get("z"):this.op(E.Op.END_TEXT);break u;default:$.rewindTo(Z);break}let q=this.newRegexp(E.Op.CHAR_CLASS);if(q.flags=this.flags,$.lookingAt("\\p")||$.lookingAt("\\P")){let Q=new Iu;if(this.parseUnicodeClass($,Q)){q.runes=Q.toArray(),this.push(q);break u}}let X=new Iu;if(this.parsePerlClassEscape($,X)){q.runes=X.toArray(),this.push(q);break u}$.rewindTo(Z),this.reuse(q),this.literal(G0.parseEscape($));break}default:this.literal($.pop());break}u=z}if(this.concat(),this.swapVerticalBar())this.pop();if(this.alternate(),this.stack.length!==1)throw new n0(G0.ERR_MISSING_PAREN,this.wholeRegexp);return this.stack[0].namedGroups=this.namedGroups,this.stack[0]}parsePerlFlags(u){let D=u.pos(),F=u.rest();if(F.startsWith("(?P<")||F.startsWith("(?<")){let Z=F.charAt(2)==="P"?4:3,q=F.indexOf(">");if(q<0)throw new n0(G0.ERR_INVALID_NAMED_CAPTURE,F);let X=F.substring(Z,q);if(u.skipString(X),u.skip(Z+1),!G0.isValidCaptureName(X))throw new n0(G0.ERR_INVALID_NAMED_CAPTURE,F.substring(0,q+1));let Q=this.op(E.Op.LEFT_PAREN);if(Q.cap=++this.numCap,this.namedGroups[X])throw new n0(G0.ERR_DUPLICATE_NAMED_CAPTURE,X);this.namedGroups[X]=this.numCap,Q.name=X;return}u.skip(2);let $=this.flags,B=1,z=!1;u:while(u.more()){let Z=u.pop();switch(Z){case b.CODES.get("i"):$|=u0.FOLD_CASE,z=!0;break;case b.CODES.get("m"):$&=-17,z=!0;break;case b.CODES.get("s"):$|=u0.DOT_NL,z=!0;break;case b.CODES.get("U"):$|=u0.NON_GREEDY,z=!0;break;case b.CODES.get("-"):if(B<0)break u;B=-1,$=~$,z=!1;break;case b.CODES.get(":"):case b.CODES.get(")"):if(B<0){if(!z)break u;$=~$}if(Z===b.CODES.get(":"))this.op(E.Op.LEFT_PAREN);this.flags=$;return;default:break u}}throw new n0(G0.ERR_INVALID_PERL_OP,u.from(D))}parseVerticalBar(){if(this.concat(),!this.swapVerticalBar())this.op(E.Op.VERTICAL_BAR)}swapVerticalBar(){let u=this.stack.length;if(u>=3&&this.stack[u-2].op===E.Op.VERTICAL_BAR&&G0.isCharClass(this.stack[u-1])&&G0.isCharClass(this.stack[u-3])){let D=this.stack[u-1],F=this.stack[u-3];if(D.op>F.op){let $=F;F=D,D=$,this.stack[u-3]=F}return G0.mergeCharClass(F,D),this.reuse(D),this.pop(),!0}if(u>=2){let D=this.stack[u-1],F=this.stack[u-2];if(F.op===E.Op.VERTICAL_BAR){if(u>=3)this.cleanAlt(this.stack[u-3]);return this.stack[u-2]=D,this.stack[u-1]=F,!0}}return!1}parseRightParen(){if(this.concat(),this.swapVerticalBar())this.pop();if(this.alternate(),this.stack.length<2)throw new n0(G0.ERR_UNEXPECTED_PAREN,this.wholeRegexp);let D=this.pop(),F=this.pop();if(F.op!==E.Op.LEFT_PAREN)throw new n0(G0.ERR_UNEXPECTED_PAREN,this.wholeRegexp);if(this.flags=F.flags,F.cap===0)this.push(D);else F.op=E.Op.CAPTURE,F.subs=[D],this.push(F)}parsePerlClassEscape(u,D){let F=u.pos();if((this.flags&u0.PERL_X)===0||!u.more()||u.pop()!==b.CODES.get("\\")||!u.more())return!1;u.pop();let $=u.from(F),B=pW.has($)?pW.get($):null;if(B===null)return!1;return D.appendGroup(B,(this.flags&u0.FOLD_CASE)!==0),!0}parseNamedClass(u,D){let F=u.rest(),$=F.indexOf(":]");if($<0)return!1;let B=F.substring(0,$+2);u.skipString(B);let z=zJ.has(B)?zJ.get(B):null;if(z===null)throw new n0(G0.ERR_INVALID_CHAR_RANGE,B);return D.appendGroup(z,(this.flags&u0.FOLD_CASE)!==0),!0}parseUnicodeClass(u,D){let F=u.pos();if((this.flags&u0.UNICODE_GROUPS)===0||!u.lookingAt("\\p")&&!u.lookingAt("\\P"))return!1;u.skip(1);let $=1,B=u.pop();if(B===b.CODES.get("P"))$=-1;if(!u.more())throw u.rewindTo(F),new n0(G0.ERR_INVALID_CHAR_RANGE,u.rest());B=u.pop();let z;if(B!==b.CODES.get("{"))z=v0.runeToString(B);else{let Q=u.rest(),Y=Q.indexOf("}");if(Y<0)throw u.rewindTo(F),new n0(G0.ERR_INVALID_CHAR_RANGE,u.rest());z=Q.substring(0,Y),u.skipString(z),u.skip(1)}if(z.length!==0&&z.codePointAt(0)===b.CODES.get("^"))$=0-$,z=z.substring(1);let Z=G0.unicodeTable(z);if(Z===null)throw new n0(G0.ERR_INVALID_CHAR_RANGE,u.from(F));let{first:q,second:X}=Z;if((this.flags&u0.FOLD_CASE)===0||X===null)D.appendTableWithSign(q,$);else{let Q=new Iu().appendTable(q).appendTable(X).cleanClass().toArray();D.appendClassWithSign(Q,$)}return!0}parseClass(u){let D=u.pos();u.skip(1);let F=this.newRegexp(E.Op.CHAR_CLASS);F.flags=this.flags;let $=new Iu,B=1;if(u.more()&&u.lookingAt("^")){if(B=-1,u.skip(1),(this.flags&u0.CLASS_NL)===0)$.appendRange(b.CODES.get(`
225
+ `),b.CODES.get(`
226
+ `))}let z=!0;while(!u.more()||u.peek()!==b.CODES.get("]")||z){if(u.more()&&u.lookingAt("-")&&(this.flags&u0.PERL_X)===0&&!z){let Q=u.rest();if(Q==="-"||!Q.startsWith("-]"))throw u.rewindTo(D),new n0(G0.ERR_INVALID_CHAR_RANGE,u.rest())}z=!1;let Z=u.pos();if(u.lookingAt("[:")){if(this.parseNamedClass(u,$))continue;u.rewindTo(Z)}if(this.parseUnicodeClass(u,$))continue;if(this.parsePerlClassEscape(u,$))continue;u.rewindTo(Z);let q=G0.parseClassChar(u,D),X=q;if(u.more()&&u.lookingAt("-")){if(u.skip(1),u.more()&&u.lookingAt("]"))u.skip(-1);else if(X=G0.parseClassChar(u,D),X<q)throw new n0(G0.ERR_INVALID_CHAR_RANGE,u.from(Z))}if((this.flags&u0.FOLD_CASE)===0)$.appendRange(q,X);else $.appendFoldedRange(q,X)}if(u.skip(1),$.cleanClass(),B<0)$.negateClass();F.runes=$.toArray(),this.push(F)}}class xJ{constructor(u){this.value=u}get(){return this.value}set(u){this.value=u}compareAndSet(u,D){if(this.value===u)return this.value=D,!0;return!1}}class b1{static initTest(u){let D=b1.compile(u),F=new b1(D.expr,D.prog,D.numSubexp,D.longest);return F.cond=D.cond,F.prefix=D.prefix,F.prefixUTF8=D.prefixUTF8,F.prefixComplete=D.prefixComplete,F.prefixRune=D.prefixRune,F}static compile(u){return b1.compileImpl(u,u0.PERL,!1)}static compilePOSIX(u){return b1.compileImpl(u,u0.POSIX,!0)}static compileImpl(u,D,F){let $=G0.parse(u,D),B=$.maxCap();$=PD.simplify($);let z=j8.compileRegexp($),Z=new b1(u,z,B,F),[q,X]=z.prefix();if(Z.prefixComplete=q,Z.prefix=X,Z.prefixUTF8=v0.stringToUtf8ByteArray(Z.prefix),Z.prefix.length>0)Z.prefixRune=Z.prefix.codePointAt(0);return Z.namedGroups=$.namedGroups,Z}static match(u,D){return b1.compile(u).match(D)}constructor(u,D,F=0,$=0){this.expr=u,this.prog=D,this.numSubexp=F,this.longest=$,this.cond=D.startCond(),this.prefix=null,this.prefixUTF8=null,this.prefixComplete=!1,this.prefixRune=0,this.pooled=new xJ}numberOfCapturingGroups(){return this.numSubexp}numberOfInstructions(){return this.prog.numInst()}get(){let u;do u=this.pooled.get();while(u&&!this.pooled.compareAndSet(u,u.next));return u}reset(){this.pooled.set(null)}put(u,D){let F=this.pooled.get();do{if(F=this.pooled.get(),!D&&F)u=Y6.fromMachine(u),D=!0;if(u.next!==F)u.next=F}while(!this.pooled.compareAndSet(F,u))}toString(){return this.expr}doExecute(u,D,F,$){let B=this.get(),z=!1;if(!B)B=Y6.fromRE2(this),z=!0;else if(B.next!==null)B=Y6.fromMachine(B),z=!0;B.init($);let Z=B.match(u,D,F)?B.submatches():null;return this.put(B,z),Z}match(u){return this.doExecute(zu.fromUTF16(u),0,u0.UNANCHORED,0)!==null}matchWithGroup(u,D,F,$,B){if(!(u instanceof Y1))u=E8.utf16(u);return this.matchMachineInput(u,D,F,$,B)}matchMachineInput(u,D,F,$,B){if(D>F)return[!1,null];let z=u.isUTF16Encoding()?zu.fromUTF16(u.asCharSequence(),0,F):zu.fromUTF8(u.asBytes(),0,F),Z=this.doExecute(z,D,$,2*B);if(Z===null)return[!1,null];return[!0,Z]}matchUTF8(u){return this.doExecute(zu.fromUTF8(u),0,u0.UNANCHORED,0)!==null}replaceAll(u,D){return this.replaceAllFunc(u,()=>D,2*u.length+1)}replaceFirst(u,D){return this.replaceAllFunc(u,()=>D,1)}replaceAllFunc(u,D,F){let $=0,B=0,z="",Z=zu.fromUTF16(u),q=0;while(B<=u.length){let X=this.doExecute(Z,B,u0.UNANCHORED,2);if(X===null||X.length===0)break;if(z+=u.substring($,X[0]),X[1]>$||X[0]===0)z+=D(u.substring(X[0],X[1])),q++;$=X[1];let Q=Z.step(B)&7;if(B+Q>X[1])B+=Q;else if(B+1>X[1])B++;else B=X[1];if(q>=F)break}return z+=u.substring($),z}pad(u){if(u===null)return null;let D=(1+this.numSubexp)*2;if(u.length<D){let F=Array(D).fill(-1);for(let $=0;$<u.length;$++)F[$]=u[$];u=F}return u}allMatches(u,D,F=($)=>$){let $=[],B=u.endPos();if(D<0)D=B+1;let z=0,Z=0,q=-1;while(Z<D&&z<=B){let X=this.doExecute(u,z,u0.UNANCHORED,this.prog.numCap);if(X===null||X.length===0)break;let Q=!0;if(X[1]===z){if(X[0]===q)Q=!1;let Y=u.step(z);if(Y<0)z=B+1;else z+=Y&7}else z=X[1];if(q=X[1],Q)$.push(F(this.pad(X))),Z++}return $}findUTF8(u){let D=this.doExecute(zu.fromUTF8(u),0,u0.UNANCHORED,2);if(D===null)return null;return u.slice(D[0],D[1])}findUTF8Index(u){let D=this.doExecute(zu.fromUTF8(u),0,u0.UNANCHORED,2);if(D===null)return null;return D.slice(0,2)}find(u){let D=this.doExecute(zu.fromUTF16(u),0,u0.UNANCHORED,2);if(D===null)return"";return u.substring(D[0],D[1])}findIndex(u){return this.doExecute(zu.fromUTF16(u),0,u0.UNANCHORED,2)}findUTF8Submatch(u){let D=this.doExecute(zu.fromUTF8(u),0,u0.UNANCHORED,this.prog.numCap);if(D===null)return null;let F=Array(1+this.numSubexp).fill(null);for(let $=0;$<F.length;$++)if(2*$<D.length&&D[2*$]>=0)F[$]=u.slice(D[2*$],D[2*$+1]);return F}findUTF8SubmatchIndex(u){return this.pad(this.doExecute(zu.fromUTF8(u),0,u0.UNANCHORED,this.prog.numCap))}findSubmatch(u){let D=this.doExecute(zu.fromUTF16(u),0,u0.UNANCHORED,this.prog.numCap);if(D===null)return null;let F=Array(1+this.numSubexp).fill(null);for(let $=0;$<F.length;$++)if(2*$<D.length&&D[2*$]>=0)F[$]=u.substring(D[2*$],D[2*$+1]);return F}findSubmatchIndex(u){return this.pad(this.doExecute(zu.fromUTF16(u),0,u0.UNANCHORED,this.prog.numCap))}findAllUTF8(u,D){let F=this.allMatches(zu.fromUTF8(u),D,($)=>u.slice($[0],$[1]));if(F.length===0)return null;return F}findAllUTF8Index(u,D){let F=this.allMatches(zu.fromUTF8(u),D,($)=>$.slice(0,2));if(F.length===0)return null;return F}findAll(u,D){let F=this.allMatches(zu.fromUTF16(u),D,($)=>u.substring($[0],$[1]));if(F.length===0)return null;return F}findAllIndex(u,D){let F=this.allMatches(zu.fromUTF16(u),D,($)=>$.slice(0,2));if(F.length===0)return null;return F}findAllUTF8Submatch(u,D){let F=this.allMatches(zu.fromUTF8(u),D,($)=>{let B=Array($.length/2|0).fill(null);for(let z=0;z<B.length;z++)if($[2*z]>=0)B[z]=u.slice($[2*z],$[2*z+1]);return B});if(F.length===0)return null;return F}findAllUTF8SubmatchIndex(u,D){let F=this.allMatches(zu.fromUTF8(u),D);if(F.length===0)return null;return F}findAllSubmatch(u,D){let F=this.allMatches(zu.fromUTF16(u),D,($)=>{let B=Array($.length/2|0).fill(null);for(let z=0;z<B.length;z++)if($[2*z]>=0)B[z]=u.substring($[2*z],$[2*z+1]);return B});if(F.length===0)return null;return F}findAllSubmatchIndex(u,D){let F=this.allMatches(zu.fromUTF16(u),D);if(F.length===0)return null;return F}}class MF{static isUpperCaseAlpha(u){return"A"<=u&&u<="Z"}static isHexadecimal(u){return"0"<=u&&u<="9"||"A"<=u&&u<="F"||"a"<=u&&u<="f"}static getUtf8CharSize(u){let D=u.charCodeAt(0);if(D<128)return 1;if(D<2048)return 2;if(D<65536)return 3;return 4}static translate(u){if(typeof u!=="string")return u;let D="",F=!1,$=u.length;if($===0)D="(?:)",F=!0;let B=0;while(B<$){let z=u[B];if(z==="\\"){if(B+1<$)switch(z=u[B+1],z){case"\\":{D+="\\\\",B+=2;continue}case"c":{if(B+2<$){let q=u[B+2];if(MF.isUpperCaseAlpha(q)){D+="\\x",D+=(q.charCodeAt(0)-64>>4).toString(16).toUpperCase(),D+=(q.charCodeAt(0)-64&15).toString(16).toUpperCase(),B+=3,F=!0;continue}}D+="\\c",B+=2;continue}case"u":{if(B+2<$){let q=u[B+2];if(MF.isHexadecimal(q)){D+="\\x{"+q,B+=3;for(let X=0;X<3&&B<$;++B,++X){if(q=u[B],!MF.isHexadecimal(q))break;D+=q}D+="}",F=!0;continue}else if(q==="{"){D+="\\x",B+=2,F=!0;continue}}D+="\\u",B+=2;continue}default:{D+="\\";let q=MF.getUtf8CharSize(z);D+=u.substring(B+1,B+1+q),B+=q+1;continue}}}else if(z==="/"){D+="\\/",B+=1,F=!0;continue}else if(z==="("&&B+2<$&&u[B+1]==="?"&&u[B+2]==="<"){if(B+3>=$||u[B+3]!=="="&&u[B+3]!=="!"){D+="(?P<",B+=3,F=!0;continue}}let Z=MF.getUtf8CharSize(z);D+=u.substring(B,B+Z),B+=Z}return F?D:u}}class Du{static CASE_INSENSITIVE=1;static DOTALL=2;static MULTILINE=4;static DISABLE_UNICODE_GROUPS=8;static LONGEST_MATCH=16;static quote(u){return v0.quoteMeta(u)}static translateRegExp(u){return MF.translate(u)}static compile(u,D=0){let F=u;if((D&Du.CASE_INSENSITIVE)!==0)F=`(?i)${F}`;if((D&Du.DOTALL)!==0)F=`(?s)${F}`;if((D&Du.MULTILINE)!==0)F=`(?m)${F}`;if((D&~(Du.MULTILINE|Du.DOTALL|Du.CASE_INSENSITIVE|Du.DISABLE_UNICODE_GROUPS|Du.LONGEST_MATCH))!==0)throw new QJ("Flags should only be a combination of MULTILINE, DOTALL, CASE_INSENSITIVE, DISABLE_UNICODE_GROUPS, LONGEST_MATCH");let $=u0.PERL;if((D&Du.DISABLE_UNICODE_GROUPS)!==0)$&=-129;let B=new Du(u,D);return B.re2Input=b1.compileImpl(F,$,(D&Du.LONGEST_MATCH)!==0),B}static matches(u,D){return Du.compile(u).matcher(D).matches()}static initTest(u,D,F){if(u==null)throw Error("pattern is null");if(F==null)throw Error("re2 is null");let $=new Du(u,D);return $.re2Input=F,$}constructor(u,D){this.patternInput=u,this.flagsInput=D}reset(){this.re2Input.reset()}flags(){return this.flagsInput}pattern(){return this.patternInput}re2(){return this.re2Input}matches(u){return this.matcher(u).matches()}matcher(u){if(Array.isArray(u))u=E8.utf8(u);return new YJ(this,u)}split(u,D=0){let F=this.matcher(u),$=[],B=0,z=0;while(F.find()){if(z===0&&F.end()===0){z=F.end();continue}if(D>0&&$.length===D-1)break;if(z===F.start()){if(D===0){B+=1,z=F.end();continue}}else while(B>0)$.push(""),B-=1;$.push(F.substring(z,F.start())),z=F.end()}if(D===0&&z!==F.inputLength()){while(B>0)$.push(""),B-=1;$.push(F.substring(z,F.inputLength()))}if(D!==0||$.length===0)$.push(F.substring(z,F.inputLength()));return $}toString(){return this.patternInput}programSize(){return this.re2Input.numberOfInstructions()}groupCount(){return this.re2Input.numberOfCapturingGroups()}namedGroups(){return this.re2Input.namedGroups}equals(u){if(this===u)return!0;if(u===null||this.constructor!==u.constructor)return!1;return this.flagsInput===u.flagsInput&&this.patternInput===u.patternInput}}var wJ=E0(Y8(),1);import P8,{AssertionError as ib}from"assert";var N$=E0(LJ(),1);var Ob=11,iJ=(u,D,F,$,B)=>{P8(B<Ob,y`{blueBright ${D}}: circular dependency detected in \`extends\``),B++,F.extends=typeof F.extends==="string"?[F.extends]:F.extends,F.extends=F.extends??[];for(let z of F.extends){let Z=u[z];P8(Z!=null,y`{blueBright ${z}} is unspecified, used by {blueBright ${D}} extends`),iJ(u,z,Z,$,B),$.push(Z)}return $};function OJ(u){for(let[D,F]of Object.entries(u)){if(rD.illegalJobNames.has(D))continue;if(!_.isObject(F))continue;let $=iJ(u,D,F,[],0);u[D]=wJ.default({},...$,F)}for(let[D,F]of Object.entries(u)){if(rD.illegalJobNames.has(D))continue;if(!_.isObject(F))continue;delete F.extends}}function j$(u,D){for(let[F,$]of Object.entries(D||{})){if($?.referenceData)if(Object.keys($).length>1)D[F]={...MJ(u,$.referenceData),...D[F]},delete D[F].referenceData;else D[F]=MJ(u,$.referenceData);else if(typeof $==="object")j$(u,$);if(Ab(D))throw new ib({message:`!reference circular chain detected [${$.referenceData}]`})}}var MJ=(u,D)=>{let F=u;return D.forEach(($)=>{P8(F[$]!=null,`!reference [${D.join(", ")}] is undefined`),F=F[$]}),F};function Ab(u){try{JSON.stringify(u)}catch(D){if(D instanceof TypeError&&(D.message.startsWith("Converting circular structure")||D.message.includes("cyclic structures")))return!0}return!1}function AJ(u){let D=["image","services","cache","before_script","after_script"];u.default=u.default??{};for(let F of D)if(u[F]!==void 0)u.default[F]=u[F],delete u[F]}function NJ(u){_b(u);for(let[D,F]of Object.entries(u)){if(rD.illegalJobNames.has(D)||D.startsWith("."))continue;Nb(D,u),Ib(D,u),Cb(D,u),vb(D,u),F.after_script=typeof F.after_script==="string"&&F.after_script!==""?[F.after_script]:F.after_script,F.before_script=typeof F.before_script==="string"&&F.before_script!==""?[F.before_script]:F.before_script,F.script=typeof F.script==="string"&&F.script!==""?[F.script]:F.script}}function I$(u){let D={job:u.job??u,artifacts:u.artifacts??!0,...u.pipeline?{pipeline:u.pipeline}:{},...u.project?{project:u.project}:{},...u.ref?{ref:u.ref}:{},...u.optional?{optional:u.optional}:{}};if(!u.project&&!u.pipeline&&u.optional===void 0)D.optional=!1;return D}function Nb(u,D){let F=D[u];if(!F.needs)return;for(let[$,B]of Object.entries(F.needs))F.needs[$]=I$(B)}function jb(u){return{key:u.key,paths:u.paths,policy:u.policy??"pull-push",when:u.when??"on_success"}}function Ib(u,D){let F=D[u],$=F.cache;if(!$)return;F.cache=Array.isArray($)?$:[$];for(let[B,z]of Object.entries(F.cache)){if(z.key?.files instanceof Array)P8(z.key.files.length===1||z.key.files.length===2,`cache:key:files should be an array of one or two file paths. Got ${z.key.files.length}`);F.cache[B]=jb(z)}F.cache=F.cache.filter((B)=>B.paths?.length!==void 0)}function Eb(u){return{name:typeof u==="string"?u:u.name,entrypoint:u.entrypoint,command:u.command,alias:u.alias,variables:u.variables}}function Cb(u,D){let F=D[u],$=F.services;if(!$)return;F.services=Array.isArray($)?$:[$];for(let[B,z]of Object.entries(F.services))F.services[B]=Eb(z)}function Pb(u){if(u==null)return u;return{name:typeof u==="string"?u:u.name,entrypoint:u.entrypoint,...u.docker?.user?{docker:{user:u.docker?.user}}:{}}}function vb(u,D){let F=D[u];if(!F.image)return;F.image=Pb(F.image)}function jJ(u){for(let[D,F]of Object.entries(u)){if(F.inherit?.default===!1)continue;if(rD.illegalJobNames.has(D)||D.startsWith("."))continue;let $=Array.isArray(F.inherit?.default)?F.inherit.default:["artifacts","cache","services","image","before_script","after_script"];for(let B of $)if(u.default[B]!==void 0)F[B]=F[B]??u.default[B]}}function _b(u){for(let[D,F]of Object.entries(u.variables??{}))u.variables[D]=_.normalizeVariables(F)}function IJ(u){N$.traverse(u,({parent:D,key:F,value:$,meta:B})=>{if(D!=null&&F!=null&&Array.isArray($))P8(!$.flat(9).some(Array.isArray),y`This Gitlab CI configuration is invalid: {blueBright ${B.nodePath}} config should be string or a nested array of strings up to 10 level deep`)},{cycleHandling:!0}),N$.traverse(u,({parent:D,key:F,value:$})=>{if(D!=null&&F!=null&&Array.isArray($))D[F]=$.flat(9)},{cycleHandling:!1})}var c1=E0(oD(),1),XB=E0(_J(),1),oL=E0(RJ(),1),A6=E0(t$(),1);import g8 from"assert";import e$,{AssertionError as jf}from"assert";class H6{user={GITLAB_USER_LOGIN:"local",GITLAB_USER_EMAIL:"local@gitlab.com",GITLAB_USER_NAME:"Bob Local",GITLAB_USER_ID:"1000"};branches={default:"main"};remote={schema:"git",port:"22",host:"gitlab.com",group:"fallback.group",project:"fallback.project"};commit={REF_NAME:"main",SHA:"0000000000000000000000000000000000000000",SHORT_SHA:"00000000",TIMESTAMP:new Date().toISOString().split(".")[0]+"Z"};static async init(u,D){let F=new H6,$=[];return $.push(F.initCommitData(u,D)),$.push(F.initRemoteData(u,D)),$.push(F.initUserData(u,D)),$.push(F.initBranchData(u,D)),await Promise.all($),F}async initCommitData(u,D){let F=[],$=_.spawn(["git","rev-parse","--abbrev-ref","HEAD"],u);F.push($.then(({stdout:z})=>{this.commit.REF_NAME=z.trimEnd()}));let B=_.spawn(["git","rev-parse","HEAD"],u);F.push(B.then(({stdout:z})=>{this.commit.SHA=z.trimEnd()}));try{await Promise.all(F)}catch(z){if(z instanceof jf)return D.stderr(y`{yellow ${z.message}}\n`);D.stderr(y`{yellow Using fallback git commit data}\n`),D.stderr(y`{yellow ${z.message}\n}`)}}async initBranchData(u,D){try{let{stdout:F}=await _.spawn(["git","symbolic-ref","--short","refs/remotes/origin/HEAD"],u);this.branches.default=F.replace("origin/","")}catch(F){if(F.stderr==="fatal: ref refs/remotes/origin/HEAD is not a symbolic ref")D.stderr(y`{yellow Unable to retrieve default remote branch, falling back to \`${this.branches.default}\`. The default remote branch can be set via \`git remote set-head origin <default_branch>\`\n}`),D.stderr(y`{yellow ${F.message}\n}`);else D.stderr(y`{yellow Unable to retrieve default remote branch, falling back to \`${this.branches.default}\`.\n}`),D.stderr(y`{yellow ${F.message}\n}`)}}static changedFiles(u,D){return _.syncSpawn(["git","diff","--name-only",u],D).stdout.split(`
227
+ `)}async initRemoteData(u,D){try{let F,$;try{$=(await _.spawn(["git","remote","get-url","gcl-origin"],u)).stdout}catch{$=(await _.spawn(["git","remote","get-url","origin"],u)).stdout}let B=$.replace(/\/$/,"").replace(/\.git$/,"");if(B.startsWith("http")){F=/(?<schema>https?):\/\/(?:([^:]+):([^@]+)@)?(?<host>[^/:]+):?(?<port>\d+)?\/(?<group>\S+)\/(?<project>\S+)/.exec(B),e$(F?.groups!=null,"git remote get-url origin didn't provide valid matches");let z="443";if(F.groups.schema==="https")z=F.groups.port??"443";else if(F.groups.schema==="http")z=F.groups.port??"80";this.remote.host=F.groups.host,this.remote.group=F.groups.group,this.remote.project=F.groups.project,this.remote.schema=F.groups.schema,this.remote.port=z}else if(B.startsWith("ssh://"))F=/(?<schema>ssh):\/\/(\w+)@(?<host>[^/:]+):?(?<port>\d+)?\/(?<group>\S+)\/(?<project>\S+)/.exec(B),e$(F?.groups!=null,"git remote get-url origin didn't provide valid matches"),this.remote.host=F.groups.host,this.remote.group=F.groups.group,this.remote.project=F.groups.project,this.remote.schema=F.groups.schema,this.remote.port=F.groups.port??"22";else{F=/(?<username>\S+)@(?<host>[^:]+):(?<group>\S+)\/(?<project>\S+)/.exec(B),e$(F?.groups!=null,"git remote get-url origin didn't provide valid matches");let{stdout:z}=await _.spawn(["ssh","-G",`${F.groups.username}@${F.groups.host}`]),Z=z.split(`
228
+ `).filter((q)=>q.startsWith("port "))[0].split(" ")[1];this.remote.host=F.groups.host,this.remote.group=F.groups.group,this.remote.project=F.groups.project,this.remote.schema="git",this.remote.port=Z}}catch(F){if(F instanceof jf){D.stderr(y`{yellow ${F.message}}\n`);return}D.stderr(y`{yellow Using fallback git remote data}\n`),D.stderr(y`{yellow ${F.message}\n}`)}}async initUserData(u,D){let F=[],$=_.spawn(["git","config","user.name"],u).then(({stdout:Z})=>{this.user.GITLAB_USER_NAME=Z.trimEnd()}).catch((Z)=>{D.stderr(y`{yellow Using fallback git user.name}\n`),D.stderr(y`{yellow ${Z.message}\n}`)});F.push($);let B=_.spawn(["git","config","user.email"],u).then(({stdout:Z})=>{let q=Z.trimEnd();this.user.GITLAB_USER_EMAIL=q,this.user.GITLAB_USER_LOGIN=q.replace(/@.*/,"")}).catch((Z)=>{D.stderr(y`{yellow Using fallback git user.email}\n`),D.stderr(y`{yellow ${Z.message}\n}`)});F.push(B);let z=_.spawn(["id","-u"],u).then(({stdout:Z})=>{this.user.GITLAB_USER_ID=Z.trimEnd()}).catch((Z)=>{D.stderr(y`{yellow Using fallback linux user id}\n`),D.stderr(y`{yellow ${Z.message}\n}`)});F.push(z),await Promise.all(F)}}import BB from"node:process";import zB from"node:fs";import G1 from"node:path";import{Readable as bd}from"node:stream";import{on as bk,once as If}from"node:events";import{PassThrough as Rk,getDefaultHighWaterMark as kk}from"node:stream";import{finished as Pf}from"node:stream/promises";function D2(u){if(!Array.isArray(u))throw TypeError(`Expected an array, got \`${typeof u}\`.`);for(let B of u)u2(B);let D=u.some(({readableObjectMode:B})=>B),F=ck(u,D),$=new vf({objectMode:D,writableHighWaterMark:F,readableHighWaterMark:F});for(let B of u)$.add(B);return $}var ck=(u,D)=>{if(u.length===0)return kk(D);let F=u.filter(({readableObjectMode:$})=>$===D).map(({readableHighWaterMark:$})=>$);return Math.max(...F)};class vf extends Rk{#u=new Set([]);#B=new Set([]);#z=new Set([]);#F;#$=Symbol("unpipe");#D=new WeakMap;add(u){if(u2(u),this.#u.has(u))return;this.#u.add(u),this.#F??=hk(this,this.#u,this.#$);let D=pk({passThroughStream:this,stream:u,streams:this.#u,ended:this.#B,aborted:this.#z,onFinished:this.#F,unpipeEvent:this.#$});this.#D.set(u,D),u.pipe(this,{end:!1})}async remove(u){if(u2(u),!this.#u.has(u))return!1;let D=this.#D.get(u);if(D===void 0)return!1;return this.#D.delete(u),u.unpipe(this),await D,!0}}var hk=async(u,D,F)=>{D9(u,Ef);let $=new AbortController;try{await Promise.race([mk(u,$),nk(u,D,F,$)])}finally{$.abort(),D9(u,-Ef)}},mk=async(u,{signal:D})=>{try{await Pf(u,{signal:D,cleanup:!0})}catch(F){throw _f(u,F),F}},nk=async(u,D,F,{signal:$})=>{for await(let[B]of bk(u,"unpipe",{signal:$}))if(D.has(B))B.emit(F)},u2=(u)=>{if(typeof u?.pipe!=="function")throw TypeError(`Expected a readable stream, got: \`${typeof u}\`.`)},pk=async({passThroughStream:u,stream:D,streams:F,ended:$,aborted:B,onFinished:z,unpipeEvent:Z})=>{D9(u,Cf);let q=new AbortController;try{await Promise.race([lk(z,D,q),dk({passThroughStream:u,stream:D,streams:F,ended:$,aborted:B,controller:q}),gk({stream:D,streams:F,ended:$,aborted:B,unpipeEvent:Z,controller:q})])}finally{q.abort(),D9(u,-Cf)}if(F.size>0&&F.size===$.size+B.size)if($.size===0&&B.size>0)F2(u);else ok(u)},lk=async(u,D,{signal:F})=>{try{if(await u,!F.aborted)F2(D)}catch($){if(!F.aborted)_f(D,$)}},dk=async({passThroughStream:u,stream:D,streams:F,ended:$,aborted:B,controller:{signal:z}})=>{try{if(await Pf(D,{signal:z,cleanup:!0,readable:!0,writable:!1}),F.has(D))$.add(D)}catch(Z){if(z.aborted||!F.has(D))return;if(Uf(Z))B.add(D);else Sf(u,Z)}},gk=async({stream:u,streams:D,ended:F,aborted:$,unpipeEvent:B,controller:{signal:z}})=>{if(await If(u,B,{signal:z}),!u.readable)return If(z,"abort",{signal:z});D.delete(u),F.delete(u),$.delete(u)},ok=(u)=>{if(u.writable)u.end()},_f=(u,D)=>{if(Uf(D))F2(u);else Sf(u,D)},Uf=(u)=>u?.code==="ERR_STREAM_PREMATURE_CLOSE",F2=(u)=>{if(u.readable||u.writable)u.destroy()},Sf=(u,D)=>{if(!u.destroyed)u.once("error",sk),u.destroy(D)},sk=()=>{},D9=(u,D)=>{let F=u.getMaxListeners();if(F!==0&&F!==Number.POSITIVE_INFINITY)u.setMaxListeners(F+D)},Ef=2,Cf=1;var d8=E0(o2(),1);import{promisify as hl}from"node:util";import{execFile as ml,execFileSync as Wz0}from"node:child_process";import{fileURLToPath as nl}from"node:url";var Gz0=hl(ml);function n8(u){return u instanceof URL?nl(u):u}var $B=E0(o2(),1),NL=E0(LL(),1);import Vd from"node:process";import Ld from"node:fs";import Md from"node:fs/promises";import Ru from"node:path";import t2 from"node:path";function l8(u,D){let F=t2.relative(D,u);return Boolean(F&&F!==".."&&!F.startsWith(`..${t2.sep}`)&&F!==t2.resolve(u))}function A9(u){if(u.startsWith("\\\\?\\"))return u;return u.replace(/\\/g,"/")}import ML from"node:fs";import xD from"node:path";import{promisify as Yd}from"node:util";var UD=(u)=>u[0]==="!",wL=(u)=>u.startsWith("/")?u.slice(1):u,ou=(u,D)=>{let F=u?.[D];return typeof F==="function"?F.bind(u):void 0},N9=(u,D)=>{let F=u?.[D];if(typeof F!=="function")return;return Yd(F.bind(u))},e2=(u)=>{if(!u.endsWith("/"))return u;let D=u.replace(/\/+$/u,"");if(!D)return"/**";if(D==="**")return"**/**";let F=D.startsWith("/"),B=(F?D.slice(1):D).includes("/");return`${!F&&!B&&!D.startsWith("**/")?"**/":""}${D}/**`},Wd=(u)=>{let F=(UD(u)?u.slice(1):u).match(/^(\.\.\/)+/);return F?F[0]:""},j9=(u,D)=>{if(u.length===0||D.length===0)return D;let F=u.map((z)=>Wd(z)),$=F[0];if(!$)return D;if(!F.every((z)=>z===$))return D;return D.map((z)=>{if(z.startsWith("**/")&&!z.startsWith("../"))return $+z;return z})},Jd=(u)=>ou(u?.promises,"stat")??ou(ML.promises,"stat"),Gd=(u)=>{if(u)return ou(u,"statSync");return ou(ML,"statSync")},iL=(u)=>Boolean(u?.isDirectory?.()||u?.isFile?.()),uB=(u,D)=>{let F=[],$=u;F.push($);while($!==D){let B=xD.dirname($);if(B===$)break;$=B,F.push($)}return F},fd=async(u,D)=>{for(let F of u){let $=xD.join(F,".git");try{let B=await D($);if(iL(B))return F}catch{}}return},Kd=(u,D)=>{let F=Gd(D);if(!F)return;let $=xD.resolve(u),{root:B}=xD.parse($),z=uB($,B);for(let Z of z){let q=xD.join(Z,".git");try{let X=F(q);if(iL(X))return Z}catch{}}return},DB=(u,D)=>{if(typeof u!=="string")throw TypeError("cwd must be a string");return Kd(u,D)},xd=async(u,D)=>{let F=Jd(D);if(!F)return DB(u,D);let $=xD.resolve(u),{root:B}=xD.parse($),z=uB($,B);return fd(z,F)},OL=async(u,D)=>{if(typeof u!=="string")throw TypeError("cwd must be a string");return xd(u,D)},Hd=(u,D)=>{let F=xD.resolve(u),$=xD.resolve(D);return $===F||l8($,F)},AL=(u,D)=>{if(u&&typeof u!=="string")throw TypeError("gitRoot must be a string or undefined");if(typeof D!=="string")throw TypeError("cwd must be a string");if(!u)return[];if(!Hd(u,D))return[];return[...uB(xD.resolve(D),xD.resolve(u))].reverse().map(($)=>xD.join($,".gitignore"))},FB=(u,D,F)=>{if(D)return[];let $=[],B=!1;for(let z of u){if(UD(z)){B=!0;break}$.push(F(z))}return B?[]:$};var wd=["**/node_modules","**/flow-typed","**/coverage","**/.git"],id={absolute:!0,dot:!0},jL="**/.gitignore",Od=(u)=>ou(u?.promises,"readFile")??ou(Md,"readFile")??N9(u,"readFile"),Ad=(u)=>ou(u,"readFileSync")??ou(Ld,"readFileSync"),IL=(u,D)=>{if(!u)return Boolean(D);if(u.code==="ENOENT"||u.code==="ENOTDIR")return!0;return Boolean(D)},EL=(u,D)=>{if(D instanceof Error)return D.message=`Failed to read ignore file at ${u}: ${D.message}`,D;return Error(`Failed to read ignore file at ${u}: ${String(D)}`)},Nd=(u,D,F)=>{try{let $=D(u,"utf8");return{filePath:u,content:$}}catch($){if(IL($,F))return;throw EL(u,$)}},jd=async(u,D,F)=>{return(await Promise.all(u.map(async(B)=>{try{let z=await D(B,"utf8");return{filePath:B,content:z}}catch(z){if(IL(z,F))return;throw EL(B,z)}}))).filter(Boolean)},Id=(u,D,F)=>u.map(($)=>Nd($,D,F)).filter(Boolean),Ed=(u)=>{let D=new Set;return u.filter((F)=>{if(D.has(F))return!1;return D.add(F),!0})},CL=(u,D,F)=>u(D,{...F,...id}),Cd=(u,D)=>u?AL(u,D.cwd):[],PL=(u,D,F)=>Ed([...Cd(u,D),...F]),vL=(u,D,F)=>{let $=F||D.cwd,B=yd(u,$);return{patterns:B,predicate:Ud(B,D.cwd,$),usingGitRoot:Boolean(F&&F!==D.cwd)}},Pd=(u,D)=>{if(!D)return u;let F=UD(u),$=F?u.slice(1):u,B=$.indexOf("/"),z=B!==-1&&B!==$.length-1,Z;if(!z)Z=Ru.posix.join(D,"**",$);else if($.startsWith("/"))Z=Ru.posix.join(D,$.slice(1));else Z=Ru.posix.join(D,$);return F?"!"+Z:Z},vd=(u,D)=>{let F=A9(Ru.relative(D,Ru.dirname(u.filePath)));return u.content.split(/\r?\n/).filter(($)=>$&&!$.startsWith("#")).map(($)=>Pd($,F))},_d=(u,D)=>{if(Ru.isAbsolute(u)){let F=Ru.relative(D,u);if(F&&!l8(u,D))return;return F}if(u.startsWith("./"))return u.slice(2);if(u.startsWith("../"))return;return u},Ud=(u,D,F)=>{let $=NL.default().add(u),B=Ru.normalize(Ru.resolve(D)),z=Ru.normalize(Ru.resolve(F));return(Z)=>{if(Z=n8(Z),Ru.normalize(Ru.resolve(Z))===B)return!1;let X=_d(Z,z);if(X===void 0)return!1;return X?$.ignores(A9(X)):!1}},_L=(u={})=>{let D=u.ignore?Array.isArray(u.ignore)?u.ignore:[u.ignore]:[],F=n8(u.cwd)??Vd.cwd(),$=typeof u.deep==="number"?Math.max(0,u.deep)+1:Number.POSITIVE_INFINITY;return{cwd:F,suppressErrors:u.suppressErrors??!1,deep:$,ignore:[...D,...wd],followSymbolicLinks:u.followSymbolicLinks??!0,concurrency:u.concurrency,throwErrorOnBrokenSymbolicLink:u.throwErrorOnBrokenSymbolicLink??!1,fs:u.fs}},Sd=async(u,D,F)=>{let $=_L(D),B=await CL($B.default,u,$),z=F?await OL($.cwd,$.fs):void 0,Z=PL(z,$,B),q=Od($.fs);return{files:await jd(Z,q,$.suppressErrors),normalizedOptions:$,gitRoot:z}},Td=(u,D,F)=>{let $=_L(D),B=CL($B.default.sync,u,$),z=F?DB($.cwd,$.fs):void 0,Z=PL(z,$,B),q=Ad($.fs);return{files:Id(Z,q,$.suppressErrors),normalizedOptions:$,gitRoot:z}};var yd=(u,D)=>u.flatMap((F)=>vd(F,D)),UL=async(u,D,F=!1)=>{let{files:$,normalizedOptions:B,gitRoot:z}=await Sd(u,D,F);return vL($,B,z)},SL=(u,D,F=!1)=>{let{files:$,normalizedOptions:B,gitRoot:z}=Td(u,D,F);return vL($,B,z)};var Rd=(u)=>{if(u.some((D)=>typeof D!=="string"))throw TypeError("Patterns must be a string or an array of strings")},kd=(u)=>ou(u?.promises,"stat")??ou(zB.promises,"stat")??N9(u,"stat"),cd=(u)=>ou(u,"statSync")??ou(zB,"statSync"),hd=async(u,D)=>{try{return(await kd(D)(u)).isDirectory()}catch{return!1}},md=(u,D)=>{try{return cd(D)(u).isDirectory()}catch{return!1}},bL=(u,D)=>{let F=UD(u)?u.slice(1):u;return G1.isAbsolute(F)?F:G1.join(D,F)},RL=(u)=>{let D=u?.match(/\*\*\/([^/]+)$/);if(!D)return!1;let F=D[1],$=/[*?[\]{}]/.test(F),B=G1.extname(F)&&!F.startsWith(".");return!$&&!B},I9=({directoryPath:u,files:D,extensions:F})=>{let $=F?.length>0?`.${F.length>1?`{${F.join(",")}}`:F[0]}`:"";return D?D.map((B)=>G1.posix.join(u,`**/${G1.extname(B)?B:`${B}${$}`}`)):[G1.posix.join(u,`**${$?`/*${$}`:""}`)]},TL=async(u,{cwd:D=BB.cwd(),files:F,extensions:$,fs:B}={})=>{return(await Promise.all(u.map(async(Z)=>{let q=UD(Z)?Z.slice(1):Z;if(RL(q))return I9({directoryPath:Z,files:F,extensions:$});let X=bL(Z,D);return await hd(X,B)?I9({directoryPath:Z,files:F,extensions:$}):Z}))).flat()},yL=(u,{cwd:D=BB.cwd(),files:F,extensions:$,fs:B}={})=>u.flatMap((z)=>{let Z=UD(z)?z.slice(1):z;if(RL(Z))return I9({directoryPath:z,files:F,extensions:$});let q=bL(z,D);return md(q,B)?I9({directoryPath:z,files:F,extensions:$}):z}),ZB=(u)=>{return u=[...new Set([u].flat())],Rd(u),u},nd=(u,D=zB)=>{if(!u||!D.statSync)return;let F;try{F=D.statSync(u)}catch{return}if(!F.isDirectory())throw Error(`The \`cwd\` option must be a path to a directory, got: ${u}`)},kL=(u={})=>{let D=u.ignore?Array.isArray(u.ignore)?u.ignore:[u.ignore]:[];return u={...u,ignore:D,expandDirectories:u.expandDirectories??!0,cwd:n8(u.cwd)},nd(u.cwd,u.fs),u},cL=(u)=>async(D,F)=>u(ZB(D),kL(F)),C9=(u)=>(D,F)=>u(ZB(D),kL(F)),hL=(u)=>{let{ignoreFiles:D,gitignore:F}=u,$=D?ZB(D):[];if(F)$.push(jL);return $},pd=async(u)=>{let D=hL(u);if(D.length===0)return{options:u,filter:E9(!1,u.cwd)};let F=u.gitignore===!0,{patterns:$,predicate:B,usingGitRoot:z}=await UL(D,u,F),Z=FB($,z,e2);return{options:{...u,ignore:[...u.ignore,...Z]},filter:E9(B,u.cwd)}},mL=(u)=>{let D=hL(u);if(D.length===0)return{options:u,filter:E9(!1,u.cwd)};let F=u.gitignore===!0,{patterns:$,predicate:B,usingGitRoot:z}=SL(D,u,F),Z=FB($,z,e2);return{options:{...u,ignore:[...u.ignore,...Z]},filter:E9(B,u.cwd)}},E9=(u,D)=>{let F=new Set,$=D||BB.cwd(),B=new Map;return(z)=>{let Z=G1.normalize(z.path??z);if(F.has(Z))return!1;if(u){let q=B.get(Z);if(q===void 0){if(q=G1.isAbsolute(Z)?Z:G1.resolve($,Z),B.set(Z,q),B.size>1e4)B.clear()}if(u(q))return!1}return F.add(Z),!0}},nL=(u,D)=>u.flat().filter((F)=>D(F)),pL=(u,D)=>{if(u.length>0&&u.every(($)=>UD($))){if(D.expandNegationOnlyPatterns===!1)return[];u=["**/*",...u]}u=u.map(($)=>UD($)?`!${wL($.slice(1))}`:$);let F=[];while(u.length>0){let $=u.findIndex((z)=>UD(z));if($===-1){F.push({patterns:u,options:D});break}let B=u[$].slice(1);for(let z of F)z.options.ignore.push(B);if($!==0)F.push({patterns:u.slice(0,$),options:{...D,ignore:[...D.ignore,B]}});u=u.slice($+1)}return F},lL=(u)=>u.map((D)=>({patterns:D.patterns,options:{...D.options,ignore:j9(D.patterns,D.options.ignore)}})),dL=(u,D)=>({...D?{cwd:D}:{},...Array.isArray(u)?{files:u}:u}),gL=async(u,D)=>{let F=pL(u,D),{cwd:$,expandDirectories:B,fs:z}=D;if(!B)return lL(F);let Z={...dL(B,$),fs:z};return Promise.all(F.map(async(q)=>{let{patterns:X,options:Q}=q;return[X,Q.ignore]=await Promise.all([TL(X,Z),TL(Q.ignore,{cwd:$,fs:z})]),Q.ignore=j9(X,Q.ignore),{patterns:X,options:Q}}))},qB=(u,D)=>{let F=pL(u,D),{cwd:$,expandDirectories:B,fs:z}=D;if(!B)return lL(F);let Z={...dL(B,$),fs:z};return F.map((q)=>{let{patterns:X,options:Q}=q;return X=yL(X,Z),Q.ignore=yL(Q.ignore,{cwd:$,fs:z}),Q.ignore=j9(X,Q.ignore),{patterns:X,options:Q}})},mz0=cL(async(u,D)=>{let{options:F,filter:$}=await pd(D),B=await gL(u,F),z=await Promise.all(B.map((Z)=>d8.default(Z.patterns,Z.options)));return nL(z,$)}),P9=C9((u,D)=>{let{options:F,filter:$}=mL(D),z=qB(u,F).map((Z)=>d8.default.sync(Z.patterns,Z.options));return nL(z,$)}),nz0=C9((u,D)=>{let{options:F,filter:$}=mL(D),z=qB(u,F).map((q)=>d8.default.stream(q.patterns,q.options));if(z.length===0)return bd.from([]);return D2(z).filter((q)=>$(q))}),pz0=C9((u,D)=>u.some((F)=>d8.default.isDynamicPattern(F,D))),lz0=cL(gL),dz0=C9(qB);var sL=E0(w2(),1);import IF from"path";class _{static bashMulti(u,D=process.cwd()){return A6.default(u.join(" && \\"),{shell:"bash",cwd:D})}static bash(u,D=process.cwd()){return A6.default(u,{shell:"bash",cwd:D})}static spawn(u,D=process.cwd()){return A6.default(u[0],u.slice(1),{cwd:D})}static syncSpawn(u,D=process.cwd()){return A6.default.sync(u[0],u.slice(1),{cwd:D})}static fsUrl(u){return u.replace(/^https:\/\//g,"").replace(/^http:\/\//g,"")}static safeDockerString(u){return u.replace(/[^\w-]+/g,(D)=>{return oL.default.encode(D)})}static safeBashString(u){return`'${u.replace(/'/g,`'"'"'`)}'`}static forEachRealJob(u,D){for(let[F,$]of Object.entries(u)){if(rD.illegalJobNames.has(F)||F[0].startsWith("."))continue;D(F,$)}}static getJobNamesFromPreviousStages(u,D,F){let $=[],B=D.indexOf(F.stage);return u.forEach((z)=>{if(D.indexOf(z.stage)<B)$.push(z.name)}),$}static async getCoveragePercent(u,D,F,$){let B=await c1.default.readFile(`${u}/${D}/output/${$}.log`,"utf8"),z=Du.compile(F.replace(/^\//,"").replace(/\/$/,""),Du.MULTILINE),Z=Array.from(B.matchAllRE2JS(z));if(Z.length===0)return"0";let q=Z[Z.length-1],X=/\d+(?:\.\d+)?/.exec(q[1]??q[0]??"");if(!X)return"0";return X[0]??"0"}static printJobNames(u,D,F,$){if(F===$.length-1)u(y`{blueBright ${D.name}}`);else u(y`{blueBright ${D.name}}, `)}static expandTextWith(u,D){if(typeof u!=="string")return u;return u.replace(/(\$\$)|\$\{([a-zA-Z_]\w*)}|\$([a-zA-Z_]\w*)/g,(F,$,B,z)=>{if(typeof $<"u")return D.unescape;else{let Z=B||z;return g8(Z,"unexpected unset capture group"),`${D.variable(Z)}`}})}static expandText(u,D){return this.expandTextWith(u,{unescape:"$",variable:(F)=>D[F]??""})}static expandVariables(u){let D={...u},F,$=0;do{g8($<100,"Recursive variable expansion reached 100 iterations"),F=!1;for(let[B,z]of Object.entries(D)){let Z={...D};delete Z[B],D[B]=_.expandTextWith(z,{unescape:"$$",variable:(q)=>Z[q]??""}),F||=D[B]!==z}$++}while(F);return D}static unscape$$Variables(u){for(let[D,F]of Object.entries(u))u[D]=_.expandText(F,{});return u}static findEnvMatchedVariables(u,D,F){let $={};for(let[B,z]of Object.entries(u))for(let Z of z.environments)if(F?.name.match(Z.regexp)||Z.regexp.source===".*"){if(D!=null&&z.type==="file"&&!Z.fileSource)$[B]=`${D}/${B}`,c1.default.mkdirpSync(`${D}`),c1.default.writeFileSync(`${D}/${B}`,Z.content);else if(D!=null&&z.type==="file"&&Z.fileSource)$[B]=`${D}/${B}`,c1.default.mkdirpSync(`${D}`),c1.default.copyFileSync(Z.fileSource,`${D}/${B}`);else $[B]=Z.content;break}return $}static getRulesResult(u,D,F="on_success",$=void 0){let B="never",{evaluateRuleChanges:z}=u.argv,Z=$??F==="manual",q,X;for(let Q of u.rules){if(!_.evaluateRuleIf(Q.if,u.variables))continue;if(!_.evaluateRuleExist(u.cwd,Q.exists))continue;if(z&&!_.evaluateRuleChanges(D.branches.default,Q.changes,u.cwd))continue;B=Q.when?Q.when:F,Z=Q.allow_failure??Z,q=Q.variables,X=Q.needs?.map((Y)=>I$(Y));break}return{when:B,allowFailure:Z,variables:q,needs:X}}static evaluateRuleIf(u,D){if(u===void 0)return!0;let F=u,$=(X)=>{let Q=0;if(X.includes("i"))Q|=Du.CASE_INSENSITIVE;if(X.includes("s"))Q|=Du.DOTALL;if(X.includes("m"))Q|=Du.MULTILINE;return Q};F=this.expandTextWith(F,{unescape:JSON.stringify("$"),variable:(X)=>JSON.stringify(D[X]??null).replaceAll("\\\\","\\")});let B=F,z=/\s*(?<operator>(?:=~)|(?:!~))\s*\/(?<rhs>.*?[^\\])\/(?<flags>[igmsuy]*)(\s|$|\))/g;F=F.replace(z,(X,Q,Y,W,J)=>{let G;switch(Q){case"=~":G="!=";break;case"!~":G="==";break;default:throw Q}let f=JSON.stringify(Y),K=/(?<!\\)\//.test(f),x=["Error attempting to evaluate the following rules:"," rules:",` - if: '${B}'`,"as rhs contains unescaped quote"];g8(!K,x.join(`
229
+ `));let M=$(W);return`.matchRE2JS(RE2JS.compile(${f}, ${M})) ${G} null${J}`});let Z=/\s*(?<operator>=~|!~)\s*(["'])(?<rhs>(?:\\.|[^\\])*?)\2/g;F=F.replace(Z,(X,Q,Y,W)=>{let J;switch(Q){case"=~":J="!=";break;case"!~":J="==";break;default:throw Q}let G=["RHS (${rhs}) must be a regex pattern. Do not rely on this behavior!","Refer to https://docs.gitlab.com/ee/ci/jobs/job_rules.html#unexpected-behavior-from-regular-expression-matching-with- for more info..."];g8(/\/(.*)\/(\w*)/.test(W),G.join(`
230
+ `));let f=/\/(?<pattern>.*)\/(?<flags>[igmsuy]*)/;return`.matchRE2JS(${W.replace(f,(x,M,L)=>{let j=$(L);return`RE2JS.compile("${M}", ${j})`})}) ${J} null`}),F=F.replace(/null.matchRE2JS\(.+?\)\s*!=\s*null/g,"false"),F=F.replace(/null.matchRE2JS\(.+?\)\s*==\s*null/g,"true"),F=F.trim();let q;try{global.RE2JS=Du,q=(0,eval)(F),delete global.RE2JS}catch{let X=["Error attempting to evaluate the following rules:"," rules:",` - if: '${B}'`,"as","```javascript",`${F}`,"```"];g8(!1,X.join(`
231
+ `))}return Boolean(q)}static evaluateRuleExist(u,D){if(D===void 0)return!0;if(!Array.isArray(D))D=D.paths;for(let F of D){if(F=="")continue;if(P9(F,{dot:!0,cwd:u}).length>0)return!0}return!1}static evaluateRuleChanges(u,D,F){if(D===void 0)return!0;if(!Array.isArray(D))D=D.paths;return sL.default.some(H6.changedFiles(`origin/${u}`,F),D,{nonegate:!0,noextglob:!0,posix:!1,dot:!0})}static isSubpath(u,D,F=process.cwd()){let $=IF.isAbsolute(u)?u:IF.resolve(F,u),B=IF.isAbsolute(D)?D:IF.resolve(F,D);return!IF.relative(B,$).startsWith("..")}static async rsyncTrackedFiles(u,D,F){let $=process.hrtime();return await c1.default.mkdirp(`${u}/${D}/builds/${F}`),await _.bash(`rsync -a --delete-excluded --delete --exclude-from=<(git ls-files -o --directory | awk '{print "/"$0}') --exclude ${D}/ ./ ${D}/builds/${F}/`,u),{hrdeltatime:process.hrtime($)}}static async checksumFiles(u,D){let F=[];D.forEach((B)=>{F.push(new Promise((z,Z)=>{if(!c1.default.pathExistsSync(B))z(IF.relative(u,B));XB.default.file(B,(q,X)=>{if(q)return Z(q);z(X)})}))});let $=await Promise.all(F);return XB.default($.join(""))}static isObject(u){return Object.getPrototypeOf(u)===Object.prototype}static switchStatementExhaustiveCheck(u){throw Error(`Unhandled case ${u}`)}static async dockerVolumeFileExists(u,D,F){try{return await _.spawn([u,"run","--rm","-v",`${F}:/mnt/vol`,"alpine","ls",`/mnt/vol/${D}`]),!0}catch{return!1}}static gclRegistryPrefix="registry.gcl.local";static async startDockerRegistry(u){let D=`${this.gclRegistryPrefix}.certs`,F=`${this.gclRegistryPrefix}.data`,$=`${this.gclRegistryPrefix}.net`;try{await _.spawn(`${u.containerExecutable} volume create ${D}`.split(" "))}catch(B){if(B instanceof Error&&!B.message.endsWith("already exists"))throw B}if(!await this.dockerVolumeFileExists(u.containerExecutable,`${this.gclRegistryPrefix}.crt`,D)){let B=["req","-newkey","rsa:4096","-nodes","-sha256","-keyout",`/certs/${this.gclRegistryPrefix}.key`,"-x509","-days","365","-out",`/certs/${this.gclRegistryPrefix}.crt`,"-subj",`/CN=${this.gclRegistryPrefix}`,"-addext",`subjectAltName=DNS:${this.gclRegistryPrefix}`],z=[u.containerExecutable,"run","--rm","-v",`${D}:/certs`,"--entrypoint","sh","alpine/openssl","-c",["openssl",...B,"&&","mkdir","-p",`/certs/${this.gclRegistryPrefix}`,"&&","cp",`/certs/${this.gclRegistryPrefix}.crt`,`/certs/${this.gclRegistryPrefix}/ca.crt`].join(" ")];await _.spawn(z)}try{await _.spawn([u.containerExecutable,"volume","create",F])}catch(B){if(B instanceof Error&&!B.message.endsWith("already exists"))throw B}try{await _.spawn([u.containerExecutable,"network","create",$])}catch(B){if(B instanceof Error&&!B.message.includes("already exists"))throw B}await _.spawn([u.containerExecutable,"rm","-f",this.gclRegistryPrefix]),await _.spawn([u.containerExecutable,"run","-d","--name",this.gclRegistryPrefix,"--network",$,"--volume",`${F}:/var/lib/registry`,"--volume",`${D}:/certs:ro`,"-e","REGISTRY_HTTP_ADDR=0.0.0.0:443","-e",`REGISTRY_HTTP_TLS_CERTIFICATE=/certs/${this.gclRegistryPrefix}.crt`,"-e",`REGISTRY_HTTP_TLS_KEY=/certs/${this.gclRegistryPrefix}.key`,"registry"]);try{await A6.default(u.containerExecutable,["run","--rm","--network",$,"--entrypoint","sh","curlimages/curl","-c",`until [ "$(curl -s -o /dev/null -k -w "%{http_code}" https://${this.gclRegistryPrefix}:443)" = "200" ]; do sleep 1; done;`],{timeout:4000})}catch(B){if(await this.stopDockerRegistry(u.containerExecutable),B.timedOut)throw"local docker registry port check timed out";throw B}}static async stopDockerRegistry(u){await _.spawn([u,"rm","-f",this.gclRegistryPrefix])}static async getTrackedFiles(u){let D=await _.bash("git ls-files --deduplicate",u);if(D.exitCode!=0)throw Error(`Failed to list tracked files in ${u}: ${D.stderr}`);return D.stdout.split(`
232
+ `)}static getAxiosProxyConfig(){let u=process.env.HTTPS_PROXY||process.env.HTTP_PROXY;if(u){let D=new URL(u);return{proxy:{host:D.hostname,port:D.port?parseInt(D.port,10):8080,protocol:D.protocol.replace(":","")}}}return{}}static normalizeVariables(u){if(u===null)return"";else if(_.isObject(u)){if(u.expand===!1)return String(u.value).replaceAll("$",()=>"$$");return String(u.value)}else return String(u)}}import Yu,{AssertionError as j5}from"assert";class h1{static locks=new Set;static async waitForLock(u){return new Promise((D)=>{let F=setInterval(()=>{if(!h1.locks.has(u))return clearInterval(F),D()},10)})}static async exclusive(u,D){await h1.waitForLock(u),h1.locks.add(u),await D(),h1.locks.delete(u)}}var gz=E0(t$(),1);var aL;((z)=>{z.SMALL="saas-linux-small";z.MEDIUM="saas-linux-medium";z.LARGE="saas-linux-large";z.XLARGE="saas-linux-xlarge";z.TWO_XLARGE="saas-linux-2xlarge"})(aL||={});var v9=Object.values(aL),rL={["saas-linux-small"]:8192,["saas-linux-medium"]:16384,["saas-linux-large"]:32768,["saas-linux-xlarge"]:65536,["saas-linux-2xlarge"]:131072},tL={["saas-linux-small"]:2,["saas-linux-medium"]:4,["saas-linux-large"]:8,["saas-linux-xlarge"]:16,["saas-linux-2xlarge"]:32};var S9=E0(oD(),1);import Fg from"path";import YB,{AssertionError as uM}from"assert";async function QB(u,D,{concurrency:F=Number.POSITIVE_INFINITY,stopOnError:$=!0,signal:B}={}){return new Promise((z,Z)=>{if(u[Symbol.iterator]===void 0&&u[Symbol.asyncIterator]===void 0)throw TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof u})`);if(typeof D!=="function")throw TypeError("Mapper function is required");if(!(Number.isSafeInteger(F)&&F>=1||F===Number.POSITIVE_INFINITY))throw TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${F}\` (${typeof F})`);let q=[],X=[],Q=new Map,Y=!1,W=!1,J=!1,G=0,f=0,K=u[Symbol.iterator]===void 0?u[Symbol.asyncIterator]():u[Symbol.iterator](),x=()=>{j(B.reason)},M=()=>{B?.removeEventListener("abort",x)},L=(I)=>{z(I),M()},j=(I)=>{Y=!0,W=!0,Z(I),M()};if(B){if(B.aborted)j(B.reason);B.addEventListener("abort",x,{once:!0})}let U=async()=>{if(W)return;let I=await K.next(),S=f;if(f++,I.done){if(J=!0,G===0&&!W){if(!$&&X.length>0){j(AggregateError(X));return}if(W=!0,Q.size===0){L(q);return}let k=[];for(let[R,h]of q.entries()){if(Q.get(R)===eL)continue;k.push(h)}L(k)}return}G++,(async()=>{try{let k=await I.value;if(W)return;let R=await D(k,S);if(R===eL)Q.set(S,R);q[S]=R,G--,await U()}catch(k){if($)j(k);else{X.push(k),G--;try{await U()}catch(R){j(R)}}}})()};(async()=>{for(let I=0;I<F;I++){try{await U()}catch(S){j(S);break}if(J||Y)break}})()})}var eL=Symbol("skip");class ku{static async runLoop(u,D,F,$){let B;do if(B=ku.getStartCandidates(D,F,$,u.manual),B.length>0)await QB(B,async(Z)=>Z.start(),{concurrency:u.concurrency??B.length});while(B.length>0)}static getStartCandidates(u,D,F,$){let B=[];for(let z of[...new Set(F)]){if(z.started)continue;let Z=ku.getPastToWaitFor(u,D,z,$);if(ku.isNotFinished(Z))continue;if(z.when==="on_success"&&ku.isPastFailed(Z))continue;if(z.when==="manual"&&ku.isPastFailed(Z))continue;if(z.when==="on_failure"&&!ku.isPastFailed(Z))continue;B.push(z)}return B}static isPastFailed(u){return u.filter((F)=>{if(F.allowFailure)return!1;return(F.preScriptsExitCode?F.preScriptsExitCode:0)>0}).length>0}static isNotFinished(u){return u.filter((F)=>!F.finished).length>0}static getFailed(u){return u.filter((D)=>D.finished&&!D.allowFailure&&(D.preScriptsExitCode??0)>0)}static getPastToWaitFor(u,D,F,$){let B=new Set,z=[F];while(z.length>0){let Z=z.pop();if(YB(Z!=null,"Job not found in getPastToWaitFor, should be impossible!"),Z.needs){let q=this.getNeededToWaitFor(u,$,Z);z.push(...q)}else{let q=this.getPreviousToWaitFor(u,D,Z);z=z.concat(q),z=z.filter((X)=>X.when!=="never"),z=z.filter((X)=>X.when!=="manual"||$.includes(X.name))}z.forEach((q)=>B.add(q))}return[...B]}static getNeededToWaitFor(u,D,F){let $=[];YB(F.needs!=null,y`${F.name}.needs cannot be null in getNeededToWaitFor`);for(let B of F.needs){let z=u.filter((Z)=>Z.baseName===B.job);for(let Z of z){if(Z.when==="never"&&!B.optional)throw new uM({message:y`{blueBright ${Z.name}} is when:never, but its needed by {blueBright ${F.name}}`});if(Z.when==="never"&&B.optional)continue;if(Z.when==="manual"&&!D.includes(Z.name))throw new uM({message:y`{blueBright ${Z.name}} is when:manual, its needed by {blueBright ${F.name}}, and not specified in --manual`});YB(F.name!==Z.name,y`This GitLab CI configuration is invalid: The pipeline has circular dependencies: self-dependency: {blueBright ${B.job}}.`),$.push(Z)}}return $}static getPreviousToWaitFor(u,D,F){let $=[],B=D.indexOf(F.stage);return D.slice(0,B).forEach((Z)=>{$.push(...[...u.values()].filter((q)=>q.stage===Z))}),$}}var WB=E0(oD(),1);import{AssertionError as DM}from"assert";class HD{static async runPipeline(u,D,F){let{jobs:$,stages:B}=D,z=[...$.values()];z=z.filter((Z)=>Z.when!=="never"),z=z.filter((Z)=>Z.when!=="manual"||u.manual.includes(Z.name)),await ku.runLoop(u,$,B,z),await HD.printReport({cwd:u.cwd,showTimestamps:u.showTimestamps,stateDir:u.stateDir,writeStreams:F,jobs:$,stages:B,jobNamePad:D.jobNamePad})}static async runJobsInStage(u,D,F){let $=D.jobs.filter((Z)=>Z.stage===u.stage),B=D.stages,z=[...$.values()];z=z.filter((Z)=>Z.when!=="never"),z=z.filter((Z)=>Z.when!=="manual"||u.manual.includes(Z.name)),z=z.filter((Z)=>Z.stage===u.stage),await ku.runLoop(u,$,B,z),await HD.printReport({cwd:u.cwd,showTimestamps:u.showTimestamps,stateDir:u.stateDir,writeStreams:F,jobs:$,stages:B,jobNamePad:D.jobNamePad})}static async runJobs(u,D,F){let $=u.needs||u.onlyNeeds,B=u.job,z=D.jobs,Z=D.stages,q=[],X=$?new Set(z):new Set;if(B.forEach((Y)=>{let W=z.filter((J)=>J.baseName==Y||J.name===Y);for(let J of W){if(X.add(J),$)q.push(...ku.getPastToWaitFor(z,Z,J,u.manual));q.push(J)}}),q.length===0)throw new DM({message:y`{blueBright ${B.join(",")}} could not be found`});let Q=u.onlyNeeds?q.filter((Y)=>!B.includes(Y.name)):q;await ku.runLoop(u,Array.from(X),Z,Q),await HD.printReport({cwd:u.cwd,showTimestamps:u.showTimestamps,stateDir:u.stateDir,writeStreams:F,jobs:z,stages:Z,jobNamePad:D.jobNamePad})}static async printReport({cwd:u,stateDir:D,showTimestamps:F,writeStreams:$,jobs:B,stages:z,jobNamePad:Z}){$.stdout(`
233
+ `);let q=(Y)=>F?` [${Y.padStart(7)}]`:"",X={successful:[],failed:[],warned:[]},Q={warned:[]};for(let Y of B.values())if(Y.started&&Y.afterScriptsExitCode!==0)Q.warned.push(Y);for(let Y of B.values()){if(!Y.started)continue;if(Y.jobStatus==="success")X.successful.push(Y);else if(Y.jobStatus==="warning")X.warned.push(Y);else X.failed.push(Y)}if(X.successful.length!==0)X.successful.sort((Y,W)=>z.indexOf(Y.stage)-z.indexOf(W.stage)),X.successful.forEach(({argv:Y,coveragePercent:W,name:J,prettyDuration:G})=>{let f="";if(Y.childPipelineDepth>0)f=`[${Y.variable.GCL_TRIGGERER}] -> `;let K=J.padEnd(Z);if($.stdout(y`{black.bgGreenBright PASS }${q(G)} {blueBright ${f}${K}}`),W)$.stdout(y` ${W}% {grey coverage}`);$.stdout(`
234
+ `)});if(X.warned.length!==0){X.warned.sort((Y,W)=>z.indexOf(Y.stage)-z.indexOf(W.stage));for(let{name:Y,prettyDuration:W}of X.warned){let J=Y.padEnd(Z),G=_.safeDockerString(Y);$.stdout(y`{black.bgYellowBright WARN }${q(W)} {blueBright ${J}} pre_script\n`);let f=await WB.default.readFile(`${u}/${D}/output/${G}.log`,"utf8");for(let K of f.split(/\r?\n/).filter((x)=>!x.replaceAll(/\x1b\[[\d;]*m/g,"").startsWith("$ ")).filter((x)=>x!=="").slice(-3))$.stdout(y` {yellow >} ${K}\n`)}}if(Q.warned.length!==0)Q.warned.sort((Y,W)=>z.indexOf(Y.stage)-z.indexOf(W.stage)),Q.warned.forEach(({name:Y,prettyDuration:W})=>{let J=Y.padEnd(Z);$.stdout(y`{black.bgYellowBright WARN }${q(W)} {blueBright ${J}} after_script\n`)});if(X.failed.length!==0){X.failed.sort((Y,W)=>z.indexOf(Y.stage)-z.indexOf(W.stage));for(let{name:Y,prettyDuration:W}of X.failed){let J=Y.padEnd(Z),G=_.safeDockerString(Y);$.stdout(y`{black.bgRed FAIL }${q(W)} {blueBright ${J}}\n`);let f=await WB.default.readFile(`${u}/${D}/output/${G}.log`,"utf8");for(let K of f.split(/\r?\n/).filter((x)=>!x.replaceAll(/\x1b\[[\d;]*m/g,"").startsWith("$ ")).filter((x)=>x!=="").slice(-3))$.stdout(y` {red >} ${K}\n`)}}for(let Y of X.successful){let W=Y.environment;if(W==null)continue;let{name:J,url:G}=W;if($.stdout(y`{blueBright ${Y.name}} environment: \{ name: {bold ${J}}`),G!=null)$.stdout(y`, url: {bold ${G}}`);$.stdout(` }
235
+ `)}}static runList(u,D,F){let $=u.stages,B=[...u.jobs.values()];B.sort((Y,W)=>{return $.indexOf(Y.stage)-$.indexOf(W.stage)});let z=4;B.forEach((Y)=>z=Math.max(Y.when.length,z));let Z=5;$.forEach((Y)=>Z=Math.max(Y.length,Z));let q=11;B.forEach((Y)=>q=Math.max(Y.description.length,q));let X=u.jobNamePad;if(!F)B=B.filter((Y)=>Y.when!=="never");D.stdout(y`{grey ${"name".padEnd(X)} ${"description".padEnd(q)}} `),D.stdout(y`{grey ${"stage".padEnd(Z)} ${"when".padEnd(z)}} `),D.stdout(y`{grey allow_failure needs}\n`);let Q=(Y)=>{let W=Y.needs?.filter((f)=>!f.project&&!f.pipeline).map((f)=>f.job),J=Y.allowFailure?"true ":"false ",G=y`{blueBright ${Y.name.padEnd(X)}} ${Y.description.padEnd(q)} `;if(G+=y`{yellow ${Y.stage.padEnd(Z)}} ${Y.when.padEnd(z)} ${J.padEnd(11)}`,W)G+=y` [{blueBright ${W}}]`;D.stdout(`${G}
236
+ `)};B.forEach((Y)=>Q(Y))}static runJson(u,D){let F=[...u.jobs.values()],$=[];F.forEach((B)=>{$.push({name:B.name,description:B.description,stage:B.stage,when:B.when,allow_failure:B.allowFailure,needs:B.needs?.filter((z)=>!z.project&&!z.pipeline),...B.rules?{rules:B.rules}:{}})}),D.stdout(`${JSON.stringify($,null,2)}
237
+ `)}static runCsv(u,D,F){let $=u.stages,B=[...u.jobs.values()];if(B.sort((z,Z)=>{return $.indexOf(z.stage)-$.indexOf(Z.stage)}),!F)B=B.filter((z)=>z.when!=="never");D.stdout(`name;description;stage;when;allowFailure;needs
238
+ `),B.forEach((z)=>{let Z=z.needs?.filter((q)=>!q.project&&!q.pipeline).map((q)=>q.job).join(",")??[];D.stdout(`${z.name};"${z.description}";${z.stage};${z.when};${z.allowFailure?"true":"false"};[${Z}]
239
+ `)})}static validateDependencyChain(u){let D=u.jobs,F=D.filter((z)=>z.when!=="never"),$=u.stages;ku.getStartCandidates(D,$,F,[]);let B=new Set(F.map((z)=>z.name));for(let z of F)if(z.dependencies){for(let Z of z.dependencies)if(!B.has(Z))throw new DM({message:y`{blueBright ${Z}} is when:never, but its depended on by {blueBright ${z.name}}`})}}}var _9=E0(oD(),1);var FM=async(u)=>{if(!_9.default.existsSync(u))return{};let D=await _9.default.readFile(u,"utf8");return X6(D)||{}},SD=async(u,D)=>{let F=`${u}/${D}/state.yml`,$=await FM(F);return $.pipelineIid?$.pipelineIid:0},JB=async(u,D)=>{let F=`${u}/${D}/state.yml`,$=await FM(F);$.pipelineIid=$.pipelineIid!=null?$.pipelineIid+1:0,await _9.default.outputFile(F,`---
240
+ ${T1($)}`)};var U9=E0(h7(),1);var a8=E0(oD(),1),zM=E0(n7(),1);import fB from"assert";import*as N6 from"path";var GB=/[\p{Lu}]/u,ld=/[\p{Ll}]/u,dd=/^[\p{Lu}](?![\p{Lu}])/u,o8=/[_.\- ]+/,BM=/([\p{Alpha}\p{N}_]|$)/u,gd=new RegExp("^"+o8.source),od=new RegExp(o8.source+BM.source,"gu"),sd=new RegExp(String.raw`\d+`+BM.source,"gu"),ad=(u,D,F,$)=>{let B=!1,z=!1,Z=!1,q=!1;for(let X=0;X<u.length;X++){let Q=u[X];if(q=X>2?u[X-3]==="-":!0,B&&GB.test(Q))u=u.slice(0,X)+"-"+u.slice(X),B=!1,Z=z,z=!0,X++;else if(z&&Z&&ld.test(Q)&&(!q||$))u=u.slice(0,X-1)+"-"+u.slice(X-1),Z=z,z=!1,B=!0;else B=D(Q)===Q&&F(Q)!==Q,Z=z,z=F(Q)===Q&&D(Q)!==Q}return u},rd=(u,D)=>u.replace(dd,(F)=>D(F)),td=(u,D,F)=>{let $="",B=!1,z=!1,Z=[...u];for(let q=0;q<Z.length;q++){let X=Z[q],Q=GB.test(X),Y=q+1<Z.length&&GB.test(Z[q+1]);if(B&&/[\p{Alpha}]/u.test(X))$+=X,B=!1,z=Q;else if(F&&Q&&(z||Y))$+=X,z=!0;else if(/\d/.test(X))$+=X,B=!0,z=!1;else if(o8.test(X))$+=X,z=!1;else $+=D(X),B=!1,z=!1}return $},ed=(u,D,{capitalizeAfterNumber:F})=>{let $=F?(B,z,Z,q)=>{let X=q.charAt(Z+B.length);if(o8.test(X))return B;return z?B.slice(0,-z.length)+D(z):B}:(B)=>B;return u.replaceAll(sd,$).replaceAll(od,(B,z)=>D(z))};function s8(u,D){if(!(typeof u==="string"||Array.isArray(u)))throw TypeError("Expected the input to be `string | string[]`");if(D={pascalCase:!1,preserveConsecutiveUppercase:!1,capitalizeAfterNumber:!0,...D},Array.isArray(u))u=u.map((Z)=>Z.trim()).filter((Z)=>Z.length>0).join("-");else u=u.trim();if(u.length===0)return"";let F=u.match(/^[_$]*/)[0];if(u=u.slice(F.length),u.length===0)return F;let $=D.locale===!1?(Z)=>Z.toLowerCase():(Z)=>Z.toLocaleLowerCase(D.locale),B=D.locale===!1?(Z)=>Z.toUpperCase():(Z)=>Z.toLocaleUpperCase(D.locale);if(u.length===1){if(o8.test(u))return F;return F+(D.pascalCase?B(u):$(u))}if(u!==$(u))u=ad(u,$,B,D.preserveConsecutiveUppercase);if(u=u.replace(gd,""),D.capitalizeAfterNumber)u=D.preserveConsecutiveUppercase?rd(u,$):$(u);else u=td(u,$,D.preserveConsecutiveUppercase);if(D.pascalCase&&u.length>0)u=B(u[0])+u.slice(1);return F+ed(u,B,D)}async function ug(){try{return await _.spawn(["git","rev-parse","--is-inside-work-tree"]),!0}catch{return!1}}async function Dg(){let{stdout:u}=await _.spawn(["git","rev-parse","--show-toplevel"]);return u}class su{static default={variablesFile:".gitlab-ci-local-variables.yml",evaluateRuleChanges:!0,ignoreSchemaPaths:[],ignorePredefinedVars:""};map=new Map;writeStreams;async fallbackCwd(u){if(u.cwd!==void 0||u.file!==void 0)return;if(a8.default.existsSync(`${process.cwd()}/.gitlab-ci.yml`))return;if(!await ug())return;this.writeStreams?.stderr(y`{yellow .gitlab-ci.yml not found in cwd, falling back to git root directory}\n`),this.map.set("cwd",N6.relative(process.cwd(),await Dg()))}static async build(u,D){let F=new su(u,D);if(await F.fallbackCwd(u),F.injectDotenv(`${F.home}/.gitlab-ci-local/.env`,u),F.injectDotenv(`${F.cwd}/.gitlab-ci-local-env`,u),!F.shellExecutorNoImage&&F.shellIsolation)D?.stderr(y`{black.bgYellowBright WARN } --shell-isolation does not work with --no-shell-executor-no-image\n`);if(F.defaultImageExplicitlySet&&F.shellIsolation)D?.stderr(y`{black.bgYellowBright WARN } --default-image does not work with --shell-isolation=true\n`);if(F.defaultImageExplicitlySet&&F.shellExecutorNoImage)D?.stderr(y`{black.bgYellowBright WARN } --default-image does not work with --shell-executor-no-image=true\n`);if(F.defaultImageExplicitlySet&&F.forceShellExecutor)D?.stderr(y`{black.bgYellowBright WARN } --default-image does not work with --force-shell-executor=true\n`);return F}constructor(u,D){if(u.noColor)z7.level=0;this.writeStreams=D;for(let[F,$]of Object.entries(u))this.map.set(F,$)}injectDotenv(u,D){if(a8.default.existsSync(u)){let F=zM.parse(a8.default.readFileSync(u));for(let[$,B]of Object.entries(F)){let z=s8($);if(z==="variable"){let Z=D[z];if(Z==null)Z=[],this.map.set(z,Z);if(!Array.isArray(Z))continue;for(let q of B.split(" "))Z.unshift(q)}else if(D[z]==null)if(B==="true")this.map.set(z,!0);else if(B==="false")this.map.set(z,!1);else if(B==="null")this.map.set(z,null);else if(!isNaN(Number(B)))this.map.set(z,Number(B));else this.map.set(z,B)}}}get cwd(){let u=this.map.get("cwd")??".";return fB(typeof u!="object","--cwd option cannot be an array"),fB(!N6.isAbsolute(u),"Please use relative path for the --cwd option"),u=N6.normalize(`${process.cwd()}/${u}`),u=u.replace(/\/$/,""),fB(a8.default.pathExistsSync(u),`${u} is not a directory`),u}get variablesFile(){return this.map.get("variablesFile")??su.default.variablesFile}get evaluateRuleChanges(){return this.map.get("evaluateRuleChanges")??su.default.evaluateRuleChanges}get file(){return this.map.get("file")??".gitlab-ci.yml"}get stateDir(){return(this.map.get("stateDir")??".gitlab-ci-local").replace(/\/$/,"")}get home(){return(this.map.get("home")??process.env.HOME??"").replace(/\/$/,"")}get volume(){let u=this.map.get("volume")??[];return typeof u=="string"?u.split(" "):u}get network(){let u=this.map.get("network")??[];return typeof u=="string"?u.split(" "):u}get extraHost(){let u=this.map.get("extraHost")??[];return typeof u=="string"?u.split(" "):u}get caFile(){return this.map.get("caFile")??null}get ignoreSchemaPaths(){return this.map.get("ignoreSchemaPaths")??su.default.ignoreSchemaPaths}get ignorePredefinedVars(){return this.map.get("ignorePredefinedVars")??su.default.ignorePredefinedVars}get pullPolicy(){return this.map.get("pullPolicy")??"if-not-present"}get remoteVariables(){let u=this.map.get("remoteVariables")??[];return typeof u=="string"?u.split(" "):u}get variable(){let u=this.map.get("variable"),D={};return((typeof u=="string"?u.split(" "):u)??[]).forEach(($)=>{let B=/(?<key>\w*?)(=)(?<value>(.|\n|\r)*)/.exec($);if(B?.groups?.key)D[B.groups.key]=B?.groups?.value}),D}get unsetVariables(){return this.map.get("unsetVariable")??[]}get manual(){let u=this.map.get("manual")??[];return typeof u=="string"?u.split(" "):u}get job(){return this.map.get("job")??[]}get autoCompleting(){return this.map.get("autoCompleting")??!1}get cleanup(){return this.map.get("cleanup")??!0}get quiet(){return this.map.get("quiet")??!1}get umask(){return this.map.get("umask")??!0}get userns(){return this.map.get("userns")}get privileged(){return this.map.get("privileged")??!1}get device(){let u=this.map.get("device")??[];return typeof u=="string"?u.split(" "):u}get ulimit(){let u=this.map.get("ulimit");if(!u)return null;return u}get shmSize(){return this.map.get("shmSize")}get needs(){return this.map.get("needs")??!1}get onlyNeeds(){return this.map.get("onlyNeeds")??!1}get stage(){return this.map.get("stage")??null}get completion(){return this.map.get("completion")??!1}get list(){return this.map.get("list")??!1}get listAll(){return this.map.get("listAll")??!1}get listJson(){return this.map.get("listJson")??!1}get listCsv(){return this.map.get("listCsv")??!1}get listCsvAll(){return this.map.get("listCsvAll")??!1}get preview(){return this.map.get("preview")??!1}get validateDependencyChain(){return this.map.get("validateDependencyChain")??!1}get shellIsolation(){return this.map.get("shellIsolation")??!1}get fetchIncludes(){return this.map.get("fetchIncludes")??!1}get mountCache(){return this.map.get("mountCache")??!1}get artifactsToSource(){return this.map.get("artifactsToSource")??!0}get showTimestamps(){return this.map.get("timestamps")??!1}get maxJobNamePadding(){return this.map.get("maxJobNamePadding")??null}get containerMacAddress(){return this.map.get("containerMacAddress")??null}get containerEmulate(){return this.map.get("containerEmulate")??null}get concurrency(){let u=this.map.get("concurrency");if(!u)return null;return Number(u)}get containerExecutable(){return this.map.get("containerExecutable")??"docker"}get jsonSchemaValidation(){return this.map.get("jsonSchemaValidation")??!0}get shellExecutorNoImage(){return this.map.get("shellExecutorNoImage")??!0}get forceShellExecutor(){return this.map.get("forceShellExecutor")??!1}get defaultImage(){return this.map.get("defaultImage")??"docker.io/ruby:3.1"}get waitImage(){return this.map.get("waitImage")??"docker.io/sumina46/wait-for-it:latest"}get helperImage(){return this.map.get("helperImage")??"docker.io/firecow/gitlab-ci-local-util:latest"}get defaultImageExplicitlySet(){return this.map.get("defaultImage")??!1}get maximumIncludes(){return this.map.get("maximumIncludes")??150}get childPipelineDepth(){return this.map.get("childPipelineDepth")}get registry(){return this.map.get("registry")??!1}}import KB from"assert";var xB=(u,D)=>{let F=`${u}/${D}/.gitignore`,$=`*
241
+ !.gitignore
242
+ `;if(!S9.default.existsSync(F))S9.default.outputFileSync(F,`*
243
+ !.gitignore
244
+ `)};async function T9(u,D,F=[],$=0){KB($<=2,"Parent and child pipelines have a maximum depth of two levels of child pipelines.");let B=await su.build({...u,childPipelineDepth:$},D),z=B.cwd,Z=B.stateDir,q=B.file,X;if(B.completion)return i7(process.argv.slice(2)).showCompletionScript(),[];if(KB(S9.default.existsSync(`${z}/${q}`),`${Fg.resolve(z)}/${q} could not be found`),B.preview){let Q=await SD(z,Z);X=await t0.create(B,D,Q,F,!1);let Y=X.gitlabData;for(let W of Object.keys(Y)){if(W==="stages")continue;if(W.startsWith(".")||["include","after_script","before_script","default"].includes(W))delete Y[W]}D.stdout(`---
245
+ ${T1(Y,{lineWidth:160})}`)}else if(B.list||B.listAll){let Q=await SD(z,Z);X=await t0.create(B,D,Q,F),HD.runList(X,D,B.listAll)}else if(B.validateDependencyChain){let Q=await SD(z,Z);X=await t0.create(B,D,Q,F),HD.validateDependencyChain(X),D.stdout(y`{green ✓ All job dependencies are valid}\n`)}else if(B.listJson){let Q=await SD(z,Z);X=await t0.create(B,D,Q,F),HD.runJson(X,D)}else if(B.listCsv||B.listCsvAll){let Q=await SD(z,Z);X=await t0.create(B,D,Q,F),HD.runCsv(X,D,B.listCsvAll)}else if(B.job.length>0){if(KB(B.stage===null,"You cannot use --stage when starting individual jobs"),B.registry)await _.startDockerRegistry(B);xB(z,Z);let Q=process.hrtime();if(B.needs||B.onlyNeeds)await JB(z,Z);let Y=await SD(z,Z);if(X=await t0.create(B,D,Y,F),await _.rsyncTrackedFiles(z,Z,".docker"),await HD.runJobs(B,X,D),B.needs||B.onlyNeeds)D.stderr(y`{grey pipeline finished} in {grey ${U9.default(process.hrtime(Q))}}\n`)}else if(B.stage){if(B.registry)await _.startDockerRegistry(B);xB(z,Z);let Q=process.hrtime(),Y=await SD(z,Z);X=await t0.create(B,D,Y,F),await _.rsyncTrackedFiles(z,Z,".docker"),await HD.runJobsInStage(B,X,D),D.stderr(y`{grey pipeline finished} in {grey ${U9.default(process.hrtime(Q))}}\n`)}else{if(B.registry)await _.startDockerRegistry(B);xB(z,Z);let Q=process.hrtime();await JB(z,Z);let Y=await SD(z,Z);if(X=await t0.create(B,D,Y,F),await _.rsyncTrackedFiles(z,Z,".docker"),await HD.runPipeline(B,X,D),$==0)D.stderr(y`{grey pipeline finished} in {grey ${U9.default(process.hrtime(Q))}}\n`)}if(D.flush(),B.registry)await _.stopDockerRegistry(B.containerExecutable);return j6(F)}var QD=E0(oD(),1);import K1,{AssertionError as E4}from"assert";function r8(u,D){return function(){return u.apply(D,arguments)}}var{toString:$g}=Object.prototype,{getPrototypeOf:VB}=Object,{iterator:b9,toStringTag:qM}=Symbol,R9=((u)=>(D)=>{let F=$g.call(D);return u[F]||(u[F]=F.slice(8,-1).toLowerCase())})(Object.create(null)),TD=(u)=>{return u=u.toLowerCase(),(D)=>R9(D)===u},k9=(u)=>(D)=>typeof D===u,{isArray:E6}=Array,I6=k9("undefined");function t8(u){return u!==null&&!I6(u)&&u.constructor!==null&&!I6(u.constructor)&&au(u.constructor.isBuffer)&&u.constructor.isBuffer(u)}var XM=TD("ArrayBuffer");function Bg(u){let D;if(typeof ArrayBuffer<"u"&&ArrayBuffer.isView)D=ArrayBuffer.isView(u);else D=u&&u.buffer&&XM(u.buffer);return D}var zg=k9("string"),au=k9("function"),QM=k9("number"),e8=(u)=>u!==null&&typeof u==="object",Zg=(u)=>u===!0||u===!1,y9=(u)=>{if(R9(u)!=="object")return!1;let D=VB(u);return(D===null||D===Object.prototype||Object.getPrototypeOf(D)===null)&&!(qM in u)&&!(b9 in u)},qg=(u)=>{if(!e8(u)||t8(u))return!1;try{return Object.keys(u).length===0&&Object.getPrototypeOf(u)===Object.prototype}catch(D){return!1}},Xg=TD("Date"),Qg=TD("File"),Yg=TD("Blob"),Wg=TD("FileList"),Jg=(u)=>e8(u)&&au(u.pipe),Gg=(u)=>{let D;return u&&(typeof FormData==="function"&&u instanceof FormData||au(u.append)&&((D=R9(u))==="formdata"||D==="object"&&au(u.toString)&&u.toString()==="[object FormData]"))},fg=TD("URLSearchParams"),[Kg,xg,Hg,Vg]=["ReadableStream","Request","Response","Headers"].map(TD),Lg=(u)=>u.trim?u.trim():u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function u4(u,D,{allOwnKeys:F=!1}={}){if(u===null||typeof u>"u")return;let $,B;if(typeof u!=="object")u=[u];if(E6(u))for($=0,B=u.length;$<B;$++)D.call(null,u[$],$,u);else{if(t8(u))return;let z=F?Object.getOwnPropertyNames(u):Object.keys(u),Z=z.length,q;for($=0;$<Z;$++)q=z[$],D.call(null,u[q],q,u)}}function YM(u,D){if(t8(u))return null;D=D.toLowerCase();let F=Object.keys(u),$=F.length,B;while($-- >0)if(B=F[$],D===B.toLowerCase())return B;return null}var EF=(()=>{if(typeof globalThis<"u")return globalThis;return typeof self<"u"?self:typeof window<"u"?window:global})(),WM=(u)=>!I6(u)&&u!==EF;function HB(){let{caseless:u,skipUndefined:D}=WM(this)&&this||{},F={},$=(B,z)=>{if(z==="__proto__"||z==="constructor"||z==="prototype")return;let Z=u&&YM(F,z)||z;if(y9(F[Z])&&y9(B))F[Z]=HB(F[Z],B);else if(y9(B))F[Z]=HB({},B);else if(E6(B))F[Z]=B.slice();else if(!D||!I6(B))F[Z]=B};for(let B=0,z=arguments.length;B<z;B++)arguments[B]&&u4(arguments[B],$);return F}var Mg=(u,D,F,{allOwnKeys:$}={})=>{return u4(D,(B,z)=>{if(F&&au(B))Object.defineProperty(u,z,{value:r8(B,F),writable:!0,enumerable:!0,configurable:!0});else Object.defineProperty(u,z,{value:B,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:$}),u},wg=(u)=>{if(u.charCodeAt(0)===65279)u=u.slice(1);return u},ig=(u,D,F,$)=>{u.prototype=Object.create(D.prototype,$),Object.defineProperty(u.prototype,"constructor",{value:u,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(u,"super",{value:D.prototype}),F&&Object.assign(u.prototype,F)},Og=(u,D,F,$)=>{let B,z,Z,q={};if(D=D||{},u==null)return D;do{B=Object.getOwnPropertyNames(u),z=B.length;while(z-- >0)if(Z=B[z],(!$||$(Z,u,D))&&!q[Z])D[Z]=u[Z],q[Z]=!0;u=F!==!1&&VB(u)}while(u&&(!F||F(u,D))&&u!==Object.prototype);return D},Ag=(u,D,F)=>{if(u=String(u),F===void 0||F>u.length)F=u.length;F-=D.length;let $=u.indexOf(D,F);return $!==-1&&$===F},Ng=(u)=>{if(!u)return null;if(E6(u))return u;let D=u.length;if(!QM(D))return null;let F=Array(D);while(D-- >0)F[D]=u[D];return F},jg=((u)=>{return(D)=>{return u&&D instanceof u}})(typeof Uint8Array<"u"&&VB(Uint8Array)),Ig=(u,D)=>{let $=(u&&u[b9]).call(u),B;while((B=$.next())&&!B.done){let z=B.value;D.call(u,z[0],z[1])}},Eg=(u,D)=>{let F,$=[];while((F=u.exec(D))!==null)$.push(F);return $},Cg=TD("HTMLFormElement"),Pg=(u)=>{return u.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(F,$,B){return $.toUpperCase()+B})},ZM=(({hasOwnProperty:u})=>(D,F)=>u.call(D,F))(Object.prototype),vg=TD("RegExp"),JM=(u,D)=>{let F=Object.getOwnPropertyDescriptors(u),$={};u4(F,(B,z)=>{let Z;if((Z=D(B,z,u))!==!1)$[z]=Z||B}),Object.defineProperties(u,$)},_g=(u)=>{JM(u,(D,F)=>{if(au(u)&&["arguments","caller","callee"].indexOf(F)!==-1)return!1;let $=u[F];if(!au($))return;if(D.enumerable=!1,"writable"in D){D.writable=!1;return}if(!D.set)D.set=()=>{throw Error("Can not rewrite read-only method '"+F+"'")}})},Ug=(u,D)=>{let F={},$=(B)=>{B.forEach((z)=>{F[z]=!0})};return E6(u)?$(u):$(String(u).split(D)),F},Sg=()=>{},Tg=(u,D)=>{return u!=null&&Number.isFinite(u=+u)?u:D};function yg(u){return!!(u&&au(u.append)&&u[qM]==="FormData"&&u[b9])}var bg=(u)=>{let D=[,,,,,,,,,,],F=($,B)=>{if(e8($)){if(D.indexOf($)>=0)return;if(t8($))return $;if(!("toJSON"in $)){D[B]=$;let z=E6($)?[]:{};return u4($,(Z,q)=>{let X=F(Z,B+1);!I6(X)&&(z[q]=X)}),D[B]=void 0,z}}return $};return F(u,0)},Rg=TD("AsyncFunction"),kg=(u)=>u&&(e8(u)||au(u))&&au(u.then)&&au(u.catch),GM=((u,D)=>{if(u)return setImmediate;return D?((F,$)=>{return EF.addEventListener("message",({source:B,data:z})=>{if(B===EF&&z===F)$.length&&$.shift()()},!1),(B)=>{$.push(B),EF.postMessage(F,"*")}})(`axios@${Math.random()}`,[]):(F)=>setTimeout(F)})(typeof setImmediate==="function",au(EF.postMessage)),cg=typeof queueMicrotask<"u"?queueMicrotask.bind(EF):typeof process<"u"&&process.nextTick||GM,hg=(u)=>u!=null&&au(u[b9]),N={isArray:E6,isArrayBuffer:XM,isBuffer:t8,isFormData:Gg,isArrayBufferView:Bg,isString:zg,isNumber:QM,isBoolean:Zg,isObject:e8,isPlainObject:y9,isEmptyObject:qg,isReadableStream:Kg,isRequest:xg,isResponse:Hg,isHeaders:Vg,isUndefined:I6,isDate:Xg,isFile:Qg,isBlob:Yg,isRegExp:vg,isFunction:au,isStream:Jg,isURLSearchParams:fg,isTypedArray:jg,isFileList:Wg,forEach:u4,merge:HB,extend:Mg,trim:Lg,stripBOM:wg,inherits:ig,toFlatObject:Og,kindOf:R9,kindOfTest:TD,endsWith:Ag,toArray:Ng,forEachEntry:Ig,matchAll:Eg,isHTMLForm:Cg,hasOwnProperty:ZM,hasOwnProp:ZM,reduceDescriptors:JM,freezeMethods:_g,toObjectSet:Ug,toCamelCase:Pg,noop:Sg,toFiniteNumber:Tg,findKey:YM,global:EF,isContextDefined:WM,isSpecCompliantForm:yg,toJSONObject:bg,isAsyncFn:Rg,isThenable:kg,setImmediate:GM,asap:cg,isIterable:hg};class cu extends Error{static from(u,D,F,$,B,z){let Z=new cu(u.message,D||u.code,F,$,B);return Z.cause=u,Z.name=u.name,z&&Object.assign(Z,z),Z}constructor(u,D,F,$,B){super(u);if(this.name="AxiosError",this.isAxiosError=!0,D&&(this.code=D),F&&(this.config=F),$&&(this.request=$),B)this.response=B,this.status=B.status}toJSON(){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:N.toJSONObject(this.config),code:this.code,status:this.status}}}cu.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";cu.ERR_BAD_OPTION="ERR_BAD_OPTION";cu.ECONNABORTED="ECONNABORTED";cu.ETIMEDOUT="ETIMEDOUT";cu.ERR_NETWORK="ERR_NETWORK";cu.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";cu.ERR_DEPRECATED="ERR_DEPRECATED";cu.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";cu.ERR_BAD_REQUEST="ERR_BAD_REQUEST";cu.ERR_CANCELED="ERR_CANCELED";cu.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";cu.ERR_INVALID_URL="ERR_INVALID_URL";var D0=cu;var xi=E0(Ki(),1),a9=xi.default;function hB(u){return N.isPlainObject(u)||N.isArray(u)}function Vi(u){return N.endsWith(u,"[]")?u.slice(0,-2):u}function Hi(u,D,F){if(!u)return D;return u.concat(D).map(function(B,z){return B=Vi(B),!F&&z?"["+B+"]":B}).join(F?".":"")}function vs(u){return N.isArray(u)&&!u.some(hB)}var _s=N.toFlatObject(N,{},null,function(D){return/^is[A-Z]/.test(D)});function Us(u,D,F){if(!N.isObject(u))throw TypeError("target must be an object");D=D||new(a9||FormData),F=N.toFlatObject(F,{metaTokens:!0,dots:!1,indexes:!1},!1,function(K,x){return!N.isUndefined(x[K])});let $=F.metaTokens,B=F.visitor||Y,z=F.dots,Z=F.indexes,X=(F.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(D);if(!N.isFunction(B))throw TypeError("visitor must be a function");function Q(f){if(f===null)return"";if(N.isDate(f))return f.toISOString();if(N.isBoolean(f))return f.toString();if(!X&&N.isBlob(f))throw new D0("Blob is not supported. Use a Buffer instead.");if(N.isArrayBuffer(f)||N.isTypedArray(f))return X&&typeof Blob==="function"?new Blob([f]):Buffer.from(f);return f}function Y(f,K,x){let M=f;if(f&&!x&&typeof f==="object"){if(N.endsWith(K,"{}"))K=$?K:K.slice(0,-2),f=JSON.stringify(f);else if(N.isArray(f)&&vs(f)||(N.isFileList(f)||N.endsWith(K,"[]"))&&(M=N.toArray(f)))return K=Vi(K),M.forEach(function(j,U){!(N.isUndefined(j)||j===null)&&D.append(Z===!0?Hi([K],U,z):Z===null?K:K+"[]",Q(j))}),!1}if(hB(f))return!0;return D.append(Hi(x,K,z),Q(f)),!1}let W=[],J=Object.assign(_s,{defaultVisitor:Y,convertValue:Q,isVisitable:hB});function G(f,K){if(N.isUndefined(f))return;if(W.indexOf(f)!==-1)throw Error("Circular reference detected in "+K.join("."));W.push(f),N.forEach(f,function(M,L){if((!(N.isUndefined(M)||M===null)&&B.call(D,M,N.isString(L)?L.trim():L,K,J))===!0)G(M,K?K.concat(L):[L])}),W.pop()}if(!N.isObject(u))throw TypeError("data must be an object");return G(u),D}var n1=Us;function Li(u){let D={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\x00"};return encodeURIComponent(u).replace(/[!'()~]|%20|%00/g,function($){return D[$]})}function Mi(u,D){this._pairs=[],u&&n1(u,this,D)}var wi=Mi.prototype;wi.append=function(D,F){this._pairs.push([D,F])};wi.toString=function(D){let F=D?function($){return D.call(this,$,Li)}:Li;return this._pairs.map(function(B){return F(B[0])+"="+F(B[1])},"").join("&")};var ii=Mi;function Ss(u){return encodeURIComponent(u).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function PF(u,D,F){if(!D)return u;let $=F&&F.encode||Ss,B=N.isFunction(F)?{serialize:F}:F,z=B&&B.serialize,Z;if(z)Z=z(D,B);else Z=N.isURLSearchParams(D)?D.toString():new ii(D,B).toString($);if(Z){let q=u.indexOf("#");if(q!==-1)u=u.slice(0,q);u+=(u.indexOf("?")===-1?"?":"&")+Z}return u}class Oi{constructor(){this.handlers=[]}use(u,D,F){return this.handlers.push({fulfilled:u,rejected:D,synchronous:F?F.synchronous:!1,runWhen:F?F.runWhen:null}),this.handlers.length-1}eject(u){if(this.handlers[u])this.handlers[u]=null}clear(){if(this.handlers)this.handlers=[]}forEach(u){N.forEach(this.handlers,function(F){if(F!==null)u(F)})}}var mB=Oi;var p1={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0};import ys from"crypto";import Ts from"url";var Ai=Ts.URLSearchParams;var nB="abcdefghijklmnopqrstuvwxyz",Ni="0123456789",ji={DIGIT:Ni,ALPHA:nB,ALPHA_DIGIT:nB+nB.toUpperCase()+Ni},bs=(u=16,D=ji.ALPHA_DIGIT)=>{let F="",{length:$}=D,B=new Uint32Array(u);ys.randomFillSync(B);for(let z=0;z<u;z++)F+=D[B[z]%$];return F},Ii={isNode:!0,classes:{URLSearchParams:Ai,FormData:a9,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:ji,generateString:bs,protocols:["http","https","file","data"]};var dB={};Y3(dB,{origin:()=>cs,navigator:()=>pB,hasStandardBrowserWebWorkerEnv:()=>ks,hasStandardBrowserEnv:()=>Rs,hasBrowserEnv:()=>lB});var lB=typeof window<"u"&&typeof document<"u",pB=typeof navigator==="object"&&navigator||void 0,Rs=lB&&(!pB||["ReactNative","NativeScript","NS"].indexOf(pB.product)<0),ks=(()=>{return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"})(),cs=lB&&window.location.href||"http://localhost";var R0={...dB,...Ii};function gB(u,D){return n1(u,new R0.classes.URLSearchParams,{visitor:function(F,$,B,z){if(R0.isNode&&N.isBuffer(F))return this.append($,F.toString("base64")),!1;return z.defaultVisitor.apply(this,arguments)},...D})}function hs(u){return N.matchAll(/\w+|\[(\w*)]/g,u).map((D)=>{return D[0]==="[]"?"":D[1]||D[0]})}function ms(u){let D={},F=Object.keys(u),$,B=F.length,z;for($=0;$<B;$++)z=F[$],D[z]=u[z];return D}function ns(u){function D(F,$,B,z){let Z=F[z++];if(Z==="__proto__")return!0;let q=Number.isFinite(+Z),X=z>=F.length;if(Z=!Z&&N.isArray(B)?B.length:Z,X){if(N.hasOwnProp(B,Z))B[Z]=[B[Z],$];else B[Z]=$;return!q}if(!B[Z]||!N.isObject(B[Z]))B[Z]=[];if(D(F,$,B[Z],z)&&N.isArray(B[Z]))B[Z]=ms(B[Z]);return!q}if(N.isFormData(u)&&N.isFunction(u.entries)){let F={};return N.forEachEntry(u,($,B)=>{D(hs($),B,F,0)}),F}return null}var r9=ns;function ps(u,D,F){if(N.isString(u))try{return(D||JSON.parse)(u),N.trim(u)}catch($){if($.name!=="SyntaxError")throw $}return(F||JSON.stringify)(u)}var oB={transitional:p1,adapter:["xhr","http","fetch"],transformRequest:[function(D,F){let $=F.getContentType()||"",B=$.indexOf("application/json")>-1,z=N.isObject(D);if(z&&N.isHTMLForm(D))D=new FormData(D);if(N.isFormData(D))return B?JSON.stringify(r9(D)):D;if(N.isArrayBuffer(D)||N.isBuffer(D)||N.isStream(D)||N.isFile(D)||N.isBlob(D)||N.isReadableStream(D))return D;if(N.isArrayBufferView(D))return D.buffer;if(N.isURLSearchParams(D))return F.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),D.toString();let q;if(z){if($.indexOf("application/x-www-form-urlencoded")>-1)return gB(D,this.formSerializer).toString();if((q=N.isFileList(D))||$.indexOf("multipart/form-data")>-1){let X=this.env&&this.env.FormData;return n1(q?{"files[]":D}:D,X&&new X,this.formSerializer)}}if(z||B)return F.setContentType("application/json",!1),ps(D);return D}],transformResponse:[function(D){let F=this.transitional||oB.transitional,$=F&&F.forcedJSONParsing,B=this.responseType==="json";if(N.isResponse(D)||N.isReadableStream(D))return D;if(D&&N.isString(D)&&($&&!this.responseType||B)){let Z=!(F&&F.silentJSONParsing)&&B;try{return JSON.parse(D,this.parseReviver)}catch(q){if(Z){if(q.name==="SyntaxError")throw D0.from(q,D0.ERR_BAD_RESPONSE,this,null,this.response);throw q}}}return D}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:R0.classes.FormData,Blob:R0.classes.Blob},validateStatus:function(D){return D>=200&&D<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],(u)=>{oB.headers[u]={}});var U6=oB;var ls=N.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"]),Ei=(u)=>{let D={},F,$,B;return u&&u.split(`
246
+ `).forEach(function(Z){if(B=Z.indexOf(":"),F=Z.substring(0,B).trim().toLowerCase(),$=Z.substring(B+1).trim(),!F||D[F]&&ls[F])return;if(F==="set-cookie")if(D[F])D[F].push($);else D[F]=[$];else D[F]=D[F]?D[F]+", "+$:$}),D};var Ci=Symbol("internals");function z4(u){return u&&String(u).trim().toLowerCase()}function t9(u){if(u===!1||u==null)return u;return N.isArray(u)?u.map(t9):String(u)}function ds(u){let D=Object.create(null),F=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,$;while($=F.exec(u))D[$[1]]=$[2];return D}var gs=(u)=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(u.trim());function sB(u,D,F,$,B){if(N.isFunction($))return $.call(this,D,F);if(B)D=F;if(!N.isString(D))return;if(N.isString($))return D.indexOf($)!==-1;if(N.isRegExp($))return $.test(D)}function os(u){return u.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(D,F,$)=>{return F.toUpperCase()+$})}function ss(u,D){let F=N.toCamelCase(" "+D);["get","set","has"].forEach(($)=>{Object.defineProperty(u,$+F,{value:function(B,z,Z){return this[$].call(this,D,B,z,Z)},configurable:!0})})}class Z4{constructor(u){u&&this.set(u)}set(u,D,F){let $=this;function B(Z,q,X){let Q=z4(q);if(!Q)throw Error("header name must be a non-empty string");let Y=N.findKey($,Q);if(!Y||$[Y]===void 0||X===!0||X===void 0&&$[Y]!==!1)$[Y||q]=t9(Z)}let z=(Z,q)=>N.forEach(Z,(X,Q)=>B(X,Q,q));if(N.isPlainObject(u)||u instanceof this.constructor)z(u,D);else if(N.isString(u)&&(u=u.trim())&&!gs(u))z(Ei(u),D);else if(N.isObject(u)&&N.isIterable(u)){let Z={},q,X;for(let Q of u){if(!N.isArray(Q))throw TypeError("Object iterator must return a key-value pair");Z[X=Q[0]]=(q=Z[X])?N.isArray(q)?[...q,Q[1]]:[q,Q[1]]:Q[1]}z(Z,D)}else u!=null&&B(D,u,F);return this}get(u,D){if(u=z4(u),u){let F=N.findKey(this,u);if(F){let $=this[F];if(!D)return $;if(D===!0)return ds($);if(N.isFunction(D))return D.call(this,$,F);if(N.isRegExp(D))return D.exec($);throw TypeError("parser must be boolean|regexp|function")}}}has(u,D){if(u=z4(u),u){let F=N.findKey(this,u);return!!(F&&this[F]!==void 0&&(!D||sB(this,this[F],F,D)))}return!1}delete(u,D){let F=this,$=!1;function B(z){if(z=z4(z),z){let Z=N.findKey(F,z);if(Z&&(!D||sB(F,F[Z],Z,D)))delete F[Z],$=!0}}if(N.isArray(u))u.forEach(B);else B(u);return $}clear(u){let D=Object.keys(this),F=D.length,$=!1;while(F--){let B=D[F];if(!u||sB(this,this[B],B,u,!0))delete this[B],$=!0}return $}normalize(u){let D=this,F={};return N.forEach(this,($,B)=>{let z=N.findKey(F,B);if(z){D[z]=t9($),delete D[B];return}let Z=u?os(B):String(B).trim();if(Z!==B)delete D[B];D[Z]=t9($),F[Z]=!0}),this}concat(...u){return this.constructor.concat(this,...u)}toJSON(u){let D=Object.create(null);return N.forEach(this,(F,$)=>{F!=null&&F!==!1&&(D[$]=u&&N.isArray(F)?F.join(", "):F)}),D}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([u,D])=>u+": "+D).join(`
247
+ `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(u){return u instanceof this?u:new this(u)}static concat(u,...D){let F=new this(u);return D.forEach(($)=>F.set($)),F}static accessor(u){let F=(this[Ci]=this[Ci]={accessors:{}}).accessors,$=this.prototype;function B(z){let Z=z4(z);if(!F[Z])ss($,z),F[Z]=!0}return N.isArray(u)?u.forEach(B):B(u),this}}Z4.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Z4.prototype,({value:u},D)=>{let F=D[0].toUpperCase()+D.slice(1);return{get:()=>u,set($){this[F]=$}}});N.freezeMethods(Z4);var Fu=Z4;function q4(u,D){let F=this||U6,$=D||F,B=Fu.from($.headers),z=$.data;return N.forEach(u,function(q){z=q.call(F,z,B.normalize(),D?D.status:void 0)}),B.normalize(),z}function X4(u){return!!(u&&u.__CANCEL__)}class Pi extends D0{constructor(u,D,F){super(u==null?"canceled":u,D0.ERR_CANCELED,D,F);this.name="CanceledError",this.__CANCEL__=!0}}var XD=Pi;function u1(u,D,F){let $=F.config.validateStatus;if(!F.status||!$||$(F.status))u(F);else D(new D0("Request failed with status code "+F.status,[D0.ERR_BAD_REQUEST,D0.ERR_BAD_RESPONSE][Math.floor(F.status/100)-4],F.config,F.request,F))}function aB(u){if(typeof u!=="string")return!1;return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(u)}function rB(u,D){return D?u.replace(/\/?\/$/,"")+"/"+D.replace(/^\/+/,""):u}function vF(u,D,F){let $=!aB(D);if(u&&($||F==!1))return rB(u,D);return D}var WO=E0(vi(),1),fO=E0(ai(),1);import Gr from"http";import fr from"https";import JO from"http2";import GO from"util";import d1 from"zlib";var yF="1.13.5";function K4(u){let D=/^([-+\w]{1,25})(:?\/\/|:)/.exec(u);return D&&D[1]||""}var ur=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function fz(u,D,F){let $=F&&F.Blob||R0.classes.Blob,B=K4(u);if(D===void 0&&$)D=!0;if(B==="data"){u=B.length?u.slice(B.length+1):u;let z=ur.exec(u);if(!z)throw new D0("Invalid URL",D0.ERR_INVALID_URL);let Z=z[1],q=z[2],X=z[3],Q=Buffer.from(decodeURIComponent(X),q?"base64":"utf8");if(D){if(!$)throw new D0("Blob is not supported",D0.ERR_NOT_SUPPORT);return new $([Q],{type:Z})}return Q}throw new D0("Unsupported protocol "+B,D0.ERR_NOT_SUPPORT)}import l1 from"stream";import Dr from"stream";var Kz=Symbol("internals");class ri extends Dr.Transform{constructor(u){u=N.toFlatObject(u,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(F,$)=>{return!N.isUndefined($[F])});super({readableHighWaterMark:u.chunkSize});let D=this[Kz]={timeWindow:u.timeWindow,chunkSize:u.chunkSize,maxRate:u.maxRate,minChunkSize:u.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",(F)=>{if(F==="progress"){if(!D.isCaptured)D.isCaptured=!0}})}_read(u){let D=this[Kz];if(D.onReadCallback)D.onReadCallback();return super._read(u)}_transform(u,D,F){let $=this[Kz],B=$.maxRate,z=this.readableHighWaterMark,Z=$.timeWindow,q=1000/Z,X=B/q,Q=$.minChunkSize!==!1?Math.max($.minChunkSize,X*0.01):0,Y=(J,G)=>{let f=Buffer.byteLength(J);if($.bytesSeen+=f,$.bytes+=f,$.isCaptured&&this.emit("progress",$.bytesSeen),this.push(J))process.nextTick(G);else $.onReadCallback=()=>{$.onReadCallback=null,process.nextTick(G)}},W=(J,G)=>{let f=Buffer.byteLength(J),K=null,x=z,M,L=0;if(B){let j=Date.now();if(!$.ts||(L=j-$.ts)>=Z)$.ts=j,M=X-$.bytes,$.bytes=M<0?-M:0,L=0;M=X-$.bytes}if(B){if(M<=0)return setTimeout(()=>{G(null,J)},Z-L);if(M<x)x=M}if(x&&f>x&&f-x>Q)K=J.subarray(x),J=J.subarray(0,x);Y(J,K?()=>{process.nextTick(G,null,K)}:G)};W(u,function J(G,f){if(G)return F(G);if(f)W(f,J);else F(null)})}}var xz=ri;import{EventEmitter as Kr}from"events";import $r from"util";import{Readable as Br}from"stream";var{asyncIterator:ti}=Symbol,Fr=async function*(u){if(u.stream)yield*u.stream();else if(u.arrayBuffer)yield await u.arrayBuffer();else if(u[ti])yield*u[ti]();else yield u},B5=Fr;var zr=R0.ALPHABET.ALPHA_DIGIT+"-_",x4=typeof TextEncoder==="function"?new TextEncoder:new $r.TextEncoder,bF=`\r
248
+ `,Zr=x4.encode(bF),qr=2;class ei{constructor(u,D){let{escapeName:F}=this.constructor,$=N.isString(D),B=`Content-Disposition: form-data; name="${F(u)}"${!$&&D.name?`; filename="${F(D.name)}"`:""}${bF}`;if($)D=x4.encode(String(D).replace(/\r?\n|\r\n?/g,bF));else B+=`Content-Type: ${D.type||"application/octet-stream"}${bF}`;this.headers=x4.encode(B+bF),this.contentLength=$?D.byteLength:D.size,this.size=this.headers.byteLength+this.contentLength+qr,this.name=u,this.value=D}async*encode(){yield this.headers;let{value:u}=this;if(N.isTypedArray(u))yield u;else yield*B5(u);yield Zr}static escapeName(u){return String(u).replace(/[\r\n"]/g,(D)=>({"\r":"%0D","\n":"%0A",'"':"%22"})[D])}}var Xr=(u,D,F)=>{let{tag:$="form-data-boundary",size:B=25,boundary:z=$+"-"+R0.generateString(B,zr)}=F||{};if(!N.isFormData(u))throw TypeError("FormData instance required");if(z.length<1||z.length>70)throw Error("boundary must be 10-70 characters long");let Z=x4.encode("--"+z+bF),q=x4.encode("--"+z+"--"+bF),X=q.byteLength,Q=Array.from(u.entries()).map(([W,J])=>{let G=new ei(W,J);return X+=G.size,G});X+=Z.byteLength*Q.length,X=N.toFiniteNumber(X);let Y={"Content-Type":`multipart/form-data; boundary=${z}`};if(Number.isFinite(X))Y["Content-Length"]=X;return D&&D(Y),Br.from(async function*(){for(let W of Q)yield Z,yield*W.encode();yield q}())},uO=Xr;import Qr from"stream";class DO extends Qr.Transform{__transform(u,D,F){this.push(u),F()}_transform(u,D,F){if(u.length!==0){if(this._transform=this.__transform,u[0]!==120){let $=Buffer.alloc(2);$[0]=120,$[1]=156,this.push($,D)}}this.__transform(u,D,F)}}var FO=DO;var Yr=(u,D)=>{return N.isAsyncFn(u)?function(...F){let $=F.pop();u.apply(this,F).then((B)=>{try{D?$(null,...D(B)):$(null,B)}catch(z){$(z)}},$)}:u},$O=Yr;function Wr(u,D){u=u||10;let F=Array(u),$=Array(u),B=0,z=0,Z;return D=D!==void 0?D:1000,function(X){let Q=Date.now(),Y=$[z];if(!Z)Z=Q;F[B]=X,$[B]=Q;let W=z,J=0;while(W!==B)J+=F[W++],W=W%u;if(B=(B+1)%u,B===z)z=(z+1)%u;if(Q-Z<D)return;let G=Y&&Q-Y;return G?Math.round(J*1000/G):void 0}}var BO=Wr;function Jr(u,D){let F=0,$=1000/D,B,z,Z=(Q,Y=Date.now())=>{if(F=Y,B=null,z)clearTimeout(z),z=null;u(...Q)};return[(...Q)=>{let Y=Date.now(),W=Y-F;if(W>=$)Z(Q,Y);else if(B=Q,!z)z=setTimeout(()=>{z=null,Z(B)},$-W)},()=>B&&Z(B)]}var zO=Jr;var f1=(u,D,F=3)=>{let $=0,B=BO(50,250);return zO((z)=>{let Z=z.loaded,q=z.lengthComputable?z.total:void 0,X=Z-$,Q=B(X),Y=Z<=q;$=Z;let W={loaded:Z,total:q,progress:q?Z/q:void 0,bytes:X,rate:Q?Q:void 0,estimated:Q&&q&&Y?(q-Z)/Q:void 0,event:z,lengthComputable:q!=null,[D?"download":"upload"]:!0};u(W)},F)},R6=(u,D)=>{let F=u!=null;return[($)=>D[0]({lengthComputable:F,total:u,loaded:$}),D[1]]},k6=(u)=>(...D)=>N.asap(()=>u(...D));function Hz(u){if(!u||typeof u!=="string")return 0;if(!u.startsWith("data:"))return 0;let D=u.indexOf(",");if(D<0)return 0;let F=u.slice(5,D),$=u.slice(D+1);if(/;base64/i.test(F)){let{length:z,length:Z}=$;for(let J=0;J<Z;J++)if($.charCodeAt(J)===37&&J+2<Z){let G=$.charCodeAt(J+1),f=$.charCodeAt(J+2);if((G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102))z-=2,J+=2}let q=0,X=Z-1,Q=(J)=>J>=2&&$.charCodeAt(J-2)===37&&$.charCodeAt(J-1)===51&&($.charCodeAt(J)===68||$.charCodeAt(J)===100);if(X>=0){if($.charCodeAt(X)===61)q++,X--;else if(Q(X))q++,X-=3}if(q===1&&X>=0){if($.charCodeAt(X)===61)q++;else if(Q(X))q++}let W=Math.floor(z/4)*3-(q||0);return W>0?W:0}return Buffer.byteLength($,"utf8")}var ZO={flush:d1.constants.Z_SYNC_FLUSH,finishFlush:d1.constants.Z_SYNC_FLUSH},xr={flush:d1.constants.BROTLI_OPERATION_FLUSH,finishFlush:d1.constants.BROTLI_OPERATION_FLUSH},qO=N.isFunction(d1.createBrotliDecompress),{http:Hr,https:Vr}=fO.default,Lr=/https:?/,XO=R0.protocols.map((u)=>{return u+":"}),QO=(u,[D,F])=>{return u.on("end",F).on("error",F),D};class KO{constructor(){this.sessions=Object.create(null)}getSession(u,D){D=Object.assign({sessionTimeout:1000},D);let F=this.sessions[u];if(F){let Q=F.length;for(let Y=0;Y<Q;Y++){let[W,J]=F[Y];if(!W.destroyed&&!W.closed&&GO.isDeepStrictEqual(J,D))return W}}let $=JO.connect(u,D),B,z=()=>{if(B)return;B=!0;let Q=F,Y=Q.length,W=Y;while(W--)if(Q[W][0]===$){if(Y===1)delete this.sessions[u];else Q.splice(W,1);return}},Z=$.request,{sessionTimeout:q}=D;if(q!=null){let Q,Y=0;$.request=function(){let W=Z.apply(this,arguments);if(Y++,Q)clearTimeout(Q),Q=null;return W.once("close",()=>{if(!--Y)Q=setTimeout(()=>{Q=null,z()},q)}),W}}$.once("close",z);let X=[$,D];return F?F.push(X):F=this.sessions[u]=[X],$}}var Mr=new KO;function wr(u,D){if(u.beforeRedirects.proxy)u.beforeRedirects.proxy(u);if(u.beforeRedirects.config)u.beforeRedirects.config(u,D)}function xO(u,D,F){let $=D;if(!$&&$!==!1){let B=WO.default.getProxyForUrl(F);if(B)$=new URL(B)}if($){if($.username)$.auth=($.username||"")+":"+($.password||"");if($.auth){if(Boolean($.auth.username||$.auth.password))$.auth=($.auth.username||"")+":"+($.auth.password||"");else if(typeof $.auth==="object")throw new D0("Invalid proxy authorization",D0.ERR_BAD_OPTION,{proxy:$});let Z=Buffer.from($.auth,"utf8").toString("base64");u.headers["Proxy-Authorization"]="Basic "+Z}u.headers.host=u.hostname+(u.port?":"+u.port:"");let B=$.hostname||$.host;if(u.hostname=B,u.host=B,u.port=$.port,u.path=F,$.protocol)u.protocol=$.protocol.includes(":")?$.protocol:`${$.protocol}:`}u.beforeRedirects.proxy=function(z){xO(z,D,z.href)}}var ir=typeof process<"u"&&N.kindOf(process)==="process",Or=(u)=>{return new Promise((D,F)=>{let $,B,z=(X,Q)=>{if(B)return;B=!0,$&&$(X,Q)},Z=(X)=>{z(X),D(X)},q=(X)=>{z(X,!0),F(X)};u(Z,q,(X)=>$=X).catch(q)})},Ar=({address:u,family:D})=>{if(!N.isString(u))throw TypeError("address must be a string");return{address:u,family:D||(u.indexOf(".")<0?6:4)}},YO=(u,D)=>Ar(N.isObject(u)?u:{address:u,family:D}),Nr={request(u,D){let F=u.protocol+"//"+u.hostname+":"+(u.port||(u.protocol==="https:"?443:80)),{http2Options:$,headers:B}=u,z=Mr.getSession(F,$),{HTTP2_HEADER_SCHEME:Z,HTTP2_HEADER_METHOD:q,HTTP2_HEADER_PATH:X,HTTP2_HEADER_STATUS:Q}=JO.constants,Y={[Z]:u.protocol.replace(":",""),[q]:u.method,[X]:u.path};N.forEach(B,(J,G)=>{G.charAt(0)!==":"&&(Y[G]=J)});let W=z.request(Y);return W.once("response",(J)=>{let G=W;J=Object.assign({},J);let f=J[Q];delete J[Q],G.headers=J,G.statusCode=+f,D(G)}),W}},HO=ir&&function(D){return Or(async function($,B,z){let{data:Z,lookup:q,family:X,httpVersion:Q=1,http2Options:Y}=D,{responseType:W,responseEncoding:J}=D,G=D.method.toUpperCase(),f,K=!1,x;if(Q=+Q,Number.isNaN(Q))throw TypeError(`Invalid protocol version: '${D.httpVersion}' is not a number`);if(Q!==1&&Q!==2)throw TypeError(`Unsupported protocol version '${Q}'`);let M=Q===2;if(q){let t=$O(q,(e)=>N.isArray(e)?e:[e]);q=(e,j0,Z0)=>{t(e,j0,(b0,$u,d)=>{if(b0)return Z0(b0);let M0=N.isArray($u)?$u.map((m0)=>YO(m0)):[YO($u,d)];j0.all?Z0(b0,M0):Z0(b0,M0[0].address,M0[0].family)})}}let L=new Kr;function j(t){try{L.emit("abort",!t||t.type?new XD(null,D,x):t)}catch(e){console.warn("emit error",e)}}L.once("abort",B);let U=()=>{if(D.cancelToken)D.cancelToken.unsubscribe(j);if(D.signal)D.signal.removeEventListener("abort",j);L.removeAllListeners()};if(D.cancelToken||D.signal){if(D.cancelToken&&D.cancelToken.subscribe(j),D.signal)D.signal.aborted?j():D.signal.addEventListener("abort",j)}z((t,e)=>{if(f=!0,e){K=!0,U();return}let{data:j0}=t;if(j0 instanceof l1.Readable||j0 instanceof l1.Duplex){let Z0=l1.finished(j0,()=>{Z0(),U()})}else U()});let I=vF(D.baseURL,D.url,D.allowAbsoluteUrls),S=new URL(I,R0.hasBrowserEnv?R0.origin:void 0),k=S.protocol||XO[0];if(k==="data:"){if(D.maxContentLength>-1){let e=String(D.url||I||"");if(Hz(e)>D.maxContentLength)return B(new D0("maxContentLength size of "+D.maxContentLength+" exceeded",D0.ERR_BAD_RESPONSE,D))}let t;if(G!=="GET")return u1($,B,{status:405,statusText:"method not allowed",headers:{},config:D});try{t=fz(D.url,W==="blob",{Blob:D.env&&D.env.Blob})}catch(e){throw D0.from(e,D0.ERR_BAD_REQUEST,D)}if(W==="text"){if(t=t.toString(J),!J||J==="utf8")t=N.stripBOM(t)}else if(W==="stream")t=l1.Readable.from(t);return u1($,B,{data:t,status:200,statusText:"OK",headers:new Fu,config:D})}if(XO.indexOf(k)===-1)return B(new D0("Unsupported protocol "+k,D0.ERR_BAD_REQUEST,D));let R=Fu.from(D.headers).normalize();R.set("User-Agent","axios/"+yF,!1);let{onUploadProgress:h,onDownloadProgress:F0}=D,O=D.maxRate,c=void 0,n=void 0;if(N.isSpecCompliantForm(Z)){let t=R.getContentType(/boundary=([-_\w\d]{10,70})/i);Z=uO(Z,(e)=>{R.set(e)},{tag:`axios-${yF}-boundary`,boundary:t&&t[1]||void 0})}else if(N.isFormData(Z)&&N.isFunction(Z.getHeaders)){if(R.set(Z.getHeaders()),!R.hasContentLength())try{let t=await GO.promisify(Z.getLength).call(Z);Number.isFinite(t)&&t>=0&&R.setContentLength(t)}catch(t){}}else if(N.isBlob(Z)||N.isFile(Z))Z.size&&R.setContentType(Z.type||"application/octet-stream"),R.setContentLength(Z.size||0),Z=l1.Readable.from(B5(Z));else if(Z&&!N.isStream(Z)){if(Buffer.isBuffer(Z));else if(N.isArrayBuffer(Z))Z=Buffer.from(new Uint8Array(Z));else if(N.isString(Z))Z=Buffer.from(Z,"utf-8");else return B(new D0("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",D0.ERR_BAD_REQUEST,D));if(R.setContentLength(Z.length,!1),D.maxBodyLength>-1&&Z.length>D.maxBodyLength)return B(new D0("Request body larger than maxBodyLength limit",D0.ERR_BAD_REQUEST,D))}let a=N.toFiniteNumber(R.getContentLength());if(N.isArray(O))c=O[0],n=O[1];else c=n=O;if(Z&&(h||c)){if(!N.isStream(Z))Z=l1.Readable.from(Z,{objectMode:!1});Z=l1.pipeline([Z,new xz({maxRate:N.toFiniteNumber(c)})],N.noop),h&&Z.on("progress",QO(Z,R6(a,f1(k6(h),!1,3))))}let C=void 0;if(D.auth){let t=D.auth.username||"",e=D.auth.password||"";C=t+":"+e}if(!C&&S.username){let{username:t,password:e}=S;C=t+":"+e}C&&R.delete("authorization");let P;try{P=PF(S.pathname+S.search,D.params,D.paramsSerializer).replace(/^\?/,"")}catch(t){let e=Error(t.message);return e.config=D,e.url=D.url,e.exists=!0,B(e)}R.set("Accept-Encoding","gzip, compress, deflate"+(qO?", br":""),!1);let g={path:P,method:G,headers:R.toJSON(),agents:{http:D.httpAgent,https:D.httpsAgent},auth:C,protocol:k,family:X,beforeRedirect:wr,beforeRedirects:{},http2Options:Y};if(!N.isUndefined(q)&&(g.lookup=q),D.socketPath)g.socketPath=D.socketPath;else g.hostname=S.hostname.startsWith("[")?S.hostname.slice(1,-1):S.hostname,g.port=S.port,xO(g,D.proxy,k+"//"+S.hostname+(S.port?":"+S.port:"")+g.path);let r,V0=Lr.test(g.protocol);if(g.agent=V0?D.httpsAgent:D.httpAgent,M)r=Nr;else if(D.transport)r=D.transport;else if(D.maxRedirects===0)r=V0?fr:Gr;else{if(D.maxRedirects)g.maxRedirects=D.maxRedirects;if(D.beforeRedirect)g.beforeRedirects.config=D.beforeRedirect;r=V0?Vr:Hr}if(D.maxBodyLength>-1)g.maxBodyLength=D.maxBodyLength;else g.maxBodyLength=1/0;if(D.insecureHTTPParser)g.insecureHTTPParser=D.insecureHTTPParser;if(x=r.request(g,function(e){if(x.destroyed)return;let j0=[e],Z0=N.toFiniteNumber(e.headers["content-length"]);if(F0||n){let M0=new xz({maxRate:N.toFiniteNumber(n)});F0&&M0.on("progress",QO(M0,R6(Z0,f1(k6(F0),!0,3)))),j0.push(M0)}let b0=e,$u=e.req||x;if(D.decompress!==!1&&e.headers["content-encoding"]){if(G==="HEAD"||e.statusCode===204)delete e.headers["content-encoding"];switch((e.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":j0.push(d1.createUnzip(ZO)),delete e.headers["content-encoding"];break;case"deflate":j0.push(new FO),j0.push(d1.createUnzip(ZO)),delete e.headers["content-encoding"];break;case"br":if(qO)j0.push(d1.createBrotliDecompress(xr)),delete e.headers["content-encoding"]}}b0=j0.length>1?l1.pipeline(j0,N.noop):j0[0];let d={status:e.statusCode,statusText:e.statusMessage,headers:new Fu(e.headers),config:D,request:$u};if(W==="stream")d.data=b0,u1($,B,d);else{let M0=[],m0=0;b0.on("data",function(Y0){if(M0.push(Y0),m0+=Y0.length,D.maxContentLength>-1&&m0>D.maxContentLength)K=!0,b0.destroy(),j(new D0("maxContentLength size of "+D.maxContentLength+" exceeded",D0.ERR_BAD_RESPONSE,D,$u))}),b0.on("aborted",function(){if(K)return;let Y0=new D0("stream has been aborted",D0.ERR_BAD_RESPONSE,D,$u);b0.destroy(Y0),B(Y0)}),b0.on("error",function(Y0){if(x.destroyed)return;B(D0.from(Y0,null,D,$u))}),b0.on("end",function(){try{let Y0=M0.length===1?M0[0]:Buffer.concat(M0);if(W!=="arraybuffer"){if(Y0=Y0.toString(J),!J||J==="utf8")Y0=N.stripBOM(Y0)}d.data=Y0}catch(Y0){return B(D0.from(Y0,null,D,d.request,d))}u1($,B,d)})}L.once("abort",(M0)=>{if(!b0.destroyed)b0.emit("error",M0),b0.destroy()})}),L.once("abort",(t)=>{if(x.close)x.close();else x.destroy(t)}),x.on("error",function(e){B(D0.from(e,null,D,x))}),x.on("socket",function(e){e.setKeepAlive(!0,60000)}),D.timeout){let t=parseInt(D.timeout,10);if(Number.isNaN(t)){j(new D0("error trying to parse `config.timeout` to int",D0.ERR_BAD_OPTION_VALUE,D,x));return}x.setTimeout(t,function(){if(f)return;let j0=D.timeout?"timeout of "+D.timeout+"ms exceeded":"timeout exceeded",Z0=D.transitional||p1;if(D.timeoutErrorMessage)j0=D.timeoutErrorMessage;j(new D0(j0,Z0.clarifyTimeoutError?D0.ETIMEDOUT:D0.ECONNABORTED,D,x))})}else x.setTimeout(0);if(N.isStream(Z)){let t=!1,e=!1;Z.on("end",()=>{t=!0}),Z.once("error",(j0)=>{e=!0,x.destroy(j0)}),Z.on("close",()=>{if(!t&&!e)j(new XD("Request stream has been aborted",D,x))}),Z.pipe(x)}else Z&&x.write(Z),x.end()})};var VO=R0.hasStandardBrowserEnv?((u,D)=>(F)=>{return F=new URL(F,R0.origin),u.protocol===F.protocol&&u.host===F.host&&(D||u.port===F.port)})(new URL(R0.origin),R0.navigator&&/(msie|trident)/i.test(R0.navigator.userAgent)):()=>!0;var LO=R0.hasStandardBrowserEnv?{write(u,D,F,$,B,z,Z){if(typeof document>"u")return;let q=[`${u}=${encodeURIComponent(D)}`];if(N.isNumber(F))q.push(`expires=${new Date(F).toUTCString()}`);if(N.isString($))q.push(`path=${$}`);if(N.isString(B))q.push(`domain=${B}`);if(z===!0)q.push("secure");if(N.isString(Z))q.push(`SameSite=${Z}`);document.cookie=q.join("; ")},read(u){if(typeof document>"u")return null;let D=document.cookie.match(new RegExp("(?:^|; )"+u+"=([^;]*)"));return D?decodeURIComponent(D[1]):null},remove(u){this.write(u,"",Date.now()-86400000,"/")}}:{write(){},read(){return null},remove(){}};var MO=(u)=>u instanceof Fu?{...u}:u;function bD(u,D){D=D||{};let F={};function $(Q,Y,W,J){if(N.isPlainObject(Q)&&N.isPlainObject(Y))return N.merge.call({caseless:J},Q,Y);else if(N.isPlainObject(Y))return N.merge({},Y);else if(N.isArray(Y))return Y.slice();return Y}function B(Q,Y,W,J){if(!N.isUndefined(Y))return $(Q,Y,W,J);else if(!N.isUndefined(Q))return $(void 0,Q,W,J)}function z(Q,Y){if(!N.isUndefined(Y))return $(void 0,Y)}function Z(Q,Y){if(!N.isUndefined(Y))return $(void 0,Y);else if(!N.isUndefined(Q))return $(void 0,Q)}function q(Q,Y,W){if(W in D)return $(Q,Y);else if(W in u)return $(void 0,Q)}let X={url:z,method:z,data:z,baseURL:Z,transformRequest:Z,transformResponse:Z,paramsSerializer:Z,timeout:Z,timeoutMessage:Z,withCredentials:Z,withXSRFToken:Z,adapter:Z,responseType:Z,xsrfCookieName:Z,xsrfHeaderName:Z,onUploadProgress:Z,onDownloadProgress:Z,decompress:Z,maxContentLength:Z,maxBodyLength:Z,beforeRedirect:Z,transport:Z,httpAgent:Z,httpsAgent:Z,cancelToken:Z,socketPath:Z,responseEncoding:Z,validateStatus:q,headers:(Q,Y,W)=>B(MO(Q),MO(Y),W,!0)};return N.forEach(Object.keys({...u,...D}),function(Y){if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return;let W=N.hasOwnProp(X,Y)?X[Y]:B,J=W(u[Y],D[Y],Y);N.isUndefined(J)&&W!==q||(F[Y]=J)}),F}var z5=(u)=>{let D=bD({},u),{data:F,withXSRFToken:$,xsrfHeaderName:B,xsrfCookieName:z,headers:Z,auth:q}=D;if(D.headers=Z=Fu.from(Z),D.url=PF(vF(D.baseURL,D.url,D.allowAbsoluteUrls),u.params,u.paramsSerializer),q)Z.set("Authorization","Basic "+btoa((q.username||"")+":"+(q.password?unescape(encodeURIComponent(q.password)):"")));if(N.isFormData(F)){if(R0.hasStandardBrowserEnv||R0.hasStandardBrowserWebWorkerEnv)Z.setContentType(void 0);else if(N.isFunction(F.getHeaders)){let X=F.getHeaders(),Q=["content-type","content-length"];Object.entries(X).forEach(([Y,W])=>{if(Q.includes(Y.toLowerCase()))Z.set(Y,W)})}}if(R0.hasStandardBrowserEnv){if($&&N.isFunction($)&&($=$(D)),$||$!==!1&&VO(D.url)){let X=B&&z&&LO.read(z);if(X)Z.set(B,X)}}return D};var jr=typeof XMLHttpRequest<"u",wO=jr&&function(u){return new Promise(function(F,$){let B=z5(u),z=B.data,Z=Fu.from(B.headers).normalize(),{responseType:q,onUploadProgress:X,onDownloadProgress:Q}=B,Y,W,J,G,f;function K(){G&&G(),f&&f(),B.cancelToken&&B.cancelToken.unsubscribe(Y),B.signal&&B.signal.removeEventListener("abort",Y)}let x=new XMLHttpRequest;x.open(B.method.toUpperCase(),B.url,!0),x.timeout=B.timeout;function M(){if(!x)return;let j=Fu.from("getAllResponseHeaders"in x&&x.getAllResponseHeaders()),I={data:!q||q==="text"||q==="json"?x.responseText:x.response,status:x.status,statusText:x.statusText,headers:j,config:u,request:x};u1(function(k){F(k),K()},function(k){$(k),K()},I),x=null}if("onloadend"in x)x.onloadend=M;else x.onreadystatechange=function(){if(!x||x.readyState!==4)return;if(x.status===0&&!(x.responseURL&&x.responseURL.indexOf("file:")===0))return;setTimeout(M)};if(x.onabort=function(){if(!x)return;$(new D0("Request aborted",D0.ECONNABORTED,u,x)),x=null},x.onerror=function(U){let I=U&&U.message?U.message:"Network Error",S=new D0(I,D0.ERR_NETWORK,u,x);S.event=U||null,$(S),x=null},x.ontimeout=function(){let U=B.timeout?"timeout of "+B.timeout+"ms exceeded":"timeout exceeded",I=B.transitional||p1;if(B.timeoutErrorMessage)U=B.timeoutErrorMessage;$(new D0(U,I.clarifyTimeoutError?D0.ETIMEDOUT:D0.ECONNABORTED,u,x)),x=null},z===void 0&&Z.setContentType(null),"setRequestHeader"in x)N.forEach(Z.toJSON(),function(U,I){x.setRequestHeader(I,U)});if(!N.isUndefined(B.withCredentials))x.withCredentials=!!B.withCredentials;if(q&&q!=="json")x.responseType=B.responseType;if(Q)[J,f]=f1(Q,!0),x.addEventListener("progress",J);if(X&&x.upload)[W,G]=f1(X),x.upload.addEventListener("progress",W),x.upload.addEventListener("loadend",G);if(B.cancelToken||B.signal){if(Y=(j)=>{if(!x)return;$(!j||j.type?new XD(null,u,x):j),x.abort(),x=null},B.cancelToken&&B.cancelToken.subscribe(Y),B.signal)B.signal.aborted?Y():B.signal.addEventListener("abort",Y)}let L=K4(B.url);if(L&&R0.protocols.indexOf(L)===-1){$(new D0("Unsupported protocol "+L+":",D0.ERR_BAD_REQUEST,u));return}x.send(z||null)})};var Ir=(u,D)=>{let{length:F}=u=u?u.filter(Boolean):[];if(D||F){let $=new AbortController,B,z=function(Q){if(!B){B=!0,q();let Y=Q instanceof Error?Q:this.reason;$.abort(Y instanceof D0?Y:new XD(Y instanceof Error?Y.message:Y))}},Z=D&&setTimeout(()=>{Z=null,z(new D0(`timeout of ${D}ms exceeded`,D0.ETIMEDOUT))},D),q=()=>{if(u)Z&&clearTimeout(Z),Z=null,u.forEach((Q)=>{Q.unsubscribe?Q.unsubscribe(z):Q.removeEventListener("abort",z)}),u=null};u.forEach((Q)=>Q.addEventListener("abort",z));let{signal:X}=$;return X.unsubscribe=()=>N.asap(q),X}},iO=Ir;var Er=function*(u,D){let F=u.byteLength;if(!D||F<D){yield u;return}let $=0,B;while($<F)B=$+D,yield u.slice($,B),$=B},Cr=async function*(u,D){for await(let F of Pr(u))yield*Er(F,D)},Pr=async function*(u){if(u[Symbol.asyncIterator]){yield*u;return}let D=u.getReader();try{for(;;){let{done:F,value:$}=await D.read();if(F)break;yield $}}finally{await D.cancel()}},Vz=(u,D,F,$)=>{let B=Cr(u,D),z=0,Z,q=(X)=>{if(!Z)Z=!0,$&&$(X)};return new ReadableStream({async pull(X){try{let{done:Q,value:Y}=await B.next();if(Q){q(),X.close();return}let W=Y.byteLength;if(F){let J=z+=W;F(J)}X.enqueue(new Uint8Array(Y))}catch(Q){throw q(Q),Q}},cancel(X){return q(X),B.return()}},{highWaterMark:2})};var OO=65536,{isFunction:Z5}=N,vr=(({Request:u,Response:D})=>({Request:u,Response:D}))(N.global),{ReadableStream:AO,TextEncoder:NO}=N.global,jO=(u,...D)=>{try{return!!u(...D)}catch(F){return!1}},_r=(u)=>{u=N.merge.call({skipUndefined:!0},vr,u);let{fetch:D,Request:F,Response:$}=u,B=D?Z5(D):typeof fetch==="function",z=Z5(F),Z=Z5($);if(!B)return!1;let q=B&&Z5(AO),X=B&&(typeof NO==="function"?((f)=>(K)=>f.encode(K))(new NO):async(f)=>new Uint8Array(await new F(f).arrayBuffer())),Q=z&&q&&jO(()=>{let f=!1,K=new F(R0.origin,{body:new AO,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!K}),Y=Z&&q&&jO(()=>N.isReadableStream(new $("").body)),W={stream:Y&&((f)=>f.body)};B&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((f)=>{!W[f]&&(W[f]=(K,x)=>{let M=K&&K[f];if(M)return M.call(K);throw new D0(`Response type '${f}' is not supported`,D0.ERR_NOT_SUPPORT,x)})})})();let J=async(f)=>{if(f==null)return 0;if(N.isBlob(f))return f.size;if(N.isSpecCompliantForm(f))return(await new F(R0.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(N.isArrayBufferView(f)||N.isArrayBuffer(f))return f.byteLength;if(N.isURLSearchParams(f))f=f+"";if(N.isString(f))return(await X(f)).byteLength},G=async(f,K)=>{let x=N.toFiniteNumber(f.getContentLength());return x==null?J(K):x};return async(f)=>{let{url:K,method:x,data:M,signal:L,cancelToken:j,timeout:U,onDownloadProgress:I,onUploadProgress:S,responseType:k,headers:R,withCredentials:h="same-origin",fetchOptions:F0}=z5(f),O=D||fetch;k=k?(k+"").toLowerCase():"text";let c=iO([L,j&&j.toAbortSignal()],U),n=null,a=c&&c.unsubscribe&&(()=>{c.unsubscribe()}),C;try{if(S&&Q&&x!=="get"&&x!=="head"&&(C=await G(R,M))!==0){let e=new F(K,{method:"POST",body:M,duplex:"half"}),j0;if(N.isFormData(M)&&(j0=e.headers.get("content-type")))R.setContentType(j0);if(e.body){let[Z0,b0]=R6(C,f1(k6(S)));M=Vz(e.body,OO,Z0,b0)}}if(!N.isString(h))h=h?"include":"omit";let P=z&&"credentials"in F.prototype,g={...F0,signal:c,method:x.toUpperCase(),headers:R.normalize().toJSON(),body:M,duplex:"half",credentials:P?h:void 0};n=z&&new F(K,g);let r=await(z?O(n,F0):O(K,g)),V0=Y&&(k==="stream"||k==="response");if(Y&&(I||V0&&a)){let e={};["status","statusText","headers"].forEach(($u)=>{e[$u]=r[$u]});let j0=N.toFiniteNumber(r.headers.get("content-length")),[Z0,b0]=I&&R6(j0,f1(k6(I),!0))||[];r=new $(Vz(r.body,OO,Z0,()=>{b0&&b0(),a&&a()}),e)}k=k||"text";let t=await W[N.findKey(W,k)||"text"](r,f);return!V0&&a&&a(),await new Promise((e,j0)=>{u1(e,j0,{data:t,headers:Fu.from(r.headers),status:r.status,statusText:r.statusText,config:f,request:n})})}catch(P){if(a&&a(),P&&P.name==="TypeError"&&/Load failed|fetch/i.test(P.message))throw Object.assign(new D0("Network Error",D0.ERR_NETWORK,f,n,P&&P.response),{cause:P.cause||P});throw D0.from(P,P&&P.code,f,n,P&&P.response)}}},Ur=new Map,Lz=(u)=>{let D=u&&u.env||{},{fetch:F,Request:$,Response:B}=D,z=[$,B,F],Z=z.length,q=Z,X,Q,Y=Ur;while(q--)X=z[q],Q=Y.get(X),Q===void 0&&Y.set(X,Q=q?new Map:_r(D)),Y=Q;return Q},RY0=Lz();var Mz={http:HO,xhr:wO,fetch:{get:Lz}};N.forEach(Mz,(u,D)=>{if(u){try{Object.defineProperty(u,"name",{value:D})}catch(F){}Object.defineProperty(u,"adapterName",{value:D})}});var IO=(u)=>`- ${u}`,Tr=(u)=>N.isFunction(u)||u===null||u===!1;function yr(u,D){u=N.isArray(u)?u:[u];let{length:F}=u,$,B,z={};for(let Z=0;Z<F;Z++){$=u[Z];let q;if(B=$,!Tr($)){if(B=Mz[(q=String($)).toLowerCase()],B===void 0)throw new D0(`Unknown adapter '${q}'`)}if(B&&(N.isFunction(B)||(B=B.get(D))))break;z[q||"#"+Z]=B}if(!B){let Z=Object.entries(z).map(([X,Q])=>`adapter ${X} `+(Q===!1?"is not supported by the environment":"is not available in the build")),q=F?Z.length>1?`since :
249
+ `+Z.map(IO).join(`
250
+ `):" "+IO(Z[0]):"as no adapter specified";throw new D0("There is no suitable adapter to dispatch the request "+q,"ERR_NOT_SUPPORT")}return B}var q5={getAdapter:yr,adapters:Mz};function wz(u){if(u.cancelToken)u.cancelToken.throwIfRequested();if(u.signal&&u.signal.aborted)throw new XD(null,u)}function X5(u){if(wz(u),u.headers=Fu.from(u.headers),u.data=q4.call(u,u.transformRequest),["post","put","patch"].indexOf(u.method)!==-1)u.headers.setContentType("application/x-www-form-urlencoded",!1);return q5.getAdapter(u.adapter||U6.adapter,u)(u).then(function($){return wz(u),$.data=q4.call(u,u.transformResponse,$),$.headers=Fu.from($.headers),$},function($){if(!X4($)){if(wz(u),$&&$.response)$.response.data=q4.call(u,u.transformResponse,$.response),$.response.headers=Fu.from($.response.headers)}return Promise.reject($)})}var Q5={};["object","boolean","number","function","string","symbol"].forEach((u,D)=>{Q5[u]=function($){return typeof $===u||"a"+(D<1?"n ":" ")+u}});var EO={};Q5.transitional=function(D,F,$){function B(z,Z){return"[Axios v"+yF+"] Transitional option '"+z+"'"+Z+($?". "+$:"")}return(z,Z,q)=>{if(D===!1)throw new D0(B(Z," has been removed"+(F?" in "+F:"")),D0.ERR_DEPRECATED);if(F&&!EO[Z])EO[Z]=!0,console.warn(B(Z," has been deprecated since v"+F+" and will be removed in the near future"));return D?D(z,Z,q):!0}};Q5.spelling=function(D){return(F,$)=>{return console.warn(`${$} is likely a misspelling of ${D}`),!0}};function br(u,D,F){if(typeof u!=="object")throw new D0("options must be an object",D0.ERR_BAD_OPTION_VALUE);let $=Object.keys(u),B=$.length;while(B-- >0){let z=$[B],Z=D[z];if(Z){let q=u[z],X=q===void 0||Z(q,z,u);if(X!==!0)throw new D0("option "+z+" must be "+X,D0.ERR_BAD_OPTION_VALUE);continue}if(F!==!0)throw new D0("Unknown option "+z,D0.ERR_BAD_OPTION)}}var H4={assertOptions:br,validators:Q5};var LD=H4.validators;class V4{constructor(u){this.defaults=u||{},this.interceptors={request:new mB,response:new mB}}async request(u,D){try{return await this._request(u,D)}catch(F){if(F instanceof Error){let $={};Error.captureStackTrace?Error.captureStackTrace($):$=Error();let B=$.stack?$.stack.replace(/^.+\n/,""):"";try{if(!F.stack)F.stack=B;else if(B&&!String(F.stack).endsWith(B.replace(/^.+\n.+\n/,"")))F.stack+=`
251
+ `+B}catch(z){}}throw F}}_request(u,D){if(typeof u==="string")D=D||{},D.url=u;else D=u||{};D=bD(this.defaults,D);let{transitional:F,paramsSerializer:$,headers:B}=D;if(F!==void 0)H4.assertOptions(F,{silentJSONParsing:LD.transitional(LD.boolean),forcedJSONParsing:LD.transitional(LD.boolean),clarifyTimeoutError:LD.transitional(LD.boolean),legacyInterceptorReqResOrdering:LD.transitional(LD.boolean)},!1);if($!=null)if(N.isFunction($))D.paramsSerializer={serialize:$};else H4.assertOptions($,{encode:LD.function,serialize:LD.function},!0);if(D.allowAbsoluteUrls!==void 0);else if(this.defaults.allowAbsoluteUrls!==void 0)D.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls;else D.allowAbsoluteUrls=!0;H4.assertOptions(D,{baseUrl:LD.spelling("baseURL"),withXsrfToken:LD.spelling("withXSRFToken")},!0),D.method=(D.method||this.defaults.method||"get").toLowerCase();let z=B&&N.merge(B.common,B[D.method]);B&&N.forEach(["delete","get","head","post","put","patch","common"],(G)=>{delete B[G]}),D.headers=Fu.concat(z,B);let Z=[],q=!0;this.interceptors.request.forEach(function(f){if(typeof f.runWhen==="function"&&f.runWhen(D)===!1)return;q=q&&f.synchronous;let K=D.transitional||p1;if(K&&K.legacyInterceptorReqResOrdering)Z.unshift(f.fulfilled,f.rejected);else Z.push(f.fulfilled,f.rejected)});let X=[];this.interceptors.response.forEach(function(f){X.push(f.fulfilled,f.rejected)});let Q,Y=0,W;if(!q){let G=[X5.bind(this),void 0];G.unshift(...Z),G.push(...X),W=G.length,Q=Promise.resolve(D);while(Y<W)Q=Q.then(G[Y++],G[Y++]);return Q}W=Z.length;let J=D;while(Y<W){let G=Z[Y++],f=Z[Y++];try{J=G(J)}catch(K){f.call(this,K);break}}try{Q=X5.call(this,J)}catch(G){return Promise.reject(G)}Y=0,W=X.length;while(Y<W)Q=Q.then(X[Y++],X[Y++]);return Q}getUri(u){u=bD(this.defaults,u);let D=vF(u.baseURL,u.url,u.allowAbsoluteUrls);return PF(D,u.params,u.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(D){V4.prototype[D]=function(F,$){return this.request(bD($||{},{method:D,url:F,data:($||{}).data}))}});N.forEach(["post","put","patch"],function(D){function F($){return function(z,Z,q){return this.request(bD(q||{},{method:D,headers:$?{"Content-Type":"multipart/form-data"}:{},url:z,data:Z}))}}V4.prototype[D]=F(),V4.prototype[D+"Form"]=F(!0)});var L4=V4;class iz{constructor(u){if(typeof u!=="function")throw TypeError("executor must be a function.");let D;this.promise=new Promise(function(B){D=B});let F=this;this.promise.then(($)=>{if(!F._listeners)return;let B=F._listeners.length;while(B-- >0)F._listeners[B]($);F._listeners=null}),this.promise.then=($)=>{let B,z=new Promise((Z)=>{F.subscribe(Z),B=Z}).then($);return z.cancel=function(){F.unsubscribe(B)},z},u(function(B,z,Z){if(F.reason)return;F.reason=new XD(B,z,Z),D(F.reason)})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(u){if(this.reason){u(this.reason);return}if(this._listeners)this._listeners.push(u);else this._listeners=[u]}unsubscribe(u){if(!this._listeners)return;let D=this._listeners.indexOf(u);if(D!==-1)this._listeners.splice(D,1)}toAbortSignal(){let u=new AbortController,D=(F)=>{u.abort(F)};return this.subscribe(D),u.signal.unsubscribe=()=>this.unsubscribe(D),u.signal}static source(){let u;return{token:new iz(function($){u=$}),cancel:u}}}var CO=iz;function Oz(u){return function(F){return u.apply(null,F)}}function Az(u){return N.isObject(u)&&u.isAxiosError===!0}var Nz={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Nz).forEach(([u,D])=>{Nz[D]=u});var PO=Nz;function vO(u){let D=new L4(u),F=r8(L4.prototype.request,D);return N.extend(F,L4.prototype,D,{allOwnKeys:!0}),N.extend(F,D,null,{allOwnKeys:!0}),F.create=function(B){return vO(bD(u,B))},F}var Gu=vO(U6);Gu.Axios=L4;Gu.CanceledError=XD;Gu.CancelToken=CO;Gu.isCancel=X4;Gu.VERSION=yF;Gu.toFormData=n1;Gu.AxiosError=D0;Gu.Cancel=Gu.CanceledError;Gu.all=function(D){return Promise.all(D)};Gu.spread=Oz;Gu.isAxiosError=Az;Gu.mergeConfig=bD;Gu.AxiosHeaders=Fu;Gu.formToJSON=(u)=>r9(N.isHTMLForm(u)?new FormData(u):u);Gu.getAdapter=q5.getAdapter;Gu.HttpStatusCode=PO;Gu.default=Gu;var jz=Gu;var C4=E0(wN(),1);import iN from"path";class kF{static count=0;static resetCount(){this.count=0}static normalizeTriggerInclude(u,D){let{writeStreams:F}=D;for(let[$,B]of Object.entries(u??{}))if(typeof B.trigger?.include==="string")B.trigger.include=[{local:B.trigger.include}];else if(B.trigger?.project)F.memoStdout(y`{bgYellowBright WARN } The job: \`{blueBright ${$}}\` will be no-op. Multi-project pipeline is not supported by gitlab-ci-local\n`)}static async init(u,D){let{argv:F}=D;this.count++,K1(this.count<=D.maximumIncludes+1,y`This GitLab CI configuration is invalid: Maximum of {blueBright ${D.maximumIncludes}} nested includes are allowed!. This limit can be increased with the --maximum-includes cli flags.`);let $=[],B=[],{stateDir:z,cwd:Z,fetchIncludes:q,gitData:X,expandVariables:Q}=D,Y=new Map,W=this.expandInclude(u?.include,D.variables);this.normalizeTriggerInclude(u,D);for(let[J,G]of W.entries()){if(G.rules){let f=G.rules;if(_.getRulesResult({argv:F,cwd:Z,rules:f,variables:D.variables},X).when==="never")continue}if(G.file)for(let f of Array.isArray(G.file)?G.file:[G.file])B.push(this.downloadIncludeProjectFile(Z,z,G.project,G.ref||"HEAD",f,X,q));else if(G.template){let{project:f,ref:K,file:x,domain:M}=this.covertTemplateToProjectFile(G.template),L=`https://${M}/${f}/-/raw/${K}/${x}`;B.push(this.downloadIncludeRemote(Z,z,L,q))}else if(G.remote)B.push(this.downloadIncludeRemote(Z,z,G.remote,q));else if(G.component){let f=this.parseIncludeComponent(G.component,X);if(Y.set(J,f),!f.isLocal)B.push(this.downloadIncludeComponent(Z,z,f.projectPath,f.ref,f.name,X,q))}}await Promise.all(B);for(let[J,G]of W.entries()){if(G.rules){let f=G.rules;if(_.getRulesResult({argv:F,cwd:Z,rules:f,variables:D.variables},X).when==="never")continue}if(G.local){mz(G.local);let f=await nz(G.local,Z);if(f.length==0)throw new E4({message:`Local include file cannot be found ${G.local}`});for(let K of f){let x=await t0.loadYaml(K,{inputs:G.inputs??{}},Q);$=$.concat(await this.init(x,D))}}else if(G.project)for(let f of Array.isArray(G.file)?G.file:[G.file]){let K=await t0.loadYaml(`${Z}/${z}/includes/${X.remote.host}/${G.project}/${G.ref||"HEAD"}/${f}`,{inputs:G.inputs||{}},Q);K.include=this.expandInnerLocalIncludes(K.include,G.project,G.ref,D),$=$.concat(await this.init(K,D))}else if(G.component){let f=Y.get(J);K1(f!==void 0,`Internal error, component parse cache missing entry [${J}]`);let K=[`${f.name}.yml`,`${f.name}/template.yml`],x=null;for(let L of K){let j=`${Z}/${L}`;if(!f.isLocal)j=`${Z}/${z}/includes/${X.remote.host}/${f.projectPath}/${f.ref}/${L}`;if(QD.default.existsSync(j))x=j}K1(x!==null,`This GitLab CI configuration is invalid: component: \`${G.component}\`. One of the files [${K}] must exist in \`${f.domain}`+(f.port?`:${f.port}`:"")+`/${f.projectPath}\``);let M=await t0.loadYaml(x,{inputs:G.inputs||{}},Q);M.include=this.expandInnerLocalIncludes(M.include,f.projectPath,f.ref,D),$=$.concat(await this.init(M,D))}else if(G.template){let{project:f,ref:K,file:x,domain:M}=this.covertTemplateToProjectFile(G.template),L=_.fsUrl(`https://${M}/${f}/-/raw/${K}/${x}`),j=await t0.loadYaml(`${Z}/${z}/includes/${L}`,{inputs:G.inputs||{}},Q);$=$.concat(await this.init(j,D))}else if(G.remote){let f=_.fsUrl(G.remote),K=await t0.loadYaml(`${Z}/${z}/includes/${f}`,{inputs:G.inputs||{}},Q);$=$.concat(await this.init(K,D))}else throw new E4({message:`Didn't understand include ${JSON.stringify(G)}`})}return $.push(u),$}static expandInclude(u,D){let F=u||[];if(F&&F.length==null)F=[u];if(typeof F==="string")F=[F];for(let[$,B]of Object.entries(F))if(typeof B==="string"&&(B.startsWith("https:")||B.startsWith("http:")))F[$]={remote:B};else if(typeof B==="string")F[$]={local:B};else F[$]=B;for(let $ of F)for(let[B,z]of Object.entries($))if(Array.isArray(z))$[B]=z.map((Z)=>_.expandText(Z,D));else $[B]=_.expandText(z,D);return F}static covertTemplateToProjectFile(u){return{domain:"gitlab.com",project:"gitlab-org/gitlab",ref:"HEAD",file:`lib/gitlab/ci/templates/${u}`}}static parseIncludeComponent(u,D){K1(!u.includes("://"),`This GitLab CI configuration is invalid: component: \`${u}\` should not contain protocol`);let $=/(?<domain>[^/:\s]+)(:(?<port>\d+))?\/(?<projectPath>.+)\/(?<componentName>[^@]+)@(?<ref>.+)/.exec(u);if($?.groups==null)throw Error(`This is a bug, please create a github issue if this is something you're expecting to work. input: ${u}`);let{domain:B,projectPath:z,port:Z}=$.groups,q=$.groups.ref,X=z===`${D.remote.group}/${D.remote.project}`&&q===D.commit.SHA;if(!X){let Q=/^\d+(\.\d+)?$/;if(q=="~latest"||Q.test(q)){let Y;if(D.remote.schema=="git"||D.remote.schema=="ssh")Y=_.syncSpawn(["git","ls-remote","--tags",`git@${B}:${z}`]).stdout;else Y=_.syncSpawn(["git","ls-remote","--tags",`${D.remote.schema}://${B}:${Z??443}/${z}.git`]).stdout;K1(Y);let W=Y.split(`
252
+ `).map((G)=>{return G.split("\t")[1].split("/")[2]}),J=P00(q,W);K1(J,`This GitLab CI configuration is invalid: component: \`${u}\` - The ref (${q}) is invalid`),q=J}}return{domain:B,port:Z,projectPath:z,name:`templates/${$.groups.componentName}`,ref:q,isLocal:X}}static expandInnerLocalIncludes(u,D,F,$){let{argv:B}=$,z=this.expandInclude(u,$.variables);return z.forEach((Z,q)=>{if(!Z.local)return;if(Z.rules){if(_.getRulesResult({argv:B,cwd:$.cwd,variables:$.variables,rules:Z.rules},$.gitData).when==="never")return}z[q]={project:D,file:Z.local.replace(/^\//,""),ref:F,inputs:Z.inputs||{}}}),z}static async downloadIncludeRemote(u,D,F,$){let B=_.fsUrl(F);try{let z=`${u}/${D}/includes/${B}`;if(await QD.default.pathExists(z)&&!$)return;let Z=await jz.get(F,{headers:{"User-Agent":"gitlab-ci-local"},..._.getAxiosProxyConfig()});await QD.default.outputFile(z,Z.data)}catch(z){throw new E4({message:`Remote include could not be fetched ${F}
253
+ ${z}`})}}static async downloadIncludeProjectFile(u,D,F,$,B,z,Z){let q=z.remote,X=B.replace(/^\/+/,""),Q=null;try{let Y=`${D}/includes/${q.host}/${F}/${$}`;if(await QD.default.pathExists(`${u}/${Y}/${X}`)&&!Z)return;if(q.schema.startsWith("http")){let W="tmp-"+Math.random();await QD.default.mkdirp(iN.dirname(`${u}/${Y}/${X}`)),Q=`${u}/${Y}.${W}`;let J=$==="HEAD"?"":`--branch ${$}`;await _.bashMulti([`cd ${u}/${D}`,`git clone ${J} -n --depth=1 --filter=tree:0 ${q.schema}://${q.host}:${q.port}/${F}.git ${Q}`,`cd ${Q}`,`git sparse-checkout set --no-cone ${X}`,"git checkout",`cd ${u}/${D}`,`cp ${Q}/${X} ${u}/${Y}/${X}`],u)}else await QD.default.mkdirp(`${u}/${Y}`),await _.bash(`set -eou pipefail; git archive --remote=ssh://git@${q.host}:${q.port}/${F}.git ${$} ${X} | tar -f - -xC ${Y}/`,u)}catch(Y){throw new E4({message:`Project include could not be fetched { project: ${F}, ref: ${$}, file: ${X} }
254
+ ${Y}`})}finally{if(Q!==null)await QD.default.rm(Q,{recursive:!0,force:!0})}}static async downloadIncludeComponent(u,D,F,$,B,z,Z){let q=z.remote,X=[`${B}.yml`,`${B}/template.yml`],Q=null;try{let Y=`${D}/includes/${q.host}/${F}/${$}`;if(!Z&&(await QD.default.pathExists(`${u}/${Y}/${X[0]}`)||await QD.default.pathExists(`${u}/${Y}/${X[1]}`)))return;if(q.schema.startsWith("http")){let W="tmp-"+Math.random();await QD.default.mkdirp(iN.dirname(`${u}/${Y}/templates`)),Q=`${u}/${Y}.${W}`;let J=$==="HEAD"?"":`--branch ${$}`;await _.bashMulti([`cd ${u}/${D}`,`git clone ${J} -n --depth=1 --filter=tree:0 ${q.schema}://${q.host}:${q.port}/${F}.git ${Q}`,`cd ${Q}`,`git sparse-checkout set --no-cone ${X[0]} ${X[1]}`,"git checkout",`cd ${u}/${D}`,`mkdir -p ${Q}/templates`,`cp -r ${Q}/templates ${u}/${Y}`],u)}else{let W=`${B}*.yml`;await QD.default.mkdirp(`${u}/${Y}`),await _.bash(`set -eou pipefail; git archive --remote=ssh://git@${q.host}:${q.port}/${F}.git ${$} ${W} | tar -f - -xC ${Y}/`,u)}}catch(Y){throw new E4({message:`Component include could not be fetched { project: ${F}, ref: ${$}, file: ${X} }
255
+ ${Y}`})}finally{if(Q!==null)await QD.default.rm(Q,{recursive:!0,force:!0})}}static memoLocalRepoFiles=(()=>{let u=new Map;return async(D)=>{let F=u.get(D);if(typeof F<"u")return F;return F=(await _.getTrackedFiles(D)).map(($)=>`${D}/${$}`),u.set(D,F),F}})()}function mz(u){K1(!u.startsWith("./"),`\`${u}\` for include:local is invalid. Gitlab does not support relative path (ie. cannot start with \`./\`).`),K1(!u.includes(".."),`\`${u}\` for include:local is invalid. Gitlab does not support directory traversal.`)}function P00(u,D){return C4.default.rsort(D.filter((B)=>C4.default.valid(B))).find((B)=>{if(u=="~latest"){let z=C4.default.parse(B);return K1(z),z.prerelease.length==0&&z.build.length==0}else return C4.default.satisfies(B,u)})}async function nz(u,D){let F=await kF.memoLocalRepoFiles(D);if(!u.startsWith("/"))u=`/${u}`;u=`${D}${u}`,u=u.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");let $=".*?";u=u.replace(/\\\*\\\*/g,$);let B="([^/])*?";u=u.replace(/\\\*/g,B);let z=Du.compile(`^${u}`);return F.filter((Z)=>z.matches(Z))}var A5={};Y3(A5,{synchronizedOutput:()=>zu0,setCwd:()=>Qu0,scrollUp:()=>r00,scrollDown:()=>t00,link:()=>qu0,image:()=>Xu0,iTerm:()=>CN,exitAlternativeScreen:()=>Bu0,eraseUp:()=>a00,eraseStartLine:()=>o00,eraseScreen:()=>O5,eraseLines:()=>d00,eraseLine:()=>jN,eraseEndLine:()=>g00,eraseDown:()=>s00,enterAlternativeScreen:()=>$u0,endSynchronizedOutput:()=>EN,cursorUp:()=>AN,cursorTo:()=>S00,cursorShow:()=>l00,cursorSavePosition:()=>k00,cursorRestorePosition:()=>c00,cursorPrevLine:()=>n00,cursorNextLine:()=>m00,cursorMove:()=>T00,cursorLeft:()=>NN,cursorHide:()=>p00,cursorGetPosition:()=>h00,cursorForward:()=>b00,cursorDown:()=>y00,cursorBackward:()=>R00,clearViewport:()=>uu0,clearTerminal:()=>Fu0,clearScreen:()=>e00,beginSynchronizedOutput:()=>IN,beep:()=>Zu0,ConEmu:()=>PN});import m6 from"node:process";import v00 from"node:os";var h6=globalThis.window?.document!==void 0,SJ0=globalThis.process?.versions?.node!==void 0,TJ0=globalThis.process?.versions?.bun!==void 0,yJ0=globalThis.Deno?.version?.deno!==void 0,bJ0=globalThis.process?.versions?.electron!==void 0,RJ0=globalThis.navigator?.userAgent?.includes("jsdom")===!0,kJ0=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,cJ0=typeof DedicatedWorkerGlobalScope<"u"&&globalThis instanceof DedicatedWorkerGlobalScope,hJ0=typeof SharedWorkerGlobalScope<"u"&&globalThis instanceof SharedWorkerGlobalScope,mJ0=typeof ServiceWorkerGlobalScope<"u"&&globalThis instanceof ServiceWorkerGlobalScope,P4=globalThis.navigator?.userAgentData?.platform,nJ0=P4==="macOS"||globalThis.navigator?.platform==="MacIntel"||globalThis.navigator?.userAgent?.includes(" Mac ")===!0||globalThis.process?.platform==="darwin",pJ0=P4==="Windows"||globalThis.navigator?.platform==="Win32"||globalThis.process?.platform==="win32",lJ0=P4==="Linux"||globalThis.navigator?.platform?.startsWith("Linux")===!0||globalThis.navigator?.userAgent?.includes(" Linux ")===!0||globalThis.process?.platform==="linux",dJ0=P4==="iOS"||globalThis.navigator?.platform==="MacIntel"&&globalThis.navigator?.maxTouchPoints>1||/iPad|iPhone|iPod/.test(globalThis.navigator?.platform),gJ0=P4==="Android"||globalThis.navigator?.platform==="Android"||globalThis.navigator?.userAgent?.includes(" Android ")===!0||globalThis.process?.platform==="android";var S0="\x1B[",n6="\x1B]",cF="\x07",v4=";",ON=!h6&&m6.env.TERM_PROGRAM==="Apple_Terminal",_00=!h6&&m6.platform==="win32",U00=!h6&&(m6.env.TERM?.startsWith("screen")||m6.env.TERM?.startsWith("tmux")||m6.env.TMUX!==void 0),pz=h6?()=>{throw Error("`process.cwd()` only works in Node.js, not the browser.")}:m6.cwd,p6=(u)=>{if(U00)return"\x1BPtmux;"+u.replaceAll("\x1B","\x1B\x1B")+"\x1B\\";return u},S00=(u,D)=>{if(typeof u!=="number")throw TypeError("The `x` argument is required");if(typeof D!=="number")return S0+(u+1)+"G";return S0+(D+1)+v4+(u+1)+"H"},T00=(u,D)=>{if(typeof u!=="number")throw TypeError("The `x` argument is required");let F="";if(u<0)F+=S0+-u+"D";else if(u>0)F+=S0+u+"C";if(D<0)F+=S0+-D+"A";else if(D>0)F+=S0+D+"B";return F},AN=(u=1)=>S0+u+"A",y00=(u=1)=>S0+u+"B",b00=(u=1)=>S0+u+"C",R00=(u=1)=>S0+u+"D",NN=S0+"G",k00=ON?"\x1B7":S0+"s",c00=ON?"\x1B8":S0+"u",h00=S0+"6n",m00=S0+"E",n00=S0+"F",p00=S0+"?25l",l00=S0+"?25h",d00=(u)=>{let D="";for(let F=0;F<u;F++)D+=jN+(F<u-1?AN():"");if(u)D+=NN;return D},g00=S0+"K",o00=S0+"1K",jN=S0+"2K",s00=S0+"J",a00=S0+"1J",O5=S0+"2J",r00=S0+"S",t00=S0+"T",e00="\x1Bc",uu0=`${O5}${S0}H`,Du0=()=>{if(h6||!_00)return!1;let u=v00.release().split("."),D=Number(u[0]),F=Number(u[2]??0);if(D<10)return!0;if(D===10&&F<10586)return!0;return!1},Fu0=Du0()?`${O5}${S0}0f`:`${O5}${S0}3J${S0}H`,$u0=S0+"?1049h",Bu0=S0+"?1049l",IN=S0+"?2026h",EN=S0+"?2026l",zu0=(u)=>IN+u+EN,Zu0=cF,qu0=(u,D)=>{let F=p6(`${n6}8${v4}${v4}${D}${cF}`),$=p6(`${n6}8${v4}${v4}${cF}`);return F+u+$},Xu0=(u,D={})=>{let F=`${n6}1337;File=inline=1`;if(D.width)F+=`;width=${D.width}`;if(D.height)F+=`;height=${D.height}`;if(D.preserveAspectRatio===!1)F+=";preserveAspectRatio=0";let $=Buffer.from(u);return p6(F+`;size=${$.byteLength}:`+$.toString("base64")+cF)},CN={setCwd:(u=pz())=>p6(`${n6}50;CurrentDir=${u}${cF}`),annotation(u,D={}){let F=`${n6}1337;`,$=D.x!==void 0,B=D.y!==void 0;if(($||B)&&!($&&B&&D.length!==void 0))throw Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");if(u=u.replaceAll("|",""),F+=D.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",D.length>0)F+=($?[u,D.length,D.x,D.y]:[D.length,u]).join("|");else F+=u;return p6(F+cF)}},PN={setCwd:(u=pz())=>p6(`${n6}9;9;${u}${cF}`)},Qu0=(u=pz())=>CN.setCwd(u)+PN.setCwd(u);uz();import _4 from"node:process";import Yu0 from"process";function g1(u,D=Yu0.argv){let F=u.startsWith("-")?"":u.length===1?"-":"--",$=D.indexOf(F+u),B=D.indexOf("--");return $!==-1&&(B===-1||$<B)}function vN(u=""){if(/^\d{3,4}$/.test(u)){let F=/(\d{1,2})(\d{2})/.exec(u)??[];return{major:0,minor:Number.parseInt(F[1],10),patch:Number.parseInt(F[2],10)}}let D=(u??"").split(".").map((F)=>Number.parseInt(F,10));return{major:D[0],minor:D[1],patch:D[2]}}function _N(u){let{CI:D,CURSOR_TRACE_ID:F,FORCE_HYPERLINK:$,NETLIFY:B,TEAMCITY_VERSION:z,TERM_PROGRAM:Z,TERM_PROGRAM_VERSION:q,VTE_VERSION:X,TERM:Q}=_4.env;if($)return!($.length>0&&Number.parseInt($,10)===0);if(g1("no-hyperlink")||g1("no-hyperlinks")||g1("hyperlink=false")||g1("hyperlink=never"))return!1;if(g1("hyperlink=true")||g1("hyperlink=always"))return!0;if(B)return!0;if(!Y4(u))return!1;if(u&&!u.isTTY)return!1;if("WT_SESSION"in _4.env)return!0;if(_4.platform==="win32")return!1;if(D)return!1;if(z)return!1;if(Z){let Y=vN(q);switch(Z){case"iTerm.app":{if(Y.major===3)return Y.minor>=1;return Y.major>3}case"WezTerm":{if(/^0-unstable-\d{4}-\d{2}-\d{2}$/.test(q))return q.slice(11)>="2020-06-20";return Y.major>=20200620}case"vscode":{if(F)return!0;return Y.major>1||Y.major===1&&Y.minor>=72}case"ghostty":return!0;case"zed":return!0}}if(X){if(X==="0.50.0")return!1;let Y=vN(X);return Y.major>0||Y.minor>=50}switch(Q){case"alacritty":return!0;case"xterm-kitty":return!0}return!1}var Wu0={stdout:_N(_4.stdout),stderr:_N(_4.stderr)},N5=Wu0;function F1(u,D,{target:F="stdout",...$}={}){if(!N5[F]){if($.fallback===!1)return u;if(typeof $.fallback==="function")return $.fallback(u,D);return`${u} ${D}`}return A5.link(u,D)}F1.isSupported=N5.stdout;F1.stderr=(u,D,F={})=>F1(u,D,{target:"stderr",...F});F1.stderr.isSupported=N5.stderr;import*as TN from"crypto";import*as o1 from"path";var lz="<gclShellPromptPlaceholder>",UN=(u)=>/[*?{}(|)[\]]/.test(u),Ju0=new Intl.DateTimeFormat(void 0,{year:void 0,month:void 0,hour:"numeric",minute:"numeric",second:"numeric",hour12:!1});class rD{generateJobId(){return Math.floor(Math.random()*1e6)}static illegalJobNames=new Set(["include","local_configuration","image","services","stages","before_script","default","after_script","variables","cache","workflow","page:deploy"]);argv;name;baseName;dependencies;environment;jobId;rules;allowFailure;when;exists;pipelineIid;gitData;inherit;_dotenvVariables={};_prescriptsExitCode=null;_afterScriptsExitCode=0;_coveragePercent=null;_running=!1;_containerId=null;_serviceNetworkId=null;_longRunningSilentTimeout=-1;_producers=null;_jobNamePad=null;_ciProjectDir=null;_startTime;_endTime;_filesToRm=[];_globalVariables={};_variables={};_containersToClean=[];_containerVolumeNames=[];jobData;writeStreams;constructor(u){let D=u.data,F=D.variables??{},$=u.variablesFromFiles,B=u.argv,z=B.cwd,Z=B.variable,q=u.expandVariables??!0;this.argv=B,this.writeStreams=u.writeStreams,this.gitData=u.gitData,this.name=u.name,this.baseName=u.baseName,this.jobId=this.generateJobId(),this.jobData=u.data,this.pipelineIid=u.pipelineIid,this._globalVariables=u.globalVariables,this.inherit={},this.inherit.variables=this.jobData.inherit?.variables??!0,this.when=D.when||"on_success",this.exists=D.exists||[],this.allowFailure=D.allow_failure??!1,this.dependencies=D.dependencies||null,this.rules=D.rules||null,this.environment=typeof D.environment==="string"?{name:D.environment}:D.environment?{...D.environment}:D.environment;let X=u.matrixVariables??{},Q=_.findEnvMatchedVariables($,this.fileVariablesDir),Y=this._predefinedVariables(u);if(this._variables={...Y,...this.globalVariables,...F,...X,...Q,...Z},this.rules&&q){let K=_.expandVariables(this._variables);this.rules.forEach((x,M,L)=>{let j=Array.isArray(x.changes)?x.changes:x.changes?.paths;if(!j)return;j.forEach((U,I,S)=>{S[I]=_.expandText(U,K)}),L[M].changes=j}),this.rules.forEach((x,M,L)=>{let j=Array.isArray(x.exists)?x.exists:null;if(!j)return;j.forEach((U,I,S)=>{S[I]=_.expandText(U,K)}),L[M].exists=j})}let W;if(this.rules){let K=_.getRulesResult({argv:B,cwd:z,rules:this.rules,variables:this._variables},this.gitData,this.when,D.allow_failure);if(this.when=K.when,this.allowFailure=K.allowFailure,W=K.variables,K.needs)this.jobData.needs=K.needs;this._variables={...this._variables,...W,...Z}}if(this.environment&&q){let K=_.expandVariables(this._variables),x=this.environment.name;if(this.environment.name=_.expandText(this.environment.name,K),this.environment.name!==x)Y.CI_ENVIRONMENT_SLUG=this._generateEnvironmentSlug(this.environment.name);this.environment.url=_.expandText(this.environment.url,K)}let J=_.findEnvMatchedVariables($,this.fileVariablesDir,this.environment),G={...this.globalVariables,...F,...X,...W,...J,...Z};this.discourageOverridingOfPredefinedVariables(Y,G,B.ignorePredefinedVars),this._variables={...Y,...G};for(let K of B.unsetVariables)delete this._variables[K];if(this.imageName(this._variables))this._variables={...this._variables,...{GCL_PROJECT_DIR_ON_HOST:z}};if(Yu(this.scripts||this.trigger,y`{blueBright ${this.name}} must have script specified`),Yu(!(this.interactive&&!this.argv.shellExecutorNoImage),y`${this.formattedJobName} @Interactive decorator cannot be used with --no-shell-executor-no-image`),this.interactive&&(this.when!=="manual"||this.imageName(this._variables)!==null))throw new j5({message:`${this.formattedJobName} @Interactive decorator cannot have image: and must be when:manual`});if(this.injectSSHAgent&&this.imageName(this._variables)===null)throw new j5({message:`${this.formattedJobName} @InjectSSHAgent can only be used with image:`});let f=_.expandVariables(this._variables);for(let[K,x]of Object.entries(this.cache))x.policy=_.expandText(x.policy,f),Yu(["pull","push","pull-push"].includes(x.policy),y`{blue ${this.name}} cache[${K}].policy is not 'pull', 'push' or 'pull-push'`),Yu(["on_success","on_failure","always"].includes(x.when),y`{blue ${this.name}} cache[${K}].when is not 'on_success', 'on_failure' or 'always'`),Yu(Array.isArray(x.paths),y`{blue ${this.name}} cache[${K}].paths must be array`);for(let[K,x]of Object.entries(this.services))Yu(x.name,y`{blue ${this.name}} services[${K}].name is undefined`),Yu(!x.command||Array.isArray(x.command),y`{blue ${this.name}} services[${K}].command must be an array`),Yu(!x.entrypoint||Array.isArray(x.entrypoint),y`{blue ${this.name}} services[${K}].entrypoint must be an array`);if(Yu(!this.artifacts?.paths||Array.isArray(this.artifacts.paths),y`{blue ${this.name}} artifacts.paths must be an array`),this.imageName(this._variables)&&B.mountCache)for(let K of this.cache)K.paths.forEach((x)=>{let M=_.expandText(x,f);Yu(!M.includes("*"),y`{blue ${this.name}} cannot have * in cache paths, when --mount-cache is enabled`)})}discourageOverridingOfPredefinedVariables(u,D,F){let $=Object.keys(u),z=Object.keys(D).filter((q)=>$.includes(q)&&!F.includes(q));if(z.length==0)return;let Z="https://gitlab.com/gitlab-org/gitlab/-/blob/v17.7.1-ee/doc/ci/variables/predefined_variables.md?plain=1&ref_type=tags#L15-16";this.writeStreams.memoStdout(y`
256
+ {bgYellowBright WARN } ${F1("Avoid overriding predefined variables",Z)} [{bold ${z}}] as it can cause the pipeline to behave unexpectedly.
257
+ If you know what you're doing and would like to suppress this warning, use one of the following methods:
258
+ \t• via cli options
259
+ \t\t• --ignore-predefined-vars ${z}
260
+ \t• via environment variable
261
+ \t\t• GCL_IGNORE_PREDEFINED_VARS=${z}
262
+ `)}_predefinedVariables(u){let D=this.argv,F=D.cwd,$=this.argv.stateDir,B=this.gitData,z;if(this.jobData.image)z="/builds",this.ciProjectDir=`${z}/${B.remote.group}/${B.remote.project}`;else if(D.shellIsolation)z=`${F}/${$}/builds/${this.safeJobName}`,this.ciProjectDir=z;else z=F,this.ciProjectDir=z;let Z=u.predefinedVariables;if(Z.CI_JOB_ID=`${this.jobId}`,Z.CI_PIPELINE_ID=`${this.pipelineIid+1000}`,Z.CI_PIPELINE_IID=`${this.pipelineIid}`,Z.CI_JOB_NAME=`${this.name}`,Z.CI_JOB_NAME_SLUG=`${this.name.replace(/[^a-z\d]+/ig,"-").replace(/^-/,"").slice(0,63).replace(/-$/,"").toLowerCase()}`,Z.CI_JOB_STAGE=`${this.stage}`,Z.CI_BUILDS_DIR=z,Z.CI_PROJECT_DIR=this.ciProjectDir,Z.CI_JOB_URL=`${Z.CI_SERVER_URL}/${B.remote.group}/${B.remote.project}/-/jobs/${this.jobId}`,Z.CI_PIPELINE_URL=`${Z.CI_SERVER_URL}/${B.remote.group}/${B.remote.project}/pipelines/${this.pipelineIid}`,Z.CI_ENVIRONMENT_NAME=this.environment?.name??"",Z.CI_ENVIRONMENT_SLUG=this.environment?.name?this._generateEnvironmentSlug(this.environment.name):"",Z.CI_ENVIRONMENT_URL=this.environment?.url??"",Z.CI_ENVIRONMENT_TIER=this.environment?.deployment_tier??"",Z.CI_ENVIRONMENT_ACTION=this.environment?.action??"",u.nodeIndex!==null)Z.CI_NODE_INDEX=`${u.nodeIndex}`;return Z.CI_NODE_TOTAL=`${u.nodesTotal}`,Z.CI_REGISTRY=Z.CI_REGISTRY=this.argv.registry?_.gclRegistryPrefix:`local-registry.${this.gitData.remote.host}`,Z.CI_REGISTRY_IMAGE=`$CI_REGISTRY/${Z.CI_PROJECT_PATH.toLowerCase()}`,Z}_generateEnvironmentSlug(u){let D=u.toLowerCase().replace(/[^a-z0-9]/g,"-").replace(/-+/g,"-");if(!/^[a-z]/.test(D))D=`env-${D}`;if(D.length>24||D!==u){if(D=D.slice(0,17),!D.endsWith("-"))D+="-";let F=TN.createHash("sha256").update(u).digest("hex"),$=BigInt(`0x${F}`).toString(36).slice(-6);return D+$}return D.replace(/-$/,"")}get jobStatus(){if(this.preScriptsExitCode==null)return"pending";if(this.preScriptsExitCode==0)return"success";let u=[0],D=this.allowFailure;switch(typeof D){case"boolean":if(D)u=[this.preScriptsExitCode];break;case"object":if(!Array.isArray(D.exit_codes))u=[D.exit_codes];else u=D.exit_codes;break;default:throw Error(`Unexpected type: ${typeof D}`)}return u.includes(this.preScriptsExitCode)?"warning":"failed"}get artifactsToSource(){if(this.jobData.gclArtifactsToSource!=null)return this.jobData.gclArtifactsToSource;return this.argv.artifactsToSource}get prettyDuration(){if(this._endTime)return iD.default(this._endTime);return this._startTime?iD.default(process.hrtime(this._startTime)):"0 ms"}get formattedJobName(){let u="";if(this.argv.childPipelineDepth>0)u="\t".repeat(this.argv.childPipelineDepth)+`[${this.argv.variable.GCL_TRIGGERER}] -> `;let D=this.argv.showTimestamps?`[${Ju0.format(new Date)} ${this.prettyDuration.padStart(7)}] `:"";return y`${D}{blueBright ${u}${this.name.padEnd(this.jobNamePad)}}`}get safeJobName(){return _.safeDockerString(this.name)}get needs(){return this.jobData.needs??null}get buildVolumeName(){return`gcl-${this.safeJobName}-${this.jobId}-build`}get tmpVolumeName(){return`gcl-${this.safeJobName}-${this.jobId}-tmp`}get services(){let u=[];if(!this.jobData.services)return[];for(let D of Object.values(this.jobData.services)){let F=_.expandVariables({...this._variables,...this._dotenvVariables,...D.variables}),$=_.expandText(D.name,F);if($=="")continue;$=$.includes(":")?$:`${$}:latest`,u.push({name:$,entrypoint:D.entrypoint??null,command:D.command??null,variables:F,alias:_.expandText(D.alias,F)??null})}return u}set ciProjectDir(u){Yu(this._ciProjectDir==null,"this._ciProjectDir can only be set once"),this._ciProjectDir=u}get ciProjectDir(){return Yu(this._ciProjectDir,"attempted to access this._ciProjectDir before it is initialized"),this._ciProjectDir}set jobNamePad(u){Yu(this._jobNamePad==null,"this._jobNamePad can only be set once"),this._jobNamePad=u}get jobNamePad(){return this._jobNamePad??0}get producers(){return this._producers}set producers(u){Yu(this._producers==null,"this._producers can only be set once"),this._producers=u}get stage(){return this.jobData.stage||"test"}get interactive(){return this.jobData.gclInteractive||!1}get injectSSHAgent(){return this.jobData.gclInjectSSHAgent||!1}get description(){return this.jobData.gclDescription??""}get artifacts(){return this.jobData.artifacts}deleteArtifacts(){delete this.jobData.artifacts}get cache(){return this.jobData.cache||[]}async getUniqueCacheName(u,D,F){let $=(Z)=>{let q=this.jobData.cache[Z].key.prefix;if(q)return`${Z}_${_.expandText(q,D)}-`;let X=this.jobData.cache[Z].key.files.map((Q)=>{return _.expandText(Q,D).split(".")[0]}).join("_");return`${Z}_${X}-`},B=this.jobData.cache[F].key;if(typeof B==="string"||B==null)return _.expandText(B??"default",D);let z=B.files.map((Z)=>{let q=_.expandText(Z,D);if(q.startsWith(`${this.ciProjectDir}/`))q=q.slice(`${this.ciProjectDir}/`.length);return`${u}/${q}`});return $(F)+await _.checksumFiles(u,z)}get beforeScripts(){let u=this.jobData.before_script||[];return typeof u==="string"?[u]:u}get afterScripts(){let u=this.jobData.after_script||[];return typeof u==="string"?[u]:u}get scripts(){let u=this.jobData.script;return typeof u==="string"?[u]:u}get trigger(){return this.jobData.trigger}async startTriggerPipeline(){this.writeStreams.memoStdout(y`{bgYellowBright WARN } downstream pipeline is experimental in gitlab-ci-local\n`),await this.fetchTriggerInclude();let u=Object.entries({...this.globalVariables,...this.jobData.variables}).map(([F,$])=>`${F}=${$}`),D=this.argv.variable.GCL_TRIGGERER?`${this.argv.variable.GCL_TRIGGERER} -> ${this.name}`:this.name;await T9({...Object.fromEntries(this.argv.map),file:`${this.argv.stateDir}/includes/triggers/${this.name}.yml`,variable:[y`GCL_TRIGGERER=${D}`,"CI_PIPELINE_SOURCE=parent_pipeline"].concat(u)},this.writeStreams,[],this.argv.childPipelineDepth+1)}get preScriptsExitCode(){return this._prescriptsExitCode}get afterScriptsExitCode(){return this._afterScriptsExitCode}get started(){return this._running||this._prescriptsExitCode!==null}get finished(){return!this._running&&this._prescriptsExitCode!==null}get coveragePercent(){return this._coveragePercent}get fileVariablesDir(){return`/tmp/gitlab-ci-local-file-variables-${this._variables.CI_PROJECT_PATH_SLUG}-${this.jobId}`}get globalVariables(){if(this.inherit.variables===!1)return{};else if(Array.isArray(this.inherit.variables)){let u=this.inherit.variables;return Object.fromEntries(Object.entries(this._globalVariables).filter(([D])=>u.includes(D)))}return this._globalVariables}async start(){if(this.trigger){await this.startTriggerPipeline(),this._prescriptsExitCode=0;return}this._running=!0;let u=this.argv;this._startTime=process.hrtime(),this._variables.CI_JOB_STARTED_AT=new Date().toISOString().split(".")[0]+"Z";let D=this.writeStreams;this._dotenvVariables=await this.initProducerReportsDotenvVariables(D,_.expandVariables(this._variables));let F=_.unscape$$Variables(_.expandVariables({...this._variables,...this._dotenvVariables})),$=this.imageName(F),B=u.helperImage,z=this.safeJobName,Z=`${u.cwd}/${u.stateDir}/output/${z}.log`;if(await k0.default.ensureFile(Z),await k0.default.truncate(Z),!this.interactive)D.stdout(y`${this.formattedJobName} {magentaBright starting} ${$??"shell"} ({yellow ${this.stage}})\n`);if($){await this.pullImage(D,$);let q=this.buildVolumeName,X=this.tmpVolumeName,Q=this.fileVariablesDir,Y=[];Y.push(_.spawn([this.argv.containerExecutable,"volume","create",`${q}`],u.cwd)),Y.push(_.spawn([this.argv.containerExecutable,"volume","create",`${X}`],u.cwd)),this._containerVolumeNames.push(q),this._containerVolumeNames.push(X),await Promise.all(Y);let W=process.hrtime();this.refreshLongRunningSilentTimeout(D);let J="0:0",G="a+rw";if(!this.argv.umask){let{stdout:M}=await _.spawn([this.argv.containerExecutable,"run","--rm","--entrypoint","sh",$,"-c",'echo "$(id -u):$(id -g)"']);if(J=M,J=="0:0")G="g-w"}if(B)await this.pullImage(D,B);let f=[this.argv.containerExecutable,"create","--user=0:0",`--volume=${q}:${this.ciProjectDir}`,`--volume=${X}:${this.fileVariablesDir}`];if(this.argv.caFile){let M=o1.isAbsolute(this.argv.caFile)?this.argv.caFile:o1.resolve(this.argv.cwd,this.argv.caFile);if(await k0.default.pathExists(M))f.push(`--volume=${M}:/etc/ssl/certs/ca-certificates.crt:ro`)}f.push(`${B}`,"sh","-c",`chown ${J} -R ${this.ciProjectDir} && chmod ${G} -R ${this.ciProjectDir} && chown ${J} -R /tmp/ && chmod ${G} -R /tmp/`);let{stdout:K}=await _.spawn(f,u.cwd);if(this._containersToClean.push(K),await k0.default.pathExists(Q))await _.spawn([this.argv.containerExecutable,"cp",`${Q}/.`,`${K}:${Q}`],u.cwd),this.refreshLongRunningSilentTimeout(D);await _.spawn([this.argv.containerExecutable,"cp",`${u.stateDir}/builds/.docker/.`,`${K}:${this.ciProjectDir}`],u.cwd),await _.spawn([this.argv.containerExecutable,"start","--attach",K],u.cwd),await _.spawn([this.argv.containerExecutable,"rm","-vf",K],u.cwd);let x=process.hrtime(W);D.stdout(y`${this.formattedJobName} {magentaBright copied to ${this.argv.containerExecutable} volumes} in {magenta ${iD.default(x)}}\n`)}if(this.services?.length){for(let q of this.argv.network)if(["host","none"].includes(q))throw new j5({message:`Cannot add service network alias with network mode '${q}'`});await this.createDockerNetwork(`gitlab-ci-local-${this.jobId}`),await Promise.all(this.services.map(async(q,X)=>{let Q=q.name;await this.pullImage(D,Q);let Y=await this.startService(D,_.expandVariables({...F,...q.variables}),q),W=`${u.cwd}/${u.stateDir}/services-output/${this.safeJobName}/${Q}-${X}.log`;await this.serviceHealthCheck(D,q,X,W);let{stdout:J,stderr:G}=await _.spawn([this.argv.containerExecutable,"logs",Y]);await k0.default.ensureFile(W),await k0.default.promises.writeFile(W,`### stdout ###
263
+ ${J}
264
+ ### stderr ###
265
+ ${G}
266
+ `)}))}if(await this.execPreScripts(F),this._prescriptsExitCode==null)throw Error("this._prescriptsExitCode must be defined!");if(await this.execAfterScripts(F),this._running=!1,this._endTime=this._endTime??process.hrtime(this._startTime),this.printFinishedString(),await this.copyCacheOut(this.writeStreams,F),await this.copyArtifactsOut(this.writeStreams,F),this.jobData.coverage)this._coveragePercent=await _.getCoveragePercent(u.cwd,u.stateDir,this.jobData.coverage,z)}async cleanupResources(){if(clearTimeout(this._longRunningSilentTimeout),!this.argv.cleanup)return;if(this._containersToClean.length>0)try{await _.spawn([this.argv.containerExecutable,"rm","-vf",...this._containersToClean])}catch(F){Yu(F instanceof Error,"e is not instanceof Error")}if(this._serviceNetworkId)try{await _.spawn([this.argv.containerExecutable,"network","rm",`${this._serviceNetworkId}`])}catch(F){Yu(F instanceof Error,"e is not instanceof Error")}if(this._containerVolumeNames.length>0)try{await _.spawn([this.argv.containerExecutable,"volume","rm",...this._containerVolumeNames])}catch(F){Yu(F instanceof Error,"e is not instanceof Error")}let u=[];for(let F of this._filesToRm)u.push(k0.default.rm(F,{recursive:!0,force:!0}));await Promise.all(u);let D=this.fileVariablesDir;try{await k0.default.rm(D,{recursive:!0,force:!0})}catch(F){Yu(F instanceof Error,"e is not instanceof Error")}}generateInjectSSHAgentOptions(){if(!this.injectSSHAgent)return"";if(process.platform==="darwin"||/^darwin/.exec(process.env.OSTYPE??""))return"--env SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock -v /run/host-services/ssh-auth.sock:/run/host-services/ssh-auth.sock";return`--env SSH_AUTH_SOCK=${process.env.SSH_AUTH_SOCK} -v ${process.env.SSH_AUTH_SOCK}:${process.env.SSH_AUTH_SOCK}`}generateScriptCommands(u){let D="";return u.forEach((F)=>{let $=F.split(/\r?\n/),B=$.length>1?" # collapsed multi-line command":"",z=$[0]?.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/[$]/g,"\\$");if(this.interactive)D+=y`echo "{green $ ${z}${B}}"\n`;else D+=`echo "${lz} ${z}${B}"
267
+ `;D+=`${F}
268
+ `}),D}async mountCacheCmd(u,D){if(this.imageName(D)&&!this.argv.mountCache)return[];let F=[];for(let[$,B]of this.cache.entries()){let z=await this.getUniqueCacheName(this.argv.cwd,D,$);B.paths.forEach((Z)=>{let q=_.expandText(Z,D);u.stdout(y`${this.formattedJobName} {magentaBright mounting cache} for path ${q}\n`);let X=_.safeDockerString(`gcl-${D.CI_PROJECT_PATH_SLUG}-${z}`);F.push("-v",`${X}:${this.ciProjectDir}/${q}`)})}return F}async execPreScripts(u){let D=this.beforeScripts.concat(this.scripts);u.CI_JOB_STATUS="running",this._prescriptsExitCode=await this.execScripts(D,u,""),u.CI_JOB_STATUS=this._prescriptsExitCode===0?"success":"failed",this.printExitedString(this._prescriptsExitCode)}async execAfterScripts(u){this._afterScriptsExitCode=await this.execScripts(this.afterScripts,u,"Running after script..."),this.printAfterScriptExitedString(this._afterScriptsExitCode)}async execScripts(u,D,F){let $=this.argv.cwd,B=this.argv.stateDir,z=this.safeJobName,Z=`${$}/${B}/output/${z}.log`,q=this.buildVolumeName,X=this.tmpVolumeName,Q=this.imageName(D),Y=this.writeStreams;if(u.length===0||u[0]==null)return 0;if(F.length>0)Y.stdout(y`${this.formattedJobName} {magentaBright ${F}}\n`);if(await k0.default.remove(`${$}/${B}/artifacts/${z}`),!Q&&this.argv.shellIsolation)await _.rsyncTrackedFiles($,B,`${z}`);if(this.interactive){let L=`set -eo pipefail
269
+ `;L+=this.generateScriptCommands(u);let j=gz.default(L,{cwd:$,shell:"bash",stdio:["inherit","inherit","inherit"],env:{...D,...process.env}});return new Promise((U,I)=>{j.on("exit",(S)=>U(S??0)),j.on("error",(S)=>I(S))})}if(this.argv.registry)D.CI_REGISTRY_USER=D.CI_REGISTRY_USER??`${_.gclRegistryPrefix}.user`,D.CI_REGISTRY_PASSWORD=D.CI_REGISTRY_PASSWORD??`${_.gclRegistryPrefix}.password`;if(this.refreshLongRunningSilentTimeout(Y),Q&&!this._containerId){let L=`${this.argv.containerExecutable} create --interactive ${this.generateInjectSSHAgentOptions()} `;if(this.argv.privileged)L+="--privileged ";for(let I of this.argv.device)L+=`--device ${I} `;if(this.argv.ulimit!==null)L+=`--ulimit nofile=${this.argv.ulimit} `;if(this.argv.umask)L+="--user 0:0 ";if(this.argv.userns!=null)L+=`--userns=${this.argv.userns} `;if(this.argv.shmSize!=null)L+=`--shm-size=${this.argv.shmSize} `;if(this.argv.containerMacAddress)L+=`--mac-address "${this.argv.containerMacAddress}" `;let j=this.imageUser(D);if(j)L+=`--user ${j} `;if(this.argv.containerEmulate){let I=this.argv.containerEmulate;if(!v9.includes(I))throw Error("Invalid gitlab runner to emulate.");let S=rL[I],k=tL[I];L+=`--memory=${S}m `,L+=`--kernel-memory=${S}m `,L+=`--cpus=${k} `}for(let I of this.argv.network)if(["host","none"].includes(I))L+=`--network ${I} `;if(this._serviceNetworkId)L+=`--network ${this._serviceNetworkId} --network-alias build `;if(this.argv.registry)L+=`--network ${_.gclRegistryPrefix}.net `,L+=`--volume ${_.gclRegistryPrefix}.certs:/etc/containers/certs.d:ro `,L+=`--volume ${_.gclRegistryPrefix}.certs:/etc/docker/certs.d:ro `;L+=`--volume ${q}:${this.ciProjectDir} `,L+=`--volume ${X}:${this.fileVariablesDir} `,L+=`--workdir ${this.ciProjectDir} `;for(let I of this.argv.volume)L+=`--volume ${I} `;for(let I of this.argv.extraHost)L+=`--add-host=${I} `;if(this.argv.caFile){let I=o1.isAbsolute(this.argv.caFile)?this.argv.caFile:o1.resolve(this.argv.cwd,this.argv.caFile);if(await k0.default.pathExists(I))L+=`--volume ${I}:/etc/ssl/certs/ca-certificates.crt:ro `,D.SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt",D.SSL_CERT_DIR="/etc/ssl/certs";else Y.stderr(y`{yellow WARNING: CA file not found: ${I}}\n`)}for(let[I,S]of Object.entries(D))L+=` -e '${I}=${S.toString().replace(/'/g,"'\\''")}' \\
270
+ `;if(this.imageEntrypoint)L+=`--entrypoint ${_.safeBashString(this.imageEntrypoint[0])} `;if(L+=`${(await this.mountCacheCmd(Y,D)).join(" ")} `,L+=`${Q} `,this.imageEntrypoint?.length??!1)this.imageEntrypoint?.slice(1).forEach((I)=>{L+=`${_.safeBashString(I)} `});L+=`sh -c "
271
+ `,L+=`if [ -x /usr/local/bin/bash ]; then
272
+ `,L+=` exec /usr/local/bin/bash
273
+ `,L+=`elif [ -x /usr/bin/bash ]; then
274
+ `,L+=` exec /usr/bin/bash
275
+ `,L+=`elif [ -x /bin/bash ]; then
276
+ `,L+=` exec /bin/bash
277
+ `,L+=`elif [ -x /usr/local/bin/sh ]; then
278
+ `,L+=` exec /usr/local/bin/sh
279
+ `,L+=`elif [ -x /usr/bin/sh ]; then
280
+ `,L+=` exec /usr/bin/sh
281
+ `,L+=`elif [ -x /bin/sh ]; then
282
+ `,L+=` exec /bin/sh
283
+ `,L+=`elif [ -x /busybox/sh ]; then
284
+ `,L+=` exec /busybox/sh
285
+ `,L+=`else
286
+ `,L+=` echo shell not found
287
+ `,L+=` exit 1
288
+ `,L+=`fi
289
+ "`;let{stdout:U}=await _.bash(L,$);for(let I of this.argv.network){if(["host","none"].includes(I))continue;await _.spawn([this.argv.containerExecutable,"network","connect",I,`${U}`])}this._containerId=U,this._containersToClean.push(this._containerId)}await this.copyCacheIn(Y,D),await this.copyArtifactsIn(Y);let W=`set -eo pipefail
290
+ `;if(W+=`exec 0< /dev/null
291
+ `,!Q&&this.argv.shellIsolation)W+=`cd ${B}/builds/${z}/
292
+ `;if(Q){if(W+=`cd ${this.ciProjectDir}
293
+ `,D.CI_JOB_STATUS!="running")W+=`export CI_JOB_STATUS=${D.CI_JOB_STATUS}
294
+ `}W+=this.generateScriptCommands(u),W+=`exit 0
295
+ `;let J=`${$}/${B}/scripts/${z}_${this.jobId}`;if(await k0.default.outputFile(J,W,"utf-8"),await k0.default.chmod(J,"0755"),this._filesToRm.push(J),Q)await _.spawn([this.argv.containerExecutable,"cp",`${B}/scripts/${z}_${this.jobId}`,`${this._containerId}:/gcl-cmd`],$);let G=gz.default(this._containerId?`${this.argv.containerExecutable} start --attach -i ${this._containerId}`:"bash",{cwd:$,shell:"bash",env:Q?process.env:D}),f=/\x1b\[0Ksection_(start|end):(\d+):([^\s[]+)(?:\[[^\]]*\])?\r\x1b\[0K/,K=new Map,x=(L,j,U)=>{this.refreshLongRunningSilentTimeout(Y);let I=f.exec(L),S=!1;if(I)if(S=!0,I[1]==="start")K.set(I[3],Date.now()),L=y`{cyanBright ${I[3]}_started}`;else{let k=Date.now()-(K.get(I[3])??Date.now());L=y`{cyanBright ${I[3]}} took {magenta ${k}ms}`,K.delete(I[3])}if(j(`${this.formattedJobName} `),L.startsWith(lz))L=L.slice(lz.length),L=y`{green $${L}}`;else if(!S)j(`${U(">")} `);j(`${L}
296
+ `),k0.default.appendFileSync(Z,`${L}
297
+ `)},M=this.argv.quiet;return await new Promise((L,j)=>{if(!M)G.stdout?.pipe(dz.default()).on("data",(U)=>x(U,Y.stdout.bind(Y),(I)=>y`{greenBright ${I}}`)),G.stderr?.pipe(dz.default()).on("data",(U)=>x(U,Y.stderr.bind(Y),(I)=>y`{redBright ${I}}`));if(G.on("exit",(U)=>{return clearTimeout(this._longRunningSilentTimeout),L(U??0)}),G.on("error",(U)=>{return clearTimeout(this._longRunningSilentTimeout),j(U)}),Q)G.stdin?.end(". /gcl-cmd");else G.stdin?.end(`./${B}/scripts/${z}_${this.jobId}`)})}imageName(u={}){if(this.argv.forceShellExecutor)return null;let D=this.jobData.image;if(!D)if(this.argv.shellExecutorNoImage)return null;else return this.argv.defaultImage;let F=_.expandVariables(u),$=_.expandText(D.name,F);return $.includes(":")?$:`${$}:latest`}imageUser(u={}){let D=this.jobData.image;if(!D)return null;if(!D.docker)return null;return _.expandText(D.docker.user,u)}get imageEntrypoint(){let u=this.jobData.image;if(!u?.entrypoint)return null;return Yu(Array.isArray(u.entrypoint),"image:entrypoint must be an array"),u.entrypoint}async validateCiDependencyProxyServerAuthentication(u){let D=this._variables.CI_DEPENDENCY_PROXY_SERVER;if(!u.startsWith(D))return;try{await _.spawn([this.argv.containerExecutable,"login",D])}catch(F){let $=`Please authenticate to the Dependency Proxy (${D}) https://docs.gitlab.com/ee/user/packages/dependency_proxy/#authenticate-with-the-dependency-proxy`;if(this.argv.containerExecutable=="docker")Yu(!F.stderr.includes("Cannot perform an interactive login"),$);else if(this.argv.containerExecutable=="podman")Yu(!F.stderr.includes("Username: Error: getting username and password: reading username: EOF"),$);throw F}}async pullImage(u,D){let F=this.argv.pullPolicy,$=async()=>{await this.validateCiDependencyProxyServerAuthentication(D);let B=process.hrtime();await _.spawn([this.argv.containerExecutable,"pull",D]);let z=process.hrtime(B);u.stdout(y`${this.formattedJobName} {magentaBright pulled} ${D} in {magenta ${iD.default(z)}}\n`),this.refreshLongRunningSilentTimeout(u)};if(F==="always"){await $();return}try{await _.spawn([this.argv.containerExecutable,"image","inspect",D])}catch{await $()}}async initProducerReportsDotenvVariables(u,D){let F=this.argv.cwd,$=this.argv.stateDir,B=this.producers,z={};for(let Z of B??[]){if(_.expandText(Z.dotenv,D)===null)continue;let X=_.safeDockerString(Z.name),Q=`${F}/${$}/artifacts/${X}/.gitlab-ci-reports/dotenv/`;if(await k0.default.pathExists(Q)){let Y=(await _.spawn(["find",".","-type","f"],Q)).stdout.split(`
298
+ `);for(let W of Y){if(W=="")continue;let J=SN.parse(await k0.default.readFile(`${Q}/${W}`));z={...z,...J}}}else u.stderr(y`${this.formattedJobName} {yellow reports.dotenv produced by '${Z.name}' could not be found}\n`)}return z}async copyCacheIn(u,D){if(this.argv.mountCache&&this.imageName(D))return;if(!this.imageName(D)&&!this.argv.shellIsolation||this.cache.length===0)return;let F=this.argv.cwd,$=this.argv.stateDir;for(let[B,z]of this.cache.entries()){if(!["pull","pull-push"].includes(z.policy))return;let Z=process.hrtime(),q=await this.getUniqueCacheName(F,D,B),X=`${F}/${$}/cache/${q}`;if(!await k0.default.pathExists(X))continue;await h1.exclusive(q,async()=>{await this.copyIn(X)});let Q=process.hrtime(Z);u.stdout(y`${this.formattedJobName} {magentaBright imported cache '${q}'} in {magenta ${iD.default(Q)}}\n`)}}async copyArtifactsIn(u){if(!this.imageName(this._variables)&&!this.argv.shellIsolation||(this.producers??[]).length===0)return;let D=this.argv.cwd,F=this.argv.stateDir,$=process.hrtime(),B=[];for(let Z of this.producers??[]){let q=_.safeDockerString(Z.name),X=`${D}/${F}/artifacts/${q}`;if(!await k0.default.pathExists(X))await k0.default.mkdirp(X);if((await k0.default.readdir(X)).length===0)u.stderr(y`${this.formattedJobName} {yellow artifacts from {blueBright ${q}} was empty}\n`);B.push(this.copyIn(X))}await Promise.all(B);let z=process.hrtime($);u.stdout(y`${this.formattedJobName} {magentaBright imported artifacts} in {magenta ${iD.default(z)}}\n`)}copyIn(u){let D=this.safeJobName;if(!this.imageName(this._variables)&&this.argv.shellIsolation)return _.spawn(["rsync","-a",`${u}/.`,`${this.argv.cwd}/${this.argv.stateDir}/builds/${D}`]);return _.spawn([this.argv.containerExecutable,"cp",`${u}/.`,`${this._containerId}:${this.ciProjectDir}`])}async copyCacheOut(u,D){if(this.argv.mountCache&&this.imageName(D))return;if(!this.imageName(D)&&!this.argv.shellIsolation||this.cache.length===0)return;let F=this.argv.cwd,$=this.argv.stateDir,B=this.imageName(D)?"/cache":"../../cache",z,Z;for(let[q,X]of this.cache.entries()){if(!["push","pull-push"].includes(X.policy))return;if(X.when==="on_success"&&this.jobStatus!=="success")return;if(X.when==="on_failure"&&this.jobStatus==="success")return;let Q=await this.getUniqueCacheName(F,D,q),Y="";for(let J of X.paths){if(!_.isSubpath(J,this.argv.cwd,this.argv.cwd))continue;Y+=" "+_.expandText(J,D).replace(`${D.CI_PROJECT_DIR}/`,"")}z=process.hrtime();let W=`shopt -s globstar nullglob dotglob
299
+ `;W+=`mkdir -p ${_.safeBashString(B+"/"+Q)}
300
+ `,W+=`rsync -Ra ${Y} ${_.safeBashString(B+"/"+Q+"/.")} || true
301
+ `,await h1.exclusive(Q,async()=>{await this.copyOut(W,$,"cache",[])}),Z=process.hrtime(z);for(let J of X.paths){let G=_.expandText(J,D);if(!_.isSubpath(G,this.argv.cwd,this.argv.cwd)){u.stdout(y`{yellow WARNING: processPath: artifact path is not a subpath of project directory: ${G}}\n`);continue}let f=G;if(UN(f)&&!f.endsWith("*"))f=`${f}/**`;let K=P9(f,{dot:!0,onlyFiles:!1,cwd:`${this.argv.cwd}/${$}/cache/${Q}`}).length;if(K==0){u.stdout(y`{yellow WARNING: ${f}: no matching files. Ensure that the artifact path is relative to the working directory}\n`);continue}if(!UN(f))K++;u.stdout(`${G}: found ${K} artifact files and directories
302
+ `)}u.stdout(y`${this.formattedJobName} {magentaBright cache created in '${$}/cache/${Q}'} in {magenta ${iD.default(Z)}}\n`)}}async copyArtifactsOut(u,D){if(this.jobStatus!=="success"&&this.artifacts?.when!=="always")return;if(!this.artifacts)return;if((this.artifacts.paths?.length??0)===0&&this.artifacts.reports?.dotenv==null)return;let F=this.safeJobName,$=this.argv.cwd,B=this.argv.stateDir,z;if(!this.argv.shellIsolation&&!this.imageName(D))z=`${B}/artifacts`;else if(this.imageName(D))z="/artifacts";else z="../../artifacts";let Z,q,X=`shopt -s globstar nullglob dotglob
303
+ `;X+=`mkdir -p ${z}/${F}
304
+ `,X+="rsync --exclude '.gitlab-ci-local/**' -Ra ";for(let G of this.artifacts?.exclude??[]){let f=_.expandText(G,D).replace(`${D.CI_PROJECT_DIR}/`,"");X+=`--exclude '${f}' `}for(let G of this.artifacts?.paths??[]){let f=_.expandText(G,D).replace(`${D.CI_PROJECT_DIR}/`,"");X+=`${f} `}X+=`${z}/${F}/. || true
305
+ `;let Q=_.expandText(this.artifacts.reports?.dotenv??null,D),Y=typeof Q==="string"?[Q]:Q;if(Y!=null)Y.forEach((G)=>{X+=`mkdir -p ${z}/${F}/.gitlab-ci-reports/dotenv
306
+ `,X+=`if [ -f ${G} ]; then
307
+ `,X+=` rsync -Ra ${G} ${z}/${F}/.gitlab-ci-reports/dotenv/.
308
+ `,X+=`fi
309
+ `});Z=process.hrtime();let W=this.argv.mountCache?await this.mountCacheCmd(u,D):[];await this.copyOut(X,B,"artifacts",W),q=process.hrtime(Z);for(let G of Y??[]){if(await k0.default.pathExists(`${$}/${B}/artifacts/${F}/.gitlab-ci-reports/dotenv/${G}`))continue;u.stderr(y`${this.formattedJobName} {yellow artifact reports dotenv '${G}' could not be found}\n`)}if((await k0.default.readdir(`${$}/${B}/artifacts/${F}`)).length===0)u.stdout(y`${this.formattedJobName} {yellow !! no artifacts was copied !!}\n`);else u.stdout(y`${this.formattedJobName} {magentaBright exported artifacts} in {magenta ${iD.default(q)}}\n`);if(this.artifactsToSource&&(this.argv.shellIsolation||this.imageName(D))){if(Z=process.hrtime(),await _.spawn(["rsync","--exclude=/.gitlab-ci-reports/","-a",`${$}/${B}/artifacts/${F}/.`,$]),Q!=null)await _.spawn(["rsync","-a",`${$}/${B}/artifacts/${F}/.gitlab-ci-reports/dotenv/.`,$]);q=process.hrtime(Z),u.stdout(y`${this.formattedJobName} {magentaBright copied artifacts to cwd} in {magenta ${iD.default(q)}}\n`)}}async copyOut(u,D,F,$){let B=this.safeJobName,z=this.buildVolumeName,Z=this.argv.cwd,q=this.argv.helperImage;if(await k0.default.mkdirp(`${Z}/${D}/${F}`),this.imageName(this._variables)){let{stdout:X}=await _.bash(`${this.argv.containerExecutable} create -i ${$.join(" ")} -v ${z}:${this.ciProjectDir} -w ${this.ciProjectDir} ${q} bash -c "${u.replace(/"/g,"\\\"")}"`,Z);this._containersToClean.push(X),await _.spawn([this.argv.containerExecutable,"start",X,"--attach"]),await _.spawn([this.argv.containerExecutable,"cp",`${X}:/${F}/.`,`${D}/${F}/.`],Z)}else if(this.argv.shellIsolation)await _.bash(`bash -eo pipefail -c "${u}"`,`${Z}/${D}/builds/${B}`);else if(!this.argv.shellIsolation)await _.bash(`bash -eo pipefail -c "${u}"`,`${Z}`)}refreshLongRunningSilentTimeout(u){clearTimeout(this._longRunningSilentTimeout),this._longRunningSilentTimeout=setTimeout(()=>{u.stdout(y`${this.formattedJobName} {grey > still running...}\n`),this.refreshLongRunningSilentTimeout(u)},1e4)}getFinishedString(){return y`${this.formattedJobName} {magentaBright finished} in {magenta ${this.prettyDuration}}`}printFinishedString(){if(this.jobStatus!=="success")return;this.writeStreams.stdout(`${this.getFinishedString()}
310
+ `)}printExitedString(u){let D=this.writeStreams,F=this.getFinishedString();if(this.jobStatus==="warning")D.stderr(y`${F} {black.bgYellowBright WARN ${u.toString()} }\n`);else if(this.jobStatus==="failed")D.stderr(y`${F} {black.bgRed FAIL ${u.toString()} }\n`)}printAfterScriptExitedString(u){let D=this.writeStreams,F=this.getFinishedString();if(u!==0)D.stderr(y`${F} {black.bgYellowBright WARN ${u.toString()} } after_script\n`)}async createDockerNetwork(u){let{stdout:D}=await _.spawn([this.argv.containerExecutable,"network","create",`${u}`]);this._serviceNetworkId=D}async startService(u,D,F){let $=this.argv.cwd,B=`${this.argv.containerExecutable} create --interactive `;if(this.refreshLongRunningSilentTimeout(u),this.argv.umask)B+="--user 0:0 ";if(this.argv.userns!=null)B+=`--userns=${this.argv.userns} `;if(this.argv.privileged)B+="--privileged ";for(let G of this.argv.device)B+=`--device ${G} `;if(this.argv.ulimit!==null)B+=`--ulimit nofile=${this.argv.ulimit} `;if(this.argv.shmSize!=null)B+=`--shm-size=${this.argv.shmSize} `;for(let G of this.argv.volume)B+=`--volume ${G} `;for(let G of this.argv.extraHost)B+=`--add-host=${G} `;if(this.argv.caFile){let G=o1.isAbsolute(this.argv.caFile)?this.argv.caFile:o1.resolve(this.argv.cwd,this.argv.caFile);if(await k0.default.pathExists(G))B+=`--volume ${G}:/etc/ssl/certs/ca-certificates.crt:ro `,D.SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt",D.SSL_CERT_DIR="/etc/ssl/certs"}let{alias:z,name:Z}=F,q=Z.replace(/(.*)(:.*)/,"$1"),X=new Set;if(X.add(q.replaceAll("/","-")),X.add(q.replaceAll("/","__")),z)X.add(z);for(let[G,f]of Object.entries(D))B+=` -e '${G}=${f.toString().replace(/'/g,"'\\''")}' \\
311
+ `;let Q=F.entrypoint;if(Q)B+=`--entrypoint ${_.safeBashString(Q[0])} `;B+=`--volume ${this.buildVolumeName}:${this.ciProjectDir} `,B+=`--volume ${this.tmpVolumeName}:${this.fileVariablesDir} `,B+=`--network ${this._serviceNetworkId} `;for(let G of X)B+=`--network-alias ${G} `;if(B+=`${Z} `,Q?.length??!1)Q?.slice(1).forEach((G)=>{B+=`${_.safeBashString(G)} `});(F.command??[]).forEach((G)=>B+=`"${G.replace(/\$/g,"\\$")}" `);let Y=process.hrtime(),{stdout:W}=await _.bash(B,$);this._containersToClean.push(W);for(let G of this.argv.network)await _.spawn([this.argv.containerExecutable,"network","connect",G,`${W}`]);await _.spawn([this.argv.containerExecutable,"start",`${W}`]);let J=process.hrtime(Y);return u.stdout(y`${this.formattedJobName} {magentaBright started service image: ${Z} with aliases: ${Array.from(X).join(", ")}} in {magenta ${iD.default(J)}}\n`),W}async serviceHealthCheck(u,D,F,$){let{alias:B,name:z}=D,Z=this.argv.waitImage,{stdout:q}=await _.spawn([this.argv.containerExecutable,"image","inspect",z]),X=JSON.parse(q),Q=z.replace(/(.*)(:.*)/,"$1"),Y=[Q.replaceAll("/","-"),Q.replaceAll("/","__")];if(B)Y.push(B);let W=Y[Y.length-1];if((X[0]?.Config?.ExposedPorts??null)===null)return u.stderr(y`${this.formattedJobName} {yellow Could not find exposed tcp ports ${z}}\n`);let J=process.hrtime();try{await Promise.any(Object.keys(X[0].Config.ExposedPorts).map((f)=>{if(!f.endsWith("/tcp"))return;let K=parseInt(f.replace("/tcp","")),x=`gcl-wait-for-it-${this.jobId}-${F}-${K}`,M=[this.argv.containerExecutable,"run","--rm",`--name=${x}`,"--network",`${this._serviceNetworkId}`,`${Z}`,`${W}:${K}`,"-t","30"];return this._containersToClean.push(x),_.spawn(M)}));let G=process.hrtime(J);u.stdout(y`${this.formattedJobName} {greenBright service image: ${z} healthcheck passed in {green ${iD.default(G)}}}\n`)}catch(G){if(!(G instanceof AggregateError))throw G;G.errors.forEach((f)=>{u.stdout(y`${this.formattedJobName} {redBright service image: ${z} healthcheck failed}\n`),f.message.split(/\r?\n/g).forEach((K)=>{u.stdout(y`${this.formattedJobName} {redBright ${K}}\n`)}),u.stdout(y`${this.formattedJobName} {redBright also see (${$})}\n`)})}finally{await Promise.allSettled(Object.keys(X[0].Config.ExposedPorts).map((G)=>{if(!G.endsWith("/tcp"))return;let f=parseInt(G.replace("/tcp",""));return _.spawn([this.argv.containerExecutable,"rm","-vf",`gcl-wait-for-it-${this.jobId}-${F}-${f}`])}))}}async fetchTriggerInclude(){let{cwd:u,stateDir:D}=this.argv;k0.default.mkdirpSync(`${u}/${D}/includes/triggers`);let F={};for(let B of this.jobData.trigger?.include??[])if(B.local){let z=_.expandText(B.local,this._variables);mz(z);let Z=await nz(z,u);if(Z.length==0)throw new j5({message:`Local include file \`${B.local}\` specified in \`.${this.name}\` cannot be found!`});for(let q of Z){let X=await t0.loadYaml(q,{});F={...F,...X}}}else if(B.artifact){let z=await t0.loadYaml(`${u}/${D}/artifacts/${B.job}/${B.artifact}`,{});F={...F,...z}}else if(B.project)this.writeStreams.memoStdout(y`{bgYellowBright WARN } \`{blueBright ${this.name}.trigger.include.*.project}\` will be no-op. It is currently not implemented\n`);else if(B.template)this.writeStreams.memoStdout(y`{bgYellowBright WARN } \`{blueBright ${this.name}.trigger.include.*.template}\` will be no-op. It is currently not implemented\n`);let $=`${u}/${D}/includes/triggers/${this.name}.yml`;k0.default.writeFileSync($,T1(F))}}async function j6(u){if(!u)return;let D=[];for(let F of u)D.push(F.cleanupResources());await Promise.all(D)}import ND from"assert";var qP=E0(aC(),1);import pD from"assert";var DF={$schema:"http://json-schema.org/draft-07/schema#",$id:"https://gitlab.com/.gitlab-ci.yml",markdownDescription:"GitLab has a built-in solution for doing CI called GitLab CI. It is configured by supplying a file called `.gitlab-ci.yml`, which will list all the jobs that are going to run for the project. A full list of all options can be found [here](https://docs.gitlab.com/ci/yaml/). [Learn More](https://docs.gitlab.com/ci/).",type:"object",properties:{$schema:{type:"string",format:"uri"},spec:{type:"object",markdownDescription:"Specification for pipeline configuration. Must be declared at the top of a configuration file, in a header section separated from the rest of the configuration with `---`. [Learn More](https://docs.gitlab.com/ci/yaml/#spec).",properties:{inputs:{$ref:"#/definitions/configInputs"}},additionalProperties:!1},image:{$ref:"#/definitions/image",markdownDescription:"Defining `image` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},services:{$ref:"#/definitions/services",markdownDescription:"Defining `services` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},before_script:{$ref:"#/definitions/before_script",markdownDescription:"Defining `before_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},after_script:{$ref:"#/definitions/after_script",markdownDescription:"Defining `after_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},variables:{$ref:"#/definitions/globalVariables"},cache:{$ref:"#/definitions/cache",markdownDescription:"Defining `cache` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"!reference":{$ref:"#/definitions/!reference"},default:{type:"object",properties:{after_script:{$ref:"#/definitions/after_script"},artifacts:{$ref:"#/definitions/artifacts"},before_script:{$ref:"#/definitions/before_script"},hooks:{$ref:"#/definitions/hooks"},cache:{$ref:"#/definitions/cache"},image:{$ref:"#/definitions/image"},interruptible:{$ref:"#/definitions/interruptible"},id_tokens:{$ref:"#/definitions/id_tokens"},identity:{$ref:"#/definitions/identity"},retry:{$ref:"#/definitions/retry"},services:{$ref:"#/definitions/services"},tags:{$ref:"#/definitions/tags"},timeout:{$ref:"#/definitions/timeout"},"!reference":{$ref:"#/definitions/!reference"}},additionalProperties:!1},stages:{type:"array",markdownDescription:"Groups jobs into stages. All jobs in one stage must complete before next stage is executed. Defaults to ['build', 'test', 'deploy']. [Learn More](https://docs.gitlab.com/ci/yaml/#stages).",default:["build","test","deploy"],items:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]},uniqueItems:!0,minItems:1},include:{markdownDescription:"Can be `IncludeItem` or `IncludeItem[]`. Each `IncludeItem` will be a string, or an object with properties for the method if including external YAML file. The external content will be fetched, included and evaluated along the `.gitlab-ci.yml`. [Learn More](https://docs.gitlab.com/ci/yaml/#include).",oneOf:[{$ref:"#/definitions/include_item"},{type:"array",items:{$ref:"#/definitions/include_item"}}]},pages:{$ref:"#/definitions/job",markdownDescription:"A special job used to upload static sites to GitLab pages. Requires a `public/` directory with `artifacts.path` pointing to it. [Learn More](https://docs.gitlab.com/ci/yaml/#pages)."},workflow:{type:"object",properties:{name:{$ref:"#/definitions/workflowName"},auto_cancel:{$ref:"#/definitions/workflowAutoCancel"},rules:{type:"array",items:{anyOf:[{type:"object"},{type:"array",minItems:1,items:{type:"string"}}],properties:{if:{$ref:"#/definitions/if"},changes:{$ref:"#/definitions/changes"},exists:{$ref:"#/definitions/exists"},variables:{$ref:"#/definitions/rulesVariables"},when:{type:"string",enum:["always","never"]},auto_cancel:{$ref:"#/definitions/workflowAutoCancel"}},additionalProperties:!1}}}}},patternProperties:{"^[.]":{description:"Hidden keys.",anyOf:[{$ref:"#/definitions/job_template"},{description:"Arbitrary YAML anchor."}]}},additionalProperties:{$ref:"#/definitions/job"},definitions:{artifacts:{type:["object","null"],markdownDescription:"Used to specify a list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to GitLab where they can be downloaded. [Learn More](https://docs.gitlab.com/ci/yaml/#artifacts).",additionalProperties:!1,properties:{paths:{type:"array",markdownDescription:"A list of paths to files/folders that should be included in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactspaths).",items:{type:"string"},minItems:1},exclude:{type:"array",markdownDescription:"A list of paths to files/folders that should be excluded in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexclude).",items:{type:"string"},minItems:1},expose_as:{type:"string",markdownDescription:"Can be used to expose job artifacts in the merge request UI. GitLab will add a link <expose_as> to the relevant merge request that points to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpose_as)."},name:{type:"string",markdownDescription:"Name for the archive created on job success. Can use variables in the name, e.g. '$CI_JOB_NAME' [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsname)."},untracked:{type:"boolean",markdownDescription:"Whether to add all untracked files (along with 'artifacts.paths') to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsuntracked).",default:!1},when:{markdownDescription:"Configure when artifacts are uploaded depended on job status. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactswhen).",default:"on_success",type:"string",enum:["on_success","on_failure","always"]},access:{markdownDescription:"Configure who can access the artifacts. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsaccess).",default:"all",type:"string",enum:["none","developer","all"]},expire_in:{type:"string",markdownDescription:"How long artifacts should be kept. They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpire_in).",default:"30 days"},reports:{type:"object",markdownDescription:"Reports will be uploaded as artifacts, and often displayed in the GitLab UI, such as in merge requests. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsreports).",additionalProperties:!1,properties:{accessibility:{type:"string",description:"Path to JSON file with accessibility report."},annotations:{type:"string",description:"Path to JSON file with annotations report."},junit:{description:"Path for file(s) that should be parsed as JUnit XML result",oneOf:[{type:"string",description:"Path to a single XML file"},{type:"array",description:"A list of paths to XML files that will automatically be concatenated into a single file",items:{type:"string"},minItems:1}]},browser_performance:{type:"string",description:"Path to a single file with browser performance metric report(s)."},coverage_report:{type:["object","null"],description:"Used to collect coverage reports from the job.",properties:{coverage_format:{description:"Code coverage format used by the test framework.",enum:["cobertura","jacoco"]},path:{description:"Path to the coverage report file that should be parsed.",type:"string",minLength:1}}},codequality:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with code quality report(s) (such as Code Climate)."},dotenv:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files containing runtime-created variables for this job."},lsif:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files containing code intelligence (Language Server Index Format)."},sast:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with SAST vulnerabilities report(s)."},dependency_scanning:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with Dependency scanning vulnerabilities report(s)."},container_scanning:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with Container scanning vulnerabilities report(s)."},dast:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with DAST vulnerabilities report(s)."},license_management:{$ref:"#/definitions/string_file_list",description:"Deprecated in 12.8: Path to file or list of files with license report(s)."},license_scanning:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with license report(s)."},requirements:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with requirements report(s)."},secret_detection:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with secret detection report(s)."},metrics:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with custom metrics report(s)."},terraform:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with terraform plan(s)."},cyclonedx:{$ref:"#/definitions/string_file_list",markdownDescription:"Path to file or list of files with cyclonedx report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportscyclonedx)."},load_performance:{$ref:"#/definitions/string_file_list",markdownDescription:"Path to file or list of files with load performance testing report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportsload_performance)."},repository_xray:{$ref:"#/definitions/string_file_list",description:"Path to file or list of files with Repository X-Ray report(s)."}}}}},string_file_list:{oneOf:[{type:"string"},{type:"array",items:{type:"string"}}]},baseInput:{type:"object",properties:{type:{type:"string",markdownDescription:"Input type. Defaults to 'string' when not specified.",enum:["array","boolean","number","string"],default:"string"},description:{type:"string",markdownDescription:"Human-readable explanation of the parameter.",maxLength:1024},options:{type:"array",markdownDescription:"List of allowed values for this input.",items:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"}]}},regex:{type:"string",markdownDescription:"Regular expression that string values must match."},default:{markdownDescription:"Default value for this input."}}},configInputs:{type:"object",markdownDescription:"Define input parameters for reusable CI/CD configuration. Config inputs can optionally specify defaults. [Learn More](https://docs.gitlab.com/ci/inputs/).",patternProperties:{".*":{oneOf:[{allOf:[{$ref:"#/definitions/baseInput"},{properties:{rules:{type:"array",markdownDescription:"Conditional rules for this input.",items:{type:"object"}}}},{allOf:[{if:{properties:{type:{enum:["string"]}}},then:{properties:{default:{type:["string","null"]}}}},{if:{properties:{type:{enum:["number"]}}},then:{properties:{default:{type:["number","null"]}}}},{if:{properties:{type:{enum:["boolean"]}}},then:{properties:{default:{type:["boolean","null"]}}}},{if:{properties:{type:{enum:["array"]}}},then:{properties:{default:{oneOf:[{type:"array"},{type:"null"}]}}}}]}]},{type:"null"}]}}},jobInputs:{type:"object",markdownDescription:"Define input parameters for a job. Job inputs must always include a `default` value. [Learn More](https://docs.gitlab.com/ci/yaml/#inputs).",maxProperties:50,patternProperties:{".*":{allOf:[{$ref:"#/definitions/baseInput"},{required:["default"]},{allOf:[{if:{properties:{type:{enum:["string"]}}},then:{properties:{default:{type:"string"}}}},{if:{properties:{type:{enum:["number"]}}},then:{properties:{default:{type:"number"}}}},{if:{properties:{type:{enum:["boolean"]}}},then:{properties:{default:{type:"boolean"}}}},{if:{properties:{type:{enum:["array"]}}},then:{properties:{default:{type:"array"}}}}]}]}}},include_item:{oneOf:[{description:"Will infer the method based on the value. E.g. `https://...` strings will be of type `include:remote`, and `/templates/...` or `templates/...` will be of type `include:local`.",type:"string",format:"uri-reference",pattern:"\\w\\.ya?ml$",anyOf:[{pattern:"^https?://"},{not:{pattern:"^\\w+://"}}]},{type:"object",additionalProperties:!1,properties:{local:{description:"Relative path from local repository root (`/`) to the `yaml`/`yml` file template. The file must be on the same branch, and does not work across git submodules.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},rules:{$ref:"#/definitions/includeRules"},inputs:{$ref:"#/definitions/inputs"}},required:["local"]},{type:"object",additionalProperties:!1,properties:{project:{description:"Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ci/yaml/#includeproject).",type:"string",pattern:"(?:\\S/\\S|\\$\\S+)"},ref:{description:"Branch/Tag/Commit-hash for the target project.",type:"string"},file:{oneOf:[{description:"Relative path from project root (`/`) to the `yaml`/`yml` file template.",type:"string",pattern:"\\.ya?ml$"},{description:"List of files by relative path from project root (`/`) to the `yaml`/`yml` file template.",type:"array",items:{type:"string",pattern:"\\.ya?ml$"}}]},rules:{$ref:"#/definitions/includeRules"},inputs:{$ref:"#/definitions/inputs"}},required:["project","file"]},{type:"object",additionalProperties:!1,properties:{template:{description:"Use a `.gitlab-ci.yml` template as a base, e.g. `Nodejs.gitlab-ci.yml`.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},rules:{$ref:"#/definitions/includeRules"},inputs:{$ref:"#/definitions/inputs"}},required:["template"]},{type:"object",additionalProperties:!1,properties:{component:{description:"Local path to component directory or full path to external component directory.",type:"string",format:"uri-reference"},rules:{$ref:"#/definitions/includeRules"},inputs:{$ref:"#/definitions/inputs"}},required:["component"]},{type:"object",additionalProperties:!1,properties:{remote:{description:"URL to a `yaml`/`yml` template file using HTTP/HTTPS.",type:"string",format:"uri-reference",pattern:"^https?://.+\\.ya?ml$"},integrity:{description:"SHA256 integrity hash of the remote file content.",type:"string",pattern:"^sha256-[A-Za-z0-9+/]{43}=$"},rules:{$ref:"#/definitions/includeRules"},inputs:{$ref:"#/definitions/inputs"}},required:["remote"]}]},"!reference":{type:"array",items:{type:"string",minLength:1}},image:{oneOf:[{type:"string",minLength:1,description:"Full name of the image that should be used. It should contain the Registry part if needed."},{type:"object",description:"Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of GitLab runner executor.",additionalProperties:!1,properties:{name:{type:"string",minLength:1,description:"Full name of the image that should be used. It should contain the Registry part if needed."},entrypoint:{type:"array",description:"Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array.",minItems:1},docker:{type:"object",markdownDescription:"Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagedocker)",additionalProperties:!1,properties:{platform:{type:"string",minLength:1,description:"Image architecture to pull."},user:{type:"string",minLength:1,maxLength:255,description:"Username or UID to use for the container."}}},kubernetes:{type:"object",markdownDescription:"Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)",additionalProperties:!1,properties:{user:{type:["string","integer"],minLength:1,maxLength:255,description:"Username or UID to use for the container. It also supports the UID:GID format."}}},pull_policy:{markdownDescription:"Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#imagepull_policy).",default:"always",oneOf:[{type:"string",enum:["always","never","if-not-present"]},{type:"array",items:{type:"string",enum:["always","never","if-not-present"]},minItems:1,uniqueItems:!0}]}},required:["name"]}],markdownDescription:"Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of GitLab runner executor. [Learn More](https://docs.gitlab.com/ci/yaml/#image)."},services:{type:"array",markdownDescription:"Similar to `image` property, but will link the specified services to the `image` container. [Learn More](https://docs.gitlab.com/ci/yaml/#services).",items:{oneOf:[{type:"string",minLength:1,description:"Full name of the image that should be used. It should contain the Registry part if needed."},{type:"object",description:"",additionalProperties:!1,properties:{name:{type:"string",description:"Full name of the image that should be used. It should contain the Registry part if needed.",minLength:1},entrypoint:{type:"array",markdownDescription:"Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ci/services/#available-settings-for-services)",minItems:1,items:{type:"string"}},docker:{type:"object",markdownDescription:"Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#servicesdocker)",additionalProperties:!1,properties:{platform:{type:"string",minLength:1,description:"Image architecture to pull."},user:{type:"string",minLength:1,maxLength:255,description:"Username or UID to use for the container."}}},kubernetes:{type:"object",markdownDescription:"Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)",additionalProperties:!1,properties:{user:{type:["string","integer"],minLength:1,maxLength:255,description:"Username or UID to use for the container. It also supports the UID:GID format."}}},pull_policy:{markdownDescription:"Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#servicespull_policy).",default:"always",oneOf:[{type:"string",enum:["always","never","if-not-present"]},{type:"array",items:{type:"string",enum:["always","never","if-not-present"]},minItems:1,uniqueItems:!0}]},command:{markdownDescription:"Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ci/services/#available-settings-for-services)",$ref:"#/definitions/script"},alias:{type:"string",markdownDescription:"Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ci/services/#available-settings-for-services)",minLength:1},variables:{$ref:"#/definitions/jobVariables",markdownDescription:"Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ci/services/#available-settings-for-services)"}},required:["name"]}]}},id_tokens:{type:"object",markdownDescription:"Defines JWTs to be injected as environment variables.",patternProperties:{".*":{type:"object",properties:{aud:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}]}},required:["aud"],additionalProperties:!1}}},identity:{type:"string",markdownDescription:"Sets a workload identity (experimental), allowing automatic authentication with the external system. [Learn More](https://docs.gitlab.com/ci/yaml/#identity).",enum:["google_cloud"]},secrets:{type:"object",markdownDescription:"Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ci/yaml/#secrets).",patternProperties:{".*":{type:"object",properties:{vault:{oneOf:[{type:"string",markdownDescription:"The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ci/yaml/#secretsvault)"},{type:"object",properties:{engine:{type:"object",properties:{name:{type:"string"},path:{type:"string"}},required:["name","path"]},path:{type:"string"},field:{type:"string"}},required:["engine","path","field"],additionalProperties:!1}]},gcp_secret_manager:{type:"object",markdownDescription:"Defines the secret version to be fetched from GCP Secret Manager. Name refers to the secret name in GCP secret manager. Version refers to the desired secret version (defaults to 'latest').",properties:{name:{type:"string"},version:{oneOf:[{type:"string"},{type:"integer"}],default:"version"}},required:["name"],additionalProperties:!1},azure_key_vault:{type:"object",properties:{name:{type:"string"},version:{type:"string"}},required:["name"],additionalProperties:!1},aws_secrets_manager:{oneOf:[{type:"string",description:"The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN."},{type:"object",markdownDescription:"Defines the secret to be fetched from AWS Secrets Manager. The secret_id refers to the ARN or name of the secret in AWS Secrets Manager. Version_id and version_stage are optional parameters that can be used to specify a specific version of the secret, else AWSCURRENT version will be returned.",properties:{secret_id:{type:"string",description:"The ARN or name of the secret to retrieve. To retrieve a secret from another account, you must use an ARN."},version_id:{type:"string",description:"The unique identifier of the version of the secret to retrieve. If you include both this parameter and VersionStage, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, Secrets Manager returns the AWSCURRENT version."},version_stage:{type:"string",description:"The staging label of the version of the secret to retrieve. If you include both this parameter and VersionStage, the two parameters must refer to the same secret version. If you don't specify either a VersionStage or VersionId, Secrets Manager returns the AWSCURRENT version."},region:{type:"string",description:"The AWS region where the secret is stored. Use this to override the region for a specific secret. Defaults to AWS_REGION variable."},role_arn:{type:"string",description:"The ARN of the IAM role to assume before retrieving the secret. Use this to override the ARN. Defaults to AWS_ROLE_ARN variable."},role_session_name:{type:"string",description:"The name of the session to use when assuming the role. Use this to override the session name. Defaults to AWS_ROLE_SESSION_NAME variable."},field:{type:"string",description:"The name of the field to retrieve from the secret. If not specified, the entire secret is retrieved."}},required:["secret_id"],additionalProperties:!1}]},gitlab_secrets_manager:{type:"object",properties:{name:{type:"string"},source:{type:"string",description:"Source of the secret. Defaults to the current project if not given. For fetching a secret from a group, provide group/<full_path_of_the_group>"}},required:["name"],additionalProperties:!1},file:{type:"boolean",default:!0,markdownDescription:"Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ci/yaml/#secretsfile)"},token:{type:"string",description:"Specifies the JWT variable that should be used to authenticate with the secret provider."}},anyOf:[{required:["vault"]},{required:["azure_key_vault"]},{required:["gcp_secret_manager"]},{required:["aws_secrets_manager"]},{required:["gitlab_secrets_manager"]}],dependencies:{gcp_secret_manager:["token"]},additionalProperties:!1}}},script:{oneOf:[{type:"string",minLength:1},{type:"array",items:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]},minItems:1}]},steps:{type:"array",items:{$ref:"#/definitions/step"}},optional_script:{oneOf:[{type:"string"},{type:"array",items:{anyOf:[{type:"string"},{type:"array",items:{type:"string"}}]}}]},before_script:{$ref:"#/definitions/optional_script",markdownDescription:"Defines scripts that should run *before* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#before_script)."},after_script:{$ref:"#/definitions/optional_script",markdownDescription:"Defines scripts that should run *after* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#after_script)."},rules:{type:["array","null"],markdownDescription:"Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rules).",items:{anyOf:[{type:"object",additionalProperties:!1,properties:{if:{$ref:"#/definitions/if"},changes:{$ref:"#/definitions/changes"},exists:{$ref:"#/definitions/exists"},variables:{$ref:"#/definitions/rulesVariables"},when:{$ref:"#/definitions/when"},start_in:{$ref:"#/definitions/start_in"},allow_failure:{$ref:"#/definitions/allow_failure"},needs:{$ref:"#/definitions/rulesNeeds"},interruptible:{$ref:"#/definitions/interruptible"}}},{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string"}}]}},includeRules:{type:["array","null"],markdownDescription:"You can use rules to conditionally include other configuration files. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#use-rules-with-include).",items:{anyOf:[{type:"object",additionalProperties:!1,properties:{if:{$ref:"#/definitions/if"},changes:{$ref:"#/definitions/changes"},exists:{$ref:"#/definitions/exists"},when:{markdownDescription:"Use `when: never` to exclude the configuration file if the condition matches. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#include-with-rulesif).",oneOf:[{type:"string",enum:["never","always"]},{type:"null"}]}}},{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string"}}]}},workflowName:{type:"string",markdownDescription:"Defines the pipeline name. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowname).",minLength:1,maxLength:255},workflowAutoCancel:{type:"object",description:"Define the rules for when pipeline should be automatically cancelled.",additionalProperties:!1,properties:{on_job_failure:{markdownDescription:"Define which jobs to stop after a job fails.",default:"none",type:"string",enum:["none","all"]},on_new_commit:{markdownDescription:"Configure the behavior of the auto-cancel redundant pipelines feature. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowauto_cancelon_new_commit)",type:"string",enum:["conservative","interruptible","none"]}}},globalVariables:{markdownDescription:"Defines default variables for all jobs. Job level property overrides global variables. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).",type:"object",patternProperties:{".*":{oneOf:[{type:["boolean","number","string"]},{type:"object",properties:{value:{type:"string",markdownDescription:"Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesvalue)"},options:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0,markdownDescription:"A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesoptions)"},description:{type:"string",markdownDescription:"Explains what the variable is used for, what the acceptable values are. Variables with `description` are prefilled when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesdescription)."},expand:{type:"boolean",markdownDescription:"If the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."}},additionalProperties:!1}]}}},jobVariables:{markdownDescription:"Defines variables for a job. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).",type:"object",patternProperties:{".*":{oneOf:[{type:["boolean","number","string"]},{type:"object",properties:{value:{type:"string"},expand:{type:"boolean",markdownDescription:"Defines if the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."}},additionalProperties:!1}]}}},rulesVariables:{markdownDescription:"Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesvariables).",type:"object",patternProperties:{".*":{type:["boolean","number","string"]}}},if:{type:"string",markdownDescription:"Expression to evaluate whether additional attributes should be provided to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesif)."},changes:{markdownDescription:"Additional attributes will be provided to job if any of the provided paths matches a modified file. [Learn More](https://docs.gitlab.com/ci/yaml/#ruleschanges).",anyOf:[{type:"object",additionalProperties:!1,required:["paths"],properties:{paths:{type:"array",description:"List of file paths.",items:{type:"string"}},compare_to:{type:"string",description:"Ref for comparing changes."}}},{type:"array",items:{type:"string"}}]},exists:{markdownDescription:"Additional attributes will be provided to job if any of the provided paths matches an existing file in the repository. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesexists).",anyOf:[{type:"array",items:{type:"string"}},{type:"object",additionalProperties:!1,required:["paths"],properties:{paths:{type:"array",description:"List of file paths.",items:{type:"string"}},project:{type:"string",description:"Path of the project to search in."}}},{type:"object",additionalProperties:!1,required:["paths","project"],properties:{paths:{type:"array",description:"List of file paths.",items:{type:"string"}},project:{type:"string",description:"Path of the project to search in."},ref:{type:"string",description:"Ref of the project to search in."}}}]},timeout:{type:"string",markdownDescription:"Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ci/yaml/#timeout).",minLength:1},start_in:{type:"string",markdownDescription:"Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#run-a-job-after-a-delay).",minLength:1},rulesNeeds:{markdownDescription:"Use needs in rules to update job needs for specific conditions. When a condition matches a rule, the job's needs configuration is completely replaced with the needs in the rule. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesneeds).",type:"array",items:{oneOf:[{type:"string"},{type:"object",additionalProperties:!1,properties:{job:{type:"string",minLength:1,description:"Name of a job that is defined in the pipeline."},artifacts:{type:"boolean",description:"Download artifacts of the job in needs."},optional:{type:"boolean",description:"Whether the job needs to be present in the pipeline to run ahead of the current job."}},required:["job"]}]}},allow_failure:{markdownDescription:"Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ci/yaml/#allow_failure).",oneOf:[{description:"Setting this option to true will allow the job to fail while still letting the pipeline pass.",type:"boolean",default:!1},{description:"Exit code that are not considered failure. The job fails for any other exit code.",type:"object",additionalProperties:!1,required:["exit_codes"],properties:{exit_codes:{type:"integer"}}},{description:"You can list which exit codes are not considered failures. The job fails for any other exit code.",type:"object",additionalProperties:!1,required:["exit_codes"],properties:{exit_codes:{type:"array",minItems:1,uniqueItems:!0,items:{type:"integer"}}}}]},parallel:{description:"Splits up a single job into multiple that run in parallel. Provides `CI_NODE_INDEX` and `CI_NODE_TOTAL` environment variables to the jobs.",oneOf:[{type:"integer",description:"Creates N instances of the job that run in parallel.",default:0,minimum:1,maximum:200},{type:"object",properties:{matrix:{type:"array",description:"Defines different variables for jobs that are running in parallel.",items:{type:"object",description:"Defines the variables for a specific job.",additionalProperties:{type:["string","number","array"]}},maxItems:200}},additionalProperties:!1,required:["matrix"]}]},parallel_matrix:{description:"Use the `needs:parallel:matrix` keyword to specify parallelized jobs needed to be completed for the job to run. [Learn More](https://docs.gitlab.com/ci/yaml/#needsparallelmatrix)",oneOf:[{type:"object",properties:{matrix:{type:"array",description:"Defines different variables for jobs that are running in parallel.",items:{type:"object",description:"Defines the variables for a specific job.",additionalProperties:{type:["string","number","array"]}},maxItems:200}},additionalProperties:!1,required:["matrix"]}]},when:{markdownDescription:"Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ci/yaml/#when).",default:"on_success",type:"string",enum:["on_success","on_failure","always","never","manual","delayed"]},cache:{markdownDescription:"Use `cache` to specify a list of files and directories to cache between jobs. You can only use paths that are in the local working copy. [Learn More](https://docs.gitlab.com/ci/yaml/#cache)",oneOf:[{$ref:"#/definitions/cache_item"},{type:"array",items:{$ref:"#/definitions/cache_item"}}]},cache_item:{type:"object",properties:{key:{markdownDescription:"Use the `cache:key` keyword to give each cache a unique identifying key. All jobs that use the same cache key use the same cache, including in different pipelines. Must be used with `cache:path`, or nothing is cached. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekey).",oneOf:[{type:"string",pattern:"^[^/]*[^./][^/]*$"},{type:"object",properties:{files:{markdownDescription:"Use the `cache:key:files` keyword to generate a new cache key when specified file content changes. Cache keys remain stable across branches with identical file content. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyfiles)",type:"array",items:{type:"string"},minItems:1,maxItems:2},files_commits:{markdownDescription:"Use the `cache:key:files_commits` keyword to generate a new cache key when the latest commit changes for the specified files. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyfiles_commits)",type:"array",items:{type:"string"},minItems:1,maxItems:2},prefix:{markdownDescription:"Use `cache:key:prefix` to combine a prefix with the SHA computed for `cache:key:files` or `cache:key:files_commits`. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyprefix)",type:"string"}}}]},paths:{type:"array",markdownDescription:"Use the `cache:paths` keyword to choose which files or directories to cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepaths)",items:{type:"string"}},policy:{type:"string",markdownDescription:"Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepolicy)",default:"pull-push",pattern:"pull-push|pull|push|\\$\\w{1,255}"},unprotect:{type:"boolean",markdownDescription:"Use `unprotect: true` to set a cache to be shared between protected and unprotected branches.",default:!1},untracked:{type:"boolean",markdownDescription:"Use `untracked: true` to cache all files that are untracked in your Git repository. [Learn More](https://docs.gitlab.com/ci/yaml/#cacheuntracked)",default:!1},when:{type:"string",markdownDescription:"Defines when to save the cache, based on the status of the job. [Learn More](https://docs.gitlab.com/ci/yaml/#cachewhen).",default:"on_success",enum:["on_success","on_failure","always"]},fallback_keys:{type:"array",markdownDescription:"List of keys to download cache from if no cache hit occurred for key",items:{type:"string"},maxItems:5}}},filter_refs:{type:"array",description:"Filter job by different keywords that determine origin or state, or by supplying string/regex to check against branch/tag names.",items:{anyOf:[{oneOf:[{enum:["branches"],description:"When a branch is pushed."},{enum:["tags"],description:"When a tag is pushed."},{enum:["api"],description:"When a pipeline has been triggered by a second pipelines API (not triggers API)."},{enum:["external"],description:"When using CI services other than GitLab"},{enum:["pipelines"],description:"For multi-project triggers, created using the API with 'CI_JOB_TOKEN'."},{enum:["pushes"],description:"Pipeline is triggered by a `git push` by the user"},{enum:["schedules"],description:"For scheduled pipelines."},{enum:["triggers"],description:"For pipelines created using a trigger token."},{enum:["web"],description:"For pipelines created using *Run pipeline* button in GitLab UI (under your project's *Pipelines*)."}]},{type:"string",description:"String or regular expression to match against tag or branch names."}]}},filter:{oneOf:[{type:"null"},{$ref:"#/definitions/filter_refs"},{type:"object",additionalProperties:!1,properties:{refs:{$ref:"#/definitions/filter_refs"},kubernetes:{enum:["active"],description:"Filter job based on if Kubernetes integration is active."},variables:{type:"array",markdownDescription:"Filter job by checking comparing values of CI/CD variables. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#cicd-variable-expressions).",items:{type:"string"}},changes:{type:"array",description:"Filter job creation based on files that were modified in a git push.",items:{type:"string"}}}}]},retry:{markdownDescription:"Retry a job if it fails. Can be a simple integer or object definition. [Learn More](https://docs.gitlab.com/ci/yaml/#retry).",oneOf:[{$ref:"#/definitions/retry_max"},{type:"object",additionalProperties:!1,properties:{max:{$ref:"#/definitions/retry_max"},when:{markdownDescription:"Either a single or array of error types to trigger job retry. [Learn More](https://docs.gitlab.com/ci/yaml/#retrywhen).",oneOf:[{$ref:"#/definitions/retry_errors"},{type:"array",items:{$ref:"#/definitions/retry_errors"}}]},exit_codes:{markdownDescription:"Either a single or array of exit codes to trigger job retry on. [Learn More](https://docs.gitlab.com/ci/yaml/#retryexit_codes).",oneOf:[{description:"Retry when the job exit code is included in the array's values.",type:"array",minItems:1,uniqueItems:!0,items:{type:"integer"}},{description:"Retry when the job exit code is equal to.",type:"integer"}]}}}]},retry_max:{type:"integer",description:"The number of times the job will be retried if it fails. Defaults to 0 and can max be retried 2 times (3 times total).",default:0,minimum:0,maximum:2},retry_errors:{oneOf:[{const:"always",description:"Retry on any failure (default)."},{const:"unknown_failure",description:"Retry when the failure reason is unknown."},{const:"script_failure",description:"Retry when the script failed."},{const:"api_failure",description:"Retry on API failure."},{const:"stuck_or_timeout_failure",description:"Retry when the job got stuck or timed out."},{const:"runner_system_failure",description:"Retry if there is a runner system failure (for example, job setup failed)."},{const:"runner_unsupported",description:"Retry if the runner is unsupported."},{const:"stale_schedule",description:"Retry if a delayed job could not be executed."},{const:"job_execution_timeout",description:"Retry if the script exceeded the maximum execution time set for the job."},{const:"archived_failure",description:"Retry if the job is archived and can’t be run."},{const:"unmet_prerequisites",description:"Retry if the job failed to complete prerequisite tasks."},{const:"scheduler_failure",description:"Retry if the scheduler failed to assign the job to a runner."},{const:"data_integrity_failure",description:"Retry if there is an unknown job problem."}]},interruptible:{type:"boolean",markdownDescription:"Interruptible is used to indicate that a job should be canceled if made redundant by a newer pipeline run. [Learn More](https://docs.gitlab.com/ci/yaml/#interruptible).",default:!1},inputs:{markdownDescription:"Used to pass input values to included templates, components, downstream pipelines, or child pipelines. [Learn More](https://docs.gitlab.com/ci/inputs/).",type:"object",patternProperties:{"^[a-zA-Z0-9_-]+$":{description:"Input parameter value that matches parameter names defined in spec:inputs of the included configuration.",oneOf:[{type:"string",maxLength:1024},{type:"number"},{type:"boolean"},{type:"array",items:{oneOf:[{type:"string"},{type:"number"},{type:"boolean"},{type:"object",additionalProperties:!0},{type:"array",items:{additionalProperties:!0}}]}},{type:"object",additionalProperties:!0},{type:"null"}]}},additionalProperties:!1},job:{allOf:[{$ref:"#/definitions/job_template"}]},job_template:{type:"object",additionalProperties:!1,properties:{image:{$ref:"#/definitions/image"},services:{$ref:"#/definitions/services"},before_script:{$ref:"#/definitions/before_script"},after_script:{$ref:"#/definitions/after_script"},hooks:{$ref:"#/definitions/hooks"},rules:{$ref:"#/definitions/rules"},variables:{$ref:"#/definitions/jobVariables"},cache:{$ref:"#/definitions/cache"},id_tokens:{$ref:"#/definitions/id_tokens"},identity:{$ref:"#/definitions/identity"},inputs:{$ref:"#/definitions/jobInputs"},secrets:{$ref:"#/definitions/secrets"},script:{$ref:"#/definitions/script",markdownDescription:"Shell scripts executed by the Runner. The only required property of jobs. Be careful with special characters (e.g. `:`, `{`, `}`, `&`) and use single or double quotes to avoid issues. [Learn More](https://docs.gitlab.com/ci/yaml/#script)"},run:{$ref:"#/definitions/steps",markdownDescription:"Specifies a list of steps to execute in the job. The `run` keyword is an alternative to `script` and allows for more advanced job configuration. Each step is an object that defines a single task or command. Use either `run` or `script` in a job, but not both, otherwise the pipeline will error out."},stage:{description:"Define what stage the job will run in.",anyOf:[{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string"}}]},only:{$ref:"#/definitions/filter",description:"Job will run *only* when these filtering options match."},extends:{description:"The name of one or more jobs to inherit configuration from.",oneOf:[{type:"string"},{type:"array",items:{type:"string"},minItems:1}]},needs:{description:"The list of jobs in previous stages whose sole completion is needed to start the current job.",type:"array",items:{oneOf:[{type:"string"},{type:"object",additionalProperties:!1,properties:{job:{type:"string"},artifacts:{type:"boolean"},optional:{type:"boolean"},parallel:{$ref:"#/definitions/parallel_matrix"}},required:["job"]},{type:"object",additionalProperties:!1,properties:{pipeline:{type:"string"},job:{type:"string"},artifacts:{type:"boolean"},parallel:{$ref:"#/definitions/parallel_matrix"}},required:["job","pipeline"]},{type:"object",additionalProperties:!1,properties:{job:{type:"string"},project:{type:"string"},ref:{type:"string"},artifacts:{type:"boolean"},parallel:{$ref:"#/definitions/parallel_matrix"}},required:["job","project","ref"]},{$ref:"#/definitions/!reference"}]}},except:{$ref:"#/definitions/filter",description:"Job will run *except* for when these filtering options match."},tags:{$ref:"#/definitions/tags"},allow_failure:{$ref:"#/definitions/allow_failure"},timeout:{$ref:"#/definitions/timeout"},when:{$ref:"#/definitions/when"},start_in:{$ref:"#/definitions/start_in"},manual_confirmation:{markdownDescription:"Describes the Custom confirmation message for a manual job [Learn More](https://docs.gitlab.com/ci/yaml/#when).",type:"string"},dependencies:{type:"array",description:"Specify a list of job names from earlier stages from which artifacts should be loaded. By default, all previous artifacts are passed. Use an empty array to skip downloading artifacts.",items:{type:"string"}},artifacts:{$ref:"#/definitions/artifacts"},environment:{description:"Used to associate environment metadata with a deploy. Environment can have a name and URL attached to it, and will be displayed under /environments under the project.",oneOf:[{type:"string"},{type:"object",additionalProperties:!1,properties:{name:{type:"string",description:"The name of the environment, e.g. 'qa', 'staging', 'production'.",minLength:1},url:{type:"string",description:"When set, this will expose buttons in various places for the current environment in GitLab, that will take you to the defined URL.",format:"uri",pattern:"^(https?://.+|\\$[A-Za-z]+)"},on_stop:{type:"string",description:"The name of a job to execute when the environment is about to be stopped."},action:{enum:["start","prepare","stop","verify","access"],description:"Specifies what this job will do. 'start' (default) indicates the job will start the deployment. 'prepare'/'verify'/'access' indicates this will not affect the deployment. 'stop' indicates this will stop the deployment.",default:"start"},auto_stop_in:{type:"string",description:"The amount of time it should take before GitLab will automatically stop the environment. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'."},kubernetes:{type:"object",description:"Used to configure the kubernetes deployment for this environment. This is currently not supported for kubernetes clusters that are managed by GitLab.",properties:{agent:{type:"string",description:"Specifies the GitLab Agent for Kubernetes. The format is `path/to/agent/project:agent-name`."},namespace:{type:"string",description:"Deprecated. Use `dashboard.namespace` instead. The kubernetes namespace where this environment's dashboard should be deployed to.",minLength:1},flux_resource_path:{type:"string",description:"Deprecated. Use `dashboard.flux_resource_path` instead. The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'."},managed_resources:{type:"object",description:"Used to configure the managed resources for this environment.",properties:{enabled:{type:"boolean",description:"Indicates whether the managed resources are enabled for this environment.",default:!0}}},dashboard:{type:"object",description:"Used to configure the dashboard for this environment.",properties:{namespace:{type:"string",description:"The kubernetes namespace where the dashboard for this environment should be deployed to.",minLength:1},flux_resource_path:{type:"string",description:"The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'."}}}}},deployment_tier:{type:"string",description:"Explicitly specifies the tier of the deployment environment if non-standard environment name is used."}},required:["name"]}]},release:{type:"object",description:"Indicates that the job creates a Release.",additionalProperties:!1,properties:{tag_name:{type:"string",description:"The tag_name must be specified. It can refer to an existing Git tag or can be specified by the user.",minLength:1},tag_message:{type:"string",description:"Message to use if creating a new annotated tag."},description:{type:"string",description:"Specifies the longer description of the Release.",minLength:1},name:{type:"string",description:"The Release name. If omitted, it is populated with the value of release: tag_name."},ref:{type:"string",description:"If the release: tag_name doesn’t exist yet, the release is created from ref. ref can be a commit SHA, another tag name, or a branch name."},milestones:{type:"array",description:"The title of each milestone the release is associated with.",items:{type:"string"}},released_at:{type:"string",description:"The date and time when the release is ready. Defaults to the current date and time if not defined. Should be enclosed in quotes and expressed in ISO 8601 format.",format:"date-time",pattern:"^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:Z|[+-][01]\\d:[0-5]\\d)$"},assets:{type:"object",additionalProperties:!1,properties:{links:{type:"array",description:"Include asset links in the release.",items:{type:"object",additionalProperties:!1,properties:{name:{type:"string",description:"The name of the link.",minLength:1},url:{type:"string",description:"The URL to download a file.",minLength:1},filepath:{type:"string",description:"The redirect link to the url."},link_type:{type:"string",description:"The content kind of what users can download via url.",enum:["runbook","package","image","other"]}},required:["name","url"]},minItems:1}},required:["links"]}},required:["tag_name","description"]},coverage:{type:"string",description:"Must be a regular expression, optionally but recommended to be quoted, and must be surrounded with '/'. Example: '/Code coverage: \\d+\\.\\d+/'",format:"regex",pattern:"^/.+/$"},retry:{$ref:"#/definitions/retry"},parallel:{$ref:"#/definitions/parallel"},interruptible:{$ref:"#/definitions/interruptible"},resource_group:{type:"string",description:"Limit job concurrency. Can be used to ensure that the Runner will not run certain jobs simultaneously."},trigger:{markdownDescription:"Trigger allows you to define downstream pipeline trigger. When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. [Learn More](https://docs.gitlab.com/ci/yaml/#trigger).",oneOf:[{type:"object",markdownDescription:"Trigger a multi-project pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#multi-project-pipelines).",additionalProperties:!1,properties:{project:{description:"Path to the project, e.g. `group/project`, or `group/sub-group/project`.",type:"string",pattern:"(?:\\S/\\S|\\$\\S+)"},branch:{description:"The branch name that a downstream pipeline will use",type:"string"},strategy:{description:"You can mirror or depend on the pipeline status from the triggered pipeline to the source bridge job by using strategy: `depend` or `mirror`",type:"string",enum:["depend","mirror"]},inputs:{$ref:"#/definitions/inputs"},forward:{description:"Specify what to forward to the downstream pipeline.",type:"object",additionalProperties:!1,properties:{yaml_variables:{type:"boolean",description:"Variables defined in the trigger job are passed to downstream pipelines.",default:!0},pipeline_variables:{type:"boolean",description:"Variables added for manual pipeline runs and scheduled pipelines are passed to downstream pipelines.",default:!1}}}},required:["project"],dependencies:{branch:["project"]}},{type:"object",description:"Trigger a child pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#parent-child-pipelines).",additionalProperties:!1,properties:{include:{oneOf:[{description:"Relative path from local repository root (`/`) to the local YAML file to define the pipeline configuration.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},{type:"array",description:"References a local file or an artifact from another job to define the pipeline configuration.",maxItems:3,items:{oneOf:[{type:"object",additionalProperties:!1,properties:{local:{description:"Relative path from local repository root (`/`) to the local YAML file to define the pipeline configuration.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},inputs:{$ref:"#/definitions/inputs"}},required:["local"]},{type:"object",additionalProperties:!1,properties:{template:{description:"Name of the template YAML file to use in the pipeline configuration.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},inputs:{$ref:"#/definitions/inputs"}},required:["template"]},{type:"object",additionalProperties:!1,properties:{artifact:{description:"Relative path to the generated YAML file which is extracted from the artifacts and used as the configuration for triggering the child pipeline.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},job:{description:"Job name which generates the artifact",type:"string"},inputs:{$ref:"#/definitions/inputs"}},required:["artifact","job"]},{type:"object",additionalProperties:!1,properties:{project:{description:"Path to another private project under the same GitLab instance, like `group/project` or `group/sub-group/project`.",type:"string",pattern:"(?:\\S/\\S|\\$\\S+)"},ref:{description:"Branch/Tag/Commit hash for the target project.",minLength:1,type:"string"},file:{description:"Relative path from repository root (`/`) to the pipeline configuration YAML file.",type:"string",format:"uri-reference",pattern:"\\.ya?ml$"},inputs:{$ref:"#/definitions/inputs"}},required:["project","file"]},{type:"object",additionalProperties:!1,properties:{component:{description:"Local path to component directory or full path to external component directory.",type:"string",format:"uri-reference"},inputs:{$ref:"#/definitions/inputs"}},required:["component"]},{type:"object",additionalProperties:!1,properties:{remote:{description:"URL to a `yaml`/`yml` template file using HTTP/HTTPS.",type:"string",format:"uri-reference",pattern:"^https?://.+\\.ya?ml$"},inputs:{$ref:"#/definitions/inputs"}},required:["remote"]}]}}]},strategy:{description:"You can mirror or depend on the pipeline status from the triggered pipeline to the source bridge job by using strategy: `depend` or `mirror`",type:"string",enum:["depend","mirror"]},forward:{description:"Specify what to forward to the downstream pipeline.",type:"object",additionalProperties:!1,properties:{yaml_variables:{type:"boolean",description:"Variables defined in the trigger job are passed to downstream pipelines.",default:!0},pipeline_variables:{type:"boolean",description:"Variables added for manual pipeline runs and scheduled pipelines are passed to downstream pipelines.",default:!1}}}}},{markdownDescription:"Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ci/yaml/#trigger).",type:"string",pattern:"(?:\\S/\\S|\\$\\S+)"}]},inherit:{type:"object",markdownDescription:"Controls inheritance of globally-defined defaults and variables. Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited. [Learn More](https://docs.gitlab.com/ci/yaml/#inherit).",properties:{default:{markdownDescription:"Whether to inherit all globally-defined defaults or not. Or subset of inherited defaults. [Learn more](https://docs.gitlab.com/ci/yaml/#inheritdefault).",oneOf:[{type:"boolean"},{type:"array",items:{type:"string",enum:["after_script","artifacts","before_script","cache","image","interruptible","retry","services","tags","timeout"]}}]},variables:{markdownDescription:"Whether to inherit all globally-defined variables or not. Or subset of inherited variables. [Learn More](https://docs.gitlab.com/ci/yaml/#inheritvariables).",oneOf:[{type:"boolean"},{type:"array",items:{type:"string"}}]}},additionalProperties:!1},publish:{description:"Deprecated. Use `pages.publish` instead. A path to a directory that contains the files to be published with Pages.",type:"string"},pages:{oneOf:[{type:"object",additionalProperties:!1,properties:{path_prefix:{type:"string",markdownDescription:"The GitLab Pages URL path prefix used in this version of pages. The given value is converted to lowercase, shortened to 63 bytes, and everything except alphanumeric characters is replaced with a hyphen. Leading and trailing hyphens are not permitted."},expire_in:{type:"string",markdownDescription:"How long the deployment should be active. Deployments that have expired are no longer available on the web. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. Set to 'never' to prevent extra deployments from expiring. [Learn More](https://docs.gitlab.com/ci/yaml/#pagesexpire_in)."},publish:{type:"string",markdownDescription:"A path to a directory that contains the files to be published with Pages."}}},{type:"boolean",markdownDescription:"Whether this job should trigger a Pages deploy (Replaces the need to name the job `pages`)",default:!1}]}},oneOf:[{properties:{when:{enum:["delayed"]}},required:["when","start_in"]},{properties:{when:{not:{enum:["delayed"]}}}}]},tags:{type:"array",minItems:1,markdownDescription:"Used to select runners from the list of available runners. A runner must have all tags listed here to run the job. [Learn More](https://docs.gitlab.com/ci/yaml/#tags).",items:{anyOf:[{type:"string",minLength:1},{type:"array",minItems:1,items:{type:"string"}}]}},hooks:{type:"object",markdownDescription:"Specifies lists of commands to execute on the runner at certain stages of job execution. [Learn More](https://docs.gitlab.com/ci/yaml/#hooks).",properties:{pre_get_sources_script:{$ref:"#/definitions/optional_script",markdownDescription:"Specifies a list of commands to execute on the runner before updating the Git repository and any submodules. [Learn More](https://docs.gitlab.com/ci/yaml/#hookspre_get_sources_script)."}},additionalProperties:!1},step:{description:"Any of these step use cases are valid.",oneOf:[{description:"Run a referenced step.",type:"object",additionalProperties:!1,required:["name","step"],properties:{name:{$ref:"#/definitions/stepName"},env:{$ref:"#/definitions/stepNamedStrings"},inputs:{$ref:"#/definitions/stepNamedValues"},step:{oneOf:[{type:"string"},{$ref:"#/definitions/stepGitReference"},{$ref:"#/definitions/stepOciReference"}]}}},{description:"Run a sequence of steps.",oneOf:[{type:"object",additionalProperties:!1,required:["run"],properties:{env:{$ref:"#/definitions/stepNamedStrings"},run:{type:"array",items:{$ref:"#/definitions/step"}},outputs:{$ref:"#/definitions/stepNamedValues"},delegate:{type:"string"}}}]},{description:"Run an action.",type:"object",additionalProperties:!1,required:["name","action"],properties:{name:{$ref:"#/definitions/stepName"},env:{$ref:"#/definitions/stepNamedStrings"},inputs:{$ref:"#/definitions/stepNamedValues"},action:{type:"string",minLength:1}}},{description:"Run a script.",type:"object",additionalProperties:!1,required:["name","script"],properties:{name:{$ref:"#/definitions/stepName"},env:{$ref:"#/definitions/stepNamedStrings"},script:{type:"string",minLength:1}}},{description:"Exec a binary.",type:"object",additionalProperties:!1,required:["exec"],properties:{env:{$ref:"#/definitions/stepNamedStrings"},exec:{description:"Exec is a command to run.",$ref:"#/definitions/stepExec"}}}]},stepName:{type:"string",pattern:"^[a-zA-Z_][a-zA-Z0-9_]*$"},stepNamedStrings:{type:"object",patternProperties:{"^[a-zA-Z_][a-zA-Z0-9_]*$":{type:"string"}},additionalProperties:!1},stepNamedValues:{type:"object",patternProperties:{"^[a-zA-Z_][a-zA-Z0-9_]*$":{type:["string","number","boolean","null","array","object"]}},additionalProperties:!1},stepGitReference:{type:"object",description:"GitReference is a reference to a step in a Git repository.",additionalProperties:!1,required:["git"],properties:{git:{type:"object",additionalProperties:!1,required:["url","rev"],properties:{url:{type:"string"},dir:{type:"string"},rev:{type:"string"},file:{type:"string"}}}}},stepOciReference:{type:"object",description:"OCIReference is a reference to a step hosted in an OCI repository.",additionalProperties:!1,required:["oci"],properties:{oci:{type:"object",additionalProperties:!1,required:["registry","repository","tag"],properties:{registry:{type:"string",description:"The <host>[:<port>] of the container registry server.",examples:["registry.gitlab.com"]},repository:{type:"string",description:"A path within the registry containing related OCI images. Typically the namespace, project, and image name.",examples:["my_group/my_project/image"]},tag:{type:"string",description:"A pointer to the image manifest hosted in the OCI repository.",examples:["latest","1","1.5","1.5.0"]},dir:{type:"string",description:"A directory inside the OCI image where the step can be found.",examples:["/my_steps/hello_world"]},file:{type:"string",description:"The name of the file that defines the step, defaults to step.yml.",examples:["step.yml"]}}}}},stepExec:{type:"object",additionalProperties:!1,required:["command"],properties:{command:{type:"array",description:"Command are the parameters to the system exec API. It does not invoke a shell.",items:{type:"string"},minItems:1},work_dir:{type:"string",description:"WorkDir is the working directly in which `command` will be exec'ed."}}}}};delete DF.definitions.include_item.oneOf[0].pattern;delete DF.definitions.cache_item.properties.key.oneOf[0].pattern;DF.definitions.job_template.properties.gclInjectSSHAgent={type:"boolean"};DF.definitions.job_template.properties.gclInteractive={type:"boolean"};DF.definitions.job_template.properties.gclArtifactsToSource={type:"boolean"};DF.definitions.job_template.properties.gclDescription={type:"string"};var rC=DF;var BP=E0(DP(),1),J90=/"/g,G90=/NOT/g,f90=/\//g,FP={enum:1,type:0},$P=(u)=>{return u.replace(f90,".")},K90=(u)=>{return u.replace(J90,"'").replace(G90,"not")},mZ=(u)=>{return u.split("/").pop()},x90=({object:u,pnter:D,fallback:F})=>{try{return BP.default.get(u,D)??F}catch{return F}},H90=(u)=>{let D={};return u.forEach((F)=>{let $=F.instancePath+(F.params?.additionalProperty??F.params?.missingProperty??""),B=D[$];if(!B)return D[$]=F,D;let z=FP[F.keyword]??0,Z=FP[B.keyword]??0;if(z>Z)D[$]=F}),Object.values(D)},zP=({errors:u,data:D,basePath:F=""})=>{if(!Array.isArray(u)||!u?.length)return[];return H90(u).map((B)=>{let z=F?$P(F+B.instancePath):$P(B.instancePath).substring(1),Z=mZ(B.instancePath),q=B.schemaPath,Q=`${Z?`property '${Z}'`:z} ${K90(B.message)}`,Y;switch(B.keyword){case"additionalProperties":{Y={message:`'${B.params.additionalProperty}' property is not expected to be here`,path:z,schemaPath:q};break}case"enum":{let J=B.params.allowedValues.map((K)=>K.toString()),G=mZ(B.instancePath),f=x90({object:D,pnter:B.instancePath,fallback:""});Y={message:`'${G}' property must be one of [${J.join(", ")}] (found ${f})`,path:z,schemaPath:q};break}case"type":{let J=mZ(B.instancePath),G=B.params.type;Y={message:`'${J}' property type must be ${G}`,path:z,schemaPath:q};break}case"required":{Y={message:`${z} must have required property '${B.params.missingProperty}'`,path:z,schemaPath:q};break}case"const":return{message:`'${Z}' property must be equal to the allowed value`,path:z,schemaPath:q};default:Y={message:Q,path:z,schemaPath:q}}let W=Object.entries(Y);for(let[J,G]of W)if(G===null||G===void 0||G==="")delete Y[J];return Y})};var ZP=5;class Q3{static jsonSchemaValidation({pathToExpandedGitLabCi:u,gitLabCiConfig:D,argv:F}){let B=new qP.default({verbose:!0,allErrors:!0,allowUnionTypes:!0,validateFormats:!1,strictTypes:!1,keywords:["markdownDescription"]}).compile(rC),z=B(D);if(z)return;let Z=zP({data:D,errors:B.errors}).filter((X)=>!F.ignoreSchemaPaths.includes(X.schemaPath)),q="";for(let X=0,Q=Z.length;X<Q;X++){if(X+1>ZP){q+=` ... and ${Q-ZP} more`;break}q+=y`\t• {redBright ${Z[X].message}} at {blueBright ${Z[X].path}} {grey [${Z[X].schemaPath}]}\n`}pD(z||Z.length==0,y`
312
+ {reset Invalid .gitlab-ci.yml configuration!
313
+ ${q.trimEnd()}
314
+
315
+ For further troubleshooting, consider either of the following:
316
+ \t• Copy the content of {blueBright ${F1(".gitlab-ci-local/expanded-gitlab-ci.yml",u)}} to the ${F1("pipeline editor","https://docs.gitlab.com/ee/ci/pipeline_editor/")} to debug it
317
+ \t• Use --ignore-schema-paths "#/definitions/tags/minItems" --ignore-schema-paths "#/additionalProperties" to partially disable certain validation rule
318
+ \t• Use --json-schema-validation=false to disable schema validation (not recommended)}
319
+ `)}static needs(u,D){let F=[];for(let $ of u){if($.needs===null||$.needs.length===0)continue;for(let[B,z]of $.needs.entries()){if(z.pipeline){F.push(`${$.name}.needs[${B}].job:${z.job} ignored, pipeline key not supported`);continue}if(z.project){F.push(`${$.name}.needs[${B}] ignored, project key not supported`);continue}let Z=u.find((Q)=>Q.baseName===z.job);if(z.optional&&!Z)continue;pD(Z!=null,y`needs: [{blueBright ${z.job}}] for {blueBright ${$.baseName}} could not be found`);let q=D.indexOf(Z.stage),X=D.indexOf($.stage);pD(q<=X,y`needs: [{blueBright ${Z.name}}] for {blueBright ${$.name}} is in a future stage`)}}return F}static dependencies(u,D){for(let F of u){if(F.dependencies===null||F.dependencies.length===0)continue;let $=F.dependencies.filter((B)=>!u.some((z)=>z.baseName===B));pD($.length!==F.dependencies.length,y`dependencies: [{blueBright ${$.join(",")}}] for {blueBright ${F.name}} cannot be found`);for(let B of F.dependencies){let z=u.find((X)=>X.baseName===B);pD(z!=null,y`dependencies: [{blueBright ${B}}] for {blueBright ${F.baseName}} could not be found`);let Z=D.indexOf(z.stage),q=D.indexOf(F.stage);pD(Z<=q,y`dependencies: [{blueBright ${z.name}}] for {blueBright ${F.name}} is in a future stage`)}}}static dependenciesContainment(u){for(let D of u){let{needs:F,dependencies:$}=D;if(F&&F.length===0)continue;if(!$||!F)continue;let B=$.every((Z)=>{return F.some((q)=>q.job===Z)}),z=`${D.formattedJobName} needs: '${F.map((Z)=>Z.job).join(",")}' doesn't fully contain dependencies: '${$.join(",")}'`;pD(B,z)}}static potentialIllegalJobName(u){let D=[];for(let F of u)if(new Set(["types","true","false","nil"]).has(F))D.push(`Job name "${F}" is a reserved keyword. (https://docs.gitlab.com/ee/ci/jobs/#job-name-limitations)`);return D}static scriptBlank(u){for(let D of u){if(D.trigger)continue;pD(D.scripts.length>0,y`{blue ${D.name}} has empty script`)}}static arrayOfStrings(u){for(let D of u){if(D.trigger)continue;D.beforeScripts.forEach((F)=>pD(typeof F==="string",y`{blue ${D.name}} before_script contains non string value`)),D.afterScripts.forEach((F)=>pD(typeof F==="string",y`{blue ${D.name}} after_script contains non string value`)),D.scripts.forEach((F)=>pD(typeof F==="string",y`{blue ${D.name}} script contains non string value`))}}static async run(u,D){let F=[];return this.scriptBlank(u),this.arrayOfStrings(u),F.push(...this.needs(u,D)),this.dependencies(u,D),this.dependenciesContainment(u),F.push(...this.potentialIllegalJobName(u.map(($)=>$.baseName))),F.push(...this.artifacts(u)),F}static artifacts(u){let D=[];for(let F of u)if(F.artifacts===null)D.push(`${F.name}.artifacts is null, ignoring.`);return D}}var XP=E0(Y8(),1);import V90 from"assert";function nZ(u){return Number.isInteger(u.parallel)}function QP(u,D){if(nZ(u))return Array(u.parallel).fill(null);if(u?.parallel?.matrix==null)return[null];V90(Array.isArray(u.parallel.matrix),`${D} parallel.matrix is not an array`);let F=[];for(let B of u.parallel.matrix)for(let[z,Z]of Object.entries(B))B[z]=Array.isArray(Z)?Z:[Z];let $=XP.default({},u);for(let B of $.parallel.matrix){let z=0,Z=[];while(Object.keys(B).length>0&&z<100){let X=Object.keys(B)[0],Q=B[X];delete B[X];let Y=Z.length>0?[...Z]:[{}];Z=[];for(let W of Y)for(let J of Q){let G={...W};G[X]=J,Z.push(G)}z++}F.push(...Z)}return F}class pZ{static init(u,D,F){let $=new Set;if(F.needs&&F.needs.length===0)return[];if(!F.needs&&!F.dependencies)for(let z of _.getJobNamesFromPreviousStages(u,D,F))$.add(z);(F.dependencies??[]).forEach((z)=>{if((F.needs??[]).find((q)=>q.job===z))return;$.add(z)}),(F.needs??[]).forEach((z)=>{if(!z.artifacts)return;if(z.pipeline)return;if(z.project)return;$.add(z.job)});let B=[];for(let z of u){if(z.artifacts==null)continue;if(z.when=="never")continue;if(!$.has(z.name)&&!$.has(z.baseName))continue;B.push(z)}return B.map((z)=>{return{name:z.name,dotenv:z?.artifacts?.reports?.dotenv??null}})}}var F8=E0(oD(),1);import w1 from"assert";var lZ=E0(n7(),1),YP=E0(Y8(),1);class dZ{static async init(u,D,F){let{cwd:$,stateDir:B,home:z,remoteVariables:Z,autoCompleting:q}=u,X=`${z}/${B}/variables.yml`,Q={},Y={},W={};if(Z&&!q)for(let x=0;x<Z.length;x++){let M=/(?<url>git@.*?)=(?<file>.*?)=(?<ref>.*)/.exec(Z[x]);w1(M!=null,"--remote-variables is malformed use 'git@gitlab.com:firecow/example.git=gitlab-variables.yml=master' syntax");let L=M.groups?.url,j=M.groups?.file,U=M.groups?.ref,I=await _.bash(`set -eou pipefail; git archive --remote=${L} ${U} ${j} | tar -xO ${j}`,$),S=X6(`${I.stdout}`);if(typeof S==="object"&&S!==null)Y=YP.default(Y,S)}if(await F8.default.pathExists(X))W=X6(await F8.default.readFile(X,"utf8"),{schema:x$});let J=(x)=>{if(typeof x==="string"){let M={values:{},type:null};return M.values={},M.values["*"]=x,M}else x.type=x.type??"variable";return x},G=async(x,M,L,j=!1)=>{let{type:U,values:I}=J(M);for(let[S,k]of Object.entries(I))if(w1(typeof k=="string",`${x}.${S} content must be text or multiline text`),j||U==="variable"||U===null&&!/^[/~]/.exec(k)){let R=S==="*"?/.*/g:new RegExp(`^${S.replace(/\*/g,".*")}$`,"g");Q[x]=Q[x]??{type:"variable",environments:[]},Q[x].environments.push({content:k,regexp:R,regexpPriority:S.length,scopePriority:L})}else if(U===null&&/^[/~]/.exec(k)){let R=k.replace(/^~\/(.*)/,`${z}/$1`),h=S==="*"?/.*/g:new RegExp(`^${S.replace(/\*/g,".*")}$`,"g");if(Q[x]=Q[x]??{type:"file",environments:[]},F8.default.existsSync(R))Q[x].environments.push({content:k,regexp:h,regexpPriority:S.length,scopePriority:L,fileSource:R});else Q[x].environments.push({content:`warn: ${x} is pointing to invalid path
320
+ `,regexp:h,regexpPriority:S.length,scopePriority:L})}else if(U==="file"){let R=S==="*"?/.*/g:new RegExp(`^${S.replace(/\*/g,".*")}$`,"g");Q[x]=Q[x]??{type:"file",environments:[]},Q[x].environments.push({content:k,regexp:R,regexpPriority:S.length,scopePriority:L})}else w1(!1,`${x} was not handled properly`)},f=async(x,M)=>{for(let[U,I]of Object.entries(x?.global??{}))await G(U,I,1+M);let L=`${F.remote.host}/${F.remote.group}/`;for(let[U,I]of Object.entries(x?.group??{})){if(!L.includes(this.normalizeProjectKey(U,D)))continue;w1(I!=null,"groupEntries cannot be null/undefined"),w1(_.isObject(I),"group entries in variable files must be an object");for(let[S,k]of Object.entries(I))await G(S,k,2+M)}let j=`${F.remote.host}/${F.remote.group}/${F.remote.project}.git`;for(let[U,I]of Object.entries(x?.project??[])){if(!j.includes(this.normalizeProjectKey(U,D)))continue;w1(I!=null,"projectEntries cannot be null/undefined"),w1(_.isObject(I),"project entries in variable files must be an object");for(let[S,k]of Object.entries(I))await G(S,k,3+M)}};await f(Y,0),await f(W,10);let K=`${u.cwd}/${u.variablesFile}`;if(F8.default.existsSync(K)){let x=!1,M=await F8.default.readFile(K,"utf8"),L;try{if(L=X6(M,{schema:x$})??{},typeof L==="string")x=!0,L=lZ.default.parse(M)}catch(j){if(j instanceof c7)x=!0,L=lZ.default.parse(M)}w1(L!=null,"projectEntries cannot be null/undefined"),w1(_.isObject(L),`${u.cwd}/.gitlab-ci-local-variables.yml must contain an object`);for(let[j,U]of Object.entries(L))await G(j,U,24,x)}for(let x of Object.values(Q))x.environments.sort((M,L)=>L.scopePriority-M.scopePriority),x.environments.sort((M,L)=>L.regexpPriority-M.regexpPriority);return Q}static normalizeProjectKey(u,D){if(!u.includes(":"))return u;return D.stderr(y`{yellow WARNING: Interpreting '${u}' as '${u.replace(":","/")}'}\n`),u.replace(":","/")}}function WP({gitData:u,argv:D,envMatchedVariables:F}){let $={...F,...D.variable},B=$.CI_SERVER_PROTOCOL??(u.remote.schema==="http"||u.remote.schema==="https"?u.remote.schema:"https"),z=$.CI_SERVER_PORT??(u.remote.schema==="http"||u.remote.schema==="https"?u.remote.port:"443"),Z=$.CI_SERVER_SHELL_SSH_PORT??(u.remote.schema==="ssh"?u.remote.port:"22"),q=$.CI_SERVER_HOST??`${u.remote.host}`,X=$.CI_SERVER_FQDN??(z=="443"?u.remote.host:`${u.remote.host}:${z}`),Q=$.CI_SERVER_URL??`${B}://${X}`,Y=u.remote.group.split("/")[0],W=u.remote.group,J=X.includes(":")?X:`${q}:${z}`,G={CI:"true",GITLAB_USER_LOGIN:u.user.GITLAB_USER_LOGIN,GITLAB_USER_EMAIL:u.user.GITLAB_USER_EMAIL,GITLAB_USER_NAME:u.user.GITLAB_USER_NAME,GITLAB_USER_ID:u.user.GITLAB_USER_ID,CI_COMMIT_SHORT_SHA:u.commit.SHA.slice(0,8),CI_COMMIT_SHA:u.commit.SHA,CI_PROJECT_NAME:u.remote.project,CI_PROJECT_TITLE:`${s8(u.remote.project)}`,CI_PROJECT_PATH:`${u.remote.group}/${u.remote.project}`,CI_PROJECT_PATH_SLUG:`${u.remote.group.replace(/\//g,"-")}-${u.remote.project}`.toLowerCase(),CI_PROJECT_ROOT_NAMESPACE:Y,CI_PROJECT_NAMESPACE:W,CI_PROJECT_VISIBILITY:"internal",CI_PROJECT_ID:"1217",CI_COMMIT_REF_PROTECTED:"false",CI_COMMIT_BRANCH:u.commit.REF_NAME,CI_COMMIT_REF_NAME:u.commit.REF_NAME,CI_COMMIT_REF_SLUG:u.commit.REF_NAME.replace(/[^a-z\d]+/ig,"-").replace(/^-/,"").slice(0,63).replace(/-$/,"").toLowerCase(),CI_COMMIT_TIMESTAMP:u.commit.TIMESTAMP,CI_PIPELINE_CREATED_AT:new Date().toISOString().split(".")[0]+"Z",CI_COMMIT_TITLE:"Commit Title",CI_COMMIT_MESSAGE:`Commit Title
321
+ More commit text`,CI_COMMIT_DESCRIPTION:"More commit text",CI_DEFAULT_BRANCH:u.branches.default,CI_PIPELINE_SOURCE:"push",CI_SERVER_FQDN:X,CI_SERVER_HOST:q,CI_SERVER_PORT:z,CI_SERVER_SHELL_SSH_PORT:Z,CI_SERVER_URL:Q,CI_SERVER_PROTOCOL:B,CI_API_V4_URL:`${Q}/api/v4`,CI_PROJECT_URL:`${Q}/${u.remote.group}/${u.remote.project}`,CI_TEMPLATE_REGISTRY_HOST:"registry.gitlab.com",GITLAB_CI:"false",FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR:D.umask?"false":"true",CI_DEPENDENCY_PROXY_DIRECT_GROUP_IMAGE_PREFIX:`${J}/${W}/dependency_proxy/containers`,CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX:`${J}/${Y}/dependency_proxy/containers`,CI_DEPENDENCY_PROXY_SERVER:J,CI_DEPENDENCY_PROXY_USER:"gitlab-ci-token"};for(let f of D.unsetVariables)delete G[f];return G}var M90=3,w90=["string","boolean","number","array"];class t0{_stages=[];_gitlabData;_jobNamePad=null;jobs;argv;writeStreams;pipelineIid;expandVariables;constructor(u,D,F,$,B){this.argv=u,this.writeStreams=D,this.pipelineIid=F,this.jobs=$,this.expandVariables=B}get stages(){return this._stages}get gitlabData(){return this._gitlabData}get jobNamePad(){return this._jobNamePad??0}static async create(u,D,F,$,B=!0){let z=new t0(u,D,F,$,B),Z=process.hrtime();await z.init();let q=await Q3.run(z.jobs,z.stages);for(let Y of z.jobs)if(Y.artifacts===null)Y.deleteArtifacts();let X=process.hrtime(Z),Q=gZ.join(u.cwd,u.stateDir,"expanded-gitlab-ci.yml");if(D7.default.mkdirpSync(gZ.join(u.cwd,u.stateDir)),D7.default.writeFileSync(Q,T1(z.gitlabData)),u.childPipelineDepth==0)D.stderr(y`{grey parsing and downloads finished in ${oZ.default(X)}.}\n`);for(let Y of q)D.stderr(y`{yellow ${Y}}\n`);if(z.argv.jsonSchemaValidation){let Y=process.hrtime();if(Q3.jsonSchemaValidation({pathToExpandedGitLabCi:Q,gitLabCiConfig:z.gitlabData,argv:u}),u.childPipelineDepth==0)D.stderr(y`{grey json schema validated in ${oZ.default(process.hrtime(Y))}}\n`)}return z}async init(){let u=this.argv,D=u.cwd,F=u.stateDir,$=this.writeStreams,B=u.file,z=this.pipelineIid,Z=u.fetchIncludes,q=await H6.init(D,$),X=await dZ.init(u,$,q),Q=_.findEnvMatchedVariables(X),Y=WP({gitData:q,argv:u,envMatchedVariables:Q}),W={...Y,...Q,...u.variable},J=_.expandVariables(W),G=[{stages:[".pre","build","test","deploy",".post"]}],f=await t0.loadYaml(`${D}/${B}`,{},this.expandVariables);G=G.concat(await kF.init(f,{argv:u,cwd:D,stateDir:F,writeStreams:$,gitData:q,fetchIncludes:Z,variables:J,expandVariables:this.expandVariables,maximumIncludes:u.maximumIncludes})),kF.resetCount();let K=await t0.loadYaml(`${D}/.gitlab-ci-local.yml`,{},this.expandVariables);G=G.concat(await kF.init(K,{argv:u,cwd:D,stateDir:F,writeStreams:$,gitData:q,fetchIncludes:Z,variables:J,expandVariables:this.expandVariables,maximumIncludes:u.maximumIncludes})),kF.resetCount();let x=JP.default({},...G);if(OJ(x),j$(x,x),IJ(x),AJ(x),jJ(x),NJ(x),ND(x.stages&&Array.isArray(x.stages),y`{yellow stages:} must be an array`),!x.stages.includes(".pre"))x.stages.unshift(".pre");if(!x.stages.includes(".post"))x.stages.push(".post");if(this._stages=x.stages,_.forEachRealJob(x,(M,L)=>{ND(L.when!=="never",y`This GitLab CI configuration is invalid: jobs:${M} when:never can only be used in a rules section or workflow:rules`);for(let[j,U]of Object.entries(L.variables??{}))L.variables[j]=_.normalizeVariables(U);for(let j=0;j<(L.services??[]).length;j++){let U=L.services[j];for(let[I,S]of Object.entries(U.variables||{}))ND(typeof S==="string"||typeof S==="number"||typeof S==="boolean",y`{blueBright ${M}.services[${j}]} has invalid variables hash of key value pairs. ${I}=${S}`),L.services[j].variables[I]=String(S)}}),this._gitlabData=x,_.forEachRealJob(x,(M,L)=>{ND(q!=null,"gitData must be set"),ND(X!=null,"homeVariables must be set");let j=1,U=QP(L,M);for(let I of U){let S=M;if(I)S=`${M}: [${Object.values(I??[]).join(",")}]`;else if(nZ(L))S=`${M}: [${j}/${U.length}]`;let k=new rD({argv:u,writeStreams:$,data:L,name:S,baseName:M,globalVariables:x.variables,pipelineIid:z,predefinedVariables:{...Y},gitData:q,variablesFromFiles:X,matrixVariables:I,nodeIndex:L.parallel!=null?j:null,nodesTotal:U.length,expandVariables:this.expandVariables}),R=this.stages.includes(k.stage);ND(R,y`{yellow stage:${k.stage}} not found for {blueBright ${k.name}}`),this.jobs.push(k),j++}}),this.argv.maxJobNamePadding!==null&&this.argv.maxJobNamePadding<=0)this._jobNamePad=0;else if((this.argv.job.length!==0?this.argv.job:this.jobs).forEach((L)=>{let j=[];if(this.argv.needs&&this.argv.job.length>0){let I=this.jobs.find((S)=>S.baseName===L);if(I?.needs)j=I.needs.map((S)=>S.job.length)}let U=typeof L=="string"?L.length:L.name.length;this._jobNamePad=Math.max(U,this._jobNamePad??0,...j)}),this.argv.maxJobNamePadding!==null)this._jobNamePad=Math.min(this.argv.maxJobNamePadding??0,this._jobNamePad??0);this.jobs.forEach((M)=>{M.jobNamePad=this.jobNamePad}),this.jobs.forEach((M)=>{M.producers=pZ.init(this.jobs,this.stages,M)})}static async loadYaml(u,D={},F=!0){let $=`${u}`;if(!D7.default.existsSync($))return{};let z=(await D7.default.readFile(`${u}`,"utf8")).split(/\r?\n/g),Z=z.slice(),q=null,X=null,Q=null,Y=null,W=0;if(F)for(let K of z){if(q=q??/#\s?@\s?[Ii]nteractive/.exec(K),Q=Q??/#\s?@\s?[Ii]njectSSHAgent/.exec(K),Y=Y??/#\s?@\s?NoArtifactsToSource/i.exec(K),X=X??/#\s?@\s?[Dd]escription (?<description>.*)/.exec(K),/\w:/.exec(K)&&(q||X||Q||Y)){if(q)Z.splice(W+1,0," gclInteractive: true"),W++;if(Q)Z.splice(W+1,0," gclInjectSSHAgent: true"),W++;if(Y)Z.splice(W+1,0," gclArtifactsToSource: false"),W++;if(X)Z.splice(W+1,0,` gclDescription: ${X?.groups?.description??""}`),W++;q=null,X=null,Q=null,Y=null}W++}let J=new IW("!reference",{kind:"sequence",construct:function(K){return{referenceData:K}}}),G=EW.extend([J]),f;try{f=H$(Z.join(`
322
+ `),null,{schema:G})}catch(K){if(K instanceof c7&&K.reason==="duplicated mapping key")console.log(y`{black.bgYellowBright WARN } duplicated mapping key detected! Values will be overwritten!`),f=H$(Z.join(`
323
+ `),null,{schema:G,json:!0});else throw K}if(f.length<=1)return f[0];if(i90(f[0])){let K=f[0],x=f[1],M=JSON.stringify(x).replace(/(?<firstChar>.)?(?<secondChar>.)?\$\[\[\s*inputs.(?<interpolationKey>[\w-]+)\s*\|?\s*(?<interpolationFunctions>.*?)\s*\]\](?<lastChar>[^$])?/g,(L,j,U,I,S,k)=>{let R=gZ.relative(process.cwd(),u),h={interpolationKey:I,interpolationFunctions:S,inputsSpecification:K,configFilePath:R,...D};j??="",U??="",k??="";let{inputValue:F0,inputType:O}=j90(h),c=j+U;switch(O){case"array":if(U=='"'&&k=='"'&&j!="\\")return j+JSON.stringify(F0);return c+JSON.stringify(JSON.stringify(F0)).slice(1,-1)+k;case"string":return c+JSON.stringify(F0).slice(1,-1)+k;case"number":case"boolean":if(U=='"'&&k=='"'&&j!="\\")return j+F0;return c+F0+k;default:_.switchStatementExhaustiveCheck(O)}});return JSON.parse(M)}return f[0]}}function i90(u){return"spec"in u}function O90(u){let{configFilePath:D,interpolationKey:F,inputsSpecification:$}=u,B=y`This GitLab CI configuration is invalid: \`{blueBright ${D}}\`: unknown interpolation key: \`${F}\`.`;ND($.spec.inputs?.[F]!==void 0,B)}function A90(u){let{interpolationFunctions:D,configFilePath:F}=u;if(D!="")console.log(y`{black.bgYellowBright WARN } interpolation functions is currently not supported via gitlab-ci-local. Functions will just be a no-op.`);ND(D.split("|").length<=M90,y`This GitLab CI configuration is invalid: \`{blueBright ${F}}\`: too many functions in interpolation block.`)}function N90(u){let{configFilePath:D,interpolationKey:F,inputsSpecification:$}=u,B=GP(u),z=$.spec.inputs[F]?.options;if(z)ND(z.includes(B),y`This GitLab CI configuration is invalid: \`{blueBright ${D}}\`: \`{blueBright ${F}}\` input: \`{blueBright ${B}}\` cannot be used because it is not in the list of allowed options.`);let Z=fP(u);ND(w90.includes(Z),y`This GitLab CI configuration is invalid: \`{blueBright ${D}}\`: header:spec:inputs:{blueBright ${F}} input type unknown value: {blueBright ${Z}}.`);let q=Array.isArray(B)?"array":typeof B;if(ND(q===Z,y`This GitLab CI configuration is invalid: \`{blueBright ${D}}\`: \`{blueBright ${F}}\` input: provided value is not a {blueBright ${Z}}.`),$.spec.inputs[F]?.regex)console.log(y`{black.bgYellowBright WARN } spec:inputs:regex is currently not supported via gitlab-ci-local. This will just be a no-op.`)}function j90(u){return O90(u),A90(u),N90(u),{inputValue:GP(u),inputType:fP(u)}}function GP(u){let{inputs:D,interpolationKey:F,configFilePath:$,inputsSpecification:B}=u,z=D?.[F]??B.spec.inputs[F]?.default;return ND(z!==void 0,y`This GitLab CI configuration is invalid: \`{blueBright ${$}}\`: \`{blueBright ${F}}\` input: required value has not been provided.`),z}function fP(u){let{interpolationKey:D,inputsSpecification:F}=u;return F.spec.inputs[D]?.type||"string"}class sZ{memoStdout=(()=>{let u=new Map;return(D)=>{if(u.has(D))return;u.set(D,null),this.stdout(D)}})()}class aZ extends sZ{stderr(u){process.stderr.write(u)}stdout(u){process.stdout.write(u)}flush(){}}class rZ extends sZ{currentStderr="";currentStdout="";stderrLines=[];stdoutLines=[];stderr(u){if(this.currentStderr+=u,u.endsWith(`
324
+ `))this.stderrLines.push(this.currentStderr.slice(0,-1)),this.currentStderr=""}stdout(u){if(this.currentStdout+=u,u.endsWith(`
325
+ `))this.stdoutLines.push(this.currentStdout.slice(0,-1)),this.currentStdout=""}flush(){if(this.currentStdout.length!=0)this.stdout(`
326
+ `);if(this.currentStderr.length!=0)this.stderr(`
327
+ `)}}import{AssertionError as E90}from"assert";var KP={type:"module",name:"gitlab-ci-local",description:"Tired of pushing to test your .gitlab-ci.yml?",main:"dist/index.js",bin:"dist/index.js",version:"4.66.1",scripts:{build:"bun build --compile --minify --sourcemap src/index.ts --outfile bin/gitlab-ci-local","build:linux-amd64":"bun build --compile --minify --sourcemap --target=bun-linux-x64 src/index.ts --outfile bin/linux-amd64/gitlab-ci-local","build:linux-arm64":"bun build --compile --minify --sourcemap --target=bun-linux-arm64 src/index.ts --outfile bin/linux-arm64/gitlab-ci-local","build:macos-x64":"bun build --compile --minify --sourcemap --target=bun-darwin-x64 src/index.ts --outfile bin/macos-x64/gitlab-ci-local","build:macos-arm64":"bun build --compile --minify --sourcemap --target=bun-darwin-arm64 src/index.ts --outfile bin/macos-arm64/gitlab-ci-local","build:win":"bun build --compile --minify --sourcemap --target=bun-windows-x64 src/index.ts --outfile bin/win/gitlab-ci-local.exe","build:node":"bun build --minify --sourcemap=linked src/index.ts --outdir dist --target=node","build-all":"bun run build:linux-amd64 && bun run build:linux-arm64 && bun run build:win && bun run build:macos-x64 && bun run build:macos-arm64","check-all":"bun run lint && bun run coverage",lint:"eslint .",test:"FORCE_COLOR=1 bun test --timeout 60000","test-except-dind":"bun test --timeout 60000 --filter '(?!.*dind)'",coverage:"FORCE_COLOR=1 bun test --timeout 60000 --coverage --coverage-reporter=text --coverage-reporter=lcov --verbose",start:"bun src/index.ts --cwd examples/docker-compose-nodejs",typecheck:"tsc --noEmit","fetch-schema":"curl https://gitlab.com/gitlab-org/gitlab/-/raw/master/app/assets/javascripts/editor/schema/ci.json -sf > src/schema.json"},dependencies:{ajv:"8.x.x",axios:"1.x.x",base64url:"3.x.x",camelcase:"9.x.x",chalk:"5.x.x","chalk-template":"1.x.x",checksum:"1.x.x","deep-extend":"0.6.x",dotenv:"17.x",execa:"5.x.x","fs-extra":"11.x.x",globby:"16.x.x","js-yaml":"4.x.x",jsonpointer:"5.x.x",micromatch:"4.x.x","object-traversal":"1.x.x","p-map":"7.x.x","pretty-hrtime":"1.x.x",re2js:"1.x.x",semver:"7.x.x",split2:"4.x.x","terminal-link":"5.x.x",yargs:"18.x"},devDependencies:{"@eslint/js":"10.x","@stylistic/eslint-plugin":"5.x","@types/base64url":"2.x.x","@types/bun":"1.x.x","@types/checksum":"0.1.x","@types/deep-extend":"0.6.x","@types/fs-extra":"11.x.x","@types/js-yaml":"4.x.x","@types/micromatch":"4.x.x","@types/pretty-hrtime":"1.x.x","@types/semver":"7.x.x","@types/split2":"4.x.x","@types/yargs":"17.x.x","axios-mock-adapter":"2.x",depcheck:"1.x.x",eslint:"10.x",typescript:"5.x.x","typescript-eslint":"8.x.x"},repository:{type:"git",url:"https://github.com/firecow/gitlab-ci-local.git"},author:"Mads Jon Nielsen <madsjon@gmail.com>",license:"MIT",bugs:{url:"https://github.com/firecow/gitlab-ci-local/issues"},homepage:"https://github.com/firecow/gitlab-ci-local#readme",keywords:["git","gitlab","pipeline","local","ci","cd","push","untracked","uncomitted","gitlab-ci"],files:["dist/index.js","dist/index.js.map"]};var F7=[];process.on("SIGINT",async(u,D)=>{await j6(F7),process.exit(D)});process.on("SIGUSR2",async()=>await j6(F7));(()=>{let u=i7(process.argv.slice(2));u.parserConfiguration({"greedy-arrays":!1}).showHelpOnFail(!1).version(KP.version).wrap(u.terminalWidth?.()).command({handler:async(D)=>{try{await T9(D,new aZ,F7);let F=ku.getFailed(F7);process.exit(F.length>0?1:0)}catch(F){if(F instanceof E90)process.stderr.write(y`{red ${F.message.trim()}}\n`);else if(F instanceof AggregateError)F.errors.forEach(($)=>process.stderr.write(y`{red ${$.stack??$}}\n`));else process.stderr.write(y`{red ${F.stack??F}}\n`);await j6(F7),process.exit(1)}},builder:(D)=>{return D.positional("job",{describe:"Jobname's to execute",type:"string"}).coerce("job",(F)=>{if(!Array.isArray(F))return[F];return F})},command:"$0 [job..]",describe:"Runs the entire pipeline or job's"}).usage(`Find more information at https://github.com/firecow/gitlab-ci-local.
328
+ Note: To negate an option use '--no-(option)'.`).strictOptions().env("GCL").option("manual",{type:"array",description:"One or more manual jobs to run during a pipeline",requiresArg:!0}).option("list",{type:"boolean",description:"List job information, when:never excluded",requiresArg:!1}).option("list-all",{type:"boolean",description:"List job information, when:never included",requiresArg:!1}).option("list-json",{type:"boolean",description:"List job information in json format, when:never included",requiresArg:!1}).option("list-csv",{type:"boolean",description:"List job information in csv format, when:never excluded",requiresArg:!1}).option("list-csv-all",{type:"boolean",description:"List job information in csv format, when:never included",requiresArg:!1}).option("validate-dependency-chain",{type:"boolean",description:"Validate that jobs needed or dependent by active jobs under specified conditions are also active without actually running the jobs. Uses fail-fast approach - stops at first validation error for both 'needs' and 'dependencies' keywords. If validation fails, use --list flag to see which jobs will run under specified conditions",requiresArg:!1}).option("preview",{type:"boolean",description:"Print YML with defaults, includes, extends and reference's expanded",requiresArg:!1}).option("cwd",{type:"string",description:"Path to a current working directory",requiresArg:!0}).option("variables-file",{type:"string",description:"Path to the project file variables",requiresArg:!0,default:su.default.variablesFile}).option("completion",{type:"boolean",description:"Generate tab completion script",requiresArg:!1}).option("evaluate-rule-changes",{type:"boolean",description:"Whether to evaluate rule:changes. If set to false, rules:changes will always evaluate to true",requiresArg:!1,default:su.default.evaluateRuleChanges}).option("needs",{type:"boolean",description:"Run needed jobs, when executing specific jobs",requiresArg:!1}).option("only-needs",{type:"boolean",description:"Run needed jobs, except the specified jobs themselves",requiresArg:!1}).option("stage",{type:"string",description:"Run all jobs in a specific stage",requiresArg:!1}).option("variable",{type:"array",description:"Add variable to all executed jobs (--variable HELLO=world)",requiresArg:!1}).option("unset-variable",{type:"array",description:"Unsets a variable (--unset-variable HELLO)",requiresArg:!1}).option("remote-variables",{type:"array",description:"Fetch variables file from remote location",requiresArg:!1}).option("state-dir",{type:"string",description:"Location of the .gitlab-ci-local state dir, relative to cwd, eg. (symfony/.gitlab-ci-local/)",requiresArg:!1}).option("file",{type:"string",description:"Location of the .gitlab-ci.yml, relative to cwd, eg. (gitlab/.gitlab-ci.yml)",requiresArg:!1}).option("home",{type:"string",description:"Location of the HOME .gitlab-ci-local folder ($HOME/.gitlab-ci-local/variables.yml)",requiresArg:!1}).option("shell-isolation",{type:"boolean",description:"Enable artifact isolation for shell-executor jobs",requiresArg:!1}).option("force-shell-executor",{type:"boolean",description:"Forces all jobs to be executed using the shell executor. (Only use this option for trusted job)",requiresArg:!1}).option("shell-executor-no-image",{type:"boolean",description:"Whether to use shell executor when no image is specified.",requiresArg:!1}).option("default-image",{type:"string",description:"When using --shell-executor-no-image=false which image to be used for the container. Defaults to docker.io/ruby:3.1 if not set.",requiresArg:!1}).option("wait-image",{type:"string",description:"Which image to be used for the wait container. Defaults to docker.io/sumina46/wait-for-it:latest if not set.",requiresArg:!1}).option("helper-image",{type:"string",description:"When using --shell-executor-no-image=false which image to be used for the utils container. Defaults to docker.io/firecow/gitlab-ci-local-util:latest if not set.",requiresArg:!1}).option("mount-cache",{type:"boolean",description:"Enable docker mount based caching",requiresArg:!1}).option("umask",{type:"boolean",description:"Sets docker user to 0:0",requiresArg:!1}).option("userns",{type:"string",description:"Set docker executor userns option",requiresArg:!1}).option("privileged",{type:"boolean",description:"Set docker executor to privileged mode",requiresArg:!1}).option("device",{type:"array",description:"Add devices to docker executor",requiresArg:!1}).option("ulimit",{type:"number",description:"Set docker executor ulimit",requiresArg:!1}).option("shm-size",{type:"string",description:"Set docker executor shared memory size, docker default is 64m (e.g., '256m', '1g')",requiresArg:!1}).option("network",{type:"array",description:"Add networks to docker executor",requiresArg:!1}).option("volume",{type:"array",description:"Add volumes to docker executor",requiresArg:!1}).option("extra-host",{type:"array",description:"Add extra docker host entries",requiresArg:!1}).option("ca-file",{type:"string",description:"Path to custom CA certificate file to mount in containers",requiresArg:!1}).option("pull-policy",{type:"string",description:"Set image pull-policy (always or if-not-present)",requiresArg:!1}).option("fetch-includes",{type:"boolean",description:"Fetch all external includes one more time",requiresArg:!1}).option("maximum-includes",{type:"number",description:"The maximum number of includes",requiresArg:!1}).option("artifacts-to-source",{type:"boolean",description:"Copy the generated artifacts into cwd",requiresArg:!1}).option("cleanup",{type:"boolean",description:"Remove docker resources after they've been used",requiresArg:!1}).option("quiet",{type:"boolean",description:"Suppress all job output",requiresArg:!1}).option("timestamps",{type:"boolean",description:"Show timestamps and job duration in the logs",requiresArg:!1}).option("max-job-name-padding",{type:"number",description:"Maximum padding for job name (use <= 0 for no padding)",requiresArg:!1}).option("json-schema-validation",{type:"boolean",description:"Whether to enable json schema validation",requiresArg:!1}).option("ignore-schema-paths",{type:"array",requiresArg:!1,default:su.default.ignoreSchemaPaths,description:"The json schema paths that will be ignored"}).option("ignore-predefined-vars",{type:"string",coerce:(D)=>D.split(","),requiresArg:!1,default:su.default.ignorePredefinedVars,describe:"Comma-seperated list of predefined pipeline variables for which warnings should be suppressed"}).option("concurrency",{type:"number",description:"Limit the number of jobs that run simultaneously",requiresArg:!1}).option("container-executable",{type:"string",description:"Command to start the container engine (docker or podman)",requiresArg:!1}).option("container-mac-address",{type:"string",description:"Container MAC address (e.g., aa:bb:cc:dd:ee:ff)",requiresArg:!1}).option("container-emulate",{type:"string",description:"The name, without the architecture, of a gitlab hosted runner to emulate. See here: https://docs.gitlab.com/ee/ci/runners/hosted_runners/linux.html#machine-types-available-for-linux---x86-64",choices:v9}).option("color",{requiresArg:!1,default:!0,description:"Enables color"}).option("registry",{type:"boolean",requiresArg:!1,description:"Start a local docker registry and configure gitlab-ci-local containers to use that by default"}).completion("completion",!1,(D,F,$,B)=>{try{if(D.startsWith("-"))$();else su.build({...F,autoCompleting:!0}).then((z)=>SD(z.cwd,z.stateDir).then((Z)=>({argv:z,pipelineIid:Z}))).then(({argv:z,pipelineIid:Z})=>t0.create(z,new rZ,Z,[])).then((z)=>{let Z=[...z.jobs.values()].filter((q)=>q.when!="never").map((q)=>q.name);B(Z)})}catch{return["Parser-Failed!"]}}).parse()})();
329
+
330
+ //# debugId=0B8551EE2C1AEB3964756E2164756E21
331
+ //# sourceMappingURL=index.js.map