{"version":3,"file":"AboutProgramBoxes.DzVE9rzt.mjs","names":["React.useState","React.useMemo"],"sources":["https:/framerusercontent.com/modules/5l6r4laYWWTzl5O7uQnq/bAXmdbepAamnfEwSQAhU/AboutProgramBoxes.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const TEXT=\"#ebebeb\";const MUTED=\"#9e9e9e\";const GRID=\"#383838\";const ICON=\"#ea6600\";const defaultItems=[{icon:\"seal\",title:\"Earn on the deals you originate\",description:\"You build complementary software — SCADA, analytics, digital twins — and want OTee as a native data source and control layer.\"},{icon:\"seal\",title:\"Co-market with OTee\",description:\"Get featured through co-created content and joint announcements, reaching end-customers globally.\"},{icon:\"trend\",title:\"Keep 100% of your services revenue\",description:\"OTee takes zero share of the services you deliver, so you retain full ownership of your service business.\"}];const css=`\n.apb-root,\n.apb-root * {\n  box-sizing: border-box;\n}\n\n.apb-root {\n  width: 100%;\n  color: ${TEXT};\n  background: transparent;\n}\n\n.apb-shell {\n  width: 100%;\n}\n\n.apb-grid {\n  position: relative;\n  display: grid;\n  grid-template-columns: repeat(3, minmax(0, 1fr));\n}\n\n.apb-card {\n  position: relative;\n  min-width: 0;\n  height: 420px;\n  background: transparent;\n  border-left: 1px solid ${GRID};\n  border-top: 1px solid ${GRID};\n  overflow: hidden;\n}\n\n.apb-content {\n  position: absolute;\n  inset: 0;\n  padding: 60px 60px;\n  display: flex;\n  flex-direction: column;\n  gap: 120px;\n}\n\n.apb-icon {\n  width: 24px;\n  height: 24px;\n  color: ${ICON};\n  flex: 0 0 auto;\n}\n\n.apb-copy {\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  gap: 20px;\n}\n\n.apb-title {\n  margin: 0;\n  color: ${TEXT};\n  font-family: \"Geist Mono\", \"SFMono-Regular\", \"Menlo\", monospace;\n  font-size: 16px;\n  font-weight: 400;\n  line-height: 24px;\n  white-space: pre-line;\n}\n\n.apb-body {\n  margin: 0;\n  color: ${MUTED};\n  font-family: \"Geist\", \"Inter\", sans-serif;\n  font-size: 14px;\n  font-weight: 400;\n  line-height: 20px;\n  white-space: pre-line;\n}\n\n.apb-overlay {\n  position: absolute;\n  inset: 0;\n  pointer-events: none;\n  z-index: 2;\n}\n\n.apb-joint {\n  position: absolute;\n  width: 24px;\n  height: 24px;\n  transform: translate(-50%, -50%);\n}\n\n.apb-joint-line {\n  position: absolute;\n  background: ${MUTED};\n}\n\n.apb-joint-line--up,\n.apb-joint-line--down {\n  width: 1px;\n  height: 11px;\n  left: 11px;\n}\n\n.apb-joint-line--left,\n.apb-joint-line--right {\n  width: 11px;\n  height: 1px;\n  top: 11px;\n}\n\n.apb-joint-line--up {\n  top: 0;\n}\n\n.apb-joint-line--down {\n  bottom: 0;\n}\n\n.apb-joint-line--left {\n  left: 0;\n}\n\n.apb-joint-line--right {\n  right: 0;\n}\n\n@media (max-width: 1023px) {\n  .apb-grid {\n    grid-template-columns: repeat(2, minmax(0, 1fr));\n  }\n\n  .apb-card {\n    height: 520px;\n  }\n\n  .apb-content {\n    padding: 48px 36px 56px;\n  }\n}\n\n@media (max-width: 767px) {\n  .apb-grid {\n    grid-template-columns: 1fr;\n  }\n\n  .apb-card {\n    height: 420px;\n  }\n\n  .apb-content {\n    padding: 40px 24px 60px;\n    gap: 60px;\n  }\n\n  .apb-title {\n    font-size: 16px;\n    line-height: 24px;\n  }\n}\n`;function Icon({type}){const commonProps={width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",\"aria-hidden\":true};const strokeProps={stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\",strokeLinejoin:\"round\"};switch(type){case\"globe\":return /*#__PURE__*/_jsxs(\"svg\",{...commonProps,children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"7\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M5.8 9H18.2\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M5.8 15H18.2\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 5C14.1 7 15.2 9.5 15.2 12C15.2 14.5 14.1 17 12 19\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 5C9.9 7 8.8 9.5 8.8 12C8.8 14.5 9.9 17 12 19\",...strokeProps})]});case\"hardware\":return /*#__PURE__*/_jsxs(\"svg\",{...commonProps,children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3.75\",y:\"4.5\",width:\"16.5\",height:\"6\",rx:\"0.75\",...strokeProps}),/*#__PURE__*/_jsx(\"rect\",{x:\"3.75\",y:\"13.5\",width:\"16.5\",height:\"6\",rx:\"0.75\",...strokeProps}),/*#__PURE__*/_jsx(\"circle\",{cx:\"16.875\",cy:\"7.5\",r:\"1.125\",fill:\"currentColor\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"16.875\",cy:\"16.5\",r:\"1.125\",fill:\"currentColor\"})]});case\"trend\":return /*#__PURE__*/_jsxs(\"svg\",{...commonProps,children:[/*#__PURE__*/_jsx(\"path\",{d:\"M21.75 5.25L12.75 14.25L9 10.5L2.25 17.25\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M21.75 11.25V5.25H15.75\",...strokeProps})]});case\"seal\":default:return /*#__PURE__*/_jsxs(\"svg\",{...commonProps,children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5.1056 18.8944C4.2431 18.0319 4.815 16.2197 4.3763 15.1584C3.9206 14.0625 2.25 13.1719 2.25 12C2.25 10.8281 3.9206 9.9375 4.3763 8.8416C4.815 7.7812 4.2431 5.9681 5.1056 5.1056C5.9681 4.2431 7.7812 4.815 8.8416 4.3763C9.9422 3.9206 10.8281 2.25 12 2.25C13.1719 2.25 14.0625 3.9206 15.1584 4.3763C16.2197 4.815 18.0319 4.2431 18.8944 5.1056C19.7569 5.9681 19.185 7.7803 19.6238 8.8416C20.0794 9.9422 21.75 10.8281 21.75 12C21.75 13.1719 20.0794 14.0625 19.6238 15.1584C19.185 16.2197 19.7569 18.0319 18.8944 18.8944C18.0319 19.7569 16.2197 19.185 15.1584 19.6238C14.0625 20.0794 13.1719 21.75 12 21.75C10.8281 21.75 9.9375 20.0794 8.8416 19.6238C7.7812 19.185 5.9681 19.7569 5.1056 18.8944Z\",...strokeProps}),/*#__PURE__*/_jsx(\"path\",{d:\"M8.25 12.75L10.5 15L15.75 9.75\",...strokeProps})]});}}function Joint({x,y,up,right,down,left}){return /*#__PURE__*/_jsxs(\"div\",{className:\"apb-joint\",style:{left:x,top:y},\"aria-hidden\":\"true\",children:[up?/*#__PURE__*/_jsx(\"span\",{className:\"apb-joint-line apb-joint-line--up\"}):null,right?/*#__PURE__*/_jsx(\"span\",{className:\"apb-joint-line apb-joint-line--right\"}):null,down?/*#__PURE__*/_jsx(\"span\",{className:\"apb-joint-line apb-joint-line--down\"}):null,left?/*#__PURE__*/_jsx(\"span\",{className:\"apb-joint-line apb-joint-line--left\"}):null]});}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1440\n * @framerIntrinsicHeight 420\n */export default function AboutProgramBoxes({items=defaultItems,style}){const[viewportWidth,setViewportWidth]=React.useState(()=>typeof window===\"undefined\"?1440:window.innerWidth);React.useEffect(()=>{if(typeof window===\"undefined\")return;const onResize=()=>setViewportWidth(window.innerWidth);onResize();window.addEventListener(\"resize\",onResize);return()=>window.removeEventListener(\"resize\",onResize);},[]);const visibleItems=React.useMemo(()=>items.filter(item=>item.title.trim()||item.description.trim()),[items]);const columns=viewportWidth<=767?1:viewportWidth<=1023?2:3;const renderedItems=React.useMemo(()=>columns===2&&visibleItems.length%2===1?[...visibleItems,null]:visibleItems,[columns,visibleItems]);const rows=Math.ceil(renderedItems.length/columns);const joints=React.useMemo(()=>{const markers=[];for(let row=0;row<=rows;row++){for(let col=0;col<=columns;col++){const x=`${col/columns*100}%`;markers.push({x:columns===3&&col<3?`calc(${x} + 1px)`:x,y:`${row/rows*100}%`,up:row>0,right:col<columns,down:row<rows,left:col>0});}}return markers;},[columns,rows]);return /*#__PURE__*/_jsxs(\"section\",{className:\"apb-root\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{className:\"apb-shell\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"apb-grid\",children:[renderedItems.map((item,index)=>/*#__PURE__*/_jsx(\"article\",{className:\"apb-card\",style:{borderRight:index%columns===columns-1||index===renderedItems.length-1?`1px solid ${GRID}`:\"0\",borderBottom:Math.floor(index/columns)===rows-1?`1px solid ${GRID}`:\"0\"},children:item?/*#__PURE__*/_jsxs(\"div\",{className:\"apb-content\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"apb-icon\",children:/*#__PURE__*/_jsx(Icon,{type:item.icon})}),/*#__PURE__*/_jsxs(\"div\",{className:\"apb-copy\",children:[/*#__PURE__*/_jsx(\"h3\",{className:\"apb-title\",children:item.title}),/*#__PURE__*/_jsx(\"p\",{className:\"apb-body\",children:item.description})]})]}):null},item?`${item.title}-${index}`:`placeholder-${index}`)),/*#__PURE__*/_jsx(\"div\",{className:\"apb-overlay\",children:joints.map((joint,index)=>/*#__PURE__*/_jsx(Joint,{...joint},index))})]})})]});}addPropertyControls(AboutProgramBoxes,{items:{type:ControlType.Array,title:\"Boxes\",control:{type:ControlType.Object,controls:{icon:{type:ControlType.Enum,title:\"Icon\",options:[\"seal\",\"trend\",\"globe\",\"hardware\"],optionTitles:[\"Seal\",\"Trend\",\"Globe\",\"Hardware\"]},title:{type:ControlType.String,title:\"Title\"},description:{type:ControlType.String,title:\"Body\",displayTextArea:true}}},defaultValue:defaultItems,maxCount:3}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AboutProgramBoxes\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1440\",\"framerSup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