PageSourceSearch

https://voxelwave.ai/_next/static/chunks/6188-1249587704faeba9.js

js voxelwave.ai collected 2026-09-28 06:14:55 UTC 14,520 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6188],{72552:()=>{},72784:(e,t,r)=>{"use strict";var n=r(65364);r(72552);var i=r(14232),s=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(i),o=void 0!==n&&n.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,s=void 0===i?o:i;u(a(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",u("boolean"==typeof s,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=s,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l=document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){u("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),u(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(u(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(u(a(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];u(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},r.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];u(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},r.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&u(a(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function u(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},d={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return d[n]||(d[n]="jsx-"+c(e+"-"+r)),d[n]}function p(e,t){var r=e+t;return d[r]||(d[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),d[r]}var f=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,s=void 0!==i&&i;this._sheet=n||new l({name:"styled-jsx",optimizeForSpeed:s}),this._sheet.inject(),n&&"boolean"==typeof s&&(this._sheet.setOptimizeForSpeed(s),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var s=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=s,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],n=e[1];return s.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=h(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return p(i,e)}):[p(i,t)]}}return{styleId:h(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),m=i.createContext(null);m.displayName="StyleSheetContext";var v=s.default.useInsertionEffect||s.default.useLayoutEffect,_=new f;function y(e){var t=_||i.useContext(m);return t&&v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},t.style=y},75961:(e,t,r)=>{"use strict";e.exports=r(72784).style},82404:(e,t,r)=>{"use strict";r.d(t,{D4:()=>v,EW:()=>m});var n=r(14232),i=r(37876),s=(0,n.forwardRef)(({transition:e,...t},r)=>{let n={position:"absolute",top:0,left:0,width:"100%",height:"100%",transition:e?`clip-path ${e}`:void 0,userSelect:"none",willChange:"clip-path, transition",KhtmlUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none"};return(0,i.jsx)("div",{...t,style:n,"data-rcs":"clip-item",ref:r})});s.displayName="ContainerClip";var o=(0,n.forwardRef)(({children:e,disabled:t,portrait:r,position:n,transition:s},o)=>{let a={position:"absolute",top:0,width:r?"100%":void 0,height:r?void 0:"100%",background:"none",border:0,padding:0,pointerEvents:"all",appearance:"none",WebkitAppearance:"none",MozAp
1pearance:"none",outline:0,transform:r?"translate3d(0, -50% ,0)":"translate3d(-50%, 0, 0)",transition:s?`${r?"top":"left"} ${s}`:void 0};return(0,i.jsx)("button",{ref:o,"aria-label":"Drag to move or focus and use arrow keys","aria-orientation":r?"vertical":"horizontal","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":n,"data-rcs":"handle-container",disabled:t,role:"slider",style:a,children:e})});o.displayName="ThisHandleContainer";var a=({flip:e})=>(0,i.jsx)("div",{className:"__rcs-handle-arrow",style:{width:0,height:0,borderTop:"8px solid transparent",borderRight:"10px solid",borderBottom:"8px solid transparent",transform:e?"rotate(180deg)":void 0}}),l=({className:e="__rcs-handle-root",disabled:t,buttonStyle:r,linesStyle:n,portrait:s,style:o,...l})=>{let u={display:"flex",flexDirection:s?"row":"column",placeItems:"center",height:"100%",cursor:t?"not-allowed":s?"ns-resize":"ew-resize",pointerEvents:"none",color:"#fff",...o},c={flexGrow:1,height:s?2:"100%",width:s?"100%":2,backgroundColor:"currentColor",pointerEvents:"auto",boxShadow:"0 0 4px rgba(0,0,0,.5)",...n},d={display:"grid",gridAutoFlow:"column",gap:8,placeContent:"center",flexShrink:0,width:56,height:56,borderRadius:"50%",borderStyle:"solid",borderWidth:2,pointerEvents:"auto",backdropFilter:"blur(7px)",WebkitBackdropFilter:"blur(7px)",backgroundColor:"rgba(0, 0, 0, 0.125)",boxShadow:"0 0 4px rgba(0,0,0,.35)",transform:s?"rotate(90deg)":void 0,...r};return(0,i.jsxs)("div",{...l,className:e,style:u,children:[(0,i.jsx)("div",{className:"__rcs-handle-line",style:c}),(0,i.jsxs)("div",{className:"__rcs-handle-button",style:d,children:[(0,i.jsx)(a,{}),(0,i.jsx)(a,{flip:!0})]}),(0,i.jsx)("div",{className:"__rcs-handle-line",style:c})]})},u=(e=>(e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight",e.ARROW_UP="ArrowUp",e.ARROW_DOWN="ArrowDown",e))(u||{}),c=(e,t,r,i)=>{let s=(0,n.useRef)();(0,n.useEffect)(()=>{s.current=t},[t]),(0,n.useEffect)(()=>{if(!(r&&r.addEventListener))return;let t=e=>s.current&&s.current(e);return r.addEventListener(e,t,i),()=>{r.removeEventListener(e,t,i)}},[e,r,i])},d="u">typeof window&&"u">typeof window.document&&"u">typeof window.document.createElement?n.useLayoutEffect:n.useEffect,h={capture:!1,passive:!0},p={capture:!0,passive:!1},f=e=>{e.preventDefault(),e.currentTarget.focus()},m=(0,n.forwardRef)(({boundsPadding:e=0,browsingContext:t=globalThis,changePositionOnHover:r=!1,disabled:a=!1,handle:m,itemOne:v,itemTwo:_,keyboardIncrement:y="5%",onlyHandleDraggable:g=!1,onPositionChange:S,portrait:b=!1,position:R=50,style:w,transition:x,...C},k)=>{let j=(0,n.useRef)(null),F=(0,n.useRef)(null),z=(0,n.useRef)(null),E=(0,n.useRef)(R),[A,O]=(0,n.useState)(!1),[T,N]=(0,n.useState)(!0),L=(0,n.useRef)(!1),[I,P]=(0,n.useState)(),W=(e=>{let t=(0,n.useRef)(e);return(0,n.useEffect)(()=>{t.current=e}),t.current})(R),M=(0,n.useCallback)(function({x:r,y:n,isOffset:i}){let s=j.current,o=z.current,a=F.current,{width:l,height:u,left:c,top:d}=s.getBoundingClientRect();if(0===l||0===u)return;let h=Math.min(Math.max((b?i?n-d-t.scrollY:n:i?r-c-t.scrollX:r)/(b?u:l)*100,0),100),p=b?u/(s.offsetHeight||1):l/(s.offsetWidth||1),f=e*p/(b?u:l)*100,m=Math.min(Math.max(h,f*p),100-f*p);E.current=h,o.setAttribute("aria-valuenow",`${Math.round(E.current)}`),o.style.top=b?`${m}%`:"0",o.style.left=b?"0":`${m}%`,a.style.clipPath=b?`inset(${m}% 0 0 0)`:`inset(0 0 0 ${m}%)`,S&&S(E.current)},[e,S,b,t]);(0,n.useEffect)(()=>{let{width:e,height:t}=j.current.getBoundingClientRect(),r=R===W?E.current:R;M({x:e/100*r,y:t/100*r})},[e,R,b,W,M]);let B=(0,n.useCallback)(e=>{e.preventDefault(),a||0!==e.button||(M({isOffset:!0,x:e.pageX,y:e.pageY}),O(!0),N(!0))},[a,M]),D=(0,n.useCallback)(function(e){M({isOffset:!0,x:e.pageX,y:e.pageY}),N(!1)},[M]),U=(0,n.useCallback)(()=>{O(!1),N(!0)},[]),$=(0,n.useCallback)(({width:e,height:t})=>{let{width:r,height:n}=j.current.getBoundingClientRect();M({x:e/100*E.current*r/e,y:t/100*E.current*n/t})},[M]),H=(0,n.useCallback)(e=>{if(!Object.values(u).includes(e.key))return;e.preventDefault(),N(!0);let{top:t,left:r}=z.current.getBoundingClientRect(),{width:n,height:i}=j.current.getBoundingClientRect(),s="string"==typeof y?parseFloat(y):y/n*100,o=Math.min(Math.max((b?"ArrowLeft"===e.key||"ArrowDown"===e.key:"ArrowRight"===e.key||"ArrowUp"===e.key)?E.current+s:E.current-s,0),100);M({x:b?r:n*o/100,y:b?i*o/100:t})},[y,b,M]);(0,n.useEffect)(()=>{P(g?z.current:j.current)},[g]),(0,n.useEffect)(()=>{let e=j.current,t=()=>{A||U()};return r&&(e.addEventListener("pointermove",D,h),e.addEventListener("pointerleave",t,h)),()=>{e.removeEventListener("pointermove",D),e.removeEventListener("pointerleave",t)}},[r,D,U,A]),(0,n.useEffect)(()=>(A&&!L.current&&(t.addEventListener("pointermove",D,h),t.addEventListener("pointerup",U,h),L.current=!0),()=>{L.current&&(t.removeEventListener("pointermove",D),t.removeEventListener("pointerup",U),L.current=!1)}),[D,U,A,t]),(0,n.useImperativeHandle)(k,()=>({rootContainer:j.current,handleContainer:z.current,setPosition(e){let{width:t,height:r}=j.current.getBoundingClientRect();M({x:t/100*e,y:r/100*e})}}),[M]),((e,t)=>{let r=(0,n.useRef)(),i=(0,n.useCallback)(()=>{e.current&&r.current&&r.current.observe(e.current)},[e]);d(()=>
1(r.current=new ResizeObserver(([e])=>t(e.contentRect)),i(),()=>{r.current&&r.current.disconnect()}),[t,i])})(j,$),c("keydown",H,z.current,p),c("click",f,z.current,p),c("pointerdown",B,I,p);let q=m||(0,i.jsx)(l,{disabled:a,portrait:b}),X=T?x:void 0,Y={position:"relative",display:"flex",overflow:"hidden",cursor:A?b?"ns-resize":"ew-resize":void 0,touchAction:"none",userSelect:"none",KhtmlUserSelect:"none",msUserSelect:"none",MozUserSelect:"none",WebkitUserSelect:"none",...w};return(0,i.jsxs)("div",{...C,ref:j,style:Y,"data-rcs":"root",children:[v,(0,i.jsx)(s,{ref:F,transition:X,children:_}),(0,i.jsx)(o,{disabled:a,portrait:b,position:Math.round(E.current),ref:z,transition:X,children:q})]})});m.displayName="ReactCompareSlider";var v=(0,n.forwardRef)(({style:e,...t},r)=>{let n=(({boxSizing:e="border-box",objectFit:t="cover",objectPosition:r="center center",...n}={})=>({display:"block",width:"100%",height:"100%",maxWidth:"100%",boxSizing:e,objectFit:t,objectPosition:r,...n}))(e);return(0,i.jsx)("img",{ref:r,...t,style:n,"data-rcs":"image"})});v.displayName="ReactCompareSliderImage"}}]);

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.