diff --git a/404.html b/404.html index e1ae374d..eefbb160 100644 --- a/404.html +++ b/404.html @@ -1,12 +1 @@ -
{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),o=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],u.jump(d))}}),!a.length)return{target:e,transitionEnd:n};{let u=a.indexOf("height")>=0?window.pageYOffset:null,h=rC(e,t,a);return s.length&&s.forEach(([e,i])=>{t.getValue(e).set(i)}),t.render(),l&&null!==u&&window.scrollTo({top:u}),{target:h,transitionEnd:n}}},rD=(t,e,i,n)=>{var r,s;let o=function(t,{...e},i){let n=t.current;if(!(n instanceof Element))return{target:e,transitionEnd:i};for(let r in i&&(i={...i}),t.values.forEach(t=>{let e=t.get();if(!F(e))return;let i=rv(e,n);i&&t.set(i)}),e){let s=e[r];if(!F(s))continue;let o=rv(s,n);o&&(e[r]=o,i||(i={}),void 0===i[r]&&(i[r]=s))}return{target:e,transitionEnd:i}}(t,e,n);return e=o.target,n=o.transitionEnd,r=e,s=n,rb(r)?rM(t,r,i,s):{target:r,transitionEnd:s}},rk={current:null},rR={current:!1},rL=new WeakMap,rB=Object.keys(P),rj=rB.length,rF=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],rO=f.length;class rI{constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>tJ.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=a,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=g(e),this.isVariantNode=y(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(e,{});for(let h in u){let c=u[h];void 0!==o[h]&&k(c)&&(c.set(o[h],!1),iM(l)&&l.add(h))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,rL.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),rR.current||function(){if(rR.current=!0,l){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>rk.current=t.matches;t.addListener(e),e()}else rk.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||rk.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in rL.delete(this.current),this.projection&&this.projection.unmount(),tQ(this.notifyUpdate),tQ(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[t].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(t,e){let i=M.has(t),n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tJ.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{n(),r()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures({children:t,...e},i,n,r){let s,o;for(let a=0;a