{"version":3,"file":"NeuralDomainPanel.BA8AyTiM.mjs","names":["useRef","useState","useCallback","useId","_Fragment","useEffect","useLayoutEffect","Component","__esmMin","window","ie","le","ne","init_ssg_sandbox_shims","_e","Ja","de","init_jsx_runtime","H","Ha","init_npm_react_dom_18_3_1","I","c","p","init_npm_react_18_3_1","ce","navigator","init_framer_BWFVvmND","useIsStaticRenderer","RenderTarget","addPropertyControls","ControlType","init_NeuralDomainCopy","DOMAIN_COPY","_define_property","key","obj","value","bandMiddle","box","band","arrivalPoint","fresh","ARRIVAL","PRESS_FRESH_MS","middle","rect","detail","sized","centre","from","unmatched","reach","MATCH_REACH","measureJourney","still","zone","stage","frame","ox","oy","fx","fy","image","plate","drawn","ax","ay","height","point","to","scale","START_SCALE","splitCurve","x1","y1","x2","y2","points","curve","bezier","a","u","b","parameter","at","low","high","i","split","mix","r","q","d","e","f","css","values","piece","head","u1","u0","width","cuts","index","historyToken","state","browserAnimatedBack","animated","event","phoneBackPop","below","PHONE_BELOW","added","PHONE_BACK","panelWindow","phoneBackWindow","open","stackedLayout","layout","setDrag","targets","setVariable","target","offset","opacity","artPlacement","ratio","domain","ART_FRAME","percent","replaced","left","top","right","bottom","clampTempo","tempo","addPageProperties","PAGE_PROPERTIES","style","PANEL_PROPERTIES","settleBodyLines","rowsOf","rows","range","walker","paragraph","node","text","word","match","boxes","row","widths","endsWell","last","measure","least","passes","fontsLoaded","paragraphs","places","field","ghost","heldStill","cache","place","known","remember","natural","content","room","lineHeight","pair","column","most","chosen","limits","reference","rag","lines","element","property","contentTop","dialog","fitArt","navigation","line","trimmed","artBottom","tickBottom","bar","cue","trim","placeSides","stacked","fit","wide","asStyled","SIDE_QUERY","preferSides","cells","scrolls","linesNow","cell","placing","SIDE_LINES_MAX","gap","padding","floor","art","side","widen","linesAt","widest","artTop","textTop","textBottom","clear","SIDE_CLEARANCE","fits","sideScrolls","snapToPixels","current","writes","moved","before","after","holderSelector","lineSelector","tickSelector","holder","tick","shift","wrapIndex","NM_DOMAINS","hostIsVisible","root","visibilityRoot","announcePanelState","PANEL_STATE_EVENT","Arrow","backwards","ringLap","radius","h","w","k","ringGlide","x","xt","dx","reducedMotion","REDUCED_MOTION","ringPut","rate","s","ringIdle","el","RING","ringLand","ringAnimation","animation","ringFrame","now","ringSteer","ringTarget","ms","RING_MOTION","ringFlag","was","set","bit","ringSized","entry","entries","first","lap","ringRestart","ringListen","type","RING_EVENTS","on","RING_KEYS","watchRing","unwatchRing","sparkleSrgb","n","hex","sparkleLinear","colour","v","sparkleContext","attributes","canvas","sparkleShader","shader","gl","source","log","createSparkle","tint","star","SPARKLE","white","nowhere","program","uniforms","keepOut","setup","vertex","SPARKLE_VERTEX","fragment","SPARKLE_FRAGMENT","made","name","container","time","hover","hoverTarget","clickValue","clickPending","raf","visible","lost","disposed","broken","draw","stop","onFail","delta","hoverSpeed","settled","start","resize","seen","motionChanged","onLost","onRestored","ButtonSparkle","button","buttonRef","layer","layerRef","label","labelRef","sparkle","GLASS_BUTTON","boostRef","observer","x0","y0","mirrored","GlassButton","rootRef","sparkleRef","failed","setFailed","onReadyRef","onReady","live","frames","watch","GLASS_FAILED","mounted","flash","className","href","onClick","GlassBoundary","cubicBezier","t","cx","bx","cy","by","curveX","curveY","slopeX","error","slope","easingOf","spec","EASINGS","CHOREOGRAPHY","CSS_EASINGS","parsed","easing","sampleRun","anim","run","active","progress","offsets","segment","span","local","eased","prop","keyframeOf","props","sx","sy","BLUR_MAX","sweep","SWEEP_FEATHER","along","direction","shown","size","position","warnOnce","warned","message","partOf","byPart","elements","momentTotal","total","motion","layers","step","counts","pinnedInLine","burstHold","BURST","interval","burstTiming","readout","role","duration","delay","CONTENT_LAYERS","burst","createMotionEngine","records","partings","snapRuns","momentId","openMoment","scrollTimer","closing","holdColumn","getDialog","children","child","outOf","restOf","decor","MOTION_REST","rest","DECOR","item","valuesOf","slotKey","data","valuesAt","newMoment","seal","moment","all","play","reduced","context","ordered","large","LARGE_LAYERS","declare","declared","keys","track","shared","perPart","part","sets","count","segmentEasings","spread","copy","pinned","extras","own","DRAG_CONTAINERS","seed","carried","EPSILON","endsAtRest","runOffsets","eases","easingCss","runDelay","runDuration","ancestors","t0","strength","product","COMPENSATION_STEPS","probe","resampled","full","keyframes","previous","held","GATED_LAYERS","READY","options","subject","ready","cap","PILL_COMMIT_CAP","READY_TIMEOUT","created","ofClose","resumed","resume","query","selector","wholes","statics","copies","of","closeParting","playLayers","LAYER_NAMES","skipWhole","playDecor","pauseAll","except","playSampled","runClose","definition","elapsed","closeTotal","REVERSE","back","sink","shares","artStep","handled","end","y","done","SINK_SHARE","holding","share","grab","running","scrolled","note","list","OPAQUE_LAYERS","covering","seeds","parked","moving","createPillSizer","sizing","release","phone","PHONE_QUERY","faces","ownerOf","face","loosen","loose","keep","commit","gate","resolve","began","check","engine","getEngine","out","preloadArt","src","srcSet","PRELOADED","decodeWithin","timer","backdropGeometry","sigma","BITMAP_DETAIL","bitmapKey","geometry","focal","smallImageUrl","url","loadSmallImage","pending","SMALL_IMAGES","sizeOf","blob","loadSmallSource","SMALL_SOURCES","viaImage","response","drawnSize","cover","small","decodeSmall","warmPump","WARM_QUEUE","DECODES","warmLater","warmPending","warmDecode","takeDecode","queued","kept","watchScroll","change","scrollWatchers","onPageScroll","pageIsScrolling","page","lenis","lastScrollAt","SCROLL_REST_MS","nextSlice","later","attempt","job","URGENT_SLICE_MS","IDLE_SLICE_MS","id","deadline","SLICE_MIN_MS","boxesForGauss","ideal","lower","upper","m","boxPass","horizontal","length","stride","base","channel","sum","add","remove","blurSteps","pixels","sigmaX","sigmaY","timeLeft","BLUR_LINES","alpha","inverse","pass","scaledSource","bitmap","drawnWidth","drawnHeight","half","buildBitmap","imageWidth","imageHeight","kx","bitmapWidth","ky","bitmapHeight","scaled","blur","requestBackdrop","BITMAPS","BITMAPS_PENDING","BITMAP_JOBS","urgent","BackdropCopy","copyRef","canvasRef","mode","setMode","ssrSafe","modeRef","staticRender","useIsomorphicLayoutEffect","show","finish","ArtPlate","plateRef","imageRef","staticTarget","NeuralDomainPanel","isStatic","routeIndex","routeMode","routeRef","host","setHost","setCurrent","setClosing","setReduced","setStacked","arrival","setArrival","glassLive","setGlassLive","glassReady","setGlassReady","glassDrawn","currentRef","reducedRef","arrivalRef","ownerRef","dialogRef","layoutRef","dragOffsetRef","settledRef","placedRef","backdropPressRef","titleRef","bandRef","returnFocusRef","closingRef","timersRef","closedAnnouncedRef","pendingRef","latestChangeRef","shownRef","stackedRef","lastPressRef","openedRef","engineRef","pillsRef","lastChangeRef","tempoRef","phoneMode","phoneModeRef","instanceId","titleId","leadId","isOpen","pills","fn","clearTimers","contextFor","gesture","releaseOwnership","mountGlass","GLASS_MOUNT","closePanel","finished","closeAtOnce","closeFromBack","atOnce","navigate","slug","snapshot","showing","MAX_LEAVING","leaving","next","navigateRef","preference","updateMotion","press","openDomain","activeOwner","slugIndex","opening","token","PANEL_EVENT","body","scrollX","scrollY","scrollbar","saved","focusTitle","focusTimer","keydown","buttons","focused","resting","containFocus","priority","pointer","dragging","startX","startY","originX","originY","touchPhone","lastX","lastTime","velocity","suppressClick","wheelTimer","wheelAxis","wheelLocked","lastWheel","wheelVelocity","busy","DRAG_TARGETS","setOffset","fade","catchMotion","caught","springBack","speed","endDrag","fast","reversing","far","flick","sideways","pointerDown","pointerMove","dy","pointerEnd","lostCapture","click","wheel","update","inkShift","font","tracking","title","leavingText","refine","resizeFrame","glassDelay","settleEntrance","propertiesRef","images","artOf","NM_DOMAIN_ART","artOfRef","cancelled","idle","saveData","work","task","loaded","near","started","maybeStart","onLoad","onScreen","leavingOldestFirst","copyAttributes","slot","ghosts","navFace","l","owner","Heading","panel","PANEL_CSS_REST","PANEL_CSS","DECOR_CSS","PHONE_PANEL_CSS","OPEN_FOCUS","SOFT","EXIT","GLIDE","ARRIVE_MS","ARRIVE_CUTS","ARRIVE_OFFSETS","ARRIVE","ARRIVE_SOLID","UNMATCHED_RAMP","arriveOpacity","CLOSE_SAMPLES","HOME_FADE","CLOSE_OFFSETS","exitCurve","closeTrack","way","drift","rollOut","rollIn","outward","bloomDims","PROPERTY_RULE","ringOf","within","init_NeuralDomainPanel","reached","times","solid","home","\"biology\"","\"mathematics\"","\"physics\"","\"neuroscience\"","\"psychology\"","\"philosophy\"","\"history\"","\"anthropology\"","\"technology\"","other","args"],"sources":["https:/framerusercontent.com/modules/2SK8rUht6qGiCjbpYe74/4BtrsHr7Vz3szXTk5zQB/NeuralDomainPanel.js"],"sourcesContent":["function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{Component,createElement,useCallback,useEffect,useId,useLayoutEffect,useRef,useState}from\"react\";import{createPortal,flushSync}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{DOMAIN_COPY}from\"https://framerusercontent.com/modules/7GrnfU8cu3Z7Cvmlh5BA/MrIuhJrr4nVlALbqyYPe/NeuralDomainCopy.js\";// ==== MOTION: the choreography ======================================================================\n// Every movement the panel makes is written here, as data, and played by the small engine further\n// down (\"MOTION: the engine\") with the Web Animations API. Nothing else moves the panel. A concept\n// changes CHOREOGRAPHY (and DECOR) and leaves the engine alone; the README beside this file has the\n// format, an annotated example and the commands that capture and measure a concept.\n//\n//   moment -> layer -> role -> step\n//\n// Moments: open (from the carousel), close, turn (Previous, Next, the arrow keys, an open-domain event\n// for another domain while open), dragCommit (a drag, swipe or trackpad swipe that changes the domain;\n// its context carries the release velocity and offset), snapBack (one that does not), and reducedOpen,\n// reducedClose and reducedTurn, played under prefers-reduced-motion instead (opacity only, 150-250ms,\n// Motion Tempo ignored; a reduced drag commits with reducedTurn and springs back at once).\n// Layers (see LAYER_NAMES), each a fixed set of elements:\n//   veil        the dark ground the panel stands on (and, on a phone, the two bars' grounds)\n//   atmosphere  the blurred artwork behind everything (copies: one per domain on screen)\n//   art         the artwork's stage (its halo and frame) and, as copies, each domain's plate\n//   header      the index line, the title and the lead (parts 0, 1, 2); copies: number, title, lead\n//   sections    the lens and your music (parts 0, 1); copies: their texts; static: their labels\n//   nav         the Previous and Next pills (parts 0, 1), with their rings\n//   navLabel    copies: the name on each pill (part 0 Previous, part 1 Next)\n//   track       the hairline's halves (parts 0, 1 in the navigation; on a phone the band's line)\n//   tick        the red ticks on the axis\n//   close       the close button\n//   column      a phone's scrolling column (the header, the artwork, the sections), used by the\n//               scrolled reset: when a change starts below the top, the column dips out, the panel\n//               returns to the top unseen at resetAt, and the column comes back.\n// Roles:\n//   whole   the layer's fixed elements. Open and close animate these.\n//   in      the copies of the domain arriving.\n//   out     the copies of the domain just left (older leaving copies keep doing what they were).\n//           A layer with no out step leaves them alone: an arrival still under way keeps arriving\n//           underneath, a resting one stays, and both go when the change has settled.\n//   static  what does not change between domains but a drag moved: the index line, the sections'\n//           labels (dragCommit returns them to rest from where the drag left them) and, for track,\n//           the hairline's parting at the tick (its keys are ignored; it closes over the step).\n// Steps: { keys, duration, delay?, easing?, offsets?, easings?, stagger?, staggerReverse?, mirror?,\n//          relative?, origin?, sweepAxis?, sweepReverse?, parts? }\n//   keys      keyframe values per property, or a function of the moment's context (MotionContext)\n//             returning them: opacity, x, y (px), scale, scaleX, scaleY, blur (px, at most 8, text\n//             layers only) and sweep (0 hidden to 1 shown: a feathered mask edge, text layers only).\n//   duration, delay, stagger  ms at Motion Tempo 1; the tempo divides all three.\n//   easing    a name in CHOREOGRAPHY.easing, or any CSS cubic-bezier(); easings: one per segment.\n//   offsets   where each keyframe falls (0..1); every track in a step shares them.\n//   stagger   ms between the targets, in part order; staggerReverse true or \"dir\" (reversed when\n//             going to the previous domain) runs them the other way.\n//   mirror    x values change sign when going to the previous domain.\n//   relative  x and y values are added to where the element is when the step starts.\n//   origin    transform-origin while it plays. sweepAxis \"y\" (default) or \"x\", sweepReverse flips it.\n//   parts     (m-final) { [data-nm-part]: keys }: the targets of that part take these keys in place\n//             of `keys`, with the step's timing (the index digits roll while the title travels; the\n//             two sections ease in opposite directions).\n// What the engine guarantees whatever is written here:\n//   - A step starts from what is on screen: its first keyframe becomes the element's current value\n//     whenever the element is moving or has been moved (an interrupted arrival, a dragged copy).\n//   - Properties a moving element is away from rest on, but that the step does not name, return to\n//     rest (in, whole, static) or hold still (out).\n//   - in, whole and static steps end at rest (opacity 1, no transform, no filter, no mask) except in\n//     close; the engine warns in the console otherwise. Decor rests at opacity 0.\n//   - blur and sweep are dropped on the large layers (veil, atmosphere, art, column).\n//   - The artwork and the atmosphere wait (240ms at most) for their image before they appear.\n// Never per domain: one choreography serves every domain and every length of copy.\n// ---- \"From the Image, refined\" --------------------------------------------------------------------\n// The open grows out of the carousel image that was pressed: only the artwork lifts off it (its dark\n// halo and the blue light come once the ground is nearly up), travels and grows into place, while the\n// red tick and the hairline draw out at the bottom, then the words come in around it. A turn moves\n// along one horizontal axis (buttons, keys, drags alike): the words leave toward the exit and arrive\n// from the far side, the index digits roll, the artwork changes depth with a little travel, the\n// atmosphere stays still and crossfades, and the hairline folds into the tick and draws out again.\n// The close is the open reversed: back onto the carousel image when the panel still shows the domain it\n// opened on, else the artwork sinks in place.\n//\n// Where the artwork comes from. The carousel draws its images in WebGL and sends only the slug, so the\n// panel keeps the last press itself (listeners added by the panel while it is mounted, see the panel's\n// first effect; never on the canvas or a static render). When an open-domain event opens the panel,\n// the start is frozen (arrivalPoint):\n//   1. the image's own box, when the event carries one (detail.rect, viewport px: optional, sent by a\n//      carousel that knows it; an event without it works as before),\n//   2. else a press younger than PRESS_FRESH_MS on the carousel band: near the band's middle (within\n//      MATCH_REACH), the middle itself, where the centred image is (the carousel centres its row of\n//      images in its canvas); further out (a side image, which the carousel shows smaller and\n//      tilted) the press's x on the band's middle row, and the start is unmatched: the artwork\n//      cannot lie over that image, so it stays faint until the ground is up (see the open's art\n//      step) instead of showing beside the image it came from. A press off the carousel: its point.\n//   3. else the middle of the focused carousel (a keyboard open), else the middle of the window\n//      (a screen-reader list, a plain event).\n// The way there is measured once, just before the moment's first frame (measureJourney), from\n// untransformed geometry: the artwork zone's box (never transformed) plus the offsets of the stage,\n// the frame, the plate and the image inside it (offsets ignore transforms). Nothing is read while\n// anything moves. Nothing here depends on the domain or on the length of the copy.\nconst PRESS_FRESH_MS=600;// How far from the band's middle a press still lands on the centred image: the smaller of these\n// shares of the band's width and height (the images are sized by the band's height). Measured\n// (proof/band-geometry.mjs): the centred image reaches 0.17-0.21 of the band's height from the middle\n// and the next image starts 0.26-0.28 out, at 1440x900 and 1366x657.\nconst MATCH_REACH={width:.15,height:.22};// The start's size without the image's box: the carousel image is about 0.83 of the panel's artwork\n// at 1440x900 (480px against 578px, measured with the image's box). On a phone (under 700px) the two\n// already nearly coincide and the artwork only travels: a scaled stage there leaves the image rastered\n// at the animation's scale after it ends (measured: mean 2.8 levels off at rest), a translation does not.\nconst START_SCALE=.85;// The header's focus pull in the open (px of blur, 0 for none): see the open below. Kept because it\n// does not delay the first motion: open-from-carousel, perf.mjs 3 runs each in the same minutes,\n// first motion 259ms (runs 236-533) against m-foundation's 226ms (114-304); without it\n// (variants/noblur.tsx) it was no faster.\nconst OPEN_FOCUS=4;// Shared by the panel and the choreography's functions; plain data (the panel writes it, see above).\nconst ARRIVAL={press:null,from:null,home:null,band:null,unmatched:false,journey:{from:{x:0,y:0,scale:1},home:{x:0,y:0,scale:1}},homeward:true};// The middle of a carousel band (viewport px), or null where it has no box.\nfunction bandMiddle(band){const box=band?.getBoundingClientRect();return box&&box.width>0&&box.height>0?{x:box.left+box.width/2,y:box.top+box.height/2,width:box.width,height:box.height}:null;}// Where an open starts (see above). Reads the carousel canvas's box once, in the open-domain event,\n// before the panel renders.\nfunction arrivalPoint(detail){const fresh=ARRIVAL.press&&performance.now()-ARRIVAL.press.t<=PRESS_FRESH_MS?ARRIVAL.press:null;const band=fresh?.canvas??(document.activeElement instanceof HTMLCanvasElement?document.activeElement:null);const middle=bandMiddle(band);const rect=detail?.rect;const sized=rect&&[rect.x,rect.y,rect.width,rect.height].every(value=>Number.isFinite(value))&&rect.width>0&&rect.height>0;const centre={x:window.innerWidth/2,y:window.innerHeight/2};let from;let unmatched=false;if(sized)from={x:rect.x+rect.width/2,y:rect.y+rect.height/2,h:rect.height};else if(fresh&&middle&&fresh.canvas===band){const reach=Math.min(MATCH_REACH.width*middle.width,MATCH_REACH.height*middle.height);unmatched=Math.abs(fresh.x-middle.x)>reach;from={x:unmatched?fresh.x:middle.x,y:middle.y,h:null};}else if(fresh)from={x:fresh.x,y:fresh.y,h:null};else from={x:(middle??centre).x,y:(middle??centre).y,h:null};ARRIVAL.from=from;ARRIVAL.unmatched=unmatched;ARRIVAL.band=middle?band:null;// As it wakes, the carousel brings the opened image to its middle.\nARRIVAL.home=middle?{x:middle.x,y:middle.y,h:from.h}:from;ARRIVAL.press=null;}// The journey to (or from) a point, from the layout at rest: the zone's box (the zone is never\n// transformed, nor is anything above it) and offsets inside it, which ignore the transforms of the\n// stage, the frame (a drag) and the plate (a turn). Called once per open or close, before it plays.\nfunction measureJourney(c,to){const still={x:0,y:0,scale:1};if(typeof document===\"undefined\")return still;const zone=document.querySelector(\".nm-domain-panel .nm-domain-art-zone\");const stage=zone?.querySelector(\".nm-domain-art-stage\");const frame=stage?.querySelector(\".nm-domain-art-frame\");if(!zone||!stage||!frame)return still;const box=zone.getBoundingClientRect();// The stage's centre (its transform origin) and the frame's corner, in the viewport.\nconst ox=box.left+stage.offsetLeft+stage.offsetWidth/2;const oy=box.top+stage.offsetTop+stage.offsetHeight/2;const fx=box.left+stage.offsetLeft+frame.offsetLeft;const fy=box.top+stage.offsetTop+frame.offsetTop;const image=frame.querySelector('[data-nm-copy=\"in\"] img.nm-domain-art');const plate=image?.parentElement;const drawn=image&&plate&&image.offsetWidth>0&&image.offsetHeight>0;const ax=drawn?fx+plate.offsetLeft+image.offsetLeft+image.offsetWidth/2:ox;const ay=drawn?fy+plate.offsetTop+image.offsetTop+image.offsetHeight/2:oy;const height=drawn?image.offsetHeight:frame.offsetHeight;const point=(to===\"home\"?ARRIVAL.home:ARRIVAL.from)??{x:c.width/2,y:c.height/2,h:null};const scale=c.phone?1:point.h&&height>0?Math.min(1,Math.max(.6,point.h/height)):START_SCALE;// A phone column scrolled away from the artwork: no journey across the screen.\nif(!(oy>0&&oy<window.innerHeight))return{x:0,y:0,scale};return{x:point.x-ox-scale*(ax-ox),y:point.y-oy-scale*(ay-oy),scale};}// One curve cut at shares of its time: each piece as a CSS curve, and how far the curve has gone at\n// 0, at each cut and at 1. A step whose opacity changes pace at the cuts (offsets [0, ...cuts, 1])\n// then still moves its other tracks along exactly one curve, without a seam at any cut.\nfunction splitCurve(points,cuts){const[x1,y1,x2,y2]=points;const curve=[[0,0],[x1,y1],[x2,y2],[1,1]];const bezier=(a,b,u)=>3*a*u*(1-u)*(1-u)+3*b*u*u*(1-u)+u*u*u;// The curve's parameter where its time is `at`.\nconst parameter=at=>{if(at<=0)return 0;if(at>=1)return 1;let low=0;let high=1;let u=at;for(let i=0;i<48;i++){u=(low+high)/2;if(bezier(x1,x2,u)<at)low=u;else high=u;}return u;};// de Casteljau: the control points of the part of q before u, and after it.\nconst split=(q,u)=>{const mix=(p,r)=>[p[0]+(r[0]-p[0])*u,p[1]+(r[1]-p[1])*u];const a=mix(q[0],q[1]);const b=mix(q[1],q[2]);const c=mix(q[2],q[3]);const d=mix(a,b);const e=mix(b,c);const f=mix(d,e);return{before:[q[0],a,d,f],after:[f,e,c,q[3]]};};const css=values=>`cubic-bezier(${values.map(value=>Math.round(value*1e4)/1e4).join(\", \")})`;// The piece between parameters u0 < u1, scaled to the unit square.\nconst piece=(u0,u1)=>{const head=split(curve,u1).before;const q=u0>0?split(head,u0/u1).after:head;const width=q[3][0]-q[0][0];const height=q[3][1]-q[0][1];if(!(width>0)||!(height>0))return\"linear\";return css([(q[1][0]-q[0][0])/width,(q[1][1]-q[0][1])/height,(q[2][0]-q[0][0])/width,(q[2][1]-q[0][1])/height]);};const at=[0,...cuts,1].map(parameter);return{easings:at.slice(1).map((u,index)=>piece(at[index],u)),reached:at.map(u=>bezier(y1,y2,u))};}// The open's journey follows the glide curve over ARRIVE_MS: it starts gently, as if lifted, and\n// slows into place over its second half. The artwork's opacity changes pace along it (arriveOpacity),\n// so the curve is cut every 30ms up to 600ms (ms at Motion Tempo 1).\nconst SOFT=[.22,.61,.36,1];const EXIT=[.4,0,.6,1];const GLIDE=[.28,.11,.32,1];const ARRIVE_MS=1300;const ARRIVE_CUTS=Array.from({length:20},(_,i)=>30*(i+1)/ARRIVE_MS);const ARRIVE_OFFSETS=[0,...ARRIVE_CUTS,1];const ARRIVE=splitCurve(GLIDE,ARRIVE_CUTS);const along=(start,end)=>ARRIVE.reached.map(reached=>start+(end-start)*reached);// The artwork's opacity at each cut. Over the image it came from it is fully there at ARRIVE_SOLID,\n// the journey's first tenth, so nothing ghostly shows. From an image it cannot lie over\n// (ARRIVAL.unmatched: a side image, smaller and tilted) it comes in only as the ground covers that\n// image, on a smooth ramp over UNMATCHED_RAMP: 0 until 350ms (the ground 0.85), about 0.1 at 400ms\n// (0.91), fully there at 600ms. The image it left is under the ground before the artwork can be read\n// beside it, so the two never show together.\nconst ARRIVE_SOLID=150;const UNMATCHED_RAMP=[350,600];const arriveOpacity=()=>{const times=ARRIVE_OFFSETS.map(offset=>offset*ARRIVE_MS);if(!ARRIVAL.unmatched){const solid=ARRIVE.reached[times.findIndex(ms=>Math.abs(ms-ARRIVE_SOLID)<.5)];return times.map((ms,index)=>ms>=ARRIVE_SOLID-.5?1:ARRIVE.reached[index]/solid);}const[from,to]=UNMATCHED_RAMP;return times.map(ms=>{const share=Math.min(1,Math.max(0,(ms-from)/(to-from)));return share*share*(3-2*share);});};// The close's artwork, sampled (linear between CLOSE_SAMPLES + 1 keyframes) so that one step holds\n// both ways out: home, the whole step on the exit curve (it fades as it lands on the carousel image),\n// or sinking in place, done in the first SINK_SHARE of the step (gone while the ground is still up).\nconst CLOSE_SAMPLES=12;// Going home, the artwork is gone at this share of its way: it fades a little ahead of landing, so\n// that it and the carousel image never show a doubled edge as the ground lifts.\nconst HOME_FADE=.9;const SINK_SHARE=.6;const SINK_SCALE=.98;const CLOSE_OFFSETS=Array.from({length:CLOSE_SAMPLES+1},(_,i)=>i/CLOSE_SAMPLES);let exitCurve=null;const closeTrack=value=>()=>{exitCurve??=cubicBezier(...EXIT);const curve=exitCurve;const home=ARRIVAL.journey.home;return CLOSE_OFFSETS.map(t=>ARRIVAL.homeward?value(home,curve(t)):value(home,curve(Math.min(1,t/SINK_SHARE))));};// 1 toward the next domain, -1 toward the previous one (an open-domain event while open counts as next).\nconst way=c=>c.dir<0?-1:1;// A drag commit: the arrival comes from a little further for a faster throw (k up to 1.6), and what\n// the hand carried drifts on at most 40px in the direction it went.\nconst reach=c=>1+Math.min(.6,.4*Math.abs(c.velocity));const drift=c=>(Math.sign(c.offset)||-c.dir||-1)*Math.min(40,12+Math.abs(c.velocity)*24);// The header's copies: the number (part 0) rolls vertically, up toward the next domain; the title and\n// the lead (parts 1, 2) travel along the axis (x, mirrored by the step).\nconst rollOut={0:{y:c=>[0,-8*way(c)],opacity:[1,0]}};const rollIn={0:{y:c=>[8*way(c),0],opacity:[0,1]}};// The two sections ease outward from the artwork as they come in: the lens (part 0) leftward and your\n// music (part 1) rightward beside it; stacked under it (and on a phone), both downward.\nconst outward=side=>({x:c=>c.stacked?[0,0]:[12*side,0],y:c=>c.stacked?[-12,0]:[0,0],opacity:[0,1]});// A light still rising when something else begins dims where it is (decor steps start from the\n// decor's current value; at rest it is 0 and this does nothing).\nconst bloomDims={bloom:{keys:{opacity:[0,0]},duration:100,easing:\"exit\"}};const CHOREOGRAPHY={// The house curves: glide for the ground, the journey and the lines that draw (a gentle start and\n// a long, even slowing), settle for words and artwork that arrive (no snap at the start, a soft\n// landing), soft for fades and lights, exit for what leaves on a close, out for quick returns.\neasing:{out:[.22,1,.36,1],glide:GLIDE,settle:[.2,.55,.25,1],soft:SOFT,exit:EXIT,linear:[0,0,1,1]},// From the image. The ground comes up over the carousel while the artwork alone lifts off the image\n// that was pressed (solid within 0.15s; from a side image, only as the ground covers it, solid at\n// 0.6s, see arriveOpacity) and glides to its place, growing from the image's size (desktop; on a\n// phone it only travels), in one move of 1.3s that starts gently and slows over its second half.\n// Once the ground is mostly up (0.76 at 300ms) its dark halo comes in around it and a soft blue\n// light rises behind it and dims. The red tick and the hairline draw out at the bottom as it nears\n// its place, then the words resolve around it, top down, the sections easing outward from it, then\n// the close button and the pills. Complete at about 1.75s.\nopen:{layers:{veil:{whole:{keys:{opacity:[0,1]},duration:600,easing:\"glide\"}},art:{whole:{keys:{opacity:arriveOpacity,x:()=>along(ARRIVAL.journey.from.x,0),y:()=>along(ARRIVAL.journey.from.y,0),scale:()=>along(ARRIVAL.journey.from.scale,1)},offsets:ARRIVE_OFFSETS,easings:ARRIVE.easings,duration:ARRIVE_MS}},atmosphere:{whole:{keys:{opacity:[0,1]},duration:1400,delay:200,easing:\"soft\"}},tick:{whole:{keys:{opacity:[0,1],scaleY:[.5,1]},duration:600,delay:480,easing:\"settle\"}},track:{whole:{keys:{opacity:[0,1],scaleX:[0,1]},duration:1e3,delay:560,easing:\"glide\"}},header:{whole:{keys:{opacity:[0,1],...OPEN_FOCUS?{blur:[OPEN_FOCUS,0]}:{}},duration:800,delay:640,stagger:80,easing:\"settle\"}},sections:{whole:{keys:{opacity:[0,1]},parts:{0:outward(1),1:outward(-1)},duration:900,delay:800,easing:\"settle\"}},close:{whole:{keys:{opacity:[0,1]},duration:600,delay:860,easing:\"soft\"}},nav:{whole:{keys:{opacity:[0,1]},duration:700,delay:960,easing:\"soft\"}}},decor:{halo:{keys:{opacity:[0,1]},duration:700,delay:300,easing:\"soft\"},bloom:{keys:{opacity:[0,1,0],scale:[.9,1]},offsets:[0,.4,1],easings:[\"soft\",\"exit\"],duration:1100,delay:300}}},// The open reversed in 0.8s. The words, the pills and the close button go first while the hairline\n// gathers into the tick; the halo goes while the ground is still up; then the artwork goes home\n// onto the carousel image as the ground lifts (when the panel shows the domain it opened on), or\n// sinks in place and is gone before the ground lifts (after a turn: the carousel still shows the\n// first domain). {open:false} at 400ms, once the pills and the close button are out. A close during\n// the open plays the open backwards from where it is (see runClose): the artwork returns to the\n// image it came from, or, after a turn, sinks where it is.\nclose:{announceAt:400,reverseOpen:true,layers:{header:{whole:{keys:{opacity:[1,0]},duration:260,stagger:30,staggerReverse:true,easing:\"exit\"}},sections:{whole:{keys:{opacity:[1,0]},duration:260,easing:\"exit\"}},nav:{whole:{keys:{opacity:[1,0]},duration:260,easing:\"exit\"}},close:{whole:{keys:{opacity:[1,0]},duration:260,easing:\"exit\"}},track:{whole:{keys:{scaleX:[1,0],opacity:[1,.6]},duration:320,easing:\"exit\"}},tick:{whole:{keys:{opacity:[1,0],scaleY:[1,.5]},duration:240,delay:220,easing:\"exit\"}},art:{whole:{keys:{opacity:closeTrack((_,done)=>ARRIVAL.homeward?Math.max(0,1-done/HOME_FADE):1-done),x:closeTrack((home,done)=>ARRIVAL.homeward?home.x*done:0),y:closeTrack((home,done)=>ARRIVAL.homeward?home.y*done:0),scale:closeTrack((home,done)=>ARRIVAL.homeward?1+(home.scale-1)*done:1+(SINK_SCALE-1)*done)},offsets:CLOSE_OFFSETS,easing:\"linear\",duration:760,delay:60}},atmosphere:{whole:{keys:{opacity:[1,0]},duration:600,delay:60,easing:\"exit\"}},veil:{whole:{keys:{opacity:[1,0]},duration:520,delay:300,easing:\"exit\"}}},decor:{halo:{keys:{opacity:[1,0]},duration:320,delay:40,easing:\"soft\"},...bloomDims}},// One horizontal axis. The words leave 14px toward the exit and arrive from 18px on the far side\n// (mirrored going back), the number, the title, the lead and the two sections 50ms apart; the index\n// digits roll 8px (up toward the next domain). The leaving words are under 0.3 before the arriving\n// ones pass 0.1. The artwork arrives with the words: it recedes (0.98, 6px) as it fades and the next\n// comes forward (1.02 to 1) from 8px. The atmosphere stays still: the new one crossfades over the old\n// for 1.2s. The hairline folds into the tick and draws outward again; the tick beats once. Words and\n// artwork settle by about 1.1s, on the settle curve: no snap as they start, a long soft landing.\nturn:{layers:{header:{out:{keys:{x:[0,-14],opacity:[1,0]},parts:rollOut,mirror:true,duration:260,easing:\"soft\"},in:{keys:{x:[18,0],opacity:[0,1]},parts:rollIn,mirror:true,duration:720,delay:120,stagger:50,easing:\"settle\"}},sections:{out:{keys:{x:[0,-14],opacity:[1,0]},mirror:true,duration:260,delay:60,easing:\"soft\"},in:{keys:{x:[18,0],opacity:[0,1]},mirror:true,duration:720,delay:260,stagger:50,staggerReverse:\"dir\",easing:\"settle\"}},navLabel:{out:{keys:{opacity:[1,0]},duration:180,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:420,delay:220,easing:\"soft\"}},art:{out:{keys:{x:[0,-6],opacity:[1,0],scale:[1,.98]},mirror:true,duration:340,easing:\"soft\"},in:{keys:{x:[8,0],opacity:[0,1],scale:[1.02,1]},mirror:true,duration:820,delay:120,easing:\"settle\"}},atmosphere:{in:{keys:{opacity:[0,1]},duration:1200,easing:\"soft\"}},track:{whole:{keys:{scaleX:[1,0,1],opacity:[1,0,1]},offsets:[0,240/900,1],easings:[\"soft\",\"settle\"],duration:900}},tick:{whole:{keys:{scaleY:[1,1.25,1]},offsets:[0,.3,1],easings:[\"soft\",\"soft\"],duration:700,delay:100}}},decor:bloomDims,scrolled:{resetAt:290,layers:{column:{whole:{keys:{opacity:[1,0,0,1]},offsets:[0,.3,.42,1],easings:[\"exit\",\"linear\",\"soft\"],duration:840}}}}},// A drag or a trackpad swipe that changes the domain: the same axis as a turn. What the hand carried\n// drifts on (at most 40px, faster for a faster throw) and is gone 150ms (the artwork 165ms) after the\n// release (under 0.05 by the time the next title passes 0.1, so the thrown title and the arriving one\n// never read side by side); the next domain starts arriving 60-100ms after the release, from a little\n// further for a faster throw. The labels, the index line and the hairline's parting settle back\n// from where the drag left them.\ndragCommit:{layers:{header:{out:{keys:{x:c=>[0,drift(c)*.85],opacity:[1,0]},parts:rollOut,relative:true,duration:150,easing:\"soft\"},in:{keys:{x:c=>[18*reach(c),0],opacity:[0,1]},parts:rollIn,mirror:true,duration:600,delay:60,stagger:40,easing:\"settle\"},static:{keys:{x:[0,0],opacity:[1,1]},duration:420,easing:\"out\"}},sections:{out:{keys:{x:c=>[0,drift(c)],opacity:[1,0]},relative:true,duration:150,easing:\"soft\"},in:{keys:{x:c=>[18*reach(c),0],opacity:[0,1]},mirror:true,duration:600,delay:90,stagger:40,staggerReverse:\"dir\",easing:\"settle\"},static:{keys:{x:[0,0],opacity:[1,1]},duration:420,easing:\"out\"}},// The thrown artwork is gone with the words (under 0.1 by 110ms); the next one starts at 100ms\n// and passes 0.3 at about 150ms, so the two are never readable side by side.\nart:{out:{keys:{x:c=>[0,drift(c)],opacity:[1,0],scale:[1,.98]},relative:true,duration:165,easing:\"soft\"},in:{keys:{x:c=>[Math.min(8,5*reach(c)),0],opacity:[0,1],scale:[1.02,1]},mirror:true,duration:680,delay:100,easing:\"settle\"}},navLabel:{out:{keys:{opacity:[1,0]},duration:160,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:360,delay:160,easing:\"soft\"}},atmosphere:{in:{keys:{opacity:[0,1]},duration:1e3,easing:\"soft\"}},track:{whole:{keys:{scaleX:[1,0,1],opacity:[1,0,1]},offsets:[0,200/750,1],easings:[\"soft\",\"out\"],duration:750},static:{keys:{},duration:420,easing:\"out\"}},tick:{whole:{keys:{scaleY:[1,1.25,1]},offsets:[0,.3,1],easings:[\"soft\",\"soft\"],duration:600,delay:40}}},decor:bloomDims,scrolled:{resetAt:240,layers:{column:{whole:{keys:{opacity:[1,0,0,1]},offsets:[0,.3,.42,1],easings:[\"exit\",\"linear\",\"soft\"],duration:720}}}}},// A drag released short of a change returns from wherever it is.\nsnapBack:{duration:400,easing:\"settle\"},// Reduced motion: short opacity crossfades only: no journey, no light, no travel.\nreducedOpen:{layers:{veil:{whole:{keys:{opacity:[0,1]},duration:180,easing:\"soft\"}},atmosphere:{whole:{keys:{opacity:[0,1]},duration:240,easing:\"soft\"}},art:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},header:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},sections:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},nav:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},track:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},tick:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}},close:{whole:{keys:{opacity:[0,1]},duration:200,delay:40,easing:\"soft\"}}}},// In order, as Still Water: the words, then the artwork, the atmosphere and the ground.\nreducedClose:{announceAt:160,reverseOpen:true,layers:{header:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},sections:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},nav:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},track:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},tick:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},close:{whole:{keys:{opacity:[1,0]},duration:150,easing:\"exit\"}},art:{whole:{keys:{opacity:[1,0]},duration:180,delay:20,easing:\"exit\"}},atmosphere:{whole:{keys:{opacity:[1,0]},duration:200,delay:30,easing:\"exit\"}},veil:{whole:{keys:{opacity:[1,0]},duration:200,delay:50,easing:\"exit\"}}}},// Words cross over almost in sequence (two texts in one place read as a jumble); the artwork and\n// the atmosphere crossfade. 250ms in all.\nreducedTurn:{layers:{header:{out:{keys:{opacity:[1,0]},duration:120,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:150,delay:100,easing:\"soft\"}},sections:{out:{keys:{opacity:[1,0]},duration:120,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:150,delay:100,easing:\"soft\"}},navLabel:{out:{keys:{opacity:[1,0]},duration:120,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:150,delay:100,easing:\"soft\"}},art:{out:{keys:{opacity:[1,0]},duration:200,easing:\"exit\"},in:{keys:{opacity:[0,1]},duration:200,easing:\"soft\"}},atmosphere:{in:{keys:{opacity:[0,1]},duration:250,easing:\"soft\"}}},scrolled:{resetAt:110,layers:{column:{whole:{keys:{opacity:[1,0,0,1]},offsets:[0,.45,.55,1],duration:240,easing:\"linear\"}}}}}};// Decorative layers: elements that exist only to be animated (see the README beside m-foundation).\n// Both live in the artwork's stage, under the frame, so they travel with the artwork. The stage is\n// isolated (its own stacking context at rest too, which changes nothing it paints), so their z-index\n// -1 keeps them under the frame whether or not the stage is moving.\n// \"halo\" is the soft dark halo under the frame (centrefinalal's stage ::before, the same box and the\n//   same gradient, which this replaces), as an element so that the open can bring it in only once the\n//   ground is up and the close can take it out before the ground lifts: over the carousel only the\n//   artwork itself shows. At rest it is fully there (opacity 1), exactly as the ::before was.\n// \"bloom\" is the soft brand-blue light behind the artwork in the open, under the halo: brightest at\n//   the middle and thinning out evenly, so through the halo it reads as a soft glow with no edge. Its\n//   box is the halo's exactly and it never scales above 1, so it adds no scrollable overflow (the side\n//   layout is chosen by measuring the panel's overflow). Opacity 0 at rest; it always ends by dimming\n//   (a turn, a drag or a close that starts while it rises dims it where it is, bloomDims).\nconst DECOR=[{name:\"bloom\",slot:\"art\",css:`.nm-domain-panel .nm-domain-art-stage { isolation: isolate; }\n.nm-domain-panel .nm-domain-decor-bloom {\n    inset: auto; left: 50%; top: 50%; z-index: -1;\n    width: calc(var(--nm-art-h) * 1.08); height: calc(var(--nm-art-h) * 1.28);\n    translate: -50% -50%;\n    background: radial-gradient(ellipse closest-side at 50% 48%, rgba(0,75,255,.24), rgba(0,75,255,.2) 42%, rgba(0,75,255,.12) 66%, rgba(0,75,255,.05) 84%, rgba(0,75,255,.012) 95%, rgba(0,75,255,0));\n}\n@media (max-width: 699px) {\n    .nm-domain-panel .nm-domain-decor-bloom { left: -22%; top: -14%; width: 144%; height: 128%; translate: none; }\n}`},{name:\"halo\",slot:\"art\",rest:{opacity:1},css:`.nm-domain-panel .nm-domain-art-stage::before { content: none; }\n.nm-domain-panel .nm-domain-decor-halo {\n    inset: auto; left: 50%; top: 50%; z-index: -1; opacity: 1;\n    width: calc(var(--nm-art-h) * 1.08); height: calc(var(--nm-art-h) * 1.28);\n    translate: -50% -50%;\n    background: radial-gradient(ellipse closest-side at 50% 48%, rgba(0,3,10,.8) 40%, rgba(0,3,10,.58) 58%, rgba(0,3,10,.32) 76%, rgba(0,3,10,.12) 90%, rgba(0,3,10,0) 100%);\n}\n@media (max-width: 699px) {\n    .nm-domain-panel .nm-domain-decor-halo { left: -22%; top: -14%; width: 144%; height: 128%; translate: none; }\n}`}];// The atmosphere is drawn once per artwork into a small canvas, already blurred (see\n// requestBackdrop), instead of blurring the full image live; false keeps the live CSS blur.\nconst BACKDROP_BITMAP=true;// The buttons' sparkle (a WebGL context and a shader compile each, see createSparkle) waits until the\n// open has settled (afterOpen) plus delay, then the buttons get it one per frame, gap ms apart: close,\n// Previous, Next. The buttons themselves (the face, the ring and its turn) are CSS and are there from\n// the open's first frame; until then they show no sparkle.\nconst GLASS_MOUNT={afterOpen:true,delay:120,gap:60};// The longest an arrival waits for its artwork to decode or its atmosphere to be drawn (ms).\nconst READY_TIMEOUT=240;// The most domains whose copies stay on screen while they leave (rapid input), besides the arrival.\nconst MAX_LEAVING=4;// Default artwork, uploaded to Framer. The image controls below can override each one.\nconst NM_DOMAIN_ART={\"music-production\":\"https://framerusercontent.com/images/5nLHuXkZnuUXLkXVqPADooC0V4.jpg\",\"sound-design\":\"https://framerusercontent.com/images/sL3ZGUHmOUXxM83xf1YE9jc8meg.jpg\",biology:\"https://framerusercontent.com/images/unCNIimi95B4BHP2Q05pi6qYk.jpg\",mathematics:\"https://framerusercontent.com/images/Y8b1hDHqPChzRFEzZOqGOhiydk.jpg\",physics:\"https://framerusercontent.com/images/rBSLe6fTr9wjhWG49fHSL0ndJo.jpg\",neuroscience:\"https://framerusercontent.com/images/GBvu1YkE5nUPhhQC2udAFPbjpI.jpg\",psychology:\"https://framerusercontent.com/images/VCfnsFE6OeNXIIHSLl0oYHJM.jpg\",philosophy:\"https://framerusercontent.com/images/cd47dChFqkcQx1nkQg7lunv5SIM.jpg\",history:\"https://framerusercontent.com/images/qNjZkO68SPIn2Q1NDePTleoClc.jpg\",anthropology:\"https://framerusercontent.com/images/kYv9ifQKtOivrRgUHJ5E0PfbBB4.jpg\",technology:\"https://framerusercontent.com/images/BBvLxgGssu79nEqMwkgAPIuZS80.jpg\"};// Domain order and descriptive copy follow the supplied archive.\nconst NM_DOMAINS=[{slug:\"music-production\",name:\"Music Production\",image:\"art/music-production.jpg\",imageSize:[760,1090],subject:[.316,.235,.716,.824],alt:\"A mixing-desk fader and level meters drawn in blue light.\",focalPoint:{x:.6,y:.27,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"music-production\"].knowledge,inYourMusic:DOMAIN_COPY[\"music-production\"].expression},{slug:\"sound-design\",name:\"Sound Design\",image:\"art/sound-design.jpg\",imageSize:[760,1090],subject:[.168,.279,.905,.662],alt:\"A glowing blue waveform with branching filaments.\",focalPoint:{x:.55,y:.21,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"sound-design\"].knowledge,inYourMusic:DOMAIN_COPY[\"sound-design\"].expression},{slug:\"biology\",name:\"Biology\",image:\"art/biology.jpg\",imageSize:[760,1090],subject:[.189,.103,.811,.757],alt:\"A translucent human torso, heart and blood vessels lit in blue.\",focalPoint:{x:.6,y:.36,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"biology\"].knowledge,inYourMusic:DOMAIN_COPY[\"biology\"].expression},{slug:\"mathematics\",name:\"Mathematics\",image:\"art/mathematics.jpg\",imageSize:[760,1090],subject:[.263,.228,.726,.721],alt:\"A double cone surrounded by equations and construction lines.\",focalPoint:{x:.76,y:.23,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"mathematics\"].knowledge,inYourMusic:DOMAIN_COPY[\"mathematics\"].expression},{slug:\"physics\",name:\"Physics\",image:\"art/physics.jpg\",imageSize:[760,1090],subject:[.263,.294,.926,.61],alt:\"A glass prism splitting a beam of blue light.\",focalPoint:{x:.5,y:.26,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"physics\"].knowledge,inYourMusic:DOMAIN_COPY[\"physics\"].expression},{slug:\"neuroscience\",name:\"Neuroscience\",image:\"art/neuroscience.jpg\",imageSize:[760,1090],subject:[.168,.213,.853,.721],artScale:.94,alt:\"A scan of a human head with the brain traced in blue light.\",focalPoint:{x:.66,y:.36,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"neuroscience\"].knowledge,inYourMusic:DOMAIN_COPY[\"neuroscience\"].expression},{slug:\"psychology\",name:\"Psychology\",image:\"art/psychology.jpg\",imageSize:[760,1090],subject:[.284,.25,.621,.713],alt:\"A face in profile with closed eyes, traced in blue light.\",focalPoint:{x:.46,y:.36,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"psychology\"].knowledge,inYourMusic:DOMAIN_COPY[\"psychology\"].expression},{slug:\"philosophy\",name:\"Philosophy\",image:\"art/philosophy.jpg\",imageSize:[760,1091],subject:[.263,.147,.726,.846],artScale:.93,alt:\"A classical robed statue lit in electric blue.\",focalPoint:{x:.5,y:.17,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"philosophy\"].knowledge,inYourMusic:DOMAIN_COPY[\"philosophy\"].expression},{slug:\"history\",name:\"History\",image:\"art/history.jpg\",imageSize:[760,1086],subject:[.211,.081,.758,.822],alt:\"A tall stack of old books around an open, glowing volume.\",focalPoint:{x:.62,y:.46,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"history\"].knowledge,inYourMusic:DOMAIN_COPY[\"history\"].expression},{slug:\"anthropology\",name:\"Anthropology\",image:\"art/anthropology.jpg\",imageSize:[760,1090],subject:[.179,.103,.726,.728],alt:\"A stone human figure with a glowing eye emblem on its chest.\",focalPoint:{x:.54,y:.2,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"anthropology\"].knowledge,inYourMusic:DOMAIN_COPY[\"anthropology\"].expression},{slug:\"technology\",name:\"Technology\",image:\"art/technology.jpg\",imageSize:[760,1129],subject:[.095,.106,.821,.823],artScale:1.12,alt:\"A human hand reaching toward a robotic hand.\",focalPoint:{x:.62,y:.3,_note:\"fraction of a 760x1090 box, object-fit: cover\"},lead:\"\",lens:DOMAIN_COPY[\"technology\"].knowledge,inYourMusic:DOMAIN_COPY[\"technology\"].expression}];const PANEL_EVENT=\"neural-music:open-domain\";const PANEL_STATE_EVENT=\"neural-music:domain-panel-state\";// Phone Mode: the phone's back gesture (the iOS edge swipe, Android's back) closes the panel instead\n// of leaving the site. The open adds one history entry for the same URL, and while the panel is open\n// the entry below holds its own state wrapped: neither has a routeId, so Framer's router passes over\n// a pop onto either. Back onto the entry below unwraps it and closes the panel; a close from the panel\n// itself (the close button, Escape, the backdrop) takes the added entry off again with history.back().\n// The added entry carries the state below too, so wherever it is left behind (forward after a close,\n// a reload while open) it turns back into an entry the router reads. Turns add no entries.\nconst PHONE_BACK=\"nmDomainPanel\";const PHONE_BELOW=\"nmDomainPanelBelow\";const phoneBackWindow=()=>window;function historyToken(key){const state=window.history.state;return state&&typeof state[key]===\"string\"?state[key]:null;}// A back the browser animates itself (the iOS edge swipe) has already played its own transition: the\n// panel then closes at once rather than a second time.\nfunction browserAnimatedBack(event){const animated=event.hasUAVisualTransition;if(typeof animated===\"boolean\")return animated;// An older iPhone or iPad (no hasUAVisualTransition): its back is the edge swipe.\nreturn/iP(hone|od|ad)/.test(navigator.userAgent)||navigator.platform===\"MacIntel\"&&navigator.maxTouchPoints>1;}function phoneBackPop(event){const state=event.state;const below=state&&typeof state[PHONE_BELOW]===\"string\"?state[PHONE_BELOW]:null;const added=state&&typeof state[PHONE_BACK]===\"string\"?state[PHONE_BACK]:null;// Back on a wrapped entry, or on an added one left behind: it gets the state below again.\nif(below!==null||added!==null){try{window.history.replaceState(state.below??null,\"\");}catch(_){}}const panelWindow=phoneBackWindow();const open=panelWindow.__neuralMusicDomainPanelBack;if(open){panelWindow.__neuralMusicDomainPanelBack=null;// The open panel's own entry below: the panel closes, unless its close asked for this pop.\nif(below===open.token){if(!open.expectPop)open.close(browserAnimatedBack(event));return;}// Any other traversal (a long-press back several pages): the router goes there, the panel closes.\nif(!open.expectPop)open.close(false);}// An entry left behind: the router passed over it, so it is told now, with the entry's own state.\nif(below!==null||added!==null)window.dispatchEvent(new PopStateEvent(\"popstate\",{state:window.history.state}));}// One listener for every copy of this module, from the start (an entry may be left behind by an\n// earlier visit or a reload). A page reloaded on an added entry gets the state below before Framer\n// reads it, so the router keeps its place.\nif(typeof window!==\"undefined\"&&typeof window.addEventListener===\"function\"){const panelWindow=phoneBackWindow();if(!panelWindow.__neuralMusicDomainPanelBackPop){panelWindow.__neuralMusicDomainPanelBackPop=phoneBackPop;window.addEventListener(\"popstate\",phoneBackPop);try{if(historyToken(PHONE_BACK)!==null||historyToken(PHONE_BELOW)!==null)window.history.replaceState(window.history.state.below??null,\"\");}catch(_){}}}// In a landscape window from this width up, the lens and your music can stand either side of the\n// artwork with the navigation in the bottom row; in a narrower or a portrait window they stack under\n// the artwork (see the layouts below). Narrower than this, 260px sections beside the artwork (the\n// least that still reads as a column of five to seven lines) would leave it little above its 240px\n// floor. From here up the panel measures which of the two suits the window (see placeSides): beside,\n// while the sections sit well there and the artwork is at least as large as it would be stacked.\nconst SIDE_LAYOUT_MIN=900;const SIDE_QUERY=`(min-width: ${SIDE_LAYOUT_MIN}px) and (orientation: landscape)`;// Beside the artwork, a section's text reads as a caption of it up to nine lines (each is set for five\n// to seven); a longer one reads as a column, slowly where it is set flush right. Past that the\n// sections are given width (the window's spare width first, then the artwork's, see placeSides), and\n// where even that would take the artwork under its floor they stack under it, where the columns,\n// about two thirds wider, hold the text in fewer lines.\nconst SIDE_LINES_MAX=9;// The least share of the artwork's height left clear above and below the sections' reserved text, so\n// the artwork's lower part always stands between the text and the navigation, and its upper part\n// between the lead and the text. (The text is centred a little above the frame's middle, so below it\n// the artwork's share is 4% larger.)\nconst SIDE_CLEARANCE=1/10;// How the two sections' text is set beside the artwork: \"mirrored\", the lens flush right and your\n// music flush left, so both hug the artwork as mirror images; or \"aligned\", both flush left.\nconst SIDE_TEXT=\"aligned\";// The stacked layout's rules (see PANEL_CSS), written once for the windows that always stack and for a\n// wider one whose sections do not sit well beside the artwork; layout selects the layout element.\nfunction stackedLayout(layout){return`\n    .nm-domain-panel ${layout} {\n        --nm-side-min: 0px; --nm-side-gap: 0px; --nm-row-off: 540px;\n        --nm-nav-gap: clamp(64px, 6dvh, 72px);\n        grid-template-rows: var(--nm-top) auto minmax(var(--nm-art-floor), var(--nm-art-max)) auto auto minmax(16px, var(--nm-bottom));\n        grid-template-areas: \".\" \"head\" \"art\" \"band\" \"nav\" \".\";\n    }\n    .nm-domain-panel ${layout} .nm-domain-readout {\n        grid-area: band; container-type: normal; pointer-events: auto;\n        padding-top: clamp(8px, 2.6dvh, 26px);\n        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--nm-gap); align-content: start;\n    }\n    .nm-domain-panel ${layout} .nm-domain-readout-cell { width: auto; justify-self: stretch; }`;}const PANEL_CSS=`\n/* The drag offset and fade are set on each element that moves (see DRAG_TARGETS), never on a\n   container: registered as not inherited, a change restyles only that element, not the hidden copies\n   of every text inside it. Where @property is not supported they inherit as usual and still work. */\n@property --nm-drag-x { syntax: \"<length>\"; inherits: false; initial-value: 0px; }\n@property --nm-drag-o { syntax: \"<number>\"; inherits: false; initial-value: 1; }\n/* The angle the buttons' red arcs are turned to (see the domain buttons below), registered so that it\n   can animate. */\n@property --nm-ring-spin { syntax: \"<angle>\"; inherits: true; initial-value: 0deg; }\n.nm-domain-panel, .nm-domain-panel * { box-sizing: border-box; }\n.nm-domain-panel {\n    position: fixed; inset: 0; z-index: 2147483000;\n    width: 100%; height: 100%; height: 100dvh;\n    overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;\n    touch-action: pan-y pinch-zoom;\n    background: transparent; color: #F4F7FF;\n    font-family: Satoshi, sans-serif; font-weight: 400;\n    -webkit-font-smoothing: antialiased;\n    isolation: isolate;\n}\n/* The ground the panel stands on, its own layer (the veil) so that it can come and go first and last.\n   Phone: the close button's bar (the top fade's holder) and the navigation's bar go with it. */\n.nm-domain-panel .nm-domain-veil { position: fixed; inset: 0; z-index: 0; background: #00030A; pointer-events: none; }\n.nm-domain-panel .nm-domain-topfade-holder { position: fixed; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none; }\n.nm-domain-panel .nm-domain-navbar { display: none; }\n/* Focusable so a press on the artwork or the text keeps focus inside the dialog; it shows no ring. */\n.nm-domain-panel:focus { outline: none; }\n.nm-domain-panel button, .nm-domain-panel a.nm-domain-ring { font-family: Satoshi, sans-serif; color: inherit; cursor: pointer; }\n.nm-domain-panel button:focus-visible, .nm-domain-panel a.nm-domain-ring:focus-visible { outline: 2px solid #004BFF; outline-offset: 5px; }\n.nm-domain-panel .nm-domain-glass { display: inline-flex; flex: none; border-radius: 999px; }\n.nm-domain-panel .nm-domain-glass > :is(button, a):focus-visible { outline: 2px solid #004BFF !important; outline-offset: 4px !important; }\n.nm-domain-panel .nm-domain-glass svg { display: block; }\n/* ---- Domain buttons: the Inner Sound ring in red (Tom's pick, 2026-10-21), with GLASS_BUTTON.\n   The site's red action button (InnerSoundButton), value for value, on the panel's 44px pills and its\n   44px round close, so these buttons are the site's own rather than a style of their own: the dark face\n   (over the panel's #080A12), a 1px border in the red at .22, the red arcs masked to a 1.5px ring and a\n   2px copy of them blurred 6px at .8 as their glow, the soft red drop glow, and under the pointer the\n   glow at full, a lower, wider and brighter drop glow and white text; a press sinks it to .985. The border is an\n   inset ring here, so the box keeps its size, and the arcs are drawn over it from the box's edge, as the\n   red button's are drawn over its border. The arcs stand still at rest and turn under the pointer or\n   keyboard focus (nm-domain-ring-spin, its speed eased by watchRing; data-nm-idle holds a ring at rest),\n   and wait off screen and in a hidden tab. Previous's ring is mirrored, as its sparkle is,\n   so the pair turns as a mirror image about the axis. Inside, over the face and under the label, the\n   sparkle (createSparkle). The red is #DF0102 (223, 1, 2). */\n.nm-domain-panel .nm-domain-ring {\n    position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;\n    width: 100%; height: 100%; margin: 0; border: none; border-radius: 999px; outline: none;\n    box-sizing: border-box; cursor: pointer; font-family: inherit; text-decoration: none;\n    color: rgba(241,246,255,.96);\n    background: linear-gradient(180deg, #0A0C14, #040509) #080A12;\n    --nm-ring-arcs: conic-gradient(from var(--nm-ring-spin, 0deg), #DF0102 0deg 28deg, rgba(223,1,2,.2) 40deg 66deg,\n        #DF0102 72deg 78deg, rgba(223,1,2,.2) 84deg 104deg, #DF0102 110deg 115deg, rgba(223,1,2,.1) 124deg 176deg,\n        #DF0102 184deg 222deg, rgba(223,1,2,.2) 232deg 256deg, #DF0102 262deg 268deg,\n        rgba(223,1,2,.1) 278deg 334deg, #DF0102 346deg 360deg);\n    box-shadow: inset 0 0 0 1px rgba(223,1,2,.22), 0 10px 28px -14px rgba(223,1,2,.55);\n    transition: box-shadow .22s cubic-bezier(.3,0,.2,1), color .2s, transform .25s cubic-bezier(.34,1.56,.64,1);\n    animation: nm-domain-ring-spin 24s linear infinite;\n}\n.nm-domain-panel .nm-domain-ring::before,\n.nm-domain-panel .nm-domain-ring::after {\n    content: \"\"; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;\n    background: var(--nm-ring-arcs); padding: 1.5px;\n    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;\n}\n.nm-domain-panel .nm-domain-ring::after { padding: 2px; filter: blur(6px); opacity: .8; transition: opacity .22s cubic-bezier(.3,0,.2,1); }\n.nm-domain-panel .nm-domain-ring:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(223,1,2,.22), 0 12px 34px -12px rgba(223,1,2,.8); }\n.nm-domain-panel .nm-domain-ring:hover::after { opacity: 1; }\n.nm-domain-panel .nm-domain-ring:active { transform: scale(.985); }\n.nm-domain-panel .nm-domain-nav-prev .nm-domain-ring::before,\n.nm-domain-panel .nm-domain-nav-prev .nm-domain-ring::after { transform: scaleX(-1); }\n@keyframes nm-domain-ring-spin { to { --nm-ring-spin: 360deg; } }\n.nm-domain-panel .nm-domain-ring[data-nm-away],\n.nm-domain-panel .nm-domain-ring[data-nm-idle],\n.nm-domain-panel .nm-domain-ring[data-nm-hidden] { animation-play-state: paused; }\n/* The label, over the sparkle, and the sparkle's layer, clipped to the button. The label keeps the\n   panel's own tracking, -0.01em, where the red button has .01em: at .01em the widest Previous / Next\n   pair on a 360px phone stands about 4px apart, closer than the 10px gap the 380px rule sets. */\n.nm-domain-panel .nm-domain-ring-label {\n    position: relative; z-index: 1; color: inherit; pointer-events: none; text-align: center;\n    font-family: Satoshi, sans-serif; font-size: 14px; font-weight: 500; line-height: 18px; letter-spacing: -0.01em;\n}\n.nm-domain-panel .nm-domain-sparkle {\n    position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden; pointer-events: none;\n}\n/* The sparkle arrives after the open (GLASS_MOUNT) and fades in. */\n.nm-domain-panel .nm-domain-glass canvas { animation: nm-domain-glass-in 420ms cubic-bezier(.22, .61, .36, 1) backwards; }\n@keyframes nm-domain-glass-in { from { opacity: 0; } }\n/* Previous's sparkle is drawn mirrored, as its ring is. */\n.nm-domain-panel .nm-domain-nav-prev .nm-domain-glass canvas { transform: scaleX(-1); }\n/* ---- end domain buttons ---- */\n.nm-domain-panel .nm-domain-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }\n/* The panel is a centred composition on one vertical axis. On top, the header (the index line, the\n   title and the lead). Then one row of three, mirrored about the axis: the lens, the artwork, your\n   music, each section level with the middle of the artwork, its outer edge on the composition's\n   edge. At the bottom, in a row of its own, Previous and Next on those same outer edges, joined by\n   the hairline with the red tick on the axis, so the pair reads as one control for moving between\n   domains and the lower part of the artwork stands between it and the sections.\n   The layout is a grid exactly the panel's height and one column wide, with a row each for the\n   margin above, the header, the artwork (with the sections beside it), the navigation and the\n   margin below. The header and the navigation are as tall as their content, the header's texts\n   each holding the room of their longest version (see the fields below), so the artwork's row is\n   what is left: never less than --nm-art-floor, never more than --nm-art-max. The margin above is\n   fixed, so the close button keeps its place; the one below grows with the artwork's row from 16px\n   to --nm-bottom, which leaves the navigation as far above the foot of the window as the close\n   button is below its top. What is left once the artwork is at its largest centres the whole\n   composition. Below the floor the panel scrolls rather than shrink the artwork further. The browser\n   fits it; where the sections' texts would not sit well beside the artwork, the panel stacks them\n   under it instead (nm-domain-stacked, see placeSides).\n   Shared geometry:\n   --nm-art-max      the artwork frame's greatest height (it is 3:4, so 440px wide)\n   --nm-art-floor    its least height\n   --nm-side-min     the sections' least width beside the artwork; the artwork gives way first\n                     (--nm-side-fit, set by placeSides, widens it where a text would run too long,\n                     with --nm-wide, the composition's width past its 1200px)\n   --nm-side-gap     from each section to the artwork's frame\n   --nm-gap          the gutter between the two sections where they stack under the artwork\n   --nm-top, --nm-bottom  the margins above and below\n   --nm-head-gap     from the lead's reserved bottom down to the artwork frame\n   --nm-nav-gap      from the artwork's row down to the navigation\n   --nm-track-gap    from each button to the hairline that joins them\n   --nm-index-h      the index line's height, which the close button is centred on\n   The frame's own oval fade leaves a band of atmosphere around every artwork, so the gaps either\n   side of the frame are small. In a short window the title and the lead follow the height as well\n   as the width, in one proportion (see the title below), and the gaps fall with the height.\n   Dragging sideways moves the artwork, the header and the sections through --nm-drag-x and\n   --nm-drag-o, each set on the element it moves, and parts the hairline at the red tick. */\n.nm-domain-panel .nm-domain-layout {\n    --nm-gap: clamp(40px, 6vw, 88px);\n    --nm-art-max: 586px;\n    --nm-art-floor: 240px;\n    --nm-side-min: var(--nm-side-fit, 260px);\n    --nm-side-gap: 32px;\n    --nm-index-h: 15.4px;\n    --nm-top: clamp(38px, 5dvh, 56px);\n    --nm-bottom: max(16px, calc(var(--nm-top) + var(--nm-index-h) / 2 - 22px));\n    --nm-head-gap: clamp(0px, calc(2dvh - 10px), 12px);\n    --nm-nav-gap: clamp(12px, 2.6dvh, 28px);\n    --nm-track-gap: 16px;\n    --nm-row-off: 360px;\n    --nm-ease-out: cubic-bezier(.16, 1, .3, 1);\n    position: relative;\n    width: min(max(1200px, var(--nm-wide, 0px)), 100%); height: 100%;\n    margin: 0 auto; padding: 0 48px;\n    display: grid; grid-template-columns: minmax(0, 1fr);\n    grid-template-rows: var(--nm-top) auto minmax(var(--nm-art-floor), var(--nm-art-max)) auto minmax(16px, var(--nm-bottom));\n    grid-template-areas: \".\" \"head\" \"art\" \"nav\" \".\";\n    align-content: safe center;\n}\n/* The margins are items, so the one below still counts when a window scrolls. */\n.nm-domain-panel .nm-domain-layout::before { content: \"\"; grid-row: 1; }\n.nm-domain-panel .nm-domain-layout::after { content: \"\"; grid-row: -2; }\n/* The active domain artwork becomes an atmosphere behind the entire panel. */\n.nm-domain-panel .nm-domain-backdrop {\n    position: fixed; inset: 0; z-index: 0; overflow: hidden;\n    pointer-events: none;\n}\n/* Each domain on screen has its own copy of the atmosphere, on its own ground, so copies crossfade\n   without the ground showing through. The artwork is either the pre-blurred bitmap (a canvas, see\n   requestBackdrop) or, where that cannot be made, the image under the live blur. */\n.nm-domain-panel .nm-domain-backdrop-copy { position: absolute; inset: 0; background: #00030A; }\n.nm-domain-panel .nm-domain-backdrop-art {\n    position: absolute; inset: -28px; width: calc(100% + 56px); height: calc(100% + 56px);\n    display: block; object-fit: cover; filter: blur(18px); opacity: .72;\n}\n.nm-domain-panel canvas.nm-domain-backdrop-art { filter: none; }\n/* The atmosphere is dimmed most behind the words, above the artwork and either side of it, and least\n   around the artwork, symmetrically about the axis. The side dimming reaches to within 320px of the\n   axis and fades out by 160px from it, or by 28% and 39% of the window where that is nearer, so in a\n   very wide window it still lies behind the sections, which keep to the composition's width. */\n.nm-domain-panel .nm-domain-backdrop::after {\n    content: \"\"; position: absolute; inset: 0;\n    background:\n        linear-gradient(90deg, rgba(0,3,10,.3) 0%, rgba(0,3,10,.26) max(28%, calc(50% - 320px)), rgba(0,3,10,0) max(39%, calc(50% - 160px)), rgba(0,3,10,0) min(61%, calc(50% + 160px)), rgba(0,3,10,.26) min(72%, calc(50% + 320px)), rgba(0,3,10,.3) 100%),\n        radial-gradient(ellipse 46% 48% at 50% 50%, rgba(0,3,10,.12) 0%, rgba(0,3,10,.42) 70%, rgba(0,3,10,.64) 100%),\n        linear-gradient(180deg, rgba(0,3,10,.62) 0%, rgba(0,3,10,.5) 22%, rgba(0,3,10,.16) 40%, rgba(0,3,10,.22) 56%, rgba(0,3,10,.84) 70%, rgba(0,3,10,.92) 100%);\n}\n/* On the composition's right edge and level with the index line, so the close button, your music's\n   outer edge and the Next button share one right edge, and nothing sits under it. It comes last in\n   the reading and Tab order (the header, the artwork, the lens, your music, Previous, Next, close). --nm-snap-y (set\n   by snapToPixels) puts the button on a whole device pixel, as it does the navigation. */\n.nm-domain-panel .nm-domain-close {\n    grid-area: head; justify-self: end; align-self: start;\n    position: relative; z-index: 3; width: 44px; height: 44px;\n    margin-top: calc(var(--nm-index-h) / 2 - 22px);\n    top: var(--nm-snap-y, 0px);\n}\n/* The artwork's row. The frame is as tall as the row (in container units), within --nm-art-max and\n   the width the sections keep beside it, and centred on the axis. The sections lie over the same row\n   (see below) and work the frame's size out by the same rule, from the same box, so their inner edges\n   keep --nm-side-gap from it at every size: --nm-row-w and --nm-row-h are the row's width and height,\n   --nm-art-h the frame's height, --nm-side-w each section's width. The sizes first given here are\n   the fallback for a browser without container query units, from the window instead of the row, so\n   the frame can never collapse; where the units exist the frame fills the row exactly (the @supports\n   rules that follow). The zone lets the pointer through to the panel except over the frame, which\n   shows that the artwork can be dragged. */\n.nm-domain-panel .nm-domain-art-zone { grid-area: art; position: relative; min-width: 0; min-height: 0; pointer-events: none; }\n.nm-domain-panel .nm-domain-art-stage {\n    position: absolute; inset: 0;\n    display: flex; align-items: center; justify-content: center;\n    container-type: size;\n}\n.nm-domain-panel .nm-domain-art-stage,\n.nm-domain-panel .nm-domain-readout {\n    --nm-row-w: calc(min(max(1200px, var(--nm-wide, 0px)), 100vw) - 96px);\n    --nm-row-h: clamp(var(--nm-art-floor), calc(100vh - var(--nm-row-off)), var(--nm-art-max));\n    --nm-art-h: min(var(--nm-row-h), var(--nm-art-max), calc((var(--nm-row-w) - (var(--nm-side-min) + var(--nm-side-gap)) * 2) * 4 / 3));\n    --nm-side-w: calc((var(--nm-row-w) - var(--nm-art-h) * .75) / 2 - var(--nm-side-gap));\n}\n@supports (height: 1dvh) {\n    .nm-domain-panel .nm-domain-art-stage,\n    .nm-domain-panel .nm-domain-readout { --nm-row-h: clamp(var(--nm-art-floor), calc(100dvh - var(--nm-row-off)), var(--nm-art-max)); }\n}\n@supports (height: 1cqh) {\n    .nm-domain-panel .nm-domain-art-stage,\n    .nm-domain-panel .nm-domain-readout { --nm-row-w: 100cqw; --nm-row-h: 100cqh; }\n}\n/* A soft dark halo under the frame, so the art's black ground melts into the atmosphere. */\n.nm-domain-panel .nm-domain-art-stage::before {\n    content: \"\"; position: absolute; left: 50%; top: 50%; pointer-events: none;\n    width: calc(var(--nm-art-h) * 1.08); height: calc(var(--nm-art-h) * 1.28);\n    translate: -50% -50%;\n    background: radial-gradient(ellipse closest-side at 50% 48%, rgba(0,3,10,.8) 40%, rgba(0,3,10,.58) 58%, rgba(0,3,10,.32) 76%, rgba(0,3,10,.12) 90%, rgba(0,3,10,0) 100%);\n}\n/* Every artwork shares one 3:4 frame. artPlacement scales and centres each image\n   from its measured subject, so all subjects read at the same size, and the oval\n   fade sets the art into the atmosphere without a visible edge. */\n.nm-domain-panel .nm-domain-art-frame {\n    position: relative; flex: none;\n    width: calc(var(--nm-art-h) * .75); height: var(--nm-art-h);\n    transform: translate3d(var(--nm-drag-x, 0px), 0, 0); opacity: var(--nm-drag-o, 1);\n    pointer-events: auto; cursor: grab;\n}\n/* Each domain's artwork is a plate filling the frame: its black ground and its image under the oval\n   fade, so the ground fades with the image and a plate carried on by a drag keeps its fade. */\n.nm-domain-panel .nm-domain-art-plate {\n    position: absolute; inset: 0; background: #000;\n    -webkit-mask-image: radial-gradient(ellipse closest-side at 50% 48%, #000 64%, rgba(0,0,0,.82) 73%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.26) 90%, rgba(0,0,0,.07) 96%, transparent 100%);\n    mask-image: radial-gradient(ellipse closest-side at 50% 48%, #000 64%, rgba(0,0,0,.82) 73%, rgba(0,0,0,.55) 82%, rgba(0,0,0,.26) 90%, rgba(0,0,0,.07) 96%, transparent 100%);\n}\n.nm-domain-panel .nm-domain-art {\n    position: absolute; display: block; max-width: none; object-fit: contain;\n    -webkit-user-drag: none; user-select: none; pointer-events: none;\n}\n/* The header is centred on the axis. Its lead is as tall as the longest lead at this width (see the\n   fields below), so the artwork keeps one place on every domain. */\n/* The header and the sections stand above the artwork's halo. */\n.nm-domain-panel .nm-domain-content { grid-area: head; position: relative; z-index: 1; min-width: 0; margin-bottom: var(--nm-head-gap); text-align: center; }\n.nm-domain-panel .nm-domain-copy {\n    transform: translate3d(calc(var(--nm-drag-x, 0px) * .85), 0, 0); opacity: var(--nm-drag-o, 1);\n}\n/* The sections' text is a plain 2D shift, so at rest it is painted in place; a gesture lifts it onto\n   its own layer while it lasts. */\n.nm-domain-panel.nm-domain-dragging .nm-domain-readout-text { will-change: transform; }\n.nm-domain-panel.nm-domain-dragging, .nm-domain-panel.nm-domain-dragging * {\n    cursor: grabbing !important; -webkit-user-select: none; user-select: none;\n}\n/* The index line is centred as a whole. Its left padding matches the tracking after its last letter,\n   so the letters, not the box, are centred on the axis. */\n.nm-domain-panel .nm-domain-index {\n    display: flex; align-items: center; justify-content: center; gap: 12px;\n    margin: 0 0 clamp(8px, calc(18px - (700px - 100dvh) * .19), 18px); padding-left: .16em;\n    color: #A5B7D4; font-size: 11px; line-height: 1.4;\n    font-weight: 500; letter-spacing: .16em; text-transform: uppercase;\n}\n/* -.25em cancels the trailing letter-spacing and side bearing after the count, so the red rule sits midway. */\n.nm-domain-panel .nm-domain-number { color: #A5B7D4; font-variant-numeric: tabular-nums; white-space: nowrap; margin-right: -.25em; }\n.nm-domain-panel .nm-domain-number > .nm-domain-field { display: inline-grid; vertical-align: top; }\n.nm-domain-panel .nm-domain-index-line { flex: none; width: 24px; height: 1px; background: #DF0102; pointer-events: none; }\n/* Fields. Each text that changes between domains sits in a field, one grid cell holding three\n   things: the live element, which stays mounted (it keeps focus and ids) while only its keyed\n   inner text, .nm-domain-arrival, is replaced; the text just left, .nm-domain-leaving, while it\n   folds away; and every domain's version, .nm-domain-ghost, set hidden from everyone. The ghosts\n   make the field as tall as its longest version at this width, so nothing after it moves when the\n   domain changes, whatever the copy says. Each field carries its type, so all three match. */\n.nm-domain-panel .nm-domain-field { display: grid; }\n.nm-domain-panel .nm-domain-field > * { grid-area: 1 / 1; min-width: 0; }\n.nm-domain-panel .nm-domain-arrival { display: block; }\n.nm-domain-panel .nm-domain-ghost { visibility: hidden; pointer-events: none; }\n/* 2026-11-04 (SEO): the ghosts draw their text from an attribute, so the other domains' copy holds the same room\n   without being part of this page's text. */\n.nm-domain-panel .nm-domain-ghost[data-nm-ghost]::before { content: attr(data-nm-ghost); }\n.nm-domain-panel .nm-domain-leaving { display: block; pointer-events: none; user-select: none; }\n/* In a short window the title follows the height by the same rule as the lead below it, so the two\n   keep their proportion (8.19dvh is 2.89dvh x 4.45 / 1.57); from 782px of height up it is as before. */\n.nm-domain-panel .nm-domain-title-field {\n    font-family: Satoshi, sans-serif; font-size: clamp(48px, min(4.45vw, 8.19dvh), 64px);\n    font-weight: 300; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance;\n}\n.nm-domain-panel .nm-domain-title { margin: 0; font: inherit; outline: none; }\n/* Each title is moved by its own ink: a display face's side bearings and the tracking after its last\n   letter leave the letters a few pixels off the box's centre, so --nm-title-shift (set by refine,\n   from the first and last letters' outlines) puts the ink, not the box, on the axis. */\n.nm-domain-panel .nm-domain-title-field [data-domain] { position: relative; left: var(--nm-title-shift, 0px); }\n/* In a window under 740px tall the lead's size follows the height as well as the width (see the\n   title above). It is centred at a measure that keeps it to two or three balanced lines. */\n.nm-domain-panel .nm-domain-lead-field {\n    margin: clamp(8px, calc(16px - (700px - 100dvh) * .14), 16px) auto 0; max-width: 32em;\n    color: #D8E9FF; font-size: clamp(19px, min(1.57vw, 2.89dvh), 22.5px);\n    line-height: 1.4; letter-spacing: -.015em; text-wrap: balance;\n}\n.nm-domain-panel .nm-domain-lead { margin: 0; }\n.nm-domain-panel .nm-domain-copy .nm-domain-lead-field { margin-top: 0; height: 0; }\n/* The sections stand either side of the artwork, where Previous and Next stood: one row of three\n   over the artwork's row, the lens, the room the frame takes, your music. Each section is\n   --nm-side-w wide (the same for both, from the same rule as the frame), its outer edge on the\n   composition's edge and its inner edge --nm-side-gap from the frame, mirrored about the axis. The\n   two sit in one grid row, so they are as tall as each other, and each is as tall as the longest of\n   its texts at this width (see the fields above): the two labels share one line and the two texts\n   start on one line, the same for every domain. That reserved row is centred on the artwork's\n   optical middle (see the side layout below). The band is its own size container (the frame's\n   row), so it is sized by the row and not by its text; it lets the pointer through to the artwork\n   between the two sections. Dragging moves both sections' text with the artwork. */\n.nm-domain-panel .nm-domain-readout {\n    grid-area: art; position: relative; z-index: 1; min-width: 0;\n    container-type: size;\n    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: center;\n    pointer-events: none;\n}\n.nm-domain-panel .nm-domain-readout-cell { position: relative; min-width: 0; width: var(--nm-side-w); pointer-events: auto; }\n.nm-domain-panel .nm-domain-readout-lens { justify-self: start; }\n.nm-domain-panel .nm-domain-readout-music { justify-self: end; }\n/* On a phone the sections stack under the artwork below one hairline, the red tick on the axis (see\n   the stacked layout); beside the artwork the hairline belongs to the navigation instead. --nm-snap\n   and --nm-snap-cross (set on the band by snapToPixels) put the 1px marks on whole device pixels. */\n.nm-domain-panel .nm-domain-hairline {\n    --nm-part: min(20px, calc(max(var(--nm-drag-x, 0px), calc(var(--nm-drag-x, 0px) * -1)) * .15));\n    position: absolute; left: 0; right: 0; top: var(--nm-snap, 0px); height: 1px;\n    pointer-events: none;\n}\n.nm-domain-panel .nm-domain-hairline::before,\n.nm-domain-panel .nm-domain-hairline::after {\n    content: \"\"; position: absolute; top: 0; height: 1px; background: rgba(174,195,232,.24);\n}\n.nm-domain-panel .nm-domain-hairline::before { left: 0; right: 50%; clip-path: inset(0 calc(var(--nm-part) / 2) 0 0); transform-origin: 100% 0; }\n.nm-domain-panel .nm-domain-hairline::after { left: 50%; right: 0; clip-path: inset(0 0 0 calc(var(--nm-part) / 2)); transform-origin: 0 0; }\n/* The red tick stands across the hairline on the axis, the line as its middle row. */\n.nm-domain-panel .nm-domain-tick {\n    position: absolute; z-index: 1; left: calc(50% - .5px + var(--nm-snap-cross, 0px)); top: calc(var(--nm-snap, 0px) - 5px);\n    width: 1px; height: 11px; background: #DF0102; pointer-events: none;\n}\n.nm-domain-panel .nm-domain-readout > .nm-domain-hairline,\n.nm-domain-panel .nm-domain-readout > .nm-domain-tick { display: none; }\n/* The lens and your music are mirrored in every movement: --nm-lock is where each lands from after\n   a key or a button (both from outside, towards the artwork), --nm-spread where each opens from when\n   the panel opens (both from the artwork, outwards). */\n.nm-domain-panel .nm-domain-readout-lens { --nm-lock: -8px; --nm-spread: 12px; }\n.nm-domain-panel .nm-domain-readout-music { --nm-lock: 8px; --nm-spread: -12px; }\n.nm-domain-panel .nm-domain-readout-text {\n    position: relative;\n    transform: translateX(calc(var(--nm-drag-x, 0px) * .85)); opacity: var(--nm-drag-o, 1);\n}\n.nm-domain-panel .nm-domain-section-title {\n    margin: 0 0 12px; color: #A5B7D4; font-family: Satoshi, sans-serif;\n    font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: .16em;\n    text-transform: uppercase;\n}\n/* One voice for both sections, so neither side of the spread outweighs the other. */\n.nm-domain-panel .nm-domain-body-field { font-size: 16px; line-height: 1.6; color: #C3CDDF; text-wrap: pretty; }\n.nm-domain-panel .nm-domain-body-field > * { max-width: 34em; }\n.nm-domain-panel .nm-domain-body { margin: 0; }\n/* Beside the artwork, the sections' text is set one of two ways, chosen by SIDE_TEXT (a class on the\n   layout). Mirrored: the lens is set flush right and your music flush left, so both hug the artwork\n   as mirror images and their ragged edges face outwards; the lens label gives back the tracking\n   after its last letter, so its letters, not its box, meet the edge. Aligned: both are set flush\n   left, as they read in the stacked layouts. */\n@media ${SIDE_QUERY} {\n    .nm-domain-panel .nm-domain-sides-mirrored:not(.nm-domain-stacked) .nm-domain-readout-lens { text-align: right; }\n    .nm-domain-panel .nm-domain-sides-mirrored:not(.nm-domain-stacked) .nm-domain-readout-lens .nm-domain-section-title { margin-right: -.16em; }\n    .nm-domain-panel .nm-domain-sides-mirrored:not(.nm-domain-stacked) .nm-domain-readout-lens .nm-domain-body-field > * { justify-self: end; }\n    /* Either way, beside the artwork the sections travel with it one for one, so their gutters to the\n       frame hold while a drag lasts; the header above keeps its slower drift. */\n    .nm-domain-panel .nm-domain-layout:not(.nm-domain-stacked) .nm-domain-readout-text { transform: translateX(var(--nm-drag-x, 0px)); }\n    /* The reserved row is centred on the artwork's optical middle rather than its frame's: the oval\n       fade and every subject are centred 48% of the way down the frame (ART_FRAME.centreY), 2% of\n       its height above the frame's middle. */\n    .nm-domain-panel .nm-domain-layout:not(.nm-domain-stacked) .nm-domain-readout-cell { top: calc(var(--nm-art-h) * -.02); }\n}\n/* The navigation has the bottom row to itself, where the sections were: Previous and Next on the\n   composition's outer edges, mirrored about the axis, joined at their middle by one hairline with the\n   red tick on the axis, so the two read as one track for moving between domains rather than an action\n   under either section. Both buttons are one width on every domain, that of the longest domain name\n   with its arrow (a hidden copy of the button's face holds every name, as the fields above do), so\n   the hairline's two halves, each from its button to the axis, are equal and hold still while the\n   domains change. The arrow and the name are centred in the button as one group, so the face\n   keeps equal room either side of them whatever the name, the arrows pointing outwards. The hairline\n   parts at the tick by up to 20px (--nm-part) while a drag lasts. --nm-snap-y (set by snapToPixels)\n   puts the buttons on a whole device pixel, --nm-track-snap and --nm-snap-cross the hairline and the\n   tick. */\n.nm-domain-panel .nm-domain-navigation {\n    grid-area: nav; position: relative; z-index: 2; min-width: 0;\n    margin-top: var(--nm-nav-gap);\n    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;\n    top: var(--nm-snap-y, 0px);\n}\n.nm-domain-panel .nm-domain-nav { display: flex; align-items: center; min-width: 0; }\n.nm-domain-panel .nm-domain-nav-pill { display: grid; white-space: nowrap; }\n.nm-domain-panel .nm-domain-nav-face,\n.nm-domain-panel .nm-domain-nav-room { grid-area: 1 / 1; display: flex; align-items: center; gap: 10px; }\n.nm-domain-panel .nm-domain-nav-face { justify-self: center; }\n.nm-domain-panel .nm-domain-nav-room { visibility: hidden; pointer-events: none; }\n/* On a phone a pill is as wide as one face, its sizing face; any other face on it stands out of the\n   flow, centred over it and unseen, until the change gives the pill to the new face (createPillSizer). */\n.nm-domain-panel .nm-domain-nav-face[data-nm-loose] { position: absolute; inset: 0; justify-content: center; }\n.nm-domain-panel .nm-domain-track {\n    --nm-part: min(20px, calc(max(var(--nm-drag-x, 0px), calc(var(--nm-drag-x, 0px) * -1)) * .15));\n    position: relative; top: var(--nm-track-snap, 0px);\n    flex: 1 1 0; min-width: 0; height: 1px; background: rgba(174,195,232,.24);\n    pointer-events: none;\n}\n.nm-domain-panel .nm-domain-nav-prev .nm-domain-track { margin-left: var(--nm-track-gap); clip-path: inset(0 calc(var(--nm-part) / 2) 0 0); transform-origin: 100% 0; }\n.nm-domain-panel .nm-domain-nav-next .nm-domain-track { margin-right: var(--nm-track-gap); clip-path: inset(0 0 0 calc(var(--nm-part) / 2)); transform-origin: 0 0; }\n.nm-domain-panel .nm-domain-nav-tick {\n    position: absolute; z-index: 1; left: calc(50% - .5px + var(--nm-snap-cross, 0px)); top: calc(50% - 5.5px + var(--nm-track-snap, 0px));\n    width: 1px; height: 11px; background: #DF0102; pointer-events: none;\n}\n.nm-domain-panel .nm-domain-topfade { display: none; }\n.nm-domain-panel .nm-domain-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }\n/* Motion. Every movement is a Web Animation played by the engine from CHOREOGRAPHY (opacity and\n   transform; blur and a mask sweep only on the text), so the stylesheet holds the panel at rest. While\n   the panel closes it takes no input. */\n.nm-domain-panel.nm-domain-closing { pointer-events: none; }\n/* Decorative layers (DECOR): nothing at rest, seen only while a moment animates them. */\n.nm-domain-panel .nm-domain-decor { position: absolute; inset: 0; pointer-events: none; opacity: 0; }\n/* Under SIDE_LAYOUT_MIN the sections beside the artwork would hold it close to its floor (or under\n   it, or narrow under --nm-side-min, to make room), and in a portrait window the artwork is larger\n   with the sections under it. There, from 700px up, they stack under the artwork as in the centred\n   stack: two columns of one width either side of the axis, the lens to the left and your music to\n   the right, both set flush left. The navigation keeps its own row under them, joined by its\n   hairline, at least 64px under the columns' reserved text, much further from them than they are\n   from the artwork, so Previous never reads as an action under the lens's column it lines up with.\n   A wider landscape window stacks the same way when its sections would not sit well beside the\n   artwork (nm-domain-stacked, see placeSides). */\n@media (min-width: 700px) and (max-width: ${SIDE_LAYOUT_MIN-.02}px), (min-width: 700px) and (orientation: portrait) {\n${stackedLayout(\".nm-domain-layout\")}\n}\n@media (min-width: 700px) {\n${stackedLayout(\".nm-domain-stacked\")}\n}\n/* Below 700px the panel stacks in one column that scrolls: the header, the artwork, then the lens\n   and your music one under the other, with the navigation pinned at the bottom. */\n@media (max-width: 699px) {\n    /* Both bars, the close button's at the top and the navigation's at the bottom, are solid from\n       10px past their buttons and fade over --nm-bar-fade beyond that. */\n    .nm-domain-panel { --nm-bar-fade: 40px; --nm-close-top: max(24px, env(safe-area-inset-top)); }\n    .nm-domain-panel .nm-domain-layout {\n        display: flex; flex-direction: column;\n        width: min(560px, 100%); height: auto; min-height: 100%;\n        padding: calc(var(--nm-close-top) + 58px) 24px 0;\n    }\n    .nm-domain-panel .nm-domain-layout::before,\n    .nm-domain-panel .nm-domain-layout::after { display: none; }\n    .nm-domain-panel .nm-domain-backdrop-art { filter: blur(14px); opacity: .58; }\n    .nm-domain-panel .nm-domain-backdrop::after {\n        background: linear-gradient(180deg, rgba(0,3,10,.62), rgba(0,3,10,.5) 30%, rgba(0,3,10,.62) 52%, rgba(0,3,10,.9) 72%, rgba(0,3,10,.94));\n    }\n    .nm-domain-panel .nm-domain-close { position: fixed; right: max(24px, env(safe-area-inset-right)); top: var(--nm-close-top); margin: 0; }\n    .nm-domain-panel .nm-domain-content { margin-bottom: 20px; }\n    .nm-domain-panel .nm-domain-index { margin-bottom: 16px; }\n    .nm-domain-panel .nm-domain-title-field { font-size: clamp(40px, 12.3vw, 52px); }\n    .nm-domain-panel .nm-domain-lead-field { margin-top: 14px; max-width: 30em; }\n    /* The lead keeps room for three lines at most here (the longest lead takes three at 360px), so\n       the artwork holds one place for every domain without leaving a hole under a short lead; a\n       longer lead lowers only its own artwork (and fitArt shortens that artwork to keep it whole).\n       The cap is a hair over three lines (three are 4.2em), so a three-line lead and the clipped\n       copies make the field exactly as tall, and the artwork lands on the same device pixel for every\n       domain. */\n    .nm-domain-panel .nm-domain-lead-field > .nm-domain-ghost { max-height: 4.25em; overflow: hidden; }\n    .nm-domain-panel .nm-domain-art-zone { display: flex; justify-content: center; pointer-events: auto; }\n    .nm-domain-panel .nm-domain-art-stage { position: relative; inset: auto; container-type: normal; }\n    .nm-domain-panel .nm-domain-art-stage::before { left: -22%; top: -14%; width: 144%; height: 128%; translate: none; }\n    /* --nm-art-trim (set by fitArt) shortens the artwork on a short screen, so it shows whole above\n       the navigation's bar when a domain opens, with the hairline and its tick where there is room.\n       --nm-art-least is as short as it gets for that, a share of the screen's height: the frame's\n       min-width holds it (never above the frame's natural width), and fitArt reads it there. */\n    .nm-domain-panel { --nm-art-least: clamp(100px, 17dvh, 200px); }\n    .nm-domain-panel .nm-domain-art-frame {\n        width: calc(min(300px, 76vw, calc(46dvh * .75)) - var(--nm-art-trim, 0px) * .75);\n        min-width: min(calc(var(--nm-art-least) * .75), 76vw, calc(46dvh * .75));\n        height: auto; aspect-ratio: 3 / 4;\n    }\n    /* The sections stack, the lens first. The hairline closes the header and the artwork from gutter\n       to gutter, with the red tick on the axis; each section is as tall as its own text here (the\n       panel returns to the top on every change, so nothing below the first view is seen to move). */\n    .nm-domain-panel .nm-domain-readout { display: block; container-type: normal; pointer-events: auto; margin-top: 12px; padding-top: 24px; }\n    /* Full width, whatever the side layout's placing (a block honours justify-self too). */\n    .nm-domain-panel .nm-domain-readout-cell { width: auto; justify-self: stretch; }\n    .nm-domain-panel .nm-domain-readout-music { margin-top: 30px; }\n    .nm-domain-panel .nm-domain-readout > .nm-domain-hairline,\n    .nm-domain-panel .nm-domain-readout > .nm-domain-tick { display: block; }\n    .nm-domain-panel .nm-domain-readout .nm-domain-field { position: relative; }\n    .nm-domain-panel .nm-domain-readout .nm-domain-ghost { display: none; }\n    .nm-domain-panel .nm-domain-readout .nm-domain-leaving { position: absolute; top: 0; left: 0; right: 0; }\n    /* m-final: a change that starts with the column scrolled down holds the sections' heights until the\n       column is hidden and back at the top (data-nm-holding, see holdColumn): the text that was showing\n       keeps its place in the flow and the arriving text stands over it, so nothing visible moves. */\n    .nm-domain-panel[data-nm-holding] .nm-domain-readout .nm-domain-field > :not(.nm-domain-leaving):not(.nm-domain-ghost) { position: absolute; top: 0; left: 0; right: 0; }\n    .nm-domain-panel[data-nm-holding] .nm-domain-readout .nm-domain-field > .nm-domain-leaving[data-nm-hold] { position: relative; }\n    /* The bar is solid from 10px above the pills down, and copy fades out over the 40px above that, so\n       a line is never sliced by the pills or left touching them, whatever the screen height. The 50px\n       top padding is also the end-of-scroll gap between the last line and the pills. Its ground\n       reaches the screen's edges, however wide the column: it is painted as a border image pushed\n       out sideways, which draws past the column without adding anything to scroll. */\n    .nm-domain-panel .nm-domain-navigation {\n        position: sticky; top: auto; bottom: 0; z-index: 2; align-self: stretch; margin: auto 0 0;\n        display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px;\n        padding: calc(var(--nm-bar-fade) + 10px) 0 calc(24px + env(safe-area-inset-bottom));\n    }\n    .nm-domain-panel .nm-domain-nav + .nm-domain-nav { margin-left: auto; }\n    /* Here each button is as wide as its own name, so the two fit one row of the bar. */\n    .nm-domain-panel .nm-domain-nav-room { display: none; }\n    .nm-domain-panel .nm-domain-track,\n    .nm-domain-panel .nm-domain-nav-tick { display: none; }\n    .nm-domain-panel .nm-domain-navbar {\n        display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none;\n        border-image: linear-gradient(to top, #00030A calc(100% - var(--nm-bar-fade)), rgba(0,3,10,0)) fill 0 / 0 / 0 50vw;\n    }\n    /* The close button's bar mirrors it: solid down to 10px under the button, then the fade, so\n       copy scrolled up under the button is covered rather than crossed by it. At the top of the\n       scroll nothing is under the button, and the bar would only dim the index line, so it shows\n       once the panel has scrolled (nm-domain-scrolled, set on the dialog). */\n    .nm-domain-panel .nm-domain-topfade {\n        display: block; position: fixed; left: 0; right: 0; top: 0; z-index: 2; pointer-events: none;\n        height: calc(var(--nm-close-top) + 54px + var(--nm-bar-fade));\n        background: linear-gradient(#00030A calc(100% - var(--nm-bar-fade)), rgba(0,3,10,0));\n        opacity: 0; transition: opacity 160ms ease;\n    }\n    .nm-domain-panel.nm-domain-scrolled .nm-domain-topfade { opacity: 1; }\n}\n/* Short phones (a 375x667 or 360x740 screen) tighten the header's rhythm a little, so the artwork\n   gives up less height to fitArt. The index line still starts 14px under the close button, which\n   it reaches across on a narrow screen. */\n@media (max-width: 699px) and (max-height: 760px) {\n    .nm-domain-panel .nm-domain-index { margin-bottom: 12px; }\n    .nm-domain-panel .nm-domain-lead-field { margin-top: 10px; }\n    .nm-domain-panel .nm-domain-content { margin-bottom: 16px; }\n}\n/* The widest Previous / Next pair needs about 336px at the normal padding; tighten it on\n   small phones so both pills stay inside the 24px gutters. (!important: the button sets its padding inline.) */\n@media (max-width: 380px) {\n    .nm-domain-panel .nm-domain-navigation { column-gap: 10px; }\n    .nm-domain-panel .nm-domain-navigation .nm-domain-glass > :is(button, a) { padding-left: 14px !important; padding-right: 14px !important; }\n}\n/* Reduced motion: the engine plays the reduced moments, short opacity crossfades without movement\n   (see CHOREOGRAPHY), and nothing in the stylesheet moves; the buttons' arcs stand still at 0deg and\n   their hover answers at once, as the red button's do, and the sparkle still fades in briefly rather\n   than cutting in. The drag still follows the pointer, but the hairline does not part. */\n@media (prefers-reduced-motion: reduce) {\n    .nm-domain-panel, .nm-domain-panel *, .nm-domain-panel *::before, .nm-domain-panel *::after { animation: none !important; }\n    .nm-domain-panel .nm-domain-ring, .nm-domain-panel .nm-domain-ring::before, .nm-domain-panel .nm-domain-ring::after { transition: none !important; }\n    .nm-domain-panel .nm-domain-glass canvas { animation: nm-domain-glass-in 200ms linear backwards !important; }\n    .nm-domain-panel .nm-domain-hairline,\n    .nm-domain-panel .nm-domain-track { --nm-part: 0px; }\n    .nm-domain-panel .nm-domain-topfade { transition: none; }\n}\n`;// Phone breakpoint only (Phone Mode on). Words scroll, the picture swipes: over the lens, your\n// music and the navigation's bar the browser owns every pan (a thumb's diagonal stroke scrolls the\n// column instead of dying or turning the domain); over the header and the artwork a sideways stroke\n// still drags between domains (pan-y: the browser keeps the vertical one).\nconst PHONE_PANEL_CSS=`\n@media (max-width: 699px) {\n    .nm-domain-panel.nm-domain-phone { touch-action: manipulation; }\n    .nm-domain-panel.nm-domain-phone .nm-domain-content,\n    .nm-domain-panel.nm-domain-phone .nm-domain-art-zone { touch-action: pan-y pinch-zoom; }\n}`;// Everything a sideways drag moves, each of which reads the drag from its own style (see the\n// @property rules): the artwork, the header's copy, both sections' text and the hairline's halves\n// (which part at the tick). Nothing else is restyled while the pointer moves.\nconst DRAG_TARGETS=\".nm-domain-art-frame, .nm-domain-copy, .nm-domain-hairline, .nm-domain-track, .nm-domain-readout-text\";function setDrag(targets,offset,opacity){targets.forEach(target=>{setVariable(target,\"--nm-drag-x\",offset+\"px\");setVariable(target,\"--nm-drag-o\",String(opacity));});}// ---- Domain buttons: the Inner Sound ring in red ----\n// What the buttons take from code; everything they look like is the matching block in PANEL_CSS. The\n// pills' padding (the close sets its own, 0px), and the sparkle's colour (its stars are a warm white\n// with 12% of it, see SPARKLE) and its speed under the pointer or keyboard focus (the Fluid Glass\n// Button's Hover Speed; at rest its clock stands still, see SPARKLE.restSpeed).\nconst GLASS_BUTTON={padding:\"13px 18px\",colour:\"#DF0102\",hoverSpeed:.6};// ---- end domain buttons ----\n// Every artwork shares one 3:4 frame. Each subject is scaled to the same optical\n// size (the square root of its bounding box area, as a share of the frame height),\n// capped so wide and tall subjects stay inside the frame and small subjects are\n// not enlarged more than 1.45 times.\nconst ART_FRAME={aspect:3/4,size:.54,maxHeight:.8,maxWidth:.9,maxScale:1.45,centreY:.48};function artPlacement(domain,replaced){const ratio=domain.imageSize[0]/domain.imageSize[1];const frame=ART_FRAME.aspect;const percent=value=>Math.round(value*1e4)/100+\"%\";if(replaced){// An image swapped in through the controls has no measured subject, so it is fitted whole.\nconst scale=Math.min(1,frame/ratio);return{width:percent(scale*ratio/frame),height:percent(scale),left:percent(.5-scale*ratio/frame/2),top:percent(.5-scale/2)};}const[left,top,right,bottom]=domain.subject;const width=(right-left)*ratio;const height=bottom-top;const scale=Math.min(ART_FRAME.size/Math.sqrt(width*height)*(domain.artScale??1),ART_FRAME.maxHeight/height,ART_FRAME.maxWidth*frame/width,ART_FRAME.maxScale);return{width:percent(scale*ratio/frame),height:percent(scale),left:percent(.5-(left+right)/2*scale*ratio/frame),top:percent(ART_FRAME.centreY-(top+bottom)/2*scale)};}const useIsomorphicLayoutEffect=typeof window===\"undefined\"?useEffect:useLayoutEffect;function clampTempo(value){const tempo=Number(value);return Number.isFinite(tempo)&&tempo>0?Math.min(2,Math.max(.5,tempo)):1;}const DECOR_CSS=DECOR.map(item=>item.css??\"\").join(\"\\n\");// The panel's three @property rules. A stylesheet that brings @property rules or takes them away makes\n// the browser restyle the whole page (measured 55ms on a page of 5,000 elements; the rest of the panel's\n// stylesheet costs 2ms), and the panel's own <style> did that in every open and at the end of every\n// close. So they go into the page once, in a <style> of their own at the end of <body>, and stay there:\n// at the end of the first close, in the frame its <style> took them away (restyled anyway). The\n// panel's <style> then leaves them out. Not in Phone Mode, nor on a phone (in\n// landscape it gets the Tablet breakpoint): there the panel's <style> keeps them, as before.\nconst PROPERTY_RULE=/@property --[\\w-]+ \\{[^}]*\\}\\n/g;const PANEL_PROPERTIES=(PANEL_CSS.match(PROPERTY_RULE)??[]).join(\"\");const PANEL_CSS_REST=PANEL_CSS.replace(PROPERTY_RULE,\"\");const PAGE_PROPERTIES={current:null};function addPageProperties(){if(PAGE_PROPERTIES.current?.isConnected)return true;if(window.matchMedia(\"(pointer: coarse)\").matches&&Math.min(screen.width,screen.height)<600)return false;const style=document.createElement(\"style\");style.textContent=PANEL_PROPERTIES;document.body.appendChild(style);PAGE_PROPERTIES.current=style;return true;}// No body paragraph ends on a stub. text-wrap: pretty in Chrome and Edge only keeps a single word\n// off the last line, so a paragraph can still end on two short words under full lines. A last line\n// is a stub when fewer than three words end on it or it is under a third of the measure. Such a\n// paragraph is narrowed step by step (never below 86% of the measure, never opening a gap under 66%\n// in the lines above, and keeping its longest line at 80% or more so it still reads as the same\n// column) and keeps the first width that ends it well. A wide column (over 442px) still reads as\n// itself at 80% of its measure, and at 380px, so it may narrow that far. It may take one more line\n// where that costs nothing: where its field already holds the room (each field is as tall as its\n// longest version at this width; the room is read from the text's own box, since the paragraph\n// itself is stretched to the field), or where the band is not held still (the phone's stacked\n// layout). A two-line paragraph is a short note rather than a column, so it may narrow to 55% and\n// simply becomes a balanced pair. A paragraph that finds no such width tries once more with slightly\n// looser limits (a gap under 62%, a longest line of 75%, a last line of 30%), since a short last\n// line is the worse of the two. One that still finds none tries both again with the limits taken\n// from its own column, the longest line it sets at the full measure, rather than from the measure:\n// in a narrow column (the sections beside the artwork) each word is a larger share of the measure,\n// so the rag alone can leave a sixth of it empty, and limits read from the measure rule out the one\n// width that ends the paragraph well. One that still cannot get there keeps its normal layout. Only\n// the layout is read: where each word's box lands, never what the words say.\n// Each settled width is kept in the cache under the paragraph's place (lens or music), its domain,\n// its measure and whether its band is held still, once the fonts have loaded, so a domain seen\n// before at this width is a lookup: all the paragraphs are reset and measured in one layout, and\n// only a paragraph not yet in the cache is worked out.\nfunction settleBodyLines(paragraphs,cache){// The paragraph's rows, top to bottom: each one's edges and how many words end on it.\nconst rowsOf=paragraph=>{const rows=[];const range=document.createRange();const walker=document.createTreeWalker(paragraph,NodeFilter.SHOW_TEXT);for(let node=walker.nextNode();node;node=walker.nextNode()){const text=node.textContent??\"\";const word=/\\S+/g;for(let match=word.exec(text);match;match=word.exec(text)){range.setStart(node,match.index);range.setEnd(node,match.index+match[0].length);const boxes=Array.from(range.getClientRects()).filter(box=>box.width>=1);boxes.forEach((box,index)=>{let row=rows.find(r=>Math.abs(r.top-box.top)<2);if(!row){row={top:box.top,left:box.left,right:box.right,words:0};rows.push(row);}row.left=Math.min(row.left,box.left);row.right=Math.max(row.right,box.right);if(index===boxes.length-1)row.words+=1;});}}return rows.sort((a,b)=>a.top-b.top);};const widths=rows=>rows.map(r=>r.right-r.left);const endsWell=(rows,measure,least=.34)=>{const last=rows[rows.length-1];return rows.length<2||last.words>=3&&last.right-last.left>=measure*least;};// The limits a narrower width must keep to: the strict ones, then the looser ones.\n// own: the limits are taken from the paragraph's own column rather than the measure.\nconst passes=[{gap:.66,longest:.8,last:.34,own:false},{gap:.62,longest:.75,last:.3,own:false},{gap:.66,longest:.8,last:.34,own:true},{gap:.62,longest:.75,last:.3,own:true}];const fontsLoaded=!document.fonts||document.fonts.status===\"loaded\";paragraphs.forEach(paragraph=>paragraph.style.maxWidth=\"\");const places=paragraphs.map((paragraph,place)=>{const field=paragraph.parentElement;const ghost=field?.querySelector(\".nm-domain-ghost\");const heldStill=Boolean(ghost&&ghost.getClientRects().length);const measure=paragraph.getBoundingClientRect().width;const domain=paragraph.querySelector(\"[data-domain]\")?.dataset.domain;const key=cache&&fontsLoaded&&domain!==undefined?[place,domain,Math.round(measure*10),heldStill?1:0].join(\":\"):null;return{field,heldStill,measure,key};});paragraphs.forEach((paragraph,place)=>{const{field,heldStill,measure,key}=places[place];const known=key===null?undefined:cache?.get(key);if(known!==undefined){paragraph.style.maxWidth=known?known+\"px\":\"\";return;}const remember=width=>{if(key!==null)cache?.set(key,width);};const natural=rowsOf(paragraph);if(endsWell(natural,measure))return remember(0);// One more line is free when the field already reserves it, or nothing is reserved.\nconst content=paragraph.querySelector(\".nm-domain-arrival\")??paragraph;const room=field?field.getBoundingClientRect().height-content.getBoundingClientRect().height:0;const lineHeight=parseFloat(getComputedStyle(paragraph).lineHeight)||26;const pair=natural.length===2;// The paragraph's own column: its longest line at the full measure.\nconst column=Math.min(measure,Math.max(...widths(natural)));const most=natural.length+(!pair&&(!heldStill||room>=lineHeight-1)?1:0);let chosen=0;for(const limits of passes){const reference=limits.own?column:measure;const least=Math.min(reference*.86,Math.max(reference*.8,380));const rag=Math.min(reference*limits.gap,...widths(natural).slice(0,-1));let rows=natural;let width=Math.floor(measure);while(true){// Just under the longest line is the next width where the breaks can change.\nwidth=Math.min(width-1,Math.ceil(Math.max(...widths(rows)))-1);if(width<(pair?measure*.55:least))break;paragraph.style.maxWidth=width+\"px\";rows=rowsOf(paragraph);if(rows.length>most)break;const lines=widths(rows);if(endsWell(rows,measure,limits.last)&&(pair||Math.min(...lines.slice(0,-1))>=rag&&Math.max(...lines)>=reference*limits.longest)){chosen=width;break;}}if(chosen||pair)break;}paragraph.style.maxWidth=chosen?chosen+\"px\":\"\";remember(chosen);});}// Writes a custom property only when its value changes, so a pass that finds everything in place\n// restyles nothing.\nfunction setVariable(element,property,value){if(element.style.getPropertyValue(property)===(value??\"\"))return;if(value===null)element.style.removeProperty(property);else element.style.setProperty(property,value);}// An element's top within the panel's scrolled content, read from the layout alone, so the\n// transforms an entrance may be playing at this moment are left out.\nfunction contentTop(element,dialog){let top=0;for(let node=element;node&&node!==dialog;node=node.offsetParent)top+=node.offsetTop;return top;}// The stacked layout scrolls, with the navigation pinned in a bar at the bottom that fades in over\n// its top (--nm-bar-fade, 40px). When a domain opens, its artwork shows whole above that fade, and so\n// does the hairline with its red tick wherever the artwork can give way for it, as the cue that the\n// sections follow (THE LENS then shows through the fade). On a short screen the artwork gives up\n// just enough height for that (--nm-art-trim on the frame), never getting shorter than\n// --nm-art-least for the cue alone. Only boxes are read. The header keeps the same room on every\n// domain whose lead fits its three lines, so the trim is the same for all of them; a longer lead\n// lowers its own artwork, which is trimmed a little more so that it stays whole. Redone with the\n// window and on each domain change, never per frame.\nfunction fitArt(dialog){const navigation=dialog.querySelector(\".nm-domain-navigation\");const frame=dialog.querySelector(\".nm-domain-art-frame\");const line=dialog.querySelector(\".nm-domain-hairline\");if(!navigation||!frame||!line)return;if(getComputedStyle(navigation).position!==\"sticky\"){setVariable(frame,\"--nm-art-trim\",null);return;}// Where the artwork's foot and the tick's would be with the artwork at full height (the tick\n// reaches 5px below the line).\nconst trimmed=parseFloat(frame.style.getPropertyValue(\"--nm-art-trim\"))||0;const height=frame.getBoundingClientRect().height+trimmed;const artBottom=contentTop(frame,dialog)+height;const tickBottom=contentTop(line,dialog)+6+trimmed;const bar=dialog.clientHeight-navigation.offsetHeight;// The floor, --nm-art-least, as the frame's min-width resolves it.\nconst least=(parseFloat(getComputedStyle(frame).minWidth)||0)/ART_FRAME.aspect;// 8px of air between the tick and the top of the fade where the artwork can spare it; the\n// artwork's own foot always clears the fade.\nconst cue=Math.min(Math.ceil(tickBottom+8-bar),Math.floor(height-least));const trim=Math.max(0,cue,Math.ceil(artBottom-bar));setVariable(frame,\"--nm-art-trim\",trim?trim+\"px\":null);}function placeSides(dialog,layout,cache,preferSides=false){const place=({stacked,fit,wide})=>{layout.classList.toggle(\"nm-domain-stacked\",stacked);setVariable(layout,\"--nm-side-fit\",fit&&!stacked?fit+\"px\":null);setVariable(layout,\"--nm-wide\",wide&&!stacked?wide+\"px\":null);return stacked;};const asStyled={stacked:false,fit:0,wide:0};if(!window.matchMedia(SIDE_QUERY).matches)return place(asStyled);const fontsLoaded=!document.fonts||document.fonts.status===\"loaded\";const key=window.innerWidth+\"x\"+window.innerHeight+(preferSides?\":sides\":\"\");const known=fontsLoaded?cache.get(key):undefined;if(known!==undefined)return place(known);const frame=layout.querySelector(\".nm-domain-art-frame\");const cells=Array.from(layout.querySelectorAll(\".nm-domain-readout-cell\"));if(!frame||!cells.length)return place(asStyled);layout.querySelectorAll(\".nm-domain-body\").forEach(paragraph=>paragraph.style.maxWidth=\"\");const scrolls=()=>dialog.scrollHeight>dialog.clientHeight+1;// The longer reserved text's lines, as the layout sets it now.\nconst linesNow=()=>Math.max(...cells.map(cell=>{const field=cell.querySelector(\".nm-domain-body-field\");const lineHeight=field?parseFloat(getComputedStyle(field).lineHeight):0;return field&&lineHeight?Math.round(field.offsetHeight/lineHeight):0;}));// Beside the artwork, at the stylesheet's widths.\nlet placing=asStyled;place(placing);let lines=linesNow();if(lines>SIDE_LINES_MAX){const style=getComputedStyle(layout);const gap=parseFloat(style.getPropertyValue(\"--nm-side-gap\"))||0;const padding=parseFloat(style.paddingLeft)+parseFloat(style.paddingRight);const floor=parseFloat(style.getPropertyValue(\"--nm-art-floor\"))*ART_FRAME.aspect;const art=frame.getBoundingClientRect().width;const side=cells[0].getBoundingClientRect().width;// A width for the sections: the composition that holds them beside the artwork at its size\n// (the window caps it, and the artwork then gives way to them).\nconst widen=width=>({stacked:false,fit:width,wide:Math.ceil(art+(width+gap)*2+padding)});const linesAt=width=>{place(widen(width));return linesNow();};// As wide as they can be: the composition across the window, the artwork at its floor.\nconst widest=Math.floor((dialog.clientWidth-padding-floor)/2-gap);if(widest>side&&linesAt(widest)<=SIDE_LINES_MAX){// The least width that brings both texts within the limit, to 2px.\nlet low=side;let high=widest;while(high-low>2){const middle=Math.round((low+high)/2);if(linesAt(middle)<=SIDE_LINES_MAX)high=middle;else low=middle;}placing=widen(high);lines=linesAt(high);}else place(placing);}const art=frame.offsetHeight;const artTop=contentTop(frame,dialog);const textTop=Math.min(...cells.map(cell=>contentTop(cell,dialog)));const textBottom=Math.max(...cells.map(cell=>contentTop(cell,dialog)+cell.offsetHeight));const clear=art*SIDE_CLEARANCE;const fits=lines<=SIDE_LINES_MAX&&textTop-artTop>=clear-.5&&artTop+art-textBottom>=clear-.5;let stacked=!fits;if(fits&&!preferSides){const sideScrolls=scrolls();place({stacked:true,fit:0,wide:0});stacked=!scrolls()&&(sideScrolls||frame.offsetHeight>art+1);}if(stacked)placing={stacked:true,fit:0,wide:0};if(fontsLoaded)cache.set(key,placing);return place(placing);}// The 1px marks (the hairline and the red tick across it) and the buttons can land on a fraction\n// of a pixel in the centred composition, blurred across two rows. Each is moved by less than a pixel\n// onto the device grid, by a layout offset (top), never a transform: the browser snaps a box's layout\n// position when it paints, and a fractional translate on top of that would blur it again. The close\n// button and the navigation are moved whole (--nm-snap-y), where they sit in the flow. The\n// hairline's and the tick's offsets are set on the element that holds them (the band on a phone,\n// the navigation otherwise), where both read them, so they keep meeting on one pixel column; the\n// navigation's own move is added to its hairline's, which travels with it. Each offset is worked out\n// from where its mark is now less the offset it already has, all read before any is written, so\n// nothing is cleared and laid out again first. The offsets are whole 64ths of a pixel, the unit the\n// browser lays boxes out in, so an offset is applied exactly as written and the next pass subtracts\n// exactly what was applied: a mark lying within a 64th of a pixel of a half pixel is not tipped onto\n// the other device pixel by a rounding error.\nfunction snapToPixels(layout){const ratio=window.devicePixelRatio||1;const offset=value=>Math.round((Math.round(value*ratio)/ratio-value)*64)/64;const current=(element,property)=>parseFloat(element.style.getPropertyValue(property))||0;const writes=[];const moved=new Map;layout.querySelectorAll(\".nm-domain-close, .nm-domain-navigation\").forEach(element=>{// A fixed or sticky one (the phone's bars) is placed by the screen, not the flow.\nif(getComputedStyle(element).position!==\"relative\")return;const before=current(element,\"--nm-snap-y\");const after=offset(element.getBoundingClientRect().top-before);moved.set(element,after-before);writes.push([element,\"--nm-snap-y\",after]);});const holders=[[\".nm-domain-readout\",\":scope > .nm-domain-hairline\",\":scope > .nm-domain-tick\",\"--nm-snap\"],[\".nm-domain-navigation\",\".nm-domain-track\",\".nm-domain-nav-tick\",\"--nm-track-snap\"]];holders.forEach(([holderSelector,lineSelector,tickSelector,property])=>{const holder=layout.querySelector(holderSelector);const line=holder?.querySelector(lineSelector);const tick=holder?.querySelector(tickSelector);// A mark this layout does not show is left as it is.\nif(!holder||!line||!tick||!line.getClientRects().length)return;const shift=moved.get(holder)??0;writes.push([holder,property,offset(line.getBoundingClientRect().top-current(holder,property)+shift)]);writes.push([holder,\"--nm-snap-cross\",offset(tick.getBoundingClientRect().left-current(holder,\"--nm-snap-cross\"))]);});writes.forEach(([element,property,value])=>setVariable(element,property,value+\"px\"));}function wrapIndex(value){return(value%NM_DOMAINS.length+NM_DOMAINS.length)%NM_DOMAINS.length;}function hostIsVisible(root){if(!root||!root.isConnected||root.getClientRects().length===0)return false;const style=window.getComputedStyle(root);if(style.display===\"none\"||style.visibility===\"hidden\"||style.visibility===\"collapse\"||style.opacity===\"0\")return false;const visibilityRoot=root;return!visibilityRoot.checkVisibility||visibilityRoot.checkVisibility({checkOpacity:true,checkVisibilityCSS:true});}function announcePanelState(open,index){if(typeof window===\"undefined\")return;window.dispatchEvent(new CustomEvent(PANEL_STATE_EVENT,{detail:{open,slug:index===null?null:NM_DOMAINS[index].slug}}));}function Arrow({backwards=false}){return /*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",style:backwards?{transform:\"rotate(180deg)\"}:undefined,children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 8h11M8 3l5 5-5 5\",stroke:\"currentColor\",strokeWidth:\"1.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}// ---- The domain buttons: the ring's turn ----------------------------------------------------------\n// The red button's \"Still\" motion (InnerSoundButton), on the panel's three buttons. The ring's angle\n// (--nm-ring-spin) is turned by one CSS animation per button (nm-domain-ring-spin, 24s a lap); script\n// only eases that animation's speed (Animation.playbackRate, which carries on from the angle it is at,\n// so the arcs never jump), never its duration, and runs only while a speed is changing. At rest the\n// arcs stand still (Tom, 2026-10-26: every button calm at rest, moving only under the pointer; until\n// then they drifted, Hush); under the pointer, or with keyboard focus, they glide up to a speed set by\n// the button's own size, and when it leaves they glide down and stop where they are (data-nm-idle holds\n// them there, so a still ring costs nothing). A touch never changes the speed, nor does a press. With\n// reduced motion the arcs stand still at 0deg (the panel's stylesheet stops every animation) and no\n// speed is ever written. Off screen (data-nm-away) and in a hidden tab (data-nm-hidden) they wait where\n// they are. The boost (the pointer or keyboard focus) lifts the button's sparkle too.\n//\n// The lap. A conic gradient turning at an even angle carries its arcs fastest where its rays graze the\n// border: k px of border per radian there. The red button holds that peak to 60px/s, never under 18s\n// or over 60s; its formula is for a 12px corner. On a pill the corner is the whole half-height, so the\n// straight edge stops at a = w/2 - h/2 and the ends are half-circles of radius b, the ring's middle\n// line (half the height less half the 1.5px ring). Along a half-circle the speed is\n// (a^2 + b^2 + 2ab sin f) / (b + a sin f): it falls away from the join when a > b (every pill) and rises\n// to a + b at the tip when a < b. So k is the larger of b + a^2 / b and a + b; on the round close\n// (a = 0) it is b, an even speed all round, which the 18s floor holds. Boosted the lap is half that:\n// a desktop pill (170x44) turns at 10.8s a lap (playbackRate 2.213), the close at 9s (2.667), as do the\n// phone's narrower pills, which reach the 18s floor. (Hush rested at half as long again, 60s at most.)\nconst RING_MOTION={base:24,rest:0,up:600,down:1200,resize:600};function ringLap(w,h,radius){const r=Math.min(radius,h/2,w/2);const b=h/2-.75;const a=Math.max(0,w/2-r);const k=Math.max(b+a*a/b,a+b);return Math.min(60,Math.max(18,2*Math.PI*k/60));}// The glide curve, cubic-bezier(.28,.11,.32,1), as y(x).\nfunction ringGlide(x){let t=x;for(let i=0;i<6;i++){const u=1-t;const xt=3*u*u*t*.28+3*u*t*t*.32+t*t*t;const dx=3*u*u*.28+6*u*t*(.32-.28)+3*t*t*(1-.32);if(Math.abs(xt-x)<1e-5||!dx)break;t=Math.min(1,Math.max(0,t-(xt-x)/dx));}const u=1-t;return 3*u*u*t*.11+3*u*t*t+t*t*t;}const RING={spins:new Map,moving:new Set,frame:0,keys:false,sizes:null,near:null};// prefers-reduced-motion, for the ring and the sparkle (the query is made once, its answer read live).\nconst REDUCED_MOTION={current:null};function reducedMotion(){if(typeof window===\"undefined\"||!window.matchMedia)return false;REDUCED_MOTION.current=REDUCED_MOTION.current??window.matchMedia(\"(prefers-reduced-motion: reduce)\");return REDUCED_MOTION.current.matches;}const ringTarget=s=>s.on?s.hover:s.rest;// The speed as written: never exactly 0.\nfunction ringPut(s){const rate=Math.max(s.rate,1e-6);if(s.anim&&s.anim.playbackRate!==rate)s.anim.playbackRate=rate;}// A ring at rest at 0 pauses there (data-nm-idle), where a speed of 0 is never written.\nfunction ringIdle(el,s){el.toggleAttribute(\"data-nm-idle\",!s.rate&&!RING.moving.has(el));}function ringLand(el,s){s.rate=s.from=s.to;RING.moving.delete(el);ringIdle(el,s);}// The button's CSS animation. getAnimations() brings style up to date, so it is looked up only when the\n// button's size first comes in and when a new animation starts, never per frame.\nfunction ringAnimation(el){return el.getAnimations().find(animation=>animation.animationName===\"nm-domain-ring-spin\");}function ringFrame(now){RING.frame=0;const still=reducedMotion();RING.moving.forEach(el=>{const s=RING.spins.get(el);if(!s)return void RING.moving.delete(el);if(still)return ringLand(el,s);const k=Math.min(1,Math.max(0,(now-s.t0)/s.ms));s.rate=k<1?s.from+(s.to-s.from)*ringGlide(k):s.to;ringPut(s);if(k===1)ringLand(el,s);});if(RING.moving.size)RING.frame=window.requestAnimationFrame(ringFrame);}// A new target: from the speed it has now, over the share of the full change that is left (or over ms).\nfunction ringSteer(el,ms){const s=RING.spins.get(el);if(!s||!s.hover)return;const to=ringTarget(s);if(to===s.to)return;s.to=to;if(reducedMotion())return ringLand(el,s);if(to)el.removeAttribute(\"data-nm-idle\");s.from=s.rate;s.t0=performance.now();s.ms=Math.max(1,(ms??(to>s.rate?RING_MOTION.up:RING_MOTION.down))*Math.abs(to-s.rate)/s.span);RING.moving.add(el);if(!RING.frame)RING.frame=window.requestAnimationFrame(ringFrame);}function ringFlag(el,bit,set){const s=RING.spins.get(el);if(!s)return;const was=s.on!==0;s.on=set?s.on|bit:s.on&~bit;ringSteer(el);if(was!==(s.on!==0))s.boost(s.on!==0);}// The size: the first sets the speeds at once, before the first frame is painted (a pointer or focus\n// already on the button glides up from there); a later change of more than 1% glides to the new speeds.\nfunction ringSized(entries){for(const entry of entries){const el=entry.target;const s=RING.spins.get(el);const box=entry.borderBoxSize&&entry.borderBoxSize[0];if(!s||!box||!box.inlineSize||!box.blockSize)continue;const w=box.inlineSize;const h=box.blockSize;const first=!s.hover;if(!first&&Math.abs(w-s.w)<=s.w*.01&&Math.abs(h-s.h)<=s.h*.01)continue;const lap=ringLap(w,h,parseFloat(getComputedStyle(el).borderTopLeftRadius)||0);s.w=w;s.h=h;s.hover=RING_MOTION.base/(lap/2);s.rest=RING_MOTION.rest?RING_MOTION.base/Math.min(60,lap*RING_MOTION.rest):0;s.span=s.hover-s.rest;if(!first){ringSteer(el,RING_MOTION.resize);continue;}s.anim=ringAnimation(el);s.to=ringTarget({...s,on:0});ringLand(el,s);if(!reducedMotion())ringPut(s);ringSteer(el);}}// A new animation (reduced motion switched off) starts at the base lap: it gets the button's own speed.\nfunction ringRestart(el,s){if(!s.hover||reducedMotion())return;s.anim=ringAnimation(el);ringPut(s);}const ringOf=event=>event.target instanceof Element?event.target.closest(\".nm-domain-ring\"):null;const within=(el,other)=>other instanceof Node&&el.contains(other);// The page's listeners, added with the first button watched and removed with the last.\nconst RING_EVENTS={// A touch never changes the speed: a tap would get a fifth of the way up, then turn the domain.\npointerover:event=>{const el=ringOf(event);if(el&&event.pointerType!==\"touch\"&&!within(el,event.relatedTarget))ringFlag(el,1,true);},pointerout:event=>{const el=ringOf(event);if(el&&event.pointerType!==\"touch\"&&!within(el,event.relatedTarget))ringFlag(el,1,false);},// Keyboard focus speeds it up like the pointer; focus from a press does not.\nfocusin:event=>{const el=ringOf(event);if(el)ringFlag(el,2,RING.keys&&el.matches(\":focus-visible\"));},focusout:event=>{const el=ringOf(event);if(el)ringFlag(el,2,false);},animationstart:event=>{const el=ringOf(event);const s=el&&RING.spins.get(el);if(el&&s&&event.animationName===\"nm-domain-ring-spin\")ringRestart(el,s);},// A hidden tab holds every ring; back, a pointer that left meanwhile never said so.\nvisibilitychange:()=>{RING.spins.forEach((s,el)=>{el.toggleAttribute(\"data-nm-hidden\",document.hidden);if(!document.hidden&&(s.on&1)!==0&&!el.matches(\":hover\"))ringFlag(el,1,false);});}};// Keyboard mode (see RING.keys). On the window, so it is set before the panel's own keydown listener\n// (on the document) moves the focus; a press also ends the focus boost.\nconst RING_KEYS={keydown:event=>{const key=event.key||\"\";if(key===\"Tab\"||key===\"Enter\"||key===\" \"||key.indexOf(\"Arrow\")===0)RING.keys=true;},pointerdown:()=>{RING.keys=false;const focused=document.activeElement?.closest(\".nm-domain-ring\");if(focused)ringFlag(focused,2,false);}};function ringListen(on){for(const type in RING_EVENTS){if(on)document.addEventListener(type,RING_EVENTS[type],true);else document.removeEventListener(type,RING_EVENTS[type],true);}for(const type in RING_KEYS){if(on)window.addEventListener(type,RING_KEYS[type],true);else window.removeEventListener(type,RING_KEYS[type],true);}}// Watches a button; boost hears its boost start and end. One of each observer for the page: its size,\n// and whether it is near the screen (from a window's height away, so it is turning again before it\n// shows). Returns the unwatch.\nfunction watchRing(el,boost){if(typeof ResizeObserver===\"undefined\"||typeof IntersectionObserver===\"undefined\")return undefined;if(!RING.spins.size)ringListen(true);RING.spins.set(el,{w:0,h:0,rest:0,hover:0,span:1,rate:1,from:1,to:1,t0:0,ms:1,on:0,boost});RING.sizes=RING.sizes??new ResizeObserver(ringSized);RING.sizes.observe(el,{box:\"border-box\"});RING.near=RING.near??new IntersectionObserver(entries=>{for(const entry of entries)if(RING.spins.has(entry.target))entry.target.toggleAttribute(\"data-nm-away\",!entry.isIntersecting);},{rootMargin:\"100% 0px\"});RING.near.observe(el);el.toggleAttribute(\"data-nm-hidden\",document.hidden);// still from the first frame, before its size is in\nif(!RING_MOTION.rest)el.setAttribute(\"data-nm-idle\",\"\");// Already under a resting pointer (a touch screen's sticky :hover is not one), or holding keyboard\n// focus.\nif(window.matchMedia(\"(any-hover: hover)\").matches&&el.matches(\":hover\"))ringFlag(el,1,true);if(el===document.activeElement)ringFlag(el,2,RING.keys&&el.matches(\":focus-visible\"));return()=>unwatchRing(el);}function unwatchRing(el){if(!RING.spins.delete(el))return;RING.moving.delete(el);el.removeAttribute(\"data-nm-away\");el.removeAttribute(\"data-nm-idle\");el.removeAttribute(\"data-nm-hidden\");if(!RING.spins.size){RING.sizes?.disconnect();RING.near?.disconnect();RING.sizes=null;RING.near=null;ringListen(false);}else{RING.sizes?.unobserve(el);RING.near?.unobserve(el);}if(!RING.moving.size&&RING.frame){window.cancelAnimationFrame(RING.frame);RING.frame=0;}}// ---- The domain buttons: the sparkle ----------------------------------------------------------------\n// The star field of the Fluid Glass Button (the glass these buttons had before), alone: the same grid,\n// drift, sway, wiggle under the boost, burst on a press, sizes and twinkle, and the same clock (from\n// stillTime, running at GLASS_BUTTON.hoverSpeed boosted, the boost eased in and out at x4 a second, a\n// press decaying at x6), except at rest: there the glass ran it at 0.15, here it stands still\n// (SPARKLE.restSpeed), so the stars hold where they are, as the ring does. Fewer of the largest\n// (sizeMod from 1.0, not 0.5, so no glow is cut off square by its cell), kept clear of the ring (they\n// fade in from starEdge in from the edge) and of the label (from starKeep off its box, by the star's\n// centre: a star beside a glyph reads as a stray dot or punctuation, not as sparkle). A warm white with\n// 12% of the button's colour in it, so the red runs toward coral, never pink; the light is worked out\n// in linear light and encoded to sRGB at the end. Drawn with plain WebGL (one triangle over the layer)\n// on a transparent layer, premultiplied, over the face and under the label, nothing else drawn. One\n// context per button, made when the panel makes the button live (GLASS_MOUNT) and released\n// (WEBGL_lose_context) when it goes: browsers cap live contexts, and one left to the garbage collector\n// counts against the cap until it is collected. The loop runs only while the layer is on screen\n// (IntersectionObserver) and the tab is shown (requestAnimationFrame) and something moves: at rest,\n// once the boost and a press have eased out, it stops, and the boost or a press starts it again. With\n// reduced motion nothing runs: one still frame is drawn at stillTime, again when the size or the boost\n// changes. Where WebGL is unavailable or the shader will not compile, createSparkle returns null (it\n// never throws) and the button stands without its sparkle. A draw that throws later (on a frame, a\n// resize: outside React, where GlassBoundary cannot see it) is caught the same way: the sparkle stops,\n// releases its context, takes its canvas away and calls onFail.\nconst SPARKLE={starGain:[.5,1],starEdge:[4.5,9],starKeep:[3,6.5],warmWhite:\"#FFE8D2\",tint:.12,stillTime:7.3,restSpeed:0};const SPARKLE_VERTEX=`\nattribute vec2 aPos;\nvarying vec2 vUv;\nvoid main() {\n    vUv = aPos * 0.5 + 0.5;\n    gl_Position = vec4(aPos, 0.0, 1.0);\n}\n`;const SPARKLE_FRAGMENT=`\nprecision highp float;\nvarying vec2 vUv;\nuniform float uTime;\nuniform float uHover;       // the boost, eased\nuniform float uClick;       // a press, decaying\nuniform vec2 uResolution;   // the layer's size, CSS px\nuniform vec3 uStar;         // the stars' warm white, linear light\nuniform vec2 uStarGain;\nuniform vec2 uStarEdge;\nuniform vec4 uKeep;         // the label's box (x0, y0, x1, y1; CSS px from the layer's top left, as drawn)\nuniform vec2 uStarKeep;\n\n// The Fluid Glass Button's hash, unchanged.\nfloat hash(vec2 p) {\n    return fract(sin(dot(p, vec2(12.9898, 78.233))) * 43758.5453);\n}\nvec3 toSrgb(vec3 c) {\n    c = clamp(c, 0.0, 1.0);\n    return mix(c * 12.92, 1.055 * pow(c, vec3(1.0 / 2.4)) - 0.055, step(0.0031308, c));\n}\n\nvoid main() {\n    // The glass's pill: aspect-corrected, the half-height is 1. How far in from its edge this pixel\n    // lies, in CSS px.\n    float aspect = uResolution.x / uResolution.y;\n    vec2 p = vUv * 2.0 - 1.0;\n    p.x *= aspect;\n    vec2 center = vec2(0.5);\n    vec2 dirToCenter = normalize(vUv - center + vec2(0.0001));\n    vec2 b = vec2(max(aspect - 1.0, 0.0), 0.0);\n    vec2 d = abs(p) - b;\n    float dist = length(max(d, 0.0)) + min(max(d.x, d.y), 0.0) - 1.0;\n    float edge = max(-dist, 0.0) * 0.5 * uResolution.y;\n\n    // The glass's star field: a grid six cells high, drifting left and swaying, a few cells holding a\n    // star (more under the boost), each its own size and twinkle, bursting outward on a press.\n    vec2 starUv = vUv * vec2(aspect * 6.0, 6.0);\n    starUv.x -= uTime * 0.2;\n    starUv.y += sin(uTime * 0.5 + starUv.x) * mix(0.2, 0.6, uHover);\n    starUv += dirToCenter * uClick * 1.5;\n    vec2 id = floor(starUv);\n    vec2 gv = fract(starUv) - 0.5;\n    float nStar = hash(id);\n    float star = 0.0;\n    if (nStar > mix(0.94, 0.86, uHover)) {\n        float sizeMod = mix(1.0, 2.6, hash(id + 13.37));\n        vec2 localWiggle = vec2(sin(uTime * 2.0 + nStar * 50.0), cos(uTime * 2.3 + nStar * 40.0)) * 0.25 * uHover;\n        float starDist = length(gv - localWiggle) * sizeMod;\n        star = smoothstep(0.12, 0.0, starDist);\n        star += smoothstep(0.25, 0.0, starDist) * 0.3;\n        star *= sin(uTime * mix(5.0, 15.0, hash(id + 42.0)) + nStar * 100.0) * 0.5 + 0.5;\n        star *= smoothstep(uStarEdge.x, uStarEdge.y, edge);\n        // Off the label: the star's centre (this pixel less its offset in the cell), in CSS px from\n        // the top left, against the label's box.\n        vec2 cell = vec2(uResolution.x / (aspect * 6.0), uResolution.y / 6.0);\n        vec2 centre = vec2(vUv.x, 1.0 - vUv.y) * uResolution - vec2(gv.x - localWiggle.x, -(gv.y - localWiggle.y)) * cell;\n        vec2 keepD = abs(centre - 0.5 * (uKeep.xy + uKeep.zw)) - 0.5 * (uKeep.zw - uKeep.xy);\n        float keep = length(max(keepD, 0.0)) + min(max(keepD.x, keepD.y), 0.0);\n        star *= smoothstep(uStarKeep.x, uStarKeep.y, keep);\n    }\n    vec3 s = toSrgb(uStar * star * (mix(uStarGain.x, uStarGain.y, uHover) + uClick * 0.6));\n    // Premultiplied: light over a transparent layer.\n    gl_FragColor = vec4(s, max(s.r, max(s.g, s.b)));\n}\n`;function sparkleSrgb(hex){const n=parseInt(hex.replace(\"#\",\"\"),16);return[(n>>16)/255,(n>>8&255)/255,(n&255)/255];}function sparkleLinear(colour){return colour.map(v=>v<=.04045?v/12.92:Math.pow((v+.055)/1.055,2.4));}function sparkleContext(canvas){const attributes={alpha:true,premultipliedAlpha:true,antialias:false,depth:false,stencil:false,preserveDrawingBuffer:false,powerPreference:\"low-power\"};try{return canvas.getContext(\"webgl2\",attributes)||canvas.getContext(\"webgl\",attributes);}catch{return null;}}function sparkleShader(gl,type,source){const shader=gl.createShader(type);if(!shader)throw new Error(\"sparkle shader: none made\");gl.shaderSource(shader,source);gl.compileShader(shader);if(!gl.getShaderParameter(shader,gl.COMPILE_STATUS)&&!gl.isContextLost()){const log=gl.getShaderInfoLog(shader);gl.deleteShader(shader);throw new Error(\"sparkle shader: \"+log);}return shader;}// Makes the sparkle in container (the button's sparkle layer, the size of the button), in the given\n// colour (a hex), its clock running at hoverSpeed under the boost. Null where there is no WebGL;\n// onFail is called (once) if a later draw throws.\nfunction createSparkle(container,colour,hoverSpeed,onFail){if(typeof ResizeObserver===\"undefined\"||typeof IntersectionObserver===\"undefined\")return null;const canvas=document.createElement(\"canvas\");canvas.setAttribute(\"aria-hidden\",\"true\");canvas.style.cssText=\"display:block;width:100%;height:100%\";const gl=sparkleContext(canvas);if(!gl)return null;const tint=sparkleLinear(sparkleSrgb(colour));const star=sparkleLinear(sparkleSrgb(SPARKLE.warmWhite)).map((white,i)=>white+(tint[i]-white)*SPARKLE.tint);const nowhere=[-1e4,-1e4,-1e4,-1e4];let program=null;let uniforms={};// The label's box, where no star may sit (setKeepOut); far off the layer until it is known.\nlet keepOut=nowhere;const setup=()=>{const vertex=sparkleShader(gl,gl.VERTEX_SHADER,SPARKLE_VERTEX);const fragment=sparkleShader(gl,gl.FRAGMENT_SHADER,SPARKLE_FRAGMENT);const made=gl.createProgram();if(!made)throw new Error(\"sparkle program: none made\");gl.attachShader(made,vertex);gl.attachShader(made,fragment);gl.bindAttribLocation(made,0,\"aPos\");gl.linkProgram(made);gl.deleteShader(vertex);gl.deleteShader(fragment);if(!gl.getProgramParameter(made,gl.LINK_STATUS)&&!gl.isContextLost())throw new Error(\"sparkle program: \"+gl.getProgramInfoLog(made));gl.useProgram(made);program=made;// one triangle over the whole layer\ngl.bindBuffer(gl.ARRAY_BUFFER,gl.createBuffer());gl.bufferData(gl.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),gl.STATIC_DRAW);gl.enableVertexAttribArray(0);gl.vertexAttribPointer(0,2,gl.FLOAT,false,0,0);uniforms={};const names=[\"uTime\",\"uHover\",\"uClick\",\"uResolution\",\"uStar\",\"uStarGain\",\"uStarEdge\",\"uKeep\",\"uStarKeep\"];names.forEach(name=>uniforms[name]=gl.getUniformLocation(made,name));gl.uniform3fv(uniforms.uStar,star);gl.uniform2fv(uniforms.uStarGain,SPARKLE.starGain);gl.uniform2fv(uniforms.uStarEdge,SPARKLE.starEdge);gl.uniform2fv(uniforms.uStarKeep,SPARKLE.starKeep);gl.uniform4fv(uniforms.uKeep,keepOut);gl.disable(gl.BLEND);gl.clearColor(0,0,0,0);};try{setup();}catch{// a shader that will not compile here: no sparkle, the button stands without it\ngl.getExtension(\"WEBGL_lose_context\")?.loseContext();return null;}container.appendChild(canvas);// The glass's own state, carried the same way: time runs at a speed that follows the boost.\nlet time=SPARKLE.stillTime;let hover=0;let hoverTarget=0;let clickValue=0;let clickPending=0;let width=0;let height=0;let raf=0;let last=0;let visible=false;let lost=false;let disposed=false;// A draw threw: the sparkle is gone for good (see above).\nlet broken=false;const draw=()=>{if(broken||lost||!width||!height)return;try{gl.viewport(0,0,canvas.width,canvas.height);gl.uniform1f(uniforms.uTime,time);gl.uniform1f(uniforms.uHover,hover);gl.uniform1f(uniforms.uClick,clickValue);gl.uniform2f(uniforms.uResolution,width,height);gl.drawArrays(gl.TRIANGLES,0,3);}catch{broken=true;stop();gl.getExtension(\"WEBGL_lose_context\")?.loseContext();canvas.remove();onFail();}};const frame=now=>{raf=0;if(broken||disposed||lost||!visible||reducedMotion())return;// A long frame (a slow GPU, a tab coming back) is held to a quarter second, and the eases to one\n// step, so nothing overshoots; at any normal frame rate this is the glass's own loop exactly.\nconst delta=Math.min(.25,Math.max(0,(now-last)/1e3));last=now;hover+=(hoverTarget-hover)*Math.min(1,delta*4);if(clickPending>0){clickValue=clickPending;clickPending=0;}clickValue+=(0-clickValue)*Math.min(1,delta*6);time+=delta*(SPARKLE.restSpeed+(hoverSpeed-SPARKLE.restSpeed)*hover);// at rest, with the boost and a press eased out, the stars hold still and the loop stops\nconst settled=!SPARKLE.restSpeed&&!hoverTarget&&hover<.001&&clickValue<.001;if(settled)hover=clickValue=0;draw();if(!broken&&!settled)raf=window.requestAnimationFrame(frame);};const start=()=>{if(raf||broken||disposed||lost||!visible)return;if(reducedMotion()){// still: the boost shows at once, nothing moves, a press does not burst\nhover=hoverTarget;clickValue=0;clickPending=0;draw();return;}last=performance.now();raf=window.requestAnimationFrame(frame);};const stop=()=>{if(raf)window.cancelAnimationFrame(raf);raf=0;};const resize=new ResizeObserver(entries=>{const box=entries[entries.length-1].contentRect;width=box.width;height=box.height;const ratio=Math.min(window.devicePixelRatio||1,2);const w=Math.max(1,Math.round(width*ratio));const h=Math.max(1,Math.round(height*ratio));if(canvas.width!==w||canvas.height!==h){canvas.width=w;canvas.height=h;}// Drawn now, in this frame, so a resized (cleared) canvas is never shown empty.\ndraw();start();});resize.observe(container);const seen=new IntersectionObserver(entries=>{for(const entry of entries)visible=entry.isIntersecting;if(visible)start();else stop();});seen.observe(container);const motionChanged=()=>{stop();start();};reducedMotion();REDUCED_MOTION.current?.addEventListener(\"change\",motionChanged);// A context the browser takes back (too many on the page, a GPU reset): the canvas goes blank and\n// the button stands without its sparkle; if the browser gives it back, the sparkle carries on.\nconst onLost=event=>{event.preventDefault();lost=true;stop();};const onRestored=()=>{if(disposed||broken)return;try{setup();lost=false;draw();start();}catch{// stays blank: the button stands without its sparkle\n}};canvas.addEventListener(\"webglcontextlost\",onLost);canvas.addEventListener(\"webglcontextrestored\",onRestored);return{canvas,setHover(on){hoverTarget=on?1:0;if(reducedMotion()){hover=hoverTarget;draw();}else start();},flash(){if(reducedMotion())return;clickPending=1;start();},setKeepOut(box){keepOut=box&&box.length===4&&box.every(Number.isFinite)?box.slice():nowhere;if(!broken&&!lost&&program){gl.uniform4fv(uniforms.uKeep,keepOut);if(reducedMotion()||!raf)draw();}},dispose(){disposed=true;stop();resize.disconnect();seen.disconnect();REDUCED_MOTION.current?.removeEventListener(\"change\",motionChanged);canvas.removeEventListener(\"webglcontextlost\",onLost);canvas.removeEventListener(\"webglcontextrestored\",onRestored);// released now, not left to the garbage collector (see above)\ngl.getExtension(\"WEBGL_lose_context\")?.loseContext();canvas.remove();}};}// Anything in a button's sparkle that throws would take the whole panel down. It is caught here\n// instead (in the same task, so no frame shows it gone): the button stands without its sparkle, and\n// the buttons after it, on this open and later ones, go without theirs. A draw that throws outside\n// React is caught by createSparkle and ends the same way (ButtonSparkle's onFail). (No WebGL is not a\n// failure: the sparkle says \"off\" and the button stands without it, see createSparkle.)\nconst GLASS_FAILED={current:false};class GlassBoundary extends Component{static getDerivedStateFromError(){return{failed:true};}componentDidCatch(){GLASS_FAILED.current=true;this.props.onFail();}render(){return this.state.failed?null:this.props.children;}constructor(...args){super(...args);_define_property(this,\"state\",{failed:false});}}// A button's sparkle, while the panel lets it have one (GlassButton's live). It draws into the button's\n// sparkle layer and renders nothing itself; the button says whether it is drawing (data-nm-sparkle \"on\",\n// or \"off\": no WebGL here, and the button stands without it).\nfunction ButtonSparkle({buttonRef,layerRef,labelRef,sparkleRef,boostRef}){useEffect(()=>{const button=buttonRef.current;const layer=layerRef.current;const label=labelRef.current;if(!button||!layer)return;// A draw that threw (see createSparkle): the sparkle has gone, the button says \"off\", and the\n// buttons after it go without theirs (GLASS_FAILED), as for a failure GlassBoundary catches.\nconst onFail=()=>{GLASS_FAILED.current=true;sparkleRef.current=null;button.setAttribute(\"data-nm-sparkle\",\"off\");};const sparkle=createSparkle(layer,GLASS_BUTTON.colour,GLASS_BUTTON.hoverSpeed,onFail);button.setAttribute(\"data-nm-sparkle\",sparkle?\"on\":\"off\");if(!sparkle)return()=>button.removeAttribute(\"data-nm-sparkle\");sparkleRef.current=sparkle;sparkle.setHover(boostRef.current);// The label's box, for the stars to keep off, measured again whenever the label or the button\n// changes size (a pill's name changes with the domain). The layer is the button's own box, so\n// the label's offsets are layer coordinates; where the layer is drawn mirrored (Previous, see\n// PANEL_CSS), so is the box.\nlet observer=null;if(label){const measure=()=>{const width=layer.clientWidth;const x0=label.offsetLeft;const x1=x0+label.offsetWidth;const y0=label.offsetTop;const y1=y0+label.offsetHeight;const mirrored=/^matrix\\(-1,/.test(getComputedStyle(sparkle.canvas).transform);sparkle.setKeepOut(mirrored?[width-x1,y0,width-x0,y1]:[x0,y0,x1,y1]);};observer=new ResizeObserver(measure);observer.observe(label);observer.observe(layer);}return()=>{observer?.disconnect();sparkleRef.current=null;sparkle.dispose();button.removeAttribute(\"data-nm-sparkle\");};},[]);return null;}// The panel's three buttons (close, Previous, Next): the red ring button (\"Domain buttons\" in PANEL_CSS),\n// its ring turning from the open's first frame (watchRing), and its sparkle once the panel makes it live\n// (GLASS_MOUNT: after the open, one at a time) until it stops being live (the close). The ring and the\n// face are CSS, so the button looks itself from the first frame; only the sparkle waits. The wrapper\n// span and the button stay the same elements throughout, so a moment animating the span is not\n// disturbed and the focus never has to move.\n// (The \"glass\" in its name, and in GLASS_BUTTON, GLASS_MOUNT, GLASS_FAILED, GlassBoundary, glassLive,\n// mountGlass and the nm-domain-glass classes, is the Fluid Glass Button these buttons were before. The\n// names are kept on purpose: the three call sites read as they did, and data-nm-glass, which the motion\n// tools wait on for \"live\", keeps its name and meaning.)\nfunction GlassButton({className,padding,onClick,live,onReady,attributes,children,href}){const rootRef=useRef(null);const buttonRef=useRef(null);const layerRef=useRef(null);const labelRef=useRef(null);// The sparkle while there is one, and whether the ring's boost (the pointer, keyboard focus) is on,\n// which lifts the sparkle too.\nconst sparkleRef=useRef(null);const boostRef=useRef(false);// The sparkle failed (GlassBoundary): the button carries on without it.\nconst[failed,setFailed]=useState(false);const onReadyRef=useRef(onReady);onReadyRef.current=onReady;useEffect(()=>{const button=buttonRef.current;if(!button)return;return watchRing(button,on=>{boostRef.current=on;sparkleRef.current?.setHover(on);});},[]);useEffect(()=>{if(!live)return;let frame=0;let frames=0;const watch=()=>{frame=0;const root=rootRef.current;// No sparkle is coming: there is no WebGL here (the button says \"off\"), or it failed\n// (GlassBoundary). The button is as it will stay, so it is ready, and the panel's \"live\"\n// does not wait on it.\nif(GLASS_FAILED.current||root?.querySelector('[data-nm-sparkle=\"off\"]')){onReadyRef.current?.();return;}if(root?.querySelector(\"canvas\"))frames++;if(frames>=2)onReadyRef.current?.();else frame=window.requestAnimationFrame(watch);};frame=window.requestAnimationFrame(watch);return()=>window.cancelAnimationFrame(frame);},[live]);useEffect(()=>{if(!live)return;const root=rootRef.current;const mounted=root?Array.from(root.querySelectorAll(\"canvas\")):[];// The sparkle releases its WebGL context as it goes; this makes sure of it for any canvas left\n// under the button (one whose sparkle failed part-way). Browsers cap live contexts: reopening the\n// panel a few times would otherwise make the browser drop the oldest context, which is the domain\n// carousel. Released at once: the close takes the sparkle away (see closePanel) before it tells\n// the carousel to wake, so the release never waits behind the carousel's GPU work (deferred, a\n// release measured 4.8s with software GL).\nreturn()=>{const canvases=new Set([...mounted,...root?Array.from(root.querySelectorAll(\"canvas\")):[]]);canvases.forEach(canvas=>{const gl=canvas.getContext(\"webgl2\")||canvas.getContext(\"webgl\");gl?.getExtension(\"WEBGL_lose_context\")?.loseContext();});};},[live]);// A press, by the pointer or the keyboard, bursts the stars (the button's own click does the rest).\nconst flash=()=>sparkleRef.current?.flash();return /*#__PURE__*/_jsx(\"span\",{ref:rootRef,className:\"nm-domain-glass\"+(className?\" \"+className:\"\"),...attributes,children:/*#__PURE__*/createElement(href?\"a\":\"button\",{ref:buttonRef,type:href?undefined:\"button\",href,className:\"nm-domain-ring\",style:{padding:padding??GLASS_BUTTON.padding},onClick:event=>{if(href){if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0)return;event.preventDefault();}onClick();},onMouseDown:flash,onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \")flash();}},/*#__PURE__*/_jsx(\"div\",{ref:layerRef,className:\"nm-domain-sparkle\",\"aria-hidden\":\"true\",children:live&&!failed&&!GLASS_FAILED.current?/*#__PURE__*/_jsx(GlassBoundary,{onFail:()=>setFailed(true),children:/*#__PURE__*/_jsx(ButtonSparkle,{buttonRef:buttonRef,layerRef:layerRef,labelRef:labelRef,sparkleRef:sparkleRef,boostRef:boostRef})}):null}),/*#__PURE__*/_jsx(\"div\",{ref:labelRef,className:\"nm-domain-ring-label\",children:children}))});}const MOTION_REST={opacity:1,x:0,y:0,scale:1,scaleX:1,scaleY:1,blur:0,sweep:1};const LAYER_NAMES=[\"veil\",\"atmosphere\",\"art\",\"header\",\"sections\",\"nav\",\"navLabel\",\"track\",\"tick\",\"close\",\"column\"];// Large areas: opacity and transform only.\nconst LARGE_LAYERS=new Set([\"veil\",\"atmosphere\",\"art\",\"column\"]);// An arrival on these waits (READY_TIMEOUT at most) for its image.\nconst GATED_LAYERS=new Set([\"atmosphere\",\"art\"]);// Copies on these are opaque: one at full strength hides those under it.\nconst OPAQUE_LAYERS=new Set([\"atmosphere\",\"art\"]);const BLUR_MAX=8;const SWEEP_FEATHER=24;// An out copy under an ancestor that is still fading in is resampled into this many linear segments,\n// so that what shows of it only ever falls.\nconst COMPENSATION_STEPS=12;// What a drag moves (each through --nm-drag-x and --nm-drag-o, see DRAG_TARGETS).\nconst DRAG_CONTAINERS=\".nm-domain-art-frame, .nm-domain-copy, .nm-domain-readout-text\";const EPSILON=1e-4;// Elements an arrival waits for: each resolves once it can be shown, or by the deadline (ms).\nconst READY=new WeakMap;function cubicBezier(x1,y1,x2,y2){if(x1===y1&&x2===y2)return t=>t;const cx=3*x1;const bx=3*(x2-x1)-cx;const ax=1-cx-bx;const cy=3*y1;const by=3*(y2-y1)-cy;const ay=1-cy-by;const curveX=t=>((ax*t+bx)*t+cx)*t;const curveY=t=>((ay*t+by)*t+cy)*t;const slopeX=t=>(3*ax*t+2*bx)*t+cx;return x=>{if(x<=0)return 0;if(x>=1)return 1;let t=x;for(let i=0;i<8;i++){const error=curveX(t)-x;if(Math.abs(error)<1e-7)return curveY(t);const slope=slopeX(t);if(Math.abs(slope)<1e-6)break;t-=error/slope;}let low=0;let high=1;t=x;for(let i=0;i<40;i++){const value=curveX(t);if(Math.abs(value-x)<1e-7)break;if(value<x)low=t;else high=t;t=(low+high)/2;}return curveY(t);};}const CSS_EASINGS={linear:[0,0,1,1],ease:[.25,.1,.25,1],\"ease-in\":[.42,0,1,1],\"ease-out\":[0,0,.58,1],\"ease-in-out\":[.42,0,.58,1]};const EASINGS=new Map;// A curve by name (CHOREOGRAPHY.easing, then the CSS keywords) or as a CSS cubic-bezier().\nfunction easingOf(spec){const name=(spec??\"linear\").trim();const known=EASINGS.get(name);if(known)return known;let points=CHOREOGRAPHY.easing[name]??CSS_EASINGS[name];if(!points){const match=/^cubic-bezier\\(([^)]+)\\)$/.exec(name);const parsed=match?match[1].split(\",\").map(value=>parseFloat(value)):[];points=parsed.length===4&&parsed.every(Number.isFinite)?parsed:[0,0,1,1];}const[x1,y1,x2,y2]=points;const easing={css:`cubic-bezier(${x1}, ${y1}, ${x2}, ${y2})`,fn:cubicBezier(x1,y1,x2,y2)};EASINGS.set(name,easing);return easing;}// Where a run has an element at the given local time (ms; default now), or null where the run has\n// no effect any more (done without holding: the element is at rest).\nfunction sampleRun(run,at){const anim=run.anim;if(anim.playState===\"idle\")return null;const time=at??Number(anim.currentTime??0);const active=time-run.delay;let progress;if(active<0)progress=0;else if(run.duration<=0||active>=run.duration){if(!run.hold)return null;progress=1;}else progress=active/run.duration;const offsets=run.offsets;let segment=0;while(segment<offsets.length-2&&progress>offsets[segment+1])segment++;const span=offsets[segment+1]-offsets[segment];const local=span>0?Math.min(1,Math.max(0,(progress-offsets[segment])/span)):1;const eased=run.eases[segment](local);const values={};for(const prop of Object.keys(run.frames)){const frames=run.frames[prop];values[prop]=frames[segment]+(frames[segment+1]-frames[segment])*eased;}return values;}// One keyframe's CSS from the numbers.\nfunction keyframeOf(values,props,sweep){const frame={};if(props.has(\"opacity\"))frame.opacity=String(Math.min(1,Math.max(0,values.opacity)));if([\"x\",\"y\",\"scale\",\"scaleX\",\"scaleY\"].some(prop=>props.has(prop))){const sx=values.scale*values.scaleX;const sy=values.scale*values.scaleY;frame.transform=`translate3d(${values.x}px, ${values.y}px, 0px) scale(${sx}, ${sy})`;}if(props.has(\"blur\"))frame.filter=`blur(${Math.min(BLUR_MAX,Math.max(0,values.blur))}px)`;if(props.has(\"sweep\")&&sweep){const f=SWEEP_FEATHER;const along=sweep.axis===\"x\";const direction=along?sweep.reverse?\"to left\":\"to right\":sweep.reverse?\"to top\":\"to bottom\";const shown=Math.min(1,Math.max(0,values.sweep));const at=(sweep.reverse?shown:1-shown)*100;const image=`linear-gradient(${direction}, #000 calc(50% - ${f}px), transparent calc(50% + ${f}px))`;const size=along?`calc(200% + ${4*f}px) 100%`:`100% calc(200% + ${4*f}px)`;const position=along?`${at}% 0%`:`0% ${at}%`;Object.assign(frame,{maskImage:image,webkitMaskImage:image,maskSize:size,webkitMaskSize:size,maskPosition:position,webkitMaskPosition:position,maskRepeat:\"no-repeat\",webkitMaskRepeat:\"no-repeat\"});}return frame;}const warned=new Set;function warnOnce(message){if(warned.has(message)||typeof console===\"undefined\")return;warned.add(message);console.warn(\"NeuralDomainPanel motion: \"+message);}function partOf(element){return Number(element.dataset?.nmPart??0)||0;}function byPart(elements){return elements.map((element,index)=>({element,index,part:partOf(element)})).sort((a,b)=>a.part-b.part||a.index-b.index).map(entry=>entry.element);}// The time a moment's steps take at this tempo (ms), staggers included.\nfunction momentTotal(layers,tempo,counts=3){let total=0;for(const motion of Object.values(layers??{})){for(const step of Object.values(motion??{})){if(!step)continue;total=Math.max(total,((step.delay??0)+(step.stagger??0)*(counts-1)+step.duration)/tempo);}}return total;}// A copy that sits inside a static part rides it: the index number inside its index line, between\n// fixed text (\"/ 11\"). It never moves sideways on its own (its steps' x is ignored), so it can never\n// crowd or leave that text; it fades, and may move up or down, scale or blur. A drag's settle moves\n// the whole line, number and all.\nfunction pinnedInLine(element){return Boolean(element.parentElement?.closest(\"[data-nm-static]\"));}// Rapid input. A change that comes before the previous change's content has started to arrive\n// finds the ground empty: the old domain has left and the next one has not come. The readouts (the\n// names on the pills and the index number) then show the latest domain at once, as a quick\n// fade-through: what is leaving fades within readoutOut, and the new one comes after readoutDelay,\n// within readoutIn. The content (the artwork, the title and lead, the sections) waits on, to show\n// only the latest domain, but no longer than the burst's own pace calls for: hold is rhythm times the\n// time since the previous input (holdMin at least), and no content step waits longer than that, so\n// the latest arrival comes in as one, sooner than the choreography's own cascade. The atmosphere,\n// whole, static and decor steps keep their timing. ms at Motion Tempo 1; reduced motion is left as\n// it is (its crossfades are already short).\nconst BURST={readoutOut:100,readoutDelay:60,readoutIn:240,rhythm:1.1,holdMin:100};// A close during the open (see runClose): the shortest way back (ms at Motion Tempo 1), the pace of\n// the way back (it starts from rest and slows into its end) and the segments it is sampled into.\nconst REVERSE={min:320,easing:\"cubic-bezier(0.4, 0, 0.3, 1)\",samples:16};const CONTENT_LAYERS=new Set([\"art\",\"header\",\"sections\"]);// How long a follow-up's content waits (ms, real time).\nfunction burstHold(interval,tempo){return Math.max(BURST.holdMin/tempo,BURST.rhythm*Math.max(0,interval));}// A follow-up's timing for one copy (ms, real time).\nfunction burstTiming(layer,role,readout,delay,duration,burst,tempo){if(readout&&role===\"out\")return{delay:0,duration:Math.min(duration,BURST.readoutOut/tempo)};if(readout&&role===\"in\")return{delay:Math.min(delay,BURST.readoutDelay/tempo),duration:Math.min(duration,BURST.readoutIn/tempo)};// m-final: exactly hold, never sooner. This choreography's content starts early (100ms), so a\n// shorter own delay would let it start and be taken away by the next input (a strobe).\nif(role===\"in\"&&CONTENT_LAYERS.has(layer)&&burst.hold!==undefined)return{delay:burst.hold,duration};return{delay,duration};}function createMotionEngine(getDialog){// The run each element is under now: the latest one started on it.\nconst records=new Map;// The hairline's parting closing after a drag, and a snapBack's containers.\nlet partings=[];let snapRuns=[];let momentId=0;let openMoment=null;let scrollTimer=null;// A close is playing: nothing that waits (a gated arrival) starts any more.\nlet closing=false;// m-final: on a phone column scrolled down, a change's arriving section text is as tall as its own\n// text, so it would move what is below it while the column is still showing. Until the column is\n// hidden (resetAt), the text that was showing (the leaving copy of outOf, kept through a burst)\n// holds each section's height and the arriving one stands over it (PANEL_CSS, data-nm-holding).\n// Attributes only; nothing is read. A close keeps the hold until the panel has gone.\nconst holdColumn=(on,outOf)=>{const dialog=getDialog();if(!dialog)return;if(!on){dialog.removeAttribute(\"data-nm-holding\");dialog.querySelectorAll(\"[data-nm-hold]\").forEach(element=>element.removeAttribute(\"data-nm-hold\"));return;}dialog.querySelectorAll(\".nm-domain-readout .nm-domain-field\").forEach(field=>{const children=Array.from(field.children);if(children.some(child=>child.hasAttribute(\"data-nm-hold\")))return;const keep=children.find(child=>child.classList.contains(\"nm-domain-leaving\")&&child.getAttribute(\"data-nm-of\")===String(outOf))??children.find(child=>child.classList.contains(\"nm-domain-leaving\"));keep?.setAttribute(\"data-nm-hold\",\"\");});dialog.setAttribute(\"data-nm-holding\",\"\");};const now=()=>performance.now();const restOf=element=>{const decor=element.dataset?.nmDecor;if(!decor)return MOTION_REST;const rest=DECOR.find(item=>item.name===decor)?.rest;return{...MOTION_REST,opacity:0,...rest};};// Where an element is now, if a run still has an effect on it.\nconst valuesOf=element=>{const run=records.get(element);if(!run)return null;if(run.anim.playState===\"idle\"){records.delete(element);return null;}return sampleRun(run);};const slotKey=element=>{const data=element.dataset;return data?.nmSlot&&data.nmOf!==undefined?data.nmSlot+\":\"+data.nmOf:null;};// A run's value at an absolute time, assuming it keeps its present pace.\nconst valuesAt=(run,time)=>{const rate=run.anim.playState===\"running\"?run.anim.playbackRate:0;return sampleRun(run,Number(run.anim.currentTime??0)+(time-now())*rate);};const newMoment=name=>({id:++momentId,name,start:now(),runs:[],extra:[],total:0,contentAt:Infinity,readoutAt:-Infinity,done:Promise.resolve(),settled:false});const seal=moment=>{if(!Number.isFinite(moment.contentAt))moment.contentAt=moment.start;if(!Number.isFinite(moment.readoutAt))moment.readoutAt=moment.start;const all=[...moment.runs.map(run=>run.anim),...moment.extra];moment.done=Promise.allSettled(all.map(anim=>anim.finished)).then(()=>{moment.settled=true;});return moment;};// Plays one step on its targets.\nconst play=(moment,layer,role,step,targets,context,extras,options={})=>{if(!step||!targets.length)return;const dialog=getDialog();const reduced=context.reduced;const tempo=reduced?1:Math.max(.05,context.tempo);const reverse=step.staggerReverse===true||step.staggerReverse===\"dir\"&&context.dir<0;const ordered=reverse?[...targets].reverse():targets;const large=LARGE_LAYERS.has(layer);// The step's own tracks, as numbers.\n// m-final (engine): the same for each part that has its own keys (step.parts); a target\n// takes its part's set if there is one, else the shared one (see forEach below). Without\n// `parts` this is exactly the one set it was.\nconst declare=keys=>{const declared={};for(const prop of Object.keys(keys)){const track=keys[prop];if(!track)continue;if(reduced&&prop!==\"opacity\")continue;if(large&&(prop===\"blur\"||prop===\"sweep\")){warnOnce(`${prop} is not allowed on the ${layer} layer; it is ignored`);continue;}let values=(typeof track===\"function\"?track(context):track).map(Number);if(!values.length)continue;if(values.length===1)values=[values[0],values[0]];if(prop===\"x\"&&step.mirror)values=values.map(value=>value*(context.dir||1));if(prop===\"blur\")values=values.map(value=>Math.min(BLUR_MAX,Math.max(0,value)));declared[prop]=values;}return declared;};const shared=declare(step.keys);const perPart=new Map;for(const part of Object.keys(step.parts??{}))perPart.set(Number(part),declare(step.parts[Number(part)]));const sets=[shared,...perPart.values()];const count=Math.max(2,step.offsets?.length??0,...sets.flatMap(set=>Object.values(set).map(values=>values.length)));const offsets=step.offsets&&step.offsets.length===count?step.offsets.slice():Array.from({length:count},(_,index)=>index/(count-1));const segmentEasings=Array.from({length:count-1},(_,index)=>easingOf(step.easings?.[index]??step.easing));// A track with fewer values than the step has keyframes is spread over its offsets.\nconst spread=values=>{if(values.length===count)return values.slice();return offsets.map(offset=>{const position=offset*(values.length-1);const index=Math.min(values.length-2,Math.floor(position));return values[index]+(values[index+1]-values[index])*(position-index);});};const sweep=sets.some(set=>\"sweep\"in set)?{axis:step.sweepAxis??\"y\",reverse:Boolean(step.sweepReverse)}:undefined;ordered.forEach((element,index)=>{const declared=perPart.get(partOf(element))??shared;let delay=Math.max(0,((step.delay??0)+index*(step.stagger??0))/tempo);let duration=Math.max(1,step.duration/tempo);const copy=role===\"in\"||role===\"out\";const pinned=copy&&pinnedInLine(element);const readout=copy&&(layer===\"navLabel\"||pinned);if(extras.burst&&copy&&!reduced)({delay,duration}=burstTiming(layer,role,readout,delay,duration,extras.burst,tempo));// A copy pinned in its line takes no x of its own (pinnedInLine).\nlet own=declared;if(pinned&&declared.x){own={...declared};delete own.x;}const rest=restOf(element);// Where it is now: its own run, else what the snapshot kept of the copy it replaces, then\n// the drag's displacement of its container for what the drag carried.\nlet start=valuesOf(element);if(!start&&(role===\"in\"||role===\"out\")){const key=slotKey(element);start=key&&extras.snapshot?.get(key)||null;}if(role===\"out\"&&!start)start={};if((role===\"out\"||role===\"static\")&&extras.seeds&&dialog){const container=element.closest(DRAG_CONTAINERS);const seed=container&&extras.seeds.get(container);// Not through a static part, which carries the displacement for what is inside it.\nconst carried=container&&element.parentElement?.closest(\"[data-nm-static]\")&&container.contains(element.parentElement.closest(\"[data-nm-static]\"));if(seed&&!carried){start={...start??{}};start.x=(start.x??0)+(seed.x??0);start.opacity=(start.opacity??1)*(seed.opacity??1);}}const props=new Set(Object.keys(own));if(start){for(const prop of Object.keys(start))if(Math.abs((start[prop]??rest[prop])-rest[prop])>EPSILON)props.add(prop);}if(!props.size)return;const frames={};props.forEach(prop=>{const from=start?.[prop]??rest[prop];const track=own[prop];if(track){let values=spread(track);if(step.relative&&(prop===\"x\"||prop===\"y\"))values=values.map(value=>value+from);else if(start&&start[prop]!==undefined)values[0]=from;frames[prop]=values;}else if(role===\"out\")frames[prop]=offsets.map(()=>from);else frames[prop]=offsets.map(offset=>from+(rest[prop]-from)*offset);});const endsAtRest=Object.keys(frames).every(prop=>Math.abs(frames[prop][count-1]-rest[prop])<EPSILON);if(!endsAtRest&&role!==\"out\"&&!moment.name.toLowerCase().includes(\"close\"))warnOnce(`${moment.name} ${layer} ${role} does not end at rest`);let runOffsets=offsets;let eases=segmentEasings.map(easing=>easing.fn);let easingCss=segmentEasings.map(easing=>easing.css);let runDelay=delay;let runDuration=duration;// What shows of a leaving copy is its own opacity times its ancestors'. Where an ancestor is\n// still fading in (Next during the open), its own is lowered to match, so it only falls.\nif(role===\"out\"&&dialog){const ancestors=[];for(let node=element.parentElement;node&&node!==dialog;node=node.parentElement){const run=records.get(node);if(run&&run.frames.opacity&&run.anim.playState!==\"idle\"&&sampleRun(run))ancestors.push(run);}if(ancestors.length){const t0=now();const total=delay+duration;const strength=time=>ancestors.reduce((product,run)=>product*(valuesAt(run,time)?.opacity??1),1);const first=strength(t0);const varies=Array.from({length:COMPENSATION_STEPS+1},(_,i)=>strength(t0+total*i/COMPENSATION_STEPS)).some(value=>Math.abs(value-first)>.005);if(varies){const probe={el:element,anim:{playState:\"running\",currentTime:0},frames,offsets,eases,delay,duration,hold:true};const resampled={};const points=[];for(let i=0;i<=COMPENSATION_STEPS;i++){const time=total*i/COMPENSATION_STEPS;const values=sampleRun(probe,time)??{};const shown=strength(t0+time);if(values.opacity!==undefined)values.opacity=first<=.001?0:shown<=.001?1:Math.min(1,first*values.opacity/shown);for(const prop of Object.keys(frames))(resampled[prop]??=[]).push(values[prop]??rest[prop]);points.push(i/COMPENSATION_STEPS);}Object.assign(frames,resampled);runOffsets=points;eases=points.slice(1).map(()=>t=>t);easingCss=points.slice(1).map(()=>\"linear\");runDelay=0;runDuration=Math.max(1,total);}}}const full=index=>{const values={...MOTION_REST};for(const prop of Object.keys(frames))values[prop]=frames[prop][index];return values;};const keyframes=runOffsets.map((offset,index)=>({offset,easing:index<runOffsets.length-1?easingCss[index]:\"linear\",...keyframeOf(full(index),props,sweep),...step.origin?{transformOrigin:step.origin}:{}}));const previous=records.get(element);const anim=element.animate(keyframes,{duration:runDuration,delay:runDelay,fill:endsAtRest?\"backwards\":\"both\",easing:\"linear\"});if(previous&&previous.anim!==anim)previous.anim.cancel();const run={el:element,anim,frames,offsets:runOffsets,eases,delay:runDelay,duration:runDuration,hold:!endsAtRest,sweep};records.set(element,run);moment.runs.push(run);moment.total=Math.max(moment.total,runDelay+runDuration);if(role===\"in\"&&!readout&&CONTENT_LAYERS.has(layer))moment.contentAt=Math.min(moment.contentAt,now()+runDelay);if(role===\"in\"&&readout)moment.readoutAt=Math.max(moment.readoutAt,now()+runDelay);// An arriving artwork or atmosphere waits, hidden, until its image is ready; an arriving\n// name on a phone's pill, until the pill is its own (createPillSizer).\nconst held=role===\"in\"&&!GATED_LAYERS.has(layer)&&READY.has(element);if(options.gate!==false&&(GATED_LAYERS.has(layer)&&(role===\"in\"||role===\"whole\")||held)){const subject=role===\"in\"?element:element.querySelector(`[data-nm-copy=\"in\"][data-nm-layer=\"${layer}\"]`);const ready=subject?READY.get(subject):undefined;const cap=held?PILL_COMMIT_CAP:READY_TIMEOUT;if(ready){const created=now();// A run the close itself plays still starts; one that was waiting when the close\n// began never does.\nconst ofClose=closing;anim.pause();let resumed=false;const resume=()=>{if(resumed)return;resumed=true;if(closing&&!ofClose||records.get(element)!==run||anim.playState!==\"paused\")return;anim.currentTime=Math.min(now()-created,runDelay);anim.play();};ready(cap).then(resume,resume);setTimeout(resume,cap+40);}}});};const query=selector=>{const dialog=getDialog();return dialog?Array.from(dialog.querySelectorAll(selector)):[];};const wholes=layer=>byPart(query(`[data-nm-whole~=\"${layer}\"]`));const statics=layer=>byPart(query(`[data-nm-static~=\"${layer}\"]`));const copies=(layer,role,of)=>of===null||of===undefined?[]:byPart(query(`[data-nm-copy=\"${role}\"][data-nm-layer=\"${layer}\"][data-nm-of=\"${of}\"]`));// The hairline parted by a drag closes from where it was.\nconst closeParting=(moment,offset,duration,easing)=>{if(!offset)return;query('[data-nm-static~=\"track\"]').forEach(element=>{const anim=element.animate([{\"--nm-drag-x\":offset+\"px\",easing},{\"--nm-drag-x\":\"0px\"}],{duration,fill:\"backwards\"});partings.push(anim);moment?.extra.push(anim);anim.finished.then(()=>partings=partings.filter(item=>item!==anim),()=>{});});};const playLayers=(moment,layers,context,extras,skipWhole)=>{for(const layer of LAYER_NAMES){const motion=layers[layer];if(!motion)continue;if(motion.whole){const targets=wholes(layer).filter(element=>!skipWhole?.has(element));play(moment,layer,\"whole\",motion.whole,targets,context,extras);}if(motion.out)play(moment,layer,\"out\",motion.out,copies(layer,\"out\",extras.outOf),context,extras);if(motion.in)play(moment,layer,\"in\",motion.in,copies(layer,\"in\",extras.inOf),context,extras);if(motion.static){if(layer===\"track\"){if(!context.reduced)closeParting(moment,extras.dragOffset??0,Math.max(1,motion.static.duration/Math.max(.05,context.tempo)),easingOf(motion.static.easing).css);}else play(moment,layer,\"static\",motion.static,statics(layer),context,extras);}}};const playDecor=(moment,decor,context,extras)=>{for(const[name,step]of Object.entries(decor??{}))play(moment,\"decor\",\"whole\",step,query(`[data-nm-decor=\"${name}\"]`),context,extras);};const pauseAll=except=>{records.forEach((run,element)=>{if(except?.has(element))return;if(run.anim.playState===\"running\")run.anim.pause();});partings.forEach(anim=>anim.playState===\"running\"&&anim.pause());};// A run of an element through sampled values (linear between them; it holds its last values), in\n// place of the run it was under. Used where a close takes over an open that is still playing.\nconst playSampled=(moment,element,frames,offsets,delay,duration,sweep)=>{const props=new Set(Object.keys(frames));const keyframes=offsets.map((offset,index)=>{const values={...MOTION_REST};props.forEach(prop=>values[prop]=frames[prop][index]);return{offset,easing:\"linear\",...keyframeOf(values,props,sweep)};});const previous=records.get(element);const anim=element.animate(keyframes,{duration:Math.max(1,duration),delay:Math.max(0,delay),fill:\"both\",easing:\"linear\"});if(previous&&previous.anim!==anim)previous.anim.cancel();const run={el:element,anim,frames,offsets,eases:offsets.slice(1).map(()=>t=>t),delay:Math.max(0,delay),duration:Math.max(1,duration),hold:true,sweep};records.set(element,run);moment.runs.push(run);moment.total=Math.max(moment.total,run.delay+run.duration);};const runClose=(moment,definition,context,extras)=>{if(scrollTimer!==null)clearTimeout(scrollTimer);scrollTimer=null;closing=true;const tempo=context.reduced?1:Math.max(.05,context.tempo);if(definition.reverseOpen&&openMoment&&!openMoment.settled){// The open plays backwards from where it is: what came in last goes first and the ground\n// goes last. Each element retraces its own open path from where it is now at the pace of\n// REVERSE.easing (sampled, REVERSE.samples segments): it eases out of its forward motion and\n// slows into where it started. (The open's decelerating curves simply played backwards\n// would end at their fastest: a pop.) The way back takes as long as the open has played,\n// at least REVERSE.min and at most the close itself.\nconst elapsed=now()-openMoment.start;const closeTotal=momentTotal(definition.layers,tempo);const span=Math.min(closeTotal,Math.max(Math.min(REVERSE.min/tempo,closeTotal),elapsed));const rate=Math.max(.001,elapsed/Math.max(1,span));const back=easingOf(REVERSE.easing).fn;const sink=easingOf(\"exit\").fn;const shares=Array.from({length:REVERSE.samples+1},(_,i)=>i/REVERSE.samples);const artStep=definition.layers.art?.whole;const handled=new Set;for(const run of openMoment.runs){if(records.get(run.el)!==run||run.anim.playState===\"idle\")continue;const end=run.delay+run.duration;const time=run.anim.playState===\"finished\"?Math.max(end,elapsed):Math.min(Number(run.anim.currentTime??0),elapsed);const moved=Math.min(time,end)-run.delay;// After a turn the artwork on show is not the one the carousel shows: it sinks where it\n// is (the close's own art step, sinking, from its place now), instead of flying a\n// different domain's artwork onto that image.\nif(!ARRIVAL.homeward&&artStep&&run.el.matches?.('[data-nm-whole~=\"art\"]')){if(context.reduced)continue;const from=sampleRun(run)??{};const opacity=from.opacity??1;const x=from.x??0;const y=from.y??0;const scale=from.scale??1;const done=shares.map(sink);playSampled(moment,run.el,{opacity:done.map(value=>opacity*(1-value)),x:done.map(()=>x),y:done.map(()=>y),scale:done.map(value=>scale*(1+(SINK_SCALE-1)*value))},shares,0,// m-final: within the way back the ground lifts early (it went first in the\n// open), so the artwork sinks in under half of that way: it is gone before the\n// carousel shows through, never over it.\nMath.min(artStep.duration*SINK_SHARE/tempo,span*.45));handled.add(run.el);continue;}if(moved<=.5){// It had not begun: it stays as it started.\nrun.anim.pause();handled.add(run.el);continue;}const holding={...run,hold:true};const rest=restOf(run.el);const frames={};for(const share of shares){const values=sampleRun(holding,run.delay+moved*(1-back(share)))??{};for(const prop of Object.keys(run.frames))(frames[prop]??=[]).push(values[prop]??rest[prop]);}playSampled(moment,run.el,frames,shares,Math.max(0,time-end)/rate,moved/rate,run.sweep);handled.add(run.el);}pauseAll(handled);// Wholes the open did not bring in (or that a later moment took over) leave as in a close.\nplayLayers(moment,definition.layers,context,extras,handled);}else{pauseAll();playLayers(moment,definition.layers,context,extras);}playDecor(moment,definition.decor,context,extras);};// A press or a wheel during a snapBack catches it where it is: the snapBack stops and the returned\n// offset (the artwork's) is where the drag picks up.\nconst grab=()=>{const running=snapRuns.filter(run=>run.anim.playState===\"running\");snapRuns=[];partings.forEach(anim=>anim.cancel());partings=[];if(!running.length)return null;const art=running.find(run=>run.el.matches?.(\".nm-domain-art-frame\"))??running[0];const x=sampleRun(art)?.x??0;running.forEach(run=>{run.anim.cancel();if(records.get(run.el)===run)records.delete(run.el);});return x;};return{run(name,context,extras={}){const moment=newMoment(name);const dialog=getDialog();if(!dialog)return seal(moment);if(name===\"snapBack\")return seal(moment);const definition=CHOREOGRAPHY[name];if(name===\"close\"||name===\"reducedClose\"){runClose(moment,definition,context,extras);return seal(moment);}closing=false;// A follow-up of a burst (see BURST): only turns and drags, never under reduced motion.\nif(extras.burst)extras=(name===\"turn\"||name===\"dragCommit\")&&!context.reduced?{...extras,burst:{...extras.burst,hold:burstHold(extras.burst.interval,Math.max(.05,context.tempo))}}:{...extras,burst:undefined};playLayers(moment,definition.layers,context,extras);playDecor(moment,definition.decor,context,extras);if(name===\"open\"||name===\"reducedOpen\")openMoment=moment;const scrolled=definition.scrolled;if(scrolled&&context.scrolled){holdColumn(true,extras.outOf);playLayers(moment,scrolled.layers,context,extras);if(scrollTimer!==null)clearTimeout(scrollTimer);const tempo=context.reduced?1:Math.max(.05,context.tempo);scrollTimer=setTimeout(()=>{scrollTimer=null;// The column is hidden: the arriving text takes its own height as it returns to the top.\nholdColumn(false);getDialog()?.scrollTo({top:0,behavior:\"auto\"});},scrolled.resetAt/tempo);}return seal(moment);},snapshot(){const values=new Map;query(\"[data-nm-copy][data-nm-slot]\").forEach(element=>{const key=slotKey(element);const now=valuesOf(element);if(key&&now)values.set(key,now);});return values;},// How much of each domain on screen still shows: the most of any of its copies, where an\n// opaque copy hides by its strength what lies under it.\nvisibility(){const shown=new Map;const note=(element,value)=>{const domain=Number(element.dataset.nmOf);if(!Number.isFinite(domain))return;shown.set(domain,Math.max(shown.get(domain)??0,value));};const strength=element=>Math.min(1,Math.max(0,valuesOf(element)?.opacity??restOf(element).opacity));for(const layer of LAYER_NAMES){const list=query(`[data-nm-copy][data-nm-layer=\"${layer}\"]`);if(!OPAQUE_LAYERS.has(layer)){list.forEach(element=>note(element,strength(element)));continue;}// In paint order, the last on top.\nlet covering=1;for(let index=list.length-1;index>=0;index--){const value=strength(list[index]);note(list[index],value*covering);covering*=1-value;}}return shown;},containerSeeds(layout){const seeds=new Map;layout.querySelectorAll(DRAG_CONTAINERS).forEach(element=>{const style=getComputedStyle(element);let x=0;try{x=style.transform&&style.transform!==\"none\"?new DOMMatrixReadOnly(style.transform).m41:0;}catch{}const opacity=parseFloat(style.opacity);seeds.set(element,{x,opacity:Number.isFinite(opacity)?opacity:1});});return seeds;},snapBack(seeds,offset,context){grab();if(context.reduced)return;const tempo=Math.max(.05,context.tempo);const duration=Math.max(1,CHOREOGRAPHY.snapBack.duration/tempo);const easing=easingOf(CHOREOGRAPHY.snapBack.easing??\"out\");seeds.forEach((seed,element)=>{const x=seed.x??0;const opacity=seed.opacity??1;if(Math.abs(x)<.01&&Math.abs(opacity-1)<.001)return;const anim=element.animate([{transform:`translate3d(${x}px, 0px, 0px)`,opacity:String(opacity),easing:easing.css},{transform:\"translate3d(0px, 0px, 0px)\",opacity:\"1\"}],{duration,fill:\"backwards\"});const run={el:element,anim,frames:{x:[x,0],opacity:[opacity,1]},offsets:[0,1],eases:[easing.fn],delay:0,duration,hold:false};records.get(element)?.anim.cancel();records.set(element,run);snapRuns.push(run);});closeParting(null,offset,duration,easing.css);},grab,// Measures the layout as it is at rest: every running animation that ends at rest is moved to\n// its last instant for the measurement (never past it, which would finish it) and put back in\n// the same task, so no frame shows it.\npark(measure){const parked=[];records.forEach(run=>{const anim=run.anim;if(run.hold||anim.playbackRate<0)return;if(anim.playState===\"idle\"||anim.playState===\"finished\")return;const time=anim.currentTime===null?null:Number(anim.currentTime);parked.push([anim,time]);anim.currentTime=Math.max(0,run.delay+run.duration-.01);});try{measure();}finally{for(const[anim,time]of parked){if(time!==null)anim.currentTime=time;}}},quiet(){const running=[];records.forEach(run=>{if(run.anim.playState===\"running\")running.push(run.anim.finished);});return Promise.allSettled(running).then(()=>undefined);},// Whether anything the engine plays is still moving (or waiting, gated, to move).\nmoving(){let moving=partings.length>0;records.forEach(run=>{const state=run.anim.playState;if(state===\"running\"||state===\"paused\")moving=true;});return moving;},shows(element){return Math.min(1,Math.max(0,valuesOf(element)?.opacity??restOf(element).opacity));},still(elements){return elements.every(element=>{const state=records.get(element)?.anim.playState;return state!==\"running\"&&state!==\"paused\";});},reset(){records.forEach(run=>run.anim.cancel());records.clear();partings.forEach(anim=>anim.cancel());partings=[];snapRuns=[];openMoment=null;closing=false;if(scrollTimer!==null)clearTimeout(scrollTimer);scrollTimer=null;holdColumn(false);}};}// ---- Phone pill widths ----------------------------------------------------------------------------\n// On a phone each pill is as wide as one of its faces (the name it goes to), its sizing face; any other\n// face on it stands out of the flow, centred over it (data-nm-loose, see PANEL_CSS). A change keeps\n// the old face sizing the pill while its name leaves, and hands the pill to the new face in one frame\n// once no name on either pill shows and nothing moves the pills' wrappers (or they have no sparkle\n// yet): the commit. The new name's arrival waits for the commit (READY), so a pill's width, and its\n// sparkle's canvas, change only while the pill shows no name and stands still (the sparkle redraws at\n// its new size in the same frame). The longest a commit waits is PILL_COMMIT_CAP (then it is made\n// anyway). Wider windows hold every pill at the widest name (nm-domain-nav-room): nothing is done there.\nconst PILL_COMMIT_CAP=900;const PHONE_QUERY=\"(max-width: 699px)\";function createPillSizer(getDialog,getEngine){let sizing=null;let frame=0;let release=null;const phone=()=>typeof window!==\"undefined\"&&window.matchMedia(PHONE_QUERY).matches;const faces=dialog=>Array.from(dialog.querySelectorAll(\".nm-domain-nav-face\"));const ownerOf=face=>Number(face.dataset.nmOf);const loosen=(dialog,keep)=>faces(dialog).forEach(face=>{const loose=ownerOf(face)!==keep;if(loose!==face.hasAttribute(\"data-nm-loose\"))face.toggleAttribute(\"data-nm-loose\",loose);});const stop=()=>{if(frame)window.cancelAnimationFrame(frame);frame=0;};const commit=current=>{stop();sizing=current;const dialog=getDialog();if(dialog){// Only a phone's pills are sized by their faces; elsewhere every face stays in the flow.\nif(phone())loosen(dialog,current);else faces(dialog).forEach(face=>face.removeAttribute(\"data-nm-loose\"));faces(dialog).forEach(face=>ownerOf(face)===current&&READY.delete(face));}const done=release;release=null;done?.();};return{measure(current){const dialog=getDialog();if(dialog&&phone())loosen(dialog,current);},hold(current){stop();const dialog=getDialog();const keep=sizing;if(!dialog||!phone()||keep===null||keep===current||!faces(dialog).some(face=>ownerOf(face)===keep)){commit(current);return false;}loosen(dialog,keep);const gate=new Promise(resolve=>release=resolve);faces(dialog).forEach(face=>ownerOf(face)===current&&READY.set(face,()=>gate));return true;},start(current){const began=performance.now();const check=()=>{frame=0;const dialog=getDialog();if(!dialog||sizing===current)return;const engine=getEngine();const others=faces(dialog).filter(face=>ownerOf(face)!==current);const out=others.every(face=>engine.shows(face)<=.004);const still=!dialog.querySelector(\".nm-domain-navigation canvas\")||engine.still(Array.from(dialog.querySelectorAll('[data-nm-whole~=\"nav\"]')));if(out&&still||performance.now()-began>=PILL_COMMIT_CAP)commit(current);else frame=window.requestAnimationFrame(check);};check();},settle(current){if(current===null){// Closed: a name still waiting stays hidden (its gate is dropped, not opened).\nstop();sizing=null;release=null;return;}if(sizing!==current)commit(current);}};}// ---- Artwork readiness ----------------------------------------------------------------------------\n// Every artwork is fetched and decoded once the page is idle (see the panel), so an arrival rarely\n// waits; the images are kept here so the browser keeps them.\nconst PRELOADED=new Map;function preloadArt(src,srcSet){if(typeof Image===\"undefined\")return Promise.resolve();const key=src+\" \"+(srcSet??\"\");let image=PRELOADED.get(key);if(!image){image=new Image;image.decoding=\"async\";if(srcSet)image.srcset=srcSet;image.src=src;PRELOADED.set(key,image);}return image.decode().catch(()=>undefined);}// Resolves once the image is decoded, or after ms at the latest.\nfunction decodeWithin(image,ms){let timer;return Promise.race([image.decode().catch(()=>undefined),new Promise(resolve=>{timer=setTimeout(resolve,ms);})]).then(()=>{if(timer!==undefined)clearTimeout(timer);});}// ---- The atmosphere as a pre-blurred bitmap ---------------------------------------------------------\n// The atmosphere was the artwork at full size under a live 18px blur (14px on a phone), repainted\n// whenever anything over it moved. Instead each artwork is drawn once, small (Framer's CDN scales it to\n// 256px with ?scale-down-to=256), into a canvas of the atmosphere's box at sigma / BITMAP_DETAIL px per\n// pixel, blurred there by the same Gaussian (three box passes, the box's edges fading out as a CSS blur\n// does), and that canvas is stretched over the box. The cover crop follows the artwork's focal point\n// as object-position did. Where the image cannot be read (no CORS) the copy keeps the live blur.\nconst BITMAP_DETAIL=2.25;const BITMAPS=new Map;const BITMAPS_PENDING=new Map;const SMALL_IMAGES=new Map;function backdropGeometry(){const phone=typeof window!==\"undefined\"&&window.matchMedia(\"(max-width: 699px)\").matches;const sigma=phone?14:18;const width=(typeof window!==\"undefined\"?window.innerWidth:1440)+56;const height=(typeof window!==\"undefined\"?window.innerHeight:900)+56;const scale=sigma/BITMAP_DETAIL;return{width,height,sigma,bitmapWidth:Math.max(8,Math.round(width/scale)),bitmapHeight:Math.max(8,Math.round(height/scale))};}function bitmapKey(src,geometry,focal){return`${src}|${geometry.bitmapWidth}x${geometry.bitmapHeight}|${geometry.sigma}|${focal.x},${focal.y}`;}function smallImageUrl(src){try{const url=new URL(src,typeof location!==\"undefined\"?location.href:undefined);if(url.hostname.endsWith(\"framerusercontent.com\"))return url.origin+url.pathname+\"?scale-down-to=256\";return url.href;}catch{return src;}}function loadSmallImage(src){const url=smallImageUrl(src);let pending=SMALL_IMAGES.get(url);if(!pending){const image=new Image;image.crossOrigin=\"anonymous\";image.decoding=\"async\";image.src=url;pending=image.decode().then(()=>image,()=>null);SMALL_IMAGES.set(url,pending);}return pending;}const SMALL_SOURCES=new Map;function sizeOf(blob){return new Promise(resolve=>{const url=URL.createObjectURL(blob);const image=new Image;const done=size=>{URL.revokeObjectURL(url);resolve(size);};image.onload=()=>done(image.naturalWidth&&image.naturalHeight?{width:image.naturalWidth,height:image.naturalHeight}:null);image.onerror=()=>done(null);image.src=url;});}function loadSmallSource(src){const url=smallImageUrl(src);let pending=SMALL_SOURCES.get(url);if(!pending){const viaImage=()=>loadSmallImage(src).then(image=>image?{url,blob:null,image,width:image.naturalWidth,height:image.naturalHeight}:null);pending=typeof fetch===\"function\"&&typeof createImageBitmap===\"function\"&&typeof URL.createObjectURL===\"function\"?fetch(url,{mode:\"cors\"}).then(response=>response.ok?response.blob():Promise.reject(response.status)).then(blob=>sizeOf(blob).then(size=>size?{url,blob,image:null,...size}:null)).catch(viaImage):viaImage();SMALL_SOURCES.set(url,pending);}return pending;}// The size the image is drawn at in the bitmap (object-fit: cover), in the bitmap's pixels.\nfunction drawnSize(small,geometry){const cover=Math.max(geometry.width/small.width,geometry.height/small.height);return{cover,drawnWidth:small.width*cover/(geometry.width/geometry.bitmapWidth),drawnHeight:small.height*cover/(geometry.height/geometry.bitmapHeight)};}// Decoding runs away from the main thread, so it does not wait for the page to stop scrolling: the warm-up\n// starts each image's decode as soon as its bytes are here, and the bitmap built later, or at once for an\n// arrival, takes it. One decode per image is kept until a bitmap takes it. The decode is never asked to\n// resize: createImageBitmap's resize (resizeQuality \"high\") runs on the main thread, in tasks of 8-12 ms\n// that came back to back while the page scrolled (measured 2026-10-27); the canvases halve instead, one step\n// per idle slice, with the same pixels.\n// The warm-up starts one decode per idle callback (all of them at once came back as a burst of main-thread\n// tasks); a bitmap that needs an image before its turn decodes it at once.\nconst DECODES=new Map;const WARM_QUEUE=[];let warmPending=false;function decodeSmall(small){if(!small.blob)return Promise.resolve(null);return createImageBitmap(small.blob).catch(()=>null);}function warmPump(){warmPending=false;const small=WARM_QUEUE.shift();if(small&&!DECODES.has(small.url))DECODES.set(small.url,decodeSmall(small));if(WARM_QUEUE.length)warmLater();}function warmLater(){if(warmPending)return;warmPending=true;if(typeof window.requestIdleCallback===\"function\")window.requestIdleCallback(warmPump,{timeout:1e3});else window.setTimeout(warmPump,50);}function warmDecode(src){if(typeof document===\"undefined\")return;loadSmallSource(src).then(small=>{if(!small||!small.blob||DECODES.has(small.url)||WARM_QUEUE.includes(small))return;WARM_QUEUE.push(small);warmLater();}).catch(()=>{});}function takeDecode(small){const queued=WARM_QUEUE.indexOf(small);if(queued>=0)WARM_QUEUE.splice(queued,1);const kept=DECODES.get(small.url);DECODES.delete(small.url);return kept||decodeSmall(small);}// ---- Building a bitmap in slices of idle time ----\n// The scaling, the drawing and the blur run in short slices in the browser's idle time, so the page's\n// frames never wait for them: a slice starts only when the page is not scrolling and more than SLICE_MIN_MS\n// + 1 ms of the idle period is left, and it stops after IDLE_SLICE_MS, when less than SLICE_MIN_MS is left,\n// or when the page starts scrolling. The one exception is an arrival that waits for its bitmap (an open\n// panel, READY_TIMEOUT at most): that job runs at once, in tasks of URGENT_SLICE_MS, even if the page is\n// still easing to a stop under the panel (the visitor is waiting for that picture, not scrolling).\nconst SLICE_MIN_MS=2;const URGENT_SLICE_MS=6;// an idle slice runs 4 ms at most (as the Safari fallback below), whatever the idle period would allow: an\n// input that comes in during one waits that long at most (measured 2026-10-27: slices of 8-12 ms at 60 Hz)\nconst IDLE_SLICE_MS=4;const SCROLL_REST_MS=150;const BITMAP_JOBS=new Map;let lastScrollAt=-Infinity;let scrollWatchers=0;const onPageScroll=()=>{lastScrollAt=performance.now();};function watchScroll(change){scrollWatchers+=change;if(change>0&&scrollWatchers===1)window.addEventListener(\"scroll\",onPageScroll,{passive:true});if(change<0&&scrollWatchers===0)window.removeEventListener(\"scroll\",onPageScroll);}// The page is scrolling: its smooth scroll says so (window.lenis), or a scroll event came in the last\n// SCROLL_REST_MS (native scrolling, phones).\nfunction pageIsScrolling(){const page=window;const lenis=page.lenis||page.__nmLenis;if(lenis&&lenis.isScrolling)return true;return performance.now()-lastScrollAt<SCROLL_REST_MS;}// Resolves at the start of the next slice with a function that tells how many ms of it are left.\nfunction nextSlice(job){return new Promise(resolve=>{const later=ms=>{const timer=setTimeout(attempt,ms);job.wake=()=>{clearTimeout(timer);attempt();};};const attempt=()=>{job.wake=null;if(job.urgent){// what is left of the urgent task under way goes on at once; otherwise a new task\nif(job.until-performance.now()>SLICE_MIN_MS+1)return resolve(()=>job.until-performance.now());setTimeout(()=>{job.until=performance.now()+URGENT_SLICE_MS;resolve(()=>job.until-performance.now());},0);return;}if(pageIsScrolling())return later(SCROLL_REST_MS);if(typeof window.requestIdleCallback!==\"function\"){// No idle callbacks (Safari): a short task right after a frame has been drawn.\nreturn requestAnimationFrame(()=>setTimeout(()=>{if(job.urgent)return attempt();if(pageIsScrolling())return later(SCROLL_REST_MS);const end=performance.now()+IDLE_SLICE_MS;resolve(()=>!job.urgent&&pageIsScrolling()?0:end-performance.now());},0));}const id=window.requestIdleCallback(deadline=>{job.wake=null;if(job.urgent)return attempt();if(pageIsScrolling())return later(SCROLL_REST_MS);if(deadline.timeRemaining()<SLICE_MIN_MS+1)return attempt();const end=performance.now()+IDLE_SLICE_MS;resolve(()=>!job.urgent&&pageIsScrolling()?0:Math.min(deadline.timeRemaining()-SLICE_MIN_MS,end-performance.now()));});job.wake=()=>{window.cancelIdleCallback(id);attempt();};};attempt();});}// The box sizes of three box blurs that add up to a Gaussian of sigma.\nfunction boxesForGauss(sigma){const n=3;const ideal=Math.sqrt(12*sigma*sigma/n+1);let lower=Math.floor(ideal);if(lower%2===0)lower--;lower=Math.max(1,lower);const upper=lower+2;const m=Math.round((12*sigma*sigma-n*lower*lower-4*n*lower-3*n)/(-4*lower-4));return Array.from({length:n},(_,index)=>index<m?lower:upper);}// One box pass over premultiplied RGBA, with nothing (transparent) beyond the edges, for the lines\n// (rows, or columns when vertical) first to last - 1.\nfunction boxPass(source,target,width,height,radius,horizontal,first=0,last=horizontal?height:width){const scale=1/(2*radius+1);const length=horizontal?width:height;const stride=horizontal?4:width*4;for(let line=first;line<last;line++){const base=horizontal?line*width*4:line*4;for(let channel=0;channel<4;channel++){let sum=0;for(let i=0;i<=radius&&i<length;i++)sum+=source[base+i*stride+channel];for(let i=0;i<length;i++){target[base+i*stride+channel]=sum*scale;const add=i+radius+1;const remove=i-radius;if(add<length)sum+=source[base+add*stride+channel];if(remove>=0)sum-=source[base+remove*stride+channel];}}}}// The blur of an ImageData in place, as steps of BLUR_LINES lines: premultiply, three horizontal and three\n// vertical box passes, unpremultiply. The returned function runs steps while timeLeft() is above 0 and\n// returns true once the blur is complete; the result is exactly that of one uninterrupted run.\nconst BLUR_LINES=12;function blurSteps(data,sigmaX,sigmaY){const{width,height}=data;const pixels=data.data;let a=new Float32Array(pixels.length);let b=new Float32Array(pixels.length);const passes=[...boxesForGauss(sigmaX).map(box=>({radius:(box-1)/2,horizontal:true})),...boxesForGauss(sigmaY).map(box=>({radius:(box-1)/2,horizontal:false}))];let stage=0// 0: premultiply, 1 to passes.length: the box passes, then unpremultiply\n;let line=0;return timeLeft=>{while(stage<=passes.length+1){if(timeLeft()<=0)return false;if(stage===0||stage===passes.length+1){const end=Math.min(height,line+BLUR_LINES);const to=end*width*4;if(stage===0){for(let i=line*width*4;i<to;i+=4){const alpha=pixels[i+3]/255;a[i]=pixels[i]*alpha;a[i+1]=pixels[i+1]*alpha;a[i+2]=pixels[i+2]*alpha;a[i+3]=alpha;}}else{for(let i=line*width*4;i<to;i+=4){const alpha=a[i+3];pixels[i+3]=Math.round(alpha*255);const inverse=alpha>0?1/alpha:0;pixels[i]=Math.round(a[i]*inverse);pixels[i+1]=Math.round(a[i+1]*inverse);pixels[i+2]=Math.round(a[i+2]*inverse);}}line=end;if(line>=height){stage++;line=0;}}else{const pass=passes[stage-1];const lines=pass.horizontal?height:width;const end=Math.min(lines,line+BLUR_LINES);boxPass(a,b,width,height,pass.radius,pass.horizontal,line,end);line=end;if(line>=lines){[a,b]=[b,a];stage++;line=0;}}}return true;};}function blurImageData(data,sigmaX,sigmaY){blurSteps(data,sigmaX,sigmaY)(()=>1);}// The image halved until the last step shrinks it by half at most (Safari's single-step downscale skips\n// pixels), as before: decoded by createImageBitmap (away from the main thread where the browser can), then\n// halved on canvases kept in memory (willReadFrequently), never on the GPU, so nothing has to be read back;\n// one halving per slice, smoothing \"high\" (for these 2:1 steps the same pixels as createImageBitmap's own\n// \"high\" resize; \"low\" is not).\nasync function scaledSource(small,drawnWidth,drawnHeight,job){// the decode (usually started by the warm-up); the halvings below, one per slice\nlet bitmap=null;let source=small.image;let width=small.width;let height=small.height;if(small.blob){bitmap=await takeDecode(small);if(!bitmap)return null;source=bitmap;width=bitmap.width;height=bitmap.height;}if(!source)return null;while(width/2>=drawnWidth&&height/2>=drawnHeight){await nextSlice(job);const half=document.createElement(\"canvas\");half.width=Math.ceil(width/2);half.height=Math.ceil(height/2);const context=half.getContext(\"2d\",{willReadFrequently:true});if(!context)break;context.imageSmoothingEnabled=true;context.imageSmoothingQuality=\"high\";context.drawImage(source,0,0,width,height,0,0,half.width,half.height);if(bitmap){bitmap.close();bitmap=null;}source=half;width=half.width;height=half.height;}const kept=bitmap;return{source,width,height,release:()=>kept?.close()};}async function buildBitmap(small,geometry,focal,job){const{width,height,bitmapWidth,bitmapHeight,sigma}=geometry;const imageWidth=small.width;const imageHeight=small.height;if(!imageWidth||!imageHeight)return null;const kx=width/bitmapWidth;const ky=height/bitmapHeight;// object-fit: cover at the focal point (object-position), in the bitmap's pixels.\nconst{cover,drawnWidth,drawnHeight}=drawnSize(small,geometry);const left=(width-imageWidth*cover)*focal.x/kx;const top=(height-imageHeight*cover)*focal.y/ky;await nextSlice(job);const scaled=await scaledSource(small,drawnWidth,drawnHeight,job);if(!scaled)return null;let timeLeft=await nextSlice(job);const canvas=document.createElement(\"canvas\");canvas.width=bitmapWidth;canvas.height=bitmapHeight;const context=canvas.getContext(\"2d\",{willReadFrequently:true});if(!context){scaled.release();return null;}context.imageSmoothingEnabled=true;context.imageSmoothingQuality=\"high\";context.drawImage(scaled.source,0,0,scaled.width,scaled.height,left,top,drawnWidth,drawnHeight);scaled.release();let data;try{data=context.getImageData(0,0,bitmapWidth,bitmapHeight);}catch{return null;}const blur=blurSteps(data,sigma/kx,sigma/ky);while(!blur(timeLeft))timeLeft=await nextSlice(job);context.putImageData(data,0,0);return canvas;}// The atmosphere bitmap for an artwork at the window's present size: null where it cannot be made.\n// urgent: an arrival waits for it, so its slices run at once.\nfunction requestBackdrop(src,focal,urgent=false){if(typeof document===\"undefined\")return Promise.resolve(null);const geometry=backdropGeometry();const key=bitmapKey(src,geometry,focal);if(BITMAPS.has(key))return Promise.resolve(BITMAPS.get(key)??null);let pending=BITMAPS_PENDING.get(key);if(!pending){const job={urgent,wake:null,until:0};BITMAP_JOBS.set(key,job);watchScroll(1);pending=loadSmallSource(src).then(small=>small?buildBitmap(small,geometry,focal,job):null).catch(()=>null).then(canvas=>{BITMAPS.set(key,canvas);BITMAPS_PENDING.delete(key);BITMAP_JOBS.delete(key);watchScroll(-1);return canvas;});BITMAPS_PENDING.set(key,pending);}else if(urgent){const job=BITMAP_JOBS.get(key);if(job&&!job.urgent){job.urgent=true;job.wake?.();}}return pending;}// One domain's atmosphere: its own dark ground and the blurred artwork over it, so that copies can\n// crossfade without the ground ever showing through.\nfunction BackdropCopy({domain,art,attributes,ssrSafe=false,staticRender=false}){const copyRef=useRef(null);const canvasRef=useRef(null);const focal=domain.focalPoint;const[mode,setMode]=useState(()=>{if(ssrSafe||!BACKDROP_BITMAP||typeof window===\"undefined\")return\"img\";const key=bitmapKey(art.src,backdropGeometry(),focal);if(!BITMAPS.has(key))return\"wait\";return BITMAPS.get(key)?\"bitmap\":\"img\";});const modeRef=useRef(mode);modeRef.current=mode;useEffect(()=>{if(!ssrSafe||staticRender||!BACKDROP_BITMAP)return;let active=true;requestBackdrop(art.src,focal,true).then(bitmap=>{if(active&&bitmap)setMode(\"bitmap\");});return()=>{active=false;};},[ssrSafe,staticRender,art.src]);const draw=bitmap=>{const canvas=canvasRef.current;if(!canvas||!bitmap)return false;if(canvas.width!==bitmap.width)canvas.width=bitmap.width;if(canvas.height!==bitmap.height)canvas.height=bitmap.height;canvas.getContext(\"2d\")?.drawImage(bitmap,0,0);return true;};useIsomorphicLayoutEffect(()=>{const copy=copyRef.current;if(staticRender||!copy||mode===\"img\")return;let active=true;const show=()=>requestBackdrop(art.src,focal,true).then(bitmap=>{if(!active)return;if(draw(bitmap)){if(modeRef.current===\"wait\"){modeRef.current=\"bitmap\";setMode(\"bitmap\");}}else if(modeRef.current!==\"img\"){modeRef.current=\"img\";setMode(\"img\");}});const key=bitmapKey(art.src,backdropGeometry(),focal);if(BITMAPS.get(key))draw(BITMAPS.get(key));// An arrival waits for its bitmap; if it is not ready by the deadline, this copy keeps the\n// live blur instead.\nREADY.set(copy,deadline=>new Promise(resolve=>{if(modeRef.current!==\"wait\")return resolve();let settled=false;let timer;const finish=()=>{if(settled)return;settled=true;if(timer!==undefined)clearTimeout(timer);if(modeRef.current===\"wait\"){modeRef.current=\"img\";setMode(\"img\");}resolve();};show().then(finish);timer=setTimeout(finish,deadline);}));if(mode===\"wait\")show();// A new window size gets its own bitmap once the resizing has stopped; the old one stretches\n// over the box meanwhile.\nlet timer=null;const resize=()=>{if(timer!==null)clearTimeout(timer);timer=setTimeout(()=>{timer=null;if(modeRef.current===\"bitmap\")show();},200);};window.addEventListener(\"resize\",resize);return()=>{active=false;if(timer!==null)clearTimeout(timer);window.removeEventListener(\"resize\",resize);READY.delete(copy);};},[mode===\"img\",art.src,staticRender]);return /*#__PURE__*/_jsx(\"div\",{ref:copyRef,className:\"nm-domain-backdrop-copy\",...attributes,children:mode===\"img\"?/*#__PURE__*/_jsx(\"img\",{className:\"nm-domain-backdrop-art\",src:art.src,srcSet:art.srcSet,alt:\"\",width:domain.imageSize[0],height:domain.imageSize[1],decoding:\"async\",style:{objectPosition:`${focal.x*100}% ${focal.y*100}%`}}):/*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,className:\"nm-domain-backdrop-art\"})});}// One domain's artwork on its own black ground and under its own oval fade, so the ground fades with\n// the image and a plate carried by a drag keeps its fade.\nfunction ArtPlate({domain,art,own,attributes}){const plateRef=useRef(null);const imageRef=useRef(null);useIsomorphicLayoutEffect(()=>{const plate=plateRef.current;const image=imageRef.current;if(!plate||!image)return;READY.set(plate,deadline=>decodeWithin(image,deadline));return()=>{READY.delete(plate);};},[]);return /*#__PURE__*/_jsx(\"div\",{ref:plateRef,className:\"nm-domain-art-plate\",...attributes,children:/*#__PURE__*/_jsx(\"img\",{ref:imageRef,className:\"nm-domain-art \"+(own?\"nm-domain-art-current\":\"nm-domain-art-leaving\"),src:art.src,srcSet:art.srcSet,alt:own?art.alt:\"\",\"aria-hidden\":own?undefined:\"true\",width:domain.imageSize[0],height:domain.imageSize[1],decoding:\"async\",draggable:false,style:art.placement})});}// m-final: the Framer canvas, an export or a thumbnail (useIsStaticRenderer covers these in current\n// Framer; this keeps them static whatever it reports).\nfunction staticTarget(){try{const target=RenderTarget.current();return target===RenderTarget.canvas||target===RenderTarget.export||target===RenderTarget.thumbnail;}catch{return false;}}/**\n * Invisible homepage host. The existing carousel opens the scoped domain overlay.\n * Open: window.dispatchEvent(new CustomEvent(\"neural-music:open-domain\",\n *       { detail: { slug: \"neuroscience\" } }))\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function NeuralDomainPanel(props){// m-final: nothing runs on the Framer canvas, an export or a thumbnail either (the panel, its\n// listeners and its preloading are all behind isStatic).\nconst isStatic=useIsStaticRenderer()||staticTarget();const routeIndex=NM_DOMAINS.findIndex(item=>item.slug===props.domainSlug);const routeMode=routeIndex>=0;const routeRef=useRef({active:routeMode,navigate:props.onRouteNavigate,close:props.onRouteClose});routeRef.current={active:routeMode,navigate:props.onRouteNavigate,close:props.onRouteClose};const[host,setHost]=useState(null);const[current,setCurrent]=useState(()=>routeMode?routeIndex:null);const[closing,setClosing]=useState(false);const[reduced,setReduced]=useState(false);// Whether a wide window stacks the sections under the artwork (see placeSides).\nconst[stacked,setStacked]=useState(false);const[arrival,setArrival]=useState({mode:routeMode?\"rest\":\"open\",from:0,leaving:[]});// How many of the buttons have their sparkle (see GLASS_MOUNT): close, then Previous, Next.\nconst[glassLive,setGlassLive]=useState(0);// How many of them are ready, their sparkle drawn or none coming (GlassButton's onReady), for\n// data-nm-glass.\nconst[glassReady,setGlassReady]=useState(0);const glassDrawn=useCallback(()=>setGlassReady(value=>value+1),[]);const currentRef=useRef(routeMode?routeIndex:null);const reducedRef=useRef(false);const arrivalRef=useRef(arrival);const rootRef=useRef(null);const ownerRef=useRef({});const dialogRef=useRef(null);const layoutRef=useRef(null);const dragOffsetRef=useRef(0);// Settled body widths by place, domain and measure (see settleBodyLines).\nconst settledRef=useRef(new Map);// Beside or stacked, by window size (see placeSides).\nconst placedRef=useRef(new Map);const backdropPressRef=useRef(false);const titleRef=useRef(null);const bandRef=useRef(null);const returnFocusRef=useRef(null);const closingRef=useRef(false);const timersRef=useRef([]);// {open:false} already sent for this close (at the choreography's announceAt).\nconst closedAnnouncedRef=useRef(false);// The moment the next commit plays (open or a change), with what it needs from before it.\nconst pendingRef=useRef(null);const latestChangeRef=useRef(0);// The domain whose arriving copies are on screen.\nconst shownRef=useRef(null);const stackedRef=useRef(false);const lastPressRef=useRef({x:.5,y:.5});// m-final: the domain the panel opened on (the close goes home onto the carousel only from it).\nconst openedRef=useRef(routeMode?routeIndex:null);const engineRef=useRef(null);// The phone's pill widths (createPillSizer), and the last change's start and content start, for\n// telling a burst's follow-ups (see BURST).\nconst pillsRef=useRef(null);const lastChangeRef=useRef(null);const tempo=clampTempo(props.motionTempo);const tempoRef=useRef(tempo);const phoneMode=props.phoneMode===true;const phoneModeRef=useRef(phoneMode);phoneModeRef.current=phoneMode;const instanceId=useId().replace(/:/g,\"\");const titleId=\"nm-domain-title-\"+instanceId;const leadId=\"nm-domain-lead-\"+instanceId;currentRef.current=current;reducedRef.current=reduced;arrivalRef.current=arrival;stackedRef.current=stacked;tempoRef.current=tempo;const isOpen=current!==null;const engine=()=>engineRef.current??(engineRef.current=createMotionEngine(()=>dialogRef.current));const pills=()=>pillsRef.current??(pillsRef.current=createPillSizer(()=>dialogRef.current,engine));const later=(fn,ms)=>{const timer=setTimeout(()=>{timersRef.current=timersRef.current.filter(item=>item!==timer);fn();},ms);timersRef.current.push(timer);};const clearTimers=()=>{timersRef.current.forEach(timer=>clearTimeout(timer));timersRef.current=[];};// The context a moment's functions are handed. The panel's size is read here, before anything\n// moves.\nconst contextFor=(moment,dir,gesture,scrolled=false)=>{const dialog=dialogRef.current;const phone=window.matchMedia(\"(max-width: 699px)\").matches;return{moment,dir,velocity:gesture?.velocity??0,offset:gesture?.offset??0,width:dialog?.clientWidth||window.innerWidth,height:dialog?.clientHeight||window.innerHeight,phone,stacked:phone||stackedRef.current||!window.matchMedia(SIDE_QUERY).matches,reduced:moment.startsWith(\"reduced\")||reducedRef.current,tempo:tempoRef.current,origin:{...lastPressRef.current},scrolled};};const releaseOwnership=useCallback(()=>{if(typeof window===\"undefined\")return;const panelWindow=window;if(panelWindow.__neuralMusicDomainPanelOwner!==ownerRef.current)return;delete panelWindow.__neuralMusicDomainPanelOwner;if(!closedAnnouncedRef.current)announcePanelState(false,null);closedAnnouncedRef.current=false;},[]);// The buttons get their sparkle one at a time, after the open (GLASS_MOUNT), and only while\n// nothing moves: a WebGL context and its shader compile never start during a moment or a drag.\nconst mountGlass=delay=>{const step=count=>{if(currentRef.current===null||closingRef.current)return;if(GLASS_MOUNT.afterOpen&&(engine().moving()||dialogRef.current?.classList.contains(\"nm-domain-dragging\"))){later(()=>step(count),GLASS_MOUNT.gap);return;}setGlassLive(value=>Math.max(value,count));if(count<3)window.requestAnimationFrame(()=>later(()=>step(count+1),GLASS_MOUNT.gap));};later(()=>step(1),delay);};const closePanel=useCallback(()=>{if(routeRef.current.active){if(routeRef.current.close)routeRef.current.close();else window.location.assign(\"/#domains\");return;}if(currentRef.current===null||closingRef.current)return;closingRef.current=true;// Phone Mode: a close from the panel itself takes its history entry off (PHONE_BACK).\nconst panelWindow=phoneBackWindow();const back=panelWindow.__neuralMusicDomainPanelBack;if(back&&!back.expectPop){if(historyToken(PHONE_BACK)===back.token){back.expectPop=true;try{window.history.back();}catch(_){panelWindow.__neuralMusicDomainPanelBack=null;}}else panelWindow.__neuralMusicDomainPanelBack=null;}pendingRef.current=null;setClosing(true);const name=reducedRef.current?\"reducedClose\":\"close\";const context=contextFor(name,0);const definition=CHOREOGRAPHY[name];// m-final: home onto the carousel image only from the domain the panel opened on (the carousel\n// does not follow the panel's turns), and only when the open lifted off the image in the band's\n// middle: after a side-image open the middle still shows another domain, so the artwork sinks\n// in place instead. The way there is measured now, before anything moves.\nARRIVAL.homeward=currentRef.current===openedRef.current&&!ARRIVAL.unmatched;// Where the band is now (the window may have changed size since the open).\nconst band=ARRIVAL.band?.isConnected?bandMiddle(ARRIVAL.band):null;if(band&&ARRIVAL.home)ARRIVAL.home={x:band.x,y:band.y,h:ARRIVAL.home.h};ARRIVAL.journey.home=context.reduced?{x:0,y:0,scale:1}:measureJourney(context,\"home\");let finished=false;const finish=()=>{if(finished)return;finished=true;ARRIVAL.band=null;clearTimers();closingRef.current=false;currentRef.current=null;const rest={mode:\"open\",from:0,leaving:[]};arrivalRef.current=rest;setArrival(rest);setGlassLive(0);setGlassReady(0);setCurrent(null);setClosing(false);};const moment=engine().run(name,context);// {open:false} goes out at announceAt, while the ground still fades (the payload as before).\n// The sparkle goes first (the nav and close layers having faded by then), so its WebGL\n// contexts are released before the carousel wakes.\nlater(()=>{if(closedAnnouncedRef.current)return;if(window.__neuralMusicDomainPanelOwner!==ownerRef.current)return;flushSync(()=>setGlassLive(0));closedAnnouncedRef.current=true;announcePanelState(false,null);},definition.announceAt/(context.reduced?1:context.tempo));moment.done.then(finish);later(finish,moment.total+800);},[]);// Phone Mode: the close for a back the browser has already animated (PHONE_BACK): no moment\n// plays, and the panel goes in this frame; the scroll lock's cleanup sends {open:false}.\nconst closeAtOnce=useCallback(()=>{if(currentRef.current===null||closingRef.current)return;pendingRef.current=null;clearTimers();ARRIVAL.band=null;currentRef.current=null;const rest={mode:\"open\",from:0,leaving:[]};arrivalRef.current=rest;flushSync(()=>{setArrival(rest);setGlassLive(0);setGlassReady(0);setCurrent(null);setClosing(false);});},[]);const closeFromBack=useCallback(atOnce=>atOnce?closeAtOnce():closePanel(),[closeAtOnce,closePanel]);// A change of domain: Previous, Next, the arrow keys, a drag or an open-domain event while open.\n// The new domain's copies come in over the old ones, which leave from wherever they are: the\n// domains still showing (rapid input) stay as leaving copies, MAX_LEAVING at most.\nconst navigate=useCallback((index,from,mode=\"turn\",gesture)=>{if(closingRef.current||currentRef.current===null)return;const target=wrapIndex(index);if(routeRef.current.active){if(target===currentRef.current)return;const slug=NM_DOMAINS[target].slug;if(routeRef.current.navigate)routeRef.current.navigate(slug);else window.location.assign(\"/domains/\"+slug);return;}const shown=currentRef.current;if(target===shown)return;const motion=engine();const pending=pendingRef.current;const snapshot=pending?.snapshot??motion.snapshot();const outOf=pending?pending.outOf:shownRef.current??shown;const visible=motion.visibility();const candidates=[shown,...arrivalRef.current.leaving].filter((domain,position,list)=>domain!==target&&list.indexOf(domain)===position);const showing=candidates.filter(domain=>(visible.get(domain)??0)>=.01);const kept=new Set([...showing].sort((a,b)=>(visible.get(b)??0)-(visible.get(a)??0)).slice(0,MAX_LEAVING));const leaving=showing.filter(domain=>kept.has(domain));const name=reducedRef.current?\"reducedTurn\":mode===\"drag\"?\"dragCommit\":\"turn\";pendingRef.current={name,dir:from,gesture,snapshot,outOf,scrolled:(dialogRef.current?.scrollTop??0)>0,change:true};const next={mode,from,leaving};arrivalRef.current=next;currentRef.current=target;setArrival(next);setCurrent(target);},[]);const navigateRef=useRef(navigate);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\"||isStatic)return;setHost(document.body);if(routeRef.current.active){window.__neuralMusicDomainPanelOwner=ownerRef.current;closedAnnouncedRef.current=false;pills().settle(currentRef.current);mountGlass(GLASS_MOUNT.delay);}const preference=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const updateMotion=()=>setReduced(preference.matches);updateMotion();preference.addEventListener(\"change\",updateMotion);// Where the last press was (the carousel image, for an open): MotionContext.origin, and (m-final)\n// the press an open grows out of (ARRIVAL, see arrivalPoint). A click made with the keyboard\n// (detail 0) has no position.\nconst press=event=>{if(event.type===\"click\"&&event.detail===0)return;lastPressRef.current={x:event.clientX/Math.max(1,window.innerWidth),y:event.clientY/Math.max(1,window.innerHeight)};ARRIVAL.press={x:event.clientX,y:event.clientY,t:performance.now(),canvas:event.target instanceof HTMLCanvasElement?event.target:null};};window.addEventListener(\"pointerdown\",press,true);window.addEventListener(\"click\",press,true);const openDomain=event=>{if(!hostIsVisible(rootRef.current))return;const panelWindow=window;const activeOwner=panelWindow.__neuralMusicDomainPanelOwner;if(activeOwner&&activeOwner!==ownerRef.current)return;const detail=event.detail;// Opens are ignored while the panel closes.\nif(!detail||closingRef.current)return;const slugIndex=typeof detail.slug===\"string\"?NM_DOMAINS.findIndex(domain=>domain.slug===detail.slug):-1;const index=slugIndex>=0?slugIndex:typeof detail.index===\"number\"&&Number.isInteger(detail.index)&&detail.index>=0&&detail.index<NM_DOMAINS.length?detail.index:-1;if(index<0)return;panelWindow.__neuralMusicDomainPanelOwner=ownerRef.current;if(currentRef.current!==null){// Already open: another domain turns to it.\nnavigateRef.current(index,0,\"turn\");return;}// m-final: where the artwork comes from (read before focus moves or the panel renders).\narrivalPoint(detail);openedRef.current=index;returnFocusRef.current=document.activeElement instanceof HTMLElement?document.activeElement:null;closedAnnouncedRef.current=false;currentRef.current=index;pendingRef.current={name:reducedRef.current?\"reducedOpen\":\"open\",dir:0,outOf:null,scrolled:false,change:false};const opening={mode:\"open\",from:0,leaving:[]};arrivalRef.current=opening;setClosing(false);setArrival(opening);setCurrent(index);// Phone Mode: the open takes one history entry (PHONE_BACK). One a close asked off that is\n// still on top (its pop not in yet) is kept.\nif(phoneModeRef.current&&!routeRef.current.active){const kept=panelWindow.__neuralMusicDomainPanelBack;if(kept&&historyToken(PHONE_BACK)===kept.token){kept.expectPop=false;kept.close=closeFromBack;}else{panelWindow.__neuralMusicDomainPanelBack=null;const token=Math.random().toString(36).slice(2);const below=window.history.state;try{window.history.replaceState({[PHONE_BELOW]:token,below},\"\");try{window.history.pushState({[PHONE_BACK]:token,below},\"\");}catch(_){}// A push the browser refused (or dropped) leaves the entry as it was.\nif(historyToken(PHONE_BACK)===token)panelWindow.__neuralMusicDomainPanelBack={token,below,expectPop:false,close:closeFromBack};else if(historyToken(PHONE_BELOW)===token)window.history.replaceState(below,\"\");}catch(_){}}}};window.addEventListener(PANEL_EVENT,openDomain);return()=>{window.removeEventListener(PANEL_EVENT,openDomain);window.removeEventListener(\"pointerdown\",press,true);window.removeEventListener(\"click\",press,true);preference.removeEventListener(\"change\",updateMotion);timersRef.current.forEach(timer=>clearTimeout(timer));timersRef.current=[];engineRef.current?.reset();closingRef.current=false;ARRIVAL.press=null;ARRIVAL.band=null;releaseOwnership();};},[isStatic,releaseOwnership]);useIsomorphicLayoutEffect(()=>{if(!routeMode||currentRef.current===routeIndex)return;clearTimers();engineRef.current?.reset();pendingRef.current=null;currentRef.current=routeIndex;openedRef.current=routeIndex;const rest={mode:\"rest\",from:0,leaving:[]};arrivalRef.current=rest;setArrival(rest);setCurrent(routeIndex);setClosing(false);closingRef.current=false;dialogRef.current?.scrollTo({top:0});},[routeMode,routeIndex]);// Phone Mode: gone while open (PHONE_BACK): its history entry comes off, as in a close.\nuseEffect(()=>()=>{if(routeRef.current.active)return;const panelWindow=phoneBackWindow();const back=panelWindow.__neuralMusicDomainPanelBack;if(!back||back.close!==closeFromBack||back.expectPop)return;if(historyToken(PHONE_BACK)!==back.token){panelWindow.__neuralMusicDomainPanelBack=null;return;}back.expectPop=true;try{window.history.back();}catch(_){panelWindow.__neuralMusicDomainPanelBack=null;}},[closeFromBack]);useEffect(()=>{if(!isOpen||typeof document===\"undefined\")return;if(window.__neuralMusicDomainPanelOwner!==ownerRef.current)return;const body=document.body;const scrollX=window.scrollX;const scrollY=window.scrollY;// The page's scrollbar goes with the scroll lock; the body keeps its width without it, so\n// nothing on the page shifts sideways under the fading ground.\nconst scrollbar=Math.max(0,window.innerWidth-document.documentElement.clientWidth);const changedProperties=[\"position\",\"top\",\"left\",\"width\",\"overflow\"];const saved=changedProperties.map(property=>({property,value:body.style.getPropertyValue(property),priority:body.style.getPropertyPriority(property)}));body.style.setProperty(\"position\",\"fixed\");body.style.setProperty(\"top\",-scrollY+\"px\");body.style.setProperty(\"left\",-scrollX+\"px\");body.style.setProperty(\"width\",scrollbar?`calc(100% - ${scrollbar}px)`:\"100%\");body.style.setProperty(\"overflow\",\"hidden\");const focusTitle=()=>titleRef.current?.focus({preventScroll:true});const focusTimer=window.setTimeout(focusTitle,0);const keydown=event=>{if(window.__neuralMusicDomainPanelOwner!==ownerRef.current)return;const dialog=dialogRef.current;if(!dialog)return;if(event.key===\"Escape\"){event.preventDefault();event.stopPropagation();closePanel();return;}if(closingRef.current){if(event.key===\"Tab\")event.preventDefault();return;}if(!event.altKey&&!event.ctrlKey&&!event.metaKey&&(event.key===\"ArrowLeft\"||event.key===\"ArrowRight\")){event.preventDefault();event.stopPropagation();const step=event.key===\"ArrowRight\"?1:-1;navigate((currentRef.current??0)+step,step);return;}if(routeRef.current.active||event.key!==\"Tab\")return;const buttons=Array.from(dialog.querySelectorAll(\"button:not([disabled])\"));if(!buttons.length){event.preventDefault();focusTitle();return;}const first=buttons[0];const last=buttons[buttons.length-1];const focused=document.activeElement;// A press on the panel itself (the artwork, the text, a drag) leaves focus on the dialog.\nconst resting=focused===titleRef.current||focused===dialog||!dialog.contains(focused);if(event.shiftKey&&(focused===first||resting)){event.preventDefault();last.focus();}else if(!event.shiftKey&&(focused===last||resting)){event.preventDefault();first.focus();}};const containFocus=event=>{if(window.__neuralMusicDomainPanelOwner!==ownerRef.current)return;if(event.target instanceof Node&&!dialogRef.current?.contains(event.target))focusTitle();};document.addEventListener(\"keydown\",keydown,true);if(!routeRef.current.active)document.addEventListener(\"focusin\",containFocus);return()=>{window.clearTimeout(focusTimer);document.removeEventListener(\"keydown\",keydown,true);document.removeEventListener(\"focusin\",containFocus);saved.forEach(({property,value,priority})=>{if(value)body.style.setProperty(property,value,priority);else body.style.removeProperty(property);});if(!routeRef.current.active)window.scrollTo(scrollX,scrollY);const previous=returnFocusRef.current;if(previous?.isConnected)previous.focus({preventScroll:true});returnFocusRef.current=null;releaseOwnership();};},[isOpen,closePanel,navigate,releaseOwnership]);// Drag, swipe or two-finger scroll sideways to move between domains, as in the carousel. The\n// artwork and copy follow the pointer. Past the threshold the change happens at the release, and\n// dragCommit carries the old domain on with the throw; short of it, snapBack returns everything\n// from where it is, and a new press or wheel catches it there. Vertical scrolling is left alone.\nuseEffect(()=>{const dialog=dialogRef.current;const layout=layoutRef.current;if(!isOpen||!dialog||!layout)return;let pointer=null;let dragging=false;let startX=0;let startY=0;let originX=0;let originY=0;let touchPhone=false;let base=0;let lastX=0;let lastTime=0;let velocity=0;let suppressClick=false;let wheelTimer=null;let wheelAxis=null;let wheelLocked=false;let lastWheel=0;let wheelVelocity=0;const width=()=>Math.max(320,dialog.clientWidth);// Only closing blocks input; a change in progress or a snapBack can be interrupted.\nconst busy=()=>closingRef.current;const targets=Array.from(layout.querySelectorAll(DRAG_TARGETS));const setOffset=(value,fade)=>{dragOffsetRef.current=value;const opacity=1-(fade??Math.min(.6,Math.abs(value)/width()));setDrag(targets,value,opacity);};// A snapBack in flight stops where it is, and the drag continues from there.\nconst catchMotion=()=>{const caught=engine().grab();if(caught!==null)setOffset(caught);return caught;};const springBack=()=>{const offset=dragOffsetRef.current;if(!offset)return;if(reducedRef.current){setOffset(0,0);return;}const seeds=engine().containerSeeds(layout);setOffset(0,0);engine().snapBack(seeds,offset,contextFor(\"snapBack\",0));};const commit=(step,speed)=>{const target=(currentRef.current??0)+step;const offset=dragOffsetRef.current;const seeds=engine().containerSeeds(layout);navigate(target,step,\"drag\",{velocity:speed,offset,seeds});};const endDrag=release=>{const id=pointer;pointer=null;if(!dragging){// A press that caught a snapBack and did not drag lets it go back.\nspringBack();return;}dragging=false;dialog.classList.remove(\"nm-domain-dragging\");try{if(id!==null&&dialog.hasPointerCapture(id))dialog.releasePointerCapture(id);}catch{}// The release would otherwise count as a click on the margin and close the panel.\nsuppressClick=true;window.setTimeout(()=>suppressClick=false,0);if(!release){springBack();return;}const offset=dragOffsetRef.current;if(release.timeStamp-lastTime>120)velocity=0;// Phone touch: a clearer intent before a change (a reading stroke that drifts sideways\n// springs back): further, a faster flick, and the stroke sideways overall.\nconst fast=Math.abs(velocity)>(touchPhone?.6:.5);// A quick move back towards the start cancels, however far the drag went.\nconst reversing=fast&&Math.sign(velocity)!==Math.sign(offset);const far=Math.abs(offset)>Math.min(140,width()*(touchPhone?.25:.2));const flick=fast&&Math.abs(offset)>(touchPhone?48:40);const sideways=!touchPhone||Math.abs(release.clientX-originX)>=1.5*Math.abs(release.clientY-originY);if(!reversing&&sideways&&(far||flick))commit(offset<0?1:-1,velocity);else springBack();};const pointerDown=event=>{if(closingRef.current||!event.isPrimary)return;if(pointer!==null)endDrag(null);touchPhone=false;if(event.pointerType===\"mouse\"&&event.button!==0)return;const target=event.target;if(target?.closest?.(\"button, a, input, textarea, select\"))return;touchPhone=event.pointerType===\"touch\"&&phoneModeRef.current&&window.matchMedia(PHONE_QUERY).matches;// Phone: only the header and the artwork swipe; the sections and the bar scroll.\nif(touchPhone&&!target?.closest?.(\".nm-domain-content, .nm-domain-art-zone\"))return;// With a mouse, sideways drags over the text select it instead: the header's copy and\n// each section's text. The rest of a section's cell, and the artwork between the two\n// sections, still start a drag.\nif(event.pointerType===\"mouse\"&&target?.closest?.(\".nm-domain-copy, .nm-domain-readout-text\"))return;base=catchMotion()??dragOffsetRef.current;pointer=event.pointerId;dragging=false;startX=lastX=event.clientX;startY=originY=event.clientY;originX=event.clientX;lastTime=event.timeStamp;velocity=0;};const pointerMove=event=>{if(event.pointerId!==pointer)return;// The button was released outside the window: treat it as a cancel.\nif(event.pointerType===\"mouse\"&&event.buttons===0){endDrag(null);return;}const dx=event.clientX-startX;const dy=event.clientY-startY;if(!dragging){// Wait until the gesture is clearly sideways; vertical ones stay a scroll.\nif(Math.abs(dy)>10&&Math.abs(dy)>=Math.abs(dx)){pointer=null;springBack();return;}// Phone touch: sideways is whatever the browser does not scroll (pan-y), so no\n// stroke is left doing nothing.\nif(Math.abs(dx)<10||Math.abs(dx)<Math.abs(dy)*(touchPhone?1:1.3))return;dragging=true;startX+=dx>0?10:-10;dialog.classList.add(\"nm-domain-dragging\");window.getSelection()?.removeAllRanges();try{dialog.setPointerCapture(event.pointerId);}catch{}}event.preventDefault();const elapsed=event.timeStamp-lastTime;if(elapsed>0)velocity=.8*((event.clientX-lastX)/elapsed)+.2*velocity;lastX=event.clientX;lastTime=event.timeStamp;setOffset(base+event.clientX-startX);};const pointerEnd=event=>{if(event.pointerId!==pointer)return;endDrag(event.type===\"pointercancel\"?null:event);};const lostCapture=event=>{// Only the panel's own capture counts: taking capture from a touched child\n// fires this on that child too, and it bubbles up here.\nif(event.target===dialog&&event.pointerId===pointer)endDrag(null);};const click=event=>{if(!suppressClick)return;suppressClick=false;event.preventDefault();event.stopPropagation();};const wheel=event=>{if(event.ctrlKey)return;const now=event.timeStamp;// Each burst of wheel events is one gesture: its first event decides the\n// axis, and after a switch the rest of it (a trackpad's momentum) is ignored.\nconst gap=now-lastWheel;if(gap>300){wheelAxis=null;wheelLocked=false;wheelVelocity=0;}lastWheel=now;if(wheelAxis===null){if(!event.deltaX&&!event.deltaY)return;wheelAxis=Math.abs(event.deltaX)>Math.abs(event.deltaY)?\"x\":\"y\";}if(wheelAxis===\"y\")return;event.preventDefault();if(wheelLocked||busy()||dragging)return;catchMotion();const delta=event.deltaMode===1?event.deltaX*16:event.deltaX;// The gesture's speed (px/ms), for the throw.\nif(gap>0&&gap<=300)wheelVelocity=.7*(-delta/gap)+.3*wheelVelocity;setOffset(dragOffsetRef.current-delta);if(wheelTimer!==null)window.clearTimeout(wheelTimer);wheelTimer=null;const offset=dragOffsetRef.current;if(Math.abs(offset)>Math.min(120,width()*.15)){wheelLocked=true;commit(offset<0?1:-1,wheelVelocity);return;}wheelTimer=window.setTimeout(()=>{wheelTimer=null;if(!busy())springBack();},220);};dialog.addEventListener(\"pointerdown\",pointerDown);dialog.addEventListener(\"pointermove\",pointerMove);dialog.addEventListener(\"pointerup\",pointerEnd);dialog.addEventListener(\"pointercancel\",pointerEnd);dialog.addEventListener(\"lostpointercapture\",lostCapture);dialog.addEventListener(\"click\",click,true);dialog.addEventListener(\"wheel\",wheel,{passive:false});return()=>{dialog.removeEventListener(\"pointerdown\",pointerDown);dialog.removeEventListener(\"pointermove\",pointerMove);dialog.removeEventListener(\"pointerup\",pointerEnd);dialog.removeEventListener(\"pointercancel\",pointerEnd);dialog.removeEventListener(\"lostpointercapture\",lostCapture);dialog.removeEventListener(\"click\",click,true);dialog.removeEventListener(\"wheel\",wheel);if(wheelTimer!==null)window.clearTimeout(wheelTimer);dialog.classList.remove(\"nm-domain-dragging\");};},[isOpen,navigate]);// On the stacked layout the close button's bar covers copy scrolled up under it. At the top of\n// the scroll there is none, so the bar shows only once the panel has scrolled.\nuseEffect(()=>{const dialog=dialogRef.current;if(!isOpen||!dialog)return;const update=()=>dialog.classList.toggle(\"nm-domain-scrolled\",dialog.scrollTop>0);update();dialog.addEventListener(\"scroll\",update,{passive:true});return()=>dialog.removeEventListener(\"scroll\",update);},[isOpen]);// A new domain always starts centred, whichever way it arrived (a drag's copies carry on from\n// where it left them, see dragCommit).\nuseIsomorphicLayoutEffect(()=>{const layout=layoutRef.current;dragOffsetRef.current=0;if(!layout)return;setDrag(Array.from(layout.querySelectorAll(DRAG_TARGETS)),0,1);},[current]);// The layout below is measured as the new domain will rest: on a phone, its own names size the\n// pills (the moment then gives them back to the old names until the change commits, see\n// createPillSizer).\nuseIsomorphicLayoutEffect(()=>{if(current!==null)pills().measure(current);},[current]);// Finishing touches that depend on the fonts and the window, redone on every domain change and\n// resize. At display size a letter's side bearings show, and the tracking after the last letter\n// shortens the box: a title such as \"History\" sits a few pixels right of the axis by its box. So\n// each domain's title is moved by its own ink (the first and last letters' outlines, read from\n// the font, never what the words say) until the ink is centred on the axis. In a wide window the\n// sections are placed beside the artwork or under it (placeSides), then their last lines are\n// settled; on the phone's stacked layout the artwork gives way so that it shows whole above the\n// navigation's bar. The 1px marks and the buttons are put on whole device pixels. Whatever\n// is moving is measured at rest (the engine parks it for the measurement, see park).\nuseIsomorphicLayoutEffect(()=>{if(current===null)return;const context=document.createElement(\"canvas\").getContext(\"2d\");const range=document.createRange();let active=true;// How far the ink's centre lies from the box's: the first letter's ink starts inside the box\n// by its side bearing, and the last letter's ends short of the box's end by its own bearing\n// and the tracking after it (negative: the box ends before the letter does). A title that\n// wraps is left as it is, since each of its lines is centred on its own.\nconst inkShift=(element,font,tracking,text)=>{if(!context||!text)return 0;range.selectNodeContents(element);const rows=new Set(Array.from(range.getClientRects()).map(box=>Math.round(box.top)));if(rows.size>1)return 0;context.font=font;const first=context.measureText(text.charAt(0));const last=context.measureText(text.charAt(text.length-1));const before=-first.actualBoundingBoxLeft;const after=last.width+tracking-last.actualBoundingBoxRight;const shift=(after-before)/2;return Number.isFinite(shift)?Math.max(-8,Math.min(8,shift)):0;};const measure=()=>{if(!active)return;const title=titleRef.current;const field=title?.parentElement;if(title&&field){const style=getComputedStyle(title);const font=`${style.fontWeight} ${style.fontSize} ${style.fontFamily}`;const tracking=parseFloat(style.letterSpacing)||0;// The live title, the ones leaving and the hidden ones each get their own.\nfield.querySelectorAll(\"[data-domain]\").forEach(element=>{const domain=NM_DOMAINS[Number(element.dataset.domain)];if(!domain)return;setVariable(element,\"--nm-title-shift\",inkShift(element,font,tracking,domain.name).toFixed(2)+\"px\");});}const band=bandRef.current;if(!band)return;// Text leaving keeps the width it was settled to, so it does not re-wrap.\nband.querySelectorAll(\".nm-domain-body\").forEach(paragraph=>{paragraph.parentElement?.querySelectorAll(\":scope > .nm-domain-leaving\").forEach(leavingText=>{if(!leavingText.style.maxWidth)leavingText.style.maxWidth=paragraph.style.maxWidth;});});const layout=layoutRef.current;const dialog=dialogRef.current;if(!layout||!dialog)return;setStacked(placeSides(dialog,layout,placedRef.current,routeMode));const paragraphs=Array.from(band.querySelectorAll(\".nm-domain-body\"));settleBodyLines(paragraphs,settledRef.current);fitArt(dialog);snapToPixels(layout);};const refine=()=>{if(!active)return;if(engineRef.current)engineRef.current.park(measure);else measure();};// Once per change: again only if the fonts are still on their way, and at most once a\n// frame while the window is being resized.\nrefine();if(document.fonts&&document.fonts.status!==\"loaded\")document.fonts.ready.then(refine);let resizeFrame=0;const resize=()=>{if(resizeFrame)return;resizeFrame=window.requestAnimationFrame(()=>{resizeFrame=0;refine();});};window.addEventListener(\"resize\",resize);return()=>{active=false;window.cancelAnimationFrame(resizeFrame);window.removeEventListener(\"resize\",resize);};},[current]);// The moment this commit plays: the open, or a change. It starts after the layout is refined (the\n// effect above), before the browser paints, so its first frame is already the moment's first.\nuseIsomorphicLayoutEffect(()=>{if(current===null){// The panel has gone (the close's last frame held until React removed it).\nshownRef.current=null;engineRef.current?.reset();pillsRef.current?.settle(null);lastChangeRef.current=null;return;}const pending=pendingRef.current;pendingRef.current=null;shownRef.current=current;if(!pending)return;const motion=engine();const context=contextFor(pending.name,pending.dir,pending.gesture,pending.scrolled);// m-final: the artwork's way from the carousel, measured once, at rest, before the first frame.\nif(pending.name===\"open\")ARRIVAL.journey.from=measureJourney(context,\"from\");// A change before the last one's content had started to arrive is a burst's follow-up.\nconst at=performance.now();const last=lastChangeRef.current;// m-final: or before its readouts had (see MotionMomentRun.readoutAt).\nconst burst=pending.change&&last&&at<Math.max(last.contentAt,last.readoutAt)?{interval:at-last.at}:undefined;// On a phone the old names keep sizing the pills until the change commits the new ones.\nlet holding=false;if(pending.change)holding=pills().hold(current);else pills().settle(current);const moment=motion.run(pending.name,context,{snapshot:pending.snapshot,seeds:pending.gesture?.seeds,dragOffset:pending.gesture?.offset,outOf:pending.outOf,inOf:current,burst});if(holding)pills().start(current);if(pending.change){lastChangeRef.current={at,contentAt:moment.contentAt,readoutAt:moment.readoutAt};// Once the change (and every copy still moving) has settled, the leaving copies go.\nconst id=moment.id;latestChangeRef.current=id;moment.done.then(()=>motion.quiet()).then(()=>{if(latestChangeRef.current!==id||closingRef.current)return;pills().settle(current);setArrival(value=>value.leaving.length?{...value,leaving:[]}:value);});return;}lastChangeRef.current=null;const glassDelay=GLASS_MOUNT.delay/(context.reduced?1:context.tempo);if(!GLASS_MOUNT.afterOpen)mountGlass(glassDelay);moment.done.then(()=>{if(closingRef.current||currentRef.current===null)return;settleEntrance();if(GLASS_MOUNT.afterOpen)mountGlass(glassDelay);});},[current]);// Every domain change is announced once, by the live region below. Focus stays where it is:\n// on the Previous or Next button that was pressed, or on the title for the arrow keys. (A phone\n// scrolled down returns to the top while its column is hidden, see the choreography's scrolled.)\nuseEffect(()=>{if(current===null)return;if(window.__neuralMusicDomainPanelOwner!==ownerRef.current)return;announcePanelState(true,current);},[current]);// PANEL_PROPERTIES go into the page in the commit that takes the panel away, and its <style> with\n// them: that frame restyles the whole page as before, and no later open or close does.\nconst propertiesRef=useRef(false);useIsomorphicLayoutEffect(()=>{if(current!==null){propertiesRef.current=!phoneModeRef.current&&!PAGE_PROPERTIES.current?.isConnected;return;}if(!propertiesRef.current)return;propertiesRef.current=false;addPageProperties();},[current]);const images={\"music-production\":props.musicProductionImage,\"sound-design\":props.soundDesignImage,biology:props.biologyImage,mathematics:props.mathematicsImage,physics:props.physicsImage,neuroscience:props.neuroscienceImage,psychology:props.psychologyImage,philosophy:props.philosophyImage,history:props.historyImage,anthropology:props.anthropologyImage,technology:props.technologyImage};const artOf=target=>{const image=images[target.slug];const replaced=Boolean(image?.src&&image.src.split(\"?\")[0]!==NM_DOMAIN_ART[target.slug]);return{src:image?.src||NM_DOMAIN_ART[target.slug],srcSet:image?.srcSet,alt:image?.alt||target.alt,placement:artPlacement(target,replaced)};};const artOfRef=useRef(artOf);artOfRef.current=artOf;// Every artwork is fetched and decoded, and its atmosphere drawn, once the page has loaded, so\n// that an arrival rarely has anything to wait for (it waits READY_TIMEOUT at most). The small\n// atmosphere images (a few kB each) are asked for together; the blurring and the full artworks\n// follow one at a time, each when the browser is idle. With Save-Data on, the full artworks are\n// left to load when they are shown.\nuseEffect(()=>{if(isStatic||typeof window===\"undefined\")return;let cancelled=false;const idle=fn=>typeof window.requestIdleCallback===\"function\"?window.requestIdleCallback(fn,{timeout:1e3}):window.setTimeout(fn,100);const saveData=Boolean(navigator.connection?.saveData);const work=[];const start=()=>{if(cancelled)return;NM_DOMAINS.forEach(domain=>{const art=artOfRef.current(domain);if(BACKDROP_BITMAP){warmDecode(art.src);work.push(()=>requestBackdrop(art.src,domain.focalPoint));}});if(!saveData)NM_DOMAINS.forEach(domain=>{const art=artOfRef.current(domain);work.push(()=>preloadArt(art.src,art.srcSet));});idle(next);};const next=()=>{if(cancelled)return;const task=work.shift();if(!task)return;task().finally(()=>idle(next));};// Only the Domains section opens the panel, so the warm-up also waits until this host (at the top\n// of that section) is about two screens away; visitors who never get there download none of it.\nlet loaded=document.readyState===\"complete\";let near=typeof window.IntersectionObserver!==\"function\"||!rootRef.current;let started=false;// the start itself (eleven fetches set up) runs in idle time too, not in the observer's task\nconst maybeStart=()=>{if(started||!loaded||!near)return;started=true;idle(start);};const onLoad=()=>{loaded=true;maybeStart();};const observer=near?null:new IntersectionObserver(entries=>{if(!entries.some(entry=>entry.isIntersecting))return;near=true;observer?.disconnect();maybeStart();},{rootMargin:\"200% 0px\"});if(observer&&rootRef.current)observer.observe(rootRef.current);if(!loaded)window.addEventListener(\"load\",onLoad,{once:true});maybeStart();return()=>{cancelled=true;observer?.disconnect();window.removeEventListener(\"load\",onLoad);};},[isStatic]);// The neighbours' artwork is fetched and decoded while this domain shows, so Previous, Next, a\n// key or a swipe finds it ready.\nuseEffect(()=>{if(current===null)return;[wrapIndex(current-1),wrapIndex(current+1)].forEach(index=>{const{src,srcSet}=artOf(NM_DOMAINS[index]);preloadArt(src,srcSet);});},[current]);// The open entrance is over once its animations have finished (Animation.finished, see the\n// moment effect above); the panel is then at rest (see Arrival).\nconst settleEntrance=()=>setArrival(value=>value.mode===\"open\"?{...value,mode:\"rest\"}:value);const domain=current===null?null:NM_DOMAINS[current];const art=domain?artOf(domain):null;const total=String(NM_DOMAINS.length).padStart(2,\"0\");// The domains on screen, oldest first: the leaving ones under the arriving one.\nconst onScreen=current===null?[]:[...arrival.leaving.filter(index=>index!==current)].reverse().concat(current);const leavingOldestFirst=onScreen.slice(0,-1);// The data a moment finds its elements by (see LAYER_NAMES): a copy's layer, role, owner, slot\n// and part.\nconst copyAttributes=(layer,slot,part,index)=>({\"data-nm-layer\":layer,\"data-nm-copy\":index===current?\"in\":\"out\",\"data-nm-of\":index,\"data-nm-slot\":slot,\"data-nm-part\":part});// One field per changing text: the live element around the current text, the texts leaving, and\n// every domain's version hidden behind them to hold the field's height.\nconst field=(className,layer,slot,part,text,live,attributes,ghosts=true)=>{if(current===null||!domain)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-field \"+className,...attributes,children:[live(/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-arrival\",\"data-domain\":current,...copyAttributes(layer,slot,part,current),children:text(domain)},domain.slug)),leavingOldestFirst.map(index=>/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-leaving\",\"aria-hidden\":\"true\",\"data-domain\":index,...copyAttributes(layer,slot,part,index),children:text(NM_DOMAINS[index])},\"leaving-\"+NM_DOMAINS[index].slug)),ghosts&&NM_DOMAINS.map((item,index)=>/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-ghost\",\"aria-hidden\":\"true\",\"data-domain\":index,\"data-nm-ghost\":text(item)},item.slug))]});};// A button's face, its arrow and the name it goes to, centred over a hidden copy of the face that\n// holds every domain's name, so both buttons are as wide as the longest name on every domain (see\n// the navigation's styles). The arrows point outwards: Previous's before its name, Next's after.\n// Each domain on screen has its own face (the names crossfade); on a phone, where a pill is as\n// wide as its name, the pill holds the widest of them until the change has settled.\nconst navFace=backwards=>/*#__PURE__*/_jsxs(_Fragment,{children:[onScreen.map(owner=>{const target=NM_DOMAINS[wrapIndex(owner+(backwards?-1:1))];return /*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-nav-face\",\"aria-hidden\":owner===current?undefined:\"true\",...copyAttributes(\"navLabel\",backwards?\"face-prev\":\"face-next\",backwards?0:1,owner),children:[backwards&&/*#__PURE__*/_jsx(Arrow,{backwards:true}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-nav-label\",children:target.name}),!backwards&&/*#__PURE__*/_jsx(Arrow,{})]},\"face-\"+NM_DOMAINS[owner].slug);}),/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-nav-room\",\"aria-hidden\":\"true\",children:[backwards&&/*#__PURE__*/_jsx(Arrow,{backwards:true}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-field\",children:NM_DOMAINS.map(item=>/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-ghost\",\"data-nm-ghost\":item.name},item.slug))}),!backwards&&/*#__PURE__*/_jsx(Arrow,{})]})]});const decor=slot=>DECOR.filter(item=>item.slot===slot).map(item=>/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-decor nm-domain-decor-\"+item.name,\"data-nm-decor\":item.name,\"aria-hidden\":\"true\"},\"decor-\"+item.name));const Heading=routeMode?\"h1\":\"h2\";const panel=domain&&art&&current!==null?/*#__PURE__*/_jsxs(\"div\",{ref:dialogRef,className:\"nm-domain-panel\"+(closing?\" nm-domain-closing\":\"\")+(phoneMode?\" nm-domain-phone\":\"\"),// Smooth Scroll (Lenis) leaves wheel and touch inside the panel to the browser, on\n// every breakpoint (a panel taller than the window scrolls).\n\"data-lenis-prevent\":\"\",role:routeMode?\"region\":\"dialog\",\"aria-modal\":routeMode?undefined:\"true\",// \"pending\" until the three buttons are ready, their sparkle drawn or none\n// coming (the motion tools wait for \"live\" before a scenario's action).\n\"data-nm-glass\":glassReady>=3?\"live\":\"pending\",tabIndex:-1,\"aria-labelledby\":titleId,\"aria-describedby\":domain.lead?leadId:undefined,onPointerDown:event=>{backdropPressRef.current=event.target===event.currentTarget;},onClick:event=>{// Close only when the press began on the margin too, so a\n// text selection released there doesn't close the panel.\nif(event.target===event.currentTarget&&backdropPressRef.current)closePanel();},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:(!phoneMode&&PAGE_PROPERTIES.current?.isConnected?PANEL_CSS_REST:PANEL_CSS)+DECOR_CSS+(phoneMode?PHONE_PANEL_CSS:\"\")}}),/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-veil\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"veil\",\"data-nm-part\":0}),/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-topfade-holder\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"veil\",\"data-nm-part\":1,children:/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-topfade\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-backdrop\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"atmosphere\",children:[onScreen.map(index=>/*#__PURE__*/_jsx(BackdropCopy,{domain:NM_DOMAINS[index],art:artOf(NM_DOMAINS[index]),ssrSafe:routeMode,staticRender:isStatic,attributes:copyAttributes(\"atmosphere\",\"backdrop\",0,index)},\"backdrop-\"+NM_DOMAINS[index].slug)),decor(\"backdrop\")]}),/*#__PURE__*/_jsxs(\"div\",{ref:layoutRef,className:\"nm-domain-layout nm-domain-sides-\"+SIDE_TEXT+(stacked?\" nm-domain-stacked\":\"\")+\" nm-domain-arrive-\"+arrival.mode+(arrival.from===1?\" nm-domain-from-next\":arrival.from===-1?\" nm-domain-from-prev\":\"\"),children:[/*#__PURE__*/_jsx(\"article\",{className:\"nm-domain-content\",\"data-nm-whole\":\"column\",\"data-nm-part\":0,children:/*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-copy\",children:[/*#__PURE__*/_jsxs(\"p\",{className:\"nm-domain-index\",\"data-nm-whole\":\"header\",\"data-nm-static\":\"header\",\"data-nm-part\":0,children:[/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-number\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-field\",children:onScreen.map(index=>/*#__PURE__*/_jsx(\"span\",{className:index===current?\"nm-domain-arrival\":\"nm-domain-leaving\",\"aria-hidden\":index===current?undefined:\"true\",...copyAttributes(\"header\",\"number\",0,index),children:String(index+1).padStart(2,\"0\")},NM_DOMAINS[index].slug))}),\" / \"+total]}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-index-line\",\"aria-hidden\":\"true\"}),\" \",/*#__PURE__*/_jsx(\"span\",{children:\"The connected domains\"})]}),field(\"nm-domain-title-field\",\"header\",\"title\",1,item=>item.name,content=>/*#__PURE__*/_jsx(Heading,{ref:titleRef,id:titleId,className:\"nm-domain-title\",tabIndex:-1,children:content}),{\"data-nm-whole\":\"header\",\"data-nm-part\":1}),field(\"nm-domain-lead-field\",\"header\",\"lead\",2,item=>item.lead,content=>/*#__PURE__*/_jsx(\"p\",{id:leadId,className:\"nm-domain-lead\",children:content}),{\"data-nm-whole\":\"header\",\"data-nm-part\":2,\"aria-hidden\":\"true\"})]})}),/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-art-zone\",\"data-nm-whole\":\"column\",\"data-nm-part\":1,children:/*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-art-stage\",\"data-nm-whole\":\"art\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-art-frame\",children:onScreen.map(index=>/*#__PURE__*/_jsx(ArtPlate,{domain:NM_DOMAINS[index],art:artOf(NM_DOMAINS[index]),own:index===current,attributes:copyAttributes(\"art\",\"art\",0,index)},\"art-\"+NM_DOMAINS[index].slug))}),decor(\"art\")]})}),/*#__PURE__*/_jsxs(\"div\",{ref:bandRef,className:\"nm-domain-readout\",\"data-nm-whole\":\"column\",\"data-nm-part\":2,children:[/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-hairline\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"track\",\"data-nm-static\":\"track\",\"data-nm-part\":0}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-tick\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"tick\"}),/*#__PURE__*/_jsx(\"section\",{className:\"nm-domain-readout-cell nm-domain-readout-lens\",\"data-nm-whole\":\"sections\",\"data-nm-part\":0,children:/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-readout-text\",children:field(\"nm-domain-body-field\",\"sections\",\"lens\",0,item=>item.lens,content=>/*#__PURE__*/_jsx(\"p\",{className:\"nm-domain-body\",children:content}))})}),/*#__PURE__*/_jsx(\"section\",{className:\"nm-domain-readout-cell nm-domain-readout-music\",\"aria-label\":undefined,\"data-nm-whole\":\"sections\",\"data-nm-part\":1,children:/*#__PURE__*/_jsx(\"div\",{className:\"nm-domain-readout-text\",children:field(\"nm-domain-body-field\",\"sections\",\"music\",1,item=>item.inYourMusic,content=>/*#__PURE__*/_jsx(\"p\",{className:\"nm-domain-body\",children:content}))})})]}),/*#__PURE__*/_jsxs(\"nav\",{className:\"nm-domain-navigation\",\"aria-label\":\"Browse domains\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-navbar\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"veil\",\"data-nm-part\":2}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-nav-tick\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"tick\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-nav nm-domain-nav-prev\",children:[/*#__PURE__*/_jsx(GlassButton,{live:glassLive>=2,onReady:glassDrawn,attributes:{\"data-nm-whole\":\"nav\",\"data-nm-part\":0},href:routeMode?\"/domains/\"+NM_DOMAINS[wrapIndex(current-1)].slug:undefined,onClick:()=>navigate(current-1,-1),children:/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-nav-pill\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-sr\",children:[\"Previous domain:\",\" \"]}),navFace(true)]})}),/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-track\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"track\",\"data-nm-static\":\"track\",\"data-nm-part\":0})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"nm-domain-nav nm-domain-nav-next\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-track\",\"aria-hidden\":\"true\",\"data-nm-whole\":\"track\",\"data-nm-static\":\"track\",\"data-nm-part\":1}),/*#__PURE__*/_jsx(GlassButton,{live:glassLive>=3,onReady:glassDrawn,attributes:{\"data-nm-whole\":\"nav\",\"data-nm-part\":1},href:routeMode?\"/domains/\"+NM_DOMAINS[wrapIndex(current+1)].slug:undefined,onClick:()=>navigate(current+1,1),children:/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-nav-pill\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"nm-domain-sr\",children:[\"Next domain:\",\" \"]}),navFace(false)]})})]}),decor(\"navigation\")]}),/*#__PURE__*/_jsxs(GlassButton,{className:\"nm-domain-close\",padding:\"0px\",live:glassLive>=1,onReady:glassDrawn,attributes:{\"data-nm-whole\":\"close\"},href:routeMode?\"/domains\":undefined,onClick:closePanel,children:[/*#__PURE__*/_jsx(\"span\",{className:\"nm-domain-sr\",children:\"Close domain\"}),/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"m4 4 8 8M12 4l-8 8\",stroke:\"currentColor\",strokeWidth:\"1.3\",strokeLinecap:\"round\"})})]})]}),decor(\"panel\"),/*#__PURE__*/_jsx(\"p\",{className:\"nm-domain-live\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",children:domain.name+\", domain \"+(current+1)+\" of \"+NM_DOMAINS.length})]}):null;return /*#__PURE__*/_jsx(\"div\",{ref:rootRef,\"aria-hidden\":routeMode?undefined:\"true\",style:{...props.style,position:\"relative\",width:routeMode?\"100%\":1,height:routeMode?\"100svh\":1,pointerEvents:routeMode?\"auto\":\"none\",overflow:\"visible\"},children:routeMode?panel:host&&!isStatic?/*#__PURE__*/createPortal(panel,host):null});}addPropertyControls(NeuralDomainPanel,{domainSlug:{type:ControlType.String,title:\"Domain route\",defaultValue:\"\"},musicProductionImage:{type:ControlType.ResponsiveImage,title:\"Production\"},soundDesignImage:{type:ControlType.ResponsiveImage,title:\"Sound Design\"},biologyImage:{type:ControlType.ResponsiveImage,title:\"Biology\"},mathematicsImage:{type:ControlType.ResponsiveImage,title:\"Mathematics\"},physicsImage:{type:ControlType.ResponsiveImage,title:\"Physics\"},neuroscienceImage:{type:ControlType.ResponsiveImage,title:\"Neuroscience\"},psychologyImage:{type:ControlType.ResponsiveImage,title:\"Psychology\"},philosophyImage:{type:ControlType.ResponsiveImage,title:\"Philosophy\"},historyImage:{type:ControlType.ResponsiveImage,title:\"History\"},anthropologyImage:{type:ControlType.ResponsiveImage,title:\"Anthropology\"},technologyImage:{type:ControlType.ResponsiveImage,title:\"Technology\"},// Speed of every movement in the panel: 2 plays it twice as fast, 0.5 at half speed. Under\n// reduced motion the short crossfades keep their own timing.\nmotionTempo:{type:ControlType.Number,title:\"Motion Tempo\",defaultValue:1,min:.5,max:2,step:.05},phoneMode:{type:ControlType.Boolean,title:\"Phone Mode\",defaultValue:false,description:\"On for the Phone breakpoint only. Desktop and Tablet keep it off.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NeuralDomainPanel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NeuralDomainPanel.map"],"mappings":"A,8VAAA,SAASkC,EAAiB,EAAI,EAAI,EAAM,CAAmI,OAA/HC,KA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