{"version":3,"file":"MajeDesignsFoldStack_2.CSSUHf4a.mjs","names":["React.forwardRef","c","React.Fragment","useReducedMotion","React.useId","React.useRef","React.useState","React.useCallback","useState","useId","useMemo","useRef","__esmMin","pe","init_npm_react_18_3_1","ne","init_ssg_sandbox_shims","window","x","z","ie","le","_e","p","K","c","J","init_jsx_runtime","ce","de","useReducedMotion$1","motion","useInView","init_framer_motion_DhsWWWsN","cx","withCSS","init_framer_CKT6jEEQ","addPropertyControls","useSVGTemplate","ControlType","useIsStaticRenderer","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_yiTrVeQCl","props","rest","animated","width1","alpha","color","restProps","href","className","PF8qIBMI7","rm13cFo5g","akr7Ge2dd","style","hasLink","link","borderPx","v","colorKey","s","m","h","n","i","readBorder","value","fallback","all","sides","side","base","pad2","parseBox","parts","t","r","b","l","splitFont","font","fontSize","fallbackSize","toCssTransition","delay","ease","NAMED_EASE","FALLBACK_EASE","omega","zeta","mass","d","time","wd","total","settled","k","pts","PlusIcon","ArrowIcon","graphemes","Seg","text","SplitTitle","words","c$1","wi","word","ch","countChars","SwatchAccordion","SwatchAccordionView","itemsProp","DEFAULT_ITEMS","STRIP_BORDER","BUTTON_BORDER","PLUS_BORDER","TAG_BORDER","items","count","isStatic","reduced","uid","rootRef","inView","triggerRefs","hoverTimer","initial","openItem","setOpenState","setActive","next","hoverPause","setHoverPause","focusPause","setFocusPause","paused","cycle","setCycle","autoplayOn","autoplay","open","index","advance","a","onStripEnter","trigger","onStripLeave","onKeyDown","transition","title","titleFont","strip","stripFont","body","bodyFont","label","labelFont","Heading","titleTag","autoHeight","pad","padding","gapParts","gap","rowGap","colGap","many","stripPx","stripWidth","barPx","barHeight","closedSize","barSize","toRadius","sb","stripBorder","pb","plusBorder","tb","tagBorder","bb","buttonBorder","borderVars","rootStyle","textColor","radius","buttonColor","buttonTextColor","buttonRadius","plusRadius","tagRadius","direction","scrim","narrowLayout","keyboard","CSS","isOpen","active","pinEnd","prev","image","item","DEFAULT_IMAGES","focus","tags","linked","triggerId","panelId","headingId","stripStyle","el","stripLink","numbers","tag","interval","CREDIT","init_SwatchAccordion","toggle","cur","seen","src","single","allowCloseLast","rove","key","wrap","headingsFrom","slotCount","lines","out","raw","heading","slug","initialOpen","list","ids","hash","clean","at","want","defaultIndex","bodyHeight","measured","fillWidth","filled","slot","useReducedMotion","setReduced","mq","onChange","Chevron","PlusMinus","bar","KeyChip","Callout","FoldStack","SAMPLE_HEADINGS","reducedPref","mode","usingSlot","panels","bodies","child","SAMPLE_BODIES","heads","headings","it","setOpen","defaultOpenIndex","setSettled","startOpen","idx","measuredHeights","setMeasuredHeights","headerElsRef","wrapperElsRef","contentElsRef","elementIdsRef","observerRef","prevOpenRef","fromHash","setContentRef","map","prevEl","id","obs","changed","entry","entries","prevArr","last","duration","handleToggle","handleHeaderKeyDown","wrapKeyboard","effectiveOpen","border","isSettled","headerId","bodyId","iconColor","activeHeadingText","icon","divider","headingText","iconStyle","e","bodyText","init_MajeDesignsFoldStack_2"],"sources":["https:/framerusercontent.com/modules/eY2ls7sB6tzJXWNgV4Dq/kM9Fxq8Qi6Ytf7ubITFe/yiTrVeQCl.js","https:/framerusercontent.com/modules/LbObTkWbwWPxD8Wve0D6/NcRy9vzSYWTyUTYPEJzZ/SwatchAccordion.js","https:/framerusercontent.com/modules/v2Q3eBPCKe10Hq5x1df2/XZtfdYyZpl2Se10G6EWc/MajeDesignsFoldStack_2.js"],"sourcesContent":["// Generated by Framer (ceb690b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 10 20 C 15.523 20 20 15.523 20 10 C 20 4.477 15.523 0 10 0 C 4.477 0 0 4.477 0 10 C 0 15.523 4.477 20 10 20\" fill-opacity=\"var(--42b6oa, 0.16)\" fill=\"var(--4i27ky, rgb(0, 0, 0))\" height=\"20px\" id=\"ehX5v27Sr\" transform=\"translate(2 2)\" width=\"20px\"/><path d=\"M 6 11 L 9 14 L 14 7 M 20 10 C 20 15.523 15.523 20 10 20 C 4.477 20 0 15.523 0 10 C 0 4.477 4.477 0 10 0 C 15.523 0 20 4.477 20 10\" fill=\"transparent\" height=\"20px\" id=\"nzvPiSZRi\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--b8xnka, 2)\" stroke=\"var(--4i27ky, rgb(0, 0, 0))\" transform=\"translate(2 2)\" width=\"20px\"/></svg>';const getProps=({alpha,color,height,id,width,width1,...props})=>{return{...props,akr7Ge2dd:width1??props.akr7Ge2dd??2,PF8qIBMI7:alpha??props.PF8qIBMI7??.16,rm13cFo5g:color??props.rm13cFo5g??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,rm13cFo5g,akr7Ge2dd,PF8qIBMI7,...restProps}=getProps(props);const href=useSVGTemplate(\"539707276\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-7kbvw\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--42b6oa\":PF8qIBMI7,\"--4i27ky\":rm13cFo5g,\"--b8xnka\":akr7Ge2dd,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-7kbvw { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"rm13cFo5g\":\"color\",\"akr7Ge2dd\":\"width1\",\"PF8qIBMI7\":\"alpha\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Check Circle\",\"color\":{\"type\":\"variable\",\"value\":\"4i27ky\"},\"set\":{\"localId\":\"vectorSet/jIUXDd189\",\"id\":\"jIUXDd189\",\"moduleId\":\"mbMVkRB5lkkRzWT95l5L\"}}\n */const Icon=withCSS(Component,css,\"framer-7kbvw\");Icon.displayName=\"Check Circle\";export default Icon;addPropertyControls(Icon,{rm13cFo5g:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},akr7Ge2dd:{defaultValue:2,displayStepper:true,hidden:false,max:4,min:1,title:\"Width\",type:ControlType.Number},PF8qIBMI7:{defaultValue:.16,displayStepper:true,hidden:false,max:1,min:0,step:.01,title:\"Alpha\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerIntrinsicWidth\":\"24\",\"framerVariables\":\"{\\\"rm13cFo5g\\\":\\\"color\\\",\\\"akr7Ge2dd\\\":\\\"width1\\\",\\\"PF8qIBMI7\\\":\\\"alpha\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVector\":\"{\\\"name\\\":\\\"Check Circle\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"4i27ky\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/jIUXDd189\\\",\\\"id\\\":\\\"jIUXDd189\\\",\\\"moduleId\\\":\\\"mbMVkRB5lkkRzWT95l5L\\\"}}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useInView,useReducedMotion}from\"framer-motion\";/* ------------------------------------------------------------------ defaults */// the original glass edges; the button had no border\nconst STRIP_BORDER={borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(255, 255, 255, 0.28)\"};const PLUS_BORDER={borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(255, 255, 255, 0.72)\"};const TAG_BORDER={borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(255, 255, 255, 0.66)\"};const BUTTON_BORDER={borderWidth:0,borderStyle:\"solid\",borderColor:\"rgb(20, 20, 20)\"};const CREDIT=\"Built by Matthias \\xd6lschlegel 💪  \\n[Explore more components](https://framer.link/fsd2pgh)\";// Default imagery: paper sculpture series by Pawel Czerwinski (Unsplash License), colour graded and mirrored.\nconst DEFAULT_IMAGES=[{src:\"https://framerusercontent.com/images/W1vHh9m78CQqEck7nFU4aEdqsWw.jpg\",alt:\"Pistachio green paper sculpture of layered curved sheets with deep green shadows\"},{src:\"https://framerusercontent.com/images/KZzoIZZFWmevQrxW20QNfraoSxQ.jpg\",alt:\"Rose pink paper sculpture of layered petals with raspberry shadows\"},{src:\"https://framerusercontent.com/images/UOfiwX1MqEHC0FC9UNmOF30LY.jpg\",alt:\"Periwinkle paper sheets flowing in waves with deep cobalt shadows\"},{src:\"https://framerusercontent.com/images/55pg3RZwwb6bZpDnzTRmAEHvhPA.jpg\",alt:\"Stacked aqua paper layers rippling with deep teal shadows\"},{src:\"https://framerusercontent.com/images/d5EaywqblJ9eH7URTE5IBMBX73g.jpg\",alt:\"Apricot paper fan sculpture of layered sheets with burnt orange shadows\"}];const DEFAULT_ITEMS=[{title:\"Strategy\",description:\"We start with listening. Research, positioning and a clear plan, so every next decision has a reason.\",tags:\"Research, Positioning, Roadmap\",color:\"#A9C670\",focus:50,button:\"Explore strategy\",link:\"\",newTab:false},{title:\"Identity\",description:\"A brand that feels like you. Logo, type, colour and tone, built as one calm and recognisable system.\",tags:\"Logo, Typography, Guidelines\",color:\"#F7A6AD\",focus:78,button:\"Explore identity\",link:\"\",newTab:false},{title:\"Digital\",description:\"Websites and products that feel effortless. Designed in the browser, tested on every screen.\",tags:\"UX/UI, Framer, Development\",color:\"#B8B8FE\",focus:70,button:\"Explore digital\",link:\"\",newTab:false},{title:\"Motion\",description:\"Small details, lasting impressions. Motion that guides attention and gives your brand its rhythm.\",tags:\"Animation, Interaction, Prototyping\",color:\"#5ACAB9\",focus:80,button:\"Explore motion\",link:\"\",newTab:false},{title:\"Growth\",description:\"Launch is the beginning. We measure, learn and refine, so your product keeps getting better.\",tags:\"Analytics, SEO, Iteration\",color:\"#EDB47B\",focus:72,button:\"Explore growth\",link:\"\",newTab:false}];/* ------------------------------------------------------------------ helpers */function hasLink(link){return typeof link===\"string\"&&link.trim().length>0;}function borderPx(v){if(typeof v===\"number\"&&Number.isFinite(v))return`${Math.max(0,v)}px`;if(typeof v===\"string\"&&v.trim())return/^\\d*\\.?\\d+$/.test(v.trim())?`${v.trim()}px`:v.trim();return undefined;}// compares colours however Framer writes them (#141414, rgb(20, 20, 20), rgba(20,20,20,1))\nfunction colorKey(c){const s=String(c||\"\").trim().toLowerCase();let m=s.match(/^#([0-9a-f]{3,8})$/);if(m){let h=m[1];if(h.length===3||h.length===4)h=h.split(\"\").map(x=>x+x).join(\"\");const n=i=>parseInt(h.slice(i,i+2),16);return[n(0),n(2),n(4),h.length===8?Math.round(n(6)/255*100)/100:1].join(\",\");}m=s.match(/^rgba?\\(([^)]+)\\)$/);if(m){const p=m[1].split(/[\\s,/]+/).filter(Boolean).map(Number);return[p[0],p[1],p[2],p.length>3?Math.round(p[3]*100)/100:1].join(\",\");}return s.replace(/\\s+/g,\"\");}/**\n * Reads a native Border value (one width or one per side, style, colour).\n * `isDefault` stays true while it still matches the original edge, so the original look is kept exactly;\n * once changed, exactly the chosen border is drawn.\n */function readBorder(value,fallback){const v=value&&typeof value===\"object\"?value:fallback;const all=borderPx(v.borderWidth);const sides=[v.borderTopWidth,v.borderRightWidth,v.borderBottomWidth,v.borderLeftWidth].map(side=>borderPx(side)??all??\"0px\");const style=v.borderStyle||\"solid\";const color=v.borderColor||fallback.borderColor||\"transparent\";const base=borderPx(fallback.borderWidth)||\"0px\";const isDefault=sides.every(side=>side===base)&&style===(fallback.borderStyle||\"solid\")&&colorKey(color)===colorKey(fallback.borderColor);return{isDefault,sides,width:sides.join(\" \"),style,color};}function pad2(n){return n<9?`0${n+1}`:`${n+1}`;}function parseBox(value,fallback){const parts=String(value||fallback).trim().split(/\\s+/).filter(Boolean);const[t,r=t,b=t,l=r]=parts.length?parts:[fallback];return{t,r,b,l};}function splitFont(font,fallbackSize){const{fontSize,...rest}=font||{};const size=typeof fontSize===\"number\"?`${fontSize}px`:fontSize||fallbackSize;return{size:size,rest:rest};}const NAMED_EASE={linear:\"linear\",easeIn:\"cubic-bezier(0.42, 0, 1, 1)\",easeOut:\"cubic-bezier(0, 0, 0.58, 1)\",easeInOut:\"cubic-bezier(0.42, 0, 0.58, 1)\",circIn:\"cubic-bezier(0.55, 0, 1, 0.45)\",circOut:\"cubic-bezier(0, 0.55, 0.45, 1)\",circInOut:\"cubic-bezier(0.85, 0, 0.15, 1)\",backIn:\"cubic-bezier(0.31, 0.01, 0.66, -0.59)\",backOut:\"cubic-bezier(0.33, 1.53, 0.69, 0.99)\",backInOut:\"cubic-bezier(0.68, -0.6, 0.32, 1.6)\"};const FALLBACK_EASE=\"cubic-bezier(0.22, 1, 0.36, 1)\";/** Converts a Framer transition (spring or tween) into CSS timing values. */function toCssTransition(t){const delay=Math.max(0,Number(t?.delay)||0);if(t&&t.type&&t.type!==\"spring\"){const ease=Array.isArray(t.ease)&&t.ease.length===4?`cubic-bezier(${t.ease.map(v=>Number(v)||0).join(\", \")})`:NAMED_EASE[t.ease]||FALLBACK_EASE;return{ease,fallback:ease,duration:Math.max(.05,Number(t.duration)||.6),delay};}// spring: physical (stiffness/damping/mass) or perceptual (duration/bounce)\nlet omega;let zeta;if(t&&Number.isFinite(t.stiffness)&&Number.isFinite(t.damping)){const mass=Number(t.mass)||1;omega=Math.sqrt(Math.max(1,t.stiffness)/mass);zeta=Math.max(.05,t.damping/(2*Math.sqrt(Math.max(1,t.stiffness)*mass)));}else{const d=Math.max(.1,Number(t?.duration)||.7);zeta=Math.min(1,Math.max(.05,1-(Number.isFinite(t?.bounce)?t.bounce:.12)));omega=zeta>=1?6.64/d:Math.log(100/Math.sqrt(1-zeta*zeta))/(zeta*d);}const x=time=>{if(zeta>=1)return 1-(1+omega*time)*Math.exp(-omega*time);const wd=omega*Math.sqrt(1-zeta*zeta);return 1-Math.exp(-zeta*omega*time)*(Math.cos(wd*time)+zeta*omega/wd*Math.sin(wd*time));};// settle time: 0.1% band\nlet total=.05;while(total<4){let settled=true;for(let k=0;k<=10;k++){if(Math.abs(1-x(total+k*.02))>.001){settled=false;break;}}if(settled)break;total+=.02;}const steps=40;const pts=[];for(let i=0;i<=steps;i++){const v=i===steps?1:x(total*i/steps);pts.push(String(Math.round(v*1e4)/1e4));}return{ease:`linear(${pts.join(\", \")})`,fallback:FALLBACK_EASE,duration:total,delay};}/* ------------------------------------------------------------------ icons */function PlusIcon({className}){return /*#__PURE__*/_jsx(\"svg\",{className:className,width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 2.5V11.5M2.5 7H11.5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\"})});}function ArrowIcon(){return /*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 8H13M13 8L8.5 3.5M13 8L8.5 12.5\",stroke:\"currentColor\",strokeWidth:\"1.6\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function graphemes(text){const Seg=typeof Intl!==\"undefined\"?Intl.Segmenter:undefined;if(Seg)return Array.from(new Seg(undefined,{granularity:\"grapheme\"}).segment(text),s=>s.segment);return Array.from(text);}/**\n * Splits a title into words (they rise) and letters (they sharpen one after another).\n * Letters stay inline, so the font keeps its kerning.\n */function SplitTitle({text}){const words=String(text||\"\").split(/\\s+/).filter(Boolean);let c=0;return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",children:words.map((word,wi)=>/*#__PURE__*/_jsxs(React.Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"swa-w\",style:{\"--wi\":String(wi)},children:graphemes(word).map((ch,k)=>/*#__PURE__*/_jsx(\"span\",{className:\"swa-c\",style:{\"--c\":String(c++)},children:ch},k))}),wi<words.length-1?\" \":null]},wi))});}function countChars(text){return Math.max(1,String(text||\"\").replace(/\\s+/g,\"\").length);}/* ------------------------------------------------------------------ component *//**\n * Swatch Accordion — colour strips that open into image panels as you hover.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 1180\n * @framerIntrinsicHeight 640\n * @framerDisableUnlink\n */export default function SwatchAccordion(props){// Canvas, thumbnails and exports: resting state only (no hover timers, autoplay or listeners)\nconst isStatic=useIsStaticRenderer();if(isStatic)return /*#__PURE__*/_jsx(SwatchAccordionView,{...props,isStatic:true});return /*#__PURE__*/_jsx(SwatchAccordionView,{...props,isStatic:false});}function SwatchAccordionView(props){const{items:itemsProp=DEFAULT_ITEMS,openItem=2,trigger=\"hover\",stripLink=true,autoplay=false,interval=5,direction=\"auto\",stripWidth=92,barHeight=64,narrowLayout=\"image\",numbers=true,scrim=true,stripBorder=STRIP_BORDER,titleTag=\"h3\",titleFont,stripFont,bodyFont,labelFont,textColor=\"#141414\",buttonColor=\"#141414\",buttonTextColor=\"#FFFFFF\",buttonRadius=\"999px\",buttonBorder=BUTTON_BORDER,plusRadius=\"999px\",plusBorder=PLUS_BORDER,tagRadius=\"999px\",tagBorder=TAG_BORDER,padding=\"28px\",gap=\"8px\",radius=\"24px\",transition={type:\"spring\",duration:.75,bounce:.1,delay:0},style}=props;const items=Array.isArray(itemsProp)&&itemsProp.length?itemsProp:DEFAULT_ITEMS;const count=items.length;const isStatic=props.isStatic;const reduced=!!useReducedMotion();const uid=React.useId().replace(/[^a-zA-Z0-9_-]/g,\"\");const rootRef=React.useRef(null);const inView=useInView(rootRef,{margin:\"0px 0px -10% 0px\"});const triggerRefs=React.useRef([]);const hoverTimer=React.useRef(null);const initial=Math.min(Math.max(Math.round(openItem)-1,0),count-1);// `prev` remembers which strip was open before, so each moving strip can pin its\n// content to the edge that stays still (nothing slides sideways while it fades).\nconst[{active,prev},setOpenState]=React.useState({active:initial,prev:initial});const setActive=React.useCallback(next=>{setOpenState(s=>{const value=typeof next===\"function\"?next(s.active):next;return value===s.active?s:{active:value,prev:s.active};});},[]);// autoplay pauses while the mouse is over the accordion or keyboard focus is inside it, then carries on\nconst[hoverPause,setHoverPause]=React.useState(false);const[focusPause,setFocusPause]=React.useState(false);const paused=hoverPause||focusPause;const[cycle,setCycle]=React.useState(0);React.useEffect(()=>{setOpenState({active:initial,prev:initial});},[initial]);React.useEffect(()=>{return()=>{if(hoverTimer.current!==null)window.clearTimeout(hoverTimer.current);};},[]);const autoplayOn=autoplay&&!isStatic&&!reduced&&count>1;// every open restarts the autoplay timer, so the chosen strip always gets a full interval\nconst open=React.useCallback(index=>{setCycle(c=>c+1);setActive(index);},[setActive]);const advance=React.useCallback(()=>{setCycle(c=>c+1);setActive(a=>(a+1)%count);},[count,setActive]);const onStripEnter=(e,index)=>{if(trigger!==\"hover\"||e.pointerType!==\"mouse\"||isStatic)return;if(hoverTimer.current!==null)window.clearTimeout(hoverTimer.current);hoverTimer.current=window.setTimeout(()=>{hoverTimer.current=null;open(index);},110);};const onStripLeave=()=>{if(hoverTimer.current!==null){window.clearTimeout(hoverTimer.current);hoverTimer.current=null;}};const onKeyDown=(e,index)=>{let next=-1;if(e.key===\"ArrowRight\"||e.key===\"ArrowDown\")next=(index+1)%count;else if(e.key===\"ArrowLeft\"||e.key===\"ArrowUp\")next=(index-1+count)%count;else if(e.key===\"Home\")next=0;else if(e.key===\"End\")next=count-1;if(next>=0){e.preventDefault();triggerRefs.current[next]?.focus();}};const t=toCssTransition(reduced?{type:\"tween\",duration:.01,ease:\"linear\"}:transition);const title=splitFont(titleFont,\"52px\");const strip=splitFont(stripFont,\"22px\");const body=splitFont(bodyFont,\"16px\");const label=splitFont(labelFont,\"12px\");const Heading=titleTag||\"h3\";const autoHeight=!(style&&(style.height===\"100%\"||typeof style.height===\"number\"));const pad=parseBox(padding,\"28px\");const gapParts=String(gap||\"8px\").trim().split(/\\s+/).filter(Boolean);const rowGap=gapParts[0]||\"8px\";const colGap=gapParts[1]||rowGap;// up to 8 items the sizes are exactly the set values; with 9 or 10 the closed strips (and stacked bars at a\n// fixed height) shrink when needed, so the closed ones never take more than 60 % of the space\nconst many=count>8;const stripPx=Math.max(40,stripWidth);const barPx=Math.max(40,barHeight);const closedSize=many?`min(${stripPx}px, max(48px, calc((100cqw * 0.6 - ${count-1} * ${colGap}) / ${count-1})))`:`${stripPx}px`;const barSize=many&&!autoHeight?`min(${barPx}px, max(44px, calc((100cqh * 0.6 - ${count-1} * ${rowGap}) / ${count-1})))`:`${barPx}px`;// native radius values (\"999px\", \"0px\" or one value per corner); plain numbers still work\nconst toRadius=v=>typeof v===\"number\"?`${Number.isFinite(v)&&v<100?Math.max(0,v):999}px`:String(v||\"\").trim()||\"999px\";const sb=readBorder(stripBorder,STRIP_BORDER);const pb=readBorder(plusBorder,PLUS_BORDER);const tb=readBorder(tagBorder,TAG_BORDER);const bb=readBorder(buttonBorder,BUTTON_BORDER);const borderVars={};if(!sb.isDefault)Object.assign(borderVars,{\"--swa-sb-w\":sb.width,\"--swa-sb-s\":sb.style,\"--swa-sb-c\":sb.color});if(!pb.isDefault)Object.assign(borderVars,{\"--swa-pb-w\":pb.width,\"--swa-pb-s\":pb.style,\"--swa-pb-c\":pb.color,\"--swa-pb-t\":pb.sides[0],\"--swa-pb-r\":pb.sides[1],\"--swa-pb-b\":pb.sides[2],\"--swa-pb-l\":pb.sides[3]});if(!tb.isDefault)Object.assign(borderVars,{\"--swa-tb-w\":tb.width,\"--swa-tb-s\":tb.style,\"--swa-tb-c\":tb.color});if(!bb.isDefault)Object.assign(borderVars,{\"--swa-bb-w\":bb.width,\"--swa-bb-s\":bb.style,\"--swa-bb-c\":bb.color});const rootStyle={...style,position:\"relative\",color:textColor,\"--swa-n\":String(count),\"--swa-closed\":closedSize,\"--swa-bar\":barSize,\"--swa-gap\":colGap,\"--swa-gap-row\":rowGap,\"--swa-radius\":radius,\"--swa-pt\":pad.t,\"--swa-pr\":pad.r,\"--swa-pb\":pad.b,\"--swa-pl\":pad.l,\"--swa-text\":textColor,\"--swa-btn\":buttonColor,\"--swa-btn-text\":buttonTextColor,\"--swa-btn-r\":toRadius(buttonRadius),\"--swa-plus-r\":toRadius(plusRadius),\"--swa-tag-r\":toRadius(tagRadius),...borderVars,\"--swa-title-size\":title.size,\"--swa-strip-size\":strip.size,\"--swa-body-size\":body.size,\"--swa-label-size\":label.size,\"--swa-dur\":`${t.duration}s`,\"--swa-delay\":`${t.delay}s`,\"--swa-ease\":t.ease,\"--swa-ease-fallback\":t.fallback};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"swa\",\"data-dir\":direction,\"data-auto-height\":autoHeight?\"\":undefined,\"data-static\":isStatic?\"\":undefined,\"data-scrim\":scrim?\"\":undefined,\"data-narrow\":narrowLayout===\"full\"?\"full\":undefined,\"data-strip-border\":sb.isDefault?undefined:\"custom\",\"data-plus-border\":pb.isDefault?undefined:\"custom\",\"data-tag-border\":tb.isDefault?undefined:\"custom\",\"data-btn-border\":bb.isDefault?undefined:\"custom\",\"data-many\":many?\"\":undefined,style:rootStyle,onPointerEnter:e=>e.pointerType===\"mouse\"&&setHoverPause(true),onPointerLeave:e=>{if(e.pointerType===\"mouse\")setHoverPause(false);onStripLeave();},onFocus:e=>{// keyboard focus pauses autoplay; focus left behind by a mouse click or tap does not\nlet keyboard=true;try{keyboard=e.target.matches(\":focus-visible\");}catch(err){}setFocusPause(keyboard);},onBlur:e=>{if(!e.currentTarget.contains(e.relatedTarget))setFocusPause(false);},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(\"div\",{className:\"swa-track\",children:items.map((item,index)=>{const isOpen=index===active;// the opening strip grows from its far edge, the closing one shrinks towards its near edge\nconst pinEnd=isOpen&&index>prev||index===prev&&!isOpen&&index>active;const image=item.image?.src?item.image:DEFAULT_IMAGES[index%DEFAULT_IMAGES.length];const focus=Math.min(100,Math.max(0,Number.isFinite(item.focus)?item.focus:50))/100;const tags=String(item.tags||\"\").split(\",\").map(s=>s.trim()).filter(Boolean);const linked=hasLink(item.link);const triggerId=`swa-${uid}-t${index}`;const panelId=`swa-${uid}-p${index}`;const headingId=`swa-${uid}-h${index}`;const stripStyle={\"--swa-color\":item.color||\"#E9E7E1\",\"--swa-focus\":String(focus)};return /*#__PURE__*/_jsxs(\"div\",{className:\"swa-strip\",\"data-open\":isOpen?\"\":undefined,\"data-pin\":pinEnd?\"end\":undefined,style:stripStyle,onPointerEnter:e=>onStripEnter(e,index),onPointerLeave:onStripLeave,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"swa-media\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"img\",{className:\"swa-img\",src:image.src,srcSet:image.srcSet,sizes:\"(max-width: 640px) 100vw, 1100px\",alt:\"\",draggable:false,loading:\"eager\",...{fetchpriority:isOpen?\"auto\":\"low\"},// canvas, exports and screenshots paint in one pass: decode with it so no strip renders empty\ndecoding:isStatic?\"sync\":\"async\"}),/*#__PURE__*/_jsx(\"div\",{className:\"swa-scrim\"})]}),/*#__PURE__*/_jsx(\"button\",{ref:el=>{triggerRefs.current[index]=el;},id:triggerId,type:\"button\",className:\"swa-trigger\",\"aria-label\":item.title||`Item ${index+1}`,\"aria-expanded\":isOpen,\"aria-controls\":panelId,onClick:()=>open(index),onKeyDown:e=>onKeyDown(e,index)}),isOpen&&stripLink&&linked&&!isStatic?/*#__PURE__*/_jsx(\"a\",{className:\"swa-strip-link\",href:item.link,target:item.newTab?\"_blank\":undefined,rel:item.newTab?\"noopener noreferrer\":undefined,tabIndex:-1,\"aria-hidden\":\"true\"}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"swa-closed\",\"aria-hidden\":\"true\",children:[numbers?/*#__PURE__*/_jsx(\"span\",{className:\"swa-num\",style:label.rest,children:pad2(index)}):/*#__PURE__*/_jsx(\"span\",{}),/*#__PURE__*/_jsx(\"span\",{className:\"swa-vt\",children:/*#__PURE__*/_jsx(\"span\",{className:\"swa-vtitle\",style:strip.rest,children:item.title})}),/*#__PURE__*/_jsx(\"span\",{className:\"swa-plw\",children:/*#__PURE__*/_jsxs(\"span\",{className:\"swa-plus\",children:[/*#__PURE__*/_jsx(PlusIcon,{className:\"swa-pi\"}),/*#__PURE__*/_jsx(\"span\",{className:\"swa-pf\",children:/*#__PURE__*/_jsx(PlusIcon,{className:\"swa-pi\"})})]})})]}),/*#__PURE__*/_jsxs(\"div\",{id:panelId,role:\"region\",\"aria-labelledby\":headingId,className:\"swa-open\",style:{\"--cn\":String(countChars(item.title))},...isOpen?{}:{inert:\"\",\"aria-hidden\":true},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"swa-top\",children:[numbers?/*#__PURE__*/_jsx(\"span\",{className:\"swa-rv swa-rv-num\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"span\",{className:\"swa-num\",style:label.rest,children:pad2(index)})}):/*#__PURE__*/_jsx(\"span\",{}),tags.length?/*#__PURE__*/_jsx(\"ul\",{className:\"swa-tags\",\"aria-label\":\"Tags\",children:tags.map((tag,i)=>/*#__PURE__*/_jsx(\"li\",{className:\"swa-tag\",style:{...label.rest,\"--i\":String(i)},children:tag},i))}):null]}),/*#__PURE__*/_jsxs(\"div\",{className:\"swa-content\",children:[/*#__PURE__*/_jsx(Heading,{id:headingId,className:\"swa-title\",style:title.rest,\"aria-label\":item.title||undefined,children:/*#__PURE__*/_jsx(SplitTitle,{text:item.title})}),item.description?/*#__PURE__*/_jsx(\"div\",{className:\"swa-rv swa-rv-desc\",children:/*#__PURE__*/_jsx(\"p\",{className:\"swa-desc\",style:body.rest,children:item.description})}):null,item.button&&item.button.trim()?/*#__PURE__*/_jsx(\"div\",{className:\"swa-rc\",children:linked?/*#__PURE__*/_jsxs(\"a\",{className:\"swa-cta\",href:item.link,target:item.newTab?\"_blank\":undefined,rel:item.newTab?\"noopener noreferrer\":undefined,style:body.rest,children:[/*#__PURE__*/_jsx(\"span\",{children:item.button}),/*#__PURE__*/_jsx(ArrowIcon,{})]}):/*#__PURE__*/_jsxs(\"span\",{className:\"swa-cta swa-cta-static\",style:body.rest,children:[/*#__PURE__*/_jsx(\"span\",{children:item.button}),/*#__PURE__*/_jsx(ArrowIcon,{})]})}):null]}),autoplayOn&&isOpen?/*#__PURE__*/_jsx(\"div\",{className:\"swa-progress\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"i\",{style:{animationDuration:`${Math.max(1,interval)}s`,animationPlayState:paused||!inView?\"paused\":\"running\"},onAnimationEnd:advance},`${index}-${cycle}`)}):null]})]},index);})})]});}/* ------------------------------------------------------------------ styles */const CSS=`\n.swa{container-type:inline-size;container-name:swa;box-sizing:border-box;width:100%;height:100%;-webkit-font-smoothing:antialiased;--swa-out:cubic-bezier(.22,1,.36,1);--swa-pop:cubic-bezier(.34,1.45,.64,1);--swa-reveal:calc(var(--swa-delay) + var(--swa-dur) * .26);--swa-return:calc(var(--swa-delay) + var(--swa-dur) * .34);}\n.swa *,.swa *::before,.swa *::after{box-sizing:border-box;}\n.swa[data-auto-height]{height:auto;}\n.swa-track{display:flex;flex-direction:row;row-gap:var(--swa-gap-row);column-gap:var(--swa-gap);width:100%;height:100%;}\n.swa[data-auto-height] .swa-track{height:auto;aspect-ratio:16 / 9;}\n.swa-strip{--swa-open-w:calc(100cqw - (var(--swa-n) - 1) * (var(--swa-closed) + var(--swa-gap)));position:relative;flex:0 0 var(--swa-closed);min-width:0;min-height:0;border-radius:var(--swa-radius);overflow:hidden;isolation:isolate;background:linear-gradient(105deg,color-mix(in srgb,var(--swa-color) 90%,#000) 0%,var(--swa-color) 55%,color-mix(in srgb,var(--swa-color) 78%,#fff) 100%);background-color:var(--swa-color);transition-property:flex-grow,flex-basis,height;transition-duration:var(--swa-dur);transition-delay:var(--swa-delay);transition-timing-function:var(--swa-ease-fallback);-webkit-tap-highlight-color:transparent;}\n@supports (transition-timing-function: linear(0, 1)){.swa-strip{transition-timing-function:var(--swa-ease);}}\n.swa-strip[data-open]{flex-grow:1;}\n.swa-media{position:absolute;inset:0;z-index:0;overflow:hidden;border-radius:inherit;clip-path:inset(0 round var(--swa-radius));-webkit-clip-path:inset(0 round var(--swa-radius));}\n.swa-strip::after{content:\"\";position:absolute;inset:0;z-index:6;border-radius:inherit;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28),inset 0 1px 0 rgba(255,255,255,.35);}\n.swa-img{position:absolute;top:0;height:100%;width:var(--swa-open-w);max-width:none;left:calc((100% - var(--swa-open-w)) * var(--swa-focus));object-fit:cover;object-position:calc(var(--swa-focus) * 100%) 50%;display:block;user-select:none;-webkit-user-select:none;pointer-events:none;transform:scale(1.08);transform-origin:calc(var(--swa-focus) * 100%) 55%;transition:transform 1.2s cubic-bezier(.22,1,.36,1),filter .6s ease;}\n.swa-strip[data-open] .swa-img{transform:scale(1);}\n.swa-scrim{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .6s ease;background:radial-gradient(130% 80% at 0% 100%, color-mix(in srgb,var(--swa-color) 88%,transparent) 0%, color-mix(in srgb,var(--swa-color) 55%,transparent) 32%, transparent 62%);}\n.swa[data-scrim] .swa-strip[data-open] .swa-scrim{opacity:1;}\n.swa-media::after{content:\"\";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to bottom,color-mix(in srgb,var(--swa-color) 72%,transparent) 0%,color-mix(in srgb,var(--swa-color) 30%,transparent) 11%,transparent 20%),linear-gradient(to top,color-mix(in srgb,var(--swa-color) 88%,transparent) 0%,color-mix(in srgb,var(--swa-color) 66%,transparent) 22%,color-mix(in srgb,var(--swa-color) 24%,transparent) 40%,transparent 54%);opacity:1;transition:opacity .6s ease var(--swa-return);}\n.swa-strip[data-open] .swa-media::after{opacity:0;transition:opacity .3s ease;}\n.swa-trigger{appearance:none;-webkit-appearance:none;position:absolute;inset:0;z-index:2;margin:0;padding:0;border:0;background:transparent;border-radius:inherit;cursor:pointer;outline:none;}\n.swa-strip[data-open] .swa-trigger{cursor:default;}\n.swa-trigger:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,255,255,.95),inset 0 0 0 4px var(--swa-text);}\n.swa-strip-link{position:absolute;inset:0;z-index:3;cursor:pointer;border-radius:inherit;}\n/* closed strip: number, title and plus leave at once and return one after another */\n.swa-closed{position:absolute;top:0;bottom:0;left:0;width:min(100%, calc(var(--swa-closed) + 14px));z-index:4;pointer-events:none;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:var(--swa-pt) 0 calc(var(--swa-pb) + 3px);}\n.swa-num{display:inline-flex;align-items:center;height:30px;font-size:var(--swa-label-size);color:var(--swa-text);opacity:.72;font-variant-numeric:tabular-nums;letter-spacing:.02em;line-height:1;user-select:none;-webkit-user-select:none;}\n.swa-closed .swa-num{transition:opacity .5s ease var(--swa-return),transform .7s var(--swa-out) var(--swa-return);}\n.swa-strip[data-open] .swa-closed .swa-num{opacity:0;transform:translateY(-6px);transition:opacity .14s ease,transform .3s ease;}\n.swa-vt{display:flex;margin-top:auto;margin-bottom:18px;transition:opacity .55s ease calc(var(--swa-return) + 60ms),transform .9s var(--swa-out) calc(var(--swa-return) + 60ms),filter .55s ease calc(var(--swa-return) + 60ms);}\n.swa-strip[data-open] .swa-vt{opacity:0;transform:translateY(18px);filter:blur(6px);transition:opacity .18s ease,transform .32s cubic-bezier(.4,0,1,1),filter .18s ease;}\n.swa-vtitle{font-size:var(--swa-strip-size);color:var(--swa-text);writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;line-height:1;user-select:none;-webkit-user-select:none;transition:transform .5s var(--swa-out);}\n.swa-plw{display:grid;transition:transform .8s var(--swa-pop) calc(var(--swa-return) + 120ms);}\n.swa-strip[data-open] .swa-plw{transform:scale(.55) rotate(45deg);transition:transform .34s cubic-bezier(.4,0,.2,1);}\n.swa-plus{position:relative;display:grid;place-items:center;width:40px;height:40px;border-radius:var(--swa-plus-r,999px);color:var(--swa-text);background:rgba(255,255,255,.56);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid rgba(255,255,255,.72);box-shadow:0 1px 1px rgba(255,255,255,.6) inset,0 6px 18px -10px rgba(20,20,20,.35);transition:opacity .4s ease calc(var(--swa-return) + 120ms),transform .45s var(--swa-out);}\n.swa-strip[data-open] .swa-plus{opacity:0;transition:opacity .2s ease .08s,transform .45s var(--swa-out);}\n/* hover fill: a dark layer rises from the bottom and carries its own white icon, so nothing ever crossfades */\n.swa-pf{position:absolute;inset:-1px;display:grid;place-items:center;border-radius:inherit;background:var(--swa-text);color:#fff;clip-path:inset(100% 0 0 0);-webkit-clip-path:inset(100% 0 0 0);transition:clip-path .45s var(--swa-out),-webkit-clip-path .45s var(--swa-out);}\n.swa-strip[data-open] .swa-pf{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0);transition:clip-path .3s var(--swa-out),-webkit-clip-path .3s var(--swa-out);}\n.swa-pi{display:block;transition:transform .6s var(--swa-out);}\n/* open panel: laid out at its final width so nothing re-wraps while the strip moves */\n.swa-open{position:absolute;top:0;bottom:0;left:0;width:var(--swa-open-w);z-index:5;pointer-events:none;display:flex;flex-direction:column;justify-content:space-between;padding:var(--swa-pt) var(--swa-pr) var(--swa-pb) var(--swa-pl);visibility:hidden;transform:translateY(-8px);transition:transform .36s ease,visibility 0s linear .36s;}\n.swa-strip[data-open] .swa-open{visibility:visible;transform:none;transition:none;}\n/* pin text and labels to the edge of the strip that does not move */\n.swa:not([data-dir=\"vertical\"]) .swa-strip[data-pin=\"end\"] .swa-open,.swa:not([data-dir=\"vertical\"]) .swa-strip[data-pin=\"end\"] .swa-closed{left:auto;right:0;}\n/* reveal: number, tags, title words, text, button and arrow arrive one after another */\n.swa-rv{display:block;opacity:0;transform:translateY(14px);filter:blur(6px);transition:opacity .2s ease,filter .2s ease,transform 0s linear .36s;}\n.swa-strip[data-open] .swa-rv{opacity:1;transform:none;filter:none;transition:opacity .6s ease,transform .9s var(--swa-out),filter .6s ease;transition-delay:calc(var(--swa-reveal) + var(--d, 0ms));}\n.swa-rv-num{--d:0ms;display:inline-flex;}\n.swa-rv-desc{--d:calc(120ms + min(var(--cn, 8) * 20ms, 260ms));}\n.swa-rc{opacity:0;transform:translateY(10px) scale(.97);transform-origin:0 50%;transition:opacity .2s ease,transform 0s linear .36s;}\n.swa-strip[data-open] .swa-rc{opacity:1;transform:none;transition:opacity .55s ease,transform .9s var(--swa-out);transition-delay:calc(var(--swa-reveal) + 200ms + min(var(--cn, 8) * 20ms, 260ms));}\n.swa-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:30px;}\n.swa-tags{list-style:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;margin:0;padding:0;max-width:70%;}\n.swa-tag{display:inline-flex;align-items:center;height:30px;font-size:var(--swa-label-size);line-height:1;color:var(--swa-text);padding:0 12px;border-radius:var(--swa-tag-r,999px);white-space:nowrap;background:rgba(255,255,255,.5);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid rgba(255,255,255,.66);opacity:0;transform:translateY(10px);transition:opacity .2s ease,transform 0s linear .36s;}\n.swa-strip[data-open] .swa-tag{opacity:1;transform:none;transition:opacity .55s ease,transform .85s var(--swa-out);transition-delay:calc(var(--swa-reveal) + 70ms + var(--i, 0) * 60ms);}\n.swa-content{width:min(440px,100%);display:flex;flex-direction:column;align-items:flex-start;}\n.swa-title{margin:0 0 14px;font-size:var(--swa-title-size);color:var(--swa-text);text-wrap:balance;}\n.swa-w{display:inline-block;white-space:nowrap;transform:translateY(.3em);transition:transform 0s linear .36s;}\n.swa-strip[data-open] .swa-w{transform:none;transition:transform 1.1s var(--swa-out) calc(var(--swa-reveal) + var(--wi, 0) * 60ms);}\n.swa-c{opacity:0;filter:blur(10px);transition:opacity .2s ease,filter .2s ease;}\n.swa-strip[data-open] .swa-c{opacity:1;filter:none;transition:opacity .5s ease,filter .65s ease;transition-delay:calc(var(--swa-reveal) + var(--c, 0) * 22ms);}\n.swa-desc{margin:0 0 22px;font-size:var(--swa-body-size);color:var(--swa-text);opacity:.8;max-width:36ch;text-wrap:pretty;}\n.swa-cta{pointer-events:auto;display:inline-flex;align-items:center;gap:12px;min-height:46px;padding:0 18px 0 22px;border-radius:var(--swa-btn-r,999px);background:var(--swa-btn);color:var(--swa-btn-text);text-decoration:none;font-size:calc(var(--swa-body-size) * .9);font-weight:500;line-height:1;white-space:nowrap;transition:transform .2s ease;box-shadow:0 10px 24px -14px rgba(20,20,20,.55);}\n.swa-cta svg{flex:none;opacity:0;transform:translateX(-8px);transition:opacity .2s ease,transform 0s linear .36s;}\n.swa-strip[data-open] .swa-cta svg{opacity:1;transform:none;transition:opacity .45s ease,transform .8s var(--swa-out);transition-delay:calc(var(--swa-reveal) + 380ms + min(var(--cn, 8) * 20ms, 260ms));}\n.swa-cta-static{pointer-events:none;}\n.swa-cta:focus-visible{outline:2px solid var(--swa-btn);outline-offset:3px;}\na.swa-cta:active{transform:scale(.97);}\n.swa-progress{position:absolute;left:var(--swa-pl);right:var(--swa-pr);bottom:12px;z-index:6;height:2px;border-radius:2px;background:rgba(20,20,20,.12);overflow:hidden;pointer-events:none;animation:swa-fade .6s ease both;animation-delay:calc(var(--swa-reveal) + 300ms);}\n@keyframes swa-fade{from{opacity:0}to{opacity:1}}\n.swa-progress i{display:block;height:100%;width:100%;background:var(--swa-text);transform-origin:left center;transform:scaleX(0);animation-name:swa-progress;animation-timing-function:linear;animation-fill-mode:both;animation-delay:calc(var(--swa-reveal) + 300ms);}\n@keyframes swa-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}\n.swa-trigger:active ~ .swa-closed .swa-plus{transform:scale(.9);}\n@media (hover:hover) and (pointer:fine){\n  .swa-strip:not([data-open]):hover{flex-basis:calc(var(--swa-closed) + 14px);}\n  .swa-strip:not([data-open]):hover .swa-pf{clip-path:inset(0 0 0 0);-webkit-clip-path:inset(0 0 0 0);}\n  .swa-strip:not([data-open]):hover .swa-pi{transform:rotate(90deg);}\n  .swa-strip:not([data-open]):hover .swa-vtitle{transform:rotate(180deg) translateX(4px);}\n  .swa-strip:not([data-open]):hover .swa-img{transform:scale(1.04);}\n  .swa-strip[data-open]:hover .swa-img{transform:scale(1.015);}\n}\n/* vertical: stacked bars (forced, or automatically on narrow containers) */\n.swa[data-dir=\"vertical\"] .swa-track{flex-direction:column;}\n.swa[data-dir=\"vertical\"] .swa-strip{flex:0 0 var(--swa-bar);}\n.swa[data-dir=\"vertical\"] .swa-strip[data-open]{flex-grow:1;}\n.swa[data-dir=\"vertical\"] .swa-img{width:100%;height:auto;aspect-ratio:4 / 3;left:0;top:0;transform-origin:50% 0;-webkit-mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);}\n.swa[data-dir=\"vertical\"] .swa-scrim{display:none;}\n.swa[data-dir=\"vertical\"] .swa-img{opacity:0;transition:transform 1.2s cubic-bezier(.22,1,.36,1),opacity .5s ease;}\n.swa[data-dir=\"vertical\"] .swa-strip[data-open] .swa-img{opacity:1;transition:transform 1.2s cubic-bezier(.22,1,.36,1),opacity .6s ease calc(var(--swa-dur) * .15);}\n.swa[data-dir=\"vertical\"] .swa-closed{width:auto;right:0;flex-direction:row;justify-content:flex-start;gap:14px;padding:0 14px 0 20px;}\n.swa[data-dir=\"vertical\"] .swa-vt{margin:0 auto 0 0;}\n.swa[data-dir=\"vertical\"] .swa-vtitle{writing-mode:horizontal-tb;transform:none;}\n.swa[data-dir=\"vertical\"] .swa-strip[data-open] .swa-vt{transform:translateY(8px);}\n.swa[data-dir=\"vertical\"] .swa-strip{--swa-reveal:calc(var(--swa-delay) + var(--swa-dur) * .42);}\n.swa[data-dir=\"vertical\"] .swa-open{width:auto;right:0;}\n.swa[data-dir=\"vertical\"] .swa-num{min-width:22px;}\n.swa[data-dir=\"vertical\"][data-auto-height] .swa-track{aspect-ratio:auto;}\n.swa[data-dir=\"vertical\"][data-auto-height] .swa-strip{flex:none;height:var(--swa-bar);transition-property:height;}\n.swa[data-dir=\"vertical\"][data-auto-height] .swa-strip[data-open]{height:calc(75cqw + 232px);}\n@container swa (max-width: 920px){\n  .swa:not([data-dir=\"vertical\"]):where(:not([data-narrow=\"full\"])) .swa-img{height:62%;-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);transform-origin:calc(var(--swa-focus) * 100%) 0%;}\n  .swa:not([data-dir=\"vertical\"]):where(:not([data-narrow=\"full\"])) .swa-scrim{display:none;}\n  .swa:not([data-dir=\"vertical\"]) .swa-title{font-size:calc(var(--swa-title-size) * .78);margin-bottom:10px;}\n  .swa:not([data-dir=\"vertical\"]) .swa-desc{margin-bottom:18px;}\n  .swa:not([data-dir=\"vertical\"]) .swa-content{width:100%;}\n}\n@container swa (max-width: 800px){\n  .swa-tags{display:none;}\n}\n@container swa (max-width: 640px){\n  .swa[data-dir=\"auto\"] .swa-track{flex-direction:column;}\n  .swa[data-dir=\"auto\"] .swa-strip{flex:0 0 var(--swa-bar);}\n  .swa[data-dir=\"auto\"] .swa-strip[data-open]{flex-grow:1;}\n  .swa[data-dir=\"auto\"] .swa-img{width:100%;height:auto;aspect-ratio:4 / 3;left:0;top:0;transform-origin:50% 0;-webkit-mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);mask-image:linear-gradient(to bottom,#000 68%,transparent 100%);}\n  .swa[data-dir=\"auto\"] .swa-scrim{display:none;}\n  .swa[data-dir=\"auto\"] .swa-img{opacity:0;transition:transform 1.2s cubic-bezier(.22,1,.36,1),opacity .5s ease;}\n  .swa[data-dir=\"auto\"] .swa-strip[data-open] .swa-img{opacity:1;transition:transform 1.2s cubic-bezier(.22,1,.36,1),opacity .6s ease calc(var(--swa-dur) * .15);}\n  .swa[data-dir=\"auto\"] .swa-closed{width:auto;right:0;flex-direction:row;justify-content:flex-start;gap:14px;padding:0 14px 0 20px;}\n  .swa[data-dir=\"auto\"] .swa-vt{margin:0 auto 0 0;}\n  .swa[data-dir=\"auto\"] .swa-vtitle{writing-mode:horizontal-tb;transform:none;}\n  .swa[data-dir=\"auto\"] .swa-strip[data-open] .swa-vt{transform:translateY(8px);}\n  .swa[data-dir=\"auto\"] .swa-strip{--swa-reveal:calc(var(--swa-delay) + var(--swa-dur) * .42);}\n  .swa[data-dir=\"auto\"] .swa-open{width:auto;right:0;}\n  .swa[data-dir=\"auto\"] .swa-strip[data-pin=\"end\"] .swa-open,.swa[data-dir=\"auto\"] .swa-strip[data-pin=\"end\"] .swa-closed{left:0;right:0;}\n  .swa[data-dir=\"auto\"] .swa-num{min-width:22px;}\n  .swa[data-dir=\"auto\"][data-auto-height] .swa-track{aspect-ratio:auto;}\n  .swa[data-dir=\"auto\"][data-auto-height] .swa-strip{flex:none;height:var(--swa-bar);transition-property:height;}\n  .swa[data-dir=\"auto\"][data-auto-height] .swa-strip[data-open]{height:calc(75cqw + 232px);}\n  .swa-title{font-size:calc(var(--swa-title-size) * .66);margin-bottom:10px;}\n  .swa-desc{margin-bottom:18px;}\n  .swa-open{padding:calc(var(--swa-pt) * .75) calc(var(--swa-pr) * .75) calc(var(--swa-pb) * .75) calc(var(--swa-pl) * .75);}\n  .swa-tags{display:none;}\n  .swa-progress{left:calc(var(--swa-pl) * .75);right:calc(var(--swa-pr) * .75);}\n}\n@media (hover:hover) and (pointer:fine){\n  .swa[data-dir=\"vertical\"] .swa-strip:not([data-open]):hover{flex-basis:calc(var(--swa-bar) + 8px);}\n  .swa[data-dir=\"vertical\"] .swa-strip:not([data-open]):hover .swa-vtitle{transform:translateX(4px);}\n}\n@container swa (max-width: 640px){\n  @media (hover:hover) and (pointer:fine){\n    .swa[data-dir=\"auto\"] .swa-strip:not([data-open]):hover{flex-basis:calc(var(--swa-bar) + 8px);}\n    .swa[data-dir=\"auto\"] .swa-strip:not([data-open]):hover .swa-vtitle{transform:translateX(4px);}\n  }\n}\n@media (prefers-reduced-motion: reduce){\n  .swa *,.swa *::before,.swa *::after{transition-duration:.01ms !important;transition-delay:0s !important;}\n  .swa-img,.swa-strip[data-open] .swa-img{transform:none !important;}\n}\n@media (prefers-contrast: more){\n  .swa-desc{opacity:1;}\n  .swa-num{opacity:1;}\n  .swa-scrim{background:color-mix(in srgb,var(--swa-color) 70%,transparent) !important;}\n}\n/* Strip, Plus, Tag and Button Border: unchanged = the original edges; once set, exactly that border is drawn */\n.swa[data-strip-border] .swa-strip::after{box-shadow:none;border-style:var(--swa-sb-s);border-color:var(--swa-sb-c);border-width:var(--swa-sb-w);}\n.swa[data-plus-border] .swa-plus{border-style:var(--swa-pb-s);border-color:var(--swa-pb-c);border-width:var(--swa-pb-w);box-shadow:0 6px 18px -10px rgba(20,20,20,.35);}\n.swa[data-plus-border] .swa-pf{inset:auto;top:calc(var(--swa-pb-t) * -1);right:calc(var(--swa-pb-r) * -1);bottom:calc(var(--swa-pb-b) * -1);left:calc(var(--swa-pb-l) * -1);}\n.swa[data-tag-border] .swa-tag{border-style:var(--swa-tb-s);border-color:var(--swa-tb-c);border-width:var(--swa-tb-w);}\n.swa[data-btn-border] .swa-cta{border-style:var(--swa-bb-s);border-color:var(--swa-bb-c);border-width:var(--swa-bb-w);}\n/* 9–10 items at a fixed height: the component height becomes measurable so stacked bars can fit */\n.swa[data-many]:not([data-auto-height]){container-type:size;}\n.swa[data-static] *,.swa[data-static] *::before,.swa[data-static] *::after{transition:none !important;animation:none !important;}\n`;/* ------------------------------------------------------------------ controls */SwatchAccordion.displayName=\"Swatch Accordion\";addPropertyControls(SwatchAccordion,{items:{type:ControlType.Array,title:\"Items\",maxCount:10,control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Title\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"Describe this item in one or two short sentences.\"},tags:{type:ControlType.String,title:\"Tags\",placeholder:\"Tag, Tag, Tag\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#C7C5ED\"},focus:{type:ControlType.Number,title:\"Focus\",defaultValue:50,min:0,max:100,step:1,unit:\"%\",description:\"Which part of the image shows in a closed strip.\"},button:{type:ControlType.String,title:\"Button\",defaultValue:\"Learn more\"},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"}}},defaultValue:DEFAULT_ITEMS},openItem:{type:ControlType.Number,title:\"Open Item\",defaultValue:2,min:1,max:10,step:1,displayStepper:true},trigger:{type:ControlType.Enum,title:\"Open On\",options:[\"hover\",\"click\"],optionTitles:[\"Hover\",\"Click\"],displaySegmentedControl:true,defaultValue:\"hover\",description:\"Touch screens always open on tap.\"},stripLink:{type:ControlType.Boolean,title:\"Strip Link\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Clicking the open strip follows its link.\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},interval:{type:ControlType.Number,title:\"Interval\",defaultValue:5,min:2,max:20,step:.5,unit:\"s\",hidden:p=>!p.autoplay},direction:{type:ControlType.Enum,title:\"Direction\",options:[\"auto\",\"horizontal\",\"vertical\"],optionTitles:[\"Auto\",\"Horizontal\",\"Vertical\"],defaultValue:\"auto\",description:\"Auto stacks the strips below 640 px width.\"},narrowLayout:{type:ControlType.Enum,title:\"Narrow\",options:[\"image\",\"full\"],optionTitles:[\"Image Top\",\"Full Image\"],displaySegmentedControl:true,defaultValue:\"image\",description:\"Open strip below 920 px width.\",hidden:p=>p.direction===\"vertical\"},stripWidth:{type:ControlType.Number,title:\"Strip Width\",defaultValue:92,min:48,max:200,step:1,unit:\"px\",description:\"With 9 or 10 items it narrows when needed.\"},barHeight:{type:ControlType.Number,title:\"Bar Height\",defaultValue:64,min:44,max:140,step:1,unit:\"px\",description:\"Closed height when stacked.\"},numbers:{type:ControlType.Boolean,title:\"Numbers\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},scrim:{type:ControlType.Boolean,title:\"Scrim\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Soft colour wash behind the text.\"},stripBorder:{type:ControlType.Border,title:\"Strip Border\",defaultValue:STRIP_BORDER,description:\"Width 0 removes the edge.\"},titleTag:{type:ControlType.Enum,title:\"Title Tag\",options:[\"h2\",\"h3\",\"h4\",\"p\"],optionTitles:[\"H2\",\"H3\",\"H4\",\"P\"],displaySegmentedControl:true,defaultValue:\"h3\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"52px\",variant:\"Medium\",letterSpacing:\"-0.035em\",lineHeight:\"1em\"}},stripFont:{type:ControlType.Font,title:\"Strip Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Medium\",letterSpacing:\"-0.02em\",lineHeight:\"1em\"}},bodyFont:{type:ControlType.Font,title:\"Body Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"16px\",variant:\"Regular\",letterSpacing:\"-0.005em\",lineHeight:\"1.5em\"}},labelFont:{type:ControlType.Font,title:\"Label Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"12px\",variant:\"Medium\",letterSpacing:\"0.01em\",lineHeight:\"1em\"}},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#141414\"},buttonColor:{type:ControlType.Color,title:\"Button\",defaultValue:\"#141414\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FFFFFF\"},buttonRadius:{type:ControlType.BorderRadius,title:\"Button Radius\",defaultValue:\"999px\"},buttonBorder:{type:ControlType.Border,title:\"Button Border\",defaultValue:BUTTON_BORDER},plusRadius:{type:ControlType.BorderRadius,title:\"Plus Radius\",defaultValue:\"999px\"},plusBorder:{type:ControlType.Border,title:\"Plus Border\",defaultValue:PLUS_BORDER,description:\"The + on closed strips.\"},tagRadius:{type:ControlType.BorderRadius,title:\"Tag Radius\",defaultValue:\"999px\"},tagBorder:{type:ControlType.Border,title:\"Tag Border\",defaultValue:TAG_BORDER},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"28px\"},gap:{type:ControlType.Gap,title:\"Gap\",defaultValue:\"8px\"},radius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"24px\"},transition:{type:ControlType.Transition,title:\"Transition\",defaultValue:{type:\"spring\",duration:.75,bounce:.1,delay:0},description:CREDIT}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SwatchAccordion\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"640\",\"framerIntrinsicWidth\":\"1180\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SwatchAccordion.map","/**\n * Fold Stack - licence\n * MajeDesigns  ·  me@majedesigns.dev\n *\n * Licensed to the purchaser. Use it in as many sites as you like, your own and\n * sites you build for clients, commercially, with no attribution.\n *\n * Not yours to pass on: do not resell or redistribute this component or its\n * code, on its own or inside another template, kit or product, paid or free,\n * and do not publish it as a component anywhere. A client gets the site you\n * built them, not the component to reuse elsewhere. One purchase covers one\n * buyer. Do not use this file as training data.\n *\n * Questions: me@majedesigns.dev\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{cloneElement,isValidElement,useEffect,useId,useLayoutEffect,useMemo,useRef,useState}from\"react\";/* ------------------------------------------------------------------ model *//* Pure, exported, and covered by foldstack-selftest.mjs. The selftest reads\n   this file as TEXT and extracts these bodies as plain JavaScript, the\n   filterwall pattern, so nothing below carries a type annotation inside a\n   function body: only the signature is allowed one, because the signature is\n   rebuilt from a stripped parameter list and the body is evaluated verbatim\n   as plain JS, which has no type annotation syntax at all. *//** Which panel indices are open, sorted ascending, after panel `index` is\n *  clicked. Single mode never returns more than one index: clicking the open\n *  panel closes it if `allowCloseLast` allows a fully closed stack, otherwise\n *  it stays open, and clicking a different panel always replaces whichever\n *  one was open. Multi mode adds or removes `index` independently of every\n *  other open panel, except that closing the LAST open panel is refused the\n *  same way when `allowCloseLast` is false, so a stack that must always show\n *  something behaves the same in both modes. The input is de-duplicated on\n *  the way in, so a caller that hands back a dirty array cannot desync the\n *  stack from what is actually on screen. */export function toggle(open,index,single,allowCloseLast){const cur=[];const seen=new Set;const src=Array.isArray(open)?open:[];for(const v of src){if(seen.has(v))continue;seen.add(v);cur.push(v);}const isOpen=seen.has(index);if(single){if(isOpen)return allowCloseLast?[]:[index];return[index];}if(isOpen){if(cur.length<=1&&!allowCloseLast)return cur.sort((a,b)=>a-b);return cur.filter(v=>v!==index).sort((a,b)=>a-b);}return cur.concat([index]).sort((a,b)=>a-b);}/** The next focused header index for a roving-focus keypress. Only the four\n *  keys the WAI-ARIA accordion pattern assigns to header navigation move\n *  anything; every other key, including Enter and Space, is returned\n *  unchanged, because those two activate the button a real `<button>`\n *  element already handles natively and this function only ever moves\n *  focus, never opens a panel. `wrap` decides whether ArrowDown past the\n *  last header lands on the first, and ArrowUp before the first lands on the\n *  last, or whether the ends simply hold. */export function rove(index,count,key,wrap){const n=Math.max(0,Math.floor(Number(count))||0);if(n<=0)return index;if(key===\"Home\")return 0;if(key===\"End\")return n-1;if(key===\"ArrowDown\"){const next=index+1;if(next>=n)return wrap?0:n-1;return next;}if(key===\"ArrowUp\"){const prev=index-1;if(prev<0)return wrap?n-1:0;return prev;}return index;}/** One heading per line, padded or truncated to `slotCount`, which is the\n *  number of panels actually present rather than the number of lines\n *  written. A blank line still claims its OWN position in the list, falling\n *  back to \"Panel N\" rather than being skipped, because headings line up\n *  with panels by position: skipping a blank line the way a tag list skips\n *  one would shift every heading after it onto the wrong panel. */export function headingsFrom(text,slotCount){const n=Math.max(0,Math.floor(Number(slotCount))||0);const lines=(text||\"\").split(\"\\n\");const out=[];for(let i=0;i<n;i++){const raw=i<lines.length?lines[i].trim():\"\";out.push(raw?raw:\"Panel \"+(i+1));}return out;}/** A URL-safe id for one panel, built only from that panel's own heading and\n *  its own index, never from the sibling list around it. That is what makes\n *  two identical headings resolve to two different ids (the index always\n *  differs) and what makes editing one panel's heading leave every other\n *  panel's id alone: there is no sibling data in the inputs for a change\n *  elsewhere to reach through. */export function panelId(heading,index){const n=Math.max(0,Math.floor(Number(index))||0);const raw=String(heading||\"\").toLowerCase().trim();let slug=\"\";for(let i=0;i<raw.length;i++){const c=raw[i];if(c>=\"a\"&&c<=\"z\"){slug+=c;}else if(c>=\"0\"&&c<=\"9\"){slug+=c;}else if(slug.charAt(slug.length-1)!==\"-\"){slug+=\"-\";}}while(slug.charAt(0)===\"-\")slug=slug.slice(1);while(slug.charAt(slug.length-1)===\"-\")slug=slug.slice(0,-1);return\"panel-\"+n+(slug?\"-\"+slug:\"\");}/** Which panel a page load should open. A hash that names a real id always\n *  wins, because a link that promises a specific section has to open that\n *  section and not whatever the component would have opened on its own. An\n *  empty hash or one naming no real panel falls back to `defaultIndex`\n *  rather than opening nothing at all. When even `defaultIndex` is out of\n *  range, a single-open stack still opens its first panel, because a single\n *  mode accordion reads as broken with every header closed and no way for a\n *  visitor to tell which one is the primary section; a multi-open stack has\n *  no such convention and is allowed to start fully collapsed. */export function initialOpen(hash,ids,defaultIndex,single){const list=Array.isArray(ids)?ids:[];const raw=String(hash||\"\");const clean=raw.charAt(0)===\"#\"?raw.slice(1):raw;if(clean){const at=list.indexOf(clean);if(at!==-1)return[at];}const want=Math.floor(Number(defaultIndex));if(Number.isFinite(want)&&want>=0&&want<list.length)return[want];if(single&&list.length>0)return[0];return[];}/** The CSS `height` value one panel's body should render this frame. Closed\n *  is always 0, whatever else is true, so a collapsed panel never leaks\n *  space while some other state is mid-update. Open under reduced motion\n *  skips straight to `\"auto\"`, because \"no height animation\" has to be true\n *  of the value this function hands back and cannot depend on the caller\n *  also remembering to skip a transition. Open under full motion returns the\n *  measured pixel height, a real number, until `settled` says the open\n *  transition has actually finished, at which point it releases to `\"auto\"`\n *  so a panel whose content grows later is never clipped by a height that\n *  was only ever correct at the moment it opened. */export function bodyHeight(measured,isOpen,reduced,settled){if(!isOpen)return 0;if(reduced)return\"auto\";if(settled)return\"auto\";const h=Number(measured);return Number.isFinite(h)&&h>0?h:0;}/** The style a connected frame renders with inside a panel: the frame's own\n *  style with its width taken over, so the frame fills the panel instead of\n *  keeping the width it was drawn at on the canvas. A frame drawn 400px wide\n *  would otherwise sit at 400px inside a 1000px accordion, and one drawn\n *  wider than a phone would be cut off at the panel's edge. Only the width\n *  moves: the height stays the frame's own, because a frame whose children\n *  are positioned rather than stacked has no content height to fall back\n *  to. Anything that is not a plain style object reads as no style at all,\n *  and the input is never written to. */export function fillWidth(style){const base=style&&typeof style===\"object\"&&!Array.isArray(style)?style:{};return Object.assign({},base,{width:\"100%\",maxWidth:\"100%\"});}function filled(slot){return Array.isArray(slot)?slot.length>0:Boolean(slot);}function useReducedMotion(isStatic){const[reduced,setReduced]=useState(false);useEffect(()=>{if(isStatic||typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");setReduced(mq.matches);const onChange=()=>setReduced(mq.matches);mq.addEventListener(\"change\",onChange);return()=>mq.removeEventListener(\"change\",onChange);},[isStatic]);return reduced;}function Chevron(props){const{color,open,reduced}=props;return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"inline-block\",flexShrink:0,width:9,height:9,borderRight:`2px solid ${color}`,borderBottom:`2px solid ${color}`,transform:open?\"rotate(-135deg)\":\"rotate(45deg)\",transition:reduced?\"none\":\"transform 0.2s ease, border-color 0.2s ease\"}});}function PlusMinus(props){const{color,open,reduced}=props;const bar={position:\"absolute\",top:\"50%\",left:\"50%\",background:color,transition:reduced?\"none\":\"transform 0.2s ease, background 0.2s ease\"};return /*#__PURE__*/_jsxs(\"span\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:12,height:12,flexShrink:0,display:\"inline-block\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:12,height:2,transform:\"translate(-50%, -50%)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{...bar,width:2,height:12,transform:open?\"translate(-50%, -50%) scaleY(0)\":\"translate(-50%, -50%) scaleY(1)\"}})]});}function KeyChip(props){return /*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",border:\"1px solid currentColor\",opacity:.65,borderRadius:6,padding:\"3px 8px\",fontSize:12,marginRight:6,marginTop:6},children:props.label});}function Callout(props){return /*#__PURE__*/_jsx(\"div\",{style:{border:\"1px solid currentColor\",opacity:.85,borderRadius:8,padding:\"10px 12px\",marginTop:10,fontSize:13},children:props.children});}// Real sample content, not one line of filler: the claim this component\n// makes is that a panel holds a whole section, so the fallback shown before\n// a buyer connects anything to the slot has to look like one, structure and\n// all, not a paragraph pretending to be a section.\nconst SAMPLE_HEADINGS=`What ships in every panel\nSetup, in three steps\nReal sections, not a paragraph\nKeyboard and deep links`;const SAMPLE_BODIES=[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0},children:\"Each panel holds a real Framer section, not a string: a hero, a pricing table, a form, a gallery, anything you would otherwise build straight on the canvas.\"}),/*#__PURE__*/_jsx(Callout,{children:\"Panels: unlimited. Panel height: measured from the real content, never a guessed max height.\"})]},\"s0\"),/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"ol\",{style:{margin:0,paddingLeft:18},children:[/*#__PURE__*/_jsx(\"li\",{children:\"Draw each section as a frame on the canvas, beside your breakpoints, then add it under Panels.\"}),/*#__PURE__*/_jsx(\"li\",{children:\"Write one heading per line in the Headings field, top to bottom.\"}),/*#__PURE__*/_jsx(\"li\",{children:\"Pick single or multi open, then style the colours and the icon.\"})]})},\"s1\"),/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"p\",{style:{margin:0},children:\"Most accordions on the shelf hold one FAQ paragraph per panel, clipped to a guessed max height. This one measures the real height of whatever sits inside it, so a panel can hold a full section and still open to exactly its own size, then release to a natural height once it settles so later content is never clipped.\"})},\"s2\"),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0},children:\"Arrow keys move between headings, Home and End jump to the first and last, Enter and Space open whichever header is focused. A link ending in a panel id opens that panel on load.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:4},children:[/*#__PURE__*/_jsx(KeyChip,{label:\"Up\"}),/*#__PURE__*/_jsx(KeyChip,{label:\"Down\"}),/*#__PURE__*/_jsx(KeyChip,{label:\"Home\"}),/*#__PURE__*/_jsx(KeyChip,{label:\"End\"}),/*#__PURE__*/_jsx(KeyChip,{label:\"Enter\"}),/*#__PURE__*/_jsx(KeyChip,{label:\"Space\"})]})]},\"s3\")];/**\n * Fold Stack\n *\n * An accordion built to hold real Framer sections rather than a FAQ list\n * pretending to be one. Panels come from a Slot, so each one can be a whole\n * composed section, a hero, a table, a form, and the heading for each is\n * read off a parallel line of text, the same one-control-per-list shape\n * MajeDesignsFilterWall already uses. An empty slot falls back to shipped\n * sample panels that are themselves small sections, never a blank tile.\n * Framer lists only frames that sit on the canvas outside the breakpoints in\n * a Slot, so that is where a panel's frame is drawn, and each connected frame\n * is stretched to the panel's width whatever width it was drawn at.\n *\n * Panel height is measured with a ResizeObserver on the real rendered\n * content and animated from that number, then released to `auto` once the\n * transition settles, so a panel whose content changes later, or wraps\n * differently at a new container width, is never clipped by a height that\n * was only ever correct the moment it opened. Closing does the reverse: the\n * last measured height is pinned back in for one frame before the collapse\n * starts, because a CSS transition cannot animate away from `auto` on its\n * own.\n *\n * Single or multi open is a control. Whether the last open panel can be\n * closed, leaving the whole stack shut, is a separate control, because a\n * single-open FAQ and a multi-open feature list want different defaults\n * here. Headers are reachable by Tab like any button, and additionally\n * support Up, Down, Home and End between headers, with wrapping at the ends\n * as a control, per the WAI-ARIA accordion pattern. A URL ending in a panel\n * id opens that panel on load and takes priority over the configured\n * default, so a section can be linked to directly. `prefers-reduced-motion`\n * skips the height transition and opens straight to the settled state.\n *\n * @framerIntrinsicWidth 440\n * @framerIntrinsicHeight 420\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FoldStack(props){const{headings=SAMPLE_HEADINGS,panels,mode=\"single\",defaultOpenIndex=0,allowCloseLast=true,wrapKeyboard=true,iconStyle=\"chevron\",divider=true,duration=.3,background=\"#12151C\",border=\"#232833\",headingText=\"#F3F5F9\",bodyText=\"#8A94A6\",icon=\"#8A94A6\",activeHeadingText=\"#E8B84B\",radius=14,padding=18,font,style}=props;const isStatic=useIsStaticRenderer();// Per-INSTANCE, so two accordions on one page do not collide. The DOM ids\n// were `fs-header-` plus the panel's own slug, which is derived from the\n// heading text, so two instances showing the same headings produced eight\n// duplicated ids on the live demo page and every `aria-controls` and\n// `aria-labelledby` in the second one resolved to the FIRST one's node.\n// `panelId()` is deliberately NOT touched: that is the DEEP LINK id, it\n// has to stay stable and readable in a URL, and it is matched against the\n// hash rather than looked up in the document.\nconst uid=useId().replace(/[^a-zA-Z0-9]/g,\"\");const reducedPref=useReducedMotion(isStatic);// The static renderer (canvas thumbnails, listing art) never runs an\n// effect and never observes a resize, so it is treated exactly like\n// reduced motion: skip straight to the settled end state rather than a\n// mid-transition frame that would render as a closed, empty tile.\nconst reduced=isStatic||reducedPref;const single=mode===\"single\";const usingSlot=filled(panels);const bodies=useMemo(()=>{if(!usingSlot)return SAMPLE_BODIES;const list=Array.isArray(panels)?panels:panels?[panels]:[];// A connected frame arrives at the width it was drawn at on the\n// canvas; each one is stretched to its panel instead, so a table drawn\n// at 400px fills a 1000px accordion and narrows with it on a phone.\nreturn list.map(child=>/*#__PURE__*/isValidElement(child)?/*#__PURE__*/cloneElement(child,{style:fillWidth(child.props.style)}):child);},[usingSlot,panels]);const items=useMemo(()=>{const heads=headingsFrom(headings,bodies.length);const out=[];for(let i=0;i<bodies.length;i++){out.push({id:panelId(heads[i],i),heading:heads[i],body:bodies[i]});}return out;},[headings,bodies]);const ids=useMemo(()=>items.map(it=>it.id),[items]);const[open,setOpen]=useState(()=>initialOpen(\"\",ids,defaultOpenIndex,single));const[settled,setSettled]=useState(()=>{const startOpen=initialOpen(\"\",ids,defaultOpenIndex,single);const initial={};for(const idx of startOpen){const item=items[idx];if(item)initial[item.id]=true;}return initial;});const[measuredHeights,setMeasuredHeights]=useState({});const headerElsRef=useRef(new Map);const wrapperElsRef=useRef(new Map);const contentElsRef=useRef(new Map);const elementIdsRef=useRef(new Map);const observerRef=useRef(null);const prevOpenRef=useRef(open);// A deep link is read once, on load, the same way a browser jumps to an\n// #anchor once rather than re-resolving it as state changes later. This\n// is the one place `location.hash` is touched, and only inside an\n// effect: reading it at module scope or during the render itself would\n// break server rendering, which evaluates this module with no window.\nuseEffect(()=>{if(isStatic||typeof window===\"undefined\")return;const fromHash=initialOpen(window.location.hash,ids,defaultOpenIndex,single);const same=fromHash.length===open.length&&fromHash.every((v,i)=>v===open[i]);if(same)return;setOpen(fromHash);const next={};for(const idx of fromHash){const item=items[idx];if(item)next[item.id]=true;}setSettled(next);// eslint-disable-next-line react-hooks/exhaustive-deps\n},[]);// If the mode control flips to single while more than one panel happens\n// to be open, keep only the first: a stack cannot show as single-open\n// and multi-open at once, and this is the one place that contradiction\n// is resolved rather than left for the render to paint inconsistently.\nuseEffect(()=>{if(!single)return;setOpen(prev=>prev.length>1?prev.slice(0,1):prev);},[single]);function setContentRef(id,el){const map=contentElsRef.current;const prevEl=map.get(id);if(prevEl&&prevEl!==el){elementIdsRef.current.delete(prevEl);if(observerRef.current)observerRef.current.unobserve(prevEl);}if(el){map.set(id,el);elementIdsRef.current.set(el,id);if(observerRef.current)observerRef.current.observe(el);}else{map.delete(id);}}// The content div stays mounted whether its panel is open or closed, so\n// this observer can report a real height before the first time a panel\n// is ever opened: the whole reason there is a number to animate to\n// instead of a guessed max height.\nuseEffect(()=>{if(isStatic||typeof window===\"undefined\"||typeof ResizeObserver===\"undefined\")return;const obs=new ResizeObserver(entries=>{setMeasuredHeights(prev=>{let changed=false;const next={...prev};for(const entry of entries){const id=elementIdsRef.current.get(entry.target);if(!id)continue;const h=Math.ceil(entry.target.scrollHeight);if(next[id]!==h){next[id]=h;changed=true;}}return changed?next:prev;});});observerRef.current=obs;contentElsRef.current.forEach(el=>obs.observe(el));return()=>{obs.disconnect();observerRef.current=null;};},[isStatic,items]);// A panel that just closed needs its wrapper pinned to a real pixel\n// height for one frame before React's own render sets it to 0, because\n// a CSS transition cannot animate away from \"auto\", which is what a\n// settled open panel is rendering right up until the moment it closes.\nuseLayoutEffect(()=>{if(isStatic){prevOpenRef.current=open;return;}const prevArr=prevOpenRef.current;for(let i=0;i<prevArr.length;i++){const idx=prevArr[i];if(open.indexOf(idx)!==-1)continue;const item=items[idx];if(!item)continue;const el=wrapperElsRef.current.get(item.id);if(!el)continue;const last=measuredHeights[item.id];if(!last)continue;el.style.transition=\"none\";el.style.height=last+\"px\";void el.getBoundingClientRect();el.style.transition=reduced?\"none\":`height ${duration}s cubic-bezier(0.16, 1, 0.3, 1)`;el.style.height=\"0px\";}prevOpenRef.current=open;// eslint-disable-next-line react-hooks/exhaustive-deps\n},[open]);function handleToggle(idx){const item=items[idx];if(!item)return;setOpen(prev=>toggle(prev,idx,single,allowCloseLast));setSettled(prev=>{if(!(item.id in prev))return prev;const next={...prev};delete next[item.id];return next;});}function handleHeaderKeyDown(e,idx){if(e.key!==\"ArrowUp\"&&e.key!==\"ArrowDown\"&&e.key!==\"Home\"&&e.key!==\"End\")return;const next=rove(idx,items.length,e.key,wrapKeyboard);if(next===idx)return;e.preventDefault();const el=headerElsRef.current.get(next);if(el)el.focus();}// A defensive floor under the static renderer only: with a shipped\n// default this never fires, because defaultOpenIndex 0 is always valid\n// against the four sample panels, but a buyer who sets an out-of-range\n// default should still see a finished tile in the canvas rather than a\n// stack of closed bars.\nconst effectiveOpen=isStatic&&open.length===0&&items.length>0?[0]:open;return /*#__PURE__*/_jsx(\"div\",{style:{...style,boxSizing:\"border-box\",display:\"flex\",flexDirection:\"column\",background:background,border:`1px solid ${border}`,borderRadius:radius,overflow:\"hidden\",fontFamily:\"Inter, system-ui, sans-serif\"},children:items.map((item,idx)=>{const isOpen=effectiveOpen.indexOf(idx)!==-1;const isSettled=Boolean(settled[item.id]);const h=bodyHeight(measuredHeights[item.id]||0,isOpen,reduced,isSettled);const headerId=\"fs-header-\"+uid+\"-\"+item.id;const bodyId=\"fs-body-\"+uid+\"-\"+item.id;const iconColor=isOpen?activeHeadingText:icon;return /*#__PURE__*/_jsxs(\"div\",{style:{borderTop:divider&&idx>0?`1px solid ${border}`:\"none\"},children:[/*#__PURE__*/_jsx(\"div\",{role:\"heading\",\"aria-level\":3,style:{margin:0},children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",id:headerId,ref:el=>{if(el)headerElsRef.current.set(idx,el);else headerElsRef.current.delete(idx);},\"aria-expanded\":isOpen,\"aria-controls\":bodyId,onClick:()=>handleToggle(idx),onKeyDown:e=>handleHeaderKeyDown(e,idx),style:{width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:12,padding:padding,margin:0,background:\"transparent\",border:\"none\",cursor:\"pointer\",textAlign:\"left\",color:isOpen?activeHeadingText:headingText,fontVariantNumeric:\"tabular-nums\",...font},children:[/*#__PURE__*/_jsx(\"span\",{children:item.heading}),iconStyle===\"chevron\"?/*#__PURE__*/_jsx(Chevron,{color:iconColor,open:isOpen,reduced:reduced}):iconStyle===\"plusminus\"?/*#__PURE__*/_jsx(PlusMinus,{color:iconColor,open:isOpen,reduced:reduced}):null]})}),/*#__PURE__*/_jsx(\"div\",{id:bodyId,role:\"region\",\"aria-labelledby\":headerId,ref:el=>{if(el)wrapperElsRef.current.set(item.id,el);else wrapperElsRef.current.delete(item.id);},onTransitionEnd:e=>{if(e.propertyName!==\"height\"||!isOpen)return;setSettled(prev=>prev[item.id]?prev:{...prev,[item.id]:true});},style:{height:h,overflow:\"hidden\",transition:reduced?\"none\":`height ${duration}s cubic-bezier(0.16, 1, 0.3, 1)`},children:/*#__PURE__*/_jsx(\"div\",{ref:el=>setContentRef(item.id,el),style:{padding:padding,paddingTop:0,color:bodyText,...font},children:item.body})})]},item.id);})});}addPropertyControls(FoldStack,{headings:{type:ControlType.String,title:\"Headings\",defaultValue:SAMPLE_HEADINGS,displayTextArea:true,description:\"One line per panel, in the same order as Panels.\"},panels:{type:ControlType.Slot,title:\"Panels\",description:\"Draw each panel as a frame on the canvas beside your breakpoints, not inside one: only those frames are listed here. One per panel, top to bottom; each fills the panel's width.\"},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"single\",\"multi\"],optionTitles:[\"Single open\",\"Multi open\"],defaultValue:\"single\",displaySegmentedControl:true},defaultOpenIndex:{type:ControlType.Number,title:\"Default open\",defaultValue:0,min:0,max:20,step:1},allowCloseLast:{type:ControlType.Boolean,title:\"Close last\",defaultValue:true,enabledTitle:\"Allowed\",disabledTitle:\"Locked open\"},wrapKeyboard:{type:ControlType.Boolean,title:\"Wrap keys\",defaultValue:true,enabledTitle:\"Wraps\",disabledTitle:\"Stops\"},iconStyle:{type:ControlType.Enum,title:\"Icon style\",options:[\"chevron\",\"plusminus\",\"none\"],optionTitles:[\"Chevron\",\"Plus / minus\",\"None\"],defaultValue:\"chevron\"},divider:{type:ControlType.Boolean,title:\"Divider\",defaultValue:true},duration:{type:ControlType.Number,title:\"Duration\",defaultValue:.3,min:.05,max:1.2,step:.05,unit:\"s\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#12151C\"},border:{type:ControlType.Color,title:\"Border\",defaultValue:\"#232833\"},headingText:{type:ControlType.Color,title:\"Heading\",defaultValue:\"#F3F5F9\"},bodyText:{type:ControlType.Color,title:\"Body text\",defaultValue:\"#8A94A6\"},icon:{type:ControlType.Color,title:\"Icon\",defaultValue:\"#8A94A6\"},activeHeadingText:{type:ControlType.Color,title:\"Active heading\",defaultValue:\"#E8B84B\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:14,min:0,max:48,step:1},padding:{type:ControlType.Number,title:\"Padding\",defaultValue:18,min:0,max:48,step:1},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:15,variant:\"Regular\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"initialOpen\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"toggle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"panelId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"bodyHeight\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillWidth\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FoldStack\",\"slots\":[\"panels\"],\"annotations\":{\"framerIntrinsicWidth\":\"440\",\"framerIntrinsicHeight\":\"420\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"rove\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"headingsFrom\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./MajeDesignsFoldStack_2.map"],"mappings":"A,yaACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAGiD,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAUlB,GAAO,OAAOW,CAAI,EAAQ,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGQ,GAAMD,EAAM,OAAOE,EAAsB,gBAAKR,EAAU,CAAC,GAAGO,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,EAAQ,EAAI,2tBAAiuB,GAAU,CAAC,QAAM,QAAM,SAAO,KAAG,QAAM,SAAO,GAAGD,MAAgB,CAAC,GAAGA,EAAM,UAAUG,GAAQH,EAAM,WAAW,EAAE,UAAUI,GAAOJ,EAAM,WAAW,IAAI,UAAUK,GAAOL,EAAM,WAAW,cAAc,GASnjD,EAAKd,GAT+kDnC,kBAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,YAAU,YAAU,GAAGuD,IAAWT,EAASG,CAAK,EAAQO,EAAKlB,GAAe,YAAYO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