@duckdb/duckdb-wasm 1.17.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/duckdb-browser-blocking.cjs +11 -11
- package/dist/duckdb-browser-blocking.cjs.map +3 -3
- package/dist/duckdb-browser-blocking.mjs +11 -11
- package/dist/duckdb-browser-blocking.mjs.map +3 -3
- package/dist/duckdb-browser-coi.pthread.worker.js +10 -10
- package/dist/duckdb-browser-coi.pthread.worker.js.map +3 -3
- package/dist/duckdb-browser-coi.worker.js +10 -10
- package/dist/duckdb-browser-coi.worker.js.map +3 -3
- package/dist/duckdb-browser-eh.worker.js +8 -8
- package/dist/duckdb-browser-eh.worker.js.map +3 -3
- package/dist/duckdb-browser-mvp.worker.js +8 -8
- package/dist/duckdb-browser-mvp.worker.js.map +3 -3
- package/dist/duckdb-browser.cjs +1 -1
- package/dist/duckdb-browser.cjs.map +4 -4
- package/dist/duckdb-browser.mjs +1 -1
- package/dist/duckdb-browser.mjs.map +4 -4
- package/dist/duckdb-coi.wasm +0 -0
- package/dist/duckdb-eh.wasm +0 -0
- package/dist/duckdb-mvp.wasm +0 -0
- package/dist/duckdb-node-blocking.cjs +4 -4
- package/dist/duckdb-node-blocking.cjs.map +4 -4
- package/dist/duckdb-node-eh.worker.cjs +4 -4
- package/dist/duckdb-node-eh.worker.cjs.map +4 -4
- package/dist/duckdb-node-mvp.worker.cjs +3 -3
- package/dist/duckdb-node-mvp.worker.cjs.map +4 -4
- package/dist/duckdb-node.cjs +1 -1
- package/dist/duckdb-node.cjs.map +4 -4
- package/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/tests-browser.js +1769 -1515
- package/dist/tests-browser.js.map +3 -3
- package/dist/tests-node.cjs +1796 -1524
- package/dist/tests-node.cjs.map +4 -4
- package/dist/types/src/bindings/bindings_base.d.ts +4 -4
- package/dist/types/src/bindings/bindings_interface.d.ts +3 -3
- package/dist/types/src/bindings/runtime.d.ts +6 -4
- package/dist/types/src/bindings/runtime_node.d.ts +1 -0
- package/dist/types/src/bindings/web_file.d.ts +2 -6
- package/dist/types/src/parallel/async_bindings.d.ts +3 -2
- package/dist/types/src/parallel/async_bindings_interface.d.ts +3 -2
- package/dist/types/src/parallel/worker_request.d.ts +3 -2
- package/dist/types/src/targets/duckdb-browser-blocking.d.ts +1 -0
- package/dist/types/src/targets/duckdb-node-blocking.d.ts +1 -0
- package/dist/types/src/targets/duckdb.d.ts +1 -1
- package/package.json +17 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";var wg=Object.create;var ki=Object.defineProperty;var kg=Object.getOwnPropertyDescriptor;var Cg=Object.getOwnPropertyNames;var Sg=Object.getPrototypeOf,Eg=Object.prototype.hasOwnProperty;var Y=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),Ag=(r,t)=>{for(var e in t)ki(r,e,{get:t[e],enumerable:!0})},Df=(r,t,e,u)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of Cg(t))!Eg.call(r,d)&&d!==e&&ki(r,d,{get:()=>t[d],enumerable:!(u=kg(t,d))||u.enumerable});return r};var _r=(r,t,e)=>(e=r!=null?wg(Sg(r)):{},Df(t||!r||!r.__esModule?ki(e,"default",{value:r,enumerable:!0}):e,r)),Rg=r=>Df(ki({},"__esModule",{value:!0}),r);var $f=Y((lk,Wf)=>{"use strict";var Ng=async r=>{try{return(await WebAssembly.instantiate(r)).instance.exports.b(BigInt(0))===BigInt(0)}catch{return!1}},Mg=async r=>{try{return typeof MessageChannel<"u"&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(r)}catch{return!1}},Ig={bigInt:()=>Ng(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,126,1,126,3,2,1,0,7,5,1,1,98,0,0,10,6,1,4,0,32,0,11])),bulkMemory:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),exceptions:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),multiValue:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,0,2,127,127,3,2,1,0,10,8,1,6,0,65,0,65,0,11])),mutableGlobals:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,2,8,1,1,97,1,98,3,127,1,6,6,1,127,1,65,0,11,7,5,1,1,97,3,1])),referenceTypes:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,7,1,5,0,208,112,26,11])),saturatedFloatToInt:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,12,1,10,0,67,0,0,0,0,252,0,26,11])),signExtensions:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,65,0,192,26,11])),simd:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),tailCall:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,6,1,4,0,18,0,11])),threads:()=>Mg(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]))};Wf.exports=Ig});var Kf=Y(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.splitWhen=pr.flatten=void 0;function Kg(r){return r.reduce((t,e)=>[].concat(t,e),[])}pr.flatten=Kg;function Vg(r,t){let e=[[]],u=0;for(let d of r)t(d)?(u++,e[u]=[]):e[u].push(d);return e}pr.splitWhen=Vg});var Vf=Y(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.isEnoentCodeError=void 0;function Yg(r){return r.code==="ENOENT"}Di.isEnoentCodeError=Yg});var Yf=Y(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.createDirentFromStats=void 0;var ys=class{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}};function Qg(r,t){return new ys(r,t)}Pi.createDirentFromStats=Qg});var Qf=Y(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.removeLeadingDotSegment=yt.escape=yt.makeAbsolute=yt.unixify=void 0;var zg=require("path"),Xg=2,Jg=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function Zg(r){return r.replace(/\\/g,"/")}yt.unixify=Zg;function eb(r,t){return zg.resolve(r,t)}yt.makeAbsolute=eb;function tb(r){return r.replace(Jg,"\\$2")}yt.escape=tb;function rb(r){if(r.charAt(0)==="."){let t=r.charAt(1);if(t==="/"||t==="\\")return r.slice(Xg)}return r}yt.removeLeadingDotSegment=rb});var Xf=Y((gk,zf)=>{zf.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var e;e=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(e[2])return!0;t=t.slice(e.index+e[0].length)}return!1}});var e_=Y((bk,Zf)=>{var ib=Xf(),Jf={"{":"}","(":")","[":"]"},nb=function(r){if(r[0]==="!")return!0;for(var t=0,e=-2,u=-2,d=-2,y=-2,v=-2;t<r.length;){if(r[t]==="*"||r[t+1]==="?"&&/[\].+)]/.test(r[t])||u!==-1&&r[t]==="["&&r[t+1]!=="]"&&(u<t&&(u=r.indexOf("]",t)),u>t&&(v===-1||v>u||(v=r.indexOf("\\",t),v===-1||v>u)))||d!==-1&&r[t]==="{"&&r[t+1]!=="}"&&(d=r.indexOf("}",t),d>t&&(v=r.indexOf("\\",t),v===-1||v>d))||y!==-1&&r[t]==="("&&r[t+1]==="?"&&/[:!=]/.test(r[t+2])&&r[t+3]!==")"&&(y=r.indexOf(")",t),y>t&&(v=r.indexOf("\\",t),v===-1||v>y))||e!==-1&&r[t]==="("&&r[t+1]!=="|"&&(e<t&&(e=r.indexOf("|",t)),e!==-1&&r[e+1]!==")"&&(y=r.indexOf(")",e),y>e&&(v=r.indexOf("\\",e),v===-1||v>y))))return!0;if(r[t]==="\\"){var S=r[t+1];t+=2;var A=Jf[S];if(A){var I=r.indexOf(A,t);I!==-1&&(t=I+1)}if(r[t]==="!")return!0}else t++}return!1},ab=function(r){if(r[0]==="!")return!0;for(var t=0;t<r.length;){if(/[*?{}()[\]]/.test(r[t]))return!0;if(r[t]==="\\"){var e=r[t+1];t+=2;var u=Jf[e];if(u){var d=r.indexOf(u,t);d!==-1&&(t=d+1)}if(r[t]==="!")return!0}else t++}return!1};Zf.exports=function(t,e){if(typeof t!="string"||t==="")return!1;if(ib(t))return!0;var u=nb;return e&&e.strict===!1&&(u=ab),u(t)}});var r_=Y((jk,t_)=>{"use strict";var sb=e_(),ob=require("path").posix.dirname,ub=require("os").platform()==="win32",hs="/",lb=/\\/g,cb=/[\{\[].*[\}\]]$/,fb=/(^|[^\\])([\{\[]|\([^\)]+$)/,_b=/\\([\!\*\?\|\[\]\(\)\{\}])/g;t_.exports=function(t,e){var u=Object.assign({flipBackslashes:!0},e);u.flipBackslashes&&ub&&t.indexOf(hs)<0&&(t=t.replace(lb,hs)),cb.test(t)&&(t+=hs),t+="a";do t=ob(t);while(sb(t)||fb.test(t));return t.replace(_b,"$1")}});var xi=Y(lt=>{"use strict";lt.isInteger=r=>typeof r=="number"?Number.isInteger(r):typeof r=="string"&&r.trim()!==""?Number.isInteger(Number(r)):!1;lt.find=(r,t)=>r.nodes.find(e=>e.type===t);lt.exceedsLimit=(r,t,e=1,u)=>u===!1||!lt.isInteger(r)||!lt.isInteger(t)?!1:(Number(t)-Number(r))/Number(e)>=u;lt.escapeNode=(r,t=0,e)=>{let u=r.nodes[t];!u||(e&&u.type===e||u.type==="open"||u.type==="close")&&u.escaped!==!0&&(u.value="\\"+u.value,u.escaped=!0)};lt.encloseBrace=r=>r.type!=="brace"?!1:r.commas>>0+r.ranges>>0===0?(r.invalid=!0,!0):!1;lt.isInvalidBrace=r=>r.type!=="brace"?!1:r.invalid===!0||r.dollar?!0:r.commas>>0+r.ranges>>0===0||r.open!==!0||r.close!==!0?(r.invalid=!0,!0):!1;lt.isOpenOrClose=r=>r.type==="open"||r.type==="close"?!0:r.open===!0||r.close===!0;lt.reduce=r=>r.reduce((t,e)=>(e.type==="text"&&t.push(e.value),e.type==="range"&&(e.type="text"),t),[]);lt.flatten=(...r)=>{let t=[],e=u=>{for(let d=0;d<u.length;d++){let y=u[d];Array.isArray(y)?e(y,t):y!==void 0&&t.push(y)}return t};return e(r),t}});var Oi=Y((kk,n_)=>{"use strict";var i_=xi();n_.exports=(r,t={})=>{let e=(u,d={})=>{let y=t.escapeInvalid&&i_.isInvalidBrace(d),v=u.invalid===!0&&t.escapeInvalid===!0,S="";if(u.value)return(y||v)&&i_.isOpenOrClose(u)?"\\"+u.value:u.value;if(u.value)return u.value;if(u.nodes)for(let A of u.nodes)S+=e(A);return S};return e(r)}});var s_=Y((Ck,a_)=>{"use strict";a_.exports=function(r){return typeof r=="number"?r-r===0:typeof r=="string"&&r.trim()!==""?Number.isFinite?Number.isFinite(+r):isFinite(+r):!1}});var y_=Y((Sk,p_)=>{"use strict";var o_=s_(),$t=(r,t,e)=>{if(o_(r)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||r===t)return String(r);if(o_(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let u={relaxZeros:!0,...e};typeof u.strictZeros=="boolean"&&(u.relaxZeros=u.strictZeros===!1);let d=String(u.relaxZeros),y=String(u.shorthand),v=String(u.capture),S=String(u.wrap),A=r+":"+t+"="+d+y+v+S;if($t.cache.hasOwnProperty(A))return $t.cache[A].result;let I=Math.min(r,t),R=Math.max(r,t);if(Math.abs(I-R)===1){let z=r+"|"+t;return u.capture?`(${z})`:u.wrap===!1?z:`(?:${z})`}let U=d_(r)||d_(t),P={min:r,max:t,a:I,b:R},fe=[],K=[];if(U&&(P.isPadded=U,P.maxLen=String(P.max).length),I<0){let z=R<0?Math.abs(R):1;K=u_(z,Math.abs(I),P,u),I=P.a=0}return R>=0&&(fe=u_(I,R,P,u)),P.negatives=K,P.positives=fe,P.result=db(K,fe,u),u.capture===!0?P.result=`(${P.result})`:u.wrap!==!1&&fe.length+K.length>1&&(P.result=`(?:${P.result})`),$t.cache[A]=P,P.result};function db(r,t,e){let u=ms(r,t,"-",!1,e)||[],d=ms(t,r,"",!1,e)||[],y=ms(r,t,"-?",!0,e)||[];return u.concat(y).concat(d).join("|")}function pb(r,t){let e=1,u=1,d=c_(r,e),y=new Set([t]);for(;r<=d&&d<=t;)y.add(d),e+=1,d=c_(r,e);for(d=f_(t+1,u)-1;r<d&&d<=t;)y.add(d),u+=1,d=f_(t+1,u)-1;return y=[...y],y.sort(mb),y}function yb(r,t,e){if(r===t)return{pattern:r,count:[],digits:0};let u=hb(r,t),d=u.length,y="",v=0;for(let S=0;S<d;S++){let[A,I]=u[S];A===I?y+=A:A!=="0"||I!=="9"?y+=vb(A,I,e):v++}return v&&(y+=e.shorthand===!0?"\\d":"[0-9]"),{pattern:y,count:[v],digits:d}}function u_(r,t,e,u){let d=pb(r,t),y=[],v=r,S;for(let A=0;A<d.length;A++){let I=d[A],R=yb(String(v),String(I),u),U="";if(!e.isPadded&&S&&S.pattern===R.pattern){S.count.length>1&&S.count.pop(),S.count.push(R.count[0]),S.string=S.pattern+__(S.count),v=I+1;continue}e.isPadded&&(U=gb(I,e,u)),R.string=U+R.pattern+__(R.count),y.push(R),v=I+1,S=R}return y}function ms(r,t,e,u,d){let y=[];for(let v of r){let{string:S}=v;!u&&!l_(t,"string",S)&&y.push(e+S),u&&l_(t,"string",S)&&y.push(e+S)}return y}function hb(r,t){let e=[];for(let u=0;u<r.length;u++)e.push([r[u],t[u]]);return e}function mb(r,t){return r>t?1:t>r?-1:0}function l_(r,t,e){return r.some(u=>u[t]===e)}function c_(r,t){return Number(String(r).slice(0,-t)+"9".repeat(t))}function f_(r,t){return r-r%Math.pow(10,t)}function __(r){let[t=0,e=""]=r;return e||t>1?`{${t+(e?","+e:"")}}`:""}function vb(r,t,e){return`[${r}${t-r===1?"":"-"}${t}]`}function d_(r){return/^-?(0+)\d/.test(r)}function gb(r,t,e){if(!t.isPadded)return r;let u=Math.abs(t.maxLen-String(r).length),d=e.relaxZeros!==!1;switch(u){case 0:return"";case 1:return d?"0?":"0";case 2:return d?"0{0,2}":"00";default:return d?`0{0,${u}}`:`0{${u}}`}}$t.cache={};$t.clearCache=()=>$t.cache={};p_.exports=$t});var bs=Y((Ek,k_)=>{"use strict";var bb=require("util"),v_=y_(),h_=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),jb=r=>t=>r===!0?Number(t):String(t),vs=r=>typeof r=="number"||typeof r=="string"&&r!=="",$r=r=>Number.isInteger(+r),gs=r=>{let t=`${r}`,e=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++e]==="0";);return e>0},wb=(r,t,e)=>typeof r=="string"||typeof t=="string"?!0:e.stringify===!0,kb=(r,t,e)=>{if(t>0){let u=r[0]==="-"?"-":"";u&&(r=r.slice(1)),r=u+r.padStart(u?t-1:t,"0")}return e===!1?String(r):r},m_=(r,t)=>{let e=r[0]==="-"?"-":"";for(e&&(r=r.slice(1),t--);r.length<t;)r="0"+r;return e?"-"+r:r},Cb=(r,t)=>{r.negatives.sort((v,S)=>v<S?-1:v>S?1:0),r.positives.sort((v,S)=>v<S?-1:v>S?1:0);let e=t.capture?"":"?:",u="",d="",y;return r.positives.length&&(u=r.positives.join("|")),r.negatives.length&&(d=`-(${e}${r.negatives.join("|")})`),u&&d?y=`${u}|${d}`:y=u||d,t.wrap?`(${e}${y})`:y},g_=(r,t,e,u)=>{if(e)return v_(r,t,{wrap:!1,...u});let d=String.fromCharCode(r);if(r===t)return d;let y=String.fromCharCode(t);return`[${d}-${y}]`},b_=(r,t,e)=>{if(Array.isArray(r)){let u=e.wrap===!0,d=e.capture?"":"?:";return u?`(${d}${r.join("|")})`:r.join("|")}return v_(r,t,e)},j_=(...r)=>new RangeError("Invalid range arguments: "+bb.inspect(...r)),w_=(r,t,e)=>{if(e.strictRanges===!0)throw j_([r,t]);return[]},Sb=(r,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${r}" to be a number`);return[]},Eb=(r,t,e=1,u={})=>{let d=Number(r),y=Number(t);if(!Number.isInteger(d)||!Number.isInteger(y)){if(u.strictRanges===!0)throw j_([r,t]);return[]}d===0&&(d=0),y===0&&(y=0);let v=d>y,S=String(r),A=String(t),I=String(e);e=Math.max(Math.abs(e),1);let R=gs(S)||gs(A)||gs(I),U=R?Math.max(S.length,A.length,I.length):0,P=R===!1&&wb(r,t,u)===!1,fe=u.transform||jb(P);if(u.toRegex&&e===1)return g_(m_(r,U),m_(t,U),!0,u);let K={negatives:[],positives:[]},z=be=>K[be<0?"negatives":"positives"].push(Math.abs(be)),Z=[],oe=0;for(;v?d>=y:d<=y;)u.toRegex===!0&&e>1?z(d):Z.push(kb(fe(d,oe),U,P)),d=v?d-e:d+e,oe++;return u.toRegex===!0?e>1?Cb(K,u):b_(Z,null,{wrap:!1,...u}):Z},Ab=(r,t,e=1,u={})=>{if(!$r(r)&&r.length>1||!$r(t)&&t.length>1)return w_(r,t,u);let d=u.transform||(P=>String.fromCharCode(P)),y=`${r}`.charCodeAt(0),v=`${t}`.charCodeAt(0),S=y>v,A=Math.min(y,v),I=Math.max(y,v);if(u.toRegex&&e===1)return g_(A,I,!1,u);let R=[],U=0;for(;S?y>=v:y<=v;)R.push(d(y,U)),y=S?y-e:y+e,U++;return u.toRegex===!0?b_(R,null,{wrap:!1,options:u}):R},Fi=(r,t,e,u={})=>{if(t==null&&vs(r))return[r];if(!vs(r)||!vs(t))return w_(r,t,u);if(typeof e=="function")return Fi(r,t,1,{transform:e});if(h_(e))return Fi(r,t,0,e);let d={...u};return d.capture===!0&&(d.wrap=!0),e=e||d.step||1,$r(e)?$r(r)&&$r(t)?Eb(r,t,e,d):Ab(r,t,Math.max(Math.abs(e),1),d):e!=null&&!h_(e)?Sb(e,d):Fi(r,t,1,e)};k_.exports=Fi});var E_=Y((Ak,S_)=>{"use strict";var Rb=bs(),C_=xi(),Tb=(r,t={})=>{let e=(u,d={})=>{let y=C_.isInvalidBrace(d),v=u.invalid===!0&&t.escapeInvalid===!0,S=y===!0||v===!0,A=t.escapeInvalid===!0?"\\":"",I="";if(u.isOpen===!0||u.isClose===!0)return A+u.value;if(u.type==="open")return S?A+u.value:"(";if(u.type==="close")return S?A+u.value:")";if(u.type==="comma")return u.prev.type==="comma"?"":S?u.value:"|";if(u.value)return u.value;if(u.nodes&&u.ranges>0){let R=C_.reduce(u.nodes),U=Rb(...R,{...t,wrap:!1,toRegex:!0});if(U.length!==0)return R.length>1&&U.length>1?`(${U})`:U}if(u.nodes)for(let R of u.nodes)I+=e(R,u);return I};return e(r)};S_.exports=Tb});var T_=Y((Rk,R_)=>{"use strict";var Db=bs(),A_=Oi(),yr=xi(),Gt=(r="",t="",e=!1)=>{let u=[];if(r=[].concat(r),t=[].concat(t),!t.length)return r;if(!r.length)return e?yr.flatten(t).map(d=>`{${d}}`):t;for(let d of r)if(Array.isArray(d))for(let y of d)u.push(Gt(y,t,e));else for(let y of t)e===!0&&typeof y=="string"&&(y=`{${y}}`),u.push(Array.isArray(y)?Gt(d,y,e):d+y);return yr.flatten(u)},Pb=(r,t={})=>{let e=t.rangeLimit===void 0?1e3:t.rangeLimit,u=(d,y={})=>{d.queue=[];let v=y,S=y.queue;for(;v.type!=="brace"&&v.type!=="root"&&v.parent;)v=v.parent,S=v.queue;if(d.invalid||d.dollar){S.push(Gt(S.pop(),A_(d,t)));return}if(d.type==="brace"&&d.invalid!==!0&&d.nodes.length===2){S.push(Gt(S.pop(),["{}"]));return}if(d.nodes&&d.ranges>0){let U=yr.reduce(d.nodes);if(yr.exceedsLimit(...U,t.step,e))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let P=Db(...U,t);P.length===0&&(P=A_(d,t)),S.push(Gt(S.pop(),P)),d.nodes=[];return}let A=yr.encloseBrace(d),I=d.queue,R=d;for(;R.type!=="brace"&&R.type!=="root"&&R.parent;)R=R.parent,I=R.queue;for(let U=0;U<d.nodes.length;U++){let P=d.nodes[U];if(P.type==="comma"&&d.type==="brace"){U===1&&I.push(""),I.push("");continue}if(P.type==="close"){S.push(Gt(S.pop(),I,A));continue}if(P.value&&P.type!=="open"){I.push(Gt(I.pop(),P.value));continue}P.nodes&&u(P,d)}return I};return yr.flatten(u(r))};R_.exports=Pb});var P_=Y((Tk,D_)=>{"use strict";D_.exports={MAX_LENGTH:1024*64,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:`
|
|
2
|
-
`,CHAR_NO_BREAK_SPACE:"\xA0",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:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var M_=Y((Dk,N_)=>{"use strict";var xb=Oi(),{MAX_LENGTH:x_,CHAR_BACKSLASH:js,CHAR_BACKTICK:Ob,CHAR_COMMA:Fb,CHAR_DOT:Nb,CHAR_LEFT_PARENTHESES:Mb,CHAR_RIGHT_PARENTHESES:Ib,CHAR_LEFT_CURLY_BRACE:Bb,CHAR_RIGHT_CURLY_BRACE:Lb,CHAR_LEFT_SQUARE_BRACKET:O_,CHAR_RIGHT_SQUARE_BRACKET:F_,CHAR_DOUBLE_QUOTE:Ub,CHAR_SINGLE_QUOTE:Hb,CHAR_NO_BREAK_SPACE:qb,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Wb}=P_(),$b=(r,t={})=>{if(typeof r!="string")throw new TypeError("Expected a string");let e=t||{},u=typeof e.maxLength=="number"?Math.min(x_,e.maxLength):x_;if(r.length>u)throw new SyntaxError(`Input length (${r.length}), exceeds max characters (${u})`);let d={type:"root",input:r,nodes:[]},y=[d],v=d,S=d,A=0,I=r.length,R=0,U=0,P,fe={},K=()=>r[R++],z=Z=>{if(Z.type==="text"&&S.type==="dot"&&(S.type="text"),S&&S.type==="text"&&Z.type==="text"){S.value+=Z.value;return}return v.nodes.push(Z),Z.parent=v,Z.prev=S,S=Z,Z};for(z({type:"bos"});R<I;)if(v=y[y.length-1],P=K(),!(P===Wb||P===qb)){if(P===js){z({type:"text",value:(t.keepEscaping?P:"")+K()});continue}if(P===F_){z({type:"text",value:"\\"+P});continue}if(P===O_){A++;let Z=!0,oe;for(;R<I&&(oe=K());){if(P+=oe,oe===O_){A++;continue}if(oe===js){P+=K();continue}if(oe===F_&&(A--,A===0))break}z({type:"text",value:P});continue}if(P===Mb){v=z({type:"paren",nodes:[]}),y.push(v),z({type:"text",value:P});continue}if(P===Ib){if(v.type!=="paren"){z({type:"text",value:P});continue}v=y.pop(),z({type:"text",value:P}),v=y[y.length-1];continue}if(P===Ub||P===Hb||P===Ob){let Z=P,oe;for(t.keepQuotes!==!0&&(P="");R<I&&(oe=K());){if(oe===js){P+=oe+K();continue}if(oe===Z){t.keepQuotes===!0&&(P+=oe);break}P+=oe}z({type:"text",value:P});continue}if(P===Bb){U++;let Z=S.value&&S.value.slice(-1)==="$"||v.dollar===!0;v=z({type:"brace",open:!0,close:!1,dollar:Z,depth:U,commas:0,ranges:0,nodes:[]}),y.push(v),z({type:"open",value:P});continue}if(P===Lb){if(v.type!=="brace"){z({type:"text",value:P});continue}let Z="close";v=y.pop(),v.close=!0,z({type:Z,value:P}),U--,v=y[y.length-1];continue}if(P===Fb&&U>0){if(v.ranges>0){v.ranges=0;let Z=v.nodes.shift();v.nodes=[Z,{type:"text",value:xb(v)}]}z({type:"comma",value:P}),v.commas++;continue}if(P===Nb&&U>0&&v.commas===0){let Z=v.nodes;if(U===0||Z.length===0){z({type:"text",value:P});continue}if(S.type==="dot"){if(v.range=[],S.value+=P,S.type="range",v.nodes.length!==3&&v.nodes.length!==5){v.invalid=!0,v.ranges=0,S.type="text";continue}v.ranges++,v.args=[];continue}if(S.type==="range"){Z.pop();let oe=Z[Z.length-1];oe.value+=S.value+P,S=oe,v.ranges--;continue}z({type:"dot",value:P});continue}z({type:"text",value:P})}do if(v=y.pop(),v.type!=="root"){v.nodes.forEach(be=>{be.nodes||(be.type==="open"&&(be.isOpen=!0),be.type==="close"&&(be.isClose=!0),be.nodes||(be.type="text"),be.invalid=!0)});let Z=y[y.length-1],oe=Z.nodes.indexOf(v);Z.nodes.splice(oe,1,...v.nodes)}while(y.length>0);return z({type:"eos"}),d};N_.exports=$b});var L_=Y((Pk,B_)=>{"use strict";var I_=Oi(),Gb=E_(),Kb=T_(),Vb=M_(),ot=(r,t={})=>{let e=[];if(Array.isArray(r))for(let u of r){let d=ot.create(u,t);Array.isArray(d)?e.push(...d):e.push(d)}else e=[].concat(ot.create(r,t));return t&&t.expand===!0&&t.nodupes===!0&&(e=[...new Set(e)]),e};ot.parse=(r,t={})=>Vb(r,t);ot.stringify=(r,t={})=>I_(typeof r=="string"?ot.parse(r,t):r,t);ot.compile=(r,t={})=>(typeof r=="string"&&(r=ot.parse(r,t)),Gb(r,t));ot.expand=(r,t={})=>{typeof r=="string"&&(r=ot.parse(r,t));let e=Kb(r,t);return t.noempty===!0&&(e=e.filter(Boolean)),t.nodupes===!0&&(e=[...new Set(e)]),e};ot.create=(r,t={})=>r===""||r.length<3?[r]:t.expand!==!0?ot.compile(r,t):ot.expand(r,t);B_.exports=ot});var Gr=Y((xk,$_)=>{"use strict";var Yb=require("path"),ht="\\\\/",U_=`[^${ht}]`,Ct="\\.",Qb="\\+",zb="\\?",Ni="\\/",Xb="(?=.)",H_="[^/]",ws=`(?:${Ni}|$)`,q_=`(?:^|${Ni})`,ks=`${Ct}{1,2}${ws}`,Jb=`(?!${Ct})`,Zb=`(?!${q_}${ks})`,ej=`(?!${Ct}{0,1}${ws})`,tj=`(?!${ks})`,rj=`[^.${Ni}]`,ij=`${H_}*?`,W_={DOT_LITERAL:Ct,PLUS_LITERAL:Qb,QMARK_LITERAL:zb,SLASH_LITERAL:Ni,ONE_CHAR:Xb,QMARK:H_,END_ANCHOR:ws,DOTS_SLASH:ks,NO_DOT:Jb,NO_DOTS:Zb,NO_DOT_SLASH:ej,NO_DOTS_SLASH:tj,QMARK_NO_DOT:rj,STAR:ij,START_ANCHOR:q_},nj={...W_,SLASH_LITERAL:`[${ht}]`,QMARK:U_,STAR:`${U_}*?`,DOTS_SLASH:`${Ct}{1,2}(?:[${ht}]|$)`,NO_DOT:`(?!${Ct})`,NO_DOTS:`(?!(?:^|[${ht}])${Ct}{1,2}(?:[${ht}]|$))`,NO_DOT_SLASH:`(?!${Ct}{0,1}(?:[${ht}]|$))`,NO_DOTS_SLASH:`(?!${Ct}{1,2}(?:[${ht}]|$))`,QMARK_NO_DOT:`[^.${ht}]`,START_ANCHOR:`(?:^|[${ht}])`,END_ANCHOR:`(?:[${ht}]|$)`},aj={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"};$_.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:aj,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:Yb.sep,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?nj:W_}}});var Kr=Y(at=>{"use strict";var sj=require("path"),oj=process.platform==="win32",{REGEX_BACKSLASH:uj,REGEX_REMOVE_BACKSLASH:lj,REGEX_SPECIAL_CHARS:cj,REGEX_SPECIAL_CHARS_GLOBAL:fj}=Gr();at.isObject=r=>r!==null&&typeof r=="object"&&!Array.isArray(r);at.hasRegexChars=r=>cj.test(r);at.isRegexChar=r=>r.length===1&&at.hasRegexChars(r);at.escapeRegex=r=>r.replace(fj,"\\$1");at.toPosixSlashes=r=>r.replace(uj,"/");at.removeBackslashes=r=>r.replace(lj,t=>t==="\\"?"":t);at.supportsLookbehinds=()=>{let r=process.version.slice(1).split(".").map(Number);return r.length===3&&r[0]>=9||r[0]===8&&r[1]>=10};at.isWindows=r=>r&&typeof r.windows=="boolean"?r.windows:oj===!0||sj.sep==="\\";at.escapeLast=(r,t,e)=>{let u=r.lastIndexOf(t,e);return u===-1?r:r[u-1]==="\\"?at.escapeLast(r,t,u-1):`${r.slice(0,u)}\\${r.slice(u)}`};at.removePrefix=(r,t={})=>{let e=r;return e.startsWith("./")&&(e=e.slice(2),t.prefix="./"),e};at.wrapOutput=(r,t={},e={})=>{let u=e.contains?"":"^",d=e.contains?"":"$",y=`${u}(?:${r})${d}`;return t.negated===!0&&(y=`(?:^(?!${y}).*$)`),y}});var J_=Y((Fk,X_)=>{"use strict";var G_=Kr(),{CHAR_ASTERISK:Cs,CHAR_AT:_j,CHAR_BACKWARD_SLASH:Vr,CHAR_COMMA:dj,CHAR_DOT:Ss,CHAR_EXCLAMATION_MARK:Es,CHAR_FORWARD_SLASH:z_,CHAR_LEFT_CURLY_BRACE:As,CHAR_LEFT_PARENTHESES:Rs,CHAR_LEFT_SQUARE_BRACKET:pj,CHAR_PLUS:yj,CHAR_QUESTION_MARK:K_,CHAR_RIGHT_CURLY_BRACE:hj,CHAR_RIGHT_PARENTHESES:V_,CHAR_RIGHT_SQUARE_BRACKET:mj}=Gr(),Y_=r=>r===z_||r===Vr,Q_=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},vj=(r,t)=>{let e=t||{},u=r.length-1,d=e.parts===!0||e.scanToEnd===!0,y=[],v=[],S=[],A=r,I=-1,R=0,U=0,P=!1,fe=!1,K=!1,z=!1,Z=!1,oe=!1,be=!1,he=!1,Ae=!1,ne=!1,we=0,J,ee,H={value:"",depth:0,isGlob:!1},pe=()=>I>=u,F=()=>A.charCodeAt(I+1),ue=()=>(J=ee,A.charCodeAt(++I));for(;I<u;){ee=ue();let Pe;if(ee===Vr){be=H.backslashes=!0,ee=ue(),ee===As&&(oe=!0);continue}if(oe===!0||ee===As){for(we++;pe()!==!0&&(ee=ue());){if(ee===Vr){be=H.backslashes=!0,ue();continue}if(ee===As){we++;continue}if(oe!==!0&&ee===Ss&&(ee=ue())===Ss){if(P=H.isBrace=!0,K=H.isGlob=!0,ne=!0,d===!0)continue;break}if(oe!==!0&&ee===dj){if(P=H.isBrace=!0,K=H.isGlob=!0,ne=!0,d===!0)continue;break}if(ee===hj&&(we--,we===0)){oe=!1,P=H.isBrace=!0,ne=!0;break}}if(d===!0)continue;break}if(ee===z_){if(y.push(I),v.push(H),H={value:"",depth:0,isGlob:!1},ne===!0)continue;if(J===Ss&&I===R+1){R+=2;continue}U=I+1;continue}if(e.noext!==!0&&(ee===yj||ee===_j||ee===Cs||ee===K_||ee===Es)===!0&&F()===Rs){if(K=H.isGlob=!0,z=H.isExtglob=!0,ne=!0,ee===Es&&I===R&&(Ae=!0),d===!0){for(;pe()!==!0&&(ee=ue());){if(ee===Vr){be=H.backslashes=!0,ee=ue();continue}if(ee===V_){K=H.isGlob=!0,ne=!0;break}}continue}break}if(ee===Cs){if(J===Cs&&(Z=H.isGlobstar=!0),K=H.isGlob=!0,ne=!0,d===!0)continue;break}if(ee===K_){if(K=H.isGlob=!0,ne=!0,d===!0)continue;break}if(ee===pj){for(;pe()!==!0&&(Pe=ue());){if(Pe===Vr){be=H.backslashes=!0,ue();continue}if(Pe===mj){fe=H.isBracket=!0,K=H.isGlob=!0,ne=!0;break}}if(d===!0)continue;break}if(e.nonegate!==!0&&ee===Es&&I===R){he=H.negated=!0,R++;continue}if(e.noparen!==!0&&ee===Rs){if(K=H.isGlob=!0,d===!0){for(;pe()!==!0&&(ee=ue());){if(ee===Rs){be=H.backslashes=!0,ee=ue();continue}if(ee===V_){ne=!0;break}}continue}break}if(K===!0){if(ne=!0,d===!0)continue;break}}e.noext===!0&&(z=!1,K=!1);let ae=A,ke="",D="";R>0&&(ke=A.slice(0,R),A=A.slice(R),U-=R),ae&&K===!0&&U>0?(ae=A.slice(0,U),D=A.slice(U)):K===!0?(ae="",D=A):ae=A,ae&&ae!==""&&ae!=="/"&&ae!==A&&Y_(ae.charCodeAt(ae.length-1))&&(ae=ae.slice(0,-1)),e.unescape===!0&&(D&&(D=G_.removeBackslashes(D)),ae&&be===!0&&(ae=G_.removeBackslashes(ae)));let x={prefix:ke,input:r,start:R,base:ae,glob:D,isBrace:P,isBracket:fe,isGlob:K,isExtglob:z,isGlobstar:Z,negated:he,negatedExtglob:Ae};if(e.tokens===!0&&(x.maxDepth=0,Y_(ee)||v.push(H),x.tokens=v),e.parts===!0||e.tokens===!0){let Pe;for(let le=0;le<y.length;le++){let Qe=Pe?Pe+1:R,$e=y[le],xe=r.slice(Qe,$e);e.tokens&&(le===0&&R!==0?(v[le].isPrefix=!0,v[le].value=ke):v[le].value=xe,Q_(v[le]),x.maxDepth+=v[le].depth),(le!==0||xe!=="")&&S.push(xe),Pe=$e}if(Pe&&Pe+1<r.length){let le=r.slice(Pe+1);S.push(le),e.tokens&&(v[v.length-1].value=le,Q_(v[v.length-1]),x.maxDepth+=v[v.length-1].depth)}x.slashes=y,x.parts=S}return x};X_.exports=vj});var rd=Y((Nk,td)=>{"use strict";var Mi=Gr(),ut=Kr(),{MAX_LENGTH:Ii,POSIX_REGEX_SOURCE:gj,REGEX_NON_SPECIAL_CHARS:bj,REGEX_SPECIAL_CHARS_BACKREF:jj,REPLACEMENTS:Z_}=Mi,wj=(r,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...r,t);r.sort();let e=`[${r.join("-")}]`;try{new RegExp(e)}catch{return r.map(d=>ut.escapeRegex(d)).join("..")}return e},hr=(r,t)=>`Missing ${r}: "${t}" - use "\\\\${t}" to match literal characters`,ed=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=Z_[r]||r;let e={...t},u=typeof e.maxLength=="number"?Math.min(Ii,e.maxLength):Ii,d=r.length;if(d>u)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${u}`);let y={type:"bos",value:"",output:e.prepend||""},v=[y],S=e.capture?"":"?:",A=ut.isWindows(t),I=Mi.globChars(A),R=Mi.extglobChars(I),{DOT_LITERAL:U,PLUS_LITERAL:P,SLASH_LITERAL:fe,ONE_CHAR:K,DOTS_SLASH:z,NO_DOT:Z,NO_DOT_SLASH:oe,NO_DOTS_SLASH:be,QMARK:he,QMARK_NO_DOT:Ae,STAR:ne,START_ANCHOR:we}=I,J=O=>`(${S}(?:(?!${we}${O.dot?z:U}).)*?)`,ee=e.dot?"":Z,H=e.dot?he:Ae,pe=e.bash===!0?J(e):ne;e.capture&&(pe=`(${pe})`),typeof e.noext=="boolean"&&(e.noextglob=e.noext);let F={input:r,index:-1,start:0,dot:e.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};r=ut.removePrefix(r,F),d=r.length;let ue=[],ae=[],ke=[],D=y,x,Pe=()=>F.index===d-1,le=F.peek=(O=1)=>r[F.index+O],Qe=F.advance=()=>r[++F.index]||"",$e=()=>r.slice(F.index+1),xe=(O="",ge=0)=>{F.consumed+=O,F.index+=ge},_t=O=>{F.output+=O.output!=null?O.output:O.value,xe(O.value)},It=()=>{let O=1;for(;le()==="!"&&(le(2)!=="("||le(3)==="?");)Qe(),F.start++,O++;return O%2===0?!1:(F.negated=!0,F.start++,!0)},bt=O=>{F[O]++,ke.push(O)},ze=O=>{F[O]--,ke.pop()},se=O=>{if(D.type==="globstar"){let ge=F.braces>0&&(O.type==="comma"||O.type==="brace"),$=O.extglob===!0||ue.length&&(O.type==="pipe"||O.type==="paren");O.type!=="slash"&&O.type!=="paren"&&!ge&&!$&&(F.output=F.output.slice(0,-D.output.length),D.type="star",D.value="*",D.output=pe,F.output+=D.output)}if(ue.length&&O.type!=="paren"&&(ue[ue.length-1].inner+=O.value),(O.value||O.output)&&_t(O),D&&D.type==="text"&&O.type==="text"){D.value+=O.value,D.output=(D.output||"")+O.value;return}O.prev=D,v.push(O),D=O},st=(O,ge)=>{let $={...R[ge],conditions:1,inner:""};$.prev=D,$.parens=F.parens,$.output=F.output;let N=(e.capture?"(":"")+$.open;bt("parens"),se({type:O,value:ge,output:F.output?"":K}),se({type:"paren",extglob:!0,value:Qe(),output:N}),ue.push($)},et=O=>{let ge=O.close+(e.capture?")":""),$;if(O.type==="negate"){let N=pe;O.inner&&O.inner.length>1&&O.inner.includes("/")&&(N=J(e)),(N!==pe||Pe()||/^\)+$/.test($e()))&&(ge=O.close=`)$))${N}`),O.inner.includes("*")&&($=$e())&&/^\.[^\\/.]+$/.test($)&&(ge=O.close=`)${$})${N})`),O.prev.type==="bos"&&(F.negatedExtglob=!0)}se({type:"paren",extglob:!0,value:x,output:ge}),ze("parens")};if(e.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let O=!1,ge=r.replace(jj,($,N,Re,qe,Fe,jt)=>qe==="\\"?(O=!0,$):qe==="?"?N?N+qe+(Fe?he.repeat(Fe.length):""):jt===0?H+(Fe?he.repeat(Fe.length):""):he.repeat(Re.length):qe==="."?U.repeat(Re.length):qe==="*"?N?N+qe+(Fe?pe:""):pe:N?$:`\\${$}`);return O===!0&&(e.unescape===!0?ge=ge.replace(/\\/g,""):ge=ge.replace(/\\+/g,$=>$.length%2===0?"\\\\":$?"\\":"")),ge===r&&e.contains===!0?(F.output=r,F):(F.output=ut.wrapOutput(ge,F,t),F)}for(;!Pe();){if(x=Qe(),x==="\0")continue;if(x==="\\"){let $=le();if($==="/"&&e.bash!==!0||$==="."||$===";")continue;if(!$){x+="\\",se({type:"text",value:x});continue}let N=/^\\+/.exec($e()),Re=0;if(N&&N[0].length>2&&(Re=N[0].length,F.index+=Re,Re%2!==0&&(x+="\\")),e.unescape===!0?x=Qe():x+=Qe(),F.brackets===0){se({type:"text",value:x});continue}}if(F.brackets>0&&(x!=="]"||D.value==="["||D.value==="[^")){if(e.posix!==!1&&x===":"){let $=D.value.slice(1);if($.includes("[")&&(D.posix=!0,$.includes(":"))){let N=D.value.lastIndexOf("["),Re=D.value.slice(0,N),qe=D.value.slice(N+2),Fe=gj[qe];if(Fe){D.value=Re+Fe,F.backtrack=!0,Qe(),!y.output&&v.indexOf(D)===1&&(y.output=K);continue}}}(x==="["&&le()!==":"||x==="-"&&le()==="]")&&(x=`\\${x}`),x==="]"&&(D.value==="["||D.value==="[^")&&(x=`\\${x}`),e.posix===!0&&x==="!"&&D.value==="["&&(x="^"),D.value+=x,_t({value:x});continue}if(F.quotes===1&&x!=='"'){x=ut.escapeRegex(x),D.value+=x,_t({value:x});continue}if(x==='"'){F.quotes=F.quotes===1?0:1,e.keepQuotes===!0&&se({type:"text",value:x});continue}if(x==="("){bt("parens"),se({type:"paren",value:x});continue}if(x===")"){if(F.parens===0&&e.strictBrackets===!0)throw new SyntaxError(hr("opening","("));let $=ue[ue.length-1];if($&&F.parens===$.parens+1){et(ue.pop());continue}se({type:"paren",value:x,output:F.parens?")":"\\)"}),ze("parens");continue}if(x==="["){if(e.nobracket===!0||!$e().includes("]")){if(e.nobracket!==!0&&e.strictBrackets===!0)throw new SyntaxError(hr("closing","]"));x=`\\${x}`}else bt("brackets");se({type:"bracket",value:x});continue}if(x==="]"){if(e.nobracket===!0||D&&D.type==="bracket"&&D.value.length===1){se({type:"text",value:x,output:`\\${x}`});continue}if(F.brackets===0){if(e.strictBrackets===!0)throw new SyntaxError(hr("opening","["));se({type:"text",value:x,output:`\\${x}`});continue}ze("brackets");let $=D.value.slice(1);if(D.posix!==!0&&$[0]==="^"&&!$.includes("/")&&(x=`/${x}`),D.value+=x,_t({value:x}),e.literalBrackets===!1||ut.hasRegexChars($))continue;let N=ut.escapeRegex(D.value);if(F.output=F.output.slice(0,-D.value.length),e.literalBrackets===!0){F.output+=N,D.value=N;continue}D.value=`(${S}${N}|${D.value})`,F.output+=D.value;continue}if(x==="{"&&e.nobrace!==!0){bt("braces");let $={type:"brace",value:x,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};ae.push($),se($);continue}if(x==="}"){let $=ae[ae.length-1];if(e.nobrace===!0||!$){se({type:"text",value:x,output:x});continue}let N=")";if($.dots===!0){let Re=v.slice(),qe=[];for(let Fe=Re.length-1;Fe>=0&&(v.pop(),Re[Fe].type!=="brace");Fe--)Re[Fe].type!=="dots"&&qe.unshift(Re[Fe].value);N=wj(qe,e),F.backtrack=!0}if($.comma!==!0&&$.dots!==!0){let Re=F.output.slice(0,$.outputIndex),qe=F.tokens.slice($.tokensIndex);$.value=$.output="\\{",x=N="\\}",F.output=Re;for(let Fe of qe)F.output+=Fe.output||Fe.value}se({type:"brace",value:x,output:N}),ze("braces"),ae.pop();continue}if(x==="|"){ue.length>0&&ue[ue.length-1].conditions++,se({type:"text",value:x});continue}if(x===","){let $=x,N=ae[ae.length-1];N&&ke[ke.length-1]==="braces"&&(N.comma=!0,$="|"),se({type:"comma",value:x,output:$});continue}if(x==="/"){if(D.type==="dot"&&F.index===F.start+1){F.start=F.index+1,F.consumed="",F.output="",v.pop(),D=y;continue}se({type:"slash",value:x,output:fe});continue}if(x==="."){if(F.braces>0&&D.type==="dot"){D.value==="."&&(D.output=U);let $=ae[ae.length-1];D.type="dots",D.output+=x,D.value+=x,$.dots=!0;continue}if(F.braces+F.parens===0&&D.type!=="bos"&&D.type!=="slash"){se({type:"text",value:x,output:U});continue}se({type:"dot",value:x,output:U});continue}if(x==="?"){if(!(D&&D.value==="(")&&e.noextglob!==!0&&le()==="("&&le(2)!=="?"){st("qmark",x);continue}if(D&&D.type==="paren"){let N=le(),Re=x;if(N==="<"&&!ut.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(D.value==="("&&!/[!=<:]/.test(N)||N==="<"&&!/<([!=]|\w+>)/.test($e()))&&(Re=`\\${x}`),se({type:"text",value:x,output:Re});continue}if(e.dot!==!0&&(D.type==="slash"||D.type==="bos")){se({type:"qmark",value:x,output:Ae});continue}se({type:"qmark",value:x,output:he});continue}if(x==="!"){if(e.noextglob!==!0&&le()==="("&&(le(2)!=="?"||!/[!=<:]/.test(le(3)))){st("negate",x);continue}if(e.nonegate!==!0&&F.index===0){It();continue}}if(x==="+"){if(e.noextglob!==!0&&le()==="("&&le(2)!=="?"){st("plus",x);continue}if(D&&D.value==="("||e.regex===!1){se({type:"plus",value:x,output:P});continue}if(D&&(D.type==="bracket"||D.type==="paren"||D.type==="brace")||F.parens>0){se({type:"plus",value:x});continue}se({type:"plus",value:P});continue}if(x==="@"){if(e.noextglob!==!0&&le()==="("&&le(2)!=="?"){se({type:"at",extglob:!0,value:x,output:""});continue}se({type:"text",value:x});continue}if(x!=="*"){(x==="$"||x==="^")&&(x=`\\${x}`);let $=bj.exec($e());$&&(x+=$[0],F.index+=$[0].length),se({type:"text",value:x});continue}if(D&&(D.type==="globstar"||D.star===!0)){D.type="star",D.star=!0,D.value+=x,D.output=pe,F.backtrack=!0,F.globstar=!0,xe(x);continue}let O=$e();if(e.noextglob!==!0&&/^\([^?]/.test(O)){st("star",x);continue}if(D.type==="star"){if(e.noglobstar===!0){xe(x);continue}let $=D.prev,N=$.prev,Re=$.type==="slash"||$.type==="bos",qe=N&&(N.type==="star"||N.type==="globstar");if(e.bash===!0&&(!Re||O[0]&&O[0]!=="/")){se({type:"star",value:x,output:""});continue}let Fe=F.braces>0&&($.type==="comma"||$.type==="brace"),jt=ue.length&&($.type==="pipe"||$.type==="paren");if(!Re&&$.type!=="paren"&&!Fe&&!jt){se({type:"star",value:x,output:""});continue}for(;O.slice(0,3)==="/**";){let At=r[F.index+4];if(At&&At!=="/")break;O=O.slice(3),xe("/**",3)}if($.type==="bos"&&Pe()){D.type="globstar",D.value+=x,D.output=J(e),F.output=D.output,F.globstar=!0,xe(x);continue}if($.type==="slash"&&$.prev.type!=="bos"&&!qe&&Pe()){F.output=F.output.slice(0,-($.output+D.output).length),$.output=`(?:${$.output}`,D.type="globstar",D.output=J(e)+(e.strictSlashes?")":"|$)"),D.value+=x,F.globstar=!0,F.output+=$.output+D.output,xe(x);continue}if($.type==="slash"&&$.prev.type!=="bos"&&O[0]==="/"){let At=O[1]!==void 0?"|$":"";F.output=F.output.slice(0,-($.output+D.output).length),$.output=`(?:${$.output}`,D.type="globstar",D.output=`${J(e)}${fe}|${fe}${At})`,D.value+=x,F.output+=$.output+D.output,F.globstar=!0,xe(x+Qe()),se({type:"slash",value:"/",output:""});continue}if($.type==="bos"&&O[0]==="/"){D.type="globstar",D.value+=x,D.output=`(?:^|${fe}|${J(e)}${fe})`,F.output=D.output,F.globstar=!0,xe(x+Qe()),se({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-D.output.length),D.type="globstar",D.output=J(e),D.value+=x,F.output+=D.output,F.globstar=!0,xe(x);continue}let ge={type:"star",value:x,output:pe};if(e.bash===!0){ge.output=".*?",(D.type==="bos"||D.type==="slash")&&(ge.output=ee+ge.output),se(ge);continue}if(D&&(D.type==="bracket"||D.type==="paren")&&e.regex===!0){ge.output=x,se(ge);continue}(F.index===F.start||D.type==="slash"||D.type==="dot")&&(D.type==="dot"?(F.output+=oe,D.output+=oe):e.dot===!0?(F.output+=be,D.output+=be):(F.output+=ee,D.output+=ee),le()!=="*"&&(F.output+=K,D.output+=K)),se(ge)}for(;F.brackets>0;){if(e.strictBrackets===!0)throw new SyntaxError(hr("closing","]"));F.output=ut.escapeLast(F.output,"["),ze("brackets")}for(;F.parens>0;){if(e.strictBrackets===!0)throw new SyntaxError(hr("closing",")"));F.output=ut.escapeLast(F.output,"("),ze("parens")}for(;F.braces>0;){if(e.strictBrackets===!0)throw new SyntaxError(hr("closing","}"));F.output=ut.escapeLast(F.output,"{"),ze("braces")}if(e.strictSlashes!==!0&&(D.type==="star"||D.type==="bracket")&&se({type:"maybe_slash",value:"",output:`${fe}?`}),F.backtrack===!0){F.output="";for(let O of F.tokens)F.output+=O.output!=null?O.output:O.value,O.suffix&&(F.output+=O.suffix)}return F};ed.fastpaths=(r,t)=>{let e={...t},u=typeof e.maxLength=="number"?Math.min(Ii,e.maxLength):Ii,d=r.length;if(d>u)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${u}`);r=Z_[r]||r;let y=ut.isWindows(t),{DOT_LITERAL:v,SLASH_LITERAL:S,ONE_CHAR:A,DOTS_SLASH:I,NO_DOT:R,NO_DOTS:U,NO_DOTS_SLASH:P,STAR:fe,START_ANCHOR:K}=Mi.globChars(y),z=e.dot?U:R,Z=e.dot?P:R,oe=e.capture?"":"?:",be={negated:!1,prefix:""},he=e.bash===!0?".*?":fe;e.capture&&(he=`(${he})`);let Ae=ee=>ee.noglobstar===!0?he:`(${oe}(?:(?!${K}${ee.dot?I:v}).)*?)`,ne=ee=>{switch(ee){case"*":return`${z}${A}${he}`;case".*":return`${v}${A}${he}`;case"*.*":return`${z}${he}${v}${A}${he}`;case"*/*":return`${z}${he}${S}${A}${Z}${he}`;case"**":return z+Ae(e);case"**/*":return`(?:${z}${Ae(e)}${S})?${Z}${A}${he}`;case"**/*.*":return`(?:${z}${Ae(e)}${S})?${Z}${he}${v}${A}${he}`;case"**/.*":return`(?:${z}${Ae(e)}${S})?${v}${A}${he}`;default:{let H=/^(.*?)\.(\w+)$/.exec(ee);if(!H)return;let pe=ne(H[1]);return pe?pe+v+H[2]:void 0}}},we=ut.removePrefix(r,be),J=ne(we);return J&&e.strictSlashes!==!0&&(J+=`${S}?`),J};td.exports=ed});var nd=Y((Mk,id)=>{"use strict";var kj=require("path"),Cj=J_(),Ts=rd(),Ds=Kr(),Sj=Gr(),Ej=r=>r&&typeof r=="object"&&!Array.isArray(r),Le=(r,t,e=!1)=>{if(Array.isArray(r)){let R=r.map(P=>Le(P,t,e));return P=>{for(let fe of R){let K=fe(P);if(K)return K}return!1}}let u=Ej(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!u)throw new TypeError("Expected pattern to be a non-empty string");let d=t||{},y=Ds.isWindows(t),v=u?Le.compileRe(r,t):Le.makeRe(r,t,!1,!0),S=v.state;delete v.state;let A=()=>!1;if(d.ignore){let R={...t,ignore:null,onMatch:null,onResult:null};A=Le(d.ignore,R,e)}let I=(R,U=!1)=>{let{isMatch:P,match:fe,output:K}=Le.test(R,v,t,{glob:r,posix:y}),z={glob:r,state:S,regex:v,posix:y,input:R,output:K,match:fe,isMatch:P};return typeof d.onResult=="function"&&d.onResult(z),P===!1?(z.isMatch=!1,U?z:!1):A(R)?(typeof d.onIgnore=="function"&&d.onIgnore(z),z.isMatch=!1,U?z:!1):(typeof d.onMatch=="function"&&d.onMatch(z),U?z:!0)};return e&&(I.state=S),I};Le.test=(r,t,e,{glob:u,posix:d}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};let y=e||{},v=y.format||(d?Ds.toPosixSlashes:null),S=r===u,A=S&&v?v(r):r;return S===!1&&(A=v?v(r):r,S=A===u),(S===!1||y.capture===!0)&&(y.matchBase===!0||y.basename===!0?S=Le.matchBase(r,t,e,d):S=t.exec(A)),{isMatch:Boolean(S),match:S,output:A}};Le.matchBase=(r,t,e,u=Ds.isWindows(e))=>(t instanceof RegExp?t:Le.makeRe(t,e)).test(kj.basename(r));Le.isMatch=(r,t,e)=>Le(t,e)(r);Le.parse=(r,t)=>Array.isArray(r)?r.map(e=>Le.parse(e,t)):Ts(r,{...t,fastpaths:!1});Le.scan=(r,t)=>Cj(r,t);Le.compileRe=(r,t,e=!1,u=!1)=>{if(e===!0)return r.output;let d=t||{},y=d.contains?"":"^",v=d.contains?"":"$",S=`${y}(?:${r.output})${v}`;r&&r.negated===!0&&(S=`^(?!${S}).*$`);let A=Le.toRegex(S,t);return u===!0&&(A.state=r),A};Le.makeRe=(r,t={},e=!1,u=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let d={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(d.output=Ts.fastpaths(r,t)),d.output||(d=Ts(r,t)),Le.compileRe(d,t,e,u)};Le.toRegex=(r,t)=>{try{let e=t||{};return new RegExp(r,e.flags||(e.nocase?"i":""))}catch(e){if(t&&t.debug===!0)throw e;return/$^/}};Le.constants=Sj;id.exports=Le});var sd=Y((Ik,ad)=>{"use strict";ad.exports=nd()});var fd=Y((Bk,cd)=>{"use strict";var ud=require("util"),ld=L_(),mt=sd(),Ps=Kr(),od=r=>r===""||r==="./",Ne=(r,t,e)=>{t=[].concat(t),r=[].concat(r);let u=new Set,d=new Set,y=new Set,v=0,S=R=>{y.add(R.output),e&&e.onResult&&e.onResult(R)};for(let R=0;R<t.length;R++){let U=mt(String(t[R]),{...e,onResult:S},!0),P=U.state.negated||U.state.negatedExtglob;P&&v++;for(let fe of r){let K=U(fe,!0);!(P?!K.isMatch:K.isMatch)||(P?u.add(K.output):(u.delete(K.output),d.add(K.output)))}}let I=(v===t.length?[...y]:[...d]).filter(R=>!u.has(R));if(e&&I.length===0){if(e.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(e.nonull===!0||e.nullglob===!0)return e.unescape?t.map(R=>R.replace(/\\/g,"")):t}return I};Ne.match=Ne;Ne.matcher=(r,t)=>mt(r,t);Ne.isMatch=(r,t,e)=>mt(t,e)(r);Ne.any=Ne.isMatch;Ne.not=(r,t,e={})=>{t=[].concat(t).map(String);let u=new Set,d=[],v=Ne(r,t,{...e,onResult:S=>{e.onResult&&e.onResult(S),d.push(S.output)}});for(let S of d)v.includes(S)||u.add(S);return[...u]};Ne.contains=(r,t,e)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${ud.inspect(r)}"`);if(Array.isArray(t))return t.some(u=>Ne.contains(r,u,e));if(typeof t=="string"){if(od(r)||od(t))return!1;if(r.includes(t)||r.startsWith("./")&&r.slice(2).includes(t))return!0}return Ne.isMatch(r,t,{...e,contains:!0})};Ne.matchKeys=(r,t,e)=>{if(!Ps.isObject(r))throw new TypeError("Expected the first argument to be an object");let u=Ne(Object.keys(r),t,e),d={};for(let y of u)d[y]=r[y];return d};Ne.some=(r,t,e)=>{let u=[].concat(r);for(let d of[].concat(t)){let y=mt(String(d),e);if(u.some(v=>y(v)))return!0}return!1};Ne.every=(r,t,e)=>{let u=[].concat(r);for(let d of[].concat(t)){let y=mt(String(d),e);if(!u.every(v=>y(v)))return!1}return!0};Ne.all=(r,t,e)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${ud.inspect(r)}"`);return[].concat(t).every(u=>mt(u,e)(r))};Ne.capture=(r,t,e)=>{let u=Ps.isWindows(e),y=mt.makeRe(String(r),{...e,capture:!0}).exec(u?Ps.toPosixSlashes(t):t);if(y)return y.slice(1).map(v=>v===void 0?"":v)};Ne.makeRe=(...r)=>mt.makeRe(...r);Ne.scan=(...r)=>mt.scan(...r);Ne.parse=(r,t)=>{let e=[];for(let u of[].concat(r||[]))for(let d of ld(String(u),t))e.push(mt.parse(d,t));return e};Ne.braces=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(r)?[r]:ld(r,t)};Ne.braceExpand=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");return Ne.braces(r,{...t,expand:!0})};cd.exports=Ne});var gd=Y(ce=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0});ce.matchAny=ce.convertPatternsToRe=ce.makeRe=ce.getPatternParts=ce.expandBraceExpansion=ce.expandPatternsWithBraceExpansion=ce.isAffectDepthOfReadingPattern=ce.endsWithSlashGlobStar=ce.hasGlobStar=ce.getBaseDirectory=ce.isPatternRelatedToParentDirectory=ce.getPatternsOutsideCurrentDirectory=ce.getPatternsInsideCurrentDirectory=ce.getPositivePatterns=ce.getNegativePatterns=ce.isPositivePattern=ce.isNegativePattern=ce.convertToNegativePattern=ce.convertToPositivePattern=ce.isDynamicPattern=ce.isStaticPattern=void 0;var Aj=require("path"),Rj=r_(),xs=fd(),_d="**",Tj="\\",Dj=/[*?]|^!/,Pj=/\[[^[]*]/,xj=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Oj=/[!*+?@]\([^(]*\)/,Fj=/,|\.\./;function dd(r,t={}){return!pd(r,t)}ce.isStaticPattern=dd;function pd(r,t={}){return r===""?!1:!!(t.caseSensitiveMatch===!1||r.includes(Tj)||Dj.test(r)||Pj.test(r)||xj.test(r)||t.extglob!==!1&&Oj.test(r)||t.braceExpansion!==!1&&Nj(r))}ce.isDynamicPattern=pd;function Nj(r){let t=r.indexOf("{");if(t===-1)return!1;let e=r.indexOf("}",t+1);if(e===-1)return!1;let u=r.slice(t,e);return Fj.test(u)}function Mj(r){return Bi(r)?r.slice(1):r}ce.convertToPositivePattern=Mj;function Ij(r){return"!"+r}ce.convertToNegativePattern=Ij;function Bi(r){return r.startsWith("!")&&r[1]!=="("}ce.isNegativePattern=Bi;function yd(r){return!Bi(r)}ce.isPositivePattern=yd;function Bj(r){return r.filter(Bi)}ce.getNegativePatterns=Bj;function Lj(r){return r.filter(yd)}ce.getPositivePatterns=Lj;function Uj(r){return r.filter(t=>!Os(t))}ce.getPatternsInsideCurrentDirectory=Uj;function Hj(r){return r.filter(Os)}ce.getPatternsOutsideCurrentDirectory=Hj;function Os(r){return r.startsWith("..")||r.startsWith("./..")}ce.isPatternRelatedToParentDirectory=Os;function qj(r){return Rj(r,{flipBackslashes:!1})}ce.getBaseDirectory=qj;function Wj(r){return r.includes(_d)}ce.hasGlobStar=Wj;function hd(r){return r.endsWith("/"+_d)}ce.endsWithSlashGlobStar=hd;function $j(r){let t=Aj.basename(r);return hd(r)||dd(t)}ce.isAffectDepthOfReadingPattern=$j;function Gj(r){return r.reduce((t,e)=>t.concat(md(e)),[])}ce.expandPatternsWithBraceExpansion=Gj;function md(r){return xs.braces(r,{expand:!0,nodupes:!0})}ce.expandBraceExpansion=md;function Kj(r,t){let{parts:e}=xs.scan(r,Object.assign(Object.assign({},t),{parts:!0}));return e.length===0&&(e=[r]),e[0].startsWith("/")&&(e[0]=e[0].slice(1),e.unshift("")),e}ce.getPatternParts=Kj;function vd(r,t){return xs.makeRe(r,t)}ce.makeRe=vd;function Vj(r,t){return r.map(e=>vd(e,t))}ce.convertPatternsToRe=Vj;function Yj(r,t){return t.some(e=>e.test(r))}ce.matchAny=Yj});var kd=Y((Uk,wd)=>{"use strict";var Qj=require("stream"),bd=Qj.PassThrough,zj=Array.prototype.slice;wd.exports=Xj;function Xj(){let r=[],t=zj.call(arguments),e=!1,u=t[t.length-1];u&&!Array.isArray(u)&&u.pipe==null?t.pop():u={};let d=u.end!==!1,y=u.pipeError===!0;u.objectMode==null&&(u.objectMode=!0),u.highWaterMark==null&&(u.highWaterMark=64*1024);let v=bd(u);function S(){for(let R=0,U=arguments.length;R<U;R++)r.push(jd(arguments[R],u));return A(),this}function A(){if(e)return;e=!0;let R=r.shift();if(!R){process.nextTick(I);return}Array.isArray(R)||(R=[R]);let U=R.length+1;function P(){--U>0||(e=!1,A())}function fe(K){function z(){K.removeListener("merge2UnpipeEnd",z),K.removeListener("end",z),y&&K.removeListener("error",Z),P()}function Z(oe){v.emit("error",oe)}if(K._readableState.endEmitted)return P();K.on("merge2UnpipeEnd",z),K.on("end",z),y&&K.on("error",Z),K.pipe(v,{end:!1}),K.resume()}for(let K=0;K<R.length;K++)fe(R[K]);P()}function I(){e=!1,v.emit("queueDrain"),d&&v.end()}return v.setMaxListeners(0),v.add=S,v.on("unpipe",function(R){R.emit("merge2UnpipeEnd")}),t.length&&S.apply(null,t),v}function jd(r,t){if(Array.isArray(r))for(let e=0,u=r.length;e<u;e++)r[e]=jd(r[e],t);else{if(!r._readableState&&r.pipe&&(r=r.pipe(bd(t))),!r._readableState||!r.pause||!r.pipe)throw new Error("Only readable stream can be merged.");r.pause()}return r}});var Sd=Y(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.merge=void 0;var Jj=kd();function Zj(r){let t=Jj(r);return r.forEach(e=>{e.once("error",u=>t.emit("error",u))}),t.once("close",()=>Cd(r)),t.once("end",()=>Cd(r)),t}Li.merge=Zj;function Cd(r){r.forEach(t=>t.emit("close"))}});var Ed=Y(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});mr.isEmpty=mr.isString=void 0;function e0(r){return typeof r=="string"}mr.isString=e0;function t0(r){return r===""}mr.isEmpty=t0});var St=Y(Je=>{"use strict";Object.defineProperty(Je,"__esModule",{value:!0});Je.string=Je.stream=Je.pattern=Je.path=Je.fs=Je.errno=Je.array=void 0;var r0=Kf();Je.array=r0;var i0=Vf();Je.errno=i0;var n0=Yf();Je.fs=n0;var a0=Qf();Je.path=a0;var s0=gd();Je.pattern=s0;var o0=Sd();Je.stream=o0;var u0=Ed();Je.string=u0});var Td=Y(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});Ze.convertPatternGroupToTask=Ze.convertPatternGroupsToTasks=Ze.groupPatternsByBaseDirectory=Ze.getNegativePatternsAsPositive=Ze.getPositivePatterns=Ze.convertPatternsToTasks=Ze.generate=void 0;var Et=St();function l0(r,t){let e=Ad(r),u=Rd(r,t.ignore),d=e.filter(A=>Et.pattern.isStaticPattern(A,t)),y=e.filter(A=>Et.pattern.isDynamicPattern(A,t)),v=Fs(d,u,!1),S=Fs(y,u,!0);return v.concat(S)}Ze.generate=l0;function Fs(r,t,e){let u=[],d=Et.pattern.getPatternsOutsideCurrentDirectory(r),y=Et.pattern.getPatternsInsideCurrentDirectory(r),v=Ns(d),S=Ns(y);return u.push(...Ms(v,t,e)),"."in S?u.push(Is(".",y,t,e)):u.push(...Ms(S,t,e)),u}Ze.convertPatternsToTasks=Fs;function Ad(r){return Et.pattern.getPositivePatterns(r)}Ze.getPositivePatterns=Ad;function Rd(r,t){return Et.pattern.getNegativePatterns(r).concat(t).map(Et.pattern.convertToPositivePattern)}Ze.getNegativePatternsAsPositive=Rd;function Ns(r){let t={};return r.reduce((e,u)=>{let d=Et.pattern.getBaseDirectory(u);return d in e?e[d].push(u):e[d]=[u],e},t)}Ze.groupPatternsByBaseDirectory=Ns;function Ms(r,t,e){return Object.keys(r).map(u=>Is(u,r[u],t,e))}Ze.convertPatternGroupsToTasks=Ms;function Is(r,t,e,u){return{dynamic:u,positive:t,negative:e,base:r,patterns:[].concat(t,e.map(Et.pattern.convertToNegativePattern))}}Ze.convertPatternGroupToTask=Is});var Pd=Y(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.removeDuplicateSlashes=vr.transform=void 0;var c0=/(?!^)\/{2,}/g;function f0(r){return r.map(t=>Dd(t))}vr.transform=f0;function Dd(r){return r.replace(c0,"/")}vr.removeDuplicateSlashes=Dd});var Od=Y(Ui=>{"use strict";Object.defineProperty(Ui,"__esModule",{value:!0});Ui.read=void 0;function _0(r,t,e){t.fs.lstat(r,(u,d)=>{if(u!==null){xd(e,u);return}if(!d.isSymbolicLink()||!t.followSymbolicLink){Bs(e,d);return}t.fs.stat(r,(y,v)=>{if(y!==null){if(t.throwErrorOnBrokenSymbolicLink){xd(e,y);return}Bs(e,d);return}t.markSymbolicLink&&(v.isSymbolicLink=()=>!0),Bs(e,v)})})}Ui.read=_0;function xd(r,t){r(t)}function Bs(r,t){r(null,t)}});var Fd=Y(Hi=>{"use strict";Object.defineProperty(Hi,"__esModule",{value:!0});Hi.read=void 0;function d0(r,t){let e=t.fs.lstatSync(r);if(!e.isSymbolicLink()||!t.followSymbolicLink)return e;try{let u=t.fs.statSync(r);return t.markSymbolicLink&&(u.isSymbolicLink=()=>!0),u}catch(u){if(!t.throwErrorOnBrokenSymbolicLink)return e;throw u}}Hi.read=d0});var Nd=Y(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.createFileSystemAdapter=Pt.FILE_SYSTEM_ADAPTER=void 0;var qi=require("fs");Pt.FILE_SYSTEM_ADAPTER={lstat:qi.lstat,stat:qi.stat,lstatSync:qi.lstatSync,statSync:qi.statSync};function p0(r){return r===void 0?Pt.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Pt.FILE_SYSTEM_ADAPTER),r)}Pt.createFileSystemAdapter=p0});var Md=Y(Us=>{"use strict";Object.defineProperty(Us,"__esModule",{value:!0});var y0=Nd(),Ls=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=y0.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,e){return t??e}};Us.default=Ls});var Kt=Y(xt=>{"use strict";Object.defineProperty(xt,"__esModule",{value:!0});xt.statSync=xt.stat=xt.Settings=void 0;var Id=Od(),h0=Fd(),Hs=Md();xt.Settings=Hs.default;function m0(r,t,e){if(typeof t=="function"){Id.read(r,qs(),t);return}Id.read(r,qs(t),e)}xt.stat=m0;function v0(r,t){let e=qs(t);return h0.read(r,e)}xt.statSync=v0;function qs(r={}){return r instanceof Hs.default?r:new Hs.default(r)}});var Ud=Y((Xk,Ld)=>{var Bd;Ld.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):r=>(Bd||(Bd=Promise.resolve())).then(r).catch(t=>setTimeout(()=>{throw t},0))});var qd=Y((Jk,Hd)=>{Hd.exports=b0;var g0=Ud();function b0(r,t){let e,u,d,y=!0;Array.isArray(r)?(e=[],u=r.length):(d=Object.keys(r),e={},u=d.length);function v(A){function I(){t&&t(A,e),t=null}y?g0(I):I()}function S(A,I,R){e[A]=R,(--u===0||I)&&v(I)}u?d?d.forEach(function(A){r[A](function(I,R){S(A,I,R)})}):r.forEach(function(A,I){A(function(R,U){S(I,R,U)})}):v(null),y=!1}});var Ws=Y($i=>{"use strict";Object.defineProperty($i,"__esModule",{value:!0});$i.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Wi=process.versions.node.split(".");if(Wi[0]===void 0||Wi[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var Wd=Number.parseInt(Wi[0],10),j0=Number.parseInt(Wi[1],10),$d=10,w0=10,k0=Wd>$d,C0=Wd===$d&&j0>=w0;$i.IS_SUPPORT_READDIR_WITH_FILE_TYPES=k0||C0});var Gd=Y(Gi=>{"use strict";Object.defineProperty(Gi,"__esModule",{value:!0});Gi.createDirentFromStats=void 0;var $s=class{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}};function S0(r,t){return new $s(r,t)}Gi.createDirentFromStats=S0});var Gs=Y(Ki=>{"use strict";Object.defineProperty(Ki,"__esModule",{value:!0});Ki.fs=void 0;var E0=Gd();Ki.fs=E0});var Ks=Y(Vi=>{"use strict";Object.defineProperty(Vi,"__esModule",{value:!0});Vi.joinPathSegments=void 0;function A0(r,t,e){return r.endsWith(e)?r+t:r+e+t}Vi.joinPathSegments=A0});var Xd=Y(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.readdir=Ot.readdirWithFileTypes=Ot.read=void 0;var R0=Kt(),Kd=qd(),T0=Ws(),Vd=Gs(),Yd=Ks();function D0(r,t,e){if(!t.stats&&T0.IS_SUPPORT_READDIR_WITH_FILE_TYPES){Qd(r,t,e);return}zd(r,t,e)}Ot.read=D0;function Qd(r,t,e){t.fs.readdir(r,{withFileTypes:!0},(u,d)=>{if(u!==null){Yi(e,u);return}let y=d.map(S=>({dirent:S,name:S.name,path:Yd.joinPathSegments(r,S.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){Vs(e,y);return}let v=y.map(S=>P0(S,t));Kd(v,(S,A)=>{if(S!==null){Yi(e,S);return}Vs(e,A)})})}Ot.readdirWithFileTypes=Qd;function P0(r,t){return e=>{if(!r.dirent.isSymbolicLink()){e(null,r);return}t.fs.stat(r.path,(u,d)=>{if(u!==null){if(t.throwErrorOnBrokenSymbolicLink){e(u);return}e(null,r);return}r.dirent=Vd.fs.createDirentFromStats(r.name,d),e(null,r)})}}function zd(r,t,e){t.fs.readdir(r,(u,d)=>{if(u!==null){Yi(e,u);return}let y=d.map(v=>{let S=Yd.joinPathSegments(r,v,t.pathSegmentSeparator);return A=>{R0.stat(S,t.fsStatSettings,(I,R)=>{if(I!==null){A(I);return}let U={name:v,path:S,dirent:Vd.fs.createDirentFromStats(v,R)};t.stats&&(U.stats=R),A(null,U)})}});Kd(y,(v,S)=>{if(v!==null){Yi(e,v);return}Vs(e,S)})})}Ot.readdir=zd;function Yi(r,t){r(t)}function Vs(r,t){r(null,t)}});var rp=Y(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.readdir=Ft.readdirWithFileTypes=Ft.read=void 0;var x0=Kt(),O0=Ws(),Jd=Gs(),Zd=Ks();function F0(r,t){return!t.stats&&O0.IS_SUPPORT_READDIR_WITH_FILE_TYPES?ep(r,t):tp(r,t)}Ft.read=F0;function ep(r,t){return t.fs.readdirSync(r,{withFileTypes:!0}).map(u=>{let d={dirent:u,name:u.name,path:Zd.joinPathSegments(r,u.name,t.pathSegmentSeparator)};if(d.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let y=t.fs.statSync(d.path);d.dirent=Jd.fs.createDirentFromStats(d.name,y)}catch(y){if(t.throwErrorOnBrokenSymbolicLink)throw y}return d})}Ft.readdirWithFileTypes=ep;function tp(r,t){return t.fs.readdirSync(r).map(u=>{let d=Zd.joinPathSegments(r,u,t.pathSegmentSeparator),y=x0.statSync(d,t.fsStatSettings),v={name:u,path:d,dirent:Jd.fs.createDirentFromStats(u,y)};return t.stats&&(v.stats=y),v})}Ft.readdir=tp});var ip=Y(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.createFileSystemAdapter=Nt.FILE_SYSTEM_ADAPTER=void 0;var gr=require("fs");Nt.FILE_SYSTEM_ADAPTER={lstat:gr.lstat,stat:gr.stat,lstatSync:gr.lstatSync,statSync:gr.statSync,readdir:gr.readdir,readdirSync:gr.readdirSync};function N0(r){return r===void 0?Nt.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Nt.FILE_SYSTEM_ADAPTER),r)}Nt.createFileSystemAdapter=N0});var np=Y(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});var M0=require("path"),I0=Kt(),B0=ip(),Ys=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=B0.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,M0.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new I0.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return t??e}};Qs.default=Ys});var Qi=Y(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});Mt.Settings=Mt.scandirSync=Mt.scandir=void 0;var ap=Xd(),L0=rp(),zs=np();Mt.Settings=zs.default;function U0(r,t,e){if(typeof t=="function"){ap.read(r,Xs(),t);return}ap.read(r,Xs(t),e)}Mt.scandir=U0;function H0(r,t){let e=Xs(t);return L0.read(r,e)}Mt.scandirSync=H0;function Xs(r={}){return r instanceof zs.default?r:new zs.default(r)}});var op=Y((uC,sp)=>{"use strict";function q0(r){var t=new r,e=t;function u(){var y=t;return y.next?t=y.next:(t=new r,e=t),y.next=null,y}function d(y){e.next=y,e=y}return{get:u,release:d}}sp.exports=q0});var lp=Y((lC,Js)=>{"use strict";var W0=op();function up(r,t,e){if(typeof r=="function"&&(e=t,t=r,r=null),e<1)throw new Error("fastqueue concurrency must be greater than 1");var u=W0($0),d=null,y=null,v=0,S=null,A={push:z,drain:ct,saturated:ct,pause:R,paused:!1,concurrency:e,running:I,resume:fe,idle:K,length:U,getQueue:P,unshift:Z,empty:ct,kill:be,killAndDrain:he,error:Ae};return A;function I(){return v}function R(){A.paused=!0}function U(){for(var ne=d,we=0;ne;)ne=ne.next,we++;return we}function P(){for(var ne=d,we=[];ne;)we.push(ne.value),ne=ne.next;return we}function fe(){if(!!A.paused){A.paused=!1;for(var ne=0;ne<A.concurrency;ne++)v++,oe()}}function K(){return v===0&&A.length()===0}function z(ne,we){var J=u.get();J.context=r,J.release=oe,J.value=ne,J.callback=we||ct,J.errorHandler=S,v===A.concurrency||A.paused?y?(y.next=J,y=J):(d=J,y=J,A.saturated()):(v++,t.call(r,J.value,J.worked))}function Z(ne,we){var J=u.get();J.context=r,J.release=oe,J.value=ne,J.callback=we||ct,v===A.concurrency||A.paused?d?(J.next=d,d=J):(d=J,y=J,A.saturated()):(v++,t.call(r,J.value,J.worked))}function oe(ne){ne&&u.release(ne);var we=d;we?A.paused?v--:(y===d&&(y=null),d=we.next,we.next=null,t.call(r,we.value,we.worked),y===null&&A.empty()):--v===0&&A.drain()}function be(){d=null,y=null,A.drain=ct}function he(){d=null,y=null,A.drain(),A.drain=ct}function Ae(ne){S=ne}}function ct(){}function $0(){this.value=null,this.callback=ct,this.next=null,this.release=ct,this.context=null,this.errorHandler=null;var r=this;this.worked=function(e,u){var d=r.callback,y=r.errorHandler,v=r.value;r.value=null,r.callback=ct,r.errorHandler&&y(e,v),d.call(r.context,e,u),r.release(r)}}function G0(r,t,e){typeof r=="function"&&(e=t,t=r,r=null);function u(R,U){t.call(this,R).then(function(P){U(null,P)},U)}var d=up(r,u,e),y=d.push,v=d.unshift;return d.push=S,d.unshift=A,d.drained=I,d;function S(R){var U=new Promise(function(P,fe){y(R,function(K,z){if(K){fe(K);return}P(z)})});return U.catch(ct),U}function A(R){var U=new Promise(function(P,fe){v(R,function(K,z){if(K){fe(K);return}P(z)})});return U.catch(ct),U}function I(){var R=d.drain,U=new Promise(function(P){d.drain=function(){R(),P()}});return U}}Js.exports=up;Js.exports.promise=G0});var zi=Y(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.joinPathSegments=vt.replacePathSegmentSeparator=vt.isAppliedFilter=vt.isFatalError=void 0;function K0(r,t){return r.errorFilter===null?!0:!r.errorFilter(t)}vt.isFatalError=K0;function V0(r,t){return r===null||r(t)}vt.isAppliedFilter=V0;function Y0(r,t){return r.split(/[/\\]/).join(t)}vt.replacePathSegmentSeparator=Y0;function Q0(r,t,e){return r===""?t:r.endsWith(e)?r+t:r+e+t}vt.joinPathSegments=Q0});var to=Y(eo=>{"use strict";Object.defineProperty(eo,"__esModule",{value:!0});var z0=zi(),Zs=class{constructor(t,e){this._root=t,this._settings=e,this._root=z0.replacePathSegmentSeparator(t,e.pathSegmentSeparator)}};eo.default=Zs});var no=Y(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var X0=require("events"),J0=Qi(),Z0=lp(),Xi=zi(),ew=to(),ro=class extends ew.default{constructor(t,e){super(t,e),this._settings=e,this._scandir=J0.scandir,this._emitter=new X0.EventEmitter,this._queue=Z0(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(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,e){let u={directory:t,base:e};this._queue.push(u,d=>{d!==null&&this._handleError(d)})}_worker(t,e){this._scandir(t.directory,this._settings.fsScandirSettings,(u,d)=>{if(u!==null){e(u,void 0);return}for(let y of d)this._handleEntry(y,t.base);e(null,void 0)})}_handleError(t){this._isDestroyed||!Xi.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,e){if(this._isDestroyed||this._isFatalError)return;let u=t.path;e!==void 0&&(t.path=Xi.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),Xi.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&Xi.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(u,e===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};io.default=ro});var cp=Y(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});var tw=no(),ao=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new tw.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(e=>{rw(t,e)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{iw(t,this._storage)}),this._reader.read()}};so.default=ao;function rw(r,t){r(t)}function iw(r,t){r(null,t)}});var fp=Y(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});var nw=require("stream"),aw=no(),oo=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new aw.default(this._root,this._settings),this._stream=new nw.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};uo.default=oo});var _p=Y(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});var sw=Qi(),Ji=zi(),ow=to(),lo=class extends ow.default{constructor(){super(...arguments),this._scandir=sw.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,e){this._queue.add({directory:t,base:e})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,e){try{let u=this._scandir(t,this._settings.fsScandirSettings);for(let d of u)this._handleEntry(d,e)}catch(u){this._handleError(u)}}_handleError(t){if(!!Ji.isFatalError(this._settings,t))throw t}_handleEntry(t,e){let u=t.path;e!==void 0&&(t.path=Ji.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),Ji.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&Ji.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(u,e===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};co.default=lo});var dp=Y(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});var uw=_p(),fo=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new uw.default(this._root,this._settings)}read(){return this._reader.read()}};_o.default=fo});var pp=Y(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});var lw=require("path"),cw=Qi(),po=class{constructor(t={}){this._options=t,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,lw.sep),this.fsScandirSettings=new cw.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return t??e}};yo.default=po});var mo=Y(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.Settings=gt.walkStream=gt.walkSync=gt.walk=void 0;var yp=cp(),fw=fp(),_w=dp(),ho=pp();gt.Settings=ho.default;function dw(r,t,e){if(typeof t=="function"){new yp.default(r,Zi()).read(t);return}new yp.default(r,Zi(t)).read(e)}gt.walk=dw;function pw(r,t){let e=Zi(t);return new _w.default(r,e).read()}gt.walkSync=pw;function yw(r,t){let e=Zi(t);return new fw.default(r,e).read()}gt.walkStream=yw;function Zi(r={}){return r instanceof ho.default?r:new ho.default(r)}});var bo=Y(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});var hw=require("path"),mw=Kt(),hp=St(),vo=class{constructor(t){this._settings=t,this._fsStatSettings=new mw.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return hw.resolve(this._settings.cwd,t)}_makeEntry(t,e){let u={name:e,path:e,dirent:hp.fs.createDirentFromStats(e,t)};return this._settings.stats&&(u.stats=t),u}_isFatalError(t){return!hp.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};go.default=vo});var ko=Y(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});var vw=require("stream"),gw=Kt(),bw=mo(),jw=bo(),jo=class extends jw.default{constructor(){super(...arguments),this._walkStream=bw.walkStream,this._stat=gw.stat}dynamic(t,e){return this._walkStream(t,e)}static(t,e){let u=t.map(this._getFullEntryPath,this),d=new vw.PassThrough({objectMode:!0});d._write=(y,v,S)=>this._getEntry(u[y],t[y],e).then(A=>{A!==null&&e.entryFilter(A)&&d.push(A),y===u.length-1&&d.end(),S()}).catch(S);for(let y=0;y<u.length;y++)d.write(y);return d}_getEntry(t,e,u){return this._getStat(t).then(d=>this._makeEntry(d,e)).catch(d=>{if(u.errorFilter(d))return null;throw d})}_getStat(t){return new Promise((e,u)=>{this._stat(t,this._fsStatSettings,(d,y)=>d===null?e(y):u(d))})}};wo.default=jo});var mp=Y(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});var br=St(),Co=class{constructor(t,e,u){this._patterns=t,this._settings=e,this._micromatchOptions=u,this._storage=[],this._fillStorage()}_fillStorage(){let t=br.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let e of t){let u=this._getPatternSegments(e),d=this._splitSegmentsIntoSections(u);this._storage.push({complete:d.length<=1,pattern:e,segments:u,sections:d})}}_getPatternSegments(t){return br.pattern.getPatternParts(t,this._micromatchOptions).map(u=>br.pattern.isDynamicPattern(u,this._settings)?{dynamic:!0,pattern:u,patternRe:br.pattern.makeRe(u,this._micromatchOptions)}:{dynamic:!1,pattern:u})}_splitSegmentsIntoSections(t){return br.array.splitWhen(t,e=>e.dynamic&&br.pattern.hasGlobStar(e.pattern))}};So.default=Co});var vp=Y(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var ww=mp(),Eo=class extends ww.default{match(t){let e=t.split("/"),u=e.length,d=this._storage.filter(y=>!y.complete||y.segments.length>u);for(let y of d){let v=y.sections[0];if(!y.complete&&u>v.length||e.every((A,I)=>{let R=y.segments[I];return!!(R.dynamic&&R.patternRe.test(A)||!R.dynamic&&R.pattern===A)}))return!0}return!1}};Ao.default=Eo});var gp=Y(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});var en=St(),kw=vp(),Ro=class{constructor(t,e){this._settings=t,this._micromatchOptions=e}getFilter(t,e,u){let d=this._getMatcher(e),y=this._getNegativePatternsRe(u);return v=>this._filter(t,v,d,y)}_getMatcher(t){return new kw.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let e=t.filter(en.pattern.isAffectDepthOfReadingPattern);return en.pattern.convertPatternsToRe(e,this._micromatchOptions)}_filter(t,e,u,d){if(this._isSkippedByDeep(t,e.path)||this._isSkippedSymbolicLink(e))return!1;let y=en.path.removeLeadingDotSegment(e.path);return this._isSkippedByPositivePatterns(y,u)?!1:this._isSkippedByNegativePatterns(y,d)}_isSkippedByDeep(t,e){return this._settings.deep===1/0?!1:this._getEntryLevel(t,e)>=this._settings.deep}_getEntryLevel(t,e){let u=e.split("/").length;if(t==="")return u;let d=t.split("/").length;return u-d}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,e){return!this._settings.baseNameMatch&&!e.match(t)}_isSkippedByNegativePatterns(t,e){return!en.pattern.matchAny(t,e)}};To.default=Ro});var bp=Y(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});var Vt=St(),Do=class{constructor(t,e){this._settings=t,this._micromatchOptions=e,this.index=new Map}getFilter(t,e){let u=Vt.pattern.convertPatternsToRe(t,this._micromatchOptions),d=Vt.pattern.convertPatternsToRe(e,this._micromatchOptions);return y=>this._filter(y,u,d)}_filter(t,e,u){if(this._settings.unique&&this._isDuplicateEntry(t)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(t.path,u))return!1;let d=this._settings.baseNameMatch?t.name:t.path,y=this._isMatchToPatterns(d,e)&&!this._isMatchToPatterns(t.path,u);return this._settings.unique&&y&&this._createIndexRecord(t),y}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,e){if(!this._settings.absolute)return!1;let u=Vt.path.makeAbsolute(this._settings.cwd,t);return Vt.pattern.matchAny(u,e)}_isMatchToPatterns(t,e){let u=Vt.path.removeLeadingDotSegment(t);return Vt.pattern.matchAny(u,e)||Vt.pattern.matchAny(u+"/",e)}};Po.default=Do});var jp=Y(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var Cw=St(),xo=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return Cw.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Oo.default=xo});var kp=Y(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});var wp=St(),Fo=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let e=t.path;return this._settings.absolute&&(e=wp.path.makeAbsolute(this._settings.cwd,e),e=wp.path.unixify(e)),this._settings.markDirectories&&t.dirent.isDirectory()&&(e+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:e}):e}};No.default=Fo});var tn=Y(Io=>{"use strict";Object.defineProperty(Io,"__esModule",{value:!0});var Sw=require("path"),Ew=gp(),Aw=bp(),Rw=jp(),Tw=kp(),Mo=class{constructor(t){this._settings=t,this.errorFilter=new Rw.default(this._settings),this.entryFilter=new Aw.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new Ew.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new Tw.default(this._settings)}_getRootDirectory(t){return Sw.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let e=t.base==="."?"":t.base;return{basePath:e,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(e,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.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}}};Io.default=Mo});var Cp=Y(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});var Dw=ko(),Pw=tn(),Bo=class extends Pw.default{constructor(){super(...arguments),this._reader=new Dw.default(this._settings)}read(t){let e=this._getRootDirectory(t),u=this._getReaderOptions(t),d=[];return new Promise((y,v)=>{let S=this.api(e,t,u);S.once("error",v),S.on("data",A=>d.push(u.transform(A))),S.once("end",()=>y(d))})}api(t,e,u){return e.dynamic?this._reader.dynamic(t,u):this._reader.static(e.patterns,u)}};Lo.default=Bo});var Sp=Y(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});var xw=require("stream"),Ow=ko(),Fw=tn(),Uo=class extends Fw.default{constructor(){super(...arguments),this._reader=new Ow.default(this._settings)}read(t){let e=this._getRootDirectory(t),u=this._getReaderOptions(t),d=this.api(e,t,u),y=new xw.Readable({objectMode:!0,read:()=>{}});return d.once("error",v=>y.emit("error",v)).on("data",v=>y.emit("data",u.transform(v))).once("end",()=>y.emit("end")),y.once("close",()=>d.destroy()),y}api(t,e,u){return e.dynamic?this._reader.dynamic(t,u):this._reader.static(e.patterns,u)}};Ho.default=Uo});var Ep=Y(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});var Nw=Kt(),Mw=mo(),Iw=bo(),qo=class extends Iw.default{constructor(){super(...arguments),this._walkSync=Mw.walkSync,this._statSync=Nw.statSync}dynamic(t,e){return this._walkSync(t,e)}static(t,e){let u=[];for(let d of t){let y=this._getFullEntryPath(d),v=this._getEntry(y,d,e);v===null||!e.entryFilter(v)||u.push(v)}return u}_getEntry(t,e,u){try{let d=this._getStat(t);return this._makeEntry(d,e)}catch(d){if(u.errorFilter(d))return null;throw d}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};Wo.default=qo});var Ap=Y(Go=>{"use strict";Object.defineProperty(Go,"__esModule",{value:!0});var Bw=Ep(),Lw=tn(),$o=class extends Lw.default{constructor(){super(...arguments),this._reader=new Bw.default(this._settings)}read(t){let e=this._getRootDirectory(t),u=this._getReaderOptions(t);return this.api(e,t,u).map(u.transform)}api(t,e,u){return e.dynamic?this._reader.dynamic(t,u):this._reader.static(e.patterns,u)}};Go.default=$o});var Rp=Y(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var jr=require("fs"),Uw=require("os"),Hw=Math.max(Uw.cpus().length,1);wr.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:jr.lstat,lstatSync:jr.lstatSync,stat:jr.stat,statSync:jr.statSync,readdir:jr.readdir,readdirSync:jr.readdirSync};var Ko=class{constructor(t={}){this._options=t,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,Hw),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)}_getValue(t,e){return t===void 0?e:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},wr.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};wr.default=Ko});var xp=Y((OC,Pp)=>{"use strict";var Tp=Td(),Dp=Pd(),qw=Cp(),Ww=Sp(),$w=Ap(),Vo=Rp(),Yt=St();async function Yo(r,t){kr(r);let e=Qo(r,qw.default,t),u=await Promise.all(e);return Yt.array.flatten(u)}(function(r){function t(v,S){kr(v);let A=Qo(v,$w.default,S);return Yt.array.flatten(A)}r.sync=t;function e(v,S){kr(v);let A=Qo(v,Ww.default,S);return Yt.stream.merge(A)}r.stream=e;function u(v,S){kr(v);let A=Dp.transform([].concat(v)),I=new Vo.default(S);return Tp.generate(A,I)}r.generateTasks=u;function d(v,S){kr(v);let A=new Vo.default(S);return Yt.pattern.isDynamicPattern(v,A)}r.isDynamicPattern=d;function y(v){return kr(v),Yt.path.escape(v)}r.escapePath=y})(Yo||(Yo={}));function Qo(r,t,e){let u=Dp.transform([].concat(r)),d=new Vo.default(e),y=Tp.generate(u,d),v=new t(d);return y.map(v.read,v)}function kr(r){if(![].concat(r).every(u=>Yt.string.isString(u)&&!Yt.string.isEmpty(u)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Pp.exports=Yo});var Yw={};Ag(Yw,{ConsoleLogger:()=>as,DEFAULT_RUNTIME:()=>is,DuckDBBindingsBase:()=>Wr,DuckDBConnection:()=>Ur,DuckDBDataProtocol:()=>rs,DuckDBFeature:()=>If,FileFlags:()=>Mf,FileStatistics:()=>qr,JSONTableShape:()=>Bf,LogEvent:()=>Hf,LogLevel:()=>Lf,LogOrigin:()=>qf,LogTopic:()=>Uf,NODE_RUNTIME:()=>We,PACKAGE_NAME:()=>ss,PACKAGE_VERSION:()=>os,PACKAGE_VERSION_MAJOR:()=>Lg,PACKAGE_VERSION_MINOR:()=>Ug,PACKAGE_VERSION_PATCH:()=>Hg,PreparedStatement:()=>Ci,ResultStreamIterator:()=>Hr,StatusCode:()=>Pf,VoidLogger:()=>ns,callSRet:()=>je,copyBuffer:()=>Tt,createDuckDB:()=>Vw,decodeText:()=>Rt,dropResponseBuffers:()=>De,failWith:()=>Ee,getJsDelivrBundles:()=>$g,getLogEventLabel:()=>xg,getLogLevelLabel:()=>Pg,getLogOriginLabel:()=>Fg,getLogTopicLabel:()=>Og,getPlatformFeatures:()=>Ti,isFirefox:()=>qg,isNode:()=>ps,isSafari:()=>Wg,readString:()=>_e,selectBundle:()=>Gg});module.exports=Rg(Yw);var pt=_r(require("apache-arrow")),Ur=class{constructor(t,e){this._bindings=t,this._conn=e}close(){this._bindings.disconnect(this._conn)}useUnsafe(t){return t(this._bindings,this._conn)}query(t){let e=this._bindings.runQuery(this._conn,t),u=pt.RecordBatchReader.from(e);return console.assert(u.isSync()),console.assert(u.isFile()),new pt.Table(u)}async send(t){let e=this._bindings.startPendingQuery(this._conn,t);for(;e==null;)e=await new Promise((y,v)=>{try{y(this._bindings.pollPendingQuery(this._conn))}catch(S){v(S)}});let u=new Hr(this._bindings,this._conn,e),d=pt.RecordBatchReader.from(u);return console.assert(d.isSync()),console.assert(d.isStream()),d}cancelSent(){return this._bindings.cancelPendingQuery(this._conn)}getTableNames(t){return this._bindings.getTableNames(this._conn,t)}prepare(t){let e=this._bindings.createPrepared(this._conn,t);return new Ci(this._bindings,this._conn,e)}createScalarFunction(t,e,u){this._bindings.createScalarFunction(this._conn,t,e,u)}insertArrowTable(t,e){let u=pt.tableToIPC(t,"stream");this.insertArrowFromIPCStream(u,e)}insertArrowFromIPCStream(t,e){this._bindings.insertArrowFromIPCStream(this._conn,t,e)}insertCSVFromPath(t,e){this._bindings.insertCSVFromPath(this._conn,t,e)}insertJSONFromPath(t,e){this._bindings.insertJSONFromPath(this._conn,t,e)}},Hr=class{constructor(t,e,u){this.bindings=t;this.conn=e;this.header=u;this._first=!0,this._depleted=!1}next(){if(this._first)return this._first=!1,{done:!1,value:this.header};if(this._depleted)return{done:!0,value:null};let t=this.bindings.fetchQueryResults(this.conn);return this._depleted=t.length==0,{done:this._depleted,value:t}}[Symbol.iterator](){return this}},Ci=class{constructor(t,e,u){this.bindings=t,this.connectionId=e,this.statementId=u}close(){this.bindings.closePrepared(this.connectionId,this.statementId)}query(...t){let e=this.bindings.runPrepared(this.connectionId,this.statementId,t),u=pt.RecordBatchReader.from(e);return console.assert(u.isSync()),console.assert(u.isFile()),new pt.Table(u)}send(...t){let e=this.bindings.sendPrepared(this.connectionId,this.statementId,t),u=new Hr(this.bindings,this.connectionId,e),d=pt.RecordBatchReader.from(u);return console.assert(d.isSync()),console.assert(d.isStream()),d}};var Pf=(t=>(t[t.SUCCESS=0]="SUCCESS",t))(Pf||{});var Ff=new TextEncoder,xf=new TextDecoder("utf-8");function Za(r,t,e){let u=Ff.encode(e),d=r._malloc(u.byteLength),y=r.HEAPU8.subarray(d,d+u.byteLength);y.set(u),r.HEAPF64[(t>>3)+0]=1,r.HEAPF64[(t>>3)+1]=d,r.HEAPF64[(t>>3)+2]=y.byteLength}function ts(r){switch(r){case"UINT8":case"INT8":return 1;case"INT32":case"FLOAT":return 4;case"INT64":case"UINT64":case"DOUBLE":case"VARCHAR":return 8;default:return 0}}function es(r,t,e,u){let d=r.HEAPU8.subarray(t,t+u*ts(e));switch(e){case"UINT8":return new Uint8Array(d.buffer,d.byteOffset,u);case"INT8":return new Int8Array(d.buffer,d.byteOffset,u);case"INT32":return new Int32Array(d.buffer,d.byteOffset,u);case"FLOAT":return new Float32Array(d.buffer,d.byteOffset,u);case"DOUBLE":return new Float64Array(d.buffer,d.byteOffset,u);case"VARCHAR":return new Float64Array(d.buffer,d.byteOffset,u);default:return new Array(0)}}function Of(r,t,e){let u=r.HEAPU8.subarray(t,t+e);return new Uint8Array(u.buffer,u.byteOffset,e)}function Si(r,t,e){let u=r.HEAPU8.subarray(t,t+e*8);return new Float64Array(u.buffer,u.byteOffset,e)}function Ei(r,t,e,u,d,y,v,S){try{let A=r._udfFunctions.get(u);if(!A){Za(t,e,"Unknown UDF with id: "+u);return}let I=xf.decode(t.HEAPU8.subarray(d,d+y)),R=JSON.parse(I),U=Si(t,v,S/8),P=H=>{var F;let pe=null;switch(H.validityBuffer!==void 0&&(pe=Of(t,U[H.validityBuffer],R.rows)),H.physicalType){case"VARCHAR":{if(H.dataBuffer===null||H.dataBuffer===void 0)throw new Error("malformed data view, expected data buffer for VARCHAR argument");if(H.lengthBuffer===null||H.lengthBuffer===void 0)throw new Error("malformed data view, expected data length buffer for VARCHAR argument");let ue=es(t,U[H.dataBuffer],H.physicalType,R.rows),ae=[],ke=Si(t,U[H.lengthBuffer],R.rows);for(let D=0;D<R.rows;++D){if(pe!=null&&!pe[D]){ae.push(null);continue}let x=t.HEAPU8.subarray(ue[D],ue[D]+ke[D]),Pe=xf.decode(x);ae.push(Pe)}return D=>ae[D]}case"STRUCT":{let ue={},ae=[];for(let ke=0;ke<(((F=H.children)==null?void 0:F.length)||0);++ke){let D=H.children[ke],x=P(D);ae.push(Pe=>{ue[D.name]=x(Pe)})}return pe!=null?ke=>{if(!pe[ke])return null;for(let D of ae)D(ke);return ue}:ke=>{for(let D of ae)D(ke);return ue}}default:{if(H.dataBuffer===void 0)throw new Error("malformed data view, expected data buffer for argument of type: "+H.physicalType);let ue=es(t,U[H.dataBuffer],H.physicalType,R.rows);return pe!=null?ae=>pe[ae]?ue[ae]:null:ae=>ue[ae]}}},fe=[];for(let H=0;H<R.args.length;++H)fe.push(P(R.args[H]));let K=R.rows*ts(R.ret.physicalType),z=t._malloc(K),Z=es(t,z,R.ret.physicalType,R.rows),oe=t._malloc(R.rows),be=Of(t,oe,R.rows);if(Z.length==0||be.length==0){Za(t,e,"Can't create physical arrays for result");return}let he=Z;R.ret.physicalType=="VARCHAR"&&(he=new Array(R.rows));let Ae=[];for(let H=0;H<R.args.length;++H)Ae.push(null);for(let H=0;H<R.rows;++H){for(let F=0;F<R.args.length;++F)Ae[F]=fe[F](H);let pe=A.func(...Ae);he[H]=pe,be[H]=pe==null?0:1}let ne=0;switch(R.ret.physicalType){case"VARCHAR":{let H=new Array(0);ne=t._malloc(R.rows*ts("DOUBLE"));let pe=Si(t,ne,R.rows),F=0;for(let D=0;D<R.rows;++D){let x=Ff.encode(he[D]||"");H.push(x),pe[D]=x.length,F+=x.length}let ue=t._malloc(F),ae=t.HEAPU8.subarray(ue,ue+F),ke=0;for(let D=0;D<R.rows;++D){Z[D]=ke;let x=H[D];ae.subarray(ke,ke+x.length).set(x),ke+=x.length}}}let we=3*8,J=t._malloc(we),ee=Si(t,J,3);ee[0]=z,ee[1]=oe,ee[2]=ne,t.HEAPF64[(e>>3)+0]=0,t.HEAPF64[(e>>3)+1]=J,t.HEAPF64[(e>>3)+2]=0}catch(A){Za(t,e,A.toString())}}function Tg(){let r=new TextDecoder;return t=>(typeof SharedArrayBuffer<"u"&&t.buffer instanceof SharedArrayBuffer&&(t=new Uint8Array(t)),r.decode(t))}var Rt=Tg();function Ee(r,t){r.ccall("duckdb_web_fail_with",null,["string"],[t])}function Tt(r,t,e){let u=r.HEAPU8.subarray(t,t+e),d=new Uint8Array(new ArrayBuffer(u.byteLength));return d.set(u),d}function _e(r,t,e){return Rt(r.HEAPU8.subarray(t,t+e))}var rs=(d=>(d[d.BUFFER=0]="BUFFER",d[d.NATIVE=1]="NATIVE",d[d.HTTP=3]="HTTP",d[d.S3=4]="S3",d))(rs||{}),Mf=(v=>(v[v.FILE_FLAGS_READ=1]="FILE_FLAGS_READ",v[v.FILE_FLAGS_WRITE=2]="FILE_FLAGS_WRITE",v[v.FILE_FLAGS_DIRECT_IO=4]="FILE_FLAGS_DIRECT_IO",v[v.FILE_FLAGS_FILE_CREATE=8]="FILE_FLAGS_FILE_CREATE",v[v.FILE_FLAGS_FILE_CREATE_NEW=16]="FILE_FLAGS_FILE_CREATE_NEW",v[v.FILE_FLAGS_APPEND=32]="FILE_FLAGS_APPEND",v))(Mf||{});function je(r,t,e,u){let d=r.stackSave(),y=r.stackAlloc(3*8);e.unshift("number"),u.unshift(y),r.ccall(t,null,e,u);let v=r.HEAPF64[(y>>3)+0],S=r.HEAPF64[(y>>3)+1],A=r.HEAPF64[(y>>3)+2];return r.stackRestore(d),[v,S,A]}function De(r){r.ccall("duckdb_web_clear_response",null,[],[])}var is={_udfFunctions:new Map,testPlatformFeature:(r,t)=>!1,openFile:(r,t,e)=>{},syncFile:(r,t)=>{},closeFile:(r,t)=>{},getLastFileModificationTime:(r,t)=>0,truncateFile:(r,t,e)=>{},readFile:(r,t,e,u,d)=>0,writeFile:(r,t,e,u,d)=>0,removeDirectory:(r,t,e)=>{},checkDirectory:(r,t,e)=>!1,createDirectory:(r,t,e)=>{},listDirectoryEntries:(r,t,e)=>!1,glob:(r,t,e)=>{},moveFile:(r,t,e,u,d)=>{},checkFile:(r,t,e)=>!1,removeFile:(r,t,e)=>{},callScalarUDF:(r,t,e,u,d,y,v)=>{Ei(is,r,t,e,u,d,y,v)}};var qr=class{constructor(t){let e=new Float64Array(t.buffer,t.byteOffset,t.byteLength/8),u=new Uint8Array(new ArrayBuffer(t.byteLength));u.set(t.subarray(7*8)),this.totalFileReadsCold=e[0],this.totalFileReadsAhead=e[1],this.totalFileReadsCached=e[2],this.totalFileWrites=e[3],this.totalPageAccesses=e[4],this.totalPageLoads=e[5],this.blockSize=e[6],this.blockStats=u}getBlockStats(t,e){return e=e||{file_reads_cold:0,file_reads_ahead:0,file_reads_cached:0,file_writes:0,page_accesses:0,page_loads:0},e.file_writes=this.blockStats[t*3+0]&15,e.file_reads_cold=this.blockStats[t*3+0]>>4,e.file_reads_ahead=this.blockStats[t*3+1]&15,e.file_reads_cached=this.blockStats[t*3+1]>>4,e.page_accesses=this.blockStats[t*3+1]&15,e.page_loads=this.blockStats[t*3+1]>>4,e}};var ye=_r(require("apache-arrow"));function dr(r){switch(r.typeId){case ye.Type.Binary:return{sqlType:"binary"};case ye.Type.Bool:return{sqlType:"bool"};case ye.Type.Date:return{sqlType:"date"};case ye.Type.DateDay:return{sqlType:"date32[d]"};case ye.Type.DateMillisecond:return{sqlType:"date64[ms]"};case ye.Type.Decimal:{let t=r;return{sqlType:"decimal",precision:t.precision,scale:t.scale}}case ye.Type.Float:return{sqlType:"float"};case ye.Type.Float16:return{sqlType:"float16"};case ye.Type.Float32:return{sqlType:"float32"};case ye.Type.Float64:return{sqlType:"float64"};case ye.Type.Int:return{sqlType:"int32"};case ye.Type.Int16:return{sqlType:"int16"};case ye.Type.Int32:return{sqlType:"int32"};case ye.Type.Int64:return{sqlType:"int64"};case ye.Type.Uint16:return{sqlType:"uint16"};case ye.Type.Uint32:return{sqlType:"uint32"};case ye.Type.Uint64:return{sqlType:"uint64"};case ye.Type.Uint8:return{sqlType:"uint8"};case ye.Type.IntervalDayTime:return{sqlType:"interval[dt]"};case ye.Type.IntervalYearMonth:return{sqlType:"interval[m]"};case ye.Type.List:return{sqlType:"list",valueType:dr(r.valueType)};case ye.Type.FixedSizeBinary:return{sqlType:"fixedsizebinary",byteWidth:r.byteWidth};case ye.Type.Null:return{sqlType:"null"};case ye.Type.Utf8:return{sqlType:"utf8"};case ye.Type.Struct:return{sqlType:"struct",fields:r.children.map(e=>Ai(e.name,e.type))};case ye.Type.Map:{let t=r;return{sqlType:"map",keyType:dr(t.keyType),valueType:dr(t.valueType)}}case ye.Type.Time:return{sqlType:"time[s]"};case ye.Type.TimeMicrosecond:return{sqlType:"time[us]"};case ye.Type.TimeMillisecond:return{sqlType:"time[ms]"};case ye.Type.TimeNanosecond:return{sqlType:"time[ns]"};case ye.Type.TimeSecond:return{sqlType:"time[s]"};case ye.Type.Timestamp:return{sqlType:"timestamp",timezone:r.timezone||void 0};case ye.Type.TimestampSecond:return{sqlType:"timestamp[s]",timezone:r.timezone||void 0};case ye.Type.TimestampMicrosecond:return{sqlType:"timestamp[us]",timezone:r.timezone||void 0};case ye.Type.TimestampNanosecond:return{sqlType:"timestamp[ns]",timezone:r.timezone||void 0};case ye.Type.TimestampMillisecond:return{sqlType:"timestamp[ms]",timezone:r.timezone||void 0}}throw new Error(`unsupported arrow type: ${r.toString()}`)}function Ai(r,t){let e=dr(t);return e.name=r,e}var Dg=new TextEncoder,If=(y=>(y[y.WASM_EXCEPTIONS=1]="WASM_EXCEPTIONS",y[y.WASM_THREADS=2]="WASM_THREADS",y[y.WASM_SIMD=4]="WASM_SIMD",y[y.WASM_BULK_MEMORY=8]="WASM_BULK_MEMORY",y[y.EMIT_BIGINT=16]="EMIT_BIGINT",y))(If||{}),Wr=class{constructor(t,e){this._instance=null;this._initPromise=null;this._initPromiseResolver=()=>{};this.onInstantiationProgress=[];this._logger=t,this._runtime=e,this._nextUDFId=1}get logger(){return this._logger}get mod(){return this._instance}get pthread(){return this.mod.PThread||null}async instantiate(t=e=>{}){return this._instance!=null?this:(this._initPromise!=null&&(this.onInstantiationProgress.push(t),await this._initPromise),this._initPromise=new Promise(e=>{this._initPromiseResolver=e}),this.onInstantiationProgress=[t],this._instance=await this.instantiateImpl({print:console.log.bind(console),printErr:console.log.bind(console),onRuntimeInitialized:this._initPromiseResolver}),await this._initPromise,this._initPromise=null,this.onInstantiationProgress=this.onInstantiationProgress.filter(e=>e!=t),this)}open(t){let[e,u,d]=je(this.mod,"duckdb_web_open",["string"],[JSON.stringify(t)]);if(e!==0)throw new Error(_e(this.mod,u,d));De(this.mod)}reset(){let[t,e,u]=je(this.mod,"duckdb_web_reset",[],[]);if(t!==0)throw new Error(_e(this.mod,e,u));De(this.mod)}getVersion(){let[t,e,u]=je(this.mod,"duckdb_web_get_version",[],[]);if(t!==0)throw new Error(_e(this.mod,e,u));let d=_e(this.mod,e,u);return De(this.mod),d}getFeatureFlags(){return this.mod.ccall("duckdb_web_get_feature_flags","number",[],[])}tokenize(t){let[e,u,d]=je(this.mod,"duckdb_web_tokenize",["string"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));let y=_e(this.mod,u,d);return De(this.mod),JSON.parse(y)}connect(){let t=this.mod.ccall("duckdb_web_connect","number",[],[]);return new Ur(this,t)}disconnect(t){if(this.mod.ccall("duckdb_web_disconnect",null,["number"],[t]),this.pthread)for(let e of[...this.pthread.runningWorkers,...this.pthread.unusedWorkers])e.postMessage({cmd:"dropUDFFunctions",connectionId:t})}runQuery(t,e){let[u,d,y]=je(this.mod,"duckdb_web_query_run",["number","string"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));let v=Tt(this.mod,d,y);return De(this.mod),v}startPendingQuery(t,e){let[u,d,y]=je(this.mod,"duckdb_web_pending_query_start",["number","string"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));if(d==0)return null;let v=Tt(this.mod,d,y);return De(this.mod),v}pollPendingQuery(t){let[e,u,d]=je(this.mod,"duckdb_web_pending_query_poll",["number"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));if(u==0)return null;let y=Tt(this.mod,u,d);return De(this.mod),y}cancelPendingQuery(t){return this.mod.ccall("duckdb_web_pending_query_cancel","boolean",["number"],[t])}fetchQueryResults(t){let[e,u,d]=je(this.mod,"duckdb_web_query_fetch_results",["number"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));let y=Tt(this.mod,u,d);return De(this.mod),y}getTableNames(t,e){let[u,d,y]=je(this.mod,"duckdb_web_get_tablenames",["number","string"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));let v=_e(this.mod,d,y);return De(this.mod),JSON.parse(v)}createScalarFunction(t,e,u,d){let y={functionId:this._nextUDFId,name:e,returnType:dr(u)},v={functionId:y.functionId,connectionId:t,name:e,returnType:u,func:d};this._nextUDFId+=1;let[S,A,I]=je(this.mod,"duckdb_web_udf_scalar_create",["number","string"],[t,JSON.stringify(y)]);if(S!==0)throw new Error(_e(this.mod,A,I));if(De(this.mod),globalThis.DUCKDB_RUNTIME._udfFunctions=(globalThis.DUCKDB_RUNTIME._udfFunctions||new Map).set(v.functionId,v),this.pthread)for(let R of[...this.pthread.runningWorkers,...this.pthread.unusedWorkers])R.postMessage({cmd:"registerUDFFunction",udf:v})}createPrepared(t,e){let[u,d,y]=je(this.mod,"duckdb_web_prepared_create",["number","string"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));return De(this.mod),d}closePrepared(t,e){let[u,d,y]=je(this.mod,"duckdb_web_prepared_close",["number","number"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));De(this.mod)}runPrepared(t,e,u){let[d,y,v]=je(this.mod,"duckdb_web_prepared_run",["number","number","string"],[t,e,JSON.stringify(u)]);if(d!==0)throw new Error(_e(this.mod,y,v));let S=Tt(this.mod,y,v);return De(this.mod),S}sendPrepared(t,e,u){let[d,y,v]=je(this.mod,"duckdb_web_prepared_send",["number","number","string"],[t,e,JSON.stringify(u)]);if(d!==0)throw new Error(_e(this.mod,y,v));let S=Tt(this.mod,y,v);return De(this.mod),S}insertArrowFromIPCStream(t,e,u){if(e.length==0)return;let d=this.mod._malloc(e.length);this.mod.HEAPU8.subarray(d,d+e.length).set(e);let v=u?JSON.stringify(u):"",[S,A,I]=je(this.mod,"duckdb_web_insert_arrow_from_ipc_stream",["number","number","number","string"],[t,d,e.length,v]);if(S!==0)throw new Error(_e(this.mod,A,I))}insertCSVFromPath(t,e,u){if(u.columns!==void 0){u.columnsFlat=[];for(let I in u.columns)u.columnsFlat.push(Ai(I,u.columns[I]))}let d={...u};d.columns=d.columnsFlat,delete d.columnsFlat;let y=JSON.stringify(d),[v,S,A]=je(this.mod,"duckdb_web_insert_csv_from_path",["number","string","string"],[t,e,y]);if(v!==0)throw new Error(_e(this.mod,S,A))}insertJSONFromPath(t,e,u){if(u.columns!==void 0){u.columnsFlat=[];for(let I in u.columns)u.columnsFlat.push(Ai(I,u.columns[I]))}let d={...u};d.columns=d.columnsFlat,delete d.columnsFlat;let y=JSON.stringify(d),[v,S,A]=je(this.mod,"duckdb_web_insert_json_from_path",["number","string","string"],[t,e,y]);if(v!==0)throw new Error(_e(this.mod,S,A))}globFiles(t){let[e,u,d]=je(this.mod,"duckdb_web_fs_glob_file_infos",["string"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));let y=_e(this.mod,u,d);De(this.mod);let v=JSON.parse(y);return v??[]}registerFileURL(t,e){e===void 0&&(e=t);let[u,d,y]=je(this.mod,"duckdb_web_fs_register_file_url",["string","string","number"],[t,e,-1]);if(u!==0)throw new Error(_e(this.mod,d,y));De(this.mod)}registerFileText(t,e){let u=Dg.encode(e);this.registerFileBuffer(t,u)}registerFileBuffer(t,e){let u=this.mod._malloc(e.length);this.mod.HEAPU8.subarray(u,u+e.length).set(e);let[y,v,S]=je(this.mod,"duckdb_web_fs_register_file_buffer",["string","number","number"],[t,u,e.length]);if(y!==0)throw new Error(_e(this.mod,v,S));De(this.mod)}registerFileHandle(t,e){let[u,d,y]=je(this.mod,"duckdb_web_fs_register_file_url",["string","string","number"],[t,t,-1]);if(u!==0)throw new Error(_e(this.mod,d,y));if(De(this.mod),globalThis.DUCKDB_RUNTIME._files=(globalThis.DUCKDB_RUNTIME._files||new Map).set(t,e),this.pthread){for(let v of this.pthread.runningWorkers)v.postMessage({cmd:"registerFileHandle",fileName:t,fileHandle:e});for(let v of this.pthread.unusedWorkers)v.postMessage({cmd:"dropFileHandle",fileName:t})}}dropFile(t){let[e,u,d]=je(this.mod,"duckdb_web_fs_drop_file",["string"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));De(this.mod)}dropFiles(){let[t,e,u]=je(this.mod,"duckdb_web_fs_drop_files",[],[]);if(t!==0)throw new Error(_e(this.mod,e,u));De(this.mod)}flushFiles(){this.mod.ccall("duckdb_web_flush_files",null,[],[])}copyFileToPath(t,e){let[u,d,y]=je(this.mod,"duckdb_web_copy_file_to_path",["string","string"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y));De(this.mod)}copyFileToBuffer(t){let[e,u,d]=je(this.mod,"duckdb_web_copy_file_to_buffer",["string"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));let y=this.mod.HEAPU8.subarray(u,u+d),v=new Uint8Array(y.length);return v.set(y),De(this.mod),v}collectFileStatistics(t,e){let[u,d,y]=je(this.mod,"duckdb_web_collect_file_stats",["string","boolean"],[t,e]);if(u!==0)throw new Error(_e(this.mod,d,y))}exportFileStatistics(t){let[e,u,d]=je(this.mod,"duckdb_web_export_file_stats",["string"],[t]);if(e!==0)throw new Error(_e(this.mod,u,d));return new qr(this.mod.HEAPU8.subarray(u,u+d))}};var Bf=(e=>(e.ROW_ARRAY="row-array",e.COLUMN_OBJECT="column-object",e))(Bf||{});var Lf=(y=>(y[y.NONE=0]="NONE",y[y.DEBUG=1]="DEBUG",y[y.INFO=2]="INFO",y[y.WARNING=3]="WARNING",y[y.ERROR=4]="ERROR",y))(Lf||{}),Uf=(v=>(v[v.NONE=0]="NONE",v[v.CONNECT=1]="CONNECT",v[v.DISCONNECT=2]="DISCONNECT",v[v.OPEN=3]="OPEN",v[v.QUERY=4]="QUERY",v[v.INSTANTIATE=5]="INSTANTIATE",v))(Uf||{}),Hf=(v=>(v[v.NONE=0]="NONE",v[v.OK=1]="OK",v[v.ERROR=2]="ERROR",v[v.START=3]="START",v[v.RUN=4]="RUN",v[v.CAPTURE=5]="CAPTURE",v))(Hf||{}),qf=(y=>(y[y.NONE=0]="NONE",y[y.WEB_WORKER=1]="WEB_WORKER",y[y.NODE_WORKER=2]="NODE_WORKER",y[y.BINDINGS=3]="BINDINGS",y[y.ASYNC_DUCKDB=4]="ASYNC_DUCKDB",y))(qf||{}),ns=class{log(t){}},as=class{constructor(t=2){this.level=t}log(t){t.level>=this.level&&console.log(t)}};function Pg(r){switch(r){case 0:return"NONE";case 1:return"DEBUG";case 2:return"INFO";case 3:return"WARNING";case 4:return"ERROR";default:return"?"}}function xg(r){switch(r){case 0:return"NONE";case 1:return"OK";case 2:return"ERROR";case 3:return"START";case 4:return"RUN";case 5:return"CAPTURE";default:return"?"}}function Og(r){switch(r){case 1:return"CONNECT";case 2:return"DISCONNECT";case 5:return"INSTANTIATE";case 3:return"OPEN";case 4:return"QUERY";default:return"?"}}function Fg(r){switch(r){case 0:return"NONE";case 1:return"WEB WORKER";case 2:return"NODE WORKER";case 3:return"DUCKDB BINDINGS";case 4:return"DUCKDB";default:return"?"}}var Dt=_r($f());var Ri={name:"@duckdb/duckdb-wasm",version:"1.17.0",description:"DuckDB powered by WebAssembly",license:"MPL-2.0",repository:{type:"git",url:"https://github.com/duckdb/duckdb-wasm.git"},keywords:["sql","duckdb","relational","database","data","query","wasm","analytics","olap","arrow","parquet","json","csv"],dependencies:{"apache-arrow":"^9.0.0"},devDependencies:{"@types/emscripten":"^1.39.6","@types/jasmine":"^4.3.0","@typescript-eslint/eslint-plugin":"^5.36.1","@typescript-eslint/parser":"^5.36.1",esbuild:"^0.15.6",eslint:"^8.23.0","eslint-plugin-jasmine":"^4.1.3","eslint-plugin-react":"^7.31.1","fast-glob":"^3.2.11",jasmine:"^4.4.0","jasmine-core":"^4.3.0","jasmine-spec-reporter":"^7.0.0","js-sha256":"^0.9.0",karma:"^6.4.0","karma-chrome-launcher":"^3.1.1","karma-coverage":"^2.2.0","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.0.0","karma-sourcemap-loader":"^0.3.8","karma-spec-reporter":"^0.0.34","make-dir":"^3.1.0",nyc:"^15.1.0",prettier:"^2.7.1",puppeteer:"^17.1.3",rimraf:"^3.0.2",s3rver:"^3.7.1",typedoc:"^0.23.14",typescript:"^4.7.4","wasm-feature-detect":"^1.2.11","web-worker":"^1.2.0"},scripts:{"build:debug":"node bundle.mjs debug && tsc --emitDeclarationOnly","build:release":"node bundle.mjs release && tsc --emitDeclarationOnly",docs:"typedoc",report:"node ./coverage.mjs","test:node":"node --enable-source-maps --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:node:debug":"node --inspect-brk --enable-source-maps --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:node:coverage":"nyc -r json --report-dir ./coverage/node node --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:firefox":"karma start ./karma/tests-firefox.cjs","test:chrome":"karma start ./karma/tests-chrome.cjs","test:chrome:eh":"karma start ./karma/tests-chrome-eh.cjs","test:chrome:coverage":"karma start ./karma/tests-chrome-coverage.cjs","test:browser":"karma start ./karma/tests-all.cjs","test:browser:debug":"karma start ./karma/tests-debug.cjs",test:"npm run test:chrome && npm run test:node","test:coverage":"npm run test:chrome:coverage && npm run test:node:coverage && npm run report",lint:"eslint src test"},files:["dist","!dist/types/test"],main:"dist/duckdb-browser.cjs",module:"dist/duckdb-browser.mjs",types:"dist/duckdb-browser.d.ts",jsdelivr:"dist/duckdb-browser.cjs",unpkg:"dist/duckdb-browser.mjs",sideEffects:!1,browser:{fs:!1,path:!1,perf_hooks:!1,os:!1,worker_threads:!1},exports:{"./dist/duckdb-mvp.wasm":"./dist/duckdb-mvp.wasm","./dist/duckdb-eh.wasm":"./dist/duckdb-eh.wasm","./dist/duckdb-coi.wasm":"./dist/duckdb-coi.wasm","./dist/duckdb-browser":"./dist/duckdb-browser.mjs","./dist/duckdb-browser.cjs":"./dist/duckdb-browser.cjs","./dist/duckdb-browser.mjs":"./dist/duckdb-browser.mjs","./dist/duckdb-browser-blocking":"./dist/duckdb-browser-blocking.mjs","./dist/duckdb-browser-blocking.mjs":"./dist/duckdb-browser-blocking.mjs","./dist/duckdb-browser-blocking.cjs":"./dist/duckdb-browser-blocking.cjs","./dist/duckdb-browser-coi.pthread.worker.js":"./dist/duckdb-browser-coi.pthread.worker.js","./dist/duckdb-browser-coi.worker.js":"./dist/duckdb-browser-coi.worker.js","./dist/duckdb-browser-eh.worker.js":"./dist/duckdb-browser-eh.worker.js","./dist/duckdb-browser-mvp.worker.js":"./dist/duckdb-browser-mvp.worker.js","./dist/duckdb-node":"./dist/duckdb-node.cjs","./dist/duckdb-node.cjs":"./dist/duckdb-node.cjs","./dist/duckdb-node-blocking":"./dist/duckdb-node-blocking.cjs","./dist/duckdb-node-blocking.cjs":"./dist/duckdb-node-blocking.cjs","./dist/duckdb-node-eh.worker.cjs":"./dist/duckdb-node-eh.worker.cjs","./dist/duckdb-node-mvp.worker.cjs":"./dist/duckdb-node-mvp.worker.cjs","./blocking":{browser:{types:"./dist/duckdb-browser-blocking.d.ts",import:"./dist/duckdb-browser-blocking.mjs",require:"./dist/duckdb-browser-blocking.cjs"},node:{types:"./dist/duckdb-node-blocking.d.ts",require:"./dist/duckdb-node-blocking.cjs",import:"./dist/duckdb-node-blocking.cjs"},types:"./dist/duckdb-browser-blocking.d.ts",import:"./dist/duckdb-browser-blocking.mjs",require:"./dist/duckdb-browser-blocking.cjs"},".":{browser:{types:"./dist/duckdb-browser.d.ts",import:"./dist/duckdb-browser.mjs",require:"./dist/duckdb-browser.cjs"},node:{types:"./dist/duckdb-node.d.ts",import:"./dist/duckdb-node.cjs",require:"./dist/duckdb-node.cjs"},types:"./dist/duckdb-browser.d.ts",import:"./dist/duckdb-browser.mjs",require:"./dist/duckdb-browser.cjs"}}};var ss=Ri.name,os=Ri.version,us=Ri.version.split("."),Lg=us[0],Ug=us[1],Hg=us[2];var ps=()=>typeof navigator>"u",Gf=()=>ps()?"node":navigator.userAgent,qg=()=>Gf().includes("Firefox"),Wg=()=>/^((?!chrome|android).)*safari/i.test(Gf());function $g(){let r=`https://cdn.jsdelivr.net/npm/${ss}@${os}/dist/`;return{mvp:{mainModule:`${r}duckdb-mvp.wasm`,mainWorker:`${r}duckdb-browser-mvp.worker.js`},eh:{mainModule:`${r}duckdb-eh.wasm`,mainWorker:`${r}duckdb-browser-eh.worker.js`}}}var ls=null,cs=null,fs=null,_s=null,ds=null;async function Ti(){return ls==null&&(ls=typeof BigInt64Array<"u"),cs==null&&(cs=await Dt.exceptions()),fs==null&&(fs=await Dt.threads()),_s==null&&(_s=await Dt.simd()),ds==null&&(ds=await Dt.bulkMemory()),{bigInt64Array:ls,crossOriginIsolated:ps()||globalThis.crossOriginIsolated||!1,wasmExceptions:cs,wasmSIMD:_s,wasmThreads:fs,wasmBulkMemory:ds}}async function Gg(r){let t=await Ti();if(t.wasmExceptions){if(t.wasmSIMD&&t.wasmThreads&&t.crossOriginIsolated&&r.coi)return{mainModule:r.coi.mainModule,mainWorker:r.coi.mainWorker,pthreadWorker:r.coi.pthreadWorker};if(r.eh)return{mainModule:r.eh.mainModule,mainWorker:r.eh.mainWorker,pthreadWorker:null}}return{mainModule:r.mvp.mainModule,mainWorker:r.mvp.mainWorker,pthreadWorker:null}}var Ye=_r(require("fs"));var Op=_r(xp());var We={_files:new Map,_fileInfoCache:new Map,_udfFunctions:new Map,resolveFileInfo(r,t){try{let e=We._fileInfoCache.get(t),[u,d,y]=je(r,"duckdb_web_fs_get_file_info_by_id",["number","number"],[t,(e==null?void 0:e.cacheEpoch)||0]);if(u!==0)return Ee(r,_e(r,d,y)),null;if(y===0)return e;let v=_e(r,d,y);De(r);let S=JSON.parse(v);return S==null?null:(We._fileInfoCache.set(t,S),S)}catch(e){return Ee(r,e.toString()),null}},testPlatformFeature:(r,t)=>{switch(t){case 1:return typeof BigInt64Array<"u";default:return console.warn(`test for unknown feature: ${t}`),!1}},openFile(r,t,e){try{We._fileInfoCache.delete(t);let u=We.resolveFileInfo(r,t);switch(u==null?void 0:u.dataProtocol){case 1:{u.dataNativeFd=Ye.default.openSync(u.dataUrl,Ye.default.constants.O_CREAT|Ye.default.constants.O_RDWR,Ye.default.constants.S_IRUSR|Ye.default.constants.S_IWUSR);let[d,y,v]=je(r,"duckdb_web_fs_set_file_descriptor",["number","number"],[t,u.dataNativeFd]);d!==0&&Ee(r,_e(r,y,v));let S=Ye.default.fstatSync(u.dataNativeFd).size,A=r._malloc(2*8);return r.HEAPF64[(A>>3)+0]=+S,r.HEAPF64[(A>>3)+1]=0,A}case 3:case 4:Ee(r,"Not implemented")}}catch(u){Ee(r,u.toString())}return 0},syncFile:(r,t)=>{},closeFile:(r,t)=>{try{let e=We.resolveFileInfo(r,t);switch(We._fileInfoCache.delete(t),e==null?void 0:e.dataProtocol){case 1:{if(!e.dataNativeFd)return Ee(r,`File ${t} is missing a file descriptor`),0;Ye.default.closeSync(e.dataNativeFd),e.dataNativeFd=null;break}case 3:case 4:Ee(r,"Not implemented")}}catch(e){Ee(r,e.toString())}return 0},truncateFile:(r,t,e)=>{try{let u=We.resolveFileInfo(r,t);switch(u==null?void 0:u.dataProtocol){case 1:{if(!u.dataNativeFd)return Ee(r,`File ${t} is missing a file descriptor`),0;Ye.default.truncateSync(u.dataUrl,e);break}case 3:case 4:Ee(r,"Not implemented")}}catch(u){Ee(r,u.toString())}return 0},readFile:(r,t,e,u,d)=>{try{let y=We.resolveFileInfo(r,t);switch(y==null?void 0:y.dataProtocol){case 1:return y.dataNativeFd?Ye.default.readSync(y.dataNativeFd,r.HEAPU8,e,u,d):(Ee(r,`File ${t} is missing a file descriptor`),0);case 3:case 4:Ee(r,"Not implemented")}}catch(y){Ee(r,y.toString())}return 0},writeFile:(r,t,e,u,d)=>{try{let y=We.resolveFileInfo(r,t);switch(y==null?void 0:y.dataProtocol){case 1:{if(!y.dataNativeFd)return Ee(r,`File ${t} is missing a file descriptor`),0;let v=r.HEAPU8.subarray(e,e+u);return Ye.default.writeSync(y.dataNativeFd,v,0,v.length,d)}}}catch(y){Ee(r,y.toString())}return 0},getLastFileModificationTime:(r,t)=>{try{let e=We.resolveFileInfo(r,t);switch(e==null?void 0:e.dataProtocol){case 1:return e.dataNativeFd?Ye.default.fstatSync(e.dataNativeFd).mtime.getTime():(Ee(r,`File ${t} is missing a file descriptor`),0);case 3:case 4:Ee(r,"Not implemented")}}catch(e){Ee(r,e.toString())}return 0},checkDirectory:(r,t,e)=>{try{let u=Rt(r.HEAPU8.subarray(t,t+e));return Ye.default.existsSync(u)}catch(u){return Ee(r,u.toString()),!1}},createDirectory:(r,t,e)=>{try{let u=Rt(r.HEAPU8.subarray(t,t+e));return Ye.default.mkdirSync(u)}catch(u){return Ee(r,u.toString()),0}},removeDirectory:(r,t,e)=>{try{let u=Rt(r.HEAPU8.subarray(t,t+e));return Ye.default.rmdirSync(u)}catch(u){return Ee(r,u.toString()),0}},listDirectoryEntries:(r,t,e)=>(Ee(r,"Not Implemented"),!1),glob:(r,t,e)=>{try{let u=_e(r,t,e),d=Op.sync([u],{dot:!0});for(let y of d)r.ccall("duckdb_web_fs_glob_add_path",null,["string"],[y])}catch(u){return Ee(r,u.toString()),0}},moveFile:(r,t,e,u,d)=>{var A,I;let y=_e(r,t,e),v=_e(r,u,d),S=(A=We._files)==null?void 0:A.get(y);S!==void 0&&(We._files.delete(S),We._files.set(v,S));for(let[R,U]of((I=We._fileInfoCache)==null?void 0:I.entries())||[])if(U.dataUrl==y){We._fileInfoCache.delete(R);break}return!0},checkFile:(r,t,e)=>{try{let u=Rt(r.HEAPU8.subarray(t,t+e));return Ye.default.existsSync(u)}catch(u){return Ee(r,u.toString()),!1}},removeFile:(r,t,e)=>{try{let u=Rt(r.HEAPU8.subarray(t,t+e));return Ye.default.rmSync(u)}catch(u){return Ee(r,u.toString()),0}},callScalarUDF:(r,t,e,u,d,y,v)=>{Ei(We,r,t,e,u,d,y,v)}};var Fp={},Gw=(()=>{var r=Fp.url;return function(t){t=t||{};var e=typeof t<"u"?t:{},u,d;e.ready=new Promise(function(i,n){u=i,d=n});var y=Object.assign({},e),v=[],S="./this.program",A=(i,n)=>{throw n},I=typeof window=="object",R=typeof importScripts=="function",U=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",P="";function fe(i){return e.locateFile?e.locateFile(i,P):P+i}var K,z,Z,oe;function be(i){if(i instanceof ji)return;J("exiting due to exception: "+i)}var he,Ae,ne;U?(R?P=require("path").dirname(P)+"/":P=__dirname+"/",ne=()=>{Ae||(he=require("fs"),Ae=require("path"))},K=function(n,a){return ne(),n=Ae.normalize(n),he.readFileSync(n,a?void 0:"utf8")},Z=i=>{var n=K(i,!0);return n.buffer||(n=new Uint8Array(n)),n},z=(i,n,a)=>{ne(),i=Ae.normalize(i),he.readFile(i,function(s,o){s?a(s):n(o.buffer)})},process.argv.length>1&&(S=process.argv[1].replace(/\\/g,"/")),v=process.argv.slice(2),process.on("uncaughtException",function(i){if(!(i instanceof ji))throw i}),process.on("unhandledRejection",function(i){throw i}),A=(i,n)=>{if(Jr())throw process.exitCode=i,n;be(n),process.exit(i)},e.inspect=function(){return"[Emscripten Module object]"}):(I||R)&&(R?P=self.location.href:typeof document<"u"&&document.currentScript&&(P=document.currentScript.src),r&&(P=r),P.indexOf("blob:")!==0?P=P.substr(0,P.replace(/[?#].*/,"").lastIndexOf("/")+1):P="",K=i=>{var n=new XMLHttpRequest;return n.open("GET",i,!1),n.send(null),n.responseText},R&&(Z=i=>{var n=new XMLHttpRequest;return n.open("GET",i,!1),n.responseType="arraybuffer",n.send(null),new Uint8Array(n.response)}),z=(i,n,a)=>{var s=new XMLHttpRequest;s.open("GET",i,!0),s.responseType="arraybuffer",s.onload=()=>{if(s.status==200||s.status==0&&s.response){n(s.response);return}a()},s.onerror=a,s.send(null)},oe=i=>document.title=i);var we=e.print||console.log.bind(console),J=e.printErr||console.warn.bind(console);Object.assign(e,y),y=null,e.arguments&&(v=e.arguments),e.thisProgram&&(S=e.thisProgram),e.quit&&(A=e.quit);var ee=0,H=i=>{ee=i},pe=()=>ee,F;e.wasmBinary&&(F=e.wasmBinary);var ue=e.noExitRuntime||!0;typeof WebAssembly!="object"&&Oe("no native wasm support detected");var ae,ke=!1,D;function x(i,n){i||Oe(n)}function Pe(i){var n=e["_"+i];return n}function le(i,n,a,s,o){var l={string:function(Q){var de=0;if(Q!=null&&Q!==0){var Ce=(Q.length<<2)+1;de=L(Ce),It(Q,de,Ce)}return de},array:function(Q){var de=L(Q.length);return ze(Q,de),de}};function c(Q){return n==="string"?xe(Q):n==="boolean"?Boolean(Q):Q}var f=Pe(i),_=[],p=0;if(s)for(var m=0;m<s.length;m++){var k=l[a[m]];k?(p===0&&(p=j()),_[m]=k(s[m])):_[m]=s[m]}var E=f.apply(null,_);function W(Q){return p!==0&&w(p),c(Q)}return E=W(E),E}var Qe=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function $e(i,n,a){n>>>=0;for(var s=n+a,o=n;i[o]&&!(o>=s);)++o;if(o-n>16&&i.buffer&&Qe)return Qe.decode(i.subarray(n,o));for(var l="";n<o;){var c=i[n++];if(!(c&128)){l+=String.fromCharCode(c);continue}var f=i[n++]&63;if((c&224)==192){l+=String.fromCharCode((c&31)<<6|f);continue}var _=i[n++]&63;if((c&240)==224?c=(c&15)<<12|f<<6|_:c=(c&7)<<18|f<<12|_<<6|i[n++]&63,c<65536)l+=String.fromCharCode(c);else{var p=c-65536;l+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return l}function xe(i,n){return i>>>=0,i?$e(O,i,n):""}function _t(i,n,a,s){if(a>>>=0,!(s>0))return 0;for(var o=a,l=a+s-1,c=0;c<i.length;++c){var f=i.charCodeAt(c);if(f>=55296&&f<=57343){var _=i.charCodeAt(++c);f=65536+((f&1023)<<10)|_&1023}if(f<=127){if(a>=l)break;n[a++>>>0]=f}else if(f<=2047){if(a+1>=l)break;n[a++>>>0]=192|f>>6,n[a++>>>0]=128|f&63}else if(f<=65535){if(a+2>=l)break;n[a++>>>0]=224|f>>12,n[a++>>>0]=128|f>>6&63,n[a++>>>0]=128|f&63}else{if(a+3>=l)break;n[a++>>>0]=240|f>>18,n[a++>>>0]=128|f>>12&63,n[a++>>>0]=128|f>>6&63,n[a++>>>0]=128|f&63}}return n[a>>>0]=0,a-o}function It(i,n,a){return _t(i,O,n,a)}function bt(i){for(var n=0,a=0;a<i.length;++a){var s=i.charCodeAt(a);s>=55296&&s<=57343&&(s=65536+((s&1023)<<10)|i.charCodeAt(++a)&1023),s<=127?++n:s<=2047?n+=2:s<=65535?n+=3:n+=4}return n}function ze(i,n){et.set(i,n>>>0)}function se(i,n,a){for(var s=0;s<i.length;++s)et[n++>>>0]=i.charCodeAt(s);a||(et[n>>>0]=0)}var st,et,O,ge,$,N,Re,qe,Fe;function jt(i){st=i,e.HEAP8=et=new Int8Array(i),e.HEAP16=ge=new Int16Array(i),e.HEAP32=N=new Int32Array(i),e.HEAPU8=O=new Uint8Array(i),e.HEAPU16=$=new Uint16Array(i),e.HEAPU32=Re=new Uint32Array(i),e.HEAPF32=qe=new Float32Array(i),e.HEAPF64=Fe=new Float64Array(i)}var At=e.INITIAL_MEMORY||16777216,Yr,Sr=[],Qr=[],zr=[],Xr=[],sn=!1;function Jr(){return ue}function on(){if(e.preRun)for(typeof e.preRun=="function"&&(e.preRun=[e.preRun]);e.preRun.length;)wt(e.preRun.shift());zt(Sr)}function un(){sn=!0,zt(Qr)}function ln(){zt(zr)}function cn(){if(e.postRun)for(typeof e.postRun=="function"&&(e.postRun=[e.postRun]);e.postRun.length;)Bt(e.postRun.shift());zt(Xr)}function wt(i){Sr.unshift(i)}function Er(i){Qr.unshift(i)}function Bt(i){Xr.unshift(i)}var kt=0,Ar=null,Ge=null;function fn(i){kt++,e.monitorRunDependencies&&e.monitorRunDependencies(kt)}function Zr(i){if(kt--,e.monitorRunDependencies&&e.monitorRunDependencies(kt),kt==0&&(Ar!==null&&(clearInterval(Ar),Ar=null),Ge)){var n=Ge;Ge=null,n()}}function Oe(i){e.onAbort&&e.onAbort(i),i="Aborted("+i+")",J(i),ke=!0,D=1,i+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(i);throw d(n),n}var ei="data:application/octet-stream;base64,";function ti(i){return i.startsWith(ei)}var tt;e.locateFile?(tt="./duckdb-mvp.wasm",ti(tt)||(tt=fe(tt))):tt=new URL("./duckdb-mvp.wasm",Fp.url).toString();function Lt(i){try{if(i==tt&&F)return new Uint8Array(F);if(Z)return Z(i);throw"both async and sync fetching of the wasm failed"}catch(n){Oe(n)}}function Qt(){return!F&&(I||R)&&typeof fetch=="function"?fetch(tt,{credentials:"same-origin"}).then(function(i){if(!i.ok)throw"failed to load wasm binary file at '"+tt+"'";return i.arrayBuffer()}).catch(function(){return Lt(tt)}):Promise.resolve().then(function(){return Lt(tt)})}function ri(){var i={a:Pa};function n(c,f){var _=c.exports;e.asm=_,ae=e.asm.df,jt(ae.buffer),Yr=e.asm.dg,Er(e.asm.ef),Zr("wasm-instantiate")}fn("wasm-instantiate");function a(c){n(c.instance)}function s(c){return Qt().then(function(f){return WebAssembly.instantiate(f,i)}).then(function(f){return f}).then(c,function(f){J("failed to asynchronously prepare wasm: "+f),Oe(f)})}function o(){return!F&&typeof WebAssembly.instantiateStreaming=="function"&&!ti(tt)&&typeof fetch=="function"?fetch(tt,{credentials:"same-origin"}).then(function(c){var f=WebAssembly.instantiateStreaming(c,i);return f.then(a,function(_){return J("wasm streaming compile failed: "+_),J("falling back to ArrayBuffer instantiation"),s(a)})}):s(a)}if(e.instantiateWasm)try{var l=e.instantiateWasm(i,n);return l}catch(c){return J("Module.instantiateWasm callback failed with error: "+c),!1}return o().catch(d),{}}function zt(i){for(;i.length>0;){var n=i.shift();if(typeof n=="function"){n(e);continue}var a=n.func;typeof a=="number"?n.arg===void 0?V(a)():V(a)(n.arg):a(n.arg===void 0?null:n.arg)}}var Xt=[];function V(i){var n=Xt[i];return n||(i>=Xt.length&&(Xt.length=i+1),Xt[i]=n=Yr.get(i)),n}function _n(i){if(i instanceof ji||i=="unwind")return D;A(1,i)}function dn(i,n,a,s){Oe("Assertion failed: "+xe(i)+", at: "+[n?xe(n):"unknown filename",a,s?xe(s):"unknown function"])}function ii(i){return ft(i+24)+24}var dt=[];function Rr(i){i.add_ref()}var Ut=0;function ni(i){var n=new rt(i);return n.get_caught()||(n.set_caught(!0),Ut--),n.set_rethrown(!1),dt.push(n),Rr(n),n.get_exception_ptr()}var Xe=0;function rt(i){this.excPtr=i,this.ptr=i-24,this.set_type=function(n){N[this.ptr+4>>>2]=n},this.get_type=function(){return N[this.ptr+4>>>2]},this.set_destructor=function(n){N[this.ptr+8>>>2]=n},this.get_destructor=function(){return N[this.ptr+8>>>2]},this.set_refcount=function(n){N[this.ptr>>>2]=n},this.set_caught=function(n){n=n?1:0,et[this.ptr+12>>>0]=n},this.get_caught=function(){return et[this.ptr+12>>>0]!=0},this.set_rethrown=function(n){n=n?1:0,et[this.ptr+13>>>0]=n},this.get_rethrown=function(){return et[this.ptr+13>>>0]!=0},this.init=function(n,a){this.set_adjusted_ptr(0),this.set_type(n),this.set_destructor(a),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var n=N[this.ptr>>>2];N[this.ptr>>>2]=n+1},this.release_ref=function(){var n=N[this.ptr>>>2];return N[this.ptr>>>2]=n-1,n===1},this.set_adjusted_ptr=function(n){N[this.ptr+16>>>2]=n},this.get_adjusted_ptr=function(){return N[this.ptr+16>>>2]},this.get_exception_ptr=function(){var n=Te(this.get_type());if(n)return N[this.excPtr>>>2];var a=this.get_adjusted_ptr();return a!==0?a:this.excPtr}}function Jt(i){return Ie(new rt(i).ptr)}function it(i){if(i.release_ref()&&!i.get_rethrown()){var n=i.get_destructor();n&&V(n)(i.excPtr),Jt(i.excPtr)}}function ai(){b(0);var i=dt.pop();it(i),Xe=0}function pn(i){throw Xe||(Xe=i),i}function yn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function hn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function mn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function vn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function gn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function bn(){var i=Xe;if(!i)return H(0),0;var n=new rt(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return H(0),i|0;for(var s=Array.prototype.slice.call(arguments),o=0;o<s.length;o++){var l=s[o];if(l===0||l===a)break;var c=n.ptr+16;if(re(l,a,c))return H(l),i|0}return H(a),i|0}function si(){var i=dt.pop();i||Oe("no exception to throw");var n=i.excPtr;throw i.get_rethrown()||(dt.push(i),i.set_rethrown(!0),i.set_caught(!1),Ut++),Xe=n,n}function Tr(i,n,a){var s=new rt(i);throw s.init(n,a),Xe=i,Ut++,i}function jn(){return Ut}var He={buffers:[null,[],[]],printChar:function(i,n){var a=He.buffers[i];n===0||n===10?((i===1?we:J)($e(a,0)),a.length=0):a.push(n)},varargs:void 0,get:function(){He.varargs+=4;var i=N[He.varargs-4>>>2];return i},getStr:function(i){var n=xe(i);return n}};function wn(i,n,a,s,o){}function kn(){J("missing function: $SOCKFS"),Oe(-1)}function oi(){J("missing function: $FS"),Oe(-1)}function Ht(i){var n=kn.getSocket(i);if(!n)throw new oi.ErrnoError(8);return n}function Dr(i){return(i&255)+"."+(i>>8&255)+"."+(i>>16&255)+"."+(i>>24&255)}function ui(i){var n="",a=0,s=0,o=0,l=0,c=0,f=0,_=[i[0]&65535,i[0]>>16,i[1]&65535,i[1]>>16,i[2]&65535,i[2]>>16,i[3]&65535,i[3]>>16],p=!0,m="";for(f=0;f<5;f++)if(_[f]!==0){p=!1;break}if(p){if(m=Dr(_[6]|_[7]<<16),_[5]===-1)return n="::ffff:",n+=m,n;if(_[5]===0)return n="::",m==="0.0.0.0"&&(m=""),m==="0.0.0.1"&&(m="1"),n+=m,n}for(a=0;a<8;a++)_[a]===0&&(a-o>1&&(c=0),o=a,c++),c>s&&(s=c,l=a-s+1);for(a=0;a<8;a++){if(s>1&&_[a]===0&&a>=l&&a<l+s){a===l&&(n+=":",l===0&&(n+=":"));continue}n+=Number(Se(_[a]&65535)).toString(16),n+=a<7?":":""}return n}function li(i,n){var a=ge[i>>>1],s=Se($[i+2>>>1]),o;switch(a){case 2:if(n!==16)return{errno:28};o=N[i+4>>>2],o=Dr(o);break;case 10:if(n!==28)return{errno:28};o=[N[i+8>>>2],N[i+12>>>2],N[i+16>>>2],N[i+20>>>2]],o=ui(o);break;default:return{errno:5}}return{family:a,addr:o,port:s}}function Zt(i){for(var n=i.split("."),a=0;a<4;a++){var s=Number(n[a]);if(isNaN(s))return null;n[a]=s}return(n[0]|n[1]<<8|n[2]<<16|n[3]<<24)>>>0}function er(i){return parseInt(i)}function Pr(i){var n,a,s,o,l=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,c=[];if(!l.test(i))return null;if(i==="::")return[0,0,0,0,0,0,0,0];for(i.startsWith("::")?i=i.replace("::","Z:"):i=i.replace("::",":Z:"),i.indexOf(".")>0?(i=i.replace(new RegExp("[.]","g"),":"),n=i.split(":"),n[n.length-4]=er(n[n.length-4])+er(n[n.length-3])*256,n[n.length-3]=er(n[n.length-2])+er(n[n.length-1])*256,n=n.slice(0,n.length-2)):n=i.split(":"),s=0,o=0,a=0;a<n.length;a++)if(typeof n[a]=="string")if(n[a]==="Z"){for(o=0;o<8-n.length+1;o++)c[a+o]=0;s=o-1}else c[a+s]=Ke(parseInt(n[a],16));else c[a+s]=n[a];return[c[1]<<16|c[0],c[3]<<16|c[2],c[5]<<16|c[4],c[7]<<16|c[6]]}var nt={address_map:{id:1,addrs:{},names:{}},lookup_name:function(i){var n=Zt(i);if(n!==null||(n=Pr(i),n!==null))return i;var a;if(nt.address_map.addrs[i])a=nt.address_map.addrs[i];else{var s=nt.address_map.id++;x(s<65535,"exceeded max address mappings of 65535"),a="172.29."+(s&255)+"."+(s&65280),nt.address_map.names[a]=i,nt.address_map.addrs[i]=a}return a},lookup_addr:function(i){return nt.address_map.names[i]?nt.address_map.names[i]:null}};function ci(i,n,a){if(a&&i===0)return null;var s=li(i,n);if(s.errno)throw new oi.ErrnoError(s.errno);return s.addr=nt.lookup_addr(s.addr)||s.addr,s}function Cn(i,n,a){var s=Ht(i),o=ci(n,a);return s.sock_ops.bind(s,o.addr,o.port),0}function fi(i,n,a){var s=Ht(i),o=ci(n,a);return s.sock_ops.connect(s,o.addr,o.port),0}function Sn(i,n,a,s){return n=He.getStr(n),n=He.calculateAt(i,n),He.doAccess(n,a)}function En(i,n,a){return He.varargs=a,0}function An(i,n){}function Rn(i,n,a){}function Tn(i,n,a){}function _i(i,n){O.fill(0,i,i+n)}function xr(i,n,a,s,o){switch(n){case 2:a=Zt(a),_i(i,16),o&&(N[o>>>2]=16),ge[i>>>1]=n,N[i+4>>>2]=a,ge[i+2>>>1]=Ke(s);break;case 10:a=Pr(a),_i(i,28),o&&(N[o>>>2]=28),N[i>>>2]=n,N[i+8>>>2]=a[0],N[i+12>>>2]=a[1],N[i+16>>>2]=a[2],N[i+20>>>2]=a[3],ge[i+2>>>1]=Ke(s);break;default:return 5}return 0}function Dn(i,n,a){var s=Ht(i);if(!s.daddr)return-53;var o=xr(n,s.family,nt.lookup_name(s.daddr),s.dport,a);return 0}function Pn(i,n,a,s,o){var l=Ht(i);return n===1&&a===4?(N[s>>>2]=l.error,N[o>>>2]=4,l.error=null,0):-50}function xn(i,n,a){return He.varargs=a,0}function On(i,n){}function Fn(i,n,a){}function Nn(i,n,a,s){}function Mn(i,n,a,s){He.varargs=s}function In(i,n,a,s,o,l){var c=Ht(i),f=c.sock_ops.recvmsg(c,a);if(!f)return 0;if(o)var _=xr(o,c.family,nt.lookup_name(f.addr),f.port,l);return O.set(f.buffer,n>>>0),f.buffer.byteLength}function Bn(i,n,a,s){}function Ln(i){}function Un(i,n,a,s,o,l){}function Hn(i,n,a){}function qn(i,n){}function Wn(i,n,a){}function di(i){}var tr="To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking";function $n(i,n){Oe(tr)}function Gn(i,n){Oe(tr)}function Kn(){return Date.now()}var Or=!0;function Vn(){return Or}function qt(){Oe("")}function Yn(i,n){return globalThis.DUCKDB_RUNTIME.createDirectory(e,i,n)}function Qn(i,n){return globalThis.DUCKDB_RUNTIME.checkDirectory(e,i,n)}function zn(i,n){return globalThis.DUCKDB_RUNTIME.listDirectoryEntries(e,i,n)}function Xn(i,n){return globalThis.DUCKDB_RUNTIME.removeDirectory(e,i,n)}function Jn(i){return globalThis.DUCKDB_RUNTIME.closeFile(e,i)}function Zn(i,n){return globalThis.DUCKDB_RUNTIME.checkFile(e,i,n)}function ea(i){return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(e,i)}function ta(i,n,a,s){return globalThis.DUCKDB_RUNTIME.moveFile(e,i,n,a,s)}function ra(i,n){return globalThis.DUCKDB_RUNTIME.openFile(e,i,n)}function ia(i,n,a,s){return globalThis.DUCKDB_RUNTIME.readFile(e,i,n,a,s)}function na(i,n){return globalThis.DUCKDB_RUNTIME.truncateFile(e,i,n)}function rr(i,n,a,s){return globalThis.DUCKDB_RUNTIME.writeFile(e,i,n,a,s)}function aa(i,n){return globalThis.DUCKDB_RUNTIME.glob(e,i,n)}function ir(i){return globalThis.DUCKDB_RUNTIME.testPlatformFeature(e,i)}function sa(i,n,a,s,o,l){return globalThis.DUCKDB_RUNTIME.callScalarUDF(e,i,n,a,s,o,l)}function Fr(){return 4294901760}var nr;U?nr=()=>{var i=process.hrtime();return i[0]*1e3+i[1]/1e6}:nr=()=>performance.now();function oa(i,n,a){O.copyWithin(i>>>0,n>>>0,n+a>>>0)}function ua(i){try{return ae.grow(i-st.byteLength+65535>>>16),jt(ae.buffer),1}catch{}}function la(i){var n=O.length;i=i>>>0;var a=Fr();if(i>a)return!1;let s=(_,p)=>_+(p-_%p)%p;for(var o=1;o<=4;o*=2){var l=n*(1+.2/o);l=Math.min(l,i+100663296);var c=Math.min(a,s(Math.max(i,l),65536)),f=ua(c);if(f)return!0}return!1}var Nr={};function ca(){return S||"./this.program"}function ar(){if(!ar.strings){var i=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:i,_:ca()};for(var a in Nr)Nr[a]===void 0?delete n[a]:n[a]=Nr[a];var s=[];for(var a in n)s.push(a+"="+n[a]);ar.strings=s}return ar.strings}function fa(i,n){var a=0;return ar().forEach(function(s,o){var l=n+a;N[i+o*4>>>2]=l,se(s,l),a+=s.length+1}),0}function _a(i,n){var a=ar();N[i>>>2]=a.length;var s=0;return a.forEach(function(o){s+=o.length+1}),N[n>>>2]=s,0}function da(i){return 0}function pa(i,n,a,s,o,l){var c=He.getStreamFromFD(i),f=He.doReadv(c,n,a,s);return N[l>>>2]=f,0}function ya(i,n,a,s,o,l){var c=He.getStreamFromFD(i),f=He.doWritev(c,n,a,s);return N[l>>>2]=f,0}function ha(i,n,a,s){var o=He.getStreamFromFD(i),l=He.doReadv(o,n,a);return N[s>>>2]=l,0}function ma(i,n,a,s,o){}function va(i){var n=He.getStreamFromFD(i);return n.stream_ops&&n.stream_ops.fsync?-n.stream_ops.fsync(n):0}function ga(i,n,a,s){for(var o=0,l=0;l<a;l++){var c=N[n>>>2],f=N[n+4>>>2];n+=8;for(var _=0;_<f;_++)He.printChar(i,O[c+_>>>0]);o+=f}return N[s>>>2]=o,0}function ba(){return pe()}function ja(i,n,a,s){var o=0,l=0,c=0,f=0,_=0,p=0,m;function k(E,W,Q,de,Ce,Be){var B,ie,Me,Ve;return ie=E===10?28:16,Ce=E===10?ui(Ce):Dr(Ce),B=ft(ie),Ve=xr(B,E,Ce,Be),x(!Ve),Me=ft(32),N[Me+4>>>2]=E,N[Me+8>>>2]=W,N[Me+12>>>2]=Q,N[Me+24>>>2]=de,N[Me+20>>>2]=B,E===10?N[Me+16>>>2]=28:N[Me+16>>>2]=16,N[Me+28>>>2]=0,Me}if(a&&(c=N[a>>>2],f=N[a+4>>>2],_=N[a+8>>>2],p=N[a+12>>>2]),_&&!p&&(p=_===2?17:6),!_&&p&&(_=p===17?2:1),p===0&&(p=6),_===0&&(_=1),!i&&!n)return-2;if(c&-1088||a!==0&&N[a>>>2]&2&&!i)return-1;if(c&32)return-2;if(_!==0&&_!==1&&_!==2)return-7;if(f!==0&&f!==2&&f!==10)return-6;if(n&&(n=xe(n),l=parseInt(n,10),isNaN(l)))return c&1024?-2:-8;if(!i)return f===0&&(f=2),(c&1)===0&&(f===2?o=ve(2130706433):o=[0,0,0,1]),m=k(f,_,p,null,o,l),N[s>>>2]=m,0;if(i=xe(i),o=Zt(i),o!==null)if(f===0||f===2)f=2;else if(f===10&&c&8)o=[0,0,ve(65535),o],f=10;else return-2;else if(o=Pr(i),o!==null)if(f===0||f===10)f=10;else return-2;return o!=null?(m=k(f,_,p,i,o,l),N[s>>>2]=m,0):c&4?-2:(i=nt.lookup_name(i),o=Zt(i),f===0?f=2:f===10&&(o=[0,0,ve(65535),o]),m=k(f,_,p,null,o,l),N[s>>>2]=m,0)}function wa(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var i=new Uint8Array(1);return function(){return crypto.getRandomValues(i),i[0]}}else if(U)try{var n=require("crypto");return function(){return n.randomBytes(1)[0]}}catch{}return function(){Oe("randomDevice")}}function sr(i,n){sr.randomDevice||(sr.randomDevice=wa());for(var a=0;a<n;a++)et[i+a>>>0]=sr.randomDevice();return 0}function ka(i,n,a,s,o,l,c){var f=li(i,n);if(f.errno)return-6;var _=f.port,p=f.addr,m=!1;if(a&&s){var k;if(c&1||!(k=nt.lookup_addr(p))){if(c&8)return-2}else p=k;var E=It(p,a,s);E+1>=s&&(m=!0)}if(o&&l){_=""+_;var E=It(_,o,l);E+1>=l&&(m=!0)}return m?-12:0}function Ca(i){return i}function Sa(i){H(i)}function or(i){return i%4===0&&(i%100!==0||i%400===0)}function Ea(i,n){for(var a=0,s=0;s<=n;a+=i[s++]);return a}var pi=[31,29,31,30,31,30,31,31,30,31,30,31],yi=[31,28,31,30,31,30,31,31,30,31,30,31];function Aa(i,n){for(var a=new Date(i.getTime());n>0;){var s=or(a.getFullYear()),o=a.getMonth(),l=(s?pi:yi)[o];if(n>l-a.getDate())n-=l-a.getDate()+1,a.setDate(1),o<11?a.setMonth(o+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1));else return a.setDate(a.getDate()+n),a}return a}function Ra(i,n,a,s){var o=N[s+40>>>2],l={tm_sec:N[s>>>2],tm_min:N[s+4>>>2],tm_hour:N[s+8>>>2],tm_mday:N[s+12>>>2],tm_mon:N[s+16>>>2],tm_year:N[s+20>>>2],tm_wday:N[s+24>>>2],tm_yday:N[s+28>>>2],tm_isdst:N[s+32>>>2],tm_gmtoff:N[s+36>>>2],tm_zone:o?xe(o):""},c=xe(a),f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var _ in f)c=c.replace(new RegExp(_,"g"),f[_]);var p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],m=["January","February","March","April","May","June","July","August","September","October","November","December"];function k(B,ie,Me){for(var Ve=typeof B=="number"?B.toString():B||"";Ve.length<ie;)Ve=Me[0]+Ve;return Ve}function E(B,ie){return k(B,ie,"0")}function W(B,ie){function Me(wi){return wi<0?-1:wi>0?1:0}var Ve;return(Ve=Me(B.getFullYear()-ie.getFullYear()))===0&&(Ve=Me(B.getMonth()-ie.getMonth()))===0&&(Ve=Me(B.getDate()-ie.getDate())),Ve}function Q(B){switch(B.getDay()){case 0:return new Date(B.getFullYear()-1,11,29);case 1:return B;case 2:return new Date(B.getFullYear(),0,3);case 3:return new Date(B.getFullYear(),0,2);case 4:return new Date(B.getFullYear(),0,1);case 5:return new Date(B.getFullYear()-1,11,31);case 6:return new Date(B.getFullYear()-1,11,30)}}function de(B){var ie=Aa(new Date(B.tm_year+1900,0,1),B.tm_yday),Me=new Date(ie.getFullYear(),0,4),Ve=new Date(ie.getFullYear()+1,0,4),wi=Q(Me),jg=Q(Ve);return W(wi,ie)<=0?W(jg,ie)<=0?ie.getFullYear()+1:ie.getFullYear():ie.getFullYear()-1}var Ce={"%a":function(B){return p[B.tm_wday].substring(0,3)},"%A":function(B){return p[B.tm_wday]},"%b":function(B){return m[B.tm_mon].substring(0,3)},"%B":function(B){return m[B.tm_mon]},"%C":function(B){var ie=B.tm_year+1900;return E(ie/100|0,2)},"%d":function(B){return E(B.tm_mday,2)},"%e":function(B){return k(B.tm_mday,2," ")},"%g":function(B){return de(B).toString().substring(2)},"%G":function(B){return de(B)},"%H":function(B){return E(B.tm_hour,2)},"%I":function(B){var ie=B.tm_hour;return ie==0?ie=12:ie>12&&(ie-=12),E(ie,2)},"%j":function(B){return E(B.tm_mday+Ea(or(B.tm_year+1900)?pi:yi,B.tm_mon-1),3)},"%m":function(B){return E(B.tm_mon+1,2)},"%M":function(B){return E(B.tm_min,2)},"%n":function(){return`
|
|
3
|
-
`},"%p":function(B){return B.tm_hour>=0&&B.tm_hour<12?"AM":"PM"},"%S":function(B){return E(B.tm_sec,2)},"%t":function(){return" "},"%u":function(B){return B.tm_wday||7},"%U":function(B){var ie=B.tm_yday+7-B.tm_wday;return E(Math.floor(ie/7),2)},"%V":function(B){var ie=Math.floor((B.tm_yday+7-(B.tm_wday+6)%7)/7);if((B.tm_wday+371-B.tm_yday-2)%7<=2&&ie++,ie){if(ie==53){var Ve=(B.tm_wday+371-B.tm_yday)%7;Ve!=4&&(Ve!=3||!or(B.tm_year))&&(ie=1)}}else{ie=52;var Me=(B.tm_wday+7-B.tm_yday-1)%7;(Me==4||Me==5&&or(B.tm_year%400-1))&&ie++}return E(ie,2)},"%w":function(B){return B.tm_wday},"%W":function(B){var ie=B.tm_yday+7-(B.tm_wday+6)%7;return E(Math.floor(ie/7),2)},"%y":function(B){return(B.tm_year+1900).toString().substring(2)},"%Y":function(B){return B.tm_year+1900},"%z":function(B){var ie=B.tm_gmtoff,Me=ie>=0;return ie=Math.abs(ie)/60,ie=ie/60*100+ie%60,(Me?"+":"-")+String("0000"+ie).slice(-4)},"%Z":function(B){return B.tm_zone},"%%":function(){return"%"}};c=c.replace(/%%/g,"\0\0");for(var _ in Ce)c.includes(_)&&(c=c.replace(new RegExp(_,"g"),Ce[_](l)));c=c.replace(/\0\0/g,"%");var Be=Da(c,!1);return Be.length>n?0:(ze(Be,i),Be.length-1)}function Ta(i,n,a,s){return Ra(i,n,a,s)}function Da(i,n,a){var s=a>0?a:bt(i)+1,o=new Array(s),l=_t(i,o,0,o.length);return n&&(o.length=l),o}var Pa={p:dn,j:ii,C:ni,H:ai,b:yn,n:hn,G:mn,U:vn,Z:gn,ya:bn,i:Jt,ja:si,w:Tr,J:jn,e:pn,Fa:wn,Ha:Cn,Ga:fi,cf:Sn,V:En,Ua:An,Fe:Rn,Qa:Tn,Ba:Dn,Ea:Pn,Wa:xn,Ra:On,Va:Fn,Sa:Nn,pa:Mn,Ca:In,af:Bn,na:Ln,Da:Un,ma:Hn,Ta:qn,oa:Wn,Ja:di,La:$n,Ka:Gn,Ya:Kn,Xa:Vn,ea:qt,Ve:Yn,We:Qn,Te:zn,Ue:Xn,wa:Jn,Re:Zn,Ye:ea,Se:ta,Ze:ra,la:ia,Xe:na,xa:rr,Qe:aa,va:ir,_e:sa,Za:Fr,Ce:nr,Cb:oa,vd:la,$a:fa,ab:_a,aa:da,Ee:pa,Ab:ya,ra:ha,Ne:ma,bf:va,ka:ga,a:ba,Ia:ja,Pa:sr,Aa:ka,ta:My,O:py,$:Yp,T:Ty,Yb:kv,ua:Ny,ba:cy,sa:Vp,Zb:wv,x:ey,ha:dy,t:hy,ca:Ey,ia:_y,u:yy,d:Up,ga:Py,R:gy,c:Hp,X:Cy,Qb:Pv,Nb:Fv,h:Wp,Ma:Dy,Lb:Mv,m:Kp,qa:oy,o:$p,Na:Sy,y:ry,z:Xp,Q:by,Y:fy,fa:Jp,A:iy,B:Zp,I:Ry,r:vy,$b:bv,gc:dv,Fc:qm,ne:oh,ac:gv,Mb:Nv,Xb:Cv,hc:_v,oe:sh,_d:wh,gb:fg,Je:qy,$d:jh,Wd:Eh,cc:mv,Ie:Wy,Vb:Ev,Ed:$h,cb:yg,bb:hg,me:uh,ae:bh,Db:$v,bd:vm,pe:ah,Jc:Bm,Wb:Sv,Kb:Iv,te:th,je:fh,be:gh,Xd:Sh,Td:Th,ge:ph,sb:Zv,le:lh,ze:Qy,ee:hh,Dd:Gh,Ob:Ov,Pb:xv,Eb:Wv,he:dh,fb:_g,Gd:qh,He:$y,ke:ch,Ud:Rh,se:rh,qd:im,ob:ig,ic:fv,ce:vh,ie:_h,Cd:Kh,pd:nm,od:am,id:fm,Xc:Cm,xc:zm,jd:cm,uc:Zm,fd:pm,yc:Qm,Be:Vy,Mc:Nm,Lc:Mm,Me:Ly,Le:Uy,cd:mm,Pe:Iy,Nd:Nh,Hc:Um,bc:vv,Kc:Im,Ib:Lv,Zc:wm,dc:hv,Jb:Bv,Pd:Oh,Jd:Lh,Sc:Tm,Hb:Uv,zc:Ym,fc:pv,_b:jv,Ld:Ih,zd:Qh,Tc:Rm,Gc:Hm,Qd:xh,wd:Jh,db:pg,Bc:Km,Ac:Vm,td:em,ue:eh,jc:cv,Cc:Gm,qc:iv,kc:lv,lc:uv,pc:nv,v:Bp,k:qp,D:my,wb:Qv,L:jy,xb:Yv,f:Lp,S:Qp,_:Ay,g:zp,l:Gp,$e:Fy,s:ly,q:sy,za:xy,F:ty,M:uy,W:ky,N:ny,P:Oy,Oa:wy,da:ay,nd:sm,vb:zv,Fd:Wh,sc:tv,vc:Jm,zb:Kv,Rb:Dv,qb:tg,xe:Xy,Ic:Lm,dd:hm,mb:ag,gd:dm,hd:_m,rc:rv,_c:jm,Uc:Am,rd:rm,Tb:Rv,Sb:Tv,we:Jy,ed:ym,md:om,ad:gm,Qc:Pm,Fb:qv,eb:dg,Gb:Hv,ec:yv,pb:rg,qe:nh,Sd:Dh,Ub:Av,Oc:Om,Wc:Sm,kd:lm,Yc:km,nb:ng,De:Ky,Ge:Gy,Ke:Hy,Vd:Ah,lb:sg,yd:zh,mc:ov,Rc:Dm,xd:Xh,sd:tm,Kd:Bh,rb:eg,de:mh,kb:og,Pc:xm,tb:Jv,Oe:By,ye:zy,Ad:Yh,nc:sv,fe:yh,ve:Zy,re:ih,Bd:Vh,Zd:kh,Yd:Ch,ud:Zh,yb:Vv,Hd:Hh,Ec:Wm,Nc:Fm,ld:um,jb:ug,Vc:Em,ub:Xv,Id:Uh,$c:bm,hb:cg,ib:lg,Dc:$m,Ae:Yy,Od:Fh,Bb:Gv,tc:ev,wc:Xm,oc:av,Rd:Ph,Md:Mh,E:Ca,K:Sa,_a:Ta},zo=ri(),xa=e.___wasm_call_ctors=function(){return(xa=e.___wasm_call_ctors=e.asm.ef).apply(null,arguments)},Oa=e._main=function(){return(Oa=e._main=e.asm.ff).apply(null,arguments)},Fa=e._duckdb_web_fs_glob_add_path=function(){return(Fa=e._duckdb_web_fs_glob_add_path=e.asm.gf).apply(null,arguments)},Na=e._duckdb_web_clear_response=function(){return(Na=e._duckdb_web_clear_response=e.asm.hf).apply(null,arguments)},Ma=e._duckdb_web_fail_with=function(){return(Ma=e._duckdb_web_fail_with=e.asm.jf).apply(null,arguments)},Ia=e._duckdb_web_reset=function(){return(Ia=e._duckdb_web_reset=e.asm.kf).apply(null,arguments)},Ba=e._duckdb_web_connect=function(){return(Ba=e._duckdb_web_connect=e.asm.lf).apply(null,arguments)},La=e._duckdb_web_disconnect=function(){return(La=e._duckdb_web_disconnect=e.asm.mf).apply(null,arguments)},Ua=e._duckdb_web_flush_files=function(){return(Ua=e._duckdb_web_flush_files=e.asm.nf).apply(null,arguments)},Ha=e._duckdb_web_flush_file=function(){return(Ha=e._duckdb_web_flush_file=e.asm.of).apply(null,arguments)},qa=e._duckdb_web_open=function(){return(qa=e._duckdb_web_open=e.asm.pf).apply(null,arguments)},Wa=e._duckdb_web_get_global_file_info=function(){return(Wa=e._duckdb_web_get_global_file_info=e.asm.qf).apply(null,arguments)},$a=e._duckdb_web_collect_file_stats=function(){return($a=e._duckdb_web_collect_file_stats=e.asm.rf).apply(null,arguments)},Ga=e._duckdb_web_export_file_stats=function(){return(Ga=e._duckdb_web_export_file_stats=e.asm.sf).apply(null,arguments)},Ka=e._duckdb_web_fs_drop_file=function(){return(Ka=e._duckdb_web_fs_drop_file=e.asm.tf).apply(null,arguments)},ur=e._duckdb_web_fs_drop_files=function(){return(ur=e._duckdb_web_fs_drop_files=e.asm.uf).apply(null,arguments)},lr=e._duckdb_web_fs_glob_file_infos=function(){return(lr=e._duckdb_web_fs_glob_file_infos=e.asm.vf).apply(null,arguments)},Mr=e._duckdb_web_fs_get_file_info_by_id=function(){return(Mr=e._duckdb_web_fs_get_file_info_by_id=e.asm.wf).apply(null,arguments)},Ir=e._duckdb_web_fs_get_file_info_by_name=function(){return(Ir=e._duckdb_web_fs_get_file_info_by_name=e.asm.xf).apply(null,arguments)},Va=e._duckdb_web_fs_set_file_descriptor=function(){return(Va=e._duckdb_web_fs_set_file_descriptor=e.asm.yf).apply(null,arguments)},hi=e._duckdb_web_fs_register_file_url=function(){return(hi=e._duckdb_web_fs_register_file_url=e.asm.zf).apply(null,arguments)},mi=e._duckdb_web_fs_register_file_buffer=function(){return(mi=e._duckdb_web_fs_register_file_buffer=e.asm.Af).apply(null,arguments)},Br=e._duckdb_web_copy_file_to_buffer=function(){return(Br=e._duckdb_web_copy_file_to_buffer=e.asm.Bf).apply(null,arguments)},cr=e._duckdb_web_copy_file_to_path=function(){return(cr=e._duckdb_web_copy_file_to_path=e.asm.Cf).apply(null,arguments)},fr=e._duckdb_web_get_version=function(){return(fr=e._duckdb_web_get_version=e.asm.Df).apply(null,arguments)},Ya=e._duckdb_web_get_feature_flags=function(){return(Ya=e._duckdb_web_get_feature_flags=e.asm.Ef).apply(null,arguments)},Qa=e._duckdb_web_tokenize=function(){return(Qa=e._duckdb_web_tokenize=e.asm.Ff).apply(null,arguments)},Lr=e._duckdb_web_udf_scalar_create=function(){return(Lr=e._duckdb_web_udf_scalar_create=e.asm.Gf).apply(null,arguments)},za=e._duckdb_web_prepared_create=function(){return(za=e._duckdb_web_prepared_create=e.asm.Hf).apply(null,arguments)},Xa=e._duckdb_web_prepared_close=function(){return(Xa=e._duckdb_web_prepared_close=e.asm.If).apply(null,arguments)},vi=e._duckdb_web_prepared_run=function(){return(vi=e._duckdb_web_prepared_run=e.asm.Jf).apply(null,arguments)},h=e._duckdb_web_prepared_send=function(){return(h=e._duckdb_web_prepared_send=e.asm.Kf).apply(null,arguments)},g=e._duckdb_web_query_run=function(){return(g=e._duckdb_web_query_run=e.asm.Lf).apply(null,arguments)},C=e._duckdb_web_pending_query_start=function(){return(C=e._duckdb_web_pending_query_start=e.asm.Mf).apply(null,arguments)},T=e._duckdb_web_pending_query_poll=function(){return(T=e._duckdb_web_pending_query_poll=e.asm.Nf).apply(null,arguments)},M=e._duckdb_web_pending_query_cancel=function(){return(M=e._duckdb_web_pending_query_cancel=e.asm.Of).apply(null,arguments)},X=e._duckdb_web_query_fetch_results=function(){return(X=e._duckdb_web_query_fetch_results=e.asm.Pf).apply(null,arguments)},G=e._duckdb_web_get_tablenames=function(){return(G=e._duckdb_web_get_tablenames=e.asm.Qf).apply(null,arguments)},q=e._duckdb_web_insert_arrow_from_ipc_stream=function(){return(q=e._duckdb_web_insert_arrow_from_ipc_stream=e.asm.Rf).apply(null,arguments)},te=e._duckdb_web_insert_csv_from_path=function(){return(te=e._duckdb_web_insert_csv_from_path=e.asm.Sf).apply(null,arguments)},me=e._duckdb_web_insert_json_from_path=function(){return(me=e._duckdb_web_insert_json_from_path=e.asm.Tf).apply(null,arguments)},ve=e._htonl=function(){return(ve=e._htonl=e.asm.Uf).apply(null,arguments)},Ke=e._htons=function(){return(Ke=e._htons=e.asm.Vf).apply(null,arguments)},Se=e._ntohs=function(){return(Se=e._ntohs=e.asm.Wf).apply(null,arguments)},ft=e._malloc=function(){return(ft=e._malloc=e.asm.Xf).apply(null,arguments)},Ie=e._free=function(){return(Ie=e._free=e.asm.Yf).apply(null,arguments)},b=e._setThrew=function(){return(b=e._setThrew=e.asm.Zf).apply(null,arguments)},j=e.stackSave=function(){return(j=e.stackSave=e.asm._f).apply(null,arguments)},w=e.stackRestore=function(){return(w=e.stackRestore=e.asm.$f).apply(null,arguments)},L=e.stackAlloc=function(){return(L=e.stackAlloc=e.asm.ag).apply(null,arguments)},re=e.___cxa_can_catch=function(){return(re=e.___cxa_can_catch=e.asm.bg).apply(null,arguments)},Te=e.___cxa_is_pointer_type=function(){return(Te=e.___cxa_is_pointer_type=e.asm.cg).apply(null,arguments)},Ue=e.dynCall_jiiii=function(){return(Ue=e.dynCall_jiiii=e.asm.eg).apply(null,arguments)},Wt=e.dynCall_iiiiij=function(){return(Wt=e.dynCall_iiiiij=e.asm.fg).apply(null,arguments)},gi=e.dynCall_iiiiijj=function(){return(gi=e.dynCall_iiiiijj=e.asm.gg).apply(null,arguments)},Xo=e.dynCall_iiiiiijj=function(){return(Xo=e.dynCall_iiiiiijj=e.asm.hg).apply(null,arguments)},Jo=e.dynCall_viijii=function(){return(Jo=e.dynCall_viijii=e.asm.ig).apply(null,arguments)},Zo=e.dynCall_j=function(){return(Zo=e.dynCall_j=e.asm.jg).apply(null,arguments)},eu=e.dynCall_ji=function(){return(eu=e.dynCall_ji=e.asm.kg).apply(null,arguments)},tu=e.dynCall_iij=function(){return(tu=e.dynCall_iij=e.asm.lg).apply(null,arguments)},ru=e.dynCall_viij=function(){return(ru=e.dynCall_viij=e.asm.mg).apply(null,arguments)},iu=e.dynCall_viijji=function(){return(iu=e.dynCall_viijji=e.asm.ng).apply(null,arguments)},nu=e.dynCall_viijj=function(){return(nu=e.dynCall_viijj=e.asm.og).apply(null,arguments)},au=e.dynCall_viiijj=function(){return(au=e.dynCall_viiijj=e.asm.pg).apply(null,arguments)},su=e.dynCall_viiji=function(){return(su=e.dynCall_viiji=e.asm.qg).apply(null,arguments)},ou=e.dynCall_vijjj=function(){return(ou=e.dynCall_vijjj=e.asm.rg).apply(null,arguments)},uu=e.dynCall_iiijj=function(){return(uu=e.dynCall_iiijj=e.asm.sg).apply(null,arguments)},lu=e.dynCall_viiij=function(){return(lu=e.dynCall_viiij=e.asm.tg).apply(null,arguments)},cu=e.dynCall_viijij=function(){return(cu=e.dynCall_viijij=e.asm.ug).apply(null,arguments)},fu=e.dynCall_viiiij=function(){return(fu=e.dynCall_viiiij=e.asm.vg).apply(null,arguments)},_u=e.dynCall_jj=function(){return(_u=e.dynCall_jj=e.asm.wg).apply(null,arguments)},du=e.dynCall_viji=function(){return(du=e.dynCall_viji=e.asm.xg).apply(null,arguments)},pu=e.dynCall_iiij=function(){return(pu=e.dynCall_iiij=e.asm.yg).apply(null,arguments)},yu=e.dynCall_vij=function(){return(yu=e.dynCall_vij=e.asm.zg).apply(null,arguments)},hu=e.dynCall_iiiij=function(){return(hu=e.dynCall_iiiij=e.asm.Ag).apply(null,arguments)},mu=e.dynCall_jii=function(){return(mu=e.dynCall_jii=e.asm.Bg).apply(null,arguments)},vu=e.dynCall_iiiji=function(){return(vu=e.dynCall_iiiji=e.asm.Cg).apply(null,arguments)},gu=e.dynCall_iijj=function(){return(gu=e.dynCall_iijj=e.asm.Dg).apply(null,arguments)},bu=e.dynCall_iiijii=function(){return(bu=e.dynCall_iiijii=e.asm.Eg).apply(null,arguments)},ju=e.dynCall_iiiiji=function(){return(ju=e.dynCall_iiiiji=e.asm.Fg).apply(null,arguments)},wu=e.dynCall_iiiiiji=function(){return(wu=e.dynCall_iiiiiji=e.asm.Gg).apply(null,arguments)},ku=e.dynCall_jiii=function(){return(ku=e.dynCall_jiii=e.asm.Hg).apply(null,arguments)},Cu=e.dynCall_jij=function(){return(Cu=e.dynCall_jij=e.asm.Ig).apply(null,arguments)},Su=e.dynCall_vijj=function(){return(Su=e.dynCall_vijj=e.asm.Jg).apply(null,arguments)},Eu=e.dynCall_vijij=function(){return(Eu=e.dynCall_vijij=e.asm.Kg).apply(null,arguments)},Au=e.dynCall_iiijjjj=function(){return(Au=e.dynCall_iiijjjj=e.asm.Lg).apply(null,arguments)},Ru=e.dynCall_iiijiiii=function(){return(Ru=e.dynCall_iiijiiii=e.asm.Mg).apply(null,arguments)},Tu=e.dynCall_jiiij=function(){return(Tu=e.dynCall_jiiij=e.asm.Ng).apply(null,arguments)},Du=e.dynCall_jiiiii=function(){return(Du=e.dynCall_jiiiii=e.asm.Og).apply(null,arguments)},Pu=e.dynCall_iiiiijjiijj=function(){return(Pu=e.dynCall_iiiiijjiijj=e.asm.Pg).apply(null,arguments)},xu=e.dynCall_viijiiji=function(){return(xu=e.dynCall_viijiiji=e.asm.Qg).apply(null,arguments)},Ou=e.dynCall_iiijjii=function(){return(Ou=e.dynCall_iiijjii=e.asm.Rg).apply(null,arguments)},Fu=e.dynCall_iiijji=function(){return(Fu=e.dynCall_iiijji=e.asm.Sg).apply(null,arguments)},Nu=e.dynCall_iijjii=function(){return(Nu=e.dynCall_iijjii=e.asm.Tg).apply(null,arguments)},Mu=e.dynCall_vijii=function(){return(Mu=e.dynCall_vijii=e.asm.Ug).apply(null,arguments)},Iu=e.dynCall_vjjijij=function(){return(Iu=e.dynCall_vjjijij=e.asm.Vg).apply(null,arguments)},Bu=e.dynCall_vijjji=function(){return(Bu=e.dynCall_vijjji=e.asm.Wg).apply(null,arguments)},Lu=e.dynCall_vjjii=function(){return(Lu=e.dynCall_vjjii=e.asm.Xg).apply(null,arguments)},Uu=e.dynCall_viiiiiji=function(){return(Uu=e.dynCall_viiiiiji=e.asm.Yg).apply(null,arguments)},Hu=e.dynCall_jiiiji=function(){return(Hu=e.dynCall_jiiiji=e.asm.Zg).apply(null,arguments)},qu=e.dynCall_viijjii=function(){return(qu=e.dynCall_viijjii=e.asm._g).apply(null,arguments)},Wu=e.dynCall_iiiijj=function(){return(Wu=e.dynCall_iiiijj=e.asm.$g).apply(null,arguments)},$u=e.dynCall_viiiijj=function(){return($u=e.dynCall_viiiijj=e.asm.ah).apply(null,arguments)},Gu=e.dynCall_jijjij=function(){return(Gu=e.dynCall_jijjij=e.asm.bh).apply(null,arguments)},Ku=e.dynCall_jiijii=function(){return(Ku=e.dynCall_jiijii=e.asm.ch).apply(null,arguments)},Vu=e.dynCall_jijiii=function(){return(Vu=e.dynCall_jijiii=e.asm.dh).apply(null,arguments)},Yu=e.dynCall_viijiiiii=function(){return(Yu=e.dynCall_viijiiiii=e.asm.eh).apply(null,arguments)},Qu=e.dynCall_viijiiij=function(){return(Qu=e.dynCall_viijiiij=e.asm.fh).apply(null,arguments)},zu=e.dynCall_vijiiiji=function(){return(zu=e.dynCall_vijiiiji=e.asm.gh).apply(null,arguments)},Xu=e.dynCall_jiiji=function(){return(Xu=e.dynCall_jiiji=e.asm.hh).apply(null,arguments)},Ju=e.dynCall_viiijij=function(){return(Ju=e.dynCall_viiijij=e.asm.ih).apply(null,arguments)},Zu=e.dynCall_viijiij=function(){return(Zu=e.dynCall_viijiij=e.asm.jh).apply(null,arguments)},el=e.dynCall_viiiiijj=function(){return(el=e.dynCall_viiiiijj=e.asm.kh).apply(null,arguments)},tl=e.dynCall_viiijji=function(){return(tl=e.dynCall_viiijji=e.asm.lh).apply(null,arguments)},rl=e.dynCall_iijji=function(){return(rl=e.dynCall_iijji=e.asm.mh).apply(null,arguments)},il=e.dynCall_iijii=function(){return(il=e.dynCall_iijii=e.asm.nh).apply(null,arguments)},nl=e.dynCall_iiji=function(){return(nl=e.dynCall_iiji=e.asm.oh).apply(null,arguments)},al=e.dynCall_vijijj=function(){return(al=e.dynCall_vijijj=e.asm.ph).apply(null,arguments)},sl=e.dynCall_viiijjj=function(){return(sl=e.dynCall_viiijjj=e.asm.qh).apply(null,arguments)},ol=e.dynCall_iji=function(){return(ol=e.dynCall_iji=e.asm.rh).apply(null,arguments)},ul=e.dynCall_vijiiii=function(){return(ul=e.dynCall_vijiiii=e.asm.sh).apply(null,arguments)},ll=e.dynCall_iijjijj=function(){return(ll=e.dynCall_iijjijj=e.asm.th).apply(null,arguments)},cl=e.dynCall_viiijii=function(){return(cl=e.dynCall_viiijii=e.asm.uh).apply(null,arguments)},fl=e.dynCall_viiiiiij=function(){return(fl=e.dynCall_viiiiiij=e.asm.vh).apply(null,arguments)},_l=e.dynCall_viiiijiiiii=function(){return(_l=e.dynCall_viiiijiiiii=e.asm.wh).apply(null,arguments)},dl=e.dynCall_viiiijiiii=function(){return(dl=e.dynCall_viiiijiiii=e.asm.xh).apply(null,arguments)},pl=e.dynCall_ijji=function(){return(pl=e.dynCall_ijji=e.asm.yh).apply(null,arguments)},yl=e.dynCall_iiijiii=function(){return(yl=e.dynCall_iiijiii=e.asm.zh).apply(null,arguments)},hl=e.dynCall_iiiiijii=function(){return(hl=e.dynCall_iiiiijii=e.asm.Ah).apply(null,arguments)},ml=e.dynCall_viijiii=function(){return(ml=e.dynCall_viijiii=e.asm.Bh).apply(null,arguments)},vl=e.dynCall_iiijiij=function(){return(vl=e.dynCall_iiijiij=e.asm.Ch).apply(null,arguments)},gl=e.dynCall_vijiii=function(){return(gl=e.dynCall_vijiii=e.asm.Dh).apply(null,arguments)},bl=e.dynCall_iijjiii=function(){return(bl=e.dynCall_iijjiii=e.asm.Eh).apply(null,arguments)},jl=e.dynCall_iijjiiii=function(){return(jl=e.dynCall_iijjiiii=e.asm.Fh).apply(null,arguments)},wl=e.dynCall_viiiji=function(){return(wl=e.dynCall_viiiji=e.asm.Gh).apply(null,arguments)},kl=e.dynCall_iijiiii=function(){return(kl=e.dynCall_iijiiii=e.asm.Hh).apply(null,arguments)},Cl=e.dynCall_viiiijii=function(){return(Cl=e.dynCall_viiiijii=e.asm.Ih).apply(null,arguments)},Sl=e.dynCall_iiiijiii=function(){return(Sl=e.dynCall_iiiijiii=e.asm.Jh).apply(null,arguments)},El=e.dynCall_iiijij=function(){return(El=e.dynCall_iiijij=e.asm.Kh).apply(null,arguments)},Al=e.dynCall_iiijjji=function(){return(Al=e.dynCall_iiijjji=e.asm.Lh).apply(null,arguments)},Rl=e.dynCall_viijjji=function(){return(Rl=e.dynCall_viijjji=e.asm.Mh).apply(null,arguments)},Tl=e.dynCall_viiijjji=function(){return(Tl=e.dynCall_viiijjji=e.asm.Nh).apply(null,arguments)},Dl=e.dynCall_viiijiii=function(){return(Dl=e.dynCall_viiijiii=e.asm.Oh).apply(null,arguments)},Pl=e.dynCall_vijji=function(){return(Pl=e.dynCall_vijji=e.asm.Ph).apply(null,arguments)},xl=e.dynCall_viiiijij=function(){return(xl=e.dynCall_viiiijij=e.asm.Qh).apply(null,arguments)},Ol=e.dynCall_jiiiij=function(){return(Ol=e.dynCall_jiiiij=e.asm.Rh).apply(null,arguments)},Fl=e.dynCall_jiiijii=function(){return(Fl=e.dynCall_jiiijii=e.asm.Sh).apply(null,arguments)},Nl=e.dynCall_jiijiii=function(){return(Nl=e.dynCall_jiijiii=e.asm.Th).apply(null,arguments)},Ml=e.dynCall_viiijjij=function(){return(Ml=e.dynCall_viiijjij=e.asm.Uh).apply(null,arguments)},Il=e.dynCall_vijijjiij=function(){return(Il=e.dynCall_vijijjiij=e.asm.Vh).apply(null,arguments)},Bl=e.dynCall_viiijjiij=function(){return(Bl=e.dynCall_viiijjiij=e.asm.Wh).apply(null,arguments)},Ll=e.dynCall_viiiijijji=function(){return(Ll=e.dynCall_viiiijijji=e.asm.Xh).apply(null,arguments)},Ul=e.dynCall_viijiiiij=function(){return(Ul=e.dynCall_viijiiiij=e.asm.Yh).apply(null,arguments)},Hl=e.dynCall_viiijiiiijjj=function(){return(Hl=e.dynCall_viiijiiiijjj=e.asm.Zh).apply(null,arguments)},ql=e.dynCall_viijijiiiijjj=function(){return(ql=e.dynCall_viijijiiiijjj=e.asm._h).apply(null,arguments)},Wl=e.dynCall_iijjj=function(){return(Wl=e.dynCall_iijjj=e.asm.$h).apply(null,arguments)},$l=e.dynCall_vijijiiiijjj=function(){return($l=e.dynCall_vijijiiiijjj=e.asm.ai).apply(null,arguments)},Gl=e.dynCall_jd=function(){return(Gl=e.dynCall_jd=e.asm.bi).apply(null,arguments)},Kl=e.dynCall_jf=function(){return(Kl=e.dynCall_jf=e.asm.ci).apply(null,arguments)},Vl=e.dynCall_iiiiiiji=function(){return(Vl=e.dynCall_iiiiiiji=e.asm.di).apply(null,arguments)},Yl=e.dynCall_iiiiiiiiji=function(){return(Yl=e.dynCall_iiiiiiiiji=e.asm.ei).apply(null,arguments)},Ql=e.dynCall_vijiji=function(){return(Ql=e.dynCall_vijiji=e.asm.fi).apply(null,arguments)},zl=e.dynCall_vijjij=function(){return(zl=e.dynCall_vijjij=e.asm.gi).apply(null,arguments)},Xl=e.dynCall_viiiijiiiiiiii=function(){return(Xl=e.dynCall_viiiijiiiiiiii=e.asm.hi).apply(null,arguments)},Jl=e.dynCall_ij=function(){return(Jl=e.dynCall_ij=e.asm.ii).apply(null,arguments)},Zl=e.dynCall_jjj=function(){return(Zl=e.dynCall_jjj=e.asm.ji).apply(null,arguments)},ec=e.dynCall_jjiji=function(){return(ec=e.dynCall_jjiji=e.asm.ki).apply(null,arguments)},tc=e.dynCall_jijij=function(){return(tc=e.dynCall_jijij=e.asm.li).apply(null,arguments)},rc=e.dynCall_jijj=function(){return(rc=e.dynCall_jijj=e.asm.mi).apply(null,arguments)},ic=e.dynCall_jiiijj=function(){return(ic=e.dynCall_jiiijj=e.asm.ni).apply(null,arguments)},nc=e.dynCall_vjii=function(){return(nc=e.dynCall_vjii=e.asm.oi).apply(null,arguments)},ac=e.dynCall_jjjjjjd=function(){return(ac=e.dynCall_jjjjjjd=e.asm.pi).apply(null,arguments)},sc=e.dynCall_ijii=function(){return(sc=e.dynCall_ijii=e.asm.qi).apply(null,arguments)},oc=e.dynCall_vjiiii=function(){return(oc=e.dynCall_vjiiii=e.asm.ri).apply(null,arguments)},uc=e.dynCall_viiiiijiiii=function(){return(uc=e.dynCall_viiiiijiiii=e.asm.si).apply(null,arguments)},lc=e.dynCall_viiiiijiii=function(){return(lc=e.dynCall_viiiiijiii=e.asm.ti).apply(null,arguments)},cc=e.dynCall_vjiiiji=function(){return(cc=e.dynCall_vjiiiji=e.asm.ui).apply(null,arguments)},fc=e.dynCall_viijjj=function(){return(fc=e.dynCall_viijjj=e.asm.vi).apply(null,arguments)},_c=e.dynCall_viijiiiiii=function(){return(_c=e.dynCall_viijiiiiii=e.asm.wi).apply(null,arguments)},dc=e.dynCall_jjjji=function(){return(dc=e.dynCall_jjjji=e.asm.xi).apply(null,arguments)},pc=e.dynCall_jjjii=function(){return(pc=e.dynCall_jjjii=e.asm.yi).apply(null,arguments)},yc=e.dynCall_jji=function(){return(yc=e.dynCall_jji=e.asm.zi).apply(null,arguments)},hc=e.dynCall_viiiiji=function(){return(hc=e.dynCall_viiiiji=e.asm.Ai).apply(null,arguments)},mc=e.dynCall_iijiji=function(){return(mc=e.dynCall_iijiji=e.asm.Bi).apply(null,arguments)},vc=e.dynCall_iiiiiij=function(){return(vc=e.dynCall_iiiiiij=e.asm.Ci).apply(null,arguments)},gc=e.dynCall_iiiiiiiiiiji=function(){return(gc=e.dynCall_iiiiiiiiiiji=e.asm.Di).apply(null,arguments)},bc=e.dynCall_iiiiiiiij=function(){return(bc=e.dynCall_iiiiiiiij=e.asm.Ei).apply(null,arguments)},jc=e.dynCall_jiiijjj=function(){return(jc=e.dynCall_jiiijjj=e.asm.Fi).apply(null,arguments)},wc=e.dynCall_viiijijj=function(){return(wc=e.dynCall_viiijijj=e.asm.Gi).apply(null,arguments)},kc=e.dynCall_jiiiiji=function(){return(kc=e.dynCall_jiiiiji=e.asm.Hi).apply(null,arguments)},Cc=e.dynCall_iiiiijij=function(){return(Cc=e.dynCall_iiiiijij=e.asm.Ii).apply(null,arguments)},Sc=e.dynCall_jiiiiiii=function(){return(Sc=e.dynCall_jiiiiiii=e.asm.Ji).apply(null,arguments)},Ec=e.dynCall_fiijii=function(){return(Ec=e.dynCall_fiijii=e.asm.Ki).apply(null,arguments)},Ac=e.dynCall_diijii=function(){return(Ac=e.dynCall_diijii=e.asm.Li).apply(null,arguments)},Rc=e.dynCall_iiiiiiijii=function(){return(Rc=e.dynCall_iiiiiiijii=e.asm.Mi).apply(null,arguments)},Tc=e.dynCall_jiij=function(){return(Tc=e.dynCall_jiij=e.asm.Ni).apply(null,arguments)},Dc=e.dynCall_iiiijjii=function(){return(Dc=e.dynCall_iiiijjii=e.asm.Oi).apply(null,arguments)},Pc=e.dynCall_iiiiijji=function(){return(Pc=e.dynCall_iiiiijji=e.asm.Pi).apply(null,arguments)},xc=e.dynCall_viiijjii=function(){return(xc=e.dynCall_viiijjii=e.asm.Qi).apply(null,arguments)},Oc=e.dynCall_viiiijji=function(){return(Oc=e.dynCall_viiiijji=e.asm.Ri).apply(null,arguments)},Fc=e.dynCall_viiiijjii=function(){return(Fc=e.dynCall_viiiijjii=e.asm.Si).apply(null,arguments)},Nc=e.dynCall_viiiiijji=function(){return(Nc=e.dynCall_viiiiijji=e.asm.Ti).apply(null,arguments)},Mc=e.dynCall_iiidj=function(){return(Mc=e.dynCall_iiidj=e.asm.Ui).apply(null,arguments)},Ic=e.dynCall_iiiiiiij=function(){return(Ic=e.dynCall_iiiiiiij=e.asm.Vi).apply(null,arguments)},Bc=e.dynCall_iiiiiiiiiiiij=function(){return(Bc=e.dynCall_iiiiiiiiiiiij=e.asm.Wi).apply(null,arguments)},Lc=e.dynCall_iiijjiiji=function(){return(Lc=e.dynCall_iiijjiiji=e.asm.Xi).apply(null,arguments)},Uc=e.dynCall_iiijjiij=function(){return(Uc=e.dynCall_iiijjiij=e.asm.Yi).apply(null,arguments)},Hc=e.dynCall_iiidjiij=function(){return(Hc=e.dynCall_iiidjiij=e.asm.Zi).apply(null,arguments)},qc=e.dynCall_iiiiiiiji=function(){return(qc=e.dynCall_iiiiiiiji=e.asm._i).apply(null,arguments)},Wc=e.dynCall_iiiidjj=function(){return(Wc=e.dynCall_iiiidjj=e.asm.$i).apply(null,arguments)},$c=e.dynCall_iiiijjj=function(){return($c=e.dynCall_iiiijjj=e.asm.aj).apply(null,arguments)},Gc=e.dynCall_jiiiiiijii=function(){return(Gc=e.dynCall_jiiiiiijii=e.asm.bj).apply(null,arguments)},Kc=e.dynCall_iiiijji=function(){return(Kc=e.dynCall_iiiijji=e.asm.cj).apply(null,arguments)},Vc=e.dynCall_jiiiiii=function(){return(Vc=e.dynCall_jiiiiii=e.asm.dj).apply(null,arguments)},Yc=e.dynCall_jiijjjii=function(){return(Yc=e.dynCall_jiijjjii=e.asm.ej).apply(null,arguments)},Qc=e.dynCall_jiiiijii=function(){return(Qc=e.dynCall_jiiiijii=e.asm.fj).apply(null,arguments)},zc=e.dynCall_jiiiiijiiii=function(){return(zc=e.dynCall_jiiiiijiiii=e.asm.gj).apply(null,arguments)},Xc=e.dynCall_jiiijiii=function(){return(Xc=e.dynCall_jiiijiii=e.asm.hj).apply(null,arguments)},Jc=e.dynCall_viiijijiji=function(){return(Jc=e.dynCall_viiijijiji=e.asm.ij).apply(null,arguments)},Zc=e.dynCall_iiijjj=function(){return(Zc=e.dynCall_iiijjj=e.asm.jj).apply(null,arguments)},ef=e.dynCall_iiiijii=function(){return(ef=e.dynCall_iiiijii=e.asm.kj).apply(null,arguments)},tf=e.dynCall_vj=function(){return(tf=e.dynCall_vj=e.asm.lj).apply(null,arguments)},rf=e.dynCall_iijiii=function(){return(rf=e.dynCall_iijiii=e.asm.mj).apply(null,arguments)},nf=e.dynCall_vijiijj=function(){return(nf=e.dynCall_vijiijj=e.asm.nj).apply(null,arguments)},af=e.dynCall_vifiijj=function(){return(af=e.dynCall_vifiijj=e.asm.oj).apply(null,arguments)},sf=e.dynCall_vidiijj=function(){return(sf=e.dynCall_vidiijj=e.asm.pj).apply(null,arguments)},of=e.dynCall_viiiiij=function(){return(of=e.dynCall_viiiiij=e.asm.qj).apply(null,arguments)},uf=e.dynCall_ijjiii=function(){return(uf=e.dynCall_ijjiii=e.asm.rj).apply(null,arguments)},lf=e.dynCall_vijijjji=function(){return(lf=e.dynCall_vijijjji=e.asm.sj).apply(null,arguments)},cf=e.dynCall_viijiijj=function(){return(cf=e.dynCall_viijiijj=e.asm.tj).apply(null,arguments)},ff=e.dynCall_viijijj=function(){return(ff=e.dynCall_viijijj=e.asm.uj).apply(null,arguments)},_f=e.dynCall_viiiiijjji=function(){return(_f=e.dynCall_viiiiijjji=e.asm.vj).apply(null,arguments)},df=e.dynCall_iiijiijj=function(){return(df=e.dynCall_iiijiijj=e.asm.wj).apply(null,arguments)},pf=e.dynCall_viiijijjj=function(){return(pf=e.dynCall_viiijijjj=e.asm.xj).apply(null,arguments)},yf=e.dynCall_iijiijj=function(){return(yf=e.dynCall_iijiijj=e.asm.yj).apply(null,arguments)},hf=e.dynCall_viiijjjji=function(){return(hf=e.dynCall_viiijjjji=e.asm.zj).apply(null,arguments)},mf=e.dynCall_viiiijiii=function(){return(mf=e.dynCall_viiiijiii=e.asm.Aj).apply(null,arguments)},vf=e.dynCall_viijiiii=function(){return(vf=e.dynCall_viijiiii=e.asm.Bj).apply(null,arguments)},gf=e.dynCall_vijjiiii=function(){return(gf=e.dynCall_vijjiiii=e.asm.Cj).apply(null,arguments)},bf=e.dynCall_vijijjiiiii=function(){return(bf=e.dynCall_vijijjiiiii=e.asm.Dj).apply(null,arguments)},jf=e.dynCall_vijjiiiii=function(){return(jf=e.dynCall_vijjiiiii=e.asm.Ej).apply(null,arguments)},wf=e.dynCall_iiiiiijji=function(){return(wf=e.dynCall_iiiiiijji=e.asm.Fj).apply(null,arguments)},kf=e.dynCall_iiiiijjj=function(){return(kf=e.dynCall_iiiiijjj=e.asm.Gj).apply(null,arguments)},Cf=e.dynCall_jijiiii=function(){return(Cf=e.dynCall_jijiiii=e.asm.Hj).apply(null,arguments)},Sf=e.dynCall_viiijiji=function(){return(Sf=e.dynCall_viiijiji=e.asm.Ij).apply(null,arguments)},Ef=e.dynCall_iiijjjii=function(){return(Ef=e.dynCall_iiijjjii=e.asm.Jj).apply(null,arguments)},Af=e.dynCall_iiiiijjji=function(){return(Af=e.dynCall_iiiiijjji=e.asm.Kj).apply(null,arguments)},Rf=e.dynCall_viijiji=function(){return(Rf=e.dynCall_viijiji=e.asm.Lj).apply(null,arguments)};function Bp(i){var n=j();try{V(i)()}catch(a){if(w(n),a!==a+0)throw a;b(1,0)}}function Lp(i,n,a){var s=j();try{V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function Up(i,n){var a=j();try{return V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function Hp(i,n,a){var s=j();try{return V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function qp(i,n){var a=j();try{V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function Wp(i,n,a,s){var o=j();try{return V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function $p(i,n,a,s,o,l){var c=j();try{return V(i)(n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Gp(i,n,a,s,o){var l=j();try{V(i)(n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function Kp(i,n,a,s,o){var l=j();try{return V(i)(n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function Vp(i,n,a,s){var o=j();try{return V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Yp(i,n,a,s){var o=j();try{return V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Qp(i,n,a,s){var o=j();try{V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function zp(i,n,a,s){var o=j();try{V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Xp(i,n,a,s,o,l,c,f){var _=j();try{return V(i)(n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Jp(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return V(i)(n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Zp(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{return V(i)(n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function ey(i){var n=j();try{return V(i)()}catch(a){if(w(n),a!==a+0)throw a;b(1,0)}}function ty(i,n,a,s,o,l,c,f){var _=j();try{V(i)(n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function ry(i,n,a,s,o,l,c){var f=j();try{return V(i)(n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function iy(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{return V(i)(n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function ny(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{V(i)(n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function ay(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de){var Ce=j();try{V(i)(n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de)}catch(Be){if(w(Ce),Be!==Be+0)throw Be;b(1,0)}}function sy(i,n,a,s,o,l,c){var f=j();try{V(i)(n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function oy(i,n,a,s,o,l){var c=j();try{return V(i)(n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function uy(i,n,a,s,o,l,c,f,_){var p=j();try{V(i)(n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function ly(i,n,a,s,o,l){var c=j();try{V(i)(n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function cy(i,n){var a=j();try{return V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function fy(i,n,a,s,o,l,c,f,_,p){var m=j();try{return V(i)(n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function _y(i,n){var a=j();try{return V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function dy(i,n){var a=j();try{return V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function py(i,n){var a=j();try{return V(i)(n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function yy(i,n,a){var s=j();try{return V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function hy(i,n,a){var s=j();try{return V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function my(i,n,a){var s=j();try{V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function vy(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce,Be){var B=j();try{return V(i)(n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce,Be)}catch(ie){if(w(B),ie!==ie+0)throw ie;b(1,0)}}function gy(i,n,a,s,o){var l=j();try{return V(i)(n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function by(i,n,a,s,o,l,c,f,_){var p=j();try{return V(i)(n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function jy(i,n,a){var s=j();try{V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function wy(i,n,a,s,o,l,c,f,_,p,m,k,E,W){var Q=j();try{V(i)(n,a,s,o,l,c,f,_,p,m,k,E,W)}catch(de){if(w(Q),de!==de+0)throw de;b(1,0)}}function ky(i,n,a,s,o,l,c,f,_,p){var m=j();try{V(i)(n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Cy(i,n,a,s){var o=j();try{return V(i)(n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Sy(i,n,a,s,o,l,c,f){var _=j();try{return V(i)(n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Ey(i,n,a,s,o){var l=j();try{return V(i)(n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function Ay(i,n,a,s,o,l){var c=j();try{V(i)(n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Ry(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce){var Be=j();try{return V(i)(n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce)}catch(B){if(w(Be),B!==B+0)throw B;b(1,0)}}function Ty(i,n,a,s,o,l,c){var f=j();try{return V(i)(n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Dy(i,n,a,s,o){var l=j();try{return V(i)(n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function Py(i,n,a){var s=j();try{return V(i)(n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function xy(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{V(i)(n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Oy(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{V(i)(n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Fy(i,n,a,s,o,l,c,f,_,p){var m=j();try{V(i)(n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Ny(i){var n=j();try{return V(i)()}catch(a){if(w(n),a!==a+0)throw a;b(1,0)}}function My(i){var n=j();try{return V(i)()}catch(a){if(w(n),a!==a+0)throw a;b(1,0)}}function Iy(i,n,a,s,o){var l=j();try{return Ue(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function By(i,n,a,s,o,l,c){var f=j();try{nu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Ly(i,n){var a=j();try{return eu(i,n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function Uy(i,n,a){var s=j();try{return mu(i,n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function Hy(i,n,a,s,o,l,c){var f=j();try{Jo(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function qy(i,n,a,s,o,l,c){var f=j();try{return Wt(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Wy(i,n,a,s,o,l,c,f,_){var p=j();try{return gi(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function $y(i,n,a,s){var o=j();try{return tu(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Gy(i,n,a,s,o,l){var c=j();try{su(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Ky(i,n,a,s,o){var l=j();try{ru(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function Vy(i){var n=j();try{return Zo(i)}catch(a){if(w(n),a!==a+0)throw a;b(1,0)}}function Yy(i,n,a,s,o,l,c,f){var _=j();try{ou(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Qy(i,n,a,s,o,l,c){var f=j();try{return uu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function zy(i,n,a,s,o,l,c,f){var _=j();try{iu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Xy(i,n,a,s,o,l,c){var f=j();try{fu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Jy(i,n,a,s,o,l){var c=j();try{lu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Zy(i,n,a,s){var o=j();try{yu(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function eh(i,n,a){var s=j();try{return _u(i,n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function th(i,n,a,s,o){var l=j();try{return pu(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function rh(i,n,a,s,o,l,c){var f=j();try{return rf(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function ih(i,n,a,s,o){var l=j();try{du(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function nh(i,n,a,s,o,l,c,f){var _=j();try{au(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function ah(i,n,a,s,o,l,c,f){var _=j();try{return Wu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function sh(i,n,a,s,o,l,c,f,_){var p=j();try{return Vl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function oh(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Yl(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function uh(i,n,a,s,o,l){var c=j();try{return hu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function lh(i,n,a,s,o,l,c,f){var _=j();try{return El(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function ch(i,n,a,s,o){var l=j();try{return nl(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function fh(i,n,a,s,o,l){var c=j();try{return vu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function _h(i,n,a,s,o,l,c){var f=j();try{return rl(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function dh(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Al(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function ph(i,n,a,s,o,l,c,f,_){var p=j();try{return vl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function yh(i,n,a,s,o,l,c,f,_,p){var m=j();try{Rl(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function hh(i,n,a,s,o,l,c,f){var _=j();try{return Fu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function mh(i,n,a,s,o,l,c,f){var _=j();try{cu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function vh(i,n,a,s,o,l){var c=j();try{return gu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function gh(i,n,a,s,o,l,c){var f=j();try{return bu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function bh(i,n,a,s,o,l,c){var f=j();try{return ju(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function jh(i,n,a,s,o,l,c,f){var _=j();try{return wu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function wh(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Xo(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function kh(i,n,a,s,o,l,c){var f=j();try{gl(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Ch(i,n,a,s,o,l,c,f){var _=j();try{ul(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Sh(i,n,a,s,o,l,c,f){var _=j();try{return yl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Eh(i,n,a,s,o,l,c,f,_){var p=j();try{return hl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Ah(i,n,a,s,o,l,c,f){var _=j();try{ml(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Rh(i,n,a,s,o,l){var c=j();try{return il(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Th(i,n,a,s,o,l,c,f,_){var p=j();try{return Ru(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Dh(i,n,a,s,o,l,c,f,_){var p=j();try{tl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Ph(i,n,a,s,o,l,c){var f=j();try{Lu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function xh(i,n,a,s){var o=j();try{return Cu(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function Oh(i,n,a,s,o,l){var c=j();try{return Tu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Fh(i,n,a,s,o,l,c,f,_){var p=j();try{Bu(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Nh(i,n,a,s,o,l){var c=j();try{return Du(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Mh(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Iu(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Ih(i,n,a,s,o,l){var c=j();try{return Xu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Bh(i,n,a,s,o,l,c,f,_,p){var m=j();try{xu(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Lh(i,n,a,s,o,l,c){var f=j();try{return Hu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Uh(i,n,a,s,o,l){var c=j();try{Su(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Hh(i,n,a,s,o,l,c){var f=j();try{Eu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function qh(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Au(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Wh(i,n,a,s,o,l,c,f,_){var p=j();try{Uu(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function $h(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q){var de=j();try{return Pu(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q)}catch(Ce){if(w(de),Ce!==Ce+0)throw Ce;b(1,0)}}function Gh(i,n,a,s,o,l,c,f,_){var p=j();try{return Ou(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Kh(i,n,a,s,o,l,c,f){var _=j();try{return Nu(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Vh(i,n,a,s,o,l){var c=j();try{Mu(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Yh(i,n,a,s,o,l,c,f,_){var p=j();try{qu(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Qh(i,n,a,s,o,l,c){var f=j();try{return Ku(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function zh(i,n,a,s,o,l,c,f,_,p){var m=j();try{Yu(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Xh(i,n,a,s,o,l,c,f,_,p){var m=j();try{Qu(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Jh(i,n,a,s,o,l,c){var f=j();try{return Vu(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Zh(i,n,a,s,o,l,c,f,_,p){var m=j();try{zu(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function em(i,n,a,s,o,l,c,f,_){var p=j();try{return Gu(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function tm(i,n,a,s,o,l,c,f,_){var p=j();try{Zu(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function rm(i,n,a,s,o,l,c,f,_){var p=j();try{$u(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function im(i,n,a,s,o,l,c,f){var _=j();try{return kl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function nm(i,n,a,s,o,l,c,f,_){var p=j();try{return bl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function am(i,n,a,s,o,l,c,f,_,p){var m=j();try{return jl(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function sm(i,n,a,s,o,l,c,f,_){var p=j();try{fl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function om(i,n,a,s,o,l,c,f){var _=j();try{cl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function um(i,n,a,s,o,l,c,f,_){var p=j();try{al(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function lm(i,n,a,s,o,l,c,f,_,p){var m=j();try{sl(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function cm(i,n,a,s){var o=j();try{return ol(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function fm(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return ll(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function _m(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{_l(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function dm(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{dl(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function pm(i,n,a,s,o,l){var c=j();try{return pl(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function ym(i,n,a,s,o,l,c){var f=j();try{wl(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function hm(i,n,a,s,o,l,c,f,_){var p=j();try{Cl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function mm(i,n,a,s){var o=j();try{return ku(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function vm(i,n,a,s,o,l,c,f,_){var p=j();try{return Sl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function gm(i,n,a,s,o,l,c,f,_){var p=j();try{Dl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function bm(i,n,a,s,o,l,c){var f=j();try{Pl(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function jm(i,n,a,s,o,l,c,f,_,p){var m=j();try{xl(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function wm(i,n,a,s,o,l,c){var f=j();try{return Ol(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function km(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Tl(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Cm(i,n,a,s,o,l,c,f){var _=j();try{return Wl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Sm(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Ml(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Em(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{Il(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function Am(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{Ll(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function Rm(i,n,a,s,o,l,c,f){var _=j();try{return Nl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Tm(i,n,a,s,o,l,c,f){var _=j();try{return Fl(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Dm(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Ul(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Pm(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de){var Ce=j();try{Hl(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de)}catch(Be){if(w(Ce),Be!==Be+0)throw Be;b(1,0)}}function xm(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce,Be){var B=j();try{ql(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce,Be)}catch(ie){if(w(B),ie!==ie+0)throw ie;b(1,0)}}function Om(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{Bl(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Fm(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce){var Be=j();try{$l(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q,de,Ce)}catch(B){if(w(Be),B!==B+0)throw B;b(1,0)}}function Nm(i,n){var a=j();try{return Gl(i,n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function Mm(i,n){var a=j();try{return Kl(i,n)}catch(s){if(w(a),s!==s+0)throw s;b(1,0)}}function Im(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Gc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Bm(i,n,a,s,o,l,c,f,_){var p=j();try{return Kc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Lm(i,n,a,s,o,l,c,f){var _=j();try{hc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Um(i,n,a,s,o,l,c){var f=j();try{return Vc(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Hm(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Yc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function qm(i,n,a,s,o,l,c,f,_,p){var m=j();try{return bc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Wm(i,n,a,s,o,l,c,f){var _=j();try{Ql(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function $m(i,n,a,s,o,l,c,f,_){var p=j();try{zl(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Gm(i,n,a,s,o,l,c){var f=j();try{return ec(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Km(i,n,a,s,o,l,c){var f=j();try{return tc(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Vm(i,n,a,s,o,l){var c=j();try{return rc(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function Ym(i,n,a,s,o,l,c,f){var _=j();try{return ic(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Qm(i,n,a,s,o,l,c,f){var _=j();try{return uf(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function zm(i,n,a){var s=j();try{return Jl(i,n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function Xm(i,n,a,s,o,l,c){var f=j();try{oc(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Jm(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{uc(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Zm(i,n,a,s,o){var l=j();try{return sc(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function ev(i,n,a,s,o){var l=j();try{nc(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function tv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{lc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function rv(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q){var de=j();try{Xl(i,n,a,s,o,l,c,f,_,p,m,k,E,W,Q)}catch(Ce){if(w(de),Ce!==Ce+0)throw Ce;b(1,0)}}function iv(i,n,a,s,o){var l=j();try{return Zl(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function nv(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{return ac(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function av(i,n,a,s,o,l,c,f,_){var p=j();try{cc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function sv(i,n,a,s,o,l,c,f,_){var p=j();try{fc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function ov(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{_c(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function uv(i,n,a,s,o,l,c,f){var _=j();try{return dc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function lv(i,n,a,s,o,l,c){var f=j();try{return pc(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function cv(i,n,a,s){var o=j();try{return yc(i,n,a,s)}catch(l){if(w(o),l!==l+0)throw l;b(1,0)}}function fv(i,n,a,s,o,l,c,f){var _=j();try{return mc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function _v(i,n,a,s,o,l,c,f){var _=j();try{return vc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function dv(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{return gc(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function pv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return jc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function yv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{wc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function hv(i,n,a,s,o,l,c,f){var _=j();try{return kc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function mv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Cc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function vv(i,n,a,s,o,l,c,f){var _=j();try{return Sc(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function gv(i,n,a,s,o,l,c,f,_){var p=j();try{return Ic(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function bv(i,n,a,s,o,l,c,f,_,p,m,k,E,W){var Q=j();try{return Bc(i,n,a,s,o,l,c,f,_,p,m,k,E,W)}catch(de){if(w(Q),de!==de+0)throw de;b(1,0)}}function jv(i,n,a,s,o){var l=j();try{return Tc(i,n,a,s,o)}catch(c){if(w(l),c!==c+0)throw c;b(1,0)}}function wv(i,n,a,s,o,l,c){var f=j();try{return Ec(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function kv(i,n,a,s,o,l,c){var f=j();try{return Ac(i,n,a,s,o,l,c)}catch(_){if(w(f),_!==_+0)throw _;b(1,0)}}function Cv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Rc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Sv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Dc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Ev(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Pc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Av(i,n,a,s,o,l,c,f,_,p){var m=j();try{xc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Rv(i,n,a,s,o,l,c,f,_,p){var m=j();try{Oc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Tv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Fc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Dv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{Nc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Pv(i,n,a,s,o,l){var c=j();try{return Mc(i,n,a,s,o,l)}catch(f){if(w(c),f!==f+0)throw f;b(1,0)}}function xv(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{return Lc(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Ov(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Uc(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function Fv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return Hc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Nv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return qc(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Mv(i,n,a,s,o,l,c,f,_){var p=j();try{return Wc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Iv(i,n,a,s,o,l,c,f,_,p){var m=j();try{return $c(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Bv(i,n,a,s,o,l,c,f,_){var p=j();try{return Qc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Lv(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{return zc(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Uv(i,n,a,s,o,l,c,f,_){var p=j();try{return Xc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Hv(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{Jc(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function qv(i,n,a,s,o,l,c,f,_){var p=j();try{Ju(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Wv(i,n,a,s,o,l,c,f,_){var p=j();try{return Zc(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function $v(i,n,a,s,o,l,c,f){var _=j();try{return ef(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Gv(i,n,a){var s=j();try{tf(i,n,a)}catch(o){if(w(s),o!==o+0)throw o;b(1,0)}}function Kv(i,n,a,s,o,l,c,f,_,p){var m=j();try{el(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Vv(i,n,a,s,o,l,c,f,_,p){var m=j();try{nf(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Yv(i,n,a,s,o,l,c,f,_){var p=j();try{af(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function Qv(i,n,a,s,o,l,c,f,_){var p=j();try{sf(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function zv(i,n,a,s,o,l,c,f){var _=j();try{of(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function Xv(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{lf(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}function Jv(i,n,a,s,o,l,c,f,_,p){var m=j();try{ff(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function Zv(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return df(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function eg(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{cf(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function tg(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{_f(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function rg(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{pf(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function ig(i,n,a,s,o,l,c,f,_,p){var m=j();try{return yf(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function ng(i,n,a,s,o,l,c,f,_,p,m,k,E){var W=j();try{hf(i,n,a,s,o,l,c,f,_,p,m,k,E)}catch(Q){if(w(W),Q!==Q+0)throw Q;b(1,0)}}function ag(i,n,a,s,o,l,c,f,_,p){var m=j();try{mf(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function sg(i,n,a,s,o,l,c,f,_){var p=j();try{vf(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function og(i,n,a,s,o,l,c,f,_){var p=j();try{Rf(i,n,a,s,o,l,c,f,_)}catch(m){if(w(p),m!==m+0)throw m;b(1,0)}}function ug(i,n,a,s,o,l,c,f,_,p,m,k,E,W){var Q=j();try{bf(i,n,a,s,o,l,c,f,_,p,m,k,E,W)}catch(de){if(w(Q),de!==de+0)throw de;b(1,0)}}function lg(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{jf(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function cg(i,n,a,s,o,l,c,f,_,p){var m=j();try{gf(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function fg(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return wf(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function _g(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return Ef(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function dg(i,n,a,s,o,l,c,f,_,p){var m=j();try{Sf(i,n,a,s,o,l,c,f,_,p)}catch(k){if(w(m),k!==k+0)throw k;b(1,0)}}function pg(i,n,a,s,o,l,c,f){var _=j();try{return Cf(i,n,a,s,o,l,c,f)}catch(p){if(w(_),p!==p+0)throw p;b(1,0)}}function yg(i,n,a,s,o,l,c,f,_,p,m){var k=j();try{return kf(i,n,a,s,o,l,c,f,_,p,m)}catch(E){if(w(k),E!==E+0)throw E;b(1,0)}}function hg(i,n,a,s,o,l,c,f,_,p,m,k){var E=j();try{return Af(i,n,a,s,o,l,c,f,_,p,m,k)}catch(W){if(w(E),W!==W+0)throw W;b(1,0)}}e.ccall=le;var bi;function ji(i){this.name="ExitStatus",this.message="Program terminated with exit("+i+")",this.status=i}var mg=!1;Ge=function i(){bi||Ja(),bi||(Ge=i)};function vg(i){var n=e._main,a=0,s=0;try{var o=n(a,s);return gg(o,!0),o}catch(l){return _n(l)}finally{mg=!0}}function Ja(i){if(i=i||v,kt>0||(on(),kt>0))return;function n(){bi||(bi=!0,e.calledRun=!0,!ke&&(un(),ln(),u(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),Tf&&vg(i),cn()))}e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),n()},1)):n()}e.run=Ja;function gg(i,n){D=i,bg(i)}function bg(i){D=i,Jr()||(e.onExit&&e.onExit(i),ke=!0),A(i,new ji(i))}if(e.preInit)for(typeof e.preInit=="function"&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();var Tf=!0;return e.noInitialRun&&(Tf=!1),Ja(),t.ready}})(),rn=Gw;var Np=_r(require("fs")),Cr=class extends Wr{constructor(e,u,d,y){super(e,u);this.mainModulePath=d,this.pthreadWorkerPath=y}locateFile(e,u){if(e.endsWith(".wasm"))return this.mainModulePath;if(e.endsWith(".worker.js")){if(!this.pthreadWorkerPath)throw new Error("Missing DuckDB worker path!");return this.pthreadWorkerPath}throw new Error(`WASM instantiation requested unexpected file: prefix=${u} path=${e}`)}instantiateWasm(e,u){globalThis.DUCKDB_RUNTIME={};for(let y of Object.getOwnPropertyNames(this._runtime))y!="constructor"&&(globalThis.DUCKDB_RUNTIME[y]=Object.getOwnPropertyDescriptor(this._runtime,y).value);let d=Np.default.readFileSync(this.mainModulePath);return WebAssembly.instantiate(d,e).then(y=>{u(y.instance,y.module)}),[]}instantiateImpl(e){return rn({...e,instantiateWasm:this.instantiateWasm.bind(this)})}};var nn=class extends Cr{constructor(t,e,u,d=null){super(t,e,u,d)}instantiateImpl(t){return rn({...t,instantiateWasm:this.instantiateWasm.bind(this),locateFile:this.locateFile.bind(this)})}};var Mp={},Kw=(()=>{var r=Mp.url;return function(t){t=t||{};var e=typeof t<"u"?t:{},u,d;e.ready=new Promise(function(h,g){u=h,d=g});var y=Object.assign({},e),v=[],S="./this.program",A=(h,g)=>{throw g},I=typeof window=="object",R=typeof importScripts=="function",U=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",P="";function fe(h){return e.locateFile?e.locateFile(h,P):P+h}var K,z,Z,oe;function be(h){if(h instanceof fr)return;J("exiting due to exception: "+h)}var he,Ae,ne;U?(R?P=require("path").dirname(P)+"/":P=__dirname+"/",ne=()=>{Ae||(he=require("fs"),Ae=require("path"))},K=function(g,C){return ne(),g=Ae.normalize(g),he.readFileSync(g,C?void 0:"utf8")},Z=h=>{var g=K(h,!0);return g.buffer||(g=new Uint8Array(g)),g},z=(h,g,C)=>{ne(),h=Ae.normalize(h),he.readFile(h,function(T,M){T?C(T):g(M.buffer)})},process.argv.length>1&&(S=process.argv[1].replace(/\\/g,"/")),v=process.argv.slice(2),process.on("uncaughtException",function(h){if(!(h instanceof fr))throw h}),process.on("unhandledRejection",function(h){throw h}),A=(h,g)=>{if(zr())throw process.exitCode=h,g;be(g),process.exit(h)},e.inspect=function(){return"[Emscripten Module object]"}):(I||R)&&(R?P=self.location.href:typeof document<"u"&&document.currentScript&&(P=document.currentScript.src),r&&(P=r),P.indexOf("blob:")!==0?P=P.substr(0,P.replace(/[?#].*/,"").lastIndexOf("/")+1):P="",K=h=>{var g=new XMLHttpRequest;return g.open("GET",h,!1),g.send(null),g.responseText},R&&(Z=h=>{var g=new XMLHttpRequest;return g.open("GET",h,!1),g.responseType="arraybuffer",g.send(null),new Uint8Array(g.response)}),z=(h,g,C)=>{var T=new XMLHttpRequest;T.open("GET",h,!0),T.responseType="arraybuffer",T.onload=()=>{if(T.status==200||T.status==0&&T.response){g(T.response);return}C()},T.onerror=C,T.send(null)},oe=h=>document.title=h);var we=e.print||console.log.bind(console),J=e.printErr||console.warn.bind(console);Object.assign(e,y),y=null,e.arguments&&(v=e.arguments),e.thisProgram&&(S=e.thisProgram),e.quit&&(A=e.quit);var ee;e.wasmBinary&&(ee=e.wasmBinary);var H=e.noExitRuntime||!0;typeof WebAssembly!="object"&&Ge("no native wasm support detected");var pe,F=!1,ue;function ae(h,g){h||Ge(g)}function ke(h){var g=e["_"+h];return g}function D(h,g,C,T,M){var X={string:function(Ie){var b=0;if(Ie!=null&&Ie!==0){var j=(Ie.length<<2)+1;b=Br(j),$e(Ie,b,j)}return b},array:function(Ie){var b=Br(Ie.length);return _t(Ie,b),b}};function G(Ie){return g==="string"?le(Ie):g==="boolean"?Boolean(Ie):Ie}var q=ke(h),te=[],me=0;if(T)for(var ve=0;ve<T.length;ve++){var Ke=X[C[ve]];Ke?(me===0&&(me=hi()),te[ve]=Ke(T[ve])):te[ve]=T[ve]}var Se=q.apply(null,te);function ft(Ie){return me!==0&&mi(me),G(Ie)}return Se=ft(Se),Se}var x=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Pe(h,g,C){g>>>=0;for(var T=g+C,M=g;h[M]&&!(M>=T);)++M;if(M-g>16&&h.buffer&&x)return x.decode(h.subarray(g,M));for(var X="";g<M;){var G=h[g++];if(!(G&128)){X+=String.fromCharCode(G);continue}var q=h[g++]&63;if((G&224)==192){X+=String.fromCharCode((G&31)<<6|q);continue}var te=h[g++]&63;if((G&240)==224?G=(G&15)<<12|q<<6|te:G=(G&7)<<18|q<<12|te<<6|h[g++]&63,G<65536)X+=String.fromCharCode(G);else{var me=G-65536;X+=String.fromCharCode(55296|me>>10,56320|me&1023)}}return X}function le(h,g){return h>>>=0,h?Pe(se,h,g):""}function Qe(h,g,C,T){if(C>>>=0,!(T>0))return 0;for(var M=C,X=C+T-1,G=0;G<h.length;++G){var q=h.charCodeAt(G);if(q>=55296&&q<=57343){var te=h.charCodeAt(++G);q=65536+((q&1023)<<10)|te&1023}if(q<=127){if(C>=X)break;g[C++>>>0]=q}else if(q<=2047){if(C+1>=X)break;g[C++>>>0]=192|q>>6,g[C++>>>0]=128|q&63}else if(q<=65535){if(C+2>=X)break;g[C++>>>0]=224|q>>12,g[C++>>>0]=128|q>>6&63,g[C++>>>0]=128|q&63}else{if(C+3>=X)break;g[C++>>>0]=240|q>>18,g[C++>>>0]=128|q>>12&63,g[C++>>>0]=128|q>>6&63,g[C++>>>0]=128|q&63}}return g[C>>>0]=0,C-M}function $e(h,g,C){return Qe(h,se,g,C)}function xe(h){for(var g=0,C=0;C<h.length;++C){var T=h.charCodeAt(C);T>=55296&&T<=57343&&(T=65536+((T&1023)<<10)|h.charCodeAt(++C)&1023),T<=127?++g:T<=2047?g+=2:T<=65535?g+=3:g+=4}return g}function _t(h,g){ze.set(h,g>>>0)}function It(h,g,C){for(var T=0;T<h.length;++T)ze[g++>>>0]=h.charCodeAt(T);C||(ze[g>>>0]=0)}var bt,ze,se,st,et,O,ge,$,N;function Re(h){bt=h,e.HEAP8=ze=new Int8Array(h),e.HEAP16=st=new Int16Array(h),e.HEAP32=O=new Int32Array(h),e.HEAPU8=se=new Uint8Array(h),e.HEAPU16=et=new Uint16Array(h),e.HEAPU32=ge=new Uint32Array(h),e.HEAPF32=$=new Float32Array(h),e.HEAPF64=N=new Float64Array(h)}var qe=e.INITIAL_MEMORY||16777216,Fe,jt=[],At=[],Yr=[],Sr=[],Qr=!1;function zr(){return H}function Xr(){if(e.preRun)for(typeof e.preRun=="function"&&(e.preRun=[e.preRun]);e.preRun.length;)un(e.preRun.shift());Lt(jt)}function sn(){Qr=!0,Lt(At)}function Jr(){Lt(Yr)}function on(){if(e.postRun)for(typeof e.postRun=="function"&&(e.postRun=[e.postRun]);e.postRun.length;)cn(e.postRun.shift());Lt(Sr)}function un(h){jt.unshift(h)}function ln(h){At.unshift(h)}function cn(h){Sr.unshift(h)}var wt=0,Er=null,Bt=null;function kt(h){wt++,e.monitorRunDependencies&&e.monitorRunDependencies(wt)}function Ar(h){if(wt--,e.monitorRunDependencies&&e.monitorRunDependencies(wt),wt==0&&(Er!==null&&(clearInterval(Er),Er=null),Bt)){var g=Bt;Bt=null,g()}}function Ge(h){e.onAbort&&e.onAbort(h),h="Aborted("+h+")",J(h),F=!0,ue=1,h+=". Build with -sASSERTIONS for more info.";var g=new WebAssembly.RuntimeError(h);throw d(g),g}var fn="data:application/octet-stream;base64,";function Zr(h){return h.startsWith(fn)}var Oe;e.locateFile?(Oe="./duckdb-eh.wasm",Zr(Oe)||(Oe=fe(Oe))):Oe=new URL("./duckdb-eh.wasm",Mp.url).toString();function ei(h){try{if(h==Oe&&ee)return new Uint8Array(ee);if(Z)return Z(h);throw"both async and sync fetching of the wasm failed"}catch(g){Ge(g)}}function ti(){return!ee&&(I||R)&&typeof fetch=="function"?fetch(Oe,{credentials:"same-origin"}).then(function(h){if(!h.ok)throw"failed to load wasm binary file at '"+Oe+"'";return h.arrayBuffer()}).catch(function(){return ei(Oe)}):Promise.resolve().then(function(){return ei(Oe)})}function tt(){var h={a:ca};function g(G,q){var te=G.exports;e.asm=te,pe=e.asm.ha,Re(pe.buffer),Fe=e.asm.db,ln(e.asm.ia),Ar("wasm-instantiate")}kt("wasm-instantiate");function C(G){g(G.instance)}function T(G){return ti().then(function(q){return WebAssembly.instantiate(q,h)}).then(function(q){return q}).then(G,function(q){J("failed to asynchronously prepare wasm: "+q),Ge(q)})}function M(){return!ee&&typeof WebAssembly.instantiateStreaming=="function"&&!Zr(Oe)&&typeof fetch=="function"?fetch(Oe,{credentials:"same-origin"}).then(function(G){var q=WebAssembly.instantiateStreaming(G,h);return q.then(C,function(te){return J("wasm streaming compile failed: "+te),J("falling back to ArrayBuffer instantiation"),T(C)})}):T(C)}if(e.instantiateWasm)try{var X=e.instantiateWasm(h,g);return X}catch(G){return J("Module.instantiateWasm callback failed with error: "+G),!1}return M().catch(d),{}}function Lt(h){for(;h.length>0;){var g=h.shift();if(typeof g=="function"){g(e);continue}var C=g.func;typeof C=="number"?g.arg===void 0?ri(C)():ri(C)(g.arg):C(g.arg===void 0?null:g.arg)}}var Qt=[];function ri(h){var g=Qt[h];return g||(h>=Qt.length&&(Qt.length=h+1),Qt[h]=g=Fe.get(h)),g}function zt(h){if(h instanceof fr||h=="unwind")return ue;A(1,h)}function Xt(h,g,C,T){Ge("Assertion failed: "+le(h)+", at: "+[g?le(g):"unknown filename",C,T?le(T):"unknown function"])}var V={buffers:[null,[],[]],printChar:function(h,g){var C=V.buffers[h];g===0||g===10?((h===1?we:J)(Pe(C,0)),C.length=0):C.push(g)},varargs:void 0,get:function(){V.varargs+=4;var h=O[V.varargs-4>>>2];return h},getStr:function(h){var g=le(h);return g}};function _n(h,g,C,T,M){}function dn(){J("missing function: $SOCKFS"),Ge(-1)}function ii(){J("missing function: $FS"),Ge(-1)}function dt(h){var g=dn.getSocket(h);if(!g)throw new ii.ErrnoError(8);return g}function Rr(h){return(h&255)+"."+(h>>8&255)+"."+(h>>16&255)+"."+(h>>24&255)}function Ut(h){var g="",C=0,T=0,M=0,X=0,G=0,q=0,te=[h[0]&65535,h[0]>>16,h[1]&65535,h[1]>>16,h[2]&65535,h[2]>>16,h[3]&65535,h[3]>>16],me=!0,ve="";for(q=0;q<5;q++)if(te[q]!==0){me=!1;break}if(me){if(ve=Rr(te[6]|te[7]<<16),te[5]===-1)return g="::ffff:",g+=ve,g;if(te[5]===0)return g="::",ve==="0.0.0.0"&&(ve=""),ve==="0.0.0.1"&&(ve="1"),g+=ve,g}for(C=0;C<8;C++)te[C]===0&&(C-M>1&&(G=0),M=C,G++),G>T&&(T=G,X=C-T+1);for(C=0;C<8;C++){if(T>1&&te[C]===0&&C>=X&&C<X+T){C===X&&(g+=":",X===0&&(g+=":"));continue}g+=Number(Mr(te[C]&65535)).toString(16),g+=C<7?":":""}return g}function ni(h,g){var C=st[h>>>1],T=Mr(et[h+2>>>1]),M;switch(C){case 2:if(g!==16)return{errno:28};M=O[h+4>>>2],M=Rr(M);break;case 10:if(g!==28)return{errno:28};M=[O[h+8>>>2],O[h+12>>>2],O[h+16>>>2],O[h+20>>>2]],M=Ut(M);break;default:return{errno:5}}return{family:C,addr:M,port:T}}function Xe(h){for(var g=h.split("."),C=0;C<4;C++){var T=Number(g[C]);if(isNaN(T))return null;g[C]=T}return(g[0]|g[1]<<8|g[2]<<16|g[3]<<24)>>>0}function rt(h){return parseInt(h)}function Jt(h){var g,C,T,M,X=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,G=[];if(!X.test(h))return null;if(h==="::")return[0,0,0,0,0,0,0,0];for(h.startsWith("::")?h=h.replace("::","Z:"):h=h.replace("::",":Z:"),h.indexOf(".")>0?(h=h.replace(new RegExp("[.]","g"),":"),g=h.split(":"),g[g.length-4]=rt(g[g.length-4])+rt(g[g.length-3])*256,g[g.length-3]=rt(g[g.length-2])+rt(g[g.length-1])*256,g=g.slice(0,g.length-2)):g=h.split(":"),T=0,M=0,C=0;C<g.length;C++)if(typeof g[C]=="string")if(g[C]==="Z"){for(M=0;M<8-g.length+1;M++)G[C+M]=0;T=M-1}else G[C+T]=lr(parseInt(g[C],16));else G[C+T]=g[C];return[G[1]<<16|G[0],G[3]<<16|G[2],G[5]<<16|G[4],G[7]<<16|G[6]]}var it={address_map:{id:1,addrs:{},names:{}},lookup_name:function(h){var g=Xe(h);if(g!==null||(g=Jt(h),g!==null))return h;var C;if(it.address_map.addrs[h])C=it.address_map.addrs[h];else{var T=it.address_map.id++;ae(T<65535,"exceeded max address mappings of 65535"),C="172.29."+(T&255)+"."+(T&65280),it.address_map.names[C]=h,it.address_map.addrs[h]=C}return C},lookup_addr:function(h){return it.address_map.names[h]?it.address_map.names[h]:null}};function ai(h,g,C){if(C&&h===0)return null;var T=ni(h,g);if(T.errno)throw new ii.ErrnoError(T.errno);return T.addr=it.lookup_addr(T.addr)||T.addr,T}function pn(h,g,C){var T=dt(h),M=ai(g,C);return T.sock_ops.bind(T,M.addr,M.port),0}function yn(h,g,C){var T=dt(h),M=ai(g,C);return T.sock_ops.connect(T,M.addr,M.port),0}function hn(h,g,C,T){return g=V.getStr(g),g=V.calculateAt(h,g),V.doAccess(g,C)}function mn(h,g,C){return V.varargs=C,0}function vn(h,g){}function gn(h,g,C){}function bn(h,g,C){}function si(h,g){se.fill(0,h,h+g)}function Tr(h,g,C,T,M){switch(g){case 2:C=Xe(C),si(h,16),M&&(O[M>>>2]=16),st[h>>>1]=g,O[h+4>>>2]=C,st[h+2>>>1]=lr(T);break;case 10:C=Jt(C),si(h,28),M&&(O[M>>>2]=28),O[h>>>2]=g,O[h+8>>>2]=C[0],O[h+12>>>2]=C[1],O[h+16>>>2]=C[2],O[h+20>>>2]=C[3],st[h+2>>>1]=lr(T);break;default:return 5}return 0}function jn(h,g,C){var T=dt(h);if(!T.daddr)return-53;var M=Tr(g,T.family,it.lookup_name(T.daddr),T.dport,C);return 0}function He(h,g,C,T,M){var X=dt(h);return g===1&&C===4?(O[T>>>2]=X.error,O[M>>>2]=4,X.error=null,0):-50}function wn(h,g,C){return V.varargs=C,0}function kn(h,g){}function oi(h,g,C){}function Ht(h,g,C,T){}function Dr(h,g,C,T){V.varargs=T}function ui(h,g,C,T,M,X){var G=dt(h),q=G.sock_ops.recvmsg(G,C);if(!q)return 0;if(M)var te=Tr(M,G.family,it.lookup_name(q.addr),q.port,X);return se.set(q.buffer,g>>>0),q.buffer.byteLength}function li(h,g,C,T){}function Zt(h){}function er(h,g,C,T,M,X){}function Pr(h,g,C){}function nt(h,g){}function ci(h,g,C){}function Cn(h){}var fi="To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking";function Sn(h,g){Ge(fi)}function En(h,g){Ge(fi)}function An(){return Date.now()}var Rn=!0;function Tn(){return Rn}function _i(){Ge("")}function xr(h,g){return globalThis.DUCKDB_RUNTIME.createDirectory(e,h,g)}function Dn(h,g){return globalThis.DUCKDB_RUNTIME.checkDirectory(e,h,g)}function Pn(h,g){return globalThis.DUCKDB_RUNTIME.listDirectoryEntries(e,h,g)}function xn(h,g){return globalThis.DUCKDB_RUNTIME.removeDirectory(e,h,g)}function On(h){return globalThis.DUCKDB_RUNTIME.closeFile(e,h)}function Fn(h,g){return globalThis.DUCKDB_RUNTIME.checkFile(e,h,g)}function Nn(h){return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(e,h)}function Mn(h,g,C,T){return globalThis.DUCKDB_RUNTIME.moveFile(e,h,g,C,T)}function In(h,g){return globalThis.DUCKDB_RUNTIME.openFile(e,h,g)}function Bn(h,g,C,T){return globalThis.DUCKDB_RUNTIME.readFile(e,h,g,C,T)}function Ln(h,g){return globalThis.DUCKDB_RUNTIME.truncateFile(e,h,g)}function Un(h,g,C,T){return globalThis.DUCKDB_RUNTIME.writeFile(e,h,g,C,T)}function Hn(h,g){return globalThis.DUCKDB_RUNTIME.glob(e,h,g)}function qn(h){return globalThis.DUCKDB_RUNTIME.testPlatformFeature(e,h)}function Wn(h,g,C,T,M,X){return globalThis.DUCKDB_RUNTIME.callScalarUDF(e,h,g,C,T,M,X)}function di(){return 4294901760}var tr;U?tr=()=>{var h=process.hrtime();return h[0]*1e3+h[1]/1e6}:tr=()=>performance.now();function $n(h,g,C){se.copyWithin(h>>>0,g>>>0,g+C>>>0)}function Gn(h){try{return pe.grow(h-bt.byteLength+65535>>>16),Re(pe.buffer),1}catch{}}function Kn(h){var g=se.length;h=h>>>0;var C=di();if(h>C)return!1;let T=(te,me)=>te+(me-te%me)%me;for(var M=1;M<=4;M*=2){var X=g*(1+.2/M);X=Math.min(X,h+100663296);var G=Math.min(C,T(Math.max(h,X),65536)),q=Gn(G);if(q)return!0}return!1}var Or={};function Vn(){return S||"./this.program"}function qt(){if(!qt.strings){var h=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",g={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:h,_:Vn()};for(var C in Or)Or[C]===void 0?delete g[C]:g[C]=Or[C];var T=[];for(var C in g)T.push(C+"="+g[C]);qt.strings=T}return qt.strings}function Yn(h,g){var C=0;return qt().forEach(function(T,M){var X=g+C;O[h+M*4>>>2]=X,It(T,X),C+=T.length+1}),0}function Qn(h,g){var C=qt();O[h>>>2]=C.length;var T=0;return C.forEach(function(M){T+=M.length+1}),O[g>>>2]=T,0}function zn(h){return 0}function Xn(h,g,C,T,M,X){var G=V.getStreamFromFD(h),q=V.doReadv(G,g,C,T);return O[X>>>2]=q,0}function Jn(h,g,C,T,M,X){var G=V.getStreamFromFD(h),q=V.doWritev(G,g,C,T);return O[X>>>2]=q,0}function Zn(h,g,C,T){var M=V.getStreamFromFD(h),X=V.doReadv(M,g,C);return O[T>>>2]=X,0}function ea(h,g,C,T,M){}function ta(h){var g=V.getStreamFromFD(h);return g.stream_ops&&g.stream_ops.fsync?-g.stream_ops.fsync(g):0}function ra(h,g,C,T){for(var M=0,X=0;X<C;X++){var G=O[g>>>2],q=O[g+4>>>2];g+=8;for(var te=0;te<q;te++)V.printChar(h,se[G+te>>>0]);M+=q}return O[T>>>2]=M,0}function ia(h,g,C,T){var M=0,X=0,G=0,q=0,te=0,me=0,ve;function Ke(Se,ft,Ie,b,j,w){var L,re,Te,Ue;return re=Se===10?28:16,j=Se===10?Ut(j):Rr(j),L=Ir(re),Ue=Tr(L,Se,j,w),ae(!Ue),Te=Ir(32),O[Te+4>>>2]=Se,O[Te+8>>>2]=ft,O[Te+12>>>2]=Ie,O[Te+24>>>2]=b,O[Te+20>>>2]=L,Se===10?O[Te+16>>>2]=28:O[Te+16>>>2]=16,O[Te+28>>>2]=0,Te}if(C&&(G=O[C>>>2],q=O[C+4>>>2],te=O[C+8>>>2],me=O[C+12>>>2]),te&&!me&&(me=te===2?17:6),!te&&me&&(te=me===17?2:1),me===0&&(me=6),te===0&&(te=1),!h&&!g)return-2;if(G&-1088||C!==0&&O[C>>>2]&2&&!h)return-1;if(G&32)return-2;if(te!==0&&te!==1&&te!==2)return-7;if(q!==0&&q!==2&&q!==10)return-6;if(g&&(g=le(g),X=parseInt(g,10),isNaN(X)))return G&1024?-2:-8;if(!h)return q===0&&(q=2),(G&1)===0&&(q===2?M=ur(2130706433):M=[0,0,0,1]),ve=Ke(q,te,me,null,M,X),O[T>>>2]=ve,0;if(h=le(h),M=Xe(h),M!==null)if(q===0||q===2)q=2;else if(q===10&&G&8)M=[0,0,ur(65535),M],q=10;else return-2;else if(M=Jt(h),M!==null)if(q===0||q===10)q=10;else return-2;return M!=null?(ve=Ke(q,te,me,h,M,X),O[T>>>2]=ve,0):G&4?-2:(h=it.lookup_name(h),M=Xe(h),q===0?q=2:q===10&&(M=[0,0,ur(65535),M]),ve=Ke(q,te,me,null,M,X),O[T>>>2]=ve,0)}function na(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var h=new Uint8Array(1);return function(){return crypto.getRandomValues(h),h[0]}}else if(U)try{var g=require("crypto");return function(){return g.randomBytes(1)[0]}}catch{}return function(){Ge("randomDevice")}}function rr(h,g){rr.randomDevice||(rr.randomDevice=na());for(var C=0;C<g;C++)ze[h+C>>>0]=rr.randomDevice();return 0}function aa(h,g,C,T,M,X,G){var q=ni(h,g);if(q.errno)return-6;var te=q.port,me=q.addr,ve=!1;if(C&&T){var Ke;if(G&1||!(Ke=it.lookup_addr(me))){if(G&8)return-2}else me=Ke;var Se=$e(me,C,T);Se+1>=T&&(ve=!0)}if(M&&X){te=""+te;var Se=$e(te,M,X);Se+1>=X&&(ve=!0)}return ve?-12:0}function ir(h){return h%4===0&&(h%100!==0||h%400===0)}function sa(h,g){for(var C=0,T=0;T<=g;C+=h[T++]);return C}var Fr=[31,29,31,30,31,30,31,31,30,31,30,31],nr=[31,28,31,30,31,30,31,31,30,31,30,31];function oa(h,g){for(var C=new Date(h.getTime());g>0;){var T=ir(C.getFullYear()),M=C.getMonth(),X=(T?Fr:nr)[M];if(g>X-C.getDate())g-=X-C.getDate()+1,C.setDate(1),M<11?C.setMonth(M+1):(C.setMonth(0),C.setFullYear(C.getFullYear()+1));else return C.setDate(C.getDate()+g),C}return C}function ua(h,g,C,T){var M=O[T+40>>>2],X={tm_sec:O[T>>>2],tm_min:O[T+4>>>2],tm_hour:O[T+8>>>2],tm_mday:O[T+12>>>2],tm_mon:O[T+16>>>2],tm_year:O[T+20>>>2],tm_wday:O[T+24>>>2],tm_yday:O[T+28>>>2],tm_isdst:O[T+32>>>2],tm_gmtoff:O[T+36>>>2],tm_zone:M?le(M):""},G=le(C),q={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var te in q)G=G.replace(new RegExp(te,"g"),q[te]);var me=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ve=["January","February","March","April","May","June","July","August","September","October","November","December"];function Ke(L,re,Te){for(var Ue=typeof L=="number"?L.toString():L||"";Ue.length<re;)Ue=Te[0]+Ue;return Ue}function Se(L,re){return Ke(L,re,"0")}function ft(L,re){function Te(Wt){return Wt<0?-1:Wt>0?1:0}var Ue;return(Ue=Te(L.getFullYear()-re.getFullYear()))===0&&(Ue=Te(L.getMonth()-re.getMonth()))===0&&(Ue=Te(L.getDate()-re.getDate())),Ue}function Ie(L){switch(L.getDay()){case 0:return new Date(L.getFullYear()-1,11,29);case 1:return L;case 2:return new Date(L.getFullYear(),0,3);case 3:return new Date(L.getFullYear(),0,2);case 4:return new Date(L.getFullYear(),0,1);case 5:return new Date(L.getFullYear()-1,11,31);case 6:return new Date(L.getFullYear()-1,11,30)}}function b(L){var re=oa(new Date(L.tm_year+1900,0,1),L.tm_yday),Te=new Date(re.getFullYear(),0,4),Ue=new Date(re.getFullYear()+1,0,4),Wt=Ie(Te),gi=Ie(Ue);return ft(Wt,re)<=0?ft(gi,re)<=0?re.getFullYear()+1:re.getFullYear():re.getFullYear()-1}var j={"%a":function(L){return me[L.tm_wday].substring(0,3)},"%A":function(L){return me[L.tm_wday]},"%b":function(L){return ve[L.tm_mon].substring(0,3)},"%B":function(L){return ve[L.tm_mon]},"%C":function(L){var re=L.tm_year+1900;return Se(re/100|0,2)},"%d":function(L){return Se(L.tm_mday,2)},"%e":function(L){return Ke(L.tm_mday,2," ")},"%g":function(L){return b(L).toString().substring(2)},"%G":function(L){return b(L)},"%H":function(L){return Se(L.tm_hour,2)},"%I":function(L){var re=L.tm_hour;return re==0?re=12:re>12&&(re-=12),Se(re,2)},"%j":function(L){return Se(L.tm_mday+sa(ir(L.tm_year+1900)?Fr:nr,L.tm_mon-1),3)},"%m":function(L){return Se(L.tm_mon+1,2)},"%M":function(L){return Se(L.tm_min,2)},"%n":function(){return`
|
|
4
|
-
`},"%p":function(
|
|
1
|
+
"use strict";var tb=Object.create;var br=Object.defineProperty;var ib=Object.getOwnPropertyDescriptor;var rb=Object.getOwnPropertyNames;var nb=Object.getPrototypeOf,ab=Object.prototype.hasOwnProperty;var G=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),sb=(r,t)=>{for(var e in t)br(r,e,{get:t[e],enumerable:!0})},Yf=(r,t,e,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let d of rb(t))!ab.call(r,d)&&d!==e&&br(r,d,{get:()=>t[d],enumerable:!(l=ib(t,d))||l.enumerable});return r};var _i=(r,t,e)=>(e=r!=null?tb(nb(r)):{},Yf(t||!r||!r.__esModule?br(e,"default",{value:r,enumerable:!0}):e,r)),ob=r=>Yf(br({},"__esModule",{value:!0}),r);var o_=G((Yk,s_)=>{"use strict";var pb=async r=>{try{return(await WebAssembly.instantiate(r)).instance.exports.b(BigInt(0))===BigInt(0)}catch{return!1}},yb=async()=>"compileStreaming"in WebAssembly,hb=async r=>{try{return typeof MessageChannel<"u"&&new MessageChannel().port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(r)}catch{return!1}},mb={bigInt:()=>pb(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,126,1,126,3,2,1,0,7,5,1,1,98,0,0,10,6,1,4,0,32,0,11])),bulkMemory:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,3,1,0,1,10,14,1,12,0,65,0,65,0,65,0,252,10,0,0,11])),exceptions:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),extendedConst:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,5,3,1,0,1,11,9,1,0,65,1,65,2,106,11,0])),memory64:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,5,3,1,4,1])),multiValue:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,0,2,127,127,3,2,1,0,10,8,1,6,0,65,0,65,0,11])),mutableGlobals:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,2,8,1,1,97,1,98,3,127,1,6,6,1,127,1,65,0,11,7,5,1,1,97,3,1])),referenceTypes:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,7,1,5,0,208,112,26,11])),relaxedSimd:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,15,1,13,0,65,1,253,15,65,2,253,15,253,128,2,11])),saturatedFloatToInt:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,12,1,10,0,67,0,0,0,0,252,0,26,11])),signExtensions:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,65,0,192,26,11])),simd:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,123,3,2,1,0,10,10,1,8,0,65,0,253,15,253,98,11])),streamingCompilation:()=>yb(),tailCall:async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,6,1,4,0,18,0,11])),threads:()=>hb(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]))};s_.exports=mb});var l_=G(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.splitWhen=pi.flatten=void 0;function Eb(r){return r.reduce((t,e)=>[].concat(t,e),[])}pi.flatten=Eb;function Ab(r,t){let e=[[]],l=0;for(let d of r)t(d)?(l++,e[l]=[]):e[l].push(d);return e}pi.splitWhen=Ab});var c_=G(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.isEnoentCodeError=void 0;function Rb(r){return r.code==="ENOENT"}Rr.isEnoentCodeError=Rb});var f_=G(Dr=>{"use strict";Object.defineProperty(Dr,"__esModule",{value:!0});Dr.createDirentFromStats=void 0;var ws=class{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}};function Db(r,t){return new ws(r,t)}Dr.createDirentFromStats=Db});var __=G(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.removeLeadingDotSegment=yt.escape=yt.makeAbsolute=yt.unixify=void 0;var Tb=require("path"),Pb=2,Ob=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function xb(r){return r.replace(/\\/g,"/")}yt.unixify=xb;function Mb(r,t){return Tb.resolve(r,t)}yt.makeAbsolute=Mb;function Ib(r){return r.replace(Ob,"\\$2")}yt.escape=Ib;function Fb(r){if(r.charAt(0)==="."){let t=r.charAt(1);if(t==="/"||t==="\\")return r.slice(Pb)}return r}yt.removeLeadingDotSegment=Fb});var p_=G((rC,d_)=>{d_.exports=function(t){if(typeof t!="string"||t==="")return!1;for(var e;e=/(\\).|([@?!+*]\(.*\))/g.exec(t);){if(e[2])return!0;t=t.slice(e.index+e[0].length)}return!1}});var m_=G((nC,h_)=>{var Nb=p_(),y_={"{":"}","(":")","[":"]"},Bb=function(r){if(r[0]==="!")return!0;for(var t=0,e=-2,l=-2,d=-2,y=-2,v=-2;t<r.length;){if(r[t]==="*"||r[t+1]==="?"&&/[\].+)]/.test(r[t])||l!==-1&&r[t]==="["&&r[t+1]!=="]"&&(l<t&&(l=r.indexOf("]",t)),l>t&&(v===-1||v>l||(v=r.indexOf("\\",t),v===-1||v>l)))||d!==-1&&r[t]==="{"&&r[t+1]!=="}"&&(d=r.indexOf("}",t),d>t&&(v=r.indexOf("\\",t),v===-1||v>d))||y!==-1&&r[t]==="("&&r[t+1]==="?"&&/[:!=]/.test(r[t+2])&&r[t+3]!==")"&&(y=r.indexOf(")",t),y>t&&(v=r.indexOf("\\",t),v===-1||v>y))||e!==-1&&r[t]==="("&&r[t+1]!=="|"&&(e<t&&(e=r.indexOf("|",t)),e!==-1&&r[e+1]!==")"&&(y=r.indexOf(")",e),y>e&&(v=r.indexOf("\\",e),v===-1||v>y))))return!0;if(r[t]==="\\"){var E=r[t+1];t+=2;var R=y_[E];if(R){var N=r.indexOf(R,t);N!==-1&&(t=N+1)}if(r[t]==="!")return!0}else t++}return!1},Lb=function(r){if(r[0]==="!")return!0;for(var t=0;t<r.length;){if(/[*?{}()[\]]/.test(r[t]))return!0;if(r[t]==="\\"){var e=r[t+1];t+=2;var l=y_[e];if(l){var d=r.indexOf(l,t);d!==-1&&(t=d+1)}if(r[t]==="!")return!0}else t++}return!1};h_.exports=function(t,e){if(typeof t!="string"||t==="")return!1;if(Nb(t))return!0;var l=Bb;return e&&e.strict===!1&&(l=Lb),l(t)}});var g_=G((aC,v_)=>{"use strict";var Ub=m_(),Hb=require("path").posix.dirname,qb=require("os").platform()==="win32",ks="/",Wb=/\\/g,$b=/[\{\[].*[\}\]]$/,Gb=/(^|[^\\])([\{\[]|\([^\)]+$)/,Kb=/\\([\!\*\?\|\[\]\(\)\{\}])/g;v_.exports=function(t,e){var l=Object.assign({flipBackslashes:!0},e);l.flipBackslashes&&qb&&t.indexOf(ks)<0&&(t=t.replace(Wb,ks)),$b.test(t)&&(t+=ks),t+="a";do t=Hb(t);while(Ub(t)||Gb.test(t));return t.replace(Kb,"$1")}});var Tr=G(ft=>{"use strict";ft.isInteger=r=>typeof r=="number"?Number.isInteger(r):typeof r=="string"&&r.trim()!==""?Number.isInteger(Number(r)):!1;ft.find=(r,t)=>r.nodes.find(e=>e.type===t);ft.exceedsLimit=(r,t,e=1,l)=>l===!1||!ft.isInteger(r)||!ft.isInteger(t)?!1:(Number(t)-Number(r))/Number(e)>=l;ft.escapeNode=(r,t=0,e)=>{let l=r.nodes[t];!l||(e&&l.type===e||l.type==="open"||l.type==="close")&&l.escaped!==!0&&(l.value="\\"+l.value,l.escaped=!0)};ft.encloseBrace=r=>r.type!=="brace"?!1:r.commas>>0+r.ranges>>0===0?(r.invalid=!0,!0):!1;ft.isInvalidBrace=r=>r.type!=="brace"?!1:r.invalid===!0||r.dollar?!0:r.commas>>0+r.ranges>>0===0||r.open!==!0||r.close!==!0?(r.invalid=!0,!0):!1;ft.isOpenOrClose=r=>r.type==="open"||r.type==="close"?!0:r.open===!0||r.close===!0;ft.reduce=r=>r.reduce((t,e)=>(e.type==="text"&&t.push(e.value),e.type==="range"&&(e.type="text"),t),[]);ft.flatten=(...r)=>{let t=[],e=l=>{for(let d=0;d<l.length;d++){let y=l[d];Array.isArray(y)?e(y,t):y!==void 0&&t.push(y)}return t};return e(r),t}});var Pr=G((oC,j_)=>{"use strict";var b_=Tr();j_.exports=(r,t={})=>{let e=(l,d={})=>{let y=t.escapeInvalid&&b_.isInvalidBrace(d),v=l.invalid===!0&&t.escapeInvalid===!0,E="";if(l.value)return(y||v)&&b_.isOpenOrClose(l)?"\\"+l.value:l.value;if(l.value)return l.value;if(l.nodes)for(let R of l.nodes)E+=e(R);return E};return e(r)}});var k_=G((uC,w_)=>{"use strict";w_.exports=function(r){return typeof r=="number"?r-r===0:typeof r=="string"&&r.trim()!==""?Number.isFinite?Number.isFinite(+r):isFinite(+r):!1}});var O_=G((lC,P_)=>{"use strict";var C_=k_(),Xt=(r,t,e)=>{if(C_(r)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(t===void 0||r===t)return String(r);if(C_(t)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let l={relaxZeros:!0,...e};typeof l.strictZeros=="boolean"&&(l.relaxZeros=l.strictZeros===!1);let d=String(l.relaxZeros),y=String(l.shorthand),v=String(l.capture),E=String(l.wrap),R=r+":"+t+"="+d+y+v+E;if(Xt.cache.hasOwnProperty(R))return Xt.cache[R].result;let N=Math.min(r,t),T=Math.max(r,t);if(Math.abs(N-T)===1){let Y=r+"|"+t;return l.capture?`(${Y})`:l.wrap===!1?Y:`(?:${Y})`}let L=T_(r)||T_(t),P={min:r,max:t,a:N,b:T},_e=[],$=[];if(L&&(P.isPadded=L,P.maxLen=String(P.max).length),N<0){let Y=T<0?Math.abs(T):1;$=S_(Y,Math.abs(N),P,l),N=P.a=0}return T>=0&&(_e=S_(N,T,P,l)),P.negatives=$,P.positives=_e,P.result=Yb($,_e,l),l.capture===!0?P.result=`(${P.result})`:l.wrap!==!1&&_e.length+$.length>1&&(P.result=`(?:${P.result})`),Xt.cache[R]=P,P.result};function Yb(r,t,e){let l=Cs(r,t,"-",!1,e)||[],d=Cs(t,r,"",!1,e)||[],y=Cs(r,t,"-?",!0,e)||[];return l.concat(y).concat(d).join("|")}function Vb(r,t){let e=1,l=1,d=A_(r,e),y=new Set([t]);for(;r<=d&&d<=t;)y.add(d),e+=1,d=A_(r,e);for(d=R_(t+1,l)-1;r<d&&d<=t;)y.add(d),l+=1,d=R_(t+1,l)-1;return y=[...y],y.sort(Xb),y}function Qb(r,t,e){if(r===t)return{pattern:r,count:[],digits:0};let l=zb(r,t),d=l.length,y="",v=0;for(let E=0;E<d;E++){let[R,N]=l[E];R===N?y+=R:R!=="0"||N!=="9"?y+=Jb(R,N,e):v++}return v&&(y+=e.shorthand===!0?"\\d":"[0-9]"),{pattern:y,count:[v],digits:d}}function S_(r,t,e,l){let d=Vb(r,t),y=[],v=r,E;for(let R=0;R<d.length;R++){let N=d[R],T=Qb(String(v),String(N),l),L="";if(!e.isPadded&&E&&E.pattern===T.pattern){E.count.length>1&&E.count.pop(),E.count.push(T.count[0]),E.string=E.pattern+D_(E.count),v=N+1;continue}e.isPadded&&(L=Zb(N,e,l)),T.string=L+T.pattern+D_(T.count),y.push(T),v=N+1,E=T}return y}function Cs(r,t,e,l,d){let y=[];for(let v of r){let{string:E}=v;!l&&!E_(t,"string",E)&&y.push(e+E),l&&E_(t,"string",E)&&y.push(e+E)}return y}function zb(r,t){let e=[];for(let l=0;l<r.length;l++)e.push([r[l],t[l]]);return e}function Xb(r,t){return r>t?1:t>r?-1:0}function E_(r,t,e){return r.some(l=>l[t]===e)}function A_(r,t){return Number(String(r).slice(0,-t)+"9".repeat(t))}function R_(r,t){return r-r%Math.pow(10,t)}function D_(r){let[t=0,e=""]=r;return e||t>1?`{${t+(e?","+e:"")}}`:""}function Jb(r,t,e){return`[${r}${t-r===1?"":"-"}${t}]`}function T_(r){return/^-?(0+)\d/.test(r)}function Zb(r,t,e){if(!t.isPadded)return r;let l=Math.abs(t.maxLen-String(r).length),d=e.relaxZeros!==!1;switch(l){case 0:return"";case 1:return d?"0?":"0";case 2:return d?"0{0,2}":"00";default:return d?`0{0,${l}}`:`0{${l}}`}}Xt.cache={};Xt.clearCache=()=>Xt.cache={};P_.exports=Xt});var As=G((cC,U_)=>{"use strict";var ej=require("util"),I_=O_(),x_=r=>r!==null&&typeof r=="object"&&!Array.isArray(r),tj=r=>t=>r===!0?Number(t):String(t),Ss=r=>typeof r=="number"||typeof r=="string"&&r!=="",$i=r=>Number.isInteger(+r),Es=r=>{let t=`${r}`,e=-1;if(t[0]==="-"&&(t=t.slice(1)),t==="0")return!1;for(;t[++e]==="0";);return e>0},ij=(r,t,e)=>typeof r=="string"||typeof t=="string"?!0:e.stringify===!0,rj=(r,t,e)=>{if(t>0){let l=r[0]==="-"?"-":"";l&&(r=r.slice(1)),r=l+r.padStart(l?t-1:t,"0")}return e===!1?String(r):r},M_=(r,t)=>{let e=r[0]==="-"?"-":"";for(e&&(r=r.slice(1),t--);r.length<t;)r="0"+r;return e?"-"+r:r},nj=(r,t)=>{r.negatives.sort((v,E)=>v<E?-1:v>E?1:0),r.positives.sort((v,E)=>v<E?-1:v>E?1:0);let e=t.capture?"":"?:",l="",d="",y;return r.positives.length&&(l=r.positives.join("|")),r.negatives.length&&(d=`-(${e}${r.negatives.join("|")})`),l&&d?y=`${l}|${d}`:y=l||d,t.wrap?`(${e}${y})`:y},F_=(r,t,e,l)=>{if(e)return I_(r,t,{wrap:!1,...l});let d=String.fromCharCode(r);if(r===t)return d;let y=String.fromCharCode(t);return`[${d}-${y}]`},N_=(r,t,e)=>{if(Array.isArray(r)){let l=e.wrap===!0,d=e.capture?"":"?:";return l?`(${d}${r.join("|")})`:r.join("|")}return I_(r,t,e)},B_=(...r)=>new RangeError("Invalid range arguments: "+ej.inspect(...r)),L_=(r,t,e)=>{if(e.strictRanges===!0)throw B_([r,t]);return[]},aj=(r,t)=>{if(t.strictRanges===!0)throw new TypeError(`Expected step "${r}" to be a number`);return[]},sj=(r,t,e=1,l={})=>{let d=Number(r),y=Number(t);if(!Number.isInteger(d)||!Number.isInteger(y)){if(l.strictRanges===!0)throw B_([r,t]);return[]}d===0&&(d=0),y===0&&(y=0);let v=d>y,E=String(r),R=String(t),N=String(e);e=Math.max(Math.abs(e),1);let T=Es(E)||Es(R)||Es(N),L=T?Math.max(E.length,R.length,N.length):0,P=T===!1&&ij(r,t,l)===!1,_e=l.transform||tj(P);if(l.toRegex&&e===1)return F_(M_(r,L),M_(t,L),!0,l);let $={negatives:[],positives:[]},Y=Ee=>$[Ee<0?"negatives":"positives"].push(Math.abs(Ee)),Z=[],ne=0;for(;v?d>=y:d<=y;)l.toRegex===!0&&e>1?Y(d):Z.push(rj(_e(d,ne),L,P)),d=v?d-e:d+e,ne++;return l.toRegex===!0?e>1?nj($,l):N_(Z,null,{wrap:!1,...l}):Z},oj=(r,t,e=1,l={})=>{if(!$i(r)&&r.length>1||!$i(t)&&t.length>1)return L_(r,t,l);let d=l.transform||(P=>String.fromCharCode(P)),y=`${r}`.charCodeAt(0),v=`${t}`.charCodeAt(0),E=y>v,R=Math.min(y,v),N=Math.max(y,v);if(l.toRegex&&e===1)return F_(R,N,!1,l);let T=[],L=0;for(;E?y>=v:y<=v;)T.push(d(y,L)),y=E?y-e:y+e,L++;return l.toRegex===!0?N_(T,null,{wrap:!1,options:l}):T},Or=(r,t,e,l={})=>{if(t==null&&Ss(r))return[r];if(!Ss(r)||!Ss(t))return L_(r,t,l);if(typeof e=="function")return Or(r,t,1,{transform:e});if(x_(e))return Or(r,t,0,e);let d={...l};return d.capture===!0&&(d.wrap=!0),e=e||d.step||1,$i(e)?$i(r)&&$i(t)?sj(r,t,e,d):oj(r,t,Math.max(Math.abs(e),1),d):e!=null&&!x_(e)?aj(e,d):Or(r,t,1,e)};U_.exports=Or});var W_=G((fC,q_)=>{"use strict";var uj=As(),H_=Tr(),lj=(r,t={})=>{let e=(l,d={})=>{let y=H_.isInvalidBrace(d),v=l.invalid===!0&&t.escapeInvalid===!0,E=y===!0||v===!0,R=t.escapeInvalid===!0?"\\":"",N="";if(l.isOpen===!0||l.isClose===!0)return R+l.value;if(l.type==="open")return E?R+l.value:"(";if(l.type==="close")return E?R+l.value:")";if(l.type==="comma")return l.prev.type==="comma"?"":E?l.value:"|";if(l.value)return l.value;if(l.nodes&&l.ranges>0){let T=H_.reduce(l.nodes),L=uj(...T,{...t,wrap:!1,toRegex:!0});if(L.length!==0)return T.length>1&&L.length>1?`(${L})`:L}if(l.nodes)for(let T of l.nodes)N+=e(T,l);return N};return e(r)};q_.exports=lj});var K_=G((_C,G_)=>{"use strict";var cj=As(),$_=Pr(),yi=Tr(),Jt=(r="",t="",e=!1)=>{let l=[];if(r=[].concat(r),t=[].concat(t),!t.length)return r;if(!r.length)return e?yi.flatten(t).map(d=>`{${d}}`):t;for(let d of r)if(Array.isArray(d))for(let y of d)l.push(Jt(y,t,e));else for(let y of t)e===!0&&typeof y=="string"&&(y=`{${y}}`),l.push(Array.isArray(y)?Jt(d,y,e):d+y);return yi.flatten(l)},fj=(r,t={})=>{let e=t.rangeLimit===void 0?1e3:t.rangeLimit,l=(d,y={})=>{d.queue=[];let v=y,E=y.queue;for(;v.type!=="brace"&&v.type!=="root"&&v.parent;)v=v.parent,E=v.queue;if(d.invalid||d.dollar){E.push(Jt(E.pop(),$_(d,t)));return}if(d.type==="brace"&&d.invalid!==!0&&d.nodes.length===2){E.push(Jt(E.pop(),["{}"]));return}if(d.nodes&&d.ranges>0){let L=yi.reduce(d.nodes);if(yi.exceedsLimit(...L,t.step,e))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let P=cj(...L,t);P.length===0&&(P=$_(d,t)),E.push(Jt(E.pop(),P)),d.nodes=[];return}let R=yi.encloseBrace(d),N=d.queue,T=d;for(;T.type!=="brace"&&T.type!=="root"&&T.parent;)T=T.parent,N=T.queue;for(let L=0;L<d.nodes.length;L++){let P=d.nodes[L];if(P.type==="comma"&&d.type==="brace"){L===1&&N.push(""),N.push("");continue}if(P.type==="close"){E.push(Jt(E.pop(),N,R));continue}if(P.value&&P.type!=="open"){N.push(Jt(N.pop(),P.value));continue}P.nodes&&l(P,d)}return N};return yi.flatten(l(r))};G_.exports=fj});var V_=G((dC,Y_)=>{"use strict";Y_.exports={MAX_LENGTH:1024*64,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:`
|
|
2
|
+
`,CHAR_NO_BREAK_SPACE:"\xA0",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:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var Z_=G((pC,J_)=>{"use strict";var _j=Pr(),{MAX_LENGTH:Q_,CHAR_BACKSLASH:Rs,CHAR_BACKTICK:dj,CHAR_COMMA:pj,CHAR_DOT:yj,CHAR_LEFT_PARENTHESES:hj,CHAR_RIGHT_PARENTHESES:mj,CHAR_LEFT_CURLY_BRACE:vj,CHAR_RIGHT_CURLY_BRACE:gj,CHAR_LEFT_SQUARE_BRACKET:z_,CHAR_RIGHT_SQUARE_BRACKET:X_,CHAR_DOUBLE_QUOTE:bj,CHAR_SINGLE_QUOTE:jj,CHAR_NO_BREAK_SPACE:wj,CHAR_ZERO_WIDTH_NOBREAK_SPACE:kj}=V_(),Cj=(r,t={})=>{if(typeof r!="string")throw new TypeError("Expected a string");let e=t||{},l=typeof e.maxLength=="number"?Math.min(Q_,e.maxLength):Q_;if(r.length>l)throw new SyntaxError(`Input length (${r.length}), exceeds max characters (${l})`);let d={type:"root",input:r,nodes:[]},y=[d],v=d,E=d,R=0,N=r.length,T=0,L=0,P,_e={},$=()=>r[T++],Y=Z=>{if(Z.type==="text"&&E.type==="dot"&&(E.type="text"),E&&E.type==="text"&&Z.type==="text"){E.value+=Z.value;return}return v.nodes.push(Z),Z.parent=v,Z.prev=E,E=Z,Z};for(Y({type:"bos"});T<N;)if(v=y[y.length-1],P=$(),!(P===kj||P===wj)){if(P===Rs){Y({type:"text",value:(t.keepEscaping?P:"")+$()});continue}if(P===X_){Y({type:"text",value:"\\"+P});continue}if(P===z_){R++;let Z=!0,ne;for(;T<N&&(ne=$());){if(P+=ne,ne===z_){R++;continue}if(ne===Rs){P+=$();continue}if(ne===X_&&(R--,R===0))break}Y({type:"text",value:P});continue}if(P===hj){v=Y({type:"paren",nodes:[]}),y.push(v),Y({type:"text",value:P});continue}if(P===mj){if(v.type!=="paren"){Y({type:"text",value:P});continue}v=y.pop(),Y({type:"text",value:P}),v=y[y.length-1];continue}if(P===bj||P===jj||P===dj){let Z=P,ne;for(t.keepQuotes!==!0&&(P="");T<N&&(ne=$());){if(ne===Rs){P+=ne+$();continue}if(ne===Z){t.keepQuotes===!0&&(P+=ne);break}P+=ne}Y({type:"text",value:P});continue}if(P===vj){L++;let ne={type:"brace",open:!0,close:!1,dollar:E.value&&E.value.slice(-1)==="$"||v.dollar===!0,depth:L,commas:0,ranges:0,nodes:[]};v=Y(ne),y.push(v),Y({type:"open",value:P});continue}if(P===gj){if(v.type!=="brace"){Y({type:"text",value:P});continue}let Z="close";v=y.pop(),v.close=!0,Y({type:Z,value:P}),L--,v=y[y.length-1];continue}if(P===pj&&L>0){if(v.ranges>0){v.ranges=0;let Z=v.nodes.shift();v.nodes=[Z,{type:"text",value:_j(v)}]}Y({type:"comma",value:P}),v.commas++;continue}if(P===yj&&L>0&&v.commas===0){let Z=v.nodes;if(L===0||Z.length===0){Y({type:"text",value:P});continue}if(E.type==="dot"){if(v.range=[],E.value+=P,E.type="range",v.nodes.length!==3&&v.nodes.length!==5){v.invalid=!0,v.ranges=0,E.type="text";continue}v.ranges++,v.args=[];continue}if(E.type==="range"){Z.pop();let ne=Z[Z.length-1];ne.value+=E.value+P,E=ne,v.ranges--;continue}Y({type:"dot",value:P});continue}Y({type:"text",value:P})}do if(v=y.pop(),v.type!=="root"){v.nodes.forEach(Ee=>{Ee.nodes||(Ee.type==="open"&&(Ee.isOpen=!0),Ee.type==="close"&&(Ee.isClose=!0),Ee.nodes||(Ee.type="text"),Ee.invalid=!0)});let Z=y[y.length-1],ne=Z.nodes.indexOf(v);Z.nodes.splice(ne,1,...v.nodes)}while(y.length>0);return Y({type:"eos"}),d};J_.exports=Cj});var id=G((yC,td)=>{"use strict";var ed=Pr(),Sj=W_(),Ej=K_(),Aj=Z_(),ut=(r,t={})=>{let e=[];if(Array.isArray(r))for(let l of r){let d=ut.create(l,t);Array.isArray(d)?e.push(...d):e.push(d)}else e=[].concat(ut.create(r,t));return t&&t.expand===!0&&t.nodupes===!0&&(e=[...new Set(e)]),e};ut.parse=(r,t={})=>Aj(r,t);ut.stringify=(r,t={})=>ed(typeof r=="string"?ut.parse(r,t):r,t);ut.compile=(r,t={})=>(typeof r=="string"&&(r=ut.parse(r,t)),Sj(r,t));ut.expand=(r,t={})=>{typeof r=="string"&&(r=ut.parse(r,t));let e=Ej(r,t);return t.noempty===!0&&(e=e.filter(Boolean)),t.nodupes===!0&&(e=[...new Set(e)]),e};ut.create=(r,t={})=>r===""||r.length<3?[r]:t.expand!==!0?ut.compile(r,t):ut.expand(r,t);td.exports=ut});var Gi=G((hC,od)=>{"use strict";var Rj=require("path"),ht="\\\\/",rd=`[^${ht}]`,Et="\\.",Dj="\\+",Tj="\\?",xr="\\/",Pj="(?=.)",nd="[^/]",Ds=`(?:${xr}|$)`,ad=`(?:^|${xr})`,Ts=`${Et}{1,2}${Ds}`,Oj=`(?!${Et})`,xj=`(?!${ad}${Ts})`,Mj=`(?!${Et}{0,1}${Ds})`,Ij=`(?!${Ts})`,Fj=`[^.${xr}]`,Nj=`${nd}*?`,sd={DOT_LITERAL:Et,PLUS_LITERAL:Dj,QMARK_LITERAL:Tj,SLASH_LITERAL:xr,ONE_CHAR:Pj,QMARK:nd,END_ANCHOR:Ds,DOTS_SLASH:Ts,NO_DOT:Oj,NO_DOTS:xj,NO_DOT_SLASH:Mj,NO_DOTS_SLASH:Ij,QMARK_NO_DOT:Fj,STAR:Nj,START_ANCHOR:ad},Bj={...sd,SLASH_LITERAL:`[${ht}]`,QMARK:rd,STAR:`${rd}*?`,DOTS_SLASH:`${Et}{1,2}(?:[${ht}]|$)`,NO_DOT:`(?!${Et})`,NO_DOTS:`(?!(?:^|[${ht}])${Et}{1,2}(?:[${ht}]|$))`,NO_DOT_SLASH:`(?!${Et}{0,1}(?:[${ht}]|$))`,NO_DOTS_SLASH:`(?!${Et}{1,2}(?:[${ht}]|$))`,QMARK_NO_DOT:`[^.${ht}]`,START_ANCHOR:`(?:^|[${ht}])`,END_ANCHOR:`(?:[${ht}]|$)`},Lj={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"};od.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Lj,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:Rj.sep,extglobChars(r){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${r.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(r){return r===!0?Bj:sd}}});var Ki=G(ot=>{"use strict";var Uj=require("path"),Hj=process.platform==="win32",{REGEX_BACKSLASH:qj,REGEX_REMOVE_BACKSLASH:Wj,REGEX_SPECIAL_CHARS:$j,REGEX_SPECIAL_CHARS_GLOBAL:Gj}=Gi();ot.isObject=r=>r!==null&&typeof r=="object"&&!Array.isArray(r);ot.hasRegexChars=r=>$j.test(r);ot.isRegexChar=r=>r.length===1&&ot.hasRegexChars(r);ot.escapeRegex=r=>r.replace(Gj,"\\$1");ot.toPosixSlashes=r=>r.replace(qj,"/");ot.removeBackslashes=r=>r.replace(Wj,t=>t==="\\"?"":t);ot.supportsLookbehinds=()=>{let r=process.version.slice(1).split(".").map(Number);return r.length===3&&r[0]>=9||r[0]===8&&r[1]>=10};ot.isWindows=r=>r&&typeof r.windows=="boolean"?r.windows:Hj===!0||Uj.sep==="\\";ot.escapeLast=(r,t,e)=>{let l=r.lastIndexOf(t,e);return l===-1?r:r[l-1]==="\\"?ot.escapeLast(r,t,l-1):`${r.slice(0,l)}\\${r.slice(l)}`};ot.removePrefix=(r,t={})=>{let e=r;return e.startsWith("./")&&(e=e.slice(2),t.prefix="./"),e};ot.wrapOutput=(r,t={},e={})=>{let l=e.contains?"":"^",d=e.contains?"":"$",y=`${l}(?:${r})${d}`;return t.negated===!0&&(y=`(?:^(?!${y}).*$)`),y}});var yd=G((vC,pd)=>{"use strict";var ud=Ki(),{CHAR_ASTERISK:Ps,CHAR_AT:Kj,CHAR_BACKWARD_SLASH:Yi,CHAR_COMMA:Yj,CHAR_DOT:Os,CHAR_EXCLAMATION_MARK:xs,CHAR_FORWARD_SLASH:dd,CHAR_LEFT_CURLY_BRACE:Ms,CHAR_LEFT_PARENTHESES:Is,CHAR_LEFT_SQUARE_BRACKET:Vj,CHAR_PLUS:Qj,CHAR_QUESTION_MARK:ld,CHAR_RIGHT_CURLY_BRACE:zj,CHAR_RIGHT_PARENTHESES:cd,CHAR_RIGHT_SQUARE_BRACKET:Xj}=Gi(),fd=r=>r===dd||r===Yi,_d=r=>{r.isPrefix!==!0&&(r.depth=r.isGlobstar?1/0:1)},Jj=(r,t)=>{let e=t||{},l=r.length-1,d=e.parts===!0||e.scanToEnd===!0,y=[],v=[],E=[],R=r,N=-1,T=0,L=0,P=!1,_e=!1,$=!1,Y=!1,Z=!1,ne=!1,Ee=!1,ge=!1,We=!1,oe=!1,ae=0,ee,te,K={value:"",depth:0,isGlob:!1},ye=()=>N>=l,x=()=>R.charCodeAt(N+1),ce=()=>(ee=te,R.charCodeAt(++N));for(;N<l;){te=ce();let xe;if(te===Yi){Ee=K.backslashes=!0,te=ce(),te===Ms&&(ne=!0);continue}if(ne===!0||te===Ms){for(ae++;ye()!==!0&&(te=ce());){if(te===Yi){Ee=K.backslashes=!0,ce();continue}if(te===Ms){ae++;continue}if(ne!==!0&&te===Os&&(te=ce())===Os){if(P=K.isBrace=!0,$=K.isGlob=!0,oe=!0,d===!0)continue;break}if(ne!==!0&&te===Yj){if(P=K.isBrace=!0,$=K.isGlob=!0,oe=!0,d===!0)continue;break}if(te===zj&&(ae--,ae===0)){ne=!1,P=K.isBrace=!0,oe=!0;break}}if(d===!0)continue;break}if(te===dd){if(y.push(N),v.push(K),K={value:"",depth:0,isGlob:!1},oe===!0)continue;if(ee===Os&&N===T+1){T+=2;continue}L=N+1;continue}if(e.noext!==!0&&(te===Qj||te===Kj||te===Ps||te===ld||te===xs)===!0&&x()===Is){if($=K.isGlob=!0,Y=K.isExtglob=!0,oe=!0,te===xs&&N===T&&(We=!0),d===!0){for(;ye()!==!0&&(te=ce());){if(te===Yi){Ee=K.backslashes=!0,te=ce();continue}if(te===cd){$=K.isGlob=!0,oe=!0;break}}continue}break}if(te===Ps){if(ee===Ps&&(Z=K.isGlobstar=!0),$=K.isGlob=!0,oe=!0,d===!0)continue;break}if(te===ld){if($=K.isGlob=!0,oe=!0,d===!0)continue;break}if(te===Vj){for(;ye()!==!0&&(xe=ce());){if(xe===Yi){Ee=K.backslashes=!0,ce();continue}if(xe===Xj){_e=K.isBracket=!0,$=K.isGlob=!0,oe=!0;break}}if(d===!0)continue;break}if(e.nonegate!==!0&&te===xs&&N===T){ge=K.negated=!0,T++;continue}if(e.noparen!==!0&&te===Is){if($=K.isGlob=!0,d===!0){for(;ye()!==!0&&(te=ce());){if(te===Is){Ee=K.backslashes=!0,te=ce();continue}if(te===cd){oe=!0;break}}continue}break}if($===!0){if(oe=!0,d===!0)continue;break}}e.noext===!0&&(Y=!1,$=!1);let se=R,Te="",A="";T>0&&(Te=R.slice(0,T),R=R.slice(T),L-=T),se&&$===!0&&L>0?(se=R.slice(0,L),A=R.slice(L)):$===!0?(se="",A=R):se=R,se&&se!==""&&se!=="/"&&se!==R&&fd(se.charCodeAt(se.length-1))&&(se=se.slice(0,-1)),e.unescape===!0&&(A&&(A=ud.removeBackslashes(A)),se&&Ee===!0&&(se=ud.removeBackslashes(se)));let O={prefix:Te,input:r,start:T,base:se,glob:A,isBrace:P,isBracket:_e,isGlob:$,isExtglob:Y,isGlobstar:Z,negated:ge,negatedExtglob:We};if(e.tokens===!0&&(O.maxDepth=0,fd(te)||v.push(K),O.tokens=v),e.parts===!0||e.tokens===!0){let xe;for(let be=0;be<y.length;be++){let Xe=xe?xe+1:T,Me=y[be],Re=r.slice(Xe,Me);e.tokens&&(be===0&&T!==0?(v[be].isPrefix=!0,v[be].value=Te):v[be].value=Re,_d(v[be]),O.maxDepth+=v[be].depth),(be!==0||Re!=="")&&E.push(Re),xe=Me}if(xe&&xe+1<r.length){let be=r.slice(xe+1);E.push(be),e.tokens&&(v[v.length-1].value=be,_d(v[v.length-1]),O.maxDepth+=v[v.length-1].depth)}O.slashes=y,O.parts=E}return O};pd.exports=Jj});var gd=G((gC,vd)=>{"use strict";var Mr=Gi(),lt=Ki(),{MAX_LENGTH:Ir,POSIX_REGEX_SOURCE:Zj,REGEX_NON_SPECIAL_CHARS:e0,REGEX_SPECIAL_CHARS_BACKREF:t0,REPLACEMENTS:hd}=Mr,i0=(r,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...r,t);r.sort();let e=`[${r.join("-")}]`;try{new RegExp(e)}catch{return r.map(d=>lt.escapeRegex(d)).join("..")}return e},hi=(r,t)=>`Missing ${r}: "${t}" - use "\\\\${t}" to match literal characters`,md=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");r=hd[r]||r;let e={...t},l=typeof e.maxLength=="number"?Math.min(Ir,e.maxLength):Ir,d=r.length;if(d>l)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${l}`);let y={type:"bos",value:"",output:e.prepend||""},v=[y],E=e.capture?"":"?:",R=lt.isWindows(t),N=Mr.globChars(R),T=Mr.extglobChars(N),{DOT_LITERAL:L,PLUS_LITERAL:P,SLASH_LITERAL:_e,ONE_CHAR:$,DOTS_SLASH:Y,NO_DOT:Z,NO_DOT_SLASH:ne,NO_DOTS_SLASH:Ee,QMARK:ge,QMARK_NO_DOT:We,STAR:oe,START_ANCHOR:ae}=N,ee=V=>`(${E}(?:(?!${ae}${V.dot?Y:L}).)*?)`,te=e.dot?"":Z,K=e.dot?ge:We,ye=e.bash===!0?ee(e):oe;e.capture&&(ye=`(${ye})`),typeof e.noext=="boolean"&&(e.noextglob=e.noext);let x={input:r,index:-1,start:0,dot:e.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:v};r=lt.removePrefix(r,x),d=r.length;let ce=[],se=[],Te=[],A=y,O,xe=()=>x.index===d-1,be=x.peek=(V=1)=>r[x.index+V],Xe=x.advance=()=>r[++x.index]||"",Me=()=>r.slice(x.index+1),Re=(V="",Pe=0)=>{x.consumed+=V,x.index+=Pe},Je=V=>{x.output+=V.output!=null?V.output:V.value,Re(V.value)},qt=()=>{let V=1;for(;be()==="!"&&(be(2)!=="("||be(3)==="?");)Xe(),x.start++,V++;return V%2===0?!1:(x.negated=!0,x.start++,!0)},M=V=>{x[V]++,Te.push(V)},me=V=>{x[V]--,Te.pop()},de=V=>{if(A.type==="globstar"){let Pe=x.braces>0&&(V.type==="comma"||V.type==="brace"),H=V.extglob===!0||ce.length&&(V.type==="pipe"||V.type==="paren");V.type!=="slash"&&V.type!=="paren"&&!Pe&&!H&&(x.output=x.output.slice(0,-A.output.length),A.type="star",A.value="*",A.output=ye,x.output+=A.output)}if(ce.length&&V.type!=="paren"&&(ce[ce.length-1].inner+=V.value),(V.value||V.output)&&Je(V),A&&A.type==="text"&&V.type==="text"){A.value+=V.value,A.output=(A.output||"")+V.value;return}V.prev=A,v.push(V),A=V},Dt=(V,Pe)=>{let H={...T[Pe],conditions:1,inner:""};H.prev=A,H.parens=x.parens,H.output=x.output;let ue=(e.capture?"(":"")+H.open;M("parens"),de({type:V,value:Pe,output:x.output?"":$}),de({type:"paren",extglob:!0,value:Xe(),output:ue}),ce.push(H)},Wt=V=>{let Pe=V.close+(e.capture?")":""),H;if(V.type==="negate"){let ue=ye;V.inner&&V.inner.length>1&&V.inner.includes("/")&&(ue=ee(e)),(ue!==ye||xe()||/^\)+$/.test(Me()))&&(Pe=V.close=`)$))${ue}`),V.inner.includes("*")&&(H=Me())&&/^\.[^\\/.]+$/.test(H)&&(Pe=V.close=`)${H})${ue})`),V.prev.type==="bos"&&(x.negatedExtglob=!0)}de({type:"paren",extglob:!0,value:O,output:Pe}),me("parens")};if(e.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(r)){let V=!1,Pe=r.replace(t0,(H,ue,Le,Ke,Ge,bt)=>Ke==="\\"?(V=!0,H):Ke==="?"?ue?ue+Ke+(Ge?ge.repeat(Ge.length):""):bt===0?K+(Ge?ge.repeat(Ge.length):""):ge.repeat(Le.length):Ke==="."?L.repeat(Le.length):Ke==="*"?ue?ue+Ke+(Ge?ye:""):ye:ue?H:`\\${H}`);return V===!0&&(e.unescape===!0?Pe=Pe.replace(/\\/g,""):Pe=Pe.replace(/\\+/g,H=>H.length%2===0?"\\\\":H?"\\":"")),Pe===r&&e.contains===!0?(x.output=r,x):(x.output=lt.wrapOutput(Pe,x,t),x)}for(;!xe();){if(O=Xe(),O==="\0")continue;if(O==="\\"){let H=be();if(H==="/"&&e.bash!==!0||H==="."||H===";")continue;if(!H){O+="\\",de({type:"text",value:O});continue}let ue=/^\\+/.exec(Me()),Le=0;if(ue&&ue[0].length>2&&(Le=ue[0].length,x.index+=Le,Le%2!==0&&(O+="\\")),e.unescape===!0?O=Xe():O+=Xe(),x.brackets===0){de({type:"text",value:O});continue}}if(x.brackets>0&&(O!=="]"||A.value==="["||A.value==="[^")){if(e.posix!==!1&&O===":"){let H=A.value.slice(1);if(H.includes("[")&&(A.posix=!0,H.includes(":"))){let ue=A.value.lastIndexOf("["),Le=A.value.slice(0,ue),Ke=A.value.slice(ue+2),Ge=Zj[Ke];if(Ge){A.value=Le+Ge,x.backtrack=!0,Xe(),!y.output&&v.indexOf(A)===1&&(y.output=$);continue}}}(O==="["&&be()!==":"||O==="-"&&be()==="]")&&(O=`\\${O}`),O==="]"&&(A.value==="["||A.value==="[^")&&(O=`\\${O}`),e.posix===!0&&O==="!"&&A.value==="["&&(O="^"),A.value+=O,Je({value:O});continue}if(x.quotes===1&&O!=='"'){O=lt.escapeRegex(O),A.value+=O,Je({value:O});continue}if(O==='"'){x.quotes=x.quotes===1?0:1,e.keepQuotes===!0&&de({type:"text",value:O});continue}if(O==="("){M("parens"),de({type:"paren",value:O});continue}if(O===")"){if(x.parens===0&&e.strictBrackets===!0)throw new SyntaxError(hi("opening","("));let H=ce[ce.length-1];if(H&&x.parens===H.parens+1){Wt(ce.pop());continue}de({type:"paren",value:O,output:x.parens?")":"\\)"}),me("parens");continue}if(O==="["){if(e.nobracket===!0||!Me().includes("]")){if(e.nobracket!==!0&&e.strictBrackets===!0)throw new SyntaxError(hi("closing","]"));O=`\\${O}`}else M("brackets");de({type:"bracket",value:O});continue}if(O==="]"){if(e.nobracket===!0||A&&A.type==="bracket"&&A.value.length===1){de({type:"text",value:O,output:`\\${O}`});continue}if(x.brackets===0){if(e.strictBrackets===!0)throw new SyntaxError(hi("opening","["));de({type:"text",value:O,output:`\\${O}`});continue}me("brackets");let H=A.value.slice(1);if(A.posix!==!0&&H[0]==="^"&&!H.includes("/")&&(O=`/${O}`),A.value+=O,Je({value:O}),e.literalBrackets===!1||lt.hasRegexChars(H))continue;let ue=lt.escapeRegex(A.value);if(x.output=x.output.slice(0,-A.value.length),e.literalBrackets===!0){x.output+=ue,A.value=ue;continue}A.value=`(${E}${ue}|${A.value})`,x.output+=A.value;continue}if(O==="{"&&e.nobrace!==!0){M("braces");let H={type:"brace",value:O,output:"(",outputIndex:x.output.length,tokensIndex:x.tokens.length};se.push(H),de(H);continue}if(O==="}"){let H=se[se.length-1];if(e.nobrace===!0||!H){de({type:"text",value:O,output:O});continue}let ue=")";if(H.dots===!0){let Le=v.slice(),Ke=[];for(let Ge=Le.length-1;Ge>=0&&(v.pop(),Le[Ge].type!=="brace");Ge--)Le[Ge].type!=="dots"&&Ke.unshift(Le[Ge].value);ue=i0(Ke,e),x.backtrack=!0}if(H.comma!==!0&&H.dots!==!0){let Le=x.output.slice(0,H.outputIndex),Ke=x.tokens.slice(H.tokensIndex);H.value=H.output="\\{",O=ue="\\}",x.output=Le;for(let Ge of Ke)x.output+=Ge.output||Ge.value}de({type:"brace",value:O,output:ue}),me("braces"),se.pop();continue}if(O==="|"){ce.length>0&&ce[ce.length-1].conditions++,de({type:"text",value:O});continue}if(O===","){let H=O,ue=se[se.length-1];ue&&Te[Te.length-1]==="braces"&&(ue.comma=!0,H="|"),de({type:"comma",value:O,output:H});continue}if(O==="/"){if(A.type==="dot"&&x.index===x.start+1){x.start=x.index+1,x.consumed="",x.output="",v.pop(),A=y;continue}de({type:"slash",value:O,output:_e});continue}if(O==="."){if(x.braces>0&&A.type==="dot"){A.value==="."&&(A.output=L);let H=se[se.length-1];A.type="dots",A.output+=O,A.value+=O,H.dots=!0;continue}if(x.braces+x.parens===0&&A.type!=="bos"&&A.type!=="slash"){de({type:"text",value:O,output:L});continue}de({type:"dot",value:O,output:L});continue}if(O==="?"){if(!(A&&A.value==="(")&&e.noextglob!==!0&&be()==="("&&be(2)!=="?"){Dt("qmark",O);continue}if(A&&A.type==="paren"){let ue=be(),Le=O;if(ue==="<"&&!lt.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(A.value==="("&&!/[!=<:]/.test(ue)||ue==="<"&&!/<([!=]|\w+>)/.test(Me()))&&(Le=`\\${O}`),de({type:"text",value:O,output:Le});continue}if(e.dot!==!0&&(A.type==="slash"||A.type==="bos")){de({type:"qmark",value:O,output:We});continue}de({type:"qmark",value:O,output:ge});continue}if(O==="!"){if(e.noextglob!==!0&&be()==="("&&(be(2)!=="?"||!/[!=<:]/.test(be(3)))){Dt("negate",O);continue}if(e.nonegate!==!0&&x.index===0){qt();continue}}if(O==="+"){if(e.noextglob!==!0&&be()==="("&&be(2)!=="?"){Dt("plus",O);continue}if(A&&A.value==="("||e.regex===!1){de({type:"plus",value:O,output:P});continue}if(A&&(A.type==="bracket"||A.type==="paren"||A.type==="brace")||x.parens>0){de({type:"plus",value:O});continue}de({type:"plus",value:P});continue}if(O==="@"){if(e.noextglob!==!0&&be()==="("&&be(2)!=="?"){de({type:"at",extglob:!0,value:O,output:""});continue}de({type:"text",value:O});continue}if(O!=="*"){(O==="$"||O==="^")&&(O=`\\${O}`);let H=e0.exec(Me());H&&(O+=H[0],x.index+=H[0].length),de({type:"text",value:O});continue}if(A&&(A.type==="globstar"||A.star===!0)){A.type="star",A.star=!0,A.value+=O,A.output=ye,x.backtrack=!0,x.globstar=!0,Re(O);continue}let V=Me();if(e.noextglob!==!0&&/^\([^?]/.test(V)){Dt("star",O);continue}if(A.type==="star"){if(e.noglobstar===!0){Re(O);continue}let H=A.prev,ue=H.prev,Le=H.type==="slash"||H.type==="bos",Ke=ue&&(ue.type==="star"||ue.type==="globstar");if(e.bash===!0&&(!Le||V[0]&&V[0]!=="/")){de({type:"star",value:O,output:""});continue}let Ge=x.braces>0&&(H.type==="comma"||H.type==="brace"),bt=ce.length&&(H.type==="pipe"||H.type==="paren");if(!Le&&H.type!=="paren"&&!Ge&&!bt){de({type:"star",value:O,output:""});continue}for(;V.slice(0,3)==="/**";){let Tt=r[x.index+4];if(Tt&&Tt!=="/")break;V=V.slice(3),Re("/**",3)}if(H.type==="bos"&&xe()){A.type="globstar",A.value+=O,A.output=ee(e),x.output=A.output,x.globstar=!0,Re(O);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&!Ke&&xe()){x.output=x.output.slice(0,-(H.output+A.output).length),H.output=`(?:${H.output}`,A.type="globstar",A.output=ee(e)+(e.strictSlashes?")":"|$)"),A.value+=O,x.globstar=!0,x.output+=H.output+A.output,Re(O);continue}if(H.type==="slash"&&H.prev.type!=="bos"&&V[0]==="/"){let Tt=V[1]!==void 0?"|$":"";x.output=x.output.slice(0,-(H.output+A.output).length),H.output=`(?:${H.output}`,A.type="globstar",A.output=`${ee(e)}${_e}|${_e}${Tt})`,A.value+=O,x.output+=H.output+A.output,x.globstar=!0,Re(O+Xe()),de({type:"slash",value:"/",output:""});continue}if(H.type==="bos"&&V[0]==="/"){A.type="globstar",A.value+=O,A.output=`(?:^|${_e}|${ee(e)}${_e})`,x.output=A.output,x.globstar=!0,Re(O+Xe()),de({type:"slash",value:"/",output:""});continue}x.output=x.output.slice(0,-A.output.length),A.type="globstar",A.output=ee(e),A.value+=O,x.output+=A.output,x.globstar=!0,Re(O);continue}let Pe={type:"star",value:O,output:ye};if(e.bash===!0){Pe.output=".*?",(A.type==="bos"||A.type==="slash")&&(Pe.output=te+Pe.output),de(Pe);continue}if(A&&(A.type==="bracket"||A.type==="paren")&&e.regex===!0){Pe.output=O,de(Pe);continue}(x.index===x.start||A.type==="slash"||A.type==="dot")&&(A.type==="dot"?(x.output+=ne,A.output+=ne):e.dot===!0?(x.output+=Ee,A.output+=Ee):(x.output+=te,A.output+=te),be()!=="*"&&(x.output+=$,A.output+=$)),de(Pe)}for(;x.brackets>0;){if(e.strictBrackets===!0)throw new SyntaxError(hi("closing","]"));x.output=lt.escapeLast(x.output,"["),me("brackets")}for(;x.parens>0;){if(e.strictBrackets===!0)throw new SyntaxError(hi("closing",")"));x.output=lt.escapeLast(x.output,"("),me("parens")}for(;x.braces>0;){if(e.strictBrackets===!0)throw new SyntaxError(hi("closing","}"));x.output=lt.escapeLast(x.output,"{"),me("braces")}if(e.strictSlashes!==!0&&(A.type==="star"||A.type==="bracket")&&de({type:"maybe_slash",value:"",output:`${_e}?`}),x.backtrack===!0){x.output="";for(let V of x.tokens)x.output+=V.output!=null?V.output:V.value,V.suffix&&(x.output+=V.suffix)}return x};md.fastpaths=(r,t)=>{let e={...t},l=typeof e.maxLength=="number"?Math.min(Ir,e.maxLength):Ir,d=r.length;if(d>l)throw new SyntaxError(`Input length: ${d}, exceeds maximum allowed length: ${l}`);r=hd[r]||r;let y=lt.isWindows(t),{DOT_LITERAL:v,SLASH_LITERAL:E,ONE_CHAR:R,DOTS_SLASH:N,NO_DOT:T,NO_DOTS:L,NO_DOTS_SLASH:P,STAR:_e,START_ANCHOR:$}=Mr.globChars(y),Y=e.dot?L:T,Z=e.dot?P:T,ne=e.capture?"":"?:",Ee={negated:!1,prefix:""},ge=e.bash===!0?".*?":_e;e.capture&&(ge=`(${ge})`);let We=te=>te.noglobstar===!0?ge:`(${ne}(?:(?!${$}${te.dot?N:v}).)*?)`,oe=te=>{switch(te){case"*":return`${Y}${R}${ge}`;case".*":return`${v}${R}${ge}`;case"*.*":return`${Y}${ge}${v}${R}${ge}`;case"*/*":return`${Y}${ge}${E}${R}${Z}${ge}`;case"**":return Y+We(e);case"**/*":return`(?:${Y}${We(e)}${E})?${Z}${R}${ge}`;case"**/*.*":return`(?:${Y}${We(e)}${E})?${Z}${ge}${v}${R}${ge}`;case"**/.*":return`(?:${Y}${We(e)}${E})?${v}${R}${ge}`;default:{let K=/^(.*?)\.(\w+)$/.exec(te);if(!K)return;let ye=oe(K[1]);return ye?ye+v+K[2]:void 0}}},ae=lt.removePrefix(r,Ee),ee=oe(ae);return ee&&e.strictSlashes!==!0&&(ee+=`${E}?`),ee};vd.exports=md});var jd=G((bC,bd)=>{"use strict";var r0=require("path"),n0=yd(),Fs=gd(),Ns=Ki(),a0=Gi(),s0=r=>r&&typeof r=="object"&&!Array.isArray(r),Ye=(r,t,e=!1)=>{if(Array.isArray(r)){let T=r.map(P=>Ye(P,t,e));return P=>{for(let _e of T){let $=_e(P);if($)return $}return!1}}let l=s0(r)&&r.tokens&&r.input;if(r===""||typeof r!="string"&&!l)throw new TypeError("Expected pattern to be a non-empty string");let d=t||{},y=Ns.isWindows(t),v=l?Ye.compileRe(r,t):Ye.makeRe(r,t,!1,!0),E=v.state;delete v.state;let R=()=>!1;if(d.ignore){let T={...t,ignore:null,onMatch:null,onResult:null};R=Ye(d.ignore,T,e)}let N=(T,L=!1)=>{let{isMatch:P,match:_e,output:$}=Ye.test(T,v,t,{glob:r,posix:y}),Y={glob:r,state:E,regex:v,posix:y,input:T,output:$,match:_e,isMatch:P};return typeof d.onResult=="function"&&d.onResult(Y),P===!1?(Y.isMatch=!1,L?Y:!1):R(T)?(typeof d.onIgnore=="function"&&d.onIgnore(Y),Y.isMatch=!1,L?Y:!1):(typeof d.onMatch=="function"&&d.onMatch(Y),L?Y:!0)};return e&&(N.state=E),N};Ye.test=(r,t,e,{glob:l,posix:d}={})=>{if(typeof r!="string")throw new TypeError("Expected input to be a string");if(r==="")return{isMatch:!1,output:""};let y=e||{},v=y.format||(d?Ns.toPosixSlashes:null),E=r===l,R=E&&v?v(r):r;return E===!1&&(R=v?v(r):r,E=R===l),(E===!1||y.capture===!0)&&(y.matchBase===!0||y.basename===!0?E=Ye.matchBase(r,t,e,d):E=t.exec(R)),{isMatch:Boolean(E),match:E,output:R}};Ye.matchBase=(r,t,e,l=Ns.isWindows(e))=>(t instanceof RegExp?t:Ye.makeRe(t,e)).test(r0.basename(r));Ye.isMatch=(r,t,e)=>Ye(t,e)(r);Ye.parse=(r,t)=>Array.isArray(r)?r.map(e=>Ye.parse(e,t)):Fs(r,{...t,fastpaths:!1});Ye.scan=(r,t)=>n0(r,t);Ye.compileRe=(r,t,e=!1,l=!1)=>{if(e===!0)return r.output;let d=t||{},y=d.contains?"":"^",v=d.contains?"":"$",E=`${y}(?:${r.output})${v}`;r&&r.negated===!0&&(E=`^(?!${E}).*$`);let R=Ye.toRegex(E,t);return l===!0&&(R.state=r),R};Ye.makeRe=(r,t={},e=!1,l=!1)=>{if(!r||typeof r!="string")throw new TypeError("Expected a non-empty string");let d={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(r[0]==="."||r[0]==="*")&&(d.output=Fs.fastpaths(r,t)),d.output||(d=Fs(r,t)),Ye.compileRe(d,t,e,l)};Ye.toRegex=(r,t)=>{try{let e=t||{};return new RegExp(r,e.flags||(e.nocase?"i":""))}catch(e){if(t&&t.debug===!0)throw e;return/$^/}};Ye.constants=a0;bd.exports=Ye});var kd=G((jC,wd)=>{"use strict";wd.exports=jd()});var Rd=G((wC,Ad)=>{"use strict";var Sd=require("util"),Ed=id(),mt=kd(),Bs=Ki(),Cd=r=>r===""||r==="./",$e=(r,t,e)=>{t=[].concat(t),r=[].concat(r);let l=new Set,d=new Set,y=new Set,v=0,E=T=>{y.add(T.output),e&&e.onResult&&e.onResult(T)};for(let T=0;T<t.length;T++){let L=mt(String(t[T]),{...e,onResult:E},!0),P=L.state.negated||L.state.negatedExtglob;P&&v++;for(let _e of r){let $=L(_e,!0);!(P?!$.isMatch:$.isMatch)||(P?l.add($.output):(l.delete($.output),d.add($.output)))}}let N=(v===t.length?[...y]:[...d]).filter(T=>!l.has(T));if(e&&N.length===0){if(e.failglob===!0)throw new Error(`No matches found for "${t.join(", ")}"`);if(e.nonull===!0||e.nullglob===!0)return e.unescape?t.map(T=>T.replace(/\\/g,"")):t}return N};$e.match=$e;$e.matcher=(r,t)=>mt(r,t);$e.isMatch=(r,t,e)=>mt(t,e)(r);$e.any=$e.isMatch;$e.not=(r,t,e={})=>{t=[].concat(t).map(String);let l=new Set,d=[],v=$e(r,t,{...e,onResult:E=>{e.onResult&&e.onResult(E),d.push(E.output)}});for(let E of d)v.includes(E)||l.add(E);return[...l]};$e.contains=(r,t,e)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${Sd.inspect(r)}"`);if(Array.isArray(t))return t.some(l=>$e.contains(r,l,e));if(typeof t=="string"){if(Cd(r)||Cd(t))return!1;if(r.includes(t)||r.startsWith("./")&&r.slice(2).includes(t))return!0}return $e.isMatch(r,t,{...e,contains:!0})};$e.matchKeys=(r,t,e)=>{if(!Bs.isObject(r))throw new TypeError("Expected the first argument to be an object");let l=$e(Object.keys(r),t,e),d={};for(let y of l)d[y]=r[y];return d};$e.some=(r,t,e)=>{let l=[].concat(r);for(let d of[].concat(t)){let y=mt(String(d),e);if(l.some(v=>y(v)))return!0}return!1};$e.every=(r,t,e)=>{let l=[].concat(r);for(let d of[].concat(t)){let y=mt(String(d),e);if(!l.every(v=>y(v)))return!1}return!0};$e.all=(r,t,e)=>{if(typeof r!="string")throw new TypeError(`Expected a string: "${Sd.inspect(r)}"`);return[].concat(t).every(l=>mt(l,e)(r))};$e.capture=(r,t,e)=>{let l=Bs.isWindows(e),y=mt.makeRe(String(r),{...e,capture:!0}).exec(l?Bs.toPosixSlashes(t):t);if(y)return y.slice(1).map(v=>v===void 0?"":v)};$e.makeRe=(...r)=>mt.makeRe(...r);$e.scan=(...r)=>mt.scan(...r);$e.parse=(r,t)=>{let e=[];for(let l of[].concat(r||[]))for(let d of Ed(String(l),t))e.push(mt.parse(d,t));return e};$e.braces=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");return t&&t.nobrace===!0||!/\{.*\}/.test(r)?[r]:Ed(r,t)};$e.braceExpand=(r,t)=>{if(typeof r!="string")throw new TypeError("Expected a string");return $e.braces(r,{...t,expand:!0})};Ad.exports=$e});var Fd=G(le=>{"use strict";Object.defineProperty(le,"__esModule",{value:!0});le.matchAny=le.convertPatternsToRe=le.makeRe=le.getPatternParts=le.expandBraceExpansion=le.expandPatternsWithBraceExpansion=le.isAffectDepthOfReadingPattern=le.endsWithSlashGlobStar=le.hasGlobStar=le.getBaseDirectory=le.isPatternRelatedToParentDirectory=le.getPatternsOutsideCurrentDirectory=le.getPatternsInsideCurrentDirectory=le.getPositivePatterns=le.getNegativePatterns=le.isPositivePattern=le.isNegativePattern=le.convertToNegativePattern=le.convertToPositivePattern=le.isDynamicPattern=le.isStaticPattern=void 0;var o0=require("path"),u0=g_(),Ls=Rd(),Dd="**",l0="\\",c0=/[*?]|^!/,f0=/\[[^[]*]/,_0=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,d0=/[!*+?@]\([^(]*\)/,p0=/,|\.\./;function Td(r,t={}){return!Pd(r,t)}le.isStaticPattern=Td;function Pd(r,t={}){return r===""?!1:!!(t.caseSensitiveMatch===!1||r.includes(l0)||c0.test(r)||f0.test(r)||_0.test(r)||t.extglob!==!1&&d0.test(r)||t.braceExpansion!==!1&&y0(r))}le.isDynamicPattern=Pd;function y0(r){let t=r.indexOf("{");if(t===-1)return!1;let e=r.indexOf("}",t+1);if(e===-1)return!1;let l=r.slice(t,e);return p0.test(l)}function h0(r){return Fr(r)?r.slice(1):r}le.convertToPositivePattern=h0;function m0(r){return"!"+r}le.convertToNegativePattern=m0;function Fr(r){return r.startsWith("!")&&r[1]!=="("}le.isNegativePattern=Fr;function Od(r){return!Fr(r)}le.isPositivePattern=Od;function v0(r){return r.filter(Fr)}le.getNegativePatterns=v0;function g0(r){return r.filter(Od)}le.getPositivePatterns=g0;function b0(r){return r.filter(t=>!Us(t))}le.getPatternsInsideCurrentDirectory=b0;function j0(r){return r.filter(Us)}le.getPatternsOutsideCurrentDirectory=j0;function Us(r){return r.startsWith("..")||r.startsWith("./..")}le.isPatternRelatedToParentDirectory=Us;function w0(r){return u0(r,{flipBackslashes:!1})}le.getBaseDirectory=w0;function k0(r){return r.includes(Dd)}le.hasGlobStar=k0;function xd(r){return r.endsWith("/"+Dd)}le.endsWithSlashGlobStar=xd;function C0(r){let t=o0.basename(r);return xd(r)||Td(t)}le.isAffectDepthOfReadingPattern=C0;function S0(r){return r.reduce((t,e)=>t.concat(Md(e)),[])}le.expandPatternsWithBraceExpansion=S0;function Md(r){return Ls.braces(r,{expand:!0,nodupes:!0})}le.expandBraceExpansion=Md;function E0(r,t){let{parts:e}=Ls.scan(r,Object.assign(Object.assign({},t),{parts:!0}));return e.length===0&&(e=[r]),e[0].startsWith("/")&&(e[0]=e[0].slice(1),e.unshift("")),e}le.getPatternParts=E0;function Id(r,t){return Ls.makeRe(r,t)}le.makeRe=Id;function A0(r,t){return r.map(e=>Id(e,t))}le.convertPatternsToRe=A0;function R0(r,t){return t.some(e=>e.test(r))}le.matchAny=R0});var Ud=G((CC,Ld)=>{"use strict";var D0=require("stream"),Nd=D0.PassThrough,T0=Array.prototype.slice;Ld.exports=P0;function P0(){let r=[],t=T0.call(arguments),e=!1,l=t[t.length-1];l&&!Array.isArray(l)&&l.pipe==null?t.pop():l={};let d=l.end!==!1,y=l.pipeError===!0;l.objectMode==null&&(l.objectMode=!0),l.highWaterMark==null&&(l.highWaterMark=64*1024);let v=Nd(l);function E(){for(let T=0,L=arguments.length;T<L;T++)r.push(Bd(arguments[T],l));return R(),this}function R(){if(e)return;e=!0;let T=r.shift();if(!T){process.nextTick(N);return}Array.isArray(T)||(T=[T]);let L=T.length+1;function P(){--L>0||(e=!1,R())}function _e($){function Y(){$.removeListener("merge2UnpipeEnd",Y),$.removeListener("end",Y),y&&$.removeListener("error",Z),P()}function Z(ne){v.emit("error",ne)}if($._readableState.endEmitted)return P();$.on("merge2UnpipeEnd",Y),$.on("end",Y),y&&$.on("error",Z),$.pipe(v,{end:!1}),$.resume()}for(let $=0;$<T.length;$++)_e(T[$]);P()}function N(){e=!1,v.emit("queueDrain"),d&&v.end()}return v.setMaxListeners(0),v.add=E,v.on("unpipe",function(T){T.emit("merge2UnpipeEnd")}),t.length&&E.apply(null,t),v}function Bd(r,t){if(Array.isArray(r))for(let e=0,l=r.length;e<l;e++)r[e]=Bd(r[e],t);else{if(!r._readableState&&r.pipe&&(r=r.pipe(Nd(t))),!r._readableState||!r.pause||!r.pipe)throw new Error("Only readable stream can be merged.");r.pause()}return r}});var qd=G(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.merge=void 0;var O0=Ud();function x0(r){let t=O0(r);return r.forEach(e=>{e.once("error",l=>t.emit("error",l))}),t.once("close",()=>Hd(r)),t.once("end",()=>Hd(r)),t}Nr.merge=x0;function Hd(r){r.forEach(t=>t.emit("close"))}});var Wd=G(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.isEmpty=mi.isString=void 0;function M0(r){return typeof r=="string"}mi.isString=M0;function I0(r){return r===""}mi.isEmpty=I0});var At=G(Ze=>{"use strict";Object.defineProperty(Ze,"__esModule",{value:!0});Ze.string=Ze.stream=Ze.pattern=Ze.path=Ze.fs=Ze.errno=Ze.array=void 0;var F0=l_();Ze.array=F0;var N0=c_();Ze.errno=N0;var B0=f_();Ze.fs=B0;var L0=__();Ze.path=L0;var U0=Fd();Ze.pattern=U0;var H0=qd();Ze.stream=H0;var q0=Wd();Ze.string=q0});var Kd=G(et=>{"use strict";Object.defineProperty(et,"__esModule",{value:!0});et.convertPatternGroupToTask=et.convertPatternGroupsToTasks=et.groupPatternsByBaseDirectory=et.getNegativePatternsAsPositive=et.getPositivePatterns=et.convertPatternsToTasks=et.generate=void 0;var Rt=At();function W0(r,t){let e=$d(r),l=Gd(r,t.ignore),d=e.filter(R=>Rt.pattern.isStaticPattern(R,t)),y=e.filter(R=>Rt.pattern.isDynamicPattern(R,t)),v=Hs(d,l,!1),E=Hs(y,l,!0);return v.concat(E)}et.generate=W0;function Hs(r,t,e){let l=[],d=Rt.pattern.getPatternsOutsideCurrentDirectory(r),y=Rt.pattern.getPatternsInsideCurrentDirectory(r),v=qs(d),E=qs(y);return l.push(...Ws(v,t,e)),"."in E?l.push($s(".",y,t,e)):l.push(...Ws(E,t,e)),l}et.convertPatternsToTasks=Hs;function $d(r){return Rt.pattern.getPositivePatterns(r)}et.getPositivePatterns=$d;function Gd(r,t){return Rt.pattern.getNegativePatterns(r).concat(t).map(Rt.pattern.convertToPositivePattern)}et.getNegativePatternsAsPositive=Gd;function qs(r){let t={};return r.reduce((e,l)=>{let d=Rt.pattern.getBaseDirectory(l);return d in e?e[d].push(l):e[d]=[l],e},t)}et.groupPatternsByBaseDirectory=qs;function Ws(r,t,e){return Object.keys(r).map(l=>$s(l,r[l],t,e))}et.convertPatternGroupsToTasks=Ws;function $s(r,t,e,l){return{dynamic:l,positive:t,negative:e,base:r,patterns:[].concat(t,e.map(Rt.pattern.convertToNegativePattern))}}et.convertPatternGroupToTask=$s});var Vd=G(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.removeDuplicateSlashes=vi.transform=void 0;var $0=/(?!^)\/{2,}/g;function G0(r){return r.map(t=>Yd(t))}vi.transform=G0;function Yd(r){return r.replace($0,"/")}vi.removeDuplicateSlashes=Yd});var zd=G(Br=>{"use strict";Object.defineProperty(Br,"__esModule",{value:!0});Br.read=void 0;function K0(r,t,e){t.fs.lstat(r,(l,d)=>{if(l!==null){Qd(e,l);return}if(!d.isSymbolicLink()||!t.followSymbolicLink){Gs(e,d);return}t.fs.stat(r,(y,v)=>{if(y!==null){if(t.throwErrorOnBrokenSymbolicLink){Qd(e,y);return}Gs(e,d);return}t.markSymbolicLink&&(v.isSymbolicLink=()=>!0),Gs(e,v)})})}Br.read=K0;function Qd(r,t){r(t)}function Gs(r,t){r(null,t)}});var Xd=G(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.read=void 0;function Y0(r,t){let e=t.fs.lstatSync(r);if(!e.isSymbolicLink()||!t.followSymbolicLink)return e;try{let l=t.fs.statSync(r);return t.markSymbolicLink&&(l.isSymbolicLink=()=>!0),l}catch(l){if(!t.throwErrorOnBrokenSymbolicLink)return e;throw l}}Lr.read=Y0});var Jd=G(Ft=>{"use strict";Object.defineProperty(Ft,"__esModule",{value:!0});Ft.createFileSystemAdapter=Ft.FILE_SYSTEM_ADAPTER=void 0;var Ur=require("fs");Ft.FILE_SYSTEM_ADAPTER={lstat:Ur.lstat,stat:Ur.stat,lstatSync:Ur.lstatSync,statSync:Ur.statSync};function V0(r){return r===void 0?Ft.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ft.FILE_SYSTEM_ADAPTER),r)}Ft.createFileSystemAdapter=V0});var Zd=G(Ys=>{"use strict";Object.defineProperty(Ys,"__esModule",{value:!0});var Q0=Jd(),Ks=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=Q0.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,e){return t??e}};Ys.default=Ks});var Zt=G(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.statSync=Nt.stat=Nt.Settings=void 0;var ep=zd(),z0=Xd(),Vs=Zd();Nt.Settings=Vs.default;function X0(r,t,e){if(typeof t=="function"){ep.read(r,Qs(),t);return}ep.read(r,Qs(t),e)}Nt.stat=X0;function J0(r,t){let e=Qs(t);return z0.read(r,e)}Nt.statSync=J0;function Qs(r={}){return r instanceof Vs.default?r:new Vs.default(r)}});var rp=G((IC,ip)=>{var tp;ip.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):r=>(tp||(tp=Promise.resolve())).then(r).catch(t=>setTimeout(()=>{throw t},0))});var ap=G((FC,np)=>{np.exports=ew;var Z0=rp();function ew(r,t){let e,l,d,y=!0;Array.isArray(r)?(e=[],l=r.length):(d=Object.keys(r),e={},l=d.length);function v(R){function N(){t&&t(R,e),t=null}y?Z0(N):N()}function E(R,N,T){e[R]=T,(--l===0||N)&&v(N)}l?d?d.forEach(function(R){r[R](function(N,T){E(R,N,T)})}):r.forEach(function(R,N){R(function(T,L){E(N,T,L)})}):v(null),y=!1}});var zs=G(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Hr=process.versions.node.split(".");if(Hr[0]===void 0||Hr[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var sp=Number.parseInt(Hr[0],10),tw=Number.parseInt(Hr[1],10),op=10,iw=10,rw=sp>op,nw=sp===op&&tw>=iw;qr.IS_SUPPORT_READDIR_WITH_FILE_TYPES=rw||nw});var up=G(Wr=>{"use strict";Object.defineProperty(Wr,"__esModule",{value:!0});Wr.createDirentFromStats=void 0;var Xs=class{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}};function aw(r,t){return new Xs(r,t)}Wr.createDirentFromStats=aw});var Js=G($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.fs=void 0;var sw=up();$r.fs=sw});var Zs=G(Gr=>{"use strict";Object.defineProperty(Gr,"__esModule",{value:!0});Gr.joinPathSegments=void 0;function ow(r,t,e){return r.endsWith(e)?r+t:r+e+t}Gr.joinPathSegments=ow});var pp=G(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.readdir=Bt.readdirWithFileTypes=Bt.read=void 0;var uw=Zt(),lp=ap(),lw=zs(),cp=Js(),fp=Zs();function cw(r,t,e){if(!t.stats&&lw.IS_SUPPORT_READDIR_WITH_FILE_TYPES){_p(r,t,e);return}dp(r,t,e)}Bt.read=cw;function _p(r,t,e){t.fs.readdir(r,{withFileTypes:!0},(l,d)=>{if(l!==null){Kr(e,l);return}let y=d.map(E=>({dirent:E,name:E.name,path:fp.joinPathSegments(r,E.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){eo(e,y);return}let v=y.map(E=>fw(E,t));lp(v,(E,R)=>{if(E!==null){Kr(e,E);return}eo(e,R)})})}Bt.readdirWithFileTypes=_p;function fw(r,t){return e=>{if(!r.dirent.isSymbolicLink()){e(null,r);return}t.fs.stat(r.path,(l,d)=>{if(l!==null){if(t.throwErrorOnBrokenSymbolicLink){e(l);return}e(null,r);return}r.dirent=cp.fs.createDirentFromStats(r.name,d),e(null,r)})}}function dp(r,t,e){t.fs.readdir(r,(l,d)=>{if(l!==null){Kr(e,l);return}let y=d.map(v=>{let E=fp.joinPathSegments(r,v,t.pathSegmentSeparator);return R=>{uw.stat(E,t.fsStatSettings,(N,T)=>{if(N!==null){R(N);return}let L={name:v,path:E,dirent:cp.fs.createDirentFromStats(v,T)};t.stats&&(L.stats=T),R(null,L)})}});lp(y,(v,E)=>{if(v!==null){Kr(e,v);return}eo(e,E)})})}Bt.readdir=dp;function Kr(r,t){r(t)}function eo(r,t){r(null,t)}});var gp=G(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.readdir=Lt.readdirWithFileTypes=Lt.read=void 0;var _w=Zt(),dw=zs(),yp=Js(),hp=Zs();function pw(r,t){return!t.stats&&dw.IS_SUPPORT_READDIR_WITH_FILE_TYPES?mp(r,t):vp(r,t)}Lt.read=pw;function mp(r,t){return t.fs.readdirSync(r,{withFileTypes:!0}).map(l=>{let d={dirent:l,name:l.name,path:hp.joinPathSegments(r,l.name,t.pathSegmentSeparator)};if(d.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let y=t.fs.statSync(d.path);d.dirent=yp.fs.createDirentFromStats(d.name,y)}catch(y){if(t.throwErrorOnBrokenSymbolicLink)throw y}return d})}Lt.readdirWithFileTypes=mp;function vp(r,t){return t.fs.readdirSync(r).map(l=>{let d=hp.joinPathSegments(r,l,t.pathSegmentSeparator),y=_w.statSync(d,t.fsStatSettings),v={name:l,path:d,dirent:yp.fs.createDirentFromStats(l,y)};return t.stats&&(v.stats=y),v})}Lt.readdir=vp});var bp=G(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.createFileSystemAdapter=Ut.FILE_SYSTEM_ADAPTER=void 0;var gi=require("fs");Ut.FILE_SYSTEM_ADAPTER={lstat:gi.lstat,stat:gi.stat,lstatSync:gi.lstatSync,statSync:gi.statSync,readdir:gi.readdir,readdirSync:gi.readdirSync};function yw(r){return r===void 0?Ut.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ut.FILE_SYSTEM_ADAPTER),r)}Ut.createFileSystemAdapter=yw});var jp=G(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});var hw=require("path"),mw=Zt(),vw=bp(),to=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=vw.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,hw.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new mw.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return t??e}};io.default=to});var Yr=G(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.Settings=Ht.scandirSync=Ht.scandir=void 0;var wp=pp(),gw=gp(),ro=jp();Ht.Settings=ro.default;function bw(r,t,e){if(typeof t=="function"){wp.read(r,no(),t);return}wp.read(r,no(t),e)}Ht.scandir=bw;function jw(r,t){let e=no(t);return gw.read(r,e)}Ht.scandirSync=jw;function no(r={}){return r instanceof ro.default?r:new ro.default(r)}});var Cp=G((KC,kp)=>{"use strict";function ww(r){var t=new r,e=t;function l(){var y=t;return y.next?t=y.next:(t=new r,e=t),y.next=null,y}function d(y){e.next=y,e=y}return{get:l,release:d}}kp.exports=ww});var Ep=G((YC,ao)=>{"use strict";var kw=Cp();function Sp(r,t,e){if(typeof r=="function"&&(e=t,t=r,r=null),e<1)throw new Error("fastqueue concurrency must be greater than 1");var l=kw(Cw),d=null,y=null,v=0,E=null,R={push:Y,drain:_t,saturated:_t,pause:T,paused:!1,concurrency:e,running:N,resume:_e,idle:$,length:L,getQueue:P,unshift:Z,empty:_t,kill:Ee,killAndDrain:ge,error:We};return R;function N(){return v}function T(){R.paused=!0}function L(){for(var oe=d,ae=0;oe;)oe=oe.next,ae++;return ae}function P(){for(var oe=d,ae=[];oe;)ae.push(oe.value),oe=oe.next;return ae}function _e(){if(!!R.paused){R.paused=!1;for(var oe=0;oe<R.concurrency;oe++)v++,ne()}}function $(){return v===0&&R.length()===0}function Y(oe,ae){var ee=l.get();ee.context=r,ee.release=ne,ee.value=oe,ee.callback=ae||_t,ee.errorHandler=E,v===R.concurrency||R.paused?y?(y.next=ee,y=ee):(d=ee,y=ee,R.saturated()):(v++,t.call(r,ee.value,ee.worked))}function Z(oe,ae){var ee=l.get();ee.context=r,ee.release=ne,ee.value=oe,ee.callback=ae||_t,v===R.concurrency||R.paused?d?(ee.next=d,d=ee):(d=ee,y=ee,R.saturated()):(v++,t.call(r,ee.value,ee.worked))}function ne(oe){oe&&l.release(oe);var ae=d;ae?R.paused?v--:(y===d&&(y=null),d=ae.next,ae.next=null,t.call(r,ae.value,ae.worked),y===null&&R.empty()):--v===0&&R.drain()}function Ee(){d=null,y=null,R.drain=_t}function ge(){d=null,y=null,R.drain(),R.drain=_t}function We(oe){E=oe}}function _t(){}function Cw(){this.value=null,this.callback=_t,this.next=null,this.release=_t,this.context=null,this.errorHandler=null;var r=this;this.worked=function(e,l){var d=r.callback,y=r.errorHandler,v=r.value;r.value=null,r.callback=_t,r.errorHandler&&y(e,v),d.call(r.context,e,l),r.release(r)}}function Sw(r,t,e){typeof r=="function"&&(e=t,t=r,r=null);function l(T,L){t.call(this,T).then(function(P){L(null,P)},L)}var d=Sp(r,l,e),y=d.push,v=d.unshift;return d.push=E,d.unshift=R,d.drained=N,d;function E(T){var L=new Promise(function(P,_e){y(T,function($,Y){if($){_e($);return}P(Y)})});return L.catch(_t),L}function R(T){var L=new Promise(function(P,_e){v(T,function($,Y){if($){_e($);return}P(Y)})});return L.catch(_t),L}function N(){var T=d.drain,L=new Promise(function(P){d.drain=function(){T(),P()}});return L}}ao.exports=Sp;ao.exports.promise=Sw});var Vr=G(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.joinPathSegments=vt.replacePathSegmentSeparator=vt.isAppliedFilter=vt.isFatalError=void 0;function Ew(r,t){return r.errorFilter===null?!0:!r.errorFilter(t)}vt.isFatalError=Ew;function Aw(r,t){return r===null||r(t)}vt.isAppliedFilter=Aw;function Rw(r,t){return r.split(/[/\\]/).join(t)}vt.replacePathSegmentSeparator=Rw;function Dw(r,t,e){return r===""?t:r.endsWith(e)?r+t:r+e+t}vt.joinPathSegments=Dw});var uo=G(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});var Tw=Vr(),so=class{constructor(t,e){this._root=t,this._settings=e,this._root=Tw.replacePathSegmentSeparator(t,e.pathSegmentSeparator)}};oo.default=so});var fo=G(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});var Pw=require("events"),Ow=Yr(),xw=Ep(),Qr=Vr(),Mw=uo(),lo=class extends Mw.default{constructor(t,e){super(t,e),this._settings=e,this._scandir=Ow.scandir,this._emitter=new Pw.EventEmitter,this._queue=xw(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(t){this._emitter.on("entry",t)}onError(t){this._emitter.once("error",t)}onEnd(t){this._emitter.once("end",t)}_pushToQueue(t,e){let l={directory:t,base:e};this._queue.push(l,d=>{d!==null&&this._handleError(d)})}_worker(t,e){this._scandir(t.directory,this._settings.fsScandirSettings,(l,d)=>{if(l!==null){e(l,void 0);return}for(let y of d)this._handleEntry(y,t.base);e(null,void 0)})}_handleError(t){this._isDestroyed||!Qr.isFatalError(this._settings,t)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",t))}_handleEntry(t,e){if(this._isDestroyed||this._isFatalError)return;let l=t.path;e!==void 0&&(t.path=Qr.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),Qr.isAppliedFilter(this._settings.entryFilter,t)&&this._emitEntry(t),t.dirent.isDirectory()&&Qr.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(l,e===void 0?void 0:t.path)}_emitEntry(t){this._emitter.emit("entry",t)}};co.default=lo});var Ap=G(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});var Iw=fo(),_o=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new Iw.default(this._root,this._settings),this._storage=[]}read(t){this._reader.onError(e=>{Fw(t,e)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{Nw(t,this._storage)}),this._reader.read()}};po.default=_o;function Fw(r,t){r(t)}function Nw(r,t){r(null,t)}});var Rp=G(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});var Bw=require("stream"),Lw=fo(),yo=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new Lw.default(this._root,this._settings),this._stream=new Bw.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};ho.default=yo});var Dp=G(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});var Uw=Yr(),zr=Vr(),Hw=uo(),mo=class extends Hw.default{constructor(){super(...arguments),this._scandir=Uw.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(t,e){this._queue.add({directory:t,base:e})}_handleQueue(){for(let t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,e){try{let l=this._scandir(t,this._settings.fsScandirSettings);for(let d of l)this._handleEntry(d,e)}catch(l){this._handleError(l)}}_handleError(t){if(!!zr.isFatalError(this._settings,t))throw t}_handleEntry(t,e){let l=t.path;e!==void 0&&(t.path=zr.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),zr.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&zr.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(l,e===void 0?void 0:t.path)}_pushToStorage(t){this._storage.push(t)}};vo.default=mo});var Tp=G(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});var qw=Dp(),go=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new qw.default(this._root,this._settings)}read(){return this._reader.read()}};bo.default=go});var Pp=G(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});var Ww=require("path"),$w=Yr(),jo=class{constructor(t={}){this._options=t,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,Ww.sep),this.fsScandirSettings=new $w.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return t??e}};wo.default=jo});var Jr=G(gt=>{"use strict";Object.defineProperty(gt,"__esModule",{value:!0});gt.Settings=gt.walkStream=gt.walkSync=gt.walk=void 0;var Op=Ap(),Gw=Rp(),Kw=Tp(),ko=Pp();gt.Settings=ko.default;function Yw(r,t,e){if(typeof t=="function"){new Op.default(r,Xr()).read(t);return}new Op.default(r,Xr(t)).read(e)}gt.walk=Yw;function Vw(r,t){let e=Xr(t);return new Kw.default(r,e).read()}gt.walkSync=Vw;function Qw(r,t){let e=Xr(t);return new Gw.default(r,e).read()}gt.walkStream=Qw;function Xr(r={}){return r instanceof ko.default?r:new ko.default(r)}});var Zr=G(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});var zw=require("path"),Xw=Zt(),xp=At(),Co=class{constructor(t){this._settings=t,this._fsStatSettings=new Xw.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(t){return zw.resolve(this._settings.cwd,t)}_makeEntry(t,e){let l={name:e,path:e,dirent:xp.fs.createDirentFromStats(e,t)};return this._settings.stats&&(l.stats=t),l}_isFatalError(t){return!xp.errno.isEnoentCodeError(t)&&!this._settings.suppressErrors}};So.default=Co});var Ro=G(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var Jw=require("stream"),Zw=Zt(),ek=Jr(),tk=Zr(),Eo=class extends tk.default{constructor(){super(...arguments),this._walkStream=ek.walkStream,this._stat=Zw.stat}dynamic(t,e){return this._walkStream(t,e)}static(t,e){let l=t.map(this._getFullEntryPath,this),d=new Jw.PassThrough({objectMode:!0});d._write=(y,v,E)=>this._getEntry(l[y],t[y],e).then(R=>{R!==null&&e.entryFilter(R)&&d.push(R),y===l.length-1&&d.end(),E()}).catch(E);for(let y=0;y<l.length;y++)d.write(y);return d}_getEntry(t,e,l){return this._getStat(t).then(d=>this._makeEntry(d,e)).catch(d=>{if(l.errorFilter(d))return null;throw d})}_getStat(t){return new Promise((e,l)=>{this._stat(t,this._fsStatSettings,(d,y)=>d===null?e(y):l(d))})}};Ao.default=Eo});var Mp=G(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});var ik=Jr(),rk=Zr(),nk=Ro(),Do=class extends rk.default{constructor(){super(...arguments),this._walkAsync=ik.walk,this._readerStream=new nk.default(this._settings)}dynamic(t,e){return new Promise((l,d)=>{this._walkAsync(t,e,(y,v)=>{y===null?l(v):d(y)})})}async static(t,e){let l=[],d=this._readerStream.static(t,e);return new Promise((y,v)=>{d.once("error",v),d.on("data",E=>l.push(E)),d.once("end",()=>y(l))})}};To.default=Do});var Ip=G(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});var bi=At(),Po=class{constructor(t,e,l){this._patterns=t,this._settings=e,this._micromatchOptions=l,this._storage=[],this._fillStorage()}_fillStorage(){let t=bi.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let e of t){let l=this._getPatternSegments(e),d=this._splitSegmentsIntoSections(l);this._storage.push({complete:d.length<=1,pattern:e,segments:l,sections:d})}}_getPatternSegments(t){return bi.pattern.getPatternParts(t,this._micromatchOptions).map(l=>bi.pattern.isDynamicPattern(l,this._settings)?{dynamic:!0,pattern:l,patternRe:bi.pattern.makeRe(l,this._micromatchOptions)}:{dynamic:!1,pattern:l})}_splitSegmentsIntoSections(t){return bi.array.splitWhen(t,e=>e.dynamic&&bi.pattern.hasGlobStar(e.pattern))}};Oo.default=Po});var Fp=G(Mo=>{"use strict";Object.defineProperty(Mo,"__esModule",{value:!0});var ak=Ip(),xo=class extends ak.default{match(t){let e=t.split("/"),l=e.length,d=this._storage.filter(y=>!y.complete||y.segments.length>l);for(let y of d){let v=y.sections[0];if(!y.complete&&l>v.length||e.every((R,N)=>{let T=y.segments[N];return!!(T.dynamic&&T.patternRe.test(R)||!T.dynamic&&T.pattern===R)}))return!0}return!1}};Mo.default=xo});var Np=G(Fo=>{"use strict";Object.defineProperty(Fo,"__esModule",{value:!0});var en=At(),sk=Fp(),Io=class{constructor(t,e){this._settings=t,this._micromatchOptions=e}getFilter(t,e,l){let d=this._getMatcher(e),y=this._getNegativePatternsRe(l);return v=>this._filter(t,v,d,y)}_getMatcher(t){return new sk.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){let e=t.filter(en.pattern.isAffectDepthOfReadingPattern);return en.pattern.convertPatternsToRe(e,this._micromatchOptions)}_filter(t,e,l,d){if(this._isSkippedByDeep(t,e.path)||this._isSkippedSymbolicLink(e))return!1;let y=en.path.removeLeadingDotSegment(e.path);return this._isSkippedByPositivePatterns(y,l)?!1:this._isSkippedByNegativePatterns(y,d)}_isSkippedByDeep(t,e){return this._settings.deep===1/0?!1:this._getEntryLevel(t,e)>=this._settings.deep}_getEntryLevel(t,e){let l=e.split("/").length;if(t==="")return l;let d=t.split("/").length;return l-d}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,e){return!this._settings.baseNameMatch&&!e.match(t)}_isSkippedByNegativePatterns(t,e){return!en.pattern.matchAny(t,e)}};Fo.default=Io});var Bp=G(Bo=>{"use strict";Object.defineProperty(Bo,"__esModule",{value:!0});var ei=At(),No=class{constructor(t,e){this._settings=t,this._micromatchOptions=e,this.index=new Map}getFilter(t,e){let l=ei.pattern.convertPatternsToRe(t,this._micromatchOptions),d=ei.pattern.convertPatternsToRe(e,this._micromatchOptions);return y=>this._filter(y,l,d)}_filter(t,e,l){if(this._settings.unique&&this._isDuplicateEntry(t)||this._onlyFileFilter(t)||this._onlyDirectoryFilter(t)||this._isSkippedByAbsoluteNegativePatterns(t.path,l))return!1;let d=this._settings.baseNameMatch?t.name:t.path,y=t.dirent.isDirectory(),v=this._isMatchToPatterns(d,e,y)&&!this._isMatchToPatterns(t.path,l,y);return this._settings.unique&&v&&this._createIndexRecord(t),v}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,e){if(!this._settings.absolute)return!1;let l=ei.path.makeAbsolute(this._settings.cwd,t);return ei.pattern.matchAny(l,e)}_isMatchToPatterns(t,e,l){let d=ei.path.removeLeadingDotSegment(t),y=ei.pattern.matchAny(d,e);return!y&&l?ei.pattern.matchAny(d+"/",e):y}};Bo.default=No});var Lp=G(Uo=>{"use strict";Object.defineProperty(Uo,"__esModule",{value:!0});var ok=At(),Lo=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return ok.errno.isEnoentCodeError(t)||this._settings.suppressErrors}};Uo.default=Lo});var Hp=G(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});var Up=At(),Ho=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let e=t.path;return this._settings.absolute&&(e=Up.path.makeAbsolute(this._settings.cwd,e),e=Up.path.unixify(e)),this._settings.markDirectories&&t.dirent.isDirectory()&&(e+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:e}):e}};qo.default=Ho});var tn=G($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});var uk=require("path"),lk=Np(),ck=Bp(),fk=Lp(),_k=Hp(),Wo=class{constructor(t){this._settings=t,this.errorFilter=new fk.default(this._settings),this.entryFilter=new ck.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new lk.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new _k.default(this._settings)}_getRootDirectory(t){return uk.resolve(this._settings.cwd,t.base)}_getReaderOptions(t){let e=t.base==="."?"":t.base;return{basePath:e,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(e,t.positive,t.negative),entryFilter:this.entryFilter.getFilter(t.positive,t.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}}};$o.default=Wo});var qp=G(Ko=>{"use strict";Object.defineProperty(Ko,"__esModule",{value:!0});var dk=Mp(),pk=tn(),Go=class extends pk.default{constructor(){super(...arguments),this._reader=new dk.default(this._settings)}async read(t){let e=this._getRootDirectory(t),l=this._getReaderOptions(t);return(await this.api(e,t,l)).map(y=>l.transform(y))}api(t,e,l){return e.dynamic?this._reader.dynamic(t,l):this._reader.static(e.patterns,l)}};Ko.default=Go});var Wp=G(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});var yk=require("stream"),hk=Ro(),mk=tn(),Yo=class extends mk.default{constructor(){super(...arguments),this._reader=new hk.default(this._settings)}read(t){let e=this._getRootDirectory(t),l=this._getReaderOptions(t),d=this.api(e,t,l),y=new yk.Readable({objectMode:!0,read:()=>{}});return d.once("error",v=>y.emit("error",v)).on("data",v=>y.emit("data",l.transform(v))).once("end",()=>y.emit("end")),y.once("close",()=>d.destroy()),y}api(t,e,l){return e.dynamic?this._reader.dynamic(t,l):this._reader.static(e.patterns,l)}};Vo.default=Yo});var $p=G(zo=>{"use strict";Object.defineProperty(zo,"__esModule",{value:!0});var vk=Zt(),gk=Jr(),bk=Zr(),Qo=class extends bk.default{constructor(){super(...arguments),this._walkSync=gk.walkSync,this._statSync=vk.statSync}dynamic(t,e){return this._walkSync(t,e)}static(t,e){let l=[];for(let d of t){let y=this._getFullEntryPath(d),v=this._getEntry(y,d,e);v===null||!e.entryFilter(v)||l.push(v)}return l}_getEntry(t,e,l){try{let d=this._getStat(t);return this._makeEntry(d,e)}catch(d){if(l.errorFilter(d))return null;throw d}}_getStat(t){return this._statSync(t,this._fsStatSettings)}};zo.default=Qo});var Gp=G(Jo=>{"use strict";Object.defineProperty(Jo,"__esModule",{value:!0});var jk=$p(),wk=tn(),Xo=class extends wk.default{constructor(){super(...arguments),this._reader=new jk.default(this._settings)}read(t){let e=this._getRootDirectory(t),l=this._getReaderOptions(t);return this.api(e,t,l).map(l.transform)}api(t,e,l){return e.dynamic?this._reader.dynamic(t,l):this._reader.static(e.patterns,l)}};Jo.default=Xo});var Kp=G(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var ji=require("fs"),kk=require("os"),Ck=Math.max(kk.cpus().length,1);wi.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:ji.lstat,lstatSync:ji.lstatSync,stat:ji.stat,statSync:ji.statSync,readdir:ji.readdir,readdirSync:ji.readdirSync};var Zo=class{constructor(t={}){this._options=t,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,Ck),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)}_getValue(t,e){return t===void 0?e:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},wi.DEFAULT_FILE_SYSTEM_ADAPTER),t)}};wi.default=Zo});var zp=G((v1,Qp)=>{"use strict";var Yp=Kd(),Vp=Vd(),Sk=qp(),Ek=Wp(),Ak=Gp(),eu=Kp(),ti=At();async function tu(r,t){ki(r);let e=iu(r,Sk.default,t),l=await Promise.all(e);return ti.array.flatten(l)}(function(r){function t(v,E){ki(v);let R=iu(v,Ak.default,E);return ti.array.flatten(R)}r.sync=t;function e(v,E){ki(v);let R=iu(v,Ek.default,E);return ti.stream.merge(R)}r.stream=e;function l(v,E){ki(v);let R=Vp.transform([].concat(v)),N=new eu.default(E);return Yp.generate(R,N)}r.generateTasks=l;function d(v,E){ki(v);let R=new eu.default(E);return ti.pattern.isDynamicPattern(v,R)}r.isDynamicPattern=d;function y(v){return ki(v),ti.path.escape(v)}r.escapePath=y})(tu||(tu={}));function iu(r,t,e){let l=Vp.transform([].concat(r)),d=new eu.default(e),y=Yp.generate(l,d),v=new t(d);return y.map(v.read,v)}function ki(r){if(![].concat(r).every(l=>ti.string.isString(l)&&!ti.string.isEmpty(l)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}Qp.exports=tu});var Pk={};sb(Pk,{ConsoleLogger:()=>_s,DEFAULT_RUNTIME:()=>cs,DuckDBBindingsBase:()=>Wi,DuckDBConnection:()=>Ui,DuckDBDataProtocol:()=>Cr,DuckDBFeature:()=>e_,FileFlags:()=>Zf,FileStatistics:()=>qi,JSONTableShape:()=>t_,LogEvent:()=>n_,LogLevel:()=>i_,LogOrigin:()=>a_,LogTopic:()=>r_,NODE_RUNTIME:()=>qe,PACKAGE_NAME:()=>ds,PACKAGE_VERSION:()=>ps,PACKAGE_VERSION_MAJOR:()=>gb,PACKAGE_VERSION_MINOR:()=>bb,PACKAGE_VERSION_PATCH:()=>jb,PreparedStatement:()=>jr,ResultStreamIterator:()=>Hi,StatusCode:()=>Vf,VoidLogger:()=>fs,callSRet:()=>De,copyBuffer:()=>Mt,createDuckDB:()=>Tk,decodeText:()=>xt,dropResponseBuffers:()=>Fe,failWith:()=>He,getJsDelivrBundles:()=>Cb,getLogEventLabel:()=>fb,getLogLevelLabel:()=>cb,getLogOriginLabel:()=>db,getLogTopicLabel:()=>_b,getPlatformFeatures:()=>Ar,isFirefox:()=>wb,isNode:()=>js,isSafari:()=>kb,readString:()=>he,selectBundle:()=>Sb});module.exports=ob(Pk);var pt=_i(require("apache-arrow")),Ui=class{constructor(t,e){this._bindings=t,this._conn=e}close(){this._bindings.disconnect(this._conn)}useUnsafe(t){return t(this._bindings,this._conn)}query(t){let e=this._bindings.runQuery(this._conn,t),l=pt.RecordBatchReader.from(e);return console.assert(l.isSync()),console.assert(l.isFile()),new pt.Table(l)}async send(t){let e=this._bindings.startPendingQuery(this._conn,t);for(;e==null;)e=await new Promise((y,v)=>{try{y(this._bindings.pollPendingQuery(this._conn))}catch(E){v(E)}});let l=new Hi(this._bindings,this._conn,e),d=pt.RecordBatchReader.from(l);return console.assert(d.isSync()),console.assert(d.isStream()),d}cancelSent(){return this._bindings.cancelPendingQuery(this._conn)}getTableNames(t){return this._bindings.getTableNames(this._conn,t)}prepare(t){let e=this._bindings.createPrepared(this._conn,t);return new jr(this._bindings,this._conn,e)}createScalarFunction(t,e,l){this._bindings.createScalarFunction(this._conn,t,e,l)}insertArrowTable(t,e){let l=pt.tableToIPC(t,"stream");this.insertArrowFromIPCStream(l,e)}insertArrowFromIPCStream(t,e){this._bindings.insertArrowFromIPCStream(this._conn,t,e)}insertCSVFromPath(t,e){this._bindings.insertCSVFromPath(this._conn,t,e)}insertJSONFromPath(t,e){this._bindings.insertJSONFromPath(this._conn,t,e)}},Hi=class{constructor(t,e,l){this.bindings=t;this.conn=e;this.header=l;this._first=!0,this._depleted=!1}next(){if(this._first)return this._first=!1,{done:!1,value:this.header};if(this._depleted)return{done:!0,value:null};let t=this.bindings.fetchQueryResults(this.conn);return this._depleted=t.length==0,{done:this._depleted,value:t}}[Symbol.iterator](){return this}},jr=class{constructor(t,e,l){this.bindings=t,this.connectionId=e,this.statementId=l}close(){this.bindings.closePrepared(this.connectionId,this.statementId)}query(...t){let e=this.bindings.runPrepared(this.connectionId,this.statementId,t),l=pt.RecordBatchReader.from(e);return console.assert(l.isSync()),console.assert(l.isFile()),new pt.Table(l)}send(...t){let e=this.bindings.sendPrepared(this.connectionId,this.statementId,t),l=new Hi(this.bindings,this.connectionId,e),d=pt.RecordBatchReader.from(l);return console.assert(d.isSync()),console.assert(d.isStream()),d}};var Vf=(t=>(t[t.SUCCESS=0]="SUCCESS",t))(Vf||{});var Xf=new TextEncoder,Qf=new TextDecoder("utf-8");function os(r,t,e){let l=Xf.encode(e),d=r._malloc(l.byteLength),y=r.HEAPU8.subarray(d,d+l.byteLength);y.set(l),r.HEAPF64[(t>>3)+0]=1,r.HEAPF64[(t>>3)+1]=d,r.HEAPF64[(t>>3)+2]=y.byteLength}function ls(r){switch(r){case"UINT8":case"INT8":return 1;case"INT32":case"FLOAT":return 4;case"INT64":case"UINT64":case"DOUBLE":case"VARCHAR":return 8;default:return 0}}function us(r,t,e,l){let d=r.HEAPU8.subarray(t,t+l*ls(e));switch(e){case"UINT8":return new Uint8Array(d.buffer,d.byteOffset,l);case"INT8":return new Int8Array(d.buffer,d.byteOffset,l);case"INT32":return new Int32Array(d.buffer,d.byteOffset,l);case"FLOAT":return new Float32Array(d.buffer,d.byteOffset,l);case"DOUBLE":return new Float64Array(d.buffer,d.byteOffset,l);case"VARCHAR":return new Float64Array(d.buffer,d.byteOffset,l);default:return new Array(0)}}function zf(r,t,e){let l=r.HEAPU8.subarray(t,t+e);return new Uint8Array(l.buffer,l.byteOffset,e)}function wr(r,t,e){let l=r.HEAPU8.subarray(t,t+e*8);return new Float64Array(l.buffer,l.byteOffset,e)}function kr(r,t,e,l,d,y,v,E){try{let R=r._udfFunctions.get(l);if(!R){os(t,e,"Unknown UDF with id: "+l);return}let N=Qf.decode(t.HEAPU8.subarray(d,d+y)),T=JSON.parse(N),L=wr(t,v,E/8),P=K=>{var x;let ye=null;switch(K.validityBuffer!==void 0&&(ye=zf(t,L[K.validityBuffer],T.rows)),K.physicalType){case"VARCHAR":{if(K.dataBuffer===null||K.dataBuffer===void 0)throw new Error("malformed data view, expected data buffer for VARCHAR argument");if(K.lengthBuffer===null||K.lengthBuffer===void 0)throw new Error("malformed data view, expected data length buffer for VARCHAR argument");let ce=us(t,L[K.dataBuffer],K.physicalType,T.rows),se=[],Te=wr(t,L[K.lengthBuffer],T.rows);for(let A=0;A<T.rows;++A){if(ye!=null&&!ye[A]){se.push(null);continue}let O=t.HEAPU8.subarray(ce[A],ce[A]+Te[A]),xe=Qf.decode(O);se.push(xe)}return A=>se[A]}case"STRUCT":{let ce={},se=[];for(let Te=0;Te<(((x=K.children)==null?void 0:x.length)||0);++Te){let A=K.children[Te],O=P(A);se.push(xe=>{ce[A.name]=O(xe)})}return ye!=null?Te=>{if(!ye[Te])return null;for(let A of se)A(Te);return ce}:Te=>{for(let A of se)A(Te);return ce}}default:{if(K.dataBuffer===void 0)throw new Error("malformed data view, expected data buffer for argument of type: "+K.physicalType);let ce=us(t,L[K.dataBuffer],K.physicalType,T.rows);return ye!=null?se=>ye[se]?ce[se]:null:se=>ce[se]}}},_e=[];for(let K=0;K<T.args.length;++K)_e.push(P(T.args[K]));let $=T.rows*ls(T.ret.physicalType),Y=t._malloc($),Z=us(t,Y,T.ret.physicalType,T.rows),ne=t._malloc(T.rows),Ee=zf(t,ne,T.rows);if(Z.length==0||Ee.length==0){os(t,e,"Can't create physical arrays for result");return}let ge=Z;T.ret.physicalType=="VARCHAR"&&(ge=new Array(T.rows));let We=[];for(let K=0;K<T.args.length;++K)We.push(null);for(let K=0;K<T.rows;++K){for(let x=0;x<T.args.length;++x)We[x]=_e[x](K);let ye=R.func(...We);ge[K]=ye,Ee[K]=ye==null?0:1}let oe=0;switch(T.ret.physicalType){case"VARCHAR":{let K=new Array(0);oe=t._malloc(T.rows*ls("DOUBLE"));let ye=wr(t,oe,T.rows),x=0;for(let A=0;A<T.rows;++A){let O=Xf.encode(ge[A]||"");K.push(O),ye[A]=O.length,x+=O.length}let ce=t._malloc(x),se=t.HEAPU8.subarray(ce,ce+x),Te=0;for(let A=0;A<T.rows;++A){Z[A]=Te;let O=K[A];se.subarray(Te,Te+O.length).set(O),Te+=O.length}}}let ae=3*8,ee=t._malloc(ae),te=wr(t,ee,3);te[0]=Y,te[1]=ne,te[2]=oe,t.HEAPF64[(e>>3)+0]=0,t.HEAPF64[(e>>3)+1]=ee,t.HEAPF64[(e>>3)+2]=0}catch(R){os(t,e,R.toString())}}function ub(){let r=new TextDecoder;return t=>(typeof SharedArrayBuffer<"u"&&t.buffer instanceof SharedArrayBuffer&&(t=new Uint8Array(t)),r.decode(t))}var xt=ub();function He(r,t){console.error(`FAIL WITH: ${t}`),r.ccall("duckdb_web_fail_with",null,["string"],[t])}function Mt(r,t,e){let l=r.HEAPU8.subarray(t,t+e),d=new Uint8Array(new ArrayBuffer(l.byteLength));return d.set(l),d}function he(r,t,e){return xt(r.HEAPU8.subarray(t,t+e))}var Cr=(v=>(v[v.BUFFER=0]="BUFFER",v[v.NODE_FS=1]="NODE_FS",v[v.BROWSER_FILEREADER=2]="BROWSER_FILEREADER",v[v.BROWSER_FSACCESS=3]="BROWSER_FSACCESS",v[v.HTTP=4]="HTTP",v[v.S3=5]="S3",v))(Cr||{}),Zf=(v=>(v[v.FILE_FLAGS_READ=1]="FILE_FLAGS_READ",v[v.FILE_FLAGS_WRITE=2]="FILE_FLAGS_WRITE",v[v.FILE_FLAGS_DIRECT_IO=4]="FILE_FLAGS_DIRECT_IO",v[v.FILE_FLAGS_FILE_CREATE=8]="FILE_FLAGS_FILE_CREATE",v[v.FILE_FLAGS_FILE_CREATE_NEW=16]="FILE_FLAGS_FILE_CREATE_NEW",v[v.FILE_FLAGS_APPEND=32]="FILE_FLAGS_APPEND",v))(Zf||{});function De(r,t,e,l){let d=r.stackSave(),y=r.stackAlloc(3*8);e.unshift("number"),l.unshift(y),r.ccall(t,null,e,l);let v=r.HEAPF64[(y>>3)+0],E=r.HEAPF64[(y>>3)+1],R=r.HEAPF64[(y>>3)+2];return r.stackRestore(d),[v,E,R]}function Fe(r){r.ccall("duckdb_web_clear_response",null,[],[])}var cs={_udfFunctions:new Map,testPlatformFeature:(r,t)=>!1,getDefaultDataProtocol:r=>0,openFile:(r,t,e)=>{},syncFile:(r,t)=>{},closeFile:(r,t)=>{},getLastFileModificationTime:(r,t)=>0,truncateFile:(r,t,e)=>{},readFile:(r,t,e,l,d)=>0,writeFile:(r,t,e,l,d)=>0,removeDirectory:(r,t,e)=>{},checkDirectory:(r,t,e)=>!1,createDirectory:(r,t,e)=>{},listDirectoryEntries:(r,t,e)=>!1,glob:(r,t,e)=>{},moveFile:(r,t,e,l,d)=>{},checkFile:(r,t,e)=>!1,removeFile:(r,t,e)=>{},callScalarUDF:(r,t,e,l,d,y,v)=>{kr(cs,r,t,e,l,d,y,v)}};var qi=class{constructor(t){let e=new Float64Array(t.buffer,t.byteOffset,t.byteLength/8),l=new Uint8Array(new ArrayBuffer(t.byteLength));l.set(t.subarray(7*8)),this.totalFileReadsCold=e[0],this.totalFileReadsAhead=e[1],this.totalFileReadsCached=e[2],this.totalFileWrites=e[3],this.totalPageAccesses=e[4],this.totalPageLoads=e[5],this.blockSize=e[6],this.blockStats=l}getBlockStats(t,e){return e=e||{file_reads_cold:0,file_reads_ahead:0,file_reads_cached:0,file_writes:0,page_accesses:0,page_loads:0},e.file_writes=this.blockStats[t*3+0]&15,e.file_reads_cold=this.blockStats[t*3+0]>>4,e.file_reads_ahead=this.blockStats[t*3+1]&15,e.file_reads_cached=this.blockStats[t*3+1]>>4,e.page_accesses=this.blockStats[t*3+1]&15,e.page_loads=this.blockStats[t*3+1]>>4,e}};var ve=_i(require("apache-arrow"));function di(r){switch(r.typeId){case ve.Type.Binary:return{sqlType:"binary"};case ve.Type.Bool:return{sqlType:"bool"};case ve.Type.Date:return{sqlType:"date"};case ve.Type.DateDay:return{sqlType:"date32[d]"};case ve.Type.DateMillisecond:return{sqlType:"date64[ms]"};case ve.Type.Decimal:{let t=r;return{sqlType:"decimal",precision:t.precision,scale:t.scale}}case ve.Type.Float:return{sqlType:"float"};case ve.Type.Float16:return{sqlType:"float16"};case ve.Type.Float32:return{sqlType:"float32"};case ve.Type.Float64:return{sqlType:"float64"};case ve.Type.Int:return{sqlType:"int32"};case ve.Type.Int16:return{sqlType:"int16"};case ve.Type.Int32:return{sqlType:"int32"};case ve.Type.Int64:return{sqlType:"int64"};case ve.Type.Uint16:return{sqlType:"uint16"};case ve.Type.Uint32:return{sqlType:"uint32"};case ve.Type.Uint64:return{sqlType:"uint64"};case ve.Type.Uint8:return{sqlType:"uint8"};case ve.Type.IntervalDayTime:return{sqlType:"interval[dt]"};case ve.Type.IntervalYearMonth:return{sqlType:"interval[m]"};case ve.Type.List:return{sqlType:"list",valueType:di(r.valueType)};case ve.Type.FixedSizeBinary:return{sqlType:"fixedsizebinary",byteWidth:r.byteWidth};case ve.Type.Null:return{sqlType:"null"};case ve.Type.Utf8:return{sqlType:"utf8"};case ve.Type.Struct:return{sqlType:"struct",fields:r.children.map(e=>Sr(e.name,e.type))};case ve.Type.Map:{let t=r;return{sqlType:"map",keyType:di(t.keyType),valueType:di(t.valueType)}}case ve.Type.Time:return{sqlType:"time[s]"};case ve.Type.TimeMicrosecond:return{sqlType:"time[us]"};case ve.Type.TimeMillisecond:return{sqlType:"time[ms]"};case ve.Type.TimeNanosecond:return{sqlType:"time[ns]"};case ve.Type.TimeSecond:return{sqlType:"time[s]"};case ve.Type.Timestamp:return{sqlType:"timestamp",timezone:r.timezone||void 0};case ve.Type.TimestampSecond:return{sqlType:"timestamp[s]",timezone:r.timezone||void 0};case ve.Type.TimestampMicrosecond:return{sqlType:"timestamp[us]",timezone:r.timezone||void 0};case ve.Type.TimestampNanosecond:return{sqlType:"timestamp[ns]",timezone:r.timezone||void 0};case ve.Type.TimestampMillisecond:return{sqlType:"timestamp[ms]",timezone:r.timezone||void 0}}throw new Error(`unsupported arrow type: ${r.toString()}`)}function Sr(r,t){let e=di(t);return e.name=r,e}var lb=new TextEncoder,e_=(y=>(y[y.WASM_EXCEPTIONS=1]="WASM_EXCEPTIONS",y[y.WASM_THREADS=2]="WASM_THREADS",y[y.WASM_SIMD=4]="WASM_SIMD",y[y.WASM_BULK_MEMORY=8]="WASM_BULK_MEMORY",y[y.EMIT_BIGINT=16]="EMIT_BIGINT",y))(e_||{}),Wi=class{constructor(t,e){this._instance=null;this._initPromise=null;this._initPromiseResolver=()=>{};this.onInstantiationProgress=[];this._logger=t,this._runtime=e,this._nextUDFId=1}get logger(){return this._logger}get mod(){return this._instance}get pthread(){return this.mod.PThread||null}async instantiate(t=e=>{}){return this._instance!=null?this:(this._initPromise!=null&&(this.onInstantiationProgress.push(t),await this._initPromise),this._initPromise=new Promise(e=>{this._initPromiseResolver=e}),this.onInstantiationProgress=[t],this._instance=await this.instantiateImpl({print:console.log.bind(console),printErr:console.log.bind(console),onRuntimeInitialized:this._initPromiseResolver}),await this._initPromise,this._initPromise=null,this.onInstantiationProgress=this.onInstantiationProgress.filter(e=>e!=t),this)}open(t){let[e,l,d]=De(this.mod,"duckdb_web_open",["string"],[JSON.stringify(t)]);if(e!==0)throw new Error(he(this.mod,l,d));Fe(this.mod)}reset(){let[t,e,l]=De(this.mod,"duckdb_web_reset",[],[]);if(t!==0)throw new Error(he(this.mod,e,l));Fe(this.mod)}getVersion(){let[t,e,l]=De(this.mod,"duckdb_web_get_version",[],[]);if(t!==0)throw new Error(he(this.mod,e,l));let d=he(this.mod,e,l);return Fe(this.mod),d}getFeatureFlags(){return this.mod.ccall("duckdb_web_get_feature_flags","number",[],[])}tokenize(t){let[e,l,d]=De(this.mod,"duckdb_web_tokenize",["string"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));let y=he(this.mod,l,d);return Fe(this.mod),JSON.parse(y)}connect(){let t=this.mod.ccall("duckdb_web_connect","number",[],[]);return new Ui(this,t)}disconnect(t){if(this.mod.ccall("duckdb_web_disconnect",null,["number"],[t]),this.pthread)for(let e of[...this.pthread.runningWorkers,...this.pthread.unusedWorkers])e.postMessage({cmd:"dropUDFFunctions",connectionId:t})}runQuery(t,e){let[l,d,y]=De(this.mod,"duckdb_web_query_run",["number","string"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));let v=Mt(this.mod,d,y);return Fe(this.mod),v}startPendingQuery(t,e){let[l,d,y]=De(this.mod,"duckdb_web_pending_query_start",["number","string"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));if(d==0)return null;let v=Mt(this.mod,d,y);return Fe(this.mod),v}pollPendingQuery(t){let[e,l,d]=De(this.mod,"duckdb_web_pending_query_poll",["number"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));if(l==0)return null;let y=Mt(this.mod,l,d);return Fe(this.mod),y}cancelPendingQuery(t){return this.mod.ccall("duckdb_web_pending_query_cancel","boolean",["number"],[t])}fetchQueryResults(t){let[e,l,d]=De(this.mod,"duckdb_web_query_fetch_results",["number"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));let y=Mt(this.mod,l,d);return Fe(this.mod),y}getTableNames(t,e){let[l,d,y]=De(this.mod,"duckdb_web_get_tablenames",["number","string"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));let v=he(this.mod,d,y);return Fe(this.mod),JSON.parse(v)}createScalarFunction(t,e,l,d){let y={functionId:this._nextUDFId,name:e,returnType:di(l)},v={functionId:y.functionId,connectionId:t,name:e,returnType:l,func:d};this._nextUDFId+=1;let[E,R,N]=De(this.mod,"duckdb_web_udf_scalar_create",["number","string"],[t,JSON.stringify(y)]);if(E!==0)throw new Error(he(this.mod,R,N));if(Fe(this.mod),globalThis.DUCKDB_RUNTIME._udfFunctions=(globalThis.DUCKDB_RUNTIME._udfFunctions||new Map).set(v.functionId,v),this.pthread)for(let T of[...this.pthread.runningWorkers,...this.pthread.unusedWorkers])T.postMessage({cmd:"registerUDFFunction",udf:v})}createPrepared(t,e){let[l,d,y]=De(this.mod,"duckdb_web_prepared_create",["number","string"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));return Fe(this.mod),d}closePrepared(t,e){let[l,d,y]=De(this.mod,"duckdb_web_prepared_close",["number","number"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));Fe(this.mod)}runPrepared(t,e,l){let[d,y,v]=De(this.mod,"duckdb_web_prepared_run",["number","number","string"],[t,e,JSON.stringify(l)]);if(d!==0)throw new Error(he(this.mod,y,v));let E=Mt(this.mod,y,v);return Fe(this.mod),E}sendPrepared(t,e,l){let[d,y,v]=De(this.mod,"duckdb_web_prepared_send",["number","number","string"],[t,e,JSON.stringify(l)]);if(d!==0)throw new Error(he(this.mod,y,v));let E=Mt(this.mod,y,v);return Fe(this.mod),E}insertArrowFromIPCStream(t,e,l){if(e.length==0)return;let d=this.mod._malloc(e.length);this.mod.HEAPU8.subarray(d,d+e.length).set(e);let v=l?JSON.stringify(l):"",[E,R,N]=De(this.mod,"duckdb_web_insert_arrow_from_ipc_stream",["number","number","number","string"],[t,d,e.length,v]);if(E!==0)throw new Error(he(this.mod,R,N))}insertCSVFromPath(t,e,l){if(l.columns!==void 0){l.columnsFlat=[];for(let N in l.columns)l.columnsFlat.push(Sr(N,l.columns[N]))}let d={...l};d.columns=d.columnsFlat,delete d.columnsFlat;let y=JSON.stringify(d),[v,E,R]=De(this.mod,"duckdb_web_insert_csv_from_path",["number","string","string"],[t,e,y]);if(v!==0)throw new Error(he(this.mod,E,R))}insertJSONFromPath(t,e,l){if(l.columns!==void 0){l.columnsFlat=[];for(let N in l.columns)l.columnsFlat.push(Sr(N,l.columns[N]))}let d={...l};d.columns=d.columnsFlat,delete d.columnsFlat;let y=JSON.stringify(d),[v,E,R]=De(this.mod,"duckdb_web_insert_json_from_path",["number","string","string"],[t,e,y]);if(v!==0)throw new Error(he(this.mod,E,R))}globFiles(t){let[e,l,d]=De(this.mod,"duckdb_web_fs_glob_file_infos",["string"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));let y=he(this.mod,l,d);Fe(this.mod);let v=JSON.parse(y);return v??[]}registerFileURL(t,e,l,d=!1){e===void 0&&(e=t);let[y,v,E]=De(this.mod,"duckdb_web_fs_register_file_url",["string","string"],[t,e,l,d]);if(y!==0)throw new Error(he(this.mod,v,E));Fe(this.mod)}registerFileText(t,e){let l=lb.encode(e);this.registerFileBuffer(t,l)}registerFileBuffer(t,e){let l=this.mod._malloc(e.length);this.mod.HEAPU8.subarray(l,l+e.length).set(e);let[y,v,E]=De(this.mod,"duckdb_web_fs_register_file_buffer",["string","number","number"],[t,l,e.length]);if(y!==0)throw new Error(he(this.mod,v,E));Fe(this.mod)}registerFileHandle(t,e,l,d){let[y,v,E]=De(this.mod,"duckdb_web_fs_register_file_url",["string","string","number","boolean"],[t,t,l,d]);if(y!==0)throw new Error(he(this.mod,v,E));if(Fe(this.mod),globalThis.DUCKDB_RUNTIME._files=(globalThis.DUCKDB_RUNTIME._files||new Map).set(t,e),this.pthread){for(let R of this.pthread.runningWorkers)R.postMessage({cmd:"registerFileHandle",fileName:t,fileHandle:e});for(let R of this.pthread.unusedWorkers)R.postMessage({cmd:"dropFileHandle",fileName:t})}}dropFile(t){let[e,l,d]=De(this.mod,"duckdb_web_fs_drop_file",["string"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));Fe(this.mod)}dropFiles(){let[t,e,l]=De(this.mod,"duckdb_web_fs_drop_files",[],[]);if(t!==0)throw new Error(he(this.mod,e,l));Fe(this.mod)}flushFiles(){this.mod.ccall("duckdb_web_flush_files",null,[],[])}copyFileToPath(t,e){let[l,d,y]=De(this.mod,"duckdb_web_copy_file_to_path",["string","string"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y));Fe(this.mod)}copyFileToBuffer(t){let[e,l,d]=De(this.mod,"duckdb_web_copy_file_to_buffer",["string"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));let y=this.mod.HEAPU8.subarray(l,l+d),v=new Uint8Array(y.length);return v.set(y),Fe(this.mod),v}collectFileStatistics(t,e){let[l,d,y]=De(this.mod,"duckdb_web_collect_file_stats",["string","boolean"],[t,e]);if(l!==0)throw new Error(he(this.mod,d,y))}exportFileStatistics(t){let[e,l,d]=De(this.mod,"duckdb_web_export_file_stats",["string"],[t]);if(e!==0)throw new Error(he(this.mod,l,d));return new qi(this.mod.HEAPU8.subarray(l,l+d))}};var t_=(e=>(e.ROW_ARRAY="row-array",e.COLUMN_OBJECT="column-object",e))(t_||{});var i_=(y=>(y[y.NONE=0]="NONE",y[y.DEBUG=1]="DEBUG",y[y.INFO=2]="INFO",y[y.WARNING=3]="WARNING",y[y.ERROR=4]="ERROR",y))(i_||{}),r_=(v=>(v[v.NONE=0]="NONE",v[v.CONNECT=1]="CONNECT",v[v.DISCONNECT=2]="DISCONNECT",v[v.OPEN=3]="OPEN",v[v.QUERY=4]="QUERY",v[v.INSTANTIATE=5]="INSTANTIATE",v))(r_||{}),n_=(v=>(v[v.NONE=0]="NONE",v[v.OK=1]="OK",v[v.ERROR=2]="ERROR",v[v.START=3]="START",v[v.RUN=4]="RUN",v[v.CAPTURE=5]="CAPTURE",v))(n_||{}),a_=(y=>(y[y.NONE=0]="NONE",y[y.WEB_WORKER=1]="WEB_WORKER",y[y.NODE_WORKER=2]="NODE_WORKER",y[y.BINDINGS=3]="BINDINGS",y[y.ASYNC_DUCKDB=4]="ASYNC_DUCKDB",y))(a_||{}),fs=class{log(t){}},_s=class{constructor(t=2){this.level=t}log(t){t.level>=this.level&&console.log(t)}};function cb(r){switch(r){case 0:return"NONE";case 1:return"DEBUG";case 2:return"INFO";case 3:return"WARNING";case 4:return"ERROR";default:return"?"}}function fb(r){switch(r){case 0:return"NONE";case 1:return"OK";case 2:return"ERROR";case 3:return"START";case 4:return"RUN";case 5:return"CAPTURE";default:return"?"}}function _b(r){switch(r){case 1:return"CONNECT";case 2:return"DISCONNECT";case 5:return"INSTANTIATE";case 3:return"OPEN";case 4:return"QUERY";default:return"?"}}function db(r){switch(r){case 0:return"NONE";case 1:return"WEB WORKER";case 2:return"NODE WORKER";case 3:return"DUCKDB BINDINGS";case 4:return"DUCKDB";default:return"?"}}var It=_i(o_());var Er={name:"@duckdb/duckdb-wasm",version:"1.21.0",description:"DuckDB powered by WebAssembly",license:"MIT",repository:{type:"git",url:"https://github.com/duckdb/duckdb-wasm.git"},keywords:["sql","duckdb","relational","database","data","query","wasm","analytics","olap","arrow","parquet","json","csv"],dependencies:{"apache-arrow":"^9.0.0"},devDependencies:{"@types/emscripten":"^1.39.6","@types/jasmine":"^4.3.1","@typescript-eslint/eslint-plugin":"^5.48.2","@typescript-eslint/parser":"^5.49.0",esbuild:"^0.15.12",eslint:"^8.31.0","eslint-plugin-jasmine":"^4.1.3","eslint-plugin-react":"^7.32.2","fast-glob":"^3.2.12",jasmine:"^4.5.0","jasmine-core":"^4.3.0","jasmine-spec-reporter":"^7.0.0","js-sha256":"^0.9.0",karma:"^6.4.1","karma-chrome-launcher":"^3.1.1","karma-coverage":"^2.2.0","karma-firefox-launcher":"^2.1.2","karma-jasmine":"^5.1.0","karma-jasmine-html-reporter":"^2.0.0","karma-sourcemap-loader":"^0.3.8","karma-spec-reporter":"^0.0.36","make-dir":"^3.1.0",nyc:"^15.1.0",prettier:"^2.8.3",puppeteer:"^19.2.0",rimraf:"^3.0.2",s3rver:"^3.7.1",typedoc:"^0.23.24",typescript:"^4.8.4","wasm-feature-detect":"^1.4.0","web-worker":"^1.2.0"},scripts:{"build:debug":"node bundle.mjs debug && tsc --emitDeclarationOnly","build:release":"node bundle.mjs release && tsc --emitDeclarationOnly",docs:"typedoc",report:"node ./coverage.mjs","test:node":"node --enable-source-maps --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:node:debug":"node --inspect-brk --enable-source-maps --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:node:coverage":"nyc -r json --report-dir ./coverage/node node --experimental-wasm-eh ../../node_modules/jasmine/bin/jasmine ./dist/tests-node.cjs","test:firefox":"karma start ./karma/tests-firefox.cjs","test:chrome":"karma start ./karma/tests-chrome.cjs","test:chrome:eh":"karma start ./karma/tests-chrome-eh.cjs","test:chrome:coverage":"karma start ./karma/tests-chrome-coverage.cjs","test:browser":"karma start ./karma/tests-all.cjs","test:browser:debug":"karma start ./karma/tests-debug.cjs",test:"npm run test:chrome && npm run test:node","test:coverage":"npm run test:chrome:coverage && npm run test:node:coverage && npm run report",lint:"eslint src test"},files:["dist","!dist/types/test"],main:"dist/duckdb-browser.cjs",module:"dist/duckdb-browser.mjs",types:"dist/duckdb-browser.d.ts",jsdelivr:"dist/duckdb-browser.cjs",unpkg:"dist/duckdb-browser.mjs",sideEffects:!1,browser:{fs:!1,path:!1,perf_hooks:!1,os:!1,worker_threads:!1},exports:{"./dist/duckdb-mvp.wasm":"./dist/duckdb-mvp.wasm","./dist/duckdb-eh.wasm":"./dist/duckdb-eh.wasm","./dist/duckdb-coi.wasm":"./dist/duckdb-coi.wasm","./dist/duckdb-browser":"./dist/duckdb-browser.mjs","./dist/duckdb-browser.cjs":"./dist/duckdb-browser.cjs","./dist/duckdb-browser.mjs":"./dist/duckdb-browser.mjs","./dist/duckdb-browser-blocking":"./dist/duckdb-browser-blocking.mjs","./dist/duckdb-browser-blocking.mjs":"./dist/duckdb-browser-blocking.mjs","./dist/duckdb-browser-blocking.cjs":"./dist/duckdb-browser-blocking.cjs","./dist/duckdb-browser-coi.pthread.worker.js":"./dist/duckdb-browser-coi.pthread.worker.js","./dist/duckdb-browser-coi.worker.js":"./dist/duckdb-browser-coi.worker.js","./dist/duckdb-browser-eh.worker.js":"./dist/duckdb-browser-eh.worker.js","./dist/duckdb-browser-mvp.worker.js":"./dist/duckdb-browser-mvp.worker.js","./dist/duckdb-node":"./dist/duckdb-node.cjs","./dist/duckdb-node.cjs":"./dist/duckdb-node.cjs","./dist/duckdb-node-blocking":"./dist/duckdb-node-blocking.cjs","./dist/duckdb-node-blocking.cjs":"./dist/duckdb-node-blocking.cjs","./dist/duckdb-node-eh.worker.cjs":"./dist/duckdb-node-eh.worker.cjs","./dist/duckdb-node-mvp.worker.cjs":"./dist/duckdb-node-mvp.worker.cjs","./blocking":{browser:{types:"./dist/duckdb-browser-blocking.d.ts",import:"./dist/duckdb-browser-blocking.mjs",require:"./dist/duckdb-browser-blocking.cjs"},node:{types:"./dist/duckdb-node-blocking.d.ts",require:"./dist/duckdb-node-blocking.cjs",import:"./dist/duckdb-node-blocking.cjs"},types:"./dist/duckdb-browser-blocking.d.ts",import:"./dist/duckdb-browser-blocking.mjs",require:"./dist/duckdb-browser-blocking.cjs"},".":{browser:{types:"./dist/duckdb-browser.d.ts",import:"./dist/duckdb-browser.mjs",require:"./dist/duckdb-browser.cjs"},node:{types:"./dist/duckdb-node.d.ts",import:"./dist/duckdb-node.cjs",require:"./dist/duckdb-node.cjs"},types:"./dist/duckdb-browser.d.ts",import:"./dist/duckdb-browser.mjs",require:"./dist/duckdb-browser.cjs"}}};var ds=Er.name,ps=Er.version,ys=Er.version.split("."),gb=ys[0],bb=ys[1],jb=ys[2];var js=()=>typeof navigator>"u",u_=()=>js()?"node":navigator.userAgent,wb=()=>u_().includes("Firefox"),kb=()=>/^((?!chrome|android).)*safari/i.test(u_());function Cb(){let r=`https://cdn.jsdelivr.net/npm/${ds}@${ps}/dist/`;return{mvp:{mainModule:`${r}duckdb-mvp.wasm`,mainWorker:`${r}duckdb-browser-mvp.worker.js`},eh:{mainModule:`${r}duckdb-eh.wasm`,mainWorker:`${r}duckdb-browser-eh.worker.js`}}}var hs=null,ms=null,vs=null,gs=null,bs=null;async function Ar(){return hs==null&&(hs=typeof BigInt64Array<"u"),ms==null&&(ms=await It.exceptions()),vs==null&&(vs=await It.threads()),gs==null&&(gs=await It.simd()),bs==null&&(bs=await It.bulkMemory()),{bigInt64Array:hs,crossOriginIsolated:js()||globalThis.crossOriginIsolated||!1,wasmExceptions:ms,wasmSIMD:gs,wasmThreads:vs,wasmBulkMemory:bs}}async function Sb(r){let t=await Ar();if(t.wasmExceptions){if(t.wasmSIMD&&t.wasmThreads&&t.crossOriginIsolated&&r.coi)return{mainModule:r.coi.mainModule,mainWorker:r.coi.mainWorker,pthreadWorker:r.coi.pthreadWorker};if(r.eh)return{mainModule:r.eh.mainModule,mainWorker:r.eh.mainWorker,pthreadWorker:null}}return{mainModule:r.mvp.mainModule,mainWorker:r.mvp.mainWorker,pthreadWorker:null}}var ze=_i(require("fs"));var Xp=_i(zp());var qe={_files:new Map,_filesById:new Map,_fileInfoCache:new Map,_udfFunctions:new Map,resolveFileInfo(r,t){try{let e=qe._fileInfoCache.get(t),[l,d,y]=De(r,"duckdb_web_fs_get_file_info_by_id",["number","number"],[t,(e==null?void 0:e.cacheEpoch)||0]);if(l!==0)return He(r,he(r,d,y)),null;if(y===0)return Fe(r),e;let v=he(r,d,y);Fe(r);let E=JSON.parse(v);return E==null?null:(qe._fileInfoCache.set(t,E),E)}catch(e){return He(r,e.toString()),null}},testPlatformFeature:(r,t)=>{switch(t){case 1:return typeof BigInt64Array<"u";default:return console.warn(`test for unknown feature: ${t}`),!1}},getDefaultDataProtocol(r){return 1},openFile(r,t,e){var l,d;try{qe._fileInfoCache.delete(t);let y=qe.resolveFileInfo(r,t);switch(y==null?void 0:y.dataProtocol){case 1:{let v=(l=qe._files)==null?void 0:l.get(y.dataUrl);v==null&&(v=ze.default.openSync(y.dataUrl,ze.default.constants.O_CREAT|ze.default.constants.O_RDWR,ze.default.constants.S_IRUSR|ze.default.constants.S_IWUSR),(d=qe._filesById)==null||d.set(y.fileId,v));let E=ze.default.fstatSync(v).size,R=r._malloc(2*8);return r.HEAPF64[(R>>3)+0]=+E,r.HEAPF64[(R>>3)+1]=0,R}case 2:case 3:case 4:case 5:He(r,"Unsupported data protocol")}}catch(y){He(r,y.toString())}return 0},syncFile:(r,t)=>{},closeFile:(r,t)=>{try{let e=qe._fileInfoCache.get(t);switch(qe._fileInfoCache.delete(t),e==null?void 0:e.dataProtocol){case 1:{let l=qe._filesById.get(t);qe._filesById.delete(t),l!=null&&ze.default.closeSync(l);break}case 2:case 3:case 4:case 5:break}}catch(e){He(r,e.toString())}return 0},truncateFile:(r,t,e)=>{try{let l=qe.resolveFileInfo(r,t);switch(l==null?void 0:l.dataProtocol){case 1:{ze.default.truncateSync(l.dataUrl,e);break}case 2:case 3:case 4:case 5:He(r,"Unsupported data protocol")}}catch(l){He(r,l.toString())}return 0},readFile:(r,t,e,l,d)=>{try{let y=qe.resolveFileInfo(r,t);switch(y==null?void 0:y.dataProtocol){case 1:{let v=qe._filesById.get(t);return v==null?(He(r,`File ${t} is missing a file descriptor`),0):ze.default.readSync(v,r.HEAPU8,e,l,d)}case 2:case 3:case 4:case 5:He(r,"Unsupported data protocol")}}catch(y){He(r,y.toString())}return 0},writeFile:(r,t,e,l,d)=>{try{let y=qe.resolveFileInfo(r,t);switch(y==null?void 0:y.dataProtocol){case 1:{let v=qe._filesById.get(t);if(v==null)return He(r,`File ${t} is missing a file descriptor`),0;let E=r.HEAPU8.subarray(e,e+l);return ze.default.writeSync(v,E,0,E.length,d)}case 2:case 3:case 4:case 5:He(r,"Unsupported data protocol")}}catch(y){He(r,y.toString())}return 0},getLastFileModificationTime:(r,t)=>{try{let e=qe.resolveFileInfo(r,t);switch(e==null?void 0:e.dataProtocol){case 1:{let l=qe._filesById.get(t);return l==null?(He(r,`File ${t} is missing a file descriptor`),0):ze.default.fstatSync(l).mtime.getTime()}case 2:case 3:case 4:case 5:He(r,"Unsupported data protocol")}}catch(e){He(r,e.toString())}return 0},checkDirectory:(r,t,e)=>{try{let l=xt(r.HEAPU8.subarray(t,t+e));return ze.default.existsSync(l)}catch(l){return He(r,l.toString()),!1}},createDirectory:(r,t,e)=>{try{let l=xt(r.HEAPU8.subarray(t,t+e));return ze.default.mkdirSync(l)}catch(l){return He(r,l.toString()),0}},removeDirectory:(r,t,e)=>{try{let l=xt(r.HEAPU8.subarray(t,t+e));return ze.default.rmdirSync(l)}catch(l){return He(r,l.toString()),0}},listDirectoryEntries:(r,t,e)=>(He(r,"Not Implemented"),!1),glob:(r,t,e)=>{try{let l=he(r,t,e),d=Xp.sync([l],{dot:!0});for(let y of d)r.ccall("duckdb_web_fs_glob_add_path",null,["string"],[y])}catch(l){return He(r,l.toString()),0}},moveFile:(r,t,e,l,d)=>{var R,N;let y=he(r,t,e),v=he(r,l,d),E=(R=qe._files)==null?void 0:R.get(y);E!==void 0&&(qe._files.delete(E),qe._files.set(v,E));for(let[T,L]of((N=qe._fileInfoCache)==null?void 0:N.entries())||[])if(L.dataUrl==y){qe._fileInfoCache.delete(T);break}return!0},checkFile:(r,t,e)=>{try{let l=xt(r.HEAPU8.subarray(t,t+e));return ze.default.existsSync(l)}catch(l){return He(r,l.toString()),!1}},removeFile:(r,t,e)=>{try{let l=xt(r.HEAPU8.subarray(t,t+e));return ze.default.rmSync(l)}catch(l){return He(r,l.toString()),0}},callScalarUDF:(r,t,e,l,d,y,v)=>{kr(qe,r,t,e,l,d,y,v)}};var Jp={},Rk=(()=>{var r=Jp.url;return function(t){t=t||{};var e=typeof t<"u"?t:{},l,d;e.ready=new Promise(function(i,n){l=i,d=n});var y=Object.assign({},e),v=[],E="./this.program",R=(i,n)=>{throw n},N=typeof window=="object",T=typeof importScripts=="function",L=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",P="";function _e(i){return e.locateFile?e.locateFile(i,P):P+i}var $,Y,Z,ne;function Ee(i){if(i instanceof jt)return;ae("exiting due to exception: "+i)}if(L){T?P=require("path").dirname(P)+"/":P=__dirname+"/";var ge,We;typeof require=="function"&&(ge=require("fs"),We=require("path")),$=(i,n)=>(i=We.normalize(i),ge.readFileSync(i,n?void 0:"utf8")),Z=i=>{var n=$(i,!0);return n.buffer||(n=new Uint8Array(n)),n},Y=(i,n,a)=>{i=We.normalize(i),ge.readFile(i,function(s,o){s?a(s):n(o.buffer)})},process.argv.length>1&&(E=process.argv[1].replace(/\\/g,"/")),v=process.argv.slice(2),process.on("uncaughtException",function(i){if(!(i instanceof jt))throw i}),process.on("unhandledRejection",function(i){throw i}),R=(i,n)=>{if(bt())throw process.exitCode=i,n;Ee(n),process.exit(i)},e.inspect=function(){return"[Emscripten Module object]"}}else(N||T)&&(T?P=self.location.href:typeof document<"u"&&document.currentScript&&(P=document.currentScript.src),r&&(P=r),P.indexOf("blob:")!==0?P=P.substr(0,P.replace(/[?#].*/,"").lastIndexOf("/")+1):P="",$=i=>{var n=new XMLHttpRequest;return n.open("GET",i,!1),n.send(null),n.responseText},T&&(Z=i=>{var n=new XMLHttpRequest;return n.open("GET",i,!1),n.responseType="arraybuffer",n.send(null),new Uint8Array(n.response)}),Y=(i,n,a)=>{var s=new XMLHttpRequest;s.open("GET",i,!0),s.responseType="arraybuffer",s.onload=()=>{if(s.status==200||s.status==0&&s.response){n(s.response);return}a()},s.onerror=a,s.send(null)},ne=i=>document.title=i);var oe=e.print||console.log.bind(console),ae=e.printErr||console.warn.bind(console);Object.assign(e,y),y=null,e.arguments&&(v=e.arguments),e.thisProgram&&(E=e.thisProgram),e.quit&&(R=e.quit);var ee;e.wasmBinary&&(ee=e.wasmBinary);var te=e.noExitRuntime||!0;typeof WebAssembly!="object"&&Ne("no native wasm support detected");var K,ye=!1,x;function ce(i,n){i||Ne(n)}var se=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Te(i,n,a){n>>>=0;for(var s=n+a,o=n;i[o]&&!(o>=s);)++o;if(o-n>16&&i.buffer&&se)return se.decode(i.subarray(n,o));for(var u="";n<o;){var c=i[n++];if(!(c&128)){u+=String.fromCharCode(c);continue}var f=i[n++]&63;if((c&224)==192){u+=String.fromCharCode((c&31)<<6|f);continue}var _=i[n++]&63;if((c&240)==224?c=(c&15)<<12|f<<6|_:c=(c&7)<<18|f<<12|_<<6|i[n++]&63,c<65536)u+=String.fromCharCode(c);else{var p=c-65536;u+=String.fromCharCode(55296|p>>10,56320|p&1023)}}return u}function A(i,n){return i>>>=0,i?Te(Re,i,n):""}function O(i,n,a,s){if(a>>>=0,!(s>0))return 0;for(var o=a,u=a+s-1,c=0;c<i.length;++c){var f=i.charCodeAt(c);if(f>=55296&&f<=57343){var _=i.charCodeAt(++c);f=65536+((f&1023)<<10)|_&1023}if(f<=127){if(a>=u)break;n[a++>>>0]=f}else if(f<=2047){if(a+1>=u)break;n[a++>>>0]=192|f>>6,n[a++>>>0]=128|f&63}else if(f<=65535){if(a+2>=u)break;n[a++>>>0]=224|f>>12,n[a++>>>0]=128|f>>6&63,n[a++>>>0]=128|f&63}else{if(a+3>=u)break;n[a++>>>0]=240|f>>18,n[a++>>>0]=128|f>>12&63,n[a++>>>0]=128|f>>6&63,n[a++>>>0]=128|f&63}}return n[a>>>0]=0,a-o}function xe(i,n,a){return O(i,Re,n,a)}function be(i){for(var n=0,a=0;a<i.length;++a){var s=i.charCodeAt(a);s<=127?n++:s<=2047?n+=2:s>=55296&&s<=57343?(n+=4,++a):n+=3}return n}var Xe,Me,Re,Je,qt,M,me,de,Dt;function Wt(i){Xe=i,e.HEAP8=Me=new Int8Array(i),e.HEAP16=Je=new Int16Array(i),e.HEAP32=M=new Int32Array(i),e.HEAPU8=Re=new Uint8Array(i),e.HEAPU16=qt=new Uint16Array(i),e.HEAPU32=me=new Uint32Array(i),e.HEAPF32=de=new Float32Array(i),e.HEAPF64=Dt=new Float64Array(i)}var V=e.INITIAL_MEMORY||16777216,Pe,H=[],ue=[],Le=[],Ke=[],Ge=!1;function bt(){return te}function Tt(){if(e.preRun)for(typeof e.preRun=="function"&&(e.preRun=[e.preRun]);e.preRun.length;)ln(e.preRun.shift());wt(H)}function sn(){Ge=!0,wt(ue)}function on(){wt(Le)}function un(){if(e.postRun)for(typeof e.postRun=="function"&&(e.postRun=[e.postRun]);e.postRun.length;)fn(e.postRun.shift());wt(Ke)}function ln(i){H.unshift(i)}function cn(i){ue.unshift(i)}function fn(i){Ke.unshift(i)}var tt=0,$t=null,dt=null;function _n(i){tt++,e.monitorRunDependencies&&e.monitorRunDependencies(tt)}function dn(i){if(tt--,e.monitorRunDependencies&&e.monitorRunDependencies(tt),tt==0&&($t!==null&&(clearInterval($t),$t=null),dt)){var n=dt;dt=null,n()}}function Ne(i){e.onAbort&&e.onAbort(i),i="Aborted("+i+")",ae(i),ye=!0,x=1,i+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(i);throw d(n),n}var pn="data:application/octet-stream;base64,";function Si(i){return i.startsWith(pn)}var Ue;e.locateFile?(Ue="./duckdb-mvp.wasm",Si(Ue)||(Ue=_e(Ue))):Ue=new URL("./duckdb-mvp.wasm",Jp.url).toString();function Ei(i){try{if(i==Ue&&ee)return new Uint8Array(ee);if(Z)return Z(i);throw"both async and sync fetching of the wasm failed"}catch(n){Ne(n)}}function yn(){return!ee&&(N||T)&&typeof fetch=="function"?fetch(Ue,{credentials:"same-origin"}).then(function(i){if(!i.ok)throw"failed to load wasm binary file at '"+Ue+"'";return i.arrayBuffer()}).catch(function(){return Ei(Ue)}):Promise.resolve().then(function(){return Ei(Ue)})}function hn(){var i={a:Ha};function n(c,f){var _=c.exports;e.asm=_,K=e.asm.uf,Wt(K.buffer),Pe=e.asm.xf,cn(e.asm.vf),dn("wasm-instantiate")}_n("wasm-instantiate");function a(c){n(c.instance)}function s(c){return yn().then(function(f){return WebAssembly.instantiate(f,i)}).then(function(f){return f}).then(c,function(f){ae("failed to asynchronously prepare wasm: "+f),Ne(f)})}function o(){return!ee&&typeof WebAssembly.instantiateStreaming=="function"&&!Si(Ue)&&!L&&typeof fetch=="function"?fetch(Ue,{credentials:"same-origin"}).then(function(c){var f=WebAssembly.instantiateStreaming(c,i);return f.then(a,function(_){return ae("wasm streaming compile failed: "+_),ae("falling back to ArrayBuffer instantiation"),s(a)})}):s(a)}if(e.instantiateWasm)try{var u=e.instantiateWasm(i,n);return u}catch(c){ae("Module.instantiateWasm callback failed with error: "+c),d(c)}return o().catch(d),{}}function jt(i){this.name="ExitStatus",this.message="Program terminated with exit("+i+")",this.status=i}function wt(i){for(;i.length>0;)i.shift()(e)}function mn(i,n,a,s){Ne("Assertion failed: "+A(i)+", at: "+[n?A(n):"unknown filename",a,s?A(s):"unknown function"])}function kt(i){return rt(i+24)+24}var ii=[];function vn(i){i.add_ref()}var Gt=0;function Kt(i){var n=new ct(i);return n.get_caught()||(n.set_caught(!0),Gt--),n.set_rethrown(!1),ii.push(n),vn(n),n.get_exception_ptr()}var it=0;function ct(i){this.excPtr=i,this.ptr=i-24,this.set_type=function(n){me[this.ptr+4>>>2]=n},this.get_type=function(){return me[this.ptr+4>>>2]},this.set_destructor=function(n){me[this.ptr+8>>>2]=n},this.get_destructor=function(){return me[this.ptr+8>>>2]},this.set_refcount=function(n){M[this.ptr>>>2]=n},this.set_caught=function(n){n=n?1:0,Me[this.ptr+12>>>0]=n},this.get_caught=function(){return Me[this.ptr+12>>>0]!=0},this.set_rethrown=function(n){n=n?1:0,Me[this.ptr+13>>>0]=n},this.get_rethrown=function(){return Me[this.ptr+13>>>0]!=0},this.init=function(n,a){this.set_adjusted_ptr(0),this.set_type(n),this.set_destructor(a),this.set_refcount(0),this.set_caught(!1),this.set_rethrown(!1)},this.add_ref=function(){var n=M[this.ptr>>>2];M[this.ptr>>>2]=n+1},this.release_ref=function(){var n=M[this.ptr>>>2];return M[this.ptr>>>2]=n-1,n===1},this.set_adjusted_ptr=function(n){me[this.ptr+16>>>2]=n},this.get_adjusted_ptr=function(){return me[this.ptr+16>>>2]},this.get_exception_ptr=function(){var n=Ae(this.get_type());if(n)return me[this.excPtr>>>2];var a=this.get_adjusted_ptr();return a!==0?a:this.excPtr}}function Ai(i){return Be(new ct(i).ptr)}var Ct=[];function z(i){var n=Ct[i];return n||(i>=Ct.length&&(Ct.length=i+1),Ct[i]=n=Pe.get(i)),n}function Ri(i){if(i.release_ref()&&!i.get_rethrown()){var n=i.get_destructor();n&&z(n)(i.excPtr),Ai(i.excPtr)}}function at(){b(0);var i=ii.pop();Ri(i),it=0}function Vi(i){throw it||(it=i),i}function gn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function bn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function jn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function wn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function kn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function Cn(){var i=it;if(!i)return pe(0),0;var n=new ct(i);n.set_adjusted_ptr(i);var a=n.get_type();if(!a)return pe(0),i;for(var s=0;s<arguments.length;s++){var o=arguments[s];if(o===0||o===a)break;var u=n.ptr+16;if(ke(o,a,u))return pe(o),i}return pe(a),i}function Sn(){var i=ii.pop();i||Ne("no exception to throw");var n=i.excPtr;throw i.get_rethrown()||(ii.push(i),i.set_rethrown(!0),i.set_caught(!1),Gt++),it=n,n}function Qi(i,n,a){var s=new ct(i);throw s.init(n,a),it=i,Gt++,i}function Di(){return Gt}var St={varargs:void 0,get:function(){St.varargs+=4;var i=M[St.varargs-4>>>2];return i},getStr:function(i){var n=A(i);return n}};function En(i,n,a,s,o){for(var u=0,c=n?M[n>>>2]:0,f=n?M[n+4>>>2]:0,_=a?M[a>>>2]:0,p=a?M[a+4>>>2]:0,h=s?M[s>>>2]:0,k=s?M[s+4>>>2]:0,C=0,I=0,U=0,re=0,fe=0,Ce=0,F=(n?M[n>>>2]:0)|(a?M[a>>>2]:0)|(s?M[s>>>2]:0),X=(n?M[n+4>>>2]:0)|(a?M[a+4>>>2]:0)|(s?M[s+4>>>2]:0),Ie=function(Jg,Zg,eb,Kf){return Jg<32?Zg&Kf:eb&Kf},Oe=0;Oe<i;Oe++){var nt=1<<Oe%32;if(!!Ie(Oe,F,X,nt)){var Li=St.getStreamFromFD(Oe),gr=St.DEFAULT_POLLMASK;Li.stream_ops.poll&&(gr=Li.stream_ops.poll(Li)),gr&1&&Ie(Oe,c,f,nt)&&(Oe<32?C=C|nt:I=I|nt,u++),gr&4&&Ie(Oe,_,p,nt)&&(Oe<32?U=U|nt:re=re|nt,u++),gr&2&&Ie(Oe,h,k,nt)&&(Oe<32?fe=fe|nt:Ce=Ce|nt,u++)}}return n&&(M[n>>>2]=C,M[n+4>>>2]=I),a&&(M[a>>>2]=U,M[a+4>>>2]=re),s&&(M[s>>>2]=fe,M[s+4>>>2]=Ce),u}function An(){ae("missing function: $SOCKFS"),Ne(-1)}function zi(){ae("missing function: $FS"),Ne(-1)}function Yt(i){var n=An.getSocket(i);if(!n)throw new zi.ErrnoError(8);return n}function Ti(i){return(i&255)+"."+(i>>8&255)+"."+(i>>16&255)+"."+(i>>24&255)}function Xi(i){var n="",a=0,s=0,o=0,u=0,c=0,f=0,_=[i[0]&65535,i[0]>>16,i[1]&65535,i[1]>>16,i[2]&65535,i[2]>>16,i[3]&65535,i[3]>>16],p=!0,h="";for(f=0;f<5;f++)if(_[f]!==0){p=!1;break}if(p){if(h=Ti(_[6]|_[7]<<16),_[5]===-1)return n="::ffff:",n+=h,n;if(_[5]===0)return n="::",h==="0.0.0.0"&&(h=""),h==="0.0.0.1"&&(h="1"),n+=h,n}for(a=0;a<8;a++)_[a]===0&&(a-o>1&&(c=0),o=a,c++),c>s&&(s=c,u=a-s+1);for(a=0;a<8;a++){if(s>1&&_[a]===0&&a>=u&&a<u+s){a===u&&(n+=":",u===0&&(n+=":"));continue}n+=Number(Se(_[a]&65535)).toString(16),n+=a<7?":":""}return n}function Ji(i,n){var a=Je[i>>>1],s=Se(qt[i+2>>>1]),o;switch(a){case 2:if(n!==16)return{errno:28};o=M[i+4>>>2],o=Ti(o);break;case 10:if(n!==28)return{errno:28};o=[M[i+8>>>2],M[i+12>>>2],M[i+16>>>2],M[i+20>>>2]],o=Xi(o);break;default:return{errno:5}}return{family:a,addr:o,port:s}}function ri(i){for(var n=i.split("."),a=0;a<4;a++){var s=Number(n[a]);if(isNaN(s))return null;n[a]=s}return(n[0]|n[1]<<8|n[2]<<16|n[3]<<24)>>>0}function ni(i){return parseInt(i)}function Pi(i){var n,a,s,o,u=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,c=[];if(!u.test(i))return null;if(i==="::")return[0,0,0,0,0,0,0,0];for(i.startsWith("::")?i=i.replace("::","Z:"):i=i.replace("::",":Z:"),i.indexOf(".")>0?(i=i.replace(new RegExp("[.]","g"),":"),n=i.split(":"),n[n.length-4]=ni(n[n.length-4])+ni(n[n.length-3])*256,n[n.length-3]=ni(n[n.length-2])+ni(n[n.length-1])*256,n=n.slice(0,n.length-2)):n=i.split(":"),s=0,o=0,a=0;a<n.length;a++)if(typeof n[a]=="string")if(n[a]==="Z"){for(o=0;o<8-n.length+1;o++)c[a+o]=0;s=o-1}else c[a+s]=Ve(parseInt(n[a],16));else c[a+s]=n[a];return[c[1]<<16|c[0],c[3]<<16|c[2],c[5]<<16|c[4],c[7]<<16|c[6]]}var st={address_map:{id:1,addrs:{},names:{}},lookup_name:function(i){var n=ri(i);if(n!==null||(n=Pi(i),n!==null))return i;var a;if(st.address_map.addrs[i])a=st.address_map.addrs[i];else{var s=st.address_map.id++;ce(s<65535,"exceeded max address mappings of 65535"),a="172.29."+(s&255)+"."+(s&65280),st.address_map.names[a]=i,st.address_map.addrs[i]=a}return a},lookup_addr:function(i){return st.address_map.names[i]?st.address_map.names[i]:null}};function Zi(i,n,a){if(a&&i===0)return null;var s=Ji(i,n);if(s.errno)throw new zi.ErrnoError(s.errno);return s.addr=st.lookup_addr(s.addr)||s.addr,s}function Rn(i,n,a){var s=Yt(i),o=Zi(n,a);return s.sock_ops.bind(s,o.addr,o.port),0}function Dn(i,n,a){var s=Yt(i),o=Zi(n,a);return s.sock_ops.connect(s,o.addr,o.port),0}function er(i,n,a,s){}function Tn(i,n,a){return St.varargs=a,0}function Pn(i,n){}function On(i,n,a){}function xn(i,n,a){}function tr(i,n){return Re.fill(0,i,i+n),i}function Oi(i,n,a,s,o){switch(n){case 2:a=ri(a),tr(i,16),o&&(M[o>>>2]=16),Je[i>>>1]=n,M[i+4>>>2]=a,Je[i+2>>>1]=Ve(s);break;case 10:a=Pi(a),tr(i,28),o&&(M[o>>>2]=28),M[i>>>2]=n,M[i+8>>>2]=a[0],M[i+12>>>2]=a[1],M[i+16>>>2]=a[2],M[i+20>>>2]=a[3],Je[i+2>>>1]=Ve(s);break;default:return 5}return 0}function Mn(i,n,a){var s=Yt(i);if(!s.daddr)return-53;var o=Oi(n,s.family,st.lookup_name(s.daddr),s.dport,a);return 0}function In(i,n,a,s,o){var u=Yt(i);return n===1&&a===4?(M[s>>>2]=u.error,M[o>>>2]=4,u.error=null,0):-50}function Fn(i,n,a){return St.varargs=a,0}function Nn(i,n){}function Bn(i,n,a){}function Ln(i,n,a,s){}function Un(i,n,a,s){St.varargs=s}function Hn(i,n,a,s,o,u){var c=Yt(i),f=c.sock_ops.recvmsg(c,a);if(!f)return 0;if(o)var _=Oi(o,c.family,st.lookup_name(f.addr),f.port,u);return Re.set(f.buffer,n>>>0),f.buffer.byteLength}function qn(i,n,a,s){}function Wn(i){}function $n(i,n,a,s,o,u){}function Gn(i,n,a){}function Kn(i,n){}function Yn(i,n,a){}function Vn(i){}var ir="To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking";function rr(i,n){Ne(ir)}function Qn(i,n){Ne(ir)}var xi=!0;function zn(){return xi}function Xn(){Ne("")}function Jn(i,n){return globalThis.DUCKDB_RUNTIME.createDirectory(e,i,n)}function Mi(i,n){return globalThis.DUCKDB_RUNTIME.checkDirectory(e,i,n)}function Zn(i,n){return globalThis.DUCKDB_RUNTIME.listDirectoryEntries(e,i,n)}function Vt(i,n){return globalThis.DUCKDB_RUNTIME.removeDirectory(e,i,n)}function ea(i){return globalThis.DUCKDB_RUNTIME.closeFile(e,i)}function ta(i,n){return globalThis.DUCKDB_RUNTIME.checkFile(e,i,n)}function ia(i){return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(e,i)}function ra(i,n,a,s){return globalThis.DUCKDB_RUNTIME.moveFile(e,i,n,a,s)}function na(i,n){return globalThis.DUCKDB_RUNTIME.openFile(e,i,n)}function aa(i,n,a,s){return globalThis.DUCKDB_RUNTIME.readFile(e,i,n,a,s)}function sa(i,n){return globalThis.DUCKDB_RUNTIME.truncateFile(e,i,n)}function oa(i,n,a,s){return globalThis.DUCKDB_RUNTIME.writeFile(e,i,n,a,s)}function ua(i){return globalThis.DUCKDB_RUNTIME.getDefaultDataProtocol(i)}function la(i,n){return globalThis.DUCKDB_RUNTIME.glob(e,i,n)}function ca(i){return globalThis.DUCKDB_RUNTIME.testPlatformFeature(e,i)}function fa(i,n,a,s,o,u){return globalThis.DUCKDB_RUNTIME.callScalarUDF(e,i,n,a,s,o,u)}function _a(){return Date.now()}function nr(){return 4294901760}function da(){return nr()}var Pt;L?Pt=()=>{var i=process.hrtime();return i[0]*1e3+i[1]/1e6}:Pt=()=>performance.now();function pa(i,n,a){Re.copyWithin(i>>>0,n>>>0,n+a>>>0)}function ai(i){try{return K.grow(i-Xe.byteLength+65535>>>16),Wt(K.buffer),1}catch{}}function ya(i){var n=Re.length;i=i>>>0;var a=nr();if(i>a)return!1;let s=(_,p)=>_+(p-_%p)%p;for(var o=1;o<=4;o*=2){var u=n*(1+.2/o);u=Math.min(u,i+100663296);var c=Math.min(a,s(Math.max(i,u),65536)),f=ai(c);if(f)return!0}return!1}var si={};function ar(){return E||"./this.program"}function Qt(){if(!Qt.strings){var i=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:i,_:ar()};for(var a in si)si[a]===void 0?delete n[a]:n[a]=si[a];var s=[];for(var a in n)s.push(a+"="+n[a]);Qt.strings=s}return Qt.strings}function ha(i,n,a){for(var s=0;s<i.length;++s)Me[n++>>>0]=i.charCodeAt(s);a||(Me[n>>>0]=0)}function sr(i,n){var a=0;return Qt().forEach(function(s,o){var u=n+a;me[i+o*4>>>2]=u,ha(s,u),a+=s.length+1}),0}function ma(i,n){var a=Qt();me[i>>>2]=a.length;var s=0;return a.forEach(function(o){s+=o.length+1}),me[n>>>2]=s,0}function va(i){return 52}function ga(i,n){var a=i==1||i==2?2:Ne();return Me[n>>>0]=a,0}function ba(i,n,a,s,o,u){return 52}function ja(i,n,a,s,o,u){return 52}function wa(i,n,a,s){return 52}function ka(i,n,a,s,o){return 70}function Ca(i){return 52}var ru=[null,[],[]];function Sa(i,n){var a=ru[i];n===0||n===10?((i===1?oe:ae)(Te(a,0)),a.length=0):a.push(n)}function Ea(i,n,a,s){for(var o=0,u=0;u<a;u++){var c=me[n>>>2],f=me[n+4>>>2];n+=8;for(var _=0;_<f;_++)Sa(i,Re[c+_>>>0]);o+=f}return me[s>>>2]=o,0}function Aa(i,n,a,s){var o=0,u=0,c=0,f=0,_=0,p=0,h;function k(C,I,U,re,fe,Ce){var F,X,Ie,Oe;return X=C===10?28:16,fe=C===10?Xi(fe):Ti(fe),F=rt(X),Oe=Oi(F,C,fe,Ce),ce(!Oe),Ie=rt(32),M[Ie+4>>>2]=C,M[Ie+8>>>2]=I,M[Ie+12>>>2]=U,M[Ie+24>>>2]=re,me[Ie+20>>>2]=F,C===10?M[Ie+16>>>2]=28:M[Ie+16>>>2]=16,M[Ie+28>>>2]=0,Ie}if(a&&(c=M[a>>>2],f=M[a+4>>>2],_=M[a+8>>>2],p=M[a+12>>>2]),_&&!p&&(p=_===2?17:6),!_&&p&&(_=p===17?2:1),p===0&&(p=6),_===0&&(_=1),!i&&!n)return-2;if(c&-1088||a!==0&&M[a>>>2]&2&&!i)return-1;if(c&32)return-2;if(_!==0&&_!==1&&_!==2)return-7;if(f!==0&&f!==2&&f!==10)return-6;if(n&&(n=A(n),u=parseInt(n,10),isNaN(u)))return c&1024?-2:-8;if(!i)return f===0&&(f=2),(c&1)===0&&(f===2?o=we(2130706433):o=[0,0,0,1]),h=k(f,_,p,null,o,u),me[s>>>2]=h,0;if(i=A(i),o=ri(i),o!==null)if(f===0||f===2)f=2;else if(f===10&&c&8)o=[0,0,we(65535),o],f=10;else return-2;else if(o=Pi(i),o!==null)if(f===0||f===10)f=10;else return-2;return o!=null?(h=k(f,_,p,i,o,u),me[s>>>2]=h,0):c&4?-2:(i=st.lookup_name(i),o=ri(i),f===0?f=2:f===10&&(o=[0,0,we(65535),o]),h=k(f,_,p,null,o,u),me[s>>>2]=h,0)}function Ra(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var i=new Uint8Array(1);return()=>(crypto.getRandomValues(i),i[0])}else if(L)try{var n=require("crypto");return()=>n.randomBytes(1)[0]}catch{}return()=>Ne("randomDevice")}function oi(i,n){oi.randomDevice||(oi.randomDevice=Ra());for(var a=0;a<n;a++)Me[i+a>>>0]=oi.randomDevice();return 0}function Da(i,n,a,s,o,u,c){var f=Ji(i,n);if(f.errno)return-6;var _=f.port,p=f.addr,h=!1;if(a&&s){var k;if(c&1||!(k=st.lookup_addr(p))){if(c&8)return-2}else p=k;var C=xe(p,a,s);C+1>=s&&(h=!0)}if(o&&u){_=""+_;var C=xe(_,o,u);C+1>=u&&(h=!0)}return h?-12:0}function Ta(i){return i}function ui(i){return i%4===0&&(i%100!==0||i%400===0)}function Pa(i,n){for(var a=0,s=0;s<=n;a+=i[s++]);return a}var or=[31,29,31,30,31,30,31,31,30,31,30,31],ur=[31,28,31,30,31,30,31,31,30,31,30,31];function Oa(i,n){for(var a=new Date(i.getTime());n>0;){var s=ui(a.getFullYear()),o=a.getMonth(),u=(s?or:ur)[o];if(n>u-a.getDate())n-=u-a.getDate()+1,a.setDate(1),o<11?a.setMonth(o+1):(a.setMonth(0),a.setFullYear(a.getFullYear()+1));else return a.setDate(a.getDate()+n),a}return a}function xa(i,n,a){var s=a>0?a:be(i)+1,o=new Array(s),u=O(i,o,0,o.length);return n&&(o.length=u),o}function lr(i,n){Me.set(i,n>>>0)}function Ma(i,n,a,s){var o=M[s+40>>>2],u={tm_sec:M[s>>>2],tm_min:M[s+4>>>2],tm_hour:M[s+8>>>2],tm_mday:M[s+12>>>2],tm_mon:M[s+16>>>2],tm_year:M[s+20>>>2],tm_wday:M[s+24>>>2],tm_yday:M[s+28>>>2],tm_isdst:M[s+32>>>2],tm_gmtoff:M[s+36>>>2],tm_zone:o?A(o):""},c=A(a),f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var _ in f)c=c.replace(new RegExp(_,"g"),f[_]);var p=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],h=["January","February","March","April","May","June","July","August","September","October","November","December"];function k(F,X,Ie){for(var Oe=typeof F=="number"?F.toString():F||"";Oe.length<X;)Oe=Ie[0]+Oe;return Oe}function C(F,X){return k(F,X,"0")}function I(F,X){function Ie(nt){return nt<0?-1:nt>0?1:0}var Oe;return(Oe=Ie(F.getFullYear()-X.getFullYear()))===0&&(Oe=Ie(F.getMonth()-X.getMonth()))===0&&(Oe=Ie(F.getDate()-X.getDate())),Oe}function U(F){switch(F.getDay()){case 0:return new Date(F.getFullYear()-1,11,29);case 1:return F;case 2:return new Date(F.getFullYear(),0,3);case 3:return new Date(F.getFullYear(),0,2);case 4:return new Date(F.getFullYear(),0,1);case 5:return new Date(F.getFullYear()-1,11,31);case 6:return new Date(F.getFullYear()-1,11,30)}}function re(F){var X=Oa(new Date(F.tm_year+1900,0,1),F.tm_yday),Ie=new Date(X.getFullYear(),0,4),Oe=new Date(X.getFullYear()+1,0,4),nt=U(Ie),Li=U(Oe);return I(nt,X)<=0?I(Li,X)<=0?X.getFullYear()+1:X.getFullYear():X.getFullYear()-1}var fe={"%a":function(F){return p[F.tm_wday].substring(0,3)},"%A":function(F){return p[F.tm_wday]},"%b":function(F){return h[F.tm_mon].substring(0,3)},"%B":function(F){return h[F.tm_mon]},"%C":function(F){var X=F.tm_year+1900;return C(X/100|0,2)},"%d":function(F){return C(F.tm_mday,2)},"%e":function(F){return k(F.tm_mday,2," ")},"%g":function(F){return re(F).toString().substring(2)},"%G":function(F){return re(F)},"%H":function(F){return C(F.tm_hour,2)},"%I":function(F){var X=F.tm_hour;return X==0?X=12:X>12&&(X-=12),C(X,2)},"%j":function(F){return C(F.tm_mday+Pa(ui(F.tm_year+1900)?or:ur,F.tm_mon-1),3)},"%m":function(F){return C(F.tm_mon+1,2)},"%M":function(F){return C(F.tm_min,2)},"%n":function(){return`
|
|
3
|
+
`},"%p":function(F){return F.tm_hour>=0&&F.tm_hour<12?"AM":"PM"},"%S":function(F){return C(F.tm_sec,2)},"%t":function(){return" "},"%u":function(F){return F.tm_wday||7},"%U":function(F){var X=F.tm_yday+7-F.tm_wday;return C(Math.floor(X/7),2)},"%V":function(F){var X=Math.floor((F.tm_yday+7-(F.tm_wday+6)%7)/7);if((F.tm_wday+371-F.tm_yday-2)%7<=2&&X++,X){if(X==53){var Oe=(F.tm_wday+371-F.tm_yday)%7;Oe!=4&&(Oe!=3||!ui(F.tm_year))&&(X=1)}}else{X=52;var Ie=(F.tm_wday+7-F.tm_yday-1)%7;(Ie==4||Ie==5&&ui(F.tm_year%400-1))&&X++}return C(X,2)},"%w":function(F){return F.tm_wday},"%W":function(F){var X=F.tm_yday+7-(F.tm_wday+6)%7;return C(Math.floor(X/7),2)},"%y":function(F){return(F.tm_year+1900).toString().substring(2)},"%Y":function(F){return F.tm_year+1900},"%z":function(F){var X=F.tm_gmtoff,Ie=X>=0;return X=Math.abs(X)/60,X=X/60*100+X%60,(Ie?"+":"-")+String("0000"+X).slice(-4)},"%Z":function(F){return F.tm_zone},"%%":function(){return"%"}};c=c.replace(/%%/g,"\0\0");for(var _ in fe)c.includes(_)&&(c=c.replace(new RegExp(_,"g"),fe[_](u)));c=c.replace(/\0\0/g,"%");var Ce=xa(c,!1);return Ce.length>n?0:(lr(Ce,i),Ce.length-1)}function Ia(i,n,a,s,o){return Ma(i,n,a,s)}function Fa(i){x=i,bt()||(e.onExit&&e.onExit(i),ye=!0),R(i,new jt(i))}function Na(i,n){x=i,Fa(i)}function Ba(i){if(i instanceof jt||i=="unwind")return x;R(1,i)}function La(i){var n=e["_"+i];return n}function Ua(i,n,a,s,o){var u={string:U=>{var re=0;if(U!=null&&U!==0){var fe=(U.length<<2)+1;re=ie(fe),xe(U,re,fe)}return re},array:U=>{var re=ie(U.length);return lr(U,re),re}};function c(U){return n==="string"?A(U):n==="boolean"?Boolean(U):U}var f=La(i),_=[],p=0;if(s)for(var h=0;h<s.length;h++){var k=u[a[h]];k?(p===0&&(p=j()),_[h]=k(s[h])):_[h]=s[h]}var C=f.apply(null,_);function I(U){return p!==0&&m(p),c(U)}return C=I(C),C}var Ha={p:mn,i:kt,B:Kt,H:at,a:gn,n:bn,G:jn,R:wn,V:kn,za:Cn,h:Ai,ha:Sn,v:Qi,I:Di,d:Vi,Ha:En,La:Rn,Ka:Dn,sf:er,U:Tn,Xa:Pn,Te:On,Ta:xn,Fa:Mn,Ga:In,ra:Fn,Ua:Nn,Ya:Bn,Va:Ln,sa:Un,Ia:Hn,qf:qn,pa:Wn,Ja:$n,ma:Gn,Wa:Kn,qa:Yn,Na:Vn,Pa:rr,Oa:Qn,Za:zn,da:Xn,jf:Jn,kf:Mi,gf:Zn,hf:Vt,xa:ea,ef:ta,hb:ia,ff:ra,mf:na,fa:aa,lf:sa,ya:oa,nf:ua,df:la,wa:ca,of:fa,_a,$a:da,cf:Pt,Ub:pa,Od:ya,eb:sr,pb:ma,$:va,xc:ga,Se:ba,Cb:ja,ua:wa,$e:ka,rf:Ca,ia:Ea,Ma:Aa,Sa:oi,Ea:Da,E:xy,aa:zy,ja:_y,S:rh,T:Xy,zc:Ov,_:Py,va:fy,ga:ih,Ac:Pv,x:vy,na:Ty,t:By,ba:Wy,oa:Dy,u:Ny,c:ny,ka:eh,P:qy,b:ay,X:Ly,mc:$v,hc:Qv,g:oy,tf:Jy,fc:Xv,l:cy,ta:Sy,m:uy,Qa:Uy,w:by,z:yy,N:Ry,Z:Yy,ea:hy,y:jy,A:my,Ba:Vy,J:Zy,s:Hy,Rc:pv,lc:Gv,Bd:Tm,kc:Kv,ge:Jh,dc:Zv,le:Yh,Sc:dv,gc:zv,Bc:Tv,he:Xh,yc:xv,gb:Kg,hd:zm,Xe:fh,vc:Iv,Cc:Dv,Ob:yg,sd:Lm,We:_h,bb:zg,Pb:pg,De:Dh,Dc:Rv,wc:Mv,ke:Vh,oe:$h,Id:km,gd:Xm,sc:Bv,ec:Jv,Qb:dg,Me:bh,te:Lh,me:Kh,Xc:uv,Hb:wg,ye:Mh,sb:Fg,Oe:vh,ue:Bh,fd:Jm,ic:Vv,jc:Yv,Eb:Sg,xe:Ih,fb:Yg,Ve:dh,Be:Ph,Ae:Oh,ie:zh,Lb:vg,nb:Ug,_b:ng,qe:qh,Ee:Rh,Mb:mg,Gb:kg,Fb:Cg,yd:xm,ee:em,Mc:gv,Md:gm,Jc:wv,Cd:Dm,Nc:vv,Re:yh,Sd:pm,Rd:ym,_e:uh,Ze:lh,pe:Wh,bf:sh,Kd:jm,Fd:Em,Uc:fv,Jd:wm,ac:ig,rc:Lv,td:Bm,bc:tg,pd:qm,jd:Vm,_d:sm,$b:rg,nc:Wv,vd:Fm,qd:Hm,ld:Km,dd:ev,$d:am,Tc:_v,Dd:Rm,re:Hh,$c:nv,cb:Qg,Yc:ov,ub:Mg,_c:av,je:Qh,Tb:cg,Oc:mv,Fc:Ev,Vb:lg,Xb:og,Ec:Av,o:iy,Ca:Ky,Da:Gy,j:sy,F:My,la:Qy,K:Oy,e:ry,Q:dy,Y:$y,f:py,k:ly,pf:ah,r:Ay,q:Cy,Aa:th,C:gy,L:Ey,W:Fy,M:wy,O:nh,Ra:Iy,ca:ky,Ge:Eh,Ud:_m,qc:Uv,He:Sh,wb:Og,id:Qm,Hc:Cv,Kc:jv,Bb:Ag,Ie:Ch,qb:Bg,Fe:Ah,Gd:Sm,oc:qv,pc:Hv,wd:Im,xd:Mm,Gc:Sv,ae:nm,Je:kh,cc:eg,ne:Gh,Ed:Am,zd:Om,uc:Fv,Yd:um,Rb:_g,db:Vg,Sb:fg,ud:Nm,ob:Lg,Le:jh,Hd:Cm,ed:Zm,Wd:cm,de:tm,Nd:vm,Nb:hg,mb:Hg,Qe:hh,Ue:ph,Ye:ch,ce:im,Ib:jg,cd:tv,Yb:sg,Zd:om,bd:iv,Zc:sv,kd:Ym,rb:Ng,se:Uh,lb:qg,Xd:lm,tb:Ig,af:oh,Ne:gh,Vc:cv,ze:xh,ve:Nh,we:Fh,nd:$m,Ld:bm,Ke:wh,xb:Pg,yb:Tg,Ce:Th,Qd:hm,Wb:ug,Ad:Pm,Jb:bg,Kb:gg,ad:rv,Ab:Rg,Wc:lv,Qc:yv,Vd:fm,Pd:mm,kb:Wg,be:rm,vb:xg,Td:dm,tc:Nv,ib:Gg,jb:$g,zb:Dg,Pc:hv,Pe:mh,od:Wm,Db:Eg,Ic:kv,fe:Zh,Lc:bv,Zb:ag,rd:Um,md:Gm,D:Ta,ab:Ia},nu=hn(),qa=e.___wasm_call_ctors=function(){return(qa=e.___wasm_call_ctors=e.asm.vf).apply(null,arguments)},Wa=e._main=function(){return(Wa=e._main=e.asm.wf).apply(null,arguments)},$a=e._duckdb_web_fs_glob_add_path=function(){return($a=e._duckdb_web_fs_glob_add_path=e.asm.yf).apply(null,arguments)},Ga=e._duckdb_web_clear_response=function(){return(Ga=e._duckdb_web_clear_response=e.asm.zf).apply(null,arguments)},Ka=e._duckdb_web_fail_with=function(){return(Ka=e._duckdb_web_fail_with=e.asm.Af).apply(null,arguments)},Ya=e._duckdb_web_reset=function(){return(Ya=e._duckdb_web_reset=e.asm.Bf).apply(null,arguments)},Va=e._duckdb_web_connect=function(){return(Va=e._duckdb_web_connect=e.asm.Cf).apply(null,arguments)},Qa=e._duckdb_web_disconnect=function(){return(Qa=e._duckdb_web_disconnect=e.asm.Df).apply(null,arguments)},za=e._duckdb_web_flush_files=function(){return(za=e._duckdb_web_flush_files=e.asm.Ef).apply(null,arguments)},Xa=e._duckdb_web_flush_file=function(){return(Xa=e._duckdb_web_flush_file=e.asm.Ff).apply(null,arguments)},Ja=e._duckdb_web_open=function(){return(Ja=e._duckdb_web_open=e.asm.Gf).apply(null,arguments)},Za=e._duckdb_web_get_global_file_info=function(){return(Za=e._duckdb_web_get_global_file_info=e.asm.Hf).apply(null,arguments)},es=e._duckdb_web_collect_file_stats=function(){return(es=e._duckdb_web_collect_file_stats=e.asm.If).apply(null,arguments)},ts=e._duckdb_web_export_file_stats=function(){return(ts=e._duckdb_web_export_file_stats=e.asm.Jf).apply(null,arguments)},is=e._duckdb_web_fs_drop_file=function(){return(is=e._duckdb_web_fs_drop_file=e.asm.Kf).apply(null,arguments)},rs=e._duckdb_web_fs_drop_files=function(){return(rs=e._duckdb_web_fs_drop_files=e.asm.Lf).apply(null,arguments)},ns=e._duckdb_web_fs_glob_file_infos=function(){return(ns=e._duckdb_web_fs_glob_file_infos=e.asm.Mf).apply(null,arguments)},li=e._duckdb_web_fs_get_file_info_by_id=function(){return(li=e._duckdb_web_fs_get_file_info_by_id=e.asm.Nf).apply(null,arguments)},ci=e._duckdb_web_fs_get_file_info_by_name=function(){return(ci=e._duckdb_web_fs_get_file_info_by_name=e.asm.Of).apply(null,arguments)},Ii=e._duckdb_web_fs_register_file_url=function(){return(Ii=e._duckdb_web_fs_register_file_url=e.asm.Pf).apply(null,arguments)},Fi=e._duckdb_web_fs_register_file_buffer=function(){return(Fi=e._duckdb_web_fs_register_file_buffer=e.asm.Qf).apply(null,arguments)},as=e._duckdb_web_copy_file_to_buffer=function(){return(as=e._duckdb_web_copy_file_to_buffer=e.asm.Rf).apply(null,arguments)},cr=e._duckdb_web_copy_file_to_path=function(){return(cr=e._duckdb_web_copy_file_to_path=e.asm.Sf).apply(null,arguments)},fr=e._duckdb_web_get_version=function(){return(fr=e._duckdb_web_get_version=e.asm.Tf).apply(null,arguments)},_r=e._duckdb_web_get_feature_flags=function(){return(_r=e._duckdb_web_get_feature_flags=e.asm.Uf).apply(null,arguments)},Ni=e._duckdb_web_tokenize=function(){return(Ni=e._duckdb_web_tokenize=e.asm.Vf).apply(null,arguments)},fi=e._duckdb_web_udf_scalar_create=function(){return(fi=e._duckdb_web_udf_scalar_create=e.asm.Wf).apply(null,arguments)},ss=e._duckdb_web_prepared_create=function(){return(ss=e._duckdb_web_prepared_create=e.asm.Xf).apply(null,arguments)},dr=e._duckdb_web_prepared_close=function(){return(dr=e._duckdb_web_prepared_close=e.asm.Yf).apply(null,arguments)},pr=e._duckdb_web_prepared_run=function(){return(pr=e._duckdb_web_prepared_run=e.asm.Zf).apply(null,arguments)},g=e._duckdb_web_prepared_send=function(){return(g=e._duckdb_web_prepared_send=e.asm._f).apply(null,arguments)},w=e._duckdb_web_query_run=function(){return(w=e._duckdb_web_query_run=e.asm.$f).apply(null,arguments)},S=e._duckdb_web_pending_query_start=function(){return(S=e._duckdb_web_pending_query_start=e.asm.ag).apply(null,arguments)},D=e._duckdb_web_pending_query_poll=function(){return(D=e._duckdb_web_pending_query_poll=e.asm.bg).apply(null,arguments)},B=e._duckdb_web_pending_query_cancel=function(){return(B=e._duckdb_web_pending_query_cancel=e.asm.cg).apply(null,arguments)},Q=e._duckdb_web_query_fetch_results=function(){return(Q=e._duckdb_web_query_fetch_results=e.asm.dg).apply(null,arguments)},W=e._duckdb_web_get_tablenames=function(){return(W=e._duckdb_web_get_tablenames=e.asm.eg).apply(null,arguments)},q=e._duckdb_web_insert_arrow_from_ipc_stream=function(){return(q=e._duckdb_web_insert_arrow_from_ipc_stream=e.asm.fg).apply(null,arguments)},J=e._duckdb_web_insert_csv_from_path=function(){return(J=e._duckdb_web_insert_csv_from_path=e.asm.gg).apply(null,arguments)},je=e._duckdb_web_insert_json_from_path=function(){return(je=e._duckdb_web_insert_json_from_path=e.asm.hg).apply(null,arguments)},we=e._htonl=function(){return(we=e._htonl=e.asm.ig).apply(null,arguments)},Ve=e._htons=function(){return(Ve=e._htons=e.asm.jg).apply(null,arguments)},Se=e._ntohs=function(){return(Se=e._ntohs=e.asm.kg).apply(null,arguments)},rt=e._malloc=function(){return(rt=e._malloc=e.asm.lg).apply(null,arguments)},Be=e._free=function(){return(Be=e._free=e.asm.mg).apply(null,arguments)},b=e._setThrew=function(){return(b=e._setThrew=e.asm.ng).apply(null,arguments)},pe=e.setTempRet0=function(){return(pe=e.setTempRet0=e.asm.og).apply(null,arguments)},j=e.stackSave=function(){return(j=e.stackSave=e.asm.pg).apply(null,arguments)},m=e.stackRestore=function(){return(m=e.stackRestore=e.asm.qg).apply(null,arguments)},ie=e.stackAlloc=function(){return(ie=e.stackAlloc=e.asm.rg).apply(null,arguments)},ke=e.___cxa_can_catch=function(){return(ke=e.___cxa_can_catch=e.asm.sg).apply(null,arguments)},Ae=e.___cxa_is_pointer_type=function(){return(Ae=e.___cxa_is_pointer_type=e.asm.tg).apply(null,arguments)},Qe=e.dynCall_jiiii=function(){return(Qe=e.dynCall_jiiii=e.asm.ug).apply(null,arguments)},Ot=e.dynCall_iiiiij=function(){return(Ot=e.dynCall_iiiiij=e.asm.vg).apply(null,arguments)},zt=e.dynCall_iiiiijj=function(){return(zt=e.dynCall_iiiiijj=e.asm.wg).apply(null,arguments)},yr=e.dynCall_viijii=function(){return(yr=e.dynCall_viijii=e.asm.xg).apply(null,arguments)},hr=e.dynCall_j=function(){return(hr=e.dynCall_j=e.asm.yg).apply(null,arguments)},mr=e.dynCall_ji=function(){return(mr=e.dynCall_ji=e.asm.zg).apply(null,arguments)},Bi=e.dynCall_iij=function(){return(Bi=e.dynCall_iij=e.asm.Ag).apply(null,arguments)},au=e.dynCall_viij=function(){return(au=e.dynCall_viij=e.asm.Bg).apply(null,arguments)},su=e.dynCall_viijji=function(){return(su=e.dynCall_viijji=e.asm.Cg).apply(null,arguments)},ou=e.dynCall_viijj=function(){return(ou=e.dynCall_viijj=e.asm.Dg).apply(null,arguments)},uu=e.dynCall_viiijj=function(){return(uu=e.dynCall_viiijj=e.asm.Eg).apply(null,arguments)},lu=e.dynCall_viiji=function(){return(lu=e.dynCall_viiji=e.asm.Fg).apply(null,arguments)},cu=e.dynCall_vijjj=function(){return(cu=e.dynCall_vijjj=e.asm.Gg).apply(null,arguments)},fu=e.dynCall_iiijj=function(){return(fu=e.dynCall_iiijj=e.asm.Hg).apply(null,arguments)},_u=e.dynCall_viiij=function(){return(_u=e.dynCall_viiij=e.asm.Ig).apply(null,arguments)},du=e.dynCall_viijij=function(){return(du=e.dynCall_viijij=e.asm.Jg).apply(null,arguments)},pu=e.dynCall_viiiij=function(){return(pu=e.dynCall_viiiij=e.asm.Kg).apply(null,arguments)},yu=e.dynCall_jii=function(){return(yu=e.dynCall_jii=e.asm.Lg).apply(null,arguments)},hu=e.dynCall_vij=function(){return(hu=e.dynCall_vij=e.asm.Mg).apply(null,arguments)},mu=e.dynCall_iijj=function(){return(mu=e.dynCall_iijj=e.asm.Ng).apply(null,arguments)},vu=e.dynCall_viji=function(){return(vu=e.dynCall_viji=e.asm.Og).apply(null,arguments)},gu=e.dynCall_iiij=function(){return(gu=e.dynCall_iiij=e.asm.Pg).apply(null,arguments)},bu=e.dynCall_iiiijj=function(){return(bu=e.dynCall_iiiijj=e.asm.Qg).apply(null,arguments)},ju=e.dynCall_iiiji=function(){return(ju=e.dynCall_iiiji=e.asm.Rg).apply(null,arguments)},wu=e.dynCall_iiijii=function(){return(wu=e.dynCall_iiijii=e.asm.Sg).apply(null,arguments)},ku=e.dynCall_jiii=function(){return(ku=e.dynCall_jiii=e.asm.Tg).apply(null,arguments)},Cu=e.dynCall_jij=function(){return(Cu=e.dynCall_jij=e.asm.Ug).apply(null,arguments)},Su=e.dynCall_iiiiiji=function(){return(Su=e.dynCall_iiiiiji=e.asm.Vg).apply(null,arguments)},Eu=e.dynCall_iiji=function(){return(Eu=e.dynCall_iiji=e.asm.Wg).apply(null,arguments)},Au=e.dynCall_jj=function(){return(Au=e.dynCall_jj=e.asm.Xg).apply(null,arguments)},Ru=e.dynCall_iiiij=function(){return(Ru=e.dynCall_iiiij=e.asm.Yg).apply(null,arguments)},Du=e.dynCall_jiiijii=function(){return(Du=e.dynCall_jiiijii=e.asm.Zg).apply(null,arguments)},Tu=e.dynCall_jiijiii=function(){return(Tu=e.dynCall_jiijiii=e.asm._g).apply(null,arguments)},Pu=e.dynCall_viiijjij=function(){return(Pu=e.dynCall_viiijjij=e.asm.$g).apply(null,arguments)},Ou=e.dynCall_viijiii=function(){return(Ou=e.dynCall_viijiii=e.asm.ah).apply(null,arguments)},xu=e.dynCall_vijijjiij=function(){return(xu=e.dynCall_vijijjiij=e.asm.bh).apply(null,arguments)},Mu=e.dynCall_viiijjiij=function(){return(Mu=e.dynCall_viiijjiij=e.asm.ch).apply(null,arguments)},Iu=e.dynCall_viiiijijji=function(){return(Iu=e.dynCall_viiiijijji=e.asm.dh).apply(null,arguments)},Fu=e.dynCall_viijiiiij=function(){return(Fu=e.dynCall_viijiiiij=e.asm.eh).apply(null,arguments)},Nu=e.dynCall_viiijiiiijjj=function(){return(Nu=e.dynCall_viiijiiiijjj=e.asm.fh).apply(null,arguments)},Bu=e.dynCall_viijijiiiijjj=function(){return(Bu=e.dynCall_viijijiiiijjj=e.asm.gh).apply(null,arguments)},Lu=e.dynCall_iijjj=function(){return(Lu=e.dynCall_iijjj=e.asm.hh).apply(null,arguments)},Uu=e.dynCall_iiijji=function(){return(Uu=e.dynCall_iiijji=e.asm.ih).apply(null,arguments)},Hu=e.dynCall_vijijiiiijjj=function(){return(Hu=e.dynCall_vijijiiiijjj=e.asm.jh).apply(null,arguments)},qu=e.dynCall_viiiiiij=function(){return(qu=e.dynCall_viiiiiij=e.asm.kh).apply(null,arguments)},Wu=e.dynCall_jd=function(){return(Wu=e.dynCall_jd=e.asm.lh).apply(null,arguments)},$u=e.dynCall_jf=function(){return($u=e.dynCall_jf=e.asm.mh).apply(null,arguments)},Gu=e.dynCall_vijijj=function(){return(Gu=e.dynCall_vijijj=e.asm.nh).apply(null,arguments)},Ku=e.dynCall_viiijjj=function(){return(Ku=e.dynCall_viiijjj=e.asm.oh).apply(null,arguments)},Yu=e.dynCall_iji=function(){return(Yu=e.dynCall_iji=e.asm.ph).apply(null,arguments)},Vu=e.dynCall_viijjji=function(){return(Vu=e.dynCall_viijjji=e.asm.qh).apply(null,arguments)},Qu=e.dynCall_iiiiiij=function(){return(Qu=e.dynCall_iiiiiij=e.asm.rh).apply(null,arguments)},zu=e.dynCall_iiiiiiiij=function(){return(zu=e.dynCall_iiiiiiiij=e.asm.sh).apply(null,arguments)},Xu=e.dynCall_vijj=function(){return(Xu=e.dynCall_vijj=e.asm.th).apply(null,arguments)},Ju=e.dynCall_vijii=function(){return(Ju=e.dynCall_vijii=e.asm.uh).apply(null,arguments)},Zu=e.dynCall_jiiiii=function(){return(Zu=e.dynCall_jiiiii=e.asm.vh).apply(null,arguments)},el=e.dynCall_vijiiii=function(){return(el=e.dynCall_vijiiii=e.asm.wh).apply(null,arguments)},tl=e.dynCall_viiijii=function(){return(tl=e.dynCall_viiijii=e.asm.xh).apply(null,arguments)},il=e.dynCall_iijjijj=function(){return(il=e.dynCall_iijjijj=e.asm.yh).apply(null,arguments)},rl=e.dynCall_viiiijiiiii=function(){return(rl=e.dynCall_viiiijiiiii=e.asm.zh).apply(null,arguments)},nl=e.dynCall_viiiijiiii=function(){return(nl=e.dynCall_viiiijiiii=e.asm.Ah).apply(null,arguments)},al=e.dynCall_jiij=function(){return(al=e.dynCall_jiij=e.asm.Bh).apply(null,arguments)},sl=e.dynCall_viijjj=function(){return(sl=e.dynCall_viijjj=e.asm.Ch).apply(null,arguments)},ol=e.dynCall_jiiij=function(){return(ol=e.dynCall_jiiij=e.asm.Dh).apply(null,arguments)},ul=e.dynCall_iiiiiijjiijjj=function(){return(ul=e.dynCall_iiiiiijjiijjj=e.asm.Eh).apply(null,arguments)},ll=e.dynCall_viiiji=function(){return(ll=e.dynCall_viiiji=e.asm.Fh).apply(null,arguments)},cl=e.dynCall_viijiiji=function(){return(cl=e.dynCall_viijiiji=e.asm.Gh).apply(null,arguments)},fl=e.dynCall_iiiijjii=function(){return(fl=e.dynCall_iiiijjii=e.asm.Hh).apply(null,arguments)},_l=e.dynCall_iiiijji=function(){return(_l=e.dynCall_iiiijji=e.asm.Ih).apply(null,arguments)},dl=e.dynCall_iiijjii=function(){return(dl=e.dynCall_iiijjii=e.asm.Jh).apply(null,arguments)},pl=e.dynCall_vjjijij=function(){return(pl=e.dynCall_vjjijij=e.asm.Kh).apply(null,arguments)},yl=e.dynCall_vijjji=function(){return(yl=e.dynCall_vijjji=e.asm.Lh).apply(null,arguments)},hl=e.dynCall_vjjii=function(){return(hl=e.dynCall_vjjii=e.asm.Mh).apply(null,arguments)},ml=e.dynCall_viiiiiji=function(){return(ml=e.dynCall_viiiiiji=e.asm.Nh).apply(null,arguments)},vl=e.dynCall_jiiiji=function(){return(vl=e.dynCall_jiiiji=e.asm.Oh).apply(null,arguments)},gl=e.dynCall_viiijjii=function(){return(gl=e.dynCall_viiijjii=e.asm.Ph).apply(null,arguments)},bl=e.dynCall_jijij=function(){return(bl=e.dynCall_jijij=e.asm.Qh).apply(null,arguments)},jl=e.dynCall_viiiijj=function(){return(jl=e.dynCall_viiiijj=e.asm.Rh).apply(null,arguments)},wl=e.dynCall_iiijiii=function(){return(wl=e.dynCall_iiijiii=e.asm.Sh).apply(null,arguments)},kl=e.dynCall_jijjij=function(){return(kl=e.dynCall_jijjij=e.asm.Th).apply(null,arguments)},Cl=e.dynCall_jiijii=function(){return(Cl=e.dynCall_jiijii=e.asm.Uh).apply(null,arguments)},Sl=e.dynCall_jijiii=function(){return(Sl=e.dynCall_jijiii=e.asm.Vh).apply(null,arguments)},El=e.dynCall_viijiiiii=function(){return(El=e.dynCall_viijiiiii=e.asm.Wh).apply(null,arguments)},Al=e.dynCall_viijiiij=function(){return(Al=e.dynCall_viijiiij=e.asm.Xh).apply(null,arguments)},Rl=e.dynCall_vijiiiji=function(){return(Rl=e.dynCall_vijiiiji=e.asm.Yh).apply(null,arguments)},Dl=e.dynCall_jiiji=function(){return(Dl=e.dynCall_jiiji=e.asm.Zh).apply(null,arguments)},Tl=e.dynCall_viiijij=function(){return(Tl=e.dynCall_viiijij=e.asm._h).apply(null,arguments)},Pl=e.dynCall_viijiij=function(){return(Pl=e.dynCall_viijiij=e.asm.$h).apply(null,arguments)},Ol=e.dynCall_viiiiijj=function(){return(Ol=e.dynCall_viiiiijj=e.asm.ai).apply(null,arguments)},xl=e.dynCall_viiijji=function(){return(xl=e.dynCall_viiijji=e.asm.bi).apply(null,arguments)},Ml=e.dynCall_vijij=function(){return(Ml=e.dynCall_vijij=e.asm.ci).apply(null,arguments)},Il=e.dynCall_viijjii=function(){return(Il=e.dynCall_viijjii=e.asm.di).apply(null,arguments)},Fl=e.dynCall_iiiiiiiiiiji=function(){return(Fl=e.dynCall_iiiiiiiiiiji=e.asm.ei).apply(null,arguments)},Nl=e.dynCall_jiiijjj=function(){return(Nl=e.dynCall_jiiijjj=e.asm.fi).apply(null,arguments)},Bl=e.dynCall_viiijijj=function(){return(Bl=e.dynCall_viiijijj=e.asm.gi).apply(null,arguments)},Ll=e.dynCall_jiiiiji=function(){return(Ll=e.dynCall_jiiiiji=e.asm.hi).apply(null,arguments)},Ul=e.dynCall_iiiiijij=function(){return(Ul=e.dynCall_iiiiijij=e.asm.ii).apply(null,arguments)},Hl=e.dynCall_jiiiiiii=function(){return(Hl=e.dynCall_jiiiiiii=e.asm.ji).apply(null,arguments)},ql=e.dynCall_jiijj=function(){return(ql=e.dynCall_jiijj=e.asm.ki).apply(null,arguments)},Wl=e.dynCall_vijiji=function(){return(Wl=e.dynCall_vijiji=e.asm.li).apply(null,arguments)},$l=e.dynCall_vijjij=function(){return($l=e.dynCall_vijjij=e.asm.mi).apply(null,arguments)},Gl=e.dynCall_jiiiij=function(){return(Gl=e.dynCall_jiiiij=e.asm.ni).apply(null,arguments)},Kl=e.dynCall_viiiijiiiiiiii=function(){return(Kl=e.dynCall_viiiijiiiiiiii=e.asm.oi).apply(null,arguments)},Yl=e.dynCall_ij=function(){return(Yl=e.dynCall_ij=e.asm.pi).apply(null,arguments)},Vl=e.dynCall_jjj=function(){return(Vl=e.dynCall_jjj=e.asm.qi).apply(null,arguments)},Ql=e.dynCall_jjiji=function(){return(Ql=e.dynCall_jjiji=e.asm.ri).apply(null,arguments)},zl=e.dynCall_vjii=function(){return(zl=e.dynCall_vjii=e.asm.si).apply(null,arguments)},Xl=e.dynCall_jjjjjjd=function(){return(Xl=e.dynCall_jjjjjjd=e.asm.ti).apply(null,arguments)},Jl=e.dynCall_jijj=function(){return(Jl=e.dynCall_jijj=e.asm.ui).apply(null,arguments)},Zl=e.dynCall_ijii=function(){return(Zl=e.dynCall_ijii=e.asm.vi).apply(null,arguments)},ec=e.dynCall_vjiiii=function(){return(ec=e.dynCall_vjiiii=e.asm.wi).apply(null,arguments)},tc=e.dynCall_viiiiijiiii=function(){return(tc=e.dynCall_viiiiijiiii=e.asm.xi).apply(null,arguments)},ic=e.dynCall_viiiiijiii=function(){return(ic=e.dynCall_viiiiijiii=e.asm.yi).apply(null,arguments)},rc=e.dynCall_fiijii=function(){return(rc=e.dynCall_fiijii=e.asm.zi).apply(null,arguments)},nc=e.dynCall_diijii=function(){return(nc=e.dynCall_diijii=e.asm.Ai).apply(null,arguments)},ac=e.dynCall_iiiiijii=function(){return(ac=e.dynCall_iiiiijii=e.asm.Bi).apply(null,arguments)},sc=e.dynCall_iiiiiiijii=function(){return(sc=e.dynCall_iiiiiiijii=e.asm.Ci).apply(null,arguments)},oc=e.dynCall_iiiiji=function(){return(oc=e.dynCall_iiiiji=e.asm.Di).apply(null,arguments)},uc=e.dynCall_iiiiiiji=function(){return(uc=e.dynCall_iiiiiiji=e.asm.Ei).apply(null,arguments)},lc=e.dynCall_iiiijii=function(){return(lc=e.dynCall_iiiijii=e.asm.Fi).apply(null,arguments)},cc=e.dynCall_viiiiiiji=function(){return(cc=e.dynCall_viiiiiiji=e.asm.Gi).apply(null,arguments)},fc=e.dynCall_iiiijiii=function(){return(fc=e.dynCall_iiiijiii=e.asm.Hi).apply(null,arguments)},_c=e.dynCall_viiiiji=function(){return(_c=e.dynCall_viiiiji=e.asm.Ii).apply(null,arguments)},dc=e.dynCall_viiijiii=function(){return(dc=e.dynCall_viiijiii=e.asm.Ji).apply(null,arguments)},pc=e.dynCall_viiiijiii=function(){return(pc=e.dynCall_viiiijiii=e.asm.Ki).apply(null,arguments)},yc=e.dynCall_viiiijii=function(){return(yc=e.dynCall_viiiijii=e.asm.Li).apply(null,arguments)},hc=e.dynCall_vijji=function(){return(hc=e.dynCall_vijji=e.asm.Mi).apply(null,arguments)},mc=e.dynCall_iiiijjij=function(){return(mc=e.dynCall_iiiijjij=e.asm.Ni).apply(null,arguments)},vc=e.dynCall_jiiijj=function(){return(vc=e.dynCall_jiiijj=e.asm.Oi).apply(null,arguments)},gc=e.dynCall_iiiiiiiijj=function(){return(gc=e.dynCall_iiiiiiiijj=e.asm.Pi).apply(null,arguments)},bc=e.dynCall_iijii=function(){return(bc=e.dynCall_iijii=e.asm.Qi).apply(null,arguments)},jc=e.dynCall_iiidj=function(){return(jc=e.dynCall_iiidj=e.asm.Ri).apply(null,arguments)},wc=e.dynCall_ijji=function(){return(wc=e.dynCall_ijji=e.asm.Si).apply(null,arguments)},kc=e.dynCall_iiiiiiij=function(){return(kc=e.dynCall_iiiiiiij=e.asm.Ti).apply(null,arguments)},Cc=e.dynCall_iiiiiiiiiiiij=function(){return(Cc=e.dynCall_iiiiiiiiiiiij=e.asm.Ui).apply(null,arguments)},Sc=e.dynCall_iiiiiiiiiij=function(){return(Sc=e.dynCall_iiiiiiiiiij=e.asm.Vi).apply(null,arguments)},Ec=e.dynCall_iiiiiiiiijiiiiiii=function(){return(Ec=e.dynCall_iiiiiiiiijiiiiiii=e.asm.Wi).apply(null,arguments)},Ac=e.dynCall_iiijjiiji=function(){return(Ac=e.dynCall_iiijjiiji=e.asm.Xi).apply(null,arguments)},Rc=e.dynCall_iiijjiij=function(){return(Rc=e.dynCall_iiijjiij=e.asm.Yi).apply(null,arguments)},Dc=e.dynCall_iiidjiij=function(){return(Dc=e.dynCall_iiidjiij=e.asm.Zi).apply(null,arguments)},Tc=e.dynCall_iiiiiiiji=function(){return(Tc=e.dynCall_iiiiiiiji=e.asm._i).apply(null,arguments)},Pc=e.dynCall_iiiidjj=function(){return(Pc=e.dynCall_iiiidjj=e.asm.$i).apply(null,arguments)},Oc=e.dynCall_iiiijjj=function(){return(Oc=e.dynCall_iiiijjj=e.asm.aj).apply(null,arguments)},xc=e.dynCall_iiiiiiiiji=function(){return(xc=e.dynCall_iiiiiiiiji=e.asm.bj).apply(null,arguments)},Mc=e.dynCall_jiiiiiijii=function(){return(Mc=e.dynCall_jiiiiiijii=e.asm.cj).apply(null,arguments)},Ic=e.dynCall_viiiijji=function(){return(Ic=e.dynCall_viiiijji=e.asm.dj).apply(null,arguments)},Fc=e.dynCall_jiiiiii=function(){return(Fc=e.dynCall_jiiiiii=e.asm.ej).apply(null,arguments)},Nc=e.dynCall_jiijjjii=function(){return(Nc=e.dynCall_jiijjjii=e.asm.fj).apply(null,arguments)},Bc=e.dynCall_jiiiijii=function(){return(Bc=e.dynCall_jiiiijii=e.asm.gj).apply(null,arguments)},Lc=e.dynCall_jiiiiijiiii=function(){return(Lc=e.dynCall_jiiiiijiiii=e.asm.hj).apply(null,arguments)},Uc=e.dynCall_jiiijiii=function(){return(Uc=e.dynCall_jiiijiii=e.asm.ij).apply(null,arguments)},Hc=e.dynCall_iijiji=function(){return(Hc=e.dynCall_iijiji=e.asm.jj).apply(null,arguments)},qc=e.dynCall_vjiiiji=function(){return(qc=e.dynCall_vjiiiji=e.asm.kj).apply(null,arguments)},Wc=e.dynCall_viijiiiiii=function(){return(Wc=e.dynCall_viijiiiiii=e.asm.lj).apply(null,arguments)},$c=e.dynCall_jjjji=function(){return($c=e.dynCall_jjjji=e.asm.mj).apply(null,arguments)},Gc=e.dynCall_vijiii=function(){return(Gc=e.dynCall_vijiii=e.asm.nj).apply(null,arguments)},Kc=e.dynCall_jjjii=function(){return(Kc=e.dynCall_jjjii=e.asm.oj).apply(null,arguments)},Yc=e.dynCall_jji=function(){return(Yc=e.dynCall_jji=e.asm.pj).apply(null,arguments)},Vc=e.dynCall_viiijijiji=function(){return(Vc=e.dynCall_viiijijiji=e.asm.qj).apply(null,arguments)},Qc=e.dynCall_iiiiijjji=function(){return(Qc=e.dynCall_iiiiijjji=e.asm.rj).apply(null,arguments)},zc=e.dynCall_iiiijjjj=function(){return(zc=e.dynCall_iiiijjjj=e.asm.sj).apply(null,arguments)},Xc=e.dynCall_viijjiij=function(){return(Xc=e.dynCall_viijjiij=e.asm.tj).apply(null,arguments)},Jc=e.dynCall_iiijiiji=function(){return(Jc=e.dynCall_iiijiiji=e.asm.uj).apply(null,arguments)},Zc=e.dynCall_iiijjji=function(){return(Zc=e.dynCall_iiijjji=e.asm.vj).apply(null,arguments)},ef=e.dynCall_viijjiijjj=function(){return(ef=e.dynCall_viijjiijjj=e.asm.wj).apply(null,arguments)},tf=e.dynCall_viijjiijj=function(){return(tf=e.dynCall_viijjiijj=e.asm.xj).apply(null,arguments)},rf=e.dynCall_iiiiijiii=function(){return(rf=e.dynCall_iiiiijiii=e.asm.yj).apply(null,arguments)},nf=e.dynCall_vjiii=function(){return(nf=e.dynCall_vjiii=e.asm.zj).apply(null,arguments)},af=e.dynCall_viiijjji=function(){return(af=e.dynCall_viiijjji=e.asm.Aj).apply(null,arguments)},sf=e.dynCall_iijji=function(){return(sf=e.dynCall_iijji=e.asm.Bj).apply(null,arguments)},of=e.dynCall_iijjii=function(){return(of=e.dynCall_iijjii=e.asm.Cj).apply(null,arguments)},uf=e.dynCall_iijiiii=function(){return(uf=e.dynCall_iijiiii=e.asm.Dj).apply(null,arguments)},lf=e.dynCall_viijiiii=function(){return(lf=e.dynCall_viijiiii=e.asm.Ej).apply(null,arguments)},cf=e.dynCall_iiijiij=function(){return(cf=e.dynCall_iiijiij=e.asm.Fj).apply(null,arguments)},ff=e.dynCall_iijjiii=function(){return(ff=e.dynCall_iijjiii=e.asm.Gj).apply(null,arguments)},_f=e.dynCall_iijjiiii=function(){return(_f=e.dynCall_iijjiiii=e.asm.Hj).apply(null,arguments)},df=e.dynCall_vijiiiiii=function(){return(df=e.dynCall_vijiiiiii=e.asm.Ij).apply(null,arguments)},pf=e.dynCall_vijiiiii=function(){return(pf=e.dynCall_vijiiiii=e.asm.Jj).apply(null,arguments)},yf=e.dynCall_iiijjj=function(){return(yf=e.dynCall_iiijjj=e.asm.Kj).apply(null,arguments)},hf=e.dynCall_vj=function(){return(hf=e.dynCall_vj=e.asm.Lj).apply(null,arguments)},mf=e.dynCall_viiiiijjii=function(){return(mf=e.dynCall_viiiiijjii=e.asm.Mj).apply(null,arguments)},vf=e.dynCall_viiiiiijii=function(){return(vf=e.dynCall_viiiiiijii=e.asm.Nj).apply(null,arguments)},gf=e.dynCall_viiiiiiijjjji=function(){return(gf=e.dynCall_viiiiiiijjjji=e.asm.Oj).apply(null,arguments)},bf=e.dynCall_ijjiii=function(){return(bf=e.dynCall_ijjiii=e.asm.Pj).apply(null,arguments)},jf=e.dynCall_iijiii=function(){return(jf=e.dynCall_iijiii=e.asm.Qj).apply(null,arguments)},wf=e.dynCall_vijiiijj=function(){return(wf=e.dynCall_vijiiijj=e.asm.Rj).apply(null,arguments)},kf=e.dynCall_vijjiijj=function(){return(kf=e.dynCall_vijjiijj=e.asm.Sj).apply(null,arguments)},Cf=e.dynCall_vijfiijj=function(){return(Cf=e.dynCall_vijfiijj=e.asm.Tj).apply(null,arguments)},Sf=e.dynCall_vijdiijj=function(){return(Sf=e.dynCall_vijdiijj=e.asm.Uj).apply(null,arguments)},Ef=e.dynCall_viiiiij=function(){return(Ef=e.dynCall_viiiiij=e.asm.Vj).apply(null,arguments)},Af=e.dynCall_vijijjji=function(){return(Af=e.dynCall_vijijjji=e.asm.Wj).apply(null,arguments)},Rf=e.dynCall_viijiijj=function(){return(Rf=e.dynCall_viijiijj=e.asm.Xj).apply(null,arguments)},Df=e.dynCall_viijijj=function(){return(Df=e.dynCall_viijijj=e.asm.Yj).apply(null,arguments)},Tf=e.dynCall_viiiiijjji=function(){return(Tf=e.dynCall_viiiiijjji=e.asm.Zj).apply(null,arguments)},Pf=e.dynCall_iiijiijj=function(){return(Pf=e.dynCall_iiijiijj=e.asm._j).apply(null,arguments)},Of=e.dynCall_viiijijjj=function(){return(Of=e.dynCall_viiijijjj=e.asm.$j).apply(null,arguments)},xf=e.dynCall_iijiijj=function(){return(xf=e.dynCall_iijiijj=e.asm.ak).apply(null,arguments)},Mf=e.dynCall_viiijjjji=function(){return(Mf=e.dynCall_viiijjjji=e.asm.bk).apply(null,arguments)},If=e.dynCall_vijjiii=function(){return(If=e.dynCall_vijjiii=e.asm.ck).apply(null,arguments)},Ff=e.dynCall_vijijjiiiii=function(){return(Ff=e.dynCall_vijijjiiiii=e.asm.dk).apply(null,arguments)},Nf=e.dynCall_vijjiiiii=function(){return(Nf=e.dynCall_vijjiiiii=e.asm.ek).apply(null,arguments)},Bf=e.dynCall_iiiiiijji=function(){return(Bf=e.dynCall_iiiiiijji=e.asm.fk).apply(null,arguments)},Lf=e.dynCall_viiijiji=function(){return(Lf=e.dynCall_viiijiji=e.asm.gk).apply(null,arguments)},Uf=e.dynCall_iiiiijjj=function(){return(Uf=e.dynCall_iiiiijjj=e.asm.hk).apply(null,arguments)},Hf=e.dynCall_jijiiii=function(){return(Hf=e.dynCall_jijiiii=e.asm.ik).apply(null,arguments)},qf=e.dynCall_viijiji=function(){return(qf=e.dynCall_viijiji=e.asm.jk).apply(null,arguments)},Wf=e.dynCall_iiijjjii=function(){return(Wf=e.dynCall_iiijjjii=e.asm.kk).apply(null,arguments)};function iy(i){var n=j();try{z(i)()}catch(a){if(m(n),a!==a+0)throw a;b(1,0)}}function ry(i,n,a){var s=j();try{z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function ny(i,n){var a=j();try{return z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function ay(i,n,a){var s=j();try{return z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function sy(i,n){var a=j();try{z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function oy(i,n,a,s){var o=j();try{return z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function uy(i,n,a,s,o,u){var c=j();try{return z(i)(n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function ly(i,n,a,s,o){var u=j();try{z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function cy(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function fy(i,n,a,s){var o=j();try{return z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function _y(i,n,a,s){var o=j();try{return z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function dy(i,n,a,s){var o=j();try{z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function py(i,n,a,s){var o=j();try{z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function yy(i,n,a,s,o,u,c,f){var _=j();try{return z(i)(n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function hy(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function my(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function vy(i){var n=j();try{return z(i)()}catch(a){if(m(n),a!==a+0)throw a;b(1,0)}}function gy(i,n,a,s,o,u,c,f){var _=j();try{z(i)(n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function by(i,n,a,s,o,u,c){var f=j();try{return z(i)(n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function jy(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function wy(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{z(i)(n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function ky(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re){var fe=j();try{z(i)(n,a,s,o,u,c,f,_,p,h,k,C,I,U,re)}catch(Ce){if(m(fe),Ce!==Ce+0)throw Ce;b(1,0)}}function Cy(i,n,a,s,o,u,c){var f=j();try{z(i)(n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Sy(i,n,a,s,o,u){var c=j();try{return z(i)(n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Ey(i,n,a,s,o,u,c,f,_){var p=j();try{z(i)(n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Ay(i,n,a,s,o,u){var c=j();try{z(i)(n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Ry(i,n,a,s,o,u,c,f,_){var p=j();try{return z(i)(n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Dy(i,n){var a=j();try{return z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function Ty(i,n){var a=j();try{return z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function Py(i,n){var a=j();try{return z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function Oy(i,n,a){var s=j();try{z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function xy(i,n){var a=j();try{return z(i)(n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function My(i,n,a){var s=j();try{z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function Iy(i,n,a,s,o,u,c,f,_,p,h,k,C,I){var U=j();try{z(i)(n,a,s,o,u,c,f,_,p,h,k,C,I)}catch(re){if(m(U),re!==re+0)throw re;b(1,0)}}function Fy(i,n,a,s,o,u,c,f,_,p){var h=j();try{z(i)(n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Ny(i,n,a){var s=j();try{return z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function By(i,n,a){var s=j();try{return z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function Ly(i,n,a,s){var o=j();try{return z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function Uy(i,n,a,s,o,u,c,f){var _=j();try{return z(i)(n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Hy(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce){var F=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce)}catch(X){if(m(F),X!==X+0)throw X;b(1,0)}}function qy(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Wy(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function $y(i,n,a,s,o,u){var c=j();try{z(i)(n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Gy(i,n,a,s){var o=j();try{z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function Ky(i,n,a,s){var o=j();try{z(i)(n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function Yy(i,n,a,s,o,u,c,f,_,p){var h=j();try{return z(i)(n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Vy(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re){var fe=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h,k,C,I,U,re)}catch(Ce){if(m(fe),Ce!==Ce+0)throw Ce;b(1,0)}}function Qy(i,n,a,s,o,u,c){var f=j();try{z(i)(n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function zy(i,n,a){var s=j();try{return z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function Xy(i,n,a,s,o,u,c){var f=j();try{return z(i)(n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Jy(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Zy(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe){var Ce=j();try{return z(i)(n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe)}catch(F){if(m(Ce),F!==F+0)throw F;b(1,0)}}function eh(i,n,a){var s=j();try{return z(i)(n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function th(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{z(i)(n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function ih(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function rh(i,n,a,s,o){var u=j();try{return z(i)(n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function nh(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{z(i)(n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function ah(i,n,a,s,o,u,c,f,_,p){var h=j();try{z(i)(n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function sh(i,n,a,s,o){var u=j();try{return Qe(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function oh(i,n,a,s,o,u,c){var f=j();try{ou(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function uh(i,n){var a=j();try{return mr(i,n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function lh(i,n,a){var s=j();try{return yu(i,n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function ch(i,n,a,s,o,u,c){var f=j();try{yr(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function fh(i,n,a,s,o,u,c){var f=j();try{return Ot(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function _h(i,n,a,s,o,u,c,f,_){var p=j();try{return zt(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function dh(i,n,a,s){var o=j();try{return Bi(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function ph(i,n,a,s,o,u){var c=j();try{lu(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function yh(i){var n=j();try{return hr(i)}catch(a){if(m(n),a!==a+0)throw a;b(1,0)}}function hh(i,n,a,s,o){var u=j();try{au(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function mh(i,n,a,s,o,u,c,f){var _=j();try{cu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function vh(i,n,a,s,o,u,c){var f=j();try{return fu(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function gh(i,n,a,s,o,u,c,f){var _=j();try{su(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function bh(i,n,a,s,o){var u=j();try{return gu(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function jh(i,n,a,s,o,u,c,f){var _=j();try{uu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function wh(i,n,a,s){var o=j();try{hu(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function kh(i,n,a,s,o,u,c,f,_){var p=j();try{jl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Ch(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{mf(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Sh(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{vf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Eh(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe){var Ce=j();try{gf(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe)}catch(F){if(m(Ce),F!==F+0)throw F;b(1,0)}}function Ah(i,n,a,s,o,u,c){var f=j();try{pu(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Rh(i,n,a,s,o,u,c){var f=j();try{return sf(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Dh(i,n,a,s,o,u){var c=j();try{return Ru(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Th(i,n,a,s,o){var u=j();try{vu(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Ph(i,n,a,s,o){var u=j();try{return Eu(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Oh(i,n,a,s,o,u){var c=j();try{return bc(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function xh(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Xc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Mh(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Jc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Ih(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Zc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Fh(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U){var re=j();try{ef(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U)}catch(fe){if(m(re),fe!==fe+0)throw fe;b(1,0)}}function Nh(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{tf(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function Bh(i,n,a,s,o,u,c,f){var _=j();try{return Uu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Lh(i,n,a,s,o,u){var c=j();try{return ju(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Uh(i,n,a,s,o,u,c,f){var _=j();try{du(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Hh(i,n,a,s){var o=j();try{return Cu(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function qh(i,n,a,s,o,u){var c=j();try{return mu(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Wh(i,n,a,s){var o=j();try{return ku(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function $h(i,n,a,s,o,u,c,f){var _=j();try{return bu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Gh(i,n,a,s,o,u){var c=j();try{_u(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Kh(i,n,a,s,o,u,c){var f=j();try{return wu(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Yh(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return gc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Vh(i,n,a,s,o,u,c,f,_){var p=j();try{return fc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Qh(i,n,a){var s=j();try{return Au(i,n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function zh(i,n,a,s,o,u,c){var f=j();try{return jf(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Xh(i,n,a,s,o,u,c,f){var _=j();try{return Qu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Jh(i,n,a,s,o,u,c,f,_,p){var h=j();try{return zu(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Zh(i,n,a,s,o,u){var c=j();try{nf(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function em(i,n,a,s,o,u,c,f){var _=j();try{return Lu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function tm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Pu(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function im(i,n,a,s,o,u,c,f){var _=j();try{Ou(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function rm(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{xu(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function nm(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{Iu(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function am(i,n,a,s,o,u,c,f){var _=j();try{return Tu(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function sm(i,n,a,s,o,u,c,f){var _=j();try{return Du(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function om(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Fu(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function um(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re){var fe=j();try{Nu(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re)}catch(Ce){if(m(fe),Ce!==Ce+0)throw Ce;b(1,0)}}function lm(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce){var F=j();try{Bu(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce)}catch(X){if(m(F),X!==X+0)throw X;b(1,0)}}function cm(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{Mu(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function fm(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe){var Ce=j();try{Hu(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe)}catch(F){if(m(Ce),F!==F+0)throw F;b(1,0)}}function _m(i,n,a,s,o,u,c,f,_){var p=j();try{qu(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function dm(i,n,a,s,o,u){var c=j();try{Xu(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function pm(i,n){var a=j();try{return Wu(i,n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function ym(i,n){var a=j();try{return $u(i,n)}catch(s){if(m(a),s!==s+0)throw s;b(1,0)}}function hm(i,n,a,s,o,u){var c=j();try{Ju(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function mm(i,n,a,s,o,u,c,f,_){var p=j();try{Gu(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function vm(i,n,a,s,o,u,c,f,_,p){var h=j();try{Ku(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function gm(i,n,a,s){var o=j();try{return Yu(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function bm(i,n,a,s,o,u,c,f,_,p){var h=j();try{Vu(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function jm(i,n,a,s,o,u){var c=j();try{return Zu(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function wm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Mc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function km(i,n,a,s,o,u,c,f,_){var p=j();try{return _l(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Cm(i,n,a,s,o,u,c,f,_){var p=j();try{xl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Sm(i,n,a,s,o,u,c,f){var _=j();try{_c(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Em(i,n,a,s,o,u,c){var f=j();try{return Fc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Am(i,n,a,s,o,u,c){var f=j();try{ll(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Rm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Nc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Dm(i,n,a,s,o,u){var c=j();try{return wc(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Tm(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{return Fl(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function Pm(i,n,a,s,o,u,c,f){var _=j();try{el(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Om(i,n,a,s,o,u,c,f){var _=j();try{tl(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function xm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return il(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Mm(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{rl(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Im(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{nl(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Fm(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Nl(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Nm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Bl(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Bm(i,n,a,s,o,u,c,f){var _=j();try{return Ll(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Lm(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Ul(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Um(i,n,a,s,o,u,c){var f=j();try{hl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Hm(i,n,a,s,o){var u=j();try{return al(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function qm(i,n,a,s,o,u){var c=j();try{return ol(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Wm(i,n,a,s,o,u,c,f,_){var p=j();try{yl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function $m(i,n,a,s,o,u,c,f,_){var p=j();try{sl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Gm(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{pl(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Km(i,n,a,s,o,u){var c=j();try{return Dl(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Ym(i,n,a,s,o,u,c,f,_,p){var h=j();try{cl(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Vm(i,n,a,s,o,u,c){var f=j();try{return vl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Qm(i,n,a,s,o,u,c,f,_){var p=j();try{ml(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function zm(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce){var F=j();try{return ul(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce)}catch(X){if(m(F),X!==X+0)throw X;b(1,0)}}function Xm(i,n,a,s,o,u,c,f,_,p){var h=j();try{return fl(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Jm(i,n,a,s,o,u,c,f,_){var p=j();try{return dl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Zm(i,n,a,s,o,u,c,f,_,p){var h=j();try{gl(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function ev(i,n,a,s,o,u,c){var f=j();try{return Cl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function tv(i,n,a,s,o,u,c,f,_,p){var h=j();try{El(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function iv(i,n,a,s,o,u,c,f,_,p){var h=j();try{Al(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function rv(i,n,a,s,o,u,c,f,_,p){var h=j();try{Rl(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function nv(i,n,a,s,o,u,c){var f=j();try{return Sl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function av(i,n,a,s,o,u,c,f,_){var p=j();try{return kl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function sv(i,n,a,s,o,u,c,f,_){var p=j();try{Pl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function ov(i,n,a,s,o,u,c){var f=j();try{return bl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function uv(i,n,a,s,o,u,c,f){var _=j();try{return wl(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function lv(i,n,a,s,o,u,c){var f=j();try{Ml(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function cv(i,n,a,s,o,u,c,f,_){var p=j();try{Il(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function fv(i,n,a,s,o,u,c,f){var _=j();try{return Hl(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function _v(i,n,a,s,o,u,c){var f=j();try{return ql(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function dv(i,n,a,s,o,u,c,f,_){var p=j();try{return kc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function pv(i,n,a,s,o,u,c,f,_,p,h,k,C,I){var U=j();try{return Cc(i,n,a,s,o,u,c,f,_,p,h,k,C,I)}catch(re){if(m(U),re!==re+0)throw re;b(1,0)}}function yv(i,n,a,s,o,u,c,f){var _=j();try{Wl(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function hv(i,n,a,s,o,u,c,f,_){var p=j();try{$l(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function mv(i,n,a,s,o,u,c){var f=j();try{return Ql(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function vv(i,n,a,s,o,u,c,f){var _=j();try{return bf(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function gv(i,n,a){var s=j();try{return Yl(i,n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function bv(i,n,a,s,o,u,c){var f=j();try{ec(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function jv(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{tc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function wv(i,n,a,s,o){var u=j();try{return Zl(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function kv(i,n,a,s,o){var u=j();try{zl(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Cv(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{ic(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Sv(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U){var re=j();try{Kl(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U)}catch(fe){if(m(re),fe!==fe+0)throw fe;b(1,0)}}function Ev(i,n,a,s,o){var u=j();try{return Vl(i,n,a,s,o)}catch(c){if(m(u),c!==c+0)throw c;b(1,0)}}function Av(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return Xl(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Rv(i,n,a,s,o,u,c){var f=j();try{return oc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Dv(i,n,a,s,o,u,c,f,_){var p=j();try{return ac(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Tv(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return sc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Pv(i,n,a,s,o,u,c){var f=j();try{return rc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Ov(i,n,a,s,o,u,c){var f=j();try{return nc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function xv(i,n,a,s,o,u,c,f,_){var p=j();try{return uc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Mv(i,n,a,s,o,u,c,f){var _=j();try{return lc(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Iv(i,n,a,s,o,u,c,f){var _=j();try{return Su(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function Fv(i,n,a,s,o,u,c,f,_){var p=j();try{dc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Nv(i,n,a,s,o,u,c){var f=j();try{hc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Bv(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return mc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Lv(i,n,a,s,o,u,c){var f=j();try{return Gl(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function Uv(i,n,a,s,o,u,c,f,_,p){var h=j();try{cc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Hv(i,n,a,s,o,u,c,f,_,p){var h=j();try{pc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function qv(i,n,a,s,o,u,c,f,_){var p=j();try{yc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Wv(i,n,a,s,o,u,c,f){var _=j();try{return vc(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function $v(i,n,a,s,o,u){var c=j();try{return jc(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Gv(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return Sc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Kv(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce){var F=j();try{return Ec(i,n,a,s,o,u,c,f,_,p,h,k,C,I,U,re,fe,Ce)}catch(X){if(m(F),X!==X+0)throw X;b(1,0)}}function Yv(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return Ac(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Vv(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Rc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Qv(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Dc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function zv(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Tc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Xv(i,n,a,s,o,u,c,f,_){var p=j();try{return Pc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Jv(i,n,a,s,o,u,c,f,_,p){var h=j();try{return Oc(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Zv(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return xc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function eg(i,n,a,s,o,u,c,f,_,p){var h=j();try{Ic(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function tg(i,n,a,s,o,u,c,f,_){var p=j();try{return Bc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function ig(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return Lc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function rg(i,n,a,s,o,u,c,f,_){var p=j();try{return Uc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function ng(i,n,a,s,o,u,c,f){var _=j();try{return Hc(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function ag(i,n,a,s,o,u,c,f,_){var p=j();try{qc(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function sg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Wc(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function og(i,n,a,s,o,u,c,f){var _=j();try{return $c(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function ug(i,n,a,s,o,u,c){var f=j();try{Gc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function lg(i,n,a,s,o,u,c){var f=j();try{return Kc(i,n,a,s,o,u,c)}catch(_){if(m(f),_!==_+0)throw _;b(1,0)}}function cg(i,n,a,s){var o=j();try{return Yc(i,n,a,s)}catch(u){if(m(o),u!==u+0)throw u;b(1,0)}}function fg(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{Vc(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function _g(i,n,a,s,o,u,c,f,_){var p=j();try{Tl(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function dg(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return zc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function pg(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{return Qc(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function yg(i,n,a,s,o,u,c,f,_,p){var h=j();try{return rf(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function hg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{af(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function mg(i,n,a,s,o,u,c,f){var _=j();try{return of(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function vg(i,n,a,s,o,u,c,f){var _=j();try{return uf(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function gg(i,n,a,s,o,u,c,f,_,p){var h=j();try{df(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function bg(i,n,a,s,o,u,c,f,_){var p=j();try{pf(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function jg(i,n,a,s,o,u,c,f,_){var p=j();try{lf(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function wg(i,n,a,s,o,u,c,f,_){var p=j();try{return cf(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function kg(i,n,a,s,o,u,c,f,_){var p=j();try{return ff(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Cg(i,n,a,s,o,u,c,f,_,p){var h=j();try{return _f(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Sg(i,n,a,s,o,u,c,f,_){var p=j();try{return yf(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Eg(i,n,a){var s=j();try{hf(i,n,a)}catch(o){if(m(s),o!==o+0)throw o;b(1,0)}}function Ag(i,n,a,s,o,u,c,f,_,p){var h=j();try{Ol(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Rg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{wf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Dg(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{kf(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Tg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Cf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Pg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Sf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Og(i,n,a,s,o,u,c,f){var _=j();try{Ef(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function xg(i,n,a,s,o,u,c,f,_,p,h,k){var C=j();try{Af(i,n,a,s,o,u,c,f,_,p,h,k)}catch(I){if(m(C),I!==I+0)throw I;b(1,0)}}function Mg(i,n,a,s,o,u){var c=j();try{return Jl(i,n,a,s,o,u)}catch(f){if(m(c),f!==f+0)throw f;b(1,0)}}function Ig(i,n,a,s,o,u,c,f,_,p){var h=j();try{Df(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Fg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Pf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Ng(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Rf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Bg(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{Tf(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function Lg(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{Of(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function Ug(i,n,a,s,o,u,c,f,_,p){var h=j();try{return xf(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Hg(i,n,a,s,o,u,c,f,_,p,h,k,C){var I=j();try{Mf(i,n,a,s,o,u,c,f,_,p,h,k,C)}catch(U){if(m(I),U!==U+0)throw U;b(1,0)}}function qg(i,n,a,s,o,u,c,f,_){var p=j();try{qf(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Wg(i,n,a,s,o,u,c,f,_,p,h,k,C,I){var U=j();try{Ff(i,n,a,s,o,u,c,f,_,p,h,k,C,I)}catch(re){if(m(U),re!==re+0)throw re;b(1,0)}}function $g(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{Nf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Gg(i,n,a,s,o,u,c,f,_){var p=j();try{If(i,n,a,s,o,u,c,f,_)}catch(h){if(m(p),h!==h+0)throw h;b(1,0)}}function Kg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Bf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Yg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Wf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}function Vg(i,n,a,s,o,u,c,f,_,p){var h=j();try{Lf(i,n,a,s,o,u,c,f,_,p)}catch(k){if(m(h),k!==k+0)throw k;b(1,0)}}function Qg(i,n,a,s,o,u,c,f){var _=j();try{return Hf(i,n,a,s,o,u,c,f)}catch(p){if(m(_),p!==p+0)throw p;b(1,0)}}function zg(i,n,a,s,o,u,c,f,_,p,h){var k=j();try{return Uf(i,n,a,s,o,u,c,f,_,p,h)}catch(C){if(m(k),C!==C+0)throw C;b(1,0)}}e.ccall=Ua;var vr;dt=function i(){vr||$f(),vr||(dt=i)};function Xg(i){var n=e._main,a=0,s=0;try{var o=n(a,s);return Na(o,!0),o}catch(u){return Ba(u)}}function $f(i){if(i=i||v,tt>0||(Tt(),tt>0))return;function n(){vr||(vr=!0,e.calledRun=!0,!ye&&(sn(),on(),l(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),Gf&&Xg(i),un()))}e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),n()},1)):n()}if(e.preInit)for(typeof e.preInit=="function"&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();var Gf=!0;return e.noInitialRun&&(Gf=!1),$f(),t.ready}})(),rn=Rk;var Zp=_i(require("fs")),Ci=class extends Wi{constructor(e,l,d,y){super(e,l);this.mainModulePath=d,this.pthreadWorkerPath=y}locateFile(e,l){if(e.endsWith(".wasm"))return this.mainModulePath;if(e.endsWith(".worker.js")){if(!this.pthreadWorkerPath)throw new Error("Missing DuckDB worker path!");return this.pthreadWorkerPath}throw new Error(`WASM instantiation requested unexpected file: prefix=${l} path=${e}`)}instantiateWasm(e,l){globalThis.DUCKDB_RUNTIME={};for(let y of Object.getOwnPropertyNames(this._runtime))y!="constructor"&&(globalThis.DUCKDB_RUNTIME[y]=Object.getOwnPropertyDescriptor(this._runtime,y).value);let d=Zp.default.readFileSync(this.mainModulePath);return WebAssembly.instantiate(d,e).then(y=>{l(y.instance,y.module)}),[]}instantiateImpl(e){return rn({...e,instantiateWasm:this.instantiateWasm.bind(this)})}};var nn=class extends Ci{constructor(t,e,l,d=null){super(t,e,l,d)}instantiateImpl(t){return rn({...t,instantiateWasm:this.instantiateWasm.bind(this),locateFile:this.locateFile.bind(this)})}};var ey={},Dk=(()=>{var r=ey.url;return function(t){t=t||{};var e=typeof t<"u"?t:{},l,d;e.ready=new Promise(function(g,w){l=g,d=w});var y=Object.assign({},e),v=[],E="./this.program",R=(g,w)=>{throw w},N=typeof window=="object",T=typeof importScripts=="function",L=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string",P="";function _e(g){return e.locateFile?e.locateFile(g,P):P+g}var $,Y,Z,ne;function Ee(g){if(g instanceof jt)return;ae("exiting due to exception: "+g)}if(L){T?P=require("path").dirname(P)+"/":P=__dirname+"/";var ge,We;typeof require=="function"&&(ge=require("fs"),We=require("path")),$=(g,w)=>(g=We.normalize(g),ge.readFileSync(g,w?void 0:"utf8")),Z=g=>{var w=$(g,!0);return w.buffer||(w=new Uint8Array(w)),w},Y=(g,w,S)=>{g=We.normalize(g),ge.readFile(g,function(D,B){D?S(D):w(B.buffer)})},process.argv.length>1&&(E=process.argv[1].replace(/\\/g,"/")),v=process.argv.slice(2),process.on("uncaughtException",function(g){if(!(g instanceof jt))throw g}),process.on("unhandledRejection",function(g){throw g}),R=(g,w)=>{if(bt())throw process.exitCode=g,w;Ee(w),process.exit(g)},e.inspect=function(){return"[Emscripten Module object]"}}else(N||T)&&(T?P=self.location.href:typeof document<"u"&&document.currentScript&&(P=document.currentScript.src),r&&(P=r),P.indexOf("blob:")!==0?P=P.substr(0,P.replace(/[?#].*/,"").lastIndexOf("/")+1):P="",$=g=>{var w=new XMLHttpRequest;return w.open("GET",g,!1),w.send(null),w.responseText},T&&(Z=g=>{var w=new XMLHttpRequest;return w.open("GET",g,!1),w.responseType="arraybuffer",w.send(null),new Uint8Array(w.response)}),Y=(g,w,S)=>{var D=new XMLHttpRequest;D.open("GET",g,!0),D.responseType="arraybuffer",D.onload=()=>{if(D.status==200||D.status==0&&D.response){w(D.response);return}S()},D.onerror=S,D.send(null)},ne=g=>document.title=g);var oe=e.print||console.log.bind(console),ae=e.printErr||console.warn.bind(console);Object.assign(e,y),y=null,e.arguments&&(v=e.arguments),e.thisProgram&&(E=e.thisProgram),e.quit&&(R=e.quit);var ee;e.wasmBinary&&(ee=e.wasmBinary);var te=e.noExitRuntime||!0;typeof WebAssembly!="object"&&Ne("no native wasm support detected");var K,ye=!1,x;function ce(g,w){g||Ne(w)}var se=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function Te(g,w,S){w>>>=0;for(var D=w+S,B=w;g[B]&&!(B>=D);)++B;if(B-w>16&&g.buffer&&se)return se.decode(g.subarray(w,B));for(var Q="";w<B;){var W=g[w++];if(!(W&128)){Q+=String.fromCharCode(W);continue}var q=g[w++]&63;if((W&224)==192){Q+=String.fromCharCode((W&31)<<6|q);continue}var J=g[w++]&63;if((W&240)==224?W=(W&15)<<12|q<<6|J:W=(W&7)<<18|q<<12|J<<6|g[w++]&63,W<65536)Q+=String.fromCharCode(W);else{var je=W-65536;Q+=String.fromCharCode(55296|je>>10,56320|je&1023)}}return Q}function A(g,w){return g>>>=0,g?Te(Re,g,w):""}function O(g,w,S,D){if(S>>>=0,!(D>0))return 0;for(var B=S,Q=S+D-1,W=0;W<g.length;++W){var q=g.charCodeAt(W);if(q>=55296&&q<=57343){var J=g.charCodeAt(++W);q=65536+((q&1023)<<10)|J&1023}if(q<=127){if(S>=Q)break;w[S++>>>0]=q}else if(q<=2047){if(S+1>=Q)break;w[S++>>>0]=192|q>>6,w[S++>>>0]=128|q&63}else if(q<=65535){if(S+2>=Q)break;w[S++>>>0]=224|q>>12,w[S++>>>0]=128|q>>6&63,w[S++>>>0]=128|q&63}else{if(S+3>=Q)break;w[S++>>>0]=240|q>>18,w[S++>>>0]=128|q>>12&63,w[S++>>>0]=128|q>>6&63,w[S++>>>0]=128|q&63}}return w[S>>>0]=0,S-B}function xe(g,w,S){return O(g,Re,w,S)}function be(g){for(var w=0,S=0;S<g.length;++S){var D=g.charCodeAt(S);D<=127?w++:D<=2047?w+=2:D>=55296&&D<=57343?(w+=4,++S):w+=3}return w}var Xe,Me,Re,Je,qt,M,me,de,Dt;function Wt(g){Xe=g,e.HEAP8=Me=new Int8Array(g),e.HEAP16=Je=new Int16Array(g),e.HEAP32=M=new Int32Array(g),e.HEAPU8=Re=new Uint8Array(g),e.HEAPU16=qt=new Uint16Array(g),e.HEAPU32=me=new Uint32Array(g),e.HEAPF32=de=new Float32Array(g),e.HEAPF64=Dt=new Float64Array(g)}var V=e.INITIAL_MEMORY||16777216,Pe,H=[],ue=[],Le=[],Ke=[],Ge=!1;function bt(){return te}function Tt(){if(e.preRun)for(typeof e.preRun=="function"&&(e.preRun=[e.preRun]);e.preRun.length;)ln(e.preRun.shift());wt(H)}function sn(){Ge=!0,wt(ue)}function on(){wt(Le)}function un(){if(e.postRun)for(typeof e.postRun=="function"&&(e.postRun=[e.postRun]);e.postRun.length;)fn(e.postRun.shift());wt(Ke)}function ln(g){H.unshift(g)}function cn(g){ue.unshift(g)}function fn(g){Ke.unshift(g)}var tt=0,$t=null,dt=null;function _n(g){tt++,e.monitorRunDependencies&&e.monitorRunDependencies(tt)}function dn(g){if(tt--,e.monitorRunDependencies&&e.monitorRunDependencies(tt),tt==0&&($t!==null&&(clearInterval($t),$t=null),dt)){var w=dt;dt=null,w()}}function Ne(g){e.onAbort&&e.onAbort(g),g="Aborted("+g+")",ae(g),ye=!0,x=1,g+=". Build with -sASSERTIONS for more info.",cr()}var pn="data:application/octet-stream;base64,";function Si(g){return g.startsWith(pn)}var Ue;e.locateFile?(Ue="./duckdb-eh.wasm",Si(Ue)||(Ue=_e(Ue))):Ue=new URL("./duckdb-eh.wasm",ey.url).toString();function Ei(g){try{if(g==Ue&&ee)return new Uint8Array(ee);if(Z)return Z(g);throw"both async and sync fetching of the wasm failed"}catch(w){Ne(w)}}function yn(){return!ee&&(N||T)&&typeof fetch=="function"?fetch(Ue,{credentials:"same-origin"}).then(function(g){if(!g.ok)throw"failed to load wasm binary file at '"+Ue+"'";return g.arrayBuffer()}).catch(function(){return Ei(Ue)}):Promise.resolve().then(function(){return Ei(Ue)})}function hn(){var g={a:Ca};function w(W,q){var J=W.exports;e.asm=J,K=e.asm.ja,Wt(K.buffer),Pe=e.asm.ma,cn(e.asm.ka),dn("wasm-instantiate")}_n("wasm-instantiate");function S(W){w(W.instance)}function D(W){return yn().then(function(q){return WebAssembly.instantiate(q,g)}).then(function(q){return q}).then(W,function(q){ae("failed to asynchronously prepare wasm: "+q),Ne(q)})}function B(){return!ee&&typeof WebAssembly.instantiateStreaming=="function"&&!Si(Ue)&&!L&&typeof fetch=="function"?fetch(Ue,{credentials:"same-origin"}).then(function(W){var q=WebAssembly.instantiateStreaming(W,g);return q.then(S,function(J){return ae("wasm streaming compile failed: "+J),ae("falling back to ArrayBuffer instantiation"),D(S)})}):D(S)}if(e.instantiateWasm)try{var Q=e.instantiateWasm(g,w);return Q}catch(W){ae("Module.instantiateWasm callback failed with error: "+W),d(W)}return B().catch(d),{}}function jt(g){this.name="ExitStatus",this.message="Program terminated with exit("+g+")",this.status=g}function wt(g){for(;g.length>0;)g.shift()(e)}function mn(g,w,S,D){Ne("Assertion failed: "+A(g)+", at: "+[w?A(w):"unknown filename",S,D?A(D):"unknown function"])}var kt={varargs:void 0,get:function(){kt.varargs+=4;var g=M[kt.varargs-4>>>2];return g},getStr:function(g){var w=A(g);return w}};function ii(g,w,S,D,B){for(var Q=0,W=w?M[w>>>2]:0,q=w?M[w+4>>>2]:0,J=S?M[S>>>2]:0,je=S?M[S+4>>>2]:0,we=D?M[D>>>2]:0,Ve=D?M[D+4>>>2]:0,Se=0,rt=0,Be=0,b=0,pe=0,j=0,m=(w?M[w>>>2]:0)|(S?M[S>>>2]:0)|(D?M[D>>>2]:0),ie=(w?M[w+4>>>2]:0)|(S?M[S+4>>>2]:0)|(D?M[D+4>>>2]:0),ke=function(yr,hr,mr,Bi){return yr<32?hr&Bi:mr&Bi},Ae=0;Ae<g;Ae++){var Qe=1<<Ae%32;if(!!ke(Ae,m,ie,Qe)){var Ot=kt.getStreamFromFD(Ae),zt=kt.DEFAULT_POLLMASK;Ot.stream_ops.poll&&(zt=Ot.stream_ops.poll(Ot)),zt&1&&ke(Ae,W,q,Qe)&&(Ae<32?Se=Se|Qe:rt=rt|Qe,Q++),zt&4&&ke(Ae,J,je,Qe)&&(Ae<32?Be=Be|Qe:b=b|Qe,Q++),zt&2&&ke(Ae,we,Ve,Qe)&&(Ae<32?pe=pe|Qe:j=j|Qe,Q++)}}return w&&(M[w>>>2]=Se,M[w+4>>>2]=rt),S&&(M[S>>>2]=Be,M[S+4>>>2]=b),D&&(M[D>>>2]=pe,M[D+4>>>2]=j),Q}function vn(){ae("missing function: $SOCKFS"),Ne(-1)}function Gt(){ae("missing function: $FS"),Ne(-1)}function Kt(g){var w=vn.getSocket(g);if(!w)throw new Gt.ErrnoError(8);return w}function it(g){return(g&255)+"."+(g>>8&255)+"."+(g>>16&255)+"."+(g>>24&255)}function ct(g){var w="",S=0,D=0,B=0,Q=0,W=0,q=0,J=[g[0]&65535,g[0]>>16,g[1]&65535,g[1]>>16,g[2]&65535,g[2]>>16,g[3]&65535,g[3]>>16],je=!0,we="";for(q=0;q<5;q++)if(J[q]!==0){je=!1;break}if(je){if(we=it(J[6]|J[7]<<16),J[5]===-1)return w="::ffff:",w+=we,w;if(J[5]===0)return w="::",we==="0.0.0.0"&&(we=""),we==="0.0.0.1"&&(we="1"),w+=we,w}for(S=0;S<8;S++)J[S]===0&&(S-B>1&&(W=0),B=S,W++),W>D&&(D=W,Q=S-D+1);for(S=0;S<8;S++){if(D>1&&J[S]===0&&S>=Q&&S<Q+D){S===Q&&(w+=":",Q===0&&(w+=":"));continue}w+=Number(Ii(J[S]&65535)).toString(16),w+=S<7?":":""}return w}function Ai(g,w){var S=Je[g>>>1],D=Ii(qt[g+2>>>1]),B;switch(S){case 2:if(w!==16)return{errno:28};B=M[g+4>>>2],B=it(B);break;case 10:if(w!==28)return{errno:28};B=[M[g+8>>>2],M[g+12>>>2],M[g+16>>>2],M[g+20>>>2]],B=ct(B);break;default:return{errno:5}}return{family:S,addr:B,port:D}}function Ct(g){for(var w=g.split("."),S=0;S<4;S++){var D=Number(w[S]);if(isNaN(D))return null;w[S]=D}return(w[0]|w[1]<<8|w[2]<<16|w[3]<<24)>>>0}function z(g){return parseInt(g)}function Ri(g){var w,S,D,B,Q=/^((?=.*::)(?!.*::.+::)(::)?([\dA-F]{1,4}:(:|\b)|){5}|([\dA-F]{1,4}:){6})((([\dA-F]{1,4}((?!\3)::|:\b|$))|(?!\2\3)){2}|(((2[0-4]|1\d|[1-9])?\d|25[0-5])\.?\b){4})$/i,W=[];if(!Q.test(g))return null;if(g==="::")return[0,0,0,0,0,0,0,0];for(g.startsWith("::")?g=g.replace("::","Z:"):g=g.replace("::",":Z:"),g.indexOf(".")>0?(g=g.replace(new RegExp("[.]","g"),":"),w=g.split(":"),w[w.length-4]=z(w[w.length-4])+z(w[w.length-3])*256,w[w.length-3]=z(w[w.length-2])+z(w[w.length-1])*256,w=w.slice(0,w.length-2)):w=g.split(":"),D=0,B=0,S=0;S<w.length;S++)if(typeof w[S]=="string")if(w[S]==="Z"){for(B=0;B<8-w.length+1;B++)W[S+B]=0;D=B-1}else W[S+D]=ci(parseInt(w[S],16));else W[S+D]=w[S];return[W[1]<<16|W[0],W[3]<<16|W[2],W[5]<<16|W[4],W[7]<<16|W[6]]}var at={address_map:{id:1,addrs:{},names:{}},lookup_name:function(g){var w=Ct(g);if(w!==null||(w=Ri(g),w!==null))return g;var S;if(at.address_map.addrs[g])S=at.address_map.addrs[g];else{var D=at.address_map.id++;ce(D<65535,"exceeded max address mappings of 65535"),S="172.29."+(D&255)+"."+(D&65280),at.address_map.names[S]=g,at.address_map.addrs[g]=S}return S},lookup_addr:function(g){return at.address_map.names[g]?at.address_map.names[g]:null}};function Vi(g,w,S){if(S&&g===0)return null;var D=Ai(g,w);if(D.errno)throw new Gt.ErrnoError(D.errno);return D.addr=at.lookup_addr(D.addr)||D.addr,D}function gn(g,w,S){var D=Kt(g),B=Vi(w,S);return D.sock_ops.bind(D,B.addr,B.port),0}function bn(g,w,S){var D=Kt(g),B=Vi(w,S);return D.sock_ops.connect(D,B.addr,B.port),0}function jn(g,w,S,D){}function wn(g,w,S){return kt.varargs=S,0}function kn(g,w){}function Cn(g,w,S){}function Sn(g,w,S){}function Qi(g,w){return Re.fill(0,g,g+w),g}function Di(g,w,S,D,B){switch(w){case 2:S=Ct(S),Qi(g,16),B&&(M[B>>>2]=16),Je[g>>>1]=w,M[g+4>>>2]=S,Je[g+2>>>1]=ci(D);break;case 10:S=Ri(S),Qi(g,28),B&&(M[B>>>2]=28),M[g>>>2]=w,M[g+8>>>2]=S[0],M[g+12>>>2]=S[1],M[g+16>>>2]=S[2],M[g+20>>>2]=S[3],Je[g+2>>>1]=ci(D);break;default:return 5}return 0}function St(g,w,S){var D=Kt(g);if(!D.daddr)return-53;var B=Di(w,D.family,at.lookup_name(D.daddr),D.dport,S);return 0}function En(g,w,S,D,B){var Q=Kt(g);return w===1&&S===4?(M[D>>>2]=Q.error,M[B>>>2]=4,Q.error=null,0):-50}function An(g,w,S){return kt.varargs=S,0}function zi(g,w){}function Yt(g,w,S){}function Ti(g,w,S,D){}function Xi(g,w,S,D){kt.varargs=D}function Ji(g,w,S,D,B,Q){var W=Kt(g),q=W.sock_ops.recvmsg(W,S);if(!q)return 0;if(B)var J=Di(B,W.family,at.lookup_name(q.addr),q.port,Q);return Re.set(q.buffer,w>>>0),q.buffer.byteLength}function ri(g,w,S,D){}function ni(g){}function Pi(g,w,S,D,B,Q){}function st(g,w,S){}function Zi(g,w){}function Rn(g,w,S){}function Dn(g){}var er="To use dlopen, you need enable dynamic linking, see https://github.com/emscripten-core/emscripten/wiki/Linking";function Tn(g,w){Ne(er)}function Pn(g,w){Ne(er)}var On=!0;function xn(){return On}function tr(){Ne("")}function Oi(g,w){return globalThis.DUCKDB_RUNTIME.createDirectory(e,g,w)}function Mn(g,w){return globalThis.DUCKDB_RUNTIME.checkDirectory(e,g,w)}function In(g,w){return globalThis.DUCKDB_RUNTIME.listDirectoryEntries(e,g,w)}function Fn(g,w){return globalThis.DUCKDB_RUNTIME.removeDirectory(e,g,w)}function Nn(g){return globalThis.DUCKDB_RUNTIME.closeFile(e,g)}function Bn(g,w){return globalThis.DUCKDB_RUNTIME.checkFile(e,g,w)}function Ln(g){return globalThis.DUCKDB_RUNTIME.getLastFileModificationTime(e,g)}function Un(g,w,S,D){return globalThis.DUCKDB_RUNTIME.moveFile(e,g,w,S,D)}function Hn(g,w){return globalThis.DUCKDB_RUNTIME.openFile(e,g,w)}function qn(g,w,S,D){return globalThis.DUCKDB_RUNTIME.readFile(e,g,w,S,D)}function Wn(g,w){return globalThis.DUCKDB_RUNTIME.truncateFile(e,g,w)}function $n(g,w,S,D){return globalThis.DUCKDB_RUNTIME.writeFile(e,g,w,S,D)}function Gn(g){return globalThis.DUCKDB_RUNTIME.getDefaultDataProtocol(g)}function Kn(g,w){return globalThis.DUCKDB_RUNTIME.glob(e,g,w)}function Yn(g){return globalThis.DUCKDB_RUNTIME.testPlatformFeature(e,g)}function Vn(g,w,S,D,B,Q){return globalThis.DUCKDB_RUNTIME.callScalarUDF(e,g,w,S,D,B,Q)}function ir(){return Date.now()}function rr(){return 4294901760}function Qn(){return rr()}var xi;L?xi=()=>{var g=process.hrtime();return g[0]*1e3+g[1]/1e6}:xi=()=>performance.now();function zn(g,w,S){Re.copyWithin(g>>>0,w>>>0,w+S>>>0)}function Xn(g){try{return K.grow(g-Xe.byteLength+65535>>>16),Wt(K.buffer),1}catch{}}function Jn(g){var w=Re.length;g=g>>>0;var S=rr();if(g>S)return!1;let D=(J,je)=>J+(je-J%je)%je;for(var B=1;B<=4;B*=2){var Q=w*(1+.2/B);Q=Math.min(Q,g+100663296);var W=Math.min(S,D(Math.max(g,Q),65536)),q=Xn(W);if(q)return!0}return!1}var Mi={};function Zn(){return E||"./this.program"}function Vt(){if(!Vt.strings){var g=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",w={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:g,_:Zn()};for(var S in Mi)Mi[S]===void 0?delete w[S]:w[S]=Mi[S];var D=[];for(var S in w)D.push(S+"="+w[S]);Vt.strings=D}return Vt.strings}function ea(g,w,S){for(var D=0;D<g.length;++D)Me[w++>>>0]=g.charCodeAt(D);S||(Me[w>>>0]=0)}function ta(g,w){var S=0;return Vt().forEach(function(D,B){var Q=w+S;me[g+B*4>>>2]=Q,ea(D,Q),S+=D.length+1}),0}function ia(g,w){var S=Vt();me[g>>>2]=S.length;var D=0;return S.forEach(function(B){D+=B.length+1}),me[w>>>2]=D,0}function ra(g){return 52}function na(g,w){var S=g==1||g==2?2:Ne();return Me[w>>>0]=S,0}function aa(g,w,S,D,B,Q){return 52}function sa(g,w,S,D,B,Q){return 52}function oa(g,w,S,D){return 52}function ua(g,w,S,D,B){return 70}function la(g){return 52}var ca=[null,[],[]];function fa(g,w){var S=ca[g];w===0||w===10?((g===1?oe:ae)(Te(S,0)),S.length=0):S.push(w)}function _a(g,w,S,D){for(var B=0,Q=0;Q<S;Q++){var W=me[w>>>2],q=me[w+4>>>2];w+=8;for(var J=0;J<q;J++)fa(g,Re[W+J>>>0]);B+=q}return me[D>>>2]=B,0}function nr(g,w,S,D){var B=0,Q=0,W=0,q=0,J=0,je=0,we;function Ve(Se,rt,Be,b,pe,j){var m,ie,ke,Ae;return ie=Se===10?28:16,pe=Se===10?ct(pe):it(pe),m=Fi(ie),Ae=Di(m,Se,pe,j),ce(!Ae),ke=Fi(32),M[ke+4>>>2]=Se,M[ke+8>>>2]=rt,M[ke+12>>>2]=Be,M[ke+24>>>2]=b,me[ke+20>>>2]=m,Se===10?M[ke+16>>>2]=28:M[ke+16>>>2]=16,M[ke+28>>>2]=0,ke}if(S&&(W=M[S>>>2],q=M[S+4>>>2],J=M[S+8>>>2],je=M[S+12>>>2]),J&&!je&&(je=J===2?17:6),!J&&je&&(J=je===17?2:1),je===0&&(je=6),J===0&&(J=1),!g&&!w)return-2;if(W&-1088||S!==0&&M[S>>>2]&2&&!g)return-1;if(W&32)return-2;if(J!==0&&J!==1&&J!==2)return-7;if(q!==0&&q!==2&&q!==10)return-6;if(w&&(w=A(w),Q=parseInt(w,10),isNaN(Q)))return W&1024?-2:-8;if(!g)return q===0&&(q=2),(W&1)===0&&(q===2?B=li(2130706433):B=[0,0,0,1]),we=Ve(q,J,je,null,B,Q),me[D>>>2]=we,0;if(g=A(g),B=Ct(g),B!==null)if(q===0||q===2)q=2;else if(q===10&&W&8)B=[0,0,li(65535),B],q=10;else return-2;else if(B=Ri(g),B!==null)if(q===0||q===10)q=10;else return-2;return B!=null?(we=Ve(q,J,je,g,B,Q),me[D>>>2]=we,0):W&4?-2:(g=at.lookup_name(g),B=Ct(g),q===0?q=2:q===10&&(B=[0,0,li(65535),B]),we=Ve(q,J,je,null,B,Q),me[D>>>2]=we,0)}function da(){if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function"){var g=new Uint8Array(1);return()=>(crypto.getRandomValues(g),g[0])}else if(L)try{var w=require("crypto");return()=>w.randomBytes(1)[0]}catch{}return()=>Ne("randomDevice")}function Pt(g,w){Pt.randomDevice||(Pt.randomDevice=da());for(var S=0;S<w;S++)Me[g+S>>>0]=Pt.randomDevice();return 0}function pa(g,w,S,D,B,Q,W){var q=Ai(g,w);if(q.errno)return-6;var J=q.port,je=q.addr,we=!1;if(S&&D){var Ve;if(W&1||!(Ve=at.lookup_addr(je))){if(W&8)return-2}else je=Ve;var Se=xe(je,S,D);Se+1>=D&&(we=!0)}if(B&&Q){J=""+J;var Se=xe(J,B,Q);Se+1>=Q&&(we=!0)}return we?-12:0}function ai(g){return g%4===0&&(g%100!==0||g%400===0)}function ya(g,w){for(var S=0,D=0;D<=w;S+=g[D++]);return S}var si=[31,29,31,30,31,30,31,31,30,31,30,31],ar=[31,28,31,30,31,30,31,31,30,31,30,31];function Qt(g,w){for(var S=new Date(g.getTime());w>0;){var D=ai(S.getFullYear()),B=S.getMonth(),Q=(D?si:ar)[B];if(w>Q-S.getDate())w-=Q-S.getDate()+1,S.setDate(1),B<11?S.setMonth(B+1):(S.setMonth(0),S.setFullYear(S.getFullYear()+1));else return S.setDate(S.getDate()+w),S}return S}function ha(g,w,S){var D=S>0?S:be(g)+1,B=new Array(D),Q=O(g,B,0,B.length);return w&&(B.length=Q),B}function sr(g,w){Me.set(g,w>>>0)}function ma(g,w,S,D){var B=M[D+40>>>2],Q={tm_sec:M[D>>>2],tm_min:M[D+4>>>2],tm_hour:M[D+8>>>2],tm_mday:M[D+12>>>2],tm_mon:M[D+16>>>2],tm_year:M[D+20>>>2],tm_wday:M[D+24>>>2],tm_yday:M[D+28>>>2],tm_isdst:M[D+32>>>2],tm_gmtoff:M[D+36>>>2],tm_zone:B?A(B):""},W=A(S),q={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var J in q)W=W.replace(new RegExp(J,"g"),q[J]);var je=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],we=["January","February","March","April","May","June","July","August","September","October","November","December"];function Ve(m,ie,ke){for(var Ae=typeof m=="number"?m.toString():m||"";Ae.length<ie;)Ae=ke[0]+Ae;return Ae}function Se(m,ie){return Ve(m,ie,"0")}function rt(m,ie){function ke(Qe){return Qe<0?-1:Qe>0?1:0}var Ae;return(Ae=ke(m.getFullYear()-ie.getFullYear()))===0&&(Ae=ke(m.getMonth()-ie.getMonth()))===0&&(Ae=ke(m.getDate()-ie.getDate())),Ae}function Be(m){switch(m.getDay()){case 0:return new Date(m.getFullYear()-1,11,29);case 1:return m;case 2:return new Date(m.getFullYear(),0,3);case 3:return new Date(m.getFullYear(),0,2);case 4:return new Date(m.getFullYear(),0,1);case 5:return new Date(m.getFullYear()-1,11,31);case 6:return new Date(m.getFullYear()-1,11,30)}}function b(m){var ie=Qt(new Date(m.tm_year+1900,0,1),m.tm_yday),ke=new Date(ie.getFullYear(),0,4),Ae=new Date(ie.getFullYear()+1,0,4),Qe=Be(ke),Ot=Be(Ae);return rt(Qe,ie)<=0?rt(Ot,ie)<=0?ie.getFullYear()+1:ie.getFullYear():ie.getFullYear()-1}var pe={"%a":function(m){return je[m.tm_wday].substring(0,3)},"%A":function(m){return je[m.tm_wday]},"%b":function(m){return we[m.tm_mon].substring(0,3)},"%B":function(m){return we[m.tm_mon]},"%C":function(m){var ie=m.tm_year+1900;return Se(ie/100|0,2)},"%d":function(m){return Se(m.tm_mday,2)},"%e":function(m){return Ve(m.tm_mday,2," ")},"%g":function(m){return b(m).toString().substring(2)},"%G":function(m){return b(m)},"%H":function(m){return Se(m.tm_hour,2)},"%I":function(m){var ie=m.tm_hour;return ie==0?ie=12:ie>12&&(ie-=12),Se(ie,2)},"%j":function(m){return Se(m.tm_mday+ya(ai(m.tm_year+1900)?si:ar,m.tm_mon-1),3)},"%m":function(m){return Se(m.tm_mon+1,2)},"%M":function(m){return Se(m.tm_min,2)},"%n":function(){return`
|
|
4
|
+
`},"%p":function(m){return m.tm_hour>=0&&m.tm_hour<12?"AM":"PM"},"%S":function(m){return Se(m.tm_sec,2)},"%t":function(){return" "},"%u":function(m){return m.tm_wday||7},"%U":function(m){var ie=m.tm_yday+7-m.tm_wday;return Se(Math.floor(ie/7),2)},"%V":function(m){var ie=Math.floor((m.tm_yday+7-(m.tm_wday+6)%7)/7);if((m.tm_wday+371-m.tm_yday-2)%7<=2&&ie++,ie){if(ie==53){var Ae=(m.tm_wday+371-m.tm_yday)%7;Ae!=4&&(Ae!=3||!ai(m.tm_year))&&(ie=1)}}else{ie=52;var ke=(m.tm_wday+7-m.tm_yday-1)%7;(ke==4||ke==5&&ai(m.tm_year%400-1))&&ie++}return Se(ie,2)},"%w":function(m){return m.tm_wday},"%W":function(m){var ie=m.tm_yday+7-(m.tm_wday+6)%7;return Se(Math.floor(ie/7),2)},"%y":function(m){return(m.tm_year+1900).toString().substring(2)},"%Y":function(m){return m.tm_year+1900},"%z":function(m){var ie=m.tm_gmtoff,ke=ie>=0;return ie=Math.abs(ie)/60,ie=ie/60*100+ie%60,(ke?"+":"-")+String("0000"+ie).slice(-4)},"%Z":function(m){return m.tm_zone},"%%":function(){return"%"}};W=W.replace(/%%/g,"\0\0");for(var J in pe)W.includes(J)&&(W=W.replace(new RegExp(J,"g"),pe[J](Q)));W=W.replace(/\0\0/g,"%");var j=ha(W,!1);return j.length>w?0:(sr(j,g),j.length-1)}function va(g,w,S,D,B){return ma(g,w,S,D)}function ga(g){x=g,bt()||(e.onExit&&e.onExit(g),ye=!0),R(g,new jt(g))}function ba(g,w){x=g,ga(g)}function ja(g){if(g instanceof jt||g=="unwind")return x;R(1,g)}function wa(g){var w=e["_"+g];return w}function ka(g,w,S,D,B){var Q={string:Be=>{var b=0;if(Be!=null&&Be!==0){var pe=(Be.length<<2)+1;b=Ni(pe),xe(Be,b,pe)}return b},array:Be=>{var b=Ni(Be.length);return sr(Be,b),b}};function W(Be){return w==="string"?A(Be):w==="boolean"?Boolean(Be):Be}var q=wa(g),J=[],je=0;if(D)for(var we=0;we<D.length;we++){var Ve=Q[S[we]];Ve?(je===0&&(je=fr()),J[we]=Ve(D[we])):J[we]=D[we]}var Se=q.apply(null,J);function rt(Be){return je!==0&&_r(je),W(Be)}return Se=rt(Se),Se}var Ca={a:mn,P:ii,T:gn,S:bn,L:jn,b:wn,ba:kn,w:Cn,Z:Sn,N:St,O:En,o:An,_:zi,ca:Yt,$:Ti,p:Xi,Q:Ji,J:ri,m:ni,R:Pi,k:st,aa:Zi,n:Rn,V:Dn,X:Tn,W:Pn,da:xn,d:tr,D:Oi,E:Mn,B:In,C:Fn,i:Nn,z:Bn,s:Ln,A:Un,G:Hn,e:qn,F:Wn,j:$n,H:Gn,y:Kn,g:Yn,I:Vn,ea:ir,fa:Qn,U:xi,ha:zn,ia:Jn,q:ta,r:ia,c:ra,v:na,u:aa,t:sa,h:oa,x:ua,K:la,f:_a,l:nr,Y:Pt,M:pa,ga:va},ru=hn(),Sa=e.___wasm_call_ctors=function(){return(Sa=e.___wasm_call_ctors=e.asm.ka).apply(null,arguments)},Ea=e._main=function(){return(Ea=e._main=e.asm.la).apply(null,arguments)},Aa=e._duckdb_web_fs_glob_add_path=function(){return(Aa=e._duckdb_web_fs_glob_add_path=e.asm.na).apply(null,arguments)},Ra=e._duckdb_web_clear_response=function(){return(Ra=e._duckdb_web_clear_response=e.asm.oa).apply(null,arguments)},oi=e._duckdb_web_fail_with=function(){return(oi=e._duckdb_web_fail_with=e.asm.pa).apply(null,arguments)},Da=e._duckdb_web_reset=function(){return(Da=e._duckdb_web_reset=e.asm.qa).apply(null,arguments)},Ta=e._duckdb_web_connect=function(){return(Ta=e._duckdb_web_connect=e.asm.ra).apply(null,arguments)},ui=e._duckdb_web_disconnect=function(){return(ui=e._duckdb_web_disconnect=e.asm.sa).apply(null,arguments)},Pa=e._duckdb_web_flush_files=function(){return(Pa=e._duckdb_web_flush_files=e.asm.ta).apply(null,arguments)},or=e._duckdb_web_flush_file=function(){return(or=e._duckdb_web_flush_file=e.asm.ua).apply(null,arguments)},ur=e._duckdb_web_open=function(){return(ur=e._duckdb_web_open=e.asm.va).apply(null,arguments)},Oa=e._duckdb_web_get_global_file_info=function(){return(Oa=e._duckdb_web_get_global_file_info=e.asm.wa).apply(null,arguments)},xa=e._duckdb_web_collect_file_stats=function(){return(xa=e._duckdb_web_collect_file_stats=e.asm.xa).apply(null,arguments)},lr=e._duckdb_web_export_file_stats=function(){return(lr=e._duckdb_web_export_file_stats=e.asm.ya).apply(null,arguments)},Ma=e._duckdb_web_fs_drop_file=function(){return(Ma=e._duckdb_web_fs_drop_file=e.asm.za).apply(null,arguments)},Ia=e._duckdb_web_fs_drop_files=function(){return(Ia=e._duckdb_web_fs_drop_files=e.asm.Aa).apply(null,arguments)},Fa=e._duckdb_web_fs_glob_file_infos=function(){return(Fa=e._duckdb_web_fs_glob_file_infos=e.asm.Ba).apply(null,arguments)},Na=e._duckdb_web_fs_get_file_info_by_id=function(){return(Na=e._duckdb_web_fs_get_file_info_by_id=e.asm.Ca).apply(null,arguments)},Ba=e._duckdb_web_fs_get_file_info_by_name=function(){return(Ba=e._duckdb_web_fs_get_file_info_by_name=e.asm.Da).apply(null,arguments)},La=e._duckdb_web_fs_register_file_url=function(){return(La=e._duckdb_web_fs_register_file_url=e.asm.Ea).apply(null,arguments)},Ua=e._duckdb_web_fs_register_file_buffer=function(){return(Ua=e._duckdb_web_fs_register_file_buffer=e.asm.Fa).apply(null,arguments)},Ha=e._duckdb_web_copy_file_to_buffer=function(){return(Ha=e._duckdb_web_copy_file_to_buffer=e.asm.Ga).apply(null,arguments)},nu=e._duckdb_web_copy_file_to_path=function(){return(nu=e._duckdb_web_copy_file_to_path=e.asm.Ha).apply(null,arguments)},qa=e._duckdb_web_get_version=function(){return(qa=e._duckdb_web_get_version=e.asm.Ia).apply(null,arguments)},Wa=e._duckdb_web_get_feature_flags=function(){return(Wa=e._duckdb_web_get_feature_flags=e.asm.Ja).apply(null,arguments)},$a=e._duckdb_web_tokenize=function(){return($a=e._duckdb_web_tokenize=e.asm.Ka).apply(null,arguments)},Ga=e._duckdb_web_udf_scalar_create=function(){return(Ga=e._duckdb_web_udf_scalar_create=e.asm.La).apply(null,arguments)},Ka=e._duckdb_web_prepared_create=function(){return(Ka=e._duckdb_web_prepared_create=e.asm.Ma).apply(null,arguments)},Ya=e._duckdb_web_prepared_close=function(){return(Ya=e._duckdb_web_prepared_close=e.asm.Na).apply(null,arguments)},Va=e._duckdb_web_prepared_run=function(){return(Va=e._duckdb_web_prepared_run=e.asm.Oa).apply(null,arguments)},Qa=e._duckdb_web_prepared_send=function(){return(Qa=e._duckdb_web_prepared_send=e.asm.Pa).apply(null,arguments)},za=e._duckdb_web_query_run=function(){return(za=e._duckdb_web_query_run=e.asm.Qa).apply(null,arguments)},Xa=e._duckdb_web_pending_query_start=function(){return(Xa=e._duckdb_web_pending_query_start=e.asm.Ra).apply(null,arguments)},Ja=e._duckdb_web_pending_query_poll=function(){return(Ja=e._duckdb_web_pending_query_poll=e.asm.Sa).apply(null,arguments)},Za=e._duckdb_web_pending_query_cancel=function(){return(Za=e._duckdb_web_pending_query_cancel=e.asm.Ta).apply(null,arguments)},es=e._duckdb_web_query_fetch_results=function(){return(es=e._duckdb_web_query_fetch_results=e.asm.Ua).apply(null,arguments)},ts=e._duckdb_web_get_tablenames=function(){return(ts=e._duckdb_web_get_tablenames=e.asm.Va).apply(null,arguments)},is=e._duckdb_web_insert_arrow_from_ipc_stream=function(){return(is=e._duckdb_web_insert_arrow_from_ipc_stream=e.asm.Wa).apply(null,arguments)},rs=e._duckdb_web_insert_csv_from_path=function(){return(rs=e._duckdb_web_insert_csv_from_path=e.asm.Xa).apply(null,arguments)},ns=e._duckdb_web_insert_json_from_path=function(){return(ns=e._duckdb_web_insert_json_from_path=e.asm.Ya).apply(null,arguments)},li=e._htonl=function(){return(li=e._htonl=e.asm.Za).apply(null,arguments)},ci=e._htons=function(){return(ci=e._htons=e.asm._a).apply(null,arguments)},Ii=e._ntohs=function(){return(Ii=e._ntohs=e.asm.$a).apply(null,arguments)},Fi=e._malloc=function(){return(Fi=e._malloc=e.asm.ab).apply(null,arguments)},as=e._free=function(){return(as=e._free=e.asm.bb).apply(null,arguments)},cr=e.___trap=function(){return(cr=e.___trap=e.asm.cb).apply(null,arguments)},fr=e.stackSave=function(){return(fr=e.stackSave=e.asm.db).apply(null,arguments)},_r=e.stackRestore=function(){return(_r=e.stackRestore=e.asm.eb).apply(null,arguments)},Ni=e.stackAlloc=function(){return(Ni=e.stackAlloc=e.asm.fb).apply(null,arguments)};e.ccall=ka;var fi;dt=function g(){fi||dr(),fi||(dt=g)};function ss(g){var w=e._main,S=0,D=0;try{var B=w(S,D);return ba(B,!0),B}catch(Q){return ja(Q)}}function dr(g){if(g=g||v,tt>0||(Tt(),tt>0))return;function w(){fi||(fi=!0,e.calledRun=!0,!ye&&(sn(),on(),l(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),pr&&ss(g),un()))}e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),w()},1)):w()}if(e.preInit)for(typeof e.preInit=="function"&&(e.preInit=[e.preInit]);e.preInit.length>0;)e.preInit.pop()();var pr=!0;return e.noInitialRun&&(pr=!1),dr(),t.ready}})(),ty=Dk;var an=class extends Ci{constructor(t,e,l,d=null){super(t,e,l,d)}instantiateImpl(t){return ty({...t,instantiateWasm:this.instantiateWasm.bind(this),locateFile:this.locateFile.bind(this)})}};async function Tk(r,t,e){return(await Ar()).wasmExceptions&&r.eh?new an(t,e,r.eh.mainModule):new nn(t,e,r.mvp.mainModule)}0&&(module.exports={ConsoleLogger,DEFAULT_RUNTIME,DuckDBBindingsBase,DuckDBConnection,DuckDBDataProtocol,DuckDBFeature,FileFlags,FileStatistics,JSONTableShape,LogEvent,LogLevel,LogOrigin,LogTopic,NODE_RUNTIME,PACKAGE_NAME,PACKAGE_VERSION,PACKAGE_VERSION_MAJOR,PACKAGE_VERSION_MINOR,PACKAGE_VERSION_PATCH,PreparedStatement,ResultStreamIterator,StatusCode,VoidLogger,callSRet,copyBuffer,createDuckDB,decodeText,dropResponseBuffers,failWith,getJsDelivrBundles,getLogEventLabel,getLogLevelLabel,getLogOriginLabel,getLogTopicLabel,getPlatformFeatures,isFirefox,isNode,isSafari,readString,selectBundle});
|
|
5
5
|
/*!
|
|
6
6
|
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
7
7
|
*
|