{"version":3,"file":"EndToEndStrip.BDSTWDkF.mjs","names":["p","__esmMin","init_jsx_runtime","c","p","init_framer_BpuvUAiZ","addPropertyControls","ControlType","EndToEndStrip","steps","p$1","go","a","el","n","s","i","init_EndToEndStrip"],"sources":["https:/framerusercontent.com/modules/zqU7uNv8VBYS9YVQ9Lv1/zp95Xpenq74J0OvtYrSn/EndToEndStrip.js"],"sourcesContent":["// EndToEndStrip.tsx\n// A compact \"end to end\" strip for case studies: numbered stages, each linking to the\n// section on the page that proves it. Width: Fill. Height: Fit content.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function EndToEndStrip(p){const steps=p.steps&&p.steps.length?p.steps:[];const go=(e,a)=>{if(!a||typeof document===\"undefined\")return;const el=document.getElementById(a);if(!el)return;e.preventDefault();el.scrollIntoView({behavior:\"smooth\",block:\"start\"});try{history.replaceState(null,\"\",\"#\"+a);}catch{}};const n=Math.max(1,steps.length);return /*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":p.title||\"End to end\",className:\"e2e\",style:{width:\"100%\",containerType:\"inline-size\",fontFamily:\"Inter, system-ui, sans-serif\",color:p.text,...p.style},children:[/*#__PURE__*/_jsx(\"style\",{children:`.e2e .e2e-row{display:grid;grid-template-columns:repeat(${n},minmax(0,1fr));gap:0;position:relative}\n.e2e .e2e-step{position:relative;display:flex;flex-direction:column;gap:6px;padding:14px 12px 14px 0;text-decoration:none;color:inherit;border-radius:10px;transition:background-color .2s}\n.e2e .e2e-step:hover{background:${p.surface}}\n.e2e .e2e-step:hover .e2e-dot{transform:scale(1.08)}\n.e2e .e2e-step:focus-visible{outline:2px solid ${p.accent};outline-offset:2px}\n.e2e .e2e-line{position:absolute;left:28px;right:0;top:27px;height:2px;background:${p.line}}\n.e2e .e2e-step:last-child .e2e-line{display:none}\n@container (max-width: 760px){.e2e .e2e-row{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:4px}.e2e .e2e-line{display:none}}`}),p.eyebrow?/*#__PURE__*/_jsx(\"div\",{style:{font:\"600 13px Inter, sans-serif\",letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:p.accent},children:p.eyebrow}):null,p.eyebrow?/*#__PURE__*/_jsx(\"div\",{style:{width:32,height:2,background:p.accent,margin:\"8px 0 16px\"}}):null,p.title?/*#__PURE__*/_jsx(\"h3\",{style:{margin:\"0 0 14px\",font:\"700 22px/1.3 Inter, sans-serif\",letterSpacing:\"-0.01em\"},children:p.title}):null,/*#__PURE__*/_jsx(\"div\",{className:\"e2e-row\",children:steps.map((s,i)=>/*#__PURE__*/_jsxs(\"a\",{className:\"e2e-step\",href:s.anchor?\"#\"+s.anchor:undefined,onClick:e=>go(e,s.anchor),children:[/*#__PURE__*/_jsx(\"span\",{className:\"e2e-line\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"span\",{className:\"e2e-dot\",style:{position:\"relative\",zIndex:1,width:28,height:28,borderRadius:14,background:p.accent,color:\"#FFFFFF\",display:\"grid\",placeItems:\"center\",font:\"600 12px 'IBM Plex Mono', ui-monospace, monospace\",transition:\"transform .2s\"},children:String(i+1).padStart(2,\"0\")}),/*#__PURE__*/_jsx(\"span\",{style:{font:\"700 14.5px/1.3 Inter, sans-serif\"},children:s.label}),/*#__PURE__*/_jsx(\"span\",{style:{font:\"400 13px/1.45 'IBM Plex Sans', Inter, sans-serif\",color:p.muted},children:s.detail})]},i))})]});}EndToEndStrip.defaultProps={eyebrow:\"End to end\",title:\"\",steps:[],accent:\"#1E2A5A\",text:\"#111827\",muted:\"#4B5563\",surface:\"#F5F6F8\",line:\"#E5E7EB\"};addPropertyControls(EndToEndStrip,{eyebrow:{type:ControlType.String,title:\"Eyebrow\"},title:{type:ControlType.String,title:\"Title\"},steps:{type:ControlType.Array,title:\"Steps\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String},detail:{type:ControlType.String,displayTextArea:true},anchor:{type:ControlType.String,title:\"Section id\"}}}},accent:{type:ControlType.Color,title:\"Accent\"},text:{type:ControlType.Color,title:\"Text\"},muted:{type:ControlType.Color,title:\"Muted\"},surface:{type:ControlType.Color,title:\"Surface\"},line:{type:ControlType.Color,title:\"Line\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"EndToEndStrip\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./EndToEndStrip.map"],"mappings":"A,mKAG6G,SAAwBQ,EAAc,EAAE,CAAC,IAAMC,EAAMT,EAAE,OAAOA,EAAE,MAAM,OAAOA,EAAE,MAAM,CAAC,EAAQW,GAAI,EAAE,IAAI,CAAC,GAAG,CAACC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAMC,EAAG,SAAS,eAAeD,CAAC,EAAE,GAAIC,EAAU,GAAE,eAAe,EAAEA,EAAG,eAAe,CAAC,SAAS,SAAS,MAAM,OAAO,CAAC,EAAE,GAAG,CAAC,QAAQ,aAAa,KAAK,GAAG,IAAID,CAAC,CAAE,MAAM,CAAC,CAAtG,CAAuG,EAAQE,EAAE,KAAK,IAAI,EAAEL,EAAM,MAAM,EAAE,MAAoB,gBAAM,MAAM,CAAC,aAAaT,EAAE,OAAO,aAAa,UAAU,MAAM,MAAM,CAAC,MAAM,OAAO,cAAc,cAAc,WAAW,+BAA+B,MAAMA,EAAE,KAAK,GAAGA,EAAE,KAAK,EAAE,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAAS,2DAA2Dc,EAAE;;kCAE/tBd,EAAE,QAAQ;;iDAEKA,EAAE,OAAO;oFAC0BA,EAAE,KAAK;;oIAEyC,CAAC,EAAEA,EAAE,QAAqB,gBAAK,MAAM,CAAC,MAAM,CAAC,KAAK,6BAA6B,cAAc,SAAS,cAAc,YAAY,MAAMA,EAAE,MAAM,EAAE,SAASA,EAAE,OAAO,CAAC,EAAE,KAAKA,EAAE,QAAqB,gBAAK,MAAM,CAAC,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