{"version":3,"file":"StayUpdated.Cg9lL7sq.mjs","names":[],"sources":["https:/framerusercontent.com/modules/nWEdRQaKvx1X2yWdQ71f/uKwlGU57TbckmEEzenCo/StayUpdated.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion}from\"framer-motion\";/**\n * Hero button, switched on and off by hand.\n * Select the \"Hero button\" layer and use the panel on the right:\n * Show button, Button text, Link, Open in new tab.\n *\n * @framerIntrinsicWidth 215\n * @framerIntrinsicHeight 68\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function HeroButton(props){const{show=false,label=\"COMING SOON: STAY UPDATED\",url=\"\",newTab=true,gapTop=12}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Off: nothing on the site. On the canvas it stays as a faded ghost,\n// so whoever edits the page can still find it and switch it back on.\nif(!show&&!isCanvas)return null;const font={fontFamily:\"'Chakra Petch', sans-serif\",WebkitFontSmoothing:\"antialiased\"};return /*#__PURE__*/_jsx(motion.a,{href:url||undefined,target:newTab?\"_blank\":undefined,rel:newTab?\"noopener noreferrer\":undefined,initial:false,whileHover:{backgroundColor:\"#ffffff\",color:\"#000000\"},transition:{duration:.4,ease:[.22,1,.36,1]},style:{...font,marginTop:gapTop,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"14px 22px\",border:\"1px solid rgb(255, 255, 255)\",backgroundColor:\"rgba(255, 255, 255, 0)\",color:\"rgb(255, 255, 255)\",fontWeight:700,fontSize:14,letterSpacing:\"0.12em\",lineHeight:1,textTransform:\"uppercase\",textDecoration:\"none\",textAlign:\"center\",whiteSpace:\"normal\",maxWidth:\"100%\",cursor:\"pointer\",opacity:show?1:.3,borderStyle:show?\"solid\":\"dashed\"},children:label});}addPropertyControls(HeroButton,{show:{type:ControlType.Boolean,title:\"Show button\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Off hides the button on the website. On the canvas it stays visible but faded.\"},label:{type:ControlType.String,title:\"Button text\",defaultValue:\"COMING SOON: STAY UPDATED\",hidden:p=>!p.show},url:{type:ControlType.Link,title:\"Link\",defaultValue:\"https://drop.cobrand.com/d/Terminal-V/2027\",hidden:p=>!p.show},newTab:{type:ControlType.Boolean,title:\"Open in new tab\",defaultValue:true,hidden:p=>!p.show},gapTop:{type:ControlType.Number,title:\"Gap above\",defaultValue:12,min:0,max:60,step:2,unit:\"px\",hidden:p=>!p.show}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HeroButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"215\",\"framerIntrinsicHeight\":\"68\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StayUpdated.map"],"mappings":"oNAUG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,OAAK,GAAM,QAAM,4BAA4B,MAAI,GAAG,SAAO,GAAK,SAAO,IAAI,EAAY,EAAS,EAAa,QAAQ,IAAI,EAAa,OAElE,MAApH,CAAC,GAAM,CAAC,EAAgB,KAAgH,EAAK,EAAO,EAAE,CAAC,KAAK,GAAK,IAAA,GAAU,OAAO,EAAO,SAAS,IAAA,GAAU,IAAI,EAAO,sBAAsB,IAAA,GAAU,QAAQ,GAAM,WAAW,CAAC,gBAAgB,UAAU,MAAM,SAAS,EAAE,WAAW,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,EAAE,MAAM,CAArU,WAAW,6BAA6B,oBAAoB,cAAkR,UAAU,EAAO,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,QAAQ,YAAY,OAAO,+BAA+B,gBAAgB,yBAAyB,MAAM,qBAAqB,WAAW,IAAI,SAAS,GAAG,cAAc,SAAS,WAAW,EAAE,cAAc,YAAY,eA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