/* Socket Lib - Built with esbuild */
var R=Object.create;var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var C=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty;var O=(n,e)=>{for(var o in e)i(n,o,{get:e[o],enumerable:!0})},c=(n,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of x(e))!T.call(n,r)&&r!==o&&i(n,r,{get:()=>e[r],enumerable:!(s=v(e,r))||s.enumerable});return n};var Y=(n,e,o)=>(o=n!=null?R(C(n)):{},c(e||!n||!n.__esModule?i(o,"default",{value:n,enumerable:!0}):o,n)),V=n=>c(i({},"__esModule",{value:!0}),n);var W={};O(W,{commonParseArgsConfig:()=>$,getPositionalArgs:()=>q,hasFlag:()=>N,parseArgs:()=>b,parseArgsWithDefaults:()=>_});module.exports=V(W);var p=Y(require("../external/yargs-parser"));function b(n={}){const{allowNegative:e=!1,allowPositionals:o=!0,args:s=process.argv.slice(2),configuration:r,options:w={},strict:h=!0}=n,t={boolean:[],string:[],array:[],alias:{},default:{},coerce:{},"unknown-options-as-args":!h,"parse-numbers":!1,"parse-positional-numbers":!1,"boolean-negation":!e,"halt-at-non-option":!o,configuration:{"camel-case-expansion":!0,"dot-notation":!1,"duplicate-arguments-array":!0,"flatten-duplicate-arrays":!0,"populate--":!0,"short-option-groups":!0,"strip-aliased":!1,"strip-dashed":!1,...r}};for(const{0:a,1:P}of Object.entries(w)){const{coerce:l,default:g,multiple:y,short:d,type:f}=P;f==="boolean"?t.boolean?.push(a):f==="string"&&t.string?.push(a),y&&t.array?.push(a),d&&(t.alias[d]=a),g!==void 0&&(t.default[a]=g),l&&(t.coerce[a]=l)}const u=(0,p.default)(s,t),k=u._||[],{_:j,...m}=u,A=k.map(String);return{values:m,positionals:A,raw:u}}function _(n={}){return b({strict:!1,allowPositionals:!0,...n})}const $={options:{force:{type:"boolean",short:"f",default:!1},quiet:{type:"boolean",short:"q",default:!1}},strict:!1};function q(n=2){const e=process.argv.slice(n),o=[];let s=0;for(;s<e.length;){const r=e[s];if(r.startsWith("-"))break;o.push(r),s++}return o}function N(n,e=process.argv){return[`--${n}`,`-${n.charAt(0)}`].some(s=>e.includes(s))}0&&(module.exports={commonParseArgsConfig,getPositionalArgs,hasFlag,parseArgs,parseArgsWithDefaults});
//# sourceMappingURL=parse.js.map
