1(function(){try{var P=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};P.SENTRY_RELEASE={id:"4.106.2@5fb3279d0cc"};var O=new P.Error().stack;O&&(P._sentryDebugIds=P._sentryDebugIds||{},P._sentryDebugIds[O]="f9757c23-81d8-47ab-9b2c-954d78d4d206",P._sentryDebugIdIdentifier="sentry-dbid-f9757c23-81d8-47ab-9b2c-954d78d4d206")}catch{}})(),(self.webpackChunkvisme_dashboard_web_app=self.webpackChunkvisme_dashboard_web_app||[]).push([["2859"],{72790(P,O,k){k.d(O,{Zr:()=>K});const C="179",z=null,T=null,n=0,d=1,A=2,b=3,y=0,l=1,p=2,t=3,e=0,i=1,s=2,f=0,x=1,M=2,a=3,g=4,v=5,u=100,c=101,r=102,o=103,m=104,h=200,_=201,B=202,S=203,w=204,E=205,R=206,F=207,N=208,I=209,V=210,L=211,U=212,X=213,H=214,j=0,J=1,Y=2,D=3,W=4,G=5,q=6,Q=7,Z=0,$=1,tt=2,et=0,it=1,st=2,nt=3,rt=4,ot=5,at=6,ht=7,lt="attached",ct="detached",ut=300,dt=301,pt=302,mt=303,ft=304,yt=306,gt=1e3,xt=1001,bt=1002,_t=1003,Mt=1004,St=1004,At=1005,vt=1005,wt=1006,Tt=1007,Bt=1007,Ct=1008,kt=1008,Rt=1009,zt=1010,Et=1011,Ft=1012,Ot=1013,Vt=1014,Nt=1015,It=1016,Dt=1017,Pt=1018,Ut=1020,Lt=35902,Wt=1021,Gt=1022,qt=1023,Xt=1026,Zt=1027,Ht=1028,jt=1029,Yt=1030,Jt=1031,Qt=1032,$t=1033,Kt=33776,te=33777,ee=33778,ie=33779,se=35840,ne=35841,re=35842,oe=35843,ae=36196,he=37492,le=37496,ce=37808,ue=37809,de=37810,pe=37811,me=37812,fe=37813,ye=37814,ge=37815,xe=37816,be=37817,_e=37818,Me=37819,Se=37820,Ae=37821,ve=36492,we=36494,Te=36495,Be=36283,Ce=36284,ke=36285,Re=36286,ze=2200,Ee=2201,Fe=2202,Oe=2300,Ve=2301,Ne=2302,Ie=2400,De=2401,Pe=2402,Ue=2500,Le=2501,We=0,Ge=1,qe=2,Xe=3200,Ze=3201,He=3202,je=3203,Ye=0,Je=1,Qe="",$e="srgb",K="srgb-linear",Ke="linear",ti="srgb",ei=0,ii=7680,si=7681,ni=7682,ri=7683,oi=34055,ai=34056,hi=5386,li=512,ci=513,ui=514,di=515,pi=516,mi=517,fi=518,yi=519,gi=512,xi=513,bi=514,_i=515,Mi=516,Si=517,Ai=518,vi=519,wi=35044,Ti=35048,Bi=35040,Ci=35045,ki=35049,Ri=35041,zi=35046,Ei=35050,Fi=35042,Oi="100",Vi="300 es",Ni=2e3,Ii=2001,Di=null,Pi=null,Ui=null},23413(P,O,k){k.d(O,{TH:()=>e,qt:()=>u,MW:()=>g,A$:()=>M});var C=k(24954),z=k(37481),T=k(74153);const n=d();function d(){const c=new ArrayBuffer(4),r=new Float32Array(c),o=new Uint32Array(c),m=new Uint32Array(512),h=new Uint32Array(512);for(let w=0;w<256;++w){const E=w-127;E<-27?(m[w]=0,m[w|256]=32768,h[w]=24,h[w|256]=24):E<-14?(m[w]=1024>>-E-14,m[w|256]=1024>>-E-14|32768,h[w]=-E-1,h[w|256]=-E-1):E<=15?(m[w]=E+15<<10,m[w|256]=E+15<<10|32768,h[w]=13,h[w|256]=13):E<128?(m[w]=31744,m[w|256]=64512,h[w]=24,h[w|256]=24):(m[w]=31744,m[w|256]=64512,h[w]=13,h[w|256]=13)}const _=new Uint32Array(2048),B=new Uint32Array(64),S=new Uint32Array(64);for(let w=1;w<1024;++w){let E=w<<13,R=0;for(;!(E&8388608);)E<<=1,R-=8388608;E&=-8388609,R+=947912704,_[w]=E|R}for(let w=1024;w<2048;++w)_[w]=939524096+(w-1024<<13);for(let w=1;w<31;++w)B[w]=w<<23;B[31]=1199570944,B[32]=2147483648;for(let w=33;w<63;++w)B[w]=2147483648+(w-32<<23);B[63]=3347054592;for(let w=1;w<64;++w)w!==32&&(S[w]=1024);return{floatView:r,uint32View:o,baseTable:m,shiftTable:h,mantissaTable:_,exponentTable:B,offsetTable:S}}function A(c){Math.abs(c)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),c=(0,T.qE)(c,-65504,65504),n.floatView[0]=c;const r=n.uint32View[0],o=r>>23&511;return n.baseTable[o]+((r&8388607)>>n.shiftTable[o])}function b(c){const r=c>>10;return n.uint32View[0]=n.mantissaTable[n.offsetTable[r]+(c&1023)]+n.exponentTable[r],n.floatView[0]}class y{static toHalfFloat(r){return A(r)}static fromHalfFloat(r){return b(r)}}const l=new C.Vector3,p=new z.I;let t=0;class e{constructor(r,o,m=!1){if(Array.isArray(r))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:t++}),this.name="",this.array=r,this.itemSize=o,this.count=r!==void 0?r.length/o:0,this.normalized=m,this.usage=35044,this.updateRanges=[],this.gpuType=1015,this.version=0}onUploadCallback(){}set needsUpdate(r){r===!0&&this.version++}setUsage(r){return this.usage=r,this}addUpdateRange(r,o){this.updateRanges.push({start:r,count:o})}clearUpdateRanges(){this.updateRanges.length=0}copy(r){return this.name=r.name,this.array=new r.array.constructor(r.array),this.itemSize=r.itemSize,this.count=r.count,this.normalized=r.normalized,this.usage=r.usage,this.gpuType=r.gpuType,this}copyAt(r,o,m){r*=this.itemSize,m*=o.itemSize;
1for(let h=0,_=this.itemSize;h<_;h++)this.array[r+h]=o.array[m+h];return this}copyArray(r){return this.array.set(r),this}applyMatrix3(r){if(this.itemSize===2)for(let o=0,m=this.count;o<m;o++)p.fromBufferAttribute(this,o),p.applyMatrix3(r),this.setXY(o,p.x,p.y);else if(this.itemSize===3)for(let o=0,m=this.count;o<m;o++)l.fromBufferAttribute(this,o),l.applyMatrix3(r),this.setXYZ(o,l.x,l.y,l.z);return this}applyMatrix4(r){for(let o=0,m=this.count;o<m;o++)l.fromBufferAttribute(this,o),l.applyMatrix4(r),this.setXYZ(o,l.x,l.y,l.z);return this}applyNormalMatrix(r){for(let o=0,m=this.count;o<m;o++)l.fromBufferAttribute(this,o),l.applyNormalMatrix(r),this.setXYZ(o,l.x,l.y,l.z);return this}transformDirection(r){for(let o=0,m=this.count;o<m;o++)l.fromBufferAttribute(this,o),l.transformDirection(r),this.setXYZ(o,l.x,l.y,l.z);return this}set(r,o=0){return this.array.set(r,o),this}getComponent(r,o){let m=this.array[r*this.itemSize+o];return this.normalized&&(m=(0,T.NU)(m,this.array)),m}setComponent(r,o,m){return this.normalized&&(m=(0,T.S8)(m,this.array)),this.array[r*this.itemSize+o]=m,this}getX(r){let o=this.array[r*this.itemSize];return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setX(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize]=o,this}getY(r){let o=this.array[r*this.itemSize+1];return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setY(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+1]=o,this}getZ(r){let o=this.array[r*this.itemSize+2];return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setZ(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+2]=o,this}getW(r){let o=this.array[r*this.itemSize+3];return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setW(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+3]=o,this}setXY(r,o,m){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array)),this.array[r+0]=o,this.array[r+1]=m,this}setXYZ(r,o,m,h){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array),h=(0,T.S8)(h,this.array)),this.array[r+0]=o,this.array[r+1]=m,this.array[r+2]=h,this}setXYZW(r,o,m,h,_){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array),h=(0,T.S8)(h,this.array),_=(0,T.S8)(_,this.array)),this.array[r+0]=o,this.array[r+1]=m,this.array[r+2]=h,this.array[r+3]=_,this}onUpload(r){return this.onUploadCallback=r,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const r={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return this.name!==""&&(r.name=this.name),this.usage!==35044&&(r.usage=this.usage),r}}class i extends e{constructor(r,o,m){super(new Int8Array(r),o,m)}}class s extends e{constructor(r,o,m){super(new Uint8Array(r),o,m)}}class f extends e{constructor(r,o,m){super(new Uint8ClampedArray(r),o,m)}}class x extends e{constructor(r,o,m){super(new Int16Array(r),o,m)}}class M extends e{constructor(r,o,m){super(new Uint16Array(r),o,m)}}class a extends e{constructor(r,o,m){super(new Int32Array(r),o,m)}}class g extends e{constructor(r,o,m){super(new Uint32Array(r),o,m)}}class v extends e{constructor(r,o,m){super(new Uint16Array(r),o,m),this.isFloat16BufferAttribute=!0}getX(r){let o=b(this.array[r*this.itemSize]);return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setX(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize]=A(o),this}getY(r){let o=b(this.array[r*this.itemSize+1]);return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setY(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+1]=A(o),this}getZ(r){let o=b(this.array[r*this.itemSize+2]);return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setZ(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+2]=A(o),this}getW(r){let o=b(this.array[r*this.itemSize+3]);return this.normalized&&(o=(0,T.NU)(o,this.array)),o}setW(r,o){return this.normalized&&(o=(0,T.S8)(o,this.array)),this.array[r*this.itemSize+3]=A(o),this}setXY(r,o,m){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array)),this.array[r+0]=A(o),this.array[r+1]=A(m),this}setXYZ(r,o,m,h){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array),h=(0,T.S8)(h,this.array)),this.array[r+0]=A(o),this.array[r+1]=A(m),this.array[r+2]=A(h),this}setXYZW(r,o,m,h,_){return r*=this.itemSize,this.normalized&&(o=(0,T.S8)(o,this.array),m=(0,T.S8)(m,this.array),h=(0,T.S8)(h,this.array),_=(0,T.S8)(_,this.array)),this.array[r+0]=A(o),this.array[r+1]=A(m),this.array[r+2]=A(h),this.array[r+3]=A(_),this}}class u extends e{constructor(r,o,m){super(new Float32Array(r),o,m)}}},27638(P,O,k){k.d(O,{L:()=>g});
1var C=k(24954),z=k(37481),T=k(23006),n=k(51750),d=k(23413),A=k(21993),b=k(93303),y=k(41761),l=k(14164),p=k(74153),t=k(72686);let e=0;const i=new y.k,s=new b.B,f=new C.Vector3,x=new T.Box3,M=new T.Box3,a=new C.Vector3;class g extends n.Q{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:e++}),this.uuid=(0,p.lk)(),this.name="",this.type="BufferGeometry",this.index=null,this.indirect=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(u){return Array.isArray(u)?this.index=new((0,t.AQ)(u)?d.MW:d.A$)(u,1):this.index=u,this}setIndirect(u){return this.indirect=u,this}getIndirect(){return this.indirect}getAttribute(u){return this.attributes[u]}setAttribute(u,c){return this.attributes[u]=c,this}deleteAttribute(u){return delete this.attributes[u],this}hasAttribute(u){return this.attributes[u]!==void 0}addGroup(u,c,r=0){this.groups.push({start:u,count:c,materialIndex:r})}clearGroups(){this.groups=[]}setDrawRange(u,c){this.drawRange.start=u,this.drawRange.count=c}applyMatrix4(u){const c=this.attributes.position;c!==void 0&&(c.applyMatrix4(u),c.needsUpdate=!0);const r=this.attributes.normal;if(r!==void 0){const m=new l.d().getNormalMatrix(u);r.applyNormalMatrix(m),r.needsUpdate=!0}const o=this.attributes.tangent;return o!==void 0&&(o.transformDirection(u),o.needsUpdate=!0),this.boundingBox!==null&&this.computeBoundingBox(),this.boundingSphere!==null&&this.computeBoundingSphere(),this}applyQuaternion(u){return i.makeRotationFromQuaternion(u),this.applyMatrix4(i),this}rotateX(u){return i.makeRotationX(u),this.applyMatrix4(i),this}rotateY(u){return i.makeRotationY(u),this.applyMatrix4(i),this}rotateZ(u){return i.makeRotationZ(u),this.applyMatrix4(i),this}translate(u,c,r){return i.makeTranslation(u,c,r),this.applyMatrix4(i),this}scale(u,c,r){return i.makeScale(u,c,r),this.applyMatrix4(i),this}lookAt(u){return s.lookAt(u),s.updateMatrix(),this.applyMatrix4(s.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(f).negate(),this.translate(f.x,f.y,f.z),this}setFromPoints(u){const c=this.getAttribute("position");if(c===void 0){const r=[];for(let o=0,m=u.length;o<m;o++){const h=u[o];r.push(h.x,h.y,h.z||0)}this.setAttribute("position",new d.qt(r,3))}else{const r=Math.min(u.length,c.count);for(let o=0;o<r;o++){const m=u[o];c.setXYZ(o,m.x,m.y,m.z||0)}u.length>c.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),c.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new T.Box3);const u=this.attributes.position,c=this.morphAttributes.position;if(u&&u.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new C.Vector3(-1/0,-1/0,-1/0),new C.Vector3(1/0,1/0,1/0));return}if(u!==void 0){if(this.boundingBox.setFromBufferAttribute(u),c)for(let r=0,o=c.length;r<o;r++){const m=c[r];x.setFromBufferAttribute(m),this.morphTargetsRelative?(a.addVectors(this.boundingBox.min,x.min),this.boundingBox.expandByPoint(a),a.addVectors(this.boundingBox.max,x.max),this.boundingBox.expandByPoint(a)):(this.boundingBox.expandByPoint(x.min),this.boundingBox.expandByPoint(x.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){this.boundingSphere===null&&(this.boundingSphere=new A.i);const u=this.attributes.position,c=this.morphAttributes.position;if(u&&u.isGLBufferAttribute){console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),this.boundingSphere.set(new C.Vector3,1/0);return}if(u){const r=this.boundingSphere.center;if(x.setFromBufferAttribute(u),c)for(let m=0,h=c.length;m<h;m++){const _=c[m];M.setFromBufferAttribute(_),this.morphTargetsRelative?(a.addVectors(x.min,M.min),x.expandByPoint(a),a.addVectors(x.max,M.max),x.expandByPoint(a)):(x.expandByPoint(M.min),x.expandByPoint(M.max))}x.getCenter(r);let o=0;for(let m=0,h=u.count;m<h;m++)a.fromBufferAttribute(u,m),o=Math.max(o,r.distanceToSquared(a));if(c)for(let m=0,h=c.length;m<h;m++){const _=c[m],B=this.morphTargetsRelative;for(let S=0,w=_.count;S<w;S++)a.fromBufferAttribute(_,S),B&&(f.fromBufferAttribute(u,S),a.add(f)),o=Math.max(o,r.distanceToSquared(a))}this.boundingSphere.radius=Math.sqrt(o),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const u=this.index,c=this.attributes;if(u===null||c.position===void 0||c.normal===void 0||c.uv===void 0){console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");return}const r=c.position,o=c.normal,m=c.uv;this.hasAttribute("tangent")===!1&&this.setAttribute("tangent",new d.TH(new Float32Array(4*r.count),4));const h=this.getAttribute("tangent"),_=[],B=[];for(let D=0;D<r.count;D++)_[D]=new C.Vector3,B[D]=new C.Vector3;const S=new C.Vector3,w=new C.Vector3,E=new C.Vector3,R=new z.I,F=new z.I,N=new z.I,I=new C.Vector3,V=new C.Vector3;function L(D,W,G){S.fromBufferAttribute(r,D),w.fromBufferAttribute(r,W),E.fromBufferAttribute(r,G),R.fromBufferAttribute(m,D),F.fromBufferAttribute(m,W),N.fromBufferAttribute(m,G),w.sub(S),E.sub(S),F.sub(R),N.sub(R);const q=1/(F.x*N.y-N.x*F.y);isFinite(q)&&(I.copy(w).multiplyScalar(N.y).addScaledVector(E,-F.y).multiplyScalar(q),V.copy(E).multiplyScalar(F.x).addScaledVector(w,-N.x).multiplyScalar(q),_[D].add(I),_[W].add(I),_[G].add(I),B[D].add(V),B[W].add(V),B[G].add(V))}let U=this.groups;U.length===0&&(U=[{start:0,count:u.count}]);for(let D=0,W=U.length;D<W;
1++D){const G=U[D],q=G.start,Q=G.count;for(let Z=q,$=q+Q;Z<$;Z+=3)L(u.getX(Z+0),u.getX(Z+1),u.getX(Z+2))}const X=new C.Vector3,H=new C.Vector3,j=new C.Vector3,J=new C.Vector3;function Y(D){j.fromBufferAttribute(o,D),J.copy(j);const W=_[D];X.copy(W),X.sub(j.multiplyScalar(j.dot(W))).normalize(),H.crossVectors(J,W);const q=H.dot(B[D])<0?-1:1;h.setXYZW(D,X.x,X.y,X.z,q)}for(let D=0,W=U.length;D<W;++D){const G=U[D],q=G.start,Q=G.count;for(let Z=q,$=q+Q;Z<$;Z+=3)Y(u.getX(Z+0)),Y(u.getX(Z+1)),Y(u.getX(Z+2))}}computeVertexNormals(){const u=this.index,c=this.getAttribute("position");if(c!==void 0){let r=this.getAttribute("normal");if(r===void 0)r=new d.TH(new Float32Array(c.count*3),3),this.setAttribute("normal",r);else for(let R=0,F=r.count;R<F;R++)r.setXYZ(R,0,0,0);const o=new C.Vector3,m=new C.Vector3,h=new C.Vector3,_=new C.Vector3,B=new C.Vector3,S=new C.Vector3,w=new C.Vector3,E=new C.Vector3;if(u)for(let R=0,F=u.count;R<F;R+=3){const N=u.getX(R+0),I=u.getX(R+1),V=u.getX(R+2);o.fromBufferAttribute(c,N),m.fromBufferAttribute(c,I),h.fromBufferAttribute(c,V),w.subVectors(h,m),E.subVectors(o,m),w.cross(E),_.fromBufferAttribute(r,N),B.fromBufferAttribute(r,I),S.fromBufferAttribute(r,V),_.add(w),B.add(w),S.add(w),r.setXYZ(N,_.x,_.y,_.z),r.setXYZ(I,B.x,B.y,B.z),r.setXYZ(V,S.x,S.y,S.z)}else for(let R=0,F=c.count;R<F;R+=3)o.fromBufferAttribute(c,R+0),m.fromBufferAttribute(c,R+1),h.fromBufferAttribute(c,R+2),w.subVectors(h,m),E.subVectors(o,m),w.cross(E),r.setXYZ(R+0,w.x,w.y,w.z),r.setXYZ(R+1,w.x,w.y,w.z),r.setXYZ(R+2,w.x,w.y,w.z);this.normalizeNormals(),r.needsUpdate=!0}}normalizeNormals(){const u=this.attributes.normal;for(let c=0,r=u.count;c<r;c++)a.fromBufferAttribute(u,c),a.normalize(),u.setXYZ(c,a.x,a.y,a.z)}toNonIndexed(){function u(_,B){const S=_.array,w=_.itemSize,E=_.normalized,R=new S.constructor(B.length*w);let F=0,N=0;for(let I=0,V=B.length;I<V;I++){_.isInterleavedBufferAttribute?F=B[I]*_.data.stride+_.offset:F=B[I]*w;for(let L=0;L<w;L++)R[N++]=S[F++]}return new d.TH(R,w,E)}if(this.index===null)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const c=new g,r=this.index.array,o=this.attributes;for(const _ in o){const B=o[_],S=u(B,r);c.setAttribute(_,S)}const m=this.morphAttributes;for(const _ in m){const B=[],S=m[_];for(let w=0,E=S.length;w<E;w++){const R=S[w],F=u(R,r);B.push(F)}c.morphAttributes[_]=B}c.morphTargetsRelative=this.morphTargetsRelative;const h=this.groups;for(let _=0,B=h.length;_<B;_++){const S=h[_];c.addGroup(S.start,S.count,S.materialIndex)}return c}toJSON(){const u={metadata:{version:4.7,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(u.uuid=this.uuid,u.type=this.type,this.name!==""&&(u.name=this.name),Object.keys(this.userData).length>0&&(u.userData=this.userData),this.parameters!==void 0){const B=this.parameters;for(const S in B)B[S]!==void 0&&(u[S]=B[S]);return u}u.data={attributes:{}};const c=this.index;c!==null&&(u.data.index={type:c.array.constructor.name,array:Array.prototype.slice.call(c.array)});const r=this.attributes;for(const B in r){const S=r[B];u.data.attributes[B]=S.toJSON(u.data)}const o={};let m=!1;for(const B in this.morphAttributes){const S=this.morphAttributes[B],w=[];for(let E=0,R=S.length;E<R;E++){const F=S[E];w.push(F.toJSON(u.data))}w.length>0&&(o[B]=w,m=!0)}m&&(u.data.morphAttributes=o,u.data.morphTargetsRelative=this.morphTargetsRelative);const h=this.groups;h.length>0&&(u.data.groups=JSON.parse(JSON.stringify(h)));const _=this.boundingSphere;return _!==null&&(u.data.boundingSphere=_.toJSON()),u}clone(){return new this.constructor().copy(this)}copy(u){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const c={};this.name=u.name;const r=u.index;r!==null&&this.setIndex(r.clone());const o=u.attributes;for(const S in o){const w=o[S];this.setAttribute(S,w.clone(c))}const m=u.morphAttributes;for(const S in m){const w=[],E=m[S];for(let R=0,F=E.length;R<F;R++)w.push(E[R].clone(c));this.morphAttributes[S]=w}this.morphTargetsRelative=u.morphTargetsRelative;const h=u.groups;for(let S=0,w=h.length;S<w;S++){const E=h[S];this.addGroup(E.start,E.count,E.materialIndex)}const _=u.boundingBox;_!==null&&(this.boundingBox=_.clone());const B=u.boundingSphere;return B!==null&&(this.boundingSphere=B.clone()),this.drawRange.start=u.drawRange.start,this.drawRange.count=u.drawRange.count,this.userData=u.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}},51750(P,O,k){k.d(O,{Q:()=>C});class C{addEventListener(T,n){this._listeners===void 0&&(this._listeners={});const d=this._listeners;d[T]===void 0&&(d[T]=[]),d[T].indexOf(n)===-1&&d[T].push(n)}hasEventListener(T,n){const d=this._listeners;return d===void 0?!1:d[T]!==void 0&&d[T].indexOf(n)!==-1}removeEventListener(T,n){const d=this._listeners;if(d===void 0)return;const A=d[T];if(A!==void 0){const b=A.indexOf(n);b!==-1&&A.splice(b,1)}}dispatchEvent(T){const n=this._listeners;if(n===void 0)return;const d=n[T.type];if(d!==void 0){T.target=this;const A=d.slice(0);for(let b=0,y=A.length;b<y;b++)A[b].call(this,T);T.target=null}}}},52853(P,O,k){k.d(O,{z:()=>C});class C{constructor(){this.mask=1}set(T){this.mask=(1<<T|0)>>>0}enable(T){this.mask|=1<<T|0}enableAll(){this.mask=-1}toggle(T){this.mask^=1<<T|0}disable(T){this.mask&=~(1<<T|0)}disableAll(){this.mask=0}test(T){return(this.mask&T.mask)!==0}isEnabled(T){return(this.mask&(1<<T|0))!==0}}},93303(P,O,k){k.d(O,{B:()=>o});var C=k(16920),z=k(24954),T=k(41761),n=k(51750),d=k(30799),A=k(52853),b=k(14164),y=k(74153);let l=0;const p=new z.Vector3,t=new C.P,e=new T.k,i=new z.Vector3,s=new z.Vector3,f=new z.Vector3,x=new C.P,M=new z.Vector3(1,0,0),a=new z.Vector3(0,1,0),g=new z.Vector3(0,0,1),v={type:"added"},u={type:"removed"},c={type:"childadded",child:null},r={type:"childremoved",child:null};class o extends n.Q{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:l++}),this.uuid=(0,y.lk)(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=o.DEFAULT_UP.clone();const h=new z.Vector3,_=new d.O,B=new C.P,S=new z.Vector3(1,1,1);function w(){B.setFromEuler(_,!1)}function E(){_.setFromQuaternion(B,void 0,!1)}_._onChange(w),B._onChange(E),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:h},rotation:{configurable:!0,enumerable:!0,value:_},quaternion:{configurable:!0,enumerable:!0,value:B},scale:{configurable:!0,enumerable:!0,value:S},modelViewMatrix:{value:new T.k},normalMatrix:{value:new b.d}}),this.matrix=new T.k,this.matrixWorld=new T.k,this.matrixAutoUpdate=o.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=o.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new A.z,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(h){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(h),this.matrix.decompose(this.position,this.quaternion,this.scale)}
vendor: 4,432 bytes, line 1
1applyQuaternion(h){return this.quaternion.premultiply(h),this}setRotationFromAxisAngle(h,_){this.quaternion.setFromAxisAngle(h,_)}setRotationFromEuler(h){this.quaternion.setFromEuler(h,!0)}setRotationFromMatrix(h){this.quaternion.setFromRotationMatrix(h)}setRotationFromQuaternion(h){this.quaternion.copy(h)}rotateOnAxis(h,_){return t.setFromAxisAngle(h,_),this.quaternion.multiply(t),this}rotateOnWorldAxis(h,_){return t.setFromAxisAngle(h,_),this.quaternion.premultiply(t),this}rotateX(h){return this.rotateOnAxis(M,h)}rotateY(h){return this.rotateOnAxis(a,h)}rotateZ(h){return this.rotateOnAxis(g,h)}translateOnAxis(h,_){return p.copy(h).applyQuaternion(this.quaternion),this.position.add(p.multiplyScalar(_)),this}translateX(h){return this.translateOnAxis(M,h)}translateY(h){return this.translateOnAxis(a,h)}translateZ(h){return this.translateOnAxis(g,h)}localToWorld(h){return this.updateWorldMatrix(!0,!1),h.applyMatrix4(this.matrixWorld)}worldToLocal(h){return this.updateWorldMatrix(!0,!1),h.applyMatrix4(e.copy(this.matrixWorld).invert())}lookAt(h,_,B){h.isVector3?i.copy(h):i.set(h,_,B);const S=this.parent;this.updateWorldMatrix(!0,!1),s.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?e.lookAt(s,i,this.up):e.lookAt(i,s,this.up),this.quaternion.setFromRotationMatrix(e),S&&(e.extractRotation(S.matrixWorld),t.setFromRotationMatrix(e),this.quaternion.premultiply(t.invert()))}add(h){if(arguments.length>1){for(let _=0;_<arguments.length;_++)this.add(arguments[_]);return this}return h===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",h),this):(h&&h.isObject3D?(h.removeFromParent(),h.parent=this,this.children.push(h),h.dispatchEvent(v),c.child=h,this.dispatchEvent(c),c.child=null):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",h),this)}remove(h){if(arguments.length>1){for(let B=0;B<arguments.length;B++)this.remove(arguments[B]);return this}const _=this.children.indexOf(h);return _!==-1&&(h.parent=null,this.children.splice(_,1),h.dispatchEvent(u),r.child=h,this.dispatchEvent(r),r.child=null),this}removeFromParent(){const h=this.parent;return h!==null&&h.remove(this),this}clear(){return this.remove(...this.children)}attach(h){return this.updateWorldMatrix(!0,!1),e.copy(this.matrixWorld).invert(),h.parent!==null&&(h.parent.updateWorldMatrix(!0,!1),e.multiply(h.parent.matrixWorld)),h.applyMatrix4(e),h.removeFromParent(),h.parent=this,this.children.push(h),h.updateWorldMatrix(!1,!0),h.dispatchEvent(v),c.child=h,this.dispatchEvent(c),c.child=null,this}getObjectById(h){return this.getObjectByProperty("id",h)}getObjectByName(h){return this.getObjectByProperty("name",h)}getObjectByProperty(h,_){if(this[h]===_)return this;for(let B=0,S=this.children.length;B<S;B++){const E=this.children[B].getObjectByProperty(h,_);if(E!==void 0)return E}}getObjectsByProperty(h,_,B=[]){this[h]===_&&B.push(this);const S=this.children;for(let w=0,E=S.length;w<E;w++)S[w].getObjectsByProperty(h,_,B);return B}getWorldPosition(h){return this.updateWorldMatrix(!0,!1),h.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(h){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(s,h,f),h}getWorldScale(h){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(s,x,h),h}getWorldDirection(h){this.updateWorldMatrix(!0,!1);const _=this.matrixWorld.elements;return h.set(_[8],_[9],_[10]).normalize()}raycast(){}traverse(h){h(this);const _=this.children;for(let B=0,S=_.length;B<S;B++)_[B].traverse(h)}traverseVisible(h){if(this.visible===!1)return;h(this);const _=this.children;for(let B=0,S=_.length;B<S;B++)_[B].traverseVisible(h)}traverseAncestors(h){const _=this.parent;_!==null&&(h(_),_.traverseAncestors(h))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(h){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||h)&&(this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,h=!0);const _=this.children;for(let B=0,S=_.length;B<S;B++)_[B].updateMatrixWorld(h)}updateWorldMatrix(h,_){const B=this.parent;if(h===!0&&B!==null&&B.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),this.matrixWorldAutoUpdate===!0&&(this.parent===null?this.matrixWorld.copy(this.matrix
vendor: 4,507 bytes, line 1
1):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),_===!0){const S=this.children;for(let w=0,E=S.length;w<E;w++)S[w].updateWorldMatrix(!1,!0)}}toJSON(h){const _=h===void 0||typeof h=="string",B={};_&&(h={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},B.metadata={version:4.7,type:"Object",generator:"Object3D.toJSON"});const S={};S.uuid=this.uuid,S.type=this.type,this.name!==""&&(S.name=this.name),this.castShadow===!0&&(S.castShadow=!0),this.receiveShadow===!0&&(S.receiveShadow=!0),this.visible===!1&&(S.visible=!1),this.frustumCulled===!1&&(S.frustumCulled=!1),this.renderOrder!==0&&(S.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(S.userData=this.userData),S.layers=this.layers.mask,S.matrix=this.matrix.toArray(),S.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(S.matrixAutoUpdate=!1),this.isInstancedMesh&&(S.type="InstancedMesh",S.count=this.count,S.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(S.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(S.type="BatchedMesh",S.perObjectFrustumCulled=this.perObjectFrustumCulled,S.sortObjects=this.sortObjects,S.drawRanges=this._drawRanges,S.reservedRanges=this._reservedRanges,S.geometryInfo=this._geometryInfo.map(R=>({...R,boundingBox:R.boundingBox?R.boundingBox.toJSON():void 0,boundingSphere:R.boundingSphere?R.boundingSphere.toJSON():void 0})),S.instanceInfo=this._instanceInfo.map(R=>({...R})),S.availableInstanceIds=this._availableInstanceIds.slice(),S.availableGeometryIds=this._availableGeometryIds.slice(),S.nextIndexStart=this._nextIndexStart,S.nextVertexStart=this._nextVertexStart,S.geometryCount=this._geometryCount,S.maxInstanceCount=this._maxInstanceCount,S.maxVertexCount=this._maxVertexCount,S.maxIndexCount=this._maxIndexCount,S.geometryInitialized=this._geometryInitialized,S.matricesTexture=this._matricesTexture.toJSON(h),S.indirectTexture=this._indirectTexture.toJSON(h),this._colorsTexture!==null&&(S.colorsTexture=this._colorsTexture.toJSON(h)),this.boundingSphere!==null&&(S.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(S.boundingBox=this.boundingBox.toJSON()));function w(R,F){return R[F.uuid]===void 0&&(R[F.uuid]=F.toJSON(h)),F.uuid}if(this.isScene)this.background&&(this.background.isColor?S.background=this.background.toJSON():this.background.isTexture&&(S.background=this.background.toJSON(h).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(S.environment=this.environment.toJSON(h).uuid);else if(this.isMesh||this.isLine||this.isPoints){S.geometry=w(h.geometries,this.geometry);const R=this.geometry.parameters;if(R!==void 0&&R.shapes!==void 0){const F=R.shapes;if(Array.isArray(F))for(let N=0,I=F.length;N<I;N++){const V=F[N];w(h.shapes,V)}else w(h.shapes,F)}}if(this.isSkinnedMesh&&(S.bindMode=this.bindMode,S.bindMatrix=this.bindMatrix.toArray(),this.skeleton!==void 0&&(w(h.skeletons,this.skeleton),S.skeleton=this.skeleton.uuid)),this.material!==void 0)if(Array.isArray(this.material)){const R=[];for(let F=0,N=this.material.length;F<N;F++)R.push(w(h.materials,this.material[F]));S.material=R}else S.material=w(h.materials,this.material);if(this.children.length>0){S.children=[];for(let R=0;R<this.children.length;R++)S.children.push(this.children[R].toJSON(h).object)}if(this.animations.length>0){S.animations=[];for(let R=0;R<this.animations.length;R++){const F=this.animations[R];S.animations.push(w(h.animations,F))}}if(_){const R=E(h.geometries),F=E(h.materials),N=E(h.textures),I=E(h.images),V=E(h.shapes),L=E(h.skeletons),U=E(h.animations),X=E(h.nodes);R.length>0&&(B.geometries=R),F.length>0&&(B.materials=F),N.length>0&&(B.textures=N),I.length>0&&(B.images=I),V.length>0&&(B.shapes=V),L.length>0&&(B.skeletons=L),U.length>0&&(B.animations=U),X.length>0&&(B.nodes=X)}return B.object=S,B;function E(R){const F=[];for(const N in R){const I=R[N];delete I.metadata,F.push(I)}return F}}clone(h){return new this.constructor().copy(this,h)}copy(h,_=!0){if(this.name=h.name,this.up.copy(h.up),this.position.copy(h.position),this.rotation.order=h.rotation.order,this.quaternion.copy(h.quaternion),this.scale.copy(h.scale),this.matrix.copy(h.matrix),this.matrixWorld.copy(h.matrixWorld),this.matrixAutoUpdate=h.matrixAutoUpdate,this.matrixWorldAutoUpdate=h.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=h.matrixWorldNeedsUpdate,this.layers.mask=h.layers.mask,this.visible=h.visible,this.castShadow=h.c
1astShadow,this.receiveShadow=h.receiveShadow,this.frustumCulled=h.frustumCulled,this.renderOrder=h.renderOrder,this.animations=h.animations.slice(),this.userData=JSON.parse(JSON.stringify(h.userData)),_===!0)for(let B=0;B<h.children.length;B++){const S=h.children[B];this.add(S.clone())}return this}}o.DEFAULT_UP=new z.Vector3(0,1,0),o.DEFAULT_MATRIX_AUTO_UPDATE=!0,o.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0},44995(P,O,k){k.d(O,{Box3Helper:()=>d});var C=k(90479),z=k(21011),T=k(23413),n=k(27638);class d extends C.D{constructor(b,y=16776960){const l=new Uint16Array([0,1,1,2,2,3,3,0,4,5,5,6,6,7,7,4,0,4,1,5,2,6,3,7]),p=[1,1,1,-1,1,1,-1,-1,1,1,-1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1],t=new n.L;t.setIndex(new T.TH(l,1)),t.setAttribute("position",new T.qt(p,3)),super(t,new z.m({color:y,toneMapped:!1})),this.box=b,this.type="Box3Helper",this.geometry.computeBoundingSphere()}updateMatrixWorld(b){const y=this.box;y.isEmpty()||(y.getCenter(this.position),y.getSize(this.scale),this.scale.multiplyScalar(.5),super.updateMatrixWorld(b))}dispose(){this.geometry.dispose(),this.material.dispose()}}},21011(P,O,k){k.d(O,{m:()=>T});var C=k(38133),z=k(39957);class T extends C.i{constructor(d){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new z.Q(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(d)}copy(d){return super.copy(d),this.color.copy(d.color),this.map=d.map,this.linewidth=d.linewidth,this.linecap=d.linecap,this.linejoin=d.linejoin,this.fog=d.fog,this}}},38133(P,O,k){k.d(O,{i:()=>d});var C=k(39957),z=k(51750),T=k(74153);let n=0;class d extends z.Q{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:n++}),this.uuid=(0,T.lk)(),this.name="",this.type="Material",this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=204,this.blendDst=205,this.blendEquation=100,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new C.Q(0,0,0),this.blendAlpha=0,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=7680,this.stencilZFail=7680,this.stencilZPass=7680,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(b){this._alphaTest>0!=b>0&&this.version++,this._alphaTest=b}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(b){if(b!==void 0)for(const y in b){const l=b[y];if(l===void 0){console.warn(`THREE.Material: parameter '${y}' has value of undefined.`);continue}const p=this[y];if(p===void 0){console.warn(`THREE.Material: '${y}' is not a property of THREE.${this.type}.`);continue}p&&p.isColor?p.set(l):p&&p.isVector3&&l&&l.isVector3?p.copy(l):this[y]=l}}toJSON(b){const y=b===void 0||typeof b=="string";y&&(b={textures:{},images:{}});const l={metadata:{version:4.7,type:"Material",generator:"Material.toJSON"}};l.uuid=this.uuid,l.type=this.type,this.name!==""&&(l.name=this.name),this.color&&this.color.isColor&&(l.color=this.color.getHex()),this.roughness!==void 0&&(l.roughness=this.roughness),this.metalness!==void 0&&(l.metalness=this.metalness),this.sheen!==void 0&&(l.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(l.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(l.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(l.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(l.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(l.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(l.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(l.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(l.shininess=this.shininess),this.clearcoat!==void 0&&(l.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(l.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(l.clearcoatMap=this.clearcoatMap.toJSON(b).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(l.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(b).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(l.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(b).uuid,l.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.dispersion!==void 0&&(l.dispersion=this.dispersion),this.iridescence!==void 0&&(l.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(l.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(l.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(l.iridescenceMap=this.iridescenceMap.toJSON(b).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(l.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(b).uuid),this.anisotropy!==void 0&&(l.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(l.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(l.anisotropyMap=this.anisotropyMap.toJSON(b).uuid),this.map&&this.map.isTexture&&(l.map=this.map.toJSON(b).uuid),this.matcap&&this.matcap.isTexture&&(l.matcap=this.matcap.toJSON(b).uuid),this.alphaMap&&this.alphaMap.isTexture&&(l.alphaMap=this.alphaMap.toJSON(b).uuid),this.lightMap&&this.lightMap.isTexture&&(l.lightMap=this.lightMap.toJSON(b).uuid,l.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(l.aoMap=this.aoMap.toJSON(b).uuid,l.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(l.bumpMap=this.bumpMap.toJSON(b).uuid,l.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(l.normalMap=this.normalMap.toJSON(b).uuid,l.normalMapType=this.normalMapType,l.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(l.dis
vendor: 6,490 bytes, line 1
1placementMap=this.displacementMap.toJSON(b).uuid,l.displacementScale=this.displacementScale,l.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(l.roughnessMap=this.roughnessMap.toJSON(b).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(l.metalnessMap=this.metalnessMap.toJSON(b).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(l.emissiveMap=this.emissiveMap.toJSON(b).uuid),this.specularMap&&this.specularMap.isTexture&&(l.specularMap=this.specularMap.toJSON(b).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(l.specularIntensityMap=this.specularIntensityMap.toJSON(b).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(l.specularColorMap=this.specularColorMap.toJSON(b).uuid),this.envMap&&this.envMap.isTexture&&(l.envMap=this.envMap.toJSON(b).uuid,this.combine!==void 0&&(l.combine=this.combine)),this.envMapRotation!==void 0&&(l.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(l.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(l.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(l.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(l.gradientMap=this.gradientMap.toJSON(b).uuid),this.transmission!==void 0&&(l.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(l.transmissionMap=this.transmissionMap.toJSON(b).uuid),this.thickness!==void 0&&(l.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(l.thicknessMap=this.thicknessMap.toJSON(b).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(l.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(l.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(l.size=this.size),this.shadowSide!==null&&(l.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(l.sizeAttenuation=this.sizeAttenuation),this.blending!==1&&(l.blending=this.blending),this.side!==0&&(l.side=this.side),this.vertexColors===!0&&(l.vertexColors=!0),this.opacity<1&&(l.opacity=this.opacity),this.transparent===!0&&(l.transparent=!0),this.blendSrc!==204&&(l.blendSrc=this.blendSrc),this.blendDst!==205&&(l.blendDst=this.blendDst),this.blendEquation!==100&&(l.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(l.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(l.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(l.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(l.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(l.blendAlpha=this.blendAlpha),this.depthFunc!==3&&(l.depthFunc=this.depthFunc),this.depthTest===!1&&(l.depthTest=this.depthTest),this.depthWrite===!1&&(l.depthWrite=this.depthWrite),this.colorWrite===!1&&(l.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(l.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==519&&(l.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(l.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(l.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==7680&&(l.stencilFail=this.stencilFail),this.stencilZFail!==7680&&(l.stencilZFail=this.stencilZFail),this.stencilZPass!==7680&&(l.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(l.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(l.rotation=this.rotation),this.polygonOffset===!0&&(l.polygonOffset=!0),this.polygonOffsetFactor!==0&&(l.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(l.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(l.linewidth=this.linewidth),this.dashSize!==void 0&&(l.dashSize=this.dashSize),this.gapSize!==void 0&&(l.gapSize=this.gapSize),this.scale!==void 0&&(l.scale=this.scale),this.dithering===!0&&(l.dithering=!0),this.alphaTest>0&&(l.alphaTest=this.alphaTest),this.alphaHash===!0&&(l.alphaHash=!0),this.alphaToCoverage===!0&&(l.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(l.premultipliedAlpha=!0),this.forceSinglePass===!0&&(l.forceSinglePass=!0),this.wireframe===!0&&(l.wireframe=!0),this.wireframeLinewidth>1&&(l.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(l.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(l.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(l.flatShading=!0),this.visible===!1&&(l.visible=!1),this.toneMapped===!1&&(l.toneMapped=!1),this.fog===!1&&(l.fog=!1),Object.keys(this.userData).length>0&&(l.userData=this.userData);function p(t){const e=[];for(const i in t){const s=t[i];delete s.metadata,e.push(s)}return e}if(y){const t=p(b.textures),e=p(b.images);t.length>0&&(l.textures=t),e.length>0&&(l.images=e)}return l}clone(){return new this.constructor().copy(this)}copy(b){this.name=b.name,this.blending=b.blending,this.side=b.side,this.vertexColors=b.vertexColors,this.opacity=b.opacity,this.transparent=b.transparent,this.blendSrc=b.blendSrc,this.blendDst=b.blendDst,this.blendEquation=b.blendEquation,this.blendSrcAlpha=b.blendSrcAlpha,this.blendDstAlpha=b.blendDstAlpha,this.blendEquationAlpha=b.blendEquationAlpha,this.blendColor.copy(b.blendColor),this.blendAlpha=b.blendAlpha,this.depthFunc=b.depthFunc,this.depthTest=b.depthTest,this.depthWrite=b.depthWrite,this.stencilWriteMask=b.stencilWriteMask,this.stencilFunc=b.stencilFunc,this.stencilRef=b.stencilRef,this.stencilFuncMask=b.stencilFuncMask,this.stencilFail=b.stencilFail,this.stencilZFail=b.stencilZFail,this.stencilZPass=b.stencilZPass,this.stencilWrite=b.stencilWrite;const y=b.clippingPlanes;let l=null;if(y!==null){const p=y.length;l=new Array(p);for(let t=0;t!==p;++t)l[t]=y[t].clone()}return this.clippingPlanes=l,this.clipIntersection=b.clipIntersection,this.clipShadows=b.clipShadows,this.shadowSide=b.shadowSide,this.colorWrite=b.colorWrite,this.precision=b.precision,this.polygonOffset=b.polygonOffset,this.polygonOffsetFactor=b.polygonOffsetFactor,this.polygonOffsetUnits=b.polygonOffsetUnits,this.dithering=b.dithering,this.alphaTest=b.alphaTest,this.alphaHash=b.alphaHash,this.alphaToCoverage=b.alphaToCoverage,this.premultipliedAlpha=b.premultipliedAlpha,this.forceSinglePass=b.forceSinglePass,this.visible=b.visible,this.toneMapped=b.toneMapped,this.userData=JSON.parse(JSON.stringify(b.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(b){b===!0&&this.version++}}},23006(P,O,k){k.r(O),k.d(O,{Box3:()=>z});
vendor: 4,738 bytes, line 1
1var C=k(24954);class z{constructor(a=new C.Vector3(1/0,1/0,1/0),g=new C.Vector3(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=a,this.max=g}set(a,g){return this.min.copy(a),this.max.copy(g),this}setFromArray(a){this.makeEmpty();for(let g=0,v=a.length;g<v;g+=3)this.expandByPoint(n.fromArray(a,g));return this}setFromBufferAttribute(a){this.makeEmpty();for(let g=0,v=a.count;g<v;g++)this.expandByPoint(n.fromBufferAttribute(a,g));return this}setFromPoints(a){this.makeEmpty();for(let g=0,v=a.length;g<v;g++)this.expandByPoint(a[g]);return this}setFromCenterAndSize(a,g){const v=n.copy(g).multiplyScalar(.5);return this.min.copy(a).sub(v),this.max.copy(a).add(v),this}setFromObject(a,g=!1){return this.makeEmpty(),this.expandByObject(a,g)}clone(){return new this.constructor().copy(this)}copy(a){return this.min.copy(a.min),this.max.copy(a.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(a){return this.isEmpty()?a.set(0,0,0):a.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(a){return this.isEmpty()?a.set(0,0,0):a.subVectors(this.max,this.min)}expandByPoint(a){return this.min.min(a),this.max.max(a),this}expandByVector(a){return this.min.sub(a),this.max.add(a),this}expandByScalar(a){return this.min.addScalar(-a),this.max.addScalar(a),this}expandByObject(a,g=!1){a.updateWorldMatrix(!1,!1);const v=a.geometry;if(v!==void 0){const c=v.getAttribute("position");if(g===!0&&c!==void 0&&a.isInstancedMesh!==!0)for(let r=0,o=c.count;r<o;r++)a.isMesh===!0?a.getVertexPosition(r,n):n.fromBufferAttribute(c,r),n.applyMatrix4(a.matrixWorld),this.expandByPoint(n);else a.boundingBox!==void 0?(a.boundingBox===null&&a.computeBoundingBox(),d.copy(a.boundingBox)):(v.boundingBox===null&&v.computeBoundingBox(),d.copy(v.boundingBox)),d.applyMatrix4(a.matrixWorld),this.union(d)}const u=a.children;for(let c=0,r=u.length;c<r;c++)this.expandByObject(u[c],g);return this}containsPoint(a){return a.x>=this.min.x&&a.x<=this.max.x&&a.y>=this.min.y&&a.y<=this.max.y&&a.z>=this.min.z&&a.z<=this.max.z}containsBox(a){return this.min.x<=a.min.x&&a.max.x<=this.max.x&&this.min.y<=a.min.y&&a.max.y<=this.max.y&&this.min.z<=a.min.z&&a.max.z<=this.max.z}getParameter(a,g){return g.set((a.x-this.min.x)/(this.max.x-this.min.x),(a.y-this.min.y)/(this.max.y-this.min.y),(a.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(a){return a.max.x>=this.min.x&&a.min.x<=this.max.x&&a.max.y>=this.min.y&&a.min.y<=this.max.y&&a.max.z>=this.min.z&&a.min.z<=this.max.z}intersectsSphere(a){return this.clampPoint(a.center,n),n.distanceToSquared(a.center)<=a.radius*a.radius}intersectsPlane(a){let g,v;return a.normal.x>0?(g=a.normal.x*this.min.x,v=a.normal.x*this.max.x):(g=a.normal.x*this.max.x,v=a.normal.x*this.min.x),a.normal.y>0?(g+=a.normal.y*this.min.y,v+=a.normal.y*this.max.y):(g+=a.normal.y*this.max.y,v+=a.normal.y*this.min.y),a.normal.z>0?(g+=a.normal.z*this.min.z,v+=a.normal.z*this.max.z):(g+=a.normal.z*this.max.z,v+=a.normal.z*this.min.z),g<=-a.constant&&v>=-a.constant}intersectsTriangle(a){if(this.isEmpty())return!1;this.getCenter(e),i.subVectors(this.max,e),A.subVectors(a.a,e),b.subVectors(a.b,e),y.subVectors(a.c,e),l.subVectors(b,A),p.subVectors(y,b),t.subVectors(A,y);let g=[0,-l.z,l.y,0,-p.z,p.y,0,-t.z,t.y,l.z,0,-l.x,p.z,0,-p.x,t.z,0,-t.x,-l.y,l.x,0,-p.y,p.x,0,-t.y,t.x,0];return!x(g,A,b,y,i)||(g=[1,0,0,0,1,0,0,0,1],!x(g,A,b,y,i))?!1:(s.crossVectors(l,p),g=[s.x,s.y,s.z],x(g,A,b,y,i))}clampPoint(a,g){return g.copy(a).clamp(this.min,this.max)}distanceToPoint(a){return this.clampPoint(a,n).distanceTo(a)}getBoundingSphere(a){return this.isEmpty()?a.makeEmpty():(this.getCenter(a.center),a.radius=this.getSize(n).length()*.5),a}intersect(a){return this.min.max(a.min),this.max.min(a.max),this.isEmpty()&&this.makeEmpty(),this}union(a){return this.min.min(a.min),this.max.max(a.max),this}applyMatrix4(a){return this.isEmpty()?this:(T[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(a),T[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(a),T[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(a),T[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(a),T[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(a),T[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(a),T[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(a),T[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(a),this.setFromPoints(T),this)}translate(a){return this.min.add(a),this.max.add(a),this}equals(a){return a.min.equals(this.min)&&a.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(a){return this.min.fromArray(a.min),this.max.fromArray(a.max),this}}
1const T=[new C.Vector3,new C.Vector3,new C.Vector3,new C.Vector3,new C.Vector3,new C.Vector3,new C.Vector3,new C.Vector3],n=new C.Vector3,d=new z,A=new C.Vector3,b=new C.Vector3,y=new C.Vector3,l=new C.Vector3,p=new C.Vector3,t=new C.Vector3,e=new C.Vector3,i=new C.Vector3,s=new C.Vector3,f=new C.Vector3;function x(M,a,g,v,u){for(let c=0,r=M.length-3;c<=r;c+=3){f.fromArray(M,c);const o=u.x*Math.abs(f.x)+u.y*Math.abs(f.y)+u.z*Math.abs(f.z),m=a.dot(f),h=g.dot(f),_=v.dot(f);if(Math.max(-Math.max(m,h,_),Math.min(m,h,_))>o)return!1}return!0}},39957(P,O,k){k.d(O,{Q:()=>b});var C=k(74153),z=k(16898);const T={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},n={h:0,s:0,l:0},d={h:0,s:0,l:0};function A(l,p,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?l+(p-l)*6*t:t<1/2?p:t<2/3?l+(p-l)*6*(2/3-t):l}class b{constructor(p,t,e){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(p,t,e)}set(p,t,e){if(t===void 0&&e===void 0){const i=p;i&&i.isColor?this.copy(i):typeof i=="number"?this.setHex(i):typeof i=="string"&&this.setStyle(i)}else this.setRGB(p,t,e);return this}setScalar(p){return this.r=p,this.g=p,this.b=p,this}setHex(p,t="srgb"){return p=Math.floor(p),this.r=(p>>16&255)/255,this.g=(p>>8&255)/255,this.b=(p&255)/255,z.pp.colorSpaceToWorking(this,t),this}setRGB(p,t,e,i=z.pp.workingColorSpace){return this.r=p,this.g=t,this.b=e,z.pp.colorSpaceToWorking(this,i),this}setHSL(p,t,e,i=z.pp.workingColorSpace){if(p=(0,C.rl)(p,1),t=(0,C.qE)(t,0,1),e=(0,C.qE)(e,0,1),t===0)this.r=this.g=this.b=e;else{const s=e<=.5?e*(1+t):e+t-e*t,f=2*e-s;this.r=A(f,s,p+1/3),this.g=A(f,s,p),this.b=A(f,s,p-1/3)}return z.pp.colorSpaceToWorking(this,i),this}setStyle(p,t="srgb"){function e(s){s!==void 0&&parseFloat(s)<1&&console.warn("THREE.Color: Alpha component of "+p+" will be ignored.")}let i;if(i=/^(\w+)\(([^\)]*)\)/.exec(p)){let s;const f=i[1],x=i[2];switch(f){case"rgb":case"rgba":if(s=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(x))return e(s[4]),this.setRGB(Math.min(255,parseInt(s[1],10))/255,Math.min(255,parseInt(s[2],10))/255,Math.min(255,parseInt(s[3],10))/255,t);if(s=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(x))return e(s[4]),this.setRGB(Math.min(100,parseInt(s[1],10))/100,Math.min(100,parseInt(s[2],10))/100,Math.min(100,parseInt(s[3],10))/100,t);break;case"hsl":case"hsla":if(s=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(x))return e(s[4]),this.setHSL(parseFloat(s[1])/360,parseFloat(s[2])/100,parseFloat(s[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+p)}}else if(i=/^\#([A-Fa-f\d]+)$/.exec(p)){const s=i[1],f=s.length;if(f===3)return this.setRGB(parseInt(s.charAt(0),16)/15,parseInt(s.charAt(1),16)/15,parseInt(s.charAt(2),16)/15,t);if(f===6)return this.setHex(parseInt(s,16),t);console.warn("THREE.Color: Invalid hex color "+p)}else if(p&&p.length>0)return this.setColorName(p,t);return this}setColorName(p,t="srgb"){const e=T[p.toLowerCase()];return e!==void 0?this.setHex(e,t):console.warn("THREE.Color: Unknown color "+p),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(p){return this.r=p.r,this.g=p.g,this.b=p.b,this}copySRGBToLinear(p){return this.r=(0,z.dk)(p.r),this.g=(0,z.dk)(p.g),this.b=(0,z.dk)(p.b),this}copyLinearToSRGB(p){return this.r=(0,z.rd)(p.r),this.g=(0,z.rd)(p.g),this.b=(0,z.rd)(p.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(p="srgb"){return z.pp.workingToColorSpace(y.copy(this),p),Math.round((0,C.qE)(y.r*255,0,255))*65536+Math.round((0,C.qE)(y.g*255,0,255))*256+Math.round((0,C.qE)(y.b*255,0,255))}getHexString(p="srgb"){return("000000"+this.getHex(p).toString(16)).slice(-6)}getHSL(p,t=z.pp.workingColorSpace){z.pp.workingToColorSpace(y.copy(this),t);const e=y.r,i=y.g,s=y.b,f=Math.max(e,i,s),x=Math.min(e,i,s);let M,a;const g=(x+f)/2;if(x===f)M=0,a=0;else{const v=f-x;
1switch(a=g<=.5?v/(f+x):v/(2-f-x),f){case e:M=(i-s)/v+(i<s?6:0);break;case i:M=(s-e)/v+2;break;case s:M=(e-i)/v+4;break}M/=6}return p.h=M,p.s=a,p.l=g,p}getRGB(p,t=z.pp.workingColorSpace){return z.pp.workingToColorSpace(y.copy(this),t),p.r=y.r,p.g=y.g,p.b=y.b,p}getStyle(p="srgb"){z.pp.workingToColorSpace(y.copy(this),p);const t=y.r,e=y.g,i=y.b;return p!=="srgb"?`color(${p} ${t.toFixed(3)} ${e.toFixed(3)} ${i.toFixed(3)})`:`rgb(${Math.round(t*255)},${Math.round(e*255)},${Math.round(i*255)})`}offsetHSL(p,t,e){return this.getHSL(n),this.setHSL(n.h+p,n.s+t,n.l+e)}add(p){return this.r+=p.r,this.g+=p.g,this.b+=p.b,this}addColors(p,t){return this.r=p.r+t.r,this.g=p.g+t.g,this.b=p.b+t.b,this}addScalar(p){return this.r+=p,this.g+=p,this.b+=p,this}sub(p){return this.r=Math.max(0,this.r-p.r),this.g=Math.max(0,this.g-p.g),this.b=Math.max(0,this.b-p.b),this}multiply(p){return this.r*=p.r,this.g*=p.g,this.b*=p.b,this}multiplyScalar(p){return this.r*=p,this.g*=p,this.b*=p,this}lerp(p,t){return this.r+=(p.r-this.r)*t,this.g+=(p.g-this.g)*t,this.b+=(p.b-this.b)*t,this}lerpColors(p,t,e){return this.r=p.r+(t.r-p.r)*e,this.g=p.g+(t.g-p.g)*e,this.b=p.b+(t.b-p.b)*e,this}lerpHSL(p,t){this.getHSL(n),p.getHSL(d);const e=(0,C.Cc)(n.h,d.h,t),i=(0,C.Cc)(n.s,d.s,t),s=(0,C.Cc)(n.l,d.l,t);return this.setHSL(e,i,s),this}setFromVector3(p){return this.r=p.x,this.g=p.y,this.b=p.z,this}applyMatrix3(p){const t=this.r,e=this.g,i=this.b,s=p.elements;return this.r=s[0]*t+s[3]*e+s[6]*i,this.g=s[1]*t+s[4]*e+s[7]*i,this.b=s[2]*t+s[5]*e+s[8]*i,this}equals(p){return p.r===this.r&&p.g===this.g&&p.b===this.b}fromArray(p,t=0){return this.r=p[t],this.g=p[t+1],this.b=p[t+2],this}toArray(p=[],t=0){return p[t]=this.r,p[t+1]=this.g,p[t+2]=this.b,p}fromBufferAttribute(p,t){return this.r=p.getX(t),this.g=p.getY(t),this.b=p.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const y=new b;b.NAMES=T},16898(P,O,k){k.d(O,{dk:()=>y,pp:()=>b,rd:()=>l});var C=k(72790),z=k(14164),T=k(72686);const n=new z.d().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),d=new z.d().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function A(){const p={enabled:!0,workingColorSpace:C.Zr,spaces:{},convert:function(s,f,x){return this.enabled===!1||f===x||!f||!x||(this.spaces[f].transfer==="srgb"&&(s.r=y(s.r),s.g=y(s.g),s.b=y(s.b)),this.spaces[f].primaries!==this.spaces[x].primaries&&(s.applyMatrix3(this.spaces[f].toXYZ),s.applyMatrix3(this.spaces[x].fromXYZ)),this.spaces[x].transfer==="srgb"&&(s.r=l(s.r),s.g=l(s.g),s.b=l(s.b))),s},workingToColorSpace:function(s,f){return this.convert(s,this.workingColorSpace,f)},colorSpaceToWorking:function(s,f){return this.convert(s,f,this.workingColorSpace)},getPrimaries:function(s){return this.spaces[s].primaries},getTransfer:function(s){return s===""?"linear":this.spaces[s].transfer},getLuminanceCoefficients:function(s,f=this.workingColorSpace){return s.fromArray(this.spaces[f].luminanceCoefficients)},define:function(s){Object.assign(this.spaces,s)},_getMatrix:function(s,f,x){return s.copy(this.spaces[f].toXYZ).multiply(this.spaces[x].fromXYZ)},_getDrawingBufferColorSpace:function(s){return this.spaces[s].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(s=this.workingColorSpace){return this.spaces[s].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(s,f){return(0,T.mc)("THREE.ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace()."),p.workingToColorSpace(s,f)},toWorkingColorSpace:function(s,f){return(0,T.mc)("THREE.ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking()."),p.colorSpaceToWorking(s,f)}},t=[.64,.33,.3,.6,.15,.06],e=[.2126,.7152,.0722],i=[.3127,.329];return p.define({[C.Zr]:{primaries:t,whitePoint:i,transfer:"linear",toXYZ:n,fromXYZ:d,luminanceCoefficients:e,workingColorSpaceConfig:{unpackColorSpace:"srgb"},outputColorSpaceConfig:{drawingBufferColorSpace:"srgb"}},srgb:{primaries:t,whitePoint:i,transfer:"srgb",toXYZ:n,fromXYZ:d,luminanceCoefficients:e,outputColorSpaceConfig:{drawingBufferColorSpace:"srgb"}}}),p}const b=A();function y(p){return p<.04045?p*.0773993808:Math.pow(p*.9478672986+.0521327014,2.4)}
vendor: 13,888 bytes, line 1
1function l(p){return p<.0031308?p*12.92:1.055*Math.pow(p,.41666)-.055}},30799(P,O,k){k.d(O,{O:()=>A});var C=k(16920),z=k(41761),T=k(74153);const n=new z.k,d=new C.P;class A{constructor(y=0,l=0,p=0,t=A.DEFAULT_ORDER){this.isEuler=!0,this._x=y,this._y=l,this._z=p,this._order=t}get x(){return this._x}set x(y){this._x=y,this._onChangeCallback()}get y(){return this._y}set y(y){this._y=y,this._onChangeCallback()}get z(){return this._z}set z(y){this._z=y,this._onChangeCallback()}get order(){return this._order}set order(y){this._order=y,this._onChangeCallback()}set(y,l,p,t=this._order){return this._x=y,this._y=l,this._z=p,this._order=t,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(y){return this._x=y._x,this._y=y._y,this._z=y._z,this._order=y._order,this._onChangeCallback(),this}setFromRotationMatrix(y,l=this._order,p=!0){const t=y.elements,e=t[0],i=t[4],s=t[8],f=t[1],x=t[5],M=t[9],a=t[2],g=t[6],v=t[10];switch(l){case"XYZ":this._y=Math.asin((0,T.qE)(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-M,v),this._z=Math.atan2(-i,e)):(this._x=Math.atan2(g,x),this._z=0);break;case"YXZ":this._x=Math.asin(-(0,T.qE)(M,-1,1)),Math.abs(M)<.9999999?(this._y=Math.atan2(s,v),this._z=Math.atan2(f,x)):(this._y=Math.atan2(-a,e),this._z=0);break;case"ZXY":this._x=Math.asin((0,T.qE)(g,-1,1)),Math.abs(g)<.9999999?(this._y=Math.atan2(-a,v),this._z=Math.atan2(-i,x)):(this._y=0,this._z=Math.atan2(f,e));break;case"ZYX":this._y=Math.asin(-(0,T.qE)(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(g,v),this._z=Math.atan2(f,e)):(this._x=0,this._z=Math.atan2(-i,x));break;case"YZX":this._z=Math.asin((0,T.qE)(f,-1,1)),Math.abs(f)<.9999999?(this._x=Math.atan2(-M,x),this._y=Math.atan2(-a,e)):(this._x=0,this._y=Math.atan2(s,v));break;case"XZY":this._z=Math.asin(-(0,T.qE)(i,-1,1)),Math.abs(i)<.9999999?(this._x=Math.atan2(g,x),this._y=Math.atan2(s,e)):(this._x=Math.atan2(-M,v),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+l)}return this._order=l,p===!0&&this._onChangeCallback(),this}setFromQuaternion(y,l,p){return n.makeRotationFromQuaternion(y),this.setFromRotationMatrix(n,l,p)}setFromVector3(y,l=this._order){return this.set(y.x,y.y,y.z,l)}reorder(y){return d.setFromEuler(this),this.setFromQuaternion(d,y)}equals(y){return y._x===this._x&&y._y===this._y&&y._z===this._z&&y._order===this._order}fromArray(y){return this._x=y[0],this._y=y[1],this._z=y[2],y[3]!==void 0&&(this._order=y[3]),this._onChangeCallback(),this}toArray(y=[],l=0){return y[l]=this._x,y[l+1]=this._y,y[l+2]=this._z,y[l+3]=this._order,y}_onChange(y){return this._onChangeCallback=y,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}A.DEFAULT_ORDER="XYZ"},14164(P,O,k){k.d(O,{d:()=>C});class C{constructor(n,d,A,b,y,l,p,t,e){C.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],n!==void 0&&this.set(n,d,A,b,y,l,p,t,e)}set(n,d,A,b,y,l,p,t,e){const i=this.elements;return i[0]=n,i[1]=b,i[2]=p,i[3]=d,i[4]=y,i[5]=t,i[6]=A,i[7]=l,i[8]=e,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(n){const d=this.elements,A=n.elements;return d[0]=A[0],d[1]=A[1],d[2]=A[2],d[3]=A[3],d[4]=A[4],d[5]=A[5],d[6]=A[6],d[7]=A[7],d[8]=A[8],this}extractBasis(n,d,A){return n.setFromMatrix3Column(this,0),d.setFromMatrix3Column(this,1),A.setFromMatrix3Column(this,2),this}setFromMatrix4(n){const d=n.elements;return this.set(d[0],d[4],d[8],d[1],d[5],d[9],d[2],d[6],d[10]),this}multiply(n){return this.multiplyMatrices(this,n)}premultiply(n){return this.multiplyMatrices(n,this)}multiplyMatrices(n,d){const A=n.elements,b=d.elements,y=this.elements,l=A[0],p=A[3],t=A[6],e=A[1],i=A[4],s=A[7],f=A[2],x=A[5],M=A[8],a=b[0],g=b[3],v=b[6],u=b[1],c=b[4],r=b[7],o=b[2],m=b[5],h=b[8];return y[0]=l*a+p*u+t*o,y[3]=l*g+p*c+t*m,y[6]=l*v+p*r+t*h,y[1]=e*a+i*u+s*o,y[4]=e*g+i*c+s*m,y[7]=e*v+i*r+s*h,y[2]=f*a+x*u+M*o,y[5]=f*g+x*c+M*m,y[8]=f*v+x*r+M*h,this}multiplyScalar(n){const d=this.elements;return d[0]*=n,d[3]*=n,d[6]*=n,d[1]*=n,d[4]*=n,d[7]*=n,d[2]*=n,d[5]*=n,d[8]*=n,this}determinant(){const n=this.elements,d=n[0],A=n[1],b=n[2],y=n[3],l=n[4],p=n[5],t=n[6],e=n[7],i=n[8];return d*l*i-d*p*e-A*y*i+A*p*t+b*y*e-b*l*t}invert(){const n=this.elements,d=n[0],A=n[1],b=n[2],y=n[3],l=n[4],p=n[5],t=n[6],e=n[7],i=n[8],s=i*l-p*e,f=p*t-i*y,x=e*y-l*t,M=d*s+A*f+b*x;if(M===0)return this.set(0,0,0,0,0,0,0,0,0);const a=1/M;return n[0]=s*a,n[1]=(b*e-i*A)*a,n[2]=(p*A-b*l)*a,n[3]=f*a,n[4]=(i*d-b*t)*a,n[5]=(b*y-p*d)*a,n[6]=x*a,n[7]=(A*t-e*d)*a,n[8]=(l*d-A*y)*a,this}transpose(){let n;const d=this.elements;return n=d[1],d[1]=d[3],d[3]=n,n=d[2],d[2]=d[6],d[6]=n,n=d[5],d[5]=d[7],d[7]=n,this}getNormalMatrix(n){return this.setFromMatrix4(n).invert().transpose()}transposeIntoArray(n){const d=this.elements;return n[0]=d[0],n[1]=d[3],n[2]=d[6],n[3]=d[1],n[4]=d[4],n[5]=d[7],n[6]=d[2],n[7]=d[5],n[8]=d[8],this}setUvTransform(n,d,A,b,y,l,p){const t=Math.cos(y),e=Math.sin(y);return this.set(A*t,A*e,-A*(t*l+e*p)+l+n,-b*e,b*t,-b*(-e*l+t*p)+p+d,0,0,1),this}scale(n,d){return this.premultiply(z.makeScale(n,d)),this}rotate(n){return this.premultiply(z.makeRotation(-n)),this}translate(n,d){return this.premultiply(z.makeTranslation(n,d)),this}makeTranslation(n,d){return n.isVector2?this.set(1,0,n.x,0,1,n.y,0,0,1):this.set(1,0,n,0,1,d,0,0,1),this}makeRotation(n){const d=Math.cos(n),A=Math.sin(n);return this.set(d,-A,0,A,d,0,0,0,1),this}makeScale(n,d){return this.set(n,0,0,0,d,0,0,0,1),this}equals(n){const d=this.elements,A=n.elements;for(let b=0;b<9;b++)if(d[b]!==A[b])return!1;return!0}fromArray(n,d=0){for(let A=0;A<9;A++)this.elements[A]=n[A+d];return this}toArray(n=[],d=0){const A=this.elements;return n[d]=A[0],n[d+1]=A[1],n[d+2]=A[2],n[d+3]=A[3],n[d+4]=A[4],n[d+5]=A[5],n[d+6]=A[6],n[d+7]=A[7],n[d+8]=A[8],n}clone(){return new this.constructor().fromArray(this.elements)}}const z=new C},41761(P,O,k){k.d(O,{k:()=>z});var C=k(24954);class z{constructor(t,e,i,s,f,x,M,a,g,v,u,c,r,o,m,h){z.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],t!==void 0&&this.set(t,e,i,s,f,x,M,a,g,v,u,c,r,o,m,h)}set(t,e,i,s,f,x,M,a,g,v,u,c,r,o,m,h){const _=this.elements;return _[0]=t,_[4]=e,_[8]=i,_[12]=s,_[1]=f,_[5]=x,_[9]=M,_[13]=a,_[2]=g,_[6]=v,_[10]=u,_[14]=c,_[3]=r,_[7]=o,_[11]=m,_[15]=h,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new z().fromArray(this.elements)}copy(t){const e=this.elements,i=t.elements;return e[0]=i[0],e[1]=i[1],e[2]=i[2],e[3]=i[3],e[4]=i[4],e[5]=i[5],e[6]=i[6],e[7]=i[7],e[8]=i[8],e[9]=i[9],e[10]=i[10],e[11]=i[11],e[12]=i[12],e[13]=i[13],e[14]=i[14],e[15]=i[15],this}copyPosition(t){const e=this.elements,i=t.elements;return e[12]=i[12],e[13]=i[13],e[14]=i[14],this}setFromMatrix3(t){const e=t.elements;return this.set(e[0],e[3],e[6],0,e[1],e[4],e[7],0,e[2],e[5],e[8],0,0,0,0,1),this}extractBasis(t,e,i){return t.setFromMatrixColumn(this,0),e.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this}makeBasis(t,e,i){return this.set(t.x,e.x,i.x,0,t.y,e.y,i.y,0,t.z,e.z,i.z,0,0,0,0,1),this}extractRotation(t){const e=this.elements,i=t.elements,s=1/T.setFromMatrixColumn(t,0).length(),f=1/T.setFromMatrixColumn(t,1).length(),x=1/T.setFromMatrixColumn(t,2).length();return e[0]=i[0]*s,e[1]=i[1]*s,e[2]=i[2]*s,e[3]=0,e[4]=i[4]*f,e[5]=i[5]*f,e[6]=i[6]*f,e[7]=0,e[8]=i[8]*x,e[9]=i[9]*x,e[10]=i[10]*x,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromEuler(t){const e=this.elements,i=t.x,s=t.y,f=t.z,x=Math.cos(i),M=Math.sin(i),a=Math.cos(s),g=Math.sin(s),v=Math.cos(f),u=Math.sin(f);if(t.order==="XYZ"){const c=x*v,r=x*u,o=M*v,m=M*u;e[0]=a*v,e[4]=-a*u,e[8]=g,e[1]=r+o*g,e[5]=c-m*g,e[9]=-M*a,e[2]=m-c*g,e[6]=o+r*g,e[10]=x*a}else if(t.order==="YXZ"){const c=a*v,r=a*u,o=g*v,m=g*u;e[0]=c+m*M,e[4]=o*M-r,e[8]=x*g,e[1]=x*u,e[5]=x*v,e[9]=-M,e[2]=r*M-o,e[6]=m+c*M,e[10]=x*a}else if(t.order==="ZXY"){const c=a*v,r=a*u,o=g*v,m=g*u;e[0]=c-m*M,e[4]=-x*u,e[8]=o+r*M,e[1]=r+o*M,e[5]=x*v,e[9]=m-c*M,e[2]=-x*g,e[6]=M,e[10]=x*a}else if(t.order==="ZYX"){const c=x*v,r=x*u,o=M*v,m=M*u;e[0]=a*v,e[4]=o*g-r,e[8]=c*g+m,e[1]=a*u,e[5]=m*g+c,e[9]=r*g-o,e[2]=-g,e[6]=M*a,e[10]=x*a}else if(t.order==="YZX"){const c=x*a,r=x*g,o=M*a,m=M*g;e[0]=a*v,e[4]=m-c*u,e[8]=o*u+r,e[1]=u,e[5]=x*v,e[9]=-M*v,e[2]=-g*v,e[6]=r*u+o,e[10]=c-m*u}else if(t.order==="XZY"){const c=x*a,r=x*g,o=M*a,m=M*g;e[0]=a*v,e[4]=-u,e[8]=g*v,e[1]=c*u+m,e[5]=x*v,e[9]=r*u-o,e[2]=o*u-r,e[6]=M*v,e[10]=m*u+c}return e[3]=0,e[7]=0,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,this}makeRotationFromQuaternion(t){return this.compose(d,t,A)}lookAt(t,e,i){const s=this.elements;return l.subVectors(t,e),l.lengthSq()===0&&(l.z=1),l.normalize(),b.crossVectors(i,l),b.lengthSq()===0&&(Math.abs(i.z)===1?l.x+=1e-4:l.z+=1e-4,l.normalize(),b.crossVectors(i,l)),b.normalize(),y.crossVectors(l,b),s[0]=b.x,s[4]=y.x,s[8]=l.x,s[1]=b.y,s[5]=y.y,s[9]=l.y,s[2]=b.z,s[6]=y.z,s[10]=l.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,e){const i=t.elements,s=e.elements,f=this.elements,x=i[0],M=i[4],a=i[8],g=i[12],v=i[1],u=i[5],c=i[9],r=i[13],o=i[2],m=i[6],h=i[10],_=i[14],B=i[3],S=i[7],w=i[11],E=i[15],R=s[0],F=s[4],N=s[8],I=s[12],V=s[1],L=s[5],U=s[9],X=s[13],H=s[2],j=s[6],J=s[10],Y=s[14],D=s[3],W=s[7],G=s[11],q=s[15];return f[0]=x*R+M*V+a*H+g*D,f[4]=x*F+M*L+a*j+g*W,f[8]=x*N+M*U+a*J+g*G,f[12]=x*I+M*X+a*Y+g*q,f[1]=v*R+u*V+c*H+r*D,f[5]=v*F+u*L+c*j+r*W,f[9]=v*N+u*U+c*J+r*G,f[13]=v*I+u*X+c*Y+r*q,f[2]=o*R+m*V+h*H+_*D,f[6]=o*F+m*L+h*j+_*W,f[10]=o*N+m*U+h*J+_*G,f[14]=o*I+m*X+h*Y+_*q,f[3]=B*R+S*V+w*H+E*D,f[7]=B*F+S*L+w*j+E*W,f[11]=B*N+S*U+w*J+E*G,f[15]=B*I+S*X+w*Y+E*q,this}multiplyScalar(t){const e=this.elements;return e[0]*=t,e[4]*=t,e[8]*=t,e[12]*=t,e[1]*=t,e[5]*=t,e[9]*=t,e[13]*=t,e[2]*=t,e[6]*=t,e[10]*=t,e[14]*=t,e[3]*=t,e[7]*=t,e[11]*=t,e[15]*=t,this}determinant(){const t=this.elements,e=t[0],i=t[4],s=t[8],f=t[12],x=t[1],M=t[5],a=t[9],g=t[13],v=t[2],u=t[6],c=t[10],r=t[14],o=t[3],m=t[7],h=t[11],_=t[15];return o*(+f*a*u-s*g*u-f*M*c+i*g*c+s*M*r-i*a*r)+m*(+e*a*r-e*g*c+f*x*c-s*x*r+s*g*v-f*a*v)+h*(+e*g*u-e*M*r-f*x*u+i*x*r+f*M*v-i*g*v)+_*(-s*M*v-e*a*u+e*M*c+s*x*u-i*x*c+i*a*v)}transpose(){const t=this.elements;let e;return e=t[1],t[1]=t[4],t[4]=e,e=t[2],t[2]=t[8],t[8]=e,e=t[6],t[6]=t[9],t[9]=e,e=t[3],t[3]=t[12],t[12]=e,e=t[7],t[7]=t[13],t[13]=e,e=t[11],t[11]=t[14],t[14]=e,this}setPosition(t,e,i){const s=this.elements;return t.isVector3?(s[12]=t.x,s[13]=t.y,s[14]=t.z):(s[12]=t,s[13]=e,s[14]=i),this}invert(){const t=this.elements,e=t[0],i=t[1],s=t[2],f=t[3],x=t[4],M=t[5],a=t[6],g=t[7],v=t[8],u=t[9],c=t[10],r=t[11],o=t[12],m=t[13],h=t[14],_=t[15],B=u*h*g-m*c*g+m*a*r-M*h*r-u*a*_+M*c*_,S=o*c*g-v*h*g-o*a*r+x*h*r+v*a*_-x*c*_,w=v*m*g-o*u*g+o*M*r-x*m*r-v*M*_+x*u*_,E=o*u*a-v*m*a-o*M*c+x*m*c+v*M*h-x*u*h,R=e*B+i*S+s*w+f*E;if(R===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const F=1/R;return t[0]=B*F,t[1]=(m*c*f-u*h*f-m*s*r+i*h*r+u*s*_-i*c*_)*F,t[2]=(M*h*f-m*a*f+m*s*g-i*h*g-M*s*_+i*a*_)*F,t[3]=(u*a*f-M*c*f-u*s*g+i*c*g+M*s*r-i*a*r)*F,t[4]=S*F,t[5]=(v*h*f-o*c*f+o*s*r-e*h*r-v*s*_+e*c*_)*F,t[6]=(o*a*f-x*h*f-o*s*g+e*h*g+x*s*_-e*a*_)*F,t[7]=(x*c*f-v*a*f+v*s*g-e*c*g-x*s*r+e*a*r)*F,t[8]=w*F,t[9]=(o*u*f-v*m*f-o*i*r+e*m*r+v*i*_-e*u*_)*F,t[10]=(x*m*f-o*M*f+o*i*g-e*m*g-x*i*_+e*M*_)*F,t[11]=(v*M*f-x*u*f-v*i*g+e*u*g+x*i*r-e*M*r)*F,t[12]=E*F,t[13]=(v*m*s-o*u*s+o*i*c-e*m*c-v*i*h+e*u*h)*F,t[14]=(o*M*s-x*m*s-o*i*a+e*m*a+x*i*h-e*M*h)*F,t[15]=(x*u*s-v*M*s+v*i*a-e*u*a-x*i*c+e*M*c)*F,this}scale(t){const e=this.elements,i=t.x,s=t.y,f=t.z;return e[0]*=i,e[4]*=s,e[8]*=f,e[1]*=i,e[5]*=s,e[9]*=f,e[2]*=i,e[6]*=s,e[10]*=f,e[3]*=i,e[7]*=s,e[11]*=f,this}getMaxScaleOnAxis(){const t=this.elements,e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],s=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(e,i,s))}makeTranslation(t,e,i){return t.isVector3?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,e,0,0,1,i,0,0,0,1),this}makeRotationX(t){const e=Math.cos(t),i=Math.sin(t);return this.set(1,0,0,0,0,e,-i,0,0,i,e,0,0,0,0,1),this}makeRotationY(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,0,i,0,0,1,0,0,-i,0,e,0,0,0,0,1),this}makeRotationZ(t){const e=Math.cos(t),i=Math.sin(t);return this.set(e,-i,0,0,i,e,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,e){const i=Math.cos(e),s=Math.sin(e),f=1-i,x=t.x,M=t.y,a=t.z,g=f*x,v=f*M;return this.set(g*x+i,g*M-s*a,g*a+s*M,0,g*M+s*a,v*M+i,v*a-s*x,0,g*a-s*M,v*a+s*x,f*a*a+i,0,0,0,0,1),this}makeScale(t,e,i){return this.set(t,0,0,0,0,e,0,0,0,0,i,0,0,0,0,1),this}makeShear(t,e,i,s,f,x){return this.set(1,i,f,0,t,1,x,0,e,s,1,0,0,0,0,1),this}compose(t,e,i){const s=this.elements,f=e._x,x=e._y,M=e._z,a=e._w,g=f+f,v=x+x,u=M+M,c=f*g,r=f*v,o=f*u,m=x*v,h=x*u,_=M*u,B=a*g,S=a*v,w=a*u,E=i.x,R=i.y,F=i.z;return s[0]=(1-(m+_))*E,s[1]=(r+w)*E,s[2]=(o-S)*E,s[3]=0,s[4]=(r-w)*R,s[5]=(1-(c+_))*R,s[6]=(h+B)*R,s[7]=0,s[8]=(o+S)*F,s[9]=(h-B)*F,s[10]=(1-(c+m))*F,s[11]=0,s[12]=t.x,s[13]=t.y,s[14]=t.z,s[15]=1,this}decompose(t,e,i){const s=this.elements;let f=T.set(s[0],s[1],s[2]).length();const x=T.set(s[4],s[5],s[6]).length(),M=T.set(s[8],s[9],s[10]).length();this.determinant()<0&&(f=-f),t.x=s[12],t.y=s[13],t.z=s[14],n.copy(this);const g=1/f,v=1/x,u=1/M;return n.elements[0]*=g,n.elements[1]*=g,n.elements[2]*=g,n.elements[4]*=v,n.elements[5]*=v,n.elements[6]*=v,n.elements[8]*=u,n.elements[9]*=u,n.elements[10]*=u,e.setFromRotationMatrix(n),i.x=f,i.y=x,i.z=M,this}makePerspective(t,e,i,s,f,x,M=2e3,a=!1){const g=this.elements,v=2*f/(e-t),u=2*f/(i-s),c=(e+t)/(e-t),r=(i+s)/(i-s);let o,m;if(a)o=f/(x-f),m=x*f/(x-f);else if(M===2e3)o=-(x+f)/(x-f),m=-2*x*f/(x-f);else if(M===2001)o=-x/(x-f),m=-x*f/(x-f);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+M);return g[0]=v,g[4]=0,g[8]=c,g[12]=0,g[1]=0,g[5]=u,g[9]=r,g[13]=0,g[2]=0,g[6]=0,g[10]=o,g[14]=m,g[3]=0,g[7]=0,g[11]=-1,g[15]=0,this}
vendor: 8,951 bytes, line 1
1makeOrthographic(t,e,i,s,f,x,M=2e3,a=!1){const g=this.elements,v=2/(e-t),u=2/(i-s),c=-(e+t)/(e-t),r=-(i+s)/(i-s);let o,m;if(a)o=1/(x-f),m=x/(x-f);else if(M===2e3)o=-2/(x-f),m=-(x+f)/(x-f);else if(M===2001)o=-1/(x-f),m=-f/(x-f);else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+M);return g[0]=v,g[4]=0,g[8]=0,g[12]=c,g[1]=0,g[5]=u,g[9]=0,g[13]=r,g[2]=0,g[6]=0,g[10]=o,g[14]=m,g[3]=0,g[7]=0,g[11]=0,g[15]=1,this}equals(t){const e=this.elements,i=t.elements;for(let s=0;s<16;s++)if(e[s]!==i[s])return!1;return!0}fromArray(t,e=0){for(let i=0;i<16;i++)this.elements[i]=t[i+e];return this}toArray(t=[],e=0){const i=this.elements;return t[e]=i[0],t[e+1]=i[1],t[e+2]=i[2],t[e+3]=i[3],t[e+4]=i[4],t[e+5]=i[5],t[e+6]=i[6],t[e+7]=i[7],t[e+8]=i[8],t[e+9]=i[9],t[e+10]=i[10],t[e+11]=i[11],t[e+12]=i[12],t[e+13]=i[13],t[e+14]=i[14],t[e+15]=i[15],t}}const T=new C.Vector3,n=new z,d=new C.Vector3(0,0,0),A=new C.Vector3(1,1,1),b=new C.Vector3,y=new C.Vector3,l=new C.Vector3},94454(P,O,k){k.d(O,{R:()=>l});var C=k(24954);const z=new C.Vector3,T=new C.Vector3,n=new C.Vector3,d=new C.Vector3,A=new C.Vector3,b=new C.Vector3,y=new C.Vector3;class l{constructor(t=new C.Vector3,e=new C.Vector3(0,0,-1)){this.origin=t,this.direction=e}set(t,e){return this.origin.copy(t),this.direction.copy(e),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,e){return e.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,z)),this}closestPointToPoint(t,e){e.subVectors(t,this.origin);const i=e.dot(this.direction);return i<0?e.copy(this.origin):e.copy(this.origin).addScaledVector(this.direction,i)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const e=z.subVectors(t,this.origin).dot(this.direction);return e<0?this.origin.distanceToSquared(t):(z.copy(this.origin).addScaledVector(this.direction,e),z.distanceToSquared(t))}distanceSqToSegment(t,e,i,s){T.copy(t).add(e).multiplyScalar(.5),n.copy(e).sub(t).normalize(),d.copy(this.origin).sub(T);const f=t.distanceTo(e)*.5,x=-this.direction.dot(n),M=d.dot(this.direction),a=-d.dot(n),g=d.lengthSq(),v=Math.abs(1-x*x);let u,c,r,o;if(v>0)if(u=x*a-M,c=x*M-a,o=f*v,u>=0)if(c>=-o)if(c<=o){const m=1/v;u*=m,c*=m,r=u*(u+x*c+2*M)+c*(x*u+c+2*a)+g}else c=f,u=Math.max(0,-(x*c+M)),r=-u*u+c*(c+2*a)+g;else c=-f,u=Math.max(0,-(x*c+M)),r=-u*u+c*(c+2*a)+g;else c<=-o?(u=Math.max(0,-(-x*f+M)),c=u>0?-f:Math.min(Math.max(-f,-a),f),r=-u*u+c*(c+2*a)+g):c<=o?(u=0,c=Math.min(Math.max(-f,-a),f),r=c*(c+2*a)+g):(u=Math.max(0,-(x*f+M)),c=u>0?f:Math.min(Math.max(-f,-a),f),r=-u*u+c*(c+2*a)+g);else c=x>0?-f:f,u=Math.max(0,-(x*c+M)),r=-u*u+c*(c+2*a)+g;return i&&i.copy(this.origin).addScaledVector(this.direction,u),s&&s.copy(T).addScaledVector(n,c),r}intersectSphere(t,e){z.subVectors(t.center,this.origin);const i=z.dot(this.direction),s=z.dot(z)-i*i,f=t.radius*t.radius;if(s>f)return null;const x=Math.sqrt(f-s),M=i-x,a=i+x;return a<0?null:M<0?this.at(a,e):this.at(M,e)}intersectsSphere(t){return t.radius<0?!1:this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const e=t.normal.dot(this.direction);if(e===0)return t.distanceToPoint(this.origin)===0?0:null;const i=-(this.origin.dot(t.normal)+t.constant)/e;return i>=0?i:null}intersectPlane(t,e){const i=this.distanceToPlane(t);return i===null?null:this.at(i,e)}intersectsPlane(t){const e=t.distanceToPoint(this.origin);return e===0||t.normal.dot(this.direction)*e<0}intersectBox(t,e){let i,s,f,x,M,a;const g=1/this.direction.x,v=1/this.direction.y,u=1/this.direction.z,c=this.origin;return g>=0?(i=(t.min.x-c.x)*g,s=(t.max.x-c.x)*g):(i=(t.max.x-c.x)*g,s=(t.min.x-c.x)*g),v>=0?(f=(t.min.y-c.y)*v,x=(t.max.y-c.y)*v):(f=(t.max.y-c.y)*v,x=(t.min.y-c.y)*v),i>x||f>s||((f>i||isNaN(i))&&(i=f),(x<s||isNaN(s))&&(s=x),u>=0?(M=(t.min.z-c.z)*u,a=(t.max.z-c.z)*u):(M=(t.max.z-c.z)*u,a=(t.min.z-c.z)*u),i>a||M>s)||((M>i||i!==i)&&(i=M),(a<s||s!==s)&&(s=a),s<0)?null:this.at(i>=0?i:s,e)}intersectsBox(t){return this.intersectBox(t,z)!==null}intersectTriangle(t,e,i,s,f){A.subVectors(e,t),b.subVectors(i,t),y.crossVectors(A,b);let x=this.direction.dot(y),M;if(x>0){if(s)return null;M=1}else if(x<0)M=-1,x=-x;else return null;d.subVectors(this.origin,t);const a=M*this.direction.dot(b.crossVectors(d,b));if(a<0)return null;const g=M*this.direction.dot(A.cross(d));if(g<0||a+g>x)return null;const v=-M*d.dot(y);return v<0?null:this.at(v/x,f)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}},21993(P,O,k){k.d(O,{i:()=>A});var C=k(23006),z=k(24954);const T=new C.Box3,n=new z.Vector3,d=new z.Vector3;class A{constructor(y=new z.Vector3,l=-1){this.isSphere=!0,this.center=y,this.radius=l}set(y,l){return this.center.copy(y),this.radius=l,this}setFromPoints(y,l){const p=this.center;l!==void 0?p.copy(l):T.setFromPoints(y).getCenter(p);let t=0;for(let e=0,i=y.length;e<i;e++)t=Math.max(t,p.distanceToSquared(y[e]));return this.radius=Math.sqrt(t),this}copy(y){return this.center.copy(y.center),this.radius=y.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(y){return y.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(y){return y.distanceTo(this.center)-this.radius}intersectsSphere(y){const l=this.radius+y.radius;return y.center.distanceToSquared(this.center)<=l*l}intersectsBox(y){return y.intersectsSphere(this)}intersectsPlane(y){return Math.abs(y.distanceToPoint(this.center))<=this.radius}clampPoint(y,l){const p=this.center.distanceToSquared(y);return l.copy(y),p>this.radius*this.radius&&(l.sub(this.center).normalize(),l.multiplyScalar(this.radius).add(this.center)),l}getBoundingBox(y){return this.isEmpty()?(y.makeEmpty(),y):(y.set(this.center,this.center),y.expandByScalar(this.radius),y)}applyMatrix4(y){return this.center.applyMatrix4(y),this.radius=this.radius*y.getMaxScaleOnAxis(),this}translate(y){return this.center.add(y),this}expandByPoint(y){if(this.isEmpty())return this.center.copy(y),this.radius=0,this;n.subVectors(y,this.center);const l=n.lengthSq();if(l>this.radius*this.radius){const p=Math.sqrt(l),t=(p-this.radius)*.5;this.center.addScaledVector(n,t/p),this.radius+=t}return this}union(y){return y.isEmpty()?this:this.isEmpty()?(this.copy(y),this):(this.center.equals(y.center)===!0?this.radius=Math.max(this.radius,y.radius):(d.subVectors(y.center,this.center).setLength(y.radius),this.expandByPoint(n.copy(y.center).add(d)),this.expandByPoint(n.copy(y.center).sub(d))),this)}equals(y){return y.center.equals(this.center)&&y.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(y){return this.radius=y.radius,this.center.fromArray(y.center),this}}},37481(P,O,k){k.d(O,{I:()=>z});var C=k(74153);class z{constructor(n=0,d=0){z.prototype.isVector2=!0,this.x=n,this.y=d}get width(){return this.x}set width(n){this.x=n}get height(){return this.y}set height(n){this.y=n}set(n,d){return this.x=n,this.y=d,this}setScalar(n){return this.x=n,this.y=n,this}setX(n){return this.x=n,this}setY(n){return this.y=n,this}setComponent(n,d){switch(n){case 0:this.x=d;break;case 1:this.y=d;break;default:throw new Error("index is out of range: "+n)}return this}getComponent(n){switch(n){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+n)}}clone(){return new this.constructor(this.x,this.y)}copy(n){return this.x=n.x,this.y=n.y,this}add(n){return this.x+=n.x,this.y+=n.y,this}addScalar(n){return this.x+=n,this.y+=n,this}addVectors(n,d){return this.x=n.x+d.x,this.y=n.y+d.y,this}addScaledVector(n,d){return this.x+=n.x*d,this.y+=n.y*d,this}sub(n){return this.x-=n.x,this.y-=n.y,this}subScalar(n){return this.x-=n,this.y-=n,this}subVectors(n,d){return this.x=n.x-d.x,this.y=n.y-d.y,this}multiply(n){return this.x*=n.x,this.y*=n.y,this}multiplyScalar(n){return this.x*=n,this.y*=n,this}divide(n){return this.x/=n.x,this.y/=n.y,this}divideScalar(n){return this.multiplyScalar(1/n)}applyMatrix3(n){const d=this.x,A=this.y,b=n.elements;return this.x=b[0]*d+b[3]*A+b[6],this.y=b[1]*d+b[4]*A+b[7],this}min(n){return this.x=Math.min(this.x,n.x),this.y=Math.min(this.y,n.y),this}max(n){return this.x=Math.max(this.x,n.x),this.y=Math.max(this.y,n.y),this}clamp(n,d){return this.x=(0,C.qE)(this.x,n.x,d.x),this.y=(0,C.qE)(this.y,n.y,d.y),this}clampScalar(n,d){return this.x=(0,C.qE)(this.x,n,d),this.y=(0,C.qE)(this.y,n,d),this}clampLength(n,d){const A=this.length();return this.divideScalar(A||1).multiplyScalar((0,C.qE)(A,n,d))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}
1round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(n){return this.x*n.x+this.y*n.y}cross(n){return this.x*n.y-this.y*n.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(n){const d=Math.sqrt(this.lengthSq()*n.lengthSq());if(d===0)return Math.PI/2;const A=this.dot(n)/d;return Math.acos((0,C.qE)(A,-1,1))}distanceTo(n){return Math.sqrt(this.distanceToSquared(n))}distanceToSquared(n){const d=this.x-n.x,A=this.y-n.y;return d*d+A*A}manhattanDistanceTo(n){return Math.abs(this.x-n.x)+Math.abs(this.y-n.y)}setLength(n){return this.normalize().multiplyScalar(n)}lerp(n,d){return this.x+=(n.x-this.x)*d,this.y+=(n.y-this.y)*d,this}lerpVectors(n,d,A){return this.x=n.x+(d.x-n.x)*A,this.y=n.y+(d.y-n.y)*A,this}equals(n){return n.x===this.x&&n.y===this.y}fromArray(n,d=0){return this.x=n[d],this.y=n[d+1],this}toArray(n=[],d=0){return n[d]=this.x,n[d+1]=this.y,n}fromBufferAttribute(n,d){return this.x=n.getX(d),this.y=n.getY(d),this}rotateAround(n,d){const A=Math.cos(d),b=Math.sin(d),y=this.x-n.x,l=this.y-n.y;return this.x=y*A-l*b+n.x,this.y=y*b+l*A+n.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}},90479(P,O,k){k.d(O,{D:()=>v});var C=k(21993),z=k(94454),T=k(41761),n=k(93303),d=k(24954),A=k(21011),b=k(27638),y=k(23413);const l=new d.Vector3,p=new d.Vector3,t=new T.k,e=new z.R,i=new C.i,s=new d.Vector3,f=new d.Vector3;class x extends n.B{constructor(c=new b.L,r=new A.m){super(),this.isLine=!0,this.type="Line",this.geometry=c,this.material=r,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(c,r){return super.copy(c,r),this.material=Array.isArray(c.material)?c.material.slice():c.material,this.geometry=c.geometry,this}computeLineDistances(){const c=this.geometry;if(c.index===null){const r=c.attributes.position,o=[0];for(let m=1,h=r.count;m<h;m++)l.fromBufferAttribute(r,m-1),p.fromBufferAttribute(r,m),o[m]=o[m-1],o[m]+=l.distanceTo(p);c.setAttribute("lineDistance",new y.qt(o,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(c,r){const o=this.geometry,m=this.matrixWorld,h=c.params.Line.threshold,_=o.drawRange;if(o.boundingSphere===null&&o.computeBoundingSphere(),i.copy(o.boundingSphere),i.applyMatrix4(m),i.radius+=h,c.ray.intersectsSphere(i)===!1)return;t.copy(m).invert(),e.copy(c.ray).applyMatrix4(t);const B=h/((this.scale.x+this.scale.y+this.scale.z)/3),S=B*B,w=this.isLineSegments?2:1,E=o.index,F=o.attributes.position;if(E!==null){const N=Math.max(0,_.start),I=Math.min(E.count,_.start+_.count);for(let V=N,L=I-1;V<L;V+=w){const U=E.getX(V),X=E.getX(V+1),H=M(this,c,e,S,U,X,V);H&&r.push(H)}if(this.isLineLoop){const V=E.getX(I-1),L=E.getX(N),U=M(this,c,e,S,V,L,I-1);U&&r.push(U)}}else{const N=Math.max(0,_.start),I=Math.min(F.count,_.start+_.count);for(let V=N,L=I-1;V<L;V+=w){const U=M(this,c,e,S,V,V+1,V);U&&r.push(U)}if(this.isLineLoop){const V=M(this,c,e,S,I-1,N,I-1);V&&r.push(V)}}}updateMorphTargets(){const r=this.geometry.morphAttributes,o=Object.keys(r);if(o.length>0){const m=r[o[0]];if(m!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let h=0,_=m.length;h<_;h++){const B=m[h].name||String(h);this.morphTargetInfluences.push(0),this.morphTargetDictionary[B]=h}}}}}function M(u,c,r,o,m,h,_){const B=u.geometry.attributes.position;if(l.fromBufferAttribute(B,m),p.fromBufferAttribute(B,h),r.distanceSqToSegment(l,p,s,f)>o)return;s.applyMatrix4(u.matrixWorld);const w=c.ray.origin.distanceTo(s);if(!(w<c.near||w>c.far))return{distance:w,point:f.clone().applyMatrix4(u.matrixWorld),index:_,face:null,faceIndex:null,barycoord:null,object:u}}const a=new d.Vector3,g=new d.Vector3;class v extends x{constructor(c,r){super(c,r),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const c=this.geometry;if(c.index===null){const r=c.attributes.position,o=[];for(let m=0,h=r.count;m<h;m+=2)a.fromBufferAttribute(r,m),g.fromBufferAttribute(r,m+1),o[m]=m===0?0:o[m-1],o[m+1]=o[m]+a.distanceTo(g);c.setAttribute("lineDistance",new y.qt(o,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}},72686(P,O,k){k.d(O,{AQ:()=>T,je:()=>p,lP:()=>b,mc:()=>l,qq:()=>A});function C(i){if(i.length===0)return 1/0;let s=i[0];for(let f=1,x=i.length;f<x;++f)i[f]<s&&(s=i[f]);return s}function z(i){if(i.length===0)return-1/0;let s=i[0];for(let f=1,x=i.length;f<x;++f)i[f]>s&&(s=i[f]);return s}function T(i){for(let s=i.length-1;s>=0;--s)if(i[s]>=65535)return!0;return!1}const n=null;function d(i,s){return new n[i](s)}function A(i){return document.createElementNS("http://www.w3.org/1999/xhtml",i)}function b(){const i=A("canvas");return i.style.display="block",i}const y={};
vendor: 575 bytes, lines 1-3
1function l(i){i in y||(y[i]=!0,console.warn(i))}function p(i,s,f){return new Promise(function(x,M){function a(){switch(i.clientWaitSync(s,i.SYNC_FLUSH_COMMANDS_BIT,0)){case i.WAIT_FAILED:M();break;case i.TIMEOUT_EXPIRED:setTimeout(a,f);break;default:x()}}setTimeout(a,f)})}function t(i){const s=i.elements;s[2]=.5*s[2]+.5*s[3],s[6]=.5*s[6]+.5*s[7],s[10]=.5*s[10]+.5*s[11],s[14]=.5*s[14]+.5*s[15]}function e(i){const s=i.elements;s[11]===-1?(s[10]=-s[10]-1,s[14]=-s[14]):(s[10]=-s[10],s[14]=-s[14]+1)}}}]); 2 3//# sourceMappingURL=threeJsBox3Helper.cac7d074be8be76b.chunk.js.map
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.