PageSourceSearch

https://cloudstudioiot.com/_next/static/chunks/b49592f32188b941.js?dpl=dpl_4rVRJFfdD14UPDDRpQXhFvV3rFc8

js cloudstudioiot.com collected 2026-10-09 17:11:38 UTC 31,276 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,305951,611021,t=>{"use strict";var e=t.i(843476),i=t.i(271645),s=t.i(363178),a=t.i(768729);class n{constructor(t=0){this.current=t,this.prev=t,this.prevTime=performance.now(),this.listeners=new Set,this.animation=null}get(){return this.current}set(t){let e=performance.now();for(let i of(e>this.prevTime&&(this.prev=this.current,this.prevTime=e),this.current=t,this.listeners))i(t)}getVelocity(){let t=(performance.now()-this.prevTime)/1e3;if(t<=0)return 0;let e=(this.current-this.prev)/Math.max(t,1e-4);return Number.isFinite(e)?e:0}onChange(t){return this.listeners.add(t),()=>this.listeners.delete(t)}stop(){this.animation&&(this.animation.cancelled=!0,this.animation=null)}}let r=t=>"object"==typeof t&&null!==t&&"get"in t&&"onChange"in t;function l(t,e,i={}){t.stop();let s={cancelled:!1};t.animation=s;let a=t.get();if("spring"===i.type){let n=i.stiffness??100,r=i.damping??10,l=i.mass??1,o=a,h=i.velocity??t.getVelocity(),d=performance.now(),p=a=>{if(s.cancelled)return;let u=Math.min((a-d)/1e3,.064);d=a;let c=Math.max(1,Math.ceil(u/.008)),m=u/c;for(let t=0;t<c;t++){let t=(-n*(o-e)-r*h)/l;h+=t*m,o+=h*m}if(.01>Math.abs(o-e)&&.01>Math.abs(h)){t.set(e),t.animation=null,i.onComplete?.();return}t.set(o),requestAnimationFrame(p)};return requestAnimationFrame(p),s}let n=(i.duration??.3)*1e3,r=Array.isArray(i.ease)?function(t,e,i,s){let a=3*t-3*i+1,n=3*i-6*t,r=3*t,l=3*e-3*s+1,o=3*s-6*e,h=3*e,d=t=>((a*t+n)*t+r)*t,p=t=>((l*t+o)*t+h)*t,u=t=>(3*a*t+2*n)*t+r;return t=>{if(t<=0)return 0;if(t>=1)return 1;let e=t;for(let i=0;i<8;i++){let i=d(e)-t;if(1e-6>Math.abs(i))return p(e);let s=u(e);if(1e-6>Math.abs(s))break;e-=i/s}let i=0,s=1;for(e=t;s-i>1e-6;)d(e)<t?i=e:s=e,e=(i+s)/2;return p(e)}}(...i.ease):t=>t,o=performance.now(),h=l=>{if(s.cancelled)return;let d=Math.min(1,(l-o)/n);if(t.set(a+(e-a)*r(d)),d>=1){t.animation=null,i.onComplete?.();return}requestAnimationFrame(h)};return requestAnimationFrame(h),s}let o=t=>Math.tanh(1.7724538509*t);function h(t,e){let i=0;for(let s=0;s<=200;s++){let a=s/200*e,n=a/Math.sqrt(t*t-a*a);i+=0===s||200===s?.5*n:n}return i/200}function d(t,e,i){let s=Math.max(.01,Math.min(t,Math.min(e,i)-1)),a=(e*e+s*s)/(2*s),n=(i*i+s*s)/(2*s),r=h(a,e),l=h(n,i);return{Rx:a,Ry:n,scaleX:r>0?.5/r:1,scaleY:l>0?.5/l:1}}function p(t,e,i){let s=Math.min(t,.999*e);return s/Math.sqrt(e*e-s*s)*i}let u={lensW:90,lensH:60,depth:0,chromaAmount:0,scaleX:0,scaleY:0,mapSize:256,borderRadius:0,blurAmount:0,sdfBoundary:!1,edgeFalloff:!1,brightness:0,specularStrength:0,specularRotation:0,glowStrength:0,glowSpread:1,glowExponent:1.5,tint:0,edgeStrength:0,edgeWidth:3,edgeExponent:1.5,specularDark:!1,domeDepth:0,splayAmount:0,edgeShadow:void 0,edgeInsetShadow:void 0,restEdgeShadow:void 0,restEdgeInsetShadow:void 0};function c(t){let e=null,i=null,s=null,a=null,n=-1/0,r=-1/0,l=-1/0,h=null,u=0,c=!0;return{generate(m){let{canvas:f,ctx:g,img:b}=(e||((e=document.createElement("canvas")).width=t,e.height=t,s=(i=e.getContext("2d")).createImageData(t,t)),{canvas:e,ctx:i,img:s}),{lensHalfWidth:M,lensHalfHeight:x,borderRadius:y=0,depth:w=0,sdfBoundary:E=!1,edgeFalloff:k=!1,specularRotation:v=45,glowStrength:C=0,glowSpread:S=1,glowExponent:A=1.5,edgeStrength:R=0,edgeWidth:$=3,edgeExponent:B=1.5,domeDepth:O=0,splayAmount:I=1}=m,D=b.data,H=t>>1,W=Math.min(y,Math.min(M,x)),G=Math.max(0,M-w),F=Math.max(0,x-w),q=Math.max(0,Math.min(y,Math.min(G,F))),U=w>0?1/(w*Math.SQRT2):1e6,L=C>0||R>0,z=v*Math.PI/180,T=Math.cos(z),P=Math.sin(z),Y=(1-S)*Math.SQRT2,X=S*Math.SQRT2,j=X>.001?1/X:0,V=$>0?1/$:0,Q=2*M/t,N=2*x/t,_=1/M,K=1/x,J=O>0,Z=I<1,tt=.5*Math.min(M,x),te=tt>0?1/tt:0;if(J&&((!a||Math.abs(O-n)>.5||Math.abs(M-r)>1||Math.abs(x-l)>1)&&(a=d(O,M,x),n=O,r=M,l=x,c=!0),u!==H&&(h=new Float32Array(H),u=H,c=!0),c)){let{Rx:t,scaleX:e}=a,i=t*t,s=.999*t;for(let t=0;t<H;t++){let a=M-(t+.5)*Q,n=a<s?a:s;h[t]=n/Math.sqrt(i-n*n)*e}c=!1}let ti=performance.now();for(let e=0;e<H;e++){let i=t-1-e,s=x-(e+.5)*N,n=s-x+W,r=k?s-F+q:0,l=J?p(s,a.Ry,a.scaleY):s*K>1?1:s*K,d=s*K>1?1:s*K,u=Z?Math.max(0,1-(x-s)*te):0;for(let s=0;s<H;s++){let a=t-1-s,p=M-(s+.5)*Q,c=p-M+W,m=c>0?c:0,f=n>0?n:0,g=m*m+f*f,b=(g>0?Math.sqrt(g):0)+(c>n?c>0?0:c:n>
10?0:n)-W,x=(e*t+s)*4,y=(e*t+a)*4,w=(i*t+s)*4,v=(i*t+a)*4;if(!E||b<0){let t=J&&h?h[s]:p*_>1?1:p*_,e=l;if(Z){let i=1-I,s=u*i,a=Math.max(0,1-(M-p)*te)*i;if(s>.001||a>.001){let i=t,n=e;t=i*(1-s),e=n*(1-a);let r=Math.sqrt(i*i+n*n),l=Math.sqrt(t*t+e*e);if(l>.001){let i=r/l;t*=i,e*=i}}}let i=1;if(k){let t=p-G+q,e=t>0?t:0,s=r>0?r:0;i=.5*(1+o((Math.sqrt(e*e+s*s)+(t>r?t>0?0:t:r>0?0:r)-q)*U))}let a=.5*t*i,n=.5*e*i,c=(.5+a)*255+.5|0,m=(.5-a)*255+.5|0,f=(.5+n)*255+.5|0,g=(.5-n)*255+.5|0,E=128,S=128,$=128,O=128;if(L){let t=(p*_>1?1:p*_)*T,e=d*P,s=t+e,a=t-e,n=a<0?-a:a,r=R>0&&b<0?Math.max(0,1+b*V):0,l=t=>{let e=0;if(C>0){let s=(t-Y)*j;e+=C*Math.pow(s<0?0:s>1?1:s,A)*i}return R>0&&(e+=R*r*Math.pow(t,B)),e>1?1:e},o=127*l(s<0?-s:s)+128+.5|0,h=127*l(n)+128+.5|0;E=o,O=o,S=h,$=h}D[x]=c,D[x+1]=f,D[x+2]=E,D[x+3]=255,D[y]=m,D[y+1]=f,D[y+2]=S,D[y+3]=255,D[w]=c,D[w+1]=g,D[w+2]=$,D[w+3]=255,D[v]=m,D[v+1]=g,D[v+2]=O,D[v+3]=255}else for(let t of[x,y,w,v])D[t]=128,D[t+1]=128,D[t+2]=128,D[t+3]=255}}let ts=performance.now()-ti;g.putImageData(b,0,0);let ta=performance.now();return{dataUrl:f.toDataURL(),loopMs:ts,encodeMs:performance.now()-ta}},getCanvas:()=>e,dispose(){e&&(e.width=0,e.height=0,e=null),i=null,s=null,a=null,h=null,n=-1/0,r=-1/0,l=-1/0,c=!0}}}let m=new Map,f="undefined"!=typeof navigator&&/^((?!chrome|chromium|android).)*safari/i.test(navigator.userAgent),g="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=";function b(t,e={}){let i=document.createElementNS("http://www.w3.org/2000/svg",t);for(let[t,s]of Object.entries(e))i.setAttribute(t,s);return i}function M(t={}){let e=document.createElement("div");return Object.assign(e.style,t),e}let x=0;class y{constructor(t,e={}){this.host=t,t.setAttribute("data-aave-glass-container",""),"static"===getComputedStyle(t).position&&(t.style.position="relative"),this.lens={...u,...e.lens},this.opts=e,this.backdrop=!!e.backdrop,this.G=e.filterResolution??1,this.baseId=`aave-glass-${++x}`,this.version=0,this.W=0,this.H=0,this.mapUrl=null,this.destroyed=!1;const i=(t,e)=>r(t)?t:new n(t??e);this.x=i(e.x,.5),this.y=i(e.y,.5),this.lensW=i(e.lensW,this.lens.lensW),this.lensH=i(e.lensH,this.lens.lensH),this.borderRadius=e.autoBorderRadius?null:i(e.borderRadius,this.lens.borderRadius),this.zoom=i(e.zoom,1),this.depth=i(e.depth,this.lens.depth),this.tintOpacity=i(e.tintOpacity,1),this.tintBlur=i(e.tintBlur,0),this.shadowOpacity=i(e.shadowOpacity,1),this.restShadowOpacity=i(e.restShadowOpacity,0),this.edgeBias=i(e.edgeBias,.5),this.animated=[e.lensW,e.lensH,e.borderRadius,e.depth].some(r),this.buildLayers(e),this.buildFilter(),this.ro=new ResizeObserver(()=>this.measure()),this.ro.observe(t),this.measure();const s=()=>this.scheduleUpdate();for(const t of[this.x,this.y,this.zoom,this.tintOpacity,this.tintBlur,this.shadowOpacity,this.restShadowOpacity,this.edgeBias])t.onChange(s);const a=()=>this.scheduleRegen();for(const t of[this.lensW,this.lensH,this.depth])t.onChange(a);this.borderRadius&&this.borderRadius.onChange(a),this.animated&&(this.quadGen=c(this.lens.mapSize)),this.regenerateMap()}radius(){return this.opts.autoBorderRadius?Math.min(this.lensW.get(),this.lensH.get()):this.borderRadius.get()}buildLayers(t){let e=this.host;if(this.contentEl=t.contentEl??null,this.backdrop)this.backdropLensEl=M({position:"absolute",top:"0",left:"0",pointerEvents:"none",willChange:"backdrop-filter, transform"}),e.appendChild(this.backdropLensEl),this.filteredEl=null;else if(t.refractionTargetEl){let i=this.G;this.refractionOuter=M({position:"absolute",top:"0",left:"0",pointerEvents:"none",willChange:"filter, clip-path",background:"var(--body-bg, #fff)",transform:`scale(${1/i})`,transformOrigin:"left top"}),this.refractionInner=M({transform:`scale(${i})`,transformOrigin:"left top"}),this.refractionInner.appendChild(t.refractionTargetEl),this.refractionOuter.appendChild(this.refractionInner),e.appendChild(this.refractionOuter),this.filteredEl=this.refractionOuter}else this.filteredEl=this.contentEl??e.firstElementChild??e,this.filteredEl.style.willChange="filter";this.svg=b("svg",{style:"position:absolute;inset:0;pointer-events:none"}),this.svg.style.position="absolute",this.svg.style.inset="0",this.svg.style.pointerEvents="none",this.defs=b("defs"),this.svg.appendChild(this.defs),e.appendChild(this.svg),0!==this.lens.brightness&&(this.brightnessEl=M({position:"absolute",inset:"0",pointerEvents:"none",background:this.lens.brightness>0?"white":"black",opacity:String(Math.abs(this.lens.brightness))}),e.appendChild(this.brightnessEl)),void 0!==t.tintColor&&(this.tintColor=t.tintColor??"white",this.tintEl=M({position:"absolute",top:"0",left:"0",pointerEvents:"none",overflow:"hidden",
1willChange:"transform"}),e.appendChild(this.tintEl)),this.backdrop||(this.blurEl=M({position:"absolute",top:"0",left:"0",pointerEvents:"none",willChange:"backdrop-filter, transform"}),e.appendChild(this.blurEl));let i=(t,i)=>{if(!t&&!i)return null;let s=M({position:"absolute",top:"0",left:"0",pointerEvents:"none",willChange:"transform",boxSizing:"border-box"});return s.style.boxShadow=[t,i?`inset ${i}`:null].filter(Boolean).join(", "),e.appendChild(s),s};this.shadowActiveEl=i(this.lens.edgeShadow,this.lens.edgeInsetShadow),this.shadowRestEl=i(this.lens.restEdgeShadow,this.lens.restEdgeInsetShadow)}buildBackdropFilter(){let t=this.lens;this.version++;let e=`${this.baseId}-v${this.version}`,i=Math.max(1,Math.round(2*this.lensW.get())),s=Math.max(1,Math.round(2*this.lensH.get())),a=b("filter",{id:e,filterUnits:"userSpaceOnUse",primitiveUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",x:0,y:0,width:i,height:s});this.lensEls=[],this.feImage=b("feImage",{href:this.mapUrl??g,preserveAspectRatio:"none",result:"map",x:0,y:0,width:i,height:s}),a.appendChild(this.feImage);let n=Math.max(t.scaleX,t.scaleY)||0,l=t.scaleX!==t.scaleY||r(this.opts.zoom),o="map";if(l&&n>0&&(this.mapMatrixEl=b("feColorMatrix",{in:"map",type:"matrix",values:this.matrixValues(),result:"scaledMap"}),a.appendChild(this.mapMatrixEl),o="scaledMap"),this.dispEls=[],t.chromaAmount>0){let t=[["1 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0","dispR"],["0 0 0 0 0  0 1 0 0 0  0 0 0 0 0  0 0 0 1 0","dispG"],["0 0 0 0 0  0 0 0 0 0  0 0 1 0 0  0 0 0 1 0","dispB"]];for(let e=0;e<3;e++){let i=b("feDisplacementMap",{in:"SourceGraphic",in2:o,scale:0,xChannelSelector:"R",yChannelSelector:"G"});this.dispEls.push(i),a.appendChild(i),a.appendChild(b("feColorMatrix",{type:"matrix",values:t[e][0],result:t[e][1]}))}a.appendChild(b("feComposite",{in:"dispR",in2:"dispG",operator:"arithmetic",k1:0,k2:1,k3:1,k4:0})),a.appendChild(b("feComposite",{in2:"dispB",operator:"arithmetic",k1:0,k2:1,k3:1,k4:0,result:"lensResult"}))}else{let t=b("feDisplacementMap",{in:"SourceGraphic",in2:o,scale:0,xChannelSelector:"R",yChannelSelector:"G",result:"lensResult"});this.dispEls.push(t),a.appendChild(t)}if((t.glowStrength>0||t.edgeStrength>0)&&t.specularStrength>0)if(t.specularDark){let e=t.specularStrength,i=`0 0 ${-e} 0 ${1+128*e/255}`;a.appendChild(b("feColorMatrix",{in:"map",type:"matrix",values:`${i}  ${i}  ${i}  0 0 0 0 1`,result:"specMask"})),a.appendChild(b("feComposite",{in:"specMask",in2:"lensResult",operator:"arithmetic",k1:1,k2:0,k3:0,k4:0}))}else a.appendChild(b("feColorMatrix",{in:"map",type:"matrix",values:"0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 1 0 "+-128/255,result:"specMask"})),a.appendChild(b("feComposite",{in:"specMask",in2:"lensResult",operator:"arithmetic",k1:0,k2:t.specularStrength,k3:1,k4:0}));this.defs.replaceChildren(a),this.filterEl=a,this.applyBackdropFilter()}
1applyBackdropFilter(){let t=this.lens.blurAmount>0?` blur(${this.lens.blurAmount}px)`:"",e=`url(#${this.filterEl.id})${t}`;this.backdropLensEl.style.backdropFilter=e,this.backdropLensEl.style.webkitBackdropFilter=e}buildFilter(){if(this.backdrop)return this.buildBackdropFilter();let t=this.lens;this.version++;let e=`${this.baseId}-v${this.version}`,i=b("filter",{id:e,filterUnits:"objectBoundingBox",primitiveUnits:"objectBoundingBox","color-interpolation-filters":"sRGB",x:0,y:0,width:1,height:1});this.lensEls=[],i.appendChild(b("feFlood",{"flood-color":"rgb(128,128,128)","flood-opacity":1,result:"mapBg"})),this.feImage=b("feImage",{"data-lens":"",href:this.mapUrl??g,preserveAspectRatio:"none",result:"rawMap"}),this.lensEls.push(this.feImage),i.appendChild(this.feImage),i.appendChild(b("feComposite",{in:"rawMap",in2:"mapBg",operator:"over",result:"map"}));let s=Math.max(t.scaleX,t.scaleY)||0,a=t.scaleX!==t.scaleY||r(this.opts.zoom),n="map";a&&s>0&&(this.mapMatrixEl=b("feColorMatrix",{in:"map",type:"matrix",values:this.matrixValues(),result:"scaledMap"}),i.appendChild(this.mapMatrixEl),n="scaledMap");let l="SourceGraphic";if(t.blurAmount>0&&(this.feBlur=b("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0 0",result:"blurred"}),i.appendChild(this.feBlur),l="blurred"),this.dispEls=[],t.chromaAmount>0){let t=[["1 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0","dispR"],["0 0 0 0 0  0 1 0 0 0  0 0 0 0 0  0 0 0 1 0","dispG"],["0 0 0 0 0  0 0 0 0 0  0 0 1 0 0  0 0 0 1 0","dispB"]];for(let e=0;e<3;e++){let s=b("feDisplacementMap",{"data-lens":"",in:l,in2:n,scale:0,xChannelSelector:"R",yChannelSelector:"G"});this.dispEls.push(s),this.lensEls.push(s),i.appendChild(s),i.appendChild(b("feColorMatrix",{type:"matrix",values:t[e][0],result:t[e][1]}))}i.appendChild(b("feComposite",{in:"dispR",in2:"dispG",operator:"arithmetic",k1:0,k2:1,k3:1,k4:0})),i.appendChild(b("feComposite",{in2:"dispB",operator:"arithmetic",k1:0,k2:1,k3:1,k4:0,result:"lensResult"}))}else{let t=b("feDisplacementMap",{"data-lens":"",in:l,in2:n,scale:0,xChannelSelector:"R",yChannelSelector:"G",result:"lensResult"});this.dispEls.push(t),this.lensEls.push(t),i.appendChild(t)}if((t.glowStrength>0||t.edgeStrength>0)&&t.specularStrength>0)if(t.specularDark){let e=t.specularStrength,s=`0 0 ${-e} 0 ${1+128*e/255}`;i.appendChild(b("feColorMatrix",{in:"map",type:"matrix",values:`${s}  ${s}  ${s}  0 0 0 0 1`,result:"specMask"})),i.appendChild(b("feComposite",{in:"specMask",in2:"lensResult",operator:"arithmetic",k1:1,k2:0,k3:0,k4:0,result:"lensResult"}))}else i.appendChild(b("feColorMatrix",{in:f?"rawMap":"map",type:"matrix",values:"0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 1 0 "+-128/255,result:"specMask"})),i.appendChild(b("feComposite",{in:"specMask",in2:"lensResult",operator:"arithmetic",k1:0,k2:t.specularStrength,k3:1,k4:0,result:"lensResult"}));this.feMask=b("feFlood",{"data-lens":"","flood-color":"black","flood-opacity":1,result:"lensMask"}),this.lensEls.push(this.feMask),i.appendChild(this.feMask),i.appendChild(b("feComposite",{in:"SourceGraphic",in2:"lensMask",operator:"out",result:"holedSG"})),i.appendChild(b("feComposite",{in:"lensResult",in2:"holedSG",operator:"over"})),this.defs.replaceChildren(i),this.filterEl=i,this.filteredEl.style.filter=`url(#${e})`}matrixValues(){let t=this.lens,e=Math.max(t.scaleX,t.scaleY)||1,i=this.zoom.get(),s=t.scaleX/e*i,a=t.scaleY/e*i;return`${s} 0 0 0 ${.5*(1-s)}  0 ${a} 0 0 ${.5*(1-a)}  0 0 1 0 0  0 0 0 1 0`}measure(){let t=this.host.offsetWidth||Math.round(this.host.getBoundingClientRect().width),e=this.host.offsetHeight||Math.round(this.host.getBoundingClientRect().height);if(t!==this.W||e!==this.H){if(this.W=t,this.H=e,this.refractionOuter){let i=this.G;this.refractionOuter.style.width=`${t*i}px`,this.refractionOuter.style.height=`${e*i}px`,this.refractionInner.style.width=`${t}px`,this.refractionInner.style.height=`${e}px`}this.svg.setAttribute("viewBox",`0 0 ${this.W} ${this.H}`),this.scheduleUpdate()}}mapParams(){let t=this.lens;return{canvasSize:t.mapSize,lensHalfWidth:this.lensW.get(),lensHalfHeight:this.lensH.get(),borderRadius:this.radius(),depth:this.depth.get(),sdfBoundary:t.sdfBoundary,edgeFalloff:t.edgeFalloff,specularRotation:t.specularRotation||45,glowStrength:t.glowStrength,glowSpread:t.glowSpread,glowExponent:t.glowExponent,edgeStrength:t.edgeStrength,edgeWidth:t.edgeWidth,edgeExponent:t.edgeExponent,domeDepth:t.domeDepth,splayAmount:t.splayAmount??1}}regenerateMap(){let t=this.mapParams();if(t.lensHalfWidth<=0||t.lensHalfHeight<=0)return;let e=this.quadGen?this.quadGen.generate(t):function(t){let{canvasSize:e,lensHalfWidth:i,lensHalfHeight:s,borderRadius:a=0,depth:n=0,sdfBoundary:r=!1,edgeFalloff:l=!1,specularRotation:h=45,glowStrength:u=0,glowSpread:c=1,glowExponent:m=1.5,edgeStrength:f=0,edgeWidth:g=3,edgeExponent:b=1.5,domeDepth:M=0,splayAmount:x=1,canvas:y=document.createElement("canvas")}=t;y.width=e,y.height=e;let w=y.getContext("2d"),E=w.createImageData(e,e),k=E.data,v=Math.min(a,Math.min(i,s)),C=Math.max(0,i-n),S=Math.max(0,s-n),A=Math.max(0,Math.min(a,Math.min(C,S))),R=n>0?1/(n*Math.SQRT2):1e6,$=u>0||f>0,B=h*Math.PI/180,O=Math.cos(B),I=Math.sin(B),D=(1-c)*Math.SQRT2,H=c*Math.SQRT2,W=M>0?d(M,i,s):null,G=x<1,F=.5*Math.min(i,s),q=F>0?1/F:0;for(let t=0;t<e;t++)for(let a=0;a<e;a++){let n,h,d=(t*e+a)*4,c=(a+.5)/e*2*i-i,M=(t+.5)/e*2*s-s,y=Math.abs(c),w=Math.abs(M),E=y-i+v,B=w-s+v,F=Math.max(E,0),U=Math.max(B,0),L=Math.sqrt(F
1*F+U*U)+Math.min(Math.max(E,B),0)-v;if(r&&L>=0){k[d]=128,k[d+1]=128,k[d+2]=128,k[d+3]=255;continue}if(W?(n=Math.sign(c)*p(y,W.Rx,W.scaleX),h=Math.sign(M)*p(w,W.Ry,W.scaleY)):(n=Math.max(-1,Math.min(1,c/i)),h=Math.max(-1,Math.min(1,M/s))),G){let t=Math.max(0,1-(s-w)*q)*(1-x),e=Math.max(0,1-(i-y)*q)*(1-x);if(t>.001||e>.001){let i=n,s=h;n=i*(1-t),h=s*(1-e);let a=Math.sqrt(i*i+s*s),r=Math.sqrt(n*n+h*h);if(r>.001){let t=a/r;n*=t,h*=t}}}let z=1;if(l){let t=y-C+A,e=w-S+A,i=Math.max(t,0),s=Math.max(e,0);z=.5*(1+o((Math.sqrt(i*i+s*s)+Math.min(Math.max(t,e),0)-A)*R))}if(k[d]=Math.round((.5-.5*n*z)*255),k[d+1]=Math.round((.5-.5*h*z)*255),$){let t=Math.abs(Math.max(-1,Math.min(1,c/i))*O+Math.max(-1,Math.min(1,M/s))*I),e=0;u>0&&(e+=u*Math.pow(H>.001?Math.min(1,Math.max(0,(t-D)/H)):0,m)*z),f>0&&(e+=f*(L<0?Math.max(0,1+L/g):0)*Math.pow(t,b)),k[d+2]=Math.round(127*Math.min(1,e)+128)}else k[d+2]=128;k[d+3]=255}return w.putImageData(E,0,0),{canvas:y,dataUrl:y.toDataURL()}}({...t,canvas:this.mapCanvas??=document.createElement("canvas")});if(this.mapUrl=e.dataUrl,this.backdrop){let t=new Image;t.onload=()=>{this.destroyed||(this.feImage.setAttribute("href",this.mapUrl),this.bumpId())},t.src=this.mapUrl}else this.feImage.setAttribute("href",this.mapUrl),this.bumpId();this.opts.onLensMapChange?.(this.mapUrl,this.quadGen?this.quadGen.getCanvas():this.mapCanvas),this.update()}scheduleRegen(){this.regenPending||(this.regenPending=!0,requestAnimationFrame(()=>{this.regenPending=!1,this.destroyed||this.regenerateMap()}))}bumpId(){this.version++;let t=`${this.baseId}-v${this.version}`;this.filterEl.id=t,this.backdrop?this.applyBackdropFilter():this.filteredEl.style.filter=`url(#${t})`}scheduleUpdate(){this.updatePending||(this.updatePending=!0,queueMicrotask(()=>{this.updatePending=!1,this.destroyed||this.update()}))}update(){let{W:t,H:e}=this;if(!t||!e)return;let i=this.lens,s=this.lensW.get(),a=this.lensH.get(),n=this.radius(),l=this.x.get()*t,o=this.y.get()*e,h=l-s,d=o-a,p=2*s,u=2*a,c=this.edgeBias.get(),g=this.G,b=(h+c)/t,M=(d+c)/e,x=Math.max(0,p-2*c)/t,y=Math.max(0,u-2*c)/e;for(let t of this.lensEls)t.setAttribute("x",b),t.setAttribute("y",M),t.setAttribute("width",x),t.setAttribute("height",y);let w=Math.max(i.scaleX,i.scaleY),E=r(this.opts.zoom)||this.mapMatrixEl?1:this.zoom.get(),k=this.backdrop?Math.max(p,u):1,v=i.chromaAmount>0?[w*(1+.2*i.chromaAmount),w*(1+.1*i.chromaAmount),w]:[w];if(this.dispEls.forEach((t,e)=>t.setAttribute("scale",(v[e]??w)*E*k)),this.mapMatrixEl&&this.mapMatrixEl.setAttribute("values",this.matrixValues()),this.backdrop&&this.filterEl){let t=Math.max(1,Math.round(p)),e=Math.max(1,Math.round(u));this.filterEl.setAttribute("width",t),this.filterEl.setAttribute("height",e),this.feImage.setAttribute("width",t),this.feImage.setAttribute("height",e)}if(this.feBlur&&this.feBlur.setAttribute("stdDeviation",`${i.blurAmount/t} ${i.blurAmount/e}`),this.refractionOuter){let i=Math.max(0,d)*g,s=Math.max(0,h)*g,a=Math.max(0,t-h-p)*g,r=Math.max(0,e-d-u)*g;this.refractionOuter.style.clipPath=`inset(${i}px ${a}px ${r}px ${s}px round ${n*g}px)`}let C=t=>{t.style.transform=`translate(${h}px, ${d}px)`,t.style.width=`${p}px`,t.style.height=`${u}px`,t.style.borderRadius=`${n}px`};if(this.tintEl){C(this.tintEl);let t=this.tintOpacity.get();this.tintEl.style.background=`color-mix(in srgb, ${this.tintColor} ${100*t}%, transparent)`;let e=this.tintBlur.get(),i=e>0?`blur(${e}px)`:"none";this.tintEl.style.backdropFilter=i,this.tintEl.style.webkitBackdropFilter=i}if(this.backdropLensEl&&(this.backdropLensEl.style.transform=`translate3d(${h}px, ${d}px, 0)`,this.backdropLensEl.style.width=`${p}px`,this.backdropLensEl.style.height=`${u}px`,this.backdropLensEl.style.borderRadius=`${n}px`),this.blurEl){this.blurEl.style.transform=`translate3d(${h}px, ${d}px, 0)`,this.blurEl.style.width=`${p}px`,this.blurEl.style.height=`${u}px`;let{uri:t}=function(t,e,i){let s=Math.max(1,Math.round(t)),a=Math.max(1,Math.round(e)),n=Math.max(0,Math.min(Math.round(i),Math.min(s,a)/2)),r=`${s}|${a}|${n}`,l=m.get(r);if(!l){let t=`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 ${s} ${a}' preserveAspectRatio='none'><rect x='0.5' y='0.5' width='${Math.max(0,s-1)}' height='${Math.max(0,a-1)}' rx='${Math.max(0,n-.5)}' ry='${Math.max(0,n-.5)}' fill='black'/></svg>`;l=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(t)}`,m.set(r,l)}return{uri:l,key:r}}(p,u,n);this.blurEl.style.maskImage=`url("${t}")`,this.blurEl.style.webkitMaskImage=`url("${t}")`,this.blurEl.style.maskSize="100% 100%",this.blurEl.style.webkitMaskSize="100% 100%";let e=i.blurAmount>0?`blur(${i.blurAmount}px)`:"none";this.blurEl.style.backdropFilter=e,this.blurEl.style.webkitBackdropFilter=e}if(this.brightnessEl){let i=Math.max(0,d),s=Math.max(0,h),a=Math.max(0,t-h-p),r=Math.max(0,e-d-u);this.brightnessEl.style.clipPath=`inset(${i}px ${a}px ${r}px ${s}px round ${n}px)`}this.shadowActiveEl&&(C(this.shadowActiveEl),this.shadowActiveEl.style.opacity=String(this.shadowOpacity.get())),this.shadowRestEl&&(C(this.shadowRestEl),this.shadowRestEl.style.opacity=String(this.restShadowOpacity.get())),(f||this.backdrop)&&this.bumpId()}setLensParams(t){let e=["mapSize","borderRadius","depth","sdfBoundary","edgeFalloff","specularRotation","glowStrength","glowSpread","glowExponent","edgeStrength","edgeWidth","edgeExponent","domeDepth","splayAmount","lensW","lensH"],i=["chromaAmount","blurAmount","specularStrength","specularDark","scaleX","scaleY","glowStrength","edgeStrength"],s=Object.keys(t).some(i=>e.includes(i)&&t[i]!==this.lens[i]),a=Object.keys(t).some(e=>i.includes(e)&&t[e]!==this.lens[e]);Object.assign(this.lens,t),"lensW"in t&&!r(this.opts.lensW)&&this.lensW.set(t.lensW),"lensH"in t&&!r(this.opts.lensH)&&this.lensH.set(t.lensH),"borderRadius"in t&&this.borderRadius&&!r(this.opts.borderRadius)&&this.borderRadius.set(t.borderRadius),"depth"in t&&!r(this.opts.depth)&&this.depth.set(t.depth),"mapSize"in t&&this.quadGen&&(this.quadGen.dispose(),this.quadGen=c(this.lens.mapSize)),a&&(this.buildFilter(),this.mapUrl&&this.feImage.setAttribute("href",this.mapUrl)),s?this.regenerateMap():this.update()}destroy(){for(let t of(this.destroyed=!0,this.ro.disconnect(),this.quadGen?.dispose(),this.filteredEl&&(this.filteredEl.style.filter=""),this.svg.remove(),[this.refractionOuter,this.tintEl,this.blurEl,this.backdropLensEl,this.brightnessEl,this.shadowActiveEl,this.shadowRestEl]))t?.remove()}}let w=[.22,1.15,.36,1.06],E={ease:w,duration:.32},k={ease:w,duration:.52},v={mapSize:256,depth:2,sdfBoundary:!0,edgeFalloff:!0,specularStrength:1,specularRotation:45,glowSpread:.5,glowExponent:1.5,edgeWidth:2,edgeExponent:1.5,edgeShadow:"0 2px 6px rgba(0,0,0,0.16)",edgeInsetShadow:"0 -4px 10px rgba(0,0,0,0.12)",restEdgeShadow:"0 1px 4px rgba(0,0,0,0.10), 0 0 0 1px var(--glass-border)"},C={chromaAmount:.6,scaleX:.18,scaleY:.18,domeDepth:8,splayAmount:.4},S={chromaAmount:.4,scaleX:.1,scaleY:.1,domeDepth:6,splayAmount:.5},A={brightness:.12,glowStrength:.4,edgeStrength:.5,specularDark:!1},R={brightness:-.02,specularRotation:30,specularStrength:1.5,glowStrength:.4,glowSpread:.5,glowExponent:2,edgeStrength:1,edgeWidth:1.5,edgeExponent:1,specularDark:!0},$={chromaAmount:.22,scaleX:.13,scaleY:.13,domeDepth:20,splayAmount:1,depth:9,blurAmount:.14},B={chromaAmount:.15,scaleX:.08,scaleY:.08,domeDepth:17,splayAmount:1,depth:5,blurAmount:.3},O={brightness:.08,specularStrength:1.1,specularRotation:30,specularDark:!1,glowStrength:.28,glowSpread:.5,glowExponent:1.5,edgeStrength:.5,edgeWidth:2.5,edgeExponent:1.3}
1,I={brightness:-.03,specularStrength:1.5,specularRotation:28,specularDark:!1,glowStrength:.08,glowSpread:.5,glowExponent:2,edgeStrength:.45,edgeWidth:1.75,edgeExponent:1.1},D={brand:"linear-gradient(135deg, color-mix(in oklch, var(--primary), white 12%), var(--primary) 55%, color-mix(in oklch, var(--primary), black 20%))","brand-soft":"color-mix(in srgb, var(--primary) 30%, var(--background))",neutral:"color-mix(in srgb, var(--foreground) 14%, var(--background))"};function H(t,e){let i=new n(e(...t.map(t=>t.get())));for(let s of t)s.onChange(()=>i.set(e(...t.map(t=>t.get()))));return i}function W({kind:t="pill",fill:r="brand",bleed:o,expand:h,onPhaseChange:d,disabled:p,mode:u="auto",press:c=!0,restTintOpacity:m}){let g=(0,i.useRef)(null),b=o??(c?"pill"===t?18:12:0),M=h?.x??("pill"===t?1.08:1.02),x=h?.y??("pill"===t?1.45:1.25);return!function({hostRef:t,kind:e,fill:r,bleed:o,expand:h,onPhaseChange:d,disabled:p=!1,mode:u="auto",press:c=!0,restTintOpacity:m}){let g=(0,a.useReducedMotion)(),{resolvedTheme:b}=(0,s.useTheme)(),M=(0,i.useRef)(d);M.current=d,(0,i.useEffect)(()=>{let i,s,a=t.current,d=a?.parentElement;if(p||g||!b||!a||!d)return;let x="dark"===b,w="auto"===u&&"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("backdrop-filter","url(#x)")&&!f,W=function(t,e,i=!1){return{...v,...i?"pill"===t?$:B:"pill"===t?C:S,...i?e?O:I:e?A:R}}(e,x,w),G=function(t,e=!1,i="neutral"){return e?"brand"===i?{tintColor:"var(--primary)",restOpacity:.3,tintBlur:1}:"brand-soft"===i?{tintColor:"var(--primary)",restOpacity:.12,tintBlur:1}:t?{tintColor:"oklch(0.31 0.01 270)",restOpacity:.18,tintBlur:1.2}:{tintColor:"white",restOpacity:.18,tintBlur:1.2}:t?{tintColor:"oklch(0.28 0.03 283)",restOpacity:.78,tintBlur:4}:{tintColor:"white",restOpacity:.92,tintBlur:4}}(x,w,r);if(null!=m&&(G.restOpacity=m),w){let t=[["background","transparent"],["backdrop-filter","none"],["-webkit-backdrop-filter","none"],["border-color","transparent"],["box-shadow","none"]],e=t.map(([t])=>[t,d.style.getPropertyValue(t),d.style.getPropertyPriority(t)]);for(let[e,i]of t)d.style.setProperty(e,i,"important");i=()=>{for(let[t,i,s]of e)i?d.style.setProperty(t,i,s):d.style.removeProperty(t)}}let F=d.offsetWidth/2,q=d.offsetHeight/2;if(F<=0||q<=0)return;if(w){let t=Math.min(F,q);W.depth=Math.round(.225*t),W.domeDepth=Math.round(.5*t),Math.max(F,q)>220&&(W.mapSize=512)}let U=new n(F),L=new n(q),z=new n(0),T=new n(G.restOpacity),P=new n(G.tintBlur),Y=new n(0),X=new n(.85),j=new n(.525),V=new n(1),Q=H([U,z],(t,e)=>t*(1-.2*e)),N=H([L,z],(t,e)=>t*(1+.4*e)),_=H([T],t=>.5*t/Math.max(G.restOpacity,.01)),K=H([Y],t=>1-t);if(!w){Object.assign((s=document.createElement("div")).style,{padding:`${o}px`,height:`${d.offsetHeight}px`,display:"flex",alignItems:"center",boxSizing:"content-box"});let t=document.createElement("div"),e=Math.round(.75*d.offsetHeight);Object.assign(t.style,{width:`${d.offsetWidth}px`,height:`${e}px`,borderRadius:`${e/2}px`,background:r in D?D[r]:r});let i=()=>{t.style.transform=`scaleX(${X.get()}) scaleY(${j.get()})`};X.onChange(i),j.onChange(i),i(),s.appendChild(t)}let J=new y(a,{lens:W,x:.5,y:.5,lensW:Q,lensH:N,autoBorderRadius:!0,...w?{backdrop:!0,zoom:V}:{refractionTargetEl:s,filterResolution:2},tintColor:G.tintColor,tintOpacity:T,tintBlur:P,shadowOpacity:Y,restShadowOpacity:K,edgeBias:_}),Z=0,tt=function({k:t=180,c:e=14,squishMV:i,computeTarget:s}){let a=0,n=0,r=null,l=0;function o(h){let d=(h-l)/1e3;l=h;let p=Math.min(d,.033),{target:u,speed:c,hold:m}=s(d),f=-t*(a-u)-e*n;if(n+=f*p,5e-4>Math.abs(a+=n*p)&&.005>Math.abs(n)&&c<.005&&!m){a=0,n=0,i.set(0),r=null;return}i.set(a),r=requestAnimationFrame(o)}return{start(){null===r&&(l=performance.now(),r=requestAnimationFrame(o))},stop(){null!==r&&(cancelAnimationFrame(r),r=null)}}}({k:180,c:14,squishMV:z,computeTarget:()=>({target:Z,speed:0,hold:Z>0})}),te=!1,ti=0,ts=null,ta=()=>{if(!te)return;te=!1;let t=Math.max(0,330-(performance.now()-ti));ts&&clearTimeout(ts),ts=setTimeout(()=>{l(T,G.restOpacity,k),l(P,G.tintBlur,k),l(Y,0,k),w?(l(U,F,k),l(L,q,k),l(V,1,k)):(l(U,F,k),l(L,q,k),l(X,.85,k),l(j,.525,k)),Z=0,tt.start(),M.current?.(0)},t)},tn=()=>{ts&&clearTimeout(ts),te=!0,ti=performance.now(),l(Y,1,E),w?(l(U,F*h.x,E),l(L,q*h.y,E),l(T,.6*G.restOpacity,E),l(V,1.6,E)):(l(T,0,E),l(P,0,E),l(U,F*h.x,E),l(L,q*h.y,E),l(X,.95,E),l(j,.975,E)),Z=.175,tt.start(),M.current?.(2)},tr=()=>ta();c&&(d.addEventListener("pointerdown",tn),d.addEventListener("pointerleave",tr),window.addEventListener("pointerup",ta),window.addEventListener("pointercancel",ta));let tl=new ResizeObserver(()=>{let t=d.offsetWidth/2,e=d.offsetHeight/2;if(t<=0||e<=0)return;F=t,q=e;let i=s?.firstElementChild;i&&(i.style.width=`${d.offsetWidth}px`),te||(U.set(t),L.set(e))});return tl.observe(d),()=>{for(let t of(d.removeEventListener("pointerdown",tn),d.removeEventListener("pointerleave",tr),window.removeEventListener("pointerup",ta),window.removeEventListener("pointercancel",ta),ts&&clearTimeout(ts),tl.disconnect(),tt.stop(),[U,L,z,V,T,P,Y,X,j]))t.stop();J.destroy(),i?.(),a.replaceChildren()}},[t,b,g,p,e,r,o,h.x,h.y,u,c,m])}({hostRef:g,kind:t,fill:r,bleed:b,expand:{x:M,y:x},onPhaseChange:d,disabled:p,mode:u,press:c,restTintOpacity:m}),(0,e.jsx)("span",{ref:g,"aria-hidden":"true",className:"pointer-events-none absolute z-0",style:{inset:-b,"--body-bg":"var(--background)"}})}t.s(["GlassPressLayer",()=>W],611021),t.s([],305951)},626076,t=>{"use strict";var e=t.i(271645),i=t.i(873925);let s="industry40",a="cs_ai_dock_expanded",n={open:!1,initialMessage:null,introDismissed:!1,vertical:s,dockExpanded:!0},r=new Set;function l(t){for(let e of(n={...n,...t},r))e()}function o(t){return r.add(t),()=>r.delete(t)}function h(){return n}function d(t=s){l({open:!0,initialMessage:null,introDismissed:!1,vertical:t})}function p(){l({open:!1,initialMessage:null,introDismissed:!1,vertical:s})}function u(){n.introDismissed||l({introDismissed:!0})}function c(t){if(n.dockExpanded!==t){l({dockExpanded:t});try{window.localStorage.setItem(a,t?"1":"0")}catch{}}}function m(){try{let t=window.localStorage.getItem(a);("0"===t||"1"===t)&&l({dockExpanded:"1"===t})}catch{}}function f(t,e="bar",a=s){let n=t.trim();n&&((0,i.trackEvent)("ai_chat_submitted",{source:e,question:n.slice(0,200)}),l({open:!0,initialMessage:n,introDismissed:!0,vertical:a}))}function g(){return(0,e.useSyncExternalStore)(o,h,h)}t.s(["closeBar",()=>p,"dismissIntro",()=>u,"hydrateDockExpanded",()=>m,"launchChat",()=>f,"openBar",()=>d,"setDockExpanded",()=>c,"useAiBar",()=>g])}]);

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.