{"version":3,"file":"DemoCtaBanner.Ce1i0Hja.mjs","names":["__esmMin","p","c","init_jsx_runtime","init_framer_DKgW_P28","addPropertyControls","ControlType","init_ArrowButton","ArrowButton","DemoCtaBanner","pageColor","props","background","belowColor","CSS","heading","text","buttonText","GLOW","HIT","IMG","init_DemoCtaBanner"],"sources":["https:/framerusercontent.com/modules/qMD3o4nFHoPV7XeP5kmW/94scdnknVq01P7WeBxui/DemoCtaBanner.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import ArrowButton from\"https://framerusercontent.com/modules/d5VKqdg1BayDYjEFNLIR/D7iv95kWpZBir96httQ2/ArrowButton.js\";// \"Are you interested in a demo?\" band (reference: synova.ch industry pages, e.g.\n// /main-application-areas/semiconductors; the same widget as Home Section 11, which is canvas).\n// Measured 1700/1440/1300/1240/1100/1024/900/810/700/600/480/390:\n//   ≥1240: text 2fr | image 1fr, content inset 80, image absolute (right -40);\n//          corners 378×148 top-left + 821×148 bottom-right.\n//   <1240: text 1fr | image 1fr, no inset, image still overhangs 40; corners 130×90 top-left + 290×90 bottom-left.\n//   <600:  stacked, image below the text, no overhang, no hit glow.\n// h2 42 → 28 (5vw − 16), body 22 → 20 below 1024. Glows sit relative to the image cell.\n// Corner/glow paths are the Home Section 11 SVGs. Top corner = Page Colour, bottom corner =\n// Below Colour (the section after the band, e.g. the grey footer; defaults to Page Colour).\n// Stacking (.dcb is a stacking context via container-type): glow 0 < corners 1 < text/image 2,\n// so the glow never tints the corners. Don't give .dcb-in a z-index.\n// Greenwave PCD / CVD cutting tool insert with calibrated laser beam alignment\nconst IMG=\"https://framerusercontent.com/images/xHMfWOpIjepxdTxIiyFbPbXUVo.png\";const GLOW=\"https://framerusercontent.com/images/biYQJywHIpfbyKcRgtZwwQIrMFw.svg\";const HIT=\"https://framerusercontent.com/images/tZfEln0sK2Br4irx33E10dVFF0.svg\";const CSS=`\n.dcb{container-type:inline-size;width:100%;font-family:'Inter',sans-serif}\n.dcb-band{position:relative;overflow:hidden;box-sizing:border-box;background:var(--bg);color:#F9FCFF;\n  --g:clamp(12px,3cqw,20px);padding:max(80px,calc(5cqw + 48px)) var(--g) clamp(40px,calc(5cqw + 16px),80px)}\n.dcb-c{position:absolute;display:block;z-index:1;fill:var(--page);pointer-events:none}\n.dcb-tl{top:-1px;left:-1px;width:378px;height:148px}\n.dcb-br{right:-1px;bottom:-1px;width:821px;height:148px;fill:var(--below)}\n.dcb-tls,.dcb-bl{display:none}\n.dcb-tls{top:0;left:0;width:130px;height:90px}\n.dcb-bl{bottom:0;left:0;width:290px;height:90px;fill:var(--below)}\n.dcb-in{position:relative;box-sizing:border-box;max-width:1440px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr;gap:25px;padding:60px 0 60px 80px}\n.dcb-h2{margin:0 0 16px;font-size:clamp(28px,calc(5cqw - 16px),42px);line-height:1.33;font-weight:900;color:#F9FCFF}\n.dcb-p{margin:0 0 40px;font-size:22px;line-height:1.32}\n.dcb-txt{position:relative;z-index:2}\n.dcb-vis{position:relative;min-width:0}\n.dcb-img{position:absolute;top:0;right:-40px;display:block;width:100%;height:auto;aspect-ratio:653/469;z-index:2}\n.dcb-glow{position:absolute;top:-208px;right:-320px;width:881px;height:633px;z-index:0;pointer-events:none}\n.dcb-hit{position:absolute;top:-64px;right:-8px;width:185px;height:185px;z-index:2;pointer-events:none}\n@container (max-width:1239.98px){\n  .dcb-tl,.dcb-br{display:none}.dcb-tls,.dcb-bl{display:block}\n  .dcb-in{grid-template-columns:repeat(2,minmax(0,1fr));padding:60px 0}\n  .dcb-img{position:relative;right:auto;left:40px}\n}\n@container (max-width:1023.98px){.dcb-p{font-size:20px}}\n@container (max-width:599.98px){.dcb-in{grid-template-columns:minmax(0,1fr);padding:60px 0 0}.dcb-txt{padding:0 88px 40px 0}.dcb-img{left:0}.dcb-hit{display:none}}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function DemoCtaBanner(props){const{heading=\"Are you interested in a demo?\",text=\"Fill out the form and we’ll get back to you as soon as possible.\",buttonText=\"Contact Us\",link=\"/contact\",background=\"#002855\",pageColor=\"#FFFFFF\",belowColor=pageColor}=props;return /*#__PURE__*/_jsxs(\"section\",{className:\"dcb\",style:{...props.style,[\"--bg\"]:background,[\"--page\"]:pageColor,[\"--below\"]:belowColor},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"dcb-band\",children:[/*#__PURE__*/_jsx(\"svg\",{className:\"dcb-c dcb-tl\",viewBox:\"0 0 378 148\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M308 118c22.091 0 40-17.909 40-40V31c0-16.569 13.431-30 30-30V0H0v148h1c0-16.569 13.431-30 30-30z\"})}),/*#__PURE__*/_jsx(\"svg\",{className:\"dcb-c dcb-br\",viewBox:\"0 0 821 148\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M70 30c-22.091 0-40 17.909-40 40v47c0 16.569-13.431 30-30 30v1h821V0h-1c0 16.569-13.431 30-30 30z\"})}),/*#__PURE__*/_jsx(\"svg\",{className:\"dcb-c dcb-tls\",viewBox:\"0 0 130 90\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 72h87.676C101.11 72 112 61.11 112 47.676V0H0zM0 90V72h18C8.059 72 0 80.059 0 90m112-72V0h18c-9.941 0-18 8.059-18 18\"})}),/*#__PURE__*/_jsx(\"svg\",{className:\"dcb-c dcb-bl\",viewBox:\"0 0 290 90\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M0 18h247.676C261.11 18 272 28.89 272 42.324V90H0zM0 0v18h18C8.059 18 0 9.941 0 0m272 72v18h18c-9.941 0-18-8.059-18-18\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dcb-in\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"dcb-txt\",children:[/*#__PURE__*/_jsx(\"h2\",{className:\"dcb-h2\",children:heading}),/*#__PURE__*/_jsx(\"p\",{className:\"dcb-p\",children:text}),/*#__PURE__*/_jsx(ArrowButton,{label:buttonText,link:link,size:\"large\",color:\"#F9FCFF\",fill:\"#00923F\",hoverFill:\"#007A33\",hoverText:\"#F9FCFF\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"dcb-vis\",children:[/*#__PURE__*/_jsx(\"img\",{className:\"dcb-glow\",src:GLOW,alt:\"\"}),/*#__PURE__*/_jsx(\"img\",{className:\"dcb-hit\",src:HIT,alt:\"\"}),/*#__PURE__*/_jsx(\"img\",{className:\"dcb-img\",src:props.image||IMG,alt:\"\",loading:\"lazy\"})]})]})]})]});}addPropertyControls(DemoCtaBanner,{heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Are you interested in a demo?\"},text:{type:ControlType.String,title:\"Text\",displayTextArea:true,defaultValue:\"Fill out the form and we’ll get back to you as soon as possible.\"},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Contact Us\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"/contact\"},image:{type:ControlType.Image,title:\"Image\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#002855\"},pageColor:{type:ControlType.Color,title:\"Page Colour\",defaultValue:\"#FFFFFF\"},belowColor:{type:ControlType.Color,title:\"Below Colour\",optional:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DemoCtaBanner\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,yNAyCG,SAAwBS,EAAc,EAAM,CAAC,GAAK,CAAC,UAAQ,gCAAgC,OAAK,mEAAmE,aAAW,aAAa,OAAK,WAAW,aAAW,UAAU,YAAU,UAAU,aAAWC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