{"version":3,"file":"inline-one-server-url.js","names":[],"sources":["esm/babel-plugins/inline-one-server-url.js"],"sourcesContent":["function pluginInlineOneServerUrl() {\n  const serverUrl = process.env.ONE_SERVER_URL;\n  return {\n    visitor: {\n      MemberExpression(nodePath) {\n        const { node } = nodePath;\n        if (node.object?.type === \"MemberExpression\" && node.object.object?.name === \"process\" && node.object.property?.name === \"env\" && node.property?.name === \"ONE_SERVER_URL\") {\n          nodePath.replaceWith({\n            type: \"StringLiteral\",\n            value: serverUrl || \"\"\n          });\n        }\n      }\n    }\n  };\n}\nexport {\n  pluginInlineOneServerUrl as default\n};\n//# sourceMappingURL=inline-one-server-url.js.map\n"],"mappings":";AAAA,SAAS,2BAA2B;CAClC,MAAM,YAAY,QAAQ,IAAI;CAC9B,OAAO,EACL,SAAS,EACP,iBAAiB,UAAU;EACzB,MAAM,EAAE,SAAS;EACjB,IAAI,KAAK,QAAQ,SAAS,sBAAsB,KAAK,OAAO,QAAQ,SAAS,aAAa,KAAK,OAAO,UAAU,SAAS,SAAS,KAAK,UAAU,SAAS,kBAAkB;GAC1K,SAAS,YAAY;IACnB,MAAM;IACN,OAAO,aAAa;GACtB,CAAC;EACH;CACF,EACF,EACF;AACF"}