Add Cesium workaround for #1640
@ -1,287 +0,0 @@
|
||||
# `CustomShader` Documentation
|
||||
|
||||
**Note**: This README is stored in `ModelExperimental/` temporarily while
|
||||
this is an experimental feature. In the future, this may move to the
|
||||
`Documentation/` directory.
|
||||
|
||||
## Constructor
|
||||
|
||||
```js
|
||||
var customShader = new Cesium.CustomShader({
|
||||
// Any custom uniforms the user wants to add to the shader.
|
||||
// these can be changed at runtime via customShader.setUniform()
|
||||
uniforms: {
|
||||
u_time: {
|
||||
value: 0, // initial value
|
||||
type: Cesium.UniformType.FLOAT
|
||||
},
|
||||
// Textures can be loaded from a URL, a Resource, or a TypedArray.
|
||||
// See the Uniforms section for more detail
|
||||
u_externalTexture: {
|
||||
value: new Cesium.TextureUniform({
|
||||
url: "http://example.com/image.png"
|
||||
}),
|
||||
type: Cesium.UniformType.SAMPLER_2D
|
||||
}
|
||||
}
|
||||
// Custom varyings that will appear in the custom vertex and fragment shader
|
||||
// text.
|
||||
varyings: {
|
||||
v_customTexCoords: Cesium.VaryingType.VEC2
|
||||
},
|
||||
// configure where in the fragment shader's materials/lighting pipeline the
|
||||
// custom shader goes. More on this below.
|
||||
mode: Cesium.CustomShaderMode.MODIFY_MATERIAL,
|
||||
// either PBR (physically-based rendering) or UNLIT depending on the desired
|
||||
// results.
|
||||
lightingModel: Cesium.LightingModel.PBR,
|
||||
// required when setting material.alpha in the fragment shader
|
||||
isTranslucent: true,
|
||||
// Custom vertex shader. This is a function from model space -> model space.
|
||||
// VertexInput is documented below
|
||||
vertexShaderText: `
|
||||
// IMPORTANT: the function signature must use these parameter names. This
|
||||
// makes it easier for the runtime to generate the shader and make optimizations.
|
||||
void vertexMain(VertexInput vsInput, inout czm_modelVertexOutput vsOutput) {
|
||||
// code goes here. An empty body is a no-op.
|
||||
}
|
||||
`,
|
||||
// Custom fragment shader.
|
||||
// FragmentInput will be documented below
|
||||
// Regardless of the mode, this always takes in a material and modifies it in place.
|
||||
fragmentShaderText: `
|
||||
// IMPORTANT: the function signature must use these parameter names. This
|
||||
// makes it easier for the runtime to generate the shader and make optimizations.
|
||||
void fragmentMain(FragmentInput fsInput, inout czm_modelMaterial material) {
|
||||
// code goes here. e.g. to set the diffuse color to a translucent red:
|
||||
material.diffuse = vec3(1.0, 0.0, 0.0);
|
||||
material.alpha = 0.5;
|
||||
}
|
||||
`,
|
||||
});
|
||||
```
|
||||
|
||||
## Applying A Custom Shader
|
||||
|
||||
Custom shaders can be applied to either 3D Tiles or `ModelExperimental` as
|
||||
follows:
|
||||
|
||||
```js
|
||||
var customShader = new Cesium.CustomShader(/* ... */);
|
||||
|
||||
// Applying to all tiles in a tileset.
|
||||
var tileset = viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
|
||||
url: "http://example.com/tileset.json",
|
||||
customShader: customShader
|
||||
}));
|
||||
|
||||
// Applying to a model directly
|
||||
var model = Cesium.ModelExperimental.fromGltf({,
|
||||
gltf: "http://example.com/model.gltf",
|
||||
customShader: customShader
|
||||
});
|
||||
```
|
||||
|
||||
**Note**: As of this writing, only tilesets that use the `3DTILES_content_gltf`
|
||||
extension will support `CustomShaders`. Future releases will add support for
|
||||
other formats such as b3dm.
|
||||
|
||||
## Uniforms
|
||||
|
||||
Custom Shaders currently supports the following uniform types:
|
||||
|
||||
| UniformType | GLSL type | JS type |
|
||||
| ------------ | ----------- | ---------------- |
|
||||
| `FLOAT` | `float` | `Number` |
|
||||
| `VEC2` | `vec2` | `Cartesian2` |
|
||||
| `VEC3` | `vec3` | `Cartesian3` |
|
||||
| `VEC4` | `vec4` | `Cartesian4` |
|
||||
| `INT` | `int` | `Number` |
|
||||
| `INT_VEC2` | `ivec2` | `Cartesian2` |
|
||||
| `INT_VEC3` | `ivec3` | `Cartesian3` |
|
||||
| `INT_VEC4` | `ivec4` | `Cartesian4` |
|
||||
| `BOOL` | `bool` | `Boolean` |
|
||||
| `BOOL_VEC2` | `bvec2` | `Cartesian2` |
|
||||
| `BOOL_VEC3` | `bvec3` | `Cartesian3` |
|
||||
| `BOOL_VEC4` | `bvec4` | `Cartesian4` |
|
||||
| `MAT2` | `mat2` | `Matrix2` |
|
||||
| `MAT3` | `mat3` | `Matrix3` |
|
||||
| `MAT4` | `mat4` | `Matrix4` |
|
||||
| `SAMPLER_2D` | `sampler2D` | `TextureUniform` |
|
||||
|
||||
### Texture Uniforms
|
||||
|
||||
Texture uniforms have more options, which have been encapsulated in the
|
||||
`TextureUniform` class. Textures can be loaded from a URL, a `Resource` or a
|
||||
typed array. Here are some examples:
|
||||
|
||||
```js
|
||||
var textureFromUrl = new Cesium.TextureUniform({
|
||||
url: "https://example.com/image.png",
|
||||
});
|
||||
|
||||
var textureFromTypedArray = new Cesium.TextureUniform({
|
||||
typedArray: new Uint8Array([255, 0, 0, 255]),
|
||||
width: 1,
|
||||
height: 1,
|
||||
pixelFormat: Cesium.PixelFormat.RGBA,
|
||||
pixelDatatype: Cesium.PixelDatatype.UNSIGNED_BYTE,
|
||||
});
|
||||
|
||||
// TextureUniform also provides options for controlling the sampler
|
||||
var textureWithSampler = new Cesium.TextureUniform({
|
||||
url: "https://example.com/image.png",
|
||||
repeat: false,
|
||||
minificationFilter: Cesium.TextureMinificationFilter.NEAREST,
|
||||
magnificationFilter: Cesium.TextureMagnificationFilter.NEAREST,
|
||||
});
|
||||
```
|
||||
|
||||
## Varyings
|
||||
|
||||
Varyings are declared in the `CustomShader` constructor. This automatically
|
||||
adds a line such as `varying float v_userDefinedVarying;` to the top of the
|
||||
GLSL shader.
|
||||
|
||||
The user is responsible for assigning a value to this varying in
|
||||
`vertexShaderText` and using it in `fragmentShaderText`. For example:
|
||||
|
||||
```js
|
||||
var customShader = new Cesium.CustomShader({
|
||||
// Varying is declared here
|
||||
varyings: {
|
||||
v_selectedColor: VaryingType.VEC3,
|
||||
},
|
||||
// User assigns the varying in the vertex shader
|
||||
vertexShaderText: `
|
||||
void vertexMain(VertexInput vsInput, inout czm_modelVertexOutput vsOutput) {
|
||||
float positiveX = step(0.0, positionMC.x);
|
||||
v_selectedColor = mix(
|
||||
vsInput.attributes.color_0,
|
||||
vsInput.attributes.color_1,
|
||||
vsOutput.positionMC.x
|
||||
);
|
||||
}
|
||||
`,
|
||||
// User uses the varying in the fragment shader
|
||||
fragmentShaderText: `
|
||||
void fragmentMain(FragmentInput fsInput, inout czm_modelMaterial material) {
|
||||
material.diffuse = v_selectedColor;
|
||||
}
|
||||
`,
|
||||
});
|
||||
```
|
||||
|
||||
Custom Shaders supports the following varying types:
|
||||
|
||||
| VaryingType | GLSL type |
|
||||
| ----------- | --------- |
|
||||
| `FLOAT` | `float` |
|
||||
| `VEC2` | `vec2` |
|
||||
| `VEC3` | `vec3` |
|
||||
| `VEC4` | `vec4` |
|
||||
| `MAT2` | `mat2` |
|
||||
| `MAT3` | `mat3` |
|
||||
| `MAT4` | `mat4` |
|
||||
|
||||
## Custom Shader Modes
|
||||
|
||||
The custom fragment shader is configurable so it can go before/after materials or lighting. here's a summary of what
|
||||
modes are available.
|
||||
|
||||
| Mode | Fragment shader pipeline | Description |
|
||||
| --------------------------- | ------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||
| `MODIFY_MATERIAL` (default) | material -> custom shader -> lighting | The custom shader modifies the results of the material stage |
|
||||
| `REPLACE_MATERIAL` | custom shader -> lighting | Don't run the material stage at all, but procedurally generate it in the custom shader |
|
||||
|
||||
In the above, "material" does preprocessing of textures, resulting in a `czm_modelMaterial`. This is mostly relevant for PBR, but even for UNLIT, the base color texture is handled.
|
||||
|
||||
## `VertexInput` struct
|
||||
|
||||
An automatically-generated GLSL struct that contains attributes.
|
||||
|
||||
```glsl
|
||||
struct VertexInput {
|
||||
// Processed attributes. See the Attributes Struct section below.
|
||||
Attributes attributes;
|
||||
// In the future, metadata will be added here.
|
||||
};
|
||||
```
|
||||
|
||||
## `FragmentInput` struct
|
||||
|
||||
This struct is similar to `VertexInput`, but there are a few more automatic
|
||||
variables for positions in various coordinate spaces.
|
||||
|
||||
```glsl
|
||||
struct FragmentInput {
|
||||
// Processed attribute values. See the Attributes Struct section below.
|
||||
Attributes attributes;
|
||||
// In the future, metadata will be added here.
|
||||
};
|
||||
```
|
||||
|
||||
## Attributes Struct
|
||||
|
||||
The `Attributes` struct is dynamically generated given the variables used in
|
||||
the custom shader and the attributes available in the primitive to render.
|
||||
|
||||
For example, if the user uses `fsInput.attributes.texCoord_0` in the shader,
|
||||
the runtime will generate the code needed to supply this value from the
|
||||
attribute `TEXCOORD_0` in the model (where available)
|
||||
|
||||
If a primitive does not have the attributes necessary to satisfy the custom
|
||||
shader, a default value will be inferred where possible so the shader still
|
||||
compiles. Otherwise, the custom vertex/fragment shader portion will be disabled
|
||||
for that primitive.
|
||||
|
||||
The full list of built-in attributes are as follows. Some attributes have a set
|
||||
index, which is one of `0, 1, 2, ...` (e.g. `texCoord_0`), these are denoted
|
||||
with an `N`.
|
||||
|
||||
| Corresponding Attribute in Model | variable in shader | Type | Available in Vertex Shader? | Available in Fragment Shader? | Description |
|
||||
| -------------------------------- | ------------------ | ------- | --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `POSITION` | `positionMC` | `vec3` | Yes | Yes | Position in model coordinates |
|
||||
| `POSITION` | `positionWC` | `vec3` | No | Yes | Position in world coordinates (WGS84 ECEF `(x, y, z)`). Low precision. |
|
||||
| `POSITION` | `positionEC` | `vec3` | No | Yes | Position in eye coordinates. |
|
||||
| `NORMAL` | `normalMC` | `vec3` | Yes | No | Unit-length normal vector in model coordinates. Only available in the vertex shader |
|
||||
| `NORMAL` | `normalEC` | `vec3` | No | Yes | Unit-length normal vector in eye coordinates. Only available in the vertex shader |
|
||||
| `TANGENT` | `tangentMC` | `vec3` | Yes | No | Unit-length tangent vector in model coordinates. This is always a `vec3`. For models that provide a `w` component, that is removed after computing the bitangent vector. |
|
||||
| `TANGENT` | `tangentEC` | `vec3` | No | Yes | Unit-length tangent vector in eye coordinates. This is always a `vec3`. For models that provide a `w` component, that is removed after computing the bitangent vector. |
|
||||
| `NORMAL` & `TANGENT` | `bitangentMC` | `vec3` | Yes | No | Unit-length bitangent vector in model coordinates. Only available when both normal and tangent vectors are available. |
|
||||
| `NORMAL` & `TANGENT` | `bitangentEC` | `vec3` | No | Yes | Unit-length bitangent vector in eye coordinates. Only available when both normal and tangent vectors are available. |
|
||||
| `TEXCOORD_N` | `texCoord_N` | `vec2` | Yes | Yes | `N`-th set of texture coordinates. |
|
||||
| `COLOR_N` | `color_N` | `vec4` | Yes | Yes | `N`-th set of vertex colors. This is always a `vec4`; if the model does not specify an alpha value, it is assumed to be 1. |
|
||||
| `JOINTS_N` | `joints_N` | `ivec4` | Yes | Yes | `N`-th set of joint indices |
|
||||
| `WEIGHTS_N` | `weights_N` | `vec4` |
|
||||
|
||||
Custom attributes are also available, though they are renamed to use lowercase
|
||||
letters and underscores. For example, an attribute called `_SURFACE_TEMPERATURE`
|
||||
in the model would become `fsInput.attributes.surface_temperature` in the shader.
|
||||
|
||||
## `czm_modelVertexOutput` struct
|
||||
|
||||
This struct is built-in, see the [documentation comment](../../../Shaders/Builtin/Structs/modelVertexOutput.glsl).
|
||||
|
||||
This struct contains the output of the custom vertex shader. This includes:
|
||||
|
||||
- `positionMC` - The vertex position in model space coordinates. This struct
|
||||
field can be used e.g. to perturb or animate vertices. It is initialized to
|
||||
`vsInput.attributes.positionMC`. The custom shader may modify this, and the
|
||||
result is used to compute `gl_Position`.
|
||||
- `pointSize` - corresponds to `gl_PointSize`. This is only applied for models
|
||||
rendered as `gl.POINTS`, and ignored otherwise.
|
||||
|
||||
> **Implementation Note**: `positionMC` does not modify the primitive's bounding
|
||||
> sphere. If vertices are moved outside the bounding sphere, the primitive may
|
||||
> be unintentionally culled depending on the view frustum.
|
||||
|
||||
## `czm_modelMaterial` struct
|
||||
|
||||
This struct is a built-in, see the [documentation comment](../../../Shaders/Builtin/Structs/modelMaterial.glsl). This is similar to `czm_material` from the old Fabric system, but slightly different fields as this one supports PBR lighting.
|
||||
|
||||
This struct serves as the basic input/output of the fragment shader pipeline stages. For example:
|
||||
|
||||
- the material stage produces a material
|
||||
- the lighting stage takes in a material, computes lighting, and stores the result into `material.diffuse`
|
||||
- Custom shaders (regardless of where in the pipeline it is) takes in a material (even if it's a material with default values) and modifies this.
|
@ -1,117 +0,0 @@
|
||||
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(m){var n=0;return function(){return n<m.length?{done:!1,value:m[n++]}:{done:!0}}};$jscomp.arrayIterator=function(m){return{next:$jscomp.arrayIteratorImpl(m)}};$jscomp.makeIterator=function(m){var n="undefined"!=typeof Symbol&&Symbol.iterator&&m[Symbol.iterator];return n?n.call(m):$jscomp.arrayIterator(m)};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
|
||||
$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;$jscomp.getGlobal=function(m){m=["object"==typeof globalThis&&globalThis,m,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var n=0;n<m.length;++n){var h=m[n];if(h&&h.Math==Math)return h}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
|
||||
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(m,n,h){if(m==Array.prototype||m==Object.prototype)return m;m[n]=h.value;return m};$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";
|
||||
var $jscomp$lookupPolyfilledValue=function(m,n){var h=$jscomp.propertyToPolyfillSymbol[n];if(null==h)return m[n];h=m[h];return void 0!==h?h:m[n]};$jscomp.polyfill=function(m,n,h,q){n&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(m,n,h,q):$jscomp.polyfillUnisolated(m,n,h,q))};
|
||||
$jscomp.polyfillUnisolated=function(m,n,h,q){h=$jscomp.global;m=m.split(".");for(q=0;q<m.length-1;q++){var k=m[q];if(!(k in h))return;h=h[k]}m=m[m.length-1];q=h[m];n=n(q);n!=q&&null!=n&&$jscomp.defineProperty(h,m,{configurable:!0,writable:!0,value:n})};
|
||||
$jscomp.polyfillIsolated=function(m,n,h,q){var k=m.split(".");m=1===k.length;q=k[0];q=!m&&q in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var z=0;z<k.length-1;z++){var g=k[z];if(!(g in q))return;q=q[g]}k=k[k.length-1];h=$jscomp.IS_SYMBOL_NATIVE&&"es6"===h?q[k]:null;n=n(h);null!=n&&(m?$jscomp.defineProperty($jscomp.polyfills,k,{configurable:!0,writable:!0,value:n}):n!==h&&(void 0===$jscomp.propertyToPolyfillSymbol[k]&&(h=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[k]=$jscomp.IS_SYMBOL_NATIVE?
|
||||
$jscomp.global.Symbol(k):$jscomp.POLYFILL_PREFIX+h+"$"+k),$jscomp.defineProperty(q,$jscomp.propertyToPolyfillSymbol[k],{configurable:!0,writable:!0,value:n})))};
|
||||
$jscomp.polyfill("Promise",function(m){function n(){this.batch_=null}function h(g){return g instanceof k?g:new k(function(p,u){p(g)})}if(m&&(!($jscomp.FORCE_POLYFILL_PROMISE||$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION&&"undefined"===typeof $jscomp.global.PromiseRejectionEvent)||!$jscomp.global.Promise||-1===$jscomp.global.Promise.toString().indexOf("[native code]")))return m;n.prototype.asyncExecute=function(g){if(null==this.batch_){this.batch_=[];var p=this;this.asyncExecuteFunction(function(){p.executeBatch_()})}this.batch_.push(g)};
|
||||
var q=$jscomp.global.setTimeout;n.prototype.asyncExecuteFunction=function(g){q(g,0)};n.prototype.executeBatch_=function(){for(;this.batch_&&this.batch_.length;){var g=this.batch_;this.batch_=[];for(var p=0;p<g.length;++p){var u=g[p];g[p]=null;try{u()}catch(A){this.asyncThrow_(A)}}}this.batch_=null};n.prototype.asyncThrow_=function(g){this.asyncExecuteFunction(function(){throw g;})};var k=function(g){this.state_=0;this.result_=void 0;this.onSettledCallbacks_=[];this.isRejectionHandled_=!1;var p=this.createResolveAndReject_();
|
||||
try{g(p.resolve,p.reject)}catch(u){p.reject(u)}};k.prototype.createResolveAndReject_=function(){function g(A){return function(E){u||(u=!0,A.call(p,E))}}var p=this,u=!1;return{resolve:g(this.resolveTo_),reject:g(this.reject_)}};k.prototype.resolveTo_=function(g){if(g===this)this.reject_(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof k)this.settleSameAsPromise_(g);else{a:switch(typeof g){case "object":var p=null!=g;break a;case "function":p=!0;break a;default:p=!1}p?this.resolveToNonPromiseObj_(g):
|
||||
this.fulfill_(g)}};k.prototype.resolveToNonPromiseObj_=function(g){var p=void 0;try{p=g.then}catch(u){this.reject_(u);return}"function"==typeof p?this.settleSameAsThenable_(p,g):this.fulfill_(g)};k.prototype.reject_=function(g){this.settle_(2,g)};k.prototype.fulfill_=function(g){this.settle_(1,g)};k.prototype.settle_=function(g,p){if(0!=this.state_)throw Error("Cannot settle("+g+", "+p+"): Promise already settled in state"+this.state_);this.state_=g;this.result_=p;2===this.state_&&this.scheduleUnhandledRejectionCheck_();
|
||||
this.executeOnSettledCallbacks_()};k.prototype.scheduleUnhandledRejectionCheck_=function(){var g=this;q(function(){if(g.notifyUnhandledRejection_()){var p=$jscomp.global.console;"undefined"!==typeof p&&p.error(g.result_)}},1)};k.prototype.notifyUnhandledRejection_=function(){if(this.isRejectionHandled_)return!1;var g=$jscomp.global.CustomEvent,p=$jscomp.global.Event,u=$jscomp.global.dispatchEvent;if("undefined"===typeof u)return!0;"function"===typeof g?g=new g("unhandledrejection",{cancelable:!0}):
|
||||
"function"===typeof p?g=new p("unhandledrejection",{cancelable:!0}):(g=$jscomp.global.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.result_;return u(g)};k.prototype.executeOnSettledCallbacks_=function(){if(null!=this.onSettledCallbacks_){for(var g=0;g<this.onSettledCallbacks_.length;++g)z.asyncExecute(this.onSettledCallbacks_[g]);this.onSettledCallbacks_=null}};var z=new n;k.prototype.settleSameAsPromise_=function(g){var p=this.createResolveAndReject_();
|
||||
g.callWhenSettled_(p.resolve,p.reject)};k.prototype.settleSameAsThenable_=function(g,p){var u=this.createResolveAndReject_();try{g.call(p,u.resolve,u.reject)}catch(A){u.reject(A)}};k.prototype.then=function(g,p){function u(U,V){return"function"==typeof U?function(v){try{A(U(v))}catch(x){E(x)}}:V}var A,E,ea=new k(function(U,V){A=U;E=V});this.callWhenSettled_(u(g,A),u(p,E));return ea};k.prototype.catch=function(g){return this.then(void 0,g)};k.prototype.callWhenSettled_=function(g,p){function u(){switch(A.state_){case 1:g(A.result_);
|
||||
break;case 2:p(A.result_);break;default:throw Error("Unexpected state: "+A.state_);}}var A=this;null==this.onSettledCallbacks_?z.asyncExecute(u):this.onSettledCallbacks_.push(u);this.isRejectionHandled_=!0};k.resolve=h;k.reject=function(g){return new k(function(p,u){u(g)})};k.race=function(g){return new k(function(p,u){for(var A=$jscomp.makeIterator(g),E=A.next();!E.done;E=A.next())h(E.value).callWhenSettled_(p,u)})};k.all=function(g){var p=$jscomp.makeIterator(g),u=p.next();return u.done?h([]):new k(function(A,
|
||||
E){function ea(v){return function(x){U[v]=x;V--;0==V&&A(U)}}var U=[],V=0;do U.push(void 0),V++,h(u.value).callWhenSettled_(ea(U.length-1),E),u=p.next();while(!u.done)})};return k},"es6","es3");$jscomp.checkStringArgs=function(m,n,h){if(null==m)throw new TypeError("The 'this' value for String.prototype."+h+" must not be null or undefined");if(n instanceof RegExp)throw new TypeError("First argument to String.prototype."+h+" must not be a regular expression");return m+""};
|
||||
$jscomp.polyfill("String.prototype.startsWith",function(m){return m?m:function(n,h){var q=$jscomp.checkStringArgs(this,n,"startsWith");n+="";var k=q.length,z=n.length;h=Math.max(0,Math.min(h|0,q.length));for(var g=0;g<z&&h<k;)if(q[h++]!=n[g++])return!1;return g>=z}},"es6","es3");
|
||||
$jscomp.polyfill("Array.prototype.copyWithin",function(m){function n(h){h=Number(h);return Infinity===h||-Infinity===h?h:h|0}return m?m:function(h,q,k){var z=this.length;h=n(h);q=n(q);k=void 0===k?z:n(k);h=0>h?Math.max(z+h,0):Math.min(h,z);q=0>q?Math.max(z+q,0):Math.min(q,z);k=0>k?Math.max(z+k,0):Math.min(k,z);if(h<q)for(;q<k;)q in this?this[h++]=this[q++]:(delete this[h++],q++);else for(k=Math.min(k,z+q-h),h+=k-q;k>q;)--k in this?this[--h]=this[k]:delete this[--h];return this}},"es6","es3");
|
||||
$jscomp.typedArrayCopyWithin=function(m){return m?m:Array.prototype.copyWithin};$jscomp.polyfill("Int8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint8ClampedArray.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
|
||||
$jscomp.polyfill("Uint16Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Int32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Uint32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float32Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");$jscomp.polyfill("Float64Array.prototype.copyWithin",$jscomp.typedArrayCopyWithin,"es6","es5");
|
||||
var DracoDecoderModule=function(){var m="undefined"!==typeof document&&document.currentScript?document.currentScript.src:void 0;"undefined"!==typeof __filename&&(m=m||__filename);return function(n){function h(e){return a.locateFile?a.locateFile(e,W):W+e}function q(e,b){e||p("Assertion failed: "+b)}function k(e,b,c){var d=b+c;for(c=b;e[c]&&!(c>=d);)++c;if(16<c-b&&e.subarray&&Aa)return Aa.decode(e.subarray(b,c));for(d="";b<c;){var f=e[b++];if(f&128){var t=e[b++]&63;if(192==(f&224))d+=String.fromCharCode((f&
|
||||
31)<<6|t);else{var X=e[b++]&63;f=224==(f&240)?(f&15)<<12|t<<6|X:(f&7)<<18|t<<12|X<<6|e[b++]&63;65536>f?d+=String.fromCharCode(f):(f-=65536,d+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else d+=String.fromCharCode(f)}return d}function z(e,b){return e?k(ja,e,b):""}function g(e){Ba=e;a.HEAP8=Z=new Int8Array(e);a.HEAP16=new Int16Array(e);a.HEAP32=F=new Int32Array(e);a.HEAPU8=ja=new Uint8Array(e);a.HEAPU16=new Uint16Array(e);a.HEAPU32=new Uint32Array(e);a.HEAPF32=new Float32Array(e);a.HEAPF64=new Float64Array(e)}
|
||||
function p(e){if(a.onAbort)a.onAbort(e);e="Aborted("+e+")";fa(e);Ca=!0;e=new WebAssembly.RuntimeError(e+". Build with -s ASSERTIONS=1 for more info.");sa(e);throw e;}function u(e){try{if(e==P&&ka)return new Uint8Array(ka);if(ta)return ta(e);throw"both async and sync fetching of the wasm failed";}catch(b){p(b)}}function A(){if(!ka&&(Da||la)){if("function"===typeof fetch&&!P.startsWith("file://"))return fetch(P,{credentials:"same-origin"}).then(function(e){if(!e.ok)throw"failed to load wasm binary file at '"+
|
||||
P+"'";return e.arrayBuffer()}).catch(function(){return u(P)});if(ua)return new Promise(function(e,b){ua(P,function(c){e(new Uint8Array(c))},b)})}return Promise.resolve().then(function(){return u(P)})}function E(e){for(;0<e.length;){var b=e.shift();if("function"==typeof b)b(a);else{var c=b.func;"number"===typeof c?void 0===b.arg?ea(c)():ea(c)(b.arg):c(void 0===b.arg?null:b.arg)}}}function ea(e){var b=pa[e];b||(e>=pa.length&&(pa.length=e+1),pa[e]=b=Ea.get(e));return b}function U(e){this.excPtr=e;this.ptr=
|
||||
e-16;this.set_type=function(b){F[this.ptr+4>>2]=b};this.get_type=function(){return F[this.ptr+4>>2]};this.set_destructor=function(b){F[this.ptr+8>>2]=b};this.get_destructor=function(){return F[this.ptr+8>>2]};this.set_refcount=function(b){F[this.ptr>>2]=b};this.set_caught=function(b){Z[this.ptr+12>>0]=b?1:0};this.get_caught=function(){return 0!=Z[this.ptr+12>>0]};this.set_rethrown=function(b){Z[this.ptr+13>>0]=b?1:0};this.get_rethrown=function(){return 0!=Z[this.ptr+13>>0]};this.init=function(b,c){this.set_type(b);
|
||||
this.set_destructor(c);this.set_refcount(0);this.set_caught(!1);this.set_rethrown(!1)};this.add_ref=function(){F[this.ptr>>2]+=1};this.release_ref=function(){var b=F[this.ptr>>2];F[this.ptr>>2]=b-1;return 1===b}}function V(e){function b(){if(!qa&&(qa=!0,a.calledRun=!0,!Ca)){Fa=!0;E(va);Ga(a);if(a.onRuntimeInitialized)a.onRuntimeInitialized();if(a.postRun)for("function"==typeof a.postRun&&(a.postRun=[a.postRun]);a.postRun.length;)Ha.unshift(a.postRun.shift());E(Ha)}}if(!(0<da)){if(a.preRun)for("function"==
|
||||
typeof a.preRun&&(a.preRun=[a.preRun]);a.preRun.length;)Ia.unshift(a.preRun.shift());E(Ia);0<da||(a.setStatus?(a.setStatus("Running..."),setTimeout(function(){setTimeout(function(){a.setStatus("")},1);b()},1)):b())}}function v(){}function x(e){return(e||v).__cache__}function R(e,b){var c=x(b),d=c[e];if(d)return d;d=Object.create((b||v).prototype);d.ptr=e;return c[e]=d}function ba(e){if("string"===typeof e){for(var b=0,c=0;c<e.length;++c){var d=e.charCodeAt(c);55296<=d&&57343>=d&&(d=65536+((d&1023)<<
|
||||
10)|e.charCodeAt(++c)&1023);127>=d?++b:b=2047>=d?b+2:65535>=d?b+3:b+4}b=Array(b+1);c=0;d=b.length;if(0<d){d=c+d-1;for(var f=0;f<e.length;++f){var t=e.charCodeAt(f);if(55296<=t&&57343>=t){var X=e.charCodeAt(++f);t=65536+((t&1023)<<10)|X&1023}if(127>=t){if(c>=d)break;b[c++]=t}else{if(2047>=t){if(c+1>=d)break;b[c++]=192|t>>6}else{if(65535>=t){if(c+2>=d)break;b[c++]=224|t>>12}else{if(c+3>=d)break;b[c++]=240|t>>18;b[c++]=128|t>>12&63}b[c++]=128|t>>6&63}b[c++]=128|t&63}}b[c]=0}e=r.alloc(b,Z);r.copy(b,Z,
|
||||
e);return e}return e}function wa(e){if("object"===typeof e){var b=r.alloc(e,Z);r.copy(e,Z,b);return b}return e}function aa(){throw"cannot construct a VoidPtr, no constructor in IDL";}function S(){this.ptr=Ja();x(S)[this.ptr]=this}function Q(){this.ptr=Ka();x(Q)[this.ptr]=this}function Y(){this.ptr=La();x(Y)[this.ptr]=this}function w(){this.ptr=Ma();x(w)[this.ptr]=this}function C(){this.ptr=Na();x(C)[this.ptr]=this}function G(){this.ptr=Oa();x(G)[this.ptr]=this}function H(){this.ptr=Pa();x(H)[this.ptr]=
|
||||
this}function D(){this.ptr=Qa();x(D)[this.ptr]=this}function T(){this.ptr=Ra();x(T)[this.ptr]=this}function B(){throw"cannot construct a Status, no constructor in IDL";}function I(){this.ptr=Sa();x(I)[this.ptr]=this}function J(){this.ptr=Ta();x(J)[this.ptr]=this}function K(){this.ptr=Ua();x(K)[this.ptr]=this}function L(){this.ptr=Va();x(L)[this.ptr]=this}function M(){this.ptr=Wa();x(M)[this.ptr]=this}function N(){this.ptr=Xa();x(N)[this.ptr]=this}function O(){this.ptr=Ya();x(O)[this.ptr]=this}function y(){this.ptr=
|
||||
Za();x(y)[this.ptr]=this}function l(){this.ptr=$a();x(l)[this.ptr]=this}n=n||{};var a="undefined"!==typeof n?n:{},Ga,sa;a.ready=new Promise(function(e,b){Ga=e;sa=b});var ab=!1,bb=!1;a.onRuntimeInitialized=function(){ab=!0;if(bb&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.onModuleParsed=function(){bb=!0;if(ab&&"function"===typeof a.onModuleLoaded)a.onModuleLoaded(a)};a.isVersionSupported=function(e){if("string"!==typeof e)return!1;e=e.split(".");return 2>e.length||3<e.length?!1:1==
|
||||
e[0]&&0<=e[1]&&5>=e[1]?!0:0!=e[0]||10<e[1]?!1:!0};var ma={},ca;for(ca in a)a.hasOwnProperty(ca)&&(ma[ca]=a[ca]);var Da="object"===typeof window,la="function"===typeof importScripts,W="",ha,ia;if("object"===typeof process&&"object"===typeof process.versions&&"string"===typeof process.versions.node){W=la?require("path").dirname(W)+"/":__dirname+"/";var cb=function(e,b){ha||(ha=require("fs"));ia||(ia=require("path"));e=ia.normalize(e);return ha.readFileSync(e,b?null:"utf8")};var ta=function(e){e=cb(e,
|
||||
!0);e.buffer||(e=new Uint8Array(e));q(e.buffer);return e};var ua=function(e,b,c){ha||(ha=require("fs"));ia||(ia=require("path"));e=ia.normalize(e);ha.readFile(e,function(d,f){d?c(d):b(f.buffer)})};1<process.argv.length&&process.argv[1].replace(/\\/g,"/");process.argv.slice(2);a.inspect=function(){return"[Emscripten Module object]"}}else if(Da||la)la?W=self.location.href:"undefined"!==typeof document&&document.currentScript&&(W=document.currentScript.src),m&&(W=m),W=0!==W.indexOf("blob:")?W.substr(0,
|
||||
W.replace(/[?#].*/,"").lastIndexOf("/")+1):"",cb=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.send(null);return b.responseText},la&&(ta=function(e){var b=new XMLHttpRequest;b.open("GET",e,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),ua=function(e,b,c){var d=new XMLHttpRequest;d.open("GET",e,!0);d.responseType="arraybuffer";d.onload=function(){200==d.status||0==d.status&&d.response?b(d.response):c()};d.onerror=c;d.send(null)};var xd=a.print||console.log.bind(console),
|
||||
fa=a.printErr||console.warn.bind(console);for(ca in ma)ma.hasOwnProperty(ca)&&(a[ca]=ma[ca]);ma=null;var ka;a.wasmBinary&&(ka=a.wasmBinary);"object"!==typeof WebAssembly&&p("no native wasm support detected");var ra,Ca=!1,Aa="undefined"!==typeof TextDecoder?new TextDecoder("utf8"):void 0,Ba,Z,ja,F,Ea,Ia=[],va=[],Ha=[],Fa=!1,da=0,xa=null,na=null;a.preloadedImages={};a.preloadedAudios={};var P="draco_decoder.wasm";P.startsWith("data:application/octet-stream;base64,")||(P=h(P));var pa=[],yd=0,oa={mappings:{},
|
||||
buffers:[null,[],[]],printChar:function(e,b){var c=oa.buffers[e];0===b||10===b?((1===e?xd:fa)(k(c,0)),c.length=0):c.push(b)},varargs:void 0,get:function(){oa.varargs+=4;return F[oa.varargs-4>>2]},getStr:function(e){return z(e)},get64:function(e,b){return e}},zd={h:function(e){return db(e+16)+16},g:function(e,b,c){(new U(e)).init(b,c);yd++;throw e;},a:function(){p("")},d:function(e,b,c){ja.copyWithin(e,b,b+c)},e:function(e){var b=ja.length;e>>>=0;if(2147483648<e)return!1;for(var c=1;4>=c;c*=2){var d=
|
||||
b*(1+.2/c);d=Math.min(d,e+100663296);var f=Math,t=f.min;d=Math.max(e,d);0<d%65536&&(d+=65536-d%65536);f=t.call(f,2147483648,d);a:{try{ra.grow(f-Ba.byteLength+65535>>>16);g(ra.buffer);var X=1;break a}catch(ya){}X=void 0}if(X)return!0}return!1},f:function(e){return 0},c:function(e,b,c,d,f){},b:function(e,b,c,d){for(var f=0,t=0;t<c;t++){var X=F[b>>2],ya=F[b+4>>2];b+=8;for(var za=0;za<ya;za++)oa.printChar(e,ja[X+za]);f+=ya}F[d>>2]=f;return 0}};(function(){function e(f,t){a.asm=f.exports;ra=a.asm.i;g(ra.buffer);
|
||||
Ea=a.asm.k;va.unshift(a.asm.j);da--;a.monitorRunDependencies&&a.monitorRunDependencies(da);0==da&&(null!==xa&&(clearInterval(xa),xa=null),na&&(f=na,na=null,f()))}function b(f){e(f.instance)}function c(f){return A().then(function(t){return WebAssembly.instantiate(t,d)}).then(function(t){return t}).then(f,function(t){fa("failed to asynchronously prepare wasm: "+t);p(t)})}var d={a:zd};da++;a.monitorRunDependencies&&a.monitorRunDependencies(da);if(a.instantiateWasm)try{return a.instantiateWasm(d,e)}catch(f){return fa("Module.instantiateWasm callback failed with error: "+
|
||||
f),!1}(function(){return ka||"function"!==typeof WebAssembly.instantiateStreaming||P.startsWith("data:application/octet-stream;base64,")||P.startsWith("file://")||"function"!==typeof fetch?c(b):fetch(P,{credentials:"same-origin"}).then(function(f){return WebAssembly.instantiateStreaming(f,d).then(b,function(t){fa("wasm streaming compile failed: "+t);fa("falling back to ArrayBuffer instantiation");return c(b)})})})().catch(sa);return{}})();a.___wasm_call_ctors=function(){return(a.___wasm_call_ctors=
|
||||
a.asm.j).apply(null,arguments)};var eb=a._emscripten_bind_VoidPtr___destroy___0=function(){return(eb=a._emscripten_bind_VoidPtr___destroy___0=a.asm.l).apply(null,arguments)},Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=function(){return(Ja=a._emscripten_bind_DecoderBuffer_DecoderBuffer_0=a.asm.m).apply(null,arguments)},fb=a._emscripten_bind_DecoderBuffer_Init_2=function(){return(fb=a._emscripten_bind_DecoderBuffer_Init_2=a.asm.n).apply(null,arguments)},gb=a._emscripten_bind_DecoderBuffer___destroy___0=
|
||||
function(){return(gb=a._emscripten_bind_DecoderBuffer___destroy___0=a.asm.o).apply(null,arguments)},Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=function(){return(Ka=a._emscripten_bind_AttributeTransformData_AttributeTransformData_0=a.asm.p).apply(null,arguments)},hb=a._emscripten_bind_AttributeTransformData_transform_type_0=function(){return(hb=a._emscripten_bind_AttributeTransformData_transform_type_0=a.asm.q).apply(null,arguments)},ib=a._emscripten_bind_AttributeTransformData___destroy___0=
|
||||
function(){return(ib=a._emscripten_bind_AttributeTransformData___destroy___0=a.asm.r).apply(null,arguments)},La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=function(){return(La=a._emscripten_bind_GeometryAttribute_GeometryAttribute_0=a.asm.s).apply(null,arguments)},jb=a._emscripten_bind_GeometryAttribute___destroy___0=function(){return(jb=a._emscripten_bind_GeometryAttribute___destroy___0=a.asm.t).apply(null,arguments)},Ma=a._emscripten_bind_PointAttribute_PointAttribute_0=function(){return(Ma=
|
||||
a._emscripten_bind_PointAttribute_PointAttribute_0=a.asm.u).apply(null,arguments)},kb=a._emscripten_bind_PointAttribute_size_0=function(){return(kb=a._emscripten_bind_PointAttribute_size_0=a.asm.v).apply(null,arguments)},lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=function(){return(lb=a._emscripten_bind_PointAttribute_GetAttributeTransformData_0=a.asm.w).apply(null,arguments)},mb=a._emscripten_bind_PointAttribute_attribute_type_0=function(){return(mb=a._emscripten_bind_PointAttribute_attribute_type_0=
|
||||
a.asm.x).apply(null,arguments)},nb=a._emscripten_bind_PointAttribute_data_type_0=function(){return(nb=a._emscripten_bind_PointAttribute_data_type_0=a.asm.y).apply(null,arguments)},ob=a._emscripten_bind_PointAttribute_num_components_0=function(){return(ob=a._emscripten_bind_PointAttribute_num_components_0=a.asm.z).apply(null,arguments)},pb=a._emscripten_bind_PointAttribute_normalized_0=function(){return(pb=a._emscripten_bind_PointAttribute_normalized_0=a.asm.A).apply(null,arguments)},qb=a._emscripten_bind_PointAttribute_byte_stride_0=
|
||||
function(){return(qb=a._emscripten_bind_PointAttribute_byte_stride_0=a.asm.B).apply(null,arguments)},rb=a._emscripten_bind_PointAttribute_byte_offset_0=function(){return(rb=a._emscripten_bind_PointAttribute_byte_offset_0=a.asm.C).apply(null,arguments)},sb=a._emscripten_bind_PointAttribute_unique_id_0=function(){return(sb=a._emscripten_bind_PointAttribute_unique_id_0=a.asm.D).apply(null,arguments)},tb=a._emscripten_bind_PointAttribute___destroy___0=function(){return(tb=a._emscripten_bind_PointAttribute___destroy___0=
|
||||
a.asm.E).apply(null,arguments)},Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=function(){return(Na=a._emscripten_bind_AttributeQuantizationTransform_AttributeQuantizationTransform_0=a.asm.F).apply(null,arguments)},ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=function(){return(ub=a._emscripten_bind_AttributeQuantizationTransform_InitFromAttribute_1=a.asm.G).apply(null,arguments)},vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=
|
||||
function(){return(vb=a._emscripten_bind_AttributeQuantizationTransform_quantization_bits_0=a.asm.H).apply(null,arguments)},wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=function(){return(wb=a._emscripten_bind_AttributeQuantizationTransform_min_value_1=a.asm.I).apply(null,arguments)},xb=a._emscripten_bind_AttributeQuantizationTransform_range_0=function(){return(xb=a._emscripten_bind_AttributeQuantizationTransform_range_0=a.asm.J).apply(null,arguments)},yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=
|
||||
function(){return(yb=a._emscripten_bind_AttributeQuantizationTransform___destroy___0=a.asm.K).apply(null,arguments)},Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=function(){return(Oa=a._emscripten_bind_AttributeOctahedronTransform_AttributeOctahedronTransform_0=a.asm.L).apply(null,arguments)},zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=function(){return(zb=a._emscripten_bind_AttributeOctahedronTransform_InitFromAttribute_1=a.asm.M).apply(null,
|
||||
arguments)},Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=function(){return(Ab=a._emscripten_bind_AttributeOctahedronTransform_quantization_bits_0=a.asm.N).apply(null,arguments)},Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=function(){return(Bb=a._emscripten_bind_AttributeOctahedronTransform___destroy___0=a.asm.O).apply(null,arguments)},Pa=a._emscripten_bind_PointCloud_PointCloud_0=function(){return(Pa=a._emscripten_bind_PointCloud_PointCloud_0=a.asm.P).apply(null,
|
||||
arguments)},Cb=a._emscripten_bind_PointCloud_num_attributes_0=function(){return(Cb=a._emscripten_bind_PointCloud_num_attributes_0=a.asm.Q).apply(null,arguments)},Db=a._emscripten_bind_PointCloud_num_points_0=function(){return(Db=a._emscripten_bind_PointCloud_num_points_0=a.asm.R).apply(null,arguments)},Eb=a._emscripten_bind_PointCloud___destroy___0=function(){return(Eb=a._emscripten_bind_PointCloud___destroy___0=a.asm.S).apply(null,arguments)},Qa=a._emscripten_bind_Mesh_Mesh_0=function(){return(Qa=
|
||||
a._emscripten_bind_Mesh_Mesh_0=a.asm.T).apply(null,arguments)},Fb=a._emscripten_bind_Mesh_num_faces_0=function(){return(Fb=a._emscripten_bind_Mesh_num_faces_0=a.asm.U).apply(null,arguments)},Gb=a._emscripten_bind_Mesh_num_attributes_0=function(){return(Gb=a._emscripten_bind_Mesh_num_attributes_0=a.asm.V).apply(null,arguments)},Hb=a._emscripten_bind_Mesh_num_points_0=function(){return(Hb=a._emscripten_bind_Mesh_num_points_0=a.asm.W).apply(null,arguments)},Ib=a._emscripten_bind_Mesh___destroy___0=function(){return(Ib=
|
||||
a._emscripten_bind_Mesh___destroy___0=a.asm.X).apply(null,arguments)},Ra=a._emscripten_bind_Metadata_Metadata_0=function(){return(Ra=a._emscripten_bind_Metadata_Metadata_0=a.asm.Y).apply(null,arguments)},Jb=a._emscripten_bind_Metadata___destroy___0=function(){return(Jb=a._emscripten_bind_Metadata___destroy___0=a.asm.Z).apply(null,arguments)},Kb=a._emscripten_bind_Status_code_0=function(){return(Kb=a._emscripten_bind_Status_code_0=a.asm._).apply(null,arguments)},Lb=a._emscripten_bind_Status_ok_0=function(){return(Lb=
|
||||
a._emscripten_bind_Status_ok_0=a.asm.$).apply(null,arguments)},Mb=a._emscripten_bind_Status_error_msg_0=function(){return(Mb=a._emscripten_bind_Status_error_msg_0=a.asm.aa).apply(null,arguments)},Nb=a._emscripten_bind_Status___destroy___0=function(){return(Nb=a._emscripten_bind_Status___destroy___0=a.asm.ba).apply(null,arguments)},Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=function(){return(Sa=a._emscripten_bind_DracoFloat32Array_DracoFloat32Array_0=a.asm.ca).apply(null,arguments)},
|
||||
Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=function(){return(Ob=a._emscripten_bind_DracoFloat32Array_GetValue_1=a.asm.da).apply(null,arguments)},Pb=a._emscripten_bind_DracoFloat32Array_size_0=function(){return(Pb=a._emscripten_bind_DracoFloat32Array_size_0=a.asm.ea).apply(null,arguments)},Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=function(){return(Qb=a._emscripten_bind_DracoFloat32Array___destroy___0=a.asm.fa).apply(null,arguments)},Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=
|
||||
function(){return(Ta=a._emscripten_bind_DracoInt8Array_DracoInt8Array_0=a.asm.ga).apply(null,arguments)},Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=function(){return(Rb=a._emscripten_bind_DracoInt8Array_GetValue_1=a.asm.ha).apply(null,arguments)},Sb=a._emscripten_bind_DracoInt8Array_size_0=function(){return(Sb=a._emscripten_bind_DracoInt8Array_size_0=a.asm.ia).apply(null,arguments)},Tb=a._emscripten_bind_DracoInt8Array___destroy___0=function(){return(Tb=a._emscripten_bind_DracoInt8Array___destroy___0=
|
||||
a.asm.ja).apply(null,arguments)},Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=function(){return(Ua=a._emscripten_bind_DracoUInt8Array_DracoUInt8Array_0=a.asm.ka).apply(null,arguments)},Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1=function(){return(Ub=a._emscripten_bind_DracoUInt8Array_GetValue_1=a.asm.la).apply(null,arguments)},Vb=a._emscripten_bind_DracoUInt8Array_size_0=function(){return(Vb=a._emscripten_bind_DracoUInt8Array_size_0=a.asm.ma).apply(null,arguments)},Wb=a._emscripten_bind_DracoUInt8Array___destroy___0=
|
||||
function(){return(Wb=a._emscripten_bind_DracoUInt8Array___destroy___0=a.asm.na).apply(null,arguments)},Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=function(){return(Va=a._emscripten_bind_DracoInt16Array_DracoInt16Array_0=a.asm.oa).apply(null,arguments)},Xb=a._emscripten_bind_DracoInt16Array_GetValue_1=function(){return(Xb=a._emscripten_bind_DracoInt16Array_GetValue_1=a.asm.pa).apply(null,arguments)},Yb=a._emscripten_bind_DracoInt16Array_size_0=function(){return(Yb=a._emscripten_bind_DracoInt16Array_size_0=
|
||||
a.asm.qa).apply(null,arguments)},Zb=a._emscripten_bind_DracoInt16Array___destroy___0=function(){return(Zb=a._emscripten_bind_DracoInt16Array___destroy___0=a.asm.ra).apply(null,arguments)},Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=function(){return(Wa=a._emscripten_bind_DracoUInt16Array_DracoUInt16Array_0=a.asm.sa).apply(null,arguments)},$b=a._emscripten_bind_DracoUInt16Array_GetValue_1=function(){return($b=a._emscripten_bind_DracoUInt16Array_GetValue_1=a.asm.ta).apply(null,arguments)},
|
||||
ac=a._emscripten_bind_DracoUInt16Array_size_0=function(){return(ac=a._emscripten_bind_DracoUInt16Array_size_0=a.asm.ua).apply(null,arguments)},bc=a._emscripten_bind_DracoUInt16Array___destroy___0=function(){return(bc=a._emscripten_bind_DracoUInt16Array___destroy___0=a.asm.va).apply(null,arguments)},Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=function(){return(Xa=a._emscripten_bind_DracoInt32Array_DracoInt32Array_0=a.asm.wa).apply(null,arguments)},cc=a._emscripten_bind_DracoInt32Array_GetValue_1=
|
||||
function(){return(cc=a._emscripten_bind_DracoInt32Array_GetValue_1=a.asm.xa).apply(null,arguments)},dc=a._emscripten_bind_DracoInt32Array_size_0=function(){return(dc=a._emscripten_bind_DracoInt32Array_size_0=a.asm.ya).apply(null,arguments)},ec=a._emscripten_bind_DracoInt32Array___destroy___0=function(){return(ec=a._emscripten_bind_DracoInt32Array___destroy___0=a.asm.za).apply(null,arguments)},Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=function(){return(Ya=a._emscripten_bind_DracoUInt32Array_DracoUInt32Array_0=
|
||||
a.asm.Aa).apply(null,arguments)},fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=function(){return(fc=a._emscripten_bind_DracoUInt32Array_GetValue_1=a.asm.Ba).apply(null,arguments)},gc=a._emscripten_bind_DracoUInt32Array_size_0=function(){return(gc=a._emscripten_bind_DracoUInt32Array_size_0=a.asm.Ca).apply(null,arguments)},hc=a._emscripten_bind_DracoUInt32Array___destroy___0=function(){return(hc=a._emscripten_bind_DracoUInt32Array___destroy___0=a.asm.Da).apply(null,arguments)},Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=
|
||||
function(){return(Za=a._emscripten_bind_MetadataQuerier_MetadataQuerier_0=a.asm.Ea).apply(null,arguments)},ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=function(){return(ic=a._emscripten_bind_MetadataQuerier_HasEntry_2=a.asm.Fa).apply(null,arguments)},jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=function(){return(jc=a._emscripten_bind_MetadataQuerier_GetIntEntry_2=a.asm.Ga).apply(null,arguments)},kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=function(){return(kc=a._emscripten_bind_MetadataQuerier_GetIntEntryArray_3=
|
||||
a.asm.Ha).apply(null,arguments)},lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=function(){return(lc=a._emscripten_bind_MetadataQuerier_GetDoubleEntry_2=a.asm.Ia).apply(null,arguments)},mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=function(){return(mc=a._emscripten_bind_MetadataQuerier_GetStringEntry_2=a.asm.Ja).apply(null,arguments)},nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=function(){return(nc=a._emscripten_bind_MetadataQuerier_NumEntries_1=a.asm.Ka).apply(null,arguments)},
|
||||
oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=function(){return(oc=a._emscripten_bind_MetadataQuerier_GetEntryName_2=a.asm.La).apply(null,arguments)},pc=a._emscripten_bind_MetadataQuerier___destroy___0=function(){return(pc=a._emscripten_bind_MetadataQuerier___destroy___0=a.asm.Ma).apply(null,arguments)},$a=a._emscripten_bind_Decoder_Decoder_0=function(){return($a=a._emscripten_bind_Decoder_Decoder_0=a.asm.Na).apply(null,arguments)},qc=a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=function(){return(qc=
|
||||
a._emscripten_bind_Decoder_DecodeArrayToPointCloud_3=a.asm.Oa).apply(null,arguments)},rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=function(){return(rc=a._emscripten_bind_Decoder_DecodeArrayToMesh_3=a.asm.Pa).apply(null,arguments)},sc=a._emscripten_bind_Decoder_GetAttributeId_2=function(){return(sc=a._emscripten_bind_Decoder_GetAttributeId_2=a.asm.Qa).apply(null,arguments)},tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=function(){return(tc=a._emscripten_bind_Decoder_GetAttributeIdByName_2=
|
||||
a.asm.Ra).apply(null,arguments)},uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=function(){return(uc=a._emscripten_bind_Decoder_GetAttributeIdByMetadataEntry_3=a.asm.Sa).apply(null,arguments)},vc=a._emscripten_bind_Decoder_GetAttribute_2=function(){return(vc=a._emscripten_bind_Decoder_GetAttribute_2=a.asm.Ta).apply(null,arguments)},wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=function(){return(wc=a._emscripten_bind_Decoder_GetAttributeByUniqueId_2=a.asm.Ua).apply(null,arguments)},
|
||||
xc=a._emscripten_bind_Decoder_GetMetadata_1=function(){return(xc=a._emscripten_bind_Decoder_GetMetadata_1=a.asm.Va).apply(null,arguments)},yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=function(){return(yc=a._emscripten_bind_Decoder_GetAttributeMetadata_2=a.asm.Wa).apply(null,arguments)},zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=function(){return(zc=a._emscripten_bind_Decoder_GetFaceFromMesh_3=a.asm.Xa).apply(null,arguments)},Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=
|
||||
function(){return(Ac=a._emscripten_bind_Decoder_GetTriangleStripsFromMesh_2=a.asm.Ya).apply(null,arguments)},Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=function(){return(Bc=a._emscripten_bind_Decoder_GetTrianglesUInt16Array_3=a.asm.Za).apply(null,arguments)},Cc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=function(){return(Cc=a._emscripten_bind_Decoder_GetTrianglesUInt32Array_3=a.asm._a).apply(null,arguments)},Dc=a._emscripten_bind_Decoder_GetAttributeFloat_3=function(){return(Dc=
|
||||
a._emscripten_bind_Decoder_GetAttributeFloat_3=a.asm.$a).apply(null,arguments)},Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=function(){return(Ec=a._emscripten_bind_Decoder_GetAttributeFloatForAllPoints_3=a.asm.ab).apply(null,arguments)},Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=function(){return(Fc=a._emscripten_bind_Decoder_GetAttributeIntForAllPoints_3=a.asm.bb).apply(null,arguments)},Gc=a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=function(){return(Gc=
|
||||
a._emscripten_bind_Decoder_GetAttributeInt8ForAllPoints_3=a.asm.cb).apply(null,arguments)},Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=function(){return(Hc=a._emscripten_bind_Decoder_GetAttributeUInt8ForAllPoints_3=a.asm.db).apply(null,arguments)},Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=function(){return(Ic=a._emscripten_bind_Decoder_GetAttributeInt16ForAllPoints_3=a.asm.eb).apply(null,arguments)},Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=
|
||||
function(){return(Jc=a._emscripten_bind_Decoder_GetAttributeUInt16ForAllPoints_3=a.asm.fb).apply(null,arguments)},Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=function(){return(Kc=a._emscripten_bind_Decoder_GetAttributeInt32ForAllPoints_3=a.asm.gb).apply(null,arguments)},Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=function(){return(Lc=a._emscripten_bind_Decoder_GetAttributeUInt32ForAllPoints_3=a.asm.hb).apply(null,arguments)},Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=
|
||||
function(){return(Mc=a._emscripten_bind_Decoder_GetAttributeDataArrayForAllPoints_5=a.asm.ib).apply(null,arguments)},Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=function(){return(Nc=a._emscripten_bind_Decoder_SkipAttributeTransform_1=a.asm.jb).apply(null,arguments)},Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=function(){return(Oc=a._emscripten_bind_Decoder_GetEncodedGeometryType_Deprecated_1=a.asm.kb).apply(null,arguments)},Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=
|
||||
function(){return(Pc=a._emscripten_bind_Decoder_DecodeBufferToPointCloud_2=a.asm.lb).apply(null,arguments)},Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=function(){return(Qc=a._emscripten_bind_Decoder_DecodeBufferToMesh_2=a.asm.mb).apply(null,arguments)},Rc=a._emscripten_bind_Decoder___destroy___0=function(){return(Rc=a._emscripten_bind_Decoder___destroy___0=a.asm.nb).apply(null,arguments)},Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=function(){return(Sc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_INVALID_TRANSFORM=
|
||||
a.asm.ob).apply(null,arguments)},Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=function(){return(Tc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_NO_TRANSFORM=a.asm.pb).apply(null,arguments)},Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=function(){return(Uc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_QUANTIZATION_TRANSFORM=a.asm.qb).apply(null,arguments)},Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=
|
||||
function(){return(Vc=a._emscripten_enum_draco_AttributeTransformType_ATTRIBUTE_OCTAHEDRON_TRANSFORM=a.asm.rb).apply(null,arguments)},Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=function(){return(Wc=a._emscripten_enum_draco_GeometryAttribute_Type_INVALID=a.asm.sb).apply(null,arguments)},Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=function(){return(Xc=a._emscripten_enum_draco_GeometryAttribute_Type_POSITION=a.asm.tb).apply(null,arguments)},Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=
|
||||
function(){return(Yc=a._emscripten_enum_draco_GeometryAttribute_Type_NORMAL=a.asm.ub).apply(null,arguments)},Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=function(){return(Zc=a._emscripten_enum_draco_GeometryAttribute_Type_COLOR=a.asm.vb).apply(null,arguments)},$c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=function(){return($c=a._emscripten_enum_draco_GeometryAttribute_Type_TEX_COORD=a.asm.wb).apply(null,arguments)},ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=
|
||||
function(){return(ad=a._emscripten_enum_draco_GeometryAttribute_Type_GENERIC=a.asm.xb).apply(null,arguments)},bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=function(){return(bd=a._emscripten_enum_draco_EncodedGeometryType_INVALID_GEOMETRY_TYPE=a.asm.yb).apply(null,arguments)},cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=function(){return(cd=a._emscripten_enum_draco_EncodedGeometryType_POINT_CLOUD=a.asm.zb).apply(null,arguments)},dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=
|
||||
function(){return(dd=a._emscripten_enum_draco_EncodedGeometryType_TRIANGULAR_MESH=a.asm.Ab).apply(null,arguments)},ed=a._emscripten_enum_draco_DataType_DT_INVALID=function(){return(ed=a._emscripten_enum_draco_DataType_DT_INVALID=a.asm.Bb).apply(null,arguments)},fd=a._emscripten_enum_draco_DataType_DT_INT8=function(){return(fd=a._emscripten_enum_draco_DataType_DT_INT8=a.asm.Cb).apply(null,arguments)},gd=a._emscripten_enum_draco_DataType_DT_UINT8=function(){return(gd=a._emscripten_enum_draco_DataType_DT_UINT8=
|
||||
a.asm.Db).apply(null,arguments)},hd=a._emscripten_enum_draco_DataType_DT_INT16=function(){return(hd=a._emscripten_enum_draco_DataType_DT_INT16=a.asm.Eb).apply(null,arguments)},id=a._emscripten_enum_draco_DataType_DT_UINT16=function(){return(id=a._emscripten_enum_draco_DataType_DT_UINT16=a.asm.Fb).apply(null,arguments)},jd=a._emscripten_enum_draco_DataType_DT_INT32=function(){return(jd=a._emscripten_enum_draco_DataType_DT_INT32=a.asm.Gb).apply(null,arguments)},kd=a._emscripten_enum_draco_DataType_DT_UINT32=
|
||||
function(){return(kd=a._emscripten_enum_draco_DataType_DT_UINT32=a.asm.Hb).apply(null,arguments)},ld=a._emscripten_enum_draco_DataType_DT_INT64=function(){return(ld=a._emscripten_enum_draco_DataType_DT_INT64=a.asm.Ib).apply(null,arguments)},md=a._emscripten_enum_draco_DataType_DT_UINT64=function(){return(md=a._emscripten_enum_draco_DataType_DT_UINT64=a.asm.Jb).apply(null,arguments)},nd=a._emscripten_enum_draco_DataType_DT_FLOAT32=function(){return(nd=a._emscripten_enum_draco_DataType_DT_FLOAT32=a.asm.Kb).apply(null,
|
||||
arguments)},od=a._emscripten_enum_draco_DataType_DT_FLOAT64=function(){return(od=a._emscripten_enum_draco_DataType_DT_FLOAT64=a.asm.Lb).apply(null,arguments)},pd=a._emscripten_enum_draco_DataType_DT_BOOL=function(){return(pd=a._emscripten_enum_draco_DataType_DT_BOOL=a.asm.Mb).apply(null,arguments)},qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=function(){return(qd=a._emscripten_enum_draco_DataType_DT_TYPES_COUNT=a.asm.Nb).apply(null,arguments)},rd=a._emscripten_enum_draco_StatusCode_OK=function(){return(rd=
|
||||
a._emscripten_enum_draco_StatusCode_OK=a.asm.Ob).apply(null,arguments)},sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=function(){return(sd=a._emscripten_enum_draco_StatusCode_DRACO_ERROR=a.asm.Pb).apply(null,arguments)},td=a._emscripten_enum_draco_StatusCode_IO_ERROR=function(){return(td=a._emscripten_enum_draco_StatusCode_IO_ERROR=a.asm.Qb).apply(null,arguments)},ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=function(){return(ud=a._emscripten_enum_draco_StatusCode_INVALID_PARAMETER=
|
||||
a.asm.Rb).apply(null,arguments)},vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=function(){return(vd=a._emscripten_enum_draco_StatusCode_UNSUPPORTED_VERSION=a.asm.Sb).apply(null,arguments)},wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=function(){return(wd=a._emscripten_enum_draco_StatusCode_UNKNOWN_VERSION=a.asm.Tb).apply(null,arguments)},db=a._malloc=function(){return(db=a._malloc=a.asm.Ub).apply(null,arguments)};a._free=function(){return(a._free=a.asm.Vb).apply(null,arguments)};
|
||||
var qa;na=function b(){qa||V();qa||(na=b)};a.run=V;if(a.preInit)for("function"==typeof a.preInit&&(a.preInit=[a.preInit]);0<a.preInit.length;)a.preInit.pop()();V();v.prototype=Object.create(v.prototype);v.prototype.constructor=v;v.prototype.__class__=v;v.__cache__={};a.WrapperObject=v;a.getCache=x;a.wrapPointer=R;a.castObject=function(b,c){return R(b.ptr,c)};a.NULL=R(0);a.destroy=function(b){if(!b.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";b.__destroy__();delete x(b.__class__)[b.ptr]};
|
||||
a.compare=function(b,c){return b.ptr===c.ptr};a.getPointer=function(b){return b.ptr};a.getClass=function(b){return b.__class__};var r={buffer:0,size:0,pos:0,temps:[],needed:0,prepare:function(){if(r.needed){for(var b=0;b<r.temps.length;b++)a._free(r.temps[b]);r.temps.length=0;a._free(r.buffer);r.buffer=0;r.size+=r.needed;r.needed=0}r.buffer||(r.size+=128,r.buffer=a._malloc(r.size),q(r.buffer));r.pos=0},alloc:function(b,c){q(r.buffer);b=b.length*c.BYTES_PER_ELEMENT;b=b+7&-8;r.pos+b>=r.size?(q(0<b),
|
||||
r.needed+=b,c=a._malloc(b),r.temps.push(c)):(c=r.buffer+r.pos,r.pos+=b);return c},copy:function(b,c,d){d>>>=0;switch(c.BYTES_PER_ELEMENT){case 2:d>>>=1;break;case 4:d>>>=2;break;case 8:d>>>=3}for(var f=0;f<b.length;f++)c[d+f]=b[f]}};aa.prototype=Object.create(v.prototype);aa.prototype.constructor=aa;aa.prototype.__class__=aa;aa.__cache__={};a.VoidPtr=aa;aa.prototype.__destroy__=aa.prototype.__destroy__=function(){eb(this.ptr)};S.prototype=Object.create(v.prototype);S.prototype.constructor=S;S.prototype.__class__=
|
||||
S;S.__cache__={};a.DecoderBuffer=S;S.prototype.Init=S.prototype.Init=function(b,c){var d=this.ptr;r.prepare();"object"==typeof b&&(b=wa(b));c&&"object"===typeof c&&(c=c.ptr);fb(d,b,c)};S.prototype.__destroy__=S.prototype.__destroy__=function(){gb(this.ptr)};Q.prototype=Object.create(v.prototype);Q.prototype.constructor=Q;Q.prototype.__class__=Q;Q.__cache__={};a.AttributeTransformData=Q;Q.prototype.transform_type=Q.prototype.transform_type=function(){return hb(this.ptr)};Q.prototype.__destroy__=Q.prototype.__destroy__=
|
||||
function(){ib(this.ptr)};Y.prototype=Object.create(v.prototype);Y.prototype.constructor=Y;Y.prototype.__class__=Y;Y.__cache__={};a.GeometryAttribute=Y;Y.prototype.__destroy__=Y.prototype.__destroy__=function(){jb(this.ptr)};w.prototype=Object.create(v.prototype);w.prototype.constructor=w;w.prototype.__class__=w;w.__cache__={};a.PointAttribute=w;w.prototype.size=w.prototype.size=function(){return kb(this.ptr)};w.prototype.GetAttributeTransformData=w.prototype.GetAttributeTransformData=function(){return R(lb(this.ptr),
|
||||
Q)};w.prototype.attribute_type=w.prototype.attribute_type=function(){return mb(this.ptr)};w.prototype.data_type=w.prototype.data_type=function(){return nb(this.ptr)};w.prototype.num_components=w.prototype.num_components=function(){return ob(this.ptr)};w.prototype.normalized=w.prototype.normalized=function(){return!!pb(this.ptr)};w.prototype.byte_stride=w.prototype.byte_stride=function(){return qb(this.ptr)};w.prototype.byte_offset=w.prototype.byte_offset=function(){return rb(this.ptr)};w.prototype.unique_id=
|
||||
w.prototype.unique_id=function(){return sb(this.ptr)};w.prototype.__destroy__=w.prototype.__destroy__=function(){tb(this.ptr)};C.prototype=Object.create(v.prototype);C.prototype.constructor=C;C.prototype.__class__=C;C.__cache__={};a.AttributeQuantizationTransform=C;C.prototype.InitFromAttribute=C.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!ub(c,b)};C.prototype.quantization_bits=C.prototype.quantization_bits=function(){return vb(this.ptr)};C.prototype.min_value=
|
||||
C.prototype.min_value=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return wb(c,b)};C.prototype.range=C.prototype.range=function(){return xb(this.ptr)};C.prototype.__destroy__=C.prototype.__destroy__=function(){yb(this.ptr)};G.prototype=Object.create(v.prototype);G.prototype.constructor=G;G.prototype.__class__=G;G.__cache__={};a.AttributeOctahedronTransform=G;G.prototype.InitFromAttribute=G.prototype.InitFromAttribute=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return!!zb(c,
|
||||
b)};G.prototype.quantization_bits=G.prototype.quantization_bits=function(){return Ab(this.ptr)};G.prototype.__destroy__=G.prototype.__destroy__=function(){Bb(this.ptr)};H.prototype=Object.create(v.prototype);H.prototype.constructor=H;H.prototype.__class__=H;H.__cache__={};a.PointCloud=H;H.prototype.num_attributes=H.prototype.num_attributes=function(){return Cb(this.ptr)};H.prototype.num_points=H.prototype.num_points=function(){return Db(this.ptr)};H.prototype.__destroy__=H.prototype.__destroy__=function(){Eb(this.ptr)};
|
||||
D.prototype=Object.create(v.prototype);D.prototype.constructor=D;D.prototype.__class__=D;D.__cache__={};a.Mesh=D;D.prototype.num_faces=D.prototype.num_faces=function(){return Fb(this.ptr)};D.prototype.num_attributes=D.prototype.num_attributes=function(){return Gb(this.ptr)};D.prototype.num_points=D.prototype.num_points=function(){return Hb(this.ptr)};D.prototype.__destroy__=D.prototype.__destroy__=function(){Ib(this.ptr)};T.prototype=Object.create(v.prototype);T.prototype.constructor=T;T.prototype.__class__=
|
||||
T;T.__cache__={};a.Metadata=T;T.prototype.__destroy__=T.prototype.__destroy__=function(){Jb(this.ptr)};B.prototype=Object.create(v.prototype);B.prototype.constructor=B;B.prototype.__class__=B;B.__cache__={};a.Status=B;B.prototype.code=B.prototype.code=function(){return Kb(this.ptr)};B.prototype.ok=B.prototype.ok=function(){return!!Lb(this.ptr)};B.prototype.error_msg=B.prototype.error_msg=function(){return z(Mb(this.ptr))};B.prototype.__destroy__=B.prototype.__destroy__=function(){Nb(this.ptr)};I.prototype=
|
||||
Object.create(v.prototype);I.prototype.constructor=I;I.prototype.__class__=I;I.__cache__={};a.DracoFloat32Array=I;I.prototype.GetValue=I.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ob(c,b)};I.prototype.size=I.prototype.size=function(){return Pb(this.ptr)};I.prototype.__destroy__=I.prototype.__destroy__=function(){Qb(this.ptr)};J.prototype=Object.create(v.prototype);J.prototype.constructor=J;J.prototype.__class__=J;J.__cache__={};a.DracoInt8Array=J;J.prototype.GetValue=
|
||||
J.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Rb(c,b)};J.prototype.size=J.prototype.size=function(){return Sb(this.ptr)};J.prototype.__destroy__=J.prototype.__destroy__=function(){Tb(this.ptr)};K.prototype=Object.create(v.prototype);K.prototype.constructor=K;K.prototype.__class__=K;K.__cache__={};a.DracoUInt8Array=K;K.prototype.GetValue=K.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Ub(c,b)};K.prototype.size=K.prototype.size=
|
||||
function(){return Vb(this.ptr)};K.prototype.__destroy__=K.prototype.__destroy__=function(){Wb(this.ptr)};L.prototype=Object.create(v.prototype);L.prototype.constructor=L;L.prototype.__class__=L;L.__cache__={};a.DracoInt16Array=L;L.prototype.GetValue=L.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Xb(c,b)};L.prototype.size=L.prototype.size=function(){return Yb(this.ptr)};L.prototype.__destroy__=L.prototype.__destroy__=function(){Zb(this.ptr)};M.prototype=Object.create(v.prototype);
|
||||
M.prototype.constructor=M;M.prototype.__class__=M;M.__cache__={};a.DracoUInt16Array=M;M.prototype.GetValue=M.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return $b(c,b)};M.prototype.size=M.prototype.size=function(){return ac(this.ptr)};M.prototype.__destroy__=M.prototype.__destroy__=function(){bc(this.ptr)};N.prototype=Object.create(v.prototype);N.prototype.constructor=N;N.prototype.__class__=N;N.__cache__={};a.DracoInt32Array=N;N.prototype.GetValue=N.prototype.GetValue=
|
||||
function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return cc(c,b)};N.prototype.size=N.prototype.size=function(){return dc(this.ptr)};N.prototype.__destroy__=N.prototype.__destroy__=function(){ec(this.ptr)};O.prototype=Object.create(v.prototype);O.prototype.constructor=O;O.prototype.__class__=O;O.__cache__={};a.DracoUInt32Array=O;O.prototype.GetValue=O.prototype.GetValue=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return fc(c,b)};O.prototype.size=O.prototype.size=function(){return gc(this.ptr)};
|
||||
O.prototype.__destroy__=O.prototype.__destroy__=function(){hc(this.ptr)};y.prototype=Object.create(v.prototype);y.prototype.constructor=y;y.prototype.__class__=y;y.__cache__={};a.MetadataQuerier=y;y.prototype.HasEntry=y.prototype.HasEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return!!ic(d,b,c)};y.prototype.GetIntEntry=y.prototype.GetIntEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===
|
||||
typeof c?c.ptr:ba(c);return jc(d,b,c)};y.prototype.GetIntEntryArray=y.prototype.GetIntEntryArray=function(b,c,d){var f=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);d&&"object"===typeof d&&(d=d.ptr);kc(f,b,c,d)};y.prototype.GetDoubleEntry=y.prototype.GetDoubleEntry=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return lc(d,b,c)};y.prototype.GetStringEntry=y.prototype.GetStringEntry=function(b,
|
||||
c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return z(mc(d,b,c))};y.prototype.NumEntries=y.prototype.NumEntries=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return nc(c,b)};y.prototype.GetEntryName=y.prototype.GetEntryName=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return z(oc(d,b,c))};y.prototype.__destroy__=y.prototype.__destroy__=function(){pc(this.ptr)};l.prototype=Object.create(v.prototype);
|
||||
l.prototype.constructor=l;l.prototype.__class__=l;l.__cache__={};a.Decoder=l;l.prototype.DecodeArrayToPointCloud=l.prototype.DecodeArrayToPointCloud=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=wa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return R(qc(f,b,c,d),B)};l.prototype.DecodeArrayToMesh=l.prototype.DecodeArrayToMesh=function(b,c,d){var f=this.ptr;r.prepare();"object"==typeof b&&(b=wa(b));c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
|
||||
(d=d.ptr);return R(rc(f,b,c,d),B)};l.prototype.GetAttributeId=l.prototype.GetAttributeId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return sc(d,b,c)};l.prototype.GetAttributeIdByName=l.prototype.GetAttributeIdByName=function(b,c){var d=this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);return tc(d,b,c)};l.prototype.GetAttributeIdByMetadataEntry=l.prototype.GetAttributeIdByMetadataEntry=function(b,c,d){var f=
|
||||
this.ptr;r.prepare();b&&"object"===typeof b&&(b=b.ptr);c=c&&"object"===typeof c?c.ptr:ba(c);d=d&&"object"===typeof d?d.ptr:ba(d);return uc(f,b,c,d)};l.prototype.GetAttribute=l.prototype.GetAttribute=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(vc(d,b,c),w)};l.prototype.GetAttributeByUniqueId=l.prototype.GetAttributeByUniqueId=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(wc(d,b,
|
||||
c),w)};l.prototype.GetMetadata=l.prototype.GetMetadata=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return R(xc(c,b),T)};l.prototype.GetAttributeMetadata=l.prototype.GetAttributeMetadata=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(yc(d,b,c),T)};l.prototype.GetFaceFromMesh=l.prototype.GetFaceFromMesh=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
|
||||
(d=d.ptr);return!!zc(f,b,c,d)};l.prototype.GetTriangleStripsFromMesh=l.prototype.GetTriangleStripsFromMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return Ac(d,b,c)};l.prototype.GetTrianglesUInt16Array=l.prototype.GetTrianglesUInt16Array=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Bc(f,b,c,d)};l.prototype.GetTrianglesUInt32Array=l.prototype.GetTrianglesUInt32Array=
|
||||
function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Cc(f,b,c,d)};l.prototype.GetAttributeFloat=l.prototype.GetAttributeFloat=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Dc(f,b,c,d)};l.prototype.GetAttributeFloatForAllPoints=l.prototype.GetAttributeFloatForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&
|
||||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Ec(f,b,c,d)};l.prototype.GetAttributeIntForAllPoints=l.prototype.GetAttributeIntForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Fc(f,b,c,d)};l.prototype.GetAttributeInt8ForAllPoints=l.prototype.GetAttributeInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&
|
||||
(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Gc(f,b,c,d)};l.prototype.GetAttributeUInt8ForAllPoints=l.prototype.GetAttributeUInt8ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Hc(f,b,c,d)};l.prototype.GetAttributeInt16ForAllPoints=l.prototype.GetAttributeInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&
|
||||
(d=d.ptr);return!!Ic(f,b,c,d)};l.prototype.GetAttributeUInt16ForAllPoints=l.prototype.GetAttributeUInt16ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Jc(f,b,c,d)};l.prototype.GetAttributeInt32ForAllPoints=l.prototype.GetAttributeInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Kc(f,
|
||||
b,c,d)};l.prototype.GetAttributeUInt32ForAllPoints=l.prototype.GetAttributeUInt32ForAllPoints=function(b,c,d){var f=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);return!!Lc(f,b,c,d)};l.prototype.GetAttributeDataArrayForAllPoints=l.prototype.GetAttributeDataArrayForAllPoints=function(b,c,d,f,t){var X=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);d&&"object"===typeof d&&(d=d.ptr);f&&"object"===typeof f&&
|
||||
(f=f.ptr);t&&"object"===typeof t&&(t=t.ptr);return!!Mc(X,b,c,d,f,t)};l.prototype.SkipAttributeTransform=l.prototype.SkipAttributeTransform=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);Nc(c,b)};l.prototype.GetEncodedGeometryType_Deprecated=l.prototype.GetEncodedGeometryType_Deprecated=function(b){var c=this.ptr;b&&"object"===typeof b&&(b=b.ptr);return Oc(c,b)};l.prototype.DecodeBufferToPointCloud=l.prototype.DecodeBufferToPointCloud=function(b,c){var d=this.ptr;b&&"object"===typeof b&&
|
||||
(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Pc(d,b,c),B)};l.prototype.DecodeBufferToMesh=l.prototype.DecodeBufferToMesh=function(b,c){var d=this.ptr;b&&"object"===typeof b&&(b=b.ptr);c&&"object"===typeof c&&(c=c.ptr);return R(Qc(d,b,c),B)};l.prototype.__destroy__=l.prototype.__destroy__=function(){Rc(this.ptr)};(function(){function b(){a.ATTRIBUTE_INVALID_TRANSFORM=Sc();a.ATTRIBUTE_NO_TRANSFORM=Tc();a.ATTRIBUTE_QUANTIZATION_TRANSFORM=Uc();a.ATTRIBUTE_OCTAHEDRON_TRANSFORM=Vc();a.INVALID=Wc();
|
||||
a.POSITION=Xc();a.NORMAL=Yc();a.COLOR=Zc();a.TEX_COORD=$c();a.GENERIC=ad();a.INVALID_GEOMETRY_TYPE=bd();a.POINT_CLOUD=cd();a.TRIANGULAR_MESH=dd();a.DT_INVALID=ed();a.DT_INT8=fd();a.DT_UINT8=gd();a.DT_INT16=hd();a.DT_UINT16=id();a.DT_INT32=jd();a.DT_UINT32=kd();a.DT_INT64=ld();a.DT_UINT64=md();a.DT_FLOAT32=nd();a.DT_FLOAT64=od();a.DT_BOOL=pd();a.DT_TYPES_COUNT=qd();a.OK=rd();a.DRACO_ERROR=sd();a.IO_ERROR=td();a.INVALID_PARAMETER=ud();a.UNSUPPORTED_VERSION=vd();a.UNKNOWN_VERSION=wd()}Fa?b():va.unshift(b)})();
|
||||
if("function"===typeof a.onModuleParsed)a.onModuleParsed();a.Decoder.prototype.GetEncodedGeometryType=function(b){if(b.__class__&&b.__class__===a.DecoderBuffer)return a.Decoder.prototype.GetEncodedGeometryType_Deprecated(b);if(8>b.byteLength)return a.INVALID_GEOMETRY_TYPE;switch(b[7]){case 0:return a.POINT_CLOUD;case 1:return a.TRIANGULAR_MESH;default:return a.INVALID_GEOMETRY_TYPE}};return n.ready}}();
|
||||
"object"===typeof exports&&"object"===typeof module?module.exports=DracoDecoderModule:"function"===typeof define&&define.amd?define([],function(){return DracoDecoderModule}):"object"===typeof exports&&(exports.DracoDecoderModule=DracoDecoderModule);
|
1
plugins/feature/map/Cesium/ThirdParty/Workers/package.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"type":"commonjs"}
|
7
plugins/feature/map/Cesium/ThirdParty/google-earth-dbroot-parser.js.map
vendored
Normal file
@ -1 +1,127 @@
|
||||
.cesium-animation-theme{visibility:hidden;display:block;position:absolute;z-index:-100}.cesium-animation-themeNormal{color:#222}.cesium-animation-themeHover{color:#4488b0}.cesium-animation-themeSelect{color:#242}.cesium-animation-themeDisabled{color:#333}.cesium-animation-themeKnob{color:#222}.cesium-animation-themePointer{color:#2e2}.cesium-animation-themeSwoosh{color:#8ac}.cesium-animation-themeSwooshHover{color:#aef}.cesium-animation-svgText{fill:#edffff;font-family:Sans-Serif;font-size:15px;text-anchor:middle}.cesium-animation-blank{fill:#000;fill-opacity:.01;stroke:none}.cesium-animation-rectButton{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-rectButton .cesium-animation-buttonGlow{fill:#fff;stroke:none;display:none}.cesium-animation-rectButton:hover .cesium-animation-buttonGlow{display:block}.cesium-animation-rectButton .cesium-animation-buttonPath{fill:#edffff}.cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#444;stroke-width:1.2}.cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#aef}.cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-animation-buttonDisabled{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#555}.cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-animation-buttonDisabled .cesium-animation-buttonGlow{display:none}.cesium-animation-buttonToggled .cesium-animation-buttonGlow{display:block;fill:#2e2}.cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#2e2}.cesium-animation-shuttleRingG{cursor:pointer}.cesium-animation-shuttleRingPointer{cursor:pointer}.cesium-animation-shuttleRingPausePointer{cursor:pointer}.cesium-animation-shuttleRingBack{fill:#181818;fill-opacity:.8;stroke:#333;stroke-width:1.2}.cesium-animation-shuttleRingSwoosh line{stroke:#8ac;stroke-width:3;stroke-opacity:.2;stroke-linecap:round}.cesium-animation-knobOuter{cursor:pointer;stroke:#444;stroke-width:1.2}.cesium-animation-knobInner{cursor:pointer}
|
||||
/* packages/widgets/Source/Animation/Animation.css */
|
||||
.cesium-animation-theme {
|
||||
visibility: hidden;
|
||||
display: block;
|
||||
position: absolute;
|
||||
z-index: -100;
|
||||
}
|
||||
.cesium-animation-themeNormal {
|
||||
color: #222;
|
||||
}
|
||||
.cesium-animation-themeHover {
|
||||
color: #4488b0;
|
||||
}
|
||||
.cesium-animation-themeSelect {
|
||||
color: #242;
|
||||
}
|
||||
.cesium-animation-themeDisabled {
|
||||
color: #333;
|
||||
}
|
||||
.cesium-animation-themeKnob {
|
||||
color: #222;
|
||||
}
|
||||
.cesium-animation-themePointer {
|
||||
color: #2e2;
|
||||
}
|
||||
.cesium-animation-themeSwoosh {
|
||||
color: #8ac;
|
||||
}
|
||||
.cesium-animation-themeSwooshHover {
|
||||
color: #aef;
|
||||
}
|
||||
.cesium-animation-svgText {
|
||||
fill: #edffff;
|
||||
font-family: Sans-Serif;
|
||||
font-size: 15px;
|
||||
text-anchor: middle;
|
||||
}
|
||||
.cesium-animation-blank {
|
||||
fill: #000;
|
||||
fill-opacity: 0.01;
|
||||
stroke: none;
|
||||
}
|
||||
.cesium-animation-rectButton {
|
||||
cursor: pointer;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.cesium-animation-rectButton .cesium-animation-buttonGlow {
|
||||
fill: #fff;
|
||||
stroke: none;
|
||||
display: none;
|
||||
}
|
||||
.cesium-animation-rectButton:hover .cesium-animation-buttonGlow {
|
||||
display: block;
|
||||
}
|
||||
.cesium-animation-rectButton .cesium-animation-buttonPath {
|
||||
fill: #edffff;
|
||||
}
|
||||
.cesium-animation-rectButton .cesium-animation-buttonMain {
|
||||
stroke: #444;
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.cesium-animation-rectButton:hover .cesium-animation-buttonMain {
|
||||
stroke: #aef;
|
||||
}
|
||||
.cesium-animation-rectButton:active .cesium-animation-buttonMain {
|
||||
fill: #abd6ff;
|
||||
}
|
||||
.cesium-animation-buttonDisabled {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.cesium-animation-buttonDisabled .cesium-animation-buttonMain {
|
||||
stroke: #555;
|
||||
}
|
||||
.cesium-animation-buttonDisabled .cesium-animation-buttonPath {
|
||||
fill: #818181;
|
||||
}
|
||||
.cesium-animation-buttonDisabled .cesium-animation-buttonGlow {
|
||||
display: none;
|
||||
}
|
||||
.cesium-animation-buttonToggled .cesium-animation-buttonGlow {
|
||||
display: block;
|
||||
fill: #2e2;
|
||||
}
|
||||
.cesium-animation-buttonToggled .cesium-animation-buttonMain {
|
||||
stroke: #2e2;
|
||||
}
|
||||
.cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow {
|
||||
fill: #fff;
|
||||
}
|
||||
.cesium-animation-buttonToggled:hover .cesium-animation-buttonMain {
|
||||
stroke: #2e2;
|
||||
}
|
||||
.cesium-animation-shuttleRingG {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-animation-shuttleRingPointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-animation-shuttleRingPausePointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-animation-shuttleRingBack {
|
||||
fill: #181818;
|
||||
fill-opacity: 0.8;
|
||||
stroke: #333;
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.cesium-animation-shuttleRingSwoosh line {
|
||||
stroke: #8ac;
|
||||
stroke-width: 3;
|
||||
stroke-opacity: 0.2;
|
||||
stroke-linecap: round;
|
||||
}
|
||||
.cesium-animation-knobOuter {
|
||||
cursor: pointer;
|
||||
stroke: #444;
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.cesium-animation-knobInner {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
@ -1 +1,70 @@
|
||||
.cesium-lighter .cesium-animation-themeNormal{color:#e5f2fe}.cesium-lighter .cesium-animation-themeHover{color:#abd6ff}.cesium-lighter .cesium-animation-themeSelect{color:#e5f2fe}.cesium-lighter .cesium-animation-themeDisabled{color:#efefef}.cesium-lighter .cesium-animation-themeKnob{color:#e1e2e3}.cesium-lighter .cesium-animation-themePointer{color:#fa5}.cesium-lighter .cesium-animation-themeSwoosh{color:#ace}.cesium-lighter .cesium-animation-themeSwooshHover{color:#bdf}.cesium-lighter .cesium-animation-svgText{fill:#111}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath{fill:#111}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow{fill:#ffaa2a}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#d3d3d3}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-lighter .cesium-animation-shuttleRingBack{fill:#fafafa;fill-opacity:1;stroke:#aeaeae;stroke-width:1.2}.cesium-lighter .cesium-animation-shuttleRingSwoosh line{stroke:#8ac}.cesium-lighter .cesium-animation-knobOuter{stroke:#a5a5a5}
|
||||
/* packages/widgets/Source/Animation/lighter.css */
|
||||
.cesium-lighter .cesium-animation-themeNormal {
|
||||
color: #e5f2fe;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeHover {
|
||||
color: #abd6ff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSelect {
|
||||
color: #e5f2fe;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeDisabled {
|
||||
color: #efefef;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeKnob {
|
||||
color: #e1e2e3;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themePointer {
|
||||
color: #fa5;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSwoosh {
|
||||
color: #ace;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSwooshHover {
|
||||
color: #bdf;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-svgText {
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath {
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain {
|
||||
stroke: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow {
|
||||
fill: #ffaa2a;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain {
|
||||
stroke: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton:hover .cesium-animation-buttonMain {
|
||||
stroke: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow {
|
||||
fill: #fff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonMain {
|
||||
stroke: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton:active .cesium-animation-buttonMain {
|
||||
fill: #abd6ff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain {
|
||||
stroke: #d3d3d3;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath {
|
||||
fill: #818181;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-shuttleRingBack {
|
||||
fill: #fafafa;
|
||||
fill-opacity: 1;
|
||||
stroke: #aeaeae;
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-shuttleRingSwoosh line {
|
||||
stroke: #8ac;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-knobOuter {
|
||||
stroke: #a5a5a5;
|
||||
}
|
||||
|
@ -1 +1,108 @@
|
||||
.cesium-baseLayerPicker-selected{position:absolute;top:0;left:0;width:100%;height:100%;border:none}.cesium-baseLayerPicker-dropDown{display:block;position:absolute;box-sizing:content-box;top:auto;right:0;width:320px;max-height:500px;margin-top:5px;background-color:rgba(38,38,38,.75);border:1px solid #444;padding:6px;overflow:auto;border-radius:10px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;transform:translate(0,-20%);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-baseLayerPicker-dropDown-visible{transform:translate(0,0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-baseLayerPicker-sectionTitle{display:block;font-family:sans-serif;font-size:16pt;text-align:left;color:#edffff;margin-bottom:4px}.cesium-baseLayerPicker-choices{margin-bottom:5px}.cesium-baseLayerPicker-categoryTitle{color:#edffff;font-size:11pt}.cesium-baseLayerPicker-choices{display:block;border:1px solid #888;border-radius:5px;padding:5px 0}.cesium-baseLayerPicker-item{display:inline-block;vertical-align:top;margin:2px 5px;width:64px;text-align:center;cursor:pointer}.cesium-baseLayerPicker-itemLabel{display:block;font-family:sans-serif;font-size:8pt;text-align:center;vertical-align:middle;color:#edffff;cursor:pointer;word-wrap:break-word}.cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel,.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel{text-decoration:underline}.cesium-baseLayerPicker-itemIcon{display:inline-block;position:relative;width:inherit;height:auto;background-size:100% 100%;border:solid 1px #444;border-radius:9px;color:#edffff;margin:0;padding:0;cursor:pointer;box-sizing:border-box}.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon{border-color:#fff;box-shadow:0 0 8px #fff,0 0 8px #fff}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel{color:#bdecf8}.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon{border:double 4px #bdecf8}
|
||||
/* packages/widgets/Source/BaseLayerPicker/BaseLayerPicker.css */
|
||||
.cesium-baseLayerPicker-selected {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: none;
|
||||
}
|
||||
.cesium-baseLayerPicker-dropDown {
|
||||
display: block;
|
||||
position: absolute;
|
||||
box-sizing: content-box;
|
||||
top: auto;
|
||||
right: 0;
|
||||
width: 320px;
|
||||
max-height: 500px;
|
||||
margin-top: 5px;
|
||||
background-color: rgba(38, 38, 38, 0.75);
|
||||
border: 1px solid #444;
|
||||
padding: 6px;
|
||||
overflow: auto;
|
||||
border-radius: 10px;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
transform: translate(0, -20%);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition:
|
||||
visibility 0s 0.2s,
|
||||
opacity 0.2s ease-in,
|
||||
transform 0.2s ease-in;
|
||||
}
|
||||
.cesium-baseLayerPicker-dropDown-visible {
|
||||
transform: translate(0, 0);
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
||||
}
|
||||
.cesium-baseLayerPicker-sectionTitle {
|
||||
display: block;
|
||||
font-family: sans-serif;
|
||||
font-size: 16pt;
|
||||
text-align: left;
|
||||
color: #edffff;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.cesium-baseLayerPicker-choices {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.cesium-baseLayerPicker-categoryTitle {
|
||||
color: #edffff;
|
||||
font-size: 11pt;
|
||||
}
|
||||
.cesium-baseLayerPicker-choices {
|
||||
display: block;
|
||||
border: 1px solid #888;
|
||||
border-radius: 5px;
|
||||
padding: 5px 0;
|
||||
}
|
||||
.cesium-baseLayerPicker-item {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
margin: 2px 5px;
|
||||
width: 64px;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-baseLayerPicker-itemLabel {
|
||||
display: block;
|
||||
font-family: sans-serif;
|
||||
font-size: 8pt;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
color: #edffff;
|
||||
cursor: pointer;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemLabel,
|
||||
.cesium-baseLayerPicker-item:focus .cesium-baseLayerPicker-itemLabel {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.cesium-baseLayerPicker-itemIcon {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: inherit;
|
||||
height: auto;
|
||||
background-size: 100% 100%;
|
||||
border: solid 1px #444;
|
||||
border-radius: 9px;
|
||||
color: #edffff;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
|
||||
border-color: #fff;
|
||||
box-shadow: 0 0 8px #fff, 0 0 8px #fff;
|
||||
}
|
||||
.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
|
||||
color: rgb(189, 236, 248);
|
||||
}
|
||||
.cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
|
||||
border: double 4px rgb(189, 236, 248);
|
||||
}
|
||||
|
@ -1 +1,22 @@
|
||||
.cesium-lighter .cesium-baseLayerPicker-itemIcon{border-color:#759dc0}.cesium-lighter .cesium-baseLayerPicker-dropDown{background-color:rgba(240,240,240,.75)}.cesium-lighter .cesium-baseLayerPicker-sectionTitle{color:#000}.cesium-lighter .cesium-baseLayerPicker-itemLabel{color:#000}.cesium-lighter .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon{border-color:#000}.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel{color:#003da8}.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon{border:double 4px #003da8}
|
||||
/* packages/widgets/Source/BaseLayerPicker/lighter.css */
|
||||
.cesium-lighter .cesium-baseLayerPicker-itemIcon {
|
||||
border-color: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-dropDown {
|
||||
background-color: rgba(240, 240, 240, 0.75);
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-sectionTitle {
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-itemLabel {
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
|
||||
border-color: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
|
||||
color: rgb(0, 61, 168);
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
|
||||
border: double 4px rgb(0, 61, 168);
|
||||
}
|
||||
|
@ -1 +1,102 @@
|
||||
ul.cesium-cesiumInspector-statistics{margin:0;padding-top:3px;padding-bottom:3px}ul.cesium-cesiumInspector-statistics+ul.cesium-cesiumInspector-statistics{border-top:1px solid #aaa}.cesium-cesiumInspector-slider{margin-top:5px}.cesium-cesiumInspector-slider input[type=number]{text-align:left;background-color:#222;outline:0;border:1px solid #444;color:#edffff;width:100px;border-radius:3px;padding:1px;margin-left:10px;cursor:auto}.cesium-cesiumInspector-slider input[type=number]::-webkit-inner-spin-button,.cesium-cesiumInspector-slider input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cesium-cesiumInspector-slider input[type=range]{margin-left:5px;vertical-align:middle}.cesium-cesiumInspector-hide .cesium-cesiumInspector-styleEditor{display:none}.cesium-cesiumInspector-styleEditor{padding:10px;border-radius:5px;background:rgba(48,51,54,.8);border:1px solid #444}.cesium-cesiumInspector-styleEditor textarea{width:100%;height:300px;background:0 0;color:#edffff;border:none;padding:0;white-space:pre;overflow-wrap:normal;overflow-x:auto}.cesium-3DTilesInspector{width:300px;pointer-events:all}.cesium-3DTilesInspector-statistics{font-size:11px}.cesium-3DTilesInspector div,.cesium-3DTilesInspector input[type=range]{width:100%;box-sizing:border-box}.cesium-cesiumInspector-error{color:#ff9e9e;overflow:auto}.cesium-3DTilesInspector .cesium-cesiumInspector-section{margin-top:3px}.cesium-3DTilesInspector .cesium-cesiumInspector-sectionHeader+.cesium-cesiumInspector-show{border-top:1px solid #fff}input.cesium-cesiumInspector-url{overflow:hidden;white-space:nowrap;overflow-x:scroll;background-color:transparent;color:#fff;outline:0;border:none;height:1em;width:100%}.cesium-cesiumInspector .field-group{display:table}.cesium-cesiumInspector .field-group>label{display:table-cell;font-weight:700}.cesium-cesiumInspector .field-group>.field{display:table-cell;width:100%}
|
||||
/* packages/widgets/Source/Cesium3DTilesInspector/Cesium3DTilesInspector.css */
|
||||
ul.cesium-cesiumInspector-statistics {
|
||||
margin: 0;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
ul.cesium-cesiumInspector-statistics + ul.cesium-cesiumInspector-statistics {
|
||||
border-top: 1px solid #aaa;
|
||||
}
|
||||
.cesium-cesiumInspector-slider {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.cesium-cesiumInspector-slider input[type=number] {
|
||||
text-align: left;
|
||||
background-color: #222;
|
||||
outline: none;
|
||||
border: 1px solid #444;
|
||||
color: #edffff;
|
||||
width: 100px;
|
||||
border-radius: 3px;
|
||||
padding: 1px;
|
||||
margin-left: 10px;
|
||||
cursor: auto;
|
||||
}
|
||||
.cesium-cesiumInspector-slider input[type=number]::-webkit-outer-spin-button,
|
||||
.cesium-cesiumInspector-slider input[type=number]::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
.cesium-cesiumInspector-slider input[type=range] {
|
||||
margin-left: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.cesium-cesiumInspector-hide .cesium-cesiumInspector-styleEditor {
|
||||
display: none;
|
||||
}
|
||||
.cesium-cesiumInspector-styleEditor {
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
background: rgba(48, 51, 54, 0.8);
|
||||
border: 1px solid #444;
|
||||
}
|
||||
.cesium-cesiumInspector-styleEditor textarea {
|
||||
width: 100%;
|
||||
height: 300px;
|
||||
background: transparent;
|
||||
color: #edffff;
|
||||
border: none;
|
||||
padding: 0;
|
||||
white-space: pre;
|
||||
overflow-wrap: normal;
|
||||
overflow-x: auto;
|
||||
}
|
||||
.cesium-3DTilesInspector {
|
||||
width: 300px;
|
||||
pointer-events: all;
|
||||
}
|
||||
.cesium-3DTilesInspector-statistics {
|
||||
font-size: 11px;
|
||||
}
|
||||
.cesium-3DTilesInspector-disabledElementsInfo {
|
||||
margin: 5px 0 0 0;
|
||||
padding: 0 0 0 20px;
|
||||
color: #eed202;
|
||||
}
|
||||
.cesium-3DTilesInspector div,
|
||||
.cesium-3DTilesInspector input[type=range] {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.cesium-cesiumInspector-error {
|
||||
color: #ff9e9e;
|
||||
overflow: auto;
|
||||
}
|
||||
.cesium-3DTilesInspector .cesium-cesiumInspector-section {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.cesium-3DTilesInspector .cesium-cesiumInspector-sectionHeader + .cesium-cesiumInspector-show {
|
||||
border-top: 1px solid white;
|
||||
}
|
||||
input.cesium-cesiumInspector-url {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
overflow-x: scroll;
|
||||
background-color: transparent;
|
||||
color: white;
|
||||
outline: none;
|
||||
border: none;
|
||||
height: 1em;
|
||||
width: 100%;
|
||||
}
|
||||
.cesium-cesiumInspector .field-group {
|
||||
display: table;
|
||||
}
|
||||
.cesium-cesiumInspector .field-group > label {
|
||||
display: table-cell;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-cesiumInspector .field-group > .field {
|
||||
display: table-cell;
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -1 +1,113 @@
|
||||
.cesium-cesiumInspector{border-radius:5px;transition:width ease-in-out .25s;background:rgba(48,51,54,.8);border:1px solid #444;color:#edffff;display:inline-block;position:relative;padding:4px 12px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden}.cesium-cesiumInspector-button{text-align:center;font-size:11pt}.cesium-cesiumInspector-visible .cesium-cesiumInspector-button{border-bottom:1px solid #aaa;padding-bottom:3px}.cesium-cesiumInspector input:enabled,.cesium-cesiumInspector-button{cursor:pointer}.cesium-cesiumInspector-visible{width:185px;height:auto}.cesium-cesiumInspector-hidden{width:122px;height:17px}.cesium-cesiumInspector-sectionContent{max-height:500px}.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionContent{max-height:0;padding:0!important;overflow:hidden}.cesium-cesiumInspector-dropDown{margin:5px 0;font-family:sans-serif;font-size:10pt;width:185px}.cesium-cesiumInspector-frustumStatistics{padding-left:10px;padding:5px;background-color:rgba(80,80,80,.75)}.cesium-cesiumInspector-pickButton{background-color:rgba(0,0,0,.3);border:1px solid #444;color:#edffff;border-radius:5px;padding:3px 7px;cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;margin:0 auto}.cesium-cesiumInspector-pickButton:focus{outline:0}.cesium-cesiumInspector-pickButton:active,.cesium-cesiumInspector-pickButtonHighlight{color:#000;background:#adf;border-color:#fff;box-shadow:0 0 8px #fff}.cesium-cesiumInspector-center{text-align:center}.cesium-cesiumInspector-sectionHeader{font-weight:700;font-size:10pt;margin:0;cursor:pointer}.cesium-cesiumInspector-pickSection{border:1px solid #aaa;border-radius:5px;padding:3px;margin-bottom:5px}.cesium-cesiumInspector-sectionContent{margin-bottom:10px;transition:max-height .25s}.cesium-cesiumInspector-tileText{padding-bottom:10px;border-bottom:1px solid #aaa}.cesium-cesiumInspector-relativeText{padding-top:10px}.cesium-cesiumInspector-sectionHeader::before{margin-right:5px;content:"-";width:1ch;display:inline-block}.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionHeader::before{content:"+"}
|
||||
/* packages/widgets/Source/CesiumInspector/CesiumInspector.css */
|
||||
.cesium-cesiumInspector {
|
||||
border-radius: 5px;
|
||||
transition: width ease-in-out 0.25s;
|
||||
background: rgba(48, 51, 54, 0.8);
|
||||
border: 1px solid #444;
|
||||
color: #edffff;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 4px 12px;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-cesiumInspector-button {
|
||||
text-align: center;
|
||||
font-size: 11pt;
|
||||
}
|
||||
.cesium-cesiumInspector-visible .cesium-cesiumInspector-button {
|
||||
border-bottom: 1px solid #aaa;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
.cesium-cesiumInspector input:enabled,
|
||||
.cesium-cesiumInspector-button {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-cesiumInspector-visible {
|
||||
width: 185px;
|
||||
height: auto;
|
||||
}
|
||||
.cesium-cesiumInspector-hidden {
|
||||
width: 122px;
|
||||
height: 17px;
|
||||
}
|
||||
.cesium-cesiumInspector-sectionContent {
|
||||
max-height: 600px;
|
||||
}
|
||||
.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionContent {
|
||||
max-height: 0;
|
||||
padding: 0 !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-cesiumInspector-dropDown {
|
||||
margin: 5px 0;
|
||||
font-family: sans-serif;
|
||||
font-size: 10pt;
|
||||
width: 185px;
|
||||
}
|
||||
.cesium-cesiumInspector-frustumStatistics {
|
||||
padding-left: 10px;
|
||||
padding: 5px;
|
||||
background-color: rgba(80, 80, 80, 0.75);
|
||||
}
|
||||
.cesium-cesiumInspector-pickButton {
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
border: 1px solid #444;
|
||||
color: #edffff;
|
||||
border-radius: 5px;
|
||||
padding: 3px 7px;
|
||||
cursor: pointer;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.cesium-cesiumInspector-pickButton:focus {
|
||||
outline: none;
|
||||
}
|
||||
.cesium-cesiumInspector-pickButton:active,
|
||||
.cesium-cesiumInspector-pickButtonHighlight {
|
||||
color: #000;
|
||||
background: #adf;
|
||||
border-color: #fff;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-cesiumInspector-center {
|
||||
text-align: center;
|
||||
}
|
||||
.cesium-cesiumInspector-sectionHeader {
|
||||
font-weight: bold;
|
||||
font-size: 10pt;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-cesiumInspector-pickSection {
|
||||
border: 1px solid #aaa;
|
||||
border-radius: 5px;
|
||||
padding: 3px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.cesium-cesiumInspector-sectionContent {
|
||||
margin-bottom: 10px;
|
||||
transition: max-height 0.25s;
|
||||
}
|
||||
.cesium-cesiumInspector-tileText {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #aaa;
|
||||
}
|
||||
.cesium-cesiumInspector-relativeText {
|
||||
padding-top: 10px;
|
||||
}
|
||||
.cesium-cesiumInspector-sectionHeader::before {
|
||||
margin-right: 5px;
|
||||
content: "-";
|
||||
width: 1ch;
|
||||
display: inline-block;
|
||||
}
|
||||
.cesium-cesiumInspector-section-collapsed .cesium-cesiumInspector-sectionHeader::before {
|
||||
content: "+";
|
||||
}
|
||||
|
@ -1 +1,119 @@
|
||||
.cesium-widget{position:relative}.cesium-widget,.cesium-widget canvas{width:100%;height:100%;touch-action:none}.cesium-widget-credits{display:block;position:absolute;bottom:0;left:0;color:#fff;font-size:10px;text-shadow:0 0 2px #000;padding-right:5px}.cesium-widget-credits a,.cesium-widget-credits a:visited{color:#fff}.cesium-widget-errorPanel{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;background:rgba(0,0,0,.7);z-index:99999}.cesium-widget-errorPanel:before{display:inline-block;vertical-align:middle;height:100%;content:""}.cesium-widget-errorPanel-content{width:75%;max-width:500px;display:inline-block;text-align:left;vertical-align:middle;border:1px solid #510c00;border-radius:7px;background-color:#f0d9d5;font-size:14px;color:#510c00}.cesium-widget-errorPanel-content.expanded{max-width:75%}.cesium-widget-errorPanel-header{font-size:18px;font-family:"Open Sans",Verdana,Geneva,sans-serif;background:#d69d93;border-bottom:2px solid #510c00;padding-bottom:10px;border-radius:3px 3px 0 0;padding:15px}.cesium-widget-errorPanel-scroll{overflow:auto;font-family:"Open Sans",Verdana,Geneva,sans-serif;white-space:pre-wrap;padding:0 15px;margin:10px 0 20px 0}.cesium-widget-errorPanel-buttonPanel{padding:0 15px;margin:10px 0 20px 0;text-align:right}.cesium-widget-errorPanel-buttonPanel button{border-color:#510c00;background:#d69d93;color:#202020;margin:0}.cesium-widget-errorPanel-buttonPanel button:focus{border-color:#510c00;background:#f0d9d5;color:#510c00}.cesium-widget-errorPanel-buttonPanel button:hover{border-color:#510c00;background:#f0d9d5;color:#510c00}.cesium-widget-errorPanel-buttonPanel button:active{border-color:#510c00;background:#b17b72;color:#510c00}.cesium-widget-errorPanel-more-details{text-decoration:underline;cursor:pointer}.cesium-widget-errorPanel-more-details:hover{color:#2b0700}
|
||||
.cesium-widget {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.cesium-widget,
|
||||
.cesium-widget canvas {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.cesium-widget-credits {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
text-shadow: 0px 0px 2px #000000;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel:before {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 100%;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-content {
|
||||
width: 75%;
|
||||
max-width: 500px;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
border: 1px solid #510c00;
|
||||
border-radius: 7px;
|
||||
background-color: #f0d9d5;
|
||||
font-size: 14px;
|
||||
color: #510c00;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-content.expanded {
|
||||
max-width: 75%;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-header {
|
||||
font-size: 18px;
|
||||
font-family: "Open Sans", Verdana, Geneva, sans-serif;
|
||||
background: #d69d93;
|
||||
border-bottom: 2px solid #510c00;
|
||||
padding-bottom: 10px;
|
||||
border-radius: 3px 3px 0 0;
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-scroll {
|
||||
overflow: auto;
|
||||
font-family: "Open Sans", Verdana, Geneva, sans-serif;
|
||||
white-space: pre-wrap;
|
||||
padding: 0 15px;
|
||||
margin: 10px 0 20px 0;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-buttonPanel {
|
||||
padding: 0 15px;
|
||||
margin: 10px 0 20px 0;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-buttonPanel button {
|
||||
border-color: #510c00;
|
||||
background: #d69d93;
|
||||
color: #202020;
|
||||
margin: 0;
|
||||
}
|
||||
.cesium-widget-errorPanel-buttonPanel button:focus {
|
||||
border-color: #510c00;
|
||||
background: #f0d9d5;
|
||||
color: #510c00;
|
||||
}
|
||||
.cesium-widget-errorPanel-buttonPanel button:hover {
|
||||
border-color: #510c00;
|
||||
background: #f0d9d5;
|
||||
color: #510c00;
|
||||
}
|
||||
.cesium-widget-errorPanel-buttonPanel button:active {
|
||||
border-color: #510c00;
|
||||
background: #b17b72;
|
||||
color: #510c00;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-more-details {
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.cesium-widget-errorPanel-more-details:hover {
|
||||
color: #2b0700;
|
||||
}
|
||||
|
@ -1 +1,14 @@
|
||||
.cesium-lighter .cesium-widget-errorPanel{background:rgba(255,255,255,.7)}.cesium-lighter .cesium-widget-errorPanel-content{border:1px solid #526f82;border-radius:7px;background-color:#fff;color:#000}.cesium-lighter .cesium-widget-errorPanel-header{color:#b87d00}
|
||||
.cesium-lighter .cesium-widget-errorPanel {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.cesium-lighter .cesium-widget-errorPanel-content {
|
||||
border: 1px solid #526f82;
|
||||
border-radius: 7px;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
|
||||
.cesium-lighter .cesium-widget-errorPanel-header {
|
||||
color: #b87d00;
|
||||
}
|
||||
|
@ -1 +1,8 @@
|
||||
.cesium-button.cesium-fullscreenButton{display:block;width:100%;height:100%;margin:0;border-radius:0}
|
||||
/* packages/widgets/Source/FullscreenButton/FullscreenButton.css */
|
||||
.cesium-button.cesium-fullscreenButton {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
@ -1 +1,70 @@
|
||||
.cesium-viewer-geocoderContainer .cesium-geocoder-input{border:solid 1px #444;background-color:rgba(40,40,40,.7);color:#fff;display:inline-block;vertical-align:middle;width:0;height:32px;margin:0;padding:0 32px 0 0;border-radius:0;box-sizing:border-box;transition:width ease-in-out .25s,background-color .2s ease-in-out;-webkit-appearance:none}.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input{border-color:#aef;box-shadow:0 0 8px #fff}.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus{border-color:#ea4;background-color:rgba(15,15,15,.9);box-shadow:none;outline:0}.cesium-viewer-geocoderContainer .cesium-geocoder-input-wide,.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input{padding-left:4px;width:250px}.cesium-viewer-geocoderContainer .search-results{position:absolute;background-color:#000;color:#eee;overflow-y:auto;opacity:.8;width:100%}.cesium-viewer-geocoderContainer .search-results ul{list-style-type:none;margin:0;padding:0}.cesium-viewer-geocoderContainer .search-results ul li{font-size:14px;padding:3px 10px}.cesium-viewer-geocoderContainer .search-results ul li:hover{cursor:pointer}.cesium-viewer-geocoderContainer .search-results ul li.active{background:#48b}.cesium-geocoder-searchButton{background-color:#303336;display:inline-block;position:absolute;cursor:pointer;width:32px;top:1px;right:1px;height:30px;vertical-align:middle;fill:#edffff}.cesium-geocoder-searchButton:hover{background-color:#48b}
|
||||
/* packages/widgets/Source/Geocoder/Geocoder.css */
|
||||
.cesium-viewer-geocoderContainer .cesium-geocoder-input {
|
||||
border: solid 1px #444;
|
||||
background-color: rgba(40, 40, 40, 0.7);
|
||||
color: white;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
width: 0;
|
||||
height: 32px;
|
||||
margin: 0;
|
||||
padding: 0 32px 0 0;
|
||||
border-radius: 0;
|
||||
box-sizing: border-box;
|
||||
transition: width ease-in-out 0.25s, background-color 0.2s ease-in-out;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus {
|
||||
border-color: #ea4;
|
||||
background-color: rgba(15, 15, 15, 0.9);
|
||||
box-shadow: none;
|
||||
outline: none;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer:hover .cesium-geocoder-input,
|
||||
.cesium-viewer-geocoderContainer .cesium-geocoder-input:focus,
|
||||
.cesium-viewer-geocoderContainer .cesium-geocoder-input-wide {
|
||||
padding-left: 4px;
|
||||
width: 250px;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .search-results {
|
||||
position: absolute;
|
||||
background-color: #000;
|
||||
color: #eee;
|
||||
overflow-y: auto;
|
||||
opacity: 0.8;
|
||||
width: 100%;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .search-results ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .search-results ul li {
|
||||
font-size: 14px;
|
||||
padding: 3px 10px;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .search-results ul li:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer .search-results ul li.active {
|
||||
background: #48b;
|
||||
}
|
||||
.cesium-geocoder-searchButton {
|
||||
background-color: #303336;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
width: 32px;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
height: 30px;
|
||||
vertical-align: middle;
|
||||
fill: #edffff;
|
||||
}
|
||||
.cesium-geocoder-searchButton:hover {
|
||||
background-color: #48b;
|
||||
}
|
||||
|
@ -1 +1,17 @@
|
||||
.cesium-lighter .cesium-geocoder-input{border:solid 1px #759dc0;background-color:rgba(240,240,240,.9);color:#000}.cesium-lighter .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input{border-color:#aef;box-shadow:0 0 8px #fff}.cesium-lighter .cesium-geocoder-searchButton{background-color:#e2f0ff;fill:#111}.cesium-lighter .cesium-geocoder-searchButton:hover{background-color:#a6d2ff}
|
||||
/* packages/widgets/Source/Geocoder/lighter.css */
|
||||
.cesium-lighter .cesium-geocoder-input {
|
||||
border: solid 1px #759dc0;
|
||||
background-color: rgba(240, 240, 240, 0.9);
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-lighter .cesium-geocoder-searchButton {
|
||||
background-color: #e2f0ff;
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-geocoder-searchButton:hover {
|
||||
background-color: #a6d2ff;
|
||||
}
|
||||
|
@ -0,0 +1,27 @@
|
||||
/* packages/widgets/Source/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css */
|
||||
.cesium-viewer-i3s-explorer ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .layersList {
|
||||
padding: 0;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer input {
|
||||
margin: 0 3px 0 0;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .expandItem {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
width: 20px;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .nested,
|
||||
.cesium-viewer-i3s-explorer #bsl-wrapper {
|
||||
display: none;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .active {
|
||||
display: block;
|
||||
}
|
||||
.cesium-viewer-i3s-explorer .li-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-content: center;
|
||||
}
|
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 7.1 KiB |
After Width: | Height: | Size: 7.1 KiB |
@ -1 +1,92 @@
|
||||
.cesium-infoBox{display:block;position:absolute;top:50px;right:0;width:40%;max-width:480px;background:rgba(38,38,38,.95);color:#edffff;border:1px solid #444;border-right:none;border-top-left-radius:7px;border-bottom-left-radius:7px;box-shadow:0 0 10px 1px #000;transform:translate(100%,0);visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in,transform .2s ease-in}.cesium-infoBox-visible{transform:translate(0,0);visibility:visible;opacity:1;transition:opacity .2s ease-out,transform .2s ease-out}.cesium-infoBox-title{display:block;height:20px;padding:5px 30px 5px 25px;background:#545454;border-top-left-radius:7px;text-align:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;box-sizing:content-box}.cesium-infoBox-bodyless .cesium-infoBox-title{border-bottom-left-radius:7px}button.cesium-infoBox-camera{display:block;position:absolute;top:4px;left:4px;width:22px;height:22px;background:0 0;border-color:transparent;border-radius:3px;padding:0 5px;margin:0}button.cesium-infoBox-close{display:block;position:absolute;top:5px;right:5px;height:20px;background:0 0;border:none;border-radius:2px;font-weight:700;font-size:16px;padding:0 5px;margin:0;color:#edffff}button.cesium-infoBox-close:focus{background:rgba(238,136,0,.44);outline:0}button.cesium-infoBox-close:hover{background:#888;color:#000}button.cesium-infoBox-close:active{background:#a00;color:#000}.cesium-infoBox-bodyless .cesium-infoBox-iframe{display:none}.cesium-infoBox-iframe{border:none;width:100%;width:calc(100% - 2px)}
|
||||
/* packages/widgets/Source/InfoBox/InfoBox.css */
|
||||
.cesium-infoBox {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 0;
|
||||
width: 40%;
|
||||
max-width: 480px;
|
||||
background: rgba(38, 38, 38, 0.95);
|
||||
color: #edffff;
|
||||
border: 1px solid #444;
|
||||
border-right: none;
|
||||
border-top-left-radius: 7px;
|
||||
border-bottom-left-radius: 7px;
|
||||
box-shadow: 0 0 10px 1px #000;
|
||||
transform: translate(100%, 0);
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition:
|
||||
visibility 0s 0.2s,
|
||||
opacity 0.2s ease-in,
|
||||
transform 0.2s ease-in;
|
||||
}
|
||||
.cesium-infoBox-visible {
|
||||
transform: translate(0, 0);
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-out, transform 0.2s ease-out;
|
||||
}
|
||||
.cesium-infoBox-title {
|
||||
display: block;
|
||||
height: 20px;
|
||||
padding: 5px 30px 5px 25px;
|
||||
background: rgba(84, 84, 84, 1);
|
||||
border-top-left-radius: 7px;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
.cesium-infoBox-bodyless .cesium-infoBox-title {
|
||||
border-bottom-left-radius: 7px;
|
||||
}
|
||||
button.cesium-infoBox-camera {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
border-radius: 3px;
|
||||
padding: 0 5px;
|
||||
margin: 0;
|
||||
}
|
||||
button.cesium-infoBox-close {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
height: 20px;
|
||||
background: transparent;
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
padding: 0 5px;
|
||||
margin: 0;
|
||||
color: #edffff;
|
||||
}
|
||||
button.cesium-infoBox-close:focus {
|
||||
background: rgba(238, 136, 0, 0.44);
|
||||
outline: none;
|
||||
}
|
||||
button.cesium-infoBox-close:hover {
|
||||
background: #888;
|
||||
color: #000;
|
||||
}
|
||||
button.cesium-infoBox-close:active {
|
||||
background: #a00;
|
||||
color: #000;
|
||||
}
|
||||
.cesium-infoBox-bodyless .cesium-infoBox-iframe {
|
||||
display: none;
|
||||
}
|
||||
.cesium-infoBox-iframe {
|
||||
border: none;
|
||||
width: 100%;
|
||||
width: calc(100% - 2px);
|
||||
}
|
||||
|
@ -1 +1,178 @@
|
||||
.cesium-svgPath-svg{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.cesium-button{display:inline-block;position:relative;background:#303336;border:1px solid #444;color:#edffff;fill:#edffff;border-radius:4px;padding:5px 12px;margin:2px 3px;cursor:pointer;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-button:focus{color:#fff;fill:#fff;border-color:#ea4;outline:0}.cesium-button:hover{color:#fff;fill:#fff;background:#48b;border-color:#aef;box-shadow:0 0 8px #fff}.cesium-button:active{color:#000;fill:#000;background:#adf;border-color:#fff;box-shadow:0 0 8px #fff}.cesium-button-disabled,.cesium-button-disabled:active,.cesium-button-disabled:focus,.cesium-button-disabled:hover,.cesium-button:disabled{background:#303336;border-color:#444;color:#646464;fill:#646464;box-shadow:none;cursor:default}.cesium-button option{background-color:#000;color:#eee}.cesium-button option:disabled{color:#777}.cesium-button input,.cesium-button label{cursor:pointer}.cesium-button input{vertical-align:sub}.cesium-toolbar-button{box-sizing:border-box;width:32px;height:32px;border-radius:14%;padding:0;vertical-align:middle;z-index:0}.cesium-performanceDisplay-defaultContainer{position:absolute;top:50px;right:10px;text-align:right}.cesium-performanceDisplay{background-color:rgba(40,40,40,.7);padding:7px;border-radius:5px;border:1px solid #444;font:bold 12px sans-serif}.cesium-performanceDisplay-fps{color:#e52}.cesium-performanceDisplay-throttled{color:#a42}.cesium-performanceDisplay-ms{color:#de3}body{margin:0;padding:0}.cesium-infoBox-description{font-family:sans-serif;font-size:13px;padding:4px 10px;margin-right:4px;color:#edffff}.cesium-infoBox-description a:active,.cesium-infoBox-description a:hover,.cesium-infoBox-description a:link,.cesium-infoBox-description a:visited{color:#edffff}.cesium-infoBox-description table{color:#edffff}.cesium-infoBox-defaultTable{width:100%;color:#edffff}.cesium-infoBox-defaultTable tr:nth-child(odd){background-color:rgba(84,84,84,.8)}.cesium-infoBox-defaultTable tr:nth-child(even){background-color:rgba(84,84,84,.25)}.cesium-infoBox-defaultTable th{font-weight:400;padding:3px;vertical-align:middle;text-align:center}.cesium-infoBox-defaultTable td{padding:3px;vertical-align:middle;text-align:left}.cesium-infoBox-description-lighter{color:#000}.cesium-infoBox-description-lighter a:active,.cesium-infoBox-description-lighter a:hover,.cesium-infoBox-description-lighter a:link,.cesium-infoBox-description-lighter a:visited{color:#000}.cesium-infoBox-description-lighter table{color:#000}.cesium-infoBox-defaultTable-lighter{width:100%;color:#000}.cesium-infoBox-defaultTable-lighter tr:nth-child(odd){background-color:rgba(179,179,179,.8)}.cesium-infoBox-defaultTable-lighter tr:nth-child(even){background-color:rgba(179,179,179,.25)}.cesium-infoBox-loadingContainer{margin:5px;text-align:center}.cesium-infoBox-loading{display:inline-block;background-image:url(../Images/info-loading.gif);width:16px;height:11px}
|
||||
/* packages/widgets/Source/shared.css */
|
||||
.cesium-svgPath-svg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-button {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
background: #303336;
|
||||
border: 1px solid #444;
|
||||
color: #edffff;
|
||||
fill: #edffff;
|
||||
border-radius: 4px;
|
||||
padding: 5px 12px;
|
||||
margin: 2px 3px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.cesium-button:focus {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
border-color: #ea4;
|
||||
outline: none;
|
||||
}
|
||||
.cesium-button:hover {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background: #48b;
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-button:active {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
background: #adf;
|
||||
border-color: #fff;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-button:disabled,
|
||||
.cesium-button-disabled,
|
||||
.cesium-button-disabled:focus,
|
||||
.cesium-button-disabled:hover,
|
||||
.cesium-button-disabled:active {
|
||||
background: #303336;
|
||||
border-color: #444;
|
||||
color: #646464;
|
||||
fill: #646464;
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
.cesium-button option {
|
||||
background-color: #000;
|
||||
color: #eee;
|
||||
}
|
||||
.cesium-button option:disabled {
|
||||
color: #777;
|
||||
}
|
||||
.cesium-button input,
|
||||
.cesium-button label {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-button input {
|
||||
vertical-align: sub;
|
||||
}
|
||||
.cesium-toolbar-button {
|
||||
box-sizing: border-box;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 14%;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
z-index: 0;
|
||||
}
|
||||
.cesium-performanceDisplay-defaultContainer {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
.cesium-performanceDisplay {
|
||||
background-color: rgba(40, 40, 40, 0.7);
|
||||
padding: 7px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #444;
|
||||
font: bold 12px sans-serif;
|
||||
}
|
||||
.cesium-performanceDisplay-fps {
|
||||
color: #e52;
|
||||
}
|
||||
.cesium-performanceDisplay-throttled {
|
||||
color: #a42;
|
||||
}
|
||||
.cesium-performanceDisplay-ms {
|
||||
color: #de3;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/InfoBox/InfoBoxDescription.css */
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.cesium-infoBox-description {
|
||||
font-family: sans-serif;
|
||||
font-size: 13px;
|
||||
padding: 4px 10px;
|
||||
margin-right: 4px;
|
||||
color: #edffff;
|
||||
}
|
||||
.cesium-infoBox-description a:link,
|
||||
.cesium-infoBox-description a:visited,
|
||||
.cesium-infoBox-description a:hover,
|
||||
.cesium-infoBox-description a:active {
|
||||
color: #edffff;
|
||||
}
|
||||
.cesium-infoBox-description table {
|
||||
color: #edffff;
|
||||
}
|
||||
.cesium-infoBox-defaultTable {
|
||||
width: 100%;
|
||||
color: #edffff;
|
||||
}
|
||||
.cesium-infoBox-defaultTable tr:nth-child(odd) {
|
||||
background-color: rgba(84, 84, 84, 0.8);
|
||||
}
|
||||
.cesium-infoBox-defaultTable tr:nth-child(even) {
|
||||
background-color: rgba(84, 84, 84, 0.25);
|
||||
}
|
||||
.cesium-infoBox-defaultTable th {
|
||||
font-weight: normal;
|
||||
padding: 3px;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
.cesium-infoBox-defaultTable td {
|
||||
padding: 3px;
|
||||
vertical-align: middle;
|
||||
text-align: left;
|
||||
}
|
||||
.cesium-infoBox-description-lighter {
|
||||
color: #000000;
|
||||
}
|
||||
.cesium-infoBox-description-lighter a:link,
|
||||
.cesium-infoBox-description-lighter a:visited,
|
||||
.cesium-infoBox-description-lighter a:hover,
|
||||
.cesium-infoBox-description-lighter a:active {
|
||||
color: #000000;
|
||||
}
|
||||
.cesium-infoBox-description-lighter table {
|
||||
color: #000000;
|
||||
}
|
||||
.cesium-infoBox-defaultTable-lighter {
|
||||
width: 100%;
|
||||
color: #000000;
|
||||
}
|
||||
.cesium-infoBox-defaultTable-lighter tr:nth-child(odd) {
|
||||
background-color: rgba(179, 179, 179, 0.8);
|
||||
}
|
||||
.cesium-infoBox-defaultTable-lighter tr:nth-child(even) {
|
||||
background-color: rgba(179, 179, 179, 0.25);
|
||||
}
|
||||
.cesium-infoBox-loadingContainer {
|
||||
margin: 5px;
|
||||
text-align: center;
|
||||
}
|
||||
.cesium-infoBox-loading {
|
||||
display: inline-block;
|
||||
background-image: url(data:text/plain;base64,R0lGODlhEAALAPQAAAAAAOLTlyAdFSgmGxEQC9zOk+LTl7mse25nSYyDXTw4KMO2gqCVa2dgRIl/Wzg1JsCzgN7PlJySaBUTDiEfFggIBbCkdR4cFAoJB0A7KlNONy4rHg4NCQAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCwAAACwAAAAAEAALAAAFLSAgjmRpnqSgCuLKAq5AEIM4zDVw03ve27ifDgfkEYe04kDIDC5zrtYKRa2WQgAh+QQJCwAAACwAAAAAEAALAAAFJGBhGAVgnqhpHIeRvsDawqns0qeN5+y967tYLyicBYE7EYkYAgAh+QQJCwAAACwAAAAAEAALAAAFNiAgjothLOOIJAkiGgxjpGKiKMkbz7SN6zIawJcDwIK9W/HISxGBzdHTuBNOmcJVCyoUlk7CEAAh+QQJCwAAACwAAAAAEAALAAAFNSAgjqQIRRFUAo3jNGIkSdHqPI8Tz3V55zuaDacDyIQ+YrBH+hWPzJFzOQQaeavWi7oqnVIhACH5BAkLAAAALAAAAAAQAAsAAAUyICCOZGme1rJY5kRRk7hI0mJSVUXJtF3iOl7tltsBZsNfUegjAY3I5sgFY55KqdX1GgIAIfkECQsAAAAsAAAAABAACwAABTcgII5kaZ4kcV2EqLJipmnZhWGXaOOitm2aXQ4g7P2Ct2ER4AMul00kj5g0Al8tADY2y6C+4FIIACH5BAkLAAAALAAAAAAQAAsAAAUvICCOZGme5ERRk6iy7qpyHCVStA3gNa/7txxwlwv2isSacYUc+l4tADQGQ1mvpBAAIfkECQsAAAAsAAAAABAACwAABS8gII5kaZ7kRFGTqLLuqnIcJVK0DeA1r/u3HHCXC/aKxJpxhRz6Xi0ANAZDWa+kEAA7AAAAAAAAAAAA);
|
||||
width: 16px;
|
||||
height: 11px;
|
||||
}
|
||||
|
@ -1 +1,93 @@
|
||||
.cesium-navigationHelpButton-wrapper{position:relative;display:inline-block}.cesium-navigation-help{visibility:hidden;position:absolute;top:38px;right:2px;width:250px;border-radius:10px;transform:scale(.01);transform-origin:234px -10px;transition:visibility 0s .25s,transform .25s ease-in}.cesium-navigation-help-visible{visibility:visible;transform:scale(1);transition:transform .25s ease-out}.cesium-navigation-help-instructions{border:1px solid #444;background-color:rgba(38,38,38,.75);padding-bottom:5px;border-radius:0 0 10px 10px}.cesium-click-navigation-help{display:none}.cesium-touch-navigation-help{display:none;padding-top:5px}.cesium-click-navigation-help-visible{display:block}.cesium-touch-navigation-help-visible{display:block}.cesium-navigation-help-pan{color:#6cf;font-weight:700}.cesium-navigation-help-zoom{color:#65fd00;font-weight:700}.cesium-navigation-help-rotate{color:#ffd800;font-weight:700}.cesium-navigation-help-tilt{color:#d800d8;font-weight:700}.cesium-navigation-help-details{color:#fff}.cesium-navigation-button{color:#fff;background-color:transparent;border-bottom:none;border-top:1px solid #444;border-right:1px solid #444;margin:0;width:50%;cursor:pointer}.cesium-navigation-button-icon{vertical-align:middle;padding:5px 1px}.cesium-navigation-button:focus{outline:0}.cesium-navigation-button-left{border-radius:10px 0 0 0;border-left:1px solid #444}.cesium-navigation-button-right{border-radius:0 10px 0 0;border-left:none}.cesium-navigation-button-selected{background-color:rgba(38,38,38,.75)}.cesium-navigation-button-unselected{background-color:rgba(0,0,0,.75)}.cesium-navigation-button-unselected:hover{background-color:rgba(76,76,76,.75)}
|
||||
/* packages/widgets/Source/NavigationHelpButton/NavigationHelpButton.css */
|
||||
.cesium-navigationHelpButton-wrapper {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
}
|
||||
.cesium-navigation-help {
|
||||
visibility: hidden;
|
||||
position: absolute;
|
||||
top: 38px;
|
||||
right: 2px;
|
||||
width: 250px;
|
||||
border-radius: 10px;
|
||||
transform: scale(0.01);
|
||||
transform-origin: 234px -10px;
|
||||
transition: visibility 0s 0.25s, transform 0.25s ease-in;
|
||||
}
|
||||
.cesium-navigation-help-visible {
|
||||
visibility: visible;
|
||||
transform: scale(1);
|
||||
transition: transform 0.25s ease-out;
|
||||
}
|
||||
.cesium-navigation-help-instructions {
|
||||
border: 1px solid #444;
|
||||
background-color: rgba(38, 38, 38, 0.75);
|
||||
padding-bottom: 5px;
|
||||
border-radius: 0 0 10px 10px;
|
||||
}
|
||||
.cesium-click-navigation-help {
|
||||
display: none;
|
||||
}
|
||||
.cesium-touch-navigation-help {
|
||||
display: none;
|
||||
padding-top: 5px;
|
||||
}
|
||||
.cesium-click-navigation-help-visible {
|
||||
display: block;
|
||||
}
|
||||
.cesium-touch-navigation-help-visible {
|
||||
display: block;
|
||||
}
|
||||
.cesium-navigation-help-pan {
|
||||
color: #66ccff;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-navigation-help-zoom {
|
||||
color: #65fd00;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-navigation-help-rotate {
|
||||
color: #ffd800;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-navigation-help-tilt {
|
||||
color: #d800d8;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-navigation-help-details {
|
||||
color: #ffffff;
|
||||
}
|
||||
.cesium-navigation-button {
|
||||
color: #fff;
|
||||
background-color: transparent;
|
||||
border-bottom: none;
|
||||
border-top: 1px solid #444;
|
||||
border-right: 1px solid #444;
|
||||
margin: 0;
|
||||
width: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-navigation-button-icon {
|
||||
vertical-align: middle;
|
||||
padding: 5px 1px;
|
||||
}
|
||||
.cesium-navigation-button:focus {
|
||||
outline: none;
|
||||
}
|
||||
.cesium-navigation-button-left {
|
||||
border-radius: 10px 0 0 0;
|
||||
border-left: 1px solid #444;
|
||||
}
|
||||
.cesium-navigation-button-right {
|
||||
border-radius: 0 10px 0 0;
|
||||
border-left: none;
|
||||
}
|
||||
.cesium-navigation-button-selected {
|
||||
background-color: rgba(38, 38, 38, 0.75);
|
||||
}
|
||||
.cesium-navigation-button-unselected {
|
||||
background-color: rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
.cesium-navigation-button-unselected:hover {
|
||||
background-color: rgba(76, 76, 76, 0.75);
|
||||
}
|
||||
|
@ -1 +1,38 @@
|
||||
.cesium-lighter .cesium-navigation-help-instructions{border:1px solid #759dc0;background-color:rgba(255,255,255,.9)}.cesium-lighter .cesium-navigation-help-pan{color:#6ce;font-weight:700}.cesium-lighter .cesium-navigation-help-zoom{color:#65ec00;font-weight:700}.cesium-lighter .cesium-navigation-help-rotate{color:#eec722;font-weight:700}.cesium-lighter .cesium-navigation-help-tilt{color:#d800d8;font-weight:700}.cesium-lighter .cesium-navigation-help-details{color:#222}.cesium-lighter .cesium-navigation-button{color:#222;border-top:1px solid #759dc0;border-right:1px solid #759dc0}.cesium-lighter .cesium-navigation-button-selected{background-color:rgba(196,225,255,.9)}.cesium-lighter .cesium-navigation-button-unselected{background-color:rgba(226,240,255,.9)}.cesium-lighter .cesium-navigation-button-unselected:hover{background-color:rgba(166,210,255,.9)}
|
||||
/* packages/widgets/Source/NavigationHelpButton/lighter.css */
|
||||
.cesium-lighter .cesium-navigation-help-instructions {
|
||||
border: 1px solid #759dc0;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-pan {
|
||||
color: #66ccee;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-zoom {
|
||||
color: #65ec00;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-rotate {
|
||||
color: #eec722;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-tilt {
|
||||
color: #d800d8;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-details {
|
||||
color: #222222;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button {
|
||||
color: #222222;
|
||||
border-top: 1px solid #759dc0;
|
||||
border-right: 1px solid #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-selected {
|
||||
background-color: rgba(196, 225, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-unselected {
|
||||
background-color: rgba(226, 240, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-unselected:hover {
|
||||
background-color: rgba(166, 210, 255, 0.9);
|
||||
}
|
||||
|
@ -1 +1,15 @@
|
||||
.cesium-performance-watchdog-message-area{position:relative;background-color:#ff0;color:#000;padding:10px}.cesium-performance-watchdog-message{margin-right:30px}.cesium-performance-watchdog-message-dismiss{position:absolute;right:0;margin:0 10px 0 0}
|
||||
/* packages/widgets/Source/PerformanceWatchdog/PerformanceWatchdog.css */
|
||||
.cesium-performance-watchdog-message-area {
|
||||
position: relative;
|
||||
background-color: yellow;
|
||||
color: black;
|
||||
padding: 10px;
|
||||
}
|
||||
.cesium-performance-watchdog-message {
|
||||
margin-right: 30px;
|
||||
}
|
||||
.cesium-performance-watchdog-message-dismiss {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
@ -1 +1,38 @@
|
||||
span.cesium-projectionPicker-wrapper{display:inline-block;position:relative;margin:0 3px}.cesium-projectionPicker-visible{visibility:visible;opacity:1;transition:opacity .25s linear}.cesium-projectionPicker-hidden{visibility:hidden;opacity:0;transition:visibility 0s .25s,opacity .25s linear}.cesium-projectionPicker-wrapper .cesium-projectionPicker-none{display:none}.cesium-projectionPicker-wrapper .cesium-projectionPicker-dropDown-icon{box-sizing:border-box;padding:0;margin:3px 0}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic,.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective{margin:0 0 3px 0}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective .cesium-projectionPicker-iconOrthographic{left:100%}.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic .cesium-projectionPicker-iconPerspective{left:-100%}.cesium-projectionPicker-wrapper .cesium-projectionPicker-selected{border-color:#2e2;box-shadow:0 0 8px #fff,0 0 8px #fff}
|
||||
/* packages/widgets/Source/ProjectionPicker/ProjectionPicker.css */
|
||||
span.cesium-projectionPicker-wrapper {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.cesium-projectionPicker-visible {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.25s linear;
|
||||
}
|
||||
.cesium-projectionPicker-hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: visibility 0s 0.25s, opacity 0.25s linear;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-none {
|
||||
display: none;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-dropDown-icon {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 3px 0;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective,
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic {
|
||||
margin: 0 0 3px 0;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonPerspective .cesium-projectionPicker-iconOrthographic {
|
||||
left: 100%;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-buttonOrthographic .cesium-projectionPicker-iconPerspective {
|
||||
left: -100%;
|
||||
}
|
||||
.cesium-projectionPicker-wrapper .cesium-projectionPicker-selected {
|
||||
border-color: #2e2;
|
||||
box-shadow: 0 0 8px #fff, 0 0 8px #fff;
|
||||
}
|
||||
|
@ -1 +1,56 @@
|
||||
span.cesium-sceneModePicker-wrapper{display:inline-block;position:relative;margin:0 3px}.cesium-sceneModePicker-visible{visibility:visible;opacity:1;transition:opacity .25s linear}.cesium-sceneModePicker-hidden{visibility:hidden;opacity:0;transition:visibility 0s .25s,opacity .25s linear}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-none{display:none}.cesium-sceneModePicker-slide-svg{transition:left 2s;top:0;left:0}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon{box-sizing:border-box;padding:0;margin:3px 0}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D,.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D,.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView{margin:0 0 3px 0}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-icon2D{left:100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-iconColumbusView{left:200%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon3D{left:-200%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon2D{left:-100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-icon3D{left:-100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-iconColumbusView{left:100%}.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-selected{border-color:#2e2;box-shadow:0 0 8px #fff,0 0 8px #fff}
|
||||
/* packages/widgets/Source/SceneModePicker/SceneModePicker.css */
|
||||
span.cesium-sceneModePicker-wrapper {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.cesium-sceneModePicker-visible {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.25s linear;
|
||||
}
|
||||
.cesium-sceneModePicker-hidden {
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: visibility 0s 0.25s, opacity 0.25s linear;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-none {
|
||||
display: none;
|
||||
}
|
||||
.cesium-sceneModePicker-slide-svg {
|
||||
transition: left 2s;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-dropDown-icon {
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
margin: 3px 0;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D,
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView,
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D {
|
||||
margin: 0 0 3px 0;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-icon2D {
|
||||
left: 100%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button3D .cesium-sceneModePicker-iconColumbusView {
|
||||
left: 200%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon3D {
|
||||
left: -200%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-buttonColumbusView .cesium-sceneModePicker-icon2D {
|
||||
left: -100%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-icon3D {
|
||||
left: -100%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-button2D .cesium-sceneModePicker-iconColumbusView {
|
||||
left: 100%;
|
||||
}
|
||||
.cesium-sceneModePicker-wrapper .cesium-sceneModePicker-selected {
|
||||
border-color: #2e2;
|
||||
box-shadow: 0 0 8px #fff, 0 0 8px #fff;
|
||||
}
|
||||
|
@ -1 +1,20 @@
|
||||
.cesium-selection-wrapper{position:absolute;width:160px;height:160px;pointer-events:none;visibility:hidden;opacity:0;transition:visibility 0s .2s,opacity .2s ease-in}.cesium-selection-wrapper-visible{visibility:visible;opacity:1;transition:opacity .2s ease-out}.cesium-selection-wrapper svg{fill:#2e2;stroke:#000;stroke-width:1.1px}
|
||||
/* packages/widgets/Source/SelectionIndicator/SelectionIndicator.css */
|
||||
.cesium-selection-wrapper {
|
||||
position: absolute;
|
||||
width: 160px;
|
||||
height: 160px;
|
||||
pointer-events: none;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
transition: visibility 0s 0.2s, opacity 0.2s ease-in;
|
||||
}
|
||||
.cesium-selection-wrapper-visible {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-out;
|
||||
}
|
||||
.cesium-selection-wrapper svg {
|
||||
fill: #2e2;
|
||||
stroke: #000;
|
||||
stroke-width: 1.1px;
|
||||
}
|
||||
|
@ -1 +1,103 @@
|
||||
.cesium-timeline-main{position:relative;left:0;bottom:0;overflow:hidden;border:solid 1px #888}.cesium-timeline-trackContainer{width:100%;overflow:auto;border-top:solid 1px #888;position:relative;top:0;left:0}.cesium-timeline-tracks{position:absolute;top:0;left:0;width:100%}.cesium-timeline-needle{position:absolute;left:0;top:1.7em;bottom:0;width:1px;background:red}.cesium-timeline-bar{position:relative;left:0;top:0;overflow:hidden;cursor:pointer;width:100%;height:1.7em;background:linear-gradient(to bottom,rgba(116,117,119,.8) 0,rgba(58,68,82,.8) 11%,rgba(46,50,56,.8) 46%,rgba(53,53,53,.8) 81%,rgba(53,53,53,.8) 100%)}.cesium-timeline-ruler{visibility:hidden;white-space:nowrap;font-size:80%;z-index:-200}.cesium-timeline-highlight{position:absolute;bottom:0;left:0;background:#08f}.cesium-timeline-ticLabel{position:absolute;top:0;left:0;white-space:nowrap;font-size:80%;color:#eee}.cesium-timeline-ticMain{position:absolute;bottom:0;left:0;width:1px;height:50%;background:#eee}.cesium-timeline-ticSub{position:absolute;bottom:0;left:0;width:1px;height:33%;background:#aaa}.cesium-timeline-ticTiny{position:absolute;bottom:0;left:0;width:1px;height:25%;background:#888}.cesium-timeline-icon16{display:block;position:absolute;width:16px;height:16px;background-image:url(../Images/TimelineIcons.png);background-repeat:no-repeat}
|
||||
/* packages/widgets/Source/Timeline/Timeline.css */
|
||||
.cesium-timeline-main {
|
||||
position: relative;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
border: solid 1px #888;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.cesium-timeline-trackContainer {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
border-top: solid 1px #888;
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.cesium-timeline-tracks {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.cesium-timeline-needle {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 1.7em;
|
||||
bottom: 0;
|
||||
width: 1px;
|
||||
background: #f00;
|
||||
}
|
||||
.cesium-timeline-bar {
|
||||
position: relative;
|
||||
left: 0;
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
height: 1.7em;
|
||||
background:
|
||||
linear-gradient(
|
||||
to bottom,
|
||||
rgba(116, 117, 119, 0.8) 0%,
|
||||
rgba(58, 68, 82, 0.8) 11%,
|
||||
rgba(46, 50, 56, 0.8) 46%,
|
||||
rgba(53, 53, 53, 0.8) 81%,
|
||||
rgba(53, 53, 53, 0.8) 100%);
|
||||
}
|
||||
.cesium-timeline-ruler {
|
||||
visibility: hidden;
|
||||
white-space: nowrap;
|
||||
font-size: 80%;
|
||||
z-index: -200;
|
||||
}
|
||||
.cesium-timeline-highlight {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: #08f;
|
||||
}
|
||||
.cesium-timeline-ticLabel {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
white-space: nowrap;
|
||||
font-size: 80%;
|
||||
color: #eee;
|
||||
}
|
||||
.cesium-timeline-ticMain {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 50%;
|
||||
background: #eee;
|
||||
}
|
||||
.cesium-timeline-ticSub {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 33%;
|
||||
background: #aaa;
|
||||
}
|
||||
.cesium-timeline-ticTiny {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 25%;
|
||||
background: #888;
|
||||
}
|
||||
.cesium-timeline-icon16 {
|
||||
display: block;
|
||||
position: absolute;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-image: url(data:text/plain;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAQCAYAAAB3AH1ZAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sIDBITKIVzLEMAAAKNSURBVEjHxdXNSxRhHAfw7zzrqhuoWJnSkrippUVSEKsHI9BTUYdAJA/RoYMREV26rAdn6tAfUARi16hQqkOBQRgUEYFWEC3OwczMjdZd92VmdWfmeelgTjO7q7gb0VzmmZnn85vvPPPMM8B/3qTcE2PPpuTZKB1eWuUQACgXYACYwVFbCTTVeZXB/i55o4LFelcAZfStYD4vpAoPGAGo4GBcQEgSOAUMQyAezwK6iQfDPXnhS/FkHZ+/8VLMWxxqWkfH3gbMRNOYi2roavbja0zHQmoFPYf8ED4Ko4aivm9MOG/u9I8mwrafeK7a/tVrNc/bARYN5noadeq7q0342vXw9CIMU6BmW8rVP9cPBPe52uu+v3O/y9sB4gkTWs6Qsk0mj5ExXMelejvA8WafYmkmGPHanTijdtvif8rx5RiCjdWKs2Cp3jWRDl96KhrbqlBeJqBOLyLQXg0IgbkZDS0dO8EZxZfPSTA9jvDDK3mT0OmP1FXh3XwEEAKdTX5MRWLgjCK4pwH3xt/YnjgLHAv4lHTCAKMMu/wV+KZGob6PoKyMQ0+sgBpZVJZn0NterxQaVqef/DRn+/EXYds/mZx2eVeAW9d65dhCEsaKCb7K8HH0gqTevyh9GDkn0VULRiaLzJKGBu9swfdaiie5RVo9ESURN8E8BE0n7ggACJy8KzghSCzp6DmwWxkaCm24EBXr8wI8Hrkq06QBiRC0t24HALS11IBTCyJl4vb1AXmzpbVYTwoVOXN0h7L8Mwtm8bXPybIQ/5FCX3dA2cr6XowvGCA02CvztAnz9+JiZk1AMxG6fEreSoBiPNmoyNnuWiWVzAIAtISO08E6pZi/3N96AIDn4E3h3P8L/wshP+txtEs4JAAAAABJRU5ErkJggg==);
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
@ -1 +1,23 @@
|
||||
.cesium-lighter .cesium-timeline-bar{background:linear-gradient(to bottom,#eee 0,#fff 50%,#fafafa 100%)}.cesium-lighter .cesium-timeline-ticLabel{color:#000}.cesium-lighter .cesium-timeline-ticMain{position:absolute;bottom:0;left:0;width:1px;height:50%;background:#000}.cesium-lighter .cesium-timeline-ticSub{background:#444}
|
||||
/* packages/widgets/Source/Timeline/lighter.css */
|
||||
.cesium-lighter .cesium-timeline-bar {
|
||||
background:
|
||||
linear-gradient(
|
||||
to bottom,
|
||||
#eeeeee 0%,
|
||||
#ffffff 50%,
|
||||
#fafafa 100%);
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticLabel {
|
||||
color: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticMain {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 50%;
|
||||
background: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticSub {
|
||||
background: #444;
|
||||
}
|
||||
|
@ -1 +1,8 @@
|
||||
.cesium-button.cesium-vrButton{display:block;width:100%;height:100%;margin:0;border-radius:0}
|
||||
/* packages/widgets/Source/VRButton/VRButton.css */
|
||||
.cesium-button.cesium-vrButton {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
@ -1 +1,107 @@
|
||||
.cesium-viewer{font-family:sans-serif;font-size:16px;overflow:hidden;display:block;position:relative;top:0;left:0;width:100%;height:100%}.cesium-viewer-cesiumWidgetContainer{width:100%;height:100%}.cesium-viewer-bottom{display:block;position:absolute;bottom:0;left:0;padding-right:5px}.cesium-viewer .cesium-widget-credits{display:inline;position:static;bottom:auto;left:auto;padding-right:0;color:#fff;font-size:10px;text-shadow:0 0 2px #000}.cesium-viewer-timelineContainer{position:absolute;bottom:0;left:169px;right:29px;height:27px;padding:0;margin:0;overflow:hidden;font-size:14px}.cesium-viewer-animationContainer{position:absolute;bottom:0;left:0;padding:0;width:169px;height:112px}.cesium-viewer-fullscreenContainer{position:absolute;bottom:0;right:0;padding:0;width:29px;height:29px;overflow:hidden}.cesium-viewer-vrContainer{position:absolute;bottom:0;right:0;padding:0;width:29px;height:29px;overflow:hidden}.cesium-viewer-toolbar{display:block;position:absolute;top:5px;right:5px}.cesium-viewer-cesiumInspectorContainer{display:block;position:absolute;top:50px;right:10px}.cesium-viewer-geocoderContainer{position:relative;display:inline-block;margin:0 3px}.cesium-viewer-cesium3DTilesInspectorContainer{display:block;position:absolute;top:50px;right:10px;max-height:calc(100% - 120px);box-sizing:border-box;overflow-y:auto;overflow-x:hidden}
|
||||
/* packages/widgets/Source/Viewer/Viewer.css */
|
||||
.cesium-viewer {
|
||||
font-family: sans-serif;
|
||||
font-size: 16px;
|
||||
overflow: hidden;
|
||||
display: block;
|
||||
position: relative;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.cesium-viewer-cesiumWidgetContainer {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.cesium-viewer-bottom {
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding-right: 5px;
|
||||
}
|
||||
.cesium-viewer .cesium-widget-credits {
|
||||
display: inline;
|
||||
position: static;
|
||||
bottom: auto;
|
||||
left: auto;
|
||||
padding-right: 0;
|
||||
color: #ffffff;
|
||||
font-size: 10px;
|
||||
text-shadow: 0 0 2px #000000;
|
||||
}
|
||||
.cesium-viewer-timelineContainer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 169px;
|
||||
right: 29px;
|
||||
height: 27px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
}
|
||||
.cesium-viewer-animationContainer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
padding: 0;
|
||||
width: 169px;
|
||||
height: 112px;
|
||||
}
|
||||
.cesium-viewer-fullscreenContainer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding: 0;
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-viewer-vrContainer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
padding: 0;
|
||||
width: 29px;
|
||||
height: 29px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-viewer-toolbar {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
.cesium-viewer-cesiumInspectorContainer {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 10px;
|
||||
}
|
||||
.cesium-viewer-geocoderContainer {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin: 0 3px;
|
||||
}
|
||||
.cesium-viewer-cesium3DTilesInspectorContainer {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 10px;
|
||||
max-height: calc(100% - 120px);
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.cesium-viewer-voxelInspectorContainer {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 10px;
|
||||
max-height: calc(100% - 120px);
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
@ -0,0 +1,16 @@
|
||||
/* packages/widgets/Source/VoxelInspector/VoxelInspector.css */
|
||||
.cesium-VoxelInspector {
|
||||
width: 300px;
|
||||
pointer-events: all;
|
||||
}
|
||||
.cesium-VoxelInspector div,
|
||||
.cesium-VoxelInspector input[type=range] {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.cesium-VoxelInspector .cesium-cesiumInspector-section {
|
||||
margin-top: 3px;
|
||||
}
|
||||
.cesium-VoxelInspector .cesium-cesiumInspector-sectionHeader + .cesium-cesiumInspector-show {
|
||||
border-top: 1px solid white;
|
||||
}
|
@ -1 +1,237 @@
|
||||
.cesium-lighter .cesium-button{color:#111;fill:#111;background:#e2f0ff;border:1px solid #759dc0}.cesium-lighter .cesium-button:focus{color:#000;fill:#000;border-color:#ea4}.cesium-lighter .cesium-button:hover{color:#000;fill:#000;background:#a6d2ff;border-color:#aef;box-shadow:0 0 8px #777}.cesium-lighter .cesium-button:active{color:#fff;fill:#fff;background:#48b;border-color:#ea0}.cesium-lighter .cesium-button-disabled,.cesium-lighter .cesium-button-disabled:active,.cesium-lighter .cesium-button-disabled:focus,.cesium-lighter .cesium-button-disabled:hover,.cesium-lighter .cesium-button:disabled{background:#ccc;border-color:#999;color:#999;fill:#999;box-shadow:none}.cesium-lighter .cesium-performanceDisplay{background-color:#e2f0ff;border-color:#759dc0}.cesium-lighter .cesium-performanceDisplay-fps{color:#e52}.cesium-lighter .cesium-performanceDisplay-ms{color:#ea4}.cesium-lighter .cesium-animation-themeNormal{color:#e5f2fe}.cesium-lighter .cesium-animation-themeHover{color:#abd6ff}.cesium-lighter .cesium-animation-themeSelect{color:#e5f2fe}.cesium-lighter .cesium-animation-themeDisabled{color:#efefef}.cesium-lighter .cesium-animation-themeKnob{color:#e1e2e3}.cesium-lighter .cesium-animation-themePointer{color:#fa5}.cesium-lighter .cesium-animation-themeSwoosh{color:#ace}.cesium-lighter .cesium-animation-themeSwooshHover{color:#bdf}.cesium-lighter .cesium-animation-svgText{fill:#111}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath{fill:#111}.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow{fill:#ffaa2a}.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:hover .cesium-animation-buttonMain{stroke:#759dc0}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow{fill:#fff}.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonMain{stroke:#ea0}.cesium-lighter .cesium-animation-rectButton:active .cesium-animation-buttonMain{fill:#abd6ff}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain{stroke:#d3d3d3}.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath{fill:#818181}.cesium-lighter .cesium-animation-shuttleRingBack{fill:#fafafa;fill-opacity:1;stroke:#aeaeae;stroke-width:1.2}.cesium-lighter .cesium-animation-shuttleRingSwoosh line{stroke:#8ac}.cesium-lighter .cesium-animation-knobOuter{stroke:#a5a5a5}.cesium-lighter .cesium-baseLayerPicker-itemIcon{border-color:#759dc0}.cesium-lighter .cesium-baseLayerPicker-dropDown{background-color:rgba(240,240,240,.75)}.cesium-lighter .cesium-baseLayerPicker-sectionTitle{color:#000}.cesium-lighter .cesium-baseLayerPicker-itemLabel{color:#000}.cesium-lighter .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon{border-color:#000}.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel{color:#003da8}.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon{border:double 4px #003da8}.cesium-lighter .cesium-widget-errorPanel{background:rgba(255,255,255,.7)}.cesium-lighter .cesium-widget-errorPanel-content{border:1px solid #526f82;border-radius:7px;background-color:#fff;color:#000}.cesium-lighter .cesium-widget-errorPanel-header{color:#b87d00}.cesium-lighter .cesium-geocoder-input{border:solid 1px #759dc0;background-color:rgba(240,240,240,.9);color:#000}.cesium-lighter .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input{border-color:#aef;box-shadow:0 0 8px #fff}.cesium-lighter .cesium-geocoder-searchButton{background-color:#e2f0ff;fill:#111}.cesium-lighter .cesium-geocoder-searchButton:hover{background-color:#a6d2ff}.cesium-lighter .cesium-timeline-bar{background:linear-gradient(to bottom,#eee 0,#fff 50%,#fafafa 100%)}.cesium-lighter .cesium-timeline-ticLabel{color:#000}.cesium-lighter .cesium-timeline-ticMain{position:absolute;bottom:0;left:0;width:1px;height:50%;background:#000}.cesium-lighter .cesium-timeline-ticSub{background:#444}.cesium-lighter .cesium-navigation-help-instructions{border:1px solid #759dc0;background-color:rgba(255,255,255,.9)}.cesium-lighter .cesium-navigation-help-pan{color:#6ce;font-weight:700}.cesium-lighter .cesium-navigation-help-zoom{color:#65ec00;font-weight:700}.cesium-lighter .cesium-navigation-help-rotate{color:#eec722;font-weight:700}.cesium-lighter .cesium-navigation-help-tilt{color:#d800d8;font-weight:700}.cesium-lighter .cesium-navigation-help-details{color:#222}.cesium-lighter .cesium-navigation-button{color:#222;border-top:1px solid #759dc0;border-right:1px solid #759dc0}.cesium-lighter .cesium-navigation-button-selected{background-color:rgba(196,225,255,.9)}.cesium-lighter .cesium-navigation-button-unselected{background-color:rgba(226,240,255,.9)}.cesium-lighter .cesium-navigation-button-unselected:hover{background-color:rgba(166,210,255,.9)}
|
||||
/* packages/widgets/Source/lighterShared.css */
|
||||
.cesium-lighter .cesium-button {
|
||||
color: #111;
|
||||
fill: #111;
|
||||
background: #e2f0ff;
|
||||
border: 1px solid #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-button:focus {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
border-color: #ea4;
|
||||
}
|
||||
.cesium-lighter .cesium-button:hover {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
background: #a6d2ff;
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #777;
|
||||
}
|
||||
.cesium-lighter .cesium-button:active {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background: #48b;
|
||||
border-color: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-button:disabled,
|
||||
.cesium-lighter .cesium-button-disabled,
|
||||
.cesium-lighter .cesium-button-disabled:focus,
|
||||
.cesium-lighter .cesium-button-disabled:hover,
|
||||
.cesium-lighter .cesium-button-disabled:active {
|
||||
background: #ccc;
|
||||
border-color: #999;
|
||||
color: #999;
|
||||
fill: #999;
|
||||
box-shadow: none;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay {
|
||||
background-color: #e2f0ff;
|
||||
border-color: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay-fps {
|
||||
color: #e52;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay-ms {
|
||||
color: #ea4;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/Animation/lighter.css */
|
||||
.cesium-lighter .cesium-animation-themeNormal {
|
||||
color: #e5f2fe;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeHover {
|
||||
color: #abd6ff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSelect {
|
||||
color: #e5f2fe;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeDisabled {
|
||||
color: #efefef;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeKnob {
|
||||
color: #e1e2e3;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themePointer {
|
||||
color: #fa5;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSwoosh {
|
||||
color: #ace;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-themeSwooshHover {
|
||||
color: #bdf;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-svgText {
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonPath {
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton .cesium-animation-buttonMain {
|
||||
stroke: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonGlow {
|
||||
fill: #ffaa2a;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled .cesium-animation-buttonMain {
|
||||
stroke: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton:hover .cesium-animation-buttonMain {
|
||||
stroke: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonGlow {
|
||||
fill: #fff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonToggled:hover .cesium-animation-buttonMain {
|
||||
stroke: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-rectButton:active .cesium-animation-buttonMain {
|
||||
fill: #abd6ff;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonMain {
|
||||
stroke: #d3d3d3;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-buttonDisabled .cesium-animation-buttonPath {
|
||||
fill: #818181;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-shuttleRingBack {
|
||||
fill: #fafafa;
|
||||
fill-opacity: 1;
|
||||
stroke: #aeaeae;
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-shuttleRingSwoosh line {
|
||||
stroke: #8ac;
|
||||
}
|
||||
.cesium-lighter .cesium-animation-knobOuter {
|
||||
stroke: #a5a5a5;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/BaseLayerPicker/lighter.css */
|
||||
.cesium-lighter .cesium-baseLayerPicker-itemIcon {
|
||||
border-color: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-dropDown {
|
||||
background-color: rgba(240, 240, 240, 0.75);
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-sectionTitle {
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-itemLabel {
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-item:hover .cesium-baseLayerPicker-itemIcon {
|
||||
border-color: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemLabel {
|
||||
color: rgb(0, 61, 168);
|
||||
}
|
||||
.cesium-lighter .cesium-baseLayerPicker-selectedItem .cesium-baseLayerPicker-itemIcon {
|
||||
border: double 4px rgb(0, 61, 168);
|
||||
}
|
||||
|
||||
/* packages/engine/Source/Widget/lighter.css */
|
||||
.cesium-lighter .cesium-widget-errorPanel {
|
||||
background: rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
.cesium-lighter .cesium-widget-errorPanel-content {
|
||||
border: 1px solid #526f82;
|
||||
border-radius: 7px;
|
||||
background-color: white;
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-widget-errorPanel-header {
|
||||
color: #b87d00;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/Geocoder/lighter.css */
|
||||
.cesium-lighter .cesium-geocoder-input {
|
||||
border: solid 1px #759dc0;
|
||||
background-color: rgba(240, 240, 240, 0.9);
|
||||
color: black;
|
||||
}
|
||||
.cesium-lighter .cesium-viewer-geocoderContainer:hover .cesium-geocoder-input {
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-lighter .cesium-geocoder-searchButton {
|
||||
background-color: #e2f0ff;
|
||||
fill: #111;
|
||||
}
|
||||
.cesium-lighter .cesium-geocoder-searchButton:hover {
|
||||
background-color: #a6d2ff;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/Timeline/lighter.css */
|
||||
.cesium-lighter .cesium-timeline-bar {
|
||||
background:
|
||||
linear-gradient(
|
||||
to bottom,
|
||||
#eeeeee 0%,
|
||||
#ffffff 50%,
|
||||
#fafafa 100%);
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticLabel {
|
||||
color: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticMain {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 1px;
|
||||
height: 50%;
|
||||
background: #000;
|
||||
}
|
||||
.cesium-lighter .cesium-timeline-ticSub {
|
||||
background: #444;
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/NavigationHelpButton/lighter.css */
|
||||
.cesium-lighter .cesium-navigation-help-instructions {
|
||||
border: 1px solid #759dc0;
|
||||
background-color: rgba(255, 255, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-pan {
|
||||
color: #66ccee;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-zoom {
|
||||
color: #65ec00;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-rotate {
|
||||
color: #eec722;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-tilt {
|
||||
color: #d800d8;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-help-details {
|
||||
color: #222222;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button {
|
||||
color: #222222;
|
||||
border-top: 1px solid #759dc0;
|
||||
border-right: 1px solid #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-selected {
|
||||
background-color: rgba(196, 225, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-unselected {
|
||||
background-color: rgba(226, 240, 255, 0.9);
|
||||
}
|
||||
.cesium-lighter .cesium-navigation-button-unselected:hover {
|
||||
background-color: rgba(166, 210, 255, 0.9);
|
||||
}
|
||||
|
||||
/* packages/widgets/Source/lighter.css */
|
||||
|
@ -1 +1,46 @@
|
||||
.cesium-lighter .cesium-button{color:#111;fill:#111;background:#e2f0ff;border:1px solid #759dc0}.cesium-lighter .cesium-button:focus{color:#000;fill:#000;border-color:#ea4}.cesium-lighter .cesium-button:hover{color:#000;fill:#000;background:#a6d2ff;border-color:#aef;box-shadow:0 0 8px #777}.cesium-lighter .cesium-button:active{color:#fff;fill:#fff;background:#48b;border-color:#ea0}.cesium-lighter .cesium-button-disabled,.cesium-lighter .cesium-button-disabled:active,.cesium-lighter .cesium-button-disabled:focus,.cesium-lighter .cesium-button-disabled:hover,.cesium-lighter .cesium-button:disabled{background:#ccc;border-color:#999;color:#999;fill:#999;box-shadow:none}.cesium-lighter .cesium-performanceDisplay{background-color:#e2f0ff;border-color:#759dc0}.cesium-lighter .cesium-performanceDisplay-fps{color:#e52}.cesium-lighter .cesium-performanceDisplay-ms{color:#ea4}
|
||||
/* packages/widgets/Source/lighterShared.css */
|
||||
.cesium-lighter .cesium-button {
|
||||
color: #111;
|
||||
fill: #111;
|
||||
background: #e2f0ff;
|
||||
border: 1px solid #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-button:focus {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
border-color: #ea4;
|
||||
}
|
||||
.cesium-lighter .cesium-button:hover {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
background: #a6d2ff;
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #777;
|
||||
}
|
||||
.cesium-lighter .cesium-button:active {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background: #48b;
|
||||
border-color: #ea0;
|
||||
}
|
||||
.cesium-lighter .cesium-button:disabled,
|
||||
.cesium-lighter .cesium-button-disabled,
|
||||
.cesium-lighter .cesium-button-disabled:focus,
|
||||
.cesium-lighter .cesium-button-disabled:hover,
|
||||
.cesium-lighter .cesium-button-disabled:active {
|
||||
background: #ccc;
|
||||
border-color: #999;
|
||||
color: #999;
|
||||
fill: #999;
|
||||
box-shadow: none;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay {
|
||||
background-color: #e2f0ff;
|
||||
border-color: #759dc0;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay-fps {
|
||||
color: #e52;
|
||||
}
|
||||
.cesium-lighter .cesium-performanceDisplay-ms {
|
||||
color: #ea4;
|
||||
}
|
||||
|
@ -1 +1,103 @@
|
||||
.cesium-svgPath-svg{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}.cesium-button{display:inline-block;position:relative;background:#303336;border:1px solid #444;color:#edffff;fill:#edffff;border-radius:4px;padding:5px 12px;margin:2px 3px;cursor:pointer;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.cesium-button:focus{color:#fff;fill:#fff;border-color:#ea4;outline:0}.cesium-button:hover{color:#fff;fill:#fff;background:#48b;border-color:#aef;box-shadow:0 0 8px #fff}.cesium-button:active{color:#000;fill:#000;background:#adf;border-color:#fff;box-shadow:0 0 8px #fff}.cesium-button-disabled,.cesium-button-disabled:active,.cesium-button-disabled:focus,.cesium-button-disabled:hover,.cesium-button:disabled{background:#303336;border-color:#444;color:#646464;fill:#646464;box-shadow:none;cursor:default}.cesium-button option{background-color:#000;color:#eee}.cesium-button option:disabled{color:#777}.cesium-button input,.cesium-button label{cursor:pointer}.cesium-button input{vertical-align:sub}.cesium-toolbar-button{box-sizing:border-box;width:32px;height:32px;border-radius:14%;padding:0;vertical-align:middle;z-index:0}.cesium-performanceDisplay-defaultContainer{position:absolute;top:50px;right:10px;text-align:right}.cesium-performanceDisplay{background-color:rgba(40,40,40,.7);padding:7px;border-radius:5px;border:1px solid #444;font:bold 12px sans-serif}.cesium-performanceDisplay-fps{color:#e52}.cesium-performanceDisplay-throttled{color:#a42}.cesium-performanceDisplay-ms{color:#de3}
|
||||
/* packages/widgets/Source/shared.css */
|
||||
.cesium-svgPath-svg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.cesium-button {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
background: #303336;
|
||||
border: 1px solid #444;
|
||||
color: #edffff;
|
||||
fill: #edffff;
|
||||
border-radius: 4px;
|
||||
padding: 5px 12px;
|
||||
margin: 2px 3px;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.cesium-button:focus {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
border-color: #ea4;
|
||||
outline: none;
|
||||
}
|
||||
.cesium-button:hover {
|
||||
color: #fff;
|
||||
fill: #fff;
|
||||
background: #48b;
|
||||
border-color: #aef;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-button:active {
|
||||
color: #000;
|
||||
fill: #000;
|
||||
background: #adf;
|
||||
border-color: #fff;
|
||||
box-shadow: 0 0 8px #fff;
|
||||
}
|
||||
.cesium-button:disabled,
|
||||
.cesium-button-disabled,
|
||||
.cesium-button-disabled:focus,
|
||||
.cesium-button-disabled:hover,
|
||||
.cesium-button-disabled:active {
|
||||
background: #303336;
|
||||
border-color: #444;
|
||||
color: #646464;
|
||||
fill: #646464;
|
||||
box-shadow: none;
|
||||
cursor: default;
|
||||
}
|
||||
.cesium-button option {
|
||||
background-color: #000;
|
||||
color: #eee;
|
||||
}
|
||||
.cesium-button option:disabled {
|
||||
color: #777;
|
||||
}
|
||||
.cesium-button input,
|
||||
.cesium-button label {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cesium-button input {
|
||||
vertical-align: sub;
|
||||
}
|
||||
.cesium-toolbar-button {
|
||||
box-sizing: border-box;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border-radius: 14%;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
z-index: 0;
|
||||
}
|
||||
.cesium-performanceDisplay-defaultContainer {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
right: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
.cesium-performanceDisplay {
|
||||
background-color: rgba(40, 40, 40, 0.7);
|
||||
padding: 7px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #444;
|
||||
font: bold 12px sans-serif;
|
||||
}
|
||||
.cesium-performanceDisplay-fps {
|
||||
color: #e52;
|
||||
}
|
||||
.cesium-performanceDisplay-throttled {
|
||||
color: #a42;
|
||||
}
|
||||
.cesium-performanceDisplay-ms {
|
||||
color: #de3;
|
||||
}
|
||||
|
@ -1 +0,0 @@
|
||||
define(["exports"],(function(e){"use strict";var r=Object.freeze({NONE:0,GEODESIC:1,RHUMB:2});e.ArcType=r}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./ComponentDatatype-692a36d3","./RuntimeError-608565a6","./when-229515d6"],(function(t,e,n,o,a){"use strict";const r={SCALAR:"SCALAR",VEC2:"VEC2",VEC3:"VEC3",VEC4:"VEC4",MAT2:"MAT2",MAT3:"MAT3",MAT4:"MAT4",getMathType:function(t){switch(t){case r.SCALAR:return Number;case r.VEC2:return e.Cartesian2;case r.VEC3:return e.Cartesian3;case r.VEC4:return e.Cartesian4;case r.MAT2:return e.Matrix2;case r.MAT3:return e.Matrix3;case r.MAT4:return e.Matrix4}},getNumberOfComponents:function(t){switch(t){case r.SCALAR:return 1;case r.VEC2:return 2;case r.VEC3:return 3;case r.VEC4:case r.MAT2:return 4;case r.MAT3:return 9;case r.MAT4:return 16}},getGlslType:function(t){switch(t){case r.SCALAR:return"float";case r.VEC2:return"vec2";case r.VEC3:return"vec3";case r.VEC4:return"vec4";case r.MAT2:return"mat2";case r.MAT3:return"mat3";case r.MAT4:return"mat4"}}};var c=Object.freeze(r);const s=1/256,u={octEncodeInRange:function(t,e,o){if(o.x=t.x/(Math.abs(t.x)+Math.abs(t.y)+Math.abs(t.z)),o.y=t.y/(Math.abs(t.x)+Math.abs(t.y)+Math.abs(t.z)),t.z<0){const t=o.x,e=o.y;o.x=(1-Math.abs(e))*n.CesiumMath.signNotZero(t),o.y=(1-Math.abs(t))*n.CesiumMath.signNotZero(e)}return o.x=n.CesiumMath.toSNorm(o.x,e),o.y=n.CesiumMath.toSNorm(o.y,e),o},octEncode:function(t,e){return u.octEncodeInRange(t,255,e)}},i=new e.Cartesian2,C=new Uint8Array(1);function M(t){return C[0]=t,C[0]}u.octEncodeToCartesian4=function(t,e){return u.octEncodeInRange(t,65535,i),e.x=M(i.x*s),e.y=M(i.x),e.z=M(i.y*s),e.w=M(i.y),e},u.octDecodeInRange=function(t,o,a,r){if(r.x=n.CesiumMath.fromSNorm(t,a),r.y=n.CesiumMath.fromSNorm(o,a),r.z=1-(Math.abs(r.x)+Math.abs(r.y)),r.z<0){const t=r.x;r.x=(1-Math.abs(r.y))*n.CesiumMath.signNotZero(t),r.y=(1-Math.abs(t))*n.CesiumMath.signNotZero(r.y)}return e.Cartesian3.normalize(r,r)},u.octDecode=function(t,e,n){return u.octDecodeInRange(t,e,255,n)},u.octDecodeFromCartesian4=function(t,e){const n=256*t.x+t.y,o=256*t.z+t.w;return u.octDecodeInRange(n,o,65535,e)},u.octPackFloat=function(t){return 256*t.x+t.y};const f=new e.Cartesian2;function m(t){return t>>1^-(1&t)}u.octEncodeFloat=function(t){return u.octEncode(t,f),u.octPackFloat(f)},u.octDecodeFloat=function(t,e){const n=t/256,o=Math.floor(n),a=256*(n-o);return u.octDecode(o,a,e)},u.octPack=function(t,e,n,o){const a=u.octEncodeFloat(t),r=u.octEncodeFloat(e),c=u.octEncode(n,f);return o.x=65536*c.x+a,o.y=65536*c.y+r,o},u.octUnpack=function(t,e,n,o){let a=t.x/65536;const r=Math.floor(a),c=65536*(a-r);a=t.y/65536;const s=Math.floor(a),i=65536*(a-s);u.octDecodeFloat(c,e),u.octDecodeFloat(i,n),u.octDecode(r,s,o)},u.compressTextureCoordinates=function(t){return 4096*(4095*t.x|0)+(4095*t.y|0)},u.decompressTextureCoordinates=function(t,e){const n=t/4096,o=Math.floor(n);return e.x=o/4095,e.y=(t-4096*o)/4095,e},u.zigZagDeltaDecode=function(t,e,n){const o=t.length;let r=0,c=0,s=0;for(let u=0;u<o;++u)r+=m(t[u]),c+=m(e[u]),t[u]=r,e[u]=c,a.defined(n)&&(s+=m(n[u]),n[u]=s)},u.dequantize=function(t,e,o,a){const r=c.getNumberOfComponents(o);let s;switch(e){case n.ComponentDatatype.BYTE:s=127;break;case n.ComponentDatatype.UNSIGNED_BYTE:s=255;break;case n.ComponentDatatype.SHORT:s=32767;break;case n.ComponentDatatype.UNSIGNED_SHORT:s=65535;break;case n.ComponentDatatype.INT:s=2147483647;break;case n.ComponentDatatype.UNSIGNED_INT:s=4294967295}const u=new Float32Array(a*r);for(let e=0;e<a;e++)for(let n=0;n<r;n++){const o=e*r+n;u[o]=Math.max(t[o]/s,-1)}return u},u.decodeRGB565=function(t,e){const n=t.length;a.defined(e)||(e=new Float32Array(3*n));const o=1/31;for(let a=0;a<n;a++){const n=t[a],r=n>>11,c=n>>5&63,s=31&n,u=3*a;e[u]=r*o,e[u+1]=.015873015873015872*c,e[u+2]=s*o}return e},t.AttributeCompression=u}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./Transforms-ab7258fe"],(function(e,n,t,i,a){"use strict";function m(e,t,a){this.minimum=n.Cartesian3.clone(i.defaultValue(e,n.Cartesian3.ZERO)),this.maximum=n.Cartesian3.clone(i.defaultValue(t,n.Cartesian3.ZERO)),a=i.defined(a)?n.Cartesian3.clone(a):n.Cartesian3.midpoint(this.minimum,this.maximum,new n.Cartesian3),this.center=a}m.fromPoints=function(e,t){if(i.defined(t)||(t=new m),!i.defined(e)||0===e.length)return t.minimum=n.Cartesian3.clone(n.Cartesian3.ZERO,t.minimum),t.maximum=n.Cartesian3.clone(n.Cartesian3.ZERO,t.maximum),t.center=n.Cartesian3.clone(n.Cartesian3.ZERO,t.center),t;let a=e[0].x,r=e[0].y,s=e[0].z,u=e[0].x,c=e[0].y,o=e[0].z;const l=e.length;for(let n=1;n<l;n++){const t=e[n],i=t.x,m=t.y,l=t.z;a=Math.min(i,a),u=Math.max(i,u),r=Math.min(m,r),c=Math.max(m,c),s=Math.min(l,s),o=Math.max(l,o)}const x=t.minimum;x.x=a,x.y=r,x.z=s;const f=t.maximum;return f.x=u,f.y=c,f.z=o,t.center=n.Cartesian3.midpoint(x,f,t.center),t},m.clone=function(e,t){if(i.defined(e))return i.defined(t)?(t.minimum=n.Cartesian3.clone(e.minimum,t.minimum),t.maximum=n.Cartesian3.clone(e.maximum,t.maximum),t.center=n.Cartesian3.clone(e.center,t.center),t):new m(e.minimum,e.maximum,e.center)},m.equals=function(e,t){return e===t||i.defined(e)&&i.defined(t)&&n.Cartesian3.equals(e.center,t.center)&&n.Cartesian3.equals(e.minimum,t.minimum)&&n.Cartesian3.equals(e.maximum,t.maximum)};let r=new n.Cartesian3;m.intersectPlane=function(e,t){r=n.Cartesian3.subtract(e.maximum,e.minimum,r);const i=n.Cartesian3.multiplyByScalar(r,.5,r),m=t.normal,s=i.x*Math.abs(m.x)+i.y*Math.abs(m.y)+i.z*Math.abs(m.z),u=n.Cartesian3.dot(e.center,m)+t.distance;return u-s>0?a.Intersect.INSIDE:u+s<0?a.Intersect.OUTSIDE:a.Intersect.INTERSECTING},m.prototype.clone=function(e){return m.clone(this,e)},m.prototype.intersectPlane=function(e){return m.intersectPlane(this,e)},m.prototype.equals=function(e){return m.equals(this,e)},e.AxisAlignedBoundingBox=m}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./Transforms-ab7258fe"],(function(t,e,n,i,h){"use strict";function r(t,e,n,h){this.x=i.defaultValue(t,0),this.y=i.defaultValue(e,0),this.width=i.defaultValue(n,0),this.height=i.defaultValue(h,0)}r.packedLength=4,r.pack=function(t,e,n){return n=i.defaultValue(n,0),e[n++]=t.x,e[n++]=t.y,e[n++]=t.width,e[n]=t.height,e},r.unpack=function(t,e,n){return e=i.defaultValue(e,0),i.defined(n)||(n=new r),n.x=t[e++],n.y=t[e++],n.width=t[e++],n.height=t[e],n},r.fromPoints=function(t,e){if(i.defined(e)||(e=new r),!i.defined(t)||0===t.length)return e.x=0,e.y=0,e.width=0,e.height=0,e;const n=t.length;let h=t[0].x,d=t[0].y,u=t[0].x,a=t[0].y;for(let e=1;e<n;e++){const n=t[e],i=n.x,r=n.y;h=Math.min(i,h),u=Math.max(i,u),d=Math.min(r,d),a=Math.max(r,a)}return e.x=h,e.y=d,e.width=u-h,e.height=a-d,e};const d=new h.GeographicProjection,u=new e.Cartographic,a=new e.Cartographic;r.fromRectangle=function(t,n,h){if(i.defined(h)||(h=new r),!i.defined(t))return h.x=0,h.y=0,h.width=0,h.height=0,h;const o=(n=i.defaultValue(n,d)).project(e.Rectangle.southwest(t,u)),c=n.project(e.Rectangle.northeast(t,a));return e.Cartesian2.subtract(c,o,c),h.x=o.x,h.y=o.y,h.width=c.x,h.height=c.y,h},r.clone=function(t,e){if(i.defined(t))return i.defined(e)?(e.x=t.x,e.y=t.y,e.width=t.width,e.height=t.height,e):new r(t.x,t.y,t.width,t.height)},r.union=function(t,e,n){i.defined(n)||(n=new r);const h=Math.min(t.x,e.x),d=Math.min(t.y,e.y),u=Math.max(t.x+t.width,e.x+e.width),a=Math.max(t.y+t.height,e.y+e.height);return n.x=h,n.y=d,n.width=u-h,n.height=a-d,n},r.expand=function(t,e,n){n=r.clone(t,n);const i=e.x-n.x,h=e.y-n.y;return i>n.width?n.width=i:i<0&&(n.width-=i,n.x=e.x),h>n.height?n.height=h:h<0&&(n.height-=h,n.y=e.y),n},r.intersect=function(t,e){const n=t.x,i=t.y,r=e.x,d=e.y;return n>r+e.width||n+t.width<r||i+t.height<d||i>d+e.height?h.Intersect.OUTSIDE:h.Intersect.INTERSECTING},r.equals=function(t,e){return t===e||i.defined(t)&&i.defined(e)&&t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height},r.prototype.clone=function(t){return r.clone(this,t)},r.prototype.intersect=function(t){return r.intersect(this,t)},r.prototype.equals=function(t){return r.equals(this,t)},t.BoundingRectangle=r}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./OrientedBoundingBox-2e56130a"],(function(n,t,e,r){"use strict";const a={},i=new t.Cartesian3,o=new t.Cartesian3,u=new t.Cartesian3,s=new t.Cartesian3,c=new r.OrientedBoundingBox;function C(n,e,r,a,o){const u=t.Cartesian3.subtract(n,e,i),s=t.Cartesian3.dot(r,u),c=t.Cartesian3.dot(a,u);return t.Cartesian2.fromElements(s,c,o)}a.validOutline=function(n){const e=r.OrientedBoundingBox.fromPoints(n,c).halfAxes,a=t.Matrix3.getColumn(e,0,o),i=t.Matrix3.getColumn(e,1,u),C=t.Matrix3.getColumn(e,2,s),m=t.Cartesian3.magnitude(a),g=t.Cartesian3.magnitude(i),l=t.Cartesian3.magnitude(C);return!(0===m&&(0===g||0===l)||0===g&&0===l)},a.computeProjectTo2DArguments=function(n,e,a,i){const C=r.OrientedBoundingBox.fromPoints(n,c),m=C.halfAxes,g=t.Matrix3.getColumn(m,0,o),l=t.Matrix3.getColumn(m,1,u),d=t.Matrix3.getColumn(m,2,s),f=t.Cartesian3.magnitude(g),x=t.Cartesian3.magnitude(l),B=t.Cartesian3.magnitude(d),M=Math.min(f,x,B);if(0===f&&(0===x||0===B)||0===x&&0===B)return!1;let P,w;return M!==x&&M!==B||(P=g),M===f?P=l:M===B&&(w=l),M!==f&&M!==x||(w=d),t.Cartesian3.normalize(P,a),t.Cartesian3.normalize(w,i),t.Cartesian3.clone(C.center,e),!0},a.createProjectPointsTo2DFunction=function(n,t,e){return function(r){const a=new Array(r.length);for(let i=0;i<r.length;i++)a[i]=C(r[i],n,t,e);return a}},a.createProjectPointTo2DFunction=function(n,t,e){return function(r,a){return C(r,n,t,e,a)}},n.CoplanarPolygonGeometryLibrary=a}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./GeometryOffsetAttribute-4f901209","./Transforms-ab7258fe","./Matrix2-46444433","./ComponentDatatype-692a36d3","./CylinderGeometryLibrary-471159cb","./when-229515d6","./RuntimeError-608565a6","./GeometryAttribute-d3bef603","./GeometryAttributes-b253752a","./IndexDatatype-7c683b18","./VertexFormat-7272aabd"],(function(t,e,n,a,o,r,i,s,m,u,c,l){"use strict";const p=new a.Cartesian2,d=new a.Cartesian3,y=new a.Cartesian3,f=new a.Cartesian3,b=new a.Cartesian3;function A(t){const e=(t=i.defaultValue(t,i.defaultValue.EMPTY_OBJECT)).length,n=t.topRadius,a=t.bottomRadius,o=i.defaultValue(t.vertexFormat,l.VertexFormat.DEFAULT),r=i.defaultValue(t.slices,128);this._length=e,this._topRadius=n,this._bottomRadius=a,this._vertexFormat=l.VertexFormat.clone(o),this._slices=r,this._offsetAttribute=t.offsetAttribute,this._workerName="createCylinderGeometry"}A.packedLength=l.VertexFormat.packedLength+5,A.pack=function(t,e,n){return n=i.defaultValue(n,0),l.VertexFormat.pack(t._vertexFormat,e,n),n+=l.VertexFormat.packedLength,e[n++]=t._length,e[n++]=t._topRadius,e[n++]=t._bottomRadius,e[n++]=t._slices,e[n]=i.defaultValue(t._offsetAttribute,-1),e};const x=new l.VertexFormat,g={vertexFormat:x,length:void 0,topRadius:void 0,bottomRadius:void 0,slices:void 0,offsetAttribute:void 0};let _;A.unpack=function(t,e,n){e=i.defaultValue(e,0);const a=l.VertexFormat.unpack(t,e,x);e+=l.VertexFormat.packedLength;const o=t[e++],r=t[e++],s=t[e++],m=t[e++],u=t[e];return i.defined(n)?(n._vertexFormat=l.VertexFormat.clone(a,n._vertexFormat),n._length=o,n._topRadius=r,n._bottomRadius=s,n._slices=m,n._offsetAttribute=-1===u?void 0:u,n):(g.length=o,g.topRadius=r,g.bottomRadius=s,g.slices=m,g.offsetAttribute=-1===u?void 0:u,new A(g))},A.createGeometry=function(t){let s=t._length;const l=t._topRadius,A=t._bottomRadius,x=t._vertexFormat,g=t._slices;if(s<=0||l<0||A<0||0===l&&0===A)return;const _=g+g,h=g+_,F=_+_,v=r.CylinderGeometryLibrary.computePositions(s,l,A,g,!0),C=x.st?new Float32Array(2*F):void 0,w=x.normal?new Float32Array(3*F):void 0,G=x.tangent?new Float32Array(3*F):void 0,R=x.bitangent?new Float32Array(3*F):void 0;let D;const V=x.normal||x.tangent||x.bitangent;if(V){const t=x.tangent||x.bitangent;let e=0,n=0,r=0;const i=Math.atan2(A-l,s),m=d;m.z=Math.sin(i);const u=Math.cos(i);let c=f,p=y;for(D=0;D<g;D++){const i=D/g*o.CesiumMath.TWO_PI,s=u*Math.cos(i),l=u*Math.sin(i);V&&(m.x=s,m.y=l,t&&(c=a.Cartesian3.normalize(a.Cartesian3.cross(a.Cartesian3.UNIT_Z,m,c),c)),x.normal&&(w[e++]=m.x,w[e++]=m.y,w[e++]=m.z,w[e++]=m.x,w[e++]=m.y,w[e++]=m.z),x.tangent&&(G[n++]=c.x,G[n++]=c.y,G[n++]=c.z,G[n++]=c.x,G[n++]=c.y,G[n++]=c.z),x.bitangent&&(p=a.Cartesian3.normalize(a.Cartesian3.cross(m,c,p),p),R[r++]=p.x,R[r++]=p.y,R[r++]=p.z,R[r++]=p.x,R[r++]=p.y,R[r++]=p.z))}for(D=0;D<g;D++)x.normal&&(w[e++]=0,w[e++]=0,w[e++]=-1),x.tangent&&(G[n++]=1,G[n++]=0,G[n++]=0),x.bitangent&&(R[r++]=0,R[r++]=-1,R[r++]=0);for(D=0;D<g;D++)x.normal&&(w[e++]=0,w[e++]=0,w[e++]=1),x.tangent&&(G[n++]=1,G[n++]=0,G[n++]=0),x.bitangent&&(R[r++]=0,R[r++]=1,R[r++]=0)}const T=12*g-12,O=c.IndexDatatype.createTypedArray(F,T);let L=0,P=0;for(D=0;D<g-1;D++)O[L++]=P,O[L++]=P+2,O[L++]=P+3,O[L++]=P,O[L++]=P+3,O[L++]=P+1,P+=2;for(O[L++]=_-2,O[L++]=0,O[L++]=1,O[L++]=_-2,O[L++]=1,O[L++]=_-1,D=1;D<g-1;D++)O[L++]=_+D+1,O[L++]=_+D,O[L++]=_;for(D=1;D<g-1;D++)O[L++]=h,O[L++]=h+D,O[L++]=h+D+1;let E=0;if(x.st){const t=Math.max(l,A);for(D=0;D<F;D++){const e=a.Cartesian3.fromArray(v,3*D,b);C[E++]=(e.x+t)/(2*t),C[E++]=(e.y+t)/(2*t)}}const M=new u.GeometryAttributes;x.position&&(M.position=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:v})),x.normal&&(M.normal=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:w})),x.tangent&&(M.tangent=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:G})),x.bitangent&&(M.bitangent=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:3,values:R})),x.st&&(M.st=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.FLOAT,componentsPerAttribute:2,values:C})),p.x=.5*s,p.y=Math.max(A,l);const k=new n.BoundingSphere(a.Cartesian3.ZERO,a.Cartesian2.magnitude(p));if(i.defined(t._offsetAttribute)){s=v.length;const n=new Uint8Array(s/3),a=t._offsetAttribute===e.GeometryOffsetAttribute.NONE?0:1;e.arrayFill(n,a),M.applyOffset=new m.GeometryAttribute({componentDatatype:o.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new m.Geometry({attributes:M,indices:O,primitiveType:m.PrimitiveType.TRIANGLES,boundingSphere:k,offsetAttribute:t._offsetAttribute})},A.getUnitCylinder=function(){return i.defined(_)||(_=A.createGeometry(new A({topRadius:1,bottomRadius:1,length:1,vertexFormat:l.VertexFormat.POSITION_ONLY}))),_},t.CylinderGeometry=A}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./ComponentDatatype-692a36d3"],(function(t,n){"use strict";const o={computePositions:function(t,o,e,s,r){const i=.5*t,a=-i,c=s+s,u=new Float64Array(3*(r?2*c:c));let y,f=0,m=0;const p=r?3*c:0,d=r?3*(c+s):3*s;for(y=0;y<s;y++){const t=y/s*n.CesiumMath.TWO_PI,c=Math.cos(t),h=Math.sin(t),l=c*e,C=h*e,M=c*o,P=h*o;u[m+p]=l,u[m+p+1]=C,u[m+p+2]=a,u[m+d]=M,u[m+d+1]=P,u[m+d+2]=i,m+=3,r&&(u[f++]=l,u[f++]=C,u[f++]=a,u[f++]=M,u[f++]=P,u[f++]=i)}return u}};t.CylinderGeometryLibrary=o}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./ComponentDatatype-692a36d3","./Transforms-ab7258fe"],(function(t,a,e,n){"use strict";const i={},r=new a.Cartesian3,s=new a.Cartesian3,o=new n.Quaternion,l=new a.Matrix3;function c(t,e,i,c,C,y,u,m,h,x){const M=t+e;a.Cartesian3.multiplyByScalar(c,Math.cos(M),r),a.Cartesian3.multiplyByScalar(i,Math.sin(M),s),a.Cartesian3.add(r,s,r);let f=Math.cos(t);f*=f;let z=Math.sin(t);z*=z;const _=y/Math.sqrt(u*f+C*z)/m;return n.Quaternion.fromAxisAngle(r,_,o),a.Matrix3.fromQuaternion(o,l),a.Matrix3.multiplyByVector(l,h,x),a.Cartesian3.normalize(x,x),a.Cartesian3.multiplyByScalar(x,m,x),x}const C=new a.Cartesian3,y=new a.Cartesian3,u=new a.Cartesian3,m=new a.Cartesian3;i.raisePositionsToHeight=function(t,e,n){const i=e.ellipsoid,r=e.height,s=e.extrudedHeight,o=n?t.length/3*2:t.length/3,l=new Float64Array(3*o),c=t.length,h=n?c:0;for(let e=0;e<c;e+=3){const o=e+1,c=e+2,x=a.Cartesian3.fromArray(t,e,C);i.scaleToGeodeticSurface(x,x);const M=a.Cartesian3.clone(x,y),f=i.geodeticSurfaceNormal(x,m),z=a.Cartesian3.multiplyByScalar(f,r,u);a.Cartesian3.add(x,z,x),n&&(a.Cartesian3.multiplyByScalar(f,s,z),a.Cartesian3.add(M,z,M),l[e+h]=M.x,l[o+h]=M.y,l[c+h]=M.z),l[e]=x.x,l[o]=x.y,l[c]=x.z}return l};const h=new a.Cartesian3,x=new a.Cartesian3,M=new a.Cartesian3;i.computeEllipsePositions=function(t,n,i){const r=t.semiMinorAxis,s=t.semiMajorAxis,o=t.rotation,l=t.center,m=8*t.granularity,f=r*r,z=s*s,_=s*r,d=a.Cartesian3.magnitude(l),p=a.Cartesian3.normalize(l,h);let O=a.Cartesian3.cross(a.Cartesian3.UNIT_Z,l,x);O=a.Cartesian3.normalize(O,O);const w=a.Cartesian3.cross(p,O,M);let P=1+Math.ceil(e.CesiumMath.PI_OVER_TWO/m);const T=e.CesiumMath.PI_OVER_TWO/(P-1);let I=e.CesiumMath.PI_OVER_TWO-P*T;I<0&&(P-=Math.ceil(Math.abs(I)/T));const g=n?new Array(3*(P*(P+2)*2)):void 0;let E=0,V=C,A=y;const R=4*P*3;let W=R-1,S=0;const B=i?new Array(R):void 0;let b,Q,v,G,H;for(I=e.CesiumMath.PI_OVER_TWO,V=c(I,o,w,O,f,_,z,d,p,V),n&&(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z),i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x),I=e.CesiumMath.PI_OVER_TWO-T,b=1;b<P+1;++b){if(V=c(I,o,w,O,f,_,z,d,p,V),A=c(Math.PI-I,o,w,O,f,_,z,d,p,A),n){for(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,v=2*b+2,Q=1;Q<v-1;++Q)G=Q/(v-1),H=a.Cartesian3.lerp(V,A,G,u),g[E++]=H.x,g[E++]=H.y,g[E++]=H.z;g[E++]=A.x,g[E++]=A.y,g[E++]=A.z}i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,B[S++]=A.x,B[S++]=A.y,B[S++]=A.z),I=e.CesiumMath.PI_OVER_TWO-(b+1)*T}for(b=P;b>1;--b){if(I=e.CesiumMath.PI_OVER_TWO-(b-1)*T,V=c(-I,o,w,O,f,_,z,d,p,V),A=c(I+Math.PI,o,w,O,f,_,z,d,p,A),n){for(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,v=2*(b-1)+2,Q=1;Q<v-1;++Q)G=Q/(v-1),H=a.Cartesian3.lerp(V,A,G,u),g[E++]=H.x,g[E++]=H.y,g[E++]=H.z;g[E++]=A.x,g[E++]=A.y,g[E++]=A.z}i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,B[S++]=A.x,B[S++]=A.y,B[S++]=A.z)}I=e.CesiumMath.PI_OVER_TWO,V=c(-I,o,w,O,f,_,z,d,p,V);const N={};return n&&(g[E++]=V.x,g[E++]=V.y,g[E++]=V.z,N.positions=g,N.numPts=P),i&&(B[W--]=V.z,B[W--]=V.y,B[W--]=V.x,N.outerPositions=B),N},t.EllipseGeometryLibrary=i}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./ComponentDatatype-692a36d3"],(function(t,a,i,n,e){"use strict";function s(t,a,i,n,e,s,o){const r=function(t,a){return t*a*(4+t*(4-3*a))/16}(t,i);return(1-r)*t*a*(n+r*e*(o+r*s*(2*o*o-1)))}const o=new a.Cartesian3,r=new a.Cartesian3;function h(t,i,n,h){a.Cartesian3.normalize(h.cartographicToCartesian(i,r),o),a.Cartesian3.normalize(h.cartographicToCartesian(n,r),r),function(t,a,i,n,o,r,h){const d=(a-i)/a,c=r-n,u=Math.atan((1-d)*Math.tan(o)),l=Math.atan((1-d)*Math.tan(h)),M=Math.cos(u),g=Math.sin(u),p=Math.cos(l),_=Math.sin(l),f=M*p,m=M*_,C=g*_,H=g*p;let v,O,S,q,U,w=c,A=e.CesiumMath.TWO_PI,R=Math.cos(w),b=Math.sin(w);do{R=Math.cos(w),b=Math.sin(w);const t=m-H*R;let a;S=Math.sqrt(p*p*b*b+t*t),O=C+f*R,v=Math.atan2(S,O),0===S?(a=0,q=1):(a=f*b/S,q=1-a*a),A=w,U=O-2*C/q,isFinite(U)||(U=0),w=c+s(d,a,q,v,S,O,U)}while(Math.abs(w-A)>e.CesiumMath.EPSILON12);const y=q*(a*a-i*i)/(i*i),E=y*(256+y*(y*(74-47*y)-128))/1024,x=U*U,D=i*(1+y*(4096+y*(y*(320-175*y)-768))/16384)*(v-E*S*(U+E*(O*(2*x-1)-E*U*(4*S*S-3)*(4*x-3)/6)/4)),P=Math.atan2(p*b,m-H*R),T=Math.atan2(M*b,m*R-H);t._distance=D,t._startHeading=P,t._endHeading=T,t._uSquared=y}(t,h.maximumRadius,h.minimumRadius,i.longitude,i.latitude,n.longitude,n.latitude),t._start=a.Cartographic.clone(i,t._start),t._end=a.Cartographic.clone(n,t._end),t._start.height=0,t._end.height=0,function(t){const a=t._uSquared,i=t._ellipsoid.maximumRadius,n=t._ellipsoid.minimumRadius,e=(i-n)/i,s=Math.cos(t._startHeading),o=Math.sin(t._startHeading),r=(1-e)*Math.tan(t._start.latitude),h=1/Math.sqrt(1+r*r),d=h*r,c=Math.atan2(r,s),u=h*o,l=u*u,M=1-l,g=Math.sqrt(M),p=a/4,_=p*p,f=_*p,m=_*_,C=1+p-3*_/4+5*f/4-175*m/64,H=1-p+15*_/8-35*f/8,v=1-3*p+35*_/4,O=1-5*p,S=C*c-H*Math.sin(2*c)*p/2-v*Math.sin(4*c)*_/16-O*Math.sin(6*c)*f/48-5*Math.sin(8*c)*m/512,q=t._constants;q.a=i,q.b=n,q.f=e,q.cosineHeading=s,q.sineHeading=o,q.tanU=r,q.cosineU=h,q.sineU=d,q.sigma=c,q.sineAlpha=u,q.sineSquaredAlpha=l,q.cosineSquaredAlpha=M,q.cosineAlpha=g,q.u2Over4=p,q.u4Over16=_,q.u6Over64=f,q.u8Over256=m,q.a0=C,q.a1=H,q.a2=v,q.a3=O,q.distanceRatio=S}(t)}function d(t,i,e){const s=n.defaultValue(e,a.Ellipsoid.WGS84);this._ellipsoid=s,this._start=new a.Cartographic,this._end=new a.Cartographic,this._constants={},this._startHeading=void 0,this._endHeading=void 0,this._distance=void 0,this._uSquared=void 0,n.defined(t)&&n.defined(i)&&h(this,t,i,s)}Object.defineProperties(d.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},surfaceDistance:{get:function(){return this._distance}},start:{get:function(){return this._start}},end:{get:function(){return this._end}},startHeading:{get:function(){return this._startHeading}},endHeading:{get:function(){return this._endHeading}}}),d.prototype.setEndPoints=function(t,a){h(this,t,a,this._ellipsoid)},d.prototype.interpolateUsingFraction=function(t,a){return this.interpolateUsingSurfaceDistance(this._distance*t,a)},d.prototype.interpolateUsingSurfaceDistance=function(t,i){const e=this._constants,o=e.distanceRatio+t/e.b,r=Math.cos(2*o),h=Math.cos(4*o),d=Math.cos(6*o),c=Math.sin(2*o),u=Math.sin(4*o),l=Math.sin(6*o),M=Math.sin(8*o),g=o*o,p=o*g,_=e.u8Over256,f=e.u2Over4,m=e.u6Over64,C=e.u4Over16;let H=2*p*_*r/3+o*(1-f+7*C/4-15*m/4+579*_/64-(C-15*m/4+187*_/16)*r-(5*m/4-115*_/16)*h-29*_*d/16)+(f/2-C+71*m/32-85*_/16)*c+(5*C/16-5*m/4+383*_/96)*u-g*((m-11*_/2)*c+5*_*u/2)+(29*m/96-29*_/16)*l+539*_*M/1536;const v=Math.asin(Math.sin(H)*e.cosineAlpha),O=Math.atan(e.a/e.b*Math.tan(v));H-=e.sigma;const S=Math.cos(2*e.sigma+H),q=Math.sin(H),U=Math.cos(H),w=e.cosineU*U,A=e.sineU*q,R=Math.atan2(q*e.sineHeading,w-A*e.cosineHeading)-s(e.f,e.sineAlpha,e.cosineSquaredAlpha,H,q,U,S);return n.defined(i)?(i.longitude=this._start.longitude+R,i.latitude=O,i.height=0,i):new a.Cartographic(this._start.longitude+R,O,0)},t.EllipsoidGeodesic=d}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./GeometryOffsetAttribute-4f901209","./Transforms-ab7258fe","./Matrix2-46444433","./ComponentDatatype-692a36d3","./when-229515d6","./RuntimeError-608565a6","./GeometryAttribute-d3bef603","./GeometryAttributes-b253752a","./IndexDatatype-7c683b18"],(function(t,i,e,n,a,o,r,s,m,u){"use strict";const f=new n.Cartesian3(1,1,1),l=Math.cos,c=Math.sin;function d(t){t=o.defaultValue(t,o.defaultValue.EMPTY_OBJECT);const i=o.defaultValue(t.radii,f),e=o.defaultValue(t.innerRadii,i),r=o.defaultValue(t.minimumClock,0),s=o.defaultValue(t.maximumClock,a.CesiumMath.TWO_PI),m=o.defaultValue(t.minimumCone,0),u=o.defaultValue(t.maximumCone,a.CesiumMath.PI),l=Math.round(o.defaultValue(t.stackPartitions,10)),c=Math.round(o.defaultValue(t.slicePartitions,8)),d=Math.round(o.defaultValue(t.subdivisions,128));this._radii=n.Cartesian3.clone(i),this._innerRadii=n.Cartesian3.clone(e),this._minimumClock=r,this._maximumClock=s,this._minimumCone=m,this._maximumCone=u,this._stackPartitions=l,this._slicePartitions=c,this._subdivisions=d,this._offsetAttribute=t.offsetAttribute,this._workerName="createEllipsoidOutlineGeometry"}d.packedLength=2*n.Cartesian3.packedLength+8,d.pack=function(t,i,e){return e=o.defaultValue(e,0),n.Cartesian3.pack(t._radii,i,e),e+=n.Cartesian3.packedLength,n.Cartesian3.pack(t._innerRadii,i,e),e+=n.Cartesian3.packedLength,i[e++]=t._minimumClock,i[e++]=t._maximumClock,i[e++]=t._minimumCone,i[e++]=t._maximumCone,i[e++]=t._stackPartitions,i[e++]=t._slicePartitions,i[e++]=t._subdivisions,i[e]=o.defaultValue(t._offsetAttribute,-1),i};const C=new n.Cartesian3,_=new n.Cartesian3,p={radii:C,innerRadii:_,minimumClock:void 0,maximumClock:void 0,minimumCone:void 0,maximumCone:void 0,stackPartitions:void 0,slicePartitions:void 0,subdivisions:void 0,offsetAttribute:void 0};d.unpack=function(t,i,e){i=o.defaultValue(i,0);const a=n.Cartesian3.unpack(t,i,C);i+=n.Cartesian3.packedLength;const r=n.Cartesian3.unpack(t,i,_);i+=n.Cartesian3.packedLength;const s=t[i++],m=t[i++],u=t[i++],f=t[i++],l=t[i++],c=t[i++],h=t[i++],y=t[i];return o.defined(e)?(e._radii=n.Cartesian3.clone(a,e._radii),e._innerRadii=n.Cartesian3.clone(r,e._innerRadii),e._minimumClock=s,e._maximumClock=m,e._minimumCone=u,e._maximumCone=f,e._stackPartitions=l,e._slicePartitions=c,e._subdivisions=h,e._offsetAttribute=-1===y?void 0:y,e):(p.minimumClock=s,p.maximumClock=m,p.minimumCone=u,p.maximumCone=f,p.stackPartitions=l,p.slicePartitions=c,p.subdivisions=h,p.offsetAttribute=-1===y?void 0:y,new d(p))},d.createGeometry=function(t){const r=t._radii;if(r.x<=0||r.y<=0||r.z<=0)return;const f=t._innerRadii;if(f.x<=0||f.y<=0||f.z<=0)return;const d=t._minimumClock,C=t._maximumClock,_=t._minimumCone,p=t._maximumCone,h=t._subdivisions,y=n.Ellipsoid.fromCartesian3(r);let b=t._slicePartitions+1,k=t._stackPartitions+1;b=Math.round(b*Math.abs(C-d)/a.CesiumMath.TWO_PI),k=Math.round(k*Math.abs(p-_)/a.CesiumMath.PI),b<2&&(b=2),k<2&&(k=2);let x=0,A=1;const P=f.x!==r.x||f.y!==r.y||f.z!==r.z;let v=!1,w=!1;P&&(A=2,_>0&&(v=!0,x+=b),p<Math.PI&&(w=!0,x+=b));const M=h*A*(k+b),V=new Float64Array(3*M),g=2*(M+x-(b+k)*A),E=u.IndexDatatype.createTypedArray(M,g);let G,O,D,I,T=0;const z=new Array(k),L=new Array(k);for(G=0;G<k;G++)I=_+G*(p-_)/(k-1),z[G]=c(I),L[G]=l(I);const R=new Array(h),N=new Array(h);for(G=0;G<h;G++)D=d+G*(C-d)/(h-1),R[G]=c(D),N[G]=l(D);for(G=0;G<k;G++)for(O=0;O<h;O++)V[T++]=r.x*z[G]*N[O],V[T++]=r.y*z[G]*R[O],V[T++]=r.z*L[G];if(P)for(G=0;G<k;G++)for(O=0;O<h;O++)V[T++]=f.x*z[G]*N[O],V[T++]=f.y*z[G]*R[O],V[T++]=f.z*L[G];for(z.length=h,L.length=h,G=0;G<h;G++)I=_+G*(p-_)/(h-1),z[G]=c(I),L[G]=l(I);for(R.length=b,N.length=b,G=0;G<b;G++)D=d+G*(C-d)/(b-1),R[G]=c(D),N[G]=l(D);for(G=0;G<h;G++)for(O=0;O<b;O++)V[T++]=r.x*z[G]*N[O],V[T++]=r.y*z[G]*R[O],V[T++]=r.z*L[G];if(P)for(G=0;G<h;G++)for(O=0;O<b;O++)V[T++]=f.x*z[G]*N[O],V[T++]=f.y*z[G]*R[O],V[T++]=f.z*L[G];for(T=0,G=0;G<k*A;G++){const t=G*h;for(O=0;O<h-1;O++)E[T++]=t+O,E[T++]=t+O+1}let B=k*h*A;for(G=0;G<b;G++)for(O=0;O<h-1;O++)E[T++]=B+G+O*b,E[T++]=B+G+(O+1)*b;if(P)for(B=k*h*A+b*h,G=0;G<b;G++)for(O=0;O<h-1;O++)E[T++]=B+G+O*b,E[T++]=B+G+(O+1)*b;if(P){let t=k*h*A,i=t+h*b;if(v)for(G=0;G<b;G++)E[T++]=t+G,E[T++]=i+G;if(w)for(t+=h*b-b,i+=h*b-b,G=0;G<b;G++)E[T++]=t+G,E[T++]=i+G}const S=new m.GeometryAttributes({position:new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:V})});if(o.defined(t._offsetAttribute)){const e=V.length,n=new Uint8Array(e/3),o=t._offsetAttribute===i.GeometryOffsetAttribute.NONE?0:1;i.arrayFill(n,o),S.applyOffset=new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:1,values:n})}return new s.Geometry({attributes:S,indices:E,primitiveType:s.PrimitiveType.LINES,boundingSphere:e.BoundingSphere.fromEllipsoid(y),offsetAttribute:t._offsetAttribute})},t.EllipsoidOutlineGeometry=d}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./AxisAlignedBoundingBox-8f6cec20","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./IntersectionTests-4cf437d5","./Plane-1f2a7880","./Transforms-ab7258fe"],(function(t,n,e,i,o,r,s,a){"use strict";const l=new e.Cartesian4;function c(t,n){t=(n=o.defaultValue(n,e.Ellipsoid.WGS84)).scaleToGeodeticSurface(t);const i=a.Transforms.eastNorthUpToFixedFrame(t,n);this._ellipsoid=n,this._origin=t,this._xAxis=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(i,0,l)),this._yAxis=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(i,1,l));const r=e.Cartesian3.fromCartesian4(e.Matrix4.getColumn(i,2,l));this._plane=s.Plane.fromPointNormal(t,r)}Object.defineProperties(c.prototype,{ellipsoid:{get:function(){return this._ellipsoid}},origin:{get:function(){return this._origin}},plane:{get:function(){return this._plane}},xAxis:{get:function(){return this._xAxis}},yAxis:{get:function(){return this._yAxis}},zAxis:{get:function(){return this._plane.normal}}});const d=new n.AxisAlignedBoundingBox;c.fromPoints=function(t,e){return new c(n.AxisAlignedBoundingBox.fromPoints(t,d).center,e)};const f=new r.Ray,p=new e.Cartesian3;c.prototype.projectPointOntoPlane=function(t,n){const i=f;i.origin=t,e.Cartesian3.normalize(t,i.direction);let s=r.IntersectionTests.rayPlane(i,this._plane,p);if(o.defined(s)||(e.Cartesian3.negate(i.direction,i.direction),s=r.IntersectionTests.rayPlane(i,this._plane,p)),o.defined(s)){const t=e.Cartesian3.subtract(s,this._origin,s),i=e.Cartesian3.dot(this._xAxis,t),r=e.Cartesian3.dot(this._yAxis,t);return o.defined(n)?(n.x=i,n.y=r,n):new e.Cartesian2(i,r)}},c.prototype.projectPointsOntoPlane=function(t,n){o.defined(n)||(n=[]);let e=0;const i=t.length;for(let r=0;r<i;r++){const i=this.projectPointOntoPlane(t[r],n[e]);o.defined(i)&&(n[e]=i,e++)}return n.length=e,n},c.prototype.projectPointToNearestOnPlane=function(t,n){o.defined(n)||(n=new e.Cartesian2);const i=f;i.origin=t,e.Cartesian3.clone(this._plane.normal,i.direction);let s=r.IntersectionTests.rayPlane(i,this._plane,p);o.defined(s)||(e.Cartesian3.negate(i.direction,i.direction),s=r.IntersectionTests.rayPlane(i,this._plane,p));const a=e.Cartesian3.subtract(s,this._origin,s),l=e.Cartesian3.dot(this._xAxis,a),c=e.Cartesian3.dot(this._yAxis,a);return n.x=l,n.y=c,n},c.prototype.projectPointsToNearestOnPlane=function(t,n){o.defined(n)||(n=[]);const e=t.length;n.length=e;for(let i=0;i<e;i++)n[i]=this.projectPointToNearestOnPlane(t[i],n[i]);return n};const u=new e.Cartesian3;c.prototype.projectPointOntoEllipsoid=function(t,n){o.defined(n)||(n=new e.Cartesian3);const i=this._ellipsoid,r=this._origin,s=this._xAxis,a=this._yAxis,l=u;return e.Cartesian3.multiplyByScalar(s,t.x,l),n=e.Cartesian3.add(r,l,n),e.Cartesian3.multiplyByScalar(a,t.y,l),e.Cartesian3.add(n,l,n),i.scaleToGeocentricSurface(n,n),n},c.prototype.projectPointsOntoEllipsoid=function(t,n){const e=t.length;o.defined(n)?n.length=e:n=new Array(e);for(let i=0;i<e;++i)n[i]=this.projectPointOntoEllipsoid(t[i],n[i]);return n},t.EllipsoidTangentPlane=c}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6"],(function(n,e,o,i){"use strict";function t(){this.high=e.Cartesian3.clone(e.Cartesian3.ZERO),this.low=e.Cartesian3.clone(e.Cartesian3.ZERO)}t.encode=function(n,e){let o;return i.defined(e)||(e={high:0,low:0}),n>=0?(o=65536*Math.floor(n/65536),e.high=o,e.low=n-o):(o=65536*Math.floor(-n/65536),e.high=-o,e.low=n+o),e};const h={high:0,low:0};t.fromCartesian=function(n,e){i.defined(e)||(e=new t);const o=e.high,r=e.low;return t.encode(n.x,h),o.x=h.high,r.x=h.low,t.encode(n.y,h),o.y=h.high,r.y=h.low,t.encode(n.z,h),o.z=h.high,r.z=h.low,e};const r=new t;t.writeElements=function(n,e,o){t.fromCartesian(n,r);const i=r.high,h=r.low;e[o]=i.x,e[o+1]=i.y,e[o+2]=i.z,e[o+3]=h.x,e[o+4]=h.y,e[o+5]=h.z},n.EncodedCartesian3=t}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./WebGLConstants-f63312fc","./Transforms-ab7258fe"],(function(t,e,n,a,r,i){"use strict";var o=Object.freeze({NONE:0,TRIANGLES:1,LINES:2,POLYLINES:3});const s={POINTS:r.WebGLConstants.POINTS,LINES:r.WebGLConstants.LINES,LINE_LOOP:r.WebGLConstants.LINE_LOOP,LINE_STRIP:r.WebGLConstants.LINE_STRIP,TRIANGLES:r.WebGLConstants.TRIANGLES,TRIANGLE_STRIP:r.WebGLConstants.TRIANGLE_STRIP,TRIANGLE_FAN:r.WebGLConstants.TRIANGLE_FAN,validate:function(t){return t===s.POINTS||t===s.LINES||t===s.LINE_LOOP||t===s.LINE_STRIP||t===s.TRIANGLES||t===s.TRIANGLE_STRIP||t===s.TRIANGLE_FAN}};var u=Object.freeze(s);function I(t){t=a.defaultValue(t,a.defaultValue.EMPTY_OBJECT),this.attributes=t.attributes,this.indices=t.indices,this.primitiveType=a.defaultValue(t.primitiveType,u.TRIANGLES),this.boundingSphere=t.boundingSphere,this.geometryType=a.defaultValue(t.geometryType,o.NONE),this.boundingSphereCV=t.boundingSphereCV,this.offsetAttribute=t.offsetAttribute}I.computeNumberOfVertices=function(t){let e=-1;for(const n in t.attributes)if(t.attributes.hasOwnProperty(n)&&a.defined(t.attributes[n])&&a.defined(t.attributes[n].values)){const a=t.attributes[n];e=a.values.length/a.componentsPerAttribute}return e};const N=new e.Cartographic,c=new e.Cartesian3,l=new e.Matrix4,T=[new e.Cartographic,new e.Cartographic,new e.Cartographic],f=[new e.Cartesian2,new e.Cartesian2,new e.Cartesian2],m=[new e.Cartesian2,new e.Cartesian2,new e.Cartesian2],p=new e.Cartesian3,y=new i.Quaternion,E=new e.Matrix4,L=new e.Matrix2;I._textureCoordinateRotationPoints=function(t,n,a,r){let o;const s=e.Rectangle.center(r,N),u=e.Cartographic.toCartesian(s,a,c),I=i.Transforms.eastNorthUpToFixedFrame(u,a,l),b=e.Matrix4.inverse(I,l),h=f,C=T;C[0].longitude=r.west,C[0].latitude=r.south,C[1].longitude=r.west,C[1].latitude=r.north,C[2].longitude=r.east,C[2].latitude=r.south;let x=p;for(o=0;o<3;o++)e.Cartographic.toCartesian(C[o],a,x),x=e.Matrix4.multiplyByPointAsVector(b,x,x),h[o].x=x.x,h[o].y=x.y;const d=i.Quaternion.fromAxisAngle(e.Cartesian3.UNIT_Z,-n,y),A=e.Matrix3.fromQuaternion(d,E),P=t.length;let S=Number.POSITIVE_INFINITY,G=Number.POSITIVE_INFINITY,w=Number.NEGATIVE_INFINITY,R=Number.NEGATIVE_INFINITY;for(o=0;o<P;o++)x=e.Matrix4.multiplyByPointAsVector(b,t[o],x),x=e.Matrix3.multiplyByVector(A,x,x),S=Math.min(S,x.x),G=Math.min(G,x.y),w=Math.max(w,x.x),R=Math.max(R,x.y);const O=e.Matrix2.fromRotation(n,L),_=m;_[0].x=S,_[0].y=G,_[1].x=S,_[1].y=R,_[2].x=w,_[2].y=G;const g=h[0],V=h[2].x-g.x,M=h[1].y-g.y;for(o=0;o<3;o++){const t=_[o];e.Matrix2.multiplyByVector(O,t,t),t.x=(t.x-g.x)/V,t.y=(t.y-g.y)/M}const v=_[0],F=_[1],W=_[2],Y=new Array(6);return e.Cartesian2.pack(v,Y),e.Cartesian2.pack(F,Y,2),e.Cartesian2.pack(W,Y,4),Y},t.Geometry=I,t.GeometryAttribute=function(t){t=a.defaultValue(t,a.defaultValue.EMPTY_OBJECT),this.componentDatatype=t.componentDatatype,this.componentsPerAttribute=t.componentsPerAttribute,this.normalize=a.defaultValue(t.normalize,!1),this.values=t.values},t.GeometryType=o,t.PrimitiveType=u}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./when-229515d6"],(function(t,n){"use strict";t.GeometryAttributes=function(t){t=n.defaultValue(t,n.defaultValue.EMPTY_OBJECT),this.position=t.position,this.normal=t.normal,this.st=t.st,this.bitangent=t.bitangent,this.tangent=t.tangent,this.color=t.color}}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./when-229515d6","./RuntimeError-608565a6","./Matrix2-46444433"],(function(e,t,i,r){"use strict";e.GeometryInstance=function(e){e=t.defaultValue(e,t.defaultValue.EMPTY_OBJECT),this.geometry=e.geometry,this.modelMatrix=r.Matrix4.clone(t.defaultValue(e.modelMatrix,r.Matrix4.IDENTITY)),this.id=e.id,this.pickPrimitive=e.pickPrimitive,this.attributes=t.defaultValue(e.attributes,{}),this.westHemisphereGeometry=void 0,this.eastHemisphereGeometry=void 0}}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./RuntimeError-608565a6","./when-229515d6"],(function(t,e,n){"use strict";var r=Object.freeze({NONE:0,TOP:1,ALL:2});t.GeometryOffsetAttribute=r,t.arrayFill=function(t,e,r,a){if("function"==typeof t.fill)return t.fill(e,r,a);const f=t.length>>>0,i=n.defaultValue(r,0);let l=i<0?Math.max(f+i,0):Math.min(i,f);const u=n.defaultValue(a,f),o=u<0?Math.max(f+u,0):Math.min(u,f);for(;l<o;)t[l]=e,l++;return t}}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./when-229515d6","./RuntimeError-608565a6","./ComponentDatatype-692a36d3","./WebGLConstants-f63312fc"],(function(e,t,n,r,E){"use strict";const N={UNSIGNED_BYTE:E.WebGLConstants.UNSIGNED_BYTE,UNSIGNED_SHORT:E.WebGLConstants.UNSIGNED_SHORT,UNSIGNED_INT:E.WebGLConstants.UNSIGNED_INT,getSizeInBytes:function(e){switch(e){case N.UNSIGNED_BYTE:return Uint8Array.BYTES_PER_ELEMENT;case N.UNSIGNED_SHORT:return Uint16Array.BYTES_PER_ELEMENT;case N.UNSIGNED_INT:return Uint32Array.BYTES_PER_ELEMENT}},fromSizeInBytes:function(e){switch(e){case 2:return N.UNSIGNED_SHORT;case 4:return N.UNSIGNED_INT;case 1:return N.UNSIGNED_BYTE}},validate:function(e){return t.defined(e)&&(e===N.UNSIGNED_BYTE||e===N.UNSIGNED_SHORT||e===N.UNSIGNED_INT)},createTypedArray:function(e,t){return e>=r.CesiumMath.SIXTY_FOUR_KILOBYTES?new Uint32Array(t):new Uint16Array(t)},createTypedArrayFromArrayBuffer:function(e,t,n,E){return e>=r.CesiumMath.SIXTY_FOUR_KILOBYTES?new Uint32Array(t,n,E):new Uint16Array(t,n,E)}};var a=Object.freeze(N);e.IndexDatatype=a}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./RuntimeError-608565a6","./when-229515d6","./ComponentDatatype-692a36d3"],(function(n,e,t,a,r){"use strict";function i(n,t){this.normal=e.Cartesian3.clone(n),this.distance=t}i.fromPointNormal=function(n,t,r){const s=-e.Cartesian3.dot(t,n);return a.defined(r)?(e.Cartesian3.clone(t,r.normal),r.distance=s,r):new i(t,s)};const s=new e.Cartesian3;i.fromCartesian4=function(n,t){const r=e.Cartesian3.fromCartesian4(n,s),o=n.w;return a.defined(t)?(e.Cartesian3.clone(r,t.normal),t.distance=o,t):new i(r,o)},i.getPointDistance=function(n,t){return e.Cartesian3.dot(n.normal,t)+n.distance};const o=new e.Cartesian3;i.projectPointOntoPlane=function(n,t,r){a.defined(r)||(r=new e.Cartesian3);const s=i.getPointDistance(n,t),c=e.Cartesian3.multiplyByScalar(n.normal,s,o);return e.Cartesian3.subtract(t,c,r)};const c=new e.Matrix4,l=new e.Cartesian4,C=new e.Cartesian3;i.transform=function(n,t,a){const r=n.normal,s=n.distance,o=e.Matrix4.inverseTranspose(t,c);let d=e.Cartesian4.fromElements(r.x,r.y,r.z,s,l);d=e.Matrix4.multiplyByVector(o,d,d);const m=e.Cartesian3.fromCartesian4(d,C);return d=e.Cartesian4.divideByScalar(d,e.Cartesian3.magnitude(m),d),i.fromCartesian4(d,a)},i.clone=function(n,t){return a.defined(t)?(e.Cartesian3.clone(n.normal,t.normal),t.distance=n.distance,t):new i(n.normal,n.distance)},i.equals=function(n,t){return n.distance===t.distance&&e.Cartesian3.equals(n.normal,t.normal)},i.ORIGIN_XY_PLANE=Object.freeze(new i(e.Cartesian3.UNIT_Z,0)),i.ORIGIN_YZ_PLANE=Object.freeze(new i(e.Cartesian3.UNIT_X,0)),i.ORIGIN_ZX_PLANE=Object.freeze(new i(e.Cartesian3.UNIT_Y,0)),n.Plane=i}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./when-229515d6","./RuntimeError-608565a6","./Transforms-ab7258fe","./ComponentDatatype-692a36d3"],(function(t,n,a,o,e,r){"use strict";const s=Math.cos,i=Math.sin,c=Math.sqrt,g={computePosition:function(t,n,o,e,r,g,u){const h=n.radiiSquared,l=t.nwCorner,C=t.boundingRectangle;let S=l.latitude-t.granYCos*e+r*t.granXSin;const d=s(S),w=i(S),M=h.z*w;let m=l.longitude+e*t.granYSin+r*t.granXCos;const X=d*s(m),Y=d*i(m),p=h.x*X,f=h.y*Y,x=c(p*X+f*Y+M*w);if(g.x=p/x,g.y=f/x,g.z=M/x,o){const n=t.stNwCorner;a.defined(n)?(S=n.latitude-t.stGranYCos*e+r*t.stGranXSin,m=n.longitude+e*t.stGranYSin+r*t.stGranXCos,u.x=(m-t.stWest)*t.lonScalar,u.y=(S-t.stSouth)*t.latScalar):(u.x=(m-C.west)*t.lonScalar,u.y=(S-C.south)*t.latScalar)}}},u=new n.Matrix2;let h=new n.Cartesian3;const l=new n.Cartographic;let C=new n.Cartesian3;const S=new e.GeographicProjection;function d(t,a,o,e,r,s,i){const c=Math.cos(a),g=e*c,l=o*c,d=Math.sin(a),w=e*d,M=o*d;h=S.project(t,h),h=n.Cartesian3.subtract(h,C,h);const m=n.Matrix2.fromRotation(a,u);h=n.Matrix2.multiplyByVector(m,h,h),h=n.Cartesian3.add(h,C,h),s-=1,i-=1;const X=(t=S.unproject(h,t)).latitude,Y=X+s*M,p=X-g*i,f=X-g*i+s*M,x=Math.max(X,Y,p,f),R=Math.min(X,Y,p,f),G=t.longitude,y=G+s*l,O=G+i*w,P=G+i*w+s*l;return{north:x,south:R,east:Math.max(G,y,O,P),west:Math.min(G,y,O,P),granYCos:g,granYSin:w,granXCos:l,granXSin:M,nwCorner:t}}g.computeOptions=function(t,a,o,e,s,i,c){let g,u=t.east,h=t.west,w=t.north,M=t.south,m=!1,X=!1;w===r.CesiumMath.PI_OVER_TWO&&(m=!0),M===-r.CesiumMath.PI_OVER_TWO&&(X=!0);const Y=w-M;g=h>u?r.CesiumMath.TWO_PI-h+u:u-h;const p=Math.ceil(g/a)+1,f=Math.ceil(Y/a)+1,x=g/(p-1),R=Y/(f-1),G=n.Rectangle.northwest(t,i),y=n.Rectangle.center(t,l);0===o&&0===e||(y.longitude<G.longitude&&(y.longitude+=r.CesiumMath.TWO_PI),C=S.project(y,C));const O=R,P=x,W=n.Rectangle.clone(t,s),_={granYCos:O,granYSin:0,granXCos:P,granXSin:0,nwCorner:G,boundingRectangle:W,width:p,height:f,northCap:m,southCap:X};if(0!==o){const t=d(G,o,x,R,0,p,f);w=t.north,M=t.south,u=t.east,h=t.west,_.granYCos=t.granYCos,_.granYSin=t.granYSin,_.granXCos=t.granXCos,_.granXSin=t.granXSin,W.north=w,W.south=M,W.east=u,W.west=h}if(0!==e){o-=e;const t=n.Rectangle.northwest(W,c),a=d(t,o,x,R,0,p,f);_.stGranYCos=a.granYCos,_.stGranXCos=a.granXCos,_.stGranYSin=a.granYSin,_.stGranXSin=a.granXSin,_.stNwCorner=t,_.stWest=a.west,_.stSouth=a.south}return _},t.RectangleGeometryLibrary=g}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./when-229515d6"],(function(t,e){"use strict";function n(t){let e;this.name="DeveloperError",this.message=t;try{throw new Error}catch(t){e=t.stack}this.stack=e}e.defined(Object.create)&&(n.prototype=Object.create(Error.prototype),n.prototype.constructor=n),n.prototype.toString=function(){let t=this.name+": "+this.message;return e.defined(this.stack)&&(t+="\n"+this.stack.toString()),t},n.throwInstantiationError=function(){throw new n("This function defines an interface and should not be called directly.")};const o={};function r(t,e,n){return"Expected "+n+" to be typeof "+e+", actual typeof was "+t}function i(t){let e;this.name="RuntimeError",this.message=t;try{throw new Error}catch(t){e=t.stack}this.stack=e}o.typeOf={},o.defined=function(t,o){if(!e.defined(o))throw new n(function(t){return t+" is required, actual value was undefined"}(t))},o.typeOf.func=function(t,e){if("function"!=typeof e)throw new n(r(typeof e,"function",t))},o.typeOf.string=function(t,e){if("string"!=typeof e)throw new n(r(typeof e,"string",t))},o.typeOf.number=function(t,e){if("number"!=typeof e)throw new n(r(typeof e,"number",t))},o.typeOf.number.lessThan=function(t,e,r){if(o.typeOf.number(t,e),e>=r)throw new n("Expected "+t+" to be less than "+r+", actual value was "+e)},o.typeOf.number.lessThanOrEquals=function(t,e,r){if(o.typeOf.number(t,e),e>r)throw new n("Expected "+t+" to be less than or equal to "+r+", actual value was "+e)},o.typeOf.number.greaterThan=function(t,e,r){if(o.typeOf.number(t,e),e<=r)throw new n("Expected "+t+" to be greater than "+r+", actual value was "+e)},o.typeOf.number.greaterThanOrEquals=function(t,e,r){if(o.typeOf.number(t,e),e<r)throw new n("Expected "+t+" to be greater than or equal to "+r+", actual value was "+e)},o.typeOf.object=function(t,e){if("object"!=typeof e)throw new n(r(typeof e,"object",t))},o.typeOf.bool=function(t,e){if("boolean"!=typeof e)throw new n(r(typeof e,"boolean",t))},o.typeOf.bigint=function(t,e){if("bigint"!=typeof e)throw new n(r(typeof e,"bigint",t))},o.typeOf.number.equals=function(t,e,r,i){if(o.typeOf.number(t,r),o.typeOf.number(e,i),r!==i)throw new n(t+" must be equal to "+e+", the actual values are "+r+" and "+i)},e.defined(Object.create)&&(i.prototype=Object.create(Error.prototype),i.prototype.constructor=i),i.prototype.toString=function(){let t=this.name+": "+this.message;return e.defined(this.stack)&&(t+="\n"+this.stack.toString()),t},t.Check=o,t.DeveloperError=n,t.RuntimeError=i}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./when-229515d6","./RuntimeError-608565a6"],(function(e,t,n){"use strict";function o(e){e=t.defaultValue(e,t.defaultValue.EMPTY_OBJECT),this.position=t.defaultValue(e.position,!1),this.normal=t.defaultValue(e.normal,!1),this.st=t.defaultValue(e.st,!1),this.bitangent=t.defaultValue(e.bitangent,!1),this.tangent=t.defaultValue(e.tangent,!1),this.color=t.defaultValue(e.color,!1)}o.POSITION_ONLY=Object.freeze(new o({position:!0})),o.POSITION_AND_NORMAL=Object.freeze(new o({position:!0,normal:!0})),o.POSITION_NORMAL_AND_ST=Object.freeze(new o({position:!0,normal:!0,st:!0})),o.POSITION_AND_ST=Object.freeze(new o({position:!0,st:!0})),o.POSITION_AND_COLOR=Object.freeze(new o({position:!0,color:!0})),o.ALL=Object.freeze(new o({position:!0,normal:!0,st:!0,tangent:!0,bitangent:!0})),o.DEFAULT=o.POSITION_NORMAL_AND_ST,o.packedLength=6,o.pack=function(e,n,o){return o=t.defaultValue(o,0),n[o++]=e.position?1:0,n[o++]=e.normal?1:0,n[o++]=e.st?1:0,n[o++]=e.tangent?1:0,n[o++]=e.bitangent?1:0,n[o]=e.color?1:0,n},o.unpack=function(e,n,i){return n=t.defaultValue(n,0),t.defined(i)||(i=new o),i.position=1===e[n++],i.normal=1===e[n++],i.st=1===e[n++],i.tangent=1===e[n++],i.bitangent=1===e[n++],i.color=1===e[n],i},o.clone=function(e,n){if(t.defined(e))return t.defined(n)||(n=new o),n.position=e.position,n.normal=e.normal,n.st=e.st,n.tangent=e.tangent,n.bitangent=e.bitangent,n.color=e.color,n},e.VertexFormat=o}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./arrayRemoveDuplicates-ee080d9d","./Matrix2-46444433","./when-229515d6","./ComponentDatatype-692a36d3","./PolylinePipeline-3b21ed18"],(function(e,t,i,n,o,r){"use strict";const a={};function s(e,t){return o.CesiumMath.equalsEpsilon(e.latitude,t.latitude,o.CesiumMath.EPSILON10)&&o.CesiumMath.equalsEpsilon(e.longitude,t.longitude,o.CesiumMath.EPSILON10)}const l=new i.Cartographic,h=new i.Cartographic;const g=new Array(2),c=new Array(2),p={positions:void 0,height:void 0,granularity:void 0,ellipsoid:void 0};a.computePositions=function(e,a,u,d,y,m){const P=function(e,o,r,a){const g=(o=t.arrayRemoveDuplicates(o,i.Cartesian3.equalsEpsilon)).length;if(g<2)return;const c=n.defined(a),p=n.defined(r),u=new Array(g),d=new Array(g),y=new Array(g),m=o[0];u[0]=m;const P=e.cartesianToCartographic(m,l);p&&(P.height=r[0]),d[0]=P.height,y[0]=c?a[0]:0;let f=d[0]===y[0],A=1;for(let t=1;t<g;++t){const n=o[t],l=e.cartesianToCartographic(n,h);p&&(l.height=r[t]),f=f&&0===l.height,s(P,l)?P.height<l.height&&(d[A-1]=l.height):(u[A]=n,d[A]=l.height,y[A]=c?a[t]:0,f=f&&d[A]===y[A],i.Cartographic.clone(l,P),++A)}return f||A<2?void 0:(u.length=A,d.length=A,y.length=A,{positions:u,topHeights:d,bottomHeights:y})}(e,a,u,d);if(!n.defined(P))return;a=P.positions,u=P.topHeights,d=P.bottomHeights;const f=a.length,A=f-2;let C,w;const v=o.CesiumMath.chordLength(y,e.maximumRadius),b=p;if(b.minDistance=v,b.ellipsoid=e,m){let e,t=0;for(e=0;e<f-1;e++)t+=r.PolylinePipeline.numberOfPoints(a[e],a[e+1],v)+1;C=new Float64Array(3*t),w=new Float64Array(3*t);const i=g,n=c;b.positions=i,b.height=n;let o=0;for(e=0;e<f-1;e++){i[0]=a[e],i[1]=a[e+1],n[0]=u[e],n[1]=u[e+1];const t=r.PolylinePipeline.generateArc(b);C.set(t,o),n[0]=d[e],n[1]=d[e+1],w.set(r.PolylinePipeline.generateArc(b),o),o+=t.length}}else b.positions=a,b.height=u,C=new Float64Array(r.PolylinePipeline.generateArc(b)),b.height=d,w=new Float64Array(r.PolylinePipeline.generateArc(b));return{bottomPositions:w,topPositions:C,numCorners:A}},e.WallGeometryLibrary=a}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./Matrix2-46444433","./when-229515d6","./RuntimeError-608565a6","./ComponentDatatype-692a36d3"],(function(t,e,i,o,a){"use strict";function n(t){this._ellipsoid=i.defaultValue(t,e.Ellipsoid.WGS84),this._semimajorAxis=this._ellipsoid.maximumRadius,this._oneOverSemimajorAxis=1/this._semimajorAxis}Object.defineProperties(n.prototype,{ellipsoid:{get:function(){return this._ellipsoid}}}),n.mercatorAngleToGeodeticLatitude=function(t){return a.CesiumMath.PI_OVER_TWO-2*Math.atan(Math.exp(-t))},n.geodeticLatitudeToMercatorAngle=function(t){t>n.MaximumLatitude?t=n.MaximumLatitude:t<-n.MaximumLatitude&&(t=-n.MaximumLatitude);const e=Math.sin(t);return.5*Math.log((1+e)/(1-e))},n.MaximumLatitude=n.mercatorAngleToGeodeticLatitude(Math.PI),n.prototype.project=function(t,o){const a=this._semimajorAxis,r=t.longitude*a,u=n.geodeticLatitudeToMercatorAngle(t.latitude)*a,d=t.height;return i.defined(o)?(o.x=r,o.y=u,o.z=d,o):new e.Cartesian3(r,u,d)},n.prototype.unproject=function(t,o){const a=this._oneOverSemimajorAxis,r=t.x*a,u=n.mercatorAngleToGeodeticLatitude(t.y*a),d=t.z;return i.defined(o)?(o.longitude=r,o.latitude=u,o.height=d,o):new e.Cartographic(r,u,d)},t.WebMercatorProjection=n}));
|
@ -1 +0,0 @@
|
||||
define(["exports","./RuntimeError-608565a6","./when-229515d6","./ComponentDatatype-692a36d3"],(function(e,n,t,i){"use strict";const d=i.CesiumMath.EPSILON10;e.arrayRemoveDuplicates=function(e,n,i,f){if(!t.defined(e))return;i=t.defaultValue(i,!1);const r=t.defined(f),u=e.length;if(u<2)return e;let s,a,l,o=e[0],c=0,h=-1;for(s=1;s<u;++s)a=e[s],n(o,a,d)?(t.defined(l)||(l=e.slice(0,s),c=s-1,h=0),r&&f.push(s)):(t.defined(l)&&(l.push(a),c=s,r&&(h=f.length)),o=a);return i&&n(e[0],e[u-1],d)&&(r&&(t.defined(l)?f.splice(h,0,c):f.push(u-1)),t.defined(l)?l.length-=1:l=e.slice(0,-1)),t.defined(l)?l:e}}));
|
26
plugins/feature/map/Cesium/Workers/chunk-23RYXNR3.js
Normal file
26
plugins/feature/map/Cesium/Workers/chunk-2RJONVEL.js
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* 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 z,c as q}from"./chunk-3RSLEP7W.js";import{a as U}from"./chunk-ALKSRI7Y.js";import{f as I}from"./chunk-3PT5NNSP.js";import{a as e,e as C}from"./chunk-FGKVHLJ4.js";import{a as O}from"./chunk-YRCAQUFT.js";import{e as j}from"./chunk-3BGP4HCL.js";var G={},B=new e,J=new e,_=new e,v=new e,g=[new e,new e],K=new e,W=new e,X=new e,$=new e,ee=new e,te=new e,ne=new e,oe=new e,re=new e,se=new e,F=new I,k=new C;function V(o,s,a,c,r){let d=e.angleBetween(e.subtract(s,o,B),e.subtract(a,o,J)),y=c===z.BEVELED?1:Math.ceil(d/O.toRadians(5))+1,n=y*3,l=new Array(n);l[n-3]=a.x,l[n-2]=a.y,l[n-1]=a.z;let m;r?m=C.fromQuaternion(I.fromAxisAngle(e.negate(o,B),d/y,F),k):m=C.fromQuaternion(I.fromAxisAngle(o,d/y,F),k);let t=0;s=e.clone(s,B);for(let i=0;i<y;i++)s=C.multiplyByVector(m,s,s),l[t++]=s.x,l[t++]=s.y,l[t++]=s.z;return l}function ae(o){let s=K,a=W,c=X,r=o[1];a=e.fromArray(o[1],r.length-3,a),c=e.fromArray(o[0],0,c),s=e.midpoint(a,c,s);let d=V(s,a,c,z.ROUNDED,!1),y=o.length-1,n=o[y-1];r=o[y],a=e.fromArray(n,n.length-3,a),c=e.fromArray(r,0,c),s=e.midpoint(a,c,s);let l=V(s,a,c,z.ROUNDED,!1);return[d,l]}function H(o,s,a,c){let r=B;return c?r=e.add(o,s,r):(s=e.negate(s,s),r=e.add(o,s,r)),[r.x,r.y,r.z,a.x,a.y,a.z]}function T(o,s,a,c){let r=new Array(o.length),d=new Array(o.length),y=e.multiplyByScalar(s,a,B),n=e.negate(y,J),l=0,m=o.length-1;for(let t=0;t<o.length;t+=3){let i=e.fromArray(o,t,_),w=e.add(i,n,v);r[l++]=w.x,r[l++]=w.y,r[l++]=w.z;let f=e.add(i,y,v);d[m--]=f.z,d[m--]=f.y,d[m--]=f.x}return c.push(r,d),c}G.addAttribute=function(o,s,a,c){let r=s.x,d=s.y,y=s.z;j(a)&&(o[a]=r,o[a+1]=d,o[a+2]=y),j(c)&&(o[c]=y,o[c-1]=d,o[c-2]=r)};var le=new e,ce=new e;G.computePositions=function(o){let s=o.granularity,a=o.positions,c=o.ellipsoid,r=o.width/2,d=o.cornerType,y=o.saveAttributes,n=K,l=W,m=X,t=$,i=ee,w=te,f=ne,u=oe,p=re,x=se,E=[],S=y?[]:void 0,D=y?[]:void 0,h=a[0],N=a[1];l=e.normalize(e.subtract(N,h,l),l),n=c.geodeticSurfaceNormal(h,n),t=e.normalize(e.cross(n,l,t),t),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),f=e.clone(h,f),h=N,m=e.negate(l,m);let A,P=[],M,Y=a.length;for(M=1;M<Y-1;M++){n=c.geodeticSurfaceNormal(h,n),N=a[M+1],l=e.normalize(e.subtract(N,h,l),l);let L=e.multiplyByScalar(n,e.dot(l,n),le);e.subtract(l,L,L),e.normalize(L,L);let R=e.multiplyByScalar(n,e.dot(m,n),ce);if(e.subtract(m,R,R),e.normalize(R,R),!O.equalsEpsilon(Math.abs(e.dot(L,R)),1,O.EPSILON7)){i=e.normalize(e.add(l,m,i),i),i=e.cross(i,n,i),i=e.cross(n,i,i),i=e.normalize(i,i);let Z=r/Math.max(.25,e.magnitude(e.cross(i,m,B))),b=q.angleIsGreaterThanPi(l,m,h,c);i=e.multiplyByScalar(i,Z,i),b?(u=e.add(h,i,u),x=e.add(u,e.multiplyByScalar(t,r,x),x),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(p,w),t=e.normalize(e.cross(n,l,t),t),p=e.add(u,e.multiplyByScalar(t,r*2,p),p),f=e.add(u,e.multiplyByScalar(t,r,f),f),d===z.ROUNDED||d===z.BEVELED?P.push({leftPositions:V(u,w,p,d,b)}):P.push({leftPositions:H(h,e.negate(i,i),p,b)})):(p=e.add(h,i,p),x=e.add(p,e.negate(e.multiplyByScalar(t,r,x),x),x),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),g[0]=e.clone(f,g[0]),g[1]=e.clone(x,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z)),w=e.clone(u,w),t=e.normalize(e.cross(n,l,t),t),u=e.add(p,e.negate(e.multiplyByScalar(t,r*2,u),u),u),f=e.add(p,e.negate(e.multiplyByScalar(t,r,f),f),f),d===z.ROUNDED||d===z.BEVELED?P.push({rightPositions:V(p,w,u,d,b)}):P.push({rightPositions:H(h,i,u,b)})),m=e.negate(l,m)}h=N}n=c.geodeticSurfaceNormal(h,n),g[0]=e.clone(f,g[0]),g[1]=e.clone(h,g[1]),A=U.generateArc({positions:g,granularity:s,ellipsoid:c}),E=T(A,t,r,E),y&&(S.push(t.x,t.y,t.z),D.push(n.x,n.y,n.z));let Q;return d===z.ROUNDED&&(Q=ae(E)),{positions:E,corners:P,lefts:S,normals:D,endPositions:Q}};var we=G;export{we as a};
|
26
plugins/feature/map/Cesium/Workers/chunk-2V6KZTKL.js
Normal file
26
plugins/feature/map/Cesium/Workers/chunk-3BGP4HCL.js
Normal file
@ -0,0 +1,26 @@
|
||||
/**
|
||||
* @license
|
||||
* Cesium - https://github.com/CesiumGS/cesium
|
||||
* Version 1.129
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
var i=Object.create;var u=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var o=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var a=(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(e,d)=>(typeof require<"u"?require:e)[d]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')}),b=n=>e=>{var d=n[e];if(d)return d();throw new Error("Module not found in bundle: "+e)};var g=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports);var p=(n,e,d,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let f of l(e))!c.call(n,f)&&f!==d&&u(n,f,{get:()=>e[f],enumerable:!(t=r(e,f))||t.enumerable});return n};var h=(n,e,d)=>(d=n!=null?i(o(n)):{},p(e||!n||!n.__esModule?u(d,"default",{value:n,enumerable:!0}):d,n));function x(n){return n!=null}var k=x;export{a,b,g as c,h as d,k as e};
|