1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f55ee340-19cc-3da8-d9b8-28bb423bb300")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,465121,e=>{"use strict";var t=e.i(828749),a=e.i(169987),i=e.i(597502),l=e.i(341807),r=e.i(788311),s=e.i(738750),n=e.i(411345);let o=[.16,1,.3,1];function c({layer:e,expanded:a,panelId:i}){var s;let n="string"==typeof(s=e.body)?s:Array.isArray(s)?s.map(e=>e&&"object"==typeof e?"children"in e&&Array.isArray(e.children)?e.children.map(e=>"string"==typeof e?.text?e.text:"").join(""):"":"string"==typeof e?e:"").filter(Boolean).join("\n\n"):"";return a?(0,t.jsx)("div",{id:i,className:"rounded-xl overflow-hidden h-full",style:{background:"var(--surface-primary)",border:`1px solid ${e.accent}`},children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row h-full",children:[(0,t.jsxs)("div",{className:"flex-1 p-6 flex flex-col",children:[(0,t.jsx)("p",{className:"text-overline mb-2",style:{color:e.accent},children:e.overline}),(0,t.jsx)(l.motion.h3,{className:"mb-4",style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(1.125rem, 1.5vw, 1.375rem)",color:"var(--text-primary)",lineHeight:1.2},initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.1,ease:o},children:e.title}),e.whyItMatters&&e.whyItMatters.length>0&&(0,t.jsx)(l.motion.ul,{className:"space-y-2 mb-5",initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.18,ease:o},children:e.whyItMatters.map((a,i)=>(0,t.jsxs)("li",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("span",{className:"inline-block w-2 h-2 rounded-full shrink-0 mt-[0.35em]",style:{background:e.accent}}),(0,t.jsx)("span",{className:"text-caption",style:{color:"var(--text-primary)",lineHeight:1.45},children:a})]},i))}),n&&(0,t.jsx)(l.motion.p,{className:"text-caption",style:{color:"var(--text-secondary)",lineHeight:1.55,maxWidth:"65ch"},initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.26,ease:o},children:n.split("\n\n")[0]}),e.stat&&(0,t.jsxs)(l.motion.div,{className:"mt-auto pt-4 flex items-baseline gap-2",initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{duration:.3,delay:.34,ease:o},children:[(0,t.jsx)("span",{style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(1.5rem, 2.5vw, 2rem)",lineHeight:1,color:e.accent},children:e.stat.value}),(0,t.jsx)("span",{className:"text-caption",style:{color:"var(--text-tertiary)"},children:e.stat.label})]})]}),e.image&&(0,t.jsx)(l.motion.div,{className:"relative w-full lg:w-[45%] shrink-0",style:{minHeight:200},initial:{opacity:0}
2,animate:{opacity:1},transition:{duration:.4,delay:.15,ease:o},children:(0,t.jsx)(r.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover",sizes:"(min-width: 1024px) 40vw, 100vw"})})]})}):(0,t.jsxs)("div",{className:"rounded-xl overflow-hidden h-full flex flex-col",style:{background:"var(--surface-primary)",minHeight:220},children:[e.image&&(0,t.jsx)("div",{className:"relative w-full",style:{height:120},children:(0,t.jsx)(r.default,{src:e.image,alt:e.title,fill:!0,className:"object-cover",sizes:"(min-width: 768px) 33vw, 100vw"})}),(0,t.jsxs)("div",{className:"p-5 flex flex-col flex-1",children:[(0,t.jsx)("p",{className:"text-overline mb-2",style:{color:e.accent},children:e.overline}),(0,t.jsx)("h3",{style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(0.9375rem, 1.2vw, 1.125rem)",color:"var(--text-primary)",lineHeight:1.25},children:e.title}),(0,t.jsx)("p",{className:"text-caption mt-2",style:{color:"var(--text-secondary)",lineHeight:1.4},children:e.lead})]})]})}e.s(["default",0,function({layers:e}){let[r,d]=(0,a.useState)(null),u=(0,a.useRef)(null),m=(0,a.useCallback)(e=>{d(t=>t===e?null:e)},[]);return(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&null!==r&&d(null)};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[r]),(0,a.useEffect)(()=>{if(null===r)return;let e=e=>{u.current&&!u.current.contains(e.target)&&d(null)},t=setTimeout(()=>document.addEventListener("click",e),0);return()=>{clearTimeout(t),document.removeEventListener("click",e)}},[r]),(0,t.jsxs)(s.default,{variant:"secondary",children:[(0,t.jsxs)(n.default,{children:[(0,t.jsx)("p",{className:"text-overline mb-3",style:{color:"var(--genome-deep-violet)"},children:"Structural Privacy"}),(0,t.jsx)("h2",{className:"text-h2 mb-12 max-w-[28ch]",children:"Approaches and Privacy Enhancing Technologies"})]}),(0,t.jsx)(i.LayoutGroup,{id:"privacy-cards",children:(0,t.jsx)("div",{ref:u,className:"grid grid-cols-1 md:grid-cols-3 gap-4",style:{gridAutoFlow:"dense"},role:"list",children:e.map((a,i)=>{let s=r===a.slug,n=`privacy-card-${a.slug}`,d=`privacy-panel-${a.slug}`,u=i%3+1,p=Math.floor(i/3)+1,x=p===Math.ceil(e.length/3),f=s?{zIndex:10,gridColumn:3===u?"2 / span 2":`${u} / span 2`,gridRow:x?`${p}`:`${p} / span 2`}:{zIndex:1};return(0,t.jsx)(l.motion.div,{layout:"position",layoutDependency:r,style:f,transition:{layout:{duration:.45,ease:o}},role:"listitem",children:(0,t.jsx)("button",{type:"button",id:n,"aria-expanded":s,"aria-controls":d,onClick:()=>m(a.slug),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),m(a.slug))},className:"w-full h-full text-left focus-visible:outline-2 focus-visible:outline-offset-2 rounded-xl",style:{outline:"none",cursor:"pointer"},children:(0,t.jsx)(c,{layer:a,expanded:s,panelId:d})})},a.slug)})})})]})}])},2749,e=>{"use strict";var t=e.i(828749),a=e.i(738750),i=e.i(411345),l=e.i(517631),r=e.i(456865),s=e.i(396003);e.s(["default",0,function({content:e}){return(0,t.jsxs)(a.default,{variant:"secondary",children:[(0,t.jsxs)(i.default,{children:[(0,t.jsx)("p",{className:"text-overline mb-3",style:{color:"var(--genome-deep-violet)"},children:e.demoEyebrow}),(0,t.jsx)("h2",{className:"text-h2 mb-2 max-w-[28ch]",children:e.demoTitle}),(0,t.jsx)("p",{className:"text-body max-w-[55ch] mb-12",style:{color:"var(--text-secondary)"},children:e.demoBody})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-[var(--space-m)]",children:[(0,t.jsx)(i.default,{delay:100,children:(0,t.jsxs)("div",{className:"rounded-xl p-5 h-full flex flex-col",style:{background:"var(--surface-primary)"},children:[(0,t.jsx)("p",{className:"text-overline mb-3",style:{color:"var(--genome-amber-gold)"},children:"Differential Privacy"}),(0,t.jsx)("h3",{className:"mb-3",style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(1rem, 1.2vw, 1.1875rem)",color:"var(--text-primary)"},children:"Your signal dissolves in noise."}),(0,t.jsx)("p",{className:"text-caption mb-4",style:{color:"var(--text-secondary)"},children:"Aggregate behavioural signal across 320M+ profiles. Drag epsilon toward zero. The individual vanishes. The intelligence remains."}),(0,t.jsx)("div",{className:"mt-auto",style:{minHeight:295},children:(0,t.jsx)(l.default,{accent:"#FFAA00",initialEpsilon:2,interactive:!0,width:600,height:200})})]})}),(0,t.jsx)(i.default,{delay:200,children:(0,t.jsxs)("div",{className:"rounded-xl p-5 h-full flex flex-col",style:{background:"var(--surface-primary)"},children:[(0,t.jsx)("p",{className:"text-overline mb-3",style:{color:"var(--genome-electric-blue-text)"},children:"Privacy Twins"}),(0,t.jsx)("h3",{className:"mb-3",style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(1rem, 1.2vw, 1.1875rem)",color:"var(--text-primary)"},children:"Structure survives. Identity doesn't."}),(0,t.jsx)("p",{className:"text-caption mb-4",style:{color:"var(--text-secondary)"},children:"Left: an individual profile, 850+ enrichments. Right: its Privacy Twin. Behavioural structure preserved. Re-identification mathematically infeasible. Drag the divider."}),(0,t.jsx)("div",{className:"mt-auto",style:{minHeight:295},children:(0,t.jsx)(r.default,{accentIndividual:"#0066FF",accentTwin:"#00CC66",barCount:48,height:200})})]})}),(0,t.jsx)(i.default,{delay:300,children:(0,t.jsxs)("div",{className:"rounded-xl p-5 h-full flex flex-col",style:{background:"var(--surface-primary)"},children:[(0,t.jsx)("p",{className:"text-overline mb-3",style:{color:"#00CC66"},children:"K-Anonymity"}),(0,t.jsx)("h3",{className:"mb-3",style:{fontFamily:"var(--font-display)",fontWeight:600,fontSize:"clamp(1rem, 1.2vw, 1.1875rem)",color:"var(--text-primary)"},children:"No one stands alone in the crowd."}),(0,t.jsx)("p",{className:"text-caption mb-4",style:{color:"var(--text-secondary)"},children:"Each dot is a person. Raise k to increase the minimum group size. Red dots are exposed. Green dots are safe. Drag until every individual disappears into a group."}),(0,t.jsx)("div",{className:"mt-auto",style:{minHeight:295},children:(0,t.jsx)(s.default,{accentSafe:"#00CC66",accentExposed:"#FF3300",dotCount:48,height:200})})]})})]})]})}])},930886,e=>{"use strict";var t=e.i(828749),a=e.i(539841),i=e.i(411345);let l=(0,a.default)(()=>e.A(679255),{loadableGenerated:{modules:[10952]},ssr:!1});e.s(["default",0,function({content:e}){return(0,t.jsx)("section",{"data-ui":"deep-privacy-hero",className:"relative overflow-hidden",style:{background:"var(--surface-primary)",color:"var(--text-primary)"},children:(0,t.jsxs)("div",{className:"max-w-[120rem] mx-auto",style:{display:"grid",gridTemplateColumns:"1fr",gap:"clamp(2rem, 4vw, 4rem)",paddingLeft:"var(--space-section-inline)",paddingRight:"var(--space-section-inline)",paddingTop:"var(--space-hero-top)",paddingBottom:"clamp(3rem, 6vw, 6rem)",alignItems:"center"},children:[(0,t.jsx)("style",{children:` 3 @media (min-width: 1024px) { 4 [data-ui="deep-privacy-hero"] .dp-hero-grid { 5 grid-template-columns: 5fr 6fr !important; 6 gap: clamp(1rem, 2vw, 2rem) !important; 7 } 8 } 9 `}),(0,t.jsxs)("div",{className:"dp-hero-grid",style:{display:"grid",gridTemplateColumns:"1fr",gap:"clamp(2rem, 4vw, 4rem)",alignItems:"center"},children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)(i.default,{children:[(0,t.jsx)("p",{className:"text-overline mb-4",style:{color:"var(--page-accent-deep-privacy)"},children:e.eyebrow}),(0,t.jsx)("h1",{className:"text-display mb-8",children:e.title})]}),(0,t.jsx)(i.default,{delay:100,children:(0,t.jsx)("div",{className:"max-w-[50ch] space-y-4",style:{color:"var(--text-secondary)",fontSize:"clamp(1.1875rem, 1.6vw, 1.375rem)",lineHeight:1.45},children:e.intro.split("\n\n").map((e,a)=>{let i="how do we protect the person behind the data?",l=e.indexOf(i);return -1===l?(0,t.jsx)("p",{children:e},a):(0,t.jsxs)("p",{children:[e.slice(0,l),(0,t.jsx)("span",{style:{color:"var(--text-primary)"},children:i}),e.slice(l+i.length)]},a)})})})]}),(0,t.jsx)(i.default,{delay:200,direction:"left",children:(0,t.jsx)("div",{style:{display:"flex",justifyContent:"center",overflow:"visible",width:"100%"},children:(0,t.jsx)(l,{})})})]})]})})}])},114204,e=>{"use strict";var t=e.i(828749),a=e.i(411345),i=e.i(388879);e.s(["default",0,function(){return(0,t.jsx)("section",{"data-ui":"deep-privacy-illustrations",style:{background:"var(--surface-primary)",color:"var(--text-primary)"},children:(0,t.jsxs)("div",{className:"max-w-7xl mx-auto px-[var(--space-section-inline)]",style:{paddingTop:"clamp(4rem, 8vw, 8rem)",paddingBottom:"clamp(4rem, 8vw, 8rem)"},children:[(0,t.jsx)(a.default,{children:(0,t.jsx)("p",{className:"text-caption mb-6",style:{color:"var(--text-tertiary)"},children:"Hover to reveal what the system sees. Release to re-anonymise."})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8",children:[(0,t.jsx)(a.default,{delay:100,children:(0,t.jsx)(i.default,{text:"Professional commuter, 08:47 average arrival. Data usage dropped 40% over 30 days. Competitor plan browsing detected 3x this week. Churn probability index: 0.87. Retention engagement window: 48 hours.",accent:"#0066FF",label:"Identity removed"})}),(0,t.jsx)(a.default,{delay:200,children:(0,t.jsx)(i.default,{text:"Commerce-dominant signal, midday retail corridor. Grocery frequency 4.2x per week, local commerce radius below 800 metres. Premium hospital
9ity affinity elevated 3.1x above district baseline. Purchase intent window: active.",accent:"#6600CC",label:"Anonymised by design"})})]})]})})}])},679255,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2rqtx_9so-6aw.js"].map(t=>e.l(t))).then(()=>t(10952)))},517631,e=>{"use strict";var t=e.i(828749),a=e.i(169987),i=e.i(341807),l=e.i(317574);e.s(["default",0,function({width:e=400,height:r=200,accent:s="#FFAA00",initialEpsilon:n=1,interactive:o=!0,className:c=""}){let d=(0,a.useRef)(null),u=(0,a.useRef)(null),m=(0,a.useRef)(0),p=(0,l.useInView)(u,{once:!1,margin:"40px"}),[x,f]=(0,a.useState)(n),h=(0,a.useRef)({r:255,g:170,b:0});(0,a.useEffect)(()=>{let e=s.match(/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i);e&&(h.current={r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)})},[s]);let y=(0,a.useCallback)(e=>{let t=d.current;if(!t)return;let a=t.getContext("2d");if(!a)return;let i=t.width,l=t.height,r=a.createImageData(i,l),s=r.data,n=Math.min(1,.15/Math.max(x,.01)),o=5e-4*e,{r:c,g:u,b:m}=h.current;for(let e=0;e<l;e++)for(let t=0;t<i;t++){let a=(.5*function(e,t){let a=Math.floor(e),i=Math.floor(t),l=e-a,r=t-i,s=l*l*(3-2*l),n=(e,t)=>{let a=Math.trunc(0x165667b1*e+0x27d4eb2f*t+0xc75a425ea);return(0x7fffffff&(a=Math.trunc((a^a>>13)*0x41c64e6d)))/0x7fffffff*2-1},o=n(a,i),c=n(a+1,i),d=n(a,i+1),u=n(a+1,i+1),m=o+s*(c-o);return m+r*r*(3-2*r)*(d+s*(u-d)-m)}(.04*t,.04*e+o)+.5)*n,l=(e*i+t)*4;s[l]=Math.round(c*a),s[l+1]=Math.round(u*a),s[l+2]=Math.round(m*a),s[l+3]=Math.round(200*a)}a.putImageData(r,0,0)},[x]);(0,a.useEffect)(()=>{if(!p)return;let e=!0,t=a=>{e&&(y(a),m.current=requestAnimationFrame(t))};return m.current=requestAnimationFrame(t),()=>{e=!1,cancelAnimationFrame(m.current)}},[p,y]);let v=x<=.1?"Maximum privacy":x<=1?"Strong privacy":x<=5?"Moderate privacy":"Low privacy";return(0,t.jsxs)("div",{ref:u,"data-ui":"differential-noise",className:`relative ${c}`,role:"figure","aria-label":`Differential privacy visualisation. Epsilon: ${x.toFixed(2)}. ${v}.`,children:[(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-lg",style:{backgroundColor:"#F5E6D3",height:r},children:[(0,t.jsx)("div",{className:"absolute inset-0 grid grid-cols-8 grid-rows-4 gap-px p-4 opacity-40",children:Array.from({length:32},(e,a)=>(0,t.jsx)("div",{className:"rounded-sm",style:{backgroundColor:s,opacity:.15+a%5*.12}},a))}),(0,t.jsx)(i.motion.canvas,{ref:d,width:e,height:r,className:"relative w-full",style:{aspectRatio:`${e} / ${r}`,imageRendering:"pixelated"},initial:{opacity:0}
9,animate:{opacity:+!!p},transition:{duration:.6}})]}),o&&(0,t.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-[0.75rem] tracking-wide uppercase",style:{color:"var(--text-tertiary)"},children:"Privacy budget (epsilon)"}),(0,t.jsx)("span",{className:"text-[0.75rem] font-medium tabular-nums",style:{color:s},children:x.toFixed(2)})]}),(0,t.jsx)("input",{type:"range",min:"0.01",max:"10",step:"0.01",value:x,onChange:e=>f(parseFloat(e.target.value)),className:"w-full privacy-epsilon-slider",style:{"--slider-accent":s,"--slider-fill":`${(x-.01)/9.99*100}%`},"aria-label":"Epsilon privacy budget"}),(0,t.jsxs)("p",{className:"text-[0.75rem]",style:{color:"var(--text-tertiary)"},children:[v,". ",x<=1?"Individual contribution undetectable.":"Higher utility, weaker guarantee."]})]})]})}])},396003,e=>{"use strict";var t=e.i(828749),a=e.i(169987),i=e.i(341807),l=e.i(317574);e.s(["default",0,function({accentSafe:e="#00CC66",accentExposed:r="#FF3300",dotCount:s=48,height:n=240,className:o=""}){let c=(0,a.useRef)(null),d=(0,l.useInView)(c,{once:!0,margin:"40px"}),[u,m]=(0,a.useState)(3),[p]=(0,a.useState)(()=>(function(e){let t,a=(t=5591,()=>((t=(16807*t+0)%0x7fffffff)-1)/0x7ffffffe),i=Array.from({length:12},()=>({x:8+84*a(),y:8+84*a(),size:1+Math.floor(8*a())})),l=[];for(let t=0;t<i.length&&l.length<e;t++){let r=i[t];for(let i=0;i<r.size&&l.length<e;i++)l.push({x:r.x+(a()-.5)*12,y:r.y+(a()-.5)*12,cluster:t,delay:.4*a()})}for(;l.length<e;)l.push({x:6+88*a(),y:6+88*a(),cluster:12+l.length,delay:.4*a()});return l})(s)),{clusterSizes:x,exposedCount:f}=(0,a.useMemo)(()=>{let e={};for(let t of p)e[t.cluster]=(e[t.cluster]||0)+1;let t=0;for(let a of p)e[a.cluster]<u&&t++;return{clusterSizes:e,exposedCount:t}},[p,u]),h=0===f?"All individuals protected.":`${f} individual${1===f?"":"s"} exposed.`;return(0,t.jsxs)("div",{ref:c,"data-ui":"k-anonymity-viz",className:`relative ${o}`,role:"figure","aria-label":`K-anonymity visualisation. k=${u}. ${h}`,children:[(0,t.jsx)("div",{className:"relative overflow-hidden rounded-lg",style:{height:n,backgroundColor:"#F5E6D3"},children:p.map((a,l)=>{let s=x[a.cluster]>=u;return(0,t.jsx)(i.motion.div,{className:"absolute rounded-full",style:{left:`${a.x}%`,top:`${a.y}%`,width:7,height:7,backgroundColor:s?e:r,boxShadow:s?"none":`0 0 6px 2px ${r}`},initial:{scale:0,opacity:0},animate:d?{scale:1,opacity:s?.7:1}:{},transition:{duration:.4,delay:a.delay,ease:[.16,1,.3,1]}},l)})}),(0,t.jsxs)("div",{className:"mt-4 space-y-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-[0.75rem] tracking-wide uppercase",style:{color:"rgba(26,26,26,0.55)"},children:"Minimum group size (k)"}),(0,t.jsx)("span",{className:"text-[0.75rem] font-medium tabular-nums",style:{color:0===f?e:r},children:u})]}),(0,t.jsx)("input",{type:"range",min:"1",max:"8",step:"1",value:u,onChange:e=>m(parseInt(e.target.value,10)),className:"w-full privacy-epsilon-slider",style:{"--slider-accent":0===f?e:r,"--slider-fill":`${(u-1)/7*100}%`},"aria-label":"K-anonymity minimum group size"}),(0,t.jsx)("p",{className:"text-[0.75rem]",style:{color:"rgba(26,26,26,0.55)"},children:h})]})]})}])},456865,e=>{"use strict";var t=e.i(828749),a=e.i(169987),i=e.i(341807),l=e.i(317574);function r(e,t){let a,i=(a=t,()=>((a=(16807*a+0)%0x7fffffff)-1)/0x7ffffffe);return Array.from({length:e},()=>({height:.2+.8*i(),hueShift:40*i()-20,opacity:.4+.6*i(),delay:.5*i()}))}e.s(["default",0,function({accentIndividual:e="#0066FF",accentTwin:s="#00CC66",barCount:n=40,height:o=200,className:c=""}){let d=(0,a.useRef)(null),u=(0,l.useInView)(d,{once:!0,margin:"40px"}),[m,p]=(0,a.useState)(50),[x,f]=(0,a.useState)(!1),h=(0,a.useRef)(!1),y=(0,a.useMemo)(()=>r(n,2847),[n]),v=(0,a.useMemo)(()=>r(n,9173),[n]),g=(0,a.useMemo)(()=>v.map((e,t)=>{let a=4*Math.floor(t/4),i=Math.min(a+4,v.length),l=0;for(let e=a;e<i;e++)l+=v[e].height;return l/=i-a,{...e,height:l,opacity:Math.min(e.opacity,.7),hueShift:.3*e.hueShift}}),[v]),j=(0,a.useCallback)(()=>{h.current=!0,f(!0)},[]),b=(0,a.useCallback)(e=>{if(!h.current||!d.current)return;let t=d.current.getBoundingClientRect();p(Math.max(10,Math.min(90,(e.clientX-t.left)/t.width*100)))},[]),w=(0,a.useCallback)(()=>{h.current=!1,f(!1)},[]),N=(e,a,l)=>(0,t.jsx)("div",{className:"absolute inset-0 flex items-end gap-px px-4 pb-4",style:{clipPath:"left"===l?`inset(0 ${100-m}% 0 0)`:`inset(0 0 0 ${m}%)`},children:e.map((e,r)=>(0,t.jsx)(i.motion.div,{className:"flex-1 rounded-t-sm",style:{backgroundColor:a,opacity:e.opacity,filter:`hue-rotate(${e.hueShift}deg)`},initial:{height:0},animate:u?{height:`${100*e.height}%`}:{},transition:{duration:.6,delay:e.delay,ease:[.16,1,.3,1]}},`${l}-${r}`))});return(0,t.jsxs)("div",{ref:d,"data-ui":"privacy-twin-viz",className:`relative ${c}`,role:"figure","aria-label":"Privacy Twin comparison: individual data versus anonymised twin",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-lg touch-none",style:{height:o,backgroundColor:"#F5E6D3",cursor:x?"grabbing":"default"},onPointerMove:b,onPointerUp:w,onPointerLeave:w,children:[N(y,e,"left"),N(g,s,"right"),(0,t.jsxs)("div",{className:"absolute top-0 bottom-0 z-10",style:{left:`${m}%`,transform:"translateX(-50%)"},children:[(0,t.jsx)("div",{className:"w-px h-full",style:{backgroundColor:"rgba(26,26,26,0.2)"}}),(0,t.jsx)("button",{className:"absolute top-1/2 -translate-x-1/2 -translate-y-1/2 w-8 h-8 rounded-full flex items-center justify-center cursor-grab active:cursor-grabbing",style:{backgroundColor:"#FFFFFF",border:"2px s
9olid rgba(26,26,26,0.2)"},onPointerDown:j,"aria-label":"Drag to adjust split between individual and twin data","aria-valuenow":Math.round(m),"aria-valuemin":10,"aria-valuemax":90,role:"slider",children:(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3 2L1 6l2 4M9 2l2 4-2 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",style:{color:"var(--text-tertiary)"}})})})]}),(0,t.jsx)("div",{className:"absolute top-3 left-4 z-10",children:(0,t.jsx)("span",{className:"text-[0.6875rem] tracking-wide uppercase px-2 py-1 rounded",style:{color:e,backgroundColor:"#FFFFFF",opacity:.9},children:"Individual"})}),(0,t.jsx)("div",{className:"absolute top-3 right-4 z-10",children:(0,t.jsx)("span",{className:"text-[0.6875rem] tracking-wide uppercase px-2 py-1 rounded",style:{color:s,backgroundColor:"#FFFFFF",opacity:.9},children:"Privacy Twin"})})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-3 px-1",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:e}}),(0,t.jsx)("span",{className:"text-[0.75rem]",style:{color:"var(--text-tertiary)"},children:"Detailed, identifiable"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-[0.75rem]",style:{color:"var(--text-tertiary)"},children:"Aggregated, anonymous"}),(0,t.jsx)("div",{className:"w-2 h-2 rounded-full",style:{backgroundColor:s}})]})]})]})}])},388879,e=>{"use strict";var t=e.i(828749),a=e.i(169987),i=e.i(341807),l=e.i(317574);e.s(["default",0,function({text:e,accent:r="#6600CC",label:s="Anonymised",className:n=""}){let o=(0,a.useRef)(null),c=(0,l.useInView)(o,{once:!0,margin:"40px"}),[d,u]=(0,a.useState)(!1),[m,p]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(c&&!m){let e=setTimeout(()=>p(!0),200);return()=>clearTimeout(e)}},[c,m]);let x=(0,a.useCallback)(()=>u(!0),[]),f=(0,a.useCallback)(()=>u(!1),[]),h=(0,a.useMemo)(()=>{let t,a=(t=7*e.length+31,()=>((t=(16807*t+0)%0x7fffffff)-1)/0x7ffffffe);return e.split(/\s+/).map(e=>({word:e,barWidth:.55*e.length+.3,barOpacity:.4+.5*a(),entryDelay:.3*a()}))},[e]);return(0,t.jsxs)("div",{ref:o,"data-ui":"redaction-void",className:`relative select-none ${n}`,onPointerEnter:x,onPointerLeave:f,role:"figure","aria-label":`Privacy redaction demonstration: "${e}"`,children:[(0,t.jsx)("div",{className:"relative overflow-hidden rounded-lg px-5 py-5",style:{backgroundColor:"var(--surface-secondary)"},children:(0,t.jsx)("div",{className:"flex flex-wrap gap-x-2.5 gap-y-2",children:h.map((e,a)=>{let l=.02*a;return(0,t.jsxs)("span",{className:"relative inline-flex items-center",children:[(0,t.jsx)(i.motion.span,{className:"text-[0.9375rem] leading-relaxed",style:{color:"var(--text-primary)"},animate:{opacity:+!!d,y:4*!d},transition:{duration:.3,delay:d?l+.08:0,ease:[.16,1,.3,1]},children:e.word}),(0,t.jsx)(i.motion.span,{className:"absolute inset-0 rounded-sm",style:{backgroundColor:r,transformOrigin:"left center"},initial:{scaleX:0,opacity:0},animate:{scaleX:+!d,opacity:d?0:m||c?e.barOpacity:0},transition:{scaleX:{duration:.35,delay:l,ease:[.16,1,.3,1]},opacity:{duration:d?.2:.4,delay:d?l:m?0:.06*a,ease:"easeOut"}}})]},a)})})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 mt-2.5",children:[(0,t.jsx)(i.motion.div,{className:"w-2 h-2 rounded-full",style:{backgroundColor:r},animate:{scale:d?[1,1.3,1]:1},transition:{duration:.3}}),(0,t.jsx)("span",{className:"text-[0.75rem] tracking-wide uppercase",style:{color:"var(--text-tertiary)"},children:d?"Revealed (hover)":s})]})]})}])}]); 10 11//# debugId=f55ee340-19cc-3da8-d9b8-28bb423bb300
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.