1import{c as wt,t as xt,a as Mt,b as Qe,d as tt,u as $,F as _e,f as o,v as Oe,e as F,s as V,l as St,g as W,p as rt,h as Ie,n as Tt,i as Re,r as Rt,m as Xe,j as nt,k as kt,o as ne,S as it,q as lt,w as Ye,H as Ut,L as ut,x as Et,y as le,z as ee,A as Ge,I as Te,B as Pe,C as ue,D as Ae,E as ft,G as Ze,J as mt,K as Ct,R as Pt,M as et,N as ot,O as gt,P as dt,Q as At,T as _t,U as pt,V as fe,W as It,X as Wt,Y as Ft,Z as Ke,_ as yt,$ as Dt,a0 as jt,a1 as We,a2 as Fe,a3 as zt}from"./Shader-BwmImEaH.js";import{d as De,P as je,i as C,o as L,J as Y,p as ie,q as ze,v as ce,O as pe,y as me,A as ae,H as Ce,j as He,Q as $e,F as qe,a0 as Ne,e as X,a1 as Be,a as D,a2 as Ve,w as Z,a3 as Le,I as Ht,G as Ee}from"./assetRecovery-H4FIcNj6.js";const ge={name:"Blob",category:"Textures",description:"Organic animated blob with 3D lighting and gradients",props:{colorA:{default:"#ff6b35",transform:Qe,description:"Primary color of the blob",ui:{type:"color",label:"Color A",group:"Colors"}},colorB:{default:"#e91e63",transform:Qe,description:"Secondary color of the blob",ui:{type:"color",label:"Color B",group:"Colors"}},size:{default:.5,description:"Size of the blob",ui:{type:"range",min:0,max:2,step:.05,label:"Size",group:"Effect"}},deformation:{default:.5,description:"How organic and blobby the shape is (0 = circle, 1 = very blobby)",ui:{type:"range",min:0,max:1,step:.1,label:"Deformation",group:"Effect"}},softness:{default:.5,description:"Softness of the blob edges (combines edge width and transition curve)",ui:{type:["range","map"],min:0,max:1,step:.1,label:"Softness",group:"Effect"}},highlightIntensity:{default:.5,description:"Intensity of specular highlight effect",ui:{type:["range","map"],min:0,max:1,step:.1,label:"Highlight Intensity",group:"Highlight"}},highlightX:{default:.3,description:"Light direction X component",ui:{type:"range",min:-1,max:1,step:.1,label:"Highlight X",group:"Highlight"}},highlightY:{default:-.3,description:"Light direction Y component",ui:{type:"range",min:-1,max:1,step:.1,label:"Highlight Y",group:"Highlight"}},highlightZ:{default:.4,description:"Light direction Z component",ui:{type:"range",min:-1,max:1,step:.1,label:"Highlight Z",group:"Highlight"}},highlightColor:{default:"#ffe11a",transform:Qe,description:"Color of the specular highlight",ui:{type:"color",label:"Highlight Color",group:"Highlight"}},speed:{default:.5,description:"Animation speed",ui:{type:["range","map"],min:0,max:2,step:.1,label:"Speed",group:"Animation"}},seed:{default:1,description:"Adjusts the starting state, useful for variation",ui:{type:"range",min:0,max:100,step:1,label:"Seed",group:"Effect"}},center:{default:{x:.5,y:.5},transform:Mt,description:"The center point of the blob",ui:{type:"position",label:"Center Position",group:"Position"}},colorSpace:{default:"linear",transform:xt,compileTime:!0,description:"Color space for color interpolation",ui:{type:"select",options:wt,label:"Color Space",group:"Colors"}}},fragmentNode:l=>{const{uniforms:i,onBeforeRender:d}=l,t=tt(l,i.speed,i.seed),a=$(0),v=$(0),u=$(1);return d(()=>{const R=i.highlightX.uniform.value,c=i.highlightY.uniform.value,h=i.highlightZ.uniform.value,M=Math.sqrt(R*R+c*c+h*h);M>0?(a.value=R/M,v.value=c/M,u.value=h/M):(a.value=0,v.value=0,u.value=0)}),_e(()=>{const R=V,c=i.colorA.uniform,h=i.colorB.uniform,M=i.size.uniform,k=i.deformation.uniform,w=i.softness.uniform,O=i.highlightIntensity.uniform,g=i.highlightColor.uniform,T=w.mul(o(.3)),S=w.mul(o(2)).add(o(.5)),f=Oe.x.div(Oe.y),E=F(R.x.mul(f),R.y),x=F(i.center.uniform.x.mul(f),i.center.uniform.y.oneMinus()),p=E.sub(x).toVar(),U=St(p),y=M,_=o(4),I=W(p.x.mul(_.mul(o(.8))).add(t.mul(o(.8)))).mul(W(p.y.mul(_.mul(o(.7))).add(t.mul(o(.6))))).add(W(p.x.mul(_.mul(o(1.2))).sub(p.y.mul(_.mul(o(.9))).add(t.mul(o(.4)))))).mul(o(.15)).mul(k),r=W(p.x.mul(_.mul(o(1.4))).sub(t.mul(o(.5)))).mul(W(p.y.mul(_.mul(o(1.1))).add(t.mul(o(.7))))).mul(o(.12)).mul(k),e=W(p.x.mul(_.mul(o(1.8))).add(p.y.mul(_.mul(o(1.6))).add(t.mul(o(.3))))).add(W(p.x.mul(_.mul(o(.6))).sub(t.mul(o(.9))))).mul(o(.1)).mul(k),n=W(p.x.mul(_.mul(o(2.2))).add(t.mul(o(.2)))).mul(W(p.y.mul(_.mul(o(1.9))).sub(t.mul(
1o(.8))))).mul(o(.04)).mul(k),s=I.add(r).add(e).add(n),m=y.add(s),b=rt(Ie(m.sub(T),m.add(T),U).oneMinus(),S).toVar(),A=U,z=m,j=Ie(o(0),z,A).toVar(),G=o(1).sub(j.mul(o(.1))),N=j.add(o(.2)).toVar(),J=Tt(Re(p.x.mul(N),p.y.mul(N),G)),H=Re(a,v,u),te=Re(o(0),o(0),o(1)),q=Rt(H.negate(),J),K=o(32),Q=rt(Xe(o(0),nt(q,te)),K),re=j.mul(o(.5)).add(o(.5)),oe=Q.mul(re).mul(O).mul(b),B=p.x.mul(o(3)),se=p.y.mul(o(3)),de=W(B.add(t.mul(o(.4)))).mul(W(se.add(t.mul(o(.3))))).add(W(B.mul(o(.7)).add(se.mul(o(.8))).add(t.mul(o(.2))))).mul(o(.5)).add(o(.5)),ke=W(B.mul(o(1.3)).sub(t.mul(o(.5)))).mul(W(se.mul(o(1.1)).add(t.mul(o(.6))))).add(W(B.mul(o(.5)).sub(se.mul(o(.6)).sub(t.mul(o(.3)))))).mul(o(.5)).add(o(.5)),Ue=de.mul(o(.6)).add(ke.mul(o(.4))),ve=kt(c,h,Ie(o(.1),o(.9),Ue),i.colorSpace.uniform.value).rgb,he=c.a.add(h.a).div(o(2)),Je=g.rgb.mul(oe);return ne(ve.add(Je),he.mul(b))})()}};var $t=24;const qt=1024;function Nt(l){const i=l/3,d=l*2+1,t=[];let a=0;for(let v=-l;v<=l;v++){const u=Math.exp(-(v*v)/(2*i*i));t.push(u),a+=u}for(let v=0;v<d;v++)t[v]/=a;return t}var Bt=.5;function Vt(l,i,d,t,a=$t,v=qt,u=640,R){const c=a,h=Nt(c),M=new it(v,u);M.type=lt;const k=Ye(M),w=Ye(M).toReadOnly(),O=new it(v,u);O.type=lt;const g=new it(v,u);g.type=Ut,g.minFilter=ut,g.magFilter=ut,t(()=>{M.dispose(),O.dispose(),g.dispose()});const T=Ye(O),S=Ye(O).toReadOnly(),f=Ye(g),E=Et(h,"float"),x=$(i),p=$(d),U=$(d/u),y=le(v),_=le(u),I=ee(u-1),r=ee(x.sub(1)),e=ee(p.sub(1)),n=o(1/c),s=o(Bt);return{computeNodes:[_e(()=>{const m=Ge,b=m.mod(y),A=m.div(y);Te(A.lessThan(_),()=>{const z=Pe(w,ue(b,A),ee(0)).r,j=b.toFloat().add(o(.5)).mul(x).div(o(v)).sub(o(.5)),G=A.toFloat().add(o(.5)).mul(p).div(o(u)).sub(o(.5)),N=j,J=G.round().toInt().clamp(ee(0),e);Te(z.lessThan(s),()=>{const H=Pe(l,ue(N.round().toInt().clamp(ee(0),r).toUint(),J.toUint()),ee(0));Ae(T,ue(b,A),H).toWriteOnly()}).Else(()=>{const H=ne(0).toVar(),te=o(0);for(let q=-c;q<=c;q++){const K=o(q).add(te).mul(n).mul(z),Q=Pe(l,ue(N.add(K).round().toInt().clamp(ee(0),r).toUint(),J.toUint()),ee(0));H.assign(H.add(Q.mul(E.element(ee(q+c)))))}Ae(T,ue(b,A),H).toWriteOnly()})})})().compute(v*u,[256]),_e(()=>{const m=Ge,b=m.mod(y),A=m.div(y);Te(A.lessThan(_),()=>{const z=Pe(w,ue(b,A),ee(0)).r;Te(z.lessThan(s),()=>{const j=Pe(S,ue(b,A),ee(0));Ae(f,ue(b,A),j).toWriteOnly()}).Else(()=>{const j=ne(0).toVar(),G=A.toInt(),N=z.div(U),J=o(0);for(let H=-c;H<=c;H++){const te=o(H).add(J).mul(n).mul(N),q=Pe(S,ue(b,G.add(te.round().toInt()).clamp(ee(0),I).toUint()),ee(0));j.assign(j.add(q.mul(E.element(ee(H+c)))))}Ae(f,ue(b,A),j).toWriteOnly()})})})().compute(v*u,[256])],outputTexture:g,blurMapTexture:M,blurMapWriteNode:k,computeWidth:v,computeHeight:u,setInputDimensions:(m,b)=>{x.value=m,p.value=b,U.value=b/u}}}var P=128;const ye={name:"CursorRipples",category:"Interactive",description:"Fluid-like ripple distortion",requiresRTT:!0,requiresChild:!0,usesPointer:!0,props:{intensity:{default:10,description:"Strength of the ripple distortion",ui:{type:["range","map"],min:0,max:20,step:.1,label:"Intensity",group:"Effect"}},decay:{default:10,description:"How quickly ripples fade (higher = faster)",ui:{type:"range",min:0,max:20,step:.1,label:"Decay",group:"Effect"}},radius:{default:.5,description:"Radius of cursor influence",ui:{type:"range",min:.1,max:1,step:.1,label:"Radius",group:"Effect"}},chromaticSplit:{default:1,description:"RGB channel separation along ripple edges",ui:{type:["range","map"],min:0,max:3,step:.1,label:"Chromatic Split",group:"Effect"}},edges:{default:"stretch",description:"How to handle edges when distortion pushes content out of bounds",transform:ft,compileTime:!0,ui:{type:"select",options:[{label:"Stretch",value:"stretch"},{label:"Transparent",value:"transparent"},{label:"Mirror",value:"mirror"},{label:"Wrap",value:"wrap"}],label:"Edges",group:"Effect"}}},computeNode:({uniforms:l,onCleanup:i,dimensions:d})=>{const t=gt(P*P,"float"),a=gt(P*P,"float"),v=new it(P,P);v.type=lt;const u=Ye(v);i(()=>{v.dispose()});const R=$(.5),c=$(.5),h=$(0),M=$(.016),k=$(10),w=$(.025),O=$(1),g=le(P),T=le(P-1),S=(n,s)=>_e(()=>{const m=Ge,b=m.mod(g),A=m.div(g);Te(A.greaterThan(le(0)).and(A.lessThan(T)).and(b.greaterThan(le(0))).and(b.lessThan(T)),()=>
1{const z=n.element(m.sub(le(1))),j=n.element(m.add(le(1))),G=n.element(m.sub(g)),N=n.element(m.add(g)),J=z.add(j).add(G).add(N).mul(o(.5)),H=s.element(m),te=o(1).sub(k.mul(o(.004))),q=J.sub(H).mul(te).toVar(),K=b.toFloat().add(o(.5)).div(o(P)),Q=A.toFloat().add(o(.5)).div(o(P)),re=O.greaterThanEqual(o(1)).select(K.sub(R).mul(O),K.sub(R)),oe=O.greaterThanEqual(o(1)).select(Q.sub(c),Q.sub(c).div(O)),B=re.mul(re).add(oe.mul(oe)),se=w.mul(o(3));Te(B.lessThan(se.mul(se)).and(h.greaterThan(o(.01))),()=>{const de=B.negate().div(w.mul(w)).exp();q.assign(q.sub(de.mul(h).mul(M).mul(o(3))))}),s.element(m).assign(q)})})().compute(P*P,[256]),f=n=>_e(()=>{const s=Ge,m=s.mod(g),b=s.div(g);Te(b.greaterThan(le(0)).and(b.lessThan(T)).and(m.greaterThan(le(0))).and(m.lessThan(T)),()=>{const A=n.element(s.add(le(1))),z=n.element(s.sub(le(1))),j=n.element(s.add(g)),G=n.element(s.sub(g)),N=A.sub(z).mul(o(.5)),J=j.sub(G).mul(o(.5));Ae(u,ue(m,b),ne(N,J,o(0),o(1))).toWriteOnly()})})().compute(P*P,[256]),E=S(t,a),x=f(a),p=S(a,t),U=f(t);let y=0,_=.5,I=.5,r=Date.now(),e=Date.now();return{outputs:{displacement:v},getComputeNodes:n=>{const s=Date.now(),m=Math.min((s-r)/1e3,.016);r=s;const b=d.width/d.height,A=l.decay.uniform.value,z=l.radius.uniform.value*.05,j=m>0?(n.pointer.x-_)/m:0,G=m>0?(n.pointer.y-I)/m:0,N=Math.min(Math.sqrt(j*j+G*G),2);_=n.pointer.x,I=n.pointer.y,N>.01&&(e=s);const J=1-A*.004,H=J>=1?1/0:Math.min(3e4,Math.log(1e-6)/Math.log(Math.max(J,.001))*16.67);if(s-e>H)return null;R.value=n.pointer.x,c.value=n.pointer.y,h.value=N,M.value=m,k.value=A,w.value=z,O.value=b;const te=y===0?[E,x]:[p,U];return y=1-y,te}}},fragmentNode:({uniforms:l,onBeforeRender:i,childNode:d,onCleanup:t,dimensions:a,computeOutputs:v})=>{if(!d)return ne(0,0,0,0);const u=Ze(d);t(()=>{u?.renderTarget?.dispose&&u.renderTarget.dispose()});let R;if(v?.displacement)R=mt(v.displacement).sample(V).xy;else{const x=[new Float32Array(P*P),new Float32Array(P*P)];let p=0;const U=new Float32Array(P*P*2),y=new Ct(U,P,P,Pt,lt);y.magFilter=ut,y.minFilter=ut,y.needsUpdate=!0;const _=mt(y);let I=.5,r=.5,e=Date.now(),n=1;i(({pointer:s})=>{const m=Date.now(),b=Math.min((m-e)/1e3,.016);e=m;const A=a.width/a.height,z=1,j=l.decay.uniform.value,G=l.radius.uniform.value*.05,N=b>0?(s.x-I)/b:0,J=b>0?(s.y-r)/b:0,H=Math.min(Math.sqrt(N*N+J*J),2);if(I=s.x,r=s.y,H<=.01&&n<1e-6)return;const te=1-j*.004;let q=0;for(let Q=0;Q<z;
1Q++){const re=x[p],oe=x[1-p];if(Q===0&&H>.01){const B=G*3,se=Math.max(1,Math.floor((s.x-B)*P)),de=Math.min(P-2,Math.ceil((s.x+B)*P)),ke=Math.max(1,Math.floor((s.y-B)*P)),Ue=Math.min(P-2,Math.ceil((s.y+B)*P));for(let ve=ke;ve<=Ue;ve++)for(let he=se;he<=de;he++){const Je=ve*P+he,at=(he+.5)/P,st=(ve+.5)/P,ht=A>=1?(at-s.x)*A:at-s.x,vt=A>=1?st-s.y:(st-s.y)/A,ct=Math.sqrt(ht*ht+vt*vt);if(ct<B){const Ot=Math.exp(-ct*ct/(G*G));re[Je]-=Ot*H*b*3}}}for(let B=1;B<P-1;B++)for(let se=1;se<P-1;se++){const de=B*P+se,ke=((re[de-1]+re[de+1]+re[de-P]+re[de+P])*.5-oe[de])*te;oe[de]=ke;const Ue=ke<0?-ke:ke;Ue>q&&(q=Ue)}p=1-p}n=q;const K=x[p];for(let Q=1;Q<P-1;Q++)for(let re=1;re<P-1;re++){const oe=Q*P+re,B=oe*2;U[B]=(K[oe+1]-K[oe-1])*.5,U[B+1]=(K[oe+P]-K[oe-P])*.5}y.needsUpdate=!0}),t(()=>{y.dispose()}),R=_.sample(V).xy}const c=l.intensity.uniform.mul(.1),h=R.mul(c),M=o(.15),k=h.clamp(F(M.negate(),M.negate()),F(M,M)),w=l.chromaticSplit.uniform.mul(.1),O=V.sub(k.mul(o(1).add(w))),g=V.sub(k),T=V.sub(k.mul(o(1).sub(w))),S=et(O,u.sample(O),u,l.edges.uniform.value),f=et(g,u.sample(g),u,l.edges.uniform.value),E=et(T,u.sample(T),u,l.edges.uniform.value);return ot(ne(S.r,f.g,E.b,f.a))}},be={name:"FilmGrain",category:"Stylize",description:"Analog film grain texture overlay, weighted toward darker areas",requiresChild:!0,props:{strength:{default:.5,description:"Intensity of the film grain noise",ui:{type:["range","map"],min:0,max:1,step:.025,label:"Strength",group:"Effect"}},bias:{default:2,description:"Concentrates grain in darker areas. Higher values focus grain more heavily on shadows; 0 applies grain uniformly.",ui:{type:"range",min:0,max:10,step:.1,label:"Bias",group:"Effect"}},animated:{default:!1,description:"When enabled, the grain pattern changes each frame for a dynamic film effect",ui:{type:"checkbox",label:"Animated",group:"Effect"},transform:l=>l?1:0}},fragmentNode:({uniforms:l,childNode:i,onBeforeRender:d})=>{const t=l.strength.uniform,a=l.bias.uniform,v=l.animated.uniform,u=(i||ne(0,0,0,0)).toVar(),R=$(0);d(({deltaTime:w})=>{R.value+=w*v.value*10});const c=dt(W(nt(At,F(12.9898,78.233)).add(R)).mul(o(43758.5453))).mul(o(2)).sub(o(1)),h=_t(nt(u.rgb,Re(.2126,.7152,.0722)),0,1),M=rt(o(1).sub(h).add(o(1e-6)),a),k=c.mul(M).mul(t.mul(o(.1)));return ne(u.rgb.add(k),u.a)}},we={name:"FlowField",category:"Distortions",description:"Fluid-like distortion with constant smooth motion",requiresRTT:!0,requiresChild:!0,props:{strength:{default:.15,description:"Intensity of the flow distortion",ui:{type:["range","map"],min:0,max:.5,step:.05,label:"Strength",group:"Effect"}},detail:{default:2,description:"Scale of the flow patterns",ui:{type:["range","map"],min:.5,max:5,step:.1,label:"Detail",group:"Effect"}},speed:{default:0,description:"Speed of the flow",ui:{type:"range",min:0,max:20,step:.1,label:"Speed",group:"Animation"}},evolutionSpeed:{default:0,description:"How fast the flow field pattern reshapes over time",ui:{type:"range",min:0,max:20,step:.1,label:"Evolution Speed",group:"Animation"}},edges:{default:"mirror",description:"How to handle edges when distortion pushes content out of bounds",transform:ft,compileTime:!0,ui:{type:"select",options:[{label:"Stretch",value:"stretch"},{label:"Transparent",value:"transparent"},{label:"Mirror",value:"mirror"},{label:"Wrap",value:"wrap"}],label:"Edges",group:"Effect"}}},fragmentNode:l=>{const{uniforms:i,childNode:d,onCleanup:t}=l;if(!d)return ne(0,0,0,0);const a=Ze(d);t(()=>{a?.renderTarget?.dispose&&a.renderTarget.dispose()});const v=tt(l,i.speed).mul(.1),u=tt(l,i.evolutionSpeed).mul(.1),R=Oe.x.div(Oe.y),c=F(V.x.mul(R),V.y),h=i.detail.uniform,M=i.strength.uniform,k=v.mul(.7),w=u.mul(.2),O=pt(Re(c.x.mul(h).add(k.mul(.3)),c.y.mul(h).add(k.mul(.5)),w)).mul(Math.PI*2),g=F(fe(O),W(O)),T=v.mul(.5),S=u.mul(.15),f=pt(Re(c.x.mul(h.mul(2.3)).add(T.mul(-.4)).add(173.5),c.y.mul(h.mul(2.3)).add(T.mul(.3)).add(291.7),S.add(50))).mul(Math.PI*2),E=F(fe(f),W(f)),x=v.mul(.3),p=u.mul(.1),U=pt(Re(c.x.mul(h.mul(4.7)).add(x.mul(.2)).add(527.3),c.y.mul(h.mul(4.7)).add(x.mul(-.6)).add(839.1),p.add(100))).mul(Math.PI*2),y=F(fe(U),W(U)),_=g.add(E.mul(.5)).add(y.mul(.25)),I=Xe(St(_),o(.001)),r=_.div(I),e=F(r.x.mul(M).div(R),r.y.mul(M)),n=F(V.x.add(e.x),V.y.add(e.y));return ot(et(n,a.sample(n),a,i.edges.uniform.value))}},xe={name:"ProgressiveBlur",category:"Blurs",description:"Blur that increases progressively in one direction",requiresRTT:!0,requiresChild:!0,props:{intensity:{default:50,description:"Maximum intensity of the blur effect",ui:{type:["range","map"],min:0,max:100,step:1,label:"Intensity",group:"Effect"}},angle:{default:0,transform:It,description:"Direction of the blur gradient (in degrees)",ui:{type:["range","map"],min:0,max:360,step:1,label:"Angle",group:"Effect"}},center:{default:{x:0,y:.5},transform:Mt,description:"Center point where blur begins",ui:{type:"position",label:"Center",group:"Position"}},falloff:{default:1,description:"Distance over which blur transitions to full strength",ui:{type:["range","map"],min:0,max:1,step:.1,label:"Falloff",group:"Effect"}}},computeNode:({childNode:l,onCleanup:i,dimensions:d,renderer:t,uniforms:a,onResize:v})=>
1{if(!l||a.angle.mapComputeInfo||a.falloff.mapComputeInfo)return null;const u=Ze(l);i(()=>{u?.renderTarget?.dispose&&u.renderTarget.dispose()});const R=t?.getPixelRatio?.()??1,c=Math.round(d.width*R),h=Math.round(d.height*R),M=Vt(u,c,h,i),{computeNodes:k,outputTexture:w,blurMapWriteNode:O,computeWidth:g,computeHeight:T}=M,S=$(0),f=$(0),E=$(.5),x=$(1),p=$(1),U=$(c),y=$(h),_=le(g),I=le(T);function r(b){return b.getCpuValue?.()??(typeof b.uniform.value=="number"?b.uniform.value:null)}function e(){const b=r(a.angle);b!==null&&(S.value=b);const A=a.center.uniform.value?.x??a.center.uniform.x?.value;typeof A=="number"&&(f.value=A);const z=a.center.uniform.value?.y??a.center.uniform.y?.value;typeof z=="number"&&(E.value=z);const j=r(a.falloff);j!==null&&(x.value=j),p.value=d.width/d.height}const n=a.intensity.mapComputeInfo;if(n){const{sourceTexture:b,channel:A,inputMin:z,inputMax:j,outputMin:G,outputMax:N,curve:J}=n,H=_e(()=>{const te=Ge,q=te.mod(_),K=te.div(_);Te(K.lessThan(I),()=>{const Q=q.toFloat().add(o(.5)).div(o(g)),re=K.toFloat().add(o(.5)).div(o(T)),oe=S.mul(o(Math.PI/180)),B=F(oe.cos().div(p),oe.sin()),se=F(f,o(1).sub(E)),de=F(Q,re).sub(se),ke=Xe(o(0),de.dot(B)),Ue=Ie(o(0),x,ke),ve=Pe(b,ue(Q.mul(U).round().toInt().clamp(ee(0),ee(U.sub(1))).toUint(),re.mul(y).roun
1d().toInt().clamp(ee(0),ee(y.sub(1))).toUint()),ee(0));let he;A==="alpha"?he=ve.a:A==="alphaInverted"?he=ve.a.oneMinus():A==="luminanceInverted"?he=nt(ve.rgb,Re(.2126,.7152,.0722)).oneMinus():he=nt(ve.rgb,Re(.2126,.7152,.0722));const Je=j.sub(z).max(o(1e-4)),at=Ft(G,N,rt(_t(he.sub(z).div(Je),o(0),o(1)),rt(o(2),J.negate().mul(o(2))))).mul(o(.36)),st=Ue.mul(at);Ae(O,ue(q,K),ne(st,o(0),o(0),o(1))).toWriteOnly()})})().compute(g*T,[256]);return v(({width:te,height:q})=>{const K=Math.round(te*R),Q=Math.round(q*R);U.value=K,y.value=Q,M.setInputDimensions(K,Q)}),{outputs:{childTexture:u,blurredTexture:w},getComputeNodes:()=>(e(),[H,...k])}}const s=$(18),m=_e(()=>{const b=Ge,A=b.mod(_),z=b.div(_);Te(z.lessThan(I),()=>{const j=A.toFloat().add(o(.5)).div(o(g)),G=z.toFloat().add(o(.5)).div(o(T)),N=S.mul(o(Math.PI/180)),J=F(N.cos().div(p),N.sin()),H=F(f,o(1).sub(E)),te=F(j,G).sub(H),q=Xe(o(0),te.dot(J)),K=Ie(o(0),x,q).mul(s);Ae(O,ue(A,z),ne(K,o(0),o(0),o(1))).toWriteOnly()})})().compute(g*T,[256]);return v(({width:b,height:A})=>{M.setInputDimensions(Math.round(b*R),Math.round(A*R))}),{outputs:{childTexture:u,blurredTexture:w},getComputeNodes:()=>{e();const b=r(a.intensity);return b!==null&&(s.value=b*.36),[m,...k]}}},fragmentNode:({uniforms:l,childNode:i,onCleanup:d,computeOutputs:t})=>{if(!i)return ne(0,0,0,0);if(t?.blurredTexture){const p=t.childTexture.sample(V),U=mt(t.blurredTexture).sample(V),y=l.intensity.uniform.mul(o(0)).add(l.angle.uniform.mul(o(0))).add(l.falloff.uniform.mul(o(0)));return ot(ne(U.rgb.add(y),p.a))}const a=Ze(i);d(()=>{a?.renderTarget?.dispose&&a.renderTarget.dispose()});const v=Oe.x.div(Oe.y),u=Wt(l.angle.uniform),R=fe(u),c=W(u),h=F(R.div(v),c),M=F(l.center.uniform[0],l.center.uniform[1].oneMinus()),k=V.sub(M),w=Xe(o(0),k.dot(h)),O=Xe(o(.001),l.falloff.uniform),g=Ie(o(0),O,w),T=l.intensity.uniform.mul(.06),S=g.mul(T),f=[.056,.135,.278,.487,.726,.923,1,.923,.726,.487,.278,.135,.056],E=6.214,x=Ze(_e(()=>{const p=V,U=F(1).div(Oe),y=ne(0).toVar();for(let _=-6;_<=6;_++){const I=o(f[_+6]/E),r=F(o(_),o(0)).mul(S).mul(U),e=p.add(r),n=a.sample(e).mul(I);y.assign(y.add(n))}return y})());return d(()=>{x?.renderTarget?.dispose&&x.renderTarget.dispose()}),_e(()=>{const p=V,U=F(1).div(Oe),y=ne(0).toVar();for(let _=-6;_<=6;_++){const I=o(f[_+6]/E),r=F(o(0),o(_)).mul(S).mul(U),e=p.add(r),n=x.sample(e).mul(I);y.assign(y.add(n))}return ot(y)})()}},Me={name:"Swirl",category:"Textures",description:"Flowing swirl pattern with multi-layered noise",props:{colorA:{default:"#1275d8",description:"Primary gradient color",transform:Qe,ui:{type:"color",label:"Color A",group:"Colors"}},colorB:{default:"#e19136",description:"Secondary gradient color",transform:Qe,ui:{type:"color",label:"Color B",group:"Colors"}},speed:{default:1,description:"Flow animation speed",ui:{type:"range",min:0,max:5,step:.1,label:"Speed",group:"Animation"}},detail:{default:1,description:"Level of detail and intricacy in the swirl patterns",ui:{type:["range","map"],min:0,max:5,step:.1,label:"Detail",group:"Effect"}},blend:{default:50,description:"Skew color balance toward A (lower values) or B (higher values)",ui:{type:["range","map"],min:0,max:100,step:1,label:"Blend",group:"Effect"}},colorSpace:{default:"linear",transform:xt,compileTime:!0,description:"Color space for color interpolation",ui:{type:"select",options:wt,label:"Color Space",group:"Colors"}}},fragmentNode:l=>{const{uniforms:i}=l,d=tt(l,i.speed),t=i.detail.uniform,a=i.colorSpace.uniform.value;return _e(()=>{const v=t,u=F(V.x.add(W(V.y.mul(v.mul(1.7)).add(d.mul(.8))).mul(.12).add(fe(V.x.mul(v.mul(.9)).sub(d.mul(.5))).mul(.05))),V.y.add(fe(V.x.mul(v.mul(1.3)).sub(d.mul(.6))).mul(.12).add(W(V.y.mul(v.mul(1.1)).add(d.mul(.7))).mul(.05)))).toVar(),R=W(u.x.mul(v.mul(2.1)).add(u.y.mul(v.mul(1.8))).add(d.mul(.4))),c=t.mul(2.1),h=F(u.x.add(fe(u.y.mul(c.mul(2.7)).sub(d.mul(.45))).mul(.07).add(W(u.x.mul(c.mul(1.9)).add(d.mul(.6))).mul(.04))),u.y.add(W(u.x.mul(c.mul(2.3)).add(d.mul(.65))).mul(.07).add(fe(u.y.mul(c.mul(1.6)).sub(d.mul(.4))).mul(.04)))).toVar(),M=fe(h.x.mul(c.mul(1.4)).sub(h.y.mul(c.mul(1.9))).add(d.mul(.35))),k=t.mul(3.7),w=F(h.x.add(W(h.y.mul(k.mul(1.8)).add(d.mul(.85))).mul(.04).add(fe(h.x.mul(k.mul(1.3)).sub(d.mul(.55))).mul(.025)).add(W(h.x.add(h.y).mul(k.mul(.7)).add(d.mul(.9))).mul(.02))),h.y.add(fe(h.x.mul(k.mul(1.6)).sub(d.mul(.75))).mul(.04).add(W(h.y.mul(k.mul(1.1)).add(d.mul(.5))).mul(.025)).add(fe(h.x.add(h.y).mul(k.mul(.8)).sub(d.mul(.95))).mul(.02)))).toVar(),O=W(w.x.mul(k.mul(1.1)).add(w.y.mul(k.mul(1.5))).sub(d.mul(.55))),g=R.mul(.45).add(M.mul(.35)).add(O.mul(.2)).toVar(),T=i.blend.uniform.sub(50).mul(.006),S=Ie(.3,.7,g.mul(.5).add(.5).add(T)),f=kt(i.colorA.uniform,i.colorB.uniform,S,a),E=W(d.mul(2.5).add(g.mul(8))).mul(.015).add(1),x=f.mul(E);return ne(x.rgb,x.a)})()}},Se={name:"WaveDistortion",category:"Distortions",description:"Wave-based distortion with multiple waveform types",requiresRTT:!0,requiresChild:!0,props:{strength:{default:.3,description:"Distortion intensity",ui:{type:["range","map"],min:0,max:1,step:.
105,label:"Strength",group:"Effect"}},frequency:{default:1,description:"Number of bends/waves",ui:{type:["range","map"],min:.1,max:10,step:.1,label:"Frequency",group:"Effect"}},speed:{default:1,description:"Animation speed",ui:{type:"range",min:0,max:5,step:.1,label:"Speed",group:"Animation"}},angle:{default:0,description:"Direction of wave distortion in degrees",ui:{type:["range","map"],min:0,max:360,step:1,label:"Angle",group:"Effect"}},waveType:{default:"sine",description:"Shape of the distortion wave",compileTime:!0,transform:l=>({sine:0,triangle:1,square:2,sawtooth:3,bounce:4})[l]??0,ui:{type:"select",options:[{label:"Sine",value:"sine"},{label:"Triangle",value:"triangle"},{label:"Square",value:"square"},{label:"Sawtooth",value:"sawtooth"},{label:"Bounce",value:"bounce"}],label:"Wave Type",group:"Effect"}},edges:{default:"stretch",description:"How to handle edges when distortion pushes content out of bounds",transform:ft,compileTime:!0,ui:{type:"select",options:[{label:"Stretch",value:"stretch"},{label:"Transparent",value:"transparent"},{label:"Mirror",value:"mirror"},{label:"Wrap",value:"wrap"}],label:"Edges",group:"Effect"}}},fragmentNode:l=>{const{uniforms:i,childNode:d,onCleanup:t,onBeforeRender:a}=l;if(!d)return ne(0,0,0,0);const v=V,u=Oe.x.div(Oe.y),R=tt(l,i.speed).mul(.5);let c,h;if(i.angle.uniform.isUniformNode){const U=$(1),y=$(0);a(()=>{const _=i.angle.uniform.value*Math.PI/180;U.value=Math.cos(_),y.value=Math.sin(_)}),c=U,h=y}else{const U=i.angle.uniform.mul(Ke).div(180);c=fe(U).toVar(),h=W(U).toVar()}const M=v.sub(F(.5,.5)),k=F(M.x.mul(u),M.y),w=k.x.mul(h).add(k.y.mul(c)).add(.5).mul(i.frequency.uniform).mul(Ke.mul(2)).add(R);let O;switch(i.waveType.uniform.value){case 1:O=yt(dt(w.div(Ke.mul(2))).mul(2).sub(1)).mul(2).sub(1);break;case 2:{const U=dt(w.div(Ke.mul(2)));O=Dt(o(.5),U).mul(2).sub(1);break}case 3:O=dt(w.div(Ke.mul(2))).mul(2).sub(1);break;case 4:O=yt(W(w));break;default:O=W(w)}const g=O.mul(i.strength.uniform).mul(.5),T=g.mul(c).div(u),S=g.mul(h),f=F(v.x.add(T),v.y.add(S)),E=Ze(d);t(()=>{E?.renderTarget?.dispose&&E.renderTarget.dispose()});const x=i.edges.uniform.value;let p;if(x===2||x===3){const U=jt(f,x);p=E.sample(U)}else p=et(f,E.sample(f),E,x);return ot(p)}};var Lt=["data-shader-id"],Yt=["width","height"],Xt=De({__name:"Blob",props:Ne({softness:{},highlightIntensity:{},speed:{},center:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},colorA:{},colorB:{},size:{},deformation:{},highlightX:{},highlightY:{},highlightZ:{},highlightColor:{},seed:{},colorSpace:{}},{blendMode:"normal",visible:!0,...Object.entries(ge.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(ge.experimental&&!i){i=!0;const r=ge.experimental;console.info(`%câ [Shaders] ${ge.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(ge.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(ge.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(ge.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(ge,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!ge.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,ge.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,ge,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,Lt),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,Yt)])):me("",!0)],64))}}),Zt=Xt,Gt=["data-shader-id"],Jt=["width","height"],Kt=De({__name:"CursorRipples",props:Ne({intensity:{},chromaticSplit:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},decay:{},radius:{},edges:{}},{blendMode:"normal",visible:!0,...Object.entries(ye.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(ye.experimental&&!i){i=!0;const r=ye.experimental;console.info(`%câ [Shaders] ${ye.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(ye.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(ye.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(ye.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(ye,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!ye.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,ye.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,ye,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,Gt),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,Jt)])):me("",!0)],64))}}),Qt=Kt,er=["data-shader-id"],tr=["width","height"],rr=De({__name:"FilmGrain",props:Ne({strength:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},bias:{},animated:{type:Boolean}},{blendMode:"normal",visible:!0,...Object.entries(be.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(be.experimental&&!i){i=!0;const r=be.experimental;console.info(`%câ [Shaders] ${be.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(be.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(be.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(be.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(be,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!be.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,be.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,be,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,er),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,tr)])):me("",!0)],64))}}),nr=rr,or=["data-shader-id"],ar=["width","height"],sr=De({__name:"FlowField",props:Ne({strength:{},detail:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},speed:{},evolutionSpeed:{},edges:{}},{blendMode:"normal",visible:!0,...Object.entries(we.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(we.experimental&&!i){i=!0;const r=we.experimental;console.info(`%câ [Shaders] ${we.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(we.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(we.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(we.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(we,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!we.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,we.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,we,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,or),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,ar)])):me("",!0)],64))}}),ir=sr,dr=["data-shader-id"],lr=["width","height"],ur=De({__name:"ProgressiveBlur",props:Ne({intensity:{},angle:{},center:{},falloff:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{}},{blendMode:"normal",visible:!0,...Object.entries(xe.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(xe.experimental&&!i){i=!0;const r=xe.experimental;console.info(`%câ [Shaders] ${xe.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(xe.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(xe.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(xe.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(xe,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!xe.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,xe.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,xe,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,dr),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,lr)])):me("",!0)],64))}}),cr=ur,pr=["data-shader-id"],mr=["width","height"],fr=De({__name:"Swirl",props:Ne({detail:{},blend:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},colorA:{},colorB:{},speed:{},colorSpace:{}},{blendMode:"normal",visible:!0,...Object.entries(Me.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(Me.experimental&&!i){i=!0;const r=Me.experimental;console.info(`%câ [Shaders] ${Me.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(Me.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(Me.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(Me.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(Me,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!Me.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,Me.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,Me,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,pr),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,mr)])):me("",!0)],64))}}),bt=fr,hr=["data-shader-id"],vr=["width","height"],gr=De({__name:"WaveDistortion",props:Ne({strength:{},frequency:{},angle:{},blendMode:{},opacity:{},visible:{type:Boolean},id:{},maskSource:{},maskType:{},renderOrder:{},transform:{},speed:{},waveType:{},edges:{}},{blendMode:"normal",visible:!0,...Object.entries(Se.props).reduce((l,[i,d])=>(l[i]=d.default,l),{})}),setup(l){let i=!1;if(Se.experimental&&!i){i=!0;const r=Se.experimental;console.info(`%câ [Shaders] ${Se.name} is experimental: ${r.message}`,"color: #f59e0b; font-weight: bold")}function d(r){return typeof r=="object"&&r!==null&&"type"in r&&(r.type==="map"||r.type==="mouse"||r.type==="mouse-position"||r.type==="auto-animate")}const t=l,a=(t.id?t.id.replace(/[^a-zA-Z0-9_]/g,"_"):null)||je().replace(/[^a-zA-Z0-9_]/g,"");Le("shaderParentId",a);const v={offsetX:0,offsetY:0,rotation:0,scale:1,anchorX:.5,anchorY:.5,edges:"transparent"},u=X(()=>({...v,...t.transform})),R=X(()=>{let r={...Object.entries(Se.props).reduce((e,[n,s])=>(e[n]=s.default,e),{})};for(const e in t)if(e!=="blendMode"&&e!=="opacity"&&e!=="visible"&&e!=="id"&&e!=="maskSource"&&e!=="maskType"&&e!=="renderOrder"&&e!=="transform"){const n=Be(t[e]);if(d(n))continue;n!==Object.entries(Se.props).reduce((s,[m,b])=>(s[m]=b.default,s),{})[e]&&(r[e]=n)}return r}),c=X(()=>{const r={};for(const e of Object.keys(Se.props)){const n=t[e];d(n)&&(r[e]=n)}return Object.keys(r).length>0?r:void 0}),h=C("shaderColorSpace");h&&We(h.value);const M=Fe(Se,R.value,a),k=C("shaderParentId");if(k===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const w=C("shaderNodeRegister");if(w===void 0)throw new Error("Shader components must be used inside an <Shader> component or another shader component");const O=C("shaderUniformUpdate");if(O===void 0)throw new Error("Shader components require shaderUniformUpdate from parent");const g=C("shaderMetadataUpdate");if(g===void 0)throw new Error("Shader components require shaderMetadataUpdate from parent");const T=C("shaderRendererResetSignal"),S=D(null),f=!!Se.capturesDOM,E=D(null),x=D(typeof window<"u"?Math.round(window.innerWidth*Math.min(window.devicePixelRatio,2)):0),p=D(typeof window<"u"?Math.round(window.innerHeight*Math.min(window.devicePixelRatio,2)):0),U={position:"fixed",inset:"0",width:"100vw",height:"100vh",zIndex:"-9999"};if(f){const r=()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e)};L(()=>{const e=Math.min(window.devicePixelRatio,2);x.value=Math.round(window.innerWidth*e),p.value=Math.round(window.innerHeight*e),window.addEventListener("resize",r)}),Y(()=>{window.removeEventListener("resize",r)})}let y;const _=()=>{w(a,Se.fragmentNode,k,{blendMode:t.blendMode,opacity:t.opacity,visible:t.visible!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value},M,Se,f?E.value??void 0:void 0)};L(()=>
1{if(t.renderOrder===void 0&&S.value){const r=S.value.parentElement;if(r){const e=r.querySelectorAll(":scope > [data-shader-id]"),n=Array.from(e).indexOf(S.value);n>=0&&(y=n,g(a,{renderOrder:n}))}}});const I=()=>{const r=Ve();r.run(()=>{Object.entries(M).forEach(([e,{uniform:n,transform:s}])=>{Z(()=>t[e],m=>{n&&n.value!==void 0&&!d(m)&&O(a,e,m)},{deep:!0})}),Z(()=>[t.blendMode,t.opacity,t.visible,t.id,t.maskSource,t.maskType,t.renderOrder,t.transform,c.value],([e,n,s])=>{g(a,{blendMode:e,opacity:n,visible:s!==!1,id:t.id,mask:t.maskSource?{source:t.maskSource,type:t.maskType||"alpha"}:void 0,maps:c.value,renderOrder:t.renderOrder??y,transform:u.value})},{deep:!0}),T&&Z(()=>T.value,e=>{e>0&&_()},{immediate:!0})}),Y(()=>{r.stop()})};return f?L(()=>{I()}):I(),Y(()=>{w(a,null,null,null,null,null)}),(r,e)=>(ie(),ze(qe,null,[ce("span",{ref_key:"orderMarker",ref:S,style:{display:"contents"},"data-shader-id":ae(a)},[f?me("",!0):pe(r.$slots,"default",{key:0})],8,hr),f?(ie(),Ce($e,{key:0,to:"body"},[ce("canvas",He({ref_key:"captureCanvas",ref:E},{layoutsubtree:""},{width:x.value,height:p.value,style:U}),[pe(r.$slots,"default")],16,vr)])):me("",!0)],64))}}),yr=gr;const xr={__name:"HeroShader",setup(l){return(i,d)=>(ie(),Ce(ae(zt),null,{default:Ht(()=>[Ee(ae(bt),{blend:47,"color-a":"#7e0032","color-b":"#54001f","color-space":"oklch",detail:1.7,speed:.8,visible:!0}),Ee(ae(yr),{angle:203,edges:"mirror",frequency:2.8,speed:2.5,strength:.5,visible:!0}),Ee(ae(nr),{strength:.15,visible:!1}),Ee(ae(bt),{blend:5,"color-space":"oklch",detail:.5,speed:.3,visible:!1}),Ee(ae(Zt),{"blend-mode":"normal-oklab",center:{x:.26,y:.25},"color-a":"#1f1f1f","color-b":"#7e0032","color-space":"oklab",deformation:1,"highlight-color":"#262626","highlight-intensity":.35,"highlight-x":-.1,"highlight-y":-.01,"highlight-z":.13,softness:.43,visible:!0}),Ee(ae(cr),{angle:90,center:{x:.5,y:.5},falloff:0,intensity:100}),Ee(ae(ir),{detail:4.4,speed:1}),Ee(ae(Qt),{"chromatic-split":0,decay:5,intensity:15,radius:.6,visible:!0})]),_:1}))}};export{xr as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.