{"version":3,"file":"TableOfContents.DN4wXC28.mjs","names":["_jsx","p","_jsxs","useState","useRef","React.useId","useEffect","__esmMin","init_npm_react_18_3_1","window","_e","init_npm_react_dom_18_3_1","de","p","c","init_jsx_runtime","ie","ce","init_ssg_sandbox_shims","addPropertyControls","RenderTarget","ControlType","init_framer_ChujFWHC","Style","css","slugify","text","parseJson","raw","fallback","s","parseTocList","entries","labels","line","t","m","i","full","norm","short","clean","rest","id","idm","findContent","selector","r","uniq","base","used","n","collectHeadings","levels","offset","preset","margin","roots","tags","seen","heads","h","presetBySlug","prev","anchor","toSections","collapse","noKids","sections","flat","add","item","skip","e","head","TocNav","p$1","link","Wrap","k","TableOfContents","props","canvas","setEntries","active","setActive","discRef","rootRef","lockUntil","mode","enhanced","LAYOUTS","popId","parsed","hasList","DEFAULT_COLLAPSE","source","SAMPLE_LIST","sig","f","cancelled","run","list","level","el","els","pick","cur","io","root","stuck","raf","cleanup","start","found","links","a","j","x","l","spy","secOf","headOf","kid","secLis","dashes","nav","count","now","rail","sheet","setText","pad","curK","curS","apply","old","li","d","nr","ar","progress","top","end","nx","from","y","round3","clamp01","queue","onClick","close","target","onKey","vis","to","undismiss","onFocusIn","go","min","title","gap","bleed","vars","body","_","BASE_CSS","LIST_CSS","scrollCss","EARLY_TAP","BAR_WAIT","items","ev","TOC_CSS","T","FONT_BODY","BAR_H","init_TableOfContents"],"sources":["https:/framerusercontent.com/modules/5wlN5ShbJid3yCPQY5zP/Pb6kdQ3AvBDp4JDWCOQD/TableOfContents.js"],"sourcesContent":["// Built by articles/_system/components/sync.mjs from src/Article/TableOfContents.tsx with src/tokens/personal.tsx (site: personal).\n// Do not edit in Framer: edit the source in content-engine and re-run sync.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{useEffect,useRef,useState,useLayoutEffect,useCallback}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{createPortal}from\"react-dom\";// ---- inlined from _tokens.tsx ----\n// Tokens for benjaminwalsh.co.uk (Framer project FzvDkMmcrjsVRkDyyMuM-ckeTz).\n// Read from the project's colour and text styles on 9 October 2026. Same export\n// names as tokens/dst.tsx so one set of components builds for either site.\n// Colours are the site's dynamic styles as token variables with the light value\n// as a fallback; the site is neutral grey (not zinc), orange accent, Inter body\n// and Inter Display headings. Article prose is Text/Secondary on Surface/Page.\nconst T={// Text/Primary: #000000 / #f6f6f6. Headings, strong text, focus ring.\nink:\"var(--token-72be4b58-ad30-40d4-9403-e97ffbb2d1b3, #000000)\",// Text/Secondary: #6e6e6e / #a1a1a1. The site's body-copy colour (4.9:1 light).\nbody:\"var(--token-1103eab9-1384-4e53-8ad9-d060dcee532a, #6e6e6e)\",// Text/Secondary again for control borders (same value both modes, 3:1+).\ncontrol:\"var(--token-1103eab9-1384-4e53-8ad9-d060dcee532a, #6e6e6e)\",// Border/Default: #eeeeee / #242424. Decorative borders and rules.\nrule:\"var(--token-1ae38199-cbce-439f-ab23-4f321f5e3f62, #eeeeee)\",// Colors/Grey/700: #3f3f46 / #d4d4d8. Stronger body text: TOC links.\nstrong:\"var(--token-4078bc4e-4723-43e5-8b60-d9a611dbc4ca, #3f3f46)\",// Surface/Card: #fafafa / #1c1c1c. The main menu's surface (TOC panel and sheet).\ncard:\"var(--token-175e9f7e-9cf9-42cd-b522-52506cd7d635, #fafafa)\",// Surface/Card: #fafafa / #1c1c1c. Card surface.\nsurface:\"var(--token-175e9f7e-9cf9-42cd-b522-52506cd7d635, #fafafa)\",// Surface/Sunken: #f5f5f5 / #2c2c2c. Chips, hover, raised areas.\nraised:\"var(--token-575a767c-e7c9-474e-b7cf-cfd3e4469399, #f5f5f5)\",// Surface/Page: #ffffff / #161616.\npage:\"var(--token-cc944d59-d713-46c5-805a-36c4e8480b17, #ffffff)\",// Purple (dynamic): #4017b0 / #c6b3ff. Note accent.\npurple:\"var(--token-308d7adc-cf6f-477c-ad2d-df0ec34a91bb, #4017b0)\"};const FONT_BODY=`\"Inter\", \"Inter Placeholder\", system-ui, -apple-system, \"Segoe UI\", sans-serif`;const FONT_DISPLAY=`\"Inter Display\", \"Inter Display Placeholder\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif`;const FONT_MONO=`ui-monospace, \"SF Mono\", \"JetBrains Mono\", Menlo, Consolas, monospace`;// Site settings used by ArticleSchema. The live blog template is /:slug and the\n// index is /blog; the site-wide graph already defines Person #person.\nconst SITE_CFG={site:\"https://www.benjaminwalsh.co.uk\",publisherType:\"Person\",publisherName:\"Ben Walsh\",authorUrl:\"https://www.benjaminwalsh.co.uk\",blogIndexPath:\"/blog\"};// ---- inlined from _shared.tsx ----\n// Shared helpers for the DST article components (Figure, FigureGroup, FAQ,\n// DataTable, TableOfContents, Callout, Stat, Compare, ArticleSchema, Anchor).\n//\n// SSR rules: nothing here touches window or document at module scope or during\n// render. Browser APIs only run inside effects or event handlers.\n//\n// Colours are DST's dynamic colour styles, referenced as Framer token CSS\n// variables with the light value as a fallback. Framer swaps the token values\n// for dark mode (prefers-color-scheme, and ThemeSwitch's body.pix-is-dark), so\n// the components follow the site theme without any logic of their own.\n// Tokens, fonts and site settings come from src/tokens/<site>.tsx. sync.mjs\n// inlines the one for the chosen --site (default dst) in place of this import.\n// Base CSS shared by every component. Scoped under .dstc so it never leaks into\n// the rest of the page. Injected once per instance; the duplication is small and\n// keeps each component SSR-complete on its own.\nconst BASE_CSS=`\n.dstc{font-family:${FONT_BODY};color:${T.body};font-size:16px;line-height:1.7;box-sizing:border-box;-webkit-font-smoothing:antialiased}\n.dstc *,.dstc *::before,.dstc *::after{box-sizing:border-box}\n.dstc a{color:${T.ink};text-decoration:underline;text-underline-offset:0.18em;text-decoration-thickness:1px}\n.dstc a:hover{text-decoration-thickness:2px}\n.dstc :focus-visible{outline:2px solid ${T.ink};outline-offset:2px;border-radius:4px}\n.dstc code{font-family:${FONT_MONO};font-size:0.9em;background:${T.raised};color:${T.ink};padding:0.1em 0.35em;border-radius:4px}\n.dstc strong{color:${T.ink};font-weight:600}\n.dstc p{margin:0}\n.dstc .dstc-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n`;function Style({css}){return /*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}});}// ---------------------------------------------------------------------------\n// Inline markdown: **bold**, *italic*, `code`, [text](url). Paragraphs on blank\n// lines. Deliberately tiny: captions and answers, not articles.\n// ---------------------------------------------------------------------------\nfunction safeHref(url){const u=url.trim();if(/^(https?:|mailto:)/i.test(u)||u.startsWith(\"/\")||u.startsWith(\"#\"))return u;return null;}function inline(text,keyPrefix=\"i\"){const out=[];const re=/(`[^`]+`)|(\\*\\*[^*]+\\*\\*)|(\\[[^\\]]+\\]\\([^)\\s]+\\))|(\\*[^*\\s][^*]*\\*)|(_[^_\\s][^_]*_)/g;let last=0;let m;let n=0;while(m=re.exec(text)){if(m.index>last)out.push(text.slice(last,m.index));const tok=m[0];const key=`${keyPrefix}-${n++}`;if(tok.startsWith(\"`\"))out.push(/*#__PURE__*/_jsx(\"code\",{children:tok.slice(1,-1)},key));else if(tok.startsWith(\"**\"))out.push(/*#__PURE__*/_jsx(\"strong\",{children:inline(tok.slice(2,-2),key)},key));else if(tok.startsWith(\"[\")){const mm=tok.match(/^\\[([^\\]]+)\\]\\(([^)\\s]+)\\)$/);const href=mm?safeHref(mm[2]):null;if(mm&&href){const ext=/^https?:/i.test(href);out.push(/*#__PURE__*/_jsx(\"a\",{href:href,...ext?{rel:\"noopener\"}:{},children:inline(mm[1],key)},key));}else out.push(tok);}else out.push(/*#__PURE__*/_jsx(\"em\",{children:inline(tok.slice(1,-1),key)},key));last=m.index+tok.length;}if(last<text.length)out.push(text.slice(last));return out;}function Paragraphs({text,className}){const paras=String(text||\"\").split(/\\n\\s*\\n/).map(p=>p.trim()).filter(Boolean);return /*#__PURE__*/_jsx(_Fragment,{children:paras.map((p,i)=>/*#__PURE__*/_jsx(\"p\",{className:className,children:inline(p.replace(/\\n/g,\" \"),\"p\"+i)},i))});}// Plain text for JSON-LD and aria labels: strips the inline markdown.\nfunction plain(text){return String(text||\"\").replace(/\\[([^\\]]+)\\]\\([^)\\s]+\\)/g,\"$1\").replace(/`([^`]+)`/g,\"$1\").replace(/\\*\\*([^*]+)\\*\\*/g,\"$1\").replace(/\\*([^*]+)\\*/g,\"$1\").replace(/_([^_]+)_/g,\"$1\").replace(/\\s+/g,\" \").trim();}// First clause of a caption, for \"Enlarge image: ...\" names.\nfunction firstClause(text,max=80){const p=plain(text);const cut=p.split(RegExp(\"(?<=[.:;!?])\\\\s\"))[0]||p;return cut.length>max?cut.slice(0,max-1).trimEnd()+\"…\":cut;}function slugify(text){return String(text||\"\").normalize(\"NFKD\").replace(/[̀-ͯ]/g,\"\").toLowerCase().replace(/&/g,\" and \").replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\").slice(0,80)||\"section\";}function parseJson(raw,fallback){const s=String(raw||\"\").trim();if(!s)return{value:fallback,error:\"\"};try{return{value:JSON.parse(s),error:\"\"};}catch(e){return{value:fallback,error:\"Not valid JSON\"};}}// JSON for a <script type=\"application/ld+json\">: escape \"<\" so a value can\n// never close the script element.\nfunction jsonLd(data){return JSON.stringify(data).replace(/</g,\"\\\\u003c\");}function imageSrc(v){if(!v)return\"\";if(typeof v===\"string\")return v;return v.src||v.url||\"\";}// ---------------------------------------------------------------------------\n// Hooks\n// ---------------------------------------------------------------------------\nconst useIsoLayoutEffect=typeof window===\"undefined\"?useEffect:useLayoutEffect;function useReducedMotion(){const[reduced,setReduced]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const on=()=>setReduced(mq.matches);on();mq.addEventListener?.(\"change\",on);return()=>mq.removeEventListener?.(\"change\",on);},[]);return reduced;}function useMounted(){const[m,setM]=useState(false);useEffect(()=>setM(true),[]);return m;}// Styled after the personal site's testimonial video window: a dimmed, blurred page behind, the image\n// with 14px corners, and one quiet row underneath with the caption on the left and round 40px icon\n// buttons on the right. The scrim is a layer, not ::backdrop, so Safari and Firefox blur it too.\nconst LB_CSS=`\n.dstc-lb:focus{outline:none}\n.dstc-lb{position:fixed;inset:0;z-index:2147483000;color:#f6f6f6;font-family:${FONT_BODY};font-size:16px;line-height:1.5;overscroll-behavior:contain}\n.dstc-lb *{box-sizing:border-box}\n.dstc-lb-scrim{position:absolute;inset:0;background:rgb(0 0 0 / .78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}\n.dstc-lb-win{position:relative;height:100%;display:flex;flex-direction:column;gap:12px;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));max-width:1280px;margin:0 auto}\n.dstc-lb-stage{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;touch-action:none;cursor:zoom-in;display:flex;align-items:center;justify-content:center;border-radius:14px}\n.dstc-lb-stage[data-zoomed=true]{cursor:grab}\n.dstc-lb-stage[data-dragging=true]{cursor:grabbing}\n.dstc-lb-img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px;user-select:none;-webkit-user-drag:none;transform-origin:0 0;will-change:transform}\n.dstc-lb-anim .dstc-lb-img{transition:transform .18s ease-out}\n.dstc-lb-info{flex:0 0 auto;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:0 4px}\n.dstc-lb-who{flex:1 1 280px;min-width:0;min-height:calc(2 * 1.45 * 1.0625rem);max-height:24vh;overflow:auto;font-size:1.0625rem;line-height:1.45;display:flex;flex-direction:column;justify-content:center;justify-content:safe center}\n.dstc-lb-who p{margin:0}\n.dstc-lb-who p+p{margin-top:4px}\n.dstc-lb-title{font-size:1.0625rem;line-height:1.45;font-weight:400;letter-spacing:-.01em;color:#f6f6f6}\n.dstc-lb-title p+p{color:#d2d2d2}\n.dstc-lb-credit{margin-top:2px;font-size:.9375rem;line-height:1.45;color:#d2d2d2}\n.dstc-lb-who a{color:#f6f6f6;text-underline-offset:.18em}\n.dstc-lb-ctl{display:flex;align-items:center;gap:6px;margin-left:auto}\n.dstc-lb-sep{width:1px;height:20px;margin:0 4px;background:rgb(255 255 255 / .18)}\n.dstc-lb button,.dstc-lb a.dstc-lb-btn{width:40px;height:40px;flex:none;border-radius:50%;border:0;padding:0;display:grid;place-items:center;cursor:pointer;color:#f6f6f6;font:inherit;text-decoration:none;background:color-mix(in srgb,currentColor 8%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 15%,transparent);transition:background-color .15s}\n.dstc-lb button:hover,.dstc-lb a.dstc-lb-btn:hover{background:color-mix(in srgb,currentColor 16%,transparent)}\n.dstc-lb button:disabled{opacity:.35;cursor:default;background:color-mix(in srgb,currentColor 8%,transparent)}\n.dstc-lb :focus-visible{outline:2px solid #f6f6f6;outline-offset:2px}\n.dstc-lb svg{width:18px;height:18px}\n.dstc-lb button.dstc-lb-pct{width:auto;min-width:64px;padding:0 12px;border-radius:20px;font-size:.8125rem;font-weight:600;font-variant-numeric:tabular-nums}\n.dstc-lb button.dstc-lb-pct:disabled{opacity:1}\n.dstc-lb-count{font-size:.875rem;color:#d2d2d2;padding:0 4px;font-variant-numeric:tabular-nums;white-space:nowrap}\n.dstc-lb-toast{position:absolute;left:50%;bottom:76px;transform:translateX(-50%);padding:8px 14px;border-radius:20px;background:rgb(10 10 10 / .85);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);box-shadow:inset 0 0 0 1px rgb(255 255 255 / .12);font-size:.875rem;font-weight:500;white-space:nowrap;pointer-events:none}\n.dstc-lb .dstc-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.dstc-lb-anim .dstc-lb-scrim{animation:dstc-lb-fade .35s ease-out}\n.dstc-lb-anim .dstc-lb-win{animation:dstc-lb-up .35s cubic-bezier(.22,1,.36,1)}\n@keyframes dstc-lb-fade{from{opacity:0}}\n@keyframes dstc-lb-up{from{opacity:0;transform:translateY(12px) scale(.98)}}\n@media (max-width:560px){.dstc-lb-win{gap:10px}.dstc-lb-who{flex-basis:100%}.dstc-lb-ctl{margin-left:0;width:100%;justify-content:flex-end}.dstc-lb-sep{display:none}}\n@media (forced-colors:active){.dstc-lb button,.dstc-lb a.dstc-lb-btn{border:1px solid ButtonText}}\n`;const MIN_Z=1;const MAX_Z=6;function Icon({d,size=18}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:d})});}function Lightbox(props){const{items,index,onIndex,onClose}=props;const item=items[index];const reduced=useReducedMotion();const dialogRef=useRef(null);const stageRef=useRef(null);const imgRef=useRef(null);const closeRef=useRef(null);const prevFocus=useRef(null);const[z,setZ]=useState(1);const[pan,setPan]=useState({x:0,y:0});const[dragging,setDragging]=useState(false);const pointers=useRef(new Map);const pinch=useRef(null);const drag=useRef(null);const lastTap=useRef(0);const capId=useRef(\"dstc-lb-cap-\"+Math.random().toString(36).slice(2,8)).current;const multi=items.length>1;const[copied,setCopied]=useState(\"\");useEffect(()=>setCopied(\"\"),[index]);const share=async()=>{if(typeof window===\"undefined\"||!item?.shareId)return;const url=window.location.href.split(\"#\")[0]+\"#\"+item.shareId;const ok=await copyText(url);setCopied(ok?\"Link copied\":\"Copy failed. Link: \"+url);window.setTimeout(()=>setCopied(\"\"),4e3);};const zRef=useRef(1);const panRef=useRef({x:0,y:0});const apply=(nz,np)=>{zRef.current=nz;panRef.current=np;setZ(nz);setPan(np);};// Zoom about a client point (or the image centre). The image is scaled from\n// its top-left corner, so pan is adjusted to keep that point still.\nconst zoomTo=useCallback((next,cx,cy)=>{const pz=zRef.current;const pp=panRef.current;const nz=Math.min(MAX_Z,Math.max(MIN_Z,Math.round(next*100)/100));if(nz===1)return apply(1,{x:0,y:0});const img=imgRef.current;let ux,uy;if(img&&cx!==undefined&&cy!==undefined){const r=img.getBoundingClientRect();ux=(cx-r.left)/pz;uy=(cy-r.top)/pz;}else{ux=(img?img.offsetWidth:0)/2-pp.x/pz;uy=(img?img.offsetHeight:0)/2-pp.y/pz;}apply(nz,{x:pp.x-ux*(nz-pz),y:pp.y-uy*(nz-pz)});// eslint-disable-next-line react-hooks/exhaustive-deps\n},[]);const reset=useCallback(()=>apply(1,{x:0,y:0}),[]);useEffect(()=>reset(),[index,reset]);// Focus management, scroll lock, restore focus to the trigger.\nuseIsoLayoutEffect(()=>{prevFocus.current=document.activeElement;const html=document.documentElement;const body=document.body;const saved={h:html.style.overflow,b:body.style.overflow,pr:body.style.paddingRight};const sbw=window.innerWidth-html.clientWidth;html.style.overflow=\"hidden\";body.style.overflow=\"hidden\";if(sbw>0)body.style.paddingRight=sbw+\"px\";// Focus the dialog itself, as the testimonial window does: no ring on Close until someone tabs to it.\ndialogRef.current?.focus();return()=>{html.style.overflow=saved.h;body.style.overflow=saved.b;body.style.paddingRight=saved.pr;};},[]);// Wheel zoom must be non-passive to stop the page scrolling behind.\nuseEffect(()=>{const stage=stageRef.current;if(!stage)return;const onWheel=e=>{e.preventDefault();const factor=Math.exp(-e.deltaY*(e.ctrlKey?.01:.0025));zoomTo(zRef.current*factor,e.clientX,e.clientY);};stage.addEventListener(\"wheel\",onWheel,{passive:false});return()=>stage.removeEventListener(\"wheel\",onWheel);},[zoomTo]);const step=d=>{if(!multi)return;onIndex((index+d+items.length)%items.length);};const onKeyDown=e=>{const k=e.key;if(k===\"Escape\"){e.preventDefault();onClose();return;}if(k===\"Tab\"){const root=dialogRef.current;if(!root)return;const f=Array.from(root.querySelectorAll('button:not([disabled]), a[href], [tabindex]:not([tabindex=\"-1\"])'));if(!f.length)return;const first=f[0],last=f[f.length-1];if(!root.contains(document.activeElement)||document.activeElement===root){e.preventDefault();(e.shiftKey?last:first).focus();}else if(e.shiftKey&&document.activeElement===first){e.preventDefault();last.focus();}else if(!e.shiftKey&&document.activeElement===last){e.preventDefault();first.focus();}return;}const target=e.target;if(target&&target.tagName===\"A\"&&k===\"Enter\")return;if(k===\"+\"||k===\"=\"){e.preventDefault();zoomTo(z*1.5);}else if(k===\"-\"||k===\"_\"){e.preventDefault();zoomTo(z/1.5);}else if(k===\"0\"){e.preventDefault();reset();}else if(k.startsWith(\"Arrow\")){if(z>1){e.preventDefault();const d=48;const p=panRef.current;apply(zRef.current,{x:p.x+(k===\"ArrowLeft\"?d:k===\"ArrowRight\"?-d:0),y:p.y+(k===\"ArrowUp\"?d:k===\"ArrowDown\"?-d:0)});}else if(multi&&(k===\"ArrowLeft\"||k===\"ArrowRight\")){e.preventDefault();step(k===\"ArrowLeft\"?-1:1);}}};// Keys are handled on the document while the dialog is open, so they keep\n// working after a click or drag; focus is pulled back inside if it escapes.\nconst keyRef=useRef(onKeyDown);keyRef.current=onKeyDown;useEffect(()=>{const h=e=>keyRef.current(e);const f=e=>{const root=dialogRef.current;if(root&&e.target instanceof Node&&!root.contains(e.target))closeRef.current?.focus();};document.addEventListener(\"keydown\",h,true);document.addEventListener(\"focusin\",f);return()=>{document.removeEventListener(\"keydown\",h,true);document.removeEventListener(\"focusin\",f);// Return focus to the trigger once the listeners are gone.\nconst prev=prevFocus.current;if(prev&&prev.isConnected&&typeof prev.focus===\"function\")prev.focus();};},[]);const onPointerDown=e=>{e.currentTarget.setPointerCapture?.(e.pointerId);pointers.current.set(e.pointerId,{x:e.clientX,y:e.clientY});if(pointers.current.size===2){const[a,b]=Array.from(pointers.current.values());pinch.current={dist:Math.hypot(a.x-b.x,a.y-b.y),z:zRef.current};drag.current=null;}else if(pointers.current.size===1){drag.current={x:e.clientX,y:e.clientY,px:panRef.current.x,py:panRef.current.y};}};const onPointerMove=e=>{if(!pointers.current.has(e.pointerId))return;pointers.current.set(e.pointerId,{x:e.clientX,y:e.clientY});if(pinch.current&&pointers.current.size===2){const[a,b]=Array.from(pointers.current.values());const dist=Math.hypot(a.x-b.x,a.y-b.y);zoomTo(pinch.current.z*(dist/pinch.current.dist),(a.x+b.x)/2,(a.y+b.y)/2);}else if(drag.current&&z>1){const dx=e.clientX-drag.current.x;const dy=e.clientY-drag.current.y;if(!dragging&&Math.hypot(dx,dy)>3)setDragging(true);apply(zRef.current,{x:drag.current.px+dx,y:drag.current.py+dy});}};const onPointerUp=e=>{const wasDrag=dragging;pointers.current.delete(e.pointerId);if(pointers.current.size<2)pinch.current=null;if(pointers.current.size===0){drag.current=null;setDragging(false);if(!wasDrag&&e.pointerType!==\"mouse\"){const now=Date.now();if(now-lastTap.current<300){z>1?reset():zoomTo(2.5,e.clientX,e.clientY);lastTap.current=0;}else lastTap.current=now;}}};const onDoubleClick=e=>{z>1?reset():zoomTo(2.5,e.clientX,e.clientY);};if(!item)return null;const label=item.caption?undefined:item.alt||\"Image\";const pct=Math.round(z*100);const node=/*#__PURE__*/_jsxs(\"div\",{ref:dialogRef,className:\"dstc-lb\"+(reduced?\"\":\" dstc-lb-anim\"),role:\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":item.caption?capId:undefined,\"aria-label\":label,tabIndex:-1,children:[/*#__PURE__*/_jsx(Style,{css:LB_CSS}),/*#__PURE__*/_jsx(\"div\",{className:\"dstc-lb-scrim\",\"aria-hidden\":\"true\",onClick:onClose}),/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-lb-win\",children:[/*#__PURE__*/_jsx(\"div\",{ref:stageRef,className:\"dstc-lb-stage\",\"data-zoomed\":z>1,\"data-dragging\":dragging,onPointerDown:onPointerDown,onPointerMove:onPointerMove,onPointerUp:onPointerUp,onPointerCancel:onPointerUp,onDoubleClick:onDoubleClick,onClick:e=>{if(e.target===e.currentTarget&&z===1&&!dragging)onClose();},children:/*#__PURE__*/_jsx(\"img\",{ref:imgRef,className:\"dstc-lb-img\",src:item.downloadUrl||item.src,alt:item.alt,draggable:false,style:{transform:`translate(${pan.x}px, ${pan.y}px) scale(${z})`}})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-lb-info\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-lb-who\",id:item.caption||item.credit?capId:undefined,children:[item.caption&&/*#__PURE__*/_jsx(Paragraphs,{text:item.caption,className:\"dstc-lb-title\"}),item.credit&&/*#__PURE__*/_jsxs(\"p\",{className:\"dstc-lb-credit\",children:[\"Source:\",\" \",item.creditUrl?/*#__PURE__*/_jsx(\"a\",{href:item.creditUrl,rel:\"noopener\",children:plain(item.credit)}):plain(item.credit)]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-lb-ctl\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"dstc-sr\",children:\"Keys: plus and minus zoom, 0 resets, arrows pan.\"}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"dstc-lb-pct\",onClick:reset,disabled:z===1,\"aria-label\":z>1?`Zoom ${pct}%. Reset zoom`:`Zoom ${pct}%`,title:z>1?\"Reset zoom (0)\":undefined,children:[pct,\"%\"]}),/*#__PURE__*/_jsxs(\"span\",{className:\"dstc-sr\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",children:[\"Zoom \",pct,\"%\"]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>zoomTo(z/1.5),disabled:z<=MIN_Z,\"aria-label\":\"Zoom out\",title:\"Zoom out (−)\",children:/*#__PURE__*/_jsx(Icon,{d:\"M5 12h14\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>zoomTo(z*1.5),disabled:z>=MAX_Z,\"aria-label\":\"Zoom in\",title:\"Zoom in (+)\",children:/*#__PURE__*/_jsx(Icon,{d:\"M12 5v14M5 12h14\"})}),multi&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"dstc-lb-sep\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>step(-1),\"aria-label\":\"Previous image\",title:\"Previous (←)\",children:/*#__PURE__*/_jsx(Icon,{d:\"M15 18l-6-6 6-6\"})}),/*#__PURE__*/_jsxs(\"span\",{className:\"dstc-lb-count\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",children:[index+1,\" of \",items.length]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>step(1),\"aria-label\":\"Next image\",title:\"Next (→)\",children:/*#__PURE__*/_jsx(Icon,{d:\"M9 18l6-6-6-6\"})})]}),(item.shareId||item.downloadUrl)&&/*#__PURE__*/_jsx(\"span\",{className:\"dstc-lb-sep\",\"aria-hidden\":\"true\"}),item.shareId&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:share,\"aria-label\":\"Copy a link to this image\",title:\"Copy link\",children:/*#__PURE__*/_jsx(Icon,{d:\"M10 14a5 5 0 0 0 7 0l3-3a5 5 0 0 0-7-7l-1 1M14 10a5 5 0 0 0-7 0l-3 3a5 5 0 0 0 7 7l1-1\"})}),item.downloadUrl&&/*#__PURE__*/_jsx(\"a\",{className:\"dstc-lb-btn\",href:item.downloadUrl,target:\"_blank\",rel:\"noopener\",download:true,\"aria-label\":\"Open the full image\",title:\"Full image\",children:/*#__PURE__*/_jsx(Icon,{d:\"M12 4v11M7 10l5 5 5-5M5 20h14\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",ref:closeRef,onClick:onClose,\"aria-label\":\"Close image viewer\",title:\"Close (Esc)\",children:/*#__PURE__*/_jsx(Icon,{d:\"M6 6l12 12M18 6L6 18\"})})]})]}),item.shareId&&/*#__PURE__*/_jsx(\"span\",{role:\"status\",className:copied?\"dstc-lb-toast\":\"dstc-sr\",children:copied})]})]});return /*#__PURE__*/createPortal(node,document.body);}// Opens the lightbox when location.hash matches one of the ids, on mount.\nfunction useHashOpen(ids,open,enabled){useEffect(()=>{if(!enabled||typeof window===\"undefined\")return;const check=()=>{const h=decodeURIComponent((window.location.hash||\"\").slice(1));const i=ids.indexOf(h);if(h&&i>=0)open(i);};check();window.addEventListener(\"hashchange\",check);return()=>window.removeEventListener(\"hashchange\",check);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[enabled,ids.join(\"|\")]);}async function copyText(text){try{await navigator.clipboard.writeText(text);return true;}catch{return false;}}// Reuse a Framer text style (e.g. Heading 2) that the site already applies to\n// the same tag in the surrounding rich text, so a component heading follows the\n// style when it's edited in Framer. Framer names these classes\n// \"framer-styles-preset-<hash>\", and the base \"h2.framer-text\" rule reads the\n// font, size, colour and spacing from them. Found after mount (the hash isn't\n// known at build time), so the first server render uses the fallback styling.\nfunction useFramerTextStyle(ref,tag,enabled){const[cls,setCls]=React.useState(\"\");React.useEffect(()=>{if(!enabled||!ref.current)return;const scope=ref.current.closest('[data-framer-component-type=\"RichTextContainer\"]')||document;const match=Array.from(scope.querySelectorAll(tag+\".framer-text\")).find(el=>!el.closest(\".dstc\")&&/framer-styles-preset-/.test(el.className));const preset=match?String(match.className).split(/\\s+/).find(c=>c.startsWith(\"framer-styles-preset-\")):\"\";setCls(preset||\"\");},[enabled,tag]);return cls;}const TOC_CSS=`\n.dstc-toc{width:100%;font-size:15px;line-height:1.45}\n.dstc-toc-title{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.dstc-toc ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}\n/* .dstc.dstc-toc beats BASE_CSS's .dstc a underline, which later components re-inject. */\n.dstc.dstc-toc a{display:block;position:relative;color:${T.body};text-decoration:none}\n.dstc-toc li[data-level=\"2\"]>a{font-weight:500}\n.dstc-toc li[data-level=\"3\"]>a{font-size:14px}\n.dstc-toc a[aria-current]{color:${T.ink}}\n/* Weight never changes with state, so text doesn't reflow as you scroll. */\n.dstc-toc a:focus-visible{outline:2px solid ${T.ink};outline-offset:2px;border-radius:4px}\n/* Sidebar: one continuous rail, a marker on it for the current section */\n.dstc-toc-side{max-height:calc(100vh - 160px);overflow:auto;overscroll-behavior:contain;padding:2px}\n.dstc-toc-side ol{border-left:1px solid ${T.rule}}\n.dstc-toc-side li[data-level=\"2\"]:not(:first-child){margin-top:6px}\n.dstc-toc-side a{padding:5px 0 5px 14px}\n.dstc-toc-side li[data-level=\"3\"]>a{padding-left:26px}\n.dstc.dstc-toc .dstc-toc-side a:hover{color:${T.ink};text-decoration:underline;text-underline-offset:0.18em}\n.dstc-toc-side a[aria-current]::before{content:\"\";position:absolute;left:-1.5px;top:4px;bottom:4px;width:2px;border-radius:2px;background:var(--tocx-accent,${T.ink})}\n/* Dropdown: rounded hover background, a dot for where you are */\n.dstc-toc-disc ol{gap:2px}\n.dstc-toc-disc a{padding:8px 10px 8px 24px;border-radius:8px}\n.dstc-toc-disc li[data-level=\"3\"]>a{padding-left:38px}\n.dstc-toc-disc a:hover{background:${T.raised};color:${T.ink}}\n.dstc-toc-disc a[aria-current]{background:${T.raised}}\n.dstc-toc-disc a[aria-current]::before{content:\"\";position:absolute;left:10px;top:50%;width:6px;height:6px;margin-top:-3px;border-radius:50%;background:var(--tocx-accent,${T.ink})}\n.dstc-toc-disc li[data-level=\"3\"]>a[aria-current]::before{left:24px}\n.dstc-toc-disc{border:1px solid ${T.rule};border-radius:10px;background:${T.surface}}\n.dstc-toc-disc>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 14px;font:600 16px/1.3 ${FONT_BODY};color:${T.ink};border-radius:10px}\n.dstc-toc-disc>summary::-webkit-details-marker{display:none}\n.dstc-toc-disc>summary svg{width:20px;height:20px;transition:transform .2s}\n.dstc-toc-disc[open]>summary svg{transform:rotate(180deg)}\n.dstc-toc-disc ol{padding:0 8px 10px}\n@media (prefers-reduced-motion:reduce){.dstc-toc-disc>summary svg{transition:none}}\n`;// List, Rail and Bar sit in normal flow and are styled in the server HTML.\n// JavaScript only sets data-current, aria-current and --p (section progress, 0 to 1).\nconst BAR_H=52;/* Bar: marks its root as waiting the moment the server HTML is parsed, so it is hidden from the first paint (see the CSS) */const BAR_WAIT=`(function(s){var r=s&&s.parentElement;if(r)r.setAttribute(\"data-bar-wait\",\"\")})(document.currentScript)`;const LIST_CSS=`\n.dstc-tx{width:100%;font-size:15px;line-height:1.4}\n.dstc-tx ol{list-style:none;margin:0;padding:0}\n/* .dstc.dstc-tx beats BASE_CSS's .dstc a underline, which later components re-inject. */\n.dstc.dstc-tx a{display:block;text-decoration:none}\n.dstc.dstc-tx li[data-level=\"2\"]>a{font:500 15px/1.4 ${FONT_BODY};padding:5px 0 5px 16px;color:${T.strong}}\n.dstc.dstc-tx li[data-level=\"3\"]>a{font:400 14px/1.4 ${FONT_BODY};padding:4px 0 4px 28px;color:${T.strong}}\n.dstc.dstc-tx li[data-level]>a:hover{color:${T.ink};text-decoration:underline;text-underline-offset:0.18em}\n.dstc.dstc-tx li[data-level]>a[aria-current]{color:${T.ink}}\n/* Weight never changes with state, so text doesn't reflow as you scroll. */\n.dstc.dstc-tx a.dstc-tl-top{margin-top:20px;padding:0 0 0 17px;font:400 14px/1.4 ${FONT_BODY};color:${T.strong}}\n.dstc.dstc-tx a.dstc-tl-top:hover{color:${T.ink};text-decoration:underline;text-underline-offset:0.18em}\n/* The list: a rail on the left, the current section's marker on it */\n.dstc-tl{max-height:calc(100vh - var(--off,120px) - 48px);overflow:auto;overscroll-behavior:contain;padding:4px}\n.dstc-tl>ol{position:relative}\n.dstc-tl>ol>li{position:relative}\n.dstc-tl>ol>li[data-sec]{border-left:1px solid color-mix(in srgb,${T.body} 28%,transparent)}\n.dstc-tl li>ol{display:none}\n.dstc-tl li[data-current]>ol{display:block}\n.dstc-tl-track{display:none;position:absolute;left:-1.5px;top:4px;bottom:4px;width:2px;border-radius:2px;background:color-mix(in srgb,var(--tocx-accent,${T.ink}) 22%,transparent);pointer-events:none}\n.dstc-tl li[data-current]>.dstc-tl-track{display:block}\n.dstc-tl-fill{position:absolute;left:0;top:0;width:2px;height:calc(var(--p,0) * 100%);border-radius:2px;background:var(--tocx-accent,${T.ink})}\n/* Rail: dashes, and a panel that opens leftwards over the text */\n.dstc-tr{position:relative;padding:10px 0 10px 12px}\n.dstc.dstc-tx .dstc-tr:focus-visible{outline:none}\n.dstc-tr-dashes{display:flex;flex-direction:column;gap:14px}\n.dstc-tr-dash{display:block;width:16px;height:2px;border-radius:2px;background:color-mix(in srgb,${T.body} 45%,transparent)}\n.dstc-tr-dash[data-current]{width:28px;background:linear-gradient(90deg,var(--tocx-accent,${T.ink}) calc(var(--p,0) * 100%),color-mix(in srgb,var(--tocx-accent,${T.ink}) 35%,transparent) 0)}\n.dstc-tr-panel{position:absolute;top:-24px;right:-4px;z-index:6;width:280px;padding:10px 12px 10px 8px;background:${T.card};border-radius:14px;box-shadow:0 24px 60px -20px rgb(0 0 0 / .55);opacity:0;pointer-events:none;transform:translateX(4px);transition:opacity .15s,transform .15s}\n.dstc-tr:hover .dstc-tr-panel,.dstc-tr:focus-within .dstc-tr-panel{opacity:1;pointer-events:auto;transform:none}\n.dstc-tr[data-dismissed] .dstc-tr-panel{opacity:0!important;pointer-events:none!important;transform:translateX(4px)!important}\n/* Bar: a full-bleed strip, and a sheet in the popover top layer */\n.dstc-tb-btn{position:relative;display:flex;align-items:center;gap:10px;width:calc(100% + 2 * var(--bleed,24px));height:${BAR_H}px;margin:0;margin-inline:calc(-1 * var(--bleed,24px));padding:0;padding-inline:var(--bleed,24px);border:0;border-bottom:1px solid color-mix(in srgb,${T.body} 18%,transparent);border-radius:0;background:color-mix(in srgb,${T.page} 88%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:inherit;font:inherit;text-align:left;cursor:pointer}\n.dstc.dstc-tx .dstc-tb-btn:focus-visible{outline-offset:-4px}\n.dstc-tb-count{font:400 13px/1 ${FONT_BODY};color:${T.strong};font-variant-numeric:tabular-nums;white-space:nowrap}\n.dstc-tb-now{flex:1;min-width:0;font:500 15px/1.2 ${FONT_BODY};color:${T.ink};white-space:nowrap;overflow:hidden;text-overflow:ellipsis}\n.dstc-tb-chev{display:none;place-items:center;width:20px;height:20px;color:${T.ink};transition:transform .2s}\n.dstc-tb-prog{position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--tocx-accent,${T.ink});transform:scaleX(0);transform-origin:left;pointer-events:none}\n@keyframes dstc-tb-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}\n@supports (animation-timeline: scroll()){.dstc-tb-prog{animation:dstc-tb-grow linear both;animation-timeline:scroll(root)}}\n.dstc-tb-sheet{margin:0;padding:0 20px 20px;border:0;background:${T.card};color:${T.strong}}\n.dstc-tb-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:${BAR_H}px}\n.dstc-tb-title{font:600 16px/1.3 ${FONT_BODY};color:${T.ink}}\n.dstc-tb-close{display:grid;place-items:center;width:44px;height:44px;margin:0 -12px 0 0;padding:0;border:0;border-radius:8px;background:transparent;color:${T.ink};font:400 28px/1 ${FONT_BODY};cursor:pointer}\n.dstc-tb-sheet .dstc-tl{max-height:none;overflow:visible}\n.dstc.dstc-tx .dstc-tb-sheet a{display:flex;align-items:center;min-height:44px}\n.dstc.dstc-tx .dstc-tb-sheet a.dstc-tl-top{margin-top:14px}\n/* Without popover support the sheet stays a static block under the bar, with no chevron or close. */\n@supports selector(:popover-open){\n.dstc-tb-chev{display:grid}\n.dstc-tb:has(.dstc-tb-sheet:popover-open) .dstc-tb-chev{transform:rotate(180deg)}\n.dstc-tb-sheet{position:fixed;inset:0 0 auto 0;width:auto;height:auto;max-height:80vh;overflow:auto;overscroll-behavior:contain;border-radius:0 0 18px 18px;box-shadow:0 24px 60px -20px rgb(0 0 0 / .55)}\n.dstc-tb-sheet::backdrop{background:rgb(0 0 0 / .55)}\n/* Bar: out of sight until it is stuck to the top of the window, so on the first screen it never crowds the text beside it (its height stays as space).\n   Only with JavaScript: data-bar-wait is set by an inline script in the server HTML, so a page without scripts keeps the bar visible. */\n.dstc[data-bar-wait]:not([data-stuck])>.dstc-tb{opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}\n.dstc[data-bar-wait][data-stuck]>.dstc-tb{opacity:1;visibility:visible;transition:opacity .2s ease}\n@media (prefers-reduced-motion:reduce){.dstc[data-bar-wait]>.dstc-tb{transition:none}}\n}\n@supports not selector(:popover-open){.dstc-tb-close{display:none}}\n@media (prefers-reduced-motion:reduce){.dstc-tr-panel,.dstc-tb-chev{transition:none}}\n/* Rail, wide enough: the panel's list is shown in place, as List does. The dashes go, and so does the popover look and its dismissed state. */\n.dstc-tx-rail{container-type:inline-size}\n.dstc.dstc-tx .dstc-tr a.dstc-tl-top{display:none}\n@container (min-width: 180px){\n.dstc-tr{padding:0}\n.dstc-tr-dashes{display:none}\n.dstc-tr-panel,.dstc-tr:hover .dstc-tr-panel,.dstc-tr:focus-within .dstc-tr-panel{position:static;width:auto;padding:0;background:none;border-radius:0;box-shadow:none;opacity:1;pointer-events:auto;transform:none;transition:none}\n.dstc-tr[data-dismissed] .dstc-tr-panel{opacity:1!important;pointer-events:auto!important;transform:none!important}\n.dstc.dstc-tx .dstc-tr a.dstc-tl-top{display:block}\n}\n`;// Where a jump lands: a gap below the top of the window, and on phones also clear of the sticky bar.\nconst scrollCss=gap=>`:root{scroll-padding-top:${gap}px}@media (max-width: 809.98px){:root{scroll-padding-top:${BAR_H+16}px}}`;const DEFAULT_COLLAPSE=\"Frequently asked questions, FAQ, Sources\";// Match headings and settings regardless of curly vs straight apostrophes.\nconst norm=s=>s.replace(/[‘’ʼ]/g,\"'\").replace(/\\s+/g,\" \").trim();const clean=s=>s.replace(/\\s+/g,\" \").trim();// One heading per line: \"## Full heading = Short label {#id}\" (### for level 3);\n// the \" = Short\" and \" {#id}\" parts are optional. Lines without a leading # are\n// label-only: \"Full heading = Short label\". Same result on server and client.\nfunction parseTocList(raw){const entries=[];const labels=new Map;for(const line of String(raw||\"\").split(/\\r?\\n/)){const t=line.trim();if(!t)continue;const m=/^(#{2,3})\\s+(.+)$/.exec(t);if(!m){if(t[0]===\"#\")continue;const i=t.indexOf(\" = \");const full=i<0?\"\":norm(t.slice(0,i));const short=i<0?\"\":clean(t.slice(i+3));if(full&&short)labels.set(full,short);continue;}let rest=m[2];let id=\"\";const idm=/\\s*\\{#([^}\\s]+)\\}\\s*$/.exec(rest);if(idm){id=idm[1];rest=rest.slice(0,idm.index);}const i=rest.indexOf(\" = \");const text=clean(i<0?rest:rest.slice(0,i));const short=i<0?\"\":clean(rest.slice(i+3));if(!text)continue;entries.push({id:id||slugify(text),text,level:m[1].length===2?2:3,short:short||undefined});}return{entries,labels};}function findContent(selector){const roots=Array.from(document.querySelectorAll(selector||'[data-framer-name=\"Content\"]'));// Skip hidden breakpoint variants, as collectHeadings does.\nreturn roots.find(r=>r.offsetParent||r.getClientRects().length>0)||null;}const clamp01=n=>n>1?1:n>0?n:0;const round3=n=>Math.round(n*1e3)/1e3;function uniq(base,used){let id=base;let n=2;// Also avoid ids already used elsewhere on the page (figures, FAQ items).\nwhile(used.has(id)||document.getElementById(id))id=`${base}-${n++}`;used.add(id);return id;}// margin: set scroll-margin-top from the header offset (List, Rail and Bar use scroll-padding instead).\nfunction collectHeadings(selector,levels,offset,preset,margin=true){const roots=Array.from(document.querySelectorAll(selector||'[data-framer-name=\"Content\"]'));const tags=levels===\"H2\"?\"h2\":\"h2, h3\";const seen=new Set;const heads=[];for(const r of roots){// Skip hidden breakpoint variants (Framer keeps them in the DOM).\nif(!r.offsetParent&&r.getClientRects().length===0)continue;r.querySelectorAll(tags).forEach(h=>{// Embeds' headings are skipped, unless the embed marks one for the TOC (FAQ's own heading).\nif(seen.has(h)||h.closest(\"[data-dstc]\")&&!h.hasAttribute(\"data-dstc-toc\")||h.closest(\"nav\"))return;seen.add(h);heads.push(h);});}const used=new Set;const presetBySlug=new Map(preset.map(p=>[slugify(p.text),p.id]));return heads.map(h=>{const text=(h.textContent||\"\").replace(/\\s+/g,\" \").trim();let id=h.id;if(!id){// An Anchor embed just before the heading carries an SSR id.\nconst prev=h.previousElementSibling;const anchor=prev&&(prev.matches(\"[data-toc-anchor]\")?prev:prev.querySelector(\"[data-toc-anchor]\"));if(anchor&&anchor.id){id=anchor.id;used.add(id);}else{// A Framer scroll target on a wrapping frame carries an SSR id too: reuse it, or the id gets a -2.\nconst base=presetBySlug.get(slugify(text))||slugify(text);const wrap=base?h.closest(`[id=\"${base}\"]`):null;if(wrap){id=base;used.add(id);}else{id=uniq(base,used);h.id=id;}}}else used.add(id);if(margin)h.style.scrollMarginTop=offset+\"px\";if(!h.hasAttribute(\"tabindex\"))h.setAttribute(\"tabindex\",\"-1\");return{id,text,level:h.tagName===\"H3\"?3:2,el:h};});}const SAMPLE_LIST=`## What does APCA stand for? = What APCA stands for\n## What an APCA score (Lc) means = What an Lc score means\n### Positive and negative scores = Polarity\n## How APCA differs from WCAG 2`;// Sections are the H2s; H3s hang under the one before them, except under the\n// headings named in Collapse. Items are numbered in list order (i).\nfunction toSections(entries,labels,collapse){const noKids=new Set(String(collapse).split(\",\").map(c=>norm(c).toLowerCase()).filter(Boolean));const sections=[];const flat=[];const add=e=>{const item={...e,label:e.short||labels.get(norm(e.text))||e.text,i:flat.length};flat.push(item);return item;};let skip=false;for(const e of entries){if(e.level===2){const head=add(e);sections.push({head,kids:[]});skip=noKids.has(norm(head.text).toLowerCase())||noKids.has(norm(head.label).toLowerCase());}else if(sections.length&&!skip)sections[sections.length-1].kids.push(add(e));}return{sections,flat};}// The list itself, the same in all three layouts. Plain markup: no state, no effects.\nfunction TocNav(p){const link=e=>/*#__PURE__*/_jsx(\"a\",{href:\"#\"+e.id,\"data-i\":e.i,title:e.label!==e.text?e.text:undefined,children:e.label});const Wrap=p.inNav?\"div\":\"nav\";return /*#__PURE__*/_jsx(Wrap,{className:\"dstc-tl\",\"aria-label\":p.inNav?undefined:p.title,children:/*#__PURE__*/_jsxs(\"ol\",{children:[p.sections.map((s,n)=>/*#__PURE__*/_jsxs(\"li\",{\"data-level\":2,\"data-sec\":n,children:[link(s.head),/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tl-track\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tl-fill\"})}),s.kids.length>0&&/*#__PURE__*/_jsx(\"ol\",{children:s.kids.map(k=>/*#__PURE__*/_jsx(\"li\",{\"data-level\":3,children:link(k)},k.i))})]},n)),p.top&&/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsx(\"a\",{href:\"#\",className:\"dstc-tl-top\",\"data-top\":\"\",children:\"Back to top ↑\"})})]})});}// Taps before hydration: headings have no ids yet and the sheet can't close itself, so this\n// served script does both. Once the component is ready it marks data-ready and takes over.\nconst EARLY_TAP=`(function(){if(window.__dstcEarly)return;window.__dstcEarly=1;document.addEventListener(\"click\",function(e){var a=e.target&&e.target.closest&&e.target.closest('[data-dstc=\"toc\"] a');if(!a||!a.hash||a.pathname!==location.pathname)return;var r=a.closest('[data-dstc=\"toc\"]');if(r.hasAttribute(\"data-ready\"))return;var id=decodeURIComponent(a.hash.slice(1));var el=document.getElementById(id);if(!el){var t=a.textContent.trim(),h=document.querySelectorAll(\"h2,h3\");for(var i=0;i<h.length;i++){if(h[i].getClientRects().length&&h[i].textContent.trim()===t){el=h[i];el.id=id;break}}}var p=a.closest(\"[popover]\");if(p&&p.hidePopover)p.hidePopover();if(el){e.preventDefault();el.scrollIntoView({block:\"start\"});history.pushState(null,\"\",location.search+\"#\"+encodeURIComponent(id))}},true)})()`;const LAYOUTS=[\"List\",\"Rail\",\"Bar\"];/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 240\n */export default function TableOfContents(props){const canvas=RenderTarget.current()===RenderTarget.canvas;const preset=(parseJson(props.tocJson,[]).value||[]).filter(e=>e&&e.id&&e.text);const[entries,setEntries]=useState(preset);const[active,setActive]=useState(\"\");const discRef=useRef(null);const rootRef=useRef(null);// After a click, hold the clicked section as current until the jump has settled,\n// so the marker doesn't flash through the sections in between.\nconst lockUntil=useRef(0);const offset=Number(props.offset)||120;const mode=props.mode||\"Sidebar\";const enhanced=LAYOUTS.includes(mode);const popId=\"dstc-toc-\"+React.useId().replace(/[^a-zA-Z0-9_-]/g,\"\");// List, Rail and Bar render from the TOC list on the server; without any # lines\n// they fall back to the page's headings, found after mount.\nconst parsed=parseTocList(props.tocList);const hasList=parsed.entries.length>0;const collapse=props.collapse===undefined?DEFAULT_COLLAPSE:props.collapse;const source=hasList?parsed.entries:canvas&&enhanced?parseTocList(SAMPLE_LIST).entries:entries;const{sections,flat}=enhanced?toSections(source,parsed.labels,collapse):{sections:[],flat:[]};const sig=flat.map(f=>f.id+\"\\x01\"+f.label+\"\\x01\"+f.level).join(\"\\x02\")+\"\\x03\"+sections.length;// Find headings, assign ids, honour the hash.\nuseEffect(()=>{if(canvas||props.show===false||enhanced&&hasList)return;let cancelled=false;const run=()=>{if(cancelled)return;const list=collectHeadings(props.contentSelector,props.levels,offset,preset,!enhanced);setEntries(list.map(({id,text,level})=>({id,text,level})));const h=decodeURIComponent(window.location.hash.slice(1));if(h){const el=document.getElementById(h);if(el)el.scrollIntoView({block:\"start\",behavior:\"instant\"});}};// Rich text is SSR'd, but wait a frame so hydration has settled.\nconst t=window.requestAnimationFrame(()=>window.setTimeout(run,0));return()=>{cancelled=true;window.cancelAnimationFrame(t);};// eslint-disable-next-line react-hooks/exhaustive-deps\n},[props.contentSelector,props.levels,props.show,enhanced,hasList]);// Scroll-spy for Sidebar and Disclosure: the current section is the last heading above the top band.\nuseEffect(()=>{if(canvas||enhanced||!entries.length||typeof IntersectionObserver===\"undefined\")return;const els=entries.map(e=>document.getElementById(e.id)).filter(Boolean);if(!els.length)return;const pick=()=>{if(Date.now()<lockUntil.current)return;let cur=els[0].id;for(const el of els){if(el.getBoundingClientRect().top-offset-8<=0)cur=el.id;else break;}// At the very bottom of the page, the last heading is current.\nif(window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2)cur=els[els.length-1].id;setActive(cur);};const io=new IntersectionObserver(pick,{rootMargin:`-${offset}px 0px -55% 0px`,threshold:[0,1]});els.forEach(el=>io.observe(el));window.addEventListener(\"scroll\",pick,{passive:true});pick();return()=>{io.disconnect();window.removeEventListener(\"scroll\",pick);};},[entries,offset,canvas,enhanced]);// List, Rail and Bar: the markup is already there; this only marks where you are.\n// It sets attributes and --p straight on the elements, so scrolling never re-renders React.\n/* Bar: stuck = its sticky frame sits at the very top of the window. The frame is watched with a 1px inset at the top, so once it\n       sticks its top edge is cut by that inset and it reads as not fully in view */useEffect(()=>{const root=rootRef.current;if(canvas||mode!==\"Bar\"||!root||typeof IntersectionObserver===\"undefined\")return;root.setAttribute(\"data-bar-wait\",\"\");let el=root;for(let p=root.parentElement;p&&p!==document.body;p=p.parentElement){if(getComputedStyle(p).position===\"sticky\"){el=p;break;}}const io=new IntersectionObserver(([e])=>{const stuck=e.intersectionRatio<1&&e.boundingClientRect.top<=1&&e.boundingClientRect.bottom>0;root.toggleAttribute(\"data-stuck\",stuck);},{threshold:[1],rootMargin:\"-1px 0px 0px 0px\"});io.observe(el);return()=>io.disconnect();},[mode]);useEffect(()=>{const root=rootRef.current;if(canvas||!enhanced||props.show===false||!root||!flat.length)return;let cancelled=false;let raf=0;let cleanup=()=>{};const start=()=>{if(cancelled)return;const found=collectHeadings(props.contentSelector,props.levels,offset,flat,false);if(hasList){const h=decodeURIComponent(window.location.hash.slice(1));const el=h?document.getElementById(h):null;if(el)el.scrollIntoView({block:\"start\",behavior:\"instant\"});}const links=flat.map(()=>null);root.querySelectorAll(\"a[data-i]\").forEach(a=>links[Number(a.dataset.i)]=a);// Match list items to headings: by id, then by text. Fix the href if the page's id differs.\nconst used=new Set;const els=flat.map(()=>null);flat.forEach((f,k)=>{let j=found.findIndex((h,x)=>!used.has(x)&&h.id===f.id);if(j<0)j=found.findIndex((h,x)=>!used.has(x)&&h.level===f.level&&norm(h.text)===norm(f.text));if(j<0)return;used.add(j);els[k]=found[j].el;const l=links[k];if(l&&found[j].id!==f.id)l.setAttribute(\"href\",\"#\"+found[j].id);});const spy=[];els.forEach((el,k)=>el&&spy.push(k));const secOf=[];const headOf=[];sections.forEach((s,n)=>{headOf.push(s.head.i);secOf[s.head.i]=n;s.kids.forEach(kid=>secOf[kid.i]=n);});const secLis=Array.from(root.querySelectorAll(\"li[data-sec]\"));const dashes=Array.from(root.querySelectorAll(\"[data-dash]\"));const nav=root.querySelector(\"nav\");const count=root.querySelector(\"[data-count]\");const now=root.querySelector(\"[data-now]\");const rail=root.querySelector(\"[data-rail]\");const sheet=root.querySelector(\"[popover]\");const setText=(el,text)=>{if(!el)return;if(el.firstChild&&el.firstChild.nodeType===3)el.firstChild.data=text;else el.textContent=text;};const pad=()=>parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||offset;let curK=-1;let curS=-1;const apply=k=>{if(k!==curK){const old=links[curK];if(old)old.removeAttribute(\"aria-current\");const l=links[k];if(l)l.setAttribute(\"aria-current\",\"location\");curK=k;}const s=secOf[k];if(s===curS)return;curS=s;secLis.forEach(li=>li.toggleAttribute(\"data-current\",Number(li.dataset.sec)===s));dashes.forEach(d=>d.toggleAttribute(\"data-current\",Number(d.dataset.sec)===s));setText(count,s+1+\"/\"+sections.length);setText(now,sections[s].head.label);root.querySelector(\".dstc-tb-btn\")?.setAttribute(\"aria-label\",`${sections[s].head.label}, section ${s+1} of ${sections.length}`);// Keep the current link in view by scrolling the list itself, never the window.\nconst a=links[k];if(nav&&a&&nav.scrollHeight>nav.clientHeight+1&&nav.getClientRects().length){const nr=nav.getBoundingClientRect();const ar=a.getBoundingClientRect();if(ar.top<nr.top+8)nav.scrollTop+=ar.top-nr.top-8;else if(ar.bottom>nr.bottom-8)nav.scrollTop+=ar.bottom-nr.bottom+8;}};const pick=()=>{if(!spy.length||Date.now()<lockUntil.current)return;const line=pad()+8;let k=spy[0];for(const j of spy){if(els[j].getBoundingClientRect().top-line<=0)k=j;else break;}// At the very bottom of the page, the last heading is current.\nif(window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2)k=spy[spy.length-1];apply(k);};const progress=()=>{if(curS<0)return;const head=els[headOf[curS]];if(!head)return;const top=el=>el.getBoundingClientRect().top+window.scrollY;let end=0;for(let n=curS+1;n<sections.length&&!end;n++){const nx=els[headOf[n]];if(nx)end=top(nx);}if(!end){const c=findContent(props.contentSelector);end=c?c.getBoundingClientRect().bottom+window.scrollY:document.documentElement.scrollHeight;}const from=top(head);const y=window.scrollY+pad();root.style.setProperty(\"--p\",String(end>from?round3(clamp01((y-from)/(end-from))):0));};const run=()=>{raf=0;pick();progress();};const queue=()=>{if(!raf)raf=window.requestAnimationFrame(run);};const onClick=e=>{if(e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return;const a=e.target.closest(\"a\");if(!a||!root.contains(a))return;const close=()=>{try{if(sheet&&sheet.hidePopover)sheet.hidePopover();}catch(_){}};if(a.hasAttribute(\"data-top\")){// Instant jump to the top, with focus moved to the page's first heading.\ne.preventDefault();lockUntil.current=Date.now()+400;close();window.scrollTo({top:0,behavior:\"instant\"});const target=document.querySelector(\"h1\")||document.body;if(!target.hasAttribute(\"tabindex\"))target.setAttribute(\"tabindex\",\"-1\");if(target===document.body)target.style.outline=\"none\";target.focus({preventScroll:true});window.history.pushState(null,\"\",window.location.pathname+window.location.search);if(spy.length)apply(spy[0]);queue();return;}// a.hash, not the href attribute: Framer rewrites links to full URLs when the page has query params.\nif(!a.hash||a.pathname!==window.location.pathname)return;const id=decodeURIComponent(a.hash.slice(1));const el=document.getElementById(id);if(!el)return;e.preventDefault();// No smooth scrolling: \"instant\" also overrides any scroll-behavior: smooth on html.\n// Where it lands comes from scroll-padding-top.\nlockUntil.current=Date.now()+400;const k=Number(a.dataset.i);if(k>=0)apply(k);close();el.scrollIntoView({behavior:\"instant\",block:\"start\"});const target=k>=0&&els[k]||el;target.focus({preventScroll:true});window.history.pushState(null,\"\",window.location.search+\"#\"+encodeURIComponent(id));queue();};const onKey=e=>{if(e.ctrlKey||e.metaKey||e.altKey)return;const t=e.target;if(e.key===\"Escape\"){// Rail: focus goes to the wrapper and the panel stays shut until the pointer leaves or a link is focused.\n// Not when the list is shown in place (the dashes are hidden): there is nothing to shut.\nif(rail&&rail.contains(t)&&t!==rail&&dashes.some(d=>d.getClientRects().length>0)){rail.setAttribute(\"data-dismissed\",\"\");rail.focus({preventScroll:true});}return;}if(![\"ArrowDown\",\"ArrowUp\",\"Home\",\"End\"].includes(e.key))return;const n=t.closest(\"nav\");if(!n||!root.contains(n)||t.tagName!==\"A\")return;const vis=Array.from(n.querySelectorAll(\"a\")).filter(a=>a.getClientRects().length>0);const i=vis.indexOf(t);if(i<0)return;let to=0;if(e.key===\"End\")to=vis.length-1;else if(e.key===\"ArrowDown\")to=i===vis.length-1?0:i+1;else if(e.key===\"ArrowUp\")to=i===0?vis.length-1:i-1;e.preventDefault();vis[to].focus();};const undismiss=()=>rail&&rail.removeAttribute(\"data-dismissed\");const onFocusIn=e=>{if(rail&&e.target!==rail)undismiss();};root.addEventListener(\"click\",onClick);root.setAttribute(\"data-ready\",\"\");root.addEventListener(\"keydown\",onKey);root.addEventListener(\"focusin\",onFocusIn);if(rail)rail.addEventListener(\"mouseleave\",undismiss);const io=typeof IntersectionObserver!==\"undefined\"?new IntersectionObserver(queue,{rootMargin:`-${pad()}px 0px -55% 0px`,threshold:[0,1]}):null;if(io)spy.forEach(k=>io.observe(els[k]));window.addEventListener(\"scroll\",queue,{passive:true});window.addEventListener(\"resize\",queue);run();cleanup=()=>{root.removeEventListener(\"click\",onClick);root.removeEventListener(\"keydown\",onKey);root.removeEventListener(\"focusin\",onFocusIn);if(rail)rail.removeEventListener(\"mouseleave\",undismiss);if(io)io.disconnect();window.removeEventListener(\"scroll\",queue);window.removeEventListener(\"resize\",queue);if(raf)window.cancelAnimationFrame(raf);};};// Rich text is SSR'd, but wait a frame so hydration has settled.\nconst t=window.requestAnimationFrame(()=>window.setTimeout(start,0));return()=>{cancelled=true;window.cancelAnimationFrame(t);cleanup();};// eslint-disable-next-line react-hooks/exhaustive-deps\n},[sig,mode,hasList,canvas,props.show,props.contentSelector,props.levels,offset]);const go=(e,id)=>{const el=document.getElementById(id);if(!el)return;e.preventDefault();// No smooth scrolling: jump straight there. \"instant\" also overrides any\n// scroll-behavior: smooth the site sets on html.\nlockUntil.current=Date.now()+400;setActive(id);el.scrollIntoView({behavior:\"instant\",block:\"start\"});el.focus({preventScroll:true});window.history.pushState(null,\"\",window.location.search+\"#\"+encodeURIComponent(id));if(mode===\"Disclosure\"&&discRef.current&&props.closeOnSelect!==false)discRef.current.open=false;};const sample=[{id:\"a\",text:\"What does APCA stand for?\",level:2},{id:\"b\",text:\"What an APCA score (Lc) means\",level:2},{id:\"c\",text:\"Positive and negative scores\",level:3},{id:\"d\",text:\"How APCA differs from WCAG 2\",level:2}];const list=enhanced?source:canvas?sample:entries;const min=Number.isFinite(Number(props.minHeadings))?Number(props.minHeadings):3;if(props.show===false&&!canvas)return null;if(!canvas&&list.length<min)return null;const title=props.title||\"On this page\";// List, Rail and Bar: normal flow, all of it in the server HTML.\nif(enhanced){if(!sections.length)return null;const gap=Number.isFinite(Number(props.jumpGap))&&props.jumpGap!==undefined?Number(props.jumpGap):24;const bleed=Number.isFinite(Number(props.bleed))&&props.bleed!==undefined?Number(props.bleed):24;const vars={...props.style,\"--off\":offset+\"px\"};if(props.accent)vars[\"--tocx-accent\"]=props.accent;if(mode===\"Bar\")vars[\"--bleed\"]=bleed+\"px\";let body;if(mode===\"Rail\"){body=/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-tr\",\"data-rail\":\"\",tabIndex:-1,children:[/*#__PURE__*/_jsx(\"div\",{className:\"dstc-tr-dashes\",\"aria-hidden\":\"true\",children:sections.map((_,n)=>/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tr-dash\",\"data-dash\":\"\",\"data-sec\":n},n))}),/*#__PURE__*/_jsx(\"div\",{className:\"dstc-tr-panel\",children:/*#__PURE__*/_jsx(TocNav,{sections:sections,title:title,top:true})})]});}else if(mode===\"Bar\"){const n=sections.length;body=/*#__PURE__*/_jsxs(\"nav\",{className:\"dstc-tb\",\"aria-label\":title,children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"dstc-tb-btn\",\"aria-label\":`${title}, ${n} ${n===1?\"section\":\"sections\"}`,...{popovertarget:popId},children:[/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tb-count\",\"data-count\":\"\",\"aria-hidden\":\"true\",children:`${n} ${n===1?\"section\":\"sections\"}`}),/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tb-now\",\"data-now\":\"\",\"aria-hidden\":\"true\",children:title}),/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tb-chev\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 5l4 4 4-4\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tb-prog\",\"aria-hidden\":\"true\"})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-tb-sheet\",id:popId,...{popover:\"\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-tb-head\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"dstc-tb-title\",\"aria-hidden\":\"true\",children:title}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"dstc-tb-close\",\"aria-label\":\"Close\",...{popovertarget:popId,popovertargetaction:\"hide\"},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:\"\\xd7\"})})]}),/*#__PURE__*/_jsx(TocNav,{sections:sections,title:title,top:true,inNav:true})]})]});}else body=/*#__PURE__*/_jsx(TocNav,{sections:sections,title:title,top:true});return /*#__PURE__*/_jsxs(\"div\",{className:mode===\"Rail\"?\"dstc dstc-tx dstc-tx-rail\":\"dstc dstc-tx\",\"data-dstc\":\"toc\",ref:rootRef,style:vars,children:[/*#__PURE__*/_jsx(Style,{css:BASE_CSS+LIST_CSS+scrollCss(gap)}),/*#__PURE__*/_jsx(\"script\",{dangerouslySetInnerHTML:{__html:EARLY_TAP}}),mode===\"Bar\"&&/*#__PURE__*/_jsx(\"script\",{dangerouslySetInnerHTML:{__html:BAR_WAIT}}),body]});}const items=/*#__PURE__*/_jsx(\"ol\",{children:list.map(e=>/*#__PURE__*/_jsx(\"li\",{\"data-level\":e.level,children:/*#__PURE__*/_jsx(\"a\",{href:\"#\"+e.id,\"aria-current\":active===e.id?\"location\":undefined,onClick:ev=>go(ev,e.id),children:e.text})},e.id))});return /*#__PURE__*/_jsxs(\"nav\",{className:\"dstc dstc-toc\",\"data-dstc\":\"toc\",\"aria-label\":title,style:{...props.style,...props.accent?{[\"--tocx-accent\"]:props.accent}:null},children:[/*#__PURE__*/_jsx(Style,{css:BASE_CSS+TOC_CSS}),mode===\"Disclosure\"?/*#__PURE__*/_jsxs(\"details\",{className:\"dstc-toc-disc\",ref:discRef,open:props.startOpen?true:undefined,children:[/*#__PURE__*/_jsxs(\"summary\",{children:[title,/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":\"true\",focusable:\"false\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 9l6 6 6-6\"})})]}),items]}):/*#__PURE__*/_jsxs(\"div\",{className:\"dstc-toc-side\",children:[/*#__PURE__*/_jsx(\"p\",{className:\"dstc-toc-title\",\"aria-hidden\":\"true\",children:title}),items]})]});}TableOfContents.displayName=\"Table of Contents\";addPropertyControls(TableOfContents,{show:{type:ControlType.Boolean,title:\"Show\",defaultValue:true,description:'Bind the CMS \"Show TOC\" field.'},mode:{type:ControlType.Enum,title:\"Layout\",options:[\"Sidebar\",\"Disclosure\",\"List\",\"Rail\",\"Bar\"],defaultValue:\"Sidebar\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"On this page\"},levels:{type:ControlType.Enum,title:\"Headings\",options:[\"H2\",\"H2 and H3\"],defaultValue:\"H2 and H3\",displaySegmentedControl:true},minHeadings:{type:ControlType.Number,title:\"Min headings\",defaultValue:3,min:0,max:20,step:1,displayStepper:true,description:\"Hidden when the article has fewer headings than this.\"},offset:{type:ControlType.Number,title:\"Header offset\",defaultValue:120,min:0,max:400,unit:\"px\"},jumpGap:{type:ControlType.Number,title:\"Jump gap\",defaultValue:24,min:0,max:200,unit:\"px\",hidden:p=>!LAYOUTS.includes(p.mode),description:\"Space above a heading after a jump (scroll-padding-top). Phones add room for the Bar.\"},contentSelector:{type:ControlType.String,title:\"Content selector\",defaultValue:'[data-framer-name=\"Content\"]'},tocJson:{type:ControlType.String,title:\"TOC JSON\",displayTextArea:true,description:'Optional SSR list: [{\"id\",\"text\",\"level\":2|3}].'},tocList:{type:ControlType.String,title:\"TOC list\",displayTextArea:true,hidden:p=>!LAYOUTS.includes(p.mode),description:'One heading per line: \"## Heading = Short label {#id}\". ### for sub-headings. Bind a CMS field.'},bleed:{type:ControlType.Number,title:\"Bleed\",defaultValue:24,min:0,max:200,unit:\"px\",hidden:p=>p.mode!==\"Bar\"},startOpen:{type:ControlType.Boolean,title:\"Start open\",defaultValue:false,hidden:p=>p.mode!==\"Disclosure\"},closeOnSelect:{type:ControlType.Boolean,title:\"Close on select\",defaultValue:true,hidden:p=>p.mode!==\"Disclosure\"},accent:{type:ControlType.Color,title:\"Accent\",description:\"Optional. Colours the progress line and current marker, e.g. the client's token. Empty keeps the default.\"},collapse:{type:ControlType.String,title:\"Collapse\",defaultValue:DEFAULT_COLLAPSE,hidden:p=>!LAYOUTS.includes(p.mode),description:\"Comma-separated H2s whose H3s are never listed.\"}})// re-saved on blog-toc 2026-10-28\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TableOfContents\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"240\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOfContents.map"],"mappings":"A,oOA+CE,SAASuB,EAAM,CAACC,OAAK,CAAC,MAAoBxB,gBAAK,QAAQ,CAAC,wBAAwB,CAAC,OAAOwB,CAAG,CAAC,CAAC,CAAE,CAMoE,SAASC,EAAQC,EAAK,CAAC,OAAO,OAAOA,GAAM,EAAE,CAAC,CAAC,UAAU,MAAM,CAAC,CAAC,QAAQ,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,QAAQ,cAAc,GAAG,CAAC,CAAC,QAAQ,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,GAAG,SAAU,CAAC,SAASC,EAAUC,EAAIC,EAAS,CAAC,IAAMC,EAAE,OAAOF,GAAK,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAACE,EAAE,MAAM,CAAC,MAAMD,EAAS,MAAM,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,MAAMC,CAAC,EAAE,MAAM,EAAE,CAAE,MAAS,CAAC,MAAM,CAAC,MAAMD,EAAS,MAAM,gBAAgB,CAAE,CAAC,CA8KjjB,SAASE,EAAaH,EAAI,CAAC,IAAMI,EAAQ,CAAC,EAAQC,kBAAO,IAAI,IAAI,IAAI,IAAMC,KAAQ,OAAON,GAAK,EAAE,CAAC,CAAC,MAAM,OAAO,EAAE,CAAC,IAAMO,EAAED,EAAK,KAAK,EAAE,GAAG,CAACC,EAAE,SAAS,IAAMC,EAAE,oBAAoB,KAAKD,CAAC,EAAE,GAAG,CAACC,EAAE,CAAC,GAAGD,EAAE,KAAK,IAAI,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