/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.4.1 */ import{a as nt}from"./chunk-H3TVYT4X.js";import"./chunk-5PNG4QKZ.js";import"./chunk-YME4CS4F.js";import{a as w}from"./chunk-VPVZKJ47.js";import"./chunk-DA6K763I.js";import"./chunk-TWEYJPY7.js";import"./chunk-5HPENZ6M.js";import"./chunk-SY6XZLBE.js";import{a as ot}from"./chunk-TO2OYNR6.js";import{a as it}from"./chunk-MZR3JOBY.js";import{b as tt,c as et,d as R}from"./chunk-6SNQZF7I.js";import{d as I}from"./chunk-CLGTNV2A.js";import"./chunk-RQCJJCAO.js";import{a as N}from"./chunk-7J4RJR4J.js";import{b as s,e as l,g as K}from"./chunk-UMC5CP2H.js";import{a as V}from"./chunk-72V3KRTJ.js";import"./chunk-7M2TDEJ6.js";import"./chunk-W5CDIT4C.js";import{a as y}from"./chunk-VJ26MOOM.js";import{e as r}from"./chunk-E3YQ3WWZ.js";var Q=new s,J=new s,lt=new s,st=new s,pt=new s,ut=new s,ft=new s;function E(t){t=t??K.EMPTY_OBJECT;let e=t.positions,o=t.maximumHeights,n=t.minimumHeights;if(!r(e))throw new y("options.positions is required.");if(r(o)&&o.length!==e.length)throw new y("options.positions and options.maximumHeights must have the same length.");if(r(n)&&n.length!==e.length)throw new y("options.positions and options.minimumHeights must have the same length.");let i=t.vertexFormat??w.DEFAULT,c=t.granularity??V.RADIANS_PER_DEGREE,a=t.ellipsoid??l.default;this._positions=e,this._minimumHeights=n,this._maximumHeights=o,this._vertexFormat=w.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+w.packedLength+1}E.pack=function(t,e,o){if(!r(t))throw new y("value is required");if(!r(e))throw new y("array is required");o=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