/** * SmartEarth WebSDK - https://websdk.terra-it.cn * Version 5.4.1 */ import{a as z}from"./chunk-H3TVYT4X.js";import"./chunk-5PNG4QKZ.js";import"./chunk-YME4CS4F.js";import"./chunk-DA6K763I.js";import"./chunk-TWEYJPY7.js";import"./chunk-5HPENZ6M.js";import"./chunk-SY6XZLBE.js";import{a as W}from"./chunk-TO2OYNR6.js";import{a as N}from"./chunk-MZR3JOBY.js";import{b as R,c as S,d as M}from"./chunk-6SNQZF7I.js";import{d as D}from"./chunk-CLGTNV2A.js";import"./chunk-RQCJJCAO.js";import{a as q}from"./chunk-7J4RJR4J.js";import{b as p,e as l,g as O}from"./chunk-UMC5CP2H.js";import{a as b}from"./chunk-72V3KRTJ.js";import"./chunk-7M2TDEJ6.js";import"./chunk-W5CDIT4C.js";import{a as H}from"./chunk-VJ26MOOM.js";import{e as m}from"./chunk-E3YQ3WWZ.js";var B=new p,U=new p;function _(i){i=i??O.EMPTY_OBJECT;let t=i.positions,e=i.maximumHeights,o=i.minimumHeights;if(!m(t))throw new H("options.positions is required.");if(m(e)&&e.length!==t.length)throw new H("options.positions and options.maximumHeights must have the same length.");if(m(o)&&o.length!==t.length)throw new H("options.positions and options.minimumHeights must have the same length.");let s=i.granularity??b.RADIANS_PER_DEGREE,r=i.ellipsoid??l.default;this._positions=t,this._minimumHeights=o,this._maximumHeights=e,this._granularity=s,this._ellipsoid=l.clone(r),this._workerName="createWallOutlineGeometry";let n=1+t.length*p.packedLength+2;m(o)&&(n+=o.length),m(e)&&(n+=e.length),this.packedLength=n+l.packedLength+1}_.pack=function(i,t,e){if(!m(i))throw new H("value is required");if(!m(t))throw new H("array is required");e=e??0;let o,s=i._positions,r=s.length;for(t[e++]=r,o=0;o0)for(n=new Array(s),o=0;o0)for(c=new Array(s),o=0;o