{"version":3,"file":"Preloader.BjdSCCeN.mjs","names":["useState","useId","useRef","__esmMin","ie","init_ssg_sandbox_shims","window","_e","p","ce","init_npm_react_18_3_1","de","RenderTarget","addPropertyControls","init_framer_DcxuU94H","ControlType","fitHeight","ratio","COMPOSITION_HEIGHT","width","bottom","top","cameFromInsideTheSite","lastNavigation","INTERNAL_NAVIGATION_WINDOW","findGoal","element","selector","rect","scale","letter","tag","navbarBottom","logo","position","startNow","ahead","animation","loaderExitElapsed","progress","fullHeight","height","LOADER_CLOSED_HEIGHT","x1","y1","x2","y2","curve","bezier","a","s","b","low","high","i","middle","duration","parseCurve","numbers","text","x","LOADER_CURVE","wait","resolve","ms","until","end","timeout","tick","check","visibleLoader","loaderHeight","letClicksThrough","marked","mark","LOADER_DONE","panel","wrapped","ANIMATION_LOADER_SELECTOR","wrappers","outer","restoreLoaderClicks","transformAt","left","from","name","args","n","moveTransformAlong","effect","target","twinned","tries","originalEnd","frames","first","last","frame","twin","twins","startIntroEffectsEarlier","names","introLayers","moved","shift","advance","layer","delay","css","pageLoaded","Preloader","onCanvas","skipped","done","setDone","id","root","backdrop","wafer","photo","dot","ink","light","loader","stopped","settled","undo","LOADER_TIMEOUTS","introLength","playing","start","mountedBefore","block","event","blockKeys","SCROLL_KEYS","stay","overlay","exitCurve","loaderExit","exitDuration","total","hold","move","reveal","showGoal","reducedMotion","photos","shown","cycle","interval","stopCycle","play","panelHeight","following","begin","covered","LOAD_TIMEOUT","goal","EASE_OUT","goalVisibility","flight","EASE_IN_OUT","moving","landed","WAFER_TO_DOT","toDot","fading","chosen","images","image","sources","OBLEA_IMAGES","scope","desktopWidth","FRAME_MAX_WIDTH","LETTERS_WIDTH","phoneWidth","TOP_ROOM","PHONE_COUNTER_ROOM","content","WAFER_BOX","src","WAFER","WAFER_PHOTO_BOX","PHOTO_BOX","index","TEAL","LETTERS","INK","OBLEA_INTERVAL","HOME_LOGO_MAX_WIDTH","LOADER_EXIT_DURATION","init_Preloader","init_jsx_runtime","navigating","style"],"sources":["https:/framerusercontent.com/modules/9C8lTBm6uT1psr7LoHXj/U1uagxWf8XSxsofJZS6k/Preloader.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useId,useRef,useState}from\"react\";// The same Ardora logo as LogoMorph (\"ard●ra III-V\", 528×120), so the landing matches the navbar pixel for pixel.\nconst LETTERS=\"M361.223 51.96c2.67 0 4.861.31 7.372 1.26V39.21c-2.192-.47-4.075-.63-6.117-.63-9.095 0-18.819 5.98-21.957 16.06V39.37h-13.489v78.73h13.489V79.05c0-18.42 10.819-27.08 20.702-27.08M209.666 78.59c0 15.81-12.771 28.62-28.512 28.62s-28.522-12.82-28.522-28.62 12.772-28.63 28.522-28.63c15.751 0 28.512 12.82 28.512 28.63m12.752 39.5V0h-13.489v48.47c-7.302-6.79-17.045-10.97-27.775-10.97-22.604 0-40.925 18.39-40.925 41.08s18.321 41.08 40.925 41.08h.17c1.076 0 2.142-.07 3.198-.17 9.404-.77 17.882-4.73 24.407-10.8v9.39h13.489zm-89.8-66.13c2.67 0 4.862.31 7.372 1.26V39.21c-2.191-.47-4.074-.63-6.117-.63-9.095 0-18.818 5.98-21.957 16.06V39.37H98.428v78.73h13.488V79.05c0-18.42 10.82-27.08 20.702-27.08M69.447 78.59c0 15.81-12.772 28.62-28.522 28.62S12.403 94.39 12.403 78.59s12.772-28.63 28.522-28.63 28.522 12.82 28.522 28.63m12.971 39.5V39.36H68.93v9.32C61.607 41.77 51.774 37.5 40.925 37.5 18.321 37.5 0 55.89 0 78.58s18.32 41.08 40.925 41.08c.08 0 .15-.01.23-.01.05 0 .109.01.159.01 1.165 0 2.31-.08 3.447-.19l.627-.06a33 33 0 0 0 2.451-.38 40.7 40.7 0 0 0 21.09-10.55v9.6h13.49zM438.6 78.59c0 15.81-12.772 28.62-28.522 28.62s-28.522-12.82-28.522-28.62 12.772-28.63 28.522-28.63S438.6 62.78 438.6 78.59m12.971 39.5V39.36h-13.489v9.32c-7.322-6.91-17.155-11.18-28.004-11.18-22.604 0-40.925 18.39-40.925 41.08s18.321 41.08 40.925 41.08c.08 0 .149-.01.229-.01.05 0 .11.01.16.01 1.165 0 2.311-.08 3.446-.19l.628-.06c.827-.1 1.644-.22 2.451-.38a40.7 40.7 0 0 0 21.09-10.55v9.6h13.489zm59.177-80.281 5.457 17.218h.209l5.468-17.218h5.291L519.39 60.47h-6.151l-7.793-22.662zm-7.532 9.461v3.74H492.92v-3.74zm-14.389-9.461V60.47h-4.773V37.809zm-8.7 0V60.47h-4.773V37.809zm-8.7 0V60.47h-4.774V37.809z\";const LETTERS_WIDTH=451.571;// The \"oblea 2\" component's photos in its cycle order (Variant 1, 2, 3), each shown for 1.2 s with a hard cut.\nconst WAFER=\"https://framerusercontent.com/images/OCLo68qvqWs02Qu8HXH0alMcRhU.webp\";const OBLEA_IMAGES=[WAFER,\"https://framerusercontent.com/images/6G1QUtcAi1q8hohR8Vk35DySJdE.webp\",\"https://framerusercontent.com/images/CQynv8OuDDV2U4A3eCKYmRTgd1g.webp\"];const OBLEA_INTERVAL=1.2;// The wafer sits off-centre in its photo, so that photo gets the box \"oblea 2\" gives it; any other fills the circle.\nconst WAFER_PHOTO_BOX={left:\"-24.32%\",right:\"-16.82%\",top:\"-3.3%\",bottom:\"-6.31%\"};const PHOTO_BOX={inset:0};const INK=\"#001C42\";const TEAL=\"#64BAC7\";// Logo units (the 528×120 viewBox). Container-logo 2's Align-bottom state puts the wafer (r 103.86) at (325.59, -84.9);\n// its end state is the logo's own dot (r 40.7) at (274.15, 40.78). Moves are in % of the wafer's own size.\nconst WAFER_BOX={left:\"41.99%\",top:\"-157.30%\",width:\"39.34%\"};const WAFER_TO_DOT=\"translate(-24.76%, 60.50%) scale(0.3919)\";// Width of the letters of the big ardora logo on / once its 1440 px frame stops growing.\nconst HOME_LOGO_MAX_WIDTH=998;// Past this window width the start pose stops growing and stays centred.\nconst FRAME_MAX_WIDTH=1440;// From the top of the wafer to the bottom of the letters, in the units of the logo's 528×120 box.\nconst COMPOSITION_HEIGHT=308.76;// Gap kept between the top of the wafer and the top of the viewport.\nconst TOP_ROOM={desktop:48,phone:20};// The start pose's width from the window's width, made smaller when the wafer would leave the viewport at the top.\n// 100svh is the viewport with the mobile browser bars showing; 100vh is the fallback.\nfunction fitHeight(width,bottom,top){const ratio=528/COMPOSITION_HEIGHT;return[`width: min(${width}, calc((100vh - ${bottom+top}px) * ${ratio}));`,`width: min(${width}, calc((100svh - ${bottom+top}px) * ${ratio}));`].join(\" \");}// Strong ease-in-out for the move across the screen, strong ease-out for the background leaving.\nconst EASE_IN_OUT=\"cubic-bezier(0.77, 0, 0.175, 1)\";const EASE_OUT=\"cubic-bezier(0.23, 1, 0.32, 1)\";// The Animation loader's Variant 2 → 3 transition, which closes its white panel, as the Exit controls' defaults. Following\n// the loader, the logo flies with that length and curve from the moment the panel starts closing, so both end together.\nconst LOADER_EXIT_DURATION=1.6;const LOADER_CURVE=[.77,.02,.24,1];// The loader's panel wrap ends 2 px tall.\nconst LOADER_CLOSED_HEIGHT=2;// Keys that scroll the page while the preloader blocks scrolling.\nconst SCROLL_KEYS=new Set([\" \",\"PageUp\",\"PageDown\",\"Home\",\"End\",\"ArrowUp\",\"ArrowDown\"]);// Longest the preloader waits for the page's load event before moving on.\nconst LOAD_TIMEOUT=3e3;// On phones the logo spans the width, so with the loader on the page it starts above the loader's counter (~75 px tall).\nconst PHONE_COUNTER_ROOM=16;// Longest it waits for each step of the Animation loader (laid out, panel starting to close, panel closed).\nconst LOADER_TIMEOUTS={found:300,closing:12e3,closed:2e3};// Framer changes page without reloading this module, and so does the editor preview's reload button. A mount right after\n// a click on a link (or back/forward) is a page change inside the site and skips the preloader; any other mount plays it.\nconst INTERNAL_NAVIGATION_WINDOW=4e3;let lastNavigation=-Infinity;// The first mount of the document counts its hold from the start of the visit; later ones from their own mount.\nlet mountedBefore=false;// A full load mounts the preloader twice; the second one leaves the screen to the one already playing.\nlet playing=null;if(typeof document!==\"undefined\"){const navigating=()=>{lastNavigation=performance.now();};document.addEventListener(\"click\",event=>event.target?.closest?.(\"a[href]\")&&navigating(),true);window.addEventListener(\"popstate\",navigating);}function cameFromInsideTheSite(){return typeof window!==\"undefined\"&&performance.now()-lastNavigation<INTERNAL_NAVIGATION_WINDOW;}// Where the navbar logo draws its letters: LogoMorph's SVG is 528×120, left-aligned and centred vertically in its box.\nfunction findGoal(selector){for(const element of Array.from(document.querySelectorAll(selector))){const svg=element.querySelector(\"svg\")??element;const rect=svg.getBoundingClientRect();if(rect.width===0||rect.height===0)continue;const scale=Math.min(rect.width/528,rect.height/120);const letter=element.querySelector(\"path\");const tag=element.querySelector('path[clip-path*=\"III-V\"]');return{element:element,left:rect.left,top:rect.top+(rect.height-120*scale)/2,width:528*scale,fill:letter?getComputedStyle(letter).fill:\"#fff\",tag:tag?Number(getComputedStyle(tag).opacity)>.5:false};}return null;}// Bottom edge of the sticky or fixed bar that holds the navbar logo, 0 if there is none.\nfunction navbarBottom(selector){const logo=Array.from(document.querySelectorAll(selector)).find(element=>element.getBoundingClientRect().height>0);for(let element=logo?.parentElement;element;element=element.parentElement){const{position}=getComputedStyle(element);if(position===\"sticky\"||position===\"fixed\")return element.getBoundingClientRect().bottom;}return 0;}// Starts an animation on the page's clock right away, `ahead` ms in. Otherwise it waits for its first paint, which comes\n// late while Framer swaps the loader's variant, and the logo would land well after the loader has gone.\nfunction startNow(animation,ahead=0){animation.startTime=Number(document.timeline.currentTime)-ahead;return animation;}// How long the loader's exit has been running, read back from its panel's height through the exit's curve: the page can\n// be busy for a few frames just as the exit starts, so the logo may notice it late.\nfunction loaderExitElapsed(height,fullHeight,curve,duration){const progress=Math.min(1,Math.max(0,(fullHeight-height)/(fullHeight-LOADER_CLOSED_HEIGHT)));const[x1,y1,x2,y2]=curve;const bezier=(s,a,b)=>3*a*s*(1-s)**2+3*b*s**2*(1-s)+s**3;let low=0;let high=1;for(let i=0;i<30;i+=1){const middle=(low+high)/2;if(bezier(middle,y1,y2)<progress)low=middle;else high=middle;}return bezier(low,x1,x2)*duration;}// The four numbers of a cubic-bezier, written bare (\"0.77, 0.02, 0.24, 1\") or as \"cubic-bezier(…)\". Anything else falls\n// back to the loader's curve.\nfunction parseCurve(text){const numbers=(text.match(/-?\\d*\\.?\\d+/g)??[]).map(Number);const valid=numbers.length===4&&[numbers[0],numbers[2]].every(x=>x>=0&&x<=1);return valid?numbers:LOADER_CURVE;}function wait(ms){return new Promise(resolve=>window.setTimeout(resolve,Math.max(0,ms)));}function until(check,timeout){const end=performance.now()+timeout;return new Promise(resolve=>{const tick=()=>check()||performance.now()>end?resolve():requestAnimationFrame(tick);tick();});}// The Animation loader's panel wrap, looked up again on every check because Framer may swap the element between variants.\n// The page holds a copy per breakpoint until it hydrates; the hidden ones measure 0.\nfunction visibleLoader(selector){return Array.from(document.querySelectorAll(selector)).find(element=>element.getBoundingClientRect().height>0);}function loaderHeight(selector){return visibleLoader(selector)?.getBoundingClientRect().height??0;}// After its exit the loader keeps its full-screen box above the page and would catch every click on the first screen,\n// navbar included. The box is the highest element around the panel that is no taller than the screen; the page frame\n// around it can measure 0 px (its content overflows it), so a 0 px ancestor ends the search too. The rule is !important\n// so that no layer inside the loader can take clicks back with its own pointer-events.\nconst LOADER_DONE=\"data-ardora-loader-done\";const ANIMATION_LOADER_SELECTOR='[data-framer-name=\"Animation loader\"]';if(typeof document!==\"undefined\"&&!document.getElementById(LOADER_DONE)){const style=document.createElement(\"style\");style.id=LOADER_DONE;style.textContent=`[${LOADER_DONE}], [${LOADER_DONE}] * { pointer-events: none !important; }`;document.head.appendChild(style);}function letClicksThrough(selector){const marked=[];const mark=element=>{if(!(element instanceof HTMLElement))return;if(!element.hasAttribute(LOADER_DONE))marked.push(element);element.setAttribute(LOADER_DONE,\"\");};const panel=visibleLoader(selector)??document.querySelector(selector);const wrapped=panel?.closest(ANIMATION_LOADER_SELECTOR);const wrappers=Array.from(document.querySelectorAll(ANIMATION_LOADER_SELECTOR));// Never climb ancestors by geometry: only disable known loader wrappers or the selected panel itself.\nif(wrapped||wrappers.length>0){for(const outer of wrappers)mark(outer);mark(wrapped);}else{mark(panel);}return()=>{for(const element of marked)element.removeAttribute(LOADER_DONE);};}function restoreLoaderClicks(selector){for(const element of Array.from(document.querySelectorAll(`${selector}[${LOADER_DONE}], ${ANIMATION_LOADER_SELECTOR}[${LOADER_DONE}]`))){element.removeAttribute(LOADER_DONE);}}// A transform at `progress` of the way from `from` to none: translations and rotations shrink to 0, scales grow to 1.\nfunction transformAt(from,progress){const left=1-progress;return from.replace(/(translate[XYZ3d]*|rotate[XYZ]?)\\(([^)]*)\\)/g,(_,name,args)=>`${name}(${args.replace(/-?[\\d.]+/g,n=>String(Number(n)*left))})`).replace(/(scale[XYZ3d]*)\\(([^)]*)\\)/g,(_,name,args)=>`${name}(${args.replace(/-?[\\d.]+/g,n=>String(1+(Number(n)-1)*left))})`);}// Framer moves y and scale on the main thread with its own clock, so those can't be started earlier; only the opacity is\n// a Web Animation. While the moved opacity animation plays, a twin animation takes the layer from the transform Framer\n// left on it to none along the same curve, and holds it there until Framer's own move has ended at the original time.\nconst twinned=new WeakSet;const twins=new WeakSet;// Framer writes the start transform a frame or two after creating the opacity animation, so it is looked for a few times.\nfunction moveTransformAlong(animation,originalEnd,tries=10){const effect=animation.effect;const target=effect?.target;if(!effect||!target||twinned.has(target))return;const from=target.style.transform;if(from===\"\"||from===\"none\"){if(tries>0)requestAnimationFrame(()=>moveTransformAlong(animation,originalEnd,tries-1));return;}twinned.add(target);const frames=effect.getKeyframes();const first=Number(frames[0]?.opacity);const last=Number(frames[frames.length-1]?.opacity);const progress=frame=>Number.isFinite(first)&&Number.isFinite(last)&&first!==last?(Number(frame.opacity)-first)/(last-first):frame.computedOffset;const twin=target.animate(frames.map(frame=>({offset:frame.computedOffset,easing:frame.easing,transform:transformAt(from,progress(frame))})),{...effect.getTiming(),fill:\"forwards\"});twins.add(twin);if(animation.startTime!==null)twin.startTime=animation.startTime;window.setTimeout(()=>twin.cancel(),originalEnd);}// The entrance effects inside the intro layers are timed to start after the intro (on /home Desktop hero-claim 4.7 s, the\n// facts 6.3–6.75 s). Their opacity runs as a Web Animation with that delay, so after a page change inside the site it is\n// moved `shift` ms earlier, with a twin for the transform: same curves and order, no wait. Effects that start while the\n// page is still settling are caught too, until the intro would have ended.\nfunction startIntroEffectsEarlier(introLayers,shift){const names=introLayers.split(\",\").map(name=>name.trim()).filter(Boolean);const moved=new WeakSet;const end=performance.now()+shift;let frame=0;const advance=()=>{for(const name of names){for(const layer of Array.from(document.querySelectorAll(`[data-framer-name=\"${name}\"]`))){for(const animation of layer.getAnimations({subtree:true})){const delay=Number(animation.effect?.getTiming().delay??0);const css=animation instanceof CSSTransition||animation instanceof CSSAnimation;if(moved.has(animation)||twins.has(animation)||css||delay<=0)continue;moved.add(animation);// Framer keeps writing the start values until its own clock reaches the original end, so the\n// moved animation holds its end values until then.\nconst duration=Number(animation.effect.getTiming().duration)||0;const originalEnd=delay+duration+500;animation.effect.updateTiming({delay:Math.max(0,delay-shift),fill:\"forwards\"});window.setTimeout(()=>animation.cancel(),originalEnd);moveTransformAlong(animation,originalEnd);}}}if(performance.now()<end)frame=requestAnimationFrame(advance);};advance();return()=>cancelAnimationFrame(frame);}function pageLoaded(timeout){if(document.readyState===\"complete\")return Promise.resolve();return new Promise(resolve=>{window.addEventListener(\"load\",()=>resolve(),{once:true});window.setTimeout(resolve,timeout);});}/**\n * Preloader: the big \"ard●ra\" with the wafer covers the page, then shrinks onto the navbar logo (the wafer becomes the\n * dot) and the page appears behind it. Plays when the site is opened or reloaded, not on page changes inside it, which\n * also hide the loader and start the page's entrance effects without waiting for the intro.\n * With an Animation loader on the page it follows it instead: the loader's white panel is the background, the logo\n * leaves when its counter reaches 100, and the page appears through the loader's own exit.\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Preloader({duration,exitDuration,exitCurve,target,loader,introLayers,introLength,startWidth,maxWidth,images,interval,background}){void startWidth;void maxWidth;const onCanvas=RenderTarget.current()===RenderTarget.canvas;const[skipped]=useState(()=>!onCanvas&&cameFromInsideTheSite());const[done,setDone]=useState(skipped);const id=useId().replace(/:/g,\"\");const root=useRef(null);const backdrop=useRef(null);const logo=useRef(null);const wafer=useRef(null);const photo=useRef(null);const dot=useRef(null);const ink=useRef(null);const light=useRef(null);const tag=useRef(null);// The loader's box lets clicks through once its panel has closed, or as soon as it shows up when the intro is skipped\n// (its panel is hidden then, but the box is still there).\nuseEffect(()=>{if(onCanvas||!loader)return;restoreLoaderClicks(loader);let stopped=false;let settled=false;let undo=()=>{};until(()=>stopped||loaderHeight(loader)>0,skipped?LOADER_TIMEOUTS.closing:LOADER_TIMEOUTS.found).then(()=>skipped?undefined:until(()=>stopped||loaderHeight(loader)<=LOADER_CLOSED_HEIGHT+2,LOADER_TIMEOUTS.closing+LOADER_TIMEOUTS.closed)).then(()=>{if(stopped)return;undo=letClicksThrough(loader);settled=true;});return()=>{stopped=true;if(!settled)undo();};},[]);useEffect(()=>{if(skipped)return startIntroEffectsEarlier(introLayers,introLength*1e3);},[]);useEffect(()=>{if(onCanvas||done)return;if(playing&&playing!==root.current&&playing.isConnected&&playing.getClientRects().length>0){setDone(true);return;}playing=root.current;const start=mountedBefore?performance.now():0;mountedBefore=true;// Scrolling is blocked without touching the page's overflow: hiding the scrollbar would lay the page out again\n// (15 px wider on Windows) and move the navbar logo away from where the logo lands.\n// Lenis listens on window; stop wheel and touch scrolling on their way there. Whatever still scrolls the page (the\n// scrollbar, the browser restoring the scroll of a reload) is put back at the top, where the intro lands.\nconst block=event=>{event.preventDefault();event.stopPropagation();};const blockKeys=event=>SCROLL_KEYS.has(event.key)&&block(event);const stay=()=>window.scrollTo({top:0,left:0,behavior:\"instant\"});const overlay=root.current;stay();window.addEventListener(\"wheel\",block,{capture:true,passive:false});window.addEventListener(\"touchmove\",block,{capture:true,passive:false});window.addEventListener(\"keydown\",blockKeys,true);window.addEventListener(\"scroll\",stay);const curve=parseCurve(exitCurve);const loaderExit={duration:exitDuration*1e3,easing:`cubic-bezier(${curve.join(\", \")})`};const total=duration*1e3;const hold=total*.3;const move=total*.5;const reveal=total*.2;let showGoal=()=>{};const reducedMotion=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;// The wafer cycles through its photos like \"oblea 2\" until the logo leaves.\nconst photos=Array.from(photo.current.children);let shown=0;const cycle=photos.length>1&&!reducedMotion?window.setInterval(()=>{photos[shown].style.visibility=\"hidden\";shown=(shown+1)%photos.length;photos[shown].style.visibility=\"visible\";},interval*1e3):0;const stopCycle=()=>window.clearInterval(cycle);async function play(){// The loader can mount a moment after the preloader.\nif(loader)await until(()=>loaderHeight(loader)>0,LOADER_TIMEOUTS.found);const panelHeight=loader?loaderHeight(loader):0;const following=panelHeight>0;// How far into the loader's exit the flight starts, so both still end together.\nlet ahead=0;const begin=animation=>startNow(animation,ahead);if(following){// The loader's panel is the background; the backdrop only keeps hiding the navbar, which sits above the panel.\nconst covered=Math.max(0,visibleLoader(loader).getBoundingClientRect().top,navbarBottom(target));backdrop.current.style.bottom=`${overlay.clientHeight-covered}px`;// The Animation loader already provides the white panel; keep this backdrop transparent so it never covers\n// the loader's top-right counter.\nbackdrop.current.style.opacity=\"0\";// The loader's exit is the cue: everything leaves with it and arrives as it ends.\nawait until(()=>loaderHeight(loader)<panelHeight-1,LOADER_TIMEOUTS.closing);ahead=loaderExitElapsed(loaderHeight(loader),panelHeight,curve,loaderExit.duration);}else{// On the first mount the overlay was already in the server HTML, so the hold counts from the start of the visit.\nawait Promise.all([wait(hold-(performance.now()-start)),pageLoaded(LOAD_TIMEOUT)]);}stopCycle();const goal=reducedMotion?null:findGoal(target);if(!goal){await overlay.animate([{opacity:1},{opacity:0}],{duration:Math.min(reveal,300),easing:EASE_OUT,fill:\"forwards\"}).finished;return;}// The navbar's own logo stays hidden until this one is on top of it, then they swap in the same frame.\nconst goalVisibility=goal.element.style.visibility;goal.element.style.visibility=\"hidden\";showGoal=()=>goal.element.style.visibility=goalVisibility;const flight=following?loaderExit:{duration:move,easing:EASE_IN_OUT};const moving={...flight,fill:\"forwards\"};const from=logo.current.getBoundingClientRect();const landed=begin(logo.current.animate([{transform:\"none\"},{transform:`translate(${goal.left-from.left}px, ${goal.top-from.top}px) scale(${goal.width/from.width})`}],moving)).finished;begin(wafer.current.animate([{transform:\"none\"},{transform:WAFER_TO_DOT}],moving));// The photo gives way to the teal dot, so no photo edge is left around it.\nconst toDot={duration:flight.duration*.6,delay:flight.duration*.4,easing:\"ease\",fill:\"forwards\"};begin(dot.current.animate([{opacity:0},{opacity:1}],toDot));begin(photo.current.animate([{opacity:1},{opacity:0}],toDot));// The ink letters hand over to letters in the navbar's colour. Following the loader this happens on the way, as\n// the page appears; alone it waits for the landing, because the white backdrop is still behind the logo.\nif(!following)await landed;light.current.setAttribute(\"fill\",goal.fill);tag.current.setAttribute(\"fill\",goal.fill);const fading=following?{duration:flight.duration*.4,delay:flight.duration*.6,easing:\"ease\",fill:\"forwards\"}:{duration:reveal,easing:\"ease\",fill:\"forwards\"};begin(ink.current.animate([{opacity:1},{opacity:0}],fading));begin(light.current.animate([{opacity:0},{opacity:1}],fading));if(goal.tag)begin(tag.current.animate([{opacity:0},{opacity:1}],fading));if(following){await Promise.all([landed,until(()=>loaderHeight(loader)<=4,LOADER_TIMEOUTS.closed)]);return;}await backdrop.current.animate([{opacity:1},{opacity:0}],{duration:reveal,easing:EASE_OUT,fill:\"forwards\"}).finished;}play().finally(()=>{stopCycle();if(playing===overlay)playing=null;showGoal();if(loader)letClicksThrough(loader);window.removeEventListener(\"wheel\",block,true);window.removeEventListener(\"touchmove\",block,true);window.removeEventListener(\"keydown\",blockKeys,true);window.removeEventListener(\"scroll\",stay);setDone(true);});},[]);if(done&&!onCanvas)return skipped&&loader?/*#__PURE__*/_jsx(\"style\",{children:`${loader} { visibility: hidden !important; }`}):null;const chosen=(images??[]).flatMap(image=>image?.src?[image.src]:[]);const sources=chosen.length>0?chosen:OBLEA_IMAGES;const scope=`ardora-preloader-${id}`;// Start pose in CSS so the server HTML already shows it: the width of a centred frame of at most FRAME_MAX_WIDTH with\n// fixed side margins, anchored bottom-left like Container-logo 2's Align-bottom. Short windows shrink it so the wafer\n// stays inside the viewport.\nconst desktopWidth=`calc((min(100vw, ${FRAME_MAX_WIDTH}px) - 96px) * ${528/LETTERS_WIDTH})`;const phoneWidth=`calc((100vw - 40px) * ${528/LETTERS_WIDTH})`;const css=`\n        .${scope} .logo { left: max(48px, calc((100vw - ${FRAME_MAX_WIDTH}px) / 2 + 48px)); bottom: 10px;\n            ${fitHeight(desktopWidth,10,TOP_ROOM.desktop)} }\n        @media (max-width: 809.98px) {\n            .${scope} .logo { left: 20px; bottom: 20px;\n                ${fitHeight(phoneWidth,20,TOP_ROOM.phone)} }\n            ${loader&&`html:has(${loader}) .${scope} .logo { bottom: ${PHONE_COUNTER_ROOM}px;\n                ${fitHeight(phoneWidth,PHONE_COUNTER_ROOM,TOP_ROOM.phone)} }`}\n        }\n    `;const content=/*#__PURE__*/_jsxs(\"div\",{ref:logo,className:\"logo\",style:{position:\"absolute\",aspectRatio:\"528 / 120\",transformOrigin:\"0 0\",willChange:\"transform\",...onCanvas&&{left:16,bottom:12,width:200*(528/LETTERS_WIDTH)}},children:[/*#__PURE__*/_jsxs(\"div\",{ref:wafer,style:{position:\"absolute\",...WAFER_BOX,aspectRatio:\"1\",borderRadius:\"50%\",overflow:\"hidden\",transformOrigin:\"50% 50%\",willChange:\"transform\"},children:[/*#__PURE__*/_jsx(\"div\",{ref:photo,style:{position:\"absolute\",inset:0},children:sources.map((src,index)=>/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",...src.split(\"?\")[0]===WAFER?WAFER_PHOTO_BOX:PHOTO_BOX,backgroundImage:`url(${src})`,backgroundSize:\"cover\",backgroundPosition:\"center\",visibility:index===0?\"visible\":\"hidden\"}},`${index}-${src}`))}),/*#__PURE__*/_jsx(\"div\",{ref:dot,style:{position:\"absolute\",inset:0,background:TEAL,opacity:0}})]}),/*#__PURE__*/_jsxs(\"svg\",{viewBox:\"0 0 528 120\",\"aria-label\":\"Ardora\",role:\"img\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"visible\"},children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsx(\"clipPath\",{id:`${scope}-letters`,children:/*#__PURE__*/_jsx(\"rect\",{x:-10,y:-10,width:473,height:140})}),/*#__PURE__*/_jsx(\"clipPath\",{id:`${scope}-tag`,children:/*#__PURE__*/_jsx(\"rect\",{x:463,y:-10,width:75,height:140})})]}),/*#__PURE__*/_jsx(\"path\",{ref:ink,d:LETTERS,fill:INK,clipPath:`url(#${scope}-letters)`}),/*#__PURE__*/_jsx(\"path\",{ref:light,d:LETTERS,fill:\"#fff\",opacity:0,clipPath:`url(#${scope}-letters)`}),/*#__PURE__*/_jsx(\"path\",{ref:tag,d:LETTERS,fill:\"#fff\",opacity:0,clipPath:`url(#${scope}-tag)`})]})]});// On the canvas it is a still of the start pose; on the site it is position fixed and takes no room in the page.\nif(onCanvas){return /*#__PURE__*/_jsx(\"div\",{className:scope,style:{position:\"relative\",width:240,height:165,background,overflow:\"hidden\"},children:content});}return /*#__PURE__*/_jsxs(\"div\",{ref:root,className:scope,style:{position:\"fixed\",inset:0,zIndex:9999},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(\"div\",{ref:backdrop,style:{position:\"absolute\",inset:0,background}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\"},children:content})]});}Preloader.defaultProps={duration:2.5,exitDuration:LOADER_EXIT_DURATION,exitCurve:LOADER_CURVE.join(\", \"),target:'[data-framer-name^=\"logo-morph\"]',loader:'[data-framer-name=\"container-wrap\"]',introLayers:\"hero-content, hero-visual, facts-row\",introLength:4.7,startWidth:70,maxWidth:HOME_LOGO_MAX_WIDTH,interval:OBLEA_INTERVAL,background:\"#FFFFFF\"};addPropertyControls(Preloader,{duration:{type:ControlType.Number,title:\"Duration\",defaultValue:2.5,min:1,max:8,step:.1,unit:\"s\"},exitDuration:{type:ControlType.Number,title:\"Exit\",defaultValue:LOADER_EXIT_DURATION,min:.1,max:3,step:.05,unit:\"s\",description:\"Same as the loader's Variant 2 → 3 transition.\"},exitCurve:{type:ControlType.String,title:\"Exit curve\",defaultValue:LOADER_CURVE.join(\", \"),placeholder:\"0.77, 0.02, 0.24, 1\",description:\"Cubic bezier of that transition.\"},startWidth:{type:ControlType.Number,title:\"Start width\",defaultValue:70,min:30,max:100,unit:\"vw\"},maxWidth:{type:ControlType.Number,title:\"Max width\",defaultValue:HOME_LOGO_MAX_WIDTH,min:200,max:2400,unit:\"px\",description:\"Letters' widest size, as the logo on /.\"},images:{type:ControlType.Array,title:\"Images\",control:{type:ControlType.ResponsiveImage},maxCount:8,description:\"Wafer photos in order. Empty: the oblea 2 ones.\"},interval:{type:ControlType.Number,title:\"Interval\",defaultValue:OBLEA_INTERVAL,min:.2,max:5,step:.1,unit:\"s\",description:\"Time each photo stays on.\"},background:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},target:{type:ControlType.String,title:\"Navbar logo\",defaultValue:'[data-framer-name^=\"logo-morph\"]'},loader:{type:ControlType.String,title:\"Loader\",defaultValue:'[data-framer-name=\"container-wrap\"]'},introLayers:{type:ControlType.String,title:\"Intro layers\",defaultValue:\"hero-content, hero-visual, facts-row\",placeholder:\"hero-content, facts-row\",description:\"Layer names, comma separated, whose entrance effects wait for the intro.\"},introLength:{type:ControlType.Number,title:\"Intro length\",defaultValue:4.7,min:0,max:15,step:.1,unit:\"s\",description:\"After a page change inside the site, those effects start this much earlier.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Preloader\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\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