{"version":3,"file":"ModelTakeoff.BOKQe4JS.mjs","names":["__esmMin","init_jsx_runtime","c","p","addPropertyControls","init_framer_DxfB3JJo","ControlType","Row","hide","r","ModelTakeoffView","IMG","variant","CSS","image","ROWS","i","k","ModelTakeoff","props","init_ModelTakeoff"],"sources":["https:/framerusercontent.com/modules/DIrzgqXeZmBmSgbKmyP9/ksuHkRk2gWOUUN8XWa8u/ModelTakeoff.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const CSS='.vmt{container-type:inline-size;width:100%;font-family:Inter,system-ui,sans-serif;color:#17262E;-webkit-font-smoothing:antialiased}.vmt *{box-sizing:border-box}.vmt-f{background:#fff;border:1px solid #DCE3E6;border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(23,38,46,.04),0 12px 32px -12px rgba(23,38,46,.10)}.vmt-top{display:flex;align-items:center;gap:16px;padding:12px 18px;border-bottom:1px solid #EEF1F2}.vmt-ti{min-width:0;flex:0 1 auto}.vmt-ti b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vmt-ti small{display:block;font-size:12px;color:#6B777D;margin-top:2px}.vmt-tabs{display:flex;gap:4px;background:#F4F6F7;border-radius:10px;padding:3px;margin-left:auto;flex:none}.vmt-tab{font-size:12.5px;padding:6px 11px;border-radius:8px;color:#3D4A50;white-space:nowrap;display:flex;align-items:center;gap:6px}.vmt-tab i{width:7px;height:7px;border-radius:50%;display:inline-block}.vmt-tab em{font-style:normal;color:#8A959B;font-size:11.5px}.vmt-tab.on{background:#17262E;color:#fff}.vmt-tab.on em{color:rgba(255,255,255,.7)}.vmt-ex{font-size:12.5px;border:1px solid #DCE3E6;border-radius:8px;padding:6px 11px;white-space:nowrap;flex:none}.vmt-b{display:grid;grid-template-columns:minmax(0,1fr) 360px;height:440px;overflow:hidden}.vmt-m{background:#F9F9F9;display:flex;align-items:center;justify-content:center;padding:16px 24px;border-right:1px solid #EEF1F2;min-height:0;overflow:hidden}.vmt-m img{max-width:100%;max-height:400px;width:auto;height:auto;object-fit:contain;display:block}.vmt-p{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.vmt-pt{display:flex;gap:18px;padding:12px 16px 0;border-bottom:1px solid #EEF1F2;font-size:13px;color:#6B777D}.vmt-pt span{padding-bottom:10px}.vmt-pt span.on{color:#17262E;font-weight:600;border-bottom:2px solid #17262E}.vmt-pt em{font-style:normal;color:#8A959B;font-weight:400;margin-left:4px}.vmt-g{display:flex;align-items:center;gap:8px;padding:10px 16px;background:#FAFBFB;border-bottom:1px solid #EEF1F2;font-size:13px;font-weight:600}.vmt-g i{width:7px;height:7px;border-radius:50%;background:#D9622B}.vmt-g em{margin-left:auto;font-style:normal;color:#8A959B;font-weight:500}.vmt-r{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px 10px;align-items:center;padding:10px 16px;border-bottom:1px solid #EEF1F2}.vmt-r b{font-size:13px;font-weight:500;line-height:17px;grid-column:1}.vmt-r small{grid-column:1;font-size:11.5px;color:#6B777D;line-height:15px}.vmt-r .st{grid-row:1;grid-column:2;font-size:11px;font-weight:600;background:#F1F3F4;color:#3D4A50;border-radius:6px;padding:2px 7px}.vmt-r .q{grid-row:1;grid-column:3;font-size:13px;font-weight:600;white-space:nowrap;text-align:right;min-width:48px}.vmt-r .fl{grid-column:1/-1;justify-self:start;font-size:11px;font-weight:600;background:#FBF0D5;color:#8A5A00;border-radius:6px;padding:2px 8px;margin-top:2px}.vmt-list{position:relative;overflow:hidden;flex:1}.vmt-list:after{content:\"\";position:absolute;left:0;right:0;bottom:0;height:36px;background:linear-gradient(rgba(255,255,255,0),#fff)}.vmt-cap{display:flex;gap:14px;justify-content:space-between;padding:10px 18px;background:#FAFBFB;border-top:1px solid #EEF1F2;font-size:12px;color:#6B777D}.vmt-cap b{color:#17262E;font-weight:600}@container (max-width: 980px){ .vmt-list .vmt-r:nth-child(3){display:none} .vmt-tab.x{display:none} .vmt-b{grid-template-columns:minmax(0,1fr) 320px} }@container (max-width: 760px){ .vmt-top{flex-wrap:wrap;gap:10px}.vmt-tabs{margin-left:0;order:3;width:100%;overflow:hidden}.vmt-ex{margin-left:auto} .vmt-b{grid-template-columns:1fr;height:auto;overflow:visible}.vmt-m img{max-height:none}.vmt-m{border-right:0;border-bottom:1px solid #EEF1F2;padding:10px 4px} .vmt-r.h{display:none}}@container (max-width: 440px){ .vmt-ex,.vmt-tab.y{display:none} .vmt-ti b{white-space:normal} .vmt-cap{flex-direction:column;gap:2px} }/* compact (hero) */.vmt-c{position:relative;background:#E4F0F2;border:1px solid #C3DCE1;border-radius:20px;padding:18px;margin-bottom:48px}.vmt-c .vmt-cm{position:relative;background:#fff;border-radius:12px;border:1px solid #DCE3E6;padding:52px 14px 14px;overflow:hidden}.vmt-c .vmt-cm img{width:100%;display:block}.vmt-c .vmt-chip{position:absolute;left:14px;top:14px;display:flex;gap:6px;align-items:center;font-size:12px;font-weight:600;background:#17262E;color:#fff;border-radius:8px;padding:6px 10px}.vmt-c .vmt-chip i{width:7px;height:7px;border-radius:50%;background:#D9622B}.vmt-c .vmt-src{position:absolute;right:14px;top:16px;font-size:12px;color:#6B777D}.vmt-c .vmt-fc{position:absolute;left:-28px;bottom:-44px;width:290px;background:#fff;border:1px solid #DCE3E6;border-radius:12px;box-shadow:0 18px 40px -14px rgba(23,38,46,.28);overflow:hidden}.vmt-c .vmt-r{padding:9px 14px}.vmt-c .vmt-g{padding:9px 14px}@container (max-width: 560px){ .vmt-c{margin-bottom:0;padding:12px} .vmt-c .vmt-cm{padding:46px 8px 8px} .vmt-c .vmt-fc{position:relative;left:auto;bottom:auto;width:auto;margin-top:12px} .vmt-c .vmt-src{display:none} }';const ROWS=[[\"New window W‑01, opening, solar shading\",\"1.2 \\xd7 1.5 m \\xb7 A‑62‑001\",57,null],[\"New window W‑01, opening\",\"1.2 \\xd7 1.5 m, no fire rating \\xb7 A‑62‑001\",3,null],[\"New window W‑01, opening, EI 30\",\"1.2 \\xd7 1.5 m, EI 30 \\xb7 A‑62‑001\",4,null],[\"New window W‑02, fixed\",\"1.2 \\xd7 0.8 m \\xb7 A‑62‑001\",23,null],[\"New window W‑03, fixed, trim retained\",\"0.9 \\xd7 2.0 m \\xb7 A‑62‑001\",15,null],[\"Restored teak window R‑01\",\"0.8 \\xd7 0.8 m \\xb7 A‑62‑005\",35,null],[\"Refurbished window R‑04, repainted\",\"0.4 \\xd7 1.2 m \\xb7 A‑62‑005\",25,null],[\"Glass block wall G‑01, retained\",\"2.7 \\xd7 2.3 m \\xb7 A‑62‑006\",5,\"Likely not in contract\"]];const IMG=\"https://framerusercontent.com/images/J5Ue8wpvTBaKvTzOD1en7IN5Ko.webp\";function Row({r,hide}){return /*#__PURE__*/_jsxs(\"div\",{className:\"vmt-r\"+(hide?\" h\":\"\"),children:[/*#__PURE__*/_jsx(\"b\",{children:r[0]}),/*#__PURE__*/_jsx(\"span\",{className:\"st\",children:\"Counted\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"q\",children:[r[2],\" pcs\"]}),/*#__PURE__*/_jsx(\"small\",{children:r[1]}),r[3]&&/*#__PURE__*/_jsx(\"span\",{className:\"fl\",children:r[3]})]});}export function ModelTakeoffView({variant=\"full\",image=IMG}){if(variant===\"compact\"){return /*#__PURE__*/_jsxs(\"div\",{className:\"vmt\",children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-c\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-cm\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"vmt-chip\",children:[/*#__PURE__*/_jsx(\"i\",{}),\"Windows and glazing \\xb7 3D model\"]}),/*#__PURE__*/_jsx(\"span\",{className:\"vmt-src\",children:\"Drawings A‑62‑001 to 006\"}),/*#__PURE__*/_jsx(\"img\",{src:image,alt:\"Windows counted in the 3D model, with the count of each window type\",loading:\"eager\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-fc\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-g\",children:[/*#__PURE__*/_jsx(\"i\",{}),\"Windows and glazing\",/*#__PURE__*/_jsx(\"em\",{children:\"19 types\"})]}),[ROWS[0],ROWS[7]].map((r,i)=>/*#__PURE__*/_jsx(Row,{r:r,hide:false},i))]})]})]});}return /*#__PURE__*/_jsxs(\"div\",{className:\"vmt\",children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-f\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-top\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-ti\",children:[/*#__PURE__*/_jsx(\"b\",{children:\"Riverside Office Park, fa\\xe7ade and windows\"}),/*#__PURE__*/_jsx(\"small\",{children:\"North wing \\xb7 3D model\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-tabs\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"vmt-tab x\",children:\"Overview\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"vmt-tab y\",children:[/*#__PURE__*/_jsx(\"i\",{style:{background:\"#3B6FD8\"}}),\"Roofing and flashings \",/*#__PURE__*/_jsx(\"em\",{children:\"12\"})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"vmt-tab on\",children:[/*#__PURE__*/_jsx(\"i\",{style:{background:\"#D9622B\"}}),\"Windows and glazing \",/*#__PURE__*/_jsx(\"em\",{children:\"19\"})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"vmt-tab x\",children:[/*#__PURE__*/_jsx(\"i\",{style:{background:\"#2D7A4B\"}}),\"External walls\"]})]}),/*#__PURE__*/_jsx(\"span\",{className:\"vmt-ex\",children:\"Export as Excel\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-b\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"vmt-m\",children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:\"Windows counted in the 3D model, with the count of each window type shown on the model\",loading:\"lazy\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-p\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-pt\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"on\",children:[\"Items\",/*#__PURE__*/_jsx(\"em\",{children:\"272\"})]}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Checks\",/*#__PURE__*/_jsx(\"em\",{children:\"28\"})]}),/*#__PURE__*/_jsx(\"span\",{children:\"Summary\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-g\",children:[/*#__PURE__*/_jsx(\"i\",{}),\"Windows and glazing\",/*#__PURE__*/_jsx(\"em\",{children:\"19 types\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"vmt-list\",children:[0,3,4,5,7,1,2,6].map((k,i)=>/*#__PURE__*/_jsx(Row,{r:ROWS[k],hide:[2,5,6,7].includes(i)},k))})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"vmt-cap\",children:[/*#__PURE__*/_jsx(\"span\",{children:\"Counted in the model, each line traced to the drawing it came from\"}),/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"b\",{children:\"1 line\"}),\" to raise before pricing\"]})]})]})]});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function ModelTakeoff(props){return /*#__PURE__*/_jsx(ModelTakeoffView,{variant:props.variant||\"full\"});}addPropertyControls(ModelTakeoff,{variant:{type:ControlType.Enum,title:\"Layout\",options:[\"full\",\"compact\"],optionTitles:[\"Full product view\",\"Compact (hero)\"],defaultValue:\"full\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ModelTakeoffView\":{\"type\":\"reactComponent\",\"name\":\"ModelTakeoffView\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ModelTakeoff\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"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