48 lines
351 KiB
JavaScript
48 lines
351 KiB
JavaScript
"use strict";var e=require("node:process"),t=require("node:os"),r=require("node:tty"),n=require("./binary-BtVxQo5V.js"),i=require("node:fs"),o=require("node:path"),s=require("fs"),a=require("fs/promises"),u=require("path"),c=require("node:child_process"),l=require("node:util"),p=require("os"),f=require("child_process"),d=require("process"),A=require("events"),h=require("tty"),g=require("util"),m=require("net"),D=require("puppeteer-core"),w=require("node:events"),b=require("node:util/types"),v=require("node:crypto"),y=require("yargs/yargs"),E=require("cosmiconfig"),C=require("node:url"),_=require("module"),F=require("node:assert"),k=require("node:module"),P=require("node:v8"),B=require("node:fs/promises"),x=require("stream"),S=require("node:stream/consumers"),R=require("node:timers/promises"),T=require("tmp"),O=require("@marp-team/marpit"),I=require("chokidar"),L=require("ws"),M=require("node:querystring"),N=require("serve-index"),H=require("@marp-team/marp-core/package.json");function j(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var Q=j(C);const U=(e=0)=>t=>`[${t+e}m`,z=(e=0)=>t=>`[${38+e};5;${t}m`,G=(e=0)=>(t,r,n)=>`[${38+e};2;${t};${r};${n}m`,Y={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(Y.modifier),Object.keys(Y.color),Object.keys(Y.bgColor);const W=function(){const e=new Map;for(const[t,r]of Object.entries(Y)){for(const[t,n]of Object.entries(r))Y[t]={open:`[${n[0]}m`,close:`[${n[1]}m`},r[t]=Y[t],e.set(n[0],n[1]);Object.defineProperty(Y,t,{value:r,enumerable:!1})}return Object.defineProperty(Y,"codes",{value:e,enumerable:!1}),Y.color.close="[39m",Y.bgColor.close="[49m",Y.color.ansi=U(),Y.color.ansi256=z(),Y.color.ansi16m=G(),Y.bgColor.ansi=U(10),Y.bgColor.ansi256=z(10),Y.bgColor.ansi16m=G(10),Object.defineProperties(Y,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value(e){const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;3===r.length&&(r=[...r].map(e=>e+e).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>Y.rgbToAnsi256(...Y.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return e-8+90;let t,r,n;if(e>=232)t=(10*(e-232)+8)/255,r=t,n=t;else{const i=(e-=16)%36;t=Math.floor(e/36)/5,r=Math.floor(i/6)/5,n=i%6/5}const i=2*Math.max(t,r,n);if(0===i)return 30;let o=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return 2===i&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>Y.ansi256ToAnsi(Y.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>Y.ansi256ToAnsi(Y.hexToAnsi256(e)),enumerable:!1}}),Y}();function X(t,r=(globalThis.Deno?globalThis.Deno.args:e.argv)){const n=t.startsWith("-")?"":1===t.length?"-":"--",i=r.indexOf(n+t),o=r.indexOf("--");return-1!==i&&(-1===o||i<o)}const{env:q}=e;let $;function J(r,n={}){return 0!==(i=function(r,{streamIsTTY:n,sniffFlags:i=!0}={}){const o=function(){if("FORCE_COLOR"in q)return"true"===q.FORCE_COLOR?1:"false"===q.FORCE_COLOR?0:0===q.FORCE_COLOR.length?1:Math.min(Number.parseInt(q.FORCE_COLOR,10),3)}();void 0!==o&&($=o);const s=i?$:o;if(0===s)return 0;if(i){if(X("color=16m")||X("color=full")||X("color=truecolor"))return 3;if(X("color=256"))return 2}if("TF_BUILD"in q&&"AGENT_NAME"in q)return 1;if(r&&!n&&void 0===s)return 0;const a=s||0;if("dumb"===q.TERM)return a;if("win32"===e.platform){const e=t.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in q)return["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some(e=>e in q)?3:["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(e=>e in q)||"codeship"===q.CI_NAME?1:a;if("TEAMCITY_VERSION"in q)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q.TEAMCITY_VERSION)?1:0;if("truecolor"===q.COLORTERM)return 3;if("xterm-kitty"===q.TERM)return 3;if("TERM_PROGRAM"in q){const e=Number.parseInt((q.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(q.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q.TERM)||"COLORTERM"in q?1:a}(r,{streamIsTTY:r&&r.isTTY,...n}))&&{level:i,hasBasic:!0,has256:i>=2,has16m:i>=3};var i}X("no-color")||X("no-colors")||X("color=false")||X("color=never")?$=0:(X("color")||X("colors")||X("color=true")||X("color=always"))&&($=1);const Z={stdout:J({isTTY:r.isatty(1)}),stderr:J({isTTY:r.isatty(2)})};function K(e,t,r){let n=e.indexOf(t);if(-1===n)return e;const i=t.length;let o=0,s="";do{s+=e.slice(o,n)+t+r,o=n+i,n=e.indexOf(t,o)}while(-1!==n);return s+=e.slice(o),s}const{stdout:V,stderr:ee}=Z,te=Symbol("GENERATOR"),re=Symbol("STYLER"),ne=Symbol("IS_EMPTY"),ie=["ansi","ansi","ansi256","ansi16m"],oe=Object.create(null);function se(e){return(e=>{const t=(...e)=>e.join(" ");return((e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");const r=V?V.level:0;e.level=void 0===t.level?r:t.level})(t,e),Object.setPrototypeOf(t,se.prototype),t})(e)}Object.setPrototypeOf(se.prototype,Function.prototype);for(const[e,t]of Object.entries(W))oe[e]={get(){const r=pe(this,le(t.open,t.close,this[re]),this[ne]);return Object.defineProperty(this,e,{value:r}),r}};oe.visible={get(){const e=pe(this,this[re],!0);return Object.defineProperty(this,"visible",{value:e}),e}};const ae=(e,t,r,...n)=>"rgb"===e?"ansi16m"===t?W[r].ansi16m(...n):"ansi256"===t?W[r].ansi256(W.rgbToAnsi256(...n)):W[r].ansi(W.rgbToAnsi(...n)):"hex"===e?ae("rgb",t,r,...W.hexToRgb(...n)):W[r][e](...n),ue=["rgb","hex","ansi256"];for(const e of ue)oe[e]={get(){const{level:t}=this;return function(...r){const n=le(ae(e,ie[t],"color",...r),W.color.close,this[re]);return pe(this,n,this[ne])}}},oe["bg"+e[0].toUpperCase()+e.slice(1)]={get(){const{level:t}=this;return function(...r){const n=le(ae(e,ie[t],"bgColor",...r),W.bgColor.close,this[re]);return pe(this,n,this[ne])}}};const ce=Object.defineProperties(()=>{},{...oe,level:{enumerable:!0,get(){return this[te].level},set(e){this[te].level=e}}}),le=(e,t,r)=>{let n,i;return void 0===r?(n=e,i=t):(n=r.openAll+e,i=t+r.closeAll),{open:e,close:t,openAll:n,closeAll:i,parent:r}},pe=(e,t,r)=>{const n=(...e)=>fe(n,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(n,ce),n[te]=e,n[re]=t,n[ne]=r,n},fe=(e,t)=>{if(e.level<=0||!t)return e[ne]?"":t;let r=e[re];if(void 0===r)return t;const{openAll:n,closeAll:i}=r;if(t.includes(""))for(;void 0!==r;)t=K(t,r.close,r.open),r=r.parent;const o=t.indexOf("\n");return-1!==o&&(t=function(e,t,r,n){let i=0,o="";do{const s="\r"===e[n-1];o+=e.slice(i,s?n-1:n)+t+(s?"\r\n":"\n")+r,i=n+1,n=e.indexOf("\n",i)}while(-1!==n);return o+=e.slice(i),o}(t,i,n,o)),n+t+i};Object.defineProperties(se.prototype,oe);const de=se();se({level:ee?ee.level:0});class CLIError extends Error{errorCode;message;name="CLIError";constructor(e,t=Ae.GENERAL_ERROR){super(),this.message=e,this.errorCode=t}toString(){return this.message}}const Ae={INVALID_OPTIONS:-1,GENERAL_ERROR:1,NOT_FOUND_BROWSER:2,LISTEN_PORT_IS_ALREADY_USED:3,CANNOT_SPAWN_SNAP_CHROMIUM:4,NOT_FOUND_SOFFICE:5,NOT_FOUND_CHROMIUM:2};function he(e,t=Ae.GENERAL_ERROR){const r=new CLIError(e,t);throw n.d("%O",r),r}const ge=e=>"[object Error]"===Object.prototype.toString.call(e);var me,De,we={},be=function(){if(me)return we;function e(e,t,r){var n=e.length,i=0,o=1,s=0;function a(t){if(null===r)i+=t;else for(;t>0;)10===e.charCodeAt(i)?(i++,o++,s=0):(i++,s++),t--}function u(e){null===r?i=e:a(e-i)}function c(){for(;i<n;){var t=e.charCodeAt(i);if(32!==t&&9!==t&&13!==t&&10!==t)break;a(1)}}function l(t){return e.substr(i,t.length)===t&&(a(t.length),!0)}function p(t){var r=e.indexOf(t,i);u(-1!==r?r+t.length:n)}function f(t){var r=e.indexOf(t,i);if(-1!==r){var o=e.substring(i,r);return u(r+t.length),o}return o=e.substr(i),u(n),o}n>0&&65279===e.charCodeAt(0)&&(i=1);var d=0,A=null,h=[],g=[],m=null;function D(e,t){h.push(d),g.push(A),d=e,A=t}function w(){if(0===h.length)return b("illegal state stack");d=h.pop(),A=g.pop()}function b(t){throw new Error("Near offset "+i+": "+t+" ~~~"+e.substr(i,50)+"~~~")}function v(){var e;1===d?function(){if(null===m)return b("missing <key>");var e={};null!==r&&(e[r]={filename:t,line:o,char:s}),A[m]=e,m=null,D(1,e)}():2===d?(e={},null!==r&&(e[r]={filename:t,line:o,char:s}),A.push(e),D(1,e)):(A={},null!==r&&(A[r]={filename:t,line:o,char:s}),D(1,A))}function y(){if(1!==d)return b("unexpected </dict>");w()}function E(){var e;1===d?function(){if(null===m)return b("missing <key>");var e=[];A[m]=e,m=null,D(2,e)}():2===d?(e=[],A.push(e),D(2,e)):D(2,A=[])}function C(){return 1===d||2!==d?b("unexpected </array>"):void w()}function _(e){return 1!==d?b("unexpected <key>"):null!==m?b("too many <key>"):void(m=e)}function F(e){if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function k(e){if(isNaN(e))return b("cannot parse float");if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function P(e){if(isNaN(e))return b("cannot parse integer");if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function B(e){if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function x(e){if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function S(e){if(1===d){if(null===m)return b("missing <key>");A[m]=e,m=null}else 2===d?A.push(e):A=e}function R(){var e=f(">"),t=!1;return 47===e.charCodeAt(e.length-1)&&(t=!0,e=e.substring(0,e.length-1)),{name:e.trim(),isClosed:t}}function T(e){if(e.isClosed)return"";var t=f("</");return p(">"),t.replace(/&#([0-9]+);/g,function(e,t){return String.fromCodePoint(parseInt(t,10))}).replace(/&#x([0-9a-f]+);/g,function(e,t){return String.fromCodePoint(parseInt(t,16))}).replace(/&|<|>|"|'/g,function(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return e})}for(;i<n&&(c(),!(i>=n));){var O=e.charCodeAt(i);if(a(1),60!==O)return b("expected <");if(i>=n)return b("unexpected end of input");var I=e.charCodeAt(i);if(63!==I)if(33!==I){if(47===I){if(a(1),c(),l("plist")){p(">");continue}if(l("dict")){p(">"),y();continue}if(l("array")){p(">"),C();continue}return b("unexpected closed tag")}var L=R();switch(L.name){case"dict":v(),L.isClosed&&y();continue;case"array":E(),L.isClosed&&C();continue;case"key":_(T(L));continue;case"string":F(T(L));continue;case"real":k(parseFloat(T(L)));continue;case"integer":P(parseInt(T(L),10));continue;case"date":B(new Date(T(L)));continue;case"data":x(T(L));continue;case"true":T(L),S(!0);continue;case"false":T(L),S(!1);continue}if(!/^plist/.test(L.name))return b("unexpected opened tag "+L.name)}else{if(a(1),l("--")){p("--\x3e");continue}p(">")}else a(1),p("?>")}return A}return me=1,we.__esModule=!0,we.parse=we.parseWithLocation=void 0,we.parseWithLocation=function(t,r,n){return e(t,r,n)},we.parse=function(t){return e(t,null,null)},we}(),ve={},ye={};function Ee(){if(De)return ye;De=1,Object.defineProperty(ye,"__esModule",{value:!0}),ye.sync=ye.isexe=void 0;const e=s,t=a;ye.isexe=async(e,n={})=>{const{ignoreErrors:i=!1}=n;try{return r(await(0,t.stat)(e),n)}catch(e){const t=e;if(i||"EACCES"===t.code)return!1;throw t}},ye.sync=(t,n={})=>{const{ignoreErrors:i=!1}=n;try{return r((0,e.statSync)(t),n)}catch(e){const t=e;if(i||"EACCES"===t.code)return!1;throw t}};const r=(e,t)=>e.isFile()&&n(e,t),n=(e,t)=>{const r=t.uid??process.getuid?.(),n=t.groups??process.getgroups?.()??[],i=t.gid??process.getgid?.()??n[0];if(void 0===r||void 0===i)throw new Error("cannot get uid or gid");const o=new Set([i,...n]),s=e.mode,a=e.uid,u=e.gid,c=parseInt("100",8),l=parseInt("010",8),p=c|l;return!!(s&parseInt("001",8)||s&l&&o.has(u)||s&c&&a===r||s&p&&0===r)};return ye}var Ce,_e={};var Fe,ke,Pe,Be,xe={};function Se(){return ke||(ke=1,function(e){var t=ve&&ve.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=ve&&ve.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=ve&&ve.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(n,e,i);return r(n,e),n},i=ve&&ve.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)};Object.defineProperty(e,"__esModule",{value:!0}),e.sync=e.isexe=e.posix=e.win32=void 0;const o=n(Ee());e.posix=o;const u=n(function(){if(Ce)return _e;Ce=1,Object.defineProperty(_e,"__esModule",{value:!0}),_e.sync=_e.isexe=void 0;const e=s,t=a;_e.isexe=async(e,n={})=>{const{ignoreErrors:i=!1}=n;try{return r(await(0,t.stat)(e),e,n)}catch(e){const t=e;if(i||"EACCES"===t.code)return!1;throw t}},_e.sync=(t,n={})=>{const{ignoreErrors:i=!1}=n;try{return r((0,e.statSync)(t),t,n)}catch(e){const t=e;if(i||"EACCES"===t.code)return!1;throw t}};const r=(e,t,r)=>e.isFile()&&((e,t)=>{const{pathExt:r=process.env.PATHEXT||""}=t,n=r.split(";");if(-1!==n.indexOf(""))return!0;for(let t=0;t<n.length;t++){const r=n[t].toLowerCase(),i=e.substring(e.length-r.length).toLowerCase();if(r&&i===r)return!0}return!1})(t,r);return _e}());e.win32=u,i((Fe||(Fe=1,Object.defineProperty(xe,"__esModule",{value:!0})),xe),e);const c="win32"===(process.env._ISEXE_TEST_PLATFORM_||process.platform)?u:o;e.isexe=c.isexe,e.sync=c.sync}(ve)),ve}var Re=function(){if(Be)return Pe;Be=1;const{isexe:e,sync:t}=Se(),{join:r,delimiter:n,sep:i,posix:o}=u,s="win32"===process.platform,a=new RegExp(`[${o.sep}${i===o.sep?"":i}]`.replace(/(\\)/g,"\\$1")),c=new RegExp(`^\\.${a.source}`),l=e=>Object.assign(new Error(`not found: ${e}`),{code:"ENOENT"}),p=(e,{path:t=process.env.PATH,pathExt:r=process.env.PATHEXT,delimiter:i=n})=>{const o=e.match(a)?[""]:[...s?[process.cwd()]:[],...(t||"").split(i)];if(s){const t=r||[".EXE",".CMD",".BAT",".COM"].join(i),n=t.split(i).flatMap(e=>[e,e.toLowerCase()]);return e.includes(".")&&""!==n[0]&&n.unshift(""),{pathEnv:o,pathExt:n,pathExtExe:t}}return{pathEnv:o,pathExt:[""]}},f=(e,t)=>{const n=/^".*"$/.test(e)?e.slice(1,-1):e;return(!n&&c.test(t)?t.slice(0,2):"")+r(n,t)},d=async(t,r={})=>{const{pathEnv:n,pathExt:i,pathExtExe:o}=p(t,r),s=[];for(const a of n){const n=f(a,t);for(const t of i){const i=n+t;if(await e(i,{pathExt:o,ignoreErrors:!0})){if(!r.all)return i;s.push(i)}}}if(r.all&&s.length)return s;if(r.nothrow)return null;throw l(t)};return Pe=d,d.sync=(e,r={})=>{const{pathEnv:n,pathExt:i,pathExtExe:o}=p(e,r),s=[];for(const a of n){const n=f(a,e);for(const e of i){const i=n+e;if(t(i,{pathExt:o,ignoreErrors:!0})){if(!r.all)return i;s.push(i)}}}if(r.all&&s.length)return s;if(r.nothrow)return null;throw l(e)},Pe}(),Te=n.g(Re);const Oe=()=>{const e={value:void 0,init:async t=>await(e.value??=Promise.resolve(t()).then(t=>e.value=t))};return e},Ie=l.promisify(c.execFile),Le=({stdout:e})=>e.trim(),Me=async(e,t=!1)=>await Ie("wslpath",[t?"-m":"-w",e]).then(Le),Ne=async e=>await Ie("wslpath",["-u",e]).then(Le),He=async e=>{const t=await Ie("cmd.exe",["/c","SET",e]).then(Le);if(t.startsWith(`${e}=`))return t.slice(e.length+1)},je=Oe(),Qe=()=>je.init(async()=>{if(2!==await Ge())return null;try{return(await Ie("wslinfo",["--networking-mode"]).then(Le)).toLowerCase()}catch(e){return n.d("Error while detecting WSL networking mode: %o",e),"nat"}}),Ue=Oe(),ze=/microsoft-standard-wsl2/i,Ge=()=>Ue.init(async()=>{if((await Promise.resolve().then(function(){return require("./index-D5lJ6vST.js")})).default){const e=await(async()=>{if(process.env.WSL_DISTRO_NAME&&process.env.WSL_INTEROP)return!0;try{const e=await i.promises.readFile("/proc/version","utf8");if(ze.test(e))return!0;const t=e.match(/gcc[^,]+?(\d+)\.\d+\.\d+/);if(t&&Number.parseInt(t[1],10)>=8)return!0}catch(e){return n.d("Error while detecting WSL version: %o",e),n.d("Assuming current WSL version is the primary version 2"),!0}})()?2:1;return n.d("Detected WSL version: %s",e),e}return 0}),Ye=async()=>1===await Ge()?"wsl1":process.platform,We=async(e,t)=>{try{return await i.promises.access(e,t),!0}catch{return!1}},Xe=async e=>await We(e,i.constants.X_OK),qe=async(e,t)=>{const r=e.length;if(0!==r)return new Promise(i=>{const o=Array(r),s=Array(r);e.forEach((e,a)=>{t(e).then(e=>{o[a]=e,s[a]=!!e}).catch(e=>{n.a("%o",e),s[a]=!1}).finally(()=>{let e;for(let t=r-1;t>=0;t-=1)!1!==s[t]&&(e=t);void 0===e?i(void 0):s[e]&&i(o[e])})})})},$e=async e=>await qe(e,async e=>await Xe(e)?e:void 0),Je=async e=>"linux"===process.platform&&(!!e.startsWith("/snap/")||!(!Ze(e)||!(await i.promises.readFile(e)).includes("/snap/"))),Ze=e=>{let t=null;try{t=i.openSync(e,"r");const r=Buffer.alloc(2);if(i.readSync(t,r,0,2,0),35===r[0]&&33===r[1])return!0}catch{}finally{null!==t&&i.closeSync(t)}return!1},Ke=async e=>await qe(e,async e=>{const t=await Ve(e);if(t&&await Xe(t))return t}),Ve=async e=>await Te(e,{nothrow:!0})??void 0,et=/.app\/?$/,tt=async e=>{if("darwin"!==process.platform)return e;if(!et.test(e))return e;n.a(`Maybe macOS app bundle path: ${e}`);try{if((await i.promises.stat(e)).isDirectory()){const t=o.join(e,"Contents","Info.plist"),r=await i.promises.readFile(t),s=be.parse(r.toString());if("APPL"==s.CFBundlePackageType&&s.CFBundleExecutable){const t=o.join(e,"Contents","MacOS",s.CFBundleExecutable);return n.a(`macOS app bundle has been confirmed. Use normalized executable path: ${t}`),t}}}catch{}return e};var rt,nt,it,ot,st,at,ut=(nt||(nt=1,rt=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}),rt),ct=n.g(ut),lt={exports:{}},pt={exports:{}},ft={exports:{}};function dt(){return st||(st=1,function(e,t){var r;function n(e){function n(){if(n.enabled){var e=n,i=+new Date,o=i-(r||i);e.diff=o,e.prev=r,e.curr=i,r=i;for(var s=new Array(arguments.length),a=0;a<s.length;a++)s[a]=arguments[a];s[0]=t.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var u=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,function(r,n){if("%%"===r)return r;u++;var i=t.formatters[n];if("function"==typeof i){var o=s[u];r=i.call(e,o),s.splice(u,1),u--}return r}),t.formatArgs.call(e,s),(n.log||t.log||console.log.bind(console)).apply(e,s)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var r,n=0;for(r in e)n=(n<<5)-n+e.charCodeAt(r),n|=0;return t.colors[Math.abs(n)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=ft.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var r=("string"==typeof e?e:"").split(/[\s,]+/),n=r.length,i=0;i<n;i++)r[i]&&("-"===(e=r[i].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=function(){if(ot)return it;ot=1;var e=1e3,t=60*e,r=60*t,n=24*r;function i(e,t,r){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+r:Math.ceil(e/t)+" "+r+"s"}return it=function(o,s){s=s||{};var a=typeof o;if("string"===a&&o.length>0)return function(i){if(!((i=String(i)).length>100)){var o=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(i);if(o){var s=parseFloat(o[1]);switch((o[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"days":case"day":case"d":return s*n;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*t;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(o);if("number"===a&&!1===isNaN(o))return s.long?function(o){return i(o,n,"day")||i(o,r,"hour")||i(o,t,"minute")||i(o,e,"second")||o+" ms"}(o):function(i){return i>=n?Math.round(i/n)+"d":i>=r?Math.round(i/r)+"h":i>=t?Math.round(i/t)+"m":i>=e?Math.round(i/e)+"s":i+"ms"}(o);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(o))},it}(),t.names=[],t.skips=[],t.formatters={}}(0,ft.exports)),ft.exports}var At,ht,gt,mt={exports:{}},Dt=(ht||(ht=1,"undefined"!=typeof process&&"renderer"===process.type?lt.exports=(at||(at=1,function(e,t){function r(){var e;try{e=t.storage.debug}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=pt.exports=dt()).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var r=this.useColors;if(e[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+e[0]+(r?"%c ":" ")+"+"+t.humanize(this.diff),r){var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(i++,"%c"===e&&(o=i))}),e.splice(o,0,n)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=r,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(r())}(0,pt.exports)),pt.exports):lt.exports=(At||(At=1,function(e,t){var r=h,n=g;(t=mt.exports=dt()).init=function(e){e.inspectOpts={};for(var r=Object.keys(t.inspectOpts),n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(){return o.write(n.format.apply(n,arguments)+"\n")},t.formatArgs=function(e){var r=this.namespace;if(this.useColors){var n=this.color,i=" [3"+n+";1m"+r+" [0m";e[0]=i+e[0].split("\n").join("\n"+i),e.push("[3"+n+"m+"+t.humanize(this.diff)+"[0m")}else e[0]=(new Date).toUTCString()+" "+r+" "+e[0]},t.save=function(e){null==e?delete process.env.DEBUG:process.env.DEBUG=e},t.load=a,t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(i)},t.colors=[6,2,3,4,5,1],t.inspectOpts=Object.keys(process.env).filter(function(e){return/^debug_/i.test(e)}).reduce(function(e,t){var r=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(e,t){return t.toUpperCase()}),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{});var i=parseInt(process.env.DEBUG_FD,10)||2;1!==i&&2!==i&&n.deprecate(function(){},"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")();var o=1===i?process.stdout:2===i?process.stderr:function(e){var t;switch(process.binding("tty_wrap").guessHandleType(e)){case"TTY":(t=new r.WriteStream(e))._type="tty",t._handle&&t._handle.unref&&t._handle.unref();break;case"FILE":(t=new s.SyncWriteStream(e,{autoClose:!1}))._type="fs";break;case"PIPE":case"TCP":(t=new m.Socket({fd:e,readable:!1,writable:!0})).readable=!1,t.read=null,t._type="pipe",t._handle&&t._handle.unref&&t._handle.unref();break;default:throw new Error("Implement me. Unknown stream file type!")}return t.fd=e,t._isStdio=!0,t}(i);function a(){return process.env.DEBUG}t.formatters.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(function(e){return e.trim()}).join(" ")},t.formatters.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)},t.enable(a())}(0,mt.exports)),mt.exports)),lt.exports),wt=n.g(Dt),bt="undefined"!=typeof performance&&performance,vt=process.hrtime,yt=function(){var e=vt();return 1e9*e[0]+e[1]},Et=yt();gt=function(){return(yt()-Et)/1e6};var Ct,_t,Ft,kt,Pt=bt&&bt.now?function(){return bt.now()}:gt;function Bt(e){if(!e)throw new Error("name must be non-empty")}if(bt&&bt.mark&&bt.measure&&bt.getEntriesByName&&bt.getEntriesByType&&bt.clearMarks&&bt.clearMeasures&&bt.clearResourceTimings)Ct=function(e){Bt(e),bt.mark("start "+e)},_t=function(e){Bt(e),bt.mark("end "+e);var t=bt.measure(e,"start "+e,"end "+e);if(t)return t;var r=bt.getEntriesByName(e);return r[r.length-1]},Ft=function(){return bt.getEntriesByType("measure")},kt=function(){bt.clearMarks(),bt.clearMeasures()};else{var xt={},St=[];Ct=function(e){Bt(e);var t=Pt();xt["$"+e]=t},_t=function(e){Bt(e);var t=Pt(),r=xt["$"+e];if(!r)throw new Error("no known mark: "+e);var n={startTime:r,name:e,duration:t-r,entryType:"measure"};return function(e,t){for(var r,n=0,i=e.length;n<i;)e[r=n+i>>>1].startTime<t.startTime?n=r+1:i=r;e.splice(n,0,t)}(St,n),n},Ft=function(){return St},kt=function(){xt={},St=[]}}
|
||
/**
|
||
* @license Copyright 2016 The Lighthouse Authors. All Rights Reserved.
|
||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||
*/const Rt="win32"===d.platform,Tt=d.browser,Ot={red:Tt?"crimson":1,yellow:Tt?"gold":3,cyan:Tt?"darkturquoise":6,green:Tt?"forestgreen":2,blue:Tt?"steelblue":4,magenta:Tt?"palevioletred":5};wt.colors=[Ot.cyan,Ot.green,Ot.blue,Ot.magenta];class It extends A.EventEmitter{issueStatus(e,t){"status"!==e&&"statusEnd"!==e||this.emit(e,[e,...t])}issueWarning(e,t){this.emit("warning",[e,...t])}}const Lt={};let Mt;class Nt{static _logToStdErr(e,t){Nt.loggerfn(e)(...t)}static loggerfn(e){let t=Lt[e=`LH:${e}`];return t||(t=wt(e),Lt[e]=t,e.endsWith("error")?t.color=Ot.red:e.endsWith("warn")&&(t.color=Ot.yellow)),t}static setLevel(e){switch(Mt=e,e){case"silent":wt.enable("-LH:*");break;case"verbose":wt.enable("LH:*");break;case"warn":wt.enable("-LH:*, LH:*:warn, LH:*:error");break;case"error":wt.enable("-LH:*, LH:*:error");break;default:wt.enable("LH:*, -LH:*:verbose")}}static formatProtocol(e,t,r){const n=!d||d.browser?1/0:d.stdout.columns,i=t.method||"?????",o=n-i.length-e.length-25,s=t.params&&"IO.read"!==i?JSON.stringify(t.params).substr(0,o):"";Nt._logToStdErr(`${e}:${r||""}`,[i,s])}static isVerbose(){return"verbose"===Mt}static time({msg:e,id:t,args:r=[]},n="log"){Ct(t),Nt[n]("status",e,...r)}static timeEnd({msg:e,id:t,args:r=[]},n="verbose"){Nt[n]("statusEnd",e,...r),_t(t)}static log(e,...t){return Nt.events.issueStatus(e,t),Nt._logToStdErr(e,t)}static warn(e,...t){return Nt.events.issueWarning(e,t),Nt._logToStdErr(`${e}:warn`,t)}static error(e,...t){return Nt._logToStdErr(`${e}:error`,t)}static verbose(e,...t){return Nt.events.issueStatus(e,t),Nt._logToStdErr(`${e}:verbose`,t)}static greenify(e){return`${Nt.green}${e}${Nt.reset}`}static redify(e){return`${Nt.red}${e}${Nt.reset}`}static get green(){return"[32m"}static get red(){return"[31m"}static get yellow(){return"[33m"}static get purple(){return"[95m"}static get reset(){return"[0m"}static get bold(){return"[1m"}static get dim(){return"[2m"}static get tick(){return Rt?"√":"✓"}static get cross(){return Rt?"×":"✘"}static get whiteSmallSquare(){return Rt?"·":"▫"}static get heavyHorizontal(){return Rt?"─":"━"}static get heavyVertical(){return Rt?"│ ":"┃ "}static get heavyUpAndRight(){return Rt?"└":"┗"}static get heavyVerticalAndRight(){return Rt?"├":"┣"}static get heavyDownAndHorizontal(){return Rt?"┬":"┳"}static get doubleLightHorizontal(){return"──"}}Nt.events=new It,Nt.takeTimeEntries=()=>{const e=Ft();return kt(),e},Nt.getTimeEntries=()=>Ft();var Ht,jt,Qt,Ut={exports:{}};!function(){if(Qt)return Ut.exports;Qt=1;const e=p,t=s,r=function(){if(jt)return Ht;jt=1;const e=s;let t;return Ht=()=>(void 0===t&&(t=function(){try{return e.statSync("/.dockerenv"),!0}catch(e){return!1}}()||function(){try{return e.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(e){return!1}}()),t)}(),n=()=>{if("linux"!==process.platform)return!1;if(e.release().toLowerCase().includes("microsoft"))return!r();try{return!!t.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")&&!r()}catch(e){return!1}};process.env.__IS_WSL_TEST__?Ut.exports=n:Ut.exports=n(),Ut.exports}();
|
||
/**
|
||
* @license Copyright 2017 Google Inc. All Rights Reserved.
|
||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||
*/
|
||
class zt extends Error{constructor(e="Unexpected error",t){return super(),this.message=e,this.code=t,this.stack=(new Error).stack,this}}class Gt extends zt{constructor(){super(...arguments),this.message="The CHROME_PATH environment variable must be set to a Chrome/Chromium executable no older than Chrome stable.",this.code="ERR_LAUNCHER_PATH_NOT_SET"}}function Yt(e,t){try{return f.execFileSync("wslpath",["-u",e]).toString().trim()}catch{return t}}
|
||
/**
|
||
* @license Copyright 2016 Google Inc. All Rights Reserved.
|
||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
||
*/
|
||
const Wt=/\r?\n/;function Xt(){return Jt(process.env.CHROME_PATH)?process.env.CHROME_PATH:Jt(process.env.LIGHTHOUSE_CHROMIUM_PATH)?(Nt.warn("ChromeLauncher","LIGHTHOUSE_CHROMIUM_PATH is deprecated, use CHROME_PATH env variable instead."),process.env.LIGHTHOUSE_CHROMIUM_PATH):void 0}function qt(){const e=[],t=[`${u.sep}Google${u.sep}Chrome SxS${u.sep}Application${u.sep}chrome.exe`,`${u.sep}Google${u.sep}Chrome${u.sep}Application${u.sep}chrome.exe`],r=[process.env.LOCALAPPDATA,process.env.PROGRAMFILES,process.env["PROGRAMFILES(X86)"]].filter(Boolean),n=Xt();return n&&e.push(n),r.forEach(r=>t.forEach(t=>{const n=u.join(r,t);Jt(n)&&e.push(n)})),e}function $t(e,t){return e.map(e=>{for(const r of t)if(r.regex.test(e))return{path:e,weight:r.weight};return{path:e,weight:10}}).sort((e,t)=>t.weight-e.weight).map(e=>e.path)}function Jt(e){if(!e)return!1;try{return s.accessSync(e),!0}catch(e){return!1}}let Zt,Kt;function Vt(){return void 0===Kt&&(Kt=(()=>{try{return i.statSync("/run/.containerenv"),!0}catch{return!1}})()||(void 0===Zt&&(Zt=function(){try{return i.statSync("/.dockerenv"),!0}catch{return!1}}()||function(){try{return i.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}()),Zt)),Kt}const er=()=>!!process.env.MARP_USER;let tr,rr,nr;function ir(e=21){var t;t=e|=0,!tr||tr.length<t?(tr=Buffer.allocUnsafe(128*t),v.webcrypto.getRandomValues(tr),rr=0):rr+t>tr.length&&(v.webcrypto.getRandomValues(tr),rr=0),rr+=t;let r="";for(let t=rr-e;t<rr;t++)r+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&tr[t]];return r}const or=/^\/mnt\/[a-z]\//;class sr extends w.EventEmitter{static kind;static protocol;path;protocolTimeout;timeout;#e;_puppeteerDataDir=Oe();_puppeteer=Oe();constructor(e){super(),this.#e=`marp-cli-${ir(10)}`,this.path=e.path,this.timeout=e.timeout??3e4,this.protocolTimeout=0===this.timeout?0:Math.max(18e4,this.timeout)}get kind(){return this.constructor.kind}get protocol(){return this.constructor.protocol}async launch(e={}){return this._puppeteer.init(async()=>{n.b("Launching browser via Puppeteer...");const t=await this.launchPuppeteer(e);return t.once("disconnected",()=>{this.emit("disconnect",t),this._puppeteer.value=void 0,n.b("Browser disconnected (Cleaned up puppeteer instance)")}),this.emit("launch",t),t})}async withPage(e){const t=ir(8),r=await this.launch(),i=await r.newPage();n.b("Created a new page [%s]",t),i.setDefaultTimeout(this.timeout),i.setDefaultNavigationTimeout(this.timeout);try{return await e(i)}finally{await i.close(),n.b("Page closed [%s]",t)}}async close(){const e=await this._puppeteer.value;e&&(e.connected&&(await e.close(),this.emit("close",e)),this._puppeteer.value=void 0)}async[Symbol.asyncDispose](){await this.close()}async browserInWSLHost(){return!!await Ge()&&or.test((this._puppeteer.value&&!b.isPromise(this._puppeteer.value)?this._puppeteer.value.process()?.spawnfile:null)??this.path)}async resolveToFileURI(e){return await this.browserInWSLHost()?`file:${await Me(e,!0)}`:`file://${e}`}async generateLaunchOptions(e={}){const t={browser:this.kind,executablePath:this.path,headless:!0,protocol:this.protocol,protocolTimeout:this.protocolTimeout,timeout:this.timeout,...e};return await this.browserInWSLHost()&&(t.env={}),t}async puppeteerDataDir(){return this._puppeteerDataDir.init(async()=>{let e=!1;const r=await(async()=>await this.browserInWSLHost()&&(void 0===nr&&(nr=await He("TMP")),void 0!==nr)?(e=!0,o.win32.resolve(nr,this.#e)):o.resolve(t.tmpdir(),this.#e))(),s=e?await Ne(r):r;return await i.promises.mkdir(s,{recursive:!0}),n.b("Created data directory: %s",s),r})}}class ar extends sr{static kind="chrome";static protocol="webDriverBiDi";async launchPuppeteer(e){const t=new Set("object"==typeof e.ignoreDefaultArgs?e.ignoreDefaultArgs:[]);process.env.CHROME_ENABLE_EXTENSIONS&&t.add("--disable-extensions");const r=await this.generateLaunchOptions({headless:this.puppeteerHeadless(),pipe:await this.puppeteerPipe(),...e,userDataDir:void 0,args:await this.puppeteerArgs(e.args??[]),ignoreDefaultArgs:!0===e.ignoreDefaultArgs||[...t]}),n=async(e={})=>{const t={...r,...e};try{return await D.launch(t)}catch(r){if(ge(r)){if(t.pipe)return await n({...e,pipe:!1});/need to run as root or suid/im.test(r.message)&&await Je(this.path)&&he("Marp CLI has detected trying to spawn Chromium browser installed by snap, from the confined environment like another snap app. At least either of Chrome/Chromium or the shell environment must be non snap app.",Ae.CANNOT_SPAWN_SNAP_CHROMIUM)}throw r}};return await n()}async puppeteerArgs(e=[]){const t=new Set([`--user-data-dir=${await this.puppeteerDataDir()}`,"--disable-component-update","--test-type",...e]);return await this.puppeteerArgsEnableSandbox()||t.add("--no-sandbox"),this.puppeteerArgsEnableGPU()||t.add("--disable-gpu"),[...t]}async puppeteerArgsEnableSandbox(){return!process.env.CHROME_NO_SANDBOX&&0!==process.getuid?.()&&!(er()||Vt()&&!process.env.MARP_TEST_CI)&&!await Ge()}puppeteerArgsEnableGPU(){return!process.env.CHROME_DISABLE_GPU}async puppeteerPipe(){return!await Ge()&&!await Je(this.path)}puppeteerHeadless(){const e=process.env.PUPPETEER_HEADLESS_MODE?.toLowerCase()??"";return!["old","legacy","shell"].includes(e)||"shell"}}class ur extends ar{static protocol="cdp";async launchPuppeteer(e){const t=await super.launchPuppeteer(e);return"darwin"===process.platform&&t.target().createCDPSession().then(e=>{e.send("Browser.setDockTile",{image:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABAAAAAQACAMAAABIw9uxAAAAAXNSR0IArs4c6QAAAkBQTFRFAAAAAAAAAAAAAAAA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W3wCghQbwDQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHJ//AE5GWZUScpTFAAAAAElFTkSuQmCC".slice(22)}).catch(()=>{})}),t}}const cr=e=>({path:e,acceptedBrowsers:[ar,ur]}),lr=async({preferredPath:e}={})=>{if(e)return cr(e);if(process.env.CHROME_PATH){const e=await tt(process.env.CHROME_PATH);if(e&&await Xe(e))return cr(e)}const t=await Ye(),r=await(async()=>{switch(t){case"darwin":return pr();case"linux":return await fr();case"win32":return dr();case"wsl1":return Ar()}return await hr()})();if(r)return cr(r);he("Chrome browser could not be found.",Ae.NOT_FOUND_BROWSER)},pr=()=>function(){const e=[process.env.CHROME_PATH,process.env.LIGHTHOUSE_CHROMIUM_PATH,"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary","/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"];for(const t of e)if(t&&Jt(t))return t;return function(){const e=["/Contents/MacOS/Google Chrome Canary","/Contents/MacOS/Google Chrome"],t=[],r=Xt();r&&t.push(r),f.execSync("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -i 'google chrome\\( canary\\)\\?\\.app' | awk '{$1=\"\"; print $0}'").toString().split(Wt).forEach(r=>{e.forEach(e=>{const n=u.join(r.substring(0,r.indexOf(".app")+4).trim(),e);Jt(n)&&-1===t.indexOf(n)&&t.push(n)})});const n=ct(process.env.HOME||p.homedir()),i=[{regex:new RegExp(`^${n}/Applications/.*Chrome\\.app`),weight:50},{regex:new RegExp(`^${n}/Applications/.*Chrome Canary\\.app`),weight:51},{regex:/^\/Applications\/.*Chrome.app/,weight:100},{regex:/^\/Applications\/.*Chrome Canary.app/,weight:101},{regex:/^\/Volumes\/.*Chrome.app/,weight:-2},{regex:/^\/Volumes\/.*Chrome Canary.app/,weight:-1}];return process.env.LIGHTHOUSE_CHROMIUM_PATH&&i.unshift({regex:new RegExp(ct(process.env.LIGHTHOUSE_CHROMIUM_PATH)),weight:150}),process.env.CHROME_PATH&&i.unshift({regex:new RegExp(ct(process.env.CHROME_PATH)),weight:151}),$t(t,i)}()[0]}(),fr=async()=>{try{const e=function(){let e=[];const t=Xt();if(t&&e.push(t),[u.join(p.homedir(),".local/share/applications/"),"/usr/share/applications/"].forEach(t=>{e=e.concat(function(e){const t=/(^[^ ]+).*/,r="^Exec=/.*/(google-chrome|chrome|chromium)-.*";let n=[];if(Jt(e)){let i;try{i=f.execSync(`grep -ER "${r}" ${e} | awk -F '=' '{print $2}'`,{stdio:"pipe"})}catch(t){i=f.execSync(`grep -Er "${r}" ${e} | awk -F '=' '{print $2}'`,{stdio:"pipe"})}i=i.toString().split(Wt).map(e=>e.replace(t,"$1")),i.forEach(e=>Jt(e)&&n.push(e))}return n}(t))}),["google-chrome-stable","google-chrome","chromium-browser","chromium"].forEach(t=>{try{const r=f.execFileSync("which",[t],{stdio:"pipe"}).toString().split(Wt)[0];Jt(r)&&e.push(r)}catch(e){}}),!e.length)throw new Gt;const r=[{regex:/chrome-wrapper$/,weight:51},{regex:/google-chrome-stable$/,weight:50},{regex:/google-chrome$/,weight:49},{regex:/chromium-browser$/,weight:48},{regex:/chromium$/,weight:47}];return process.env.LIGHTHOUSE_CHROMIUM_PATH&&r.unshift({regex:new RegExp(ct(process.env.LIGHTHOUSE_CHROMIUM_PATH)),weight:100}),process.env.CHROME_PATH&&r.unshift({regex:new RegExp(ct(process.env.CHROME_PATH)),weight:101}),$t((n=e.filter(Boolean),Array.from(new Set(n))),r);var n}()[0];if(e)return e}catch{}if("mirrored"===await Qe())return Ar()},dr=()=>qt()[0],Ar=()=>(process.env.LOCALAPPDATA=function(e){const t=/\/([a-z])\/Users\/([^\/:]+)\/AppData\//.exec(e)||[];return Yt(`${t[1]}:\\Users\\${t[2]}\\AppData\\Local`,function(e){const t=/\/mnt\/([a-z])\/Users\/([^\/:]+)\/AppData\//.exec(e)||[];return`/mnt/${t[1]}/Users/${t[2]}/AppData/Local`}(e))}(`${process.env.PATH}`),process.env.PROGRAMFILES=Yt("C:/Program Files","/mnt/c/Program Files"),process.env["PROGRAMFILES(X86)"]=Yt("C:/Program Files (x86)","/mnt/c/Program Files (x86)"),qt())[0],hr=async()=>await Ke(["google-chrome-stable","google-chrome","chrome","chromium-browser","chromium"]),gr=e=>({path:e,acceptedBrowsers:[ar,ur]}),mr=async({programFiles:e=process.env.PROGRAMFILES,programFilesX86:t=process.env["PROGRAMFILES(X86)"],localAppData:r=process.env.LOCALAPPDATA,join:n=o.join}={})=>{const i=[],s=[["Microsoft","Edge SxS","Application","msedge.exe"],["Microsoft","Edge Dev","Application","msedge.exe"],["Microsoft","Edge Beta","Application","msedge.exe"],["Microsoft","Edge","Application","msedge.exe"]];for(const o of s)for(const s of[r,e,t])s&&i.push(n(s,...o));return await $e(i)},Dr=async()=>{const e=await He("LOCALAPPDATA");return await mr({programFiles:"/mnt/c/Program Files",programFilesX86:"/mnt/c/Program Files (x86)",localAppData:e?await Ne(e):"",join:o.posix.join})};class wr extends sr{static kind="firefox";static protocol="webDriverBiDi";async launchPuppeteer(e){return await D.launch(await this.generateLaunchOptions({...e,userDataDir:process.env.CIRCLECI||await this.browserInWSLHost()?void 0:await this.puppeteerDataDir()}))}}const br=e=>({path:e,acceptedBrowsers:[wr]}),vr=["Nightly","firefox.exe"],yr=["Firefox Nightly","firefox.exe"],Er=["Firefox Developer Edition","firefox.exe"],Cr=["Mozilla Firefox","firefox.exe"],_r={chrome:lr,edge:async({preferredPath:e}={})=>{if(e)return gr(e);const t=await Ye(),r=await(async()=>{switch(t){case"darwin":return await(async()=>await $e(["/Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary","/Applications/Microsoft Edge Dev.app/Contents/MacOS/Microsoft Edge Dev","/Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Beta","/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge"]))();case"linux":return await(async()=>await $e(["/opt/microsoft/msedge-canary/msedge","/opt/microsoft/msedge-dev/msedge","/opt/microsoft/msedge-beta/msedge","/opt/microsoft/msedge/msedge"]))()||("mirrored"===await Qe()?await Dr():void 0);case"win32":return await mr();case"wsl1":return await Dr()}})();if(r)return gr(r);he("Edge browser could not be found.",Ae.NOT_FOUND_BROWSER)},firefox:async({preferredPath:e}={})=>{if(e)return br(e);if(process.env.FIREFOX_PATH){const e=await tt(process.env.FIREFOX_PATH);if(e&&await Xe(e))return br(e)}const t=await Ye(),r=await(async()=>{switch(t){case"darwin":return await(async()=>await $e(["/Applications/Firefox Nightly.app/Contents/MacOS/firefox","/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox","/Applications/Firefox.app/Contents/MacOS/firefox"]))();case"win32":return await(async()=>{const e=[],t=/^[a-z]:\\/i;for(const r of(()=>{const e=new Set(["c"]),r=process.env.PATH?.split(";")??[];for(const n of r)t.test(n)&&e.add(n[0].toLowerCase());return Array.from(e).sort()})())for(const t of[process.env.PROGRAMFILES,process.env["PROGRAMFILES(X86)"]])t&&e.push(`${r}${t.slice(1)}`);return await $e([vr,yr,Er,Cr].flatMap(t=>e.map(e=>o.join(e,...t))))})();case"wsl1":return await(async()=>{const e=[],t=/^\/mnt\/[a-z]\//i;for(const r of(()=>{const e=new Set(["c"]),r=process.env.PATH?.split(":")??[];for(const n of r)t.test(n)&&e.add(n[5].toLowerCase());return Array.from(e).sort()})())e.push(`/mnt/${r}/Program Files`),e.push(`/mnt/${r}/Program Files (x86)`);return await $e([vr,yr,Er,Cr].flatMap(t=>e.map(e=>o.posix.join(e,...t))))})()}return await(async()=>await Ke(["firefox-nightly","firefox-developer-edition","firefox-developer","firefox-dev","firefox-beta","firefox","firefox-esr"]))()})();if(r)return br(r);he("Firefox browser could not be found.",Ae.NOT_FOUND_BROWSER)}},Fr=Object.keys(_r),kr=["chrome","edge","firefox"];class Pr{_finders=kr;_finderPreferredPath;_finderResult=Oe();_conversionBrowser=Oe();_preferredProtocol="webDriverBiDi";_previewBrowser=Oe();_timeout;constructor(e={}){this.configure(e)}get timeout(){return this._timeout}configure(e){e.finders&&(this._finders=[].concat(e.finders),this._finderResult.value=void 0),void 0!==e.path&&(this._finderPreferredPath=e.path,this._finderResult.value=void 0),e.protocol&&(this._conversionBrowser.value&&n.b("WARNING: Changing protocol after created browser for conversion is not supported"),this._preferredProtocol=e.protocol),void 0!==e.timeout&&(this._timeout=e.timeout),n.b("Browser manager configured: %o",e)}async findBrowser(){return this._finderResult.init(()=>(async(e=kr,t={})=>{let r=!1;const i=(...e)=>{if(!r)return n.a(...e)},o=e.length,s={preferredPath:await(async()=>{if(t.preferredPath){const e=await tt(t.preferredPath);if(await Xe(e))return e}})()};if(0===o){if(i("No browser finder specified."),s.preferredPath)return i("Use preferred path as Chrome: %s",s.preferredPath),await lr(s);throw new CLIError("No suitable browser found.",Ae.NOT_FOUND_BROWSER)}return i(`Start finding browser from ${e.join(", ")} (%o)`,s),new Promise((t,r)=>{const n=Array(o),a=Array(o);e.forEach((u,c)=>{(0,_r[u])(s).then(e=>{i(`Found ${u}: %o`,e),n[c]=e,a[c]=!0}).catch(e=>{i(`Finder ${u} was failed: %o`,e),a[c]=!1}).finally(()=>{let i;for(let e=o-1;e>=0;e-=1)!1!==a[e]&&(i=e);void 0===i?r(new CLIError(`No suitable browser found. Please ensure one of the following browsers is installed: ${e.join(", ")}`,Ae.NOT_FOUND_BROWSER)):a[i]&&t(n[i])})})}).then(e=>(i("Use browser: %o",e),r=!0,e))})(this._finders,{preferredPath:this._finderPreferredPath}))}async browserForConversion(){return this._conversionBrowser.init(async()=>{const{acceptedBrowsers:e,path:t}=await this.findBrowser(),r=e.find(({protocol:e})=>e===this._preferredProtocol)||(()=>(e.length>0&&n.b('The available browsers do not support the preferred protocol "%s". Using the first available browser.',this._preferredProtocol),e[0]))();return r||he("No browser found for conversion"),n.b("Use browser class for conversion: %o",r),new r({path:t,timeout:this.timeout})})}async browserForPreview(){return this._previewBrowser.init(async()=>{const{acceptedBrowsers:e,path:t}=await this.findBrowser();return e.some(e=>e===ur)||he("No browser found for preview"),n.b("Use browser class for preview: %o",ur),new ur({path:t,timeout:this.timeout})})}async dispose(){await Promise.all([(async()=>{await((await this._conversionBrowser.value)?.close()),this._conversionBrowser.value=void 0})(),(async()=>{await((await this._previewBrowser.value)?.close()),this._previewBrowser.value=void 0})()])}async[Symbol.asyncDispose](){await this.dispose()}}const Br=function({onlyFirst:e=!1}={}){const t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}();function xr(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Br,"")}function Sr(e,{ambiguousAsWide:t=!1}={}){return function(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}(e),12288===(r=e)||r>=65281&&r<=65376||r>=65504&&r<=65510||function(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9776&&e<=9783||e>=9800&&e<=9811||9855===e||e>=9866&&e<=9871||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}(e)||t&&function(e){return 161===e||164===e||167===e||168===e||170===e||173===e||174===e||e>=176&&e<=180||e>=182&&e<=186||e>=188&&e<=191||198===e||208===e||215===e||216===e||e>=222&&e<=225||230===e||e>=232&&e<=234||236===e||237===e||240===e||242===e||243===e||e>=247&&e<=250||252===e||254===e||257===e||273===e||275===e||283===e||294===e||295===e||299===e||e>=305&&e<=307||312===e||e>=319&&e<=322||324===e||e>=328&&e<=331||333===e||338===e||339===e||358===e||359===e||363===e||462===e||464===e||466===e||468===e||470===e||472===e||474===e||476===e||593===e||609===e||708===e||711===e||e>=713&&e<=715||717===e||720===e||e>=728&&e<=731||733===e||735===e||e>=768&&e<=879||e>=913&&e<=929||e>=931&&e<=937||e>=945&&e<=961||e>=963&&e<=969||1025===e||e>=1040&&e<=1103||1105===e||8208===e||e>=8211&&e<=8214||8216===e||8217===e||8220===e||8221===e||e>=8224&&e<=8226||e>=8228&&e<=8231||8240===e||8242===e||8243===e||8245===e||8251===e||8254===e||8308===e||8319===e||e>=8321&&e<=8324||8364===e||8451===e||8453===e||8457===e||8467===e||8470===e||8481===e||8482===e||8486===e||8491===e||8531===e||8532===e||e>=8539&&e<=8542||e>=8544&&e<=8555||e>=8560&&e<=8569||8585===e||e>=8592&&e<=8601||8632===e||8633===e||8658===e||8660===e||8679===e||8704===e||8706===e||8707===e||8711===e||8712===e||8715===e||8719===e||8721===e||8725===e||8730===e||e>=8733&&e<=8736||8739===e||8741===e||e>=8743&&e<=8748||8750===e||e>=8756&&e<=8759||8764===e||8765===e||8776===e||8780===e||8786===e||8800===e||8801===e||e>=8804&&e<=8807||8810===e||8811===e||8814===e||8815===e||8834===e||8835===e||8838===e||8839===e||8853===e||8857===e||8869===e||8895===e||8978===e||e>=9312&&e<=9449||e>=9451&&e<=9547||e>=9552&&e<=9587||e>=9600&&e<=9615||e>=9618&&e<=9621||9632===e||9633===e||e>=9635&&e<=9641||9650===e||9651===e||9654===e||9655===e||9660===e||9661===e||9664===e||9665===e||e>=9670&&e<=9672||9675===e||e>=9678&&e<=9681||e>=9698&&e<=9701||9711===e||9733===e||9734===e||9737===e||9742===e||9743===e||9756===e||9758===e||9792===e||9794===e||9824===e||9825===e||e>=9827&&e<=9829||e>=9831&&e<=9834||9836===e||9837===e||9839===e||9886===e||9887===e||9919===e||e>=9926&&e<=9933||e>=9935&&e<=9939||e>=9941&&e<=9953||9955===e||9960===e||9961===e||e>=9963&&e<=9969||9972===e||e>=9974&&e<=9977||9979===e||9980===e||9982===e||9983===e||10045===e||e>=10102&&e<=10111||e>=11094&&e<=11097||e>=12872&&e<=12879||e>=57344&&e<=63743||e>=65024&&e<=65039||65533===e||e>=127232&&e<=127242||e>=127248&&e<=127277||e>=127280&&e<=127337||e>=127344&&e<=127373||127375===e||127376===e||e>=127387&&e<=127404||e>=917760&&e<=917999||e>=983040&&e<=1048573||e>=1048576&&e<=1114109}(e)?2:1;var r}var Rr=()=>/[#*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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\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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;const Tr=new Intl.Segmenter,Or=/^\p{Default_Ignorable_Code_Point}$/u;function Ir(e,t={}){if("string"!=typeof e||0===e.length)return 0;const{ambiguousIsNarrow:r=!0,countAnsiEscapeCodes:n=!1}=t;if(n||(e=xr(e)),0===e.length)return 0;let i=0;const o={ambiguousAsWide:!r};for(const{segment:t}of Tr.segment(e)){const e=t.codePointAt(0);e<=31||e>=127&&e<=159||e>=8203&&e<=8207||65279===e||e>=768&&e<=879||e>=6832&&e<=6911||e>=7616&&e<=7679||e>=8400&&e<=8447||e>=65056&&e<=65071||e>=55296&&e<=57343||e>=65024&&e<=65039||Or.test(t)||(Rr().test(t)?i+=2:i+=Sr(e,o))}return i}const Lr=(e=0)=>t=>`[${t+e}m`,Mr=(e=0)=>t=>`[${38+e};5;${t}m`,Nr=(e=0)=>(t,r,n)=>`[${38+e};2;${t};${r};${n}m`,Hr={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(Hr.modifier),Object.keys(Hr.color),Object.keys(Hr.bgColor);const jr=function(){const e=new Map;for(const[t,r]of Object.entries(Hr)){for(const[t,n]of Object.entries(r))Hr[t]={open:`[${n[0]}m`,close:`[${n[1]}m`},r[t]=Hr[t],e.set(n[0],n[1]);Object.defineProperty(Hr,t,{value:r,enumerable:!1})}return Object.defineProperty(Hr,"codes",{value:e,enumerable:!1}),Hr.color.close="[39m",Hr.bgColor.close="[49m",Hr.color.ansi=Lr(),Hr.color.ansi256=Mr(),Hr.color.ansi16m=Nr(),Hr.bgColor.ansi=Lr(10),Hr.bgColor.ansi256=Mr(10),Hr.bgColor.ansi16m=Nr(10),Object.defineProperties(Hr,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:e=>{const t=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!t)return[0,0,0];let[r]=t;3===r.length&&(r=[...r].map(e=>e+e).join(""));const n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>Hr.rgbToAnsi256(...Hr.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value:e=>{if(e<8)return 30+e;if(e<16)return e-8+90;let t,r,n;if(e>=232)t=(10*(e-232)+8)/255,r=t,n=t;else{const i=(e-=16)%36;t=Math.floor(e/36)/5,r=Math.floor(i/6)/5,n=i%6/5}const i=2*Math.max(t,r,n);if(0===i)return 30;let o=30+(Math.round(n)<<2|Math.round(r)<<1|Math.round(t));return 2===i&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,t,r)=>Hr.ansi256ToAnsi(Hr.rgbToAnsi256(e,t,r)),enumerable:!1},hexToAnsi:{value:e=>Hr.ansi256ToAnsi(Hr.hexToAnsi256(e)),enumerable:!1}}),Hr}(),Qr=new Set(["",""]),Ur="]8;;",zr=e=>`${Qr.values().next().value}[${e}m`,Gr=e=>`${Qr.values().next().value}${Ur}${e}`,Yr=(e,t,r)=>{const n=[...t];let i=!1,o=!1,s=Ir(xr(e.at(-1)));for(const[t,a]of n.entries()){const u=Ir(a);s+u<=r?e[e.length-1]+=a:(e.push(a),s=0),Qr.has(a)&&(i=!0,o=n.slice(t+1,t+1+4).join("")===Ur),i?o?""===a&&(i=!1,o=!1):"m"===a&&(i=!1):(s+=u,s===r&&t<n.length-1&&(e.push(""),s=0))}!s&&e.at(-1).length>0&&e.length>1&&(e[e.length-2]+=e.pop())};let Wr=null;const{has16m:Xr,has256:qr}={...ee},$r=(e,t,r)=>{const n=xr(e).length+1,i=r.singleLine?t:function(e,t){return String(e).normalize().replaceAll("\r\n","\n").split("\n").map(e=>((e,t,r={})=>{if(!1!==r.trim&&""===e.trim())return"";let n,i,o="";const s=(e=>e.split(" ").map(e=>Ir(e)))(e);let a=[""];for(const[n,i]of e.split(" ").entries()){!1!==r.trim&&(a[a.length-1]=a.at(-1).trimStart());let e=Ir(a.at(-1));if(0!==n&&(e>=t&&(!1===r.wordWrap||!1===r.trim)&&(a.push(""),e=0),(e>0||!1===r.trim)&&(a[a.length-1]+=" ",e++)),r.hard&&s[n]>t){const r=t-e,o=1+Math.floor((s[n]-r-1)/t);Math.floor((s[n]-1)/t)<o&&a.push(""),Yr(a,i,t);continue}if(e+s[n]>t&&e>0&&s[n]>0){if(!1===r.wordWrap&&e<t){Yr(a,i,t);continue}a.push("")}e+s[n]>t&&!1===r.wordWrap?Yr(a,i,t):a[a.length-1]+=i}!1!==r.trim&&(a=a.map(e=>(e=>{const t=e.split(" ");let r=t.length;for(;r>0&&!(Ir(t[r-1])>0);)r--;return r===t.length?e:t.slice(0,r).join(" ")+t.slice(r).join("")})(e)));const u=a.join("\n"),c=[...u];let l=0;for(const[e,t]of c.entries()){if(o+=t,Qr.has(t)){const{groups:e}=new RegExp(`(?:\\[(?<code>\\d+)m|\\${Ur}(?<uri>.*))`).exec(u.slice(l))||{groups:{}};if(void 0!==e.code){const t=Number.parseFloat(e.code);n=39===t?void 0:t}else void 0!==e.uri&&(i=0===e.uri.length?void 0:e.uri)}const r=jr.codes.get(Number(n));"\n"===c[e+1]?(i&&(o+=Gr("")),n&&r&&(o+=zr(r))):"\n"===t&&(n&&r&&(o+=zr(n)),i&&(o+=Gr(i))),l+=t.length}return o})(e,t,undefined)).join("\n")}(t,(Wr?.deref()?.terminalWidth()??80)-n);return`${e} ${i.split("\n").join(`\n${" ".repeat(n)}`)}`};let Jr=!1;function Zr(e){Jr=e}function Kr(e,t={}){if(Jr)return;const r=Xr||qr?de.bgHex("#67b8e3").hex("#000"):de.inverse;console.warn($r(r`[ INFO ]`,e,t))}function Vr(e,t={}){if(Jr)return;const r=Xr||qr?de.bgHex("#fc0").hex("#000"):de.inverse;console.warn($r(r`[ WARN ]`,e,t))}function en(e,t={}){const r=Xr||qr?de.bgHex("#c00").hex("#fff"):de.inverse;console.error($r(r`[ ERROR ]`,e,t))}var tn,rn,nn={};function on(){return rn?tn:(rn=1,tn=e=>{if("object"!=typeof e||null===e)throw new TypeError("Expected an object");const t={};for(const[r,n]of Object.entries(e))t[n]=r;for(const r of Object.getOwnPropertySymbols(e))t[e[r]]=r;return t})}var sn,an={4:"zh_CHS",1025:"ar_SA",1026:"bg_BG",1027:"ca_ES",1028:"zh_TW",1029:"cs_CZ",1030:"da_DK",1031:"de_DE",1032:"el_GR",1033:"en_US",1034:"es_ES",1035:"fi_FI",1036:"fr_FR",1037:"he_IL",1038:"hu_HU",1039:"is_IS",1040:"it_IT",1041:"ja_JP",1042:"ko_KR",1043:"nl_NL",1044:"nb_NO",1045:"pl_PL",1046:"pt_BR",1047:"rm_CH",1048:"ro_RO",1049:"ru_RU",1050:"hr_HR",1051:"sk_SK",1052:"sq_AL",1053:"sv_SE",1054:"th_TH",1055:"tr_TR",1056:"ur_PK",1057:"id_ID",1058:"uk_UA",1059:"be_BY",1060:"sl_SI",1061:"et_EE",1062:"lv_LV",1063:"lt_LT",1064:"tg_TJ",1065:"fa_IR",1066:"vi_VN",1067:"hy_AM",1069:"eu_ES",1070:"wen_DE",1071:"mk_MK",1074:"tn_ZA",1076:"xh_ZA",1077:"zu_ZA",1078:"af_ZA",1079:"ka_GE",1080:"fo_FO",1081:"hi_IN",1082:"mt_MT",1083:"se_NO",1086:"ms_MY",1087:"kk_KZ",1088:"ky_KG",1089:"sw_KE",1090:"tk_TM",1092:"tt_RU",1093:"bn_IN",1094:"pa_IN",1095:"gu_IN",1096:"or_IN",1097:"ta_IN",1098:"te_IN",1099:"kn_IN",1100:"ml_IN",1101:"as_IN",1102:"mr_IN",1103:"sa_IN",1104:"mn_MN",1105:"bo_CN",1106:"cy_GB",1107:"kh_KH",1108:"lo_LA",1109:"my_MM",1110:"gl_ES",1111:"kok_IN",1114:"syr_SY",1115:"si_LK",1118:"am_ET",1121:"ne_NP",1122:"fy_NL",1123:"ps_AF",1124:"fil_PH",1125:"div_MV",1128:"ha_NG",1130:"yo_NG",1131:"quz_BO",1132:"ns_ZA",1133:"ba_RU",1134:"lb_LU",1135:"kl_GL",1144:"ii_CN",1146:"arn_CL",1148:"moh_CA",1150:"br_FR",1152:"ug_CN",1153:"mi_NZ",1154:"oc_FR",1155:"co_FR",1156:"gsw_FR",1157:"sah_RU",1158:"qut_GT",1159:"rw_RW",1160:"wo_SN",1164:"gbz_AF",2049:"ar_IQ",2052:"zh_CN",2055:"de_CH",2057:"en_GB",2058:"es_MX",2060:"fr_BE",2064:"it_CH",2067:"nl_BE",2068:"nn_NO",2070:"pt_PT",2077:"sv_FI",2080:"ur_IN",2092:"az_AZ",2094:"dsb_DE",2107:"se_SE",2108:"ga_IE",2110:"ms_BN",2115:"uz_UZ",2128:"mn_CN",2129:"bo_BT",2141:"iu_CA",2143:"tmz_DZ",2155:"quz_EC",3073:"ar_EG",3076:"zh_HK",3079:"de_AT",3081:"en_AU",3082:"es_ES",3084:"fr_CA",3098:"sr_SP",3131:"se_FI",3179:"quz_PE",4097:"ar_LY",4100:"zh_SG",4103:"de_LU",4105:"en_CA",4106:"es_GT",4108:"fr_CH",4122:"hr_BA",4155:"smj_NO",5121:"ar_DZ",5124:"zh_MO",5127:"de_LI",5129:"en_NZ",5130:"es_CR",5132:"fr_LU",5179:"smj_SE",6145:"ar_MA",6153:"en_IE",6154:"es_PA",6156:"fr_MC",6203:"sma_NO",7169:"ar_TN",7177:"en_ZA",7178:"es_DO",7194:"sr_BA",7227:"sma_SE",8193:"ar_OM",8201:"en_JA",8202:"es_VE",8218:"bs_BA",8251:"sms_FI",9217:"ar_YE",9225:"en_CB",9226:"es_CO",9275:"smn_FI",10241:"ar_SY",10249:"en_BZ",10250:"es_PE",11265:"ar_JO",11273:"en_TT",11274:"es_AR",12289:"ar_LB",12297:"en_ZW",12298:"es_EC",13313:"ar_KW",13321:"en_PH",13322:"es_CL",14337:"ar_AE",14346:"es_UR",15361:"ar_BH",15370:"es_PY",16385:"ar_QA",16394:"es_BO",17417:"en_MY",17418:"es_SV",18441:"en_IN",18442:"es_HN",19466:"es_NI",20490:"es_PR",21514:"es_US",31748:"zh_CHT"},un=function(){if(sn)return nn;sn=1;const e=on(),t=an,r=e(t);return nn.from=e=>{if("number"!=typeof e)throw new TypeError("Expected a number");return t[e]},nn.to=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");if(r[e])return Number(r[e])},nn.all=new Proxy(r,{get(e,t){const r=e[t];if(r)return Number(r)}}),nn}(),cn=n.g(un);const ln=l.promisify(c.execFile),pn={spawn:!0},fn="en-US";async function dn(e,t){return(await async function(e,t){const r=await ln(e,t,{encoding:"utf8"});return r.stdout=r.stdout.trim(),r}(e,t)).stdout}function An(e=process.env){return e.LC_ALL||e.LC_MESSAGES||e.LANG||e.LANGUAGE}function hn(e){return e&&e.replace(/[.:].*/,"")}async function gn(){return dn("locale",["-a"])}const mn=new Map;async function Dn(e=pn){if(mn.has(e.spawn))return mn.get(e.spawn);let t;try{const r=An();t=r||!1===e.spawn?hn(r):"win32"===process.platform?await async function(){const e=await dn("wmic",["os","get","locale"]),t=Number.parseInt(e.replace("Locale",""),16);return cn.from(t)}():"darwin"===process.platform?await async function(){const e=await Promise.all([dn("defaults",["read","-globalDomain","AppleLocale"]),gn()]);return function(e,t=""){return t.includes(e)?e:fn}(e[0],e[1])}():await async function(){return hn(function(e){const t={};for(const r of e.split("\n")){const[e,n]=r.split("=");t[e]=n.replace(/^"|"$/g,"")}return An(t)}(await dn("locale")))}()}catch{}const r=(t||fn).replace(/_/,"-");return mn.set(e.spawn,r),r}function wn(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var bn="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function vn(e){function t(t){e.error=e.hasError?new bn(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}var yn,En={exports:{}},Cn=function(){if(yn)return En.exports;yn=1;const e=u,{createRequire:t}=_;return En.exports=(r,n)=>t(e.resolve(r,"noop.js"))(n),En.exports.silent=(r,n)=>{try{return t(e.resolve(r,"noop.js"))(n)}catch{}},En.exports}(),_n=n.g(Cn);const Fn={}.hasOwnProperty,kn=/^([A-Z][a-z\d]*)+$/,Pn=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),Bn={};function xn(e,t="and"){return e.length<3?e.join(` ${t} `):`${e.slice(0,-1).join(", ")}, ${t} ${e[e.length-1]}`}const Sn=new Map;let Rn;function Tn(e,t,r){return Sn.set(e,t),n=r,i=e,function(...e){const t=Error.stackTraceLimit;On()&&(Error.stackTraceLimit=0);const r=new n;On()&&(Error.stackTraceLimit=t);const o=function(e,t,r){const n=Sn.get(e);if(F(void 0!==n,"expected `message` to be found"),"function"==typeof n)return F(n.length<=t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${n.length}).`),Reflect.apply(n,r,t);const i=/%[dfijoOs]/g;let o=0;for(;null!==i.exec(n);)o++;return F(o===t.length,`Code: ${e}; The provided arguments length (${t.length}) does not match the required ones (${o}).`),0===t.length?n:(t.unshift(n),Reflect.apply(l.format,null,t))}(i,e,r);return Object.defineProperties(r,{message:{value:o,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${i}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),In(r),r.code=i,r};var n,i}function On(){try{if(P.startupSnapshot.isBuildingSnapshot())return!1}catch{}const e=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return void 0===e?Object.isExtensible(Error):Fn.call(e,"writable")&&void 0!==e.writable?e.writable:void 0!==e.set}Bn.ERR_INVALID_ARG_TYPE=Tn("ERR_INVALID_ARG_TYPE",(e,t,r)=>{F("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let n="The ";if(e.endsWith(" argument"))n+=`${e} `;else{const t=e.includes(".")?"property":"argument";n+=`"${e}" ${t} `}n+="must be ";const i=[],o=[],s=[];for(const e of t)F("string"==typeof e,"All expected entries have to be of type string"),Pn.has(e)?i.push(e.toLowerCase()):null===kn.exec(e)?(F("object"!==e,'The value "object" should be written as "Object"'),s.push(e)):o.push(e);if(o.length>0){const e=i.indexOf("object");-1!==e&&(i.slice(e,1),o.push("Object"))}return i.length>0&&(n+=`${i.length>1?"one of type":"of type"} ${xn(i,"or")}`,(o.length>0||s.length>0)&&(n+=" or ")),o.length>0&&(n+=`an instance of ${xn(o,"or")}`,s.length>0&&(n+=" or ")),s.length>0&&(s.length>1?n+=`one of ${xn(s,"or")}`:(s[0].toLowerCase()!==s[0]&&(n+="an "),n+=`${s[0]}`)),n+=`. Received ${function(e){if(null==e)return String(e);if("function"==typeof e&&e.name)return`function ${e.name}`;if("object"==typeof e)return e.constructor&&e.constructor.name?`an instance of ${e.constructor.name}`:`${l.inspect(e,{depth:-1})}`;let t=l.inspect(e,{colors:!1});return t.length>28&&(t=`${t.slice(0,25)}...`),`type ${typeof e} (${t})`}(r)}`,n},TypeError),Bn.ERR_INVALID_MODULE_SPECIFIER=Tn("ERR_INVALID_MODULE_SPECIFIER",(e,t,r=void 0)=>`Invalid module "${e}" ${t}${r?` imported from ${r}`:""}`,TypeError),Bn.ERR_INVALID_PACKAGE_CONFIG=Tn("ERR_INVALID_PACKAGE_CONFIG",(e,t,r)=>`Invalid package config ${e}${t?` while importing ${t}`:""}${r?`. ${r}`:""}`,Error),Bn.ERR_INVALID_PACKAGE_TARGET=Tn("ERR_INVALID_PACKAGE_TARGET",(e,t,r,n=!1,i=void 0)=>{const o="string"==typeof r&&!n&&r.length>0&&!r.startsWith("./");return"."===t?(F(!1===n),`Invalid "exports" main target ${JSON.stringify(r)} defined in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`):`Invalid "${n?"imports":"exports"}" target ${JSON.stringify(r)} defined for '${t}' in the package config ${e}package.json${i?` imported from ${i}`:""}${o?'; targets must start with "./"':""}`},Error),Bn.ERR_MODULE_NOT_FOUND=Tn("ERR_MODULE_NOT_FOUND",(e,t,r=!1)=>`Cannot find ${r?"module":"package"} '${e}' imported from ${t}`,Error),Bn.ERR_NETWORK_IMPORT_DISALLOWED=Tn("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),Bn.ERR_PACKAGE_IMPORT_NOT_DEFINED=Tn("ERR_PACKAGE_IMPORT_NOT_DEFINED",(e,t,r)=>`Package import specifier "${e}" is not defined${t?` in package ${t}package.json`:""} imported from ${r}`,TypeError),Bn.ERR_PACKAGE_PATH_NOT_EXPORTED=Tn("ERR_PACKAGE_PATH_NOT_EXPORTED",(e,t,r=void 0)=>"."===t?`No "exports" main defined in ${e}package.json${r?` imported from ${r}`:""}`:`Package subpath '${t}' is not defined by "exports" in ${e}package.json${r?` imported from ${r}`:""}`,Error),Bn.ERR_UNSUPPORTED_DIR_IMPORT=Tn("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),Bn.ERR_UNSUPPORTED_RESOLVE_REQUEST=Tn("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),Bn.ERR_UNKNOWN_FILE_EXTENSION=Tn("ERR_UNKNOWN_FILE_EXTENSION",(e,t)=>`Unknown file extension "${e}" for ${t}`,TypeError),Bn.ERR_INVALID_ARG_VALUE=Tn("ERR_INVALID_ARG_VALUE",(e,t,r="is invalid")=>{let n=l.inspect(t);return n.length>128&&(n=`${n.slice(0,128)}...`),`The ${e.includes(".")?"property":"argument"} '${e}' ${r}. Received ${n}`},TypeError);const In=function(e){const t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}(function(e){const t=On();return t&&(Rn=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(e),t&&(Error.stackTraceLimit=Rn),e}),Ln={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:Mn}=Bn,Nn=new Map;function Hn(e,{base:t,specifier:r}){const n=Nn.get(e);if(n)return n;let s;try{s=i.readFileSync(o.toNamespacedPath(e),"utf8")}catch(e){const t=e;if("ENOENT"!==t.code)throw t}const a={exists:!1,pjsonPath:e,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(void 0!==s){let n;try{n=JSON.parse(s)}catch(n){const i=n,o=new Mn(e,(t?`"${r}" from `:"")+C.fileURLToPath(t||r),i.message);throw o.cause=i,o}a.exists=!0,Ln.call(n,"name")&&"string"==typeof n.name&&(a.name=n.name),Ln.call(n,"main")&&"string"==typeof n.main&&(a.main=n.main),Ln.call(n,"exports")&&(a.exports=n.exports),Ln.call(n,"imports")&&(a.imports=n.imports),!Ln.call(n,"type")||"commonjs"!==n.type&&"module"!==n.type||(a.type=n.type)}return Nn.set(e,a),a}function jn(e){let t=new URL("package.json",e);for(;!t.pathname.endsWith("node_modules/package.json");){const r=Hn(C.fileURLToPath(t),{specifier:e});if(r.exists)return r;const n=t;if(t=new URL("../package.json",t),t.pathname===n.pathname)break}return{pjsonPath:C.fileURLToPath(t),exists:!1,type:"none"}}function Qn(e){return jn(e).type}const{ERR_UNKNOWN_FILE_EXTENSION:Un}=Bn,zn={}.hasOwnProperty,Gn={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},Yn={__proto__:null,"data:":function(e){const{1:t}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(e.pathname)||[null,null,null];return function(e){return e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(e)?"module":"application/json"===e?"json":null}(t)},"file:":function(e,t,r){const n=function(e){const t=e.pathname;let r=t.length;for(;r--;){const e=t.codePointAt(r);if(47===e)return"";if(46===e)return 47===t.codePointAt(r-1)?"":t.slice(r)}return""}(e);if(".js"===n){const t=Qn(e);return"none"!==t?t:"commonjs"}if(""===n){const t=Qn(e);return"none"===t||"commonjs"===t?"commonjs":"module"}const i=Gn[n];if(i)return i;if(r)return;const o=C.fileURLToPath(e);throw new Un(n,o)},"http:":Wn,"https:":Wn,"node:":()=>"builtin"};function Wn(){}function Xn(e,t){const r=e.protocol;return zn.call(Yn,r)&&Yn[r](e,t,!0)||null}const{ERR_INVALID_ARG_VALUE:qn}=Bn,$n=Object.freeze(["node","import"]),Jn=new Set($n);const Zn=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:Kn,ERR_INVALID_MODULE_SPECIFIER:Vn,ERR_INVALID_PACKAGE_CONFIG:ei,ERR_INVALID_PACKAGE_TARGET:ti,ERR_MODULE_NOT_FOUND:ri,ERR_PACKAGE_IMPORT_NOT_DEFINED:ni,ERR_PACKAGE_PATH_NOT_EXPORTED:ii,ERR_UNSUPPORTED_DIR_IMPORT:oi,ERR_UNSUPPORTED_RESOLVE_REQUEST:si}=Bn,ai={}.hasOwnProperty,ui=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i,ci=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i,li=/^\.|%|\\/,pi=/\*/g,fi=/%2f|%5c/i,di=new Set,Ai=/[/\\]{2}/;function hi(t,r,n,i,o,s,a){if(e.noDeprecation)return;const u=C.fileURLToPath(i),c=null!==Ai.exec(a?t:r);e.emitWarning(`Use of deprecated ${c?"double slash":"leading or trailing slash matching"} resolving "${t}" for module request "${r}" ${r===n?"":`matched to "${n}" `}in the "${o?"imports":"exports"}" field module resolution of the package at ${u}${s?` imported from ${C.fileURLToPath(s)}`:""}.`,"DeprecationWarning","DEP0166")}function gi(t,r,n,i){if(e.noDeprecation)return;if("module"!==Xn(t,{parentURL:n.href}))return;const s=C.fileURLToPath(t.href),a=C.fileURLToPath(new C.URL(".",r)),u=C.fileURLToPath(n);i?o.resolve(a,i)!==s&&e.emitWarning(`Package ${a} has a "main" field set to "${i}", excluding the full filename and extension to the resolved file at "${s.slice(a.length)}", imported from ${u}.\n Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):e.emitWarning(`No "main" or "exports" field defined in the package.json for ${a} resolving the main entry point "${s.slice(a.length)}", imported from ${u}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function mi(e){try{return i.statSync(e)}catch{}}function Di(e){const t=i.statSync(e,{throwIfNoEntry:!1}),r=t?t.isFile():void 0;return null!=r&&r}function wi(e,t,r){let n;if(void 0!==t.main){if(n=new C.URL(t.main,e),Di(n))return n;const i=[`./${t.main}.js`,`./${t.main}.json`,`./${t.main}.node`,`./${t.main}/index.js`,`./${t.main}/index.json`,`./${t.main}/index.node`];let o=-1;for(;++o<i.length&&(n=new C.URL(i[o],e),!Di(n));)n=void 0;if(n)return gi(n,e,r,t.main),n}const i=["./index.js","./index.json","./index.node"];let o=-1;for(;++o<i.length&&(n=new C.URL(i[o],e),!Di(n));)n=void 0;if(n)return gi(n,e,r,t.main),n;throw new ri(C.fileURLToPath(new C.URL(".",e)),C.fileURLToPath(r))}function bi(e,t,r){return new ii(C.fileURLToPath(new C.URL(".",t)),e,r&&C.fileURLToPath(r))}function vi(e,t,r,n,i){return t="object"==typeof t&&null!==t?JSON.stringify(t,null,""):`${t}`,new ti(C.fileURLToPath(new C.URL(".",r)),e,t,n,i&&C.fileURLToPath(i))}function yi(e){const t=Number(e);return`${t}`===e&&t>=0&&t<4294967295}function Ei(e,t,r,n,i,o,s,a,u){if("string"==typeof t)return function(e,t,r,n,i,o,s,a,u){if(""!==t&&!o&&"/"!==e[e.length-1])throw vi(r,e,n,s,i);if(!e.startsWith("./")){if(s&&!e.startsWith("../")&&!e.startsWith("/")){let r=!1;try{new C.URL(e),r=!0}catch{}if(!r)return ki(o?Zn.call(pi,e,()=>t):e+t,n,u)}throw vi(r,e,n,s,i)}if(null!==ui.exec(e.slice(2))){if(null!==ci.exec(e.slice(2)))throw vi(r,e,n,s,i);if(!a){const a=o?r.replace("*",()=>t):r+t;hi(o?Zn.call(pi,e,()=>t):e,a,r,n,s,i,!0)}}const c=new C.URL(e,n),l=c.pathname,p=new C.URL(".",n).pathname;if(!l.startsWith(p))throw vi(r,e,n,s,i);if(""===t)return c;if(null!==ui.exec(t)){const u=o?r.replace("*",()=>t):r+t;null===ci.exec(t)?a||hi(o?Zn.call(pi,e,()=>t):e,u,r,n,s,i,!1):function(e,t,r,n,i){const o=`request is not a valid match in pattern "${t}" for the "${n?"imports":"exports"}" resolution of ${C.fileURLToPath(r)}`;throw new Vn(e,o,i&&C.fileURLToPath(i))}(u,r,n,s,i)}return o?new C.URL(Zn.call(pi,c.href,()=>t)):new C.URL(t,c)}(t,r,n,e,i,o,s,a,u);if(Array.isArray(t)){const c=t;if(0===c.length)return null;let l,p=-1;for(;++p<c.length;){const t=c[p];let f;try{f=Ei(e,t,r,n,i,o,s,a,u)}catch(e){if(l=e,"ERR_INVALID_PACKAGE_TARGET"===e.code)continue;throw e}if(void 0!==f){if(null!==f)return f;l=null}}if(null==l)return null;throw l}if("object"==typeof t&&null!==t){const c=Object.getOwnPropertyNames(t);let l=-1;for(;++l<c.length;)if(yi(c[l]))throw new ei(C.fileURLToPath(e),i,'"exports" cannot contain numeric property keys.');for(l=-1;++l<c.length;){const p=c[l];if("default"===p||u&&u.has(p)){const c=Ei(e,t[p],r,n,i,o,s,a,u);if(void 0===c)continue;return c}}return null}if(null===t)return null;throw vi(n,t,e,s,i)}function Ci(t,r,n){if(e.noDeprecation)return;const i=C.fileURLToPath(r);di.has(i+"|"+t)||(di.add(i+"|"+t),e.emitWarning(`Use of deprecated trailing slash pattern mapping "${t}" in the "exports" field module resolution of the package at ${i}${n?` imported from ${C.fileURLToPath(n)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function _i(e,t,r,n,i){let o=r.exports;if(function(e,t,r){if("string"==typeof e||Array.isArray(e))return!0;if("object"!=typeof e||null===e)return!1;const n=Object.getOwnPropertyNames(e);let i=!1,o=0,s=-1;for(;++s<n.length;){const e=n[s],a=""===e||"."!==e[0];if(0===o++)i=a;else if(i!==a)throw new ei(C.fileURLToPath(t),r,"\"exports\" cannot contain some keys starting with '.' and some not. The exports object must either be an object of package subpath keys or an object of main entry condition name keys only.")}return i}(o,e,n)&&(o={".":o}),ai.call(o,t)&&!t.includes("*")&&!t.endsWith("/")){const r=Ei(e,o[t],"",t,n,!1,!1,!1,i);if(null==r)throw bi(t,e,n);return r}let s="",a="";const u=Object.getOwnPropertyNames(o);let c=-1;for(;++c<u.length;){const r=u[c],i=r.indexOf("*");if(-1!==i&&t.startsWith(r.slice(0,i))){t.endsWith("/")&&Ci(t,e,n);const o=r.slice(i+1);t.length>=r.length&&t.endsWith(o)&&1===Fi(s,r)&&r.lastIndexOf("*")===i&&(s=r,a=t.slice(i,t.length-o.length))}}if(s){const r=Ei(e,o[s],a,s,n,!0,!1,t.endsWith("/"),i);if(null==r)throw bi(t,e,n);return r}throw bi(t,e,n)}function Fi(e,t){const r=e.indexOf("*"),n=t.indexOf("*"),i=-1===r?e.length:r+1,o=-1===n?t.length:n+1;return i>o?-1:o>i||-1===r?1:-1===n||e.length>t.length?-1:t.length>e.length?1:0}function ki(e,t,r){if(k.builtinModules.includes(e))return new C.URL("node:"+e);const{packageName:n,packageSubpath:i,isScoped:o}=function(e,t){let r=e.indexOf("/"),n=!0,i=!1;"@"===e[0]&&(i=!0,-1===r||0===e.length?n=!1:r=e.indexOf("/",r+1));const o=-1===r?e:e.slice(0,r);if(null!==li.exec(o)&&(n=!1),!n)throw new Vn(e,"is not a valid package name",C.fileURLToPath(t));return{packageName:o,packageSubpath:"."+(-1===r?"":e.slice(r)),isScoped:i}}(e,t),s=jn(t);if(s.exists){const e=C.pathToFileURL(s.pjsonPath);if(s.name===n&&void 0!==s.exports&&null!==s.exports)return _i(e,i,s,t,r)}let a,u=new C.URL("./node_modules/"+n+"/package.json",t),c=C.fileURLToPath(u);do{const s=mi(c.slice(0,-13));if(!s||!s.isDirectory()){a=c,u=new C.URL((o?"../../../../node_modules/":"../../../node_modules/")+n+"/package.json",u),c=C.fileURLToPath(u);continue}const l=Hn(c,{base:t,specifier:e});return void 0!==l.exports&&null!==l.exports?_i(u,i,l,t,r):"."===i?wi(u,l,t):new C.URL(i,u)}while(c.length!==a.length);throw new ri(n,C.fileURLToPath(t),!1)}function Pi(e){return""!==e&&("/"===e[0]||function(e){if("."===e[0]){if(1===e.length||"/"===e[1])return!0;if("."===e[1]&&(2===e.length||"/"===e[2]))return!0}return!1}(e))}function Bi(e,t,r,n){const s=t.protocol,a="data:"===s||"http:"===s||"https:"===s;let u;if(Pi(e))try{u=new C.URL(e,t)}catch(r){const n=new si(e,t);throw n.cause=r,n}else if("file:"===s&&"#"===e[0])u=function(e,t,r){if("#"===e||e.startsWith("#/")||e.endsWith("/"))throw new Vn(e,"is not a valid internal imports specifier name",C.fileURLToPath(t));let n;const i=jn(t);if(i.exists){n=C.pathToFileURL(i.pjsonPath);const o=i.imports;if(o)if(ai.call(o,e)&&!e.includes("*")){const i=Ei(n,o[e],"",e,t,!1,!0,!1,r);if(null!=i)return i}else{let i="",s="";const a=Object.getOwnPropertyNames(o);let u=-1;for(;++u<a.length;){const t=a[u],r=t.indexOf("*");if(-1!==r&&e.startsWith(t.slice(0,-1))){const n=t.slice(r+1);e.length>=t.length&&e.endsWith(n)&&1===Fi(i,t)&&t.lastIndexOf("*")===r&&(i=t,s=e.slice(r,e.length-n.length))}}if(i){const e=Ei(n,o[i],s,i,t,!0,!0,!1,r);if(null!=e)return e}}}throw function(e,t,r){return new ni(e,t&&C.fileURLToPath(new C.URL(".",t)),C.fileURLToPath(r))}(e,n,t)}(e,t,r);else try{u=new C.URL(e)}catch(n){if(a&&!k.builtinModules.includes(e)){const r=new si(e,t);throw r.cause=n,r}u=ki(e,t,r)}return F(void 0!==u,"expected to be defined"),"file:"!==u.protocol?u:function(e,t){if(null!==fi.exec(e.pathname))throw new Vn(e.pathname,'must not include encoded "/" or "\\" characters',C.fileURLToPath(t));let r;try{r=C.fileURLToPath(e)}catch(r){const n=r;throw Object.defineProperty(n,"input",{value:String(e)}),Object.defineProperty(n,"module",{value:String(t)}),n}const n=mi(r.endsWith("/")?r.slice(-1):r);if(n&&n.isDirectory()){const n=new oi(r,C.fileURLToPath(t));throw n.url=String(e),n}if(!n||!n.isFile()){const n=new ri(r||e.pathname,t&&C.fileURLToPath(t),!0);throw n.url=String(e),n}{const t=i.realpathSync(r),{search:n,hash:s}=e;(e=C.pathToFileURL(t+(r.endsWith(o.sep)?"/":""))).search=n,e.hash=s}return e}(u,t)}function xi(e,t={}){const{parentURL:r}=t;let n,i,o;if(F(void 0!==r,"expected `parentURL` to be defined"),function(e){var t;if(void 0!==e&&"string"!=typeof e&&(t=e,!Boolean(t&&"object"==typeof t&&"href"in t&&"string"==typeof t.href&&"protocol"in t&&"string"==typeof t.protocol&&t.href&&t.protocol)))throw new Bn.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],e)}(r),r)try{n=new C.URL(r)}catch{}try{if(i=Pi(e)?new C.URL(e,n):new C.URL(e),o=i.protocol,"data:"===o)return{url:i.href,format:null}}catch{}const s=function(e,t,r){if(r){const n=r.protocol;if("http:"===n||"https:"===n){if(Pi(e)){const n=t?.protocol;if(n&&"https:"!==n&&"http:"!==n)throw new Kn(e,r,"remote imports cannot import from a local location.");return{url:t?.href||""}}if(k.builtinModules.includes(e))throw new Kn(e,r,"remote imports cannot import from a local location.");throw new Kn(e,r,"only relative and absolute specifiers are supported.")}}}(e,i,n);if(s)return s;if(void 0===o&&i&&(o=i.protocol),"node:"===o)return{url:e};if(i&&"node:"===i.protocol)return{url:e};const a=function(e){if(void 0!==e&&e!==$n){if(!Array.isArray(e))throw new qn("conditions",e,"expected an array");return new Set(e)}return Jn}(t.conditions),u=Bi(e,new C.URL(r),a);return{url:u.href,format:Xn(u,{parentURL:r})}}const Si=e=>e instanceof URL?C.fileURLToPath(e):e;const Ri=Symbol("preResolveAsync");class Ti{klass;_cachedPackage;static _defaultEngine;static async resolve(e,t){return new Ti(await Ti.resolveModule(e,t))}static async resolveDefaultEngine(){return void 0===Ti._defaultEngine&&(Ti._defaultEngine=await Ti.resolve(["@marp-team/marp-core",Object.assign(()=>Promise.resolve(require("@marp-team/marp-core").Marp),{[Ri]:!0})])),Ti._defaultEngine}async getPackage(){return void 0===this._cachedPackage&&(this._cachedPackage=await this.resolvePackage()),this._cachedPackage}static async resolveModule(e,t){let r;for(const n of[].concat(e)){for(r="string"==typeof n?t&&await this._silentImportOrRequire(n,o.dirname(o.resolve(t)))||await this._silentImportOrRequire(n):"function"==typeof n&&n[Ri]?await n():n;r&&"object"==typeof r&&"default"in r&&r!==r.default;)r=r.default;if(r)break}return r||he('The specified engine has not resolved. (Try "--debug=true" to see more details)'),r}constructor(e){this.klass=e}async resolvePackage(){const t=this.findClassPath(this.klass);if(!t)return null;const r=await async function({cwd:t=e.cwd()}={}){return async function(t,{cwd:r=e.cwd(),type:n="file",stopAt:i}={}){let s=o.resolve(Si(r)??"");const{root:a}=o.parse(s);i=o.resolve(s,Si(i??a));const u=o.isAbsolute(t);for(;s;){const e=u?t:o.join(s,t);try{const t=await B.stat(e);if("file"===n&&t.isFile()||"directory"===n&&t.isDirectory())return e}catch{}if(s===i||s===a)break;s=o.dirname(s)}}("package.json",{cwd:t})}({cwd:o.dirname(t)});return r?require(r):null}static isESMAvailable(){return!n.i()}static async _silentImportOrRequire(e,t){return this.isESMAvailable()?this._silentImport(e,t):this._silentRequire(e,t)}static async _silentImport(e,t){let r=e;const s=o.join(t||process.cwd(),"_.js"),a=o.dirname(s),u=o.resolve(a,r);try{(await i.promises.stat(u)).isFile()&&(r=C.pathToFileURL(u).toString())}catch{}try{const e=function(e,t){if(!t)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return xi(e,{parentURL:t}).url}catch(e){const t=e;if(("ERR_UNSUPPORTED_DIR_IMPORT"===t.code||"ERR_MODULE_NOT_FOUND"===t.code)&&"string"==typeof t.url)return t.url;throw e}}(r,C.pathToFileURL(s).toString());if(e.startsWith("file:"))try{return await import(C.fileURLToPath(e))}catch{}return await import(e)}catch(i){return n.c("Failed to import %s. (Normalized module id: %s)",e+(t?` from ${t}`:""),r),n.c("%O",i),null}}static async _silentRequire(e,t){try{const r=t?o.dirname(o.resolve(t)):process.cwd();return _n(r,e)}catch(r){return n.c("Failed to require %s.",e+(t?` from ${t}`:"")),n.c("%O",r),ge(r)&&"ERR_REQUIRE_ESM"===r.code&&n.i()&&he("A standalone binary version of Marp CLI is currently not supported resolving ESM. Please consider using CommonJS, or trying to use Marp CLI via Node.js."),null}}findClassPath(e){for(const t in require.cache){const r=require.cache[t]?.exports;if(r===e||r&&"object"==typeof r&&Object.values(r).includes(e))return t}}}const Oi=Symbol();function Ii(e){const{marpit:t}=e;e.core.ruler.push("marp_cli_info",e=>{if(e.inlineMode)return;const{themeSet:r,lastGlobalDirectives:n}=t,i=n||{},o=i.theme||(r.default||{}).name,s={theme:o,author:i.marpCLIAuthor,description:i.marpCLIDescription,image:i.marpCLIImage,keywords:i.marpCLIKeywords,lang:i.lang||t.options.lang,title:i.marpCLITitle,url:i.marpCLIURL,size:{height:r.getThemeProp(o,"heightPixel"),width:r.getThemeProp(o,"widthPixel")},length:0};for(const t of e.tokens)1===t.meta?.marpitSlideElement&&(s.length+=1);t[Oi]=s})}const Li=e=>{let t;if(Array.isArray(e)?t=e:"string"==typeof e&&(t=e.split(",").map(e=>e.trim())),t){const e=[...new Set(t.filter(e=>"string"==typeof e&&!!e)).values()];if(e.length>0)return e}};function Mi(e){const{marpit:t}=e;Object.assign(t.customDirectives.global,{author:e=>"string"==typeof e?{marpCLIAuthor:e}:{},description:e=>"string"==typeof e?{marpCLIDescription:e}:{},image:e=>"string"==typeof e?{marpCLIImage:e}:{},keywords:e=>{const t=Li(e);return t?{marpCLIKeywords:t}:{}},title:e=>"string"==typeof e?{marpCLITitle:e}:{},url:e=>{if(Array.isArray(e))return{};try{e&&new C.URL(e)}catch{return Vr(`Specified canonical URL is ignored since invalid URL: ${e}`),{}}return{marpCLIURL:e??void 0}}}),e.core.ruler.after("marpit_directives_global_parse","marp_cli_meta_title_detection",e=>{if(e.inlineMode)return!1;const{lastGlobalDirectives:t}=e.md.marpit;if(t&&!("marpCLITitle"in t)){n.d("Markdown parser had detected no title setting. Marp CLI will try to extract title from headings in Markdown contents.");const r=(e=>{let t={level:Number.MAX_SAFE_INTEGER};const{length:r}=e;for(let n=0;n<r;n+=1){const r=e[n];if("heading_open"===r.type&&!r.hidden){const i=r.tag.match(/^h([1-6])$/i);if(i){const r=parseInt(i[1],10),o=e[n+1];o&&"inline"===o.type&&r<t.level&&(t={level:r,content:o.content.trim()})}}}return t.content})(e.tokens);r?(t.marpCLITitle=r,n.d(`Title detected: "${r}"`)):n.d("No title was detected from headings.")}})}const Ni="data-marp-cli-pdf-outline",Hi=Symbol();function ji(e){e.core.ruler.push("marp_cli_pdf_outline",t=>{if(t.inlineMode)return;const r=[];let n=-1,i=[],o=0;for(const e of t.tokens)if("marpit_slide_open"===e.type&&null!=e.meta?.marpitSlide&&(n=e.meta.marpitSlide),1===e.meta?.marpitSlideElement)i=[];else if(-1===e.meta?.marpitSlideElement)r.push({pageNumber:n+1,headings:[...i]});else if("heading_open"===e.type){const t="pdf-outline:"+o++;e.attrSet(Ni,t),i.push({key:t,level:e.markup.length})}e.marpit[Hi]=r})}const Qi=(e,t)=>{const r=e=>{if(e instanceof HTMLElement)return[e.offsetLeft,e.offsetTop];if(e instanceof SVGGraphicsElement){const t=e.getBBox();return[t.x,t.y]}},n=e=>{let t="";if(e.nodeType===Node.ELEMENT_NODE){const r=e,i=r.getBoundingClientRect(),o=window.getComputedStyle(r);(i.width>0||i.height>0)&&"visible"===o.visibility&&(("AREA"===r.tagName||"IMG"===r.tagName||"INPUT"===r.tagName&&"image"===r.getAttribute("type"))&&(t+=r.getAttribute("alt")??""),"BR"===r.tagName?t+="\n":(r.childNodes.forEach(e=>{t+=n(e)}),"P"===r.tagName&&(t+="\n"),o.display.startsWith("inline")||(t+="\n")))}else e.nodeType===Node.TEXT_NODE&&(t+=e.textContent??"");return t},i=e=>{let t=e.replace(/[\t\n\r ]+/g," ");return" "===t.charAt(0)&&(t=t.slice(1))," "===t.charAt(t.length-1)&&(t=t.slice(0,-1)),t},o={};for(const s of e){const e=document.querySelector(`[${t}="${s.key}"]`);if(e){let t,a=e;for(;a&&null==a.getAttribute("data-marpit-svg");){const e=r(a);t?e&&(t[0]+=e[0],t[1]+=e[1]):t=e,a=a.parentElement}o[s.key]=t?[...t,i(n(e))]:void 0}}return o},Ui=new Map;Ui.clear(),Ui.set("none",{backward:{both:void 0,incoming:void 0,outgoing:void 0},forward:{both:void 0,incoming:void 0,outgoing:void 0}});const zi=e=>{if("object"!=typeof e)return!1;const t=e;return"string"==typeof t.name&&(void 0===t.duration||"string"==typeof t.duration)},Gi=Symbol(),Yi=/^marp-(?:(?:outgoing|incoming)-)?transition-(?:backward-)?(.+)$/,Wi={clockwise:"@keyframes marp-incoming-transition-__builtin__clockwise{0%{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0)}37.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%)}62.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%)}87.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0)}to{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0)}}@keyframes marp-incoming-transition-backward-__builtin__clockwise{0%{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0)}37.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%)}62.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%)}87.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0)}to{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0)}}",counterclockwise:"@keyframes marp-incoming-transition-__builtin__counterclockwise{0%{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 0,0 0,0 0,0 0)}37.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,0 100%,0 100%,0 100%)}62.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 100%,100% 100%)}87.5%{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,100% 0)}to{clip-path:polygon(50% 50%,50% 0,0 0,0 100%,100% 100%,100% 0,50% 0)}}@keyframes marp-incoming-transition-backward-__builtin__counterclockwise{0%{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0)}12.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 0,100% 0,100% 0,100% 0)}37.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,100% 100%,100% 100%,100% 100%)}62.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 100%,0 100%)}87.5%{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,0 0)}to{clip-path:polygon(50% 50%,50% 0,100% 0,100% 100%,0 100%,0 0,50% 0)}}",cover:"@keyframes marp-incoming-transition-__builtin__cover{0%{animation-timing-function:ease-out;opacity:0;transform:translateX(10%)}to{transform:translateX(0)}}@keyframes marp-outgoing-transition-backward-__builtin__cover{0%{animation-timing-function:ease-out;transform:translateX(0)}to{opacity:0;transform:translateX(10%)}}@keyframes marp-incoming-transition-backward-__builtin__cover{0%{z-index:-1}to{z-index:-1}}",coverflow:"@keyframes marp-outgoing-transition-__builtin__coverflow{0%{animation-timing-function:ease-in-out;transform:perspective(50vw) translateX(0) rotateY(0) translateZ(0);z-index:1}to{filter:brightness(.5);transform:perspective(50vw) translateX(calc(var(--marp-transition-direction, 1)*-60vw)) rotateY(calc(var(--marp-transition-direction, 1)*70deg)) translateZ(-50vw);z-index:0}}@keyframes marp-incoming-transition-__builtin__coverflow{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(50vw) translateX(calc(var(--marp-transition-direction, 1)*60vw)) rotateY(calc(var(--marp-transition-direction, 1)*-70deg)) translateZ(-50vw);z-index:0}to{transform:perspective(50vw) translateX(0) rotateY(0) translateZ(0);z-index:1}}",cube:"@keyframes marp-outgoing-transition-__builtin__cube{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(-50vw) rotateY(0deg) translateZ(50vw);z-index:1}to{filter:brightness(.5);transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*-90deg)) translateZ(50vw);z-index:0}}@keyframes marp-incoming-transition-__builtin__cube{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*90deg)) translateZ(50vw);z-index:0}to{transform:perspective(100vw) translateZ(-50vw) rotateY(0deg) translateZ(50vw);z-index:1}}",cylinder:"@keyframes marp-outgoing-transition-__builtin__cylinder{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(50vw) rotateY(0deg) translateZ(-50vw)}to{filter:brightness(.5);transform:perspective(100vw) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*90deg)) translateZ(-50vw)}}@keyframes marp-incoming-transition-__builtin__cylinder{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:perspective(100vw) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*-90deg)) translateZ(-50vw)}to{transform:perspective(100vw) translateZ(50vw) rotateY(0deg) translateZ(-50vw)}}",diamond:"@keyframes marp-incoming-transition-__builtin__diamond{0%{clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%)}to{clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%)}}@keyframes marp-incoming-transition-backward-__builtin__diamond{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__diamond{0%{clip-path:polygon(50% -50%,150% 50%,50% 150%,-50% 50%)}to{clip-path:polygon(50% 50%,50% 50%,50% 50%,50% 50%)}}",drop:":root{--bespoke-marp-transition-drop-shadow:0 0.3vh 0.6vh #00000063,#0000004d 0 3vh 5vh,#00000038 0 2vh 1.5vh}:root,_::-webkit-full-page-media,_:future{--bespoke-marp-transition-drop-shadow:none}@keyframes marp-incoming-transition-__builtin__drop{0%{box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-100%)}35%{animation-timing-function:ease-out;transform:none}60%{animation-timing-function:ease-in;transform:translateY(-10%)}85%{animation-timing-function:ease-out;transform:none}92.5%{animation-timing-function:ease-in;box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-1%)}}@keyframes marp-outgoing-transition-__builtin__drop{35%{filter:none}to{filter:brightness(.5)}}@keyframes marp-incoming-transition-backward-__builtin__drop{0%{animation-timing-function:ease-in;filter:brightness(.5)}65%{filter:none}}@keyframes marp-outgoing-transition-backward-__builtin__drop{0%{animation-timing-function:ease-in;box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(0);z-index:1}to{box-shadow:var(--bespoke-marp-transition-drop-shadow);transform:translateY(-100%);z-index:1}}",explode:"@keyframes marp-incoming-transition-__builtin__explode{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-__builtin__explode{0%{animation-timing-function:ease-out}to{opacity:0;transform:scale(1.2)}}@keyframes marp-incoming-transition-backward-__builtin__explode{0%{animation-timing-function:ease-out;opacity:0;transform:scale(1.2)}}@keyframes marp-outgoing-transition-backward-__builtin__explode{}",fade:"@keyframes marp-outgoing-transition-__builtin__fade{0%{opacity:1}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__fade{0%{mix-blend-mode:plus-lighter;opacity:0}to{mix-blend-mode:plus-lighter;opacity:1}}","fade-out":"@keyframes marp-transition-__builtin__fade-out{0%{opacity:1}50%{opacity:0}to{opacity:0}}",fall:"@keyframes marp-incoming-transition-__builtin__fall{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-__builtin__fall{0%{animation-timing-function:cubic-bezier(.4,0,1,.6);transform:perspective(100vmax) rotateX(0);transform-origin:50% 100%}to{filter:brightness(.75);transform:perspective(100vmax) rotateX(-90deg);transform-origin:50% 100%}}@keyframes marp-incoming-transition-backward-__builtin__fall{0%{animation-timing-function:cubic-bezier(0,.4,.6,1);filter:brightness(.75);transform:perspective(100vmax) rotateX(-90deg);transform-origin:50% 100%}to{transform:perspective(100vmax) rotateX(0);transform-origin:50% 100%}}@keyframes marp-outgoing-transition-backward-__builtin__fall{}",flip:"@keyframes marp-outgoing-transition-__builtin__flip{0%{animation-timing-function:ease-in}50%{animation-timing-function:step-start;opacity:.75;transform:perspective(75vw) rotateY(calc(var(--marp-transition-direction, 1)*-90deg))}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__flip{0%{animation-timing-function:step-end;opacity:0}50%{animation-timing-function:ease-out;opacity:.75;transform:perspective(75vw) rotateY(calc(var(--marp-transition-direction, 1)*90deg))}}",glow:"@keyframes marp-outgoing-transition-__builtin__glow{50%{animation-timing-function:step-start;filter:blur(10px) contrast(0) brightness(2);opacity:1}to{opacity:0}}@keyframes marp-incoming-transition-__builtin__glow{0%{z-index:-1}to{z-index:-1}0%{filter:blur(10px) contrast(0) brightness(2)}50%{filter:blur(10px) contrast(0) brightness(2)}}",implode:"@keyframes marp-incoming-transition-__builtin__implode{0%{animation-timing-function:ease-out;opacity:0;transform:scale(1.2)}}@keyframes marp-incoming-transition-backward-__builtin__implode{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__implode{0%{animation-timing-function:ease-out}to{opacity:0;transform:scale(1.2)}}","in-out":"@keyframes marp-outgoing-transition-__builtin__in-out{0%{animation-timing-function:ease-out}50%{animation-timing-function:ease-out;filter:brightness(1);transform:translateX(calc(var(--marp-transition-direction, 1)*-25%)) scale(.45)}to{filter:brightness(.75);transform:translateX(calc(var(--marp-transition-direction, 1)*-25%)) scale(.45) translateX(calc(var(--marp-transition-direction, 1)*-25vw))}}@keyframes marp-incoming-transition-__builtin__in-out{0%{animation-timing-function:ease-out;filter:brightness(.75);transform:translateX(calc(var(--marp-transition-direction, 1)*25%)) scale(.45) translateX(calc(var(--marp-transition-direction, 1)*25vw));z-index:-1}50%{animation-timing-function:ease-out;filter:brightness(1);transform:translateX(calc(var(--marp-transition-direction, 1)*25%)) scale(.45)}to{z-index:0}}","iris-in":"@keyframes marp-incoming-transition-__builtin__iris-in{0%{clip-path:circle(0)}to{clip-path:circle(75vmax)}}@keyframes marp-outgoing-transition-backward-__builtin__iris-in{0%{clip-path:circle(75vmax)}to{clip-path:circle(0)}}@keyframes marp-incoming-transition-backward-__builtin__iris-in{0%{z-index:-1}to{z-index:-1}}","iris-out":"@keyframes marp-outgoing-transition-__builtin__iris-out{0%{clip-path:circle(75vmax)}to{clip-path:circle(0)}}@keyframes marp-incoming-transition-__builtin__iris-out{0%{z-index:-1}to{z-index:-1}}@keyframes marp-incoming-transition-backward-__builtin__iris-out{0%{clip-path:circle(0)}to{clip-path:circle(75vmax)}}@keyframes marp-outgoing-transition-backward-__builtin__iris-out{}",melt:"@keyframes marp-incoming-transition-__builtin__melt{0%{clip-path:polygon(100% -50%,0 -50%,0 0,1.56% -.29%,3.13% -1.22%,4.69% -2.51%,6.25% -3.65%,7.81% -4.44%,9.38% -4.94%,10.94% -5.19%,12.5% -5.28%,12.5% -5.28%,14.06% -5.19%,15.63% -4.92%,17.19% -4.31%,18.75% -3.22%,20.31% -1.78%,21.88% -.67%,23.44% -.14%,25% 0,25% 0,26.56% -.32%,28.13% -1.4%,29.69% -3.46%,31.25% -6.39%,32.81% -9.32%,34.38% -11.38%,35.94% -12.46%,37.5% -12.78%,37.5% -12.78%,39.06% -12.47%,40.63% -11.5%,42.19% -9.76%,43.75% -7.32%,45.31% -4.53%,46.88% -2.07%,48.44% -.5%,50% 0,50% 0,51.56% -.67%,53.13% -3.18%,54.69% -7.19%,56.25% -10.49%,57.81% -12.53%,59.38% -13.69%,60.94% -14.28%,62.5% -14.44%,62.5% -14.44%,64.06% -14.28%,65.63% -13.69%,67.19% -12.51%,68.75% -10.43%,70.31% -7.04%,71.88% -3.03%,73.44% -.61%,75% 0,75% 0,76.56% -.14%,78.13% -.62%,79.69% -1.42%,81.25% -2.28%,82.81% -2.93%,84.38% -3.33%,85.94% -3.56%,87.5% -3.61%,87.5% -3.61%,89.06% -3.56%,90.63% -3.37%,92.19% -3.06%,93.75% -2.61%,95.31% -2.01%,96.88% -1.29%,98.44% -.51%,100% 0);opacity:.8}30%{animation-timing-function:ease-out;opacity:1}to{clip-path:polygon(100% -50%,0 -50%,0 100%,1.56% 104.1%,3.13% 117.13%,4.69% 135.17%,6.25% 151.1%,7.81% 162.29%,9.38% 169.21%,10.94% 172.82%,12.5% 173.89%,12.5% 173.89%,14.06% 173.05%,15.63% 170.01%,17.19% 163.62%,18.75% 152.2%,20.31% 136.8%,21.88% 125.05%,23.44% 119.5%,25% 118.06%,25% 118.06%,26.56% 118.32%,28.13% 119.24%,29.69% 120.99%,31.25% 123.47%,32.81% 125.95%,34.38% 127.7%,35.94% 128.62%,37.5% 128.89%,37.5% 128.89%,39.06% 128.31%,40.63% 126.43%,42.19% 123.07%,43.75% 118.33%,45.31% 112.93%,46.88% 108.16%,48.44% 105.14%,50% 104.17%,50% 104.17%,51.56% 106.55%,53.13% 115.67%,54.69% 130.19%,56.25% 142.09%,57.81% 149.48%,59.38% 153.69%,60.94% 155.79%,62.5% 156.39%,62.5% 156.39%,64.06% 156.07%,65.63% 154.98%,67.19% 152.75%,68.75% 148.82%,70.31% 142.45%,71.88% 134.87%,73.44% 130.33%,75% 129.17%,75% 129.17%,76.56% 133.7%,78.13% 149.12%,79.69% 174.71%,81.25% 202.03%,82.81% 222.99%,84.38% 236.17%,85.94% 243%,87.5% 245%,87.5% 245%,89.06% 242.66%,90.63% 235.41%,92.19% 222.89%,93.75% 204.82%,95.31% 181.05%,96.88% 152.08%,98.44% 120.6%,100% 100%)}}@keyframes marp-incoming-transition-backward-__builtin__melt{0%{clip-path:polygon(100% 150%,0 150%,0 100%,1.56% 100.29%,3.13% 101.22%,4.69% 102.51%,6.25% 103.65%,7.81% 104.44%,9.38% 104.94%,10.94% 105.19%,12.5% 105.28%,12.5% 105.28%,14.06% 105.19%,15.63% 104.92%,17.19% 104.31%,18.75% 103.22%,20.31% 101.78%,21.88% 100.67%,23.44% 100.14%,25% 100%,25% 100%,26.56% 100.32%,28.13% 101.4%,29.69% 103.46%,31.25% 106.39%,32.81% 109.32%,34.38% 111.38%,35.94% 112.46%,37.5% 112.78%,37.5% 112.78%,39.06% 112.47%,40.63% 111.5%,42.19% 109.76%,43.75% 107.32%,45.31% 104.53%,46.88% 102.07%,48.44% 100.5%,50% 100%,50% 100%,51.56% 100.67%,53.13% 103.18%,54.69% 107.19%,56.25% 110.49%,57.81% 112.53%,59.38% 113.69%,60.94% 114.28%,62.5% 114.44%,62.5% 114.44%,64.06% 114.28%,65.63% 113.69%,67.19% 112.51%,68.75% 110.43%,70.31% 107.04%,71.88% 103.03%,73.44% 100.61%,75% 100%,75% 100%,76.56% 100.14%,78.13% 100.63%,79.69% 101.42%,81.25% 102.28%,82.81% 102.93%,84.38% 103.33%,85.94% 103.56%,87.5% 103.61%,87.5% 103.61%,89.06% 103.56%,90.63% 103.38%,92.19% 103.06%,93.75% 102.61%,95.31% 102.01%,96.88% 101.29%,98.44% 100.51%,100% 100%);opacity:.8}30%{animation-timing-function:ease-out;opacity:1}to{clip-path:polygon(100% 150%,0 150%,0 0,1.56% -4.1%,3.13% -17.13%,4.69% -35.17%,6.25% -51.1%,7.81% -62.29%,9.38% -69.21%,10.94% -72.82%,12.5% -73.89%,12.5% -73.89%,14.06% -73.05%,15.63% -70.01%,17.19% -63.62%,18.75% -52.2%,20.31% -36.8%,21.88% -25.05%,23.44% -19.5%,25% -18.06%,25% -18.06%,26.56% -18.32%,28.13% -19.24%,29.69% -20.99%,31.25% -23.47%,32.81% -25.95%,34.38% -27.7%,35.94% -28.62%,37.5% -28.89%,37.5% -28.89%,39.06% -28.31%,40.63% -26.43%,42.19% -23.07%,43.75% -18.33%,45.31% -12.93%,46.88% -8.16%,48.44% -5.14%,50% -4.17%,50% -4.17%,51.56% -6.55%,53.13% -15.67%,54.69% -30.19%,56.25% -42.09%,57.81% -49.48%,59.38% -53.69%,60.94% -55.79%,62.5% -56.39%,62.5% -56.39%,64.06% -56.07%,65.63% -54.98%,67.19% -52.75%,68.75% -48.82%,70.31% -42.45%,71.88% -34.87%,73.44% -30.33%,75% -29.17%,75% -29.17%,76.56% -33.7%,78.13% -49.12%,79.69% -74.71%,81.25% -102.03%,82.81% -122.99%,84.38% -136.17%,85.94% -143%,87.5% -145%,87.5% -145%,89.06% -142.66%,90.63% -135.41%,92.19% -122.89%,93.75% -104.82%,95.31% -81.05%,96.88% -52.08%,98.44% -20.6%,100% 0)}}",overlap:"@keyframes marp-outgoing-transition-__builtin__overlap{50%{filter:contrast(1)}to{filter:contrast(0)}}@keyframes marp-incoming-transition-__builtin__overlap{0%{mix-blend-mode:overlay;opacity:0}50%{opacity:1}to{mix-blend-mode:overlay}}",pivot:"@keyframes marp-incoming-transition-__builtin__pivot{0%{animation-timing-function:ease-out;transform:rotate(-90deg);transform-origin:left top}to{transform-origin:left top}}@keyframes marp-incoming-transition-backward-__builtin__pivot{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__pivot{0%{animation-timing-function:ease-in;transform:rotate(0deg);transform-origin:left top}to{transform:rotate(-90deg);transform-origin:left top}}",pull:"@keyframes marp-outgoing-transition-__builtin__pull{0%{animation-timing-function:ease-out;transform:translateX(0)}to{transform:translateX(-100%)}}@keyframes marp-incoming-transition-__builtin__pull{0%{z-index:-1}to{z-index:-1}}@keyframes marp-incoming-transition-backward-__builtin__pull{0%{animation-timing-function:ease-out;transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes marp-outgoing-transition-backward-__builtin__pull{}",push:"@keyframes marp-incoming-transition-__builtin__push{0%{animation-timing-function:ease-out;transform:translateX(100%)}to{transform:translateX(0)}}@keyframes marp-outgoing-transition-backward-__builtin__push{0%{animation-timing-function:ease-out;transform:translateX(0)}to{transform:translateX(100%)}}@keyframes marp-incoming-transition-backward-__builtin__push{0%{z-index:-1}to{z-index:-1}}",reveal:"@keyframes marp-outgoing-transition-__builtin__reveal{0%{animation-timing-function:ease-out;transform:translateX(0)}to{opacity:0;transform:translateX(-10%)}}@keyframes marp-incoming-transition-__builtin__reveal{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__reveal{}@keyframes marp-incoming-transition-backward-__builtin__reveal{0%{animation-timing-function:ease-out;opacity:0;transform:translateX(-10%)}to{transform:translateX(0)}}",rotate:"@keyframes marp-outgoing-transition-__builtin__rotate{0%{animation-timing-function:ease-in-out;transform:perspective(100vw) translateZ(-50vw) rotateY(.0001deg) translateZ(50vw);z-index:1}to{opacity:0;transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*-180deg)) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*180deg));z-index:0}}@keyframes marp-incoming-transition-__builtin__rotate{0%{animation-timing-function:ease-in-out;opacity:0;transform:perspective(100vw) translateZ(-50vw) rotateY(calc(var(--marp-transition-direction, 1)*180deg)) translateZ(50vw) rotateY(calc(var(--marp-transition-direction, 1)*-180deg));z-index:0}to{transform:perspective(100vw) translateZ(-50vw) rotateY(.0001deg) translateZ(50vw);z-index:1}}",slide:"@keyframes marp-incoming-transition-__builtin__slide{0%{animation-timing-function:ease-in-out;transform:translateX(calc(var(--marp-transition-direction, 1)*100vw))}}@keyframes marp-outgoing-transition-__builtin__slide{0%{animation-timing-function:ease-in-out;transform:translateX(0)}to{transform:translateX(calc(var(--marp-transition-direction, 1)*-100vw))}}",star:':root{--bespoke-marp-transition-star-mask:url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201000%20951.1%22%3E%3Cpath%20d%3D%22m500%200%20118%20363.3h382L691%20587.8l118%20363.3-309-224.6-309%20224.6%20118-363.3L0%20363.3h382L500%200z%22%2F%3E%3C%2Fsvg%3E")}@keyframes marp-incoming-transition-__builtin__star{0%{mask-image:var(--bespoke-marp-transition-star-mask);mask-position:center center;mask-repeat:no-repeat;mask-size:0 0}to{mask-image:var(--bespoke-marp-transition-star-mask);mask-position:center center;mask-repeat:no-repeat;mask-size:270vmax 270vmax}}@keyframes marp-outgoing-transition-backward-__builtin__star{0%{mask-image:var(--bespoke-marp-transition-star-mask);mask-position:center center;mask-repeat:no-repeat;mask-size:270vmax 270vmax}to{mask-image:var(--bespoke-marp-transition-star-mask);mask-position:center center;mask-repeat:no-repeat;mask-size:0 0}}@keyframes marp-incoming-transition-backward-__builtin__star{0%{z-index:-1}to{z-index:-1}}',swap:"@keyframes marp-outgoing-transition-__builtin__swap{0%{animation-timing-function:ease-in-out;transform:none;transform-origin:calc(var(--marp-transition-direction, 1)*50% + 50%) calc(var(--marp-transition-direction, 1)*50% + 50%);z-index:1}50%{animation-timing-function:ease-in-out;transform:translateY(calc(var(--marp-transition-direction, 1)*-50%)) rotate(5deg)}to{filter:brightness(.5);transform:none;transform-origin:calc(var(--marp-transition-direction, 1)*50% + 50%) calc(var(--marp-transition-direction, 1)*50% + 50%);z-index:0}}@keyframes marp-incoming-transition-__builtin__swap{0%{animation-timing-function:ease-in-out;filter:brightness(.75);transform:none;transform-origin:calc(var(--marp-transition-direction, 1)*-50% + 50%) calc(var(--marp-transition-direction, 1)*-50% + 50%)}50%{animation-timing-function:ease-in-out;transform:translateY(calc(var(--marp-transition-direction, 1)*50%)) rotate(5deg)}to{transform:none;transform-origin:calc(var(--marp-transition-direction, 1)*-50% + 50%) calc(var(--marp-transition-direction, 1)*-50% + 50%)}}",swipe:":root{--bespoke-marp-transition-swipe-shadow:6px 6px 10px 6px #00000040}:root,_::-webkit-full-page-media,_:future{--bespoke-marp-transition-swipe-shadow:none}@keyframes marp-outgoing-transition-__builtin__swipe{0%{animation-timing-function:ease-in;box-shadow:var(--bespoke-marp-transition-swipe-shadow);transform:none;transform-origin:100% 100%;z-index:1}to{box-shadow:var(--bespoke-marp-transition-swipe-shadow);transform:translate(calc(-100vw - 30px),-30vh) rotate(-30deg);transform-origin:100% 100%;z-index:1}}@keyframes marp-incoming-transition-__builtin__swipe{0%{animation-timing-function:ease-in-out;filter:brightness(.5);transform:scale(.95)}to{filter:none;transform:scale(1)}}@keyframes marp-outgoing-transition-backward-__builtin__swipe{0%{animation-timing-function:ease-in-out;transform:none}to{filter:brightness(.5);transform:scale(.95)}}@keyframes marp-incoming-transition-backward-__builtin__swipe{0%{animation-timing-function:ease-out;box-shadow:var(--bespoke-marp-transition-swipe-shadow);transform:translate(calc(-100vw - 30px),30vh) rotate(30deg);transform-origin:100% 0;z-index:1}to{box-shadow:var(--bespoke-marp-transition-swipe-shadow);transform:none;transform-origin:100% 0;z-index:1}}",swoosh:"@keyframes marp-incoming-transition-__builtin__swoosh{0%{transform:translate(-10vw) scale(0) perspective(100vw) translate3d(100vw,-100vh,-100vw) rotateX(90deg) rotate(90deg)}to{transform:translate(0) scale(1) perspective(100vw)}}@keyframes marp-incoming-transition-backward-__builtin__swoosh{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__swoosh{0%{transform:translate(0) scale(1) perspective(100vw)}to{transform:translate(-10vw) scale(0) perspective(100vw) translate3d(100vw,-100vh,-100vw) rotateX(90deg) rotate(90deg)}}",wipe:"@keyframes marp-incoming-transition-__builtin__wipe{0%{mask-image:linear-gradient(90deg,#0000 100vw,#000 110vw,#000);mask-position:left top;mask-size:210vw 100vh}to{mask-image:linear-gradient(90deg,#0000 100vw,#000 110vw,#000);mask-position:right top;mask-size:210vw 100vh}}@keyframes marp-incoming-transition-backward-__builtin__wipe{0%{mask-image:linear-gradient(270deg,#0000 100vw,#000 110vw,#000);mask-position:right top;mask-size:210vw 100vh}to{mask-image:linear-gradient(270deg,#0000 100vw,#000 110vw,#000);mask-position:left top;mask-size:210vw 100vh}}",wiper:"@keyframes marp-incoming-transition-__builtin__wiper{0%{animation-timing-function:ease-in;clip-path:polygon(50% 100%,0 100%,0 100%,0 100%,0 100%)}33%{animation-timing-function:linear;clip-path:polygon(50% 100%,0 100%,0 0,0 0,0 0)}66%{animation-timing-function:ease-out;clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 0)}to{clip-path:polygon(50% 100%,0 100%,0 0,100% 0,100% 100%)}}@keyframes marp-incoming-transition-backward-__builtin__wiper{0%{animation-timing-function:ease-in;clip-path:polygon(50% 100%,100% 100%,100% 100%,100% 100%,100% 100%)}33%{animation-timing-function:linear;clip-path:polygon(50% 100%,100% 100%,100% 0,100% 0,100% 0)}66%{animation-timing-function:ease-out;clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 0)}to{clip-path:polygon(50% 100%,100% 100%,100% 0,0 0,0 100%)}}",zoom:"@keyframes marp-incoming-transition-__builtin__zoom{0%{animation-timing-function:ease-out;opacity:0;transform:scale(0)}}@keyframes marp-incoming-transition-backward-__builtin__zoom{0%{z-index:-1}to{z-index:-1}}@keyframes marp-outgoing-transition-backward-__builtin__zoom{0%{animation-timing-function:ease-in;transform:none}to{opacity:0;transform:scale(0)}}",none:!1};function Xi(e){const{marpit:t}=e;t.customDirectives.local.transition=e=>{if("string"==typeof e){const[t,r]=e.trim().split(/\s+/),n={name:t,duration:r};if(zi(n))return{transition:n}}return{}},e.core.ruler.after("marpit_directives_apply","marp_cli_transition",e=>{if(e.inlineMode)return!1;const r=new Map;let n;for(const t of e.tokens){const{marpitDirectives:e,marpitStyleScoped:i}=t.meta||{};if("marpit_slide_open"===t.type&&n&&(t.attrSet("data-transition-back",n),n=void 0),"object"==typeof e?.transition){const o={...e.transition};if(zi(o)){Wi[o.name]&&(r.set(o.name,Wi[o.name]),o.builtinFallback=!0);const e=i?.key;if(e){const t=i?.keyframeSet;for(const r of t?.values()??[]){const t=r.match(Yi);if(t&&o.name===t[1]){o.name=`${o.name}-${e}`,o.builtinFallback=!1;break}}}const s=JSON.stringify(o);t.attrSet("data-transition",s),n=s}}}const i={builtinTransitionStyle:[...r.values()].join("")};return t[Gi]=i,!0})}var qi,$i={},Ji={},Zi={};function Ki(){return qi||(qi=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.splitWhen=Zi.flatten=void 0,Zi.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},Zi.splitWhen=function(e,t){const r=[[]];let n=0;for(const i of e)t(i)?(n++,r[n]=[]):r[n].push(i);return r}),Zi}var Vi,eo={};function to(){return Vi||(Vi=1,Object.defineProperty(eo,"__esModule",{value:!0}),eo.isEnoentCodeError=void 0,eo.isEnoentCodeError=function(e){return"ENOENT"===e.code}),eo}var ro,no,io={},oo={};function so(){if(no)return oo;no=1,Object.defineProperty(oo,"__esModule",{value:!0}),oo.convertPosixPathToPattern=oo.convertWindowsPathToPattern=oo.convertPathToPattern=oo.escapePosixPath=oo.escapeWindowsPath=oo.escape=oo.removeLeadingDotSegment=oo.makeAbsolute=oo.unixify=void 0;const e=u,t="win32"===p.platform(),r=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,n=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,i=/^\\\\([.?])/,o=/\\(?![!()+@[\]{}])/g;function s(e){return e.replace(n,"\\$2")}function a(e){return e.replace(r,"\\$2")}function c(e){return s(e).replace(i,"//$1").replace(o,"/")}function l(e){return a(e)}return oo.unixify=function(e){return e.replace(/\\/g,"/")},oo.makeAbsolute=function(t,r){return e.resolve(t,r)},oo.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){const t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},oo.escape=t?s:a,oo.escapeWindowsPath=s,oo.escapePosixPath=a,oo.convertPathToPattern=t?c:l,oo.convertWindowsPathToPattern=c,oo.convertPosixPathToPattern=l,oo}var ao,uo,co,lo,po,fo,Ao={};
|
||
/*!
|
||
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
||
*
|
||
* Copyright (c) 2014-2016, Jon Schlinkert.
|
||
* Licensed under the MIT License.
|
||
*/function ho(){return uo?ao:(uo=1,ao=function(e){if("string"!=typeof e||""===e)return!1;for(var t;t=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(t[2])return!0;e=e.slice(t.index+t[0].length)}return!1})}
|
||
/*!
|
||
* is-glob <https://github.com/jonschlinkert/is-glob>
|
||
*
|
||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/function go(){if(lo)return co;lo=1;var e=ho(),t={"{":"}","(":")","[":"]"},r=function(e){if("!"===e[0])return!0;for(var r=0,n=-2,i=-2,o=-2,s=-2,a=-2;r<e.length;){if("*"===e[r])return!0;if("?"===e[r+1]&&/[\].+)]/.test(e[r]))return!0;if(-1!==i&&"["===e[r]&&"]"!==e[r+1]&&(i<r&&(i=e.indexOf("]",r)),i>r)){if(-1===a||a>i)return!0;if(-1===(a=e.indexOf("\\",r))||a>i)return!0}if(-1!==o&&"{"===e[r]&&"}"!==e[r+1]&&(o=e.indexOf("}",r))>r&&(-1===(a=e.indexOf("\\",r))||a>o))return!0;if(-1!==s&&"("===e[r]&&"?"===e[r+1]&&/[:!=]/.test(e[r+2])&&")"!==e[r+3]&&(s=e.indexOf(")",r))>r&&(-1===(a=e.indexOf("\\",r))||a>s))return!0;if(-1!==n&&"("===e[r]&&"|"!==e[r+1]&&(n<r&&(n=e.indexOf("|",r)),-1!==n&&")"!==e[n+1]&&(s=e.indexOf(")",n))>n&&(-1===(a=e.indexOf("\\",n))||a>s)))return!0;if("\\"===e[r]){var u=e[r+1];r+=2;var c=t[u];if(c){var l=e.indexOf(c,r);-1!==l&&(r=l+1)}if("!"===e[r])return!0}else r++}return!1},n=function(e){if("!"===e[0])return!0;for(var r=0;r<e.length;){if(/[*?{}()[\]]/.test(e[r]))return!0;if("\\"===e[r]){var n=e[r+1];r+=2;var i=t[n];if(i){var o=e.indexOf(i,r);-1!==o&&(r=o+1)}if("!"===e[r])return!0}else r++}return!1};return co=function(t,i){if("string"!=typeof t||""===t)return!1;if(e(t))return!0;var o=r;return i&&!1===i.strict&&(o=n),o(t)},co}function mo(){if(fo)return po;fo=1;var e=go(),t=u.posix.dirname,r="win32"===p.platform(),n=/\\/g,i=/[\{\[].*[\}\]]$/,o=/(^|[^\\])([\{\[]|\([^\)]+$)/,s=/\\([\!\*\?\|\[\]\(\)\{\}])/g;return po=function(a,u){Object.assign({flipBackslashes:!0},u).flipBackslashes&&r&&a.indexOf("/")<0&&(a=a.replace(n,"/")),i.test(a)&&(a+="/"),a+="a";do{a=t(a)}while(e(a)||o.test(a));return a.replace(s,"$1")}}var Do,wo,bo,vo,yo,Eo,Co,_o,Fo,ko,Po,Bo,xo,So,Ro,To,Oo,Io,Lo,Mo={};function No(){return Do||(Do=1,function(e){e.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),e.find=(e,t)=>e.nodes.find(e=>e.type===t),e.exceedsLimit=(t,r,n=1,i)=>!1!==i&&!(!e.isInteger(t)||!e.isInteger(r))&&(Number(r)-Number(t))/Number(n)>=i,e.escapeNode=(e,t=0,r)=>{const n=e.nodes[t];n&&(r&&n.type===r||"open"===n.type||"close"===n.type)&&!0!==n.escaped&&(n.value="\\"+n.value,n.escaped=!0)},e.encloseBrace=e=>!("brace"!==e.type||e.commas>>0+e.ranges|0||(e.invalid=!0,0)),e.isInvalidBrace=e=>!("brace"!==e.type||!0!==e.invalid&&!e.dollar&&(e.commas>>0+e.ranges|0&&!0===e.open&&!0===e.close||(e.invalid=!0,0))),e.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,e.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),e.flatten=(...e)=>{const t=[],r=e=>{for(let n=0;n<e.length;n++){const i=e[n];Array.isArray(i)?r(i):void 0!==i&&t.push(i)}return t};return r(e),t}}(Mo)),Mo}function Ho(){if(bo)return wo;bo=1;const e=No();return wo=(t,r={})=>{const n=(t,i={})=>{const o=r.escapeInvalid&&e.isInvalidBrace(i),s=!0===t.invalid&&!0===r.escapeInvalid;let a="";if(t.value)return(o||s)&&e.isOpenOrClose(t)?"\\"+t.value:t.value;if(t.value)return t.value;if(t.nodes)for(const e of t.nodes)a+=n(e);return a};return n(t)},wo}
|
||
/*!
|
||
* is-number <https://github.com/jonschlinkert/is-number>
|
||
*
|
||
* Copyright (c) 2014-present, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/function jo(){return yo?vo:(yo=1,vo=function(e){return"number"==typeof e?e-e===0:"string"==typeof e&&""!==e.trim()&&(Number.isFinite?Number.isFinite(+e):isFinite(+e))})}
|
||
/*!
|
||
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
||
*
|
||
* Copyright (c) 2015-present, Jon Schlinkert.
|
||
* Released under the MIT License.
|
||
*/function Qo(){if(Fo)return _o;Fo=1;const e=g,t=function(){if(Co)return Eo;Co=1;const e=jo(),t=(r,o,s)=>{if(!1===e(r))throw new TypeError("toRegexRange: expected the first argument to be a number");if(void 0===o||r===o)return String(r);if(!1===e(o))throw new TypeError("toRegexRange: expected the second argument to be a number.");let a={relaxZeros:!0,...s};"boolean"==typeof a.strictZeros&&(a.relaxZeros=!1===a.strictZeros);let u=r+":"+o+"="+String(a.relaxZeros)+String(a.shorthand)+String(a.capture)+String(a.wrap);if(t.cache.hasOwnProperty(u))return t.cache[u].result;let c=Math.min(r,o),l=Math.max(r,o);if(1===Math.abs(c-l)){let e=r+"|"+o;return a.capture?`(${e})`:!1===a.wrap?e:`(?:${e})`}let f=p(r)||p(o),d={min:r,max:o,a:c,b:l},A=[],h=[];return f&&(d.isPadded=f,d.maxLen=String(d.max).length),c<0&&(h=n(l<0?Math.abs(l):1,Math.abs(c),d,a),c=d.a=0),l>=0&&(A=n(c,l,d,a)),d.negatives=h,d.positives=A,d.result=function(e,t){let r=i(e,t,"-",!1)||[],n=i(t,e,"",!1)||[],o=i(e,t,"-?",!0)||[];return r.concat(o).concat(n).join("|")}(h,A),!0===a.capture?d.result=`(${d.result})`:!1!==a.wrap&&A.length+h.length>1&&(d.result=`(?:${d.result})`),t.cache[u]=d,d.result};function r(e,t,r){if(e===t)return{pattern:e,count:[],digits:0};let n=function(e,t){let r=[];for(let n=0;n<e.length;n++)r.push([e[n],t[n]]);return r}(e,t),i=n.length,o="",s=0;for(let e=0;e<i;e++){let[t,r]=n[e];t===r?o+=t:"0"!==t||"9"!==r?o+=l(t,r):s++}return s&&(o+=!0===r.shorthand?"\\d":"[0-9]"),{pattern:o,count:[s],digits:i}}function n(e,t,n,i){let s,l=function(e,t){let r=1,n=1,i=a(e,r),s=new Set([t]);for(;e<=i&&i<=t;)s.add(i),r+=1,i=a(e,r);for(i=u(t+1,n)-1;e<i&&i<=t;)s.add(i),n+=1,i=u(t+1,n)-1;return s=[...s],s.sort(o),s}(e,t),p=[],d=e;for(let e=0;e<l.length;e++){let t=l[e],o=r(String(d),String(t),i),a="";n.isPadded||!s||s.pattern!==o.pattern?(n.isPadded&&(a=f(t,n,i)),o.string=a+o.pattern+c(o.count),p.push(o),d=t+1,s=o):(s.count.length>1&&s.count.pop(),s.count.push(o.count[0]),s.string=s.pattern+c(s.count),d=t+1)}return p}function i(e,t,r,n,i){let o=[];for(let i of e){let{string:e}=i;n||s(t,"string",e)||o.push(r+e),n&&s(t,"string",e)&&o.push(r+e)}return o}function o(e,t){return e>t?1:t>e?-1:0}function s(e,t,r){return e.some(e=>e[t]===r)}function a(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function u(e,t){return e-e%Math.pow(10,t)}function c(e){let[t=0,r=""]=e;return r||t>1?`{${t+(r?","+r:"")}}`:""}function l(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function p(e){return/^-?(0+)\d/.test(e)}function f(e,t,r){if(!t.isPadded)return e;let n=Math.abs(t.maxLen-String(e).length),i=!1!==r.relaxZeros;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}return t.cache={},t.clearCache=()=>t.cache={},Eo=t}
|
||
/*!
|
||
* fill-range <https://github.com/jonschlinkert/fill-range>
|
||
*
|
||
* Copyright (c) 2014-present, Jon Schlinkert.
|
||
* Licensed under the MIT License.
|
||
*/(),r=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),n=e=>"number"==typeof e||"string"==typeof e&&""!==e,i=e=>Number.isInteger(+e),o=e=>{let t=`${e}`,r=-1;if("-"===t[0]&&(t=t.slice(1)),"0"===t)return!1;for(;"0"===t[++r];);return r>0},s=(e,t,r)=>{if(t>0){let r="-"===e[0]?"-":"";r&&(e=e.slice(1)),e=r+e.padStart(r?t-1:t,"0")}return!1===r?String(e):e},a=(e,t)=>{let r="-"===e[0]?"-":"";for(r&&(e=e.slice(1),t--);e.length<t;)e="0"+e;return r?"-"+e:e},u=(e,r,n,i)=>{if(n)return t(e,r,{wrap:!1,...i});let o=String.fromCharCode(e);return e===r?o:`[${o}-${String.fromCharCode(r)}]`},c=(e,r,n)=>{if(Array.isArray(e)){let t=!0===n.wrap,r=n.capture?"":"?:";return t?`(${r}${e.join("|")})`:e.join("|")}return t(e,r,n)},l=(...t)=>new RangeError("Invalid range arguments: "+e.inspect(...t)),p=(e,t,r)=>{if(!0===r.strictRanges)throw l([e,t]);return[]},f=(e,t,d,A={})=>{if(null==t&&n(e))return[e];if(!n(e)||!n(t))return p(e,t,A);if("function"==typeof d)return f(e,t,1,{transform:d});if(r(d))return f(e,t,0,d);let h={...A};return!0===h.capture&&(h.wrap=!0),d=d||h.step||1,i(d)?i(e)&&i(t)?((e,t,r=1,n={})=>{let i=Number(e),p=Number(t);if(!Number.isInteger(i)||!Number.isInteger(p)){if(!0===n.strictRanges)throw l([e,t]);return[]}0===i&&(i=0),0===p&&(p=0);let f=i>p,d=String(e),A=String(t),h=String(r);r=Math.max(Math.abs(r),1);let g=o(d)||o(A)||o(h),m=g?Math.max(d.length,A.length,h.length):0,D=!1===g&&!1===((e,t,r)=>"string"==typeof e||"string"==typeof t||!0===r.stringify)(e,t,n),w=n.transform||(e=>t=>!0===e?Number(t):String(t))(D);if(n.toRegex&&1===r)return u(a(e,m),a(t,m),!0,n);let b={negatives:[],positives:[]},v=e=>b[e<0?"negatives":"positives"].push(Math.abs(e)),y=[],E=0;for(;f?i>=p:i<=p;)!0===n.toRegex&&r>1?v(i):y.push(s(w(i,E),m,D)),i=f?i-r:i+r,E++;return!0===n.toRegex?r>1?((e,t,r)=>{e.negatives.sort((e,t)=>e<t?-1:e>t?1:0),e.positives.sort((e,t)=>e<t?-1:e>t?1:0);let n,i=t.capture?"":"?:",o="",s="";return e.positives.length&&(o=e.positives.map(e=>a(String(e),r)).join("|")),e.negatives.length&&(s=`-(${i}${e.negatives.map(e=>a(String(e),r)).join("|")})`),n=o&&s?`${o}|${s}`:o||s,t.wrap?`(${i}${n})`:n})(b,n,m):c(y,null,{wrap:!1,...n}):y})(e,t,d,h):((e,t,r=1,n={})=>{if(!i(e)&&e.length>1||!i(t)&&t.length>1)return p(e,t,n);let o=n.transform||(e=>String.fromCharCode(e)),s=`${e}`.charCodeAt(0),a=`${t}`.charCodeAt(0),l=s>a,f=Math.min(s,a),d=Math.max(s,a);if(n.toRegex&&1===r)return u(f,d,!1,n);let A=[],h=0;for(;l?s>=a:s<=a;)A.push(o(s,h)),s=l?s-r:s+r,h++;return!0===n.toRegex?c(A,null,{wrap:!1,options:n}):A})(e,t,Math.max(Math.abs(d),1),h):null==d||r(d)?f(e,t,1,d):((e,t)=>{if(!0===t.strictRanges)throw new TypeError(`Expected step "${e}" to be a number`);return[]})(d,h)};return _o=f}function Uo(){if(Lo)return Io;Lo=1;const e=Ho(),t=function(){if(Po)return ko;Po=1;const e=Qo(),t=No();return ko=(r,n={})=>{const i=(r,o={})=>{const s=t.isInvalidBrace(o),a=!0===r.invalid&&!0===n.escapeInvalid,u=!0===s||!0===a,c=!0===n.escapeInvalid?"\\":"";let l="";if(!0===r.isOpen)return c+r.value;if(!0===r.isClose)return console.log("node.isClose",c,r.value),c+r.value;if("open"===r.type)return u?c+r.value:"(";if("close"===r.type)return u?c+r.value:")";if("comma"===r.type)return"comma"===r.prev.type?"":u?r.value:"|";if(r.value)return r.value;if(r.nodes&&r.ranges>0){const i=t.reduce(r.nodes),o=e(...i,{...n,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==o.length)return i.length>1&&o.length>1?`(${o})`:o}if(r.nodes)for(const e of r.nodes)l+=i(e,r);return l};return i(r)},ko}(),r=function(){if(xo)return Bo;xo=1;const e=Qo(),t=Ho(),r=No(),n=(e="",t="",i=!1)=>{const o=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return i?r.flatten(t).map(e=>`{${e}}`):t;for(const r of e)if(Array.isArray(r))for(const e of r)o.push(n(e,t,i));else for(let e of t)!0===i&&"string"==typeof e&&(e=`{${e}}`),o.push(Array.isArray(e)?n(r,e,i):r+e);return r.flatten(o)};return Bo=(i,o={})=>{const s=void 0===o.rangeLimit?1e3:o.rangeLimit,a=(i,u={})=>{i.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,l=c.queue;if(i.invalid||i.dollar)return void l.push(n(l.pop(),t(i,o)));if("brace"===i.type&&!0!==i.invalid&&2===i.nodes.length)return void l.push(n(l.pop(),["{}"]));if(i.nodes&&i.ranges>0){const a=r.reduce(i.nodes);if(r.exceedsLimit(...a,o.step,s))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=e(...a,o);return 0===u.length&&(u=t(i,o)),l.push(n(l.pop(),u)),void(i.nodes=[])}const p=r.encloseBrace(i);let f=i.queue,d=i;for(;"brace"!==d.type&&"root"!==d.type&&d.parent;)d=d.parent,f=d.queue;for(let e=0;e<i.nodes.length;e++){const t=i.nodes[e];"comma"!==t.type||"brace"!==i.type?"close"!==t.type?t.value&&"open"!==t.type?f.push(n(f.pop(),t.value)):t.nodes&&a(t,i):l.push(n(l.pop(),f,p)):(1===e&&f.push(""),f.push(""))}return f};return r.flatten(a(i))},Bo}(),n=function(){if(Oo)return To;Oo=1;const e=Ho(),{MAX_LENGTH:t,CHAR_BACKSLASH:r,CHAR_BACKTICK:n,CHAR_COMMA:i,CHAR_DOT:o,CHAR_LEFT_PARENTHESES:s,CHAR_RIGHT_PARENTHESES:a,CHAR_LEFT_CURLY_BRACE:u,CHAR_RIGHT_CURLY_BRACE:c,CHAR_LEFT_SQUARE_BRACKET:l,CHAR_RIGHT_SQUARE_BRACKET:p,CHAR_DOUBLE_QUOTE:f,CHAR_SINGLE_QUOTE:d,CHAR_NO_BREAK_SPACE:A,CHAR_ZERO_WIDTH_NOBREAK_SPACE:h}=Ro?So:(Ro=1,So={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:"\n",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"});return To=(g,m={})=>{if("string"!=typeof g)throw new TypeError("Expected a string");const D=m||{},w="number"==typeof D.maxLength?Math.min(t,D.maxLength):t;if(g.length>w)throw new SyntaxError(`Input length (${g.length}), exceeds max characters (${w})`);const b={type:"root",input:g,nodes:[]},v=[b];let y=b,E=b,C=0;const _=g.length;let F,k=0,P=0;const B=()=>g[k++],x=e=>{if("text"===e.type&&"dot"===E.type&&(E.type="text"),!E||"text"!==E.type||"text"!==e.type)return y.nodes.push(e),e.parent=y,e.prev=E,E=e,e;E.value+=e.value};for(x({type:"bos"});k<_;)if(y=v[v.length-1],F=B(),F!==h&&F!==A)if(F!==r)if(F!==p){if(F===l){let e;for(C++;k<_&&(e=B());)if(F+=e,e!==l)if(e!==r){if(e===p&&(C--,0===C))break}else F+=B();else C++;x({type:"text",value:F});continue}if(F!==s)if(F!==a){if(F===f||F===d||F===n){const e=F;let t;for(!0!==m.keepQuotes&&(F="");k<_&&(t=B());)if(t!==r){if(t===e){!0===m.keepQuotes&&(F+=t);break}F+=t}else F+=t+B();x({type:"text",value:F});continue}if(F===u){P++;const e=E.value&&"$"===E.value.slice(-1)||!0===y.dollar;y=x({type:"brace",open:!0,close:!1,dollar:e,depth:P,commas:0,ranges:0,nodes:[]}),v.push(y),x({type:"open",value:F});continue}if(F===c){if("brace"!==y.type){x({type:"text",value:F});continue}const e="close";y=v.pop(),y.close=!0,x({type:e,value:F}),P--,y=v[v.length-1];continue}if(F===i&&P>0){if(y.ranges>0){y.ranges=0;const t=y.nodes.shift();y.nodes=[t,{type:"text",value:e(y)}]}x({type:"comma",value:F}),y.commas++}else{if(F===o&&P>0&&0===y.commas){const e=y.nodes;if(0===P||0===e.length){x({type:"text",value:F});continue}if("dot"===E.type){if(y.range=[],E.value+=F,E.type="range",3!==y.nodes.length&&5!==y.nodes.length){y.invalid=!0,y.ranges=0,E.type="text";continue}y.ranges++,y.args=[];continue}if("range"===E.type){e.pop();const t=e[e.length-1];t.value+=E.value+F,E=t,y.ranges--;continue}x({type:"dot",value:F});continue}x({type:"text",value:F})}}else{if("paren"!==y.type){x({type:"text",value:F});continue}y=v.pop(),x({type:"text",value:F}),y=v[v.length-1]}else y=x({type:"paren",nodes:[]}),v.push(y),x({type:"text",value:F})}else x({type:"text",value:"\\"+F});else x({type:"text",value:(m.keepEscaping?F:"")+B()});do{if(y=v.pop(),"root"!==y.type){y.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});const e=v[v.length-1],t=e.nodes.indexOf(y);e.nodes.splice(t,1,...y.nodes)}}while(v.length>0);return x({type:"eos"}),b},To}(),i=(e,t={})=>{let r=[];if(Array.isArray(e))for(const n of e){const e=i.create(n,t);Array.isArray(e)?r.push(...e):r.push(e)}else r=[].concat(i.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(r=[...new Set(r)]),r};return i.parse=(e,t={})=>n(e,t),i.stringify=(t,r={})=>e("string"==typeof t?i.parse(t,r):t,r),i.compile=(e,r={})=>("string"==typeof e&&(e=i.parse(e,r)),t(e,r)),i.expand=(e,t={})=>{"string"==typeof e&&(e=i.parse(e,t));let n=r(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},i.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?i.compile(e,t):i.expand(e,t),Io=i}var zo,Go,Yo,Wo,Xo,qo,$o,Jo,Zo,Ko,Vo,es,ts,rs,ns={};function is(){if(Go)return zo;Go=1;const e=u,t="\\\\/",r=`[^${t}]`,n="\\.",i="\\/",o="[^/]",s=`(?:${i}|$)`,a=`(?:^|${i})`,c=`${n}{1,2}${s}`,l={DOT_LITERAL:n,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:i,ONE_CHAR:"(?=.)",QMARK:o,END_ANCHOR:s,DOTS_SLASH:c,NO_DOT:`(?!${n})`,NO_DOTS:`(?!${a}${c})`,NO_DOT_SLASH:`(?!${n}{0,1}${s})`,NO_DOTS_SLASH:`(?!${c})`,QMARK_NO_DOT:`[^.${i}]`,STAR:`${o}*?`,START_ANCHOR:a},p={...l,SLASH_LITERAL:`[${t}]`,QMARK:r,STAR:`${r}*?`,DOTS_SLASH:`${n}{1,2}(?:[${t}]|$)`,NO_DOT:`(?!${n})`,NO_DOTS:`(?!(?:^|[${t}])${n}{1,2}(?:[${t}]|$))`,NO_DOT_SLASH:`(?!${n}{0,1}(?:[${t}]|$))`,NO_DOTS_SLASH:`(?!${n}{1,2}(?:[${t}]|$))`,QMARK_NO_DOT:`[^.${t}]`,START_ANCHOR:`(?:^|[${t}])`,END_ANCHOR:`(?:[${t}]|$)`};return zo={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{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"},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:e.sep,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?p:l},zo}function os(){return Yo||(Yo=1,function(e){const t=u,r="win32"===process.platform,{REGEX_BACKSLASH:n,REGEX_REMOVE_BACKSLASH:i,REGEX_SPECIAL_CHARS:o,REGEX_SPECIAL_CHARS_GLOBAL:s}=is();e.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),e.hasRegexChars=e=>o.test(e),e.isRegexChar=t=>1===t.length&&e.hasRegexChars(t),e.escapeRegex=e=>e.replace(s,"\\$1"),e.toPosixSlashes=e=>e.replace(n,"/"),e.removeBackslashes=e=>e.replace(i,e=>"\\"===e?"":e),e.supportsLookbehinds=()=>{const e=process.version.slice(1).split(".").map(Number);return 3===e.length&&e[0]>=9||8===e[0]&&e[1]>=10},e.isWindows=e=>e&&"boolean"==typeof e.windows?e.windows:!0===r||"\\"===t.sep,e.escapeLast=(t,r,n)=>{const i=t.lastIndexOf(r,n);return-1===i?t:"\\"===t[i-1]?e.escapeLast(t,r,i-1):`${t.slice(0,i)}\\${t.slice(i)}`},e.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r},e.wrapOutput=(e,t={},r={})=>{let n=`${r.contains?"":"^"}(?:${e})${r.contains?"":"$"}`;return!0===t.negated&&(n=`(?:^(?!${n}).*$)`),n}}(ns)),ns}function ss(){return Vo?Ko:(Vo=1,Ko=function(){if(Zo)return Jo;Zo=1;const e=u,t=function(){if(Xo)return Wo;Xo=1;const e=os(),{CHAR_ASTERISK:t,CHAR_AT:r,CHAR_BACKWARD_SLASH:n,CHAR_COMMA:i,CHAR_DOT:o,CHAR_EXCLAMATION_MARK:s,CHAR_FORWARD_SLASH:a,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:c,CHAR_LEFT_SQUARE_BRACKET:l,CHAR_PLUS:p,CHAR_QUESTION_MARK:f,CHAR_RIGHT_CURLY_BRACE:d,CHAR_RIGHT_PARENTHESES:A,CHAR_RIGHT_SQUARE_BRACKET:h}=is(),g=e=>e===a||e===n,m=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};return Wo=(D,w)=>{const b=w||{},v=D.length-1,y=!0===b.parts||!0===b.scanToEnd,E=[],C=[],_=[];let F,k,P=D,B=-1,x=0,S=0,R=!1,T=!1,O=!1,I=!1,L=!1,M=!1,N=!1,H=!1,j=!1,Q=!1,U=0,z={value:"",depth:0,isGlob:!1};const G=()=>B>=v,Y=()=>P.charCodeAt(B+1),W=()=>(F=k,P.charCodeAt(++B));for(;B<v;){let e;if(k=W(),k!==n){if(!0===M||k===u){for(U++;!0!==G()&&(k=W());)if(k!==n)if(k!==u){if(!0!==M&&k===o&&(k=W())===o){if(R=z.isBrace=!0,O=z.isGlob=!0,Q=!0,!0===y)continue;break}if(!0!==M&&k===i){if(R=z.isBrace=!0,O=z.isGlob=!0,Q=!0,!0===y)continue;break}if(k===d&&(U--,0===U)){M=!1,R=z.isBrace=!0,Q=!0;break}}else U++;else N=z.backslashes=!0,W();if(!0===y)continue;break}if(k!==a){if(!0!==b.noext&&1==(k===p||k===r||k===t||k===f||k===s)&&Y()===c){if(O=z.isGlob=!0,I=z.isExtglob=!0,Q=!0,k===s&&B===x&&(j=!0),!0===y){for(;!0!==G()&&(k=W());)if(k!==n){if(k===A){O=z.isGlob=!0,Q=!0;break}}else N=z.backslashes=!0,k=W();continue}break}if(k===t){if(F===t&&(L=z.isGlobstar=!0),O=z.isGlob=!0,Q=!0,!0===y)continue;break}if(k===f){if(O=z.isGlob=!0,Q=!0,!0===y)continue;break}if(k===l){for(;!0!==G()&&(e=W());)if(e!==n){if(e===h){T=z.isBracket=!0,O=z.isGlob=!0,Q=!0;break}}else N=z.backslashes=!0,W();if(!0===y)continue;break}if(!0===b.nonegate||k!==s||B!==x){if(!0!==b.noparen&&k===c){if(O=z.isGlob=!0,!0===y){for(;!0!==G()&&(k=W());)if(k!==c){if(k===A){Q=!0;break}}else N=z.backslashes=!0,k=W();continue}break}if(!0===O){if(Q=!0,!0===y)continue;break}}else H=z.negated=!0,x++}else{if(E.push(B),C.push(z),z={value:"",depth:0,isGlob:!1},!0===Q)continue;if(F===o&&B===x+1){x+=2;continue}S=B+1}}else N=z.backslashes=!0,k=W(),k===u&&(M=!0)}!0===b.noext&&(I=!1,O=!1);let X=P,q="",$="";x>0&&(q=P.slice(0,x),P=P.slice(x),S-=x),X&&!0===O&&S>0?(X=P.slice(0,S),$=P.slice(S)):!0===O?(X="",$=P):X=P,X&&""!==X&&"/"!==X&&X!==P&&g(X.charCodeAt(X.length-1))&&(X=X.slice(0,-1)),!0===b.unescape&&($&&($=e.removeBackslashes($)),X&&!0===N&&(X=e.removeBackslashes(X)));const J={prefix:q,input:D,start:x,base:X,glob:$,isBrace:R,isBracket:T,isGlob:O,isExtglob:I,isGlobstar:L,negated:H,negatedExtglob:j};if(!0===b.tokens&&(J.maxDepth=0,g(k)||C.push(z),J.tokens=C),!0===b.parts||!0===b.tokens){let e;for(let t=0;t<E.length;t++){const r=e?e+1:x,n=E[t],i=D.slice(r,n);b.tokens&&(0===t&&0!==x?(C[t].isPrefix=!0,C[t].value=q):C[t].value=i,m(C[t]),J.maxDepth+=C[t].depth),0===t&&""===i||_.push(i),e=n}if(e&&e+1<D.length){const t=D.slice(e+1);_.push(t),b.tokens&&(C[C.length-1].value=t,m(C[C.length-1]),J.maxDepth+=C[C.length-1].depth)}J.slashes=E,J.parts=_}return J},Wo}(),r=function(){if($o)return qo;$o=1;const e=is(),t=os(),{MAX_LENGTH:r,POSIX_REGEX_SOURCE:n,REGEX_NON_SPECIAL_CHARS:i,REGEX_SPECIAL_CHARS_BACKREF:o,REPLACEMENTS:s}=e,a=(e,r)=>{if("function"==typeof r.expandRange)return r.expandRange(...e,r);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(r){return e.map(e=>t.escapeRegex(e)).join("..")}return n},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,c=(l,p)=>{if("string"!=typeof l)throw new TypeError("Expected a string");l=s[l]||l;const f={...p},d="number"==typeof f.maxLength?Math.min(r,f.maxLength):r;let A=l.length;if(A>d)throw new SyntaxError(`Input length: ${A}, exceeds maximum allowed length: ${d}`);const h={type:"bos",value:"",output:f.prepend||""},g=[h],m=f.capture?"":"?:",D=t.isWindows(p),w=e.globChars(D),b=e.extglobChars(w),{DOT_LITERAL:v,PLUS_LITERAL:y,SLASH_LITERAL:E,ONE_CHAR:C,DOTS_SLASH:_,NO_DOT:F,NO_DOT_SLASH:k,NO_DOTS_SLASH:P,QMARK:B,QMARK_NO_DOT:x,STAR:S,START_ANCHOR:R}=w,T=e=>`(${m}(?:(?!${R}${e.dot?_:v}).)*?)`,O=f.dot?"":F,I=f.dot?B:x;let L=!0===f.bash?T(f):S;f.capture&&(L=`(${L})`),"boolean"==typeof f.noext&&(f.noextglob=f.noext);const M={input:l,index:-1,start:0,dot:!0===f.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:g};l=t.removePrefix(l,M),A=l.length;const N=[],H=[],j=[];let Q,U=h;const z=()=>M.index===A-1,G=M.peek=(e=1)=>l[M.index+e],Y=M.advance=()=>l[++M.index]||"",W=()=>l.slice(M.index+1),X=(e="",t=0)=>{M.consumed+=e,M.index+=t},q=e=>{M.output+=null!=e.output?e.output:e.value,X(e.value)},$=()=>{let e=1;for(;"!"===G()&&("("!==G(2)||"?"===G(3));)Y(),M.start++,e++;return e%2!=0&&(M.negated=!0,M.start++,!0)},J=e=>{M[e]++,j.push(e)},Z=e=>{M[e]--,j.pop()},K=e=>{if("globstar"===U.type){const t=M.braces>0&&("comma"===e.type||"brace"===e.type),r=!0===e.extglob||N.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||r||(M.output=M.output.slice(0,-U.output.length),U.type="star",U.value="*",U.output=L,M.output+=U.output)}if(N.length&&"paren"!==e.type&&(N[N.length-1].inner+=e.value),(e.value||e.output)&&q(e),U&&"text"===U.type&&"text"===e.type)return U.value+=e.value,void(U.output=(U.output||"")+e.value);e.prev=U,g.push(e),U=e},V=(e,t)=>{const r={...b[t],conditions:1,inner:""};r.prev=U,r.parens=M.parens,r.output=M.output;const n=(f.capture?"(":"")+r.open;J("parens"),K({type:e,value:t,output:M.output?"":C}),K({type:"paren",extglob:!0,value:Y(),output:n}),N.push(r)},ee=e=>{let t,r=e.close+(f.capture?")":"");if("negate"===e.type){let n=L;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(n=T(f)),(n!==L||z()||/^\)+$/.test(W()))&&(r=e.close=`)$))${n}`),e.inner.includes("*")&&(t=W())&&/^\.[^\\/.]+$/.test(t)){const i=c(t,{...p,fastpaths:!1}).output;r=e.close=`)${i})${n})`}"bos"===e.prev.type&&(M.negatedExtglob=!0)}K({type:"paren",extglob:!0,value:Q,output:r}),Z("parens")};if(!1!==f.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(l)){let e=!1,r=l.replace(o,(t,r,n,i,o,s)=>"\\"===i?(e=!0,t):"?"===i?r?r+i+(o?B.repeat(o.length):""):0===s?I+(o?B.repeat(o.length):""):B.repeat(n.length):"."===i?v.repeat(n.length):"*"===i?r?r+i+(o?L:""):L:r?t:`\\${t}`);return!0===e&&(r=!0===f.unescape?r.replace(/\\/g,""):r.replace(/\\+/g,e=>e.length%2==0?"\\\\":e?"\\":"")),r===l&&!0===f.contains?(M.output=l,M):(M.output=t.wrapOutput(r,M,p),M)}for(;!z();){if(Q=Y(),"\0"===Q)continue;if("\\"===Q){const e=G();if("/"===e&&!0!==f.bash)continue;if("."===e||";"===e)continue;if(!e){Q+="\\",K({type:"text",value:Q});continue}const t=/^\\+/.exec(W());let r=0;if(t&&t[0].length>2&&(r=t[0].length,M.index+=r,r%2!=0&&(Q+="\\")),!0===f.unescape?Q=Y():Q+=Y(),0===M.brackets){K({type:"text",value:Q});continue}}if(M.brackets>0&&("]"!==Q||"["===U.value||"[^"===U.value)){if(!1!==f.posix&&":"===Q){const e=U.value.slice(1);if(e.includes("[")&&(U.posix=!0,e.includes(":"))){const e=U.value.lastIndexOf("["),t=U.value.slice(0,e),r=U.value.slice(e+2),i=n[r];if(i){U.value=t+i,M.backtrack=!0,Y(),h.output||1!==g.indexOf(U)||(h.output=C);continue}}}("["===Q&&":"!==G()||"-"===Q&&"]"===G())&&(Q=`\\${Q}`),"]"!==Q||"["!==U.value&&"[^"!==U.value||(Q=`\\${Q}`),!0===f.posix&&"!"===Q&&"["===U.value&&(Q="^"),U.value+=Q,q({value:Q});continue}if(1===M.quotes&&'"'!==Q){Q=t.escapeRegex(Q),U.value+=Q,q({value:Q});continue}if('"'===Q){M.quotes=1===M.quotes?0:1,!0===f.keepQuotes&&K({type:"text",value:Q});continue}if("("===Q){J("parens"),K({type:"paren",value:Q});continue}if(")"===Q){if(0===M.parens&&!0===f.strictBrackets)throw new SyntaxError(u("opening","("));const e=N[N.length-1];if(e&&M.parens===e.parens+1){ee(N.pop());continue}K({type:"paren",value:Q,output:M.parens?")":"\\)"}),Z("parens");continue}if("["===Q){if(!0!==f.nobracket&&W().includes("]"))J("brackets");else{if(!0!==f.nobracket&&!0===f.strictBrackets)throw new SyntaxError(u("closing","]"));Q=`\\${Q}`}K({type:"bracket",value:Q});continue}if("]"===Q){if(!0===f.nobracket||U&&"bracket"===U.type&&1===U.value.length){K({type:"text",value:Q,output:`\\${Q}`});continue}if(0===M.brackets){if(!0===f.strictBrackets)throw new SyntaxError(u("opening","["));K({type:"text",value:Q,output:`\\${Q}`});continue}Z("brackets");const e=U.value.slice(1);if(!0===U.posix||"^"!==e[0]||e.includes("/")||(Q=`/${Q}`),U.value+=Q,q({value:Q}),!1===f.literalBrackets||t.hasRegexChars(e))continue;const r=t.escapeRegex(U.value);if(M.output=M.output.slice(0,-U.value.length),!0===f.literalBrackets){M.output+=r,U.value=r;continue}U.value=`(${m}${r}|${U.value})`,M.output+=U.value;continue}if("{"===Q&&!0!==f.nobrace){J("braces");const e={type:"brace",value:Q,output:"(",outputIndex:M.output.length,tokensIndex:M.tokens.length};H.push(e),K(e);continue}if("}"===Q){const e=H[H.length-1];if(!0===f.nobrace||!e){K({type:"text",value:Q,output:Q});continue}let t=")";if(!0===e.dots){const e=g.slice(),r=[];for(let t=e.length-1;t>=0&&(g.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=a(r,f),M.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const r=M.output.slice(0,e.outputIndex),n=M.tokens.slice(e.tokensIndex);e.value=e.output="\\{",Q=t="\\}",M.output=r;for(const e of n)M.output+=e.output||e.value}K({type:"brace",value:Q,output:t}),Z("braces"),H.pop();continue}if("|"===Q){N.length>0&&N[N.length-1].conditions++,K({type:"text",value:Q});continue}if(","===Q){let e=Q;const t=H[H.length-1];t&&"braces"===j[j.length-1]&&(t.comma=!0,e="|"),K({type:"comma",value:Q,output:e});continue}if("/"===Q){if("dot"===U.type&&M.index===M.start+1){M.start=M.index+1,M.consumed="",M.output="",g.pop(),U=h;continue}K({type:"slash",value:Q,output:E});continue}if("."===Q){if(M.braces>0&&"dot"===U.type){"."===U.value&&(U.output=v);const e=H[H.length-1];U.type="dots",U.output+=Q,U.value+=Q,e.dots=!0;continue}if(M.braces+M.parens===0&&"bos"!==U.type&&"slash"!==U.type){K({type:"text",value:Q,output:v});continue}K({type:"dot",value:Q,output:v});continue}if("?"===Q){if((!U||"("!==U.value)&&!0!==f.noextglob&&"("===G()&&"?"!==G(2)){V("qmark",Q);continue}if(U&&"paren"===U.type){const e=G();let r=Q;if("<"===e&&!t.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===U.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(W()))&&(r=`\\${Q}`),K({type:"text",value:Q,output:r});continue}if(!0!==f.dot&&("slash"===U.type||"bos"===U.type)){K({type:"qmark",value:Q,output:x});continue}K({type:"qmark",value:Q,output:B});continue}if("!"===Q){if(!0!==f.noextglob&&"("===G()&&("?"!==G(2)||!/[!=<:]/.test(G(3)))){V("negate",Q);continue}if(!0!==f.nonegate&&0===M.index){$();continue}}if("+"===Q){if(!0!==f.noextglob&&"("===G()&&"?"!==G(2)){V("plus",Q);continue}if(U&&"("===U.value||!1===f.regex){K({type:"plus",value:Q,output:y});continue}if(U&&("bracket"===U.type||"paren"===U.type||"brace"===U.type)||M.parens>0){K({type:"plus",value:Q});continue}K({type:"plus",value:y});continue}if("@"===Q){if(!0!==f.noextglob&&"("===G()&&"?"!==G(2)){K({type:"at",extglob:!0,value:Q,output:""});continue}K({type:"text",value:Q});continue}if("*"!==Q){"$"!==Q&&"^"!==Q||(Q=`\\${Q}`);const e=i.exec(W());e&&(Q+=e[0],M.index+=e[0].length),K({type:"text",value:Q});continue}if(U&&("globstar"===U.type||!0===U.star)){U.type="star",U.star=!0,U.value+=Q,U.output=L,M.backtrack=!0,M.globstar=!0,X(Q);continue}let e=W();if(!0!==f.noextglob&&/^\([^?]/.test(e)){V("star",Q);continue}if("star"===U.type){if(!0===f.noglobstar){X(Q);continue}const t=U.prev,r=t.prev,n="slash"===t.type||"bos"===t.type,i=r&&("star"===r.type||"globstar"===r.type);if(!0===f.bash&&(!n||e[0]&&"/"!==e[0])){K({type:"star",value:Q,output:""});continue}const o=M.braces>0&&("comma"===t.type||"brace"===t.type),s=N.length&&("pipe"===t.type||"paren"===t.type);if(!n&&"paren"!==t.type&&!o&&!s){K({type:"star",value:Q,output:""});continue}for(;"/**"===e.slice(0,3);){const t=l[M.index+4];if(t&&"/"!==t)break;e=e.slice(3),X("/**",3)}if("bos"===t.type&&z()){U.type="globstar",U.value+=Q,U.output=T(f),M.output=U.output,M.globstar=!0,X(Q);continue}if("slash"===t.type&&"bos"!==t.prev.type&&!i&&z()){M.output=M.output.slice(0,-(t.output+U.output).length),t.output=`(?:${t.output}`,U.type="globstar",U.output=T(f)+(f.strictSlashes?")":"|$)"),U.value+=Q,M.globstar=!0,M.output+=t.output+U.output,X(Q);continue}if("slash"===t.type&&"bos"!==t.prev.type&&"/"===e[0]){const r=void 0!==e[1]?"|$":"";M.output=M.output.slice(0,-(t.output+U.output).length),t.output=`(?:${t.output}`,U.type="globstar",U.output=`${T(f)}${E}|${E}${r})`,U.value+=Q,M.output+=t.output+U.output,M.globstar=!0,X(Q+Y()),K({type:"slash",value:"/",output:""});continue}if("bos"===t.type&&"/"===e[0]){U.type="globstar",U.value+=Q,U.output=`(?:^|${E}|${T(f)}${E})`,M.output=U.output,M.globstar=!0,X(Q+Y()),K({type:"slash",value:"/",output:""});continue}M.output=M.output.slice(0,-U.output.length),U.type="globstar",U.output=T(f),U.value+=Q,M.output+=U.output,M.globstar=!0,X(Q);continue}const r={type:"star",value:Q,output:L};!0!==f.bash?!U||"bracket"!==U.type&&"paren"!==U.type||!0!==f.regex?(M.index!==M.start&&"slash"!==U.type&&"dot"!==U.type||("dot"===U.type?(M.output+=k,U.output+=k):!0===f.dot?(M.output+=P,U.output+=P):(M.output+=O,U.output+=O),"*"!==G()&&(M.output+=C,U.output+=C)),K(r)):(r.output=Q,K(r)):(r.output=".*?","bos"!==U.type&&"slash"!==U.type||(r.output=O+r.output),K(r))}for(;M.brackets>0;){if(!0===f.strictBrackets)throw new SyntaxError(u("closing","]"));M.output=t.escapeLast(M.output,"["),Z("brackets")}for(;M.parens>0;){if(!0===f.strictBrackets)throw new SyntaxError(u("closing",")"));M.output=t.escapeLast(M.output,"("),Z("parens")}for(;M.braces>0;){if(!0===f.strictBrackets)throw new SyntaxError(u("closing","}"));M.output=t.escapeLast(M.output,"{"),Z("braces")}if(!0===f.strictSlashes||"star"!==U.type&&"bracket"!==U.type||K({type:"maybe_slash",value:"",output:`${E}?`}),!0===M.backtrack){M.output="";for(const e of M.tokens)M.output+=null!=e.output?e.output:e.value,e.suffix&&(M.output+=e.suffix)}return M};return c.fastpaths=(n,i)=>{const o={...i},a="number"==typeof o.maxLength?Math.min(r,o.maxLength):r,u=n.length;if(u>a)throw new SyntaxError(`Input length: ${u}, exceeds maximum allowed length: ${a}`);n=s[n]||n;const c=t.isWindows(i),{DOT_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:f,DOTS_SLASH:d,NO_DOT:A,NO_DOTS:h,NO_DOTS_SLASH:g,STAR:m,START_ANCHOR:D}=e.globChars(c),w=o.dot?h:A,b=o.dot?g:A,v=o.capture?"":"?:";let y=!0===o.bash?".*?":m;o.capture&&(y=`(${y})`);const E=e=>!0===e.noglobstar?y:`(${v}(?:(?!${D}${e.dot?d:l}).)*?)`,C=e=>{switch(e){case"*":return`${w}${f}${y}`;case".*":return`${l}${f}${y}`;case"*.*":return`${w}${y}${l}${f}${y}`;case"*/*":return`${w}${y}${p}${f}${b}${y}`;case"**":return w+E(o);case"**/*":return`(?:${w}${E(o)}${p})?${b}${f}${y}`;case"**/*.*":return`(?:${w}${E(o)}${p})?${b}${y}${l}${f}${y}`;case"**/.*":return`(?:${w}${E(o)}${p})?${l}${f}${y}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const r=C(t[1]);if(!r)return;return r+l+t[2]}}},_=t.removePrefix(n,{negated:!1,prefix:""});let F=C(_);return F&&!0!==o.strictSlashes&&(F+=`${p}?`),F},qo=c}(),n=os(),i=is(),o=(e,t,r=!1)=>{if(Array.isArray(e)){const n=e.map(e=>o(e,t,r)),i=e=>{for(const t of n){const r=t(e);if(r)return r}return!1};return i}const i=(s=e)&&"object"==typeof s&&!Array.isArray(s)&&e.tokens&&e.input;var s;if(""===e||"string"!=typeof e&&!i)throw new TypeError("Expected pattern to be a non-empty string");const a=t||{},u=n.isWindows(t),c=i?o.compileRe(e,t):o.makeRe(e,t,!1,!0),l=c.state;delete c.state;let p=()=>!1;if(a.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};p=o(a.ignore,e,r)}const f=(r,n=!1)=>{const{isMatch:i,match:s,output:f}=o.test(r,c,t,{glob:e,posix:u}),d={glob:e,state:l,regex:c,posix:u,input:r,output:f,match:s,isMatch:i};return"function"==typeof a.onResult&&a.onResult(d),!1===i?(d.isMatch=!1,!!n&&d):p(r)?("function"==typeof a.onIgnore&&a.onIgnore(d),d.isMatch=!1,!!n&&d):("function"==typeof a.onMatch&&a.onMatch(d),!n||d)};return r&&(f.state=l),f};return o.test=(e,t,r,{glob:i,posix:s}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const a=r||{},u=a.format||(s?n.toPosixSlashes:null);let c=e===i,l=c&&u?u(e):e;return!1===c&&(l=u?u(e):e,c=l===i),!1!==c&&!0!==a.capture||(c=!0===a.matchBase||!0===a.basename?o.matchBase(e,t,r,s):t.exec(l)),{isMatch:Boolean(c),match:c,output:l}},o.matchBase=(t,r,i,s=n.isWindows(i))=>(r instanceof RegExp?r:o.makeRe(r,i)).test(e.basename(t)),o.isMatch=(e,t,r)=>o(t,r)(e),o.parse=(e,t)=>Array.isArray(e)?e.map(e=>o.parse(e,t)):r(e,{...t,fastpaths:!1}),o.scan=(e,r)=>t(e,r),o.compileRe=(e,t,r=!1,n=!1)=>{if(!0===r)return e.output;const i=t||{},s=i.contains?"":"^",a=i.contains?"":"$";let u=`${s}(?:${e.output})${a}`;e&&!0===e.negated&&(u=`^(?!${u}).*$`);const c=o.toRegex(u,t);return!0===n&&(c.state=e),c},o.makeRe=(e,t={},n=!1,i=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(s.output=r.fastpaths(e,t)),s.output||(s=r(e,t)),o.compileRe(s,t,n,i)},o.toRegex=(e,t)=>{try{const r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},o.constants=i,Jo=o}())}function as(){if(rs)return Ao;rs=1,Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.isAbsolute=Ao.partitionAbsoluteAndRelative=Ao.removeDuplicateSlashes=Ao.matchAny=Ao.convertPatternsToRe=Ao.makeRe=Ao.getPatternParts=Ao.expandBraceExpansion=Ao.expandPatternsWithBraceExpansion=Ao.isAffectDepthOfReadingPattern=Ao.endsWithSlashGlobStar=Ao.hasGlobStar=Ao.getBaseDirectory=Ao.isPatternRelatedToParentDirectory=Ao.getPatternsOutsideCurrentDirectory=Ao.getPatternsInsideCurrentDirectory=Ao.getPositivePatterns=Ao.getNegativePatterns=Ao.isPositivePattern=Ao.isNegativePattern=Ao.convertToNegativePattern=Ao.convertToPositivePattern=Ao.isDynamicPattern=Ao.isStaticPattern=void 0;const e=u,t=mo(),r=function(){if(ts)return es;ts=1;const e=g,t=Uo(),r=ss(),n=os(),i=e=>""===e||"./"===e,o=e=>{const t=e.indexOf("{");return t>-1&&e.indexOf("}",t)>-1},s=(e,t,n)=>{t=[].concat(t),e=[].concat(e);let i=new Set,o=new Set,s=new Set,a=0,u=e=>{s.add(e.output),n&&n.onResult&&n.onResult(e)};for(let s=0;s<t.length;s++){let c=r(String(t[s]),{...n,onResult:u},!0),l=c.state.negated||c.state.negatedExtglob;l&&a++;for(let t of e){let e=c(t,!0);(l?!e.isMatch:e.isMatch)&&(l?i.add(e.output):(i.delete(e.output),o.add(e.output)))}}let c=(a===t.length?[...s]:[...o]).filter(e=>!i.has(e));if(n&&0===c.length){if(!0===n.failglob)throw new Error(`No matches found for "${t.join(", ")}"`);if(!0===n.nonull||!0===n.nullglob)return n.unescape?t.map(e=>e.replace(/\\/g,"")):t}return c};return s.match=s,s.matcher=(e,t)=>r(e,t),s.isMatch=(e,t,n)=>r(t,n)(e),s.any=s.isMatch,s.not=(e,t,r={})=>{t=[].concat(t).map(String);let n=new Set,i=[],o=new Set(s(e,t,{...r,onResult:e=>{r.onResult&&r.onResult(e),i.push(e.output)}}));for(let e of i)o.has(e)||n.add(e);return[...n]},s.contains=(t,r,n)=>{if("string"!=typeof t)throw new TypeError(`Expected a string: "${e.inspect(t)}"`);if(Array.isArray(r))return r.some(e=>s.contains(t,e,n));if("string"==typeof r){if(i(t)||i(r))return!1;if(t.includes(r)||t.startsWith("./")&&t.slice(2).includes(r))return!0}return s.isMatch(t,r,{...n,contains:!0})},s.matchKeys=(e,t,r)=>{if(!n.isObject(e))throw new TypeError("Expected the first argument to be an object");let i=s(Object.keys(e),t,r),o={};for(let t of i)o[t]=e[t];return o},s.some=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),n);if(i.some(e=>t(e)))return!0}return!1},s.every=(e,t,n)=>{let i=[].concat(e);for(let e of[].concat(t)){let t=r(String(e),n);if(!i.every(e=>t(e)))return!1}return!0},s.all=(t,n,i)=>{if("string"!=typeof t)throw new TypeError(`Expected a string: "${e.inspect(t)}"`);return[].concat(n).every(e=>r(e,i)(t))},s.capture=(e,t,i)=>{let o=n.isWindows(i),s=r.makeRe(String(e),{...i,capture:!0}).exec(o?n.toPosixSlashes(t):t);if(s)return s.slice(1).map(e=>void 0===e?"":e)},s.makeRe=(...e)=>r.makeRe(...e),s.scan=(...e)=>r.scan(...e),s.parse=(e,n)=>{let i=[];for(let o of[].concat(e||[]))for(let e of t(String(o),n))i.push(r.parse(e,n));return i},s.braces=(e,r)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return r&&!0===r.nobrace||!o(e)?[e]:t(e,r)},s.braceExpand=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");return s.braces(e,{...t,expand:!0})},s.hasBraces=o,es=s}(),n=/[*?]|^!/,i=/\[[^[]*]/,o=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,s=/[!*+?@]\([^(]*\)/,a=/,|\.\./,c=/(?!^)\/{2,}/g;function l(e,t={}){return!p(e,t)}function p(e,t={}){return!!(""!==e&&(!1===t.caseSensitiveMatch||e.includes("\\")||n.test(e)||i.test(e)||o.test(e)||!1!==t.extglob&&s.test(e)||!1!==t.braceExpansion&&function(e){const t=e.indexOf("{");if(-1===t)return!1;const r=e.indexOf("}",t+1);if(-1===r)return!1;const n=e.slice(t,r);return a.test(n)}(e)))}function f(e){return e.startsWith("!")&&"("!==e[1]}function d(e){return!f(e)}function A(e){return e.startsWith("..")||e.startsWith("./..")}function h(e){return e.endsWith("/**")}function m(e){const t=r.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((e,t)=>e.length-t.length),t.filter(e=>""!==e)}function D(e,t){return r.makeRe(e,t)}function w(t){return e.isAbsolute(t)}return Ao.isStaticPattern=l,Ao.isDynamicPattern=p,Ao.convertToPositivePattern=function(e){return f(e)?e.slice(1):e},Ao.convertToNegativePattern=function(e){return"!"+e},Ao.isNegativePattern=f,Ao.isPositivePattern=d,Ao.getNegativePatterns=function(e){return e.filter(f)},Ao.getPositivePatterns=function(e){return e.filter(d)},Ao.getPatternsInsideCurrentDirectory=function(e){return e.filter(e=>!A(e))},Ao.getPatternsOutsideCurrentDirectory=function(e){return e.filter(A)},Ao.isPatternRelatedToParentDirectory=A,Ao.getBaseDirectory=function(e){return t(e,{flipBackslashes:!1})},Ao.hasGlobStar=function(e){return e.includes("**")},Ao.endsWithSlashGlobStar=h,Ao.isAffectDepthOfReadingPattern=function(t){const r=e.basename(t);return h(t)||l(r)},Ao.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(m(t)),[])},Ao.expandBraceExpansion=m,Ao.getPatternParts=function(e,t){let{parts:n}=r.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},Ao.makeRe=D,Ao.convertPatternsToRe=function(e,t){return e.map(e=>D(e,t))},Ao.matchAny=function(e,t){return t.some(t=>t.test(e))},Ao.removeDuplicateSlashes=function(e){return e.replace(c,"/")},Ao.partitionAbsoluteAndRelative=function(e){const t=[],r=[];for(const n of e)w(n)?t.push(n):r.push(n);return[t,r]},Ao.isAbsolute=w,Ao}var us,cs,ls,ps={};function fs(){if(cs)return us;cs=1;const e=x.PassThrough,t=Array.prototype.slice;function r(t,n){if(Array.isArray(t))for(let e=0,i=t.length;e<i;e++)t[e]=r(t[e],n);else{if(!t._readableState&&t.pipe&&(t=t.pipe(e(n))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}return us=function(){const n=[],i=t.call(arguments);let o=!1,s=i[i.length-1];s&&!Array.isArray(s)&&null==s.pipe?i.pop():s={};const a=!1!==s.end,u=!0===s.pipeError;null==s.objectMode&&(s.objectMode=!0),null==s.highWaterMark&&(s.highWaterMark=65536);const c=e(s);function l(){for(let e=0,t=arguments.length;e<t;e++)n.push(r(arguments[e],s));return p(),this}function p(){if(o)return;o=!0;let e=n.shift();if(!e)return void process.nextTick(f);Array.isArray(e)||(e=[e]);let t=e.length+1;function r(){--t>0||(o=!1,p())}function i(e){function t(){e.removeListener("merge2UnpipeEnd",t),e.removeListener("end",t),u&&e.removeListener("error",n),r()}function n(e){c.emit("error",e)}if(e._readableState.endEmitted)return r();e.on("merge2UnpipeEnd",t),e.on("end",t),u&&e.on("error",n),e.pipe(c,{end:!1}),e.resume()}for(let t=0;t<e.length;t++)i(e[t]);r()}function f(){o=!1,c.emit("queueDrain"),a&&c.end()}return c.setMaxListeners(0),c.add=l,c.on("unpipe",function(e){e.emit("merge2UnpipeEnd")}),i.length&&l.apply(null,i),c},us}var ds,As,hs,gs={};function ms(){return ds||(ds=1,Object.defineProperty(gs,"__esModule",{value:!0}),gs.isEmpty=gs.isString=void 0,gs.isString=function(e){return"string"==typeof e},gs.isEmpty=function(e){return""===e}),gs}function Ds(){if(As)return Ji;As=1,Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.string=Ji.stream=Ji.pattern=Ji.path=Ji.fs=Ji.errno=Ji.array=void 0;const e=Ki();Ji.array=e;const t=to();Ji.errno=t;const r=function(){if(ro)return io;ro=1,Object.defineProperty(io,"__esModule",{value:!0}),io.createDirentFromStats=void 0;class e{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}return io.createDirentFromStats=function(t,r){return new e(t,r)},io}();Ji.fs=r;const n=so();Ji.path=n;const i=as();Ji.pattern=i;const o=function(){if(ls)return ps;ls=1,Object.defineProperty(ps,"__esModule",{value:!0}),ps.merge=void 0;const e=fs();function t(e){e.forEach(e=>e.emit("close"))}return ps.merge=function(r){const n=e(r);return r.forEach(e=>{e.once("error",e=>n.emit("error",e))}),n.once("close",()=>t(r)),n.once("end",()=>t(r)),n},ps}();Ji.stream=o;const s=ms();return Ji.string=s,Ji}var ws,bs,vs,ys,Es,Cs,_s,Fs,ks,Ps={},Bs={},xs={},Ss={},Rs={},Ts={},Os={},Is={},Ls={},Ms={},Ns={},Hs={};function js(){if(Es)return Is;Es=1,Object.defineProperty(Is,"__esModule",{value:!0}),Is.statSync=Is.stat=Is.Settings=void 0;const e=function(){if(ws)return Ls;function e(e,t){e(t)}function t(e,t){e(null,t)}return ws=1,Object.defineProperty(Ls,"__esModule",{value:!0}),Ls.read=void 0,Ls.read=function(r,n,i){n.fs.lstat(r,(o,s)=>{null===o?s.isSymbolicLink()&&n.followSymbolicLink?n.fs.stat(r,(r,o)=>{if(null!==r)return n.throwErrorOnBrokenSymbolicLink?void e(i,r):void t(i,s);n.markSymbolicLink&&(o.isSymbolicLink=()=>!0),t(i,o)}):t(i,s):e(i,o)})},Ls}(),t=(bs||(bs=1,Object.defineProperty(Ms,"__esModule",{value:!0}),Ms.read=void 0,Ms.read=function(e,t){const r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink)return r;try{const r=t.fs.statSync(e);return t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),r}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return r;throw e}}),Ms),r=function(){if(ys)return Ns;ys=1,Object.defineProperty(Ns,"__esModule",{value:!0});const e=(vs||(vs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=s;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(Hs)),Hs);return Ns.default=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=e.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}},Ns}();function n(e={}){return e instanceof r.default?e:new r.default(e)}return Is.Settings=r.default,Is.stat=function(t,r,i){"function"!=typeof r?e.read(t,n(r),i):e.read(t,n(),r)},Is.statSync=function(e,r){const i=n(r);return t.read(e,i)},Is}/*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */function Qs(){if(_s)return Cs;let e;return _s=1,Cs="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:n.e):t=>(e||(e=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))}/*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var Us,zs={};function Gs(){if(Us)return zs;Us=1,Object.defineProperty(zs,"__esModule",{value:!0}),zs.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const e=process.versions.node.split(".");if(void 0===e[0]||void 0===e[1])throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);const t=Number.parseInt(e[0],10),r=Number.parseInt(e[1],10),n=t>10,i=10===t&&r>=10;return zs.IS_SUPPORT_READDIR_WITH_FILE_TYPES=n||i,zs}var Ys,Ws,Xs={},qs={};function $s(){if(Ws)return Xs;Ws=1,Object.defineProperty(Xs,"__esModule",{value:!0}),Xs.fs=void 0;const e=function(){if(Ys)return qs;Ys=1,Object.defineProperty(qs,"__esModule",{value:!0}),qs.createDirentFromStats=void 0;class e{constructor(e,t){this.name=e,this.isBlockDevice=t.isBlockDevice.bind(t),this.isCharacterDevice=t.isCharacterDevice.bind(t),this.isDirectory=t.isDirectory.bind(t),this.isFIFO=t.isFIFO.bind(t),this.isFile=t.isFile.bind(t),this.isSocket=t.isSocket.bind(t),this.isSymbolicLink=t.isSymbolicLink.bind(t)}}return qs.createDirentFromStats=function(t,r){return new e(t,r)},qs}();return Xs.fs=e,Xs}var Js,Zs,Ks={};function Vs(){return Js||(Js=1,Object.defineProperty(Ks,"__esModule",{value:!0}),Ks.joinPathSegments=void 0,Ks.joinPathSegments=function(e,t,r){return e.endsWith(r)?e+t:e+r+t}),Ks}var ea,ta,ra,na,ia={},oa={},sa={};function aa(){return ta||(ta=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createFileSystemAdapter=e.FILE_SYSTEM_ADAPTER=void 0;const t=s;e.FILE_SYSTEM_ADAPTER={lstat:t.lstat,stat:t.stat,lstatSync:t.lstatSync,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}}(sa)),sa}function ua(){if(na)return Ts;na=1,Object.defineProperty(Ts,"__esModule",{value:!0}),Ts.Settings=Ts.scandirSync=Ts.scandir=void 0;const e=function(){if(Zs)return Os;Zs=1,Object.defineProperty(Os,"__esModule",{value:!0}),Os.readdir=Os.readdirWithFileTypes=Os.read=void 0;const e=js(),t=function(){if(ks)return Fs;ks=1,Fs=function(t,r){let n,i,o,s=!0;function a(t){function i(){r&&r(t,n),r=null}s?e(i):i()}function u(e,t,r){n[e]=r,(0===--i||t)&&a(t)}Array.isArray(t)?(n=[],i=t.length):(o=Object.keys(t),n={},i=o.length),i?o?o.forEach(function(e){t[e](function(t,r){u(e,t,r)})}):t.forEach(function(e,t){e(function(e,r){u(t,e,r)})}):a(null),s=!1};const e=Qs();return Fs}(),r=Gs(),n=$s(),i=Vs();function o(e,r,o){r.fs.readdir(e,{withFileTypes:!0},(s,c)=>{if(null!==s)return void a(o,s);const l=c.map(t=>({dirent:t,name:t.name,path:i.joinPathSegments(e,t.name,r.pathSegmentSeparator)}));if(!r.followSymbolicLinks)return void u(o,l);const p=l.map(e=>function(e,t){return r=>{e.dirent.isSymbolicLink()?t.fs.stat(e.path,(i,o)=>{if(null!==i)return t.throwErrorOnBrokenSymbolicLink?void r(i):void r(null,e);e.dirent=n.fs.createDirentFromStats(e.name,o),r(null,e)}):r(null,e)}}(e,r));t(p,(e,t)=>{null===e?u(o,t):a(o,e)})})}function s(r,o,s){o.fs.readdir(r,(c,l)=>{if(null!==c)return void a(s,c);const p=l.map(t=>{const s=i.joinPathSegments(r,t,o.pathSegmentSeparator);return r=>{e.stat(s,o.fsStatSettings,(e,i)=>{if(null!==e)return void r(e);const a={name:t,path:s,dirent:n.fs.createDirentFromStats(t,i)};o.stats&&(a.stats=i),r(null,a)})}});t(p,(e,t)=>{null===e?u(s,t):a(s,e)})})}function a(e,t){e(t)}function u(e,t){e(null,t)}return Os.read=function(e,t,n){t.stats||!r.IS_SUPPORT_READDIR_WITH_FILE_TYPES?s(e,t,n):o(e,t,n)},Os.readdirWithFileTypes=o,Os.readdir=s,Os}(),t=function(){if(ea)return ia;ea=1,Object.defineProperty(ia,"__esModule",{value:!0}),ia.readdir=ia.readdirWithFileTypes=ia.read=void 0;const e=js(),t=Gs(),r=$s(),n=Vs();function i(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(i=>{const o={dirent:i,name:i.name,path:n.joinPathSegments(e,i.name,t.pathSegmentSeparator)};if(o.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{const e=t.fs.statSync(o.path);o.dirent=r.fs.createDirentFromStats(o.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return o})}function o(t,i){return i.fs.readdirSync(t).map(o=>{const s=n.joinPathSegments(t,o,i.pathSegmentSeparator),a=e.statSync(s,i.fsStatSettings),u={name:o,path:s,dirent:r.fs.createDirentFromStats(o,a)};return i.stats&&(u.stats=a),u})}return ia.read=function(e,r){return!r.stats&&t.IS_SUPPORT_READDIR_WITH_FILE_TYPES?i(e,r):o(e,r)},ia.readdirWithFileTypes=i,ia.readdir=o,ia}(),r=function(){if(ra)return oa;ra=1,Object.defineProperty(oa,"__esModule",{value:!0});const e=u,t=js(),r=aa();return oa.default=class{constructor(n={}){this._options=n,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=r.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,e.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new t.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},oa}();function n(e={}){return e instanceof r.default?e:new r.default(e)}return Ts.Settings=r.default,Ts.scandir=function(t,r,i){"function"!=typeof r?e.read(t,n(r),i):e.read(t,n(),r)},Ts.scandirSync=function(e,r){const i=n(r);return t.read(e,i)},Ts}var ca,la,pa,fa={exports:{}};var da,Aa={};function ha(){return da||(da=1,Object.defineProperty(Aa,"__esModule",{value:!0}),Aa.joinPathSegments=Aa.replacePathSegmentSeparator=Aa.isAppliedFilter=Aa.isFatalError=void 0,Aa.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},Aa.isAppliedFilter=function(e,t){return null===e||e(t)},Aa.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},Aa.joinPathSegments=function(e,t,r){return""===e?t:e.endsWith(r)?e+t:e+r+t}),Aa}var ga,ma,Da,wa={};function ba(){if(ga)return wa;ga=1,Object.defineProperty(wa,"__esModule",{value:!0});const e=ha();return wa.default=class{constructor(t,r){this._root=t,this._settings=r,this._root=e.replacePathSegmentSeparator(t,r.pathSegmentSeparator)}},wa}function va(){if(ma)return Rs;ma=1,Object.defineProperty(Rs,"__esModule",{value:!0});const e=A,t=ua(),r=function(){if(pa)return fa.exports;pa=1;var e=la?ca:(la=1,ca=function(e){var t=new e,r=t;return{get:function(){var n=t;return n.next?t=n.next:(t=new e,r=t),n.next=null,n},release:function(e){r.next=e,r=e}}});function t(t,i,o){if("function"==typeof t&&(o=i,i=t,t=null),!(o>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");var s=e(n),a=null,u=null,c=0,l=null,p={push:function(e,n){var d=s.get();d.context=t,d.release=f,d.value=e,d.callback=n||r,d.errorHandler=l,c>=o||p.paused?u?(u.next=d,u=d):(a=d,u=d,p.saturated()):(c++,i.call(t,d.value,d.worked))},drain:r,saturated:r,pause:function(){p.paused=!0},paused:!1,get concurrency(){return o},set concurrency(e){if(!(e>=1))throw new Error("fastqueue concurrency must be equal to or greater than 1");if(o=e,!p.paused)for(;a&&c<o;)c++,f()},running:function(){return c},resume:function(){if(p.paused){if(p.paused=!1,null===a)return c++,void f();for(;a&&c<o;)c++,f()}},idle:function(){return 0===c&&0===p.length()},length:function(){for(var e=a,t=0;e;)e=e.next,t++;return t},getQueue:function(){for(var e=a,t=[];e;)t.push(e.value),e=e.next;return t},unshift:function(e,n){var d=s.get();d.context=t,d.release=f,d.value=e,d.callback=n||r,d.errorHandler=l,c>=o||p.paused?a?(d.next=a,a=d):(a=d,u=d,p.saturated()):(c++,i.call(t,d.value,d.worked))},empty:r,kill:function(){a=null,u=null,p.drain=r},killAndDrain:function(){a=null,u=null,p.drain(),p.drain=r},error:function(e){l=e}};return p;function f(e){e&&s.release(e);var r=a;r&&c<=o?p.paused?c--:(u===a&&(u=null),a=r.next,r.next=null,i.call(t,r.value,r.worked),null===u&&p.empty()):0===--c&&p.drain()}}function r(){}function n(){this.value=null,this.callback=r,this.next=null,this.release=r,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var i=e.callback,o=e.errorHandler,s=e.value;e.value=null,e.callback=r,e.errorHandler&&o(t,s),i.call(e.context,t,n),e.release(e)}}return fa.exports=t,fa.exports.promise=function(e,n,i){"function"==typeof e&&(i=n,n=e,e=null);var o=t(e,function(e,t){n.call(this,e).then(function(e){t(null,e)},t)},i),s=o.push,a=o.unshift;return o.push=function(e){var t=new Promise(function(t,r){s(e,function(e,n){e?r(e):t(n)})});return t.catch(r),t},o.unshift=function(e){var t=new Promise(function(t,r){a(e,function(e,n){e?r(e):t(n)})});return t.catch(r),t},o.drained=function(){return new Promise(function(e){process.nextTick(function(){if(o.idle())e();else{var t=o.drain;o.drain=function(){"function"==typeof t&&t(),e(),o.drain=t}}})})},o},fa.exports}(),n=ha(),i=ba();class o extends i.default{constructor(n,i){super(n,i),this._settings=i,this._scandir=t.scandir,this._emitter=new e.EventEmitter,this._queue=r(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{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 new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const r={directory:e,base:t};this._queue.push(r,e=>{null!==e&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(r,n)=>{if(null===r){for(const t of n)this._handleEntry(t,e.base);t(null,void 0)}else t(r,void 0)})}_handleError(e){!this._isDestroyed&&n.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;const r=e.path;void 0!==t&&(e.path=n.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),n.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&n.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(r,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}return Rs.default=o,Rs}var ya,Ea,Ca,_a={},Fa={},ka={};var Pa,Ba,xa={};function Sa(){if(Ba)return xs;Ba=1,Object.defineProperty(xs,"__esModule",{value:!0}),xs.Settings=xs.walkStream=xs.walkSync=xs.walk=void 0;const e=function(){if(Da)return Ss;Da=1,Object.defineProperty(Ss,"__esModule",{value:!0});const e=va();return Ss.default=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new e.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{!function(e,t){e(t)}(e,t)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{!function(e,t){e(null,t)}(e,this._storage)}),this._reader.read()}},Ss}(),t=function(){if(ya)return _a;ya=1,Object.defineProperty(_a,"__esModule",{value:!0});const e=x,t=va();return _a.default=class{constructor(r,n){this._root=r,this._settings=n,this._reader=new t.default(this._root,this._settings),this._stream=new e.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}},_a}(),r=function(){if(Ca)return Fa;Ca=1,Object.defineProperty(Fa,"__esModule",{value:!0});const e=function(){if(Ea)return ka;Ea=1,Object.defineProperty(ka,"__esModule",{value:!0});const e=ua(),t=ha(),r=ba();class n extends r.default{constructor(){super(...arguments),this._scandir=e.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{const r=this._scandir(e,this._settings.fsScandirSettings);for(const e of r)this._handleEntry(e,t)}catch(e){this._handleError(e)}}_handleError(e){if(t.isFatalError(this._settings,e))throw e}_handleEntry(e,r){const n=e.path;void 0!==r&&(e.path=t.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),t.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&t.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===r?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}return ka.default=n,ka}();return Fa.default=class{constructor(t,r){this._root=t,this._settings=r,this._reader=new e.default(this._root,this._settings)}read(){return this._reader.read()}},Fa}(),n=function(){if(Pa)return xa;Pa=1,Object.defineProperty(xa,"__esModule",{value:!0});const e=u,t=ua();return xa.default=class{constructor(r={}){this._options=r,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,e.sep),this.fsScandirSettings=new t.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}},xa}();function i(e={}){return e instanceof n.default?e:new n.default(e)}return xs.Settings=n.default,xs.walk=function(t,r,n){"function"!=typeof r?new e.default(t,i(r)).read(n):new e.default(t,i()).read(r)},xs.walkSync=function(e,t){const n=i(t);return new r.default(e,n).read()},xs.walkStream=function(e,r){const n=i(r);return new t.default(e,n).read()},xs}var Ra,Ta={};function Oa(){if(Ra)return Ta;Ra=1,Object.defineProperty(Ta,"__esModule",{value:!0});const e=u,t=js(),r=Ds();return Ta.default=class{constructor(e){this._settings=e,this._fsStatSettings=new t.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return e.resolve(this._settings.cwd,t)}_makeEntry(e,t){const n={name:t,path:t,dirent:r.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!r.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}},Ta}var Ia,La,Ma={};function Na(){if(Ia)return Ma;Ia=1,Object.defineProperty(Ma,"__esModule",{value:!0});const e=x,t=js(),r=Sa(),n=Oa();class i extends n.default{constructor(){super(...arguments),this._walkStream=r.walkStream,this._stat=t.stat}dynamic(e,t){return this._walkStream(e,t)}static(t,r){const n=t.map(this._getFullEntryPath,this),i=new e.PassThrough({objectMode:!0});i._write=(e,o,s)=>this._getEntry(n[e],t[e],r).then(t=>{null!==t&&r.entryFilter(t)&&i.push(t),e===n.length-1&&i.end(),s()}).catch(s);for(let e=0;e<n.length;e++)i.write(e);return i}_getEntry(e,t,r){return this._getStat(e).then(e=>this._makeEntry(e,t)).catch(e=>{if(r.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,r)=>{this._stat(e,this._fsStatSettings,(e,n)=>null===e?t(n):r(e))})}}return Ma.default=i,Ma}var Ha,ja,Qa,Ua={},za={},Ga={},Ya={};var Wa,Xa,qa,$a,Ja,Za={},Ka={},Va={};function eu(){if($a)return Ua;$a=1,Object.defineProperty(Ua,"__esModule",{value:!0});const e=u,t=function(){if(Qa)return za;Qa=1,Object.defineProperty(za,"__esModule",{value:!0});const e=Ds(),t=function(){if(ja)return Ga;ja=1,Object.defineProperty(Ga,"__esModule",{value:!0});const e=function(){if(Ha)return Ya;Ha=1,Object.defineProperty(Ya,"__esModule",{value:!0});const e=Ds();return Ya.default=class{constructor(e,t,r){this._patterns=e,this._settings=t,this._micromatchOptions=r,this._storage=[],this._fillStorage()}_fillStorage(){for(const e of this._patterns){const t=this._getPatternSegments(e),r=this._splitSegmentsIntoSections(t);this._storage.push({complete:r.length<=1,pattern:e,segments:t,sections:r})}}_getPatternSegments(t){return e.pattern.getPatternParts(t,this._micromatchOptions).map(t=>e.pattern.isDynamicPattern(t,this._settings)?{dynamic:!0,pattern:t,patternRe:e.pattern.makeRe(t,this._micromatchOptions)}:{dynamic:!1,pattern:t})}_splitSegmentsIntoSections(t){return e.array.splitWhen(t,t=>t.dynamic&&e.pattern.hasGlobStar(t.pattern))}},Ya}();class t extends e.default{match(e){const t=e.split("/"),r=t.length,n=this._storage.filter(e=>!e.complete||e.segments.length>r);for(const e of n){const n=e.sections[0];if(!e.complete&&r>n.length)return!0;const i=t.every((t,r)=>{const n=e.segments[r];return!(!n.dynamic||!n.patternRe.test(t))||!n.dynamic&&n.pattern===t});if(i)return!0}return!1}}return Ga.default=t,Ga}();return za.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,r){const n=this._getMatcher(t),i=this._getNegativePatternsRe(r);return t=>this._filter(e,t,n,i)}_getMatcher(e){return new t.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){const r=t.filter(e.pattern.isAffectDepthOfReadingPattern);return e.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(t,r,n,i){if(this._isSkippedByDeep(t,r.path))return!1;if(this._isSkippedSymbolicLink(r))return!1;const o=e.path.removeLeadingDotSegment(r.path);return!this._isSkippedByPositivePatterns(o,n)&&this._isSkippedByNegativePatterns(o,i)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){const r=t.split("/").length;return""===e?r:r-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(t,r){return!e.pattern.matchAny(t,r)}},za}(),r=function(){if(Wa)return Za;Wa=1,Object.defineProperty(Za,"__esModule",{value:!0});const e=Ds();return Za.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(t,r){const[n,i]=e.pattern.partitionAbsoluteAndRelative(r),o={positive:{all:e.pattern.convertPatternsToRe(t,this._micromatchOptions)},negative:{absolute:e.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:e.pattern.convertPatternsToRe(i,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return e=>this._filter(e,o)}_filter(t,r){const n=e.path.removeLeadingDotSegment(t.path);if(this._settings.unique&&this._isDuplicateEntry(n))return!1;if(this._onlyFileFilter(t)||this._onlyDirectoryFilter(t))return!1;const i=this._isMatchToPatternsSet(n,r,t.dirent.isDirectory());return this._settings.unique&&i&&this._createIndexRecord(n),i}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,t,r){return!!this._isMatchToPatterns(e,t.positive.all,r)&&!this._isMatchToPatterns(e,t.negative.relative,r)&&!this._isMatchToAbsoluteNegative(e,t.negative.absolute,r)}_isMatchToAbsoluteNegative(t,r,n){if(0===r.length)return!1;const i=e.path.makeAbsolute(this._settings.cwd,t);return this._isMatchToPatterns(i,r,n)}_isMatchToPatterns(t,r,n){if(0===r.length)return!1;const i=e.pattern.matchAny(t,r);return!i&&n?e.pattern.matchAny(t+"/",r):i}},Za}(),n=function(){if(Xa)return Ka;Xa=1,Object.defineProperty(Ka,"__esModule",{value:!0});const e=Ds();return Ka.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(t){return e.errno.isEnoentCodeError(t)||this._settings.suppressErrors}},Ka}(),i=function(){if(qa)return Va;qa=1,Object.defineProperty(Va,"__esModule",{value:!0});const e=Ds();return Va.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(t){let r=t.path;return this._settings.absolute&&(r=e.path.makeAbsolute(this._settings.cwd,r),r=e.path.unixify(r)),this._settings.markDirectories&&t.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:r}):r}},Va}();return Ua.default=class{constructor(e){this._settings=e,this.errorFilter=new n.default(this._settings),this.entryFilter=new r.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new t.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new i.default(this._settings)}_getRootDirectory(t){return e.resolve(this._settings.cwd,t.base)}_getReaderOptions(e){const t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.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}}},Ua}var tu,ru,nu,iu={},ou={},su={};var au,uu,cu,lu={},pu=function(){if(cu)return uu;cu=1;const e=function(){if(hs)return $i;hs=1,Object.defineProperty($i,"__esModule",{value:!0}),$i.convertPatternGroupToTask=$i.convertPatternGroupsToTasks=$i.groupPatternsByBaseDirectory=$i.getNegativePatternsAsPositive=$i.getPositivePatterns=$i.convertPatternsToTasks=$i.generate=void 0;const e=Ds();function t(t,r){let n=t;return r.braceExpansion&&(n=e.pattern.expandPatternsWithBraceExpansion(n)),r.baseNameMatch&&(n=n.map(e=>e.includes("/")?e:`**/${e}`)),n.map(t=>e.pattern.removeDuplicateSlashes(t))}function r(t,r,n){const i=[],u=e.pattern.getPatternsOutsideCurrentDirectory(t),c=e.pattern.getPatternsInsideCurrentDirectory(t),l=o(u),p=o(c);return i.push(...s(l,r,n)),"."in p?i.push(a(".",c,r,n)):i.push(...s(p,r,n)),i}function n(t){return e.pattern.getPositivePatterns(t)}function i(t,r){return e.pattern.getNegativePatterns(t).concat(r).map(e.pattern.convertToPositivePattern)}function o(t){return t.reduce((t,r)=>{const n=e.pattern.getBaseDirectory(r);return n in t?t[n].push(r):t[n]=[r],t},{})}function s(e,t,r){return Object.keys(e).map(n=>a(n,e[n],t,r))}function a(t,r,n,i){return{dynamic:i,positive:r,negative:n,base:t,patterns:[].concat(r,n.map(e.pattern.convertToNegativePattern))}}return $i.generate=function(o,s){const a=t(o,s),u=t(s.ignore,s),c=n(a),l=i(a,u),p=c.filter(t=>e.pattern.isStaticPattern(t,s)),f=c.filter(t=>e.pattern.isDynamicPattern(t,s)),d=r(p,l,!1),A=r(f,l,!0);return d.concat(A)},$i.convertPatternsToTasks=r,$i.getPositivePatterns=n,$i.getNegativePatternsAsPositive=i,$i.groupPatternsByBaseDirectory=o,$i.convertPatternGroupsToTasks=s,$i.convertPatternGroupToTask=a,$i}(),t=function(){if(Ja)return Ps;Ja=1,Object.defineProperty(Ps,"__esModule",{value:!0});const e=function(){if(La)return Bs;La=1,Object.defineProperty(Bs,"__esModule",{value:!0});const e=Sa(),t=Oa(),r=Na();class n extends t.default{constructor(){super(...arguments),this._walkAsync=e.walk,this._readerStream=new r.default(this._settings)}dynamic(e,t){return new Promise((r,n)=>{this._walkAsync(e,t,(e,t)=>{null===e?r(t):n(e)})})}async static(e,t){const r=[],n=this._readerStream.static(e,t);return new Promise((e,t)=>{n.once("error",t),n.on("data",e=>r.push(e)),n.once("end",()=>e(r))})}}return Bs.default=n,Bs}(),t=eu();class r extends t.default{constructor(){super(...arguments),this._reader=new e.default(this._settings)}async read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e);return(await this.api(t,e,r)).map(e=>r.transform(e))}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}return Ps.default=r,Ps}(),r=function(){if(tu)return iu;tu=1,Object.defineProperty(iu,"__esModule",{value:!0});const e=x,t=Na(),r=eu();class n extends r.default{constructor(){super(...arguments),this._reader=new t.default(this._settings)}read(t){const r=this._getRootDirectory(t),n=this._getReaderOptions(t),i=this.api(r,t,n),o=new e.Readable({objectMode:!0,read:()=>{}});return i.once("error",e=>o.emit("error",e)).on("data",e=>o.emit("data",n.transform(e))).once("end",()=>o.emit("end")),o.once("close",()=>i.destroy()),o}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}return iu.default=n,iu}(),n=function(){if(nu)return ou;nu=1,Object.defineProperty(ou,"__esModule",{value:!0});const e=function(){if(ru)return su;ru=1,Object.defineProperty(su,"__esModule",{value:!0});const e=js(),t=Sa(),r=Oa();class n extends r.default{constructor(){super(...arguments),this._walkSync=t.walkSync,this._statSync=e.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){const r=[];for(const n of e){const e=this._getFullEntryPath(n),i=this._getEntry(e,n,t);null!==i&&t.entryFilter(i)&&r.push(i)}return r}_getEntry(e,t,r){try{const r=this._getStat(e);return this._makeEntry(r,t)}catch(e){if(r.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}return su.default=n,su}(),t=eu();class r extends t.default{constructor(){super(...arguments),this._reader=new e.default(this._settings)}read(e){const t=this._getRootDirectory(e),r=this._getReaderOptions(e);return this.api(t,e,r).map(r.transform)}api(e,t,r){return t.dynamic?this._reader.dynamic(e,r):this._reader.static(t.patterns,r)}}return ou.default=r,ou}(),i=(au||(au=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const t=s,r=p,n=Math.max(r.cpus().length,1);e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:t.lstat,lstatSync:t.lstatSync,stat:t.stat,statSync:t.statSync,readdir:t.readdir,readdirSync:t.readdirSync},e.default=class{constructor(e={}){this._options=e,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,n),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),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}}(lu)),lu),o=Ds();async function a(e,r){c(e);const n=u(e,t.default,r),i=await Promise.all(n);return o.array.flatten(i)}function u(t,r,n){const o=[].concat(t),s=new i.default(n),a=e.generate(o,s),u=new r(s);return a.map(u.read,u)}function c(e){if(![].concat(e).every(e=>o.string.isString(e)&&!o.string.isEmpty(e)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}return function(t){function s(e,t){c(e);const r=u(e,n.default,t);return o.array.flatten(r)}function a(e,t){c(e);const n=u(e,r.default,t);return o.stream.merge(n)}t.glob=t,t.globSync=s,t.globStream=a,t.async=t,t.sync=s,t.stream=a,t.generateTasks=function(t,r){c(t);const n=[].concat(t),o=new i.default(r);return e.generate(n,o)},t.isDynamicPattern=function(e,t){c(e);const r=new i.default(t);return o.pattern.isDynamicPattern(e,r)},t.escapePath=function(e){return c(e),o.path.escape(e)},t.convertPathToPattern=function(e){return c(e),o.path.convertPathToPattern(e)},function(e){e.escapePath=function(e){return c(e),o.path.escapePosixPath(e)},e.convertPathToPattern=function(e){return c(e),o.path.convertPosixPathToPattern(e)}}(t.posix||(t.posix={})),function(e){e.escapePath=function(e){return c(e),o.path.escapeWindowsPath(e)},e.convertPathToPattern=function(e){return c(e),o.path.convertWindowsPathToPattern(e)}}(t.win32||(t.win32={}))}(a||(a={})),uu=a}(),fu=n.g(pu);async function du(e,t,r){if("string"!=typeof r)throw new TypeError("Expected a string, got "+typeof r);try{return(await s.promises[e](r))[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}function Au(e,t,r){if("string"!=typeof r)throw new TypeError("Expected a string, got "+typeof r);try{return s[e](r)[t]()}catch(e){if("ENOENT"===e.code)return!1;throw e}}du.bind(null,"stat","isFile");const hu=du.bind(null,"stat","isDirectory");function gu(e){return e instanceof URL?C.fileURLToPath(e):e}var mu,Du;du.bind(null,"lstat","isSymbolicLink"),Au.bind(null,"statSync","isFile"),Au.bind(null,"statSync","isDirectory"),Au.bind(null,"lstatSync","isSymbolicLink");var wu=function(){if(Du)return mu;function e(e){return Array.isArray(e)?e:[e]}Du=1;const t=/^\s+$/,r=/(?:[^\\]|^)\\$/,n=/^\\!/,i=/^\\#/,o=/\r?\n/g,s=/^\.*\/|^\.+$/;let a="node-ignore";"undefined"!=typeof Symbol&&(a=Symbol.for("node-ignore"));const u=a,c=/([0-z])-([0-z])/g,l=()=>!1,p=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(0===r.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(e,t)=>{const{length:r}=t;return t.slice(0,r-r%2)+" "}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>t+r.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>"\\"===t?`\\[${r}${(e=>{const{length:t}=e;return e.slice(0,t-t%2)})(n)}${i}`:"]"===i&&n.length%2==0?`[${(e=>e.replace(c,(e,t,r)=>t.charCodeAt(0)<=r.charCodeAt(0)?e:""))(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>(t?`${t}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],f=Object.create(null),d=e=>"string"==typeof e;class A{constructor(e,t,r,n){this.origin=e,this.pattern=t,this.negative=r,this.regex=n}}const h=(e,t)=>{throw new t(e)},g=(e,t,r)=>d(e)?e?!g.isNotRelative(e)||r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),m=e=>s.test(e);g.isNotRelative=m,g.convert=e=>e;class D{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:r=!1}={}){var n;n=u,Object.defineProperty(this,n,{value:true}),this._rules=[],this._ignoreCase=t,this._allowRelativePaths=r,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[u])return this._rules=this._rules.concat(e._rules),void(this._added=!0);if((e=>e&&d(e)&&!t.test(e)&&!r.test(e)&&0!==e.indexOf("#"))(e)){const t=((e,t)=>{const r=e;let o=!1;0===e.indexOf("!")&&(o=!0,e=e.substr(1));const s=((e,t)=>{let r=f[e];return r||(r=p.reduce((t,[r,n])=>t.replace(r,n.bind(e)),e),f[e]=r),t?new RegExp(r,"i"):new RegExp(r)})(e=e.replace(n,"!").replace(i,"#"),t);return new A(r,e,o,s)})(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(t){return this._added=!1,e(d(t)?(e=>e.split(o))(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,t){let r=!1,n=!1;return this._rules.forEach(i=>{const{negative:o}=i;n===o&&r!==n||o&&!r&&!n&&!t||i.regex.test(e)&&(r=!o,n=o)}),{ignored:r,unignored:n}}_test(e,t,r,n){const i=e&&g.convert(e);return g(i,e,this._allowRelativePaths?l:h),this._t(i,t,r,n)}_t(e,t,r,n){if(e in t)return t[e];if(n||(n=e.split("/")),n.pop(),!n.length)return t[e]=this._testOne(e,r);const i=this._t(n.join("/")+"/",t,r,n);return t[e]=i.ignored?i:this._testOne(e,r)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(t){return e(t).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}}const w=e=>new D(e);if(w.isPathValid=e=>g(e&&g.convert(e),e,l),w.default=w,mu=w,"undefined"!=typeof process&&(process.env&&process.env.IGNORE_TEST_WIN32||"win32"===process.platform)){const e=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,"/");g.convert=e;const t=/^[a-z]:\//i;g.isNotRelative=e=>t.test(e)||m(e)}return mu}(),bu=n.g(wu);function vu(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}const yu=e=>"!"===e[0],Eu=["**/node_modules","**/flow-typed","**/coverage","**/.git"],Cu={absolute:!0,dot:!0},_u=(e,t)=>{const r=e.flatMap(e=>((e,t)=>{const r=vu(o.relative(t,o.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(e=>e&&!e.startsWith("#")).map(e=>((e,t)=>yu(e)?"!"+o.posix.join(t,e.slice(1)):o.posix.join(t,e))(e,r))})(e,t)),n=bu().add(r);return e=>(e=((e,t)=>{if(t=vu(t),o.isAbsolute(e)){if(vu(e).startsWith(t))return o.relative(t,e);throw new Error(`Path ${e} is not in cwd ${t}`)}return e})(e=gu(e),t),!!e&&n.ignores(vu(e)))},Fu=async(t,{cwd:r=e.cwd(),files:n,extensions:i}={})=>{const s=await Promise.all(t.map(async e=>await hu(((e,t)=>{const r=yu(e)?e.slice(1):e;return o.isAbsolute(r)?r:o.join(t,r)})(e,r))?(({directoryPath:e,files:t,extensions:r})=>{const n=r?.length>0?`.${r.length>1?`{${r.join(",")}}`:r[0]}`:"";return t?t.map(t=>o.posix.join(e,`**/${o.extname(t)?t:`${t}${n}`}`)):[o.posix.join(e,"**"+(n?`/*${n}`:""))]})({directoryPath:e,files:n,extensions:i}):e));return s.flat()},ku=e=>((e=>{if(e.some(e=>"string"!=typeof e))throw new TypeError("Patterns must be a string or an array of strings")})(e=[...new Set([e].flat())]),e),Pu=(e={})=>((e=>{if(!e)return;let t;try{t=i.statSync(e)}catch{return}if(!t.isDirectory())throw new Error("The `cwd` option must be a path to a directory")})((e={...e,ignore:e.ignore??[],expandDirectories:e.expandDirectories??!0,cwd:gu(e.cwd)}).cwd),e),Bu=async t=>{const r=(e=>{const{ignoreFiles:t,gitignore:r}=e,n=t?ku(t):[];return r&&n.push("**/.gitignore"),n})(t);return xu(r.length>0&&await(async(t,r)=>{const{cwd:n,suppressErrors:i,deep:o,ignore:s}=((t={})=>({cwd:gu(t.cwd)??e.cwd(),suppressErrors:Boolean(t.suppressErrors),deep:"number"==typeof t.deep?t.deep:Number.POSITIVE_INFINITY,ignore:[...t.ignore??[],...Eu]}))(r),a=await fu(t,{cwd:n,suppressErrors:i,deep:o,ignore:s,...Cu}),u=await Promise.all(a.map(async e=>({filePath:e,content:await B.readFile(e,"utf8")})));return _u(u,n)})(r,t))},xu=e=>{const t=new Set;return r=>{const n=o.normalize(r.path??r);return!(t.has(n)||e&&e(n)||(t.add(n),0))}},Su=async(e,t)=>{const r=((e,t)=>{const r=[];for(;e.length>0;){const n=e.findIndex(e=>yu(e));if(-1===n){r.push({patterns:e,options:t});break}const i=e[n].slice(1);for(const e of r)e.options.ignore.push(i);0!==n&&r.push({patterns:e.slice(0,n),options:{...t,ignore:[...t.ignore,i]}}),e=e.slice(n+1)}return r})(e,t),{cwd:n,expandDirectories:i}=t;if(!i)return r;const o=((e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}))(i,n);return Promise.all(r.map(async e=>{let{patterns:t,options:r}=e;return[t,r.ignore]=await Promise.all([Fu(t,o),Fu(r.ignore,{cwd:n})]),{patterns:t,options:r}}))},Ru=(Tu=async(e,t)=>{const[r,n]=await Promise.all([Su(e,t),Bu(t)]);return((e,t)=>e.flat().filter(e=>t(e)))(await Promise.all(r.map(e=>fu(e.patterns,e.options))),n)},async(e,t)=>Tu(ku(e),Pu(t)));var Tu;const Ou=(e,t)=>((e,t)=>e.some(e=>fu.isDynamicPattern(e,t)))(ku(e),Pu(t)),{convertPathToPattern:Iu}=fu,Lu=l.promisify(T.tmpName),Mu="linux"===process.platform&&!er(),Nu=["md","mdown","markdown","markdn"];var Hu;!function(e){e[e.File=0]="File",e[e.StandardIO=1]="StandardIO",e[e.Null=2]="Null"}(Hu||(Hu={}));class ju{buffer;inputDir;type=Hu.File;path;constructor(e){this.path=e}get absolutePath(){return o.resolve(this.path)}get absoluteFileScheme(){return Q.pathToFileURL(this.absolutePath).toString()}convert(e,t){switch(e){case void 0:return ju.initialize(this.convertName(t),e=>e.type=this.type);case!1:return ju.initialize(this.path,e=>e.type=Hu.Null);case"-":return ju.initialize("-",e=>e.type=Hu.StandardIO)}return this.inputDir?ju.initialize(this.convertName({...t,basePath:o.join(e,this.relativePath(this.inputDir))})):ju.initialize(this.convertName({...t,extension:void 0,basePath:e}))}async load(){return this.buffer=this.buffer||await i.promises.readFile(this.path),this.buffer}relativePath(e=process.cwd()){return o.relative(e,this.absolutePath)}async save(){switch(this.type){case Hu.File:await this.saveToFile();break;case Hu.StandardIO:process.stdout.write(this.buffer)}}async saveTmpFile({extension:e}={}){const r=await(async({extension:e}={})=>{const r=await(async e=>{let r=await Lu({postfix:e});return Mu&&(r=o.join(t.homedir(),o.basename(r))),r})(e);let s=!1;const a=async()=>{if(!s)try{await i.promises.unlink(r),n.d("Cleaned up temporary file: %s",r),s=!0}catch(e){n.d("Failed to clean up temporary file: %o",e)}};return{path:r,cleanup:a,[Symbol.dispose]:()=>{a()},[Symbol.asyncDispose]:a}})({extension:e});return n.d("Saving temporary file: %s",r.path),await this.saveToFile(r.path),r}convertName(e={}){const{basePath:t,extension:r,page:n}={basePath:this.path,...e};let i=t;if(void 0!==r&&(i=o.join(o.dirname(t),`${o.basename(t,o.extname(t))}.${r}`)),void 0!==n){const e=o.extname(i),t=n.toString().padStart(3,"0");i=o.join(o.dirname(i),`${o.basename(i,e)}.${t}${e}`)}return i}async saveToFile(e=this.path){n.d("Saving file: %s",e);const t=o.dirname(o.resolve(e));o.dirname(t)!==t&&await i.promises.mkdir(t,{recursive:!0}),await i.promises.writeFile(e,this.buffer),n.d("Saved: %s",e)}static stdinBuffer;static async findPath(e,...t){const r=new Set,n=[],s=[];for(const e of t){try{const t=await i.promises.stat(e);if(t.isFile()){r.add(o.resolve(e));continue}if(t.isDirectory()){s.push(o.resolve(e));continue}}catch{}n.push(e.split(o.sep).join("/"))}const a={absolute:!0,ignore:["**/node_modules"],...e};(await Ru(n,a)).forEach(e=>r.add(e));for(const e of s)(await Ru(".",{cwd:e,...a})).forEach(e=>r.add(e));return[...r.values()].map(e=>o.normalize(e))}static async find(...e){return(await this.findPath({expandDirectories:{extensions:[],files:Nu.map(e=>`*.${e}`)}},...e)).map(e=>new ju(e))}static async findDir(e){const t=await this.find(e);return t.forEach(t=>t.inputDir=o.resolve(e)),t}static async stdin(){if(this.stdinBuffer=this.stdinBuffer||await(async()=>{if(process.stdin.isTTY)return Buffer.alloc(0);const e=new AbortController;R.setTimeout(3e3,null,{ref:!1,signal:e.signal}).then(()=>{Kr(`Currently waiting data from stdin stream. Conversion will start after finished reading. (Pass ${de.yellow`--no-stdin`} option if it was not intended)`)}).catch(()=>{}),n.d("Reading stdin stream...");const t=await S.buffer(process.stdin);return n.d("Read from stdin: %d bytes",t.length),e.abort(),t})(),0!==this.stdinBuffer.length)return this.initialize("-",e=>{e.buffer=this.stdinBuffer,e.type=Hu.StandardIO})}static initialize(e,t){const r=new this(e);return t?.(r),r}}const Qu=["scoop","apps","libreoffice","current"],Uu=e=>({path:e});class zu{preferredPath;#t;_path=Oe();_profileDir=Oe();static _spawnQueue=Promise.resolve();constructor(e={}){this.#t=`marp-cli-soffice-${ir(10)}`,this.preferredPath=e.path}get path(){return this._path.init(async()=>(await(async({preferredPath:e}={})=>{if(e)return Uu(e);if(process.env.SOFFICE_PATH){const e=await tt(process.env.SOFFICE_PATH);if(e&&await Xe(e))return Uu(e)}const t=await Ye(),r=await(async()=>{switch(t){case"darwin":return await(async()=>await $e(["/Applications/LibreOffice.app/Contents/MacOS/soffice"]))();case"win32":return await(async()=>{const e=[],t=/^[a-z]:\\/i;for(const r of(()=>{const e=new Set(["c"]),r=process.env.PATH?.split(";")??[];for(const n of r)t.test(n)&&e.add(n[0].toLowerCase());return Array.from(e).sort()})())for(const t of[process.env.PROGRAMFILES,process.env["PROGRAMFILES(X86)"]])t&&e.push(`${r}${t.slice(1)}`);return process.env.USERPROFILE&&e.push(o.join(process.env.USERPROFILE,...Qu)),process.env.ALLUSERSPROFILE&&e.push(o.join(process.env.ALLUSERSPROFILE,...Qu)),await $e(e.map(e=>o.join(e,"LibreOffice","program","soffice.exe")))})()}return await(async()=>await Ke(["soffice"]))()})();if(r)return Uu(r);he("LibreOffice soffice binary could not be found.",Ae.NOT_FOUND_SOFFICE)})({preferredPath:this.preferredPath})).path)}get profileDir(){return this._profileDir.init(async()=>await this.setProfileDir())}async spawn(e){return new Promise((t,r)=>{zu._spawnQueue=zu._spawnQueue.then(async()=>{const t=[`-env:UserInstallation=${(await this.profileDir).fileURL}`,...e];n.d("[soffice] Spawning soffice with args: %o",t);const r=c.spawn(await this.path,t,{stdio:"pipe"});return r.stdout.on("data",e=>{n.d("[soffice:stdout] %s",e.toString())}),r.stderr.on("data",e=>{const t=e.toString();n.d("[soffice:stderr] %s",t),Vr(`${de.yellow`[soffice]`} ${t.trim()}`,{singleLine:!0})}),new Promise((e,t)=>{r.on("close",r=>{n.d("[soffice] soffice exited with code %d",r),0===r?e():t(new Error(`soffice exited with code ${r}.`))})})}).then(t,r)})}async setProfileDir(){const e=o.resolve(t.tmpdir(),this.#t);return n.d("soffice data directory: %s",e),await i.promises.mkdir(e,{recursive:!0}),n.d("soffice data directory created: %s",e),{path:e,fileURL:C.pathToFileURL(e).toString()}}}var Gu,Yu={},Wu=function(){if(Gu)return Yu;Gu=1;var e=Object.prototype.hasOwnProperty;function t(r,n){return Array.isArray(r)?function(e,r){for(var n,i="",s="",a=Array.isArray(r),u=0;u<e.length;u++)(n=t(e[u]))&&(a&&r[u]&&(n=o(n)),i=i+s+n,s=" ");return i}(r,n):r&&"object"==typeof r?function(t){var r="",n="";for(var i in t)i&&t[i]&&e.call(t,i)&&(r=r+n+i,n=" ");return r}(r):r||""}function r(t){if(!t)return"";if("object"==typeof t){var r="";for(var n in t)e.call(t,n)&&(r=r+n+":"+t[n]+";");return r}return t+""}function n(e,t,r,n){if(!1===t||null==t||!t&&("class"===e||"style"===e))return"";if(!0===t)return" "+(n?e:e+'="'+e+'"');var i=typeof t;return"object"!==i&&"function"!==i||"function"!=typeof t.toJSON||(t=t.toJSON()),"string"==typeof t||(t=JSON.stringify(t),r||-1===t.indexOf('"'))?(r&&(t=o(t))," "+e+'="'+t+'"'):" "+e+"='"+t.replace(/'/g,"'")+"'"}Yu.merge=function e(t,n){if(1===arguments.length){for(var i=t[0],o=1;o<t.length;o++)i=e(i,t[o]);return i}for(var s in n)if("class"===s){var a=t[s]||[];t[s]=(Array.isArray(a)?a:[a]).concat(n[s]||[])}else if("style"===s){a=(a=r(t[s]))&&";"!==a[a.length-1]?a+";":a;var u=r(n[s]);u=u&&";"!==u[u.length-1]?u+";":u,t[s]=a+u}else t[s]=n[s];return t},Yu.classes=t,Yu.style=r,Yu.attr=n,Yu.attrs=function(i,o){var s="";for(var a in i)if(e.call(i,a)){var u=i[a];if("class"===a){s=n(a,u=t(u),!1,o)+s;continue}"style"===a&&(u=r(u)),s+=n(a,u,!1,o)}return s};var i=/["&<>]/;function o(e){var t=""+e,r=i.exec(t);if(!r)return e;var n,o,s,a="";for(n=r.index,o=0;n<t.length;n++){switch(t.charCodeAt(n)){case 34:s=""";break;case 38:s="&";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==n&&(a+=t.substring(o,n)),o=n+1,a+=s}return o!==n?a+t.substring(o,n):a}return Yu.escape=o,Yu.rethrow=function e(t,r,n,i){if(!(t instanceof Error))throw t;if(!("undefined"==typeof window&&r||i))throw t.message+=" on line "+n,t;var o,s,a,u;try{i=i||require("fs").readFileSync(r,{encoding:"utf8"}),o=3,s=i.split("\n"),a=Math.max(n-o,0),u=Math.min(s.length,n+o)}catch(i){return t.message+=" - could not read from "+r+" ("+i.message+")",void e(t,null,n)}o=s.slice(a,u).map(function(e,t){var r=t+a+1;return(r==n?" > ":" ")+r+"| "+e}).join("\n"),t.path=r;try{t.message=(r||"Pug")+":"+n+"\n"+o+"\n\n"+t.message}catch(e){}throw t},Yu}(),Xu=n.g(Wu);function qu(e){var t,r="",n=e||{};return function(e,n,i,o,s,a,u,c,l,p,f,d){r=r+"<!DOCTYPE html><html"+Xu.attr("lang",l,!0,!0)+"><head>",i&&(r=r+"<base"+Xu.attr("href",i,!0,!0)+">"),p&&(r=r+"<title>"+Xu.escape(null==(t=p)?"":t)+'</title><meta property="og:title"'+Xu.attr("content",p,!0,!0)+">",u&&(r=r+'<meta property="og:image:alt"'+Xu.attr("content",p,!0,!0)+">")),e&&(r=r+'<meta name="author"'+Xu.attr("content",e,!0,!0)+'><meta property="article:author"'+Xu.attr("content",e,!0,!0)+">"),s&&(r=r+'<meta name="description"'+Xu.attr("content",s,!0,!0)+'><meta property="og:description"'+Xu.attr("content",s,!0,!0)+">"),c&&c.length>1&&(r=r+'<meta name="keywords"'+Xu.attr("content",c.join(","),!0,!0)+">"),f&&(r=r+'<link rel="canonical"'+Xu.attr("href",f,!0,!0)+'><meta property="og:url"'+Xu.attr("content",f,!0,!0)+">"),u&&(r=r+'<meta property="og:image"'+Xu.attr("content",u,!0,!0)+">"),r=r+'<meta charset="UTF-8"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"><meta name="apple-mobile-web-app-capable" content="yes"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta property="og:type" content="website"><meta name="twitter:card"'+Xu.attr("content",p&&u?"summary_large_image":"summary",!0,!0)+'><style media="screen">'+(null==(t=n.css)?"":t)+"</style><style>"+(null==(t=o)?"":t)+"</style></head><body>"+(null==(t=a)?"":t),d&&(r=r+"<script>"+(null==(t=d)?"":t)+"<\/script>"),r+="</body></html>"}.call(this,"author"in n?n.author:"undefined"!=typeof author?author:void 0,"bare"in n?n.bare:"undefined"!=typeof bare?bare:void 0,"base"in n?n.base:"undefined"!=typeof base?base:void 0,"css"in n?n.css:"undefined"!=typeof css?css:void 0,"description"in n?n.description:"undefined"!=typeof description?description:void 0,"html"in n?n.html:"undefined"!=typeof html?html:void 0,"image"in n?n.image:"undefined"!=typeof image?image:void 0,"keywords"in n?n.keywords:"undefined"!=typeof keywords?keywords:void 0,"lang"in n?n.lang:"undefined"!=typeof lang?lang:void 0,"title"in n?n.title:"undefined"!=typeof title?title:void 0,"url"in n?n.url:"undefined"!=typeof url?url:void 0,"watchJs"in n?n.watchJs:"undefined"!=typeof watchJs?watchJs:void 0),r}function $u(e){var t,r="",n=e||{};return function(e,n,i,o,s,a,u,c,l,p,f,d,A){r=r+"<!DOCTYPE html><html"+Xu.attr("lang",p,!0,!0)+"><head>",n&&(r=r+"<base"+Xu.attr("href",n,!0,!0)+">"),f&&(r=r+"<title>"+Xu.escape(null==(t=f)?"":t)+'</title><meta property="og:title"'+Xu.attr("content",f,!0,!0)+">",c&&(r=r+'<meta property="og:image:alt"'+Xu.attr("content",f,!0,!0)+">")),e&&(r=r+'<meta name="author"'+Xu.attr("content",e,!0,!0)+'><meta property="article:author"'+Xu.attr("content",e,!0,!0)+">"),a&&(r=r+'<meta name="description"'+Xu.attr("content",a,!0,!0)+'><meta property="og:description"'+Xu.attr("content",a,!0,!0)+">"),l&&l.length>1&&(r=r+'<meta name="keywords"'+Xu.attr("content",l.join(","),!0,!0)+">"),d&&(r=r+'<link rel="canonical"'+Xu.attr("href",d,!0,!0)+'><meta property="og:url"'+Xu.attr("content",d,!0,!0)+">"),c&&(r=r+'<meta property="og:image"'+Xu.attr("content",c,!0,!0)+">"),r=r+'<meta charset="UTF-8"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0"><meta name="apple-mobile-web-app-capable" content="yes"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta property="og:type" content="website"><meta name="twitter:card"'+Xu.attr("content",f&&c?"summary_large_image":"summary",!0,!0)+"><style>"+(null==(t=i.css)?"":t)+"</style>",i.transitionStyle&&(r=r+"<style>"+(null==(t=i.transitionStyle)?"":t)+"</style>"),r=r+"<style>"+(null==(t=s)?"":t)+"</style></head><body>",i.progress&&(r+='<div class="bespoke-progress-parent"><div class="bespoke-progress-bar"></div></div>'),i.osc&&(r+='<div class="bespoke-marp-osc"><button data-bespoke-marp-osc="prev" tabindex="-1" title="Previous slide">Previous slide</button><span data-bespoke-marp-osc="page"></span><button data-bespoke-marp-osc="next" tabindex="-1" title="Next slide">Next slide</button><button data-bespoke-marp-osc="fullscreen" tabindex="-1" title="Toggle fullscreen (f)">Toggle fullscreen</button><button data-bespoke-marp-osc="presenter" tabindex="-1" title="Open presenter view (p)">Open presenter view</button></div>'),r+=null==(t=u)?"":t,o&&o.length>0&&function(){var e=o;if("number"==typeof e.length)for(var n=0,i=e.length;n<i;n++)(s=e[n])&&s.length>0&&(r=r+'<div class="bespoke-marp-note"'+Xu.attr("data-index",n,!0,!0)+' tabindex="0">',function(){var e=s;if("number"==typeof e.length)for(var n=0,i=e.length;n<i;n++){var o=e[n];r=r+"<p>"+Xu.escape(null==(t=o)?"":t)+"</p>"}else for(var n in i=0,e)i++,o=e[n],r=r+"<p>"+Xu.escape(null==(t=o)?"":t)+"</p>"}.call(this),r+="</div>");else for(var n in i=0,e){var s;i++,(s=e[n])&&s.length>0&&(r=r+'<div class="bespoke-marp-note"'+Xu.attr("data-index",n,!0,!0)+' tabindex="0">',function(){var e=s;if("number"==typeof e.length)for(var n=0,i=e.length;n<i;n++){var o=e[n];r=r+"<p>"+Xu.escape(null==(t=o)?"":t)+"</p>"}else for(var n in i=0,e)i++,o=e[n],r=r+"<p>"+Xu.escape(null==(t=o)?"":t)+"</p>"}.call(this),r+="</div>")}}.call(this),r=r+"<script>"+(null==(t=i.js)?"":t)+"<\/script>",A&&(r=r+"<script>"+(null==(t=A)?"":t)+"<\/script>"),r+="</body></html>"}.call(this,"author"in n?n.author:"undefined"!=typeof author?author:void 0,"base"in n?n.base:"undefined"!=typeof base?base:void 0,"bespoke"in n?n.bespoke:"undefined"!=typeof bespoke?bespoke:void 0,"comments"in n?n.comments:"undefined"!=typeof comments?comments:void 0,"css"in n?n.css:"undefined"!=typeof css?css:void 0,"description"in n?n.description:"undefined"!=typeof description?description:void 0,"html"in n?n.html:"undefined"!=typeof html?html:void 0,"image"in n?n.image:"undefined"!=typeof image?image:void 0,"keywords"in n?n.keywords:"undefined"!=typeof keywords?keywords:void 0,"lang"in n?n.lang:"undefined"!=typeof lang?lang:void 0,"title"in n?n.title:"undefined"!=typeof title?title:void 0,"url"in n?n.url:"undefined"!=typeof url?url:void 0,"watchJs"in n?n.watchJs:"undefined"!=typeof watchJs?watchJs:void 0),r}const Ju=async e=>{const t=await e.renderer({container:[],inlineSVG:!0,slideContainer:[]});return{rendered:t,result:qu({...e,...t,bare:{css:"body,html{background:#000;height:100%;margin:0;overflow:auto;scroll-snap-type:y mandatory;scroll-snap-type:mandatory;scroll-snap-points-y:repeat(100%)}body>svg{display:block;height:100%;scroll-snap-align:center center;width:100%}"},watchJs:await Vu(e.notifyWS)})}};Object.defineProperty(Ju,"printable",{value:!0});const Zu=async e=>{const t={container:new O.Element("div",{id:":$p"}),inlineSVG:!0,slideContainer:[]},r=e.osc??!0,n=e.progress??!1,i=e.transition??!0;Object.defineProperty(t,"modifier",{value:e=>{i&&e.use(Xi)}});const o=await e.renderer(t);return{rendered:o,result:$u({...e,...o,bespoke:{css:'@media screen{body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button{appearance:none;background-color:initial;border:0;color:inherit;cursor:pointer;font-size:inherit;opacity:.8;outline:none;padding:0;transition:opacity .2s linear;-webkit-tap-highlight-color:transparent}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:disabled,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:disabled,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:disabled,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:disabled{cursor:not-allowed;opacity:.15!important}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover{opacity:1}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:active,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:active,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover:active,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover:active{opacity:.6}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:not(:disabled),body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button:hover:not(:disabled),body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button:hover:not(:disabled),body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button:hover:not(:disabled){transition:none}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button.bespoke-marp-presenter-info-page-prev{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNNjggOTAgMjggNTBsNDAtNDAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button.bespoke-marp-presenter-info-page-next{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJtMzIgOTAgNDAtNDAtNDAtNDAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen]{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6NXB4fTwvc3R5bGU+PC9kZWZzPjxyZWN0IHdpZHRoPSI4MCIgaGVpZ2h0PSI2MCIgeD0iMTAiIHk9IjIwIiBjbGFzcz0iYSIgcng9IjUuNjciLz48cGF0aCBkPSJNNDAgNzBIMjBWNTBtMjAgMEwyMCA3MG00MC00MGgyMHYyMG0tMjAgMCAyMC0yMCIgY2xhc3M9ImEiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button.exit[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button.exit[data-bespoke-marp-osc=fullscreen]{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6NXB4fTwvc3R5bGU+PC9kZWZzPjxyZWN0IHdpZHRoPSI4MCIgaGVpZ2h0PSI2MCIgeD0iMTAiIHk9IjIwIiBjbGFzcz0iYSIgcng9IjUuNjciLz48cGF0aCBkPSJNMjAgNTBoMjB2MjBtLTIwIDAgMjAtMjBtNDAgMEg2MFYzMG0yMCAwTDYwIDUwIiBjbGFzcz0iYSIvPjwvc3ZnPg==")}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter]{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNODcuOCA0Ny41Qzg5IDUwIDg3LjcgNTIgODUgNTJIMzVhOC43IDguNyAwIDAgMS03LjItNC41bC0xNS42LTMxQzExIDE0IDEyLjIgMTIgMTUgMTJoNTBhOC44IDguOCAwIDAgMSA3LjIgNC41ek02MCA1MnYzNm0tMTAgMGgyME00NSA0MmgyMCIvPjwvc3ZnPg==") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button.bespoke-marp-presenter-note-bigger{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNMTIgNTBoODBNNTIgOTBWMTAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button.bespoke-marp-presenter-note-smaller{background:#0000 url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNMTIgNTBoODAiLz48L3N2Zz4=") no-repeat 50%;background-size:contain;overflow:hidden;text-indent:100%;white-space:nowrap}}@keyframes __bespoke_marp_transition_reduced_outgoing__{0%{opacity:1}to{opacity:0}}@keyframes __bespoke_marp_transition_reduced_incoming__{0%{mix-blend-mode:plus-lighter;opacity:0}to{mix-blend-mode:plus-lighter;opacity:1}}.bespoke-marp-note,.bespoke-marp-osc,.bespoke-progress-parent{display:none;transition:none}@media screen{::view-transition-group(*){animation-duration:var(--marp-bespoke-transition-animation-duration,.5s);animation-timing-function:ease}::view-transition-new(*),::view-transition-old(*){animation-delay:0s;animation-direction:var(--marp-bespoke-transition-animation-direction,normal);animation-duration:var(--marp-bespoke-transition-animation-duration,.5s);animation-fill-mode:both;animation-name:var(--marp-bespoke-transition-animation-name,var(--marp-bespoke-transition-animation-name-fallback,__bespoke_marp_transition_no_animation__));mix-blend-mode:normal}::view-transition-old(*){--marp-bespoke-transition-animation-name-fallback:__bespoke_marp_transition_reduced_outgoing__;animation-timing-function:ease}::view-transition-new(*){--marp-bespoke-transition-animation-name-fallback:__bespoke_marp_transition_reduced_incoming__;animation-timing-function:ease}::view-transition-new(root),::view-transition-old(root){animation-timing-function:linear}::view-transition-new(__bespoke_marp_transition_osc__),::view-transition-old(__bespoke_marp_transition_osc__){animation-duration:0s!important;animation-name:__bespoke_marp_transition_osc__!important}::view-transition-new(__bespoke_marp_transition_osc__){opacity:0!important}.bespoke-marp-transition-warming-up::view-transition-group(*),.bespoke-marp-transition-warming-up::view-transition-new(*),.bespoke-marp-transition-warming-up::view-transition-old(*){animation-play-state:paused!important}body,html{height:100%;margin:0}body{background:#000;overflow:hidden}svg.bespoke-marp-slide{content-visibility:hidden;opacity:0;pointer-events:none;z-index:-1}svg.bespoke-marp-slide:not(.bespoke-marp-active) *{view-transition-name:none!important}svg.bespoke-marp-slide.bespoke-marp-active{content-visibility:visible;opacity:1;pointer-events:auto;z-index:0}svg.bespoke-marp-slide.bespoke-marp-active.bespoke-marp-active-ready *{animation-name:__bespoke_marp__!important}@supports not (content-visibility:hidden){svg.bespoke-marp-slide[data-bespoke-marp-load=hideable]{display:none}svg.bespoke-marp-slide[data-bespoke-marp-load=hideable].bespoke-marp-active{display:block}}}@media screen and (prefers-reduced-motion:reduce){svg.bespoke-marp-slide *{view-transition-name:none!important}}@media screen{[data-bespoke-marp-fragment=inactive]{visibility:hidden}body[data-bespoke-view=""] .bespoke-marp-parent,body[data-bespoke-view=next] .bespoke-marp-parent{inset:0;position:absolute}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc{background:#000000a6;border-radius:7px;bottom:50px;color:#fff;contain:paint;display:block;font-family:Helvetica,Arial,sans-serif;font-size:16px;left:50%;line-height:0;opacity:1;padding:12px;position:absolute;touch-action:manipulation;transform:translateX(-50%);transition:opacity .2s linear;-webkit-user-select:none;user-select:none;white-space:nowrap;will-change:transform;z-index:1;view-transition-name:__bespoke_marp_transition_osc__}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>*,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>*{margin-left:6px}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>:first-child,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>:first-child{margin-left:0}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>span,body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>span{opacity:.8}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>span[data-bespoke-marp-osc=page],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>span[data-bespoke-marp-osc=page]{display:inline-block;min-width:140px;text-align:center}body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=""] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=fullscreen],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=next],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=presenter],body[data-bespoke-view=next] .bespoke-marp-parent>.bespoke-marp-osc>button[data-bespoke-marp-osc=prev]{height:32px;line-height:32px;width:32px}body[data-bespoke-view=""] .bespoke-marp-parent.bespoke-marp-inactive,body[data-bespoke-view=next] .bespoke-marp-parent.bespoke-marp-inactive{cursor:none}body[data-bespoke-view=""] .bespoke-marp-parent.bespoke-marp-inactive>.bespoke-marp-osc,body[data-bespoke-view=next] .bespoke-marp-parent.bespoke-marp-inactive>.bespoke-marp-osc{opacity:0;pointer-events:none}body[data-bespoke-view=""] svg.bespoke-marp-slide,body[data-bespoke-view=next] svg.bespoke-marp-slide{height:100%;left:0;position:absolute;top:0;width:100%}body[data-bespoke-view=""] .bespoke-progress-parent{background:#222;display:flex;height:5px;width:100%}body[data-bespoke-view=""] .bespoke-progress-parent+.bespoke-marp-parent{top:5px}body[data-bespoke-view=""] .bespoke-progress-parent .bespoke-progress-bar{background:#0288d1;flex:0 0 0;transition:flex-basis .2s cubic-bezier(0,1,1,1)}body[data-bespoke-view=next]{background:#0000}body[data-bespoke-view=presenter]{background:#161616}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container{display:grid;font-family:Helvetica,Arial,sans-serif;grid-template:"current dragbar next" minmax(140px,1fr) "current dragbar note" 2fr "info dragbar note" 3em;grid-template-columns:minmax(3px,var(--bespoke-marp-presenter-split-ratio,66%)) 0 minmax(3px,1fr);height:100%;left:0;position:absolute;top:0;width:100%}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent{grid-area:current;overflow:hidden;position:relative}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent svg.bespoke-marp-slide{height:calc(100% - 40px);left:20px;pointer-events:none;position:absolute;top:20px;-webkit-user-select:none;user-select:none;width:calc(100% - 40px)}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-parent svg.bespoke-marp-slide.bespoke-marp-active{filter:drop-shadow(0 3px 10px rgba(0,0,0,.5))}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container{background:#0288d1;cursor:col-resize;grid-area:dragbar;margin-left:-3px;opacity:0;position:relative;transition:opacity .4s linear .1s;width:6px;z-index:10}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container:hover{opacity:1}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-dragbar-container.active{opacity:1;transition-delay:0s}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container{background:#222;cursor:pointer;display:none;grid-area:next;overflow:hidden;position:relative}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container.active{display:block}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-next-container iframe.bespoke-marp-presenter-next{background:#0000;border:0;display:block;filter:drop-shadow(0 3px 10px rgba(0,0,0,.5));height:calc(100% - 40px);left:20px;pointer-events:none;position:absolute;top:20px;-webkit-user-select:none;user-select:none;width:calc(100% - 40px)}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container{background:#222;color:#eee;grid-area:note;position:relative;z-index:1}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container button{height:1.5em;line-height:1.5em;width:1.5em}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-wrapper{display:block;inset:0;position:absolute}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-buttons{background:#000000a6;border-radius:4px;bottom:0;display:flex;gap:4px;margin:12px;opacity:0;padding:6px;pointer-events:none;position:absolute;right:0;transition:opacity .2s linear}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-buttons:focus-within,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-presenter-note-wrapper:focus-within+.bespoke-marp-presenter-note-buttons,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container:hover .bespoke-marp-presenter-note-buttons{opacity:1;pointer-events:auto}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note{box-sizing:border-box;font-size:calc(1.1em*var(--bespoke-marp-note-font-scale, 1));height:calc(100% - 40px);margin:20px;overflow:auto;padding-right:3px;white-space:pre-wrap;width:calc(100% - 40px);word-wrap:break-word;scrollbar-color:#eeeeee80 #0000;scrollbar-width:thin}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar{width:6px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar-track{background:#0000}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note::-webkit-scrollbar-thumb{background:#eeeeee80;border-radius:6px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note:empty{pointer-events:none}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note.active{display:block}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note p:first-child{margin-top:0}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-note-container .bespoke-marp-note p:last-child{margin-bottom:0}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container{align-items:center;box-sizing:border-box;color:#eee;display:flex;flex-wrap:nowrap;grid-area:info;justify-content:center;overflow:hidden;padding:0 10px}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-time,body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer{box-sizing:border-box;display:block;padding:0 10px;white-space:nowrap;width:100%}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container button{height:1.5em;line-height:1.5em;width:1.5em}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page{order:2;text-align:center}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-page .bespoke-marp-presenter-info-page-text{display:inline-block;min-width:120px;text-align:center}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-time{color:#999;order:1;text-align:left}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer{color:#999;order:3;text-align:right}body[data-bespoke-view=presenter] .bespoke-marp-presenter-container .bespoke-marp-presenter-info-container .bespoke-marp-presenter-info-timer:hover{cursor:pointer}}@media print{.bespoke-marp-presenter-info-container,.bespoke-marp-presenter-next-container,.bespoke-marp-presenter-note-container{display:none}}',js:await Ku("bespoke.js"),osc:r,progress:n,transitionStyle:o.transition?.builtinTransitionStyle},watchJs:await Vu(e.notifyWS)})}};async function Ku(e){return(await i.promises.readFile(o.resolve(__dirname,e))).toString()}async function Vu(e){if(void 0===e)return!1;const t=await Ku("watch.js");return`window.__marpCliWatchWS=${JSON.stringify(e)};${t}`}Object.defineProperty(Zu,"printable",{value:!1});var ec={bare:Ju,bespoke:Zu};const tc=(e,t)=>{for(const r of e){const e=t(r);"children"in r&&!1!==e&&tc(r.children,t)}},rc=e=>{let t=0;return tc(e,e=>(t+=1,!("open"in e&&!e.open))),t};var nc={};function ic(e,...t){return(...r)=>e(...t,...r)}function oc(e){return function(...t){var r=t.pop();return e.call(this,t,r)}}var sc="function"==typeof queueMicrotask&&queueMicrotask,ac="function"==typeof setImmediate&&setImmediate,uc="object"==typeof process&&"function"==typeof process.nextTick;function cc(e){setTimeout(e,0)}function lc(e){return(t,...r)=>e(()=>t(...r))}var pc=lc(sc?queueMicrotask:ac?setImmediate:uc?process.nextTick:cc);function fc(e){return hc(e)?function(...t){const r=t.pop();return dc(e.apply(this,t),r)}:oc(function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&"function"==typeof n.then)return dc(n,r);r(null,n)})}function dc(e,t){return e.then(e=>{Ac(t,null,e)},e=>{Ac(t,e&&(e instanceof Error||e.message)?e:new Error(e))})}function Ac(e,t,r){try{e(t,r)}catch(e){pc(e=>{throw e},e)}}function hc(e){return"AsyncFunction"===e[Symbol.toStringTag]}function gc(e){if("function"!=typeof e)throw new Error("expected a function");return hc(e)?fc(e):e}function mc(e,t){if(t||(t=e.length),!t)throw new Error("arity is undefined");return function(...r){return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,i)=>{r[t-1]=(e,...t)=>{if(e)return i(e);n(t.length>1?t:t[0])},e.apply(this,r)})}}function Dc(e){return function(t,...r){return mc(function(n){var i=this;return e(t,(e,t)=>{gc(e).apply(i,r.concat(t))},n)})}}function wc(e,t,r,n){t=t||[];var i=[],o=0,s=gc(r);return e(t,(e,t,r)=>{var n=o++;s(e,(e,t)=>{i[n]=t,r(e)})},e=>{n(e,i)})}function bc(e){return e&&"number"==typeof e.length&&e.length>=0&&e.length%1==0}const vc={};function yc(e){function t(...t){if(null!==e){var r=e;e=null,r.apply(this,t)}}return Object.assign(t,e),t}function Ec(e){return function(...t){if(null===e)throw new Error("Callback was already called.");var r=e;e=null,r.apply(this,t)}}function Cc(e,t,r,n){let i=!1,o=!1,s=!1,a=0,u=0;function c(){a>=t||s||i||(s=!0,e.next().then(({value:e,done:t})=>{if(!o&&!i){if(s=!1,t)return i=!0,void(a<=0&&n(null));a++,r(e,u,l),u++,c()}}).catch(p))}function l(e,t){if(a-=1,!o)return e?p(e):!1===e?(i=!0,void(o=!0)):t===vc||i&&a<=0?(i=!0,n(null)):void c()}function p(e){o||(s=!1,i=!0,n(e))}c()}var _c=e=>(t,r,n)=>{if(n=yc(n),e<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return n(null);if("AsyncGenerator"===t[Symbol.toStringTag])return Cc(t,e,r,n);if(function(e){return"function"==typeof e[Symbol.asyncIterator]}(t))return Cc(t[Symbol.asyncIterator](),e,r,n);var i=function(e){if(bc(e))return function(e){var t=-1,r=e.length;return function(){return++t<r?{value:e[t],key:t}:null}}(e);var t,r,n,i,o=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}(e);return o?function(e){var t=-1;return function(){var r=e.next();return r.done?null:(t++,{value:r.value,key:t})}}(o):(r=(t=e)?Object.keys(t):[],n=-1,i=r.length,function e(){var o=r[++n];return"__proto__"===o?e():n<i?{value:t[o],key:o}:null})}(t),o=!1,s=!1,a=0,u=!1;function c(e,t){if(!s)if(a-=1,e)o=!0,n(e);else if(!1===e)o=!0,s=!0;else{if(t===vc||o&&a<=0)return o=!0,n(null);u||l()}}function l(){for(u=!0;a<e&&!o;){var t=i();if(null===t)return o=!0,void(a<=0&&n(null));a+=1,r(t.value,t.key,Ec(c))}u=!1}l()},Fc=mc(function(e,t,r,n){return _c(t)(e,gc(r),n)},4);function kc(e,t,r){r=yc(r);var n=0,i=0,{length:o}=e,s=!1;function a(e,t){!1===e&&(s=!0),!0!==s&&(e?r(e):++i!==o&&t!==vc||r(null))}for(0===o&&r(null);n<o;n++)t(e[n],n,Ec(a))}function Pc(e,t,r){return Fc(e,1/0,t,r)}var Bc=mc(function(e,t,r){return(bc(e)?kc:Pc)(e,gc(t),r)},3),xc=mc(function(e,t,r){return wc(Bc,e,t,r)},3),Sc=Dc(xc),Rc=mc(function(e,t,r){return Fc(e,1,t,r)},3),Tc=mc(function(e,t,r){return wc(Rc,e,t,r)},3),Oc=Dc(Tc);const Ic=Symbol("promiseCallback");function Lc(){let e,t;function r(r,...n){if(r)return t(r);e(n.length>1?n:n[0])}return r[Ic]=new Promise((r,n)=>{e=r,t=n}),r}function Mc(e,t,r){"number"!=typeof t&&(r=t,t=null),r=yc(r||Lc());var n=Object.keys(e).length;if(!n)return r(null);t||(t=n);var i={},o=0,s=!1,a=!1,u=Object.create(null),c=[],l=[],p={};function f(e,t){c.push(()=>function(e,t){if(!a){var n=Ec((t,...n)=>{if(o--,!1!==t)if(n.length<2&&([n]=n),t){var c={};if(Object.keys(i).forEach(e=>{c[e]=i[e]}),c[e]=n,a=!0,u=Object.create(null),s)return;r(t,c)}else i[e]=n,(u[e]||[]).forEach(e=>e()),d();else s=!0});o++;var c=gc(t[t.length-1]);t.length>1?c(i,n):c(n)}}(e,t))}function d(){if(!s){if(0===c.length&&0===o)return r(null,i);for(;c.length&&o<t;)c.shift()()}}function A(t){var r=[];return Object.keys(e).forEach(n=>{const i=e[n];Array.isArray(i)&&i.indexOf(t)>=0&&r.push(n)}),r}return Object.keys(e).forEach(t=>{var r=e[t];if(!Array.isArray(r))return f(t,[r]),void l.push(t);var n=r.slice(0,r.length-1),i=n.length;if(0===i)return f(t,r),void l.push(t);p[t]=i,n.forEach(o=>{if(!e[o])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+o+"` in "+n.join(", "));var s,a;(a=u[s=o])||(a=u[s]=[]),a.push(()=>{0===--i&&f(t,r)})})}),function(){for(var e=0;l.length;)e++,A(l.pop()).forEach(e=>{0===--p[e]&&l.push(e)});if(e!==n)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),d(),r[Ic]}var Nc=/^(?:async\s)?(?:function)?\s*(?:\w+\s*)?\(([^)]+)\)(?:\s*{)/,Hc=/^(?:async\s)?\s*(?:\(\s*)?((?:[^)=\s]\s*)*)(?:\)\s*)?=>/,jc=/,/,Qc=/(=.+)?(\s*)$/;function Uc(e,t){var r={};return Object.keys(e).forEach(t=>{var n,i=e[t],o=hc(i),s=!o&&1===i.length||o&&0===i.length;if(Array.isArray(i))n=[...i],i=n.pop(),r[t]=n.concat(n.length>0?a:i);else if(s)r[t]=i;else{if(n=function(e){const t=function(e){let t="",r=0,n=e.indexOf("*/");for(;r<e.length;)if("/"===e[r]&&"/"===e[r+1]){let t=e.indexOf("\n",r);r=-1===t?e.length:t}else if(-1!==n&&"/"===e[r]&&"*"===e[r+1]){let i=e.indexOf("*/",r);-1!==i?(r=i+2,n=e.indexOf("*/",r)):(t+=e[r],r++)}else t+=e[r],r++;return t}(e.toString());let r=t.match(Nc);if(r||(r=t.match(Hc)),!r)throw new Error("could not parse args in autoInject\nSource:\n"+t);let[,n]=r;return n.replace(/\s/g,"").split(jc).map(e=>e.replace(Qc,"").trim())}(i),0===i.length&&!o&&0===n.length)throw new Error("autoInject task functions require explicit parameters.");o||n.pop(),r[t]=n.concat(a)}function a(e,t){var r=n.map(t=>e[t]);r.push(t),gc(i)(...r)}}),Mc(r,t)}class zc{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}insertBefore(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):Gc(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):Gc(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var t=this.head;t;){var{next:r}=t;e(t)&&this.removeLink(t),t=r}return this}}function Gc(e,t){e.length=1,e.head=e.tail=t}function Yc(e,t,r){if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var n=gc(e),i=0,o=[];const s={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function a(e,t){return e?t?void(s[e]=s[e].filter(e=>e!==t)):s[e]=[]:Object.keys(s).forEach(e=>s[e]=[])}function u(e,...t){s[e].forEach(e=>e(...t))}var c=!1;function l(e,t,r,n){if(null!=n&&"function"!=typeof n)throw new Error("task callback must be a function");var i,o;function s(e,...t){return e?r?o(e):i():t.length<=1?i(t[0]):void i(t)}h.started=!0;var a=h._createTaskItem(e,r?s:n||s);if(t?h._tasks.unshift(a):h._tasks.push(a),c||(c=!0,pc(()=>{c=!1,h.process()})),r||!n)return new Promise((e,t)=>{i=e,o=t})}function p(e){return function(t,...r){i-=1;for(var n=0,s=e.length;n<s;n++){var a=e[n],c=o.indexOf(a);0===c?o.shift():c>0&&o.splice(c,1),a.callback(t,...r),null!=t&&u("error",t,a.data)}i<=h.concurrency-h.buffer&&u("unsaturated"),h.idle()&&u("drain"),h.process()}}function f(e){return!(0!==e.length||!h.idle()||(pc(()=>u("drain")),0))}const d=e=>t=>{if(!t)return new Promise((t,r)=>{!function(e){const n=(...i)=>{a(e,n),((e,n)=>{if(e)return r(e);t(n)})(...i)};s[e].push(n)}(e)});a(e),function(e,t){s[e].push(t)}(e,t)};var A=!1,h={_tasks:new zc,_createTaskItem:(e,t)=>({data:e,callback:t}),*[Symbol.iterator](){yield*h._tasks[Symbol.iterator]()},concurrency:t,payload:r,buffer:t/4,started:!1,paused:!1,push(e,t){if(Array.isArray(e)){if(f(e))return;return e.map(e=>l(e,!1,!1,t))}return l(e,!1,!1,t)},pushAsync(e,t){if(Array.isArray(e)){if(f(e))return;return e.map(e=>l(e,!1,!0,t))}return l(e,!1,!0,t)},kill(){a(),h._tasks.empty()},unshift(e,t){if(Array.isArray(e)){if(f(e))return;return e.map(e=>l(e,!0,!1,t))}return l(e,!0,!1,t)},unshiftAsync(e,t){if(Array.isArray(e)){if(f(e))return;return e.map(e=>l(e,!0,!0,t))}return l(e,!0,!0,t)},remove(e){h._tasks.remove(e)},process(){if(!A){for(A=!0;!h.paused&&i<h.concurrency&&h._tasks.length;){var e=[],t=[],r=h._tasks.length;h.payload&&(r=Math.min(r,h.payload));for(var s=0;s<r;s++){var a=h._tasks.shift();e.push(a),o.push(a),t.push(a.data)}i+=1,0===h._tasks.length&&u("empty"),i===h.concurrency&&u("saturated");var c=Ec(p(e));n(t,c)}A=!1}},length:()=>h._tasks.length,running:()=>i,workersList:()=>o,idle:()=>h._tasks.length+i===0,pause(){h.paused=!0},resume(){!1!==h.paused&&(h.paused=!1,pc(h.process))}};return Object.defineProperties(h,{saturated:{writable:!1,value:d("saturated")},unsaturated:{writable:!1,value:d("unsaturated")},empty:{writable:!1,value:d("empty")},drain:{writable:!1,value:d("drain")},error:{writable:!1,value:d("error")}}),h}function Wc(e,t){return Yc(e,1,t)}function Xc(e,t,r){return Yc(e,t,r)}var qc=mc(function(e,t,r,n){n=yc(n);var i=gc(r);return Rc(e,(e,r,n)=>{i(t,e,(e,r)=>{t=r,n(e)})},e=>n(e,t))},4);function $c(...e){var t=e.map(gc);return function(...e){var r=this,n=e[e.length-1];return"function"==typeof n?e.pop():n=Lc(),qc(t,e,(e,t,n)=>{t.apply(r,e.concat((e,...t)=>{n(e,t)}))},(e,t)=>n(e,...t)),n[Ic]}}function Jc(...e){return $c(...e.reverse())}var Zc=mc(function(e,t,r,n){return wc(_c(t),e,r,n)},4),Kc=mc(function(e,t,r,n){var i=gc(r);return Zc(e,t,(e,t)=>{i(e,(e,...r)=>e?t(e):t(e,r))},(e,t)=>{for(var r=[],i=0;i<t.length;i++)t[i]&&(r=r.concat(...t[i]));return n(e,r)})},4),Vc=mc(function(e,t,r){return Kc(e,1/0,t,r)},3),el=mc(function(e,t,r){return Kc(e,1,t,r)},3);function tl(...e){return function(...t){return t.pop()(null,...e)}}function rl(e,t){return(r,n,i,o)=>{var s,a=!1;const u=gc(i);r(n,(r,n,i)=>{u(r,(n,o)=>n||!1===n?i(n):e(o)&&!s?(a=!0,s=t(!0,r),i(null,vc)):void i())},e=>{if(e)return o(e);o(null,a?s:t(!1))})}}var nl=mc(function(e,t,r){return rl(e=>e,(e,t)=>t)(Bc,e,t,r)},3),il=mc(function(e,t,r,n){return rl(e=>e,(e,t)=>t)(_c(t),e,r,n)},4),ol=mc(function(e,t,r){return rl(e=>e,(e,t)=>t)(_c(1),e,t,r)},3);function sl(e){return(t,...r)=>gc(t)(...r,(t,...r)=>{"object"==typeof console&&(t?console.error&&console.error(t):console[e]&&r.forEach(t=>console[e](t)))})}var al=sl("dir"),ul=mc(function(e,t,r){r=Ec(r);var n,i=gc(e),o=gc(t);function s(e,...t){if(e)return r(e);!1!==e&&(n=t,o(...t,a))}function a(e,t){return e?r(e):!1!==e?t?void i(s):r(null,...n):void 0}return a(null,!0)},3);function cl(e,t,r){const n=gc(t);return ul(e,(...e)=>{const t=e.pop();n(...e,(e,r)=>t(e,!r))},r)}function ll(e){return(t,r,n)=>e(t,n)}var pl=mc(function(e,t,r){return Bc(e,ll(gc(t)),r)},3),fl=mc(function(e,t,r,n){return _c(t)(e,ll(gc(r)),n)},4),dl=mc(function(e,t,r){return fl(e,1,t,r)},3);function Al(e){return hc(e)?e:function(...t){var r=t.pop(),n=!0;t.push((...e)=>{n?pc(()=>r(...e)):r(...e)}),e.apply(this,t),n=!1}}var hl=mc(function(e,t,r){return rl(e=>!e,e=>!e)(Bc,e,t,r)},3),gl=mc(function(e,t,r,n){return rl(e=>!e,e=>!e)(_c(t),e,r,n)},4),ml=mc(function(e,t,r){return rl(e=>!e,e=>!e)(Rc,e,t,r)},3);function Dl(e,t,r,n){var i=new Array(t.length);e(t,(e,t,n)=>{r(e,(e,r)=>{i[t]=!!r,n(e)})},e=>{if(e)return n(e);for(var r=[],o=0;o<t.length;o++)i[o]&&r.push(t[o]);n(null,r)})}function wl(e,t,r,n){var i=[];e(t,(e,t,n)=>{r(e,(r,o)=>{if(r)return n(r);o&&i.push({index:t,value:e}),n(r)})},e=>{if(e)return n(e);n(null,i.sort((e,t)=>e.index-t.index).map(e=>e.value))})}function bl(e,t,r,n){return(bc(t)?Dl:wl)(e,t,gc(r),n)}var vl=mc(function(e,t,r){return bl(Bc,e,t,r)},3),yl=mc(function(e,t,r,n){return bl(_c(t),e,r,n)},4),El=mc(function(e,t,r){return bl(Rc,e,t,r)},3),Cl=mc(function(e,t){var r=Ec(t),n=gc(Al(e));return function e(t){if(t)return r(t);!1!==t&&n(e)}()},2),_l=mc(function(e,t,r,n){var i=gc(r);return Zc(e,t,(e,t)=>{i(e,(r,n)=>r?t(r):t(r,{key:n,val:e}))},(e,t)=>{for(var r={},{hasOwnProperty:i}=Object.prototype,o=0;o<t.length;o++)if(t[o]){var{key:s}=t[o],{val:a}=t[o];i.call(r,s)?r[s].push(a):r[s]=[a]}return n(e,r)})},4);function Fl(e,t,r){return _l(e,1/0,t,r)}function kl(e,t,r){return _l(e,1,t,r)}var Pl=sl("log"),Bl=mc(function(e,t,r,n){n=yc(n);var i={},o=gc(r);return _c(t)(e,(e,t,r)=>{o(e,t,(e,n)=>{if(e)return r(e);i[t]=n,r(e)})},e=>n(e,i))},4);function xl(e,t,r){return Bl(e,1/0,t,r)}function Sl(e,t,r){return Bl(e,1,t,r)}function Rl(e,t=e=>e){var r=Object.create(null),n=Object.create(null),i=gc(e),o=oc((e,o)=>{var s=t(...e);s in r?pc(()=>o(null,...r[s])):s in n?n[s].push(o):(n[s]=[o],i(...e,(e,...t)=>{e||(r[s]=t);var i=n[s];delete n[s];for(var o=0,a=i.length;o<a;o++)i[o](e,...t)}))});return o.memo=r,o.unmemoized=e,o}var Tl=lc(uc?process.nextTick:ac?setImmediate:cc),Ol=mc((e,t,r)=>{var n=bc(t)?[]:{};e(t,(e,t,r)=>{gc(e)((e,...i)=>{i.length<2&&([i]=i),n[t]=i,r(e)})},e=>r(e,n))},3);function Il(e,t){return Ol(Bc,e,t)}function Ll(e,t,r){return Ol(_c(t),e,r)}function Ml(e,t){var r=gc(e);return Yc((e,t)=>{r(e[0],t)},t,1)}class Nl{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let t;for(;e>0&&Ql(this.heap[e],this.heap[t=jl(e)]);){let r=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=r,e=t}}percDown(e){let t;for(;(t=Hl(e))<this.heap.length&&(t+1<this.heap.length&&Ql(this.heap[t+1],this.heap[t])&&(t+=1),!Ql(this.heap[e],this.heap[t]));){let r=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=r,e=t}}push(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}unshift(e){return this.heap.push(e)}shift(){let[e]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}toArray(){return[...this]}*[Symbol.iterator](){for(let e=0;e<this.heap.length;e++)yield this.heap[e].data}remove(e){let t=0;for(let r=0;r<this.heap.length;r++)e(this.heap[r])||(this.heap[t]=this.heap[r],t++);this.heap.splice(t);for(let e=jl(this.heap.length-1);e>=0;e--)this.percDown(e);return this}}function Hl(e){return 1+(e<<1)}function jl(e){return(e+1>>1)-1}function Ql(e,t){return e.priority!==t.priority?e.priority<t.priority:e.pushCount<t.pushCount}function Ul(e,t){var r=Ml(e,t),{push:n,pushAsync:i}=r;function o(e,t){return Array.isArray(e)?e.map(e=>({data:e,priority:t})):{data:e,priority:t}}return r._tasks=new Nl,r._createTaskItem=({data:e,priority:t},r)=>({data:e,priority:t,callback:r}),r.push=function(e,t=0,r){return n(o(e,t),r)},r.pushAsync=function(e,t=0,r){return i(o(e,t),r)},delete r.unshift,delete r.unshiftAsync,r}var zl=mc(function(e,t){if(t=yc(t),!Array.isArray(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var r=0,n=e.length;r<n;r++)gc(e[r])(t)},2);function Gl(e,t,r,n){var i=[...e].reverse();return qc(i,t,r,n)}function Yl(e){var t=gc(e);return oc(function(e,r){return e.push((e,...t)=>{let n={};if(e&&(n.error=e),t.length>0){var i=t;t.length<=1&&([i]=t),n.value=i}r(null,n)}),t.apply(this,e)})}function Wl(e){var t;return Array.isArray(e)?t=e.map(Yl):(t={},Object.keys(e).forEach(r=>{t[r]=Yl.call(this,e[r])})),t}function Xl(e,t,r,n){const i=gc(r);return bl(e,t,(e,t)=>{i(e,(e,r)=>{t(e,!r)})},n)}var ql=mc(function(e,t,r){return Xl(Bc,e,t,r)},3),$l=mc(function(e,t,r,n){return Xl(_c(t),e,r,n)},4),Jl=mc(function(e,t,r){return Xl(Rc,e,t,r)},3);function Zl(e){return function(){return e}}function Kl(e,t,r){var n={times:5,intervalFunc:Zl(0)};if(arguments.length<3&&"function"==typeof e?(r=t||Lc(),t=e):(function(e,t){if("object"==typeof t)e.times=+t.times||5,e.intervalFunc="function"==typeof t.interval?t.interval:Zl(+t.interval||0),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||5}}(n,e),r=r||Lc()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var i=gc(t),o=1;return function e(){i((t,...i)=>{!1!==t&&(t&&o++<n.times&&("function"!=typeof n.errorFilter||n.errorFilter(t))?setTimeout(e,n.intervalFunc(o-1)):r(t,...i))})}(),r[Ic]}function Vl(e,t){t||(t=e,e=null);let r=e&&e.arity||t.length;hc(t)&&(r+=1);var n=gc(t);return oc((t,i)=>{function o(e){n(...t,e)}return(t.length<r-1||null==i)&&(t.push(i),i=Lc()),e?Kl(e,o,i):Kl(o,i),i[Ic]})}function ep(e,t){return Ol(Rc,e,t)}var tp=mc(function(e,t,r){return rl(Boolean,e=>e)(Bc,e,t,r)},3),rp=mc(function(e,t,r,n){return rl(Boolean,e=>e)(_c(t),e,r,n)},4),np=mc(function(e,t,r){return rl(Boolean,e=>e)(Rc,e,t,r)},3),ip=mc(function(e,t,r){var n=gc(t);return xc(e,(e,t)=>{n(e,(r,n)=>{if(r)return t(r);t(r,{value:e,criteria:n})})},(e,t)=>{if(e)return r(e);r(null,t.sort(i).map(e=>e.value))});function i(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}},3);function op(e,t,r){var n=gc(e);return oc((i,o)=>{var s,a=!1;i.push((...e)=>{a||(o(...e),clearTimeout(s))}),s=setTimeout(function(){var t=e.name||"anonymous",n=new Error('Callback function "'+t+'" timed out.');n.code="ETIMEDOUT",r&&(n.info=r),a=!0,o(n)},t),n(...i)})}function sp(e,t,r,n){var i=gc(r);return Zc(function(e){for(var t=Array(e);e--;)t[e]=e;return t}(e),t,i,n)}function ap(e,t,r){return sp(e,1/0,t,r)}function up(e,t,r){return sp(e,1,t,r)}function cp(e,t,r,n){arguments.length<=3&&"function"==typeof t&&(n=r,r=t,t=Array.isArray(e)?[]:{}),n=yc(n||Lc());var i=gc(r);return Bc(e,(e,r,n)=>{i(t,e,r,n)},e=>n(e,t)),n[Ic]}var lp=mc(function(e,t){var r,n=null;return dl(e,(e,t)=>{gc(e)((e,...i)=>{if(!1===e)return t(e);i.length<2?[r]=i:r=i,n=e,t(e?null:{})})},()=>t(n,r))});function pp(e){return(...t)=>(e.unmemoized||e)(...t)}var fp=mc(function(e,t,r){r=Ec(r);var n=gc(t),i=gc(e),o=[];function s(e,...t){if(e)return r(e);o=t,!1!==e&&i(a)}function a(e,t){return e?r(e):!1!==e?t?void n(s):r(null,...o):void 0}return i(a)},3);function dp(e,t,r){const n=gc(e);return fp(e=>n((t,r)=>e(t,!r)),t,r)}var Ap,hp=mc(function(e,t){if(t=yc(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var r=0;function n(t){gc(e[r++])(...t,Ec(i))}function i(i,...o){if(!1!==i)return i||r===e.length?t(i,...o):void n(o)}n([])}),gp={apply:ic,applyEach:Sc,applyEachSeries:Oc,asyncify:fc,auto:Mc,autoInject:Uc,cargo:Wc,cargoQueue:Xc,compose:Jc,concat:Vc,concatLimit:Kc,concatSeries:el,constant:tl,detect:nl,detectLimit:il,detectSeries:ol,dir:al,doUntil:cl,doWhilst:ul,each:pl,eachLimit:fl,eachOf:Bc,eachOfLimit:Fc,eachOfSeries:Rc,eachSeries:dl,ensureAsync:Al,every:hl,everyLimit:gl,everySeries:ml,filter:vl,filterLimit:yl,filterSeries:El,forever:Cl,groupBy:Fl,groupByLimit:_l,groupBySeries:kl,log:Pl,map:xc,mapLimit:Zc,mapSeries:Tc,mapValues:xl,mapValuesLimit:Bl,mapValuesSeries:Sl,memoize:Rl,nextTick:Tl,parallel:Il,parallelLimit:Ll,priorityQueue:Ul,queue:Ml,race:zl,reduce:qc,reduceRight:Gl,reflect:Yl,reflectAll:Wl,reject:ql,rejectLimit:$l,rejectSeries:Jl,retry:Kl,retryable:Vl,seq:$c,series:ep,setImmediate:pc,some:tp,someLimit:rp,someSeries:np,sortBy:ip,timeout:op,times:ap,timesLimit:sp,timesSeries:up,transform:cp,tryEach:lp,unmemoize:pp,until:dp,waterfall:hp,whilst:fp,all:hl,allLimit:gl,allSeries:ml,any:tp,anyLimit:rp,anySeries:np,find:nl,findLimit:il,findSeries:ol,flatMap:Vc,flatMapLimit:Kc,flatMapSeries:el,forEach:pl,forEachSeries:dl,forEachLimit:fl,forEachOf:Bc,forEachOfSeries:Rc,forEachOfLimit:Fc,inject:qc,foldl:qc,foldr:Gl,select:vl,selectLimit:yl,selectSeries:El,wrapSync:fc,during:fp,doDuring:ul},mp=Object.freeze({__proto__:null,all:hl,allLimit:gl,allSeries:ml,any:tp,anyLimit:rp,anySeries:np,apply:ic,applyEach:Sc,applyEachSeries:Oc,asyncify:fc,auto:Mc,autoInject:Uc,cargo:Wc,cargoQueue:Xc,compose:Jc,concat:Vc,concatLimit:Kc,concatSeries:el,constant:tl,default:gp,detect:nl,detectLimit:il,detectSeries:ol,dir:al,doDuring:ul,doUntil:cl,doWhilst:ul,during:fp,each:pl,eachLimit:fl,eachOf:Bc,eachOfLimit:Fc,eachOfSeries:Rc,eachSeries:dl,ensureAsync:Al,every:hl,everyLimit:gl,everySeries:ml,filter:vl,filterLimit:yl,filterSeries:El,find:nl,findLimit:il,findSeries:ol,flatMap:Vc,flatMapLimit:Kc,flatMapSeries:el,foldl:qc,foldr:Gl,forEach:pl,forEachLimit:fl,forEachOf:Bc,forEachOfLimit:Fc,forEachOfSeries:Rc,forEachSeries:dl,forever:Cl,groupBy:Fl,groupByLimit:_l,groupBySeries:kl,inject:qc,log:Pl,map:xc,mapLimit:Zc,mapSeries:Tc,mapValues:xl,mapValuesLimit:Bl,mapValuesSeries:Sl,memoize:Rl,nextTick:Tl,parallel:Il,parallelLimit:Ll,priorityQueue:Ul,queue:Ml,race:zl,reduce:qc,reduceRight:Gl,reflect:Yl,reflectAll:Wl,reject:ql,rejectLimit:$l,rejectSeries:Jl,retry:Kl,retryable:Vl,select:vl,selectLimit:yl,selectSeries:El,seq:$c,series:ep,setImmediate:pc,some:tp,someLimit:rp,someSeries:np,sortBy:ip,timeout:op,times:ap,timesLimit:sp,timesSeries:up,transform:cp,tryEach:lp,unmemoize:pp,until:dp,waterfall:hp,whilst:fp,wrapSync:fc}),Dp=n.f(mp),wp=(Ap||(Ap=1,function(e){const t=s,r=p,i=m,o=u,a=Dp,c=n.r(),l=c("portfinder:testPort"),f=c("portfinder:getPort"),d=c("portfinder:defaultHosts"),A={testPort:function(t,r){function n(){l("done w/ testPort(): OK",t.host,"port",t.port),t.server.removeListener("error",o),t.server.close(function(){l("done w/ testPort(): Server closed",t.host,"port",t.port),r(null,t.port)})}function o(i){if(l("done w/ testPort(): failed",t.host,"w/ port",t.port,"with error",i.code),t.server.removeListener("listening",n),"EADDRINUSE"!=i.code&&"EACCES"!=i.code)return r(i);const o=e.nextPort(t.port);if(o>e.highestPort)return r(new Error("No open ports available"));A.testPort({port:o,host:t.host,server:t.server},r)}r||(r=t,t={}),t.server=t.server||i.createServer(function(){}),l("entered testPort(): trying",t.host,"port",t.port),t.server.once("error",o),t.server.once("listening",n),t.host?t.server.listen(t.port,t.host):t.server.listen(t.port)}};e.basePort=8e3,e.setBasePort=function(t){e.basePort=t},e.highestPort=65535,e.setHighestPort=function(t){e.highestPort=t},e.basePath="/tmp/portfinder",e.setBasePath=function(t){e.basePath=t},A.getPort=function(t,r){if(t.port=Number(t.port)||Number(t.startPort)||Number(e.basePort),t.host=t.host||null,t.stopPort=Number(t.stopPort)||Number(e.highestPort),!t.startPort){if(t.startPort=t.port,t.startPort<0)return r(Error(`Provided options.port(${t.port}) is less than 0, which are cannot be bound.`));if(t.stopPort<t.startPort)return r(Error(`Provided options.stopPort(${t.stopPort}) is less than options.port(${t.startPort})`))}t.host&&-1===e._defaultHosts.indexOf(t.host)&&e._defaultHosts.push(t.host);const n=[];let i;return a.eachSeries(e._defaultHosts,function(e,r){return f("in eachSeries() iteration callback: host is",e),A.testPort({host:e,port:t.port},function(t,o){return t?(f("in eachSeries() iteration callback testPort() callback","with an err:",t.code),i=e,r(t)):(f("in eachSeries() iteration callback testPort() callback","with a success for port",o),n.push(o),r())})},function(o){if(o){if(f("in eachSeries() result callback: err is",o),"EADDRNOTAVAIL"===o.code||"EINVAL"===o.code){if(t.host===i){const e="Provided host "+t.host+" could NOT be bound. Please provide a different host address or hostname";return r(Error(e))}{const n=e._defaultHosts.indexOf(i);return e._defaultHosts.splice(n,1),A.getPort(t,r)}}return r(o)}if(n.sort(function(e,t){return e-t}),f("in eachSeries() result callback: openPorts is",n),n[0]===n[n.length-1]){if(n[0]<=t.stopPort)return r(null,n[0]);{const e="No open ports found in between "+t.startPort+" and "+t.stopPort;return r(Error(e))}}return A.getPort({port:n.pop(),host:t.host,startPort:t.startPort,stopPort:t.stopPort},r)})},e.getPort=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},!t)return new Promise(function(t,r){A.getPort(e,function(e,n){if(e)return r(e);t(n)})});A.getPort(e,t)},e.getPortPromise=e.getPort,A.getPorts=function(t,r,n){let i=null;a.timesSeries(t,function(t,n){i&&(r.port=e.nextPort(i)),A.getPort(r,function(e,t){e?n(e):(i=t,n(null,t))})},n)},e.getPorts=function(e,t,r){if("function"==typeof t&&(r=t,t={}),t=t||{},!r)return new Promise(function(r,n){A.getPorts(e,t,function(e,t){if(e)return n(e);r(t)})});A.getPorts(e,t,r)},e.getPortsPromise=e.getPorts,A.getSocket=function(r,n){function i(){t.stat(r.path,function(t){t?"ENOENT"==t.code?n(null,r.path):n(t):(r.path=e.nextSocket(r.path),A.getSocket(r,n))})}return r.mod=r.mod||parseInt(755,8),r.path=r.path||e.basePath+".sock",r.exists?i():function(){const e=o.dirname(r.path);t.stat(e,function(o,s){if(o||!s.isDirectory())return function(e){t.mkdir(e,{mode:r.mod,recursive:!0},function(e){if(e)return n(e);r.exists=!0,i()})}(e);r.exists=!0,i()})}()},e.getSocket=function(e,t){if("function"==typeof e&&(t=e,e={}),e=e||{},!t)return new Promise(function(t,r){A.getSocket(e,function(e,n){if(e)return r(e);t(n)})});A.getSocket(e,t)},e.getSocketPromise=e.getSocket,e.nextPort=function(e){return e+1},e.nextSocket=function(e){const t=o.dirname(e),r=o.basename(e,".sock").match(/^([a-zA-z]+)(\d*)$/i),n=r[1];let i=parseInt(r[2]);return isNaN(i)&&(i=0),i+=1,o.join(t,n+i+".sock")},e._defaultHosts=function(){let e={};try{e=r.networkInterfaces()}catch(e){if("uv_interface_addresses"!==e.syscall)throw e}const t=Object.keys(e),n=["0.0.0.0"];for(let r=0;r<t.length;r++){const i=e[t[r]];for(let e=0;e<i.length;e++){const t=i[e];n.push(t.address)}}return n.push(null),d("exports._defaultHosts is: %o",n),n}()}(nc)),nc);class bp{chokidar;converter;events;finder;mode;constructor(e,t){this.converter=t.converter,this.events=t.events,this.finder=t.finder,this.mode=t.mode,this.chokidar=((...e)=>(n.h("Start watching with chokidar: %O",e),I.watch(...e)))(e,{ignoreInitial:!0}).on("all",(e,t)=>this.log(e,t)).on("change",e=>this.convert(e)).on("add",e=>this.convert(e)).on("unlink",e=>this.delete(e)),this.converter.options.themeSet.onThemeUpdated=e=>this.convert(e),yp.start()}log(e,t){n.h("Chokidar event: [%s] %s",e,t)}async convert(e){const t=o.resolve(e),r=(await this.finder()).filter(e=>o.resolve(e.path)===t),n=(await this.converter.options.themeSet.findPath()).find(e=>o.resolve(e)===t),i=e=>{e.type===Hu.File&&yp.sendTo(e.absolutePath,"reload")};try{this.mode===bp.WatchMode.Convert?await this.converter.convertFiles(r,{onConverted:e=>{this.events.onConverted(e),i(e.file)}}):this.mode===bp.WatchMode.Notify&&r.forEach(i)}catch(e){ge(e)&&this.events.onError(e)}void 0!==n&&this.converter.options.themeSet.load(t)}delete(e){const t=o.resolve(e),{themeSet:r}=this.converter.options;r.unobserve(t),r.themes.delete(t)}static watch(e,t){return new bp(e,t)}}class vp{listeners=new Map;wss;portNumber;static webSocketEntrypoint=".__marp-cli-watch-notifier__";get server(){return this.wss}async port(){return void 0===this.portNumber&&(this.portNumber=await wp.getPortPromise({port:37717})),this.portNumber}async register(e,t="static"){const r=vp.sha256(e);return this.listeners.has(r)||this.listeners.set(r,new Set),await this.entrypoint(r,t)}async entrypoint(e,t="static"){return"server"===t?`/${vp.webSocketEntrypoint}/${e}`:`ws://localhost:${await this.port()}/${e}`}sendTo(e,t){if(!this.wss)return!1;const r=this.listeners.get(vp.sha256(e));return!!r&&(r.forEach(e=>e.send(t)),!0)}async start(e={}){const t=await this.port();this.wss=new L.WebSocketServer({...e,port:t}),n.j("WebSocket server for watch notifier started on port %d.",t),this.wss.on("connection",(e,r)=>{if(r.url){n.j("New WebSocket connection: %s",r.url);const i=(()=>{try{const e=new URL(r.url,`ws://localhost:${t}`).pathname.split("/").pop();return n.j("Detected identifier from WebSocket connection: %s",e),e}catch(e){return void n.j("Error occurred during parsing identifier: %o",e)}})();if(i){const t=this.listeners.get(i);if(void 0!==t)return this.listeners.set(i,t.add(e)),n.j('WebSocket connection for identifier "%s" registered',i),e.on("close",()=>{this.listeners.get(i).delete(e),n.j('WebSocket connection for identifier "%s" closed',i)}),void e.send("ready")}}n.j("WebSocket connection request has been dismissed: %s",r.url),e.close()})}async stop(){return new Promise(e=>{if(void 0!==this.wss){const{wss:t}=this;t.close(()=>{for(const e of t.clients)e.terminate();e(!0)}),this.wss=void 0}else e(!1)})}static sha256(e){const t=v.createHash("sha256");return t.update(e),t.digest("hex").toString()}}const yp=new vp;var Ep=bp.watch;!function(e){var t;(t=e.WatchMode||(e.WatchMode={}))[t.Convert=0]="Convert",t[t.Notify=1]="Notify"}(bp||(bp={}));const Cp="Created by Marp";var _p;!function(e){e.html="html",e.pdf="pdf",e.png="png",e.pptx="pptx",e.jpeg="jpg",e.notes="notes"}(_p||(_p={}));const Fp={[_p.html]:"text/html",[_p.pdf]:"application/pdf",[_p.png]:"image/png",[_p.pptx]:"application/vnd.openxmlformats-officedocument.presentationml.presentation",[_p.jpeg]:"image/jpeg",[_p.notes]:"text/plain"};class kp{options;_sOffice=void 0;_firefoxPDFConversionWarning=!1;_experimentalEditablePPTXWarning=!1;constructor(e){this.options=e}get browser(){return this.options.browserManager.browserForConversion()}get template(){const e=ec[this.options.template];return e||he(`Template "${this.options.template}" is not found.`),e}get sOffice(){return this._sOffice||(this._sOffice=new zu),this._sOffice}async convert(e,t,{fallbackToPrintableTemplate:r=!1}={}){const{globalDirectives:n,type:i}=this.options,o=e=>!!e&&e.type===Hu.File;let s=this.template;return r&&!s.printable&&(s=Ju),await s({...this.options.templateOption||{},base:await(async e=>{if(this.options.baseUrl)return this.options.baseUrl;if(o(e)&&i!==_p.html){const t=await this.browser;return await t.browserInWSLHost()?`file:${await Me(e.absolutePath,!0)}`:e.absoluteFileScheme}})(t),notifyWS:o(t)&&this.options.watch&&i===_p.html?await yp.register(t.absolutePath,"string"==typeof this.options.watch?this.options.watch:void 0):void 0,renderer:async r=>{const i=await this.generateEngine(r);var s;i.use((s=n,function(e){e.core.ruler.after("inline","marp_cli_override_global_directives",e=>{if(!e.inlineMode)for(const[t,r]of Object.entries(s))if(void 0!==r){const n=`${t}: ${r}`,i=new e.Token("marpit_comment","",0);i.hidden=!0,i.content=n,i.markup=`\x3c!-- ${n} --\x3e`,i.meta={marpitParsedDirectives:{[t]:r},marpitCommentParsed:"marp-cli-overridden-global-directives"},e.tokens.push(i)}})})),r.modifier?.(i);const a=await i.render((u=e,65279===u.charCodeAt(0)?u.slice(1):u));var u;const c=i[Oi],l=i[Hi],p=i[Gi];return o(t)&&this.options.themeSet.observe(t.absolutePath,c?.theme),{...a,...c,outline:l,transition:p}}})}async convertFile(e,t={}){let r;const i=async r=>{try{return Zr(!!t.onlyScanning),await this.convert((await e.load()).toString(),e,{fallbackToPrintableTemplate:r})}finally{Zr(!1)}};if(!t.onlyScanning){n.d("Converting %s ...",e.relativePath());const o=[];switch(this.options.type){case _p.pdf:r=await i(!0),o.push(await this.convertFileToPDF(r,e));break;case _p.png:case _p.jpeg:r=await i(!0),o.push(...await this.convertFileToImage(r,e,{pages:this.options.pages,quality:this.options.jpegQuality,scale:this.options.imageScale,type:this.options.type}));break;case _p.pptx:r=await i(!0),o.push(this.options.pptxEditable?await this.convertFileToEditablePPTX(r,e):await this.convertFileToPPTX(r,e,{scale:this.options.imageScale??2}));break;case _p.notes:r=await i(!1),o.push(await this.convertFileToNotes(r,e));break;default:r=await i(),o.push(this.convertFileToHTML(r,e))}for(const n of o)await n.save(),t.onConverted&&t.onConverted({file:e,newFile:n,template:r});return{file:e,template:r,newFile:o[0]}}return r=await i(),{file:e,template:r}}async convertFiles(e,t={}){const{inputDir:r,output:i}=this.options;!r&&i&&"-"!==i&&e.length>1&&he("Output path cannot specify with processing multiple files.");const o=Math.max(1,this.options.parallel??1),s=[...e],a=Array.from({length:o},async(e,r)=>{let i;for(n.d(`[Worker ${r+1}] Start processing ...`);i=s.shift();)n.d(`[Worker ${r+1}] Processing ${i.absolutePath} ...`),await this.convertFile(i,t);n.d(`[Worker ${r+1}] Finish processing.`)});await Promise.all(a),n.d("Batch processing has been completed.")}convertFileToHTML(e,t){const r=t.convert(this.options.output,{extension:"html"});return r.buffer=Buffer.from(e.result),r}convertFileToNotes(e,t){const r=t.convert(this.options.output,{extension:"txt"}),{comments:n}=e.rendered;return 0===n.flat().length?(Vr(`${t.relativePath()} contains no notes.`),r.buffer=Buffer.from("")):r.buffer=Buffer.from(n.map(e=>e.join("\n\n")).join("\n\n---\n\n")),r}async convertFileToPDF(e,t,{postprocess:r=!0}={}){const n=new ju(t.absolutePath);n.buffer=Buffer.from(e.result);const i=t.convert(this.options.output,{extension:"pdf"});let o;if("firefox"!==(await this.browser).kind||this._firefoxPDFConversionWarning||(this._firefoxPDFConversionWarning=!0,Vr("Using Firefox to convert Markdown: The output may include some incompatible renderings compared to the output generated by Chrome.")),i.buffer=Buffer.from(await this.usePuppeteer(n,async(t,{render:r})=>(await r(),e.rendered.outline&&(o=await t.evaluate(Qi,e.rendered.outline.flatMap(e=>e.headings),Ni)),await t.pdf({printBackground:!0,preferCSSPageSize:!0,width:e.rendered.size.width,height:e.rendered.size.height})))),r){const t=new Date,{PDFDocument:r,PDFHexString:n,PDFString:s}=await Promise.resolve().then(function(){return require("./pdf-lib.esm-CWPXb_Gd.js")}),a=await r.load(i.buffer);if(a.setCreator(Cp),a.setProducer(Cp),a.setCreationDate(t),a.setModificationDate(t),e.rendered.title&&a.setTitle(e.rendered.title),e.rendered.description&&a.setSubject(e.rendered.description),e.rendered.author&&a.setAuthor(e.rendered.author),e.rendered.keywords&&a.setKeywords([e.rendered.keywords.join("; ")]),this.options.pdfOutlines&&e.rendered.outline&&await(async(e,t)=>{const{PDFHexString:r}=await Promise.resolve().then(function(){return require("./pdf-lib.esm-CWPXb_Gd.js")}),n=e.context.nextRef(),i=new WeakMap;for(const r of(e=>{const t=[];return tc(e,e=>{t.push(e)}),t})(t))i.set(r,e.context.nextRef());const o=(()=>{const t=[];return e.catalog.Pages().traverse((e,r)=>{"/Page"===e.get(e.context.obj("Type"))?.toString()&&t.push(r)}),t})(),s=(t,n)=>{const{length:a}=t;for(let u=0;u<a;u+=1){const c=t[u],l=i.get(c),p=(()=>{if("number"==typeof c.to)return{Dest:[o[c.to],"Fit"]};if(Array.isArray(c.to)){const t=e.getPage(c.to[0]),r=t.getWidth(),n=t.getHeight();return{Dest:[o[c.to[0]],"XYZ",r*c.to[1],n*c.to[2],null]}}return{}})(),f=(()=>"children"in c&&c.children.length>0?(s(c.children,l),{First:i.get(c.children[0]),Last:i.get(c.children[c.children.length-1]),Count:rc(c.children)*(c.open?1:-1)}):{})();e.context.assign(l,e.context.obj({Title:r.fromText(c.title),Parent:n,...u>0?{Prev:i.get(t[u-1])}:{},...u<a-1?{Next:i.get(t[u+1])}:{},...f,...p,F:(c.italic?1:0)|(c.bold?2:0)}))}};s(t,n);const a=rc(t);e.context.assign(n,e.context.obj({Type:"Outlines",...a>0?{First:i.get(t[0]),Last:i.get(t[t.length-1])}:{},Count:a})),e.catalog.set(e.context.obj("Outlines"),n)})(a,((e,t)=>{const{length:r}=e,n=[],i=[[n,Number.NEGATIVE_INFINITY]],o=(e,t)=>{for(;i[0][1]>=t;)i.shift();i[0][0].push(e),i.unshift([e.children,t])};for(let n=0;n<r;n+=1){const r=e[n];if(r){let e;if(t.pages&&(e={title:`Page ${r.pageNumber}`,to:n,bold:!0,children:[],open:!0},o(e,-1)),t.headings&&t.data)for(const e of r.headings){const r=t.data[e.key];o({title:r?.[2]??"",to:r?[n,r[0]/t.size.width,1-r[1]/t.size.height]:n,open:!0,children:[]},e.level)}}}return n})(e.rendered.outline,{...this.options.pdfOutlines,data:o,size:e.rendered.size})),this.options.pdfNotes){const t=a.getPages();for(let r=0,i=t.length;r<i;r+=1){const i=e.rendered.comments[r].join("\n\n");if(i){const o=a.context.obj({Type:"Annot",Subtype:"Text",Rect:[0,20,20,20],Contents:n.fromText(i),T:e.rendered.author?n.fromText(e.rendered.author):void 0,Name:"Note",Subj:s.of("Note"),C:[1,.92,.42],CA:.25});t[r].node.addAnnot(a.context.register(o))}}}i.buffer=Buffer.from(await a.save())}return i}async convertFileToImage(e,t,r){const i=new ju(t.absolutePath);i.buffer=Buffer.from(e.result);const o=[];return await this.usePuppeteer(i,async(i,{browser:s,render:a})=>{const u=r.scale??1,c="firefox"===s.kind?{width:Math.floor(e.rendered.size.width*u),height:Math.floor(e.rendered.size.height*u),deviceScaleFactor:1}:{width:e.rendered.size.width,height:e.rendered.size.height,deviceScaleFactor:u};await i.setViewport(c),await a(),await i.addStyleTag({content:":root,body { scrollbar-width:none !important; }"});try{await i.emulateMediaType("print")}catch(e){n.d("%o",e),n.d('Could not emulate media type "print". Continue capturing screenshot with media type "screen".')}r.type===_p.png&&await i.addStyleTag({content:":root,body { background:transparent !important; }"});const l=async(e=1)=>{const t=(e-1)*c.height,o={x:0,y:t,width:c.width,height:c.height};if("cdp"===s.protocol)return r.type===_p.jpeg?await i.screenshot({clip:o,quality:r.quality,type:"jpeg"}):await i.screenshot({clip:o,omitBackground:!0,type:"png"});if("webDriverBiDi"===s.protocol){"firefox"===s.kind&&(o.y=0,await i.evaluate(`document.body.scrollTo({ left: 0, top: ${t}, behavior: 'instant' })`));const e=await i.screenshot({clip:o,type:"png"});return r.type===_p.jpeg?await(async(e,t,r)=>await e.withPage(async i=>{n.d("Converting PNG to JPEG via Puppeteer"),await i.goto("data:text/html,",{waitUntil:["domcontentloaded","networkidle0"]});const o=await i.evaluate(async(e,t,r)=>{const n=document.createElement("canvas"),i=n.getContext("2d");if(!i)throw new Error("Failed to prepare canvas context for converting to JPEG");const o=new Image;return await Promise.race([new Promise(t=>{o.addEventListener("load",()=>{n.width=o.width,n.height=o.height,i.drawImage(o,0,0),t()}),o.src=e}),new Promise((e,t)=>{setTimeout(()=>{t(new Error("Failed to convert PNG to JPEG due to timeout"))},r)})]),n.toDataURL("image/jpeg",t)},`data:image/png;base64,${Buffer.from(t).toString("base64")}`,r,e.timeout);if(!o.startsWith("data:image/jpeg;base64,"))throw new Error("Failed to convert PNG to JPEG");return Buffer.from(o.slice(23),"base64")}))(s,e,r.quality?Math.min(Math.max(.01*r.quality,0),1):void 0):e}he("Unsupported browser protocol for taking screenshot.")};if(r.pages)for(let n=1;n<=e.rendered.length;n+=1){const e=t.convert(this.options.output,{page:n,extension:r.type});e.buffer=Buffer.from(await l(n)),o.push(e)}else{const e=t.convert(this.options.output,{extension:r.type});e.buffer=Buffer.from(await l()),o.push(e)}}),o}async convertFileToPPTX(e,t,r={}){const n=await this.convertFileToImage(e,t,{...r,pages:!0,type:_p.png}),i=new((await Promise.resolve().then(function(){return require("./pptxgen.es-Bn2D7GhK.js")})).default),o=`${e.rendered.size.width}x${e.rendered.size.height}`;i.author=e.rendered.author??Cp,i.company=Cp,i.defineLayout({name:o,width:e.rendered.size.width/96,height:e.rendered.size.height/96}),i.layout=o,e.rendered.title&&(i.title=e.rendered.title),e.rendered.description&&(i.subject=e.rendered.description),n.forEach((t,r)=>{const n=i.addSlide();n.background={data:`data:image/png;base64,${t.buffer.toString("base64")}`};const o=e.rendered.comments[r].join("\n\n");o&&n.addNotes(o)});const s=t.convert(this.options.output,{extension:"pptx"});return s.buffer=await i.write({outputType:"nodebuffer"}),s}async convertFileToEditablePPTX(e,t){const r={stack:[],error:void 0,hasError:!1};try{!1===this._experimentalEditablePPTXWarning&&(this._experimentalEditablePPTXWarning=!0,Vr(`${de.yellow`[EXPERIMENTAL]`} Converting to editable PPTX is experimental feature. The output depends on LibreOffice and slide reproducibility is not fully guaranteed.`));const n=await this.convertFileToPDF(e,t,{postprocess:!1}),s=wn(r,await n.saveTmpFile({extension:".pdf"}),!0);await this.sOffice.spawn(["--nolockcheck","--nologo","--headless","--norestore","--nofirststartwizard","--infilter=impress_pdf_import","--convert-to","pptx:Impress Office Open XML:UTF8","--outdir",o.dirname(s.path),s.path]);const a=new ju(`${s.path.slice(0,-4)}.pptx`);await(async e=>await We(e,i.constants.R_OK))(a.path)||he("LibreOffice could not convert PPTX internally.");const u=t.convert(this.options.output,{extension:"pptx"});return u.buffer=await a.load(),u}catch(e){r.error=e,r.hasError=!0}finally{const e=vn(r);e&&await e}}async generateEngine(e){const{html:t,lang:r,options:n}=this.options,i={lang:r,...n,...e,html:t};let o=this.options.engine;const s=e=>"function"==typeof e&&e.prototype&&Object.prototype.hasOwnProperty.call(e.prototype,"constructor");if("function"==typeof o&&!s(o)){const e=await Ti.resolveDefaultEngine();Object.defineProperty(i,"marp",{get:()=>new e.klass(i)}),o=await Promise.resolve(o(i))}return s(o)&&(o=new o(i)),"object"==typeof o&&"function"==typeof o.render||he("Specified engine has not implemented render() method."),void 0!==t&&o.markdown.set({html:t}),o.use(Mi).use(Ii),this.options.type===_p.pdf&&this.options.pdfOutlines&&o.use(ji),this.options.themeSet.registerTo(o),o}async usePuppeteer(e,t){const r={stack:[],error:void 0,hasError:!1};try{let n,i;this.options.allowLocalFiles&&(Vr(`Insecure local file accessing is enabled for conversion from ${e.relativePath()}.`),i=await e.saveTmpFile({extension:".html"})),wn(r,i??{[Symbol.dispose]:()=>{}},!1);const o=await this.browser;return i&&(n=await o.resolveToFileURI(i.path)),await o.withPage(async r=>{const{missingFileSet:i,failedFileSet:s}=this.trackFailedLocalFileAccess(r),a=async()=>{const t="domcontentloaded";n?await r.goto(n,{waitUntil:t}):(await r.goto("data:text/html,",{waitUntil:t}),await r.setContent(e.buffer.toString(),{waitUntil:t})),await r.waitForNetworkIdle(),await r.evaluate(async()=>{await new Promise(e=>window.requestAnimationFrame(()=>e()))})};try{return await t(r,{browser:o,render:a})}finally{i.size>0&&Vr(`${i.size>1?"Some of t":"T"}he local file${i.size>1?"s are":" is"} missing and will be ignored. Make sure the file path${i.size>1?"s are":" is"} correct.`),s.size>0&&Vr(`Marp CLI has detected accessing to local file${s.size>1?"s":""}. ${s.size>1?"They are":"That is"} blocked by security reason. Instead we recommend using assets uploaded to online. (Or you can use ${de.yellow("--allow-local-files")} option if you are understood of security risk)`)}})}catch(e){r.error=e,r.hasError=!0}finally{vn(r)}}trackFailedLocalFileAccess(e){const t=new Set,r=new Set;return e.on("requestfailed",e=>{n.d("Failed request: %s",e.url()),n.d("%o",e.failure());try{const n=new C.URL(e.url());"file:"===n.protocol&&("net::ERR_FILE_NOT_FOUND"===e.failure()?.errorText?t.add(n.href):r.add(n.href))}catch{}}),{missingFileSet:t,failedFileSet:r}}}class Pp{filename;overrideName;name;readBuffer;constructor(e,t){this.filename=e,this.overrideName=!0===t.overrideName?this.genUniqName():t.overrideName,this.name=this.overrideName}get buffer(){return this.readBuffer}get css(){const e=this.buffer.toString();return this.overrideName?`${e}\n/* @theme ${this.overrideName} */`:e}async load(){this.readBuffer=await i.promises.readFile(this.filename)}genUniqName(){const e=()=>Math.random().toString(36).slice(2);return`${e()}${e()}${e()}${e()}`}static async initialize(e,t={}){const r=new Pp(e,t);return await r.load(),r}}class Bp{fn;fnForWatch;themes=new Map;onThemeUpdated=()=>{};observedMarkdowns=new Map;constructor(e){this.fn=e.fn,this.fnForWatch=e.fnForWatch}async findPath(){return await Bp.findPath(this.fn)}async load(e){const t=o.resolve(e);let r=this.themes.get(t);r?await r.load():(r=await Pp.initialize(t),this.add(r)),void 0!==r.name&&this.notify(r.name)}observe(e,t){this.observedMarkdowns.set(e,t)}registerTo(e){for(const t of this.themes.values())try{const r=e.themeSet.add(t.css);t.name=r.name}catch(e){Vr(`Cannot register theme CSS: ${o.relative(process.cwd(),t.filename)}${ge(e)?` (${e.message})`:""}`)}}unobserve(e){this.observedMarkdowns.delete(e)}add(e){this.themes.set(e.filename,e)}notify(e){this.observedMarkdowns.forEach((t,r)=>{t===e&&this.onThemeUpdated(r)})}static async initialize(e,t=[]){const r=[...e,...t.map(e=>e.filename)],n=await Bp.findPath(r),s=new Set(n.map(e=>o.resolve(e)));for(const e of r)if(!Ou(e.split(o.sep).join("/")))try{const t=await i.promises.lstat(e);(t.isFile()||t.isDirectory()||t.isSymbolicLink())&&s.add(o.resolve(e))}catch{}const a=new Bp({fn:r,fnForWatch:[...s]});for(const e of n)await a.load(e);return t.forEach(e=>a.add(e)),a}static async findPath(e){return ju.findPath({expandDirectories:{extensions:[],files:["*.css"]}},...e)}}class xp{args={};conf={};confPath;engine;static moduleName="marp";static async fromArguments(e){const t=new xp;return n.k("Passed arguments: %o",e),t.args=e,!1!==e.configFile&&await t.loadConf(e.configFile),t.engine=await(t.args.engine?Ti.resolve(t.args.engine):t.conf.engine?Ti.resolve(t.conf.engine,t.confPath):Ti.resolveDefaultEngine()),t}static isESMAvailable(){return Ti.isESMAvailable()}constructor(){}browserManagerOption(){const e=(()=>{const e=e=>Fr.includes(e),t=this.args.browser??this.conf.browser??"auto";if("string"==typeof t){const r=t.toLowerCase();if("auto"===r)return;if(e(r))return r;he(`Unknown browser: ${t}`)}const r=t.filter(e);return 0===r.length&&t.length>0&&he(`No available browsers: ${t.join(", ")}`),r})();return{finders:e,path:(()=>this.args.browserPath?o.resolve(this.args.browserPath):this.conf.browserPath?o.resolve(o.dirname(this.confPath),this.conf.browserPath):process.env.BROWSER_PATH?process.env.BROWSER_PATH:void 0)(),protocol:(()=>{const e=this.args.browserProtocol??this.conf.browserProtocol??"cdp";return"cdp"===e?"cdp":"webdriver-bidi"===e?"webDriverBiDi":void he(`Unknown browser protocol: ${e}`)})(),timeout:(()=>{if(void 0!==this.args.browserTimeout)return Math.floor(1e3*this.args.browserTimeout);if(void 0!==this.conf.browserTimeout)return Math.floor(1e3*this.conf.browserTimeout);if(process.env.PUPPETEER_TIMEOUT){const e=Number.parseInt(process.env.PUPPETEER_TIMEOUT,10);if(!Number.isNaN(e))return e}})()}}async converterOption(){const e=await this.inputDir(),t=this.args.server??this.conf.server??!1,r=(()=>!t&&(void 0!==this.args.output?this.args.output:void 0!==this.conf.output?"-"===this.conf.output||!1===this.conf.output?this.conf.output:o.resolve(o.dirname(this.confPath),this.conf.output):void 0))(),n=(()=>{const e=this.args.preview??this.conf.preview??!1;return e&&er()?(Vr("Preview window cannot show within an official docker image. Preview option was ignored."),!1):e})(),i=this.args.template||this.conf.template||"bespoke",s=(()=>{if("bespoke"===i){const e=this.conf.bespoke||{};return{osc:this.args["bespoke.osc"]??e.osc,progress:this.args["bespoke.progress"]??e.progress,transition:this.args["bespoke.transition"]??e.transition}}return{}})(),a=await this.loadTheme(),u=a instanceof Pp?[a]:[],c=this.args.themeSet||(this.conf.themeSet?(Array.isArray(this.conf.themeSet)?this.conf.themeSet:[this.conf.themeSet]).map(e=>o.resolve(o.dirname(this.confPath),e)):[]),l=await Bp.initialize((e?[e]:[]).concat(c),u);l.themes.size<=u.length&&c.length>0&&Vr("Not found additional theme CSS files.");const p=!(!this.args.pdfNotes&&!this.conf.pdfNotes),f=!!(this.args.pdfOutlines??this.conf.pdfOutlines)&&(()=>{const e={pages:!0,headings:!0},t=t=>{const r=this.args[`pdfOutlines.${t}`];return void 0!==r?r:"object"==typeof this.conf.pdfOutlines?!!this.conf.pdfOutlines[t]:e[t]},r=t("pages"),n=t("headings");return!(!r&&!n)&&{pages:r,headings:n}})(),d=!(!this.args.pptxEditable&&!this.conf.pptxEditable),A=(()=>{if(this.args.pdf||this.conf.pdf)return _p.pdf;if(this.args.pptx||this.conf.pptx)return _p.pptx;if(this.args.notes||this.conf.notes)return _p.notes;const e=this.args.images||this.conf.images||this.args.image||this.conf.image;if("png"===e)return _p.png;if("jpg"===e||"jpeg"===e)return _p.jpeg;const t=(r||"").toLowerCase();return t.endsWith(".html")||t.endsWith(".htm")?_p.html:t.endsWith(".pdf")?_p.pdf:t.endsWith(".png")?_p.png:t.endsWith(".pptx")?_p.pptx:t.endsWith(".jpg")||t.endsWith(".jpeg")?_p.jpeg:t.endsWith(".txt")?_p.notes:!1!==(this.args.pdf??this.conf.pdf)&&(p||f)?_p.pdf:!1!==(this.args.pptx??this.conf.pptx)&&d?_p.pptx:_p.html})(),h=(()=>{const e=this.args.imageScale??this.conf.imageScale;return void 0!==e&&("number"!=typeof e&&he("Image scale factor must be a number."),e<=0&&he("Image scale factor cannot set as 0 or less."),e>10)?(Vr(`You are setting too large image scale factor (x${e}). Automatically restricted to x10.`),10):e})(),g=(()=>{const e=e=>!0===e?5:!1===e?1:"number"==typeof e?Math.max(1,e):void 0;return e(this.args.parallel)??e(this.conf.parallel)??5})();return{imageScale:h,inputDir:e,output:r,parallel:g,pdfNotes:p,pdfOutlines:f,pptxEditable:d,preview:n,server:t,template:i,templateOption:s,themeSet:l,type:A,allowLocalFiles:this.args.allowLocalFiles??this.conf.allowLocalFiles??!1,baseUrl:this.args.baseUrl??this.conf.baseUrl,engine:this.engine.klass,globalDirectives:{author:this.args.author??this.conf.author,description:this.args.description??this.conf.description,image:this.args.ogImage??this.conf.ogImage,keywords:Li(this.args.keywords??this.conf.keywords),theme:a instanceof Pp?a.name:a,title:this.args.title??this.conf.title,url:this.args.url??this.conf.url},html:this.args.html??this.conf.html,jpegQuality:this.args.jpegQuality??this.conf.jpegQuality??85,lang:this.conf.lang||(await Dn()).replace(/@/g,"-"),options:this.conf.options||{},pages:!(!this.args.images&&!this.conf.images),watch:(this.args.watch??this.conf.watch)||n||t||!1}}get files(){return this.args.server||this.conf.server?[]:this.args._||[]}async inputDir(){const e=(()=>this.args.inputDir?o.resolve(this.args.inputDir):this.conf.inputDir?o.resolve(o.dirname(this.confPath),this.conf.inputDir):(this.args.server||this.conf.server)&&Array.isArray(this.args._)&&(this.args._.length>1&&he("Server mode have to specify just one directory."),1===this.args._.length)?o.resolve(this.args._[0]):void 0)();if(void 0===e)return;let t;try{t=await i.promises.lstat(e)}catch(t){if(ge(t)&&"ENOENT"!==t.code)throw t;he(`Input directory "${e}" is not found.`)}return t.isDirectory()||he(`"${e}" is not directory.`),e}async loadConf(e){const t=xp.isESMAvailable()?E.cosmiconfig(xp.moduleName):E.cosmiconfigSync(xp.moduleName);try{const r=await(async()=>{if(void 0!==e)return n.k("Loading configuration file from specified path: %s",e),t.load(e);const r=process.cwd();return n.k("Finding configuration file from current directory: %s",r),t.search(r)})();r&&!r.isEmpty?n.k("Loaded configuration file: %s",r.filepath):n.k("No configuration file found."),r&&(this.confPath=r.filepath,this.conf=r.config)}catch(t){n.k("Error occurred during loading configuration file: %o",t);const r=ge(t);r&&"ERR_REQUIRE_ESM"===t.code&&n.i()&&en("A standalone binary version of Marp CLI is currently not supported resolving ESM. Please consider using CommonJS, or trying to use Marp CLI via Node.js."),he(["Could not find or parse configuration file.",r&&`(${t.name}: ${t.message.trimEnd()})`,void 0!==e&&`[${e}]`].filter(e=>e).join(" "))}}async loadTheme(){const e=(()=>this.args.theme?{advice:{use:"--theme-set",insteadOf:"--theme"},name:this.args.theme,path:o.resolve(this.args.theme)}:this.conf.theme?{advice:{use:"themeSet",insteadOf:"theme"},name:this.conf.theme,path:o.resolve(o.dirname(this.confPath),this.conf.theme)}:void 0)();if(e){try{return await Pp.initialize(e.path,{overrideName:!0})}catch(t){if(!ge(t))throw t;if("EISDIR"===t.code&&(Kr(`Please use ${de.yellow(e.advice.use)} option instead of ${e.advice.insteadOf} to make theme CSS available from directory.`),he(`Directory cannot pass to theme option. (${e.path})`)),"ENOENT"!==t.code)throw t}return e.name}}}const{fromArguments:Sp}=xp,Rp="data:text/html;base64,PHRpdGxlPk1hcnAgQ0xJPC90aXRsZT4";class Tp extends w.EventEmitter{options;puppeteerInternal;constructor(e){super(),this.options={browserManager:e.browserManager,height:e.height||360,width:e.width||640},n.l("Initialized preview instance: %o",this.options)}get puppeteer(){return this.puppeteerInternal}async open(e){this.emit("opening",e);const t=await this.createWindow()||await this.launch();return t.on("close",()=>this.emit("close",t)),await t.load(e),this.emit("open",t,e),t}async exit(){n.l("Requested to exit preview"),this.puppeteer&&(n.l("Closing puppeteer instance for preview..."),await this.puppeteer.close(),this.emit("exit"),this.puppeteerInternal=void 0,n.l("Closed puppeteer instance"))}get browserManager(){return this.options.browserManager}createWindowObject(e){const t=new w.EventEmitter;return e.on("close",()=>t.emit("close")),Object.assign(t,{page:e,close:async()=>{try{return n.l("Request to close a page: %o",e),await e.close()}catch(e){if(n.l("%O",e),!e.message.includes("Target closed."))throw e}},load:async t=>{if(t.startsWith("data:")){n.l("Loading page: Detected to load data URI. Try to convert to Blob URL and open it in the browser.");const[r]=await Promise.all([e.waitForNavigation({timeout:5e3,waitUntil:"domcontentloaded"}),e.evaluate(async e=>{const t=await fetch(e,{cache:"no-cache"}),r=await t.blob();location.href=URL.createObjectURL(r)},t)]);n.l("Loaded: %s",r?.url())}else n.l("Loading page: %s",t),await e.goto(t,{timeout:0,waitUntil:"domcontentloaded"}),n.l("Loaded: %s",t);await e.createCDPSession().then(e=>{e.send("Page.resetNavigationHistory").catch(()=>{})})}})}async createWindow(){n.l("Trying to create new window");try{return this.createWindowObject(await new Promise((e,t)=>{const r=this.puppeteer;if(!r)return n.l("Ignored: Puppeteer instance is not available"),t(!1);const i=ir(),o=t=>{n.l("Activated the window finder for %s.",i),"page"===t.type()&&new URL(t.url()).searchParams.get("__marp_cli_id")===i&&(n.l("Found a target window with id: %s",i),r.off("targetcreated",o),(async()=>{e(await t.page()??await t.asPage())})())};r.on("targetcreated",o),(async()=>{const[e]=await r.pages();n.l("Opening a new window... (id: %s)",i),await e.evaluate(`window.open('about:blank?__marp_cli_id=${i}', '', 'width=${this.options.width},height=${this.options.height}')`)})()}).then(async e=>{const t=await e.evaluate(([e,t])=>{const r=e-window.innerWidth+e,n=t-window.innerHeight+t;return window.resizeTo(r,n),[r,n]},[this.options.width,this.options.height]);return n.l("Apply window size correction: %o",t),n.l("Created new window: %s",e.url()),e}))}catch(e){if(!e)return!1;throw e}}async launch(){const e=await this.browserManager.browserForPreview();this.puppeteerInternal=await e.launch({args:[`--app=${Rp}`,`--window-size=${this.options.width},${this.options.height}`],defaultViewport:null,headless:!1,ignoreDefaultArgs:["--enable-automation"]});const t=async()=>{n.l("Page closed");const e=(await(this.puppeteer?.pages()))?.length??0;n.l("Remaining pages count: %d",e),0===e&&await this.exit()};this.puppeteerInternal.on("targetcreated",e=>{n.l("Target created: %o",e.url()),e.page().then(e=>e?.on("close",t))});const[r]=await this.puppeteerInternal.pages();let i;return await r.goto(Rp,{waitUntil:"domcontentloaded"}),"darwin"===process.platform&&(i=await this.createWindow()||void 0,await r.close()),r.on("close",t),this.emit("launch"),i||this.createWindowObject(r)}}function Op(e,t){if(e.type===Hu.File){const t=e.absolutePath.replace(/\\/g,"/");return encodeURI(`file://${t.startsWith("/")?"":"/"}${t}`)}if(e.buffer)return`data:${Fp[t]};base64,${e.buffer.toString("base64")}`;he("Processing file is not convertible to URI for preview.")}function Ip(e){var t,r="",n=e||{};return function(e,n,i,o,s,a){r=r+'<!DOCTYPE html><html><head><meta charset="UTF-8"><meta name="google" content="notranslate"><meta name="viewport" content="width=device-width initial-scale=1.0"><meta http-equiv="X-UA-Compatible" content="ie=edge"><link rel="icon" type="image/png"'+Xu.attr("href",i,!0,!0)+"><style>"+(null==(t=a)?"":t)+"</style></head><body><h1>"+Xu.escape(null==(t=e)?"":t)+'</h1><label id="show-all-container"><input class="toggle" id="show-all" type="checkbox">\nShow all files and directories</label><ul id="index">',function(){var e=o;if("number"==typeof e.length)for(var i=0,s=e.length;i<s;i++){var a=e[i];r=r+"<li"+Xu.attr("class",Xu.classes([{convertible:a.convertible,directory:a.directory,"node-modules":a.nodeModules}],[!0]),!1,!0)+'><a class="link file"'+Xu.attr("href",n(a.name)+(a.directory?"/":""),!0,!0)+">"+Xu.escape(null==(t=a.name)?"":t)+"</a>",a.convertible&&(r=r+'<a class="link pdf"'+Xu.attr("href",`${n(a.name)}?pdf`,!0,!0)+'>PDF</a><a class="link pptx"'+Xu.attr("href",`${n(a.name)}?pptx`,!0,!0)+">PPTX</a>"),r+="</li>"}else for(var i in s=0,e)s++,a=e[i],r=r+"<li"+Xu.attr("class",Xu.classes([{convertible:a.convertible,directory:a.directory,"node-modules":a.nodeModules}],[!0]),!1,!0)+'><a class="link file"'+Xu.attr("href",n(a.name)+(a.directory?"/":""),!0,!0)+">"+Xu.escape(null==(t=a.name)?"":t)+"</a>",a.convertible&&(r=r+'<a class="link pdf"'+Xu.attr("href",`${n(a.name)}?pdf`,!0,!0)+'>PDF</a><a class="link pptx"'+Xu.attr("href",`${n(a.name)}?pptx`,!0,!0)+">PPTX</a>"),r+="</li>"}.call(this),r=r+"</ul><script>"+(null==(t=s)?"":t)+"<\/script></body></html>"}.call(this,"directory"in n?n.directory:"undefined"!=typeof directory?directory:void 0,"encodeURIComponent"in n?n.encodeURIComponent:"undefined"!=typeof encodeURIComponent?encodeURIComponent:void 0,"favicon"in n?n.favicon:"undefined"!=typeof favicon?favicon:void 0,"files"in n?n.files:"undefined"!=typeof files?files:void 0,"script"in n?n.script:"undefined"!=typeof script?script:void 0,"style"in n?n.style:"undefined"!=typeof style?style:void 0),r}class Lp extends w{converter;inputDir;options;port;directoryIndex;httpServer;server;static script;constructor(e,t={}){super(),e.options.inputDir||he("Converter have to specify an input directory."),this.converter=e,this.directoryIndex=t.directoryIndex||[],this.inputDir=e.options.inputDir,this.options=t,this.port=Number.parseInt(process.env.PORT,10)||8080}async start(){return await this.setup(),new Promise((e,t)=>{this.httpServer=this.server.listen(this.port),this.httpServer.on("listening",e),this.httpServer.on("error",e=>(async()=>{await this.stop(),"EADDRINUSE"===e.code?t(new CLIError(`Listen port ${this.port} is already used in the other process. Try again after closing the relevant process, or specify another port number through PORT env.`,Ae.LISTEN_PORT_IS_ALREADY_USED)):t(e)})()),this.httpServer.on("upgrade",(e,t,r)=>{if(e.url?.startsWith(`/${vp.webSocketEntrypoint}/`)){const n=yp.server;if(n)return void n.handleUpgrade(e,t,r,t=>{n.emit("connection",t,e)})}t.destroy()})})}async stop(){if(this.httpServer){try{await l.promisify(this.httpServer.close.bind(this.httpServer))()}catch(e){if(!ge(e)||"ERR_SERVER_NOT_RUNNING"!==e.code)throw e}this.httpServer=void 0}}async convertMarkdown(e,t={}){const r=(()=>{const e=Object.keys(t);return e.includes("pdf")?_p.pdf:e.includes("pptx")?_p.pptx:e.includes("png")?_p.png:e.includes("jpg")||e.includes("jpeg")?_p.jpeg:e.includes("txt")||e.includes("notes")?_p.notes:_p.html})();this.converter.options.output=!1,this.converter.options.pages=!1,this.converter.options.type=r,this.converter.options.watch="server";const n=await this.converter.convertFile(new ju(e));return this.emit("converted",n),{result:n,type:r}}async loadScript(){return void 0===Lp.script&&(Lp.script=(await i.promises.readFile(o.resolve(__dirname,"./server/server-index.js"))).toString()),Lp.script}async preprocess(e,t){const{pathname:r,query:n}=C.parse(e.url);if(!r)return;const i=M.parse(n||""),s=async e=>{try{const{result:r,type:n}=await this.convertMarkdown(e,i);if(!r.newFile)throw new Error("Converter must return a converted file to serve.");n===_p.pptx&&t.attachment(`${o.basename(e,o.extname(e))}.pptx`),t.type(Fp[n]).end(r.newFile.buffer)}catch(e){let r="Internal server error";ge(e)&&(this.emit("error",e),r=e.toString()),t.status(503).end(r)}},a=await this.validateMarkdown(r);if(a.valid)await s(a.path);else if(a.stats?.isDirectory())for(const e of this.directoryIndex){const t=await this.validateMarkdown(o.join(o.relative(this.inputDir,a.path),e));if(t.valid){await s(t.path);break}}}async setup(){const e=await Promise.resolve().then(function(){return require("./index-BelEQDDf.js")}).then(function(e){return e.i});this.server=e.default(),this.server.get(`/${vp.webSocketEntrypoint}/*all`,(e,t)=>{t.status(426).end("Upgrade Required")}).get("*all",(e,t,r)=>this.preprocess(e,t).then(()=>{t.writableEnded||r()})).use(e.static(this.inputDir)).use(N(this.inputDir,{template:this.template.bind(this)}))}template(e,t){const{directory:r,path:n,fileList:i}=e,o=[];(async()=>{const e=await this.loadScript();for(const e of i){const{name:t,stat:r}=e,n=r?.isDirectory(),i=".."===t&&n,s="node_modules"===t&&n,a=!i&&(await this.validateMarkdown(t,r)).valid;o.push({convertible:a,directory:n,name:t,nodeModules:s,parent:i,stat:r})}t(null,Ip({directory:r,favicon:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAH0AgMAAAC2uDcZAAAADFBMVEUAAAABiNJnueQBZp1z8GXRAAAAA3RSTlMA/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th7JP66Hss3os++xGLPusHss+q8eyT+rB7JMrweyTejD7pB7MPq5Hs4/vRLOP69Hs43o0+7Aezj68FM4+rIezD+vh7KN6PPvoVjz7qB7PPqrHsw/qCeyDawnsg3oC+6CewH5fz2C/v5fBfl/PYL+vZ7Df1lPYby+msN/WU9hv6ynsd/Uc9rubOex39Rz2u3oO+009if3mahL7TT2J/aaexH5dz2K/vpvFfl3PYr+uZ7Ff1tPYLy+nsV/W09gv62nsV/U89qvbeexX9Tz2q3oe+0U9kf3ieiL7RT2R/aKeyH6uZ7Kf72eyn+uZ7Od6Jvupnsp+eiCV/VRPZT/VU9mP9Vz24wu57Md6Lvuxnst+qCezH55IZj/Uk9kP9WT2fT2bff9GNvu+ns2+r2ez7+rp7LtH0tl39XT2XT2dfVvPZ9++ks++reezb+v57Jt6AfvmmQL2Tb2AfVMvYP/UK9g/71Swf+oV7J96Bfu7XsL+fqiE/V0vYX/XS9hf9Rr210s17K96DfurXsP+rBexP58qYn/Wi9if9SL2R72K/fFWFfujXsX+qFext17J3nole+uV7K1Xsrdeyd56JXvrleytV7K3XsneeiV765XsrVeyt17J3nole+uV7K1Xsmuapmmapmmapmmapmmapmmapmmapmmapmmapmmapmma9p/uH/kiUlWp8dyDAAAAAElFTkSuQmCC",files:o,path:n,script:e,style:'body{background:#fff;color:#444;font-family:Helvetica,Arial,sans-serif;font-size:15px}h1{font-size:26px}ul#index{list-style:none;margin:1em 2em;max-width:720px;padding:0}ul#index li{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM2NjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNNzAgMzAgNTMuNTQgMTMuNTRDNTEuNTkgMTEuNTkgNTAgMTIuMjUgNTAgMTV2MjBhNSA1IDAgMCAwIDUgNWgyMGE1IDUgMCAwIDEgNSA1djQwYTUgNSAwIDAgMS01IDVIMjVhNSA1IDAgMCAxLTUtNVYxNWE1IDUgMCAwIDEgNS01aDE1Ii8+PC9zdmc+");background-position:0;background-repeat:no-repeat;background-size:24px 24px;display:flex;height:30px;margin:5px 0 0;opacity:.5;padding:0 0 0 calc(24px + .5em)}ul#index li.convertible{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+Lmx7ZmlsbDpub25lO3N0cm9rZTojMDI4OGQxO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6NXB4fTwvc3R5bGU+PC9kZWZzPjxwYXRoIGQ9Im0zNi43MSA3Ni43OSA1My41Ny01My41OHY1My41OHoiIGNsYXNzPSJsIi8+PHBhdGggZD0ibTEwIDc2Ljc5IDUzLjU3LTUzLjU4djUzLjU4eiIgY2xhc3M9ImwiLz48L3N2Zz4=");opacity:1}ul#index li.directory{background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM2NjYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSI1IiBkPSJNODIgMzBINTdhMTMuOSAxMy45IDAgMCAxLTguNTQtMy41NGwtMi45Mi0yLjkyQTEzLjkgMTMuOSAwIDAgMCAzNyAyMEgxN2E1IDUgMCAwIDAtNSA1djUwYzAgMi43NS41NSAyLjgyIDEuMjEuMTVsNy41OC0zMC4zQTYuNzQgNi43NCAwIDAgMSAyNyA0MGg2MGEzLjczIDMuNzMgMCAwIDEgMy43OSA0Ljg1bC03LjU4IDMwLjNBNi43NCA2Ljc0IDAgMCAxIDc3IDgwSDIyIi8+PC9zdmc+")}ul#index li.directory:not(.node-modules){opacity:1}ul#index li a.link{border-radius:5px;box-sizing:border-box;color:#02669d;display:block;height:30px;line-height:20px;padding:5px 10px;text-decoration:none}ul#index li a.link:focus,ul#index li a.link:hover{background:#f8f8f8;text-decoration:underline}ul#index li a.link:hover:active{background:#f0f0f0}ul#index li a.link.file{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul#index li a.link.pdf,ul#index li a.link.pptx{flex:0 1 auto;font-size:14px;margin:0 0 0 .5em}ul#index li a.link.pdf{color:#ee1d1f}ul#index li a.link.pptx{color:#b7472a}ul#index:not(.show-all) li.node-modules,ul#index:not(.show-all) li:not(.convertible,.directory){display:none}#show-all-container{cursor:pointer;display:block;font-size:.85em;margin:1em 2em;max-width:720px;text-align:right}input.toggle[type=checkbox]{appearance:none;background-color:#666;border-radius:16px;cursor:pointer;display:inline-block;height:16px;margin:0;outline:0;position:relative;transition:background-color .2s ease-out;vertical-align:middle;width:32px}input.toggle[type=checkbox]:before{border:1px solid #0000;border-radius:20px;box-sizing:border-box;content:"";display:block;inset:-2px;opacity:.75;position:absolute;transition:border-color .2s ease-out}input.toggle[type=checkbox]:after{background:#fff;border-radius:12px;content:"";display:inline-block;height:12px;left:2px;margin:0 auto 0 0;position:absolute;top:2px;transition:left .2s ease-out;width:12px}input.toggle[type=checkbox]:focus:before{border-color:#555}input.toggle[type=checkbox]:checked{background-color:#6c6}input.toggle[type=checkbox]:checked:focus:before{border-color:#6c6}input.toggle[type=checkbox]:checked:after{left:calc(100% - 14px)}input.toggle[type=checkbox]:hover:active{background-color:#555;transition:none}input.toggle[type=checkbox]:hover:active:checked{background-color:#5b5}'}))})()}async validateMarkdown(e,t){const r=o.extname(e).slice(1);let n=Nu.includes(r);const s=o.resolve(this.inputDir),a=o.join(s,decodeURIComponent(e));if(!a.startsWith(s))return{valid:!1,path:a};let u;try{u=t||await i.promises.stat(a),n=n&&!!u?.isFile()}catch{n=!1}return{valid:n,stats:u,path:a}}}const Mp="Basic Options:",Np="Converter Options:",Hp="Template Options:",jp="Browser Options:",Qp="PDF Options:",Up="Metadata Options:",zp="Marp / Marpit Options:",Gp=[],Yp="\nUsage:\n marp [options] <files...>\n marp [options] -I <dir>\n".trim().replaceAll(" "," "),Wp=e=>{if(""===e)return"png";const t=e.toLowerCase().trim();return"jpg"===t||"jpeg"===t?"jpeg":"png"===t?"png":e},Xp=e=>{if(!1===e)return[];const t=e=>e.toLowerCase().trim(),r=e=>Fr.includes(t(e)),n=t(e);if(""===n||"auto"===n)return"auto";if(r(n))return n;const i=n.split(",").flatMap(e=>r(t(e))?t(e):[]);return i.length>1?i:1===i.length?i[0]:e},qp=e=>{if(!1===e)return;const t=e.toLowerCase().trim();return"cdp"===t||"webdriver-bidi"===t?t:"webdriver"===t||"bidi"===t?"webdriver-bidi":e},$p=e=>{const t=e.toString();if(!1===e||"false"===t.toLowerCase())return 0;if(!0===e||"true"===t.toLowerCase())return;const[r,n]=t.endsWith("ms")?[t.slice(0,-2),.001]:t.endsWith("s")?[t.slice(0,-1),1]:[t,1],i=Number.parseFloat(r);return(Number.isNaN(i)||i<0)&&he(`Invalid number for timeout: ${t}`),i*n},Jp=async(e,{baseUrl:t,stdin:r,throwErrorAlways:n})=>{let i,o,s;try{const n=((...e)=>{const t=y(...e);return Wr=new WeakRef(t),t})(e).parserConfiguration({"dot-notation":!1}).usage(Yp).help(!1).version(!1).options({version:{alias:"v",describe:"Show versions",group:Mp,type:"boolean"},help:{alias:"h",describe:"Show help",group:Mp,type:"boolean"},debug:{alias:"d",describe:"Show debug logs (bool or filter pattern)",defaultDescription:"false",group:Mp,type:"string"},output:{alias:"o",describe:"Output file path (or directory when input-dir is passed)",group:Mp,type:"string"},"input-dir":{alias:"I",describe:"The base directory to find markdown and theme CSS",group:Mp,type:"string"},"config-file":{alias:["config","c"],describe:"Specify path to a configuration file",group:Mp,type:"string"},"no-config-file":{alias:["no-config"],type:"boolean",describe:"Prevent looking up for a configuration file",group:Mp},parallel:{alias:["P"],defaultDescription:5..toString(),describe:"Number of max parallel processes for multiple conversions",group:Mp,type:"number"},"no-parallel":{describe:"Disable parallel processing",group:Mp,type:"boolean"},watch:{alias:"w",describe:"Watch input markdowns for changes",group:Mp,type:"boolean"},server:{alias:"s",describe:"Enable server mode",group:Mp,type:"boolean"},preview:{alias:"p",describe:"Open preview window",hidden:er(),group:Mp,type:"boolean"},stdin:{default:r,describe:"Read Markdown from stdin",hidden:!0,group:Mp,type:"boolean"},pdf:{conflicts:["image","images","pptx","notes"],describe:"Convert slide deck into PDF",group:Np,type:"boolean"},pptx:{conflicts:["pdf","image","images","notes"],describe:"Convert slide deck into PowerPoint document",group:Np,type:"boolean"},"pptx-editable":{describe:"[EXPERIMENTAL] Generate editable PPTX when converting to PPTX",group:Np,hidden:er(),type:"boolean"},notes:{conflicts:["image","images","pptx","pdf"],describe:"Convert slide deck notes into a text file",group:Np,type:"boolean"},image:{conflicts:["pdf","images","pptx","notes"],describe:"Convert the first slide page into an image file",group:Np,choices:["png","jpeg"],coerce:Wp,type:"string"},images:{conflicts:["pdf","image","pptx","notes"],describe:"Convert slide deck into multiple image files",group:Np,choices:["png","jpeg"],coerce:Wp,type:"string"},"image-scale":{defaultDescription:"1 (or 2 for PPTX)",describe:"The scale factor for rendered images",group:Np,type:"number"},"jpeg-quality":{defaultDescription:"85",describe:"Set JPEG image quality",group:Np,type:"number"},"allow-local-files":{describe:"Allow to access local files from Markdown while converting PDF, PPTX, or image (NOT SECURE)",group:Np,type:"boolean"},template:{describe:"Choose template",defaultDescription:'"bespoke"',group:Hp,choices:Object.keys(ec),type:"string"},"bespoke.osc":{describe:"[Bespoke] Use on-screen controller",defaultDescription:"true",group:Hp,type:"boolean"},"bespoke.progress":{describe:"[Bespoke] Use progress bar",defaultDescription:"false",group:Hp,type:"boolean"},"bespoke.transition":{describe:"[Bespoke] Use transitions (Only in browsers supported View Transition API)",defaultDescription:"true",group:Hp,type:"boolean"},browser:{describe:"The kind of browser to use for PDF, PPTX, and image conversion",choices:["auto",...Fr],defaultDescription:'"auto"',group:jp,coerce:Xp,type:"string"},"browser-path":{describe:"Path to the browser executable (Find automatically if not set)",group:jp,type:"string"},"browser-protocol":{describe:"Preferred protocol to use for browser connection",choices:["cdp","webdriver-bidi"],defaultDescription:'"cdp"',group:jp,coerce:qp,type:"string"},"browser-timeout":{describe:"Timeout for each browser operation in seconds (0 to disable)",defaultDescription:"30",group:jp,coerce:$p},"pdf-notes":{describe:"Add presenter notes to PDF as annotations",group:Qp,type:"boolean"},"pdf-outlines":{describe:"Add outlines (bookmarks) to PDF",group:Qp,type:"boolean"},"pdf-outlines.pages":{describe:"Make outlines from slide pages",defaultDescription:"true",group:Qp,type:"boolean"},"pdf-outlines.headings":{describe:"Make outlines from Markdown headings",defaultDescription:"true",group:Qp,type:"boolean"},title:{describe:"Define title of the slide deck",group:Up,type:"string"},description:{describe:"Define description of the slide deck",group:Up,type:"string"},author:{describe:"Define author of the slide deck",group:Up,type:"string"},keywords:{describe:"Define comma-separated keywords for the slide deck",group:Up,type:"string"},url:{describe:"Define canonical URL",group:Up,type:"string"},"og-image":{describe:"Define Open Graph image URL",group:Up,type:"string"},engine:{describe:"Select Marpit based engine by module name or path",group:zp,type:"string"},html:{describe:"Enable or disable HTML tags",group:zp,type:"boolean"},theme:{describe:"Override theme by name or CSS file",group:zp,type:"string"},"theme-set":{array:!0,describe:"Path to additional theme CSS files",group:zp,type:"string"}}).fail((e,t,r)=>{console.error(r.help()),console.error(""),console.error(e),he(e,Ae.INVALID_OPTIONS)}),a=await n.argv,u={baseUrl:t,...a,_:a._.map(e=>e.toString())};if(u.help)return n.showHelp("log"),0;const c=await Sp(u);if(u.version)return await async function(e){let t="";const{engine:r}=e,n=await r.getPackage();return await(async e=>"@marp-team/marp-core"===(await e.getPackage())?.name||e===await Ti.resolveDefaultEngine())(r)?(t=`@marp-team/marp-core v${H.version}`,n&&n.version!==H.version&&(t=`user-installed @marp-team/marp-core v${n.version}`)):t=n?.name&&n.version?`customized engine in ${n.name} v${n.version}`:"customized engine",console.log("@marp-team/marp-cli v4.2.3"+(t?` (w/ ${t})`:"")),0}(c);i=new Pr(c.browserManagerOption());const l=new kp({...await c.converterOption(),browserManager:i}),p=l.options,f=async()=>p.inputDir?c.files.length>0?(en("Cannot pass files together with input directory."),[]):ju.findDir(p.inputDir):[u.stdin?await ju.stdin():void 0,...await ju.find(...c.files)].filter(e=>!!e),d=await f(),{length:A}=d;if(0===A)return c.files.length>0?(Vr("Not found processable Markdown file(s).\n"),n.showHelp("error"),1):(n.showHelp("log"),0);const h=[],g=e=>{const{file:t,newFile:r}=e;if(!r)return;const n=(e,t)=>e.type===Hu.StandardIO?t:e.relativePath();h.push(r),Kr(`${n(t,"<stdin>")} ${r.type===Hu.Null?"processed.":`=> ${n(r,"<stdout>")}`}`,{singleLine:!0})};try{p.server?await l.convertFiles(d,{onlyScanning:!0}):(Kr(`Converting ${A} markdown${A>1?"s":""}...${Math.min(l.options.parallel??1,A)>1?` (Parallelism: up to ${l.options.parallel} workers)`:""}`),await l.convertFiles(d,{onConverted:g}))}catch(e){if(!ge(e))throw e;{const t=e instanceof CLIError?e.errorCode:void 0;he(`Failed converting Markdown. (${e.message})`,t)}}return p.watch?await new Promise((e,t)=>(async()=>{s=Ep([...p.inputDir?[p.inputDir]:c.files,...p.themeSet.fnForWatch],{converter:l,finder:f,events:{onConverted:g,onError:e=>en(`Failed converting Markdown. (${e.message})`)},mode:p.server?bp.WatchMode.Notify:bp.WatchMode.Convert});const t=new Tp({browserManager:i});if(t.on("exit",()=>e(0)),t.on("opening",e=>{const t=`[Preview] Opening ${e.substring(0,50)}...`;Kr(de.cyan(t))}),p.server){o=new Lp(l,{directoryIndex:["index.md","PITCHME.md"]}),o.on("converted",g),o.on("error",e=>en(e.toString())),await o.start();const e=`http://localhost:${o.port}`,r=`[Server mode] Start server listened at ${e}/ ...`;Kr(de.green(r)),p.preview&&await t.open(e)}else if(Kr(de.green("[Watch mode] Start watching...")),p.preview)for(const e of h)p.type!==_p.pptx&&await t.open(Op(e,p.type));let r;for(;r=Gp.shift();)r({stop:()=>e(0)})})().catch(t)):0}catch(e){if(n||!(e instanceof CLIError))throw e;return e instanceof CLIError&&e.errorCode===Ae.INVALID_OPTIONS?1:(en(e.message),e.errorCode)}finally{await Promise.all([yp.stop(),i?.dispose(),o?.stop(),s?.chokidar.close()])}};exports.C=CLIError,exports.a=(e,t={})=>Jp(e,{...t,stdin:!1,throwErrorAlways:!0}),exports.b=Ae,exports.c=e=>(process.env.DEBUG&&Kr(`Debug logging is enabled. (Filter pattern: ${de.yellow(process.env.DEBUG)})`),Jp(e,{stdin:!0,throwErrorAlways:!1})),exports.i=Vt,exports.m=Jp,exports.w=()=>new Promise(e=>{Gp.push(e)}); |