/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.3.1 */ import{a as nt}from"./chunk-2BPIFUNJ.js";import"./chunk-XDTNLL4L.js";import"./chunk-45NF2JU3.js";import{a as _}from"./chunk-32UDSAPU.js";import"./chunk-EX67AA2G.js";import"./chunk-V5KKODOM.js";import"./chunk-AIYLFSI3.js";import"./chunk-FBQDLPON.js";import{a as ot}from"./chunk-563CJZT3.js";import{a as it}from"./chunk-LH4TAMBV.js";import{b as tt,c as et,d as S}from"./chunk-WI5KIEME.js";import{d as I}from"./chunk-ZPW6H6BB.js";import"./chunk-HMXXHGCW.js";import{a as R}from"./chunk-NFDMGE7Q.js";import{b as s,e as l}from"./chunk-VDZXURWO.js";import{a as J}from"./chunk-UEFEFMYS.js";import"./chunk-YGIPMXAD.js";import"./chunk-PZ34T7DL.js";import{a as w}from"./chunk-5HWP5DW7.js";import{a as P}from"./chunk-3K67FZLU.js";import{e as r}from"./chunk-55TU6MJR.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