{
  "version": 3,
  "sources": ["ssg:https://asset.29cm.co.kr/contents/framer/hooks/useCreateIsomorphicAppSchemeLink.js", "ssg:https://asset.29cm.co.kr/contents/framer/utils/getAnchorTarget.js"],
  "sourcesContent": ["import { useDeviceInfo } from \"./useDeviceInfo.js\";\nconst useCreateIsomorphicAppSchemeLink = (url) => {\n  const {\n    isWebview\n  } = useDeviceInfo();\n  return isWebview && url ? `app29cm://web/${url}` : url;\n};\nexport {\n  useCreateIsomorphicAppSchemeLink\n};\n", "import { isServer } from \"./context.js\";\nconst getAnchorTarget = (url) => {\n  if (isServer()) {\n    return \"_self\";\n  }\n  return normalizeURL(url) === normalizeURL(window.location.href) ? \"_self\" : \"_blank\";\n};\nconst normalizeURL = (url) => {\n  const hasOrigin = !url.startsWith(\"/\");\n  try {\n    const {\n      origin,\n      pathname\n    } = new URL(hasOrigin ? url : `${window.location.origin}${url}`);\n    return `${origin}${pathname}`;\n  } catch (error) {\n    return \"\";\n  }\n};\nexport {\n  getAnchorTarget\n};\n"],
  "mappings": "sGAAAA,IACA,IAAMC,EAAoCC,GAAQ,CAChD,GAAM,CACJ,UAAAC,CACF,EAAIC,EAAc,EAClB,OAAOD,GAAaD,EAAM,iBAAiBA,IAAQA,CACrD,ECNAG,IACA,IAAMC,EAAmBC,GACnBC,EAAS,GAGNC,EAAaF,CAAG,IAAME,EAAa,OAAO,SAAS,IAAI,EAFrD,QAEmE,SAExEA,EAAgBF,GAAQ,CAC5B,IAAMG,EAAY,CAACH,EAAI,WAAW,GAAG,EACrC,GAAI,CACF,GAAM,CACJ,OAAAI,EACA,SAAAC,CACF,EAAI,IAAI,IAAIF,EAAYH,EAAM,GAAG,OAAO,SAAS,SAASA,GAAK,EAC/D,MAAO,GAAGI,IAASC,GACrB,MAAE,CACA,MAAO,EACT,CACF",
  "names": ["init_ssg_sandbox_shims", "useCreateIsomorphicAppSchemeLink", "url", "isWebview", "useDeviceInfo", "init_ssg_sandbox_shims", "getAnchorTarget", "url", "isServer", "normalizeURL", "hasOrigin", "origin", "pathname"]
}
