{"version":3,"file":"DocIndex.Bq8zGWzQ.mjs","names":["useState","useRef","useId","_Fragment","__esmMin","ie","le","init_ssg_sandbox_shims","navigator","window","l","_e","p","c","init_jsx_runtime","ce","init_npm_react_18_3_1","de","init_framer_Bf4_tcb2","RenderTarget","ControlType","addPropertyControls","useTier","init_Breakpoint","scrambleTo","el","chars","text","t0","dur","tick","now","done","i","DIGITS","scrollToEl","y0","moved","k","delta","off","top","smooth","ensureSheet","flashSheet","s","FLASH_CSS","numberOf","esc","name","want","shown","t","citeIt","num","line","gap","ink","accent","uncite","reducedMotion","frameIt","box","n","f","colour","useResolvedColors","resolved","setResolved","colors","key","host","hostRef","probe","out","v","DocIndex","props","show","twoDigit","twoDigits","MONO","fam","SANS","list","parseEntries","items","isCanvas","tier","bar","mode","textC","inkC","accentC","ruleC","frameC","fillC","active","setActive","clause","setClause","open","setOpen","setDone","said","setSaid","rows","mark","readEl","barEl","toggle","panelId","timer","lastClause","capEl","cited","dropCite","landing","offset","nav","navH","barH","goingDown","spyLine","b","jumpTo","still","down","hash","target","frame","clauses","lastY","calm","wait","y","go","e","it","byName","raf","follow","els","cls","re","toRegex","clausePattern","collect","stale","stuck","placeBar","slot","end","navBottom","dy","riding","z","cap","h","r","run","a","sec","x","on","until","loop","late","ms","toHash","id","tries","attempt","locked","fix","again","left","m","indent","first","away","copy","url","ok","ta","clauseKey","vars","idle","copyLabel","busy","doneLabel","pad","cur","listEl","rowWord","foot","style","CSS_TEXT","ariaLabel","caption","o","counter","withDocRail","Component","EASE","init_DocIndex","fallbackName","generic","level","parts","title","layer","src"],"sources":["https:/framerusercontent.com/modules/LZrH2Ug3LJEsJT0WvMRj/5HUaikzUNkXe3RnisTgd/DocIndex.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";import{useTier}from\"https://framerusercontent.com/modules/201DoHZ1h8LKvyCRqArv/JN0DnrXGfaPXEhyRuPF2/Breakpoint.js\";/**\n * DocIndex — the one contents index of the four legal documents (Imprint, Terms of Service,\n * Privacy Policy, Gender Equality Plan). docs/approach/README.md §11–12; built for Legal\n * 26.10.2026. Nobody builds a second one: new needs become options here.\n *\n * Entries are found by their Framer layer names, the AnchorNav way, so nothing is wired twice:\n * one entry per line, `number | title | layer name` (layer name defaults to \"number title\";\n * a leading \"-\" indents the entry one step, for sub-chapters).\n *\n * Rail (Desktop): a `nav` with an `ol` of number + title rows. The current chapter gets a 6 px\n * Accent square that slides to it (240 ms) and full Ink; the rest stay Muted Ink, hover turns a\n * title Ink. Optional: a \"05 / 13\" counter, and the clause readout (Legal): the clause in view,\n * e.g. \"4.5\", with [ COPY LINK ], which copies <page>#4.5 and confirms with [ COPIED ] for 2 s.\n * Place the instance with position sticky (top 136) in a rail that is as tall as the document.\n *\n * Bar (Tablet, Phone): a 48 px disclosure bar that shows the current chapter (one line,\n * truncated) and the clause readout. Sticky in Framer at top 0; the component keeps the bar\n * under the site nav while the nav is showing and slides it up when the nav hides. While it\n * rides under the nav, a Fill cap covers the screen above it (text never runs behind the logo\n * and MENU); while the nav is hidden the stuck bar is raised to z-index 10, one above the\n * shell nav's container (z 9), which keeps catching taps even when the nav has slid away\n * (critic 26.10). It opens to the full list (rows ≥ 44 px, max 60 % of the screen); a tap\n * jumps there and closes it. Esc closes it and returns focus to the toggle.\n *\n * A jump scrolls the chapter (or clause) under the nav, moves focus to its heading\n * (tabindex −1) and frames it with viewfinder corners for 900 ms (Frame/On Light, 1 px, 8 px\n * arms): the \"focus element\" the client liked. The address takes the hash (#4, #4.5), so the\n * place can be cited; arriving with one jumps there. With the clause readout on, the landed\n * clause (or chapter) number turns Ink and gets the 6 px Accent square on its left for as long\n * as it is the readout clause (the accent's current-state job). Reduced motion: no scramble,\n * instant jumps, static corners. Static in the editor. Colours may be tokens (resolved in the\n * component). One passive, rAF-throttled scroll read; no other listeners while idle.\n *\n * Server markup: the stylesheet is injected raw (dangerouslySetInnerHTML), so the server HTML\n * carries the same CSS as the client (React escapes \">\" and quotes in <style> text, which broke\n * those rules until hydration and made the text differ).\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */const EASE=\"cubic-bezier(0.16, 1, 0.3, 1)\";const DIGITS=\"0123456789\";const fam=(name,fallbackName,generic)=>`\"${name||fallbackName}\", \"${name||fallbackName} Placeholder\", ${generic}`;export const parseEntries=s=>String(s||\"\").split(\"\\n\").filter(l=>l.trim()).map(l=>{const level=/^\\s*[-–]\\s+/.test(l)?1:0;const parts=l.replace(/^\\s*[-–]\\s+/,\"\").split(\"|\").map(p=>p.trim());let[num=\"\",title=\"\",layer=\"\"]=parts;if(parts.length===1){title=num;num=\"\";}return{num,title,layer:layer||[num,title].filter(Boolean).join(\" \"),level};});const shown=el=>!!el&&el.getClientRects().length>0;const byName=name=>{if(!name||typeof document===\"undefined\")return null;const esc=typeof CSS!==\"undefined\"&&CSS.escape?CSS.escape(name):name.replace(/\"/g,'\\\\\"');const all=Array.from(document.querySelectorAll(`[data-framer-name=\"${esc}\"]`));return all.find(shown)||null;};const toRegex=src=>{try{return new RegExp(src||\"^\\\\d+\\\\.\\\\d+$\");}catch(e){return/^\\d+\\.\\d+$/;}};const reducedMotion=()=>typeof window!==\"undefined\"&&!!window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;/** the readout counts through digits to its new value, like the site's instrument readouts */function scrambleTo(el,text){if(!el)return;const chars=Array.from(text);const t0=performance.now();const dur=Math.min(420,90*chars.length+120);const tick=now=>{if(el.dataset.target!==text)return;const p=Math.min(1,(now-t0)/dur);const done=Math.floor(p*chars.length);el.textContent=chars.map((c,i)=>i<done||!/\\d/.test(c)?c:DIGITS[Math.random()*10|0]).join(\"\");if(p<1)requestAnimationFrame(tick);else el.textContent=text;};el.dataset.target=text;requestAnimationFrame(tick);}/** scroll so el's top sits `off` screen px below the top of the window; under the big-screen\n *  site zoom scroll units and screen pixels differ, so the ratio is measured with a 1 px nudge */function scrollToEl(el,off,smooth){const y0=window.scrollY;const t0=el.getBoundingClientRect().top;window.scrollTo({top:y0+1,behavior:\"auto\"});const moved=t0-el.getBoundingClientRect().top;window.scrollTo({top:y0,behavior:\"auto\"});const k=moved>0?1/moved:1;const delta=(t0-off)*k;const top=Math.max(0,y0+delta);// a long jump lands just short of the target at once and glides the last stretch, instead of\n// racing through pages of text (and the browser painting blank tiles on the way)\nif(smooth&&Math.abs(t0-off)>window.innerHeight*1.5)window.scrollTo({top:Math.max(0,top-Math.sign(delta)*window.innerHeight*.6*k),behavior:\"auto\"});window.scrollTo({top,behavior:smooth?\"smooth\":\"auto\"});}// the frame after a jump lives on the landed element, outside this component: one global sheet\nconst FLASH_CSS=`\n.mdi-flash{position:absolute;inset:-12px -14px;pointer-events:none;z-index:2;animation:mdi-flash 900ms ${EASE} forwards}\n.mdi-flash>i{position:absolute;width:8px;height:8px;border:0 solid var(--mdi-frame,rgba(25,30,41,.4))}\n.mdi-flash>i:nth-child(1){left:0;top:0;border-left-width:1px;border-top-width:1px}\n.mdi-flash>i:nth-child(2){right:0;top:0;border-right-width:1px;border-top-width:1px}\n.mdi-flash>i:nth-child(3){left:0;bottom:0;border-left-width:1px;border-bottom-width:1px}\n.mdi-flash>i:nth-child(4){right:0;bottom:0;border-right-width:1px;border-bottom-width:1px}\n@keyframes mdi-flash{0%{opacity:0;transform:scale(1.015)}22%{opacity:1;transform:none}70%{opacity:1}100%{opacity:0}}\n@media (prefers-reduced-motion:reduce){.mdi-flash{animation:mdi-flash-still 900ms steps(1,end) forwards}}\n@keyframes mdi-flash-still{0%{opacity:1}100%{opacity:0}}\n[data-mdi-target]:focus{outline:none}\n.mdi-cite{position:relative;overflow:visible!important}\n.mdi-cite,.mdi-cite *{color:var(--mdi-cite-ink)!important}\n.mdi-cite::before{content:\"\";position:absolute;left:var(--mdi-cite-x,-16px);top:var(--mdi-cite-y,10px);width:6px;height:6px;background:var(--mdi-cite-accent);pointer-events:none;animation:mdi-cite-in 240ms ${EASE} both}\n.mdi-cite[data-out]::before{animation:mdi-cite-out 200ms ${EASE} both}\n@keyframes mdi-cite-in{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}\n@keyframes mdi-cite-out{from{opacity:1}to{opacity:0}}\n@media (prefers-reduced-motion:reduce){.mdi-cite::before,.mdi-cite[data-out]::before{animation:none}}\n`;let flashSheet=false;function ensureSheet(){if(flashSheet)return;flashSheet=true;const s=document.createElement(\"style\");s.setAttribute(\"data-marble\",\"doc-index\");s.textContent=FLASH_CSS;document.head.appendChild(s);}/** the number of a landed clause or chapter: the first text layer inside it that reads just \"4.4\" / \"4\" (or \"9.1.\") */function numberOf(el,name){const esc=name.replace(/[.*+?^$(){}|[\\]\\\\]/g,\"\\\\$&\");// the shown number may carry a leading zero (\"04.5\" for the layer \"4.5\")\nconst want=new RegExp(\"^0?\"+esc+\"\\\\.?$\");const texts=Array.from(el.querySelectorAll('[data-framer-component-type=\"RichTextContainer\"]'));return texts.find(t=>shown(t)&&want.test((t.textContent||\"\").trim()))||null;}/** \"4\" → \"04\", \"4.5\" → \"04.5\", \"10.2\" stays: the documents' two-digit numbering (shown only, hashes keep \"4.5\") */const twoDigits=n=>n.replace(/^(\\d)(?=\\.|$)/,\"0$1\");/** mark the cited number: Ink text and the 6 px Accent square on its left, centred on its first line */function citeIt(num,ink,accent){ensureSheet();const r=num.getBoundingClientRect();const line=parseFloat(getComputedStyle(num.querySelector(\".framer-text\")||num).lineHeight)||25.6;// 10 px clear of the number; on narrow sides the square still keeps 6 px from the screen edge\nconst gap=Math.max(4,Math.min(10,r.left-12));num.style.setProperty(\"--mdi-cite-x\",`${-(6+gap)}px`);num.style.setProperty(\"--mdi-cite-y\",`${Math.max(0,(line-6)/2).toFixed(1)}px`);num.style.setProperty(\"--mdi-cite-ink\",ink);num.style.setProperty(\"--mdi-cite-accent\",accent);num.removeAttribute(\"data-out\");num.classList.add(\"mdi-cite\");}function uncite(num){if(!num||!num.classList.contains(\"mdi-cite\"))return;if(reducedMotion()){num.classList.remove(\"mdi-cite\");return;}num.setAttribute(\"data-out\",\"\");window.setTimeout(()=>{if(num.hasAttribute(\"data-out\")){num.classList.remove(\"mdi-cite\");num.removeAttribute(\"data-out\");}},200);}function frameIt(el,colour){ensureSheet();// a whole chapter is too tall to frame: frame its head row instead\nlet box=el;if(el.getBoundingClientRect().height>window.innerHeight*.5&&el.firstElementChild)box=el.firstElementChild;if(getComputedStyle(box).position===\"static\")box.style.position=\"relative\";box.querySelectorAll(\":scope > .mdi-flash\").forEach(n=>n.remove());const f=document.createElement(\"span\");f.className=\"mdi-flash\";f.setAttribute(\"aria-hidden\",\"true\");f.style.setProperty(\"--mdi-frame\",colour);f.innerHTML=\"<i></i><i></i><i></i><i></i>\";box.appendChild(f);window.setTimeout(()=>f.remove(),950);}function useResolvedColors(colors,hostRef){const[resolved,setResolved]=useState(colors);const key=colors.join(\"|\");useEffect(()=>{const host=hostRef.current;if(!host)return;const probe=document.createElement(\"span\");probe.setAttribute(\"aria-hidden\",\"true\");probe.style.cssText=\"position:absolute;width:0;height:0;visibility:hidden\";host.appendChild(probe);const out=colors.map(c=>{if(!c||!String(c).includes(\"var(\"))return c;probe.style.color=\"rgba(0, 0, 0, 0)\";probe.style.color=String(c);const v=getComputedStyle(probe).color;return v&&v!==\"rgba(0, 0, 0, 0)\"?v:c;});probe.remove();setResolved(out);},[key]);return resolved;}const CSS_TEXT=`\n.mdi{position:relative;box-sizing:border-box;color:var(--mdi-text);-webkit-tap-highlight-color:transparent}\n.mdi *{box-sizing:border-box}\n.mdi ol{list-style:none;margin:0;padding:0}\n.mdi-cap,.mdi-count,.mdi-key,.mdi-copy,.mdi-num,.mdi-read{font-family:var(--mdi-mono);font-weight:300}\n.mdi-cap{margin:0 0 14px;font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase}\n.mdi-count{margin:0 0 10px;font-size:13px;line-height:1;letter-spacing:.02em;color:var(--mdi-ink);font-variant-numeric:tabular-nums}\n.mdi-row{display:grid;grid-template-columns:16px 30px minmax(0,1fr);align-items:start;min-height:44px;padding:11px 0;text-decoration:none;color:var(--mdi-text);cursor:pointer;outline:none;border-radius:2px;transition:color 200ms ${EASE}}\n.mdi-row[data-level=\"1\"]{grid-template-columns:40px 44px minmax(0,1fr)}\n.mdi-row:focus-visible{outline:2px solid var(--mdi-accent);outline-offset:2px}\n.mdi-row[aria-current],.mdi-row[aria-current] .mdi-num{color:var(--mdi-ink)}\n@media (hover:hover){.mdi-row:hover,.mdi-row:hover .mdi-num{color:var(--mdi-ink)}}\n.mdi-num{grid-column:2;font-size:11px;line-height:21.7px;letter-spacing:.06em;color:var(--mdi-text);transition:color 200ms ${EASE}}\n.mdi-title{grid-column:3;font-family:var(--mdi-sans);font-weight:300;font-size:14px;line-height:1.55;text-wrap:balance}\n.mdi-mark{position:absolute;left:0;top:0;width:6px;height:6px;background:var(--mdi-accent);pointer-events:none;opacity:0;transition:transform 240ms ${EASE},opacity 200ms ${EASE}}\n.mdi-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;padding-top:12px;border-top:1px solid var(--mdi-rule)}\n.mdi-readout{display:flex;align-items:baseline;gap:10px;min-width:0}\n.mdi-key{font-size:11px;line-height:1.4;letter-spacing:.08em;text-transform:uppercase}\n.mdi-read{font-size:13px;line-height:1;letter-spacing:.04em;color:var(--mdi-ink);font-variant-numeric:tabular-nums;white-space:nowrap}\n.mdi-copy{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;min-width:44px;font-family:var(--mdi-mono);font-weight:300;font-size:11px;line-height:1;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;color:var(--mdi-text);transition:color 200ms ${EASE}}\n.mdi-copy:focus-visible{outline:2px solid var(--mdi-accent);outline-offset:2px}\n.mdi-copy[data-done]{color:var(--mdi-accent)}\n@media (hover:hover){.mdi-copy:hover{color:var(--mdi-accent)}}\n.mdi-sq{width:6px;height:6px;flex:none;background:var(--mdi-accent);opacity:0;transform:scale(.4);transition:opacity 200ms ${EASE},transform 240ms ${EASE}}\n.mdi-copy[data-done] .mdi-sq{opacity:1;transform:none}\n.mdi-cell{display:inline-grid;justify-items:end}.mdi-cell>span{grid-area:1/1}.mdi-ghost{visibility:hidden}\n.mdi-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}\n.mdi-rail{max-height:var(--mdi-max,none);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;padding:4px;margin:-4px}\n.mdi-rail::-webkit-scrollbar{display:none}\n.mdi-bar{position:relative;display:block;will-change:transform}\n.mdi-capfill{position:absolute;bottom:100%;left:var(--mdi-cap-x,0);width:var(--mdi-cap-w,100%);height:var(--mdi-cap-h,0);background:var(--mdi-fill);pointer-events:none}\n.mdi-barbtn{all:unset;box-sizing:border-box;cursor:pointer;width:100%;height:48px;display:flex;align-items:center;gap:12px;padding:0;background:var(--mdi-fill);border-top:1px solid var(--mdi-rule);border-bottom:1px solid var(--mdi-rule);color:var(--mdi-ink)}\n.mdi-barbtn:focus-visible{outline:2px solid var(--mdi-accent);outline-offset:-2px}\n.mdi-barnow{display:flex;align-items:baseline;gap:10px;min-width:0;flex:1}\n.mdi-barnow .mdi-num{color:var(--mdi-ink);flex:none;line-height:1}\n.mdi-barlabel{font-family:var(--mdi-mono);font-weight:300;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--mdi-text)}\n.mdi-bartitle{font-family:var(--mdi-sans);font-weight:300;font-size:14px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}\n.mdi-bar .mdi-read{flex:none}.mdi-bar .mdi-read:empty{display:none}\n.mdi-tog{position:relative;width:44px;height:44px;flex:none;display:grid;place-items:center}\n.mdi-tog::before,.mdi-tog::after{content:\"\";position:absolute;width:11px;height:1px;background:currentColor;transition:transform 240ms ${EASE}}\n.mdi-tog::after{transform:rotate(90deg)}\n.mdi-barbtn[aria-expanded=\"true\"] .mdi-tog::after{transform:rotate(0deg)}\n.mdi-panel{position:absolute;left:0;right:0;top:100%;max-height:min(60vh,calc(100vh - 160px));overflow-y:auto;overscroll-behavior:contain;background:var(--mdi-fill);border-bottom:1px solid var(--mdi-rule);padding:4px 0 8px;box-shadow:0 24px 32px -24px rgba(25,30,41,.18)}\n.mdi-panel[hidden]{display:none}\n.mdi-panel .mdi-row{padding:11px 0}\n.mdi-panel .mdi-foot{position:sticky;bottom:-8px;margin:8px 0 -8px;padding:4px 0 8px;background:var(--mdi-fill)}\n@media (prefers-reduced-motion:reduce){.mdi-mark,.mdi-row,.mdi-num,.mdi-copy,.mdi-sq,.mdi-tog::before,.mdi-tog::after{transition:none}}\n@media (min-width:1440px){.mdi-railcol{align-self:stretch!important;height:auto!important}}\n`;export default function DocIndex(props){const{items,mode,caption,ariaLabel,counter,clauses,clausePattern,copyLabel,doneLabel,clauseKey,rowWord,offset,frame,twoDigit=false,style}=props;const show=n=>twoDigit&&n?twoDigits(n):n;const MONO=fam(props.fontMono,\"Geist Mono\",\"ui-monospace, monospace\");const SANS=fam(props.fontSans,\"Geist\",\"system-ui, sans-serif\");const list=parseEntries(items);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const host=useRef(null);// Auto follows the site breakpoints (Breakpoint.tsx); in the editor it draws the rail\nconst tier=useTier();const bar=mode===\"Bar\"||mode!==\"Rail\"&&tier!==\"desktop\";const[textC,inkC,accentC,ruleC,frameC,fillC]=useResolvedColors([props.textColor,props.inkColor,props.accentColor,props.ruleColor,props.frameColor,props.fillColor],host);const[active,setActive]=useState(-1);const[clause,setClause]=useState(\"\");const[open,setOpen]=useState(false);const[done,setDone]=useState(false);const[said,setSaid]=useState(\"\");const rows=useRef([]);const mark=useRef(null);const readEl=useRef(null);const barEl=useRef(null);const toggle=useRef(null);// stable between the server render and the client (no hydration mismatch)\nconst panelId=`mdi-${useId().replace(/[^a-zA-Z0-9_-]/g,\"\")}`;const timer=useRef(undefined);const lastClause=useRef(\"\");const capEl=useRef(null);// the landed clause or chapter (Legal): its number is marked while it is the readout clause\nconst cited=useRef(null);const dropCite=()=>{if(!cited.current)return;uncite(cited.current.num);cited.current=null;};// where a landed chapter should sit, in screen px from the top of the window\nconst landing=goingDown=>{if(!bar)return offset??136;const nav=document.querySelector(\".mc-nav\");const navH=nav?nav.offsetHeight:0;const barH=barEl.current?.offsetHeight||48;return(goingDown?0:navH)+barH+20;};const spyLine=()=>{if(!bar)return(offset??136)+28;const b=barEl.current?.getBoundingClientRect();return(b?b.bottom:48)+28;};// `name` is what the readout shows for the landed place (\"4.4\", or \"4\" for a chapter)\nconst jumpTo=(el,hash,smooth=true,name=\"\")=>{if(!el)return;dropCite();const still=reducedMotion();const down=el.getBoundingClientRect().top>0;scrollToEl(el,landing(down),smooth&&!still);if(hash){try{history.replaceState(history.state,\"\",`#${hash}`);}catch(e){}}const heading=el.matches(\"h1,h2,h3,h4\")?el:el.querySelector(\"h2,h3,h4\");const target=heading||el;if(!target.hasAttribute(\"tabindex\"))target.setAttribute(\"tabindex\",\"-1\");target.setAttribute(\"data-mdi-target\",\"\");target.focus({preventScroll:true});if(!frame&&!(clauses&&name))return;// frame and mark it once the scroll has settled (smooth scrolls take a moment)\nlet lastY=-1;let calm=0;const t0=performance.now();const wait=()=>{const y=window.scrollY;calm=Math.abs(y-lastY)<.5?calm+1:0;lastY=y;if(calm>=3||performance.now()-t0>1600){if(frame)frameIt(el,frameC);if(clauses&&name){const num=numberOf(el,name);if(num)citeIt(num,inkC,accentC);cited.current={name,num,y:window.scrollY};setClause(name);}}else requestAnimationFrame(wait);};requestAnimationFrame(wait);};const go=(i,e)=>{e?.preventDefault();const it=list[i];if(!it)return;setOpen(false);jumpTo(byName(it.layer),it.num||it.layer.replace(/\\s+/g,\"-\"),true,it.num);};// scroll spy + the bar keeping under the nav\nuseEffect(()=>{if(isCanvas)return;let raf=0;let follow=0;let els=[];let cls=[];const re=toRegex(clausePattern);const collect=()=>{els=list.map(it=>byName(it.layer));cls=clauses?Array.from(document.querySelectorAll(\"[data-framer-name]\")).filter(el=>re.test(el.dataset.framerName||\"\")&&shown(el)).map(el=>({el,name:el.dataset.framerName||\"\"})):[];};const stale=()=>els.some(el=>el&&(!el.isConnected||!shown(el)))||cls.some(c=>!c.el.isConnected)||list.length>0&&els.every(el=>!el);// the sticky layer (the Framer instance) and the frame it sticks in\nlet stuck=null;const placeBar=()=>{const b=barEl.current;if(!bar||!b)return;if(!stuck||!stuck.isConnected){stuck=host.current;while(stuck&&getComputedStyle(stuck).position!==\"sticky\")stuck=stuck.parentElement;}const slot=b.parentElement?.getBoundingClientRect().top??0;const end=stuck?.parentElement?stuck.parentElement.getBoundingClientRect().bottom:Infinity;const nav=document.querySelector(\".mc-nav\");const navBottom=nav?Math.max(0,nav.getBoundingClientRect().bottom):0;// under the nav while it shows, never past the end of the frame it sticks in\nconst dy=Math.max(0,Math.min(navBottom-slot,end-b.offsetHeight-slot));b.style.transform=dy?`translate3d(0, ${dy.toFixed(1)}px, 0)`:\"\";// the shell nav's fixed container (z 9) keeps catching taps over the top of the screen after\n// the nav has slid away: lift the stuck bar above it then; while the nav shows, stay below it\n// (its menu opens over everything)\nconst riding=slot<=.5||dy>0;if(stuck){const z=riding&&navBottom<=.5?\"10\":\"\";if(stuck.style.zIndex!==z)stuck.style.zIndex=z;}// while the bar rides under the nav, the screen above it is Fill: no text behind the logo and MENU\nconst cap=capEl.current;if(cap){const top=slot+dy;const h=riding&&top>.5?top:0;const r=b.getBoundingClientRect();cap.style.setProperty(\"--mdi-cap-h\",`${h.toFixed(1)}px`);cap.style.setProperty(\"--mdi-cap-x\",`${(-r.left).toFixed(1)}px`);cap.style.setProperty(\"--mdi-cap-w\",`${document.documentElement.clientWidth}px`);}};const run=()=>{raf=0;if(stale())collect();placeBar();const line=spyLine();let a=-1;els.forEach((el,i)=>{if(el&&el.getBoundingClientRect().top<=line)a=i;});// at the very end the last short chapter may never reach the line\nconst atEnd=window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2;if(atEnd){for(let i=els.length-1;i>=0;i--){const el=els[i];if(el&&el.getBoundingClientRect().top<window.innerHeight*.85){a=Math.max(a,i);break;}}}// the clause in view, inside the current chapter; at a chapter head that is the chapter itself\nlet c=\"\";const sec=a>=0?els[a]:null;if(sec){for(const k of cls){if(k.el.getBoundingClientRect().top>line)break;if(sec.contains(k.el))c=k.name;}if(!c&&clauses)c=list[a].num;}// a landed clause stays the readout (and keeps its mark) until the reader scrolls on\nconst k=cited.current;if(k&&c!==k.name){if(Math.abs(window.scrollY-k.y)<40)c=k.name;else dropCite();}setActive(x=>x===a?x:a);setClause(x=>x===c?x:c);};const on=()=>{if(!raf)raf=requestAnimationFrame(run);// the nav slides for 0.5 s after the scroll stops: keep the bar with it\nif(bar){const until=performance.now()+650;const loop=()=>{placeBar();if(performance.now()<until)follow=requestAnimationFrame(loop);else follow=0;};cancelAnimationFrame(follow);follow=requestAnimationFrame(loop);}};collect();run();const late=[600,1800].map(ms=>window.setTimeout(()=>(collect(),run()),ms));window.addEventListener(\"scroll\",on,{passive:true});window.addEventListener(\"resize\",on);return()=>{window.removeEventListener(\"scroll\",on);window.removeEventListener(\"resize\",on);cancelAnimationFrame(raf);cancelAnimationFrame(follow);late.forEach(clearTimeout);};},[isCanvas,items,clauses,clausePattern,bar,offset]);// arriving with #4 or #4.5: wait for fonts and the page unlock, jump, correct once for late layout\nuseEffect(()=>{if(isCanvas)return;let t=0;const toHash=()=>{const id=decodeURIComponent(window.location.hash.slice(1));if(!id)return;const it=list.find(x=>x.num===id||x.layer===id||x.layer.replace(/\\s+/g,\"-\")===id);const name=it?it.layer:id;let tries=0;const attempt=()=>{// only the instance that is showing acts (the rail and the bar may both be mounted)\nif(!shown(host.current))return;const el=byName(name)||document.getElementById(id);// a component that positions its own hash (a job row) does it itself (see AnchorNav)\nif(el&&el.closest(\"[data-hash-owner]\"))return;const locked=document.documentElement.style.overflow===\"hidden\";if(!el||locked){if(tries++<40)t=window.setTimeout(attempt,150);return;}// the readout name: a clause id (\"4.4\") as it is, a chapter by its number\njumpTo(el,\"\",false,it?it.num:id);// late layout (fonts, hydration) can move or replace the target: find it again and correct\nconst fix=left=>{t=window.setTimeout(()=>{const again=byName(name)||document.getElementById(id);const want=landing(true);if(again&&Math.abs(again.getBoundingClientRect().top-want)>4){scrollToEl(again,want,false);const k=cited.current;if(k){k.y=window.scrollY;// a re-rendered number loses its mark: mark the one that is there now\nif(k.num&&!k.num.isConnected){k.num=numberOf(again,k.name);if(k.num)citeIt(k.num,inkC,accentC);}}}if(left>1)fix(left-1);},600);};fix(3);};const fonts=document.fonts?.ready??Promise.resolve();fonts.then(attempt);};toHash();window.addEventListener(\"hashchange\",toHash);return()=>{clearTimeout(t);window.removeEventListener(\"hashchange\",toHash);};},[isCanvas,items]);// the Accent square slides to the current row (rail and open list)\nuseLayoutEffect(()=>{const m=mark.current;const r=rows.current[active];if(!m)return;if(!r){m.style.opacity=\"0\";return;}const indent=r.dataset.level===\"1\"?24:0;m.style.transform=`translate(${indent}px, ${r.offsetTop+11+8}px)`;m.style.opacity=\"1\";},[active,open,bar,items]);// the readout counts to the new clause\nuseEffect(()=>{const el=readEl.current;if(!el)return;// the bar shows nothing until a chapter is in view (a dash beside the toggle read as \"minus\")\nconst text=show(clause)||(bar?\"\":\"—\");if(lastClause.current===text&&el.textContent===text)return;const first=!lastClause.current;lastClause.current=text;if(first||isCanvas||reducedMotion()||!clause||!el.textContent){el.dataset.target=text;el.textContent=text;}else scrambleTo(el,text);},[clause,bar,twoDigit]);// the bar's list: Esc closes it and hands focus back; a click elsewhere closes it\nuseEffect(()=>{if(!open)return;const key=e=>{if(e.key===\"Escape\"){setOpen(false);toggle.current?.focus();}};const away=e=>{if(host.current&&!host.current.contains(e.target))setOpen(false);};document.addEventListener(\"keydown\",key);document.addEventListener(\"pointerdown\",away);return()=>{document.removeEventListener(\"keydown\",key);document.removeEventListener(\"pointerdown\",away);};},[open]);useEffect(()=>()=>window.clearTimeout(timer.current),[]);const copy=async()=>{if(isCanvas)return;const url=`${location.origin}${location.pathname}${clause?`#${clause}`:\"\"}`;let ok=false;try{await navigator.clipboard.writeText(url);ok=true;}catch(e){try{const ta=document.createElement(\"textarea\");ta.value=url;ta.setAttribute(\"readonly\",\"\");ta.style.cssText=\"position:fixed;opacity:0\";document.body.appendChild(ta);ta.select();ok=document.execCommand(\"copy\");ta.remove();}catch(e2){}}if(!ok)return;window.clearTimeout(timer.current);setDone(true);setSaid(clause?`Link to ${(clauseKey||\"clause\").toLowerCase()} ${show(clause)} copied`:\"Link to this page copied\");timer.current=window.setTimeout(()=>{setDone(false);setSaid(\"\");},2e3);};const vars={\"--mdi-text\":textC,\"--mdi-ink\":inkC,\"--mdi-accent\":accentC,\"--mdi-rule\":ruleC,\"--mdi-fill\":fillC,\"--mdi-mono\":MONO,\"--mdi-sans\":SANS,\"--mdi-max\":bar||isCanvas?\"none\":`calc(100vh / var(--site-zoom, 1) - ${(offset??136)+24}px)`};const idle=`[ ${copyLabel||\"Copy link\"} ]`;const busy=`[ ${doneLabel||\"Copied\"} ]`;const pad=n=>String(n).padStart(2,\"0\");const cur=list[active];const listEl=/*#__PURE__*/_jsx(\"ol\",{children:list.map((it,i)=>/*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsxs(\"a\",{ref:el=>{rows.current[i]=el;},className:\"mdi-row\",\"data-level\":it.level,href:`#${it.num||it.layer.replace(/\\s+/g,\"-\")}`,\"aria-current\":i===active?\"location\":undefined,\"aria-label\":it.num?`${rowWord?`${rowWord} `:\"\"}${show(it.num)}, ${it.title}`:it.title,onClick:e=>go(i,e),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mdi-num\",children:show(it.num)}),/*#__PURE__*/_jsx(\"span\",{className:\"mdi-title\",children:it.title})]})},i))});const foot=clauses?/*#__PURE__*/_jsxs(\"div\",{className:\"mdi-foot\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"mdi-readout\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mdi-key\",children:clauseKey||\"Clause\"}),/*#__PURE__*/_jsx(\"span\",{className:\"mdi-read\",ref:bar?undefined:readEl,\"aria-hidden\":\"true\",children:bar?show(clause)||\"—\":null})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"mdi-copy\",\"data-done\":done?\"\":undefined,onClick:copy,\"aria-label\":clause?`Copy link to ${(clauseKey||\"clause\").toLowerCase()} ${show(clause)}`:\"Copy link to this page\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"mdi-sq\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"span\",{className:\"mdi-cell\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"span\",{children:done?busy:idle}),/*#__PURE__*/_jsx(\"span\",{className:\"mdi-ghost\",children:busy.length>idle.length?busy:idle})]})]}),/*#__PURE__*/_jsx(\"span\",{className:\"mdi-sr\",role:\"status\",\"aria-live\":\"polite\",children:said})]}):null;if(bar){return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"mdi\",style:{...style,...vars},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS_TEXT}}),/*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":ariaLabel||\"Contents\",className:\"mdi-bar\",ref:barEl,children:[/*#__PURE__*/_jsx(\"span\",{ref:capEl,className:\"mdi-capfill\",\"aria-hidden\":\"true\"}),/*#__PURE__*/_jsxs(\"button\",{ref:toggle,type:\"button\",className:\"mdi-barbtn\",\"aria-expanded\":open,\"aria-controls\":panelId,\"aria-label\":`${caption||\"Contents\"}${cur?`: ${[show(cur.num),cur.title].filter(Boolean).join(\" \")}`:\"\"}`,onClick:()=>setOpen(o=>!o),children:[/*#__PURE__*/_jsx(\"span\",{className:\"mdi-barnow\",\"aria-hidden\":\"true\",children:cur?/*#__PURE__*/_jsxs(_Fragment,{children:[cur.num?/*#__PURE__*/_jsx(\"span\",{className:\"mdi-num\",children:show(cur.num)}):null,/*#__PURE__*/_jsx(\"span\",{className:\"mdi-bartitle\",children:cur.title})]}):/*#__PURE__*/_jsx(\"span\",{className:\"mdi-barlabel\",children:caption||\"Contents\"})}),clauses?/*#__PURE__*/_jsx(\"span\",{className:\"mdi-read\",ref:readEl,\"aria-hidden\":\"true\"}):null,/*#__PURE__*/_jsx(\"span\",{className:\"mdi-tog\",\"aria-hidden\":\"true\"})]}),/*#__PURE__*/_jsxs(\"div\",{id:panelId,className:\"mdi-panel\",hidden:!open,children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{ref:mark,className:\"mdi-mark\",\"aria-hidden\":\"true\"}),listEl]}),foot]})]})]});}return /*#__PURE__*/_jsxs(\"div\",{ref:host,className:\"mdi\",style:{...style,...vars},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS_TEXT}}),/*#__PURE__*/_jsxs(\"nav\",{\"aria-label\":ariaLabel||\"Contents\",className:\"mdi-rail\",children:[caption?/*#__PURE__*/_jsx(\"p\",{className:\"mdi-cap\",children:caption}):null,counter?/*#__PURE__*/_jsxs(\"p\",{className:\"mdi-count\",\"aria-hidden\":\"true\",children:[active<0?\"00\":pad(active+1),\" / \",pad(list.length)]}):null,/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{ref:mark,className:\"mdi-mark\",\"aria-hidden\":\"true\"}),listEl]}),foot]})]});}/**\n * withDocRail — on the rail column that holds the DocIndex instance (Desktop). The column\n * stretches to the height of the document next to it, so the sticky index inside it can stay\n * in view through the whole document while the documents list above it scrolls away.\n * Framer stacks align their children to the start; this one needs `stretch` (the rule lives in\n * the rail instance's stylesheet, which is on the page whenever the rail is).\n * It only adds a class: no sibling element, so when Framer drops the hidden rail on a phone\n * nothing of it is left behind for React to trip over (the old <style> sibling caused a\n * hydration mismatch, React #418, on every phone load).\n */export function withDocRail(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,className:[props.className,\"mdi-railcol\"].filter(Boolean).join(\" \")});}addPropertyControls(DocIndex,{items:{type:ControlType.String,title:\"Entries\",displayTextArea:true,defaultValue:\"1 | Definitions | 1 Definitions\\n2 | Scope of the Terms of Service | 2 Scope\",description:\"One per line: number | title | layer name (default: number title). A leading “- ” indents.\"},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"Auto\",\"Rail\",\"Bar\"],defaultValue:\"Auto\",description:\"Auto: rail on Desktop, bar below.\"},caption:{type:ControlType.String,title:\"Caption\",defaultValue:\"Contents\"},ariaLabel:{type:ControlType.String,title:\"Nav label\",defaultValue:\"Contents\"},counter:{type:ControlType.Boolean,title:\"Counter\",defaultValue:false,description:\"“05 / 13” above the rail.\"},clauses:{type:ControlType.Boolean,title:\"Clause readout\",defaultValue:false},clausePattern:{type:ControlType.String,title:\"Clause names\",defaultValue:\"^\\\\d+\\\\.\\\\d+$\",hidden:p=>!p.clauses,description:\"Pattern of the clause layer names.\"},clauseKey:{type:ControlType.String,title:\"Clause word\",defaultValue:\"Clause\",hidden:p=>!p.clauses},copyLabel:{type:ControlType.String,title:\"Copy label\",defaultValue:\"Copy link\",hidden:p=>!p.clauses},doneLabel:{type:ControlType.String,title:\"Done label\",defaultValue:\"Copied\",hidden:p=>!p.clauses},twoDigit:{type:ControlType.Boolean,title:\"Two digits\",defaultValue:false,description:\"Show “4” / “4.5” as “04” / “04.5” (rows, bar and readout; links keep #4.5).\"},rowWord:{type:ControlType.String,title:\"Row word\",defaultValue:\"\",description:\"Spoken before each row number: “Section” reads “Section 1, Definitions”.\"},offset:{type:ControlType.Number,title:\"Top offset\",defaultValue:136,min:0,max:400,unit:\"px\",description:\"Rail: where a landed chapter sits (the sticky top).\"},frame:{type:ControlType.Boolean,title:\"Focus frame\",defaultValue:true},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgba(25, 30, 41, 0.7)\"},inkColor:{type:ControlType.Color,title:\"Ink\",defaultValue:\"#191E29\"},accentColor:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#D1472B\"},ruleColor:{type:ControlType.Color,title:\"Rule\",defaultValue:\"rgba(25, 30, 41, 0.12)\"},frameColor:{type:ControlType.Color,title:\"Frame\",defaultValue:\"rgba(25, 30, 41, 0.4)\"},fillColor:{type:ControlType.Color,title:\"Fill\",defaultValue:\"#EDEDED\"},fontSans:{type:ControlType.String,title:\"Font\",defaultValue:\"Geist\"},fontMono:{type:ControlType.String,title:\"Mono font\",defaultValue:\"Geist Mono\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DocIndex\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"withDocRail\":{\"type\":\"reactHoc\",\"name\":\"withDocRail\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseEntries\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DocIndex.map"],"mappings":"A,4SAuCuoC,SAASwB,GAAW,EAAG,EAAK,CAAC,GAAG,CAACC,EAAG,OAAO,IAAMC,EAAM,MAAM,KAAKC,CAAI,EAAQC,EAAG,YAAY,IAAI,EAAQC,EAAI,KAAK,IAAI,IAAI,GAAGH,EAAM,OAAO,GAAG,EAAQI,EAAK,GAAK,CAAC,GAAGL,EAAG,QAAQ,SAASE,EAAK,OAAO,IAAMf,EAAE,KAAK,IAAI,GAAGmB,EAAIH,GAAIC,CAAG,EAAQG,EAAK,KAAK,MAAMpB,EAAEc,EAAM,MAAM,EAAE,EAAG,YAAYA,EAAM,KAAK,EAAE,IAAIO,EAAED,GAAM,CAAC,KAAK,KAAKnB,CAAC,EAAEA,EAAEqB,EAAO,KAAK,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,EAAKtB,EAAE,EAAE,sBAAsBkB,CAAI,EAA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