/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.110.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-UBTZOT6V.js";import{a as W}from"./chunk-54EUFFXI.js";import"./chunk-CAKU43HZ.js";import"./chunk-WNXNCTQK.js";import{a as x,b as j}from"./chunk-2TVWWMSA.js";import{a as I}from"./chunk-W6HUVIKD.js";import"./chunk-TGTYSVRM.js";import"./chunk-ML5MKDLJ.js";import{a as g}from"./chunk-FEU4H2YL.js";import"./chunk-BV3RKX5O.js";import"./chunk-XQLAWHTP.js";import{a as $,b as V}from"./chunk-P2SABSEB.js";import{a as Z}from"./chunk-FO3UCCVP.js";import"./chunk-GTKXIG42.js";import"./chunk-EVUMPJJC.js";import"./chunk-BXMC6F3B.js";import{a as X}from"./chunk-EUSUDYW7.js";import{a as Q}from"./chunk-XYZU5ZKW.js";import{b as Y,c as z,d as U}from"./chunk-ADEEKX5Q.js";import{d as K}from"./chunk-O5E7EBKP.js";import"./chunk-LEJDAZA7.js";import{d as C}from"./chunk-GMFQULD7.js";import{a as B}from"./chunk-IS523WNE.js";import{a as T,c as f}from"./chunk-4ZQSV4FU.js";import{a as J}from"./chunk-CLQ5X6HS.js";import"./chunk-6Y3U6IMI.js";import"./chunk-7DENS74L.js";import{a as k}from"./chunk-FOJGNIAW.js";import{a as D}from"./chunk-UGI536VH.js";import{e as _}from"./chunk-BQUQ5TPM.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