/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.3.1 */ import{a as Gt,b as Xt}from"./chunk-GNVRN42E.js";import{a as kt}from"./chunk-CQELY6Z3.js";import{a as lt}from"./chunk-DMXICNHG.js";import{a as Dt}from"./chunk-RPFXEG5U.js";import"./chunk-HV57XH4K.js";import"./chunk-P5SE5XVC.js";import{a as qt}from"./chunk-ZPRLAWII.js";import"./chunk-BUR4N7VJ.js";import"./chunk-33CJ2NM7.js";import{d as Lt}from"./chunk-QHUUGFLC.js";import{b as $,g as Ot,i as zt}from"./chunk-BHJLM5NY.js";import"./chunk-3LWOQSP3.js";import{b as P,c as N,d as wt,e as Ht}from"./chunk-7DK7KB7Q.js";import{a as r}from"./chunk-JSZDCKFG.js";import"./chunk-YGIPMXAD.js";import{a as Vt}from"./chunk-54HAFFPJ.js";import{a as Ut}from"./chunk-5HWP5DW7.js";import"./chunk-INT7THOB.js";import{e as ht}from"./chunk-PPCZYYBW.js";var te=Uint16Array.BYTES_PER_ELEMENT,mt=Int32Array.BYTES_PER_ELEMENT,Pt=Uint32Array.BYTES_PER_ELEMENT,ee=Float32Array.BYTES_PER_ELEMENT,H=Float64Array.BYTES_PER_ELEMENT;function tt(n,l,e){e=Ut(e,r);let i=n.length;for(let c=0;c0&&W.length>0){let t=k[0].index,d=Mt,Y=W[W.length-1].index,B=g.length-1;v.push(Y,B,d,d,t,Y)}S=g.length;let Qt=Lt.fromPoints(g),Rt;ht(i)&&(Rt=Dt.fromRectangle(i,z,J,e));let Jt=new Gt(e).computeHorizonCullingPointPossiblyUnderEllipsoid(l,g,z),Kt=new qt(b,M,l),It=new Xt(l,Kt,K.hMin,J,V,!1,T,y,et,m),_t=new Float32Array(S*It.stride),Ct=0;for(let t=0;t0&&i.push(i[x]),c.length>0&&c.push(c[x]),$.multiplyByPoint(m.toENU,j,G);let O=m.minimum,Q=m.maximum;P.minimumByComponent(G,O,O),P.maximumByComponent(G,Q,Q);let ft=m.lastBorderPoint;if(ht(ft)){let y=ft.index;et.push(y,p-1,p,p,x,y)}m.lastBorderPoint=E}}var Ae=kt(oe);export{Ae as default};