/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@leanup/stack@1.3.54/dist/cjs/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.REPLACEMENTS=exports.PROXIES=void 0;const fs=require("fs"),path=require("path");exports.PROXIES={};try{exports.PROXIES=JSON.parse(fs.readFileSync(path.resolve(process.cwd(),"proxy.conf.json"),"utf-8"))}catch(p){exports.PROXIES={}}let packageJsonApp,packageJsonCli;try{packageJsonApp=JSON.parse(fs.readFileSync(path.resolve(process.cwd(),"package.json"),"utf-8"))}catch(p){packageJsonApp={}}try{packageJsonCli=JSON.parse(fs.readFileSync(path.resolve(process.cwd(),"node_modules/@leanup/stack/package.json"),"utf-8"))}catch(p){packageJsonCli={}}switch(exports.REPLACEMENTS=[],process.env.NODE_ENV){case"development":case"production":exports.REPLACEMENTS.push({from:"$$NODE_ENV$$",to:process.env.NODE_ENV})}"string"==typeof packageJsonApp.name&&exports.REPLACEMENTS.push({from:"$$APP_NAME$$",to:packageJsonApp.name}),"string"==typeof packageJsonApp.version&&exports.REPLACEMENTS.push({from:"$$APP_VERSION$$",to:packageJsonApp.version}),"string"==typeof packageJsonApp.author?exports.REPLACEMENTS.push({from:"$$APP_AUTHOR$$",to:packageJsonApp.author}):"object"==typeof packageJsonApp.author&&null!=packageJsonApp.author&&("string"==typeof packageJsonApp.author.name&&exports.REPLACEMENTS.push({from:"$$APP_AUTHOR_NAME$$",to:packageJsonApp.author.name}),"string"==typeof packageJsonApp.author.mail&&exports.REPLACEMENTS.push({from:"$$APP_AUTHOR_MAIL$$",to:packageJsonApp.author.mail}),"string"==typeof packageJsonApp.author.url&&exports.REPLACEMENTS.push({from:"$$APP_AUTHOR_URL$$",to:packageJsonApp.author.url})),"string"==typeof packageJsonApp.homepage&&exports.REPLACEMENTS.push({from:"$$APP_HOMEPAGE$$",to:packageJsonApp.homepage}),"string"==typeof packageJsonCli.name&&exports.REPLACEMENTS.push({from:"$$CLI_NAME$$",to:packageJsonCli.name}),"string"==typeof packageJsonCli.version&&exports.REPLACEMENTS.push({from:"$$CLI_VERSION$$",to:packageJsonCli.version});
//# sourceMappingURL=/sm/0e72336bd2d52fad8e37879d89d086e2ea459778375fd08bef45ceeb946da3a2.map