{"version":3,"file":"GuideContents.B_b3Kyv9.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/3dPkneYIr8qcQycIHs6Q/fenjRQJRzda6CEWamwDa/GuideContents.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,addFonts,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState,startTransition}from\"react\";// Site color styles, read through their tokens so edits to the palette carry over.\nconst T={green100:\"var(--token-ef95ab4b-fc5b-4a63-a3c4-f0b7e5a3377f, rgb(243, 251, 233))\",green500:\"var(--token-badee877-bebe-4e1a-baa9-390b8735ca84, rgb(26, 211, 121))\",green600:\"var(--token-8161c5ae-6d35-47fc-8435-b21e858b2082, rgb(23, 178, 103))\",green900:\"var(--token-01c4faba-d56f-4597-8f89-74ed1091490d, rgb(10, 36, 20))\",page:\"var(--token-dd773c6f-9167-4026-b24e-a1902e07fb0d, rgb(249, 246, 241))\",raised:\"var(--token-4e43e61b-d4fb-4d8f-a370-01b6318eac95, rgb(239, 234, 224))\",white:\"var(--token-26ecd77b-5cc7-421f-ae9f-8ec6afdf7ed0, rgb(255, 255, 255))\",n50:\"var(--token-e0ff29eb-4cd3-40c3-91d4-4622a17e8e90, rgba(0, 0, 0, 0.05))\",n100:\"var(--token-5280df47-02ee-405a-b582-27bd41ccc183, rgba(0, 0, 0, 0.1))\",n180:\"var(--token-473f9052-815d-4f3a-98d4-ed78c98b8f20, rgba(0, 0, 0, 0.18))\",n450:\"var(--token-f76253fd-a79e-4f1c-8003-6b5482585820, rgba(0, 0, 0, 0.45))\",n650:\"var(--token-a05b61b7-9f13-473b-8c8f-c299fa9b4a04, rgba(0, 0, 0, 0.65))\"};// Published Framer pages name each weight as its own family, so medium text\n// falls back to \"ABC Favorit Medium\" if the addFonts family isn't loaded.\nconst SANS='\"ABC Favorit\", \"ABC Favorit Regular\", sans-serif';const SANS_MED='\"ABC Favorit\", \"ABC Favorit Medium\", sans-serif';const MONO='\"Geist Mono\", monospace';const FONTS=[{family:\"ABC Favorit\",url:\"https://framerusercontent.com/assets/s0VvEukx9wJmCEO3q5MTBzR9gnI.woff2\",weight:\"400\",style:\"normal\"},{family:\"ABC Favorit\",url:\"https://framerusercontent.com/assets/vn06HccdryexOFoPWyg23CRG2jM.woff2\",weight:\"500\",style:\"normal\"},{family:\"Geist Mono\",url:\"https://fonts.gstatic.com/s/geistmono/v6/or3yQ6H-1_WfwkMZI_qYPLs1a-t7PU0AbeEPKJ5W7ihaO_CS.woff2\",weight:\"500\",style:\"normal\"}];// Type ramp taken from the site's text styles.\nconst TYPE={label:{fontFamily:MONO,fontWeight:500,fontSize:13,lineHeight:\"19px\",letterSpacing:\"0.195px\",textTransform:\"uppercase\"},body:{fontFamily:SANS,fontWeight:400,fontSize:18,lineHeight:\"1.4em\",letterSpacing:\"-0.01em\"},bodySmall:{fontFamily:SANS,fontWeight:400,fontSize:15,lineHeight:\"20px\",letterSpacing:\"-0.01em\"},bodyHeavy:{fontFamily:SANS_MED,fontWeight:500,fontSize:18,lineHeight:\"24px\",letterSpacing:\"-0.01em\"},h3:{fontFamily:SANS_MED,fontWeight:500,fontSize:24,lineHeight:\"28px\",letterSpacing:\"-0.02em\"},caption:{fontFamily:SANS,fontWeight:400,fontSize:14,lineHeight:\"20px\",letterSpacing:\"-0.01em\"}};const LINK={color:\"inherit\",textDecoration:\"underline\",textDecorationColor:T.green500,textUnderlineOffset:3,textDecorationThickness:1};// Inline formatting for string controls: **bold** and [label](url).\nfunction Rich({text}){const parts=[];const re=/\\*\\*([^*]+)\\*\\*|\\[([^\\]]+)\\]\\(([^)]+)\\)/g;let last=0;let key=0;let m;while(m=re.exec(text||\"\")){if(m.index>last)parts.push(text.slice(last,m.index));if(m[1])parts.push(/*#__PURE__*/_jsx(\"strong\",{style:{fontFamily:SANS_MED,fontWeight:500,color:T.green900},children:m[1]},key++));else parts.push(/*#__PURE__*/_jsx(\"a\",{href:m[3],style:LINK,children:m[2]},key++));last=re.lastIndex;}if(last<(text||\"\").length)parts.push(text.slice(last));return /*#__PURE__*/_jsx(_Fragment,{children:parts});}const AGENT_PATH=\"M20 9.17856C20 8.10199 19.423 7.10722 18.4883 6.57309L13.4883 3.71665C12.566 3.18962 11.434 3.18962 10.5117 3.71665L5.51172 6.57309C4.57699 7.10722 4 8.10199 4 9.17856V14.8211C4 15.8977 4.57699 16.8925 5.51172 17.4266L10.5117 20.2831C11.434 20.8101 12.566 20.8101 13.4883 20.2831L18.4883 17.4266C19.423 16.8925 20 15.8977 20 14.8211V9.17856ZM14.667 14.9998V8.99985C14.667 8.44761 15.1147 7.99985 15.667 7.99985C16.2191 8.00002 16.6669 8.44771 16.667 8.99985V14.9998C16.667 15.552 16.2191 15.9997 15.667 15.9998C15.1147 15.9998 14.667 15.5521 14.667 14.9998ZM22 14.8211C22 16.6154 21.0383 18.2727 19.4805 19.1629L14.4805 22.0194C12.9433 22.8978 11.0567 22.8978 9.51953 22.0194L4.51953 19.1629C2.96166 18.2727 2 16.6154 2 14.8211V9.17856C2 7.38428 2.96166 5.72698 4.51953 4.83676L9.51953 1.98032C11.0567 1.10194 12.9433 1.10194 14.4805 1.98032L19.4805 4.83676C21.0383 5.72698 22 7.38427 22 9.17856V14.8211Z\";const PERSON_PATH=\"M5.85 17.1C6.7 16.45 7.65 15.9375 8.7 15.5625C9.75 15.1875 10.85 15 12 15C13.15 15 14.25 15.1875 15.3 15.5625C16.35 15.9375 17.3 16.45 18.15 17.1C18.7333 16.4167 19.1875 15.6417 19.5125 14.775C19.8375 13.9083 20 12.9833 20 12C20 9.78333 19.2208 7.89583 17.6625 6.3375C16.1042 4.77917 14.2167 4 12 4C9.78333 4 7.89583 4.77917 6.3375 6.3375C4.77917 7.89583 4 9.78333 4 12C4 12.9833 4.1625 13.9083 4.4875 14.775C4.8125 15.6417 5.26667 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1875 12.6625 9.5125 11.9875C8.8375 11.3125 8.5 10.4833 8.5 9.5C8.5 8.51667 8.8375 7.6875 9.5125 7.0125C10.1875 6.3375 11.0167 6 12 6C12.9833 6 13.8125 6.3375 14.4875 7.0125C15.1625 7.6875 15.5 8.51667 15.5 9.5C15.5 10.4833 15.1625 11.3125 14.4875 11.9875C13.8125 12.6625 12.9833 13 12 13ZM12 22C10.6167 22 9.31667 21.7375 8.1 21.2125C6.88333 20.6875 5.825 19.975 4.925 19.075C4.025 18.175 3.3125 17.1167 2.7875 15.9C2.2625 14.6833 2 13.3833 2 12C2 10.6167 2.2625 9.31667 2.7875 8.1C3.3125 6.88333 4.025 5.825 4.925 4.925C5.825 4.025 6.88333 3.3125 8.1 2.7875C9.31667 2.2625 10.6167 2 12 2C13.3833 2 14.6833 2.2625 15.9 2.7875C17.1167 3.3125 18.175 4.025 19.075 4.925C19.975 5.825 20.6875 6.88333 21.2125 8.1C21.7375 9.31667 22 10.6167 22 12C22 13.3833 21.7375 14.6833 21.2125 15.9C20.6875 17.1167 19.975 18.175 19.075 19.075C18.175 19.975 17.1167 20.6875 15.9 21.2125C14.6833 21.7375 13.3833 22 12 22Z\";function Glyph({path,size=16,color=\"currentColor\"}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",\"aria-hidden\":\"true\",style:{display:\"block\",flex:\"none\"},children:/*#__PURE__*/_jsx(\"path\",{d:path,fill:color,fillRule:\"evenodd\"})});}const CARD={boxSizing:\"border-box\",background:T.white,border:`1px solid ${T.n100}`,borderRadius:12};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 624\n */export default function GuideContents(props){const{label=\"In this guide\",items=[]}=props;const isStatic=useIsStaticRenderer();const ref=useRef(null);const[shown,setShown]=useState(false);useEffect(()=>{if(isStatic||!ref.current||typeof IntersectionObserver===\"undefined\"){setShown(true);return;}const io=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){startTransition(()=>setShown(true));io.disconnect();}},{threshold:.15});io.observe(ref.current);return()=>io.disconnect();},[isStatic]);function jump(title){if(typeof document===\"undefined\")return;const wanted=title.trim().toLowerCase();const heading=Array.from(document.querySelectorAll(\"h2\")).find(h=>(h.textContent||\"\").trim().toLowerCase().startsWith(wanted));if(heading)heading.scrollIntoView({behavior:\"smooth\",block:\"start\"});}return /*#__PURE__*/_jsxs(\"nav\",{ref:ref,\"aria-label\":label,className:`sg-toc${shown?\" is-shown\":\"\"}`,style:{...props.style,position:\"relative\",width:\"100%\",boxSizing:\"border-box\",padding:\"20px 24px 6px\",background:T.page,borderRadius:16},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .sg-toc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; align-items: center; width: 100%; padding: 18px 0; background: none; border: none; border-top: 1px solid ${T.n100}; cursor: pointer; text-align: left; color: ${T.green900}; opacity: 0; transform: translateY(6px); transition: opacity 420ms ease, transform 420ms cubic-bezier(.2,.7,.2,1), color 160ms ease; }\n                .sg-toc.is-shown .sg-toc-row { opacity: 1; transform: none; }\n                .sg-toc-num { font-family: ${MONO}; font-weight: 500; font-size: 14px; line-height: 20px; color: ${T.green600}; }\n                .sg-toc-title { font-family: ${SANS}; font-weight: 400; font-size: 20px; line-height: 26px; letter-spacing: -0.02em; transition: color 160ms ease; }\n                .sg-toc-arrow { justify-self: end; color: ${T.n450}; transition: color 160ms ease, transform 220ms cubic-bezier(.2,.7,.2,1); }\n                .sg-toc-row:hover .sg-toc-title, .sg-toc-row:focus-visible .sg-toc-title { color: ${T.green600}; }\n                .sg-toc-row:hover .sg-toc-arrow, .sg-toc-row:focus-visible .sg-toc-arrow { color: ${T.green600}; transform: translateX(4px); }\n                .sg-toc-row:focus-visible { outline: 2px solid ${T.green500}; outline-offset: 2px; border-radius: 4px; }\n                @media (prefers-reduced-motion: reduce) {\n                    .sg-toc-row, .sg-toc-arrow { transition: color 160ms ease; transform: none !important; }\n                }\n            `}),/*#__PURE__*/_jsx(\"span\",{style:{...TYPE.label,display:\"block\",color:T.n650,paddingBottom:14},children:label}),items.map((row,i)=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"sg-toc-row\",onClick:()=>jump(row.title),style:{transitionDelay:shown?`${i*50}ms, ${i*50}ms, 0ms`:\"0ms\"},children:[/*#__PURE__*/_jsx(\"span\",{className:\"sg-toc-num\",children:String(i+1).padStart(2,\"0\")}),/*#__PURE__*/_jsx(\"span\",{className:\"sg-toc-title\",children:row.title}),/*#__PURE__*/_jsx(\"svg\",{className:\"sg-toc-arrow\",width:\"18\",height:\"18\",viewBox:\"0 0 18 18\",\"aria-hidden\":\"true\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 9h11M10 4.5 14.5 9 10 13.5\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})]},i))]});}addFonts(GuideContents,FONTS);addPropertyControls(GuideContents,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"In this guide\"},items:{type:ControlType.Array,title:\"Chapters\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Chapter title\"}}},defaultValue:[{title:\"AI changes whether the queue needs to exist\"},{title:\"Resolution rate has two blind spots\"}]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GuideContents\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"624\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GuideContents.map"],"mappings":"sNASG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,gBAAgB,QAAM,CAAC,GAAG,EAAY,EAAS,EAAoB,EAAQ,EAAIA,EAAO,IAAI,EAAO,CAAC,EAAM,GAAUC,EAAS,EAAK,EAAE,MAAc,CAAC,GAAG,GAAU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