/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.3.1 */ import{a as nt}from"./chunk-OUS3KKLX.js";import"./chunk-WGRWYGAM.js";import"./chunk-5B7R4ODL.js";import{a as _}from"./chunk-WF3WCQMH.js";import"./chunk-A6RR2BLJ.js";import"./chunk-EPQZOCRV.js";import"./chunk-BUR4N7VJ.js";import"./chunk-33CJ2NM7.js";import{a as ot}from"./chunk-ZDNS2GYV.js";import{a as it}from"./chunk-LH4TAMBV.js";import{b as tt,c as et,d as S}from"./chunk-TNSV6TPX.js";import{d as I}from"./chunk-QHUUGFLC.js";import"./chunk-BHJLM5NY.js";import{a as R}from"./chunk-3LWOQSP3.js";import{b as s,e as l}from"./chunk-7DK7KB7Q.js";import{a as J}from"./chunk-JSZDCKFG.js";import"./chunk-YGIPMXAD.js";import"./chunk-54HAFFPJ.js";import{a as w}from"./chunk-5HWP5DW7.js";import{a as P}from"./chunk-INT7THOB.js";import{e as r}from"./chunk-PPCZYYBW.js";var Q=new s,Y=new s,lt=new s,st=new s,pt=new s,ut=new s,ft=new s;function k(t){t=w(t,w.EMPTY_OBJECT);let e=t.positions,o=t.maximumHeights,n=t.minimumHeights;if(!r(e))throw new P("options.positions is required.");if(r(o)&&o.length!==e.length)throw new P("options.positions and options.maximumHeights must have the same length.");if(r(n)&&n.length!==e.length)throw new P("options.positions and options.minimumHeights must have the same length.");let i=w(t.vertexFormat,_.DEFAULT),c=w(t.granularity,J.RADIANS_PER_DEGREE),a=w(t.ellipsoid,l.default);this._positions=e,this._minimumHeights=n,this._maximumHeights=o,this._vertexFormat=_.clone(i),this._granularity=c,this._ellipsoid=l.clone(a),this._workerName="createWallGeometry";let m=1+e.length*s.packedLength+2;r(n)&&(m+=n.length),r(o)&&(m+=o.length),this.packedLength=m+l.packedLength+_.packedLength+1}k.pack=function(t,e,o){if(!r(t))throw new P("value is required");if(!r(e))throw new P("array is required");o=w(o,0);let n,i=t._positions,c=i.length;for(e[o++]=c,n=0;n0)for(a=new Array(i),n=0;n0)for(m=new Array(i),n=0;n