/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.114 * * 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-UFTYIC6P.js";import{a as W}from"./chunk-Y4WDS4E7.js";import"./chunk-NQBIZOW4.js";import"./chunk-G3ANYX6B.js";import{a as x,b as I,c as j}from"./chunk-UJJUWVNT.js";import"./chunk-VRFK25MX.js";import"./chunk-SDLMS6G4.js";import{a as g}from"./chunk-SCJI2CER.js";import"./chunk-RNO4G5Q4.js";import"./chunk-OFYQOYUL.js";import{a as $,b as V}from"./chunk-VELFSPBY.js";import{a as Z}from"./chunk-GLM7D42Y.js";import"./chunk-7UQWW73Z.js";import"./chunk-5W56CV6U.js";import"./chunk-FW5QB3YT.js";import{a as X}from"./chunk-Y3QWB4WF.js";import{a as Q}from"./chunk-KJJSAVM5.js";import{b as Y,c as z,d as U}from"./chunk-32QBF3VP.js";import{d as K}from"./chunk-VUQ65SO2.js";import"./chunk-XHQXTKN5.js";import"./chunk-CAREXCTE.js";import{a as B}from"./chunk-PF7ABWYW.js";import{a as T,c as C,d as f}from"./chunk-6A72MMRO.js";import{a as J}from"./chunk-4BEFMW7D.js";import"./chunk-UMJEX7YU.js";import"./chunk-72JWF3LF.js";import{a as k}from"./chunk-2F4MHS2T.js";import{a as D}from"./chunk-3Z2AZRQC.js";import{e as _}from"./chunk-A5XXOFX2.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),G=(L-1)*i*6+E.length*2,r=X.createTypedArray(u,G),m,s,d,b,A,q,F=i*2,p=0;for(m=0;m