{"version":3,"file":"TimerTicker.CJfbPYPb.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","RichText","useRef","useMemo","useState"],"sources":["https:/framerusercontent.com/modules/0pKfvHYP07ToN4Ffh8bV/FLnRgdJp1YY2bsWGuUmz/URLMerger.js","https:/framerusercontent.com/modules/O15pFpB8R0RO00XrpwNJ/Wwfjb8U8p1qOYafBrS8Q/XoFfI71Hb.js","https:/framerusercontent.com/modules/erQyY0i3M3w7m6aJsF32/ZngdD9Zbl8avSCMRSbhG/TimerTicker.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withDestinationLink(Component){return /*#__PURE__*/forwardRef((props,ref)=>{// CMS field automatically passed from collection item\nconst slug=props.href?.split(\"/\")[1];// Evaluate at render time (SSR + client) to prevent hydration mismatch.\n// Default to production; opt into staging only on the v2 preview host.\nconst isStaging=typeof window!==\"undefined\"&&window.location.hostname===\"v2.vacationdealhub.com\";const url=slug?isStaging?`https://vacation-checkout.cubestagearea.com/${slug}`:`https://book.vacationdealhub.com/${slug}`:undefined;const updatedProps=slug?{...props,href:url}:props;return /*#__PURE__*/_jsx(Component,{ref:ref,...updatedProps});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withDestinationLink\":{\"type\":\"reactHoc\",\"name\":\"withDestinationLink\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./URLMerger.map","// Generated by Framer (c9b3949)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{withDestinationLink}from\"https://framerusercontent.com/modules/0pKfvHYP07ToN4Ffh8bV/FLnRgdJp1YY2bsWGuUmz/URLMerger.js\";const MotionAWithDestinationLink18xq4as=withCodeBoundaryForOverrides(motion.a,{nodeId:\"m0hQF5e7b\",override:withDestinationLink,scopeId:\"XoFfI71Hb\"});const cycleOrder=[\"m0hQF5e7b\",\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"];const serializationHash=\"framer-A76cn\";const variantClassNames={IBCGtKYcS:\"framer-v-hooia3\",m0hQF5e7b:\"framer-v-18xq4as\",RfraP4BMI:\"framer-v-k4otqq\",xvOfvgfCT:\"framer-v-1jhm414\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const SIdeUKcgg=undefined;const PCxXKWys2=undefined;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 humanReadableVariantMap={\"Phone Book Now\":\"RfraP4BMI\",\"Sale Book Now Button\":\"xvOfvgfCT\",\"Variant 1\":\"m0hQF5e7b\",\"Variant 2 - Big Button\":\"IBCGtKYcS\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,linkTo,newTab,width,...props})=>{return{...props,PCxXKWys2:newTab??props.PCxXKWys2??true,SIdeUKcgg:linkTo??props.SIdeUKcgg,variant:humanReadableVariantMap[props.variant]??props.variant??\"m0hQF5e7b\"};};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,SIdeUKcgg,PCxXKWys2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"m0hQF5e7b\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if([\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"].includes(baseVariant))return false;return true;};const isDisplayed1=()=>{if([\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"].includes(baseVariant))return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:SIdeUKcgg,motionChild:true,nodeId:\"m0hQF5e7b\",openInNewTab:true,scopeId:\"XoFfI71Hb\",smoothScroll:false,...addPropertyOverrides({IBCGtKYcS:{openInNewTab:PCxXKWys2}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(MotionAWithDestinationLink18xq4as,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-18xq4as\",className,classNames)} framer-1v998w1`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"m0hQF5e7b\",ref:refBinding,style:{backgroundColor:\"rgb(2, 181, 0)\",borderBottomLeftRadius:14,borderBottomRightRadius:14,borderTopLeftRadius:14,borderTopRightRadius:14,...style},...addPropertyOverrides({IBCGtKYcS:{\"data-framer-name\":\"Variant 2 - Big Button\"},RfraP4BMI:{\"data-framer-name\":\"Phone Book Now\"},xvOfvgfCT:{\"data-framer-name\":\"Sale Book Now Button\"}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"24px\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Book Now\"})}),className:\"framer-1sba3qt\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"YRVZW1fYv\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed1()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"40px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"40px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})}),className:\"framer-tvq0hp\",fonts:[\"GF;Inter-600\"],layoutDependency:layoutDependency,layoutId:\"bpDvPelDD\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({RfraP4BMI:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"26px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"28px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})})},xvOfvgfCT:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7SW50ZXItNjAw\",\"--framer-font-size\":\"22px\",\"--framer-font-weight\":\"600\",\"--framer-line-height\":\"24px\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\",\"--framer-text-transform\":\"uppercase\"},children:\"Book Now\"})})}},baseVariant,gestureVariant)})]})})})})});});const css=[\".framer-A76cn.framer-1v998w1, .framer-A76cn .framer-1v998w1 { display: block; }\",\".framer-A76cn.framer-18xq4as { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); align-content: flex-start; align-items: flex-start; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: 180px; }\",\".framer-A76cn .framer-1sba3qt { -webkit-user-select: none; flex: none; height: auto; pointer-events: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-A76cn .framer-tvq0hp { -webkit-user-select: none; flex: none; height: auto; pointer-events: auto; position: relative; user-select: none; white-space: pre-wrap; width: 229px; word-break: break-word; word-wrap: break-word; }\",\".framer-A76cn.framer-v-hooia3.framer-18xq4as { align-content: center; align-items: center; gap: 3px; justify-content: center; width: 289px; }\",\".framer-A76cn.framer-v-1jhm414.framer-18xq4as { align-content: center; align-items: center; justify-content: center; padding: 16px 0px 16px 0px; width: 170px; }\",\".framer-A76cn.framer-v-1jhm414 .framer-tvq0hp, .framer-A76cn.framer-v-k4otqq .framer-tvq0hp { width: 100%; }\",\".framer-A76cn.framer-v-k4otqq.framer-18xq4as { align-content: center; align-items: center; justify-content: center; width: 143px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 37\n * @framerIntrinsicWidth 180\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"IBCGtKYcS\":{\"layout\":[\"fixed\",\"auto\"]},\"xvOfvgfCT\":{\"layout\":[\"fixed\",\"auto\"]},\"RfraP4BMI\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"SIdeUKcgg\":\"linkTo\",\"PCxXKWys2\":\"newTab\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerXoFfI71Hb=withCSS(Component,css,\"framer-A76cn\");export default FramerXoFfI71Hb;FramerXoFfI71Hb.displayName=\"Book Now\";FramerXoFfI71Hb.defaultProps={height:37,width:180};addPropertyControls(FramerXoFfI71Hb,{variant:{options:[\"m0hQF5e7b\",\"IBCGtKYcS\",\"xvOfvgfCT\",\"RfraP4BMI\"],optionTitles:[\"Variant 1\",\"Variant 2 - Big Button\",\"Sale Book Now Button\",\"Phone Book Now\"],title:\"Variant\",type:ControlType.Enum},SIdeUKcgg:{description:\"\",title:\"LinkTo\",type:ControlType.Link},PCxXKWys2:{defaultValue:true,title:\"New Tab\",type:ControlType.Boolean},onPCxXKWys2Change:{changes:\"PCxXKWys2\",type:ControlType.ChangeHandler}});addFonts(FramerXoFfI71Hb,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"google\",style:\"normal\",uiFamilyName:\"Inter\",url:\"https://fonts.gstatic.com/s/inter/v20/UcCO3FwrK3iLTeHuS_nVMrMxCp50SjIw2boKoduKmMEVuGKYMZ1rib2Bg-4.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXoFfI71Hb\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"180\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"IBCGtKYcS\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"xvOfvgfCT\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"RfraP4BMI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"SIdeUKcgg\\\":\\\"linkTo\\\",\\\"PCxXKWys2\\\":\\\"newTab\\\"}\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"37\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./XoFfI71Hb.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{useEffect,useMemo,useRef,useState,startTransition}from\"react\";import{useInView}from\"framer-motion\";function clampInt(n){if(!Number.isFinite(n))return 0;return Math.max(0,Math.floor(n));}function msToParts(ms){const total=clampInt(ms/1e3);const hours=Math.floor(total/3600);const minutes=Math.floor(total%3600/60);const seconds=total%60;return{hours,minutes,seconds};}function pad2(n){return String(clampInt(n)).padStart(2,\"0\");}// Shared seed for consistent random duration across all instances\nlet sharedRandomMinutes=null;function getSharedRandomDuration(){if(sharedRandomMinutes===null){const minMinutes=47;const maxMinutes=58;sharedRandomMinutes=Math.floor(Math.random()*(maxMinutes-minMinutes+1))+minMinutes;}return sharedRandomMinutes;}/**\n * @framerIntrinsicWidth 280\n * @framerIntrinsicHeight 70\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TimerTicker(props){const{mode,endDate,durationSeconds,durationHours,durationMinutes,background,numberColor,labelColor,numberFont,labelFont,labels,align,numberAlign,boxWidth,onCompleteBehavior,previewShowStatic,style}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const inView=useInView(ref,{margin:\"200px 0px 200px 0px\",amount:.1});const targetMs=useMemo(()=>{if(typeof window===\"undefined\")return 0;if(mode===\"durationFromNow\"){const randomMinutes=getSharedRandomDuration();const ms=randomMinutes*60*1e3;return Date.now()+ms;}const d=new Date(endDate);const t=d.getTime();return Number.isFinite(t)?t:0;},[mode,endDate]);// Hydration-safe: the first client render must byte-match the prerendered HTML,\n// so this initial value must never read Date.now(). Framer's prerenderer runs\n// with `window` defined, so the old `typeof window === \"undefined\"` guard did\n// nothing there and baked a build-time countdown into the HTML, which then\n// disagreed with the client and threw React #425 on every page load.\n// The effect below fills in the real remaining time immediately after mount.\nconst[remainingMs,setRemainingMs]=useState(0);const[hidden,setHidden]=useState(false);useEffect(()=>{if(typeof window===\"undefined\")return;if(!targetMs){startTransition(()=>setRemainingMs(0));return;}startTransition(()=>{setHidden(false);setRemainingMs(Math.max(0,targetMs-Date.now()));});},[targetMs]);useEffect(()=>{if(typeof window===\"undefined\")return;if(isStatic)return;if(!inView)return;if(!targetMs)return;if(hidden)return;let raf=0;let lastShownSeconds=-1;const tick=()=>{const ms=Math.max(0,targetMs-Date.now());const sec=Math.floor(ms/1e3);if(sec!==lastShownSeconds){lastShownSeconds=sec;startTransition(()=>setRemainingMs(ms));}if(ms<=0){if(onCompleteBehavior===\"hide\"){startTransition(()=>setHidden(true));}else{startTransition(()=>setRemainingMs(0));}return;}raf=window.requestAnimationFrame(tick);};raf=window.requestAnimationFrame(tick);return()=>{window.cancelAnimationFrame(raf);};},[targetMs,isStatic,inView,onCompleteBehavior,hidden]);const parts=useMemo(()=>{return msToParts(remainingMs);},[remainingMs]);const showSomethingInStatic=RenderTarget.current()===RenderTarget.canvas||RenderTarget.current()===RenderTarget.thumbnail||isStatic;const displayParts=useMemo(()=>{if(!showSomethingInStatic)return parts;if(!previewShowStatic)return parts;// Nice-looking static preview similar to the screenshot\nif(targetMs)return parts;return{hours:0,minutes:29,seconds:54};},[parts,previewShowStatic,showSomethingInStatic,targetMs]);if(hidden)return null;const textAlign=align;const numberTextAlign=numberAlign;const colBase={display:\"flex\",flexDirection:\"column\",alignItems:numberTextAlign===\"left\"?\"flex-start\":numberTextAlign===\"right\"?\"flex-end\":\"center\",justifyContent:\"center\",minWidth:0,width:boxWidth};const numberStyle={...numberFont,color:numberColor,lineHeight:numberFont?.lineHeight??\"1em\"};const labelStyle={...labelFont,color:labelColor,marginTop:2,lineHeight:labelFont?.lineHeight??\"1em\"};return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{position:\"relative\",width:\"100%\",height:\"100%\",background,display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:0,padding:0,overflow:\"hidden\",...style||{}},\"aria-label\":\"Timer ticker\",role:\"group\",children:[/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Hours\",suppressHydrationWarning:true,children:pad2(displayParts.hours)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.hours})]}),labels.showSemicolon&&/*#__PURE__*/_jsx(\"div\",{style:{...numberStyle,alignSelf:labels.show?\"flex-start\":\"center\"},children:\":\"}),/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Minutes\",suppressHydrationWarning:true,children:pad2(displayParts.minutes)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.minutes})]}),labels.showSemicolon&&/*#__PURE__*/_jsx(\"div\",{style:{...numberStyle,alignSelf:labels.show?\"flex-start\":\"center\"},children:\":\"}),/*#__PURE__*/_jsxs(\"div\",{style:colBase,children:[/*#__PURE__*/_jsx(\"div\",{style:numberStyle,\"aria-label\":\"Seconds\",suppressHydrationWarning:true,children:pad2(displayParts.seconds)}),labels.show&&/*#__PURE__*/_jsx(\"div\",{style:labelStyle,children:labels.seconds})]})]});}addPropertyControls(TimerTicker,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"countdownToDate\",\"durationFromNow\"],optionTitles:[\"To Date\",\"Duration\"],defaultValue:\"countdownToDate\",displaySegmentedControl:true},endDate:{type:ControlType.Date,title:\"End Date\",defaultValue:new Date(Date.now()+60*60*1e3).toJSON(),displayTime:true,hidden:({mode})=>mode!==\"countdownToDate\"},durationSeconds:{type:ControlType.Number,title:\"Duration\",defaultValue:1794,min:0,max:60*60*24*7,step:1,unit:\"s\",hidden:({mode})=>mode!==\"durationFromNow\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0, 0, 0, 0)\"},numberColor:{type:ControlType.Color,title:\"Number\",defaultValue:\"#FFFFFF\"},labelColor:{type:ControlType.Color,title:\"Label\",defaultValue:\"#FFFFFF\"},numberFont:{type:ControlType.Font,title:\"Number Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"37px\",variant:\"Regular\",letterSpacing:\"-0.02em\",lineHeight:\"1em\",textAlign:\"center\"}},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"11px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\",textAlign:\"center\"}},labels:{type:ControlType.Object,title:\"Labels\",icon:\"object\",controls:{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showSemicolon:{type:ControlType.Boolean,title:\"Semicolon\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},hours:{type:ControlType.String,title:\"Hours\",defaultValue:\"Hours\"},minutes:{type:ControlType.String,title:\"Minutes\",defaultValue:\"Minutes\"},seconds:{type:ControlType.String,title:\"Seconds\",defaultValue:\"Seconds\"}},defaultValue:{show:true,showSemicolon:false,hours:\"Hours\",minutes:\"Minutes\",seconds:\"Seconds\"}},align:{type:ControlType.Enum,title:\"Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true},numberAlign:{type:ControlType.Enum,title:\"Number Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\",displaySegmentedControl:true},boxWidth:{type:ControlType.Number,title:\"Box Width\",defaultValue:60,min:20,max:200,step:1,unit:\"px\"},onCompleteBehavior:{type:ControlType.Enum,title:\"On Complete\",options:[\"stopAtZero\",\"hide\"],optionTitles:[\"Stop at 0\",\"Hide\"],defaultValue:\"stopAtZero\"},previewShowStatic:{type:ControlType.Boolean,title:\"Canvas Preview\",defaultValue:true,enabledTitle:\"Static\",disabledTitle:\"Live\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TimerTicker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"280\",\"framerIntrinsicHeight\":\"70\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TimerTicker.map"],"mappings":"2YAAyE,SAAgB,EAAoB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CACpK,IAAM,EAAK,EAAM,MAAM,MAAM,GAAG,CAAC,CAAC,GAE5B,EAAiB,IAAS,QAAa,EAAO,SAAS,WAAW,yBAA+B,EAAI,EAAK,EAAU,+CAA+C,IAAO,oCAAoC,IAAO,IAAA,GAA4D,OAAoB,EAAK,EAAU,CAAK,MAAI,GAA3E,EAAK,CAAC,GAAG,EAAM,KAAK,CAAG,EAAE,CAAiE,CAAC,CAAE,CAAC,CAAE,qBAH9S,IAA8B,KCCwxB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAA99B,IAAsK,IAAkE,IAA4B,IAAwJ,EAAO,EAAkC,EAA6B,EAAO,EAAE,CAAC,OAAO,YAAY,SAAS,EAAoB,QAAQ,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