/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.98 * * 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. */ define(["./AxisAlignedBoundingBox-ae9b3d82","./Matrix2-cf4c6e69","./defaultValue-50f7432c","./TerrainEncoding-f4d74d0f","./IndexDatatype-ceed713e","./ComponentDatatype-9b23164a","./Transforms-c9e418cb","./WebMercatorProjection-019b6547","./createTaskProcessorWorker","./RuntimeError-48e1f06d","./AttributeCompression-b4dfdf5f","./WebGLConstants-58abc51a","./combine-8462e002"],(function(e,t,r,n,o,i,a,s,c,d,h,u,l){"use strict";function I(){a.DeveloperError.throwInstantiationError()}Object.defineProperties(I.prototype,{errorEvent:{get:a.DeveloperError.throwInstantiationError},credit:{get:a.DeveloperError.throwInstantiationError},tilingScheme:{get:a.DeveloperError.throwInstantiationError},ready:{get:a.DeveloperError.throwInstantiationError},readyPromise:{get:a.DeveloperError.throwInstantiationError},hasWaterMask:{get:a.DeveloperError.throwInstantiationError},hasVertexNormals:{get:a.DeveloperError.throwInstantiationError},availability:{get:a.DeveloperError.throwInstantiationError}});const g=[];I.getRegularGridIndices=function(e,t){let n=g[e];r.defined(n)||(g[e]=n=[]);let o=n[t];return r.defined(o)||(o=e*t