{"version":3,"sources":["jsdelivr-header.js","/npm/vuepress-plugin-musicbar-player@1.0.4/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,MAAM,KAAE,MAAS,QAAQ,0BACzB,OAAO,MAAQ,QAAQ,cAEvB,MAAM,eAAiB,CAAC,EAAS,KAAQ,CACvC,KAAM,YACN,gBAAiB,CAAC,KAAK,QAAQ,UAAW,sBAC1C,mBAAoB,WACpB,OAAQ,CACN,iBAAkB,EAClB,uBAAwB,EAAI,QAA+B,GAArB,EAAQ,WAEhD,WAAM,GAoBJ,QAAQ,IAAI,eACd,IAGF,OAAO,QAAU","file":"/npm/vuepress-plugin-musicbar-player@1.0.4/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/vuepress-plugin-musicbar-player@1.0.4/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","const { path } = require(\"@vuepress/shared-utils\");\r\nglobal.fetch = require(\"node-fetch\");\r\n\r\nconst MusicBarPlugin = (options, ctx) => ({\r\n  name: \"music-bar\",\r\n  enhanceAppFiles: [path.resolve(__dirname, \"enhanceAppFile.js\")],\r\n  globalUIComponents: \"MusicBar\",\r\n  define: {\r\n    MUSICBAR_OPTIONS: options,\r\n    MUSICBAR_ENABLE_DEBUG: !ctx.isProd && options.debugMode != false\r\n  },\r\n  async ready() {\r\n    // if (!ctx.isProd) {\r\n    //   console.log(\"\\n\");\r\n    //   if (options.debugMode != false) {\r\n    //     console.log(\r\n    //       \"\\x1b[32m[MusicBar]检测到当前为开发环境,将自动输出log到console\\x1b[0m\"\r\n    //     );\r\n    //     console.log(\r\n    //       \"\\x1b[32m[MusicBar]Detect that you are currently in the development environment, and automatically output log to the console\\x1b[0m\"\r\n    //     );\r\n    //   } else if (options.debugMode === false) {\r\n    //     console.log(\r\n    //       \"\\x1b[32m[MusicBar]检测到当前为开发环境,但debugMode被关闭了,将不会输出log\\x1b[0m\"\r\n    //     );\r\n    //     console.log(\r\n    //       \"\\x1b[32m[MusicBar]Detect that you are currently in the development environment, but debugMode is turned off, so no log will be output\\x1b[0m\"\r\n    //     );\r\n    //   }\r\n    //   console.log(\"\\n\");\r\n    // }\r\n    console.log('Hello World!');\r\n  }\r\n});\r\n\r\nmodule.exports = MusicBarPlugin;\r\n"]}