{"version":3,"file":"Tag.CPc8d6Rj.mjs","names":["forwardRef"],"sources":["https:/asset.29cm.co.kr/contents/framer/components/@shared/Tag/Tag.js"],"sourcesContent":["import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Tag = forwardRef(({\n  style,\n  theme = \"light\",\n  children,\n  active = false,\n  ...rest\n}, ref) => {\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...defaultColorByTheme[theme],\n    ...active ? activeStyleByTheme[theme] : {},\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  height: \"29px\",\n  flex: \"0 0 auto\",\n  display: \"flex\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  padding: \"0 14px\",\n  borderRadius: \"20px\",\n  fontFamily: \"'Pretendard Medium', 'Pretendard Medium Placeholder', sans-serif\",\n  fontSize: \"14px\",\n  whiteSpace: \"nowrap\",\n  cursor: \"pointer\"\n};\nconst defaultColorByTheme = {\n  light: {\n    backgroundColor: \"#f4f4f4\",\n    color: \"#474747\"\n  },\n  dark: {\n    backgroundColor: \"#19191a\",\n    color: \"#a0a0a0\"\n  }\n};\nconst activeStyleByTheme = {\n  light: {\n    backgroundColor: \"#000\",\n    color: \"#fff\"\n  },\n  dark: {\n    backgroundColor: \"#3d3d3d\",\n    color: \"#fff\"\n  }\n};\nexport {\n  Tag\n};\n"],"mappings":"2IAAwC,IACL,CAC7B,EAAMA,GAAY,CACtB,QACA,QAAQ,QACR,WACA,SAAS,GACT,GAAG,GACF,IACsB,EAAI,MAAO,CAAE,MAAK,GAAG,EAAM,MAAO,CACvD,GAAG,EACH,GAAG,EAAoB,GACvB,GAAG,EAAS,EAAmB,GAAS,EAAE,CAC1C,GAAG,EACJ,CAAE,WAAU,CAAC,CACd,CACI,EAAiB,CACrB,OAAQ,OACR,KAAM,WACN,QAAS,OACT,WAAY,SACZ,eAAgB,SAChB,QAAS,SACT,aAAc,OACd,WAAY,mEACZ,SAAU,OACV,WAAY,SACZ,OAAQ,UACT,CACK,EAAsB,CAC1B,MAAO,CACL,gBAAiB,UACjB,MAAO,UACR,CACD,KAAM,CACJ,gBAAiB,UACjB,MAAO,UACR,CACF,CACK,EAAqB,CACzB,MAAO,CACL,gBAAiB,OACjB,MAAO,OACR,CACD,KAAM,CACJ,gBAAiB,UACjB,MAAO,OACR,CACF"}