{"version":3,"sources":["../../../../node_modules/.pnpm/tsup@8.3.6_@microsoft+api-extractor@7.50.0_@types+node@22.10.3__@swc+core@1.10.16_postc_03c3c41646e3d36e6da280f072d7cb37/node_modules/tsup/assets/cjs_shims.js"],"names":["getImportMetaUrl","importMetaUrl","document","URL","__filename","href","currentScript","src","baseURI"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAKMA,gBAMOC,CAAAA,CAAAA;AAXb,IAAA,cAAA,GAAA,KAAA,CAAA;;AAKA,IAAMD,gBAAAA,gCACJ,OAAOE,QAAAA,KAAa,cAChB,IAAIC,GAAAA,CAAI,CAAQC,KAAAA,EAAAA,UAAAA,CAAY,CAAA,CAAA,CAAEC,OAC7BH,QAASI,CAAAA,aAAAA,IAAiBJ,QAASI,CAAAA,aAAAA,CAAcC,GAClD,IAAA,IAAIJ,IAAI,SAAWD,EAAAA,QAAAA,CAASM,OAAO,CAAA,CAAEH,IAJlB,EAAA,kBAAA,CAAA;AAMlB,IAAMJ,wCAAgCD,gBAAAA,EAAAA","file":"chunk-4WFQLW2E.cjs","sourcesContent":["// Shim globals in cjs bundle\n// There's a weird bug that esbuild will always inject importMetaUrl\n// if we export it as `const importMetaUrl = ... __filename ...`\n// But using a function will not cause this issue\n\nconst getImportMetaUrl = () =>\n  typeof document === 'undefined'\n    ? new URL(`file:${__filename}`).href\n    : (document.currentScript && document.currentScript.src) ||\n      new URL('main.js', document.baseURI).href\n\nexport const importMetaUrl = /* @__PURE__ */ getImportMetaUrl()\n"]}