import{ha as a,i}from"./chunk-UZ7U322K.js";import{Fb as e,Hb as r}from"./chunk-EYDNSYYE.js";import{g as u}from"./chunk-VKWPEFWQ.js";u();async function f(n,t,o){return c(n,t,o,"text")}async function c(n,t,o,S){return await a(t,o.source),S==="json"?r`${e.json({SHOPIFY_API_KEY:t.apiKey,SHOPIFY_API_SECRET:t.apiSecretKeys[0]?.secret,SCOPES:i(n.configuration)})}`:r`
    ${e.green("SHOPIFY_API_KEY")}=${t.apiKey}
    ${e.green("SHOPIFY_API_SECRET")}=${t.apiSecretKeys[0]?.secret??""}
    ${e.green("SCOPES")}=${i(n.configuration)}
  `}export{f as a,c as b};
