{"version":3,"file":"HomeStructurAI.198MsXk9.mjs","names":["heroSetup","p","__esmMin","p","c","init_jsx_runtime","init_framer_DDfsYcI0","addPropertyControls","useSection","init_HomeKit","isStatic","BASE_CSS","init_FeatureScene","FeatureScene","init_FeatureHero","setup","HomeStructurAI","ref","p$1","DEFAULTS","k","props","live","CSS","POINTS","Tick","t","init_HomeStructurAI","ControlType"],"sources":["https:/framerusercontent.com/modules/RW38ImEeycZ9sYxRxbLW/kbCEvNhVhcd8awYGCPwm/HomeStructurAI.js"],"sourcesContent":["// @ts-nocheck\n// Homepage: Structur AI, the headline feature, between the product overview and the feature grid.\n// Every claim comes from projects/framer-website/new-features-answers.md (read from the Structur\n// code): Ask Structur AI in the main menu, drafts that are never sent, an approval card before it\n// acts, Structur Pro and Enterprise only. The drawing is the \"ai\" scene of FeatureScene, played in\n// with the feature page hero's entrance.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{BASE_CSS,useSection,isStatic}from\"https://framerusercontent.com/modules/JTlbB3JkY0tvYQoOK7tB/gGRod5eah6zD7cfO4744/HomeKit.js\";import FeatureScene from\"https://framerusercontent.com/modules/kEjx5yN2FLvyR3I4IvyB/pbGiPtausqCzLAtXHPl1/FeatureScene.js\";import{heroSetup}from\"https://framerusercontent.com/modules/ZOtO8QMYf9VtpWsz0mZC/qvdj1FTr1LbtBo9U6m4k/FeatureHero.js\";const DEFAULTS={headline:\"Ask Anything,\",orange:\"Or Have It Do The Work.\",lead:\"Structur AI builds estimates, drafts change orders, purchase orders and invoices, and finds any record in your account. It shows you the plan first, and nothing is sent until you say so.\",note:\"Included in Structur Pro.\"};const POINTS=[\"Build an estimate or a ballpark from one request\",\"Draft POs, change orders and invoices, never sent\",\"Find overdue invoices or any record on your jobs\"];const CSS=`\n.hm-ai .sec{position:relative;padding-block:clamp(72px,10vw,128px)}\n.hm-ai .bg{position:absolute;inset:0;background-image:var(--dots);background-size:22px 22px;-webkit-mask-image:radial-gradient(52% 62% at 74% 50%,#000 10%,transparent 100%);mask-image:radial-gradient(52% 62% at 74% 50%,#000 10%,transparent 100%);pointer-events:none}\n.hm-ai .grid{position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,5.5vw,84px);align-items:center}\n.hm-ai .copy{display:flex;flex-direction:column;align-items:flex-start;gap:22px;min-width:0}\n.hm-ai .pill{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:var(--white);font-size:14px;line-height:1;font-weight:600;color:var(--ink-2)}\n.hm-ai .pill i{width:8px;height:8px;border-radius:50%;background:var(--grad-45)}\n.hm-ai .h-sec{overflow-wrap:break-word}\n.hm-ai .lead{max-width:480px}\n.hm-ai .pts{display:grid;gap:12px;margin:0;padding:0;list-style:none}\n.hm-ai .pts li{display:flex;align-items:flex-start;gap:10px;font-weight:500;color:var(--ink-2)}\n.hm-ai .pts svg{flex:none;width:20px;height:20px;margin-top:2px;color:var(--orange)}\n.hm-ai .ctas{display:flex;gap:12px;flex-wrap:wrap;margin-top:4px}\n.hm-ai .btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}\n.hm-ai .note{margin-top:-8px}\n.hm-ai .stage{position:relative;min-width:0}\n.hm-ai .sx{font-family:\"Poppins\",\"Poppins Placeholder\",sans-serif}\n.hm-ai .sx .st-scene>*{position:absolute}\n.hm-ai .sx .st-scene>.st-circle{left:50%;top:50%;width:78cqw;transform:translate(-50%,-50%)}\n@keyframes hmai-safe{from{opacity:0}to{opacity:1}}\n@media (prefers-reduced-motion:no-preference){\n  .hm-ai.pre .st-scene>*{animation:hmai-safe .9s cubic-bezier(.22,1,.36,1) 2.4s both}\n  .hm-ai.pre.go .st-scene>*{animation:none}\n}\n@media (max-width:999px){\n  .hm-ai .grid{grid-template-columns:minmax(0,1fr);gap:clamp(40px,7vw,64px)}\n  .hm-ai .stage{width:100%;max-width:620px;margin:0 auto}\n  .hm-ai .lead{max-width:560px}\n}\n@media (max-width:560px){\n  .hm-ai .copy{gap:18px}\n  .hm-ai .ctas{width:100%}\n  .hm-ai .ctas .btn{flex:1 1 150px;padding:0 18px}\n}\n`;const Tick=()=>/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6 9 17l-5-5\"})});/**\n * @framerIntrinsicWidth 1200\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function HomeStructurAI(props){const ref=useSection(heroSetup);const p={...DEFAULTS};for(const k in DEFAULTS)if(props[k]!==undefined&&props[k]!==null)p[k]=String(props[k]);const live=!isStatic();return /*#__PURE__*/_jsxs(\"div\",{ref:ref,className:\"opt hm-ai on\"+(live?\" pre\":\"\"),style:{...props.style,position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:BASE_CSS+CSS}}),/*#__PURE__*/_jsxs(\"section\",{className:\"sec\",\"aria-labelledby\":\"hm-ai-h\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"bg\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"wrap grid\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"copy\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"pill\",children:[/*#__PURE__*/_jsx(\"i\",{\"aria-hidden\":\"true\"}),\"New: Structur AI\"]}),/*#__PURE__*/_jsxs(\"h2\",{id:\"hm-ai-h\",className:\"h-sec\",children:[p.headline,\" \",/*#__PURE__*/_jsx(\"span\",{className:\"grad-text\",children:p.orange})]}),p.lead?/*#__PURE__*/_jsx(\"p\",{className:\"lead\",children:p.lead}):null,/*#__PURE__*/_jsx(\"ul\",{className:\"pts\",children:POINTS.map(t=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(Tick,{}),t]},t))}),/*#__PURE__*/_jsxs(\"div\",{className:\"ctas\",children:[/*#__PURE__*/_jsx(\"a\",{className:\"btn btn-grad\",href:props.link||\"/features/structur-ai\",children:\"Meet Structur AI\"}),/*#__PURE__*/_jsx(\"a\",{className:\"btn btn-white\",href:\"/pricing\",children:\"See Pricing\"})]}),p.note?/*#__PURE__*/_jsx(\"p\",{className:\"cap note\",children:p.note}):null]}),/*#__PURE__*/_jsx(\"div\",{className:\"stage\",children:/*#__PURE__*/_jsx(\"div\",{className:\"scene\",children:/*#__PURE__*/_jsx(FeatureScene,{scene:\"ai\",circle:true,animate:false})})})]})]})]});}HomeStructurAI.displayName=\"Home / Structur AI\";addPropertyControls(HomeStructurAI,{headline:{type:ControlType.String,title:\"Headline\",defaultValue:DEFAULTS.headline},orange:{type:ControlType.String,title:\"Orange\",defaultValue:DEFAULTS.orange},lead:{type:ControlType.String,title:\"Lead\",displayTextArea:true,defaultValue:DEFAULTS.lead},note:{type:ControlType.String,title:\"Note\",defaultValue:DEFAULTS.note},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"/features/structur-ai\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HomeStructurAI\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HomeStructurAI.map"],"mappings":"A,2UA4CG,SAAwBgB,EAAe,EAAM,CAAC,IAAMC,EAAIT,EAAWR,CAAS,EAAQC,EAAE,CAAC,GAAGkB,CAAQ,EAAE,IAAI,IAAMC,KAAKD,EAAYE,EAAMD,KAAK,IAAA,IAAWC,EAAMD,KAAK,OAAK,EAAEA,GAAG,OAAOC,EAAMD,EAAE,GAAE,IAAME,EAA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