{
  "version": 3,
  "sources": ["ssg:https://asset.29cm.co.kr/contents/framer/components/primitives/Notification/Notification.js", "ssg:https://framerusercontent.com/modules/Y5P4KUxfwofaqfFoGMRK/916PgJs74EAEHPoPo2Ge/Notification.js"],
  "sourcesContent": ["import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { cloneFramerChildren } from \"../../../utils/cloneFramerChildren.js\";\nimport { useNotification } from \"./Notification.hooks.js\";\nimport { ComponentName } from \"../../../styles/ComponentName.js\";\nimport \"react\";\nimport { createWithStyle } from \"../../../styles/createWithStyle.js\";\nimport { css } from \"../../../styles/css.js\";\nconst {\n  classNames,\n  withStyle\n} = createWithStyle(ComponentName.Notification, {\n  container: css`\n    width: 100%;\n    height: auto;\n\n    & > * {\n      width: 100% !important;\n    }\n  `\n});\nconst NotificationInner = ({\n  children,\n  notificationKey,\n  childrenOnRegistered\n}) => {\n  const {\n    isRegistered,\n    registerNotification,\n    notifyAlreadyRegistered\n  } = useNotification(notificationKey);\n  if (isRegistered && childrenOnRegistered) {\n    return cloneFramerChildren(childrenOnRegistered, {\n      onClick: notifyAlreadyRegistered\n    });\n  }\n  return cloneFramerChildren(children, {\n    onClick: registerNotification\n  });\n};\nconst Notification = withStyle((props) => {\n  return /* @__PURE__ */ jsx(\"div\", { className: classNames.container, children: /* @__PURE__ */ jsx(NotificationInner, { ...props }) }, props.notificationKey);\n});\naddPropertyControls(Notification, {\n  notificationKey: {\n    title: \"[\uD544\uC218] \uC54C\uB9BC \uC2E0\uCCAD \uC5EC\uBD80 \uAD6C\uBD84 \uD0A4 \uAC12\",\n    description: \"{\uC2DC\uB9AC\uC988 \uC601\uBB38\uBA85}-{\uC5D0\uD53C\uC18C\uB4DC \uC601\uBB38\uBA85}-notification \uD615\uD0DC\uB85C \uC785\uB825\\nex. limited-order-keen-themuseumvisitor-notification\",\n    type: ControlType.String\n  },\n  children: {\n    title: \"\uC54C\uB9BC \uC2E0\uCCAD \uCEF4\uD3EC\uB10C\uD2B8\",\n    type: ControlType.ComponentInstance\n  },\n  childrenOnRegistered: {\n    title: \"\uC54C\uB9BC \uC2E0\uCCAD \uD65C\uC131\uD654 \uC2DC \uCEF4\uD3EC\uB10C\uD2B8\",\n    type: ControlType.ComponentInstance\n  }\n});\nexport {\n  Notification\n};\n", "import{Notification}from\"https://asset.29cm.co.kr/contents/framer/components/primitives/Notification/Notification.js\";// import { Notification } from \"http://localhost:4173/components/primitives/Notification/Notification.js\"\nNotification.displayName=\"Notification\";/**\n * @framerDisableUnlink\n */export default Notification;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Notification\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Notification.map"],
  "mappings": "qMAQA,GAAM,CACJ,WAAAA,EACA,UAAAC,CACF,EAAIC,EAAgBC,EAAc,aAAc,CAC9C,UAAWC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAQb,CAAC,EACKC,EAAoB,CAAC,CACzB,SAAAC,EACA,gBAAAC,EACA,qBAAAC,CACF,IAAM,CACJ,GAAM,CACJ,aAAAC,EACA,qBAAAC,EACA,wBAAAC,CACF,EAAIC,EAAgBL,CAAe,EACnC,OAAIE,GAAgBD,EACXK,EAAoBL,EAAsB,CAC/C,QAASG,CACX,CAAC,EAEIE,EAAoBP,EAAU,CACnC,QAASI,CACX,CAAC,CACH,EACMI,EAAeb,EAAWc,GACPC,EAAI,MAAO,CAAE,UAAWhB,EAAW,UAAW,SAA0BgB,EAAIX,EAAmB,CAAE,GAAGU,CAAM,CAAC,CAAE,EAAGA,EAAM,eAAe,CAC7J,EACDE,EAAoBH,EAAc,CAChC,gBAAiB,CACf,MAAO,mFACP,YAAa;AAAA,sDACb,KAAMI,EAAY,MACpB,EACA,SAAU,CACR,MAAO,qDACP,KAAMA,EAAY,iBACpB,EACA,qBAAsB,CACpB,MAAO,+EACP,KAAMA,EAAY,iBACpB,CACF,CAAC,ECxDDC,EAAa,YAAY,eAEtB,IAAOC,EAAQD",
  "names": ["classNames", "withStyle", "createWithStyle", "ComponentName", "css", "NotificationInner", "children", "notificationKey", "childrenOnRegistered", "isRegistered", "registerNotification", "notifyAlreadyRegistered", "useNotification", "cloneFramerChildren", "Notification", "props", "p", "addPropertyControls", "ControlType", "Notification", "Notification_default"]
}
