1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[889],{28889:function(e,n,r){var t=r(57437),s=r(2265),i=r(32387);let d=e=>{let{antialias:n,engineOptions:r,adaptToDeviceRatio:d,sceneOptions:o,onRender:u,onSceneReady:a,...w}=e,l=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let{current:e}=l;if(!e)return;let t=new i.D4V(e,n,r,d),s=new i.xsS(t,o);s.isReady()?a(s):s.onReadyObservable.addOnce(e=>a(e)),t.runRenderLoop(()=>{"function"==typeof u&&u(s),s.render()});let w=()=>{s.getEngine().resize()};return window&&window.addEventListener("resize",w),()=>{s.getEngine().dispose(),window&&window.removeEventListener("resize",w)}},[n,r,d,o,u,a]),(0,t.jsx)("canvas",{ref:l,...w})};d.displayName="SceneComponent",n.Z=d}}]);
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.