{"version":3,"sources":["jsdelivr-header.js","/npm/@modern-js/node-bundle-require@2.70.4/dist/cjs/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,UAAY,OAAO,eACnB,iBAAmB,OAAO,yBAC1B,kBAAoB,OAAO,oBAC3B,aAAe,OAAO,UAAU,eAChC,SAAW,CAAC,EAAQ,KACtB,IAAK,IAAI,KAAQ,EACf,UAAU,EAAQ,EAAM,CAAE,IAAK,EAAI,GAAO,YAAY,GAAO,EAE7D,YAAc,CAAC,EAAI,EAAM,EAAQ,KACnC,GAAI,GAAwB,iBAAT,GAAqC,mBAAT,EAC7C,IAAK,IAAI,KAAO,kBAAkB,GAC3B,aAAa,KAAK,EAAI,IAAQ,IAAQ,GACzC,UAAU,EAAI,EAAK,CAAE,IAAK,IAAM,EAAK,GAAM,aAAc,EAAO,iBAAiB,EAAM,KAAS,EAAK,aAE3G,OAAO,CAAE,EAEP,aAAgB,GAAQ,YAAY,UAAU,CAAC,EAAG,aAAc,CAAE,OAAO,IAAS,GAClF,YAAc,CAAC,EACnB,SAAS,YAAa,CACpB,OAAQ,IAAM,cAAc,OAC5B,cAAe,IAAM,cACrB,qBAAsB,IAAM,cAAc,uBAE5C,OAAO,QAAU,aAAa,aAC9B,IAAI,aAAe,QAAQ,oBACvB,cAAgB,QAAQ,YAC5B,eAAe,cAAc,EAAU,GACrC,MAAM,QAAmB,EAAI,cAAc,QAAQ,EAAU,GAC7D,IAAI,EACJ,MAAM,GAAO,aAAyC,EAAS,EAAQ,UAAY,QACnF,IACE,QAAY,EAAI,IAChB,EAAI,aAAa,oBAAoB,EACvC,CAAE,cAC8E,KAAzE,aAAyC,EAAS,EAAQ,YAAyB,EAAQ,YAC9F,aAAa,GAAG,WAAW,EAE/B,CACA,OAAO,CACT","file":"/npm/@modern-js/node-bundle-require@2.70.4/dist/cjs/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@modern-js/node-bundle-require@2.70.4/dist/cjs/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n  for (var name in all)\n    __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n  if (from && typeof from === \"object\" || typeof from === \"function\") {\n    for (let key of __getOwnPropNames(from))\n      if (!__hasOwnProp.call(to, key) && key !== except)\n        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n  }\n  return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar src_exports = {};\n__export(src_exports, {\n  bundle: () => import_bundle.bundle,\n  bundleRequire: () => bundleRequire,\n  defaultGetOutputFile: () => import_bundle.defaultGetOutputFile\n});\nmodule.exports = __toCommonJS(src_exports);\nvar import_utils = require(\"@modern-js/utils\");\nvar import_bundle = require(\"./bundle\");\nasync function bundleRequire(filepath, options) {\n  const configFile = await (0, import_bundle.bundle)(filepath, options);\n  let mod;\n  const req = (options === null || options === void 0 ? void 0 : options.require) || require;\n  try {\n    mod = await req(configFile);\n    (0, import_utils.deleteRequireCache)(configFile);\n  } finally {\n    if ((options === null || options === void 0 ? void 0 : options.autoClear) === void 0 || options.autoClear) {\n      import_utils.fs.unlinkSync(configFile);\n    }\n  }\n  return mod;\n}\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n  bundle,\n  bundleRequire,\n  defaultGetOutputFile\n});\n"]}