{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/MYr1AFTnHiOBXB2sbTDs/T8xt0iX6DU3QCLROaNw1/Countdown.js", "ssg:https://framerusercontent.com/modules/UtriMZNreMlYjnOdTaqJ/nlwLyM4MwHMfbH8OtNNP/Tyu7EX3in.js", "ssg:https://asset.29cm.co.kr/contents/framer/libs/property-controls/coupon.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.constants.js", "ssg:https://asset.29cm.co.kr/contents/framer/utils/object.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Root.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Description.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Divider.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Button.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Summary.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/Title.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/@shared/Coupon/index.js", "ssg:https://asset.29cm.co.kr/contents/framer/hooks/fetchers/useFetchDownloadableCouponSummaries.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/NoticesElement/NoticesElement.utils.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/NoticesElement/NoticesElement.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponElement/CouponElement.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/LinkedCouponModule/LinkedCouponModule.js", "ssg:https://asset.29cm.co.kr/contents/framer/libs/property-controls/coupon-notices.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.controls.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/AutoCouponModule/AutoCouponModule.hooks.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/AutoCouponModule/AutoCouponModule.js", "ssg:https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.js", "ssg:https://framerusercontent.com/modules/v2w1uRsZPJslVNIRLCeW/cDblINI0HGV04yCjN6VP/CouponModule.js", "ssg:https://framerusercontent.com/modules/wYy1lVS2TPi11mhnciWI/3wYsX1hjdU6aK3lwkKZ5/tCa47kU8O.js", "ssg:https://framerusercontent.com/modules/OcRp9niigGrghTCU6cud/jQmmAk0e8L3mj8CHaxs1/TgLm5qCi4.js"],
  "sourcesContent": ["import{Countdown}from\"https://asset.29cm.co.kr/contents/framer/components/systems/Countdown/Countdown.js\";Countdown.displayName=\"Countdown\";/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default Countdown;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Countdown\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Countdown.map", "// Generated by Framer (47ebf4a)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Schedulable from\"https://framerusercontent.com/modules/bv2yzxT3iEOjAMleVPGP/8UbCcuQA0I1fhMsF0CR6/Schedulable.js\";import Countdown from\"https://framerusercontent.com/modules/MYr1AFTnHiOBXB2sbTDs/T8xt0iX6DU3QCLROaNw1/Countdown.js\";const CountdownFonts=getFonts(Countdown);const SchedulableFonts=getFonts(Schedulable);const cycleOrder=[\"InbSkRciy\",\"bGyzOaTLX\",\"cZmw3YLA8\",\"fld32NRlk\"];const serializationHash=\"framer-aLKhb\";const variantClassNames={bGyzOaTLX:\"framer-v-5l3ake\",cZmw3YLA8:\"framer-v-1m3syqy\",fld32NRlk:\"framer-v-15frcss\",InbSkRciy:\"framer-v-10txde5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Mo-Dark\":\"bGyzOaTLX\",\"Mo-Light\":\"InbSkRciy\",\"Web-Dark\":\"fld32NRlk\",\"Web-Light\":\"cZmw3YLA8\"};const getProps=({_,_1,_2,_3,_4,_5,_6,_7,_8,height,id,width,...props})=>{return{...props,A65qOvpHN:_??props.A65qOvpHN??\"Ep.30\",cvRPfO_oF:_7??props.cvRPfO_oF??\"rgb(255, 255, 255)\",E_bCBBmYS:_3??props.E_bCBBmYS??true,i6ShT9Z79:_5??props.i6ShT9Z79??true,I750mv33P:_4??props.I750mv33P??\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\",j6wLiMkYg:_6??props.j6wLiMkYg??\"2025-03-11T00:00:00.000Z\",jq1oSTO8b:_1??props.jq1oSTO8b??true,L0bgxUyiY:_2??props.L0bgxUyiY??\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\",qIYt8wsAH:_8??props.qIYt8wsAH??true,variant:humanReadableVariantMap[props.variant]??props.variant??\"InbSkRciy\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,A65qOvpHN,jq1oSTO8b,L0bgxUyiY,E_bCBBmYS,I750mv33P,i6ShT9Z79,j6wLiMkYg,cvRPfO_oF,qIYt8wsAH,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"InbSkRciy\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-10txde5\",className,classNames),\"data-framer-name\":\"Mo-Light\",layoutDependency:layoutDependency,layoutId:\"InbSkRciy\",ref:refBinding,style:{backgroundColor:cvRPfO_oF,...style},...addPropertyOverrides({bGyzOaTLX:{\"data-framer-name\":\"Mo-Dark\"},cZmw3YLA8:{\"data-framer-name\":\"Web-Light\"},fld32NRlk:{\"data-framer-name\":\"Web-Dark\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-ghv9t1\",\"data-framer-name\":\"IntroTxt\",layoutDependency:layoutDependency,layoutId:\"cPMtu9WK2\",children:[jq1oSTO8b&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-19k7mu9\",\"data-framer-name\":\"IntroHeader\",layoutDependency:layoutDependency,layoutId:\"ICr5IlSiM\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h1,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-letter-spacing\":\"0.05em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\"},children:\"Ep.30\"})}),className:\"framer-1ysixwg\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"fGi4M3wF4\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:A65qOvpHN,variants:{bGyzOaTLX:{\"--extracted-gdpscs\":\"rgb(255, 255, 255)\"},fld32NRlk:{\"--extracted-gdpscs\":\"rgb(255, 255, 255)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({bGyzOaTLX:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h1,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-letter-spacing\":\"0.05em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-gdpscs, rgb(255, 255, 255))\"},children:\"Ep.30\"})})},fld32NRlk:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h1,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-letter-spacing\":\"0.05em\",\"--framer-line-height\":\"1em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-gdpscs, rgb(255, 255, 255))\"},children:\"Ep.30\"})})}},baseVariant,gestureVariant)})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1hfajhs\",\"data-framer-name\":\"IntroDescription\",layoutDependency:layoutDependency,layoutId:\"YvpveF1Ia\",children:[E_bCBBmYS&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif',\"--framer-font-size\":\"22px\",\"--framer-line-height\":\"1.3em\",\"--framer-text-alignment\":\"center\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})}),className:\"framer-32cc3l\",fonts:[\"CUSTOM;Pretendard SemiBold\"],layoutDependency:layoutDependency,layoutId:\"f7reQ5VUf\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:L0bgxUyiY,variants:{bGyzOaTLX:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},fld32NRlk:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({bGyzOaTLX:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif',\"--framer-font-size\":\"22px\",\"--framer-line-height\":\"1.3em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})})},cZmw3YLA8:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-line-height\":\"1.3em\",\"--framer-text-alignment\":\"center\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})})},fld32NRlk:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Pretendard SemiBold\", \"Pretendard SemiBold Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-line-height\":\"1.3em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\"})})}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(0, 0, 0, 0.8))\",\"--framer-text-transform\":\"inherit\"},children:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\"})}),className:\"framer-1dlpiuo\",fonts:[\"CUSTOM;Pretendard Regular\"],layoutDependency:layoutDependency,layoutId:\"UK3hlMHoJ\",style:{\"--extracted-r6o4lv\":\"rgba(0, 0, 0, 0.8)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:I750mv33P,variants:{bGyzOaTLX:{\"--extracted-r6o4lv\":\"rgba(255, 255, 255, 0.8)\"},fld32NRlk:{\"--extracted-r6o4lv\":\"rgba(255, 255, 255, 0.8)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({bGyzOaTLX:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(255, 255, 255, 0.8))\",\"--framer-text-transform\":\"inherit\"},children:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\"})})},cZmw3YLA8:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(0, 0, 0, 0.8))\",\"--framer-text-transform\":\"inherit\"},children:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\"})})},fld32NRlk:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgUmVndWxhcg==\",\"--framer-font-family\":'\"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-line-height\":\"1.6em\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgba(255, 255, 255, 0.8))\",\"--framer-text-transform\":\"inherit\"},children:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\"})})}},baseVariant,gestureVariant)})]})]}),i6ShT9Z79&&/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1e41ywk-container\",\"data-framer-name\":\"SchedulableDatePC\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"s1KkadnSE-container\",name:\"SchedulableDatePC\",nodeId:\"s1KkadnSE\",rendersWithMotion:true,scopeId:\"Tyu7EX3in\",children:/*#__PURE__*/_jsx(Schedulable,{components:[/*#__PURE__*/_jsxs(motion.div,{className:\"framer-19k5oez\",\"data-framer-name\":\"ClosePC\",layoutDependency:layoutDependency,layoutId:\"jE4vZfLMe\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h4,{style:{\"--font-selector\":\"Q1VTVE9NO1ByZXRlbmRhcmQgQm9sZA==\",\"--framer-font-family\":'\"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-line-height\":\"1.4em\",\"--framer-text-color\":\"var(--extracted-1eung3n, var(--token-a0534043-0dde-4df4-ae78-dd811455e368, rgb(160, 160, 160)))\"},children:\"\uC774\uBCA4\uD2B8 \uC885\uB8CC\"})}),className:\"framer-njnrdf\",fonts:[\"CUSTOM;Pretendard Bold\"],layoutDependency:layoutDependency,layoutId:\"tNeTnCqFO\",style:{\"--extracted-1eung3n\":\"var(--token-a0534043-0dde-4df4-ae78-dd811455e368, rgb(160, 160, 160))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-sshjpi-container\",inComponentSlot:true,isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"CGCD0e4rL-container\",nodeId:\"CGCD0e4rL\",rendersWithMotion:true,scopeId:\"Tyu7EX3in\",children:/*#__PURE__*/_jsx(Countdown,{color:\"var(--token-a0534043-0dde-4df4-ae78-dd811455e368, rgb(160, 160, 160))\",dateDisplayFormat:\"'D'-D\",fontSize:14,height:\"100%\",id:\"CGCD0e4rL\",layoutId:\"CGCD0e4rL\",targetDateString:j6wLiMkYg,targetTimeString:\"23:59:59\",timeDisplayFormat:\"none\",width:\"100%\"})})})]})],height:\"100%\",id:\"s1KkadnSE\",layoutId:\"s1KkadnSE\",name:\"SchedulableDatePC\",repeatSchedules:[],schedules:[{scheduledAt:{date:\"2024-02-23T00:00:00.000Z\",hours:10,minutes:0,seconds:0},sequence:1}],scheduleType:0,width:\"100%\"})})}),qIYt8wsAH&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ru61gx\",layoutDependency:layoutDependency,layoutId:\"QObkLMvPI\"})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-aLKhb.framer-mfh7yw, .framer-aLKhb .framer-mfh7yw { display: block; }\",\".framer-aLKhb.framer-10txde5 { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; overflow: hidden; padding: 56px 20px 32px 20px; position: relative; width: 335px; }\",\".framer-aLKhb .framer-ghv9t1 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 24px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-aLKhb .framer-19k7mu9 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; }\",\".framer-aLKhb .framer-1ysixwg { flex: none; height: auto; overflow: visible; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-aLKhb .framer-1hfajhs { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-aLKhb .framer-32cc3l, .framer-aLKhb .framer-1dlpiuo { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-aLKhb .framer-1e41ywk-container, .framer-aLKhb .framer-sshjpi-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-aLKhb .framer-19k5oez { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-aLKhb .framer-njnrdf { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-aLKhb .framer-1ru61gx { flex: none; height: 8px; overflow: hidden; position: relative; width: 100%; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-aLKhb.framer-10txde5, .framer-aLKhb .framer-ghv9t1, .framer-aLKhb .framer-19k7mu9, .framer-aLKhb .framer-1hfajhs, .framer-aLKhb .framer-19k5oez { gap: 0px; } .framer-aLKhb.framer-10txde5 > * { margin: 0px; margin-bottom: calc(16px / 2); margin-top: calc(16px / 2); } .framer-aLKhb.framer-10txde5 > :first-child, .framer-aLKhb .framer-ghv9t1 > :first-child, .framer-aLKhb .framer-19k7mu9 > :first-child, .framer-aLKhb .framer-1hfajhs > :first-child { margin-top: 0px; } .framer-aLKhb.framer-10txde5 > :last-child, .framer-aLKhb .framer-ghv9t1 > :last-child, .framer-aLKhb .framer-19k7mu9 > :last-child, .framer-aLKhb .framer-1hfajhs > :last-child { margin-bottom: 0px; } .framer-aLKhb .framer-ghv9t1 > * { margin: 0px; margin-bottom: calc(24px / 2); margin-top: calc(24px / 2); } .framer-aLKhb .framer-19k7mu9 > *, .framer-aLKhb .framer-1hfajhs > * { margin: 0px; margin-bottom: calc(8px / 2); margin-top: calc(8px / 2); } .framer-aLKhb .framer-19k5oez > * { margin: 0px; margin-left: calc(5px / 2); margin-right: calc(5px / 2); } .framer-aLKhb .framer-19k5oez > :first-child { margin-left: 0px; } .framer-aLKhb .framer-19k5oez > :last-child { margin-right: 0px; } }\",\".framer-aLKhb.framer-v-1m3syqy.framer-10txde5 { padding: 72px 50px 32px 50px; width: 1180px; }\",\".framer-aLKhb.framer-v-1m3syqy .framer-1ru61gx, .framer-aLKhb.framer-v-15frcss .framer-1ru61gx { height: 24px; }\",\".framer-aLKhb.framer-v-15frcss.framer-10txde5 { padding: 72px 20px 32px 20px; width: 1180px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 299\n * @framerIntrinsicWidth 335\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"bGyzOaTLX\":{\"layout\":[\"fixed\",\"auto\"]},\"cZmw3YLA8\":{\"layout\":[\"fixed\",\"auto\"]},\"fld32NRlk\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"A65qOvpHN\":\"_\",\"jq1oSTO8b\":\"_1\",\"L0bgxUyiY\":\"_2\",\"E_bCBBmYS\":\"_3\",\"I750mv33P\":\"_4\",\"i6ShT9Z79\":\"_5\",\"j6wLiMkYg\":\"_6\",\"cvRPfO_oF\":\"_7\",\"qIYt8wsAH\":\"_8\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerTyu7EX3in=withCSS(Component,css,\"framer-aLKhb\");export default FramerTyu7EX3in;FramerTyu7EX3in.displayName=\"[Smart]Intro\";FramerTyu7EX3in.defaultProps={height:299,width:335};addPropertyControls(FramerTyu7EX3in,{variant:{options:[\"InbSkRciy\",\"bGyzOaTLX\",\"cZmw3YLA8\",\"fld32NRlk\"],optionTitles:[\"Mo-Light\",\"Mo-Dark\",\"Web-Light\",\"Web-Dark\"],title:\"Variant\",type:ControlType.Enum},A65qOvpHN:{defaultValue:\"Ep.30\",displayTextArea:false,title:\"\uC5D0\uD53C\uC18C\uB4DC\",type:ControlType.String},jq1oSTO8b:{defaultValue:true,title:\"\uC5D0\uD53C\uC18C\uB4DC \uB178\uCD9C\",type:ControlType.Boolean},L0bgxUyiY:{defaultValue:\"\uD55C\uACA8\uC6B8\uC5D0 \uB9DE\uC124 \uD5E4\uBE44 \uC544\uC6B0\uD130\",description:\"\",displayTextArea:true,title:\"\uD0C0\uC774\uD2C0\",type:ControlType.String},E_bCBBmYS:{defaultValue:true,title:\"\uD0C0\uC774\uD2C0 \uB178\uCD9C\",type:ControlType.Boolean},I750mv33P:{defaultValue:\"\uD55C\uACA8\uC6B8 \uCD94\uC704\uB97C \uC644\uBCBD\uD558\uAC8C \uB9C9\uC544\uC904 \uB2E8 \uD558\uB098\uC758 \uC544\uC774\uD15C, \uD5E4\uBE44 \uC544\uC6B0\uD130. \uD328\uB529\uBD80\uD130 \uD37C, \uBB34\uC2A4\uD0D5\uAE4C\uC9C0 \uCD5C\uB300 57% \uD61C\uD0DD\uC73C\uB85C \uACA8\uC6B8 \uC2A4\uD0C0\uC77C\uC5D0 \uC790\uC720\uB97C \uB354\uD558\uC138\uC694.\",displayTextArea:true,title:\"\uD14D\uC2A4\uD2B8\",type:ControlType.String},i6ShT9Z79:{defaultValue:true,title:\"\uC774\uBCA4\uD2B8 \uC885\uB8CC\uC77C\",type:ControlType.Boolean},j6wLiMkYg:{defaultValue:\"2025-03-11T00:00:00.000Z\",title:\"\uB0A0\uC9DC\",type:ControlType.Date},cvRPfO_oF:{defaultValue:\"rgb(255, 255, 255)\",title:\"\uBC30\uACBD \uCEEC\uB7EC\",type:ControlType.Color},qIYt8wsAH:{defaultValue:true,title:\"\uD558\uB2E8\uD328\uB529\",type:ControlType.Boolean}});addFonts(FramerTyu7EX3in,[{explicitInter:true,fonts:[{family:\"Pretendard Bold\",source:\"custom\",url:\"https://framerusercontent.com/assets/TDgt4wnSbW6ssMiUHMKSTjZfpQ.woff2\"},{family:\"Pretendard SemiBold\",source:\"custom\",url:\"https://framerusercontent.com/assets/bUf4UcuhtdSAGwhiC3unbHsuLB0.woff2\"},{family:\"Pretendard Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/t7lebLYx2xwMs9MrDdMh5EKeA.woff2\"}]},...CountdownFonts,...SchedulableFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerTyu7EX3in\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"bGyzOaTLX\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"cZmw3YLA8\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"fld32NRlk\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"A65qOvpHN\\\":\\\"_\\\",\\\"jq1oSTO8b\\\":\\\"_1\\\",\\\"L0bgxUyiY\\\":\\\"_2\\\",\\\"E_bCBBmYS\\\":\\\"_3\\\",\\\"I750mv33P\\\":\\\"_4\\\",\\\"i6ShT9Z79\\\":\\\"_5\\\",\\\"j6wLiMkYg\\\":\\\"_6\\\",\\\"cvRPfO_oF\\\":\\\"_7\\\",\\\"qIYt8wsAH\\\":\\\"_8\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"335\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"299\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tyu7EX3in.map", "import { ControlType } from \"framer\";\nvar CouponColorType = /* @__PURE__ */ ((CouponColorType2) => {\n  CouponColorType2[\"DEFAULT\"] = \"default\";\n  CouponColorType2[\"SOLID\"] = \"solid\";\n  CouponColorType2[\"GRADIENT\"] = \"gradient\";\n  return CouponColorType2;\n})(CouponColorType || {});\nconst COUPON_CONTROLS = {\n  backgroundColor: {\n    type: ControlType.Object,\n    title: \"\uCFE0\uD3F0 \uBC30\uACBD\uC0C9\",\n    controls: {\n      colorType: {\n        type: ControlType.Enum,\n        title: \"\uC720\uD615\",\n        optionTitles: [\"\uAE30\uBCF8\", \"\uB2E8\uC0C9\", \"\uADF8\uB77C\uB514\uC5B8\uD2B8\"],\n        options: [\n          \"default\",\n          \"solid\",\n          \"gradient\"\n          /* GRADIENT */\n        ]\n      },\n      color: {\n        type: ControlType.Color,\n        title: \"\uB2E8\uC0C9\",\n        optional: true,\n        hidden: ({\n          colorType\n        }) => colorType !== \"solid\"\n        /* SOLID */\n      },\n      gradient: {\n        type: ControlType.Object,\n        title: \"\uADF8\uB77C\uB514\uC5B8\uD2B8\",\n        controls: {\n          stops: {\n            type: ControlType.Array,\n            title: \"\uC0C9\uC0C1 \uBC0F \uC815\uC9C0\uC810\uB4E4\",\n            control: {\n              type: ControlType.Object,\n              title: \"\uC0C9\uC0C1 \uBC0F \uC815\uC9C0\uC810\",\n              controls: {\n                color: {\n                  type: ControlType.Color,\n                  title: \"\uC0C9\uC0C1\",\n                  optional: true\n                },\n                offsetPercent: {\n                  type: ControlType.Number,\n                  title: \"\uC815\uC9C0\uC810\",\n                  unit: \"%\",\n                  min: 0,\n                  max: 100,\n                  defaultValue: 0,\n                  step: 1,\n                  displayStepper: true\n                }\n              }\n            }\n          },\n          degree: {\n            type: ControlType.Number,\n            title: \"\uAC01\uB3C4\",\n            unit: \"deg\",\n            defaultValue: 0,\n            step: 1,\n            displayStepper: true\n          }\n        },\n        hidden: ({\n          colorType\n        }) => colorType !== \"gradient\"\n        /* GRADIENT */\n      }\n    }\n  }\n};\nconst toBackgroundColor = (backgroundColor) => {\n  const {\n    colorType,\n    color,\n    gradient\n  } = backgroundColor;\n  const backgroundColorByType = {\n    [\n      \"default\"\n      /* DEFAULT */\n    ]: void 0,\n    [\n      \"solid\"\n      /* SOLID */\n    ]: color,\n    [\n      \"gradient\"\n      /* GRADIENT */\n    ]: gradient\n  };\n  return backgroundColorByType[colorType];\n};\nexport {\n  COUPON_CONTROLS,\n  CouponColorType,\n  toBackgroundColor\n};\n", "const variantByType = {\n  neutral: {\n    background: {\n      light: \"#dee2e6\",\n      dark: \"#27272a\"\n    },\n    primary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    secondary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    tertiary: {\n      light: \"rgba(0, 0, 0, 0.5)\",\n      dark: \"rgba(255, 255, 255, 0.5)\"\n    },\n    border: \"rgba(255, 255, 255, 0.13)\"\n  },\n  accent: {\n    // NOTE(\uC784\uADDC\uBBFC): \uAE30\uBCF8 key color, \uC678\uBD80\uC5D0\uC11C \uCEE4\uC2A4\uD130\uB9C8\uC774\uC988\uAC00 \uAC00\uB2A5\uD55C \uAC12\uC785\uB2C8\uB2E4.\n    background: {\n      light: \"#ff4800\",\n      dark: \"#ff4800\"\n    },\n    primary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    secondary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    tertiary: {\n      light: \"#000\",\n      dark: \"#fff\"\n    },\n    border: \"rgba(255, 255, 255, 0.5)\"\n  },\n  disabled: {\n    background: {\n      light: \"#dee2e6\",\n      dark: \"#27272a\"\n    },\n    primary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    secondary: {\n      light: \"#474747\",\n      dark: \"#a0a0a0\"\n    },\n    tertiary: {\n      light: \"rgba(0, 0, 0, 0.5)\",\n      dark: \"rgba(255, 255, 255, 0.5)\"\n    },\n    border: \"rgba(255, 255, 255, 0.13)\"\n  }\n};\nconst variantByStatus = {\n  upcoming: variantByType.neutral,\n  downloadable: variantByType.accent,\n  downloaded: variantByType.neutral,\n  expired: variantByType.disabled\n};\nexport {\n  variantByStatus,\n  variantByType\n};\n", "const pick = (obj, keys) => {\n  const picked = {};\n  keys.forEach((key) => {\n    picked[key] = obj[key];\n  });\n  return picked;\n};\nconst isObject = (object) => {\n  return typeof object === \"object\" && object !== null && !Array.isArray(object);\n};\nexport {\n  isObject,\n  pick\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { createContext, forwardRef, useCallback } from \"react\";\nimport { variantByStatus } from \"./Root.constants.js\";\nimport { Skeleton } from \"../Skeleton/Skeleton.js\";\nimport { isObject } from \"../../../utils/object.js\";\nconst CouponContext = createContext(null);\nconst Root = forwardRef(({\n  children,\n  style,\n  theme = \"light\",\n  loading = false,\n  status = \"downloadable\",\n  backgroundColor: _backgroundColor,\n  ...rest\n}, ref) => {\n  const variant = variantByStatus[status];\n  const backgroundColor = status === \"downloadable\" ? _backgroundColor ?? variant.background : variant.background;\n  const getBackground = useCallback(() => {\n    if (!isObject(backgroundColor)) {\n      return backgroundColor;\n    }\n    if (\"stops\" in backgroundColor) {\n      return getLinearGradient(backgroundColor);\n    }\n    return backgroundColor[theme];\n  }, [backgroundColor, theme]);\n  return /* @__PURE__ */ jsx(CouponContext.Provider, { value: {\n    status,\n    variant\n  }, children: /* @__PURE__ */ jsx(\"div\", { ref, style: {\n    ...containerStyle,\n    ...style\n  }, ...rest, children: loading ? /* @__PURE__ */ jsx(Skeleton, { style: {\n    ...skeletonStyle,\n    ...skeletonStyleByTheme[theme]\n  } }) : /* @__PURE__ */ jsx(\"div\", { style: {\n    ...wrapperStyle,\n    background: getBackground()\n  }, children }) }) });\n});\nconst getLinearGradient = (linearGradient) => {\n  const {\n    stops,\n    degree\n  } = linearGradient;\n  const gradient = [...stops].sort((x, y) => x.offsetPercent - y.offsetPercent).map((stop) => `${stop.color} ${stop.offsetPercent}%`).join(\", \");\n  return `linear-gradient(${degree}deg, ${gradient})`;\n};\nconst containerStyle = {\n  width: \"100%\"\n};\nconst wrapperStyle = {\n  position: \"relative\",\n  width: \"100%\",\n  height: 76,\n  display: \"flex\",\n  borderRadius: 4,\n  overflow: \"hidden\",\n  WebkitMaskImage: `url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"16\" viewBox=\"0 0 8 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00022 8C8.00022 12.4183 4.4185 16 0.000218398 16C1.66131e-06 10.4911 0.000218398 5.52413 0.000218398 0C4.4185 0 8.00022 3.58172 8.00022 8Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n  maskImage: `url('data:image/svg+xml;utf8,<svg width=\"8\" height=\"16\" viewBox=\"0 0 8 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.00022 8C8.00022 12.4183 4.4185 16 0.000218398 16C1.66131e-06 10.4911 0.000218398 5.52413 0.000218398 0C4.4185 0 8.00022 3.58172 8.00022 8Z\" fill=\"white\"/></svg>'), linear-gradient(#fff,#fff)`,\n  WebkitMaskComposite: \"exclude\",\n  maskComposite: \"exclude\",\n  WebkitMaskPosition: \"0 50%\",\n  maskPosition: \"0 50%\",\n  WebkitMaskSize: \"8px 16px, auto\",\n  maskSize: \"8px 16px, auto\",\n  WebkitMaskRepeat: \"no-repeat\",\n  maskRepeat: \"no-repeat\"\n};\nconst skeletonStyle = {\n  width: \"100%\",\n  height: 76,\n  borderRadius: 4\n};\nconst skeletonStyleByTheme = {\n  light: {\n    backgroundColor: \"#dee2e6\"\n  },\n  dark: {\n    backgroundColor: \"#27272a\"\n  }\n};\nexport {\n  CouponContext,\n  Root\n};\n", "import { useContext } from \"react\";\nimport { CouponContext } from \"./Root.js\";\nconst useCouponContext = () => {\n  const context = useContext(CouponContext);\n  if (!context) {\n    throw new Error(\"useCouponContext should be used with in Root\");\n  }\n  return context;\n};\nexport {\n  useCouponContext\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"framer\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst Description = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    variant\n  } = useCouponContext();\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...typography(12, 400),\n    color: variant.tertiary[theme],\n    ...style\n  }, children });\n});\nexport {\n  Description\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"framer\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst Divider = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...containerStyleByTheme[theme],\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  height: \"100%\",\n  borderLeftWidth: \"1px\",\n  borderLeftStyle: \"dashed\",\n  opacity: 0.2\n};\nconst containerStyleByTheme = {\n  light: {\n    borderColor: \"#000\"\n  },\n  dark: {\n    borderColor: \"#fff\"\n  }\n};\nexport {\n  Divider\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport { Icon } from \"../Icon/Icon.js\";\nimport \"framer\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nimport { playHaptic } from \"../../../utils/playHaptic.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst Button = forwardRef(({\n  style,\n  onClick,\n  ...rest\n}, ref) => {\n  const {\n    variant,\n    status\n  } = useCouponContext();\n  const theme = useTheme();\n  const {\n    icon,\n    text\n  } = contentByStatus[status];\n  const handleClick = (e) => {\n    if (status === \"upcoming\" || status === \"expired\") {\n      return;\n    }\n    playHaptic(\"rigid\");\n    onClick == null ? void 0 : onClick(e);\n  };\n  return /* @__PURE__ */ jsxs(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...style,\n    ...containerStyleByStatus[status]\n  }, onClick: handleClick, children: [\n    /* @__PURE__ */ jsx(Icon, { type: icon, weight: \"light\", size: 24, color: variant.secondary[theme] }),\n    /* @__PURE__ */ jsx(\"div\", { style: {\n      ...typography(12, 400),\n      color: variant.secondary[theme]\n    }, children: text })\n  ] });\n});\nconst contentByStatus = {\n  upcoming: {\n    icon: \"clock\",\n    text: \"\uBC1C\uD589 \uC608\uC815\"\n  },\n  downloadable: {\n    icon: \"download\",\n    text: \"\uB2E4\uC6B4\uB85C\uB4DC\"\n  },\n  /**\n   * TODO:(\uAE40\uD64D\uB3D9) downloadable API \uAC1C\uC120\uC774 \uC774\uB8E8\uC5B4\uC9C4 \uC774\uD6C4 \uC138\uBD80\uC801\uC778 \uB2E4\uC6B4 \uBD88\uAC00 \uC0AC\uC720\uC5D0 \uB530\uB978 \uC0C1\uD0DC \uCD94\uAC00 \uC791\uC5C5 \uD544\uC694\n   * e.g) \uB2E4\uC6B4\uC744 \uBC1B\uC740 \uD6C4\uC5D4 '\uB2E4\uC6B4 \uC644\uB8CC', \uCFE0\uD3F0 \uC218\uB7C9\uC774 \uC5C6\uB294 \uACBD\uC6B0 '\uC120\uCC29\uC21C \uB9C8\uAC10'\n   */\n  downloaded: {\n    icon: \"close\",\n    text: \"\uB2E4\uC6B4 \uBD88\uAC00\"\n  },\n  expired: {\n    icon: \"close\",\n    text: \"\uB9CC\uB8CC\uB428\"\n  }\n};\nconst containerStyle = {\n  zIndex: 1,\n  aspectRatio: \"1 / 1\",\n  height: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  alignItems: \"center\",\n  justifyContent: \"center\",\n  gap: 4\n};\nconst containerStyleByStatus = {\n  upcoming: {\n    cursor: \"not-allowed\"\n  },\n  downloadable: {\n    cursor: \"pointer\"\n  },\n  downloaded: {\n    cursor: \"pointer\"\n  },\n  expired: {\n    cursor: \"not-allowed\"\n  }\n};\nexport {\n  Button\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nconst Summary = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...containerStyle,\n    ...style\n  }, children });\n});\nconst containerStyle = {\n  zIndex: 1,\n  flex: 1,\n  height: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\",\n  justifyContent: \"center\",\n  gap: 2,\n  padding: \"0px 8px 0px 26px\"\n};\nexport {\n  Summary\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { forwardRef } from \"react\";\nimport \"framer\";\nimport { typography } from \"../../../styles/typography.js\";\nimport { useCouponContext } from \"./Root.hooks.js\";\nimport \"../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../config/index.js\";\nimport \"../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../hooks/stores/content/content.store.js\";\nimport \"../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../hooks/useTheme.js\";\nimport \"../providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../utils/redirectLogin.js\";\nimport \"../../../utils/event-properties/source.js\";\nconst Title = forwardRef(({\n  children,\n  style,\n  ...rest\n}, ref) => {\n  const {\n    variant\n  } = useCouponContext();\n  const theme = useTheme();\n  return /* @__PURE__ */ jsx(\"div\", { ref, ...rest, style: {\n    ...typography(15, 700),\n    color: variant.primary[theme],\n    ...style\n  }, children });\n});\nexport {\n  Title\n};\n", "import { Description } from \"./Description.js\";\nimport { Divider } from \"./Divider.js\";\nimport { Root } from \"./Root.js\";\nimport { Button } from \"./Button.js\";\nimport { Summary } from \"./Summary.js\";\nimport { Title } from \"./Title.js\";\nconst Coupon = {\n  Root,\n  Summary,\n  Title,\n  Description,\n  Divider,\n  Button\n};\nexport {\n  Coupon\n};\n", "import useSWR from \"../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../apis/coupon/CouponApiService.js\";\nconst DOWNLOADABLE_COUPON_SUMMARIES_FETCHER_KEY = \"@coupon/downloadable-coupon-summaries\";\nconst useFetchDownloadableCouponSummaries = (couponIds, userNo, enabled = true) => {\n  const canFetch = couponIds.length > 0 && Boolean(userNo) && enabled;\n  const {\n    isLoading,\n    data,\n    ...rest\n  } = useSWR(canFetch ? [DOWNLOADABLE_COUPON_SUMMARIES_FETCHER_KEY, ...couponIds] : null, () => couponApi.getDownloadableCouponSummaries(couponIds, Number(userNo)), {\n    revalidateIfStale: true\n  });\n  return {\n    isLoading: isLoading || !canFetch,\n    summaries: data ?? [],\n    ...rest\n  };\n};\nexport {\n  useFetchDownloadableCouponSummaries\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { Countdown } from \"../../../systems/Countdown/Countdown.js\";\nimport \"react-dom\";\nimport \"react\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../systems/Expandable/Expandable.js\";\nimport \"../../../systems/FixedScrollProgressBar/FixedScrollProgressBar.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport { isCanvas } from \"../../../../utils/framer/isCanvas.js\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../systems/Products/Products.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../@shared/providers/ThemeProvider/ThemeProvider.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport \"../../../../constants/snowplow/snowplowSchema.js\";\nimport \"../../../systems/ResponsiveSplitView/ResponsiveSplitView.js\";\nimport \"../../../systems/ResponsiveSplitViewOverlayButton/ResponsiveSplitViewOverlayButton.js\";\nimport \"../../../systems/RollingNumber/RollingNumber.js\";\nimport \"../../../systems/TabBar/TabBar.js\";\nimport \"../../../systems/TimeProgressBar/TimeProgressBar.js\";\nimport \"../../../systems/ViewportContainer/ViewportContainer.js\";\nimport \"framer\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { CouponType, AvailableDayType, DiscountType } from \"../../../../types/models/coupon.js\";\nimport { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { RandomDiscountValue } from \"../../../systems/RandomDiscountValue/RandomDiscountValue.js\";\nimport { QueryType } from \"../../types.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nimport { isBefore } from \"../../../../node_modules/date-fns/isBefore.js\";\nimport { isAfter } from \"../../../../node_modules/date-fns/isAfter.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nimport { ko } from \"../../../../node_modules/date-fns/locale/ko.js\";\nconst getCouponUseEndAt = (coupon) => {\n  if (coupon.useAvailableDayType === AvailableDayType.RANGE) {\n    return createKRTimeZoneDate(coupon.couponUseEndAt);\n  }\n  return void 0;\n};\nconst getCouponStatus = (coupon, canDownload, logged, query) => {\n  if (!coupon) {\n    return \"downloadable\";\n  }\n  if (isCanvas()) {\n    return \"downloadable\";\n  }\n  if (query.type === QueryType.Coupon && query.couponType === CouponType.RANDOM) {\n    return \"downloadable\";\n  }\n  const now = createKRTimeZoneDate();\n  const issueStartAt = createKRTimeZoneDate(coupon.couponIssueStartAt);\n  const issueEndAt = createKRTimeZoneDate(coupon.couponIssueEndAt);\n  const useEndAt = getCouponUseEndAt(coupon);\n  const isUpcoming = isBefore(now, issueStartAt);\n  const isEnd = isAfter(now, issueEndAt);\n  const isExpired = useEndAt !== void 0 && isAfter(now, useEndAt);\n  if (isUpcoming) {\n    return \"upcoming\";\n  }\n  if (isExpired || isEnd) {\n    return \"expired\";\n  }\n  if (!canDownload && logged) {\n    return \"downloaded\";\n  }\n  return \"downloadable\";\n};\nconst getDescriptionByStatus = (coupon) => {\n  const issueStartAt = createKRTimeZoneDate(coupon.couponIssueStartAt);\n  const issueEndAt = createKRTimeZoneDate(coupon.couponIssueEndAt);\n  const useEndAt = getCouponUseEndAt(coupon);\n  return {\n    upcoming: format(issueStartAt, \"M/d EEEE a h\uC2DC \uBC1C\uD589 \uC608\uC815\", {\n      locale: ko\n    }),\n    downloadable: /* @__PURE__ */ jsxs(\"div\", { style: descriptionStyle, children: [\n      /* @__PURE__ */ jsx(Countdown, { targetDateString: format(issueEndAt, \"yyyy-MM-dd\"), targetTimeString: format(issueEndAt, \"HH:mm:ss\"), dateDisplayFormat: \"D\uC77C\", timeDisplayFormat: \"H\uC2DC\uAC04 m\uBD84 s\uCD08\", fontSize: 12, color: \"inherit\", style: typography(12, 400) }),\n      \"\uB0A8\uC74C\"\n    ] }),\n    downloaded: useEndAt ? /* @__PURE__ */ jsxs(\"div\", { style: descriptionStyle, children: [\n      /* @__PURE__ */ jsx(Countdown, { targetDateString: format(useEndAt, \"yyyy-MM-dd\"), targetTimeString: format(useEndAt, \"HH:mm:ss\"), dateDisplayFormat: \"D\uC77C\", timeDisplayFormat: \"H\uC2DC\uAC04 m\uBD84 s\uCD08\", fontSize: 12, color: \"inherit\", style: typography(12, 400) }),\n      \"\uB0A8\uC74C\"\n    ] }) : null,\n    expired: \"\uAE30\uAC04\uC774 \uB9CC\uB8CC\uB41C \uCFE0\uD3F0\"\n  };\n};\nconst descriptionStyle = {\n  display: \"flex\",\n  alignItems: \"center\",\n  gap: 3,\n  color: \"inherit\"\n};\nconst markAsDownloaded = (summaries, couponIds) => {\n  return summaries.map((summary) => ({\n    ...summary,\n    canDownload: !couponIds.includes(summary.couponId) && summary.canDownload\n  }));\n};\nconst getCouponCollectionCouponName = (query) => {\n  var _a, _b;\n  return `${(_a = query.coupon) == null ? void 0 : _a.couponName} ${(_b = query.coupon) == null ? void 0 : _b.personMaxIssueCount}\uC7A5`;\n};\nconst getRandomCouponName = (coupons) => {\n  var _a;\n  const sortByDiscountValue = sortCouponsByDiscountValueAscending(coupons);\n  const couponDiscountValues = sortByDiscountValue.map((coupon) => coupon.discountValue);\n  return /* @__PURE__ */ jsxs(\"div\", { style: {\n    display: \"flex\",\n    alignItems: \"center\",\n    gap: 6\n  }, children: [\n    /* @__PURE__ */ jsx(\"div\", { children: /* @__PURE__ */ jsx(RandomDiscountValue, { discountType: ((_a = head(coupons)) == null ? void 0 : _a.discountType) ?? DiscountType.FIXED_RATE, discountValues: couponDiscountValues }) }),\n    /* @__PURE__ */ jsx(\"span\", { children: \"\uCFE0\uD3F0\" })\n  ] });\n};\nconst getGeneralCouponName = (coupons) => {\n  if (coupons.length === 1) {\n    return getCouponNameByDiscountType(coupons[0]);\n  }\n  const couponKindTypes = new Set(coupons.map((coupon) => coupon.couponKindType));\n  if (couponKindTypes.size > 1) {\n    return \"\";\n  }\n  const isAllFixedRateCoupon = coupons.every((coupon) => coupon.discountType === DiscountType.FIXED_RATE);\n  const maxDiscountValue = Math.max(...coupons.map((coupon) => coupon.discountValue), 0).toLocaleString(\"ko-KR\");\n  if (isAllFixedRateCoupon) {\n    return `${maxDiscountValue}% \uCFE0\uD3F0 \uC678 ${coupons.length - 1}\uC7A5`;\n  }\n  return `${maxDiscountValue}\uC6D0 \uCFE0\uD3F0 \uC678 ${coupons.length - 1}\uC7A5`;\n};\nconst getCouponNameByCouponType = (coupons, query) => {\n  switch (query.couponType) {\n    case CouponType.RANDOM:\n      return getRandomCouponName(coupons);\n    case CouponType.LIMITED:\n    case CouponType.NORMAL:\n      return getGeneralCouponName(coupons);\n  }\n};\nconst getCouponName = (coupons, query) => {\n  if (coupons.length === 0) {\n    return \"\";\n  }\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionCouponName(query);\n    case QueryType.KeywordCollection:\n      return getGeneralCouponName(coupons);\n    case QueryType.Coupon:\n      return getCouponNameByCouponType(coupons, query);\n  }\n};\nconst getCouponNameByDiscountType = (coupon) => {\n  if (!coupon) {\n    return \"\";\n  }\n  const {\n    discountType,\n    discountValue\n  } = coupon;\n  const postfix = discountType === DiscountType.FIXED_PRICE ? \"\uC6D0 \uCFE0\uD3F0\" : \"% \uCFE0\uD3F0\";\n  return discountValue.toLocaleString(\"ko-KR\") + postfix;\n};\nconst sortCouponsByDiscountValueAscending = (coupons) => {\n  return [...coupons].sort((x, y) => x.discountValue - y.discountValue);\n};\nexport {\n  getCouponName,\n  getCouponStatus,\n  getDescriptionByStatus,\n  markAsDownloaded\n};\n", "import { toCouponNos } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { CouponUpdateType } from \"../CouponModule.types.js\";\nimport { CouponType } from \"../../../../types/models/coupon.js\";\nimport { shallowUnique } from \"../../../../utils/unique.js\";\nimport { useState, useEffect } from \"react\";\nimport { QueryType } from \"../../types.js\";\nimport { createKRTimeZoneDate } from \"../../../../utils/createUTCDate.js\";\nimport { isAbove } from \"../../../../utils/date.js\";\nimport useInterval from \"../../../../node_modules/react-use/esm/useInterval.js\";\nimport { isWithinInterval } from \"../../../../node_modules/date-fns/isWithinInterval.js\";\nimport { differenceInCalendarDays } from \"../../../../node_modules/date-fns/differenceInCalendarDays.js\";\nconst MS_IN_SECOND = 1e3;\nconst DEFAULT_COUPON_ITEM_ENTRY = {\n  couponIds: [],\n  updateType: CouponUpdateType.NORMAL,\n  couponType: CouponType.NORMAL\n};\nconst useCouponIds = ({\n  query\n}) => {\n  const [couponItemEntry, setCouponItemEntry] = useState(getCouponItemEntry({\n    query\n  }) ?? DEFAULT_COUPON_ITEM_ENTRY);\n  useInterval(() => {\n    if (couponItemEntry.updateType === CouponUpdateType.NORMAL) {\n      return;\n    }\n    const currentSchedule = findCurrentSchedule(couponItemEntry.schedules ?? []);\n    setCouponItemEntry((prev) => ({\n      ...prev,\n      couponIds: shallowUnique(toCouponNos(currentSchedule.couponIdList ?? \"\"))\n    }));\n  }, MS_IN_SECOND);\n  useEffect(() => {\n    setCouponItemEntry(getCouponItemEntry({\n      query\n    }) ?? DEFAULT_COUPON_ITEM_ENTRY);\n  }, [query]);\n  return {\n    couponIds: couponItemEntry.couponIds,\n    couponType: couponItemEntry.couponType\n  };\n};\nconst getCouponCollectionCouponItemEntry = ({\n  coupon\n}) => {\n  return {\n    couponIds: coupon ? [coupon.couponId] : [],\n    updateType: CouponUpdateType.NORMAL,\n    couponType: CouponType.NORMAL\n  };\n};\nconst getKeywordCollectionCouponItemEntry = ({\n  couponId\n}) => {\n  return {\n    couponIds: couponId ? [couponId] : [],\n    updateType: CouponUpdateType.NORMAL,\n    couponType: CouponType.NORMAL\n  };\n};\nconst getRandomCouponItemEntry = (query) => {\n  const {\n    couponType,\n    couponIds = \"\"\n  } = query;\n  return {\n    couponIds: shallowUnique(toCouponNos(couponIds)),\n    updateType: CouponUpdateType.NORMAL,\n    couponType\n  };\n};\nconst getNormalCouponItemEntry = (query) => {\n  const {\n    couponType,\n    couponIds = \"\",\n    couponUpdateType\n  } = query;\n  return {\n    couponIds: shallowUnique(toCouponNos(couponIds)),\n    updateType: couponUpdateType,\n    couponType\n  };\n};\nconst getDailyCouponItemEntry = (query) => {\n  const {\n    couponType,\n    dailyCouponOptions = [],\n    couponUpdateType\n  } = query;\n  const schedules = toSchedule(dailyCouponOptions);\n  const currentSchedule = findCurrentSchedule(schedules);\n  return {\n    couponIds: shallowUnique(toCouponNos(currentSchedule.couponIdList ?? \"\")),\n    updateType: couponUpdateType,\n    couponType,\n    schedules\n  };\n};\nconst getGeneralCouponItemEntry = (query) => {\n  switch (query.couponUpdateType) {\n    case CouponUpdateType.NORMAL:\n      return getNormalCouponItemEntry(query);\n    case CouponUpdateType.DAILY:\n      return getDailyCouponItemEntry(query);\n    default:\n      return null;\n  }\n};\nconst getCouponItemEntryByCouponType = (query) => {\n  switch (query.couponType) {\n    case CouponType.RANDOM:\n      return getRandomCouponItemEntry(query);\n    case CouponType.LIMITED:\n    case CouponType.NORMAL:\n      return getGeneralCouponItemEntry(query);\n    default:\n      return null;\n  }\n};\nconst getCouponItemEntry = ({\n  query\n}) => {\n  if (query === void 0) {\n    return null;\n  }\n  switch (query.type) {\n    case QueryType.CouponCollection:\n      return getCouponCollectionCouponItemEntry(query);\n    case QueryType.KeywordCollection:\n      return getKeywordCollectionCouponItemEntry(query);\n    case QueryType.Coupon:\n      return getCouponItemEntryByCouponType(query);\n    default:\n      return null;\n  }\n};\nconst findCurrentSchedule = (schedule) => {\n  const now = createKRTimeZoneDate();\n  const scheduleIndex = schedule.findIndex((item, index) => {\n    const {\n      shouldUpdateAt\n    } = item;\n    const next = schedule[index + 1];\n    const hasNext = next !== void 0;\n    const isFirst = index === 0 && isAbove(shouldUpdateAt, now);\n    const isWithin = hasNext && isWithinInterval(now, {\n      start: shouldUpdateAt,\n      end: next.shouldUpdateAt\n    });\n    const isLast = !hasNext && isAbove(now, shouldUpdateAt);\n    return isFirst || isWithin || isLast;\n  });\n  return schedule[scheduleIndex];\n};\nconst toSchedule = (options) => sortScheduleAscending(toCouponSchedule(options));\nconst sortScheduleAscending = (schedule) => {\n  return [...schedule].sort((x, y) => x.shouldUpdateAt.getTime() - y.shouldUpdateAt.getTime());\n};\nconst toCouponSchedule = (options) => {\n  return options.flatMap((option) => {\n    const {\n      dailyCouponIds,\n      updateSchedule,\n      updateAt\n    } = option;\n    const {\n      startAt,\n      endAt\n    } = updateSchedule;\n    if (!startAt || !endAt) {\n      return [];\n    }\n    const diff = differenceInCalendarDays(endAt, startAt);\n    return Array.from({\n      length: diff + 1\n    }, (_, index) => {\n      const {\n        hours,\n        minutes,\n        seconds\n      } = updateAt;\n      const date = createKRTimeZoneDate(startAt);\n      date.setDate(date.getDate() + index);\n      date.setHours(hours, minutes, seconds);\n      return {\n        shouldUpdateAt: date,\n        couponIdList: dailyCouponIds[index]\n      };\n    });\n  });\n};\nexport {\n  findCurrentSchedule,\n  toSchedule,\n  useCouponIds\n};\n", "const formatToCoupon = (coupon) => {\n  if (!coupon) {\n    return void 0;\n  }\n  return {\n    ...coupon,\n    id: coupon.couponId\n  };\n};\nexport {\n  formatToCoupon\n};\n", "import { QueryType } from \"../types.js\";\nimport useSWR from \"../../../node_modules/swr/core/dist/index.js\";\nimport { couponApi } from \"../../../apis/coupon/CouponApiService.js\";\nimport { formatToCoupon } from \"./CouponModule.utils.js\";\nconst COUPONS_FETCHER_KEY = \"@coupon/coupons\";\nconst useCouponsQuery = ({\n  query,\n  couponIds,\n  enabled = true\n}) => {\n  const canFetch = couponIds.length > 0 && enabled && query !== void 0;\n  const {\n    data\n  } = useSWR(canFetch ? [COUPONS_FETCHER_KEY, couponIds] : null, () => queryCoupons(couponIds, query));\n  return {\n    coupons: (data == null ? void 0 : data.coupons) ?? []\n  };\n};\nconst fetchCoupons = async (couponIds) => {\n  const {\n    data\n  } = await couponApi.getCoupons(couponIds);\n  return {\n    coupons: data\n  };\n};\nconst fetchCouponCollectionCoupon = (query) => {\n  const coupon = formatToCoupon(query.coupon);\n  return {\n    coupons: coupon ? [coupon] : []\n  };\n};\nconst fetchKeywordCollectionCoupon = async (query) => {\n  if (!query.couponId) {\n    return {\n      coupons: []\n    };\n  }\n  const {\n    data\n  } = await couponApi.getCoupons([query.couponId]);\n  return {\n    coupons: data\n  };\n};\nconst queryCoupons = (couponIds, query) => {\n  if (query === void 0) {\n    return {\n      coupons: []\n    };\n  }\n  switch (query.type) {\n    case QueryType.Coupon:\n      return fetchCoupons(couponIds);\n    case QueryType.CouponCollection:\n      return fetchCouponCollectionCoupon(query);\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionCoupon(query);\n    default:\n      return {\n        coupons: []\n      };\n  }\n};\nexport {\n  useCouponsQuery\n};\n", "import { CouponType, DiscountType, AvailableDayType } from \"../../../../types/models/coupon.js\";\nimport { deduplicate } from \"../../../../utils/deduplicate.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nimport { parseISO } from \"../../../../node_modules/date-fns/parseISO.js\";\nimport { formatDate as format } from \"../../../../node_modules/date-fns/format.js\";\nconst DATE_FORMAT = \"yyyy/MM/dd HH:mm\";\nconst HOURS_IN_DAY = 24;\nconst getCouponNotices = (couponType, coupons) => {\n  const coupon = head(coupons);\n  if (!coupon) {\n    return [];\n  }\n  const formattedAvailablePeriod = formatAvailablePeriod(coupon);\n  const formattedMaxDiscountPrice = formatMaxDiscountPrice(couponType, sortCouponsByDiscountValueAscending(coupons));\n  const maxIssueCountNotice = createMaxIssueCountNotice(coupon.personMaxIssueCount);\n  if (couponType === CouponType.RANDOM) {\n    return getRandomCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice);\n  }\n  if (coupon.discountType === DiscountType.FIXED_RATE) {\n    return getRateCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n  }\n  return getAmountCouponNotices(formattedAvailablePeriod, formattedMaxDiscountPrice, maxIssueCountNotice);\n};\nconst createMaxIssueCountNotice = (maxIssueCount) => {\n  if (!maxIssueCount) {\n    return \"\";\n  }\n  const hasMaxIssueCount = maxIssueCount > 0;\n  if (!hasMaxIssueCount) {\n    return \"\uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uAE30\uAC04 \uC911\uBCF5 \uBC1C\uAE09 \uAC00\uB2A5\uD569\uB2C8\uB2E4.\";\n  }\n  return `\uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uAE30\uAC04 \uB3D9\uC548 \uD558\uB098\uC758 ID \uB2F9 ${maxIssueCount}\uD68C \uBC1C\uAE09 \uBC0F \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`;\n};\nconst formatMaxDiscountPrice = (couponType, coupons) => {\n  const hasMaxDiscountPrice = coupons.some((coupon2) => coupon2.maxDiscountPrice > 0);\n  if (!hasMaxDiscountPrice) {\n    return \"\uC81C\uD55C \uC5C6\uC74C\";\n  }\n  const [coupon] = coupons;\n  if (couponType === CouponType.RANDOM) {\n    return formatRandomCouponMaxDiscountPrice(coupons);\n  }\n  if (coupon.discountType === DiscountType.FIXED_PRICE) {\n    return formatAmountCouponMaxDiscountPrice(coupons);\n  }\n  return formatRateCouponMaxDiscountPrice(coupons);\n};\nconst formatRateCouponMaxDiscountPrice = (coupons) => {\n  return `${composeWithUnit(getMaxDiscountPrice(coupons), \"\uC6D0\")}`;\n};\nconst formatAmountCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByMinPayAmount(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      maxDiscountPrice,\n      minPayAmount\n    } = curr;\n    acc.push(`${composeWithUnit(minPayAmount, \"\uC6D0\")} \uC774\uC0C1 \uAD6C\uB9E4 \uC2DC ${composeWithUnit(maxDiscountPrice, \"\uC6D0\")} \uD560\uC778`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatRandomCouponMaxDiscountPrice = (coupons) => {\n  const uniquified = uniquifyCouponsByDiscountValue(coupons);\n  const formatted = uniquified.reduce((acc, curr) => {\n    const {\n      discountType,\n      discountValue,\n      maxDiscountPrice\n    } = curr;\n    acc.push(`${composeWithUnitByType(discountType, discountValue)} \uCFE0\uD3F0 ${composeWithUnit(maxDiscountPrice, \"\uC6D0\")} \uD560\uC778`);\n    return acc;\n  }, []);\n  return formatted.join(\", \");\n};\nconst formatAvailablePeriod = (coupon) => {\n  if (coupon.useAvailableDayType === AvailableDayType.DAY) {\n    return `\uCFE0\uD3F0 \uBC1C\uAE09 \uD6C4 ${coupon.couponUseAfterDay * HOURS_IN_DAY}\uC2DC\uAC04 \uC774\uB0B4`;\n  }\n  if (coupon.useAvailableDayType === AvailableDayType.RANGE) {\n    const availableStartAt = parseISO(coupon.couponUseStartAt);\n    const availableEndAt = parseISO(coupon.couponUseEndAt);\n    return `${format(availableStartAt, DATE_FORMAT)} - ${format(availableEndAt, DATE_FORMAT)}`;\n  }\n  return \"\uC5C6\uC74C\";\n};\nconst uniquifyCouponsByDiscountValue = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.discountValue === y.discountValue && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst uniquifyCouponsByMinPayAmount = (coupons) => {\n  return deduplicate(coupons, (x, y) => x.minPayAmount === y.minPayAmount && x.maxDiscountPrice === y.maxDiscountPrice);\n};\nconst sortCouponsByDiscountValueAscending = (coupons) => {\n  return [...coupons].sort((x, y) => x.discountValue - y.discountValue);\n};\nconst getMaxDiscountPrice = (coupons) => {\n  return Math.max(...coupons.map((coupon) => coupon.maxDiscountPrice));\n};\nconst getRandomCouponNotices = (availablePeriod, maxDiscountPrice) => [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0\uC744 \uC0AC\uC6A9\uD55C \uC774\uB825\uC774 \uC788\uB294 \uACBD\uC6B0 \uCFE0\uD3F0\uC740 \uBCF4\uC774\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC18C\uBA78, \uBC1C\uAE09 \uC911\uB2E8, \uC0AC\uC6A9 \uC644\uB8CC\uB41C \uCFE0\uD3F0\uC740 \uAD6C\uB9E4 \uCDE8\uC18C \uC2DC \uBCC4\uB3C4 \uC7AC\uBC1C\uAE09\uC774 \uBD88\uAC00\uD569\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC815\uCC45\uC5D0 \uB530\uB77C \uC77C\uBD80 \uC0C1\uD488 \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uBD88\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\nconst getRateCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, maxIssueCountNotice, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uD574\uB2F9 \uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uCC38\uC5EC \uC0C1\uD488 \uB300\uC0C1\uC73C\uB85C\uB9CC \uC801\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC801\uC6A9 \uAC00\uB2A5 \uC0C1\uD488\uC740 \uC218\uC2DC\uB85C \uBCC0\uACBD\uB418\uBA70, \uC77C\uBD80 \uD488\uBAA9\uC5D0 \uD55C\uD558\uC5EC \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uC81C\uD55C\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC7AC\uACE0 \uC0AC\uC815\uC5D0 \uB530\uB77C \uD488\uC808\uC774\uB098 \uD658\uBD88 \uC548\uB0B4\uB97C \uBC1B\uAC8C \uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\nconst getAmountCouponNotices = (availablePeriod, maxDiscountPrice, maxIssueCountNotice) => {\n  return [`\uCFE0\uD3F0 \uC0AC\uC6A9 \uAE30\uAC04 : ${availablePeriod}`, `\uCFE0\uD3F0 \uCD5C\uB300 \uD560\uC778 \uAE08\uC561 : ${maxDiscountPrice}`, maxIssueCountNotice, `\uB2E4\uC6B4\uB85C\uB4DC\uD55C \uCFE0\uD3F0\uC740 'MY PAGE > \uC0AC\uC6A9 \uAC00\uB2A5 \uCFE0\uD3F0'\uC5D0\uC11C \uD655\uC778 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uD574\uB2F9 \uCFE0\uD3F0\uC740 \uC774\uBCA4\uD2B8 \uCC38\uC5EC \uC0C1\uD488 \uB300\uC0C1\uC73C\uB85C\uB9CC \uC801\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4.`, `\uCFE0\uD3F0 \uC801\uC6A9 \uAC00\uB2A5 \uC0C1\uD488\uC740 \uC218\uC2DC\uB85C \uBCC0\uACBD\uB418\uBA70, \uC77C\uBD80 \uD488\uBAA9\uC5D0 \uD55C\uD558\uC5EC \uCFE0\uD3F0 \uC801\uC6A9\uC774 \uC81C\uD55C\uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`, `\uBE0C\uB79C\uB4DC \uC7AC\uACE0 \uC0AC\uC815\uC5D0 \uB530\uB77C \uD488\uC808\uC774\uB098 \uD658\uBD88 \uC548\uB0B4\uB97C \uBC1B\uAC8C \uB420 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`];\n};\nconst composeWithUnitByType = (discountType, discountValue) => {\n  switch (discountType) {\n    case DiscountType.FIXED_RATE:\n      return composeWithUnit(discountValue, \"%\");\n    case DiscountType.FIXED_PRICE:\n      return composeWithUnit(discountValue, \"\uC6D0\");\n  }\n};\nconst composeWithUnit = (discountValue, unit) => {\n  return `${discountValue.toLocaleString(\"ko-KR\")}${unit}`;\n};\nexport {\n  composeWithUnit,\n  composeWithUnitByType,\n  getCouponNotices\n};\n", "import { jsxs, jsx } from \"react/jsx-runtime\";\nimport { useMemo } from \"react\";\nimport { FoldableList } from \"../../../@shared/FoldableList/index.js\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport { typography } from \"../../../../styles/typography.js\";\nimport { getCouponNotices } from \"./NoticesElement.utils.js\";\nimport { filterMap } from \"../../../../utils/filterMap.js\";\nconst NoticesElement = ({\n  couponType,\n  coupons,\n  mainNotices,\n  hasAdditionalNotices,\n  additionalNotices\n}) => {\n  const theme = useTheme();\n  const uniqueMainNotices = [...new Set(mainNotices)];\n  const mergedAdditionalNotices = useMemo(() => [...getCouponNotices(couponType, coupons), ...additionalNotices], [couponType, coupons, additionalNotices]);\n  const uniqueAdditionalNotices = [...new Set(mergedAdditionalNotices)];\n  const hasMainNotices = mainNotices.length > 0;\n  const hasNotices = hasMainNotices || hasAdditionalNotices;\n  if (!hasNotices) {\n    return null;\n  }\n  return /* @__PURE__ */ jsxs(\"div\", { style: noticesLayout, children: [\n    hasMainNotices ? /* @__PURE__ */ jsx(\"div\", { style: mainNoticesStyle, children: uniqueMainNotices.map((notice) => /* @__PURE__ */ jsxs(\"div\", { style: {\n      ...typography(12, 400),\n      ...mainNoticeStyleByTheme[theme]\n    }, children: [\n      \"*\",\n      notice\n    ] }, notice)) }) : null,\n    hasAdditionalNotices ? /* @__PURE__ */ jsxs(FoldableList.Root, { theme, children: [\n      /* @__PURE__ */ jsx(FoldableList.Trigger, { style: {\n        gap: 2\n      }, textStyle: typography(12, 700), icons: {\n        initial: \"chevronDown\",\n        active: \"chevronUp\",\n        size: 12\n      }, children: \"\uC720\uC758\uC0AC\uD56D \uB354\uBCF4\uAE30\" }),\n      /* @__PURE__ */ jsx(FoldableList.Content, { children: filterMap(uniqueAdditionalNotices, (notice) => notice !== \"\", (notice) => /* @__PURE__ */ jsx(FoldableList.Item, { children: notice }, notice)) })\n    ] }) : null\n  ] });\n};\nconst noticesLayout = {\n  display: \"flex\",\n  flexDirection: \"column\",\n  gap: \"12px\",\n  marginTop: \"8px\"\n};\nconst mainNoticesStyle = {\n  width: \"100%\",\n  display: \"flex\",\n  flexDirection: \"column\"\n};\nconst mainNoticeStyleByTheme = {\n  light: {\n    color: \"#474747\"\n  },\n  dark: {\n    color: \"#a0a0a0\"\n  }\n};\nexport {\n  NoticesElement\n};\n", "import { jsx, jsxs } from \"react/jsx-runtime\";\nimport { Coupon } from \"../../../@shared/Coupon/index.js\";\nimport { useMemo, useEffect } from \"react\";\nimport \"../../../../node_modules/@firebase/analytics/dist/esm/index.esm2017.js\";\nimport \"../../../../node_modules/firebase/app/dist/esm/index.esm.js\";\nimport { useCurrentUser } from \"../../../../hooks/useCurrentUser.js\";\nimport \"framer\";\nimport \"../../../../node_modules/@29cm/snowplow/dist/esm/core/snowplow.js\";\nimport \"../../../../node_modules/swr/core/dist/index.js\";\nimport \"../../../../config/index.js\";\nimport \"../../../../node_modules/vite-plugin-node-polyfills/shims/buffer/dist/index.js\";\nimport \"../../../../node_modules/js-cookie/dist/js.cookie.js\";\nimport \"../../../../node_modules/swr/mutation/dist/index.js\";\nimport \"../../../../hooks/stores/content/content.store.js\";\nimport \"../../../../hooks/stores/dialog/dialog.store.js\";\nimport \"../../../../hooks/stores/global-layout/global-layout.store.js\";\nimport \"../../../../hooks/stores/toast/toast.store.js\";\nimport { useTheme } from \"../../../../hooks/useTheme.js\";\nimport \"../../../@shared/providers/BreakpointProvider/BreakpointProvider.js\";\nimport \"../../../../hooks/stores/bottom-sheet/bottom-sheet.store.js\";\nimport \"react-dom\";\nimport \"../../../systems/Dialog/Dialog.module.css.js\";\nimport \"framer-motion\";\nimport \"../../../../containers/DialogContainer/DialogContainer.emitter.js\";\nimport \"../../../../utils/redirectLogin.js\";\nimport \"../../../../utils/event-properties/source.js\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport { useFetchDownloadableCouponSummaries } from \"../../../../hooks/fetchers/useFetchDownloadableCouponSummaries.js\";\nimport { useDownloadCoupons } from \"../../../../hooks/useDownloadCoupons.js\";\nimport { getCouponName, getCouponStatus, getDescriptionByStatus, markAsDownloaded } from \"./CouponElement.utils.js\";\nimport { useCouponIds } from \"./CouponElement.hooks.js\";\nimport { useCouponsQuery } from \"../CouponModule.hooks.js\";\nimport { NoticesElement } from \"../NoticesElement/NoticesElement.js\";\nimport { toBackgroundColor } from \"../../../../libs/property-controls/coupon.js\";\nimport { useTrackSnowplowEvent } from \"../../../../hooks/snowplow/useTrackSnowplowEvent.js\";\nimport { EventTrigger } from \"../../../@shared/EventTrigger/index.js\";\nimport { getPaddingStyle } from \"../../../../utils/spacing.js\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { useRootComponentId, useSetRootModule } from \"../../hooks.js\";\nimport head from \"../../../../node_modules/lodash-es/head.js\";\nconst CouponElement = ({\n  loading = false,\n  query: _query,\n  output,\n  layout\n}) => {\n  const {\n    logged,\n    userNo\n  } = useCurrentUser();\n  const trackSnowplowEvent = useTrackSnowplowEvent();\n  const dispatchSetQuery = useQueryStore((state) => state.dispatchSetQuery);\n  const theme = useTheme();\n  const {\n    isInView\n  } = useIntersectionContext();\n  const query = useMemo(() => attachAdditionalQuery(_query, output), [_query, output]);\n  const componentId = useRootComponentId(query);\n  const {\n    couponIds,\n    couponType\n  } = useCouponIds({\n    query\n  });\n  const {\n    coupons\n  } = useCouponsQuery({\n    query,\n    couponIds,\n    enabled: isInView\n  });\n  const headCoupon = head(coupons);\n  const hasCoupon = headCoupon !== void 0;\n  const {\n    isLoading,\n    summaries,\n    mutate\n  } = useFetchDownloadableCouponSummaries(couponIds, userNo, isInView);\n  const handleCouponDownloadSuccess = () => {\n    if (!headCoupon) {\n      return;\n    }\n    trackSnowplowEvent(\"click_button\", {\n      section_name: componentId || \"unknown_section\",\n      section_title: componentId || \"unknown_section\",\n      position: -1,\n      button_id: `coupondown_${headCoupon.id}`,\n      button_name: headCoupon.couponName,\n      layout_position: -1\n    });\n  };\n  const {\n    validate,\n    download\n  } = useDownloadCoupons(couponType, headCoupon == null ? void 0 : headCoupon.discountType, handleCouponDownloadSuccess);\n  const shouldRender = query && hasCoupon && (!loading || !isLoading || !logged);\n  const paddingStyle = getPaddingStyle(layout);\n  useEffect(() => {\n    if (!query) {\n      return;\n    }\n    if (!output) {\n      return;\n    }\n    dispatchSetQuery(output, query);\n  }, [output, query]);\n  useSetRootModule(query, output);\n  if (!shouldRender) {\n    return /* @__PURE__ */ jsx(Coupon.Root, { style: {\n      padding: paddingStyle\n    }, loading: true, theme });\n  }\n  const downloadCount = Math.max(headCoupon.personMaxIssueCount ?? 1, 1);\n  const downloadCoupon = async () => {\n    await download(couponIds, downloadCount, true);\n    return markAsDownloaded(summaries, couponIds);\n  };\n  const handleClick = () => {\n    if (!validate()) {\n      return;\n    }\n    mutate(downloadCoupon(), {\n      optimisticData: markAsDownloaded(summaries, couponIds),\n      rollbackOnError: true,\n      populateCache: true,\n      revalidate: true\n    });\n  };\n  const handleImpression = () => {\n    trackSnowplowEvent(\"impression_content\", {\n      section_name: componentId || \"unknown_section\",\n      section_title: componentId || \"unknown_section\",\n      position: -1,\n      layout_position: -1,\n      layout_id: `coupondown_${headCoupon.id}`\n    });\n  };\n  const canDownload = summaries.every((summary) => summary.canDownload);\n  const couponName = getCouponName(coupons, query);\n  const status = getCouponStatus(headCoupon, canDownload, logged, query);\n  const description = getDescriptionByStatus(headCoupon)[status];\n  const {\n    backgroundColor,\n    ...rest\n  } = layout;\n  return /* @__PURE__ */ jsxs(EventTrigger.Root, { style: {\n    padding: paddingStyle\n  }, types: [\"impression\"], onImpression: handleImpression, children: [\n    /* @__PURE__ */ jsxs(Coupon.Root, { theme, backgroundColor: toBackgroundColor(backgroundColor), status, children: [\n      /* @__PURE__ */ jsxs(Coupon.Summary, { children: [\n        /* @__PURE__ */ jsx(Coupon.Title, { children: couponName }),\n        /* @__PURE__ */ jsx(Coupon.Description, { children: description })\n      ] }),\n      /* @__PURE__ */ jsx(Coupon.Divider, {}),\n      /* @__PURE__ */ jsx(EventTrigger.Target, { onClick: handleClick, style: {\n        aspectRatio: \"1 / 1\"\n      }, children: /* @__PURE__ */ jsx(Coupon.Button, {}) })\n    ] }),\n    /* @__PURE__ */ jsx(NoticesElement, { couponType, coupons, ...rest })\n  ] });\n};\nconst attachAdditionalQuery = (query, output) => {\n  return query ? {\n    ...query,\n    isRoot: query.rootOutput === void 0,\n    rootOutput: query.rootOutput || output\n  } : void 0;\n};\nexport {\n  CouponElement\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { useQueryStore } from \"../../query-store/query.store.js\";\nimport { CouponElement } from \"../CouponElement/CouponElement.js\";\nimport { createKey } from \"../../utils/key.js\";\nconst LinkedCouponModule = ({\n  value,\n  output,\n  layout\n}) => {\n  const query = useQueryStore((state) => state.queries[value]);\n  return /* @__PURE__ */ jsx(CouponElement, { query, output, layout }, createKey(query));\n};\nexport {\n  LinkedCouponModule\n};\n", "import { ControlType } from \"framer\";\nconst COUPON_NOTICES_CONTROLS = {\n  mainNotices: {\n    type: ControlType.Array,\n    title: \"\uBA54\uC778 \uC720\uC758\uC0AC\uD56D\",\n    description: \"\uC0C1\uC2DC \uB178\uCD9C\uB418\uB294 \uC720\uC758\uC0AC\uD56D\uC73C\uB85C, \uCD5C\uB300 \uB450 \uC904 \uC785\uB825\uC774 \uAC00\uB2A5\uD569\uB2C8\uB2E4.\",\n    control: {\n      type: ControlType.String\n    },\n    maxCount: 2\n  },\n  hasAdditionalNotices: {\n    type: ControlType.Boolean,\n    title: \"\uCD94\uAC00 \uC720\uC758\uC0AC\uD56D \uB178\uCD9C\",\n    enabledTitle: \"\uB178\uCD9C\",\n    disabledTitle: \"\uBBF8\uB178\uCD9C\",\n    defaultValue: false\n  },\n  additionalNotices: {\n    hidden: ({\n      hasAdditionalNotices\n    }) => hasAdditionalNotices === false,\n    type: ControlType.Array,\n    title: \"\uCD94\uAC00 \uC720\uC758\uC0AC\uD56D\",\n    description: \"\uB354\uBCF4\uAE30 \uD074\uB9AD \uC2DC \uB178\uCD9C\uB418\uB294 \uCD94\uAC00 \uC720\uC758\uC0AC\uD56D\uC785\uB2C8\uB2E4.\",\n    control: {\n      type: ControlType.String\n    }\n  }\n};\nexport {\n  COUPON_NOTICES_CONTROLS\n};\n", "import { combineObjectPropertyControls } from \"../../../libs/property-controls/helpers.js\";\nimport { QUERY_CONTROL, COUPON_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS, KEYWORD_COLLECTION_CONTROLS } from \"../controls.js\";\nconst MANUAL_COUPON_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(COUPON_CONTROLS)\n};\nconst AUTO_COUPON_MODULE_QUERY = {\n  ...QUERY_CONTROL,\n  controls: combineObjectPropertyControls(KEYWORD_COLLECTION_CONTROLS, KEYWORD_COLLECTIONS_CONTROLS)\n};\nexport {\n  AUTO_COUPON_MODULE_QUERY,\n  MANUAL_COUPON_MODULE_QUERY\n};\n", "import useSWR from \"../../../../node_modules/swr/core/dist/index.js\";\nimport { collectionApi } from \"../../../../apis/collection/CollectionApiService.js\";\nimport { keywordCollectionApi } from \"../../../../apis/keyword-collections/KeywordCollectionApiService.js\";\nimport { QueryType } from \"../../types.js\";\nimport { SortType } from \"../../../../types/models/sort.js\";\nimport { orderByDateAsc, getCurrentScheduleIndex } from \"../../../../utils/date.js\";\nimport { splitToNumberArray } from \"../../../../utils/splitToNumberArray.js\";\nconst COUPON_ID_FETCHER_KEY = \"coupon-module/coupon-id\";\nconst useCouponIdQuery = (options) => {\n  const {\n    enabled: _enabled = true,\n    query\n  } = options;\n  const enabled = _enabled && query !== void 0;\n  const {\n    data,\n    isLoading,\n    ...rest\n  } = useSWR(enabled ? [COUPON_ID_FETCHER_KEY, query] : null, () => queryCouponId(query));\n  return {\n    isLoading: isLoading || !enabled,\n    query: data,\n    ...rest\n  };\n};\nconst fetchKeywordCollectionCouponId = async (query) => {\n  if (!query.keywordCollectionId) {\n    return query;\n  }\n  const {\n    data\n  } = await keywordCollectionApi.getKeywordCollection(Number(query.keywordCollectionId));\n  const {\n    title,\n    description,\n    displayEndAt,\n    productGroups,\n    couponId\n  } = data;\n  const [firstProductGroup] = productGroups;\n  return {\n    ...query,\n    title,\n    description: description ?? void 0,\n    displayEndAt: displayEndAt ?? void 0,\n    couponId: couponId ?? void 0,\n    productGroups,\n    selectedProductGroup: {\n      id: firstProductGroup.productGroupId,\n      sort: firstProductGroup.sort,\n      index: 0\n    }\n  };\n};\nconst fetchKeywordCollectionsCouponId = async (query) => {\n  if (!query.keywordCollectionIds) {\n    return query;\n  }\n  const {\n    data\n  } = await collectionApi.getCollections(splitToNumberArray(query.keywordCollectionIds));\n  const collections = orderByDateAsc(data, (x) => x.displayStartAt);\n  const currentIndex = getCurrentScheduleIndex(collections, (current) => current.displayStartAt, (_, next) => next == null ? void 0 : next.displayStartAt);\n  const collection = collections[currentIndex ?? 0];\n  if (!collection) {\n    return query;\n  }\n  const {\n    collectionId,\n    title,\n    description,\n    displayEndAt,\n    productGroupList,\n    couponId\n  } = collection;\n  const [firstProductGroup] = productGroupList;\n  return {\n    type: QueryType.KeywordCollection,\n    keywordCollectionId: `${collectionId}`,\n    title,\n    description: description ?? void 0,\n    displayEndAt: displayEndAt ?? void 0,\n    couponId: couponId ?? void 0,\n    productGroups: productGroupList.map((group) => ({\n      productGroupId: group.collectionProductGroupId,\n      title: group.title,\n      // NOTE(\uC784\uADDC\uBBFC): \uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158 \uB2E4\uAC74 API \uC5D0\uC11C\uB294 \uC0C1\uD488\uADF8\uB8F9 sort \uAC12 \uBBF8\uC81C\uACF5\n      sort: SortType.FEATURED\n    })),\n    selectedProductGroup: {\n      id: firstProductGroup.collectionProductGroupId,\n      // NOTE(\uC784\uADDC\uBBFC): \uD0A4\uC6CC\uB4DC \uCEEC\uB809\uC158 \uB2E4\uAC74 API \uC5D0\uC11C\uB294 \uC0C1\uD488\uADF8\uB8F9 sort \uAC12 \uBBF8\uC81C\uACF5\n      sort: SortType.FEATURED,\n      index: 0\n    }\n  };\n};\nconst queryCouponId = (query) => {\n  if (!query) {\n    return;\n  }\n  switch (query.type) {\n    case QueryType.KeywordCollection:\n      return fetchKeywordCollectionCouponId(query);\n    case QueryType.KeywordCollections:\n      return fetchKeywordCollectionsCouponId(query);\n    default:\n      return query;\n  }\n};\nexport {\n  useCouponIdQuery\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport \"../../../systems/curations/IntersectionProvider/IntersectionProvider.js\";\nimport { useIntersectionContext } from \"../../../systems/curations/IntersectionProvider/IntersectionProvider.hooks.js\";\nimport { useCouponIdQuery } from \"./AutoCouponModule.hooks.js\";\nimport { CouponElement } from \"../CouponElement/CouponElement.js\";\nconst AutoCouponModule = ({\n  query: _query,\n  output,\n  layout\n}) => {\n  const {\n    isInView\n  } = useIntersectionContext();\n  const {\n    isLoading,\n    query\n  } = useCouponIdQuery({\n    query: _query,\n    enabled: isInView\n  });\n  return /* @__PURE__ */ jsx(CouponElement, { loading: isLoading, query, output, layout });\n};\nexport {\n  AutoCouponModule\n};\n", "import { jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType } from \"framer\";\nimport { COUPON_CONTROLS } from \"../../../libs/property-controls/coupon.js\";\nimport { THEME_CONTROLS } from \"../../../libs/property-controls/theme.js\";\nimport { CouponModuleInputType } from \"./CouponModule.types.js\";\nimport { LinkedCouponModule } from \"./LinkedCouponModule/LinkedCouponModule.js\";\nimport { COUPON_NOTICES_CONTROLS } from \"../../../libs/property-controls/coupon-notices.js\";\nimport { COMPONENT_ID_PROPS } from \"../../../libs/property-controls/component-id.js\";\nimport { SectionLayout } from \"../../systems/curations/SectionLayout/SectionLayout.js\";\nimport { MANUAL_COUPON_MODULE_QUERY, AUTO_COUPON_MODULE_QUERY } from \"./CouponModule.controls.js\";\nimport { AutoCouponModule } from \"./AutoCouponModule/AutoCouponModule.js\";\nimport { CouponElement } from \"./CouponElement/CouponElement.js\";\nconst CouponModuleInner = ({\n  input,\n  output,\n  layout\n}) => {\n  switch (input.type) {\n    case CouponModuleInputType.Linked:\n      return /* @__PURE__ */ jsx(LinkedCouponModule, { value: input.value, output, layout });\n    case CouponModuleInputType.Auto:\n      return /* @__PURE__ */ jsx(AutoCouponModule, { query: input.autoQuery, output, layout });\n    case CouponModuleInputType.Manual:\n      return /* @__PURE__ */ jsx(CouponElement, { query: input.query, output, layout });\n    default:\n      return null;\n  }\n};\nconst CouponModule = ({\n  theme,\n  componentId,\n  ...rest\n}) => {\n  return /* @__PURE__ */ jsx(SectionLayout, { componentId, theme, children: /* @__PURE__ */ jsx(CouponModuleInner, { ...rest }) });\n};\naddPropertyControls(CouponModule, {\n  ...THEME_CONTROLS,\n  componentId: {\n    hidden: ({\n      input\n    }) => (input == null ? void 0 : input.type) === CouponModuleInputType.Linked,\n    ...COMPONENT_ID_PROPS.componentId\n  },\n  input: {\n    type: ControlType.Object,\n    title: \"\uC785\uB825 \uAC12\",\n    controls: {\n      type: {\n        type: ControlType.Enum,\n        title: \"\uC720\uD615\",\n        options: [CouponModuleInputType.Manual, CouponModuleInputType.Linked, CouponModuleInputType.Auto],\n        optionTitles: [\"\uC218\uB3D9\", \"\uC5F0\uACB0\", \"\uC790\uB3D9\"],\n        defaultValue: CouponModuleInputType.Manual\n      },\n      value: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Linked,\n        type: ControlType.String,\n        title: \"\uCD9C\uB825 \uAC12\",\n        defaultValue: \"\"\n      },\n      query: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Manual,\n        ...MANUAL_COUPON_MODULE_QUERY\n      },\n      autoQuery: {\n        hidden: ({\n          type\n        }) => type !== CouponModuleInputType.Auto,\n        ...AUTO_COUPON_MODULE_QUERY\n      }\n    }\n  },\n  output: {\n    type: ControlType.String,\n    title: \"\uCD9C\uB825 \uAC12\",\n    defaultValue: \"\"\n  },\n  layout: {\n    type: ControlType.Object,\n    title: \"\uB808\uC774\uC544\uC6C3\",\n    controls: {\n      ...COUPON_CONTROLS,\n      ...COUPON_NOTICES_CONTROLS,\n      padding: {\n        type: ControlType.FusedNumber,\n        title: \"\uD328\uB529\",\n        defaultValue: 0,\n        toggleKey: \"isMixed\",\n        toggleTitles: [\"All\", \"Individual\"],\n        valueKeys: [\"paddingTop\", \"paddingRight\", \"paddingBottom\", \"paddingLeft\"],\n        valueLabels: [\"T\", \"R\", \"B\", \"L\"],\n        min: 0\n      }\n    }\n  }\n});\nexport {\n  CouponModule\n};\n", "import{CouponModule}from\"https://asset.29cm.co.kr/contents/framer/components/modules/CouponModule/CouponModule.js\";CouponModule.displayName=\"CouponModule\";export default CouponModule;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CouponModule\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CouponModule.map", "// Generated by Framer (9045c1a)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Pretendard Regular\",\"CUSTOM;Pretendard Bold\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Pretendard Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/t7lebLYx2xwMs9MrDdMh5EKeA.woff2\"},{family:\"Pretendard Bold\",source:\"custom\",url:\"https://framerusercontent.com/assets/TDgt4wnSbW6ssMiUHMKSTjZfpQ.woff2\"}]}];export const css=['.framer-fqqSD .framer-styles-preset-vl24ds:not(.rich-text-wrapper), .framer-fqqSD .framer-styles-preset-vl24ds.rich-text-wrapper p { --framer-font-family: \"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 18px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-fqqSD\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}", "// Generated by Framer (9045c1a)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Pretendard Regular\",\"CUSTOM;Pretendard Bold\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Pretendard Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/t7lebLYx2xwMs9MrDdMh5EKeA.woff2\"},{family:\"Pretendard Bold\",source:\"custom\",url:\"https://framerusercontent.com/assets/TDgt4wnSbW6ssMiUHMKSTjZfpQ.woff2\"}]}];export const css=['.framer-EWUCM .framer-styles-preset-166c609:not(.rich-text-wrapper), .framer-EWUCM .framer-styles-preset-166c609.rich-text-wrapper p { --framer-font-family: \"Pretendard Regular\", \"Pretendard Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Pretendard Bold\", \"Pretendard Bold Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.6em; --framer-paragraph-spacing: 20px; --framer-text-alignment: center; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }'];export const className=\"framer-EWUCM\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "80BAA0GA,EAAU,YAAY,YAI7H,IAAOC,GAAQD,ECHglB,IAAME,GAAeC,GAASC,EAAS,EAAQC,GAAiBF,GAASG,EAAW,EAAQC,GAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQC,GAAkB,eAAqBC,GAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,EAAE,SAASC,GAAqBC,KAAaC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAE,OAAAD,GAAU,QAAQE,GAASA,GAAS,OAAO,OAAOD,EAAcF,EAAUG,CAAO,CAAC,CAAC,EAASD,CAAc,CAAC,IAAME,GAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,GAAW,CAAC,CAAC,MAAAC,EAAM,SAAAC,CAAQ,IAAI,CAAC,IAAMC,EAAaC,GAAWC,EAAmB,EAAQC,EAAWL,GAAOE,EAAO,WAAiBI,EAAmBC,EAAQ,KAAK,CAAC,GAAGL,EAAO,WAAAG,CAAU,GAAG,CAAC,KAAK,UAAUA,CAAU,CAAC,CAAC,EAAE,OAAoBG,EAAKJ,GAAoB,SAAS,CAAC,MAAME,EAAa,SAASL,CAAQ,CAAC,CAAE,EAAQQ,GAASC,EAAO,OAAaC,CAAQ,EAAQC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,YAClB,MAAO,eACP,aAAc,EACd,UAAW,UACX,aAAc,CAAC,MAAO,YAAY,EAClC,UAAW,CAAC,aAAc,eAAgB,gBAAiB,aAAa,EACxE,YAAa,CAAC,IAAK,IAAK,IAAK,GAAG,EAChC,IAAK,CACP,CACF,CACF,CACF,CAAC,ECnGkHM,GAAa,YAAY,eAAe,IAAOC,GAAQD,GCC5IE,GAAU,UAAU,CAAC,4BAA4B,wBAAwB,CAAC,EAAS,IAAMC,GAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,qBAAqB,OAAO,SAAS,IAAI,sEAAsE,EAAE,CAAC,OAAO,kBAAkB,OAAO,SAAS,IAAI,uEAAuE,CAAC,CAAC,CAAC,EAAeC,GAAI,CAAC,k0BAAk0B,EAAeC,GAAU,eCA3tCC,GAAU,UAAU,CAAC,4BAA4B,wBAAwB,CAAC,EAAS,IAAMC,GAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,qBAAqB,OAAO,SAAS,IAAI,sEAAsE,EAAE,CAAC,OAAO,kBAAkB,OAAO,SAAS,IAAI,uEAAuE,CAAC,CAAC,CAAC,EAAeC,GAAI,CAAC,20BAA20B,EAAeC,GAAU",
  "names": ["Countdown", "Countdown_default", "CountdownFonts", "getFonts", "Countdown_default", "SchedulableFonts", "Schedulable_default", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableVariantMap", "getProps", "_", "_1", "_2", "_3", "_4", "_5", "_6", "_7", "_8", "height", "id", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "fallbackRef", "pe", "refBinding", "defaultLayoutId", "ae", "activeLocale", "setLocale", "useLocaleInfo", "componentViewport", "useComponentViewport", "style", "className", "layoutId", "A65qOvpHN", "jq1oSTO8b", "L0bgxUyiY", "E_bCBBmYS", "I750mv33P", "i6ShT9Z79", "j6wLiMkYg", "cvRPfO_oF", "qIYt8wsAH", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "scopingClassNames", "cx", "LayoutGroup", "u", "RichText2", "ComponentViewportProvider", "SmartComponentScopedContainer", "css", "FramerTyu7EX3in", "withCSS", "Tyu7EX3in_default", "addPropertyControls", "ControlType", "addFonts", "COUPON_CONTROLS", "ControlType", "colorType", "toBackgroundColor", "backgroundColor", "color", "gradient", "variantByType", "variantByStatus", "isObject", "object", "CouponContext", "z", "Root", "Y", "children", "style", "theme", "loading", "status", "_backgroundColor", "rest", "ref", "variant", "variantByStatus", "backgroundColor", "getBackground", "te", "isObject", "getLinearGradient", "p", "containerStyle", "Skeleton", "skeletonStyle", "skeletonStyleByTheme", "wrapperStyle", "linearGradient", "stops", "degree", "gradient", "x", "y", "stop", "useCouponContext", "context", "re", "CouponContext", "Description", "Y", "children", "style", "rest", "ref", "variant", "useCouponContext", "theme", "useTheme", "p", "typography", "Divider", "Y", "children", "style", "rest", "ref", "theme", "useTheme", "p", "containerStyle", "containerStyleByTheme", "Button", "Y", "style", "onClick", "rest", "ref", "variant", "status", "useCouponContext", "theme", "useTheme", "icon", "text", "contentByStatus", "handleClick", "e", "playHaptic", "u", "containerStyle", "containerStyleByStatus", "p", "Icon", "typography", "Summary", "Y", "children", "style", "rest", "ref", "p", "containerStyle", "Title", "Y", "children", "style", "rest", "ref", "variant", "useCouponContext", "theme", "useTheme", "p", "typography", "Coupon", "Root", "Summary", "Title", "Description", "Divider", "Button", "DOWNLOADABLE_COUPON_SUMMARIES_FETCHER_KEY", "useFetchDownloadableCouponSummaries", "couponIds", "userNo", "enabled", "canFetch", "isLoading", "data", "rest", "useSWR", "couponApi", "getCouponUseEndAt", "coupon", "AvailableDayType", "createKRTimeZoneDate", "getCouponStatus", "canDownload", "logged", "query", "isCanvas", "QueryType", "CouponType", "now", "issueStartAt", "issueEndAt", "useEndAt", "isUpcoming", "isBefore", "isEnd", "isAfter", "isExpired", "getDescriptionByStatus", "format", "ko", "u", "descriptionStyle", "p", "Countdown", "typography", "markAsDownloaded", "summaries", "couponIds", "summary", "getCouponCollectionCouponName", "_a", "_b", "getRandomCouponName", "coupons", "couponDiscountValues", "sortCouponsByDiscountValueAscending", "RandomDiscountValue", "head", "DiscountType", "getGeneralCouponName", "getCouponNameByDiscountType", "isAllFixedRateCoupon", "maxDiscountValue", "getCouponNameByCouponType", "getCouponName", "discountType", "discountValue", "postfix", "x", "y", "MS_IN_SECOND", "DEFAULT_COUPON_ITEM_ENTRY", "CouponUpdateType", "CouponType", "useCouponIds", "query", "couponItemEntry", "setCouponItemEntry", "ye", "getCouponItemEntry", "useInterval", "currentSchedule", "findCurrentSchedule", "prev", "shallowUnique", "toCouponNos", "ue", "getCouponCollectionCouponItemEntry", "coupon", "getKeywordCollectionCouponItemEntry", "couponId", "getRandomCouponItemEntry", "couponType", "couponIds", "getNormalCouponItemEntry", "couponUpdateType", "getDailyCouponItemEntry", "dailyCouponOptions", "schedules", "toSchedule", "getGeneralCouponItemEntry", "getCouponItemEntryByCouponType", "QueryType", "schedule", "now", "createKRTimeZoneDate", "scheduleIndex", "item", "index", "shouldUpdateAt", "next", "hasNext", "isFirst", "isAbove", "isWithin", "isWithinInterval", "isLast", "options", "sortScheduleAscending", "toCouponSchedule", "x", "y", "option", "dailyCouponIds", "updateSchedule", "updateAt", "startAt", "endAt", "diff", "differenceInCalendarDays", "_", "hours", "minutes", "seconds", "date", "formatToCoupon", "coupon", "COUPONS_FETCHER_KEY", "useCouponsQuery", "query", "couponIds", "enabled", "canFetch", "data", "useSWR", "queryCoupons", "fetchCoupons", "couponApi", "fetchCouponCollectionCoupon", "coupon", "formatToCoupon", "fetchKeywordCollectionCoupon", "QueryType", "DATE_FORMAT", "HOURS_IN_DAY", "getCouponNotices", "couponType", "coupons", "coupon", "head", "formattedAvailablePeriod", "formatAvailablePeriod", "formattedMaxDiscountPrice", "formatMaxDiscountPrice", "sortCouponsByDiscountValueAscending", "maxIssueCountNotice", "createMaxIssueCountNotice", "CouponType", "getRandomCouponNotices", "DiscountType", "getRateCouponNotices", "getAmountCouponNotices", "maxIssueCount", "coupon2", "formatRandomCouponMaxDiscountPrice", "formatAmountCouponMaxDiscountPrice", "formatRateCouponMaxDiscountPrice", "composeWithUnit", "getMaxDiscountPrice", "uniquifyCouponsByMinPayAmount", "acc", "curr", "maxDiscountPrice", "minPayAmount", "uniquifyCouponsByDiscountValue", "discountType", "discountValue", "composeWithUnitByType", "AvailableDayType", "availableStartAt", "parseISO", "availableEndAt", "format", "deduplicate", "x", "y", "availablePeriod", "unit", "NoticesElement", "couponType", "coupons", "mainNotices", "hasAdditionalNotices", "additionalNotices", "theme", "useTheme", "uniqueMainNotices", "mergedAdditionalNotices", "se", "getCouponNotices", "uniqueAdditionalNotices", "hasMainNotices", "u", "noticesLayout", "p", "mainNoticesStyle", "notice", "typography", "mainNoticeStyleByTheme", "FoldableList", "filterMap", "CouponElement", "loading", "_query", "output", "layout", "logged", "userNo", "useCurrentUser", "trackSnowplowEvent", "useTrackSnowplowEvent", "dispatchSetQuery", "useQueryStore", "state", "theme", "useTheme", "isInView", "useIntersectionContext", "query", "se", "attachAdditionalQuery", "componentId", "useRootComponentId", "couponIds", "couponType", "useCouponIds", "coupons", "useCouponsQuery", "headCoupon", "head", "hasCoupon", "isLoading", "summaries", "mutate", "useFetchDownloadableCouponSummaries", "handleCouponDownloadSuccess", "validate", "download", "useDownloadCoupons", "shouldRender", "paddingStyle", "getPaddingStyle", "ue", "useSetRootModule", "p", "Coupon", "downloadCount", "downloadCoupon", "markAsDownloaded", "handleClick", "handleImpression", "canDownload", "summary", "couponName", "getCouponName", "status", "getCouponStatus", "description", "getDescriptionByStatus", "backgroundColor", "rest", "u", "EventTrigger", "toBackgroundColor", "NoticesElement", "LinkedCouponModule", "value", "output", "layout", "query", "useQueryStore", "state", "p", "CouponElement", "createKey", "COUPON_NOTICES_CONTROLS", "ControlType", "hasAdditionalNotices", "MANUAL_COUPON_MODULE_QUERY", "QUERY_CONTROL", "combineObjectPropertyControls", "COUPON_CONTROLS", "AUTO_COUPON_MODULE_QUERY", "KEYWORD_COLLECTION_CONTROLS", "KEYWORD_COLLECTIONS_CONTROLS", "COUPON_ID_FETCHER_KEY", "useCouponIdQuery", "options", "_enabled", "query", "enabled", "data", "isLoading", "rest", "useSWR", "queryCouponId", "fetchKeywordCollectionCouponId", "keywordCollectionApi", "title", "description", "displayEndAt", "productGroups", "couponId", "firstProductGroup", "fetchKeywordCollectionsCouponId", "collectionApi", "splitToNumberArray", "collections", "orderByDateAsc", "x", "currentIndex", "getCurrentScheduleIndex", "current", "_", "next", "collection", "collectionId", "productGroupList", "QueryType", "group", "SortType", "AutoCouponModule", "_query", "output", "layout", "isInView", "useIntersectionContext", "isLoading", "query", "useCouponIdQuery", "p", "CouponElement", "CouponModuleInner", "input", "output", "layout", "CouponModuleInputType", "p", "LinkedCouponModule", "AutoCouponModule", "CouponElement", "CouponModule", "theme", "componentId", "rest", "SectionLayout", "addPropertyControls", "THEME_CONTROLS", "COMPONENT_ID_PROPS", "ControlType", "type", "MANUAL_COUPON_MODULE_QUERY", "AUTO_COUPON_MODULE_QUERY", "COUPON_CONTROLS", "COUPON_NOTICES_CONTROLS", "CouponModule", "CouponModule_default", "fontStore", "fonts", "css", "className", "fontStore", "fonts", "css", "className"]
}
