{"version":3,"file":"StylusWalker.B68uLUY4.mjs","names":["useRef","__esmMin","init_npm_react_18_3_1","de","init_jsx_runtime","c","p","ce","addPropertyControls","init_framer_DcxuU94H","fontStore","RenderTarget","ControlType","fonts","css","className","init_pifpL75FY","StylusWalker","ref","src","image","box","cancelled","r","svg","prepare","text","splitWheels","host","card","surface","findPanel","on","wake","off","settle","trigger","style","color","CSS","source","fill","el","vb","W","H","gradId","GRADIENT","f","INK_FILLS","INK","ACCENT_FILLS","absoluteSubpaths","out","prefix","part","d","abs","probe","end","dx","rest1","takeNum","dy","rest2","m","s","trackTop","NS","inside","a","b","count","pb","subs","wheels","outer","o","w","used","group","wheel","addTread","u","gap","clipId","lines","x","panel","layer","shadow","saved","EASE","rest","measure","h","top","left","right","bottom","PAD","radius","t","l","cs","moving","poses","i","SETTLE","uid","init_StylusWalker"],"sources":["https:/framerusercontent.com/modules/oScWjBb0dIRAVjJ6Er2m/V6MKfbk3UrL2xgDOkdoh/pifpL75FY.js","https:/framerusercontent.com/modules/vPsc1rzmSLNJUKfHCYgi/q6G2P46hWRmxqEwyP5ur/StylusWalker.js"],"sourcesContent":["// Generated by Framer (dc3a148)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Figtree-regular\",\"GF;Figtree-700\",\"GF;Figtree-700italic\",\"GF;Figtree-italic\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Figtree\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/figtree/v8/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_d_QF5bwkEU4HTy.woff2\",weight:\"400\"},{family:\"Figtree\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/figtree/v8/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_eYR15bwkEU4HTy.woff2\",weight:\"700\"},{family:\"Figtree\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/figtree/v8/_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A1EayEA25WTybO8.woff2\",weight:\"700\"},{family:\"Figtree\",source:\"google\",style:\"italic\",url:\"https://fonts.gstatic.com/s/figtree/v8/_Xm9-HUzqDCFdgfMm4GnA4aZFrUvtOK3A7YdyEA25WTybO8.woff2\",weight:\"400\"}]}];export const css=['.framer-HKTdx .framer-styles-preset-xgvlh:not(.rich-text-wrapper), .framer-HKTdx .framer-styles-preset-xgvlh.rich-text-wrapper p { --framer-font-family: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-bold: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-family-italic: \"Figtree\", \"Figtree Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 15px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1.4em; --framer-paragraph-spacing: 20px; --framer-text-alignment: left; --framer-text-color: var(--token-5898b7fd-7133-4d7f-9bf8-d104e65facab, #50565d); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-HKTdx\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// Renders an ilcons walker SVG inline so it can move: walkers step as one piece, and a figure\n// with round wheels on its base (the tracked robot) spins its wheels and scrolls a tread instead.\n// Each SVG path is one fill colour across the whole figure, so limbs can't be animated separately.\nconst NS=\"http://www.w3.org/2000/svg\";const INK=\"#2C3E50\";const GRADIENT=[\"#efbf2c\",\"#c36032\"];const INK_FILLS=[\"#000\",\"#000000\",\"rgb(0, 0, 0)\",\"#2c3e50\",\"rgb(44, 62, 80)\"];const ACCENT_FILLS=[\"#45d88e\",\"rgb(69, 216, 142)\",\"#de8b6d\",\"rgb(222, 139, 109)\"];const CSS=`\n@keyframes sw-step {\n  0%, 50%, 100% { transform: translateY(0) rotate(0) scale(1.02, 0.98); }\n  25% { transform: translateY(-4%) rotate(-2.5deg) scale(0.99, 1.01); }\n  75% { transform: translateY(-4%) rotate(1.5deg) scale(0.99, 1.01); }\n}\n@keyframes sw-hum { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.6%); } }\n@keyframes sw-spin { to { transform: rotate(360deg); } }\n@keyframes sw-tread { to { transform: translateX(var(--tread-gap)); } }\n[data-stylus-walker] svg.sw-walk { transform-origin: 50% 92%; }\n[data-stylus-walker][data-active] svg.sw-walk { animation: sw-step 0.8s ease-in-out infinite; }\n[data-stylus-walker][data-active] svg.sw-roll { animation: sw-hum 0.4s ease-in-out infinite; }\n[data-stylus-walker][data-active] svg.sw-roll .sw-wheel { animation: sw-spin 3s linear infinite; }\n[data-stylus-walker][data-active] svg.sw-roll .sw-tread { animation: sw-tread 0.6s linear infinite; }\n@media (prefers-reduced-motion: reduce) {\n  [data-stylus-walker] svg, [data-stylus-walker] svg * { animation: none !important; }\n}`;let uid=0;/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function StylusWalker({image,trigger=\"hover\",color,style}){const ref=useRef(null);const src=image?.src;// The figure is inlined after mount because the gradient, wheels and tread need the live\n// SVG to measure. Until then (and on the server) the plain image shows.\nuseEffect(()=>{const box=ref.current;if(!box||!src)return;let cancelled=false;fetch(src).then(r=>r.text()).then(text=>{if(cancelled)return;const svg=prepare(text);if(!svg)return;box.querySelector(\"svg\")?.remove();box.append(svg);box.querySelector(\"img\")?.setAttribute(\"hidden\",\"\");svg.classList.add(splitWheels(svg)?\"sw-roll\":\"sw-walk\");}).catch(()=>{});return()=>{cancelled=true;};},[src]);// Hovering anywhere on the surrounding card link starts the motion and spreads a white card out\n// of the panel behind the whole item. Leaving eases every moving part back to rest.\nuseEffect(()=>{const box=ref.current;if(!box||RenderTarget.current()===RenderTarget.canvas)return;const host=box.closest(\"a\")??box;const card=host===box?null:surface(host,findPanel(box,host));const on=()=>{wake(box);box.setAttribute(\"data-active\",\"\");card?.raise();};const off=()=>{settle(box);card?.lower();};if(trigger===\"always\"){on();return off;}host.addEventListener(\"mouseenter\",on);host.addEventListener(\"mouseleave\",off);host.addEventListener(\"focusin\",on);host.addEventListener(\"focusout\",off);return()=>{host.removeEventListener(\"mouseenter\",on);host.removeEventListener(\"mouseleave\",off);host.removeEventListener(\"focusin\",on);host.removeEventListener(\"focusout\",off);off();card?.dispose();};},[trigger]);return /*#__PURE__*/_jsxs(\"div\",{ref:ref,\"data-stylus-walker\":\"\",style:{width:120,height:140,...style,...color&&{\"--sw-from\":`color-mix(in srgb, ${color} 50%, #fff)`,\"--sw-to\":color},position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),src&&/*#__PURE__*/_jsx(\"img\",{src:src,alt:image?.alt??\"\",style:{width:\"100%\",height:\"100%\",objectFit:\"contain\"}})]});}function prepare(text){const doc=new DOMParser().parseFromString(text,\"image/svg+xml\");const source=doc.documentElement;if(source.nodeName!==\"svg\")return null;source.querySelectorAll(\"[style*='fill']\").forEach(el=>{const fill=el.style.fill;el.style.removeProperty(\"fill\");el.setAttribute(\"fill\",fill);});const vb=source.getAttribute(\"viewBox\")?.split(/[\\s,]+/).map(Number);const W=vb?vb[2]:Number(source.getAttribute(\"width\"))||1e3;const H=vb?vb[3]:Number(source.getAttribute(\"height\"))||1e3;if(!vb)source.setAttribute(\"viewBox\",`0 0 ${W} ${H}`);source.removeAttribute(\"width\");source.removeAttribute(\"height\");source.removeAttribute(\"id\");const gradId=`sw-grad-${uid++}`;source.insertAdjacentHTML(\"afterbegin\",`<defs><linearGradient id=\"${gradId}\" gradientUnits=\"userSpaceOnUse\" x1=\"${W*.2}\" y1=\"0\" x2=\"${W*.8}\" y2=\"${H}\"><stop offset=\"0.15\" style=\"stop-color: var(--sw-from, ${GRADIENT[0]})\"/><stop offset=\"0.9\" style=\"stop-color: var(--sw-to, ${GRADIENT[1]})\"/></linearGradient></defs>`);source.querySelectorAll(\"[fill]\").forEach(el=>{const f=(el.getAttribute(\"fill\")||\"\").toLowerCase();if(INK_FILLS.includes(f))el.setAttribute(\"fill\",INK);else if(ACCENT_FILLS.includes(f))el.setAttribute(\"fill\",`url(#${gradId})`);});const svg=document.importNode(source,true);svg.setAttribute(\"overflow\",\"visible\");svg.style.width=\"100%\";svg.style.height=\"100%\";svg.style.display=\"block\";return svg;}// Paths use relative \"m\" moves between sub-shapes; make each sub-shape absolute so it can be\n// measured and moved on its own. `probe` must be attached: detached paths report zero length.\nfunction absoluteSubpaths(d,probe){const out=[];let prefix=\"\";for(const part of d.split(/(?=[Mm])/)){let abs=part;if(part[0]===\"m\"&&prefix){probe.setAttribute(\"d\",prefix);const end=probe.getPointAtLength(probe.getTotalLength());const[dx,rest1]=takeNum(part.slice(1));const[dy,rest2]=takeNum(rest1);abs=`M${end.x+dx} ${end.y+dy}${/^[\\s,]*[-.\\d]/.test(rest2)?\"l\":\"\"}${rest2}`;}prefix+=part;out.push(abs);}return out;}function takeNum(s){const m=s.match(/^[\\s,]*(-?(?:\\d*\\.\\d+|\\d+\\.?)(?:e-?\\d+)?)/i);return m?[parseFloat(m[1]),s.slice(m[0].length)]:[0,s];}function splitWheels(svg){const box=svg.getBBox();if(!box.width)return false;const trackTop=box.y+box.height*.75;const probe=document.createElementNS(NS,\"path\");svg.append(probe);const inside=(a,b)=>a.x>=b.x-.5&&a.y>=b.y-.5&&a.x+a.width<=b.x+b.width+.5&&a.y+a.height<=b.y+b.height+.5;let count=0;for(const p of Array.from(svg.querySelectorAll(\"path\"))){if(p===probe)continue;const pb=p.getBBox();if(pb.y+pb.height<trackTop)continue;const subs=absoluteSubpaths(p.getAttribute(\"d\")||\"\",probe).map(d=>{probe.setAttribute(\"d\",d);return{d,b:probe.getBBox()};});const wheels=subs.filter(({b})=>b.y>trackTop&&b.width>box.width*.08&&b.width<box.width*.2&&b.height/b.width>.7&&b.height/b.width<1.4);const outer=wheels.filter(w=>!wheels.some(o=>o!==w&&inside(w.b,o.b)));if(!outer.length)continue;const used=new Set;for(const w of outer){const group=subs.filter(s=>inside(s.b,w.b));group.forEach(s=>used.add(s));const wheel=document.createElementNS(NS,\"path\");wheel.setAttribute(\"d\",group.map(s=>s.d).join(\"\"));wheel.setAttribute(\"fill\",p.getAttribute(\"fill\")||INK);wheel.classList.add(\"sw-wheel\");wheel.style.transformBox=\"view-box\";wheel.style.transformOrigin=`${w.b.x+w.b.width/2}px ${w.b.y+w.b.height/2}px`;p.after(wheel);count++;}p.setAttribute(\"d\",subs.filter(s=>!used.has(s)).map(s=>s.d).join(\"\"));}probe.remove();if(count<2)return false;addTread(svg,trackTop);return true;}// The track's outline is one sketchy path, so there are no tread marks to move. Instead, faint\n// darker-orange lines clipped to the track's fill scroll along it.\nfunction addTread(svg,trackTop){const box=svg.getBBox();const u=svg.viewBox.baseVal.width/140;const fill=Array.from(svg.querySelectorAll(\"path:not(.sw-wheel)\")).filter(p=>(p.getAttribute(\"fill\")||\"\").startsWith(\"url(\")&&p.getBBox().y>trackTop-box.height*.08).sort((a,b)=>b.getBBox().width-a.getBBox().width)[0];if(!fill)return;const b=fill.getBBox();const gap=6*u;const clipId=`sw-tread-${uid++}`;const lines=[];for(let x=b.x-gap;x<b.x+b.width+gap;x+=gap)lines.push(`M${x} ${b.y}l${2*u} ${b.height}`);fill.insertAdjacentHTML(\"afterend\",`<clipPath id=\"${clipId}\"><path d=\"${fill.getAttribute(\"d\")}\"/></clipPath><g clip-path=\"url(#${clipId})\"><path class=\"sw-tread\" style=\"--tread-gap: ${gap}px; transform-box: view-box\" d=\"${lines.join(\"\")}\" fill=\"none\" stroke=\"#c36032\" stroke-width=\"${1.6*u}\" stroke-linecap=\"round\" opacity=\"0.55\"/></g>`);}const EASE=\"cubic-bezier(0.2, 0.7, 0.3, 1)\";const PAD={top:12,right:12,bottom:18,left:12};// The white card behind a hovered item. It grows out of the picture panel to cover the panel and\n// its text, then shrinks back into the panel. It is a layer inside the card link sized to the\n// link's content, so each card keeps its own height and the page layout never moves.\nfunction surface(host,panel){if(!panel)return null;const layer=document.createElement(\"div\");const shadow=document.createElement(\"div\");for(const el of[shadow,layer]){el.setAttribute(\"aria-hidden\",\"true\");Object.assign(el.style,{position:\"absolute\",pointerEvents:\"none\",zIndex:\"-1\",borderRadius:\"28px\",opacity:\"0\"});}layer.style.background=\"#fff\";shadow.style.boxShadow=\"0 22px 40px -22px rgba(29, 41, 53, 0.4)\";const saved={position:host.style.position,isolation:host.style.isolation,overflow:host.style.overflow,transition:host.style.transition};if(getComputedStyle(host).position===\"static\")host.style.position=\"relative\";host.style.isolation=\"isolate\";host.style.overflow=\"visible\";host.style.transition=`transform 0.35s ${EASE}`;host.append(shadow,layer);// Rest shape: the panel's outline, as an inset of the layer, so the card starts as the panel.\nlet rest=\"\";const measure=()=>{const h=host.getBoundingClientRect();const p=panel.getBoundingClientRect();let top=p.top,left=p.left,right=p.right,bottom=p.bottom;host.querySelectorAll(\"p, h1, h2, h3, h4, h5, h6\").forEach(el=>{const r=el.getBoundingClientRect();if(!r.width||!r.height)return;top=Math.min(top,r.top);left=Math.min(left,r.left);right=Math.max(right,r.right);bottom=Math.max(bottom,r.bottom);});const box={left:left-h.left-PAD.left,top:top-h.top-PAD.top,width:right-left+PAD.left+PAD.right,height:bottom-top+PAD.top+PAD.bottom};for(const el of[shadow,layer])Object.assign(el.style,{left:`${box.left}px`,top:`${box.top}px`,width:`${box.width}px`,height:`${box.height}px`});const radius=getComputedStyle(panel).borderTopLeftRadius;const t=p.top-h.top-box.top,l=p.left-h.left-box.left;rest=`inset(${t}px ${box.width-l-p.width}px ${box.height-t-p.height}px ${l}px round ${radius})`;};return{raise(){measure();layer.style.transition=\"none\";layer.style.clipPath=rest;layer.style.opacity=\"1\";void layer.getBoundingClientRect();layer.style.transition=`clip-path 0.4s ${EASE}`;layer.style.clipPath=\"inset(0 round 28px)\";shadow.style.transition=\"opacity 0.25s ease 0.15s\";shadow.style.opacity=\"1\";host.style.transform=\"translateY(-6px)\";},lower(){measure();layer.style.clipPath=rest;shadow.style.transition=\"opacity 0.2s ease\";shadow.style.opacity=\"0\";host.style.transform=\"\";},dispose(){layer.remove();shadow.remove();Object.assign(host.style,saved);}};}const SETTLE=\"transform 0.5s cubic-bezier(0.3, 0.7, 0.4, 1)\";// The white panel is the nearest rounded, clipping ancestor inside the card link.\nfunction findPanel(box,host){for(let el=box.parentElement;el&&el!==host;el=el.parentElement){const cs=getComputedStyle(el);if(parseFloat(cs.borderTopLeftRadius)>0&&cs.overflow!==\"visible\")return el;}return null;}// Freezes each moving part at its current pose, stops the keyframes, then transitions it home.\nfunction settle(box){const moving=Array.from(box.querySelectorAll(\"*\")).filter(el=>getComputedStyle(el).animationName!==\"none\");const poses=moving.map(el=>getComputedStyle(el).transform);box.removeAttribute(\"data-active\");moving.forEach((el,i)=>{el.style.transition=\"none\";el.style.transform=poses[i]===\"none\"?\"\":poses[i];});void box.getBoundingClientRect();moving.forEach(el=>{el.style.transition=SETTLE;el.style.transform=\"\";el.setAttribute(\"data-settling\",\"\");});}function wake(box){box.querySelectorAll(\"[data-settling]\").forEach(el=>{el.style.transition=\"\";el.style.transform=\"\";el.removeAttribute(\"data-settling\");});}addPropertyControls(StylusWalker,{image:{type:ControlType.ResponsiveImage,title:\"Walker\"},color:{type:ControlType.Color,title:\"Colour\",optional:true},trigger:{type:ControlType.Enum,title:\"Move\",options:[\"hover\",\"always\"],optionTitles:[\"On hover\",\"Always\"],defaultValue:\"hover\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StylusWalker\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StylusWalker.map"],"mappings":"A,mPAC8BU,EAAU,UAAU,CAAC,qBAAqB,iBAAiB,uBAAuB,mBAAmB,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,OAAO,UAAU,OAAO,SAAS,MAAM,SAAS,IAAI,4FAA4F,OAAO,KAAK,EAAE,CAAC,OAAO,UAAU,OAAO,SAAS,MAAM,SAAS,IAAI,4FAA4F,OAAO,KAAK,EAAE,CAAC,OAAO,UAAU,OAAO,SAAS,MAAM,SAAS,IAAI,+FAA+F,OAAO,KAAK,EAAE,CAAC,OAAO,UAAU,OAAO,SAAS,MAAM,SAAS,IAAI,+FAA+F,OAAO,KAAK,CAAC,CAAC,CAAC,EAAe,EAAI,CAAC,8nCAA8nC,EAAe,EAAU,c,OCqBh+D,SAAwBO,EAAa,CAAC,QAAM,UAAQ,QAAQ,QAAM,SAAO,CAAC,IAAMC,EAAIlB,EAAO,IAAI,EAAQmB,EAAIC,GAAO,IAIulB,OAF5sBb,MAAc,CAAC,IAAMc,EAAIH,EAAI,QAAQ,GAAG,CAACG,GAAK,CAACF,EAAI,OAAO,IAAIG,EAAU,GAA0R,OAApR,MAAMH,CAAG,CAAC,CAAC,KAAK,GAAGI,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,GAAM,CAAC,GAAGD,EAAU,OAAO,IAAME,EAAIC,EAAQC,CAAI,EAAMF,IAAWH,EAAI,cAAc,KAAK,CAAC,EAAE,OAAO,EAAEA,EAAI,OAAOG,CAAG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