/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.121.1 * * Copyright 2011-2022 Cesium Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Columbus View (Pat. Pend.) * * Portions licensed separately. * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details. */ import{a as M}from"./chunk-KEGO2QAF.js";import{a as W}from"./chunk-KAGOYLAB.js";import"./chunk-YQI2LITO.js";import"./chunk-SC7LLDCL.js";import{a as x,b as I,c as j}from"./chunk-5JN45VOS.js";import"./chunk-NMH5EFPB.js";import"./chunk-5NTDCBC7.js";import{a as g}from"./chunk-DGE7Y2WF.js";import"./chunk-72TOCDWD.js";import"./chunk-N6VCNCGH.js";import{a as $,b as V}from"./chunk-J4Q6ZR4H.js";import{a as Z}from"./chunk-I4OYGRA6.js";import"./chunk-AKQNEP7V.js";import"./chunk-N6FZVG54.js";import"./chunk-GVIXCH3T.js";import{a as X}from"./chunk-YKIFKUHX.js";import{a as Q}from"./chunk-T5AOQBYV.js";import{b as Y,c as z,d as U}from"./chunk-2IMMJQM5.js";import{d as K}from"./chunk-DFXB7SZL.js";import"./chunk-OYLSJJLX.js";import{a as B}from"./chunk-BOISCMIO.js";import{a as T,c as C,d as f}from"./chunk-HKHWYVWA.js";import{a as J}from"./chunk-HJACR6CT.js";import"./chunk-L3ZF6YQH.js";import"./chunk-IHT3NRUE.js";import{a as k}from"./chunk-XK5OJOFF.js";import{a as D}from"./chunk-YLNT2FRE.js";import{e as _}from"./chunk-PIOASIZ6.js";function oe(t,e,n,o){let l=new Q;o.position&&(l.position=new U({componentDatatype:B.DOUBLE,componentsPerAttribute:3,values:t}));let i=e.length,u=t.length/3,L=(u-i*2)/(i*2),E=V.triangulate(e),q=(L-1)*i*6+E.length*2,r=X.createTypedArray(u,q),m,s,d,b,A,F,G=i*2,p=0;for(m=0;m