diff --git a/CONTRIBUTING b/CONTRIBUTING
index e4b541261..17d504f30 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -1,26 +1 @@
-All contributors to the Earth Engine API libraries must sign a CLA.
-
-What is a CLA?
-----------------------------------------
-
-A CLA (Contributor License Agreement) basically says that you own the
-rights to any code you contribute, and that you give us permission to
-use that code in the Earth Engine API libraries. You maintain the
-copyright on that code.
-
-Where do I sign up?
-----------------------------------------
-
-If you own all the rights to your code, you can fill out an individual CLA.
-http://code.google.com/legal/individual-cla-v1.0.html
-
-If your employer has any rights to your code, then they also need to fill
-out a corporate CLA. If you don't know if your employer has any rights
-to your code, you should ask before signing anything.
-http://code.google.com/legal/corporate-cla-v1.0.html
-
-CLA Signers
-----------------------------------------
-
-By default, anyone with an @google.com email address already has a CLA
-signed for them. Congratulations!
+The Earth Engine API clients are not currently accepting pull requests.
diff --git a/LICENSE b/LICENSE
index 261eeb9e9..d07669f34 100644
--- a/LICENSE
+++ b/LICENSE
@@ -199,3 +199,15 @@
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.
+
+====================================================================================
+The following applies to MochiKit, embedded in Closure in compiled JavaScript files.
+====================================================================================
+
+Copyright (c) 2005 Bob Ippolito. All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/README.md b/README.md
index 5dca45979..922489d19 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-Google Earth Engine API
-=======================
+# Google Earth Engine API
Python and JavaScript client libraries for calling the Google Earth Engine API.
@@ -39,3 +38,11 @@ Map.addLayer(
{min: 0, max: [0.18, 20, -0.18], bands: ['scale', 'offset', 'scale']},
'stable lights trend');
```
+
+## NOTICE
+
+In order to be more responsive to bug reports and feature requests, we are
+currently using the Google Issue Tracker rather than the GitHub Issue tracker.
+Please see the [Get Help](https://developers.google.com/earth-engine/help) page
+of the Earth Engine documentation for details on how to browse and submit issues
+to Issue Tracker.
diff --git a/demos/export-to-drive/appengine_config.py b/demos/export-to-drive/appengine_config.py
index 9668241e2..3c2b6a848 100644
--- a/demos/export-to-drive/appengine_config.py
+++ b/demos/export-to-drive/appengine_config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Loads third-party Python libraries.
`appengine_config.py` is automatically loaded when Google App Engine
diff --git a/demos/export-to-drive/config.py b/demos/export-to-drive/config.py
index f59aa43b8..d74a06b65 100644
--- a/demos/export-to-drive/config.py
+++ b/demos/export-to-drive/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Required credentials configuration."""
# See instructions in the README.md file for how to fill these in.
diff --git a/demos/export-to-drive/drive.py b/demos/export-to-drive/drive.py
index cccde5388..119d8db9b 100644
--- a/demos/export-to-drive/drive.py
+++ b/demos/export-to-drive/drive.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Helpers for interfacing with Google Drive."""
import googleapiclient.discovery
diff --git a/demos/export-to-drive/server.py b/demos/export-to-drive/server.py
index ff09fd645..ad73e3365 100644
--- a/demos/export-to-drive/server.py
+++ b/demos/export-to-drive/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Web server for the export-to-Google-Drive EE demo application.
The code in this file runs on App Engine. It's called when the user loads the
diff --git a/demos/export-to-drive/static/script.js b/demos/export-to-drive/static/script.js
index f6418544c..1d98b9ea0 100644
--- a/demos/export-to-drive/static/script.js
+++ b/demos/export-to-drive/static/script.js
@@ -49,7 +49,7 @@ exporter.App = class {
// Outstanding URL paths for the current map IDs, keyed by layer name.
// Used to avoid needlessly changing the layer when the layer requested is
- // the the same as the current layer.
+ // the same as the current layer.
this.layerPaths = {};
// The ID of this client for socket communication with App Engine.
diff --git a/demos/flooded-roads/ExportToBigQuery.ipynb b/demos/flooded-roads/ExportToBigQuery.ipynb
new file mode 100644
index 000000000..a2028f136
--- /dev/null
+++ b/demos/flooded-roads/ExportToBigQuery.ipynb
@@ -0,0 +1,503 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "view-in-github"
+ },
+ "source": [
+ ""
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "wE93poeBnMnW"
+ },
+ "source": [
+ "# Demo Scenario\n",
+ "\n",
+ " Extreme weather events have a devastating impact around the world. Flooding, heat waves, and drought have substantial human and financial costs, causing mortality and devastation of homes and property. The following example shows how to use satellite data mosaics from Earth Engine and open road datasets from BigQuery, processing the data in both environments to determine which road segments are affected by a flooding event in the UK.\n",
+ "\n",
+ "\n",
+ " ## Demo Flow\n",
+ "\n",
+ " Earth Engine => Big Query => Visualization\n",
+ "\n",
+ " ## Prerequisites\n",
+ "\n",
+ "\n",
+ "1. Install the dependencies {--geemap , earthengine-api}\n",
+ "2. Create a new GCP project and check that billing is enabled. Alternatively an existing project with valid billing ID could be used.\n",
+ "3. Enable the BigQuery and Earth Engine APIs.\n",
+ "4. Make sure to have the permissions to create dataset.\n",
+ "5. Make sure to have the below IAM roles assigned on the BigQuery dataset\n",
+ "\n",
+ ">1. bigquery.dataEditor + bigquery.jobUser\n",
+ "\n",
+ ">2. bigquery.dataOwner + bigquery.jobUser\n",
+ "\n",
+ ">3. bigquery.admin\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "352zE5rZDO0v"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Prerequisites\n",
+ "# Install 'geemap' library to display the map.\n",
+ "!pip install geemap\n",
+ "!pip install earthengine-api --upgrade"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "llYex6u5jNGx"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Parameter Setup\n",
+ "# Replace the project id with your project.\n",
+ "project_id = \"example-project\" # @param {type:\"string\"}\n",
+ "dataset_id = \"ee_export\"\n",
+ "table_id = \"ee_test\"\n",
+ "table = dataset_id + \".\" + table_id\n",
+ "region = 'us'\n",
+ "table_path = project_id + \".\" + dataset_id + \".\" + table_id\n",
+ "print(\"Region: \",region)\n",
+ "print(\"Table Path: \",table_path)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "MQJDgFB0jEH0"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Authenticate and initialize the Session\n",
+ "import google\n",
+ "import ee\n",
+ "from google.cloud import bigquery\n",
+ "from google.colab import auth as google_auth\n",
+ "client= bigquery.Client()\n",
+ "google_auth.authenticate_user()\n",
+ "credentials, auth_project_id = google.auth.default()\n",
+ "ee.Initialize(credentials, project=project_id)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "9guXwDgP-grd"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Create BQ Dataset\n",
+ "# Create a BQ dataset.\n",
+ "!bq --location={region} mk --dataset {project_id}:{dataset_id}"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "nNcSsY9y5TAK"
+ },
+ "source": [
+ "Define area of interest and centre point"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "o2QgpHD5-PRG"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Define point and Area of Interest(aoi)\n",
+ "# Define AOI (Area of Interest) polygon\n",
+ "aoi = ee.Geometry.Polygon([[-2.92, 54.10],\n",
+ " [-2.92, 53.99],\n",
+ " [-2.67, 53.99],\n",
+ " [-2.67, 54.10]])"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "8wIR_Fwu04En"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Display AOI and point\n",
+ "import geemap\n",
+ "Map = geemap.Map()\n",
+ "Map.centerObject(aoi, 12);\n",
+ "Map.setOptions(mapTypeId='HYBRID', styles={}, types=[])\n",
+ "Map.addLayer(aoi, {\"color\":\"blue\"});\n",
+ "Map"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "ycom7Zl36R4I"
+ },
+ "source": [
+ "The Earth Engine Data Catalog contains the [Copernicus Sentinel Synthetic Aperture Radar collection](https://colab.research.google.com/drive/11Cr9nqizvw4D-SwSKgV2mZ6njFiy1lac#scrollTo=ycom7Zl36R4I&line=1&uniqifier=1). This public dataset is composed of radar images that measure how surfaces scatter light waves back to a satellite's sensor. Standing bodies of water act like mirrors for radio signals, reflecting the satellite's radar light away rather than scattering it back to the imaging sensor. Most natural surfaces don't have this property, which means that one can differentiate standing bodies of water from their surroundings by looking for \"dark\" patches in the images (that is, areas with low backscatter values). Let’s prepare the input data by selecting an area of interest and filtering images with vertical-vertical (\"VV\") polarization, sending vertically polarized light, and measuring the vertically polarized light that's returned."
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "43gLFRiwKjWg"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Data Collections\n",
+ "# Load Sentinel-1 C-band SAR Ground Range collection (log scaling, VV co-polar).\n",
+ "collection = ee.ImageCollection('COPERNICUS/S1_GRD') \\\n",
+ " .filterBounds(aoi) \\\n",
+ " .filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV')) \\\n",
+ " .select('VV')\n",
+ "# Smooth the data to remove noise.\n",
+ "smoothing_radius = 100 # meters\n",
+ "# Filter by date.\n",
+ "before = collection.filterDate('2017-11-01', '2017-11-17') \\\n",
+ " .mosaic() \\\n",
+ " .focal_median(smoothing_radius, 'circle', 'meters') # before floods\n",
+ "after = collection.filterDate('2017-11-18', '2017-11-23') \\\n",
+ " .mosaic() \\\n",
+ " .focal_median(smoothing_radius, 'circle', 'meters') # after floods"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "5hXZvoMYKmbK"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Identify Flooded Areas\n",
+ "# Threshold smoothed radar intensities to identify areas with standing water.\n",
+ "diff_upper_threshold = -3 # dB\n",
+ "diff_smoothed = after.subtract(before);\n",
+ "diff_thresholded = diff_smoothed.lt(diff_upper_threshold)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "4HCLn7O1nUiQ"
+ },
+ "source": [
+ "use the [Global Surface Water dataset](https://developers.google.com/earth-engine/tutorials/tutorial_global_surface_water_01) to remove persistent surface water (like lakes, rivers, etc.) from the result:"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "EzTNlnZtTIEY"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Remove Water Areas(other than floods)\n",
+ "# Remove global surface water (oceans, lakes, etc.).\n",
+ "jrc_data0 = ee.Image(\"JRC/GSW1_0/Metadata\") \\\n",
+ " .select('total_obs') \\\n",
+ " .lte(0)\n",
+ "water_occ = ee.Image(\"JRC/GSW1_0/GlobalSurfaceWater\") \\\n",
+ " .select('occurrence') \\\n",
+ " .unmask(0) \\\n",
+ " .max(jrc_data0) \\\n",
+ " .lt(10)\n",
+ "diff_thresholded = diff_thresholded.updateMask(water_occ)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "vkowcJLHIZTm"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Visualize the Map with Flooded Area\n",
+ "# Display flooded areas on the map.\n",
+ "import geemap\n",
+ "vis_params = {\n",
+ " \"palette\": [\"blue\"],\n",
+ "}\n",
+ "Map = geemap.Map()\n",
+ "Map.setOptions(mapTypeId='HYBRID', styles={}, types=[])\n",
+ "Map.centerObject(aoi, 12);\n",
+ "Map.addLayer(\n",
+ " diff_thresholded.updateMask(diff_thresholded),\n",
+ " vis_params,\n",
+ " 'flooded areas - blue',\n",
+ " True)\n",
+ "Map"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "qCJ1tiPG7SBd"
+ },
+ "source": [
+ "We want the flooded areas in BigQuery, so let’s convert flooded pixel data to vector format."
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "bwooSOpwSWne"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Extract Vectors from the Flooded areas\n",
+ "# Extract vectors from the diff threshold to load to BigQuery.\n",
+ "vectors = diff_thresholded.reduceToVectors(\n",
+ " geometry = aoi,\n",
+ " scale = 10,\n",
+ " geometryType = 'polygon',\n",
+ " eightConnected = False)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "lrajMu4P8MYr"
+ },
+ "source": [
+ "This is where our new BigQuery connector simplifies export to just making one call: Export.table.toBigQuery."
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "cB4s6DxZNqTn"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Export to BigQuery\n",
+ "task_config = {\n",
+ " 'collection': vectors,\n",
+ " 'description':'ee2bq_export_polygons',\n",
+ " 'table': table_path\n",
+ "}\n",
+ "task = ee.batch.Export.table.toBigQuery(**task_config)\n",
+ "task.start()\n",
+ "# The task should run for about a minute. Check task.status() to see the result.\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "J2quoziwTDnN"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Check Export Job Status\n",
+ "# Check the results and make sure the status is COMPLETED before checking the\n",
+ "# results in BigQuery.\n",
+ "task.status()"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "ivAhkbOT8wuQ"
+ },
+ "source": [
+ "Now we have exported data available in BigQuery. Execute the query to check the data"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "38K0qKgKxgBI"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Check BigQuery Results\n",
+ "%%bigquery --project $project_id\n",
+ "SELECT * from ee_export.ee_test\n",
+ "# If you get a \"table not found\" error then check the step above to see if your\n",
+ "# job has completed."
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {
+ "id": "GhGpv47M9N6Y"
+ },
+ "source": [
+ "In our example we are going to use the public “planet_ways” dataset from OpenStreetMap, so we can find roads that are underwater.\n",
+ "\n",
+ "\n",
+ "> Get polygons corresponding to flat areas from the exported table.\n",
+ "\n",
+ "> Filter out administrative areas\n",
+ "\n",
+ "> Join result with road polygons from OpenStreetMap data that intersect with flat areas.\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "030QbjYC9M3L"
+ },
+ "outputs": [],
+ "source": [
+ "# @title BQ Result set to display flooded highways\n",
+ "%%bigquery regions_by_country --project $project_id\n",
+ "SELECT\n",
+ " id, area,version,changeset,osm_timestamp,ST_ASGEOJSON(flood_poly) as flood_poly,\n",
+ " ST_ASGEOJSON(road_geometry) as road_geometry\n",
+ "FROM (\n",
+ " -- query 1 - find all the flooding areas\n",
+ " SELECT\n",
+ " geo AS flood_poly,\n",
+ " ST_AREA(geo) AS area\n",
+ " FROM\n",
+ " ee_export.ee_test\n",
+ " WHERE\n",
+ " ST_AREA(geo) < 500000 ) t1 -- eliminate admin areas in the dataset\n",
+ "JOIN (\n",
+ " SELECT\n",
+ " id,\n",
+ " version,\n",
+ " changeset,\n",
+ " osm_timestamp,\n",
+ " geometry as road_geometry\n",
+ " FROM\n",
+ " `bigquery-public-data.geo_openstreetmap.planet_ways` planet_ways,\n",
+ " planet_ways.all_tags AS all_tags\n",
+ " WHERE\n",
+ " all_tags.key = 'highway' )\n",
+ "ON\n",
+ " ST_INTERSECTS(flood_poly, road_geometry)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "SjzGS6pF_yqL"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Extract the Features from flood_poly\n",
+ "floods = '{\"type\": \"FeatureCollection\", \"features\":['\n",
+ "floods += regions_by_country.flood_poly.str.cat(sep=\", \")\n",
+ "floods += ']}'"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "0yR7ouKBSr1e"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Extract the features from road_geometry\n",
+ "highways = '{\"type\": \"FeatureCollection\", \"features\":['\n",
+ "highways += regions_by_country.road_geometry.str.cat(sep=\", \")\n",
+ "highways += ']}'"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {
+ "id": "9zQH6LjRV8Y2"
+ },
+ "outputs": [],
+ "source": [
+ "# @title Display Flooded Areas and Highways using geemap\n",
+ "import geemap\n",
+ "from ipyleaflet import GeoJSON\n",
+ "import json\n",
+ "\n",
+ "styling = {\"color\": \"red\", \"fillcolor\": \"red\"}\n",
+ "\n",
+ "flooded_areas = GeoJSON(\n",
+ " data=json.loads(floods),\n",
+ " name='Flooded areas'\n",
+ ")\n",
+ "\n",
+ "flooded_highways = GeoJSON(\n",
+ " data=json.loads(highways),\n",
+ " name='Flooded roads',\n",
+ " style=styling\n",
+ ")\n",
+ "Map=geemap.Map()\n",
+ "Map.setOptions(mapTypeId = 'HYBRID', styles = {}, types = [])\n",
+ "Map.centerObject(aoi, 12)\n",
+ "Map.add_layer(flooded_areas)\n",
+ "Map.add_layer(flooded_highways)\n",
+ "Map"
+ ]
+ }
+ ],
+ "metadata": {
+ "colab": {
+ "provenance": []
+ },
+ "kernelspec": {
+ "display_name": "Python 3",
+ "name": "python3"
+ },
+ "language_info": {
+ "name": "python"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
+}
\ No newline at end of file
diff --git a/demos/flooded-roads/Processflow.png b/demos/flooded-roads/Processflow.png
new file mode 100644
index 000000000..00ef82f26
Binary files /dev/null and b/demos/flooded-roads/Processflow.png differ
diff --git a/demos/flooded-roads/README.md b/demos/flooded-roads/README.md
new file mode 100644
index 000000000..575a7550d
--- /dev/null
+++ b/demos/flooded-roads/README.md
@@ -0,0 +1,8 @@
+# Earth Engine to BigQuery Demo
+
+This example shows how to build a simple Python pipeline to export data from
+Earth Engine to BigQuery, working through an example of identify flooded roads
+using Sentinel-1 radar data and OpenStreetMap roads.
+
+## Process Flow
+![Preview](./Processflow.png)
diff --git a/demos/interactive-classifier/config.py b/demos/interactive-classifier/config.py
index e05cbd467..ba5921413 100644
--- a/demos/interactive-classifier/config.py
+++ b/demos/interactive-classifier/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Handles Earth Engine service account configuration."""
import ee
diff --git a/demos/interactive-classifier/server.py b/demos/interactive-classifier/server.py
index edff0845a..fb84a8979 100644
--- a/demos/interactive-classifier/server.py
+++ b/demos/interactive-classifier/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""An example application that allows interactive classification training."""
import json
diff --git a/demos/server-auth-nodejs/app.yaml b/demos/server-auth-nodejs/app.yaml
index 960b26610..b9569c664 100644
--- a/demos/server-auth-nodejs/app.yaml
+++ b/demos/server-auth-nodejs/app.yaml
@@ -15,7 +15,7 @@
runtime: nodejs12
# Disable caching of static content so that index.html is always reloaded to allow this sample to
-# be modified and reloaded more easily. Remove this line before deploying to production to reenable
+# be modified and reloaded more easily. Remove this line before deploying to production to re-enable
# the default cache expiration.
default_expiration: "0m"
diff --git a/demos/server-auth-python/config.py b/demos/server-auth-python/config.py
index c639f05c0..62bd10a8a 100644
--- a/demos/server-auth-python/config.py
+++ b/demos/server-auth-python/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""An example config.py file."""
import ee
diff --git a/demos/server-auth-python/server.py b/demos/server-auth-python/server.py
index 99875eae7..dff96c691 100644
--- a/demos/server-auth-python/server.py
+++ b/demos/server-auth-python/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""A simple example of connecting to Earth Engine using App Engine."""
diff --git a/demos/trendy-lights/config.py b/demos/trendy-lights/config.py
index fa8449571..119a39645 100644
--- a/demos/trendy-lights/config.py
+++ b/demos/trendy-lights/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Required credentials configuration."""
diff --git a/demos/trendy-lights/server.py b/demos/trendy-lights/server.py
index 805187be2..8e392526f 100644
--- a/demos/trendy-lights/server.py
+++ b/demos/trendy-lights/server.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Web server for the Trendy Lights application.
The overall architecture looks like:
diff --git a/demos/wmts/app.py b/demos/wmts/app.py
index 7325c84ec..5d12c5745 100644
--- a/demos/wmts/app.py
+++ b/demos/wmts/app.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Handle the routing for the application."""
import collections
diff --git a/demos/wmts/appengine_config.py b/demos/wmts/appengine_config.py
index eaddaf8e9..b9397805b 100644
--- a/demos/wmts/appengine_config.py
+++ b/demos/wmts/appengine_config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""App Engine config file, used for dependency management for the proxy."""
# appengine_config.py
from google.appengine.ext import vendor
diff --git a/demos/wmts/config.py b/demos/wmts/config.py
index f0bddd69e..807a41c16 100644
--- a/demos/wmts/config.py
+++ b/demos/wmts/config.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""Configuration constants."""
import os
diff --git a/docker/Dockerfile b/docker/Dockerfile
deleted file mode 100644
index ac7b8eb62..000000000
--- a/docker/Dockerfile
+++ /dev/null
@@ -1,35 +0,0 @@
-FROM gcr.io/cloud-datalab/datalab:latest
-MAINTAINER Tyler Erickson
-
-# Install Earth Engine Python API dependencies.
-RUN apt-get update \
- && apt-get install -y build-essential libssl-dev libffi-dev \
- && pip install cryptography \
- && apt-get purge -y build-essential libssl-dev libffi-dev \
- dpkg-dev fakeroot libfakeroot:amd64 \
- && apt-get autoremove -y \
- && apt-get clean \
- && rm -rf /var/lib/apt/lists/*
-
-# Install IPyLeaflet. The notebook library dependency is downgraded to
-# version 4.4.1 but the datalab repo warns about potential version issues:
-# https://github.com/googledatalab/datalab/blob/master/containers/base/Dockerfile#L139
-RUN pip install ipyleaflet \
- && jupyter nbextension enable --py --sys-prefix ipyleaflet \
- && pip install notebook==4.4.1
-
-# Install the Earth Engine Python API.
-RUN pip install earthengine-api
-
-# Install custom files in the container's /datalab directory.
-RUN cp /datalab/run.sh /datalab/base-run.sh
-ADD run.sh /datalab/
-RUN chmod a+x /datalab/run.sh
-
-# Add license information for the new libraries added.
-ADD datalab-ee.txt /datalab/
-RUN cat /datalab/datalab-ee.txt >> /datalab/web/static/datalab.txt \
- && rm /datalab/datalab-ee.txt
-ADD license-ee.txt /datalab/
-RUN cat /datalab/license-ee.txt >> /datalab/license.txt \
- && rm /datalab/license-ee.txt
diff --git a/docker/datalab-ee.txt b/docker/datalab-ee.txt
deleted file mode 100644
index 6f0d9d710..000000000
--- a/docker/datalab-ee.txt
+++ /dev/null
@@ -1,71 +0,0 @@
-
-## IPyLeaflet Library and Dependencies
-
-- ajv (MIT) [https://github.com/epoberezkin/ajv]
-- ansi_up (MIT) [https://github.com/drudru/ansi_up]
-- backbone (MIT) [https://github.com/jashkenas/backbone]
-- base64-js (MIT) [https://github.com/beatgammit/base64-js]
-- buffer-shims (MIT) [https://github.com/calvinmetcalf/buffer-shims]
-- co (MIT) [https://github.com/tj/co]
-- codemirror (MIT) [https://github.com/codemirror/CodeMirror]
-- core-util-is (MIT) [https://github.com/isaacs/core-util-is]
-- d3-format (BSD-3-Clause) [https://github.com/d3/d3-format]
-- dom-serializer (MIT) [https://github.com/cheeriojs/dom-renderer]
-- domelementtype (BSD-2-Clause) [https://github.com/FB55/domelementtype]
-- domhandler (BSD-2-Clause) [https://github.com/fb55/DomHandler]
-- domutils (BSD-2-Clause) [https://github.com/FB55/domutils]
-- entities (BSD-like) [https://github.com/fb55/node-entities]
-- font-awesome ((OFL-1.1 AND MIT)) [https://github.com/FortAwesome/Font-Awesome]
-- htmlparser2 (MIT) [https://github.com/fb55/htmlparser2]
-- inherits (ISC) [https://github.com/isaacs/inherits]
-- ipyleaflet (MIT) [https://pypi.python.org/pypi/ipyleaflet]
-- isarray (MIT) [https://github.com/juliangruber/isarray]
-- jquery-ui (MIT) [https://github.com/jquery/jquery-ui]
-- jquery (MIT) [https://github.com/jquery/jquery]
-- json-stable-stringify (MIT) [https://github.com/substack/json-stable-stringify]
-- jsonify (Public Domain) [https://github.com/substack/jsonify]
-- jupyter-js-widgets (BSD-3-Clause) [https://github.com/ipython/ipywidgets]
-- jupyter-js-widgets-alpha.0 (BSD-3-Clause) [https://github.com/jupyter-widgets/ipywidgets]
-- jupyter-leaflet (MIT) [https://github.com/ellisonbg/ipyleaflet]
-- jupyter-widgets-schema (BSD-3-Clause) [https://github.com/ipython/ipywidgets]
-- jupyter-widgets-schema-beta.2 (BSD-3-Clause) [https://github.com/jupyter-widgets/ipywidgets]
-- jupyterlab (BSD-3-Clause) [https://github.com/jupyterlab/jupyterlab]
-- leaflet-draw (MIT) [https://github.com/Leaflet/Leaflet.draw]
-- leaflet (BSD-2-Clause) [https://github.com/Leaflet/Leaflet]
-- lolex (BSD-3-Clause) [https://github.com/sinonjs/lolex]
-- marked (MIT) [https://github.com/chjj/marked]
-- minimist (MIT) [https://github.com/substack/minimist]
-- moment (MIT) [https://github.com/moment/moment]
-- path-posix (ISC) [https://github.com/jden/node-path-posix]
-- phosphor (BSD-3-Clause) [https://github.com/phosphorjs/phosphor]
-- process-nextick-args (MIT) [https://github.com/calvinmetcalf/process-nextick-args]
-- punycode (MIT) [https://github.com/bestiejs/punycode.js]
-- querystring (MIT) [https://github.com/Gozala/querystring]
-- querystringify (MIT) [https://github.com/unshiftio/querystringify]
-- readable-stream (MIT) [https://github.com/nodejs/readable-stream]
-- regexp-quote (MIT) [https://github.com/dbrock/node-regexp-quote]
-- requires-port (MIT) [https://github.com/unshiftio/requires-port]
-- safe-buffer (MIT) [https://github.com/feross/safe-buffer]
-- sanitize-html (MIT) [https://github.com/punkave/sanitize-html]
-- scriptjs (MIT) [https://github.com/ded/script.js]
-- semver (ISC) [https://github.com/npm/node-semver]
-- string_decoder (MIT) [https://github.com/rvagg/string_decoder]
-- types (MIT) [https://wwwhub.com/DefinitelyTyped/DefinitelyTyped]
-- underscore (MIT) [https://github.com/jashkenas/underscore]
-- url-join (MIT) [https://github.com/jfromaniello/url-join]
-- url-parse (MIT) [https://github.com/unshiftio/url-parse]
-- url (MIT) [https://github.com/defunctzombie/node-url]
-- util-deprecate (MIT) [https://github.com/TooTallNate/util-deprecate]
-- xtend (MIT) [https://github.com/Raynos/xtend]
-
-## Earth Engine API Library and Dependencies
-- asn1crypto (MIT) [https://pypi.python.org/pypi/asn1crypto]
-- cffi (MIT) [https://pypi.python.org/pypi/cffi]
-- cryptography (BSD or Apache License, Version 2.0) [https://pypi.python.org/pypi/cryptography]
-- earthengine-api (Apache License, Version 2.0) [https://pypi.python.org/pypi/earthengine-api]
-- idna (BSD-like) [https://pypi.python.org/pypi/idna]
-- ipaddress (PSF) [https://pypi.python.org/pypi/ipaddress]
-- pbr (Apache License, Version 2.0) [https://pypi.python.org/pypi/pbr]
-- pycparser (BSD) [https://pypi.python.org/pypi/pycparser]
-- pyOpenSSL (Apache License, Version 2.0) [https://pypi.python.org/pypi/pyOpenSSL]
-- setuptools (MIT) [https://pypi.python.org/pypi/setuptools]
diff --git a/docker/license-ee.txt b/docker/license-ee.txt
deleted file mode 100644
index e8f728a37..000000000
--- a/docker/license-ee.txt
+++ /dev/null
@@ -1,2392 +0,0 @@
-"""""
-ajv
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2015 Evgeny Poberezkin
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-ansi_up
-"""""
-(The MIT License)
-
-Copyright (c) 2011 Dru Nelson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-asn1crypto
-"""""
-Copyright (c) 2015-2017 Will Bond
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-backbone
-"""""
-Copyright (c) 2010-2017 Jeremy Ashkenas, DocumentCloud
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-"""""
-base64-js
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2014
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-"""""
-buffer-shims
-"""""
-# Copyright (c) 2016 Calvin Metcalf
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.**
-"""""
-cffi
-"""""
-Except when otherwise stated (look for LICENSE files in directories or
-information at the beginning of each file) all software and
-documentation is licensed as follows:
-
- The MIT License
-
- Permission is hereby granted, free of charge, to any person
- obtaining a copy of this software and associated documentation
- files (the "Software"), to deal in the Software without
- restriction, including without limitation the rights to use,
- copy, modify, merge, publish, distribute, sublicense, and/or
- sell copies of the Software, and to permit persons to whom the
- Software is furnished to do so, subject to the following conditions:
-
- The above copyright notice and this permission notice shall be included
- in all copies or substantial portions of the Software.
-
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- DEALINGS IN THE SOFTWARE.
-"""""
-co
-"""""
-(The MIT License)
-
-Copyright (c) 2014 TJ Holowaychuk <tj@vision-media.ca>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-codemirror
-"""""
-MIT License
-
-Copyright (C) 2017 by Marijn Haverbeke and others
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-"""""
-core-util-is
-"""""
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""""
-cryptography
-"""""
-This software is made available under the terms of *either* of the licenses
-found in LICENSE.APACHE or LICENSE.BSD. Contributions to cryptography are made
-under the terms of *both* these licenses.
-
-The code used in the OpenSSL locking callback and OS random engine is derived
-from the same in CPython itself, and is licensed under the terms of the PSF
-License Agreement.
-
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
-
-Copyright (c) Individual contributors.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
- 3. Neither the name of PyCA Cryptography nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and
- the Individual or Organization ("Licensee") accessing and otherwise using Python
- 2.7.12 software in source or binary form and its associated documentation.
-
-2. Subject to the terms and conditions of this License Agreement, PSF hereby
- grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
- analyze, test, perform and/or display publicly, prepare derivative works,
- distribute, and otherwise use Python 2.7.12 alone or in any derivative
- version, provided, however, that PSF's License Agreement and PSF's notice of
- copyright, i.e., "Copyright © 2001-2016 Python Software Foundation; All Rights
- Reserved" are retained in Python 2.7.12 alone or in any derivative version
- prepared by Licensee.
-
-3. In the event Licensee prepares a derivative work that is based on or
- incorporates Python 2.7.12 or any part thereof, and wants to make the
- derivative work available to others as provided herein, then Licensee hereby
- agrees to include in any such work a brief summary of the changes made to Python
- 2.7.12.
-
-4. PSF is making Python 2.7.12 available to Licensee on an "AS IS" basis.
- PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF
- EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR
- WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
- USE OF PYTHON 2.7.12 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS.
-
-5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2.7.12
- FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF
- MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.7.12, OR ANY DERIVATIVE
- THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
-
-6. This License Agreement will automatically terminate upon a material breach of
- its terms and conditions.
-
-7. Nothing in this License Agreement shall be deemed to create any relationship
- of agency, partnership, or joint venture between PSF and Licensee. This License
- Agreement does not grant permission to use PSF trademarks or trade name in a
- trademark sense to endorse or promote products or services of Licensee, or any
- third party.
-
-8. By copying, installing or otherwise using Python 2.7.12, Licensee agrees
- to be bound by the terms and conditions of this License Agreement.
-"""""
-d3-format
-"""""
-Copyright 2010-2015 Mike Bostock
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of the author nor the names of contributors may be used to
- endorse or promote products derived from this software without specific prior
- written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
-ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-dom-serializer
-"""""
-License
-
-(The MIT License)
-
-Copyright (c) 2014 The cheeriojs contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-domelementtype
-"""""
-Copyright (c) Felix Böhm
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-domhandler
-"""""
-Copyright (c) Felix Böhm
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-domutils
-"""""
-Copyright (c) Felix Böhm
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-earthengine-api
-"""""
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
-"""""
-entities
-"""""
-Copyright (c) Felix Böhm
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-font-awesome
-"""""
-- The Font Awesome font is licensed under the SIL OFL 1.1:
- - http://scripts.sil.org/OFL
-- Font Awesome CSS, LESS, and Sass files are licensed under the MIT License:
- - https://opensource.org/licenses/mit-license.html
-- The Font Awesome documentation is licensed under the CC BY 3.0 License:
- - http://creativecommons.org/licenses/by/3.0/
-- Attribution is no longer required as of Font Awesome 3.0, but much appreciated:
- - `Font Awesome by Dave Gandy - http://fontawesome.io`
-- Full details: http://fontawesome.io/license/
-"""""
-htmlparser2
-"""""
-Copyright 2010, 2011, Chris Winberry . All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""""
-idna
-"""""
-License
--------
-
-Copyright (c) 2013-2017, Kim Davies. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-#. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-#. Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided with
- the distribution.
-
-#. Neither the name of the copyright holder nor the names of the
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-#. THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTORS "AS IS" AND ANY
- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
- USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
- DAMAGE.
-
-Portions of the codec implementation and unit tests are derived from the
-Python standard library, which carries the `Python Software Foundation
-License `_:
-
- Copyright (c) 2001-2014 Python Software Foundation; All Rights Reserved
-
-Portions of the unit tests are derived from the Unicode standard, which
-is subject to the Unicode, Inc. License Agreement:
-
- Copyright (c) 1991-2014 Unicode, Inc. All rights reserved.
- Distributed under the Terms of Use in
- .
-
- Permission is hereby granted, free of charge, to any person obtaining
- a copy of the Unicode data files and any associated documentation
- (the "Data Files") or Unicode software and any associated documentation
- (the "Software") to deal in the Data Files or Software
- without restriction, including without limitation the rights to use,
- copy, modify, merge, publish, distribute, and/or sell copies of
- the Data Files or Software, and to permit persons to whom the Data Files
- or Software are furnished to do so, provided that
-
- (a) this copyright and permission notice appear with all copies
- of the Data Files or Software,
-
- (b) this copyright and permission notice appear in associated
- documentation, and
-
- (c) there is clear notice in each modified Data File or in the Software
- as well as in the documentation associated with the Data File(s) or
- Software that the data or software has been modified.
-
- THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
- ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
- NONINFRINGEMENT OF THIRD PARTY RIGHTS.
- IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
- NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
- DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THE DATA FILES OR SOFTWARE.
-
- Except as contained in this notice, the name of a copyright holder
- shall not be used in advertising or otherwise to promote the sale,
- use or other dealings in these Data Files or Software without prior
- written authorization of the copyright holder.
-"""""
-inherits
-"""""
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
-FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-"""""
-ipaddress
-"""""
-This package is a modified version of cpython's ipaddress module.
-It is therefore distributed under the PSF license, as follows:
-
-PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
---------------------------------------------
-
-1. This LICENSE AGREEMENT is between the Python Software Foundation
-("PSF"), and the Individual or Organization ("Licensee") accessing and
-otherwise using this software ("Python") in source or binary form and
-its associated documentation.
-
-2. Subject to the terms and conditions of this License Agreement, PSF hereby
-grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
-analyze, test, perform and/or display publicly, prepare derivative works,
-distribute, and otherwise use Python alone or in any derivative version,
-provided, however, that PSF's License Agreement and PSF's notice of copyright,
-i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
-2011, 2012, 2013, 2014 Python Software Foundation; All Rights Reserved" are
-retained in Python alone or in any derivative version prepared by Licensee.
-
-3. In the event Licensee prepares a derivative work that is based on
-or incorporates Python or any part thereof, and wants to make
-the derivative work available to others as provided herein, then
-Licensee hereby agrees to include in any such work a brief summary of
-the changes made to Python.
-
-4. PSF is making Python available to Licensee on an "AS IS"
-basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
-IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
-DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
-FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
-INFRINGE ANY THIRD PARTY RIGHTS.
-
-5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
-FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
-A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
-OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
-
-6. This License Agreement will automatically terminate upon a material
-breach of its terms and conditions.
-
-7. Nothing in this License Agreement shall be deemed to create any
-relationship of agency, partnership, or joint venture between PSF and
-Licensee. This License Agreement does not grant permission to use PSF
-trademarks or trade name in a trademark sense to endorse or promote
-products or services of Licensee, or any third party.
-
-8. By copying, installing or otherwise using Python, Licensee
-agrees to be bound by the terms and conditions of this License
-Agreement.
-"""""
-ipyleaflet
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2014 Brian E. Granger
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-ipywidgets
-"""""
-Copyright (c) 2015-2016, Project Jupyter Contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-isarray
-"""""
-(MIT)
-
-Copyright (c) 2013 Julian Gruber <julian@juliangruber.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-jquery
-"""""
-Copyright JS Foundation and other contributors, https://js.foundation/
-
-This software consists of voluntary contributions made by many
-individuals. For exact contribution history, see the revision history
-available at https://github.com/jquery/jquery
-
-The following license applies to all parts of this software except as
-documented below:
-
-====
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-====
-
-All files located in the node_modules and external directories are
-externally maintained libraries used by this software which have their
-own licenses; we recommend you read them, as their terms may differ from
-the terms above.
-"""""
-jquery-ui
-"""""
-Copyright jQuery Foundation and other contributors, https://jquery.org/
-
-This software consists of voluntary contributions made by many
-individuals. For exact contribution history, see the revision history
-available at https://github.com/jquery/jquery-ui
-
-The following license applies to all parts of this software except as
-documented below:
-
-====
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-====
-
-Copyright and related rights for sample code are waived via CC0. Sample
-code is defined as all source code contained within the demos directory.
-
-CC0: http://creativecommons.org/publicdomain/zero/1.0/
-
-====
-
-All files located in the node_modules and external directories are
-externally maintained libraries used by this software which have their
-own licenses; we recommend you read them, as their terms may differ from
-the terms above.
-"""""
-json-stable-stringify
-"""""
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-jsonify
-"""""
-public domain
-"""""
-jupyter-js-widgets
-"""""
-Copyright (c) 2015-2016, Project Jupyter Contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-jupyter-leaflet
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2014 Brian E. Granger
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-jupyter-widgets-schema
-"""""
-Copyright (c) 2015-2016, Project Jupyter Contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-jupyterlab
-"""""
-Copyright (c) 2015-2016, Project Jupyter Contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-leaflet
-"""""
-Copyright (c) 2010-2016, Vladimir Agafonkin
-Copyright (c) 2010-2011, CloudMade
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are
-permitted provided that the following conditions are met:
-
- 1. Redistributions of source code must retain the above copyright notice, this list of
- conditions and the following disclaimer.
-
- 2. Redistributions in binary form must reproduce the above copyright notice, this list
- of conditions and the following disclaimer in the documentation and/or other materials
- provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
-COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-leaflet-draw
-"""""
-Copyright 2012-2017 Jacob Toye and Leaflet
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-lolex
-"""""
-Copyright (c) 2010-2014, Christian Johansen, christian@cjohansen.no. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-marked
-"""""
-Copyright (c) 2011-2014, Christopher Jeffrey (https://github.com/chjj/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-"""""
-minimist
-"""""
-This software is released under the MIT license:
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-moment
-"""""
-Copyright (c) JS Foundation and other contributors
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-"""""
-path-posix
-"""""
-Node's license follows:
-
-====
-
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-
-====
-"""""
-pbr
-"""""
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-"""""
-phosphor
-"""""
-Copyright (c) 2014-2017, PhosphorJS Contributors
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-* Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-process-nextick-args
-"""""
-# Copyright (c) 2015 Calvin Metcalf
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.**
-"""""
-punycode
-"""""
-Copyright Mathias Bynens
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-pycparser
-"""""
-pycparser -- A C parser in Python
-
-Copyright (c) 2008-2017, Eli Bendersky
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without modification,
-are permitted provided that the following conditions are met:
-
-* Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-* Neither the name of Eli Bendersky nor the names of its contributors may
- be used to endorse or promote products derived from this software without
- specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
-GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
-OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"""""
-pyOpenSSL
-"""""
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
-"""""
-querystring
-"""""
-Copyright 2012 Irakli Gozalishvili. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""""
-querystringify
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-readable-stream
-"""""
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-"""""
-regexp-quote
-"""""
-Copyright (c) 2012-2014 Daniel Brockman
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the 'Software'), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-requires-port
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-safe-buffer
-"""""
-The MIT License (MIT)
-
-Copyright (c) Feross Aboukhadijeh
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-"""""
-sanitize-html
-"""""
-Copyright (c) 2013, 2014, 2015 P'unk Avenue LLC
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-scriptjs
-"""""
-/*!
- * $script.js JS loader & dependency manager
- * https://github.com/ded/script.js
- * (c) Dustin Diaz 2014 | License MIT
- */
-"""""
-semver
-"""""
-The ISC License
-
-Copyright (c) Isaac Z. Schlueter and Contributors
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-"""""
-setuptools
-"""""
-Copyright (C) 2016 Jason R Coombs
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-string_decoder
-"""""
-Node.js is licensed for use as follows:
-
-"""
-Copyright Node.js contributors. All rights reserved.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-
-This license applies to parts of Node.js originating from the
-https://github.com/joyent/node repository:
-
-"""
-Copyright Joyent, Inc. and other Node contributors. All rights reserved.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to
-deal in the Software without restriction, including without limitation the
-rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-sell copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-IN THE SOFTWARE.
-"""
-"""""
-types
-"""""
-This project is licensed under the MIT license.
-Copyrights are respective of each contributor listed at the beginning of each definition file.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-"""""
-underscore
-"""""
-Copyright (c) 2009-2017 Jeremy Ashkenas, DocumentCloud and Investigative
-Reporters & Editors
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-"""""
-url
-"""""
-The MIT License (MIT)
-
-Copyright Joyent, Inc. and other Node contributors.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-url-join
-"""""
-MIT License
-
-Copyright (c) 2015 José F. Romaniello
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-url-parse
-"""""
-The MIT License (MIT)
-
-Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-"""""
-util-deprecate
-"""""
-(The MIT License)
-
-Copyright (c) 2014 Nathan Rajlich
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-"""""
-xtend
-"""""
-Copyright (c) 2012-2014 Raynos.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/docker/run.sh b/docker/run.sh
deleted file mode 100644
index 615cc035f..000000000
--- a/docker/run.sh
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/bash
-# Copyright 2017 Google Inc.
-#
-# 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.
-
-TMPDIR=temp-repo
-
-mkdir -p /content/datalab
-cd /content/datalab
-
-if [[ ! -d "docs-earthengine" ]]; then
- echo "Adding Earth Engine docs to the Datalab container..."
- # Clone the repository into a temporary directory.
- git clone https://github.com/google/earthengine-api $TMPDIR
- # Copy the IPython Notebook examples.
- cp -R $TMPDIR/python/examples/ipynb/ docs-earthengine/
- # Delete the temporary directory.
- rm -fr $TMPDIR
-fi
-
-source /datalab/base-run.sh
diff --git a/javascript/build/ee_api_js.js b/javascript/build/ee_api_js.js
index 5283a057c..09a87cd80 100644
--- a/javascript/build/ee_api_js.js
+++ b/javascript/build/ee_api_js.js
@@ -1,713 +1,709 @@
-(function(){/*
-
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
-*/
-var h,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e});
+da("Symbol",function(a){if(a)return a;var b=function(g,f){this.Xi=g;ba(this,"description",{configurable:!0,writable:!0,value:f})};b.prototype.toString=function(){return this.Xi};var c="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",d=0,e=function(g){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(g||"")+"_"+d++,g)};return e});
da("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;cb||1342177279>>=1)c+=c;return d}});
-var ra=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=qa(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}});
-da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));cb||1342177279>>=1)c+=c;return d}});
+var sa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c=e}});da("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ra(this,b,"startsWith");b+="";var e=d.length,g=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var f=0;f=g}});
+da("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ha(b,d)&&c.push([d,b[d]]);return c}});da("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});da("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c>>0),xa=0,za=function(a,b,c){return a.call.apply(a.bind,
-arguments)},Aa=function(a,b,c){if(!a)throw Error();if(2c&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||
-1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},Sa=Array.prototype.forEach?function(a,b){y(null!=a.length);Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}
-function db(a){var b=[];if(0>a-0)return[];for(var c=0;c>>0),Sb=function(a){y(a,"Listener can not be null.");if("function"===typeof a)return a;y(a.handleEvent,"An object listener must have handleEvent method.");a[$b]||(a[$b]=function(b){return a.handleEvent(b)});
-return a[$b]};var z=function(){Ea.call(this);this.Ka=new Kb(this);this.Mk=this;this.Qf=null};x(z,Ea);z.prototype[pb]=!0;h=z.prototype;h.addEventListener=function(a,b,c,d){Rb(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){Yb(this,a,b,c,d)};
-h.dispatchEvent=function(a){ac(this);var b=this.Qf;if(b){var c=[];for(var d=1;b;b=b.Qf)c.push(b),y(1E3>++d,"infinite loop")}b=this.Mk;d=a.type||a;if("string"===typeof a)a=new Fa(a,b);else if(a instanceof Fa)a.target=a.target||b;else{var e=a;a=new Fa(d,b);Ib(a,e)}e=!0;if(c)for(var f=c.length-1;!a.ed&&0<=f;f--){var g=a.currentTarget=c[f];e=bc(g,d,!0,a)&&e}a.ed||(g=a.currentTarget=b,e=bc(g,d,!0,a)&&e,a.ed||(e=bc(g,d,!1,a)&&e));if(c)for(f=0;!a.ed&&f=a.length)return hc;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");},jc=function(a,b){if(ua(a))Sa(a,b);else for(a=ic(a);;){var c=a.next();if(c.done)break;b.call(void 0,c.value,void 0,a)}};var nc=function(a){if(a instanceof kc||a instanceof lc||a instanceof mc)return a;if("function"==typeof a.next)return new kc(function(){return a});if("function"==typeof a[Symbol.iterator])return new kc(function(){return a[Symbol.iterator]()});if("function"==typeof a.Fa)return new kc(function(){return a.Fa()});throw Error("Not an iterator or iterable.");},kc=function(a){this.pf=a};kc.prototype.Fa=function(){return new lc(this.pf())};kc.prototype[Symbol.iterator]=function(){return new mc(this.pf())};
-kc.prototype.wg=function(){return new mc(this.pf())};var lc=function(a){this.Vc=a};p(lc,gc);lc.prototype.next=function(){return this.Vc.next()};lc.prototype[Symbol.iterator]=function(){return new mc(this.Vc)};lc.prototype.wg=function(){return new mc(this.Vc)};var mc=function(a){kc.call(this,function(){return a});this.Vc=a};p(mc,kc);mc.prototype.next=function(){return this.Vc.next()};var oc=function(a,b){this.A={};this.K=[];this.od=this.size=0;var c=arguments.length;if(12*this.size&&pc(this),!0):!1};var pc=function(a){if(a.size!=a.K.length){for(var b=0,c=0;b=d.K.length)return hc;var f=d.K[b++];return{value:a?f:d.A[f],done:!1}};return e};h.ob=function(a){this.size=a};var qc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var sc=function(a){if(a.R&&"function"==typeof a.R)a=a.R();else if(ua(a)||"string"===typeof a)a=a.length;else{var b=0,c;for(c in a)b++;a=b}return a},tc=function(a){if(a.aa&&"function"==typeof a.aa)return a.aa();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(ua(a)){for(var b=[],c=a.length,d=0;dc)return!1;!(b instanceof xc)&&5e&&(e+=d);return[a.kl,c,e,b.y].join("/")};Cc.prototype.Qc=function(){return this.Cb.length};var Ec=function(a){Fa.call(this,"tileevent");this.count=a};x(Ec,Fa);var Fc=function(){},Gc=new Fc;function Hc(a){return Object.assign({},{M:{},Ll:{},keys:[],Oa:{},o:{},H:{},sh:!1},a)}var A=function(){this.h={}},C=function(a,b){return a.h.hasOwnProperty(b)?a.h[b]:null},E=function(a,b){return null!=a.h[b]};function Ic(a,b){return C(b,a)}function Jc(a,b,c){b[a]=c}function Kc(){return{}}function Lc(a,b){var c=new a;return null==b?c:Mc(b,Nc,Oc,Pc,a)}function Nc(a,b){return b[a]}function Oc(a,b,c){b.h[a]=c}
-function Pc(a){if(null==a)throw Error("Cannot deserialize, target constructor was null.");return new a}
-function Mc(a,b,c,d,e){e=d(e);for(var f=Qc(a,e),g=f.M||{},l=f.o||{},m=f.Oa||{},q={},v=n(f.keys||[]),B=v.next();!B.done;q={Fc:q.Fc},B=v.next()){B=B.value;var D=b(B,a);if(null!=D){var R=void 0;if(g.hasOwnProperty(B)){if(f.sh&&0===D.length)continue;R=Rc(D,b,c,d,!0,!0,g[B])}else if(l.hasOwnProperty(B))R=Rc(D,b,c,d,!1,!0,l[B]);else if(m.hasOwnProperty(B))q.Fc=m[B],R=q.Fc.ra?D.map(function(Z){return function(U){return Sc(U,Z.Fc,b,c,d)}}(q)):Sc(D,q.Fc,b,c,d);else if(Array.isArray(D)){if(f.sh&&0===D.length)continue;
-R=Rc(D,b,c,d,!0,!1)}else R=D instanceof Fc?null:D;c(B,e,R)}}return e}function Sc(a,b,c,d,e){for(var f={},g=n(Object.keys(a)),l=g.next();!l.done;l=g.next()){l=l.value;var m=a[l];null!=m&&(f[l]=Rc(m,c,d,e,b.ta,b.sa,b.la))}return f}
-function Rc(a,b,c,d,e,f,g){if(f&&null==g)throw Error("Cannot deserialize a reference object without a constructor.");return null==a?a:e&&f?a.map(function(l){return Mc(l,b,c,d,g)}):e&&!f?a.map(function(l){return l}):!e&&f?Mc(a,b,c,d,g):a instanceof Fc?null:"object"===typeof a?JSON.parse(JSON.stringify(a)):a}function Qc(a,b){if(b instanceof A)a=Hc(b.i());else if(a instanceof A)a=Hc(a.i());else throw Error("Cannot find ClassMetadata.");return a};var Tc;var Wc=function(a,b){this.ng=a===Uc&&b||"";this.zk=Vc};Wc.prototype.zf=!0;Wc.prototype.tf=function(){return this.ng};Wc.prototype.toString=function(){return"Const{"+this.ng+"}"};var Xc=function(a){if(a instanceof Wc&&a.constructor===Wc&&a.zk===Vc)return a.ng;La("expected object of type Const, got '"+a+"'");return"type_error:Const"},Vc={},Uc={};var Zc=function(a,b){this.Sf=b===Yc?a:""};Zc.prototype.toString=function(){return this.Sf+""};Zc.prototype.zf=!0;Zc.prototype.tf=function(){return this.Sf.toString()};
-var $c=function(a){if(a instanceof Zc&&a.constructor===Zc)return a.Sf;La("expected object of type TrustedResourceUrl, got '"+a+"' of type "+ta(a));return"type_error:TrustedResourceUrl"},ed=function(a){var b=Xc(ad);if(!bd.test(b))throw Error("Invalid TrustedResourceUrl format: "+b);var c=b.replace(cd,function(d,e){if(!Object.prototype.hasOwnProperty.call(a,e))throw Error('Found marker, "'+e+'", in format string, "'+b+'", but no valid label mapping found in args: '+JSON.stringify(a));d=a[e];return d instanceof
-Wc?Xc(d):encodeURIComponent(String(d))});return dd(c)},cd=/%{(\w+)}/g,bd=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i"),Yc={},dd=function(a){if(void 0===Tc){var b=null;var c=r.trustedTypes;if(c&&c.createPolicy)try{b=c.createPolicy("goog#html",{createHTML:Ca,createScript:Ca,createScriptURL:Ca})}catch(d){r.console&&r.console.error(d.message)}Tc=b}a=(b=Tc)?b.createScriptURL(a):a;return new Zc(a,Yc)};var gd=function(a,b){this.Rf=b===fd?a:""};gd.prototype.toString=function(){return this.Rf.toString()};gd.prototype.zf=!0;gd.prototype.tf=function(){return this.Rf.toString()};
-var hd=function(a){if(a instanceof gd&&a.constructor===gd)return a.Rf;La("expected object of type SafeUrl, got '"+a+"' of type "+ta(a));return"type_error:SafeUrl"},id=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),jd=function(a){if(id.test(a.type)){var b=void 0!==r.URL&&void 0!==r.URL.createObjectURL?
-r.URL:void 0!==r.createObjectURL?r:null;if(null==b)throw Error("This browser doesn't seem to support blob URLs");a=b.createObjectURL(a)}else a="about:invalid#zClosurez";return new gd(a,fd)},fd={};var ld=function(a,b){if(!t(a)||!t(a)||!t(a)||1!==a.nodeType||a.namespaceURI&&"http://www.w3.org/1999/xhtml"!==a.namespaceURI||a.tagName.toUpperCase()!=="SCRIPT".toString()){var c="SCRIPT".toString()+"; got: ";if(t(a))try{var d=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(e){d="/g;
-goog.string.internal.QUOT_RE_ = /"/g;
-goog.string.internal.SINGLE_QUOTE_RE_ = /'/g;
-goog.string.internal.NULL_RE_ = /\x00/g;
-goog.string.internal.ALL_RE_ = /[\x00&<>"']/;
-goog.string.internal.whitespaceEscape = function(str, opt_xml) {
- return goog.string.internal.newLineToBr(str.replace(/ /g, " "), opt_xml);
-};
-goog.string.internal.contains = function(str, subString) {
- return -1 != str.indexOf(subString);
-};
-goog.string.internal.caseInsensitiveContains = function(str, subString) {
- return goog.string.internal.contains(str.toLowerCase(), subString.toLowerCase());
};
-goog.string.internal.compareVersions = function(version1, version2) {
- for (var order = 0, v1Subs = goog.string.internal.trim(String(version1)).split("."), v2Subs = goog.string.internal.trim(String(version2)).split("."), subCount = Math.max(v1Subs.length, v2Subs.length), subIdx = 0; 0 == order && subIdx < subCount; subIdx++) {
- var v1Sub = v1Subs[subIdx] || "", v2Sub = v2Subs[subIdx] || "";
- do {
- var v1Comp = /(\d*)(\D*)(.*)/.exec(v1Sub) || ["", "", "", ""], v2Comp = /(\d*)(\D*)(.*)/.exec(v2Sub) || ["", "", "", ""];
- if (0 == v1Comp[0].length && 0 == v2Comp[0].length) {
- break;
- }
- order = goog.string.internal.compareElements_(0 == v1Comp[1].length ? 0 : parseInt(v1Comp[1], 10), 0 == v2Comp[1].length ? 0 : parseInt(v2Comp[1], 10)) || goog.string.internal.compareElements_(0 == v1Comp[2].length, 0 == v2Comp[2].length) || goog.string.internal.compareElements_(v1Comp[2], v2Comp[2]);
- v1Sub = v1Comp[3];
- v2Sub = v2Comp[3];
- } while (0 == order);
+module$exports$tslib.__extends = function(d, b) {
+ function __() {
+ this.constructor = d;
}
- return order;
-};
-goog.string.internal.compareElements_ = function(left, right) {
- return left < right ? -1 : left > right ? 1 : 0;
+ module$contents$tslib_extendStatics(d, b);
+ d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
};
-goog.labs.userAgent.util = {};
-function module$contents$goog$labs$userAgent$util_getNativeUserAgentString() {
- var navigator = module$contents$goog$labs$userAgent$util_getNavigator();
- if (navigator) {
- var userAgent = navigator.userAgent;
- if (userAgent) {
- return userAgent;
+module$exports$tslib.__assign = Object.assign || function(t) {
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
+ s = arguments[i];
+ for (var p in s) {
+ Object.prototype.hasOwnProperty.call(s, p) && (t[p] = s[p]);
}
}
- return "";
-}
-function module$contents$goog$labs$userAgent$util_getNativeUserAgentData() {
- var navigator = module$contents$goog$labs$userAgent$util_getNavigator();
- return navigator ? navigator.userAgentData || null : null;
-}
-function module$contents$goog$labs$userAgent$util_getNavigator() {
- return goog.global.navigator;
-}
-var module$contents$goog$labs$userAgent$util_userAgentInternal = null, module$contents$goog$labs$userAgent$util_userAgentDataInternal = module$contents$goog$labs$userAgent$util_getNativeUserAgentData();
-function module$contents$goog$labs$userAgent$util_getUserAgent() {
- return null == module$contents$goog$labs$userAgent$util_userAgentInternal ? module$contents$goog$labs$userAgent$util_getNativeUserAgentString() : module$contents$goog$labs$userAgent$util_userAgentInternal;
-}
-function module$contents$goog$labs$userAgent$util_getUserAgentData() {
- return module$contents$goog$labs$userAgent$util_userAgentDataInternal;
-}
-function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(str) {
- if (!(0,goog.labs.userAgent.useClientHints)()) {
- return !1;
+ return t;
+};
+module$exports$tslib.__rest = function(s, e) {
+ var t = {}, p;
+ for (p in s) {
+ Object.prototype.hasOwnProperty.call(s, p) && 0 > e.indexOf(p) && (t[p] = s[p]);
}
- var data = module$contents$goog$labs$userAgent$util_getUserAgentData();
- return data ? data.brands.some(function($jscomp$destructuring$var0) {
- var brand = $jscomp$destructuring$var0.brand;
- return brand && (0,goog.string.internal.contains)(brand, str);
- }) : !1;
-}
-function module$contents$goog$labs$userAgent$util_matchUserAgent(str) {
- return (0,goog.string.internal.contains)(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
-}
-function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(str) {
- return (0,goog.string.internal.caseInsensitiveContains)(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
-}
-function module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgent) {
- for (var versionRegExp = RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?", "g"), data = [], match; match = versionRegExp.exec(userAgent);) {
- data.push([match[1], match[2], match[3] || void 0]);
+ if (null != s && "function" === typeof Object.getOwnPropertySymbols) {
+ var i = 0;
+ for (p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
+ 0 > e.indexOf(p[i]) && Object.prototype.propertyIsEnumerable.call(s, p[i]) && (t[p[i]] = s[p[i]]);
+ }
}
- return data;
-}
-goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT = !1;
-goog.labs.userAgent.util.extractVersionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples;
-goog.labs.userAgent.util.getNativeUserAgentString = module$contents$goog$labs$userAgent$util_getNativeUserAgentString;
-goog.labs.userAgent.util.getUserAgent = module$contents$goog$labs$userAgent$util_getUserAgent;
-goog.labs.userAgent.util.getUserAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData;
-goog.labs.userAgent.util.matchUserAgent = module$contents$goog$labs$userAgent$util_matchUserAgent;
-goog.labs.userAgent.util.matchUserAgentDataBrand = module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand;
-goog.labs.userAgent.util.matchUserAgentIgnoreCase = module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;
-goog.labs.userAgent.util.resetUserAgentData = function module$contents$goog$labs$userAgent$util_resetUserAgentData() {
- module$contents$goog$labs$userAgent$util_userAgentDataInternal = module$contents$goog$labs$userAgent$util_getNativeUserAgentData();
-};
-goog.labs.userAgent.util.setUserAgent = function module$contents$goog$labs$userAgent$util_setUserAgent(userAgent) {
- module$contents$goog$labs$userAgent$util_userAgentInternal = "string" === typeof userAgent ? userAgent : module$contents$goog$labs$userAgent$util_getNativeUserAgentString();
-};
-goog.labs.userAgent.util.setUserAgentData = function module$contents$goog$labs$userAgent$util_setUserAgentData(userAgentData) {
- module$contents$goog$labs$userAgent$util_userAgentDataInternal = userAgentData;
+ return t;
};
-var module$exports$goog$labs$userAgent$highEntropy$highEntropyValue = {AsyncValue:function() {
-}};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.getIfLoaded = function() {
+module$exports$tslib.__decorate = function(decorators, target, key, desc) {
+ var c = arguments.length, r = 3 > c ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
+ if ("object" === typeof Reflect && Reflect && "function" === typeof Reflect.decorate) {
+ r = Reflect.decorate(decorators, target, key, desc);
+ } else {
+ for (var i = decorators.length - 1; 0 <= i; i--) {
+ if (d = decorators[i]) {
+ r = (3 > c ? d(r) : 3 < c ? d(target, key, r) : d(target, key)) || r;
+ }
+ }
+ }
+ return 3 < c && r && Object.defineProperty(target, key, r), r;
};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.load = function() {
+module$exports$tslib.__param = function(paramIndex, decorator) {
+ return function(target, key) {
+ decorator(target, key, paramIndex);
+ };
};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue = function(key) {
- this.key_ = key;
- this.promise_ = this.value_ = void 0;
- this.pending_ = !1;
+module$exports$tslib.__setFunctionName = function(f, name, prefix) {
+ "symbol" === typeof name && (name = name.description ? "[".concat(name.description, "]") : "");
+ return Object.defineProperty(f, "name", {configurable:!0, value:prefix ? "".concat(prefix, " ", name) : name});
};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.getIfLoaded = function() {
- if (module$contents$goog$labs$userAgent$util_getUserAgentData()) {
- return this.value_;
+module$exports$tslib.__metadata = function(metadataKey, metadataValue) {
+ if ("object" === typeof Reflect && Reflect && "function" === typeof Reflect.metadata) {
+ return Reflect.metadata(metadataKey, metadataValue);
}
};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
- var $jscomp$async$this = this, userAgentData;
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context) {
- if (1 == $jscomp$generator$context.nextAddress) {
- userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
- if (!userAgentData) {
- return $jscomp$generator$context.return(void 0);
+module$exports$tslib.__awaiter = function(thisArg, _arguments, P, generator) {
+ function adopt(value) {
+ return value instanceof P ? value : new P(function(resolve) {
+ resolve(value);
+ });
+ }
+ return new (P || (P = Promise))(function(resolve, reject) {
+ function fulfilled(value) {
+ try {
+ step(generator.next(value));
+ } catch (e) {
+ reject(e);
}
- $jscomp$async$this.promise_ || ($jscomp$async$this.pending_ = !0, $jscomp$async$this.promise_ = function() {
- var dataValues;
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1) {
- if (1 == $jscomp$generator$context$1.nextAddress) {
- return $jscomp$generator$context$1.setFinallyBlock(2), $jscomp$generator$context$1.yield(userAgentData.getHighEntropyValues([$jscomp$async$this.key_]), 4);
- }
- if (2 != $jscomp$generator$context$1.nextAddress) {
- return dataValues = $jscomp$generator$context$1.yieldResult, $jscomp$async$this.value_ = dataValues[$jscomp$async$this.key_], $jscomp$generator$context$1.return($jscomp$async$this.value_);
- }
- $jscomp$generator$context$1.enterFinallyBlock();
- $jscomp$async$this.pending_ = !1;
- return $jscomp$generator$context$1.leaveFinallyBlock(0);
- });
- }());
- return $jscomp$generator$context.yield($jscomp$async$this.promise_, 2);
}
- return $jscomp$generator$context.return($jscomp$generator$context.yieldResult);
+ function rejected(value) {
+ try {
+ step(generator["throw"](value));
+ } catch (e) {
+ reject(e);
+ }
+ }
+ function step(result) {
+ result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
+ }
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
- if (this.pending_) {
- throw Error("Unsafe call to resetForTesting");
- }
- this.value_ = this.promise_ = void 0;
- this.pending_ = !1;
-};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version = function(versionString) {
- this.versionString_ = versionString;
-};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.toVersionStringForLogging = function() {
- return this.versionString_;
-};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.isAtLeast = function(version) {
- return 0 <= (0,goog.string.internal.compareVersions)(this.versionString_, version);
-};
-var module$exports$goog$labs$userAgent$highEntropy$highEntropyData = {};
-module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");
-module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("platformVersion");
-goog.labs.userAgent.browser = {};
-var module$contents$goog$labs$userAgent$browser_Brand = {ANDROID_BROWSER:"Android Browser", CHROMIUM:"Chromium", EDGE:"Microsoft Edge", FIREFOX:"Firefox", IE:"Internet Explorer", OPERA:"Opera", SAFARI:"Safari", SILK:"Silk",};
-goog.labs.userAgent.browser.Brand = module$contents$goog$labs$userAgent$browser_Brand;
-function module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(ignoreClientHintsFlag) {
- if (!(void 0 !== ignoreClientHintsFlag && ignoreClientHintsFlag || (0,goog.labs.userAgent.useClientHints)())) {
- return !1;
- }
- var userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
- return !!userAgentData && 0 < userAgentData.brands.length;
-}
-function module$contents$goog$labs$userAgent$browser_hasFullVersionList() {
- return module$contents$goog$labs$userAgent$browser_isAtLeast(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM, 98);
-}
-function module$contents$goog$labs$userAgent$browser_matchOpera() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Opera");
-}
-function module$contents$goog$labs$userAgent$browser_matchIE() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Trident") || module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE");
-}
-function module$contents$goog$labs$userAgent$browser_matchEdgeHtml() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Edge");
-}
-function module$contents$goog$labs$userAgent$browser_matchEdgeChromium() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.EDGE) : module$contents$goog$labs$userAgent$util_matchUserAgent("Edg/");
-}
-function module$contents$goog$labs$userAgent$browser_matchOperaChromium() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.OPERA) : module$contents$goog$labs$userAgent$util_matchUserAgent("OPR");
-}
-function module$contents$goog$labs$userAgent$browser_matchFirefox() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Firefox") || module$contents$goog$labs$userAgent$util_matchUserAgent("FxiOS");
-}
-function module$contents$goog$labs$userAgent$browser_matchSafari() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Safari") && !(module$contents$goog$labs$userAgent$browser_matchChrome() || module$contents$goog$labs$userAgent$browser_matchCoast() || module$contents$goog$labs$userAgent$browser_matchOpera() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml() || module$contents$goog$labs$userAgent$browser_matchEdgeChromium() || module$contents$goog$labs$userAgent$browser_matchOperaChromium() || module$contents$goog$labs$userAgent$browser_matchFirefox() ||
- module$contents$goog$labs$userAgent$browser_isSilk() || module$contents$goog$labs$userAgent$util_matchUserAgent("Android"));
-}
-function module$contents$goog$labs$userAgent$browser_matchCoast() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Coast");
-}
-function module$contents$goog$labs$userAgent$browser_matchChrome() {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM) : (module$contents$goog$labs$userAgent$util_matchUserAgent("Chrome") || module$contents$goog$labs$userAgent$util_matchUserAgent("CriOS")) && !module$contents$goog$labs$userAgent$browser_matchEdgeHtml() || module$contents$goog$labs$userAgent$browser_isSilk();
-}
-function module$contents$goog$labs$userAgent$browser_matchAndroidBrowser() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Android") && !(module$contents$goog$labs$userAgent$browser_matchChrome() || module$contents$goog$labs$userAgent$browser_matchFirefox() || module$contents$goog$labs$userAgent$browser_matchOpera() || module$contents$goog$labs$userAgent$browser_isSilk());
-}
-var module$contents$goog$labs$userAgent$browser_isOpera = module$contents$goog$labs$userAgent$browser_matchOpera;
-goog.labs.userAgent.browser.isOpera = module$contents$goog$labs$userAgent$browser_matchOpera;
-var module$contents$goog$labs$userAgent$browser_isIE = module$contents$goog$labs$userAgent$browser_matchIE;
-goog.labs.userAgent.browser.isIE = module$contents$goog$labs$userAgent$browser_matchIE;
-var module$contents$goog$labs$userAgent$browser_isEdge = module$contents$goog$labs$userAgent$browser_matchEdgeHtml;
-goog.labs.userAgent.browser.isEdge = module$contents$goog$labs$userAgent$browser_matchEdgeHtml;
-var module$contents$goog$labs$userAgent$browser_isEdgeChromium = module$contents$goog$labs$userAgent$browser_matchEdgeChromium;
-goog.labs.userAgent.browser.isEdgeChromium = module$contents$goog$labs$userAgent$browser_matchEdgeChromium;
-var module$contents$goog$labs$userAgent$browser_isOperaChromium = module$contents$goog$labs$userAgent$browser_matchOperaChromium;
-goog.labs.userAgent.browser.isOperaChromium = module$contents$goog$labs$userAgent$browser_matchOperaChromium;
-var module$contents$goog$labs$userAgent$browser_isFirefox = module$contents$goog$labs$userAgent$browser_matchFirefox;
-goog.labs.userAgent.browser.isFirefox = module$contents$goog$labs$userAgent$browser_matchFirefox;
-var module$contents$goog$labs$userAgent$browser_isSafari = module$contents$goog$labs$userAgent$browser_matchSafari;
-goog.labs.userAgent.browser.isSafari = module$contents$goog$labs$userAgent$browser_matchSafari;
-var module$contents$goog$labs$userAgent$browser_isCoast = module$contents$goog$labs$userAgent$browser_matchCoast;
-goog.labs.userAgent.browser.isCoast = module$contents$goog$labs$userAgent$browser_matchCoast;
-goog.labs.userAgent.browser.isIosWebview = function module$contents$goog$labs$userAgent$browser_matchIosWebview() {
- return (module$contents$goog$labs$userAgent$util_matchUserAgent("iPad") || module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")) && !module$contents$goog$labs$userAgent$browser_matchSafari() && !module$contents$goog$labs$userAgent$browser_matchChrome() && !module$contents$goog$labs$userAgent$browser_matchCoast() && !module$contents$goog$labs$userAgent$browser_matchFirefox() && module$contents$goog$labs$userAgent$util_matchUserAgent("AppleWebKit");
-};
-var module$contents$goog$labs$userAgent$browser_isChrome = module$contents$goog$labs$userAgent$browser_matchChrome;
-goog.labs.userAgent.browser.isChrome = module$contents$goog$labs$userAgent$browser_matchChrome;
-var module$contents$goog$labs$userAgent$browser_isAndroidBrowser = module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;
-goog.labs.userAgent.browser.isAndroidBrowser = module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;
-function module$contents$goog$labs$userAgent$browser_isSilk() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Silk");
-}
-goog.labs.userAgent.browser.isSilk = module$contents$goog$labs$userAgent$browser_isSilk;
-function module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples) {
- var versionMap = {};
- versionTuples.forEach(function(tuple) {
- versionMap[tuple[0]] = tuple[1];
- });
- return function(keys) {
- return versionMap[keys.find(function(key) {
- return key in versionMap;
- })] || "";
- };
-}
-function module$contents$goog$labs$userAgent$browser_getVersion() {
- var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
- if (module$contents$goog$labs$userAgent$browser_matchIE()) {
- return module$contents$goog$labs$userAgent$browser_getIEVersion(userAgentString);
- }
- var versionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), lookUpValueWithKeys = module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples);
- if (module$contents$goog$labs$userAgent$browser_matchOpera()) {
- return lookUpValueWithKeys(["Version", "Opera"]);
- }
- if (module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) {
- return lookUpValueWithKeys(["Edge"]);
- }
- if (module$contents$goog$labs$userAgent$browser_matchEdgeChromium()) {
- return lookUpValueWithKeys(["Edg"]);
- }
- if (module$contents$goog$labs$userAgent$browser_isSilk()) {
- return lookUpValueWithKeys(["Silk"]);
- }
- if (module$contents$goog$labs$userAgent$browser_matchChrome()) {
- return lookUpValueWithKeys(["Chrome", "CriOS", "HeadlessChrome"]);
- }
- var tuple = versionTuples[2];
- return tuple && tuple[1] || "";
-}
-goog.labs.userAgent.browser.getVersion = module$contents$goog$labs$userAgent$browser_getVersion;
-goog.labs.userAgent.browser.isVersionOrHigher = function module$contents$goog$labs$userAgent$browser_isVersionOrHigher(version) {
- return 0 <= (0,goog.string.internal.compareVersions)(module$contents$goog$labs$userAgent$browser_getVersion(), version);
-};
-function module$contents$goog$labs$userAgent$browser_getIEVersion(userAgent) {
- var rv = /rv: *([\d\.]*)/.exec(userAgent);
- if (rv && rv[1]) {
- return rv[1];
- }
- var version = "", msie = /MSIE +([\d\.]+)/.exec(userAgent);
- if (msie && msie[1]) {
- var tridentVersion = /Trident\/(\d.\d)/.exec(userAgent);
- if ("7.0" == msie[1]) {
- if (tridentVersion && tridentVersion[1]) {
- switch(tridentVersion[1]) {
- case "4.0":
- version = "8.0";
- break;
- case "5.0":
- version = "9.0";
- break;
- case "6.0":
- version = "10.0";
- break;
- case "7.0":
- version = "11.0";
- }
- } else {
- version = "7.0";
- }
- } else {
- version = msie[1];
- }
- }
- return version;
-}
-function module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser) {
- var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
- if (browser === module$contents$goog$labs$userAgent$browser_Brand.IE) {
- return module$contents$goog$labs$userAgent$browser_matchIE() ? module$contents$goog$labs$userAgent$browser_getIEVersion(userAgentString) : "";
- }
- var versionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), lookUpValueWithKeys = module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples);
- switch(browser) {
- case module$contents$goog$labs$userAgent$browser_Brand.OPERA:
- if (module$contents$goog$labs$userAgent$browser_matchOpera()) {
- return lookUpValueWithKeys(["Version", "Opera"]);
- }
- if (module$contents$goog$labs$userAgent$browser_matchOperaChromium()) {
- return lookUpValueWithKeys(["OPR"]);
- }
- break;
- case module$contents$goog$labs$userAgent$browser_Brand.EDGE:
- if (module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) {
- return lookUpValueWithKeys(["Edge"]);
- }
- if (module$contents$goog$labs$userAgent$browser_matchEdgeChromium()) {
- return lookUpValueWithKeys(["Edg"]);
- }
- break;
- case module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM:
- if (module$contents$goog$labs$userAgent$browser_matchChrome()) {
- return lookUpValueWithKeys(["Chrome", "CriOS", "HeadlessChrome"]);
- }
- }
- if (browser === module$contents$goog$labs$userAgent$browser_Brand.FIREFOX && module$contents$goog$labs$userAgent$browser_matchFirefox() || browser === module$contents$goog$labs$userAgent$browser_Brand.SAFARI && module$contents$goog$labs$userAgent$browser_matchSafari() || browser === module$contents$goog$labs$userAgent$browser_Brand.ANDROID_BROWSER && module$contents$goog$labs$userAgent$browser_matchAndroidBrowser() || browser === module$contents$goog$labs$userAgent$browser_Brand.SILK && module$contents$goog$labs$userAgent$browser_isSilk()) {
- var tuple = versionTuples[2];
- return tuple && tuple[1] || "";
- }
- return "";
-}
-function module$contents$goog$labs$userAgent$browser_versionOf_(browser) {
- if (module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() && browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK) {
- var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var2) {
- return $jscomp$destructuring$var2.brand === browser;
- });
- if (!matchingBrand || !matchingBrand.version) {
- return NaN;
- }
- var versionParts = matchingBrand.version.split(".");
- } else {
- var fullVersion = module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser);
- if ("" === fullVersion) {
- return NaN;
- }
- versionParts = fullVersion.split(".");
- }
- return 0 === versionParts.length ? NaN : Number(versionParts[0]);
-}
-function module$contents$goog$labs$userAgent$browser_isAtLeast(brand, majorVersion) {
- (0,goog.asserts.assert)(Math.floor(majorVersion) === majorVersion, "Major version must be an integer");
- return module$contents$goog$labs$userAgent$browser_versionOf_(brand) >= majorVersion;
-}
-goog.labs.userAgent.browser.isAtLeast = module$contents$goog$labs$userAgent$browser_isAtLeast;
-goog.labs.userAgent.browser.isAtMost = function module$contents$goog$labs$userAgent$browser_isAtMost(brand, majorVersion) {
- (0,goog.asserts.assert)(Math.floor(majorVersion) === majorVersion, "Major version must be an integer");
- return module$contents$goog$labs$userAgent$browser_versionOf_(brand) <= majorVersion;
-};
-var module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion = function(brand, useUach, fallbackVersion) {
- this.brand_ = brand;
- this.version_ = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(fallbackVersion);
- this.useUach_ = useUach;
-};
-module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.getIfLoaded = function() {
- var $jscomp$this = this;
- if (this.useUach_) {
- var loadedVersionList = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();
- if (void 0 !== loadedVersionList) {
- var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var4) {
- return $jscomp$this.brand_ === $jscomp$destructuring$var4.brand;
- });
- (0,goog.asserts.assertExists)(matchingBrand);
- return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version);
- }
- }
- if (module$contents$goog$labs$userAgent$browser_preUachHasLoaded) {
- return this.version_;
- }
-};
-module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
- var $jscomp$async$this = this, loadedVersionList, matchingBrand;
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context) {
- if (1 == $jscomp$generator$context.nextAddress) {
- return $jscomp$async$this.useUach_ ? $jscomp$generator$context.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context.yield(0, 3);
- }
- if (3 != $jscomp$generator$context.nextAddress && (loadedVersionList = $jscomp$generator$context.yieldResult, void 0 !== loadedVersionList)) {
- return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var6) {
- return $jscomp$async$this.brand_ === $jscomp$destructuring$var6.brand;
- }), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
- }
- module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
- return $jscomp$generator$context.return($jscomp$async$this.version_);
- });
-};
-var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
-goog.labs.userAgent.browser.loadFullVersions = function module$contents$goog$labs$userAgent$browser_loadFullVersions() {
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context) {
- if (1 == $jscomp$generator$context.nextAddress) {
- return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context.jumpTo(2);
- }
- module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
- $jscomp$generator$context.jumpToEnd();
- });
-};
-goog.labs.userAgent.browser.resetForTesting = function() {
- module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
- module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.resetForTesting();
-};
-function module$contents$goog$labs$userAgent$browser_fullVersionOf(browser) {
- var fallbackVersionString = "";
- module$contents$goog$labs$userAgent$browser_hasFullVersionList() || (fallbackVersionString = module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser));
- var useUach = browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK && module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0);
- if (useUach) {
- if (!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var8) {
- return $jscomp$destructuring$var8.brand === browser;
- })) {
- return;
- }
- } else if ("" === fallbackVersionString) {
- return;
- }
- return new module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(browser, useUach, fallbackVersionString);
-}
-goog.labs.userAgent.browser.fullVersionOf = module$contents$goog$labs$userAgent$browser_fullVersionOf;
-goog.labs.userAgent.browser.getVersionStringForLogging = function module$contents$goog$labs$userAgent$browser_getVersionStringForLogging(browser) {
- if (module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)) {
- var fullVersionObj = module$contents$goog$labs$userAgent$browser_fullVersionOf(browser);
- if (fullVersionObj) {
- var fullVersion = fullVersionObj.getIfLoaded();
- if (fullVersion) {
- return fullVersion.toVersionStringForLogging();
- }
- var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var10) {
- return $jscomp$destructuring$var10.brand === browser;
- });
- (0,goog.asserts.assertExists)(matchingBrand);
- return matchingBrand.version;
- }
- return "";
- }
- return module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser);
-};
-goog.labs.userAgent.engine = {};
-function module$contents$goog$labs$userAgent$engine_isPresto() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Presto");
-}
-function module$contents$goog$labs$userAgent$engine_isTrident() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Trident") || module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE");
-}
-function module$contents$goog$labs$userAgent$engine_isEdge() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Edge");
-}
-function module$contents$goog$labs$userAgent$engine_isWebKit() {
- return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("WebKit") && !module$contents$goog$labs$userAgent$engine_isEdge();
-}
-function module$contents$goog$labs$userAgent$engine_isGecko() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("Gecko") && !module$contents$goog$labs$userAgent$engine_isWebKit() && !module$contents$goog$labs$userAgent$engine_isTrident() && !module$contents$goog$labs$userAgent$engine_isEdge();
-}
-function module$contents$goog$labs$userAgent$engine_getVersion() {
- var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
- if (userAgentString) {
- var tuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), engineTuple = module$contents$goog$labs$userAgent$engine_getEngineTuple(tuples);
- if (engineTuple) {
- return "Gecko" == engineTuple[0] ? module$contents$goog$labs$userAgent$engine_getVersionForKey(tuples, "Firefox") : engineTuple[1];
- }
- var browserTuple = tuples[0], info;
- if (browserTuple && (info = browserTuple[2])) {
- var match = /Trident\/([^\s;]+)/.exec(info);
- if (match) {
- return match[1];
- }
- }
- }
- return "";
-}
-function module$contents$goog$labs$userAgent$engine_getEngineTuple(tuples) {
- if (!module$contents$goog$labs$userAgent$engine_isEdge()) {
- return tuples[1];
+module$exports$tslib.__generator = function(thisArg, body) {
+ function verb(n) {
+ return function(v) {
+ return step([n, v]);
+ };
}
- for (var i = 0; i < tuples.length; i++) {
- var tuple = tuples[i];
- if ("Edge" == tuple[0]) {
- return tuple;
+ function step(op) {
+ if (f) {
+ throw new TypeError("Generator is already executing.");
}
- }
-}
-function module$contents$goog$labs$userAgent$engine_getVersionForKey(tuples, key) {
- var pair = module$contents$goog$array_find(tuples, function(pair) {
- return key == pair[0];
- });
- return pair && pair[1] || "";
-}
-goog.labs.userAgent.engine.getVersion = module$contents$goog$labs$userAgent$engine_getVersion;
-goog.labs.userAgent.engine.isEdge = module$contents$goog$labs$userAgent$engine_isEdge;
-goog.labs.userAgent.engine.isGecko = module$contents$goog$labs$userAgent$engine_isGecko;
-goog.labs.userAgent.engine.isPresto = module$contents$goog$labs$userAgent$engine_isPresto;
-goog.labs.userAgent.engine.isTrident = module$contents$goog$labs$userAgent$engine_isTrident;
-goog.labs.userAgent.engine.isVersionOrHigher = function module$contents$goog$labs$userAgent$engine_isVersionOrHigher(version) {
- return 0 <= goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(), version);
-};
-goog.labs.userAgent.engine.isWebKit = module$contents$goog$labs$userAgent$engine_isWebKit;
-goog.labs.userAgent.platform = {};
-function module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(ignoreClientHintsFlag) {
- if (!(void 0 !== ignoreClientHintsFlag && ignoreClientHintsFlag || (0,goog.labs.userAgent.useClientHints)())) {
- return !1;
- }
- var userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
- return !!userAgentData && !!userAgentData.platform;
-}
-function module$contents$goog$labs$userAgent$platform_isAndroid() {
- return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Android" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Android");
-}
-function module$contents$goog$labs$userAgent$platform_isIpod() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("iPod");
-}
-function module$contents$goog$labs$userAgent$platform_isIphone() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone") && !module$contents$goog$labs$userAgent$util_matchUserAgent("iPod") && !module$contents$goog$labs$userAgent$util_matchUserAgent("iPad");
-}
-function module$contents$goog$labs$userAgent$platform_isIpad() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("iPad");
-}
-function module$contents$goog$labs$userAgent$platform_isIos() {
- return module$contents$goog$labs$userAgent$platform_isIphone() || module$contents$goog$labs$userAgent$platform_isIpad() || module$contents$goog$labs$userAgent$platform_isIpod();
-}
-function module$contents$goog$labs$userAgent$platform_isMacintosh() {
- return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "macOS" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Macintosh");
-}
-function module$contents$goog$labs$userAgent$platform_isLinux() {
- return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Linux" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Linux");
-}
-function module$contents$goog$labs$userAgent$platform_isWindows() {
- return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Windows" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Windows");
-}
-function module$contents$goog$labs$userAgent$platform_isChromeOS() {
- return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Chrome OS" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("CrOS");
-}
-function module$contents$goog$labs$userAgent$platform_isKaiOS() {
- return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS");
-}
-function module$contents$goog$labs$userAgent$platform_getVersion() {
- var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent(), version = "";
- if (module$contents$goog$labs$userAgent$platform_isWindows()) {
- var re = /Windows (?:NT|Phone) ([0-9.]+)/;
- var match = re.exec(userAgentString);
- version = match ? match[1] : "0.0";
- } else if (module$contents$goog$labs$userAgent$platform_isIos()) {
- re = /(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/;
- var match$40 = re.exec(userAgentString);
- version = match$40 && match$40[1].replace(/_/g, ".");
- } else if (module$contents$goog$labs$userAgent$platform_isMacintosh()) {
- re = /Mac OS X ([0-9_.]+)/;
- var match$41 = re.exec(userAgentString);
- version = match$41 ? match$41[1].replace(/_/g, ".") : "10";
- } else if (module$contents$goog$labs$userAgent$platform_isKaiOS()) {
- re = /(?:KaiOS)\/(\S+)/i;
- var match$42 = re.exec(userAgentString);
- version = match$42 && match$42[1];
- } else if (module$contents$goog$labs$userAgent$platform_isAndroid()) {
- re = /Android\s+([^\);]+)(\)|;)/;
- var match$43 = re.exec(userAgentString);
- version = match$43 && match$43[1];
- } else if (module$contents$goog$labs$userAgent$platform_isChromeOS()) {
- re = /(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/;
- var match$44 = re.exec(userAgentString);
- version = match$44 && match$44[1];
- }
- return version || "";
-}
-var module$contents$goog$labs$userAgent$platform_PlatformVersion = function() {
- this.preUachHasLoaded_ = !1;
-};
-module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoaded = function() {
- if (module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
- var loadedPlatformVersion = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.getIfLoaded();
- return void 0 === loadedPlatformVersion ? void 0 : new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(loadedPlatformVersion);
- }
- if (this.preUachHasLoaded_) {
- return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion());
- }
-};
-module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
- var $jscomp$async$this = this, JSCompiler_temp_const;
- return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context) {
- if (1 == $jscomp$generator$context.nextAddress) {
- if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
- $jscomp$async$this.preUachHasLoaded_ = !0;
- return $jscomp$generator$context.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
- return $jscomp$generator$context.jumpTo(0);
+ for (; _;) {
+ try {
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) {
+ return t;
+ }
+ if (y = 0, t) {
+ op = [op[0] & 2, t.value];
+ }
+ switch(op[0]) {
+ case 0:
+ case 1:
+ t = op;
+ break;
+ case 4:
+ return _.label++, {value:op[1], done:!1};
+ case 5:
+ _.label++;
+ y = op[1];
+ op = [0];
+ continue;
+ case 7:
+ op = _.ops.pop();
+ _.trys.pop();
+ continue;
+ default:
+ if (!(t = _.trys, t = 0 < t.length && t[t.length - 1]) && (6 === op[0] || 2 === op[0])) {
+ _ = 0;
+ continue;
+ }
+ if (3 === op[0] && (!t || op[1] > t[0] && op[1] < t[3])) {
+ _.label = op[1];
+ } else {
+ if (6 === op[0] && _.label < t[1]) {
+ _.label = t[1], t = op;
+ } else {
+ if (t && _.label < t[2]) {
+ _.label = t[2], _.ops.push(op);
+ } else {
+ t[2] && _.ops.pop();
+ _.trys.pop();
+ continue;
+ }
+ }
+ }
+ }
+ op = body.call(thisArg, _);
+ } catch (e) {
+ op = [6, e], y = 0;
+ } finally {
+ f = t = 0;
}
- JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
- return $jscomp$generator$context.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
}
- return $jscomp$generator$context.return(new JSCompiler_temp_const($jscomp$generator$context.yieldResult));
- });
-};
-module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.resetForTesting = function() {
- module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.resetForTesting();
- this.preUachHasLoaded_ = !1;
-};
-var module$contents$goog$labs$userAgent$platform_version = new module$contents$goog$labs$userAgent$platform_PlatformVersion();
-goog.labs.userAgent.platform.getVersion = module$contents$goog$labs$userAgent$platform_getVersion;
-goog.labs.userAgent.platform.isAndroid = module$contents$goog$labs$userAgent$platform_isAndroid;
-goog.labs.userAgent.platform.isChromeOS = module$contents$goog$labs$userAgent$platform_isChromeOS;
-goog.labs.userAgent.platform.isChromecast = function module$contents$goog$labs$userAgent$platform_isChromecast() {
- return module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey");
-};
-goog.labs.userAgent.platform.isIos = module$contents$goog$labs$userAgent$platform_isIos;
-goog.labs.userAgent.platform.isIpad = module$contents$goog$labs$userAgent$platform_isIpad;
-goog.labs.userAgent.platform.isIphone = module$contents$goog$labs$userAgent$platform_isIphone;
-goog.labs.userAgent.platform.isIpod = module$contents$goog$labs$userAgent$platform_isIpod;
-goog.labs.userAgent.platform.isKaiOS = module$contents$goog$labs$userAgent$platform_isKaiOS;
-goog.labs.userAgent.platform.isLinux = module$contents$goog$labs$userAgent$platform_isLinux;
-goog.labs.userAgent.platform.isMacintosh = module$contents$goog$labs$userAgent$platform_isMacintosh;
-goog.labs.userAgent.platform.isVersionOrHigher = function module$contents$goog$labs$userAgent$platform_isVersionOrHigher(version) {
- return 0 <= goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(), version);
-};
-goog.labs.userAgent.platform.isWindows = module$contents$goog$labs$userAgent$platform_isWindows;
-goog.labs.userAgent.platform.version = module$contents$goog$labs$userAgent$platform_version;
-goog.reflect = {};
-goog.reflect.object = function(type, object) {
- return object;
-};
-goog.reflect.objectProperty = function(prop, object) {
- return prop;
+ if (op[0] & 5) {
+ throw op[1];
+ }
+ return {value:op[0] ? op[1] : void 0, done:!0};
+ }
+ var _ = {label:0, sent:function() {
+ if (t[0] & 1) {
+ throw t[1];
+ }
+ return t[1];
+ }, trys:[], ops:[]}, f, y, t, g;
+ return g = {next:verb(0), "throw":verb(1), "return":verb(2)}, "function" === typeof Symbol && (g[Symbol.iterator] = function() {
+ return g;
+ }), g;
};
-goog.reflect.sinkValue = function(x) {
- goog.reflect.sinkValue[" "](x);
- return x;
+module$exports$tslib.__exportStar = function(m, o) {
+ for (var p in m) {
+ o.hasOwnProperty(p) || (o[p] = m[p]);
+ }
};
-goog.reflect.sinkValue[" "] = function() {
+module$exports$tslib.__values = function(o) {
+ var m = "function" === typeof Symbol && o[Symbol.iterator], i = 0;
+ return m ? m.call(o) : {next:function() {
+ o && i >= o.length && (o = void 0);
+ return {value:o && o[i++], done:!o};
+ }};
};
-goog.reflect.canAccessProperty = function(obj, prop) {
+module$exports$tslib.__read = function(o, n) {
+ var m = "function" === typeof Symbol && o[Symbol.iterator];
+ if (!m) {
+ return o;
+ }
+ var i = m.call(o), r, ar = [];
try {
- return goog.reflect.sinkValue(obj[prop]), !0;
- } catch (e) {
+ for (; (void 0 === n || 0 < n--) && !(r = i.next()).done;) {
+ ar.push(r.value);
+ }
+ } catch (error) {
+ var e = {error:error};
+ } finally {
+ try {
+ r && !r.done && (m = i["return"]) && m.call(i);
+ } finally {
+ if (e) {
+ throw e.error;
+ }
+ }
}
- return !1;
-};
-goog.reflect.cache = function(cacheObj, key, valueFn, opt_keyFn) {
- var storedKey = opt_keyFn ? opt_keyFn(key) : key;
- return Object.prototype.hasOwnProperty.call(cacheObj, storedKey) ? cacheObj[storedKey] : cacheObj[storedKey] = valueFn(key);
-};
-goog.userAgent = {};
-goog.userAgent.ASSUME_IE = !1;
-goog.userAgent.ASSUME_EDGE = !1;
-goog.userAgent.ASSUME_GECKO = !1;
-goog.userAgent.ASSUME_WEBKIT = !1;
-goog.userAgent.ASSUME_MOBILE_WEBKIT = !1;
-goog.userAgent.ASSUME_OPERA = !1;
-goog.userAgent.ASSUME_ANY_VERSION = !1;
-goog.userAgent.BROWSER_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_EDGE || goog.userAgent.ASSUME_GECKO || goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_OPERA;
-goog.userAgent.getUserAgentString = function() {
- return module$contents$goog$labs$userAgent$util_getUserAgent();
+ return ar;
};
-goog.userAgent.getNavigatorTyped = function() {
- return goog.global.navigator || null;
+module$exports$tslib.__spread = function() {
+ for (var ar = [], i = 0; i < arguments.length; i++) {
+ ar = ar.concat(module$exports$tslib.__read(arguments[i]));
+ }
+ return ar;
};
-goog.userAgent.getNavigator = function() {
- return goog.userAgent.getNavigatorTyped();
+module$exports$tslib.__spreadArrays = function() {
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
+ s += arguments[i].length;
+ }
+ var r = Array(s), k = 0;
+ for (i = 0; i < il; i++) {
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
+ r[k] = a[j];
+ }
+ }
+ return r;
};
-goog.userAgent.OPERA = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_OPERA : module$contents$goog$labs$userAgent$browser_matchOpera();
-goog.userAgent.IE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_IE : module$contents$goog$labs$userAgent$browser_matchIE();
-goog.userAgent.EDGE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_EDGE : module$contents$goog$labs$userAgent$engine_isEdge();
-goog.userAgent.EDGE_OR_IE = goog.userAgent.EDGE || goog.userAgent.IE;
-goog.userAgent.GECKO = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_GECKO : module$contents$goog$labs$userAgent$engine_isGecko();
-goog.userAgent.WEBKIT = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_MOBILE_WEBKIT : module$contents$goog$labs$userAgent$engine_isWebKit();
-goog.userAgent.isMobile_ = function() {
- return goog.userAgent.WEBKIT && module$contents$goog$labs$userAgent$util_matchUserAgent("Mobile");
+module$exports$tslib.__spreadArray = function(to, from, pack) {
+ if (!(Array.isArray(from) || from instanceof NodeList)) {
+ throw new TypeError("Expected an Array or NodeList: " + String(from));
+ }
+ if (pack || 2 === arguments.length) {
+ for (var i = 0, l = from.length, ar; i < l; i++) {
+ !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), ar[i] = from[i]);
+ }
+ }
+ return to.concat(ar || Array.prototype.slice.call(from));
};
-goog.userAgent.MOBILE = goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.isMobile_();
-goog.userAgent.SAFARI = goog.userAgent.WEBKIT;
-goog.userAgent.determinePlatform_ = function() {
- var navigator = goog.userAgent.getNavigatorTyped();
- return navigator && navigator.platform || "";
+module$exports$tslib.__await = function(v) {
+ return this instanceof module$exports$tslib.__await ? (this.v = v, this) : new module$exports$tslib.__await(v);
};
-goog.userAgent.PLATFORM = goog.userAgent.determinePlatform_();
-goog.userAgent.ASSUME_MAC = !1;
-goog.userAgent.ASSUME_WINDOWS = !1;
-goog.userAgent.ASSUME_LINUX = !1;
-goog.userAgent.ASSUME_X11 = !1;
-goog.userAgent.ASSUME_ANDROID = !1;
-goog.userAgent.ASSUME_IPHONE = !1;
-goog.userAgent.ASSUME_IPAD = !1;
-goog.userAgent.ASSUME_IPOD = !1;
-goog.userAgent.ASSUME_KAIOS = !1;
-goog.userAgent.PLATFORM_KNOWN_ = goog.userAgent.ASSUME_MAC || goog.userAgent.ASSUME_WINDOWS || goog.userAgent.ASSUME_LINUX || goog.userAgent.ASSUME_X11 || goog.userAgent.ASSUME_ANDROID || goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD;
-goog.userAgent.MAC = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_MAC : module$contents$goog$labs$userAgent$platform_isMacintosh();
-goog.userAgent.WINDOWS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_WINDOWS : module$contents$goog$labs$userAgent$platform_isWindows();
-goog.userAgent.isLegacyLinux_ = function() {
- return module$contents$goog$labs$userAgent$platform_isLinux() || module$contents$goog$labs$userAgent$platform_isChromeOS();
+module$exports$tslib.__asyncGenerator = function(thisArg, _arguments, generator) {
+ function verb(n) {
+ g[n] && (i[n] = function(v) {
+ return new Promise(function(a, b) {
+ 1 < q.push([n, v, a, b]) || resume(n, v);
+ });
+ });
+ }
+ function resume(n, v) {
+ try {
+ step(g[n](v));
+ } catch (e) {
+ settle(q[0][3], e);
+ }
+ }
+ function step(r) {
+ r.value instanceof module$exports$tslib.__await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
+ }
+ function fulfill(value) {
+ resume("next", value);
+ }
+ function reject(value) {
+ resume("throw", value);
+ }
+ function settle(f, v) {
+ (f(v), q.shift(), q.length) && resume(q[0][0], q[0][1]);
+ }
+ if (!Symbol.asyncIterator) {
+ throw new TypeError("Symbol.asyncIterator is not defined.");
+ }
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
+ return this;
+ }, i;
};
-goog.userAgent.LINUX = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_LINUX : goog.userAgent.isLegacyLinux_();
-goog.userAgent.isX11_ = function() {
- var navigator = goog.userAgent.getNavigatorTyped();
- return !!navigator && goog.string.internal.contains(navigator.appVersion || "", "X11");
+module$exports$tslib.__asyncDelegator = function(o) {
+ function verb(n, f) {
+ i[n] = o[n] ? function(v) {
+ return (p = !p) ? {value:new module$exports$tslib.__await(o[n](v)), done:"return" === n} : f ? f(v) : v;
+ } : f;
+ }
+ var i, p;
+ return i = {}, verb("next"), verb("throw", function(e) {
+ throw e;
+ }), verb("return"), i[Symbol.iterator] = function() {
+ return i;
+ }, i;
};
-goog.userAgent.X11 = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_X11 : goog.userAgent.isX11_();
-goog.userAgent.ANDROID = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_ANDROID : module$contents$goog$labs$userAgent$platform_isAndroid();
-goog.userAgent.IPHONE = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE : module$contents$goog$labs$userAgent$platform_isIphone();
-goog.userAgent.IPAD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPAD : module$contents$goog$labs$userAgent$platform_isIpad();
-goog.userAgent.IPOD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPOD : module$contents$goog$labs$userAgent$platform_isIpod();
-goog.userAgent.IOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD : module$contents$goog$labs$userAgent$platform_isIos();
-goog.userAgent.KAIOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_KAIOS : module$contents$goog$labs$userAgent$platform_isKaiOS();
-goog.userAgent.determineVersion_ = function() {
- var version = "", arr = goog.userAgent.getVersionRegexResult_();
- arr && (version = arr ? arr[1] : "");
- if (goog.userAgent.IE) {
- var docMode = goog.userAgent.getDocumentMode_();
- if (null != docMode && docMode > parseFloat(version)) {
- return String(docMode);
- }
+module$exports$tslib.__asyncValues = function(o) {
+ function verb(n) {
+ i[n] = o[n] && function(v) {
+ return new Promise(function(resolve, reject) {
+ v = o[n](v);
+ settle(resolve, reject, v.done, v.value);
+ });
+ };
}
- return version;
+ function settle(resolve, reject, d, v) {
+ Promise.resolve(v).then(function(v) {
+ resolve({value:v, done:d});
+ }, reject);
+ }
+ if (!Symbol.asyncIterator) {
+ throw new TypeError("Symbol.asyncIterator is not defined.");
+ }
+ var m = o[Symbol.asyncIterator], i;
+ return m ? m.call(o) : (o = "function" === typeof __values ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
+ return this;
+ }, i);
};
-goog.userAgent.getVersionRegexResult_ = function() {
- var userAgent = goog.userAgent.getUserAgentString();
- if (goog.userAgent.GECKO) {
- return /rv:([^\);]+)(\)|;)/.exec(userAgent);
+module$exports$tslib.__makeTemplateObject = function(cooked, raw) {
+ Object.defineProperty ? Object.defineProperty(cooked, "raw", {value:raw}) : cooked.raw = raw;
+ return cooked;
+};
+module$exports$tslib.__classPrivateFieldGet = function(receiver, state, kind, f) {
+ if ("a" === kind && !f) {
+ throw new TypeError("Private accessor was defined without a getter");
}
- if (goog.userAgent.EDGE) {
- return /Edge\/([\d\.]+)/.exec(userAgent);
+ if ("function" === typeof state ? receiver !== state || !f : !state.has(receiver)) {
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
}
- if (goog.userAgent.IE) {
- return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(userAgent);
+ return "m" === kind ? f : "a" === kind ? f.call(receiver) : f ? f.value : state.get(receiver);
+};
+module$exports$tslib.__classPrivateFieldSet = function(receiver, state, value, kind, f) {
+ if ("m" === kind) {
+ throw new TypeError("Private method is not writable");
}
- if (goog.userAgent.WEBKIT) {
- return /WebKit\/(\S+)/.exec(userAgent);
+ if ("a" === kind && !f) {
+ throw new TypeError("Private accessor was defined without a setter");
}
- if (goog.userAgent.OPERA) {
- return /(?:Version)[ \/]?(\S+)/.exec(userAgent);
+ if ("function" === typeof state ? receiver !== state || !f : !state.has(receiver)) {
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
}
+ return "a" === kind ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
};
-goog.userAgent.getDocumentMode_ = function() {
- var doc = goog.global.document;
- return doc ? doc.documentMode : void 0;
+module$exports$tslib.__classPrivateFieldIn = function(state, receiver) {
+ if (null === receiver || "object" !== typeof receiver && "function" !== typeof receiver) {
+ throw new TypeError("Cannot use 'in' operator on non-object");
+ }
+ return "function" === typeof state ? receiver === state : state.has(receiver);
};
-goog.userAgent.VERSION = goog.userAgent.determineVersion_();
-goog.userAgent.compare = function(v1, v2) {
- return goog.string.internal.compareVersions(v1, v2);
+var module$exports$closure$flags$flags$2etoggles = {}, module$contents$closure$flags$flags$2etoggles_module = module$contents$closure$flags$flags$2etoggles_module || {id:"third_party/javascript/closure/flags/flags.toggles.closure.js"};
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_attribute_sanitization__disable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable = !1;
+module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_stable_flag__disable = !1;
+goog.flags = {};
+var module$contents$goog$flags_STAGING = goog.readFlagInternalDoNotUseOrElse(1, goog.FLAGS_STAGING_DEFAULT);
+goog.flags.USE_USER_AGENT_CLIENT_HINTS = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_user_agent_client_hints__enable : goog.readFlagInternalDoNotUseOrElse(610401301, !1);
+goog.flags.ASYNC_THROW_ON_UNICODE_TO_BYTE = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__async_throw_on_unicode_to_byte__enable : goog.readFlagInternalDoNotUseOrElse(899588437, !1);
+goog.flags.CLIENT_ONLY_WIZ_ATTRIBUTE_SANITIZATION = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_attribute_sanitization__disable) : goog.readFlagInternalDoNotUseOrElse(533565600,
+module$contents$goog$flags_STAGING);
+goog.flags.CLIENT_ONLY_WIZ_HOOK_CONTEXT_FIX = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__client_only_wiz_hook_context_fix__enable : goog.readFlagInternalDoNotUseOrElse(563486499, !1);
+goog.flags.TESTONLY_DISABLED_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_disabled_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483644, !1);
+goog.flags.TESTONLY_DEBUG_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.DEBUG || module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_debug_flag__enable : goog.readFlagInternalDoNotUseOrElse(2147483645, goog.DEBUG);
+goog.flags.TESTONLY_STAGING_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? goog.FLAGS_STAGING_DEFAULT && (module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_staging_flag__disable) : goog.readFlagInternalDoNotUseOrElse(2147483646, module$contents$goog$flags_STAGING);
+goog.flags.TESTONLY_STABLE_FLAG = module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__use_toggles ? module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__override_disable_toggles || !module$exports$closure$flags$flags$2etoggles.TOGGLE_GoogFlags__testonly_stable_flag__disable : goog.readFlagInternalDoNotUseOrElse(2147483647, !0);
+var module$contents$goog$labs$userAgent_forceClientHintsInTests = !1;
+goog.labs.userAgent.setUseClientHintsForTesting = function(use) {
+ module$contents$goog$labs$userAgent_forceClientHintsInTests = use;
};
-goog.userAgent.isVersionOrHigherCache_ = {};
-goog.userAgent.isVersionOrHigher = function(version) {
- return goog.userAgent.ASSUME_ANY_VERSION || goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_, version, function() {
- return 0 <= goog.string.internal.compareVersions(goog.userAgent.VERSION, version);
- });
+goog.labs.userAgent.useClientHints = function() {
+ return goog.flags.USE_USER_AGENT_CLIENT_HINTS || module$contents$goog$labs$userAgent_forceClientHintsInTests;
};
-goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
- return Number(goog.userAgent.DOCUMENT_MODE) >= documentMode;
+goog.string = {};
+goog.string.internal = {};
+goog.string.internal.startsWith = function(str, prefix) {
+ return 0 == str.lastIndexOf(prefix, 0);
};
-goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher;
-goog.userAgent.DOCUMENT_MODE = function() {
- if (goog.global.document && goog.userAgent.IE) {
- var documentMode = goog.userAgent.getDocumentMode_();
- return documentMode ? documentMode : parseInt(goog.userAgent.VERSION, 10) || void 0;
- }
-}();
-goog.events.eventTypeHelpers = {};
-goog.events.eventTypeHelpers.getVendorPrefixedName = function(eventName) {
- return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
+goog.string.internal.endsWith = function(str, suffix) {
+ var l = str.length - suffix.length;
+ return 0 <= l && str.indexOf(suffix, l) == l;
};
-goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, msPointerEventName, fallbackEventName) {
- return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : goog.events.BrowserFeature.MSPOINTER_EVENTS ? msPointerEventName : fallbackEventName;
+goog.string.internal.caseInsensitiveStartsWith = function(str, prefix) {
+ return 0 == goog.string.internal.caseInsensitiveCompare(prefix, str.slice(0, prefix.length));
};
-goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
-CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
-DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play", PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange",
-SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
-ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationStart"), ANIMATIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationIteration"),
-TRANSITIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
-MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:goog.userAgent.IE ? "textinput" : "textInput",
-COMPOSITIONSTART:"compositionstart", COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange",
-STORAGE:"storage", DOMSUBTREEMODIFIED:"DOMSubtreeModified", DOMNODEINSERTED:"DOMNodeInserted", DOMNODEREMOVED:"DOMNodeRemoved", DOMNODEREMOVEDFROMDOCUMENT:"DOMNodeRemovedFromDocument", DOMNODEINSERTEDINTODOCUMENT:"DOMNodeInsertedIntoDocument", DOMATTRMODIFIED:"DOMAttrModified", DOMCHARACTERDATAMODIFIED:"DOMCharacterDataModified", BEFOREPRINT:"beforeprint", AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
-goog.events.BrowserEvent = function(opt_e, opt_currentTarget) {
- goog.events.Event.call(this, opt_e ? opt_e.type : "");
- this.relatedTarget = this.currentTarget = this.target = null;
- this.button = this.screenY = this.screenX = this.clientY = this.clientX = this.offsetY = this.offsetX = 0;
- this.key = "";
- this.charCode = this.keyCode = 0;
- this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = !1;
- this.state = null;
- this.platformModifierKey = !1;
- this.pointerId = 0;
- this.pointerType = "";
- this.event_ = null;
- opt_e && this.init(opt_e, opt_currentTarget);
+goog.string.internal.caseInsensitiveEndsWith = function(str, suffix) {
+ return 0 == goog.string.internal.caseInsensitiveCompare(suffix, str.slice(str.length - suffix.length));
};
-goog.inherits(goog.events.BrowserEvent, goog.events.Event);
-goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
-goog.events.BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4,};
-goog.events.BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
-goog.events.BrowserEvent.IEButtonMap = goog.debug.freeze([1, 4, 2]);
-goog.events.BrowserEvent.IE_BUTTON_MAP = goog.events.BrowserEvent.IEButtonMap;
-goog.events.BrowserEvent.IE_POINTER_TYPE_MAP = goog.debug.freeze({2:goog.events.BrowserEvent.PointerType.TOUCH, 3:goog.events.BrowserEvent.PointerType.PEN, 4:goog.events.BrowserEvent.PointerType.MOUSE});
-goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
- var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
- this.target = e.target || e.srcElement;
- this.currentTarget = opt_currentTarget;
- var relatedTarget = e.relatedTarget;
- relatedTarget ? goog.userAgent.GECKO && (goog.reflect.canAccessProperty(relatedTarget, "nodeName") || (relatedTarget = null)) : type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement);
- this.relatedTarget = relatedTarget;
- relevantTouch ? (this.clientX = void 0 !== relevantTouch.clientX ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = void 0 !== relevantTouch.clientY ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = void 0 !== e.layerX ? e.layerX : e.offsetX, this.offsetY = void 0 !== e.layerY ? e.layerY : e.offsetY) : (this.offsetX = goog.userAgent.WEBKIT ||
- void 0 !== e.offsetX ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || void 0 !== e.offsetY ? e.offsetY : e.layerY), this.clientX = void 0 !== e.clientX ? e.clientX : e.pageX, this.clientY = void 0 !== e.clientY ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
- this.button = e.button;
- this.keyCode = e.keyCode || 0;
- this.key = e.key || "";
- this.charCode = e.charCode || ("keypress" == type ? e.keyCode : 0);
- this.ctrlKey = e.ctrlKey;
- this.altKey = e.altKey;
- this.shiftKey = e.shiftKey;
- this.metaKey = e.metaKey;
- this.platformModifierKey = goog.userAgent.MAC ? e.metaKey : e.ctrlKey;
- this.pointerId = e.pointerId || 0;
- this.pointerType = goog.events.BrowserEvent.getPointerType_(e);
- this.state = e.state;
- this.event_ = e;
- e.defaultPrevented && goog.events.BrowserEvent.superClass_.preventDefault.call(this);
+goog.string.internal.caseInsensitiveEquals = function(str1, str2) {
+ return str1.toLowerCase() == str2.toLowerCase();
};
-goog.events.BrowserEvent.prototype.isButton = function(button) {
- return this.event_.button == button;
+goog.string.internal.isEmptyOrWhitespace = function(str) {
+ return /^[\s\xa0]*$/.test(str);
};
-goog.events.BrowserEvent.prototype.isMouseActionButton = function() {
- return this.isButton(goog.events.BrowserEvent.MouseButton.LEFT) && !(goog.userAgent.MAC && this.ctrlKey);
+goog.string.internal.trim = goog.TRUSTED_SITE && String.prototype.trim ? function(str) {
+ return str.trim();
+} : function(str) {
+ return /^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(str)[1];
};
-goog.events.BrowserEvent.prototype.stopPropagation = function() {
- goog.events.BrowserEvent.superClass_.stopPropagation.call(this);
- this.event_.stopPropagation ? this.event_.stopPropagation() : this.event_.cancelBubble = !0;
+goog.string.internal.caseInsensitiveCompare = function(str1, str2) {
+ var test1 = String(str1).toLowerCase(), test2 = String(str2).toLowerCase();
+ return test1 < test2 ? -1 : test1 == test2 ? 0 : 1;
};
-goog.events.BrowserEvent.prototype.preventDefault = function() {
- goog.events.BrowserEvent.superClass_.preventDefault.call(this);
- var be = this.event_;
- be.preventDefault ? be.preventDefault() : be.returnValue = !1;
+goog.string.internal.newLineToBr = function(str, opt_xml) {
+ return str.replace(/(\r\n|\r|\n)/g, opt_xml ? "
" : "
");
};
-goog.events.BrowserEvent.prototype.getBrowserEvent = function() {
- return this.event_;
+goog.string.internal.htmlEscape = function(str, opt_isLikelyToContainHtmlChars) {
+ if (opt_isLikelyToContainHtmlChars) {
+ str = str.replace(goog.string.internal.AMP_RE_, "&").replace(goog.string.internal.LT_RE_, "<").replace(goog.string.internal.GT_RE_, ">").replace(goog.string.internal.QUOT_RE_, """).replace(goog.string.internal.SINGLE_QUOTE_RE_, "'").replace(goog.string.internal.NULL_RE_, "");
+ } else {
+ if (!goog.string.internal.ALL_RE_.test(str)) {
+ return str;
+ }
+ -1 != str.indexOf("&") && (str = str.replace(goog.string.internal.AMP_RE_, "&"));
+ -1 != str.indexOf("<") && (str = str.replace(goog.string.internal.LT_RE_, "<"));
+ -1 != str.indexOf(">") && (str = str.replace(goog.string.internal.GT_RE_, ">"));
+ -1 != str.indexOf('"') && (str = str.replace(goog.string.internal.QUOT_RE_, """));
+ -1 != str.indexOf("'") && (str = str.replace(goog.string.internal.SINGLE_QUOTE_RE_, "'"));
+ -1 != str.indexOf("\x00") && (str = str.replace(goog.string.internal.NULL_RE_, ""));
+ }
+ return str;
+};
+goog.string.internal.AMP_RE_ = /&/g;
+goog.string.internal.LT_RE_ = //g;
+goog.string.internal.QUOT_RE_ = /"/g;
+goog.string.internal.SINGLE_QUOTE_RE_ = /'/g;
+goog.string.internal.NULL_RE_ = /\x00/g;
+goog.string.internal.ALL_RE_ = /[\x00&<>"']/;
+goog.string.internal.whitespaceEscape = function(str, opt_xml) {
+ return goog.string.internal.newLineToBr(str.replace(/ /g, " "), opt_xml);
+};
+goog.string.internal.contains = function(str, subString) {
+ return -1 != str.indexOf(subString);
+};
+goog.string.internal.caseInsensitiveContains = function(str, subString) {
+ return goog.string.internal.contains(str.toLowerCase(), subString.toLowerCase());
+};
+goog.string.internal.compareVersions = function(version1, version2) {
+ for (var order = 0, v1Subs = goog.string.internal.trim(String(version1)).split("."), v2Subs = goog.string.internal.trim(String(version2)).split("."), subCount = Math.max(v1Subs.length, v2Subs.length), subIdx = 0; 0 == order && subIdx < subCount; subIdx++) {
+ var v1Sub = v1Subs[subIdx] || "", v2Sub = v2Subs[subIdx] || "";
+ do {
+ var v1Comp = /(\d*)(\D*)(.*)/.exec(v1Sub) || ["", "", "", ""], v2Comp = /(\d*)(\D*)(.*)/.exec(v2Sub) || ["", "", "", ""];
+ if (0 == v1Comp[0].length && 0 == v2Comp[0].length) {
+ break;
+ }
+ order = goog.string.internal.compareElements_(0 == v1Comp[1].length ? 0 : parseInt(v1Comp[1], 10), 0 == v2Comp[1].length ? 0 : parseInt(v2Comp[1], 10)) || goog.string.internal.compareElements_(0 == v1Comp[2].length, 0 == v2Comp[2].length) || goog.string.internal.compareElements_(v1Comp[2], v2Comp[2]);
+ v1Sub = v1Comp[3];
+ v2Sub = v2Comp[3];
+ } while (0 == order);
+ }
+ return order;
+};
+goog.string.internal.compareElements_ = function(left, right) {
+ return left < right ? -1 : left > right ? 1 : 0;
+};
+goog.labs.userAgent.util = {};
+function module$contents$goog$labs$userAgent$util_getNativeUserAgentString() {
+ var navigator = module$contents$goog$labs$userAgent$util_getNavigator();
+ if (navigator) {
+ var userAgent = navigator.userAgent;
+ if (userAgent) {
+ return userAgent;
+ }
+ }
+ return "";
+}
+function module$contents$goog$labs$userAgent$util_getNativeUserAgentData() {
+ var navigator = module$contents$goog$labs$userAgent$util_getNavigator();
+ return navigator ? navigator.userAgentData || null : null;
+}
+function module$contents$goog$labs$userAgent$util_getNavigator() {
+ return goog.global.navigator;
+}
+var module$contents$goog$labs$userAgent$util_userAgentInternal = null, module$contents$goog$labs$userAgent$util_userAgentDataInternal = module$contents$goog$labs$userAgent$util_getNativeUserAgentData();
+function module$contents$goog$labs$userAgent$util_getUserAgent() {
+ return null == module$contents$goog$labs$userAgent$util_userAgentInternal ? module$contents$goog$labs$userAgent$util_getNativeUserAgentString() : module$contents$goog$labs$userAgent$util_userAgentInternal;
+}
+function module$contents$goog$labs$userAgent$util_getUserAgentData() {
+ return module$contents$goog$labs$userAgent$util_userAgentDataInternal;
+}
+function module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(str) {
+ if (!(0,goog.labs.userAgent.useClientHints)()) {
+ return !1;
+ }
+ var data = module$contents$goog$labs$userAgent$util_getUserAgentData();
+ return data ? data.brands.some(function($jscomp$destructuring$var0) {
+ var brand = $jscomp$destructuring$var0.brand;
+ return brand && (0,goog.string.internal.contains)(brand, str);
+ }) : !1;
+}
+function module$contents$goog$labs$userAgent$util_matchUserAgent(str) {
+ return (0,goog.string.internal.contains)(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
+}
+function module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase(str) {
+ return (0,goog.string.internal.caseInsensitiveContains)(module$contents$goog$labs$userAgent$util_getUserAgent(), str);
+}
+function module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgent) {
+ for (var versionRegExp = RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?", "g"), data = [], match; match = versionRegExp.exec(userAgent);) {
+ data.push([match[1], match[2], match[3] || void 0]);
+ }
+ return data;
+}
+goog.labs.userAgent.util.ASSUME_CLIENT_HINTS_SUPPORT = !1;
+goog.labs.userAgent.util.extractVersionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples;
+goog.labs.userAgent.util.getNativeUserAgentString = module$contents$goog$labs$userAgent$util_getNativeUserAgentString;
+goog.labs.userAgent.util.getUserAgent = module$contents$goog$labs$userAgent$util_getUserAgent;
+goog.labs.userAgent.util.getUserAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData;
+goog.labs.userAgent.util.matchUserAgent = module$contents$goog$labs$userAgent$util_matchUserAgent;
+goog.labs.userAgent.util.matchUserAgentDataBrand = module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand;
+goog.labs.userAgent.util.matchUserAgentIgnoreCase = module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase;
+goog.labs.userAgent.util.resetUserAgentData = function() {
+ module$contents$goog$labs$userAgent$util_userAgentDataInternal = module$contents$goog$labs$userAgent$util_getNativeUserAgentData();
};
-goog.events.BrowserEvent.getPointerType_ = function(e) {
- return "string" === typeof e.pointerType ? e.pointerType : goog.events.BrowserEvent.IE_POINTER_TYPE_MAP[e.pointerType] || "";
+goog.labs.userAgent.util.setUserAgent = function(userAgent) {
+ module$contents$goog$labs$userAgent$util_userAgentInternal = "string" === typeof userAgent ? userAgent : module$contents$goog$labs$userAgent$util_getNativeUserAgentString();
};
-goog.events.Listenable = function() {
+goog.labs.userAgent.util.setUserAgentData = function(userAgentData) {
+ module$contents$goog$labs$userAgent$util_userAgentDataInternal = userAgentData;
};
-goog.events.Listenable.IMPLEMENTED_BY_PROP = "closure_listenable_" + (1E6 * Math.random() | 0);
-goog.events.Listenable.addImplementation = function(cls) {
- cls.prototype[goog.events.Listenable.IMPLEMENTED_BY_PROP] = !0;
+var module$exports$goog$labs$userAgent$highEntropy$highEntropyValue = {AsyncValue:function() {
+}};
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.getIfLoaded = function() {
};
-goog.events.Listenable.isImplementedBy = function(obj) {
- return !(!obj || !obj[goog.events.Listenable.IMPLEMENTED_BY_PROP]);
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.AsyncValue.prototype.load = function() {
};
-goog.events.Listenable.prototype.listen = function(type, listener, opt_useCapture, opt_listenerScope) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue = function(key) {
+ this.key_ = key;
+ this.promise_ = this.value_ = void 0;
+ this.pending_ = !1;
};
-goog.events.Listenable.prototype.listenOnce = function(type, listener, opt_useCapture, opt_listenerScope) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.getIfLoaded = function() {
+ if (module$contents$goog$labs$userAgent$util_getUserAgentData()) {
+ return this.value_;
+ }
};
-goog.events.Listenable.prototype.unlisten = function(type, listener, opt_useCapture, opt_listenerScope) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.load = function() {
+ var $jscomp$async$this = this, userAgentData;
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$1) {
+ if (1 == $jscomp$generator$context$m2110036436$1.nextAddress) {
+ userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
+ if (!userAgentData) {
+ return $jscomp$generator$context$m2110036436$1.return(void 0);
+ }
+ $jscomp$async$this.promise_ || ($jscomp$async$this.pending_ = !0, $jscomp$async$this.promise_ = function() {
+ var dataValues;
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m2110036436$0) {
+ if (1 == $jscomp$generator$context$m2110036436$0.nextAddress) {
+ return $jscomp$generator$context$m2110036436$0.setFinallyBlock(2), $jscomp$generator$context$m2110036436$0.yield(userAgentData.getHighEntropyValues([$jscomp$async$this.key_]), 4);
+ }
+ if (2 != $jscomp$generator$context$m2110036436$0.nextAddress) {
+ return dataValues = $jscomp$generator$context$m2110036436$0.yieldResult, $jscomp$async$this.value_ = dataValues[$jscomp$async$this.key_], $jscomp$generator$context$m2110036436$0.return($jscomp$async$this.value_);
+ }
+ $jscomp$generator$context$m2110036436$0.enterFinallyBlock();
+ $jscomp$async$this.pending_ = !1;
+ return $jscomp$generator$context$m2110036436$0.leaveFinallyBlock(0);
+ });
+ }());
+ return $jscomp$generator$context$m2110036436$1.yield($jscomp$async$this.promise_, 2);
+ }
+ return $jscomp$generator$context$m2110036436$1.return($jscomp$generator$context$m2110036436$1.yieldResult);
+ });
};
-goog.events.Listenable.prototype.unlistenByKey = function(key) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue.prototype.resetForTesting = function() {
+ if (this.pending_) {
+ throw Error("Unsafe call to resetForTesting");
+ }
+ this.value_ = this.promise_ = void 0;
+ this.pending_ = !1;
};
-goog.events.Listenable.prototype.dispatchEvent = function(e) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version = function(versionString) {
+ this.versionString_ = versionString;
};
-goog.events.Listenable.prototype.removeAllListeners = function(opt_type) {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.toVersionStringForLogging = function() {
+ return this.versionString_;
};
-goog.events.Listenable.prototype.getParentEventTarget = function() {
+module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version.prototype.isAtLeast = function(version) {
+ return 0 <= (0,goog.string.internal.compareVersions)(this.versionString_, version);
};
-goog.events.Listenable.prototype.fireListeners = function(type, capture, eventObject) {
+var module$exports$goog$labs$userAgent$highEntropy$highEntropyData = {};
+module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("fullVersionList");
+module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.HighEntropyValue("platformVersion");
+goog.labs.userAgent.browser = {};
+var module$contents$goog$labs$userAgent$browser_Brand = {ANDROID_BROWSER:"Android Browser", CHROMIUM:"Chromium", EDGE:"Microsoft Edge", FIREFOX:"Firefox", IE:"Internet Explorer", OPERA:"Opera", SAFARI:"Safari", SILK:"Silk"};
+goog.labs.userAgent.browser.Brand = module$contents$goog$labs$userAgent$browser_Brand;
+var module$contents$goog$labs$userAgent$browser_AllBrandsInternal;
+function module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(ignoreClientHintsFlag) {
+ if (!(void 0 !== ignoreClientHintsFlag && ignoreClientHintsFlag || (0,goog.labs.userAgent.useClientHints)())) {
+ return !1;
+ }
+ var userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
+ return !!userAgentData && 0 < userAgentData.brands.length;
+}
+function module$contents$goog$labs$userAgent$browser_hasFullVersionList() {
+ return module$contents$goog$labs$userAgent$browser_isAtLeast(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM, 98);
+}
+function module$contents$goog$labs$userAgent$browser_matchOpera() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Opera");
+}
+function module$contents$goog$labs$userAgent$browser_matchIE() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Trident") || module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE");
+}
+function module$contents$goog$labs$userAgent$browser_matchEdgeHtml() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Edge");
+}
+function module$contents$goog$labs$userAgent$browser_matchEdgeChromium() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.EDGE) : module$contents$goog$labs$userAgent$util_matchUserAgent("Edg/");
+}
+function module$contents$goog$labs$userAgent$browser_matchOperaChromium() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.OPERA) : module$contents$goog$labs$userAgent$util_matchUserAgent("OPR");
+}
+function module$contents$goog$labs$userAgent$browser_matchFirefox() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Firefox") || module$contents$goog$labs$userAgent$util_matchUserAgent("FxiOS");
+}
+function module$contents$goog$labs$userAgent$browser_matchSafari() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Safari") && !(module$contents$goog$labs$userAgent$browser_matchChrome() || module$contents$goog$labs$userAgent$browser_matchCoast() || module$contents$goog$labs$userAgent$browser_matchOpera() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml() || module$contents$goog$labs$userAgent$browser_matchEdgeChromium() || module$contents$goog$labs$userAgent$browser_matchOperaChromium() || module$contents$goog$labs$userAgent$browser_matchFirefox() ||
+ module$contents$goog$labs$userAgent$browser_isSilk() || module$contents$goog$labs$userAgent$util_matchUserAgent("Android"));
+}
+function module$contents$goog$labs$userAgent$browser_matchCoast() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? !1 : module$contents$goog$labs$userAgent$util_matchUserAgent("Coast");
+}
+function module$contents$goog$labs$userAgent$browser_matchChrome() {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() ? module$contents$goog$labs$userAgent$util_matchUserAgentDataBrand(module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM) : (module$contents$goog$labs$userAgent$util_matchUserAgent("Chrome") || module$contents$goog$labs$userAgent$util_matchUserAgent("CriOS")) && !module$contents$goog$labs$userAgent$browser_matchEdgeHtml() || module$contents$goog$labs$userAgent$browser_isSilk();
+}
+function module$contents$goog$labs$userAgent$browser_matchAndroidBrowser() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Android") && !(module$contents$goog$labs$userAgent$browser_matchChrome() || module$contents$goog$labs$userAgent$browser_matchFirefox() || module$contents$goog$labs$userAgent$browser_matchOpera() || module$contents$goog$labs$userAgent$browser_isSilk());
+}
+var module$contents$goog$labs$userAgent$browser_isOpera = module$contents$goog$labs$userAgent$browser_matchOpera;
+goog.labs.userAgent.browser.isOpera = module$contents$goog$labs$userAgent$browser_matchOpera;
+var module$contents$goog$labs$userAgent$browser_isIE = module$contents$goog$labs$userAgent$browser_matchIE;
+goog.labs.userAgent.browser.isIE = module$contents$goog$labs$userAgent$browser_matchIE;
+var module$contents$goog$labs$userAgent$browser_isEdge = module$contents$goog$labs$userAgent$browser_matchEdgeHtml;
+goog.labs.userAgent.browser.isEdge = module$contents$goog$labs$userAgent$browser_matchEdgeHtml;
+var module$contents$goog$labs$userAgent$browser_isEdgeChromium = module$contents$goog$labs$userAgent$browser_matchEdgeChromium;
+goog.labs.userAgent.browser.isEdgeChromium = module$contents$goog$labs$userAgent$browser_matchEdgeChromium;
+var module$contents$goog$labs$userAgent$browser_isOperaChromium = module$contents$goog$labs$userAgent$browser_matchOperaChromium;
+goog.labs.userAgent.browser.isOperaChromium = module$contents$goog$labs$userAgent$browser_matchOperaChromium;
+var module$contents$goog$labs$userAgent$browser_isFirefox = module$contents$goog$labs$userAgent$browser_matchFirefox;
+goog.labs.userAgent.browser.isFirefox = module$contents$goog$labs$userAgent$browser_matchFirefox;
+var module$contents$goog$labs$userAgent$browser_isSafari = module$contents$goog$labs$userAgent$browser_matchSafari;
+goog.labs.userAgent.browser.isSafari = module$contents$goog$labs$userAgent$browser_matchSafari;
+var module$contents$goog$labs$userAgent$browser_isCoast = module$contents$goog$labs$userAgent$browser_matchCoast;
+goog.labs.userAgent.browser.isCoast = module$contents$goog$labs$userAgent$browser_matchCoast;
+goog.labs.userAgent.browser.isIosWebview = function() {
+ return (module$contents$goog$labs$userAgent$util_matchUserAgent("iPad") || module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone")) && !module$contents$goog$labs$userAgent$browser_matchSafari() && !module$contents$goog$labs$userAgent$browser_matchChrome() && !module$contents$goog$labs$userAgent$browser_matchCoast() && !module$contents$goog$labs$userAgent$browser_matchFirefox() && module$contents$goog$labs$userAgent$util_matchUserAgent("AppleWebKit");
};
-goog.events.Listenable.prototype.getListeners = function(type, capture) {
+var module$contents$goog$labs$userAgent$browser_isChrome = module$contents$goog$labs$userAgent$browser_matchChrome;
+goog.labs.userAgent.browser.isChrome = module$contents$goog$labs$userAgent$browser_matchChrome;
+var module$contents$goog$labs$userAgent$browser_isAndroidBrowser = module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;
+goog.labs.userAgent.browser.isAndroidBrowser = module$contents$goog$labs$userAgent$browser_matchAndroidBrowser;
+function module$contents$goog$labs$userAgent$browser_isSilk() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Silk");
+}
+goog.labs.userAgent.browser.isSilk = module$contents$goog$labs$userAgent$browser_isSilk;
+function module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples) {
+ var versionMap = {};
+ versionTuples.forEach(function(tuple) {
+ versionMap[tuple[0]] = tuple[1];
+ });
+ return function(keys) {
+ return versionMap[keys.find(function(key) {
+ return key in versionMap;
+ })] || "";
+ };
+}
+function module$contents$goog$labs$userAgent$browser_getVersion() {
+ var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
+ if (module$contents$goog$labs$userAgent$browser_matchIE()) {
+ return module$contents$goog$labs$userAgent$browser_getIEVersion(userAgentString);
+ }
+ var versionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), lookUpValueWithKeys = module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples);
+ if (module$contents$goog$labs$userAgent$browser_matchOpera()) {
+ return lookUpValueWithKeys(["Version", "Opera"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) {
+ return lookUpValueWithKeys(["Edge"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_matchEdgeChromium()) {
+ return lookUpValueWithKeys(["Edg"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_isSilk()) {
+ return lookUpValueWithKeys(["Silk"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_matchChrome()) {
+ return lookUpValueWithKeys(["Chrome", "CriOS", "HeadlessChrome"]);
+ }
+ var tuple = versionTuples[2];
+ return tuple && tuple[1] || "";
+}
+goog.labs.userAgent.browser.getVersion = module$contents$goog$labs$userAgent$browser_getVersion;
+goog.labs.userAgent.browser.isVersionOrHigher = function(version) {
+ return 0 <= (0,goog.string.internal.compareVersions)(module$contents$goog$labs$userAgent$browser_getVersion(), version);
};
-goog.events.Listenable.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
+function module$contents$goog$labs$userAgent$browser_getIEVersion(userAgent) {
+ var rv = /rv: *([\d\.]*)/.exec(userAgent);
+ if (rv && rv[1]) {
+ return rv[1];
+ }
+ var version = "", msie = /MSIE +([\d\.]+)/.exec(userAgent);
+ if (msie && msie[1]) {
+ var tridentVersion = /Trident\/(\d.\d)/.exec(userAgent);
+ if ("7.0" == msie[1]) {
+ if (tridentVersion && tridentVersion[1]) {
+ switch(tridentVersion[1]) {
+ case "4.0":
+ version = "8.0";
+ break;
+ case "5.0":
+ version = "9.0";
+ break;
+ case "6.0":
+ version = "10.0";
+ break;
+ case "7.0":
+ version = "11.0";
+ }
+ } else {
+ version = "7.0";
+ }
+ } else {
+ version = msie[1];
+ }
+ }
+ return version;
+}
+function module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser) {
+ var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
+ if (browser === module$contents$goog$labs$userAgent$browser_Brand.IE) {
+ return module$contents$goog$labs$userAgent$browser_matchIE() ? module$contents$goog$labs$userAgent$browser_getIEVersion(userAgentString) : "";
+ }
+ var versionTuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), lookUpValueWithKeys = module$contents$goog$labs$userAgent$browser_createVersionMap(versionTuples);
+ switch(browser) {
+ case module$contents$goog$labs$userAgent$browser_Brand.OPERA:
+ if (module$contents$goog$labs$userAgent$browser_matchOpera()) {
+ return lookUpValueWithKeys(["Version", "Opera"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_matchOperaChromium()) {
+ return lookUpValueWithKeys(["OPR"]);
+ }
+ break;
+ case module$contents$goog$labs$userAgent$browser_Brand.EDGE:
+ if (module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) {
+ return lookUpValueWithKeys(["Edge"]);
+ }
+ if (module$contents$goog$labs$userAgent$browser_matchEdgeChromium()) {
+ return lookUpValueWithKeys(["Edg"]);
+ }
+ break;
+ case module$contents$goog$labs$userAgent$browser_Brand.CHROMIUM:
+ if (module$contents$goog$labs$userAgent$browser_matchChrome()) {
+ return lookUpValueWithKeys(["Chrome", "CriOS", "HeadlessChrome"]);
+ }
+ }
+ if (browser === module$contents$goog$labs$userAgent$browser_Brand.FIREFOX && module$contents$goog$labs$userAgent$browser_matchFirefox() || browser === module$contents$goog$labs$userAgent$browser_Brand.SAFARI && module$contents$goog$labs$userAgent$browser_matchSafari() || browser === module$contents$goog$labs$userAgent$browser_Brand.ANDROID_BROWSER && module$contents$goog$labs$userAgent$browser_matchAndroidBrowser() || browser === module$contents$goog$labs$userAgent$browser_Brand.SILK && module$contents$goog$labs$userAgent$browser_isSilk()) {
+ var tuple = versionTuples[2];
+ return tuple && tuple[1] || "";
+ }
+ return "";
+}
+function module$contents$goog$labs$userAgent$browser_versionOf_(browser) {
+ if (module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand() && browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK) {
+ var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var2) {
+ return $jscomp$destructuring$var2.brand === browser;
+ });
+ if (!matchingBrand || !matchingBrand.version) {
+ return NaN;
+ }
+ var versionParts = matchingBrand.version.split(".");
+ } else {
+ var fullVersion = module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser);
+ if ("" === fullVersion) {
+ return NaN;
+ }
+ versionParts = fullVersion.split(".");
+ }
+ return 0 === versionParts.length ? NaN : Number(versionParts[0]);
+}
+function module$contents$goog$labs$userAgent$browser_isAtLeast(brand, majorVersion) {
+ (0,goog.asserts.assert)(Math.floor(majorVersion) === majorVersion, "Major version must be an integer");
+ return module$contents$goog$labs$userAgent$browser_versionOf_(brand) >= majorVersion;
+}
+goog.labs.userAgent.browser.isAtLeast = module$contents$goog$labs$userAgent$browser_isAtLeast;
+goog.labs.userAgent.browser.isAtMost = function(brand, majorVersion) {
+ (0,goog.asserts.assert)(Math.floor(majorVersion) === majorVersion, "Major version must be an integer");
+ return module$contents$goog$labs$userAgent$browser_versionOf_(brand) <= majorVersion;
};
-goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
+var module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion = function(brand, useUach, fallbackVersion) {
+ this.brand_ = brand;
+ this.version_ = new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(fallbackVersion);
+ this.useUach_ = useUach;
};
-goog.events.ListenableKey = function() {
+module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.getIfLoaded = function() {
+ var $jscomp$this = this;
+ if (this.useUach_) {
+ var loadedVersionList = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.getIfLoaded();
+ if (void 0 !== loadedVersionList) {
+ var matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var4) {
+ return $jscomp$this.brand_ === $jscomp$destructuring$var4.brand;
+ });
+ (0,goog.asserts.assertExists)(matchingBrand);
+ return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version);
+ }
+ }
+ if (module$contents$goog$labs$userAgent$browser_preUachHasLoaded) {
+ return this.version_;
+ }
};
-goog.events.ListenableKey.counter_ = 0;
-goog.events.ListenableKey.reserveKey = function() {
- return ++goog.events.ListenableKey.counter_;
+module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion.prototype.load = function() {
+ var $jscomp$async$this = this, loadedVersionList, matchingBrand;
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$0) {
+ if (1 == $jscomp$generator$context$1683157560$0.nextAddress) {
+ return $jscomp$async$this.useUach_ ? $jscomp$generator$context$1683157560$0.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 5) : $jscomp$generator$context$1683157560$0.yield(0, 3);
+ }
+ if (3 != $jscomp$generator$context$1683157560$0.nextAddress && (loadedVersionList = $jscomp$generator$context$1683157560$0.yieldResult, void 0 !== loadedVersionList)) {
+ return matchingBrand = loadedVersionList.find(function($jscomp$destructuring$var6) {
+ return $jscomp$async$this.brand_ === $jscomp$destructuring$var6.brand;
+ }), (0,goog.asserts.assertExists)(matchingBrand), $jscomp$generator$context$1683157560$0.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(matchingBrand.version));
+ }
+ module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
+ return $jscomp$generator$context$1683157560$0.return($jscomp$async$this.version_);
+ });
};
-goog.events.Listener = function(listener, proxy, src, type, capture, opt_handler) {
- goog.events.Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
- this.listener = listener;
- this.proxy = proxy;
- this.src = src;
- this.type = type;
- this.capture = !!capture;
- this.handler = opt_handler;
- this.key = goog.events.ListenableKey.reserveKey();
- this.removed = this.callOnce = !1;
+var module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
+goog.labs.userAgent.browser.loadFullVersions = function() {
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$1683157560$1) {
+ if (1 == $jscomp$generator$context$1683157560$1.nextAddress) {
+ return module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0) ? $jscomp$generator$context$1683157560$1.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.load(), 2) : $jscomp$generator$context$1683157560$1.jumpTo(2);
+ }
+ module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !0;
+ $jscomp$generator$context$1683157560$1.jumpToEnd();
+ });
};
-goog.events.Listener.ENABLE_MONITORING = !1;
-goog.events.Listener.prototype.markAsRemoved = function() {
- this.removed = !0;
- this.handler = this.src = this.proxy = this.listener = null;
+goog.labs.userAgent.browser.resetForTesting = function() {
+ module$contents$goog$labs$userAgent$browser_preUachHasLoaded = !1;
+ module$exports$goog$labs$userAgent$highEntropy$highEntropyData.fullVersionList.resetForTesting();
};
-goog.object = {};
-function module$contents$goog$object_forEach(obj, f, opt_obj) {
- for (var key in obj) {
- f.call(opt_obj, obj[key], key, obj);
- }
-}
-function module$contents$goog$object_filter(obj, f, opt_obj) {
- var res = {}, key;
- for (key in obj) {
- f.call(opt_obj, obj[key], key, obj) && (res[key] = obj[key]);
- }
- return res;
-}
-function module$contents$goog$object_map(obj, f, opt_obj) {
- var res = {}, key;
- for (key in obj) {
- res[key] = f.call(opt_obj, obj[key], key, obj);
- }
- return res;
-}
-function module$contents$goog$object_some(obj, f, opt_obj) {
- for (var key in obj) {
- if (f.call(opt_obj, obj[key], key, obj)) {
- return !0;
+function module$contents$goog$labs$userAgent$browser_fullVersionOf(browser) {
+ var fallbackVersionString = "";
+ module$contents$goog$labs$userAgent$browser_hasFullVersionList() || (fallbackVersionString = module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser));
+ var useUach = browser !== module$contents$goog$labs$userAgent$browser_Brand.SILK && module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0);
+ if (useUach) {
+ if (!module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var8) {
+ return $jscomp$destructuring$var8.brand === browser;
+ })) {
+ return;
}
+ } else if ("" === fallbackVersionString) {
+ return;
}
- return !1;
+ return new module$contents$goog$labs$userAgent$browser_HighEntropyBrandVersion(browser, useUach, fallbackVersionString);
}
-function module$contents$goog$object_getCount(obj) {
- var rv = 0, key;
- for (key in obj) {
- rv++;
+goog.labs.userAgent.browser.fullVersionOf = module$contents$goog$labs$userAgent$browser_fullVersionOf;
+goog.labs.userAgent.browser.getVersionStringForLogging = function(browser) {
+ if (module$contents$goog$labs$userAgent$browser_useUserAgentDataBrand(!0)) {
+ var fullVersionObj = module$contents$goog$labs$userAgent$browser_fullVersionOf(browser);
+ if (fullVersionObj) {
+ var fullVersion = fullVersionObj.getIfLoaded();
+ if (fullVersion) {
+ return fullVersion.toVersionStringForLogging();
+ }
+ var matchingBrand = module$contents$goog$labs$userAgent$util_getUserAgentData().brands.find(function($jscomp$destructuring$var10) {
+ return $jscomp$destructuring$var10.brand === browser;
+ });
+ (0,goog.asserts.assertExists)(matchingBrand);
+ return matchingBrand.version;
+ }
+ return "";
}
- return rv;
+ return module$contents$goog$labs$userAgent$browser_getFullVersionFromUserAgentString(browser);
+};
+goog.labs.userAgent.engine = {};
+function module$contents$goog$labs$userAgent$engine_isPresto() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Presto");
}
-function module$contents$goog$object_contains(obj, val) {
- return module$contents$goog$object_containsValue(obj, val);
+function module$contents$goog$labs$userAgent$engine_isTrident() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Trident") || module$contents$goog$labs$userAgent$util_matchUserAgent("MSIE");
}
-function module$contents$goog$object_getValues(obj) {
- var res = [], i = 0, key;
- for (key in obj) {
- res[i++] = obj[key];
- }
- return res;
+function module$contents$goog$labs$userAgent$engine_isEdge() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Edge");
}
-function module$contents$goog$object_getKeys(obj) {
- var res = [], i = 0, key;
- for (key in obj) {
- res[i++] = key;
- }
- return res;
+function module$contents$goog$labs$userAgent$engine_isWebKit() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("WebKit") && !module$contents$goog$labs$userAgent$engine_isEdge();
}
-function module$contents$goog$object_containsKey(obj, key) {
- return null !== obj && key in obj;
+function module$contents$goog$labs$userAgent$engine_isGecko() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("Gecko") && !module$contents$goog$labs$userAgent$engine_isWebKit() && !module$contents$goog$labs$userAgent$engine_isTrident() && !module$contents$goog$labs$userAgent$engine_isEdge();
}
-function module$contents$goog$object_containsValue(obj, val) {
- for (var key in obj) {
- if (obj[key] == val) {
- return !0;
+function module$contents$goog$labs$userAgent$engine_getVersion() {
+ var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent();
+ if (userAgentString) {
+ var tuples = module$contents$goog$labs$userAgent$util_extractVersionTuples(userAgentString), engineTuple = module$contents$goog$labs$userAgent$engine_getEngineTuple(tuples);
+ if (engineTuple) {
+ return "Gecko" == engineTuple[0] ? module$contents$goog$labs$userAgent$engine_getVersionForKey(tuples, "Firefox") : engineTuple[1];
+ }
+ var browserTuple = tuples[0], info;
+ if (browserTuple && (info = browserTuple[2])) {
+ var match = /Trident\/([^\s;]+)/.exec(info);
+ if (match) {
+ return match[1];
+ }
}
}
- return !1;
+ return "";
}
-function module$contents$goog$object_findKey(obj, f, thisObj) {
- for (var key in obj) {
- if (f.call(thisObj, obj[key], key, obj)) {
- return key;
+function module$contents$goog$labs$userAgent$engine_getEngineTuple(tuples) {
+ if (!module$contents$goog$labs$userAgent$engine_isEdge()) {
+ return tuples[1];
+ }
+ for (var i = 0; i < tuples.length; i++) {
+ var tuple = tuples[i];
+ if ("Edge" == tuple[0]) {
+ return tuple;
}
}
}
-function module$contents$goog$object_isEmpty(obj) {
- for (var key in obj) {
+function module$contents$goog$labs$userAgent$engine_getVersionForKey(tuples, key) {
+ var pair = module$contents$goog$array_find(tuples, function(pair) {
+ return key == pair[0];
+ });
+ return pair && pair[1] || "";
+}
+goog.labs.userAgent.engine.getVersion = module$contents$goog$labs$userAgent$engine_getVersion;
+goog.labs.userAgent.engine.isEdge = module$contents$goog$labs$userAgent$engine_isEdge;
+goog.labs.userAgent.engine.isGecko = module$contents$goog$labs$userAgent$engine_isGecko;
+goog.labs.userAgent.engine.isPresto = module$contents$goog$labs$userAgent$engine_isPresto;
+goog.labs.userAgent.engine.isTrident = module$contents$goog$labs$userAgent$engine_isTrident;
+goog.labs.userAgent.engine.isVersionOrHigher = function(version) {
+ return 0 <= goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$engine_getVersion(), version);
+};
+goog.labs.userAgent.engine.isWebKit = module$contents$goog$labs$userAgent$engine_isWebKit;
+goog.labs.userAgent.platform = {};
+function module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(ignoreClientHintsFlag) {
+ if (!(void 0 !== ignoreClientHintsFlag && ignoreClientHintsFlag || (0,goog.labs.userAgent.useClientHints)())) {
return !1;
}
- return !0;
+ var userAgentData = module$contents$goog$labs$userAgent$util_getUserAgentData();
+ return !!userAgentData && !!userAgentData.platform;
}
-function module$contents$goog$object_clear(obj) {
- for (var i in obj) {
- delete obj[i];
- }
+function module$contents$goog$labs$userAgent$platform_isAndroid() {
+ return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Android" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Android");
}
-function module$contents$goog$object_remove(obj, key) {
- var rv;
- (rv = key in obj) && delete obj[key];
- return rv;
+function module$contents$goog$labs$userAgent$platform_isIpod() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("iPod");
}
-function module$contents$goog$object_set(obj, key, value) {
- obj[key] = value;
+function module$contents$goog$labs$userAgent$platform_isIphone() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("iPhone") && !module$contents$goog$labs$userAgent$util_matchUserAgent("iPod") && !module$contents$goog$labs$userAgent$util_matchUserAgent("iPad");
}
-function module$contents$goog$object_clone(obj) {
- var res = {}, key;
- for (key in obj) {
- res[key] = obj[key];
- }
- return res;
+function module$contents$goog$labs$userAgent$platform_isIpad() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("iPad");
}
-function module$contents$goog$object_unsafeClone(obj) {
- if (!obj || "object" !== typeof obj) {
- return obj;
- }
- if ("function" === typeof obj.clone) {
- return obj.clone();
- }
- if ("undefined" !== typeof Map && obj instanceof Map) {
- return new Map(obj);
- }
- if ("undefined" !== typeof Set && obj instanceof Set) {
- return new Set(obj);
- }
- if (obj instanceof Date) {
- return new Date(obj.getTime());
- }
- var clone = Array.isArray(obj) ? [] : "function" !== typeof ArrayBuffer || "function" !== typeof ArrayBuffer.isView || !ArrayBuffer.isView(obj) || obj instanceof DataView ? {} : new obj.constructor(obj.length), key;
- for (key in obj) {
- clone[key] = module$contents$goog$object_unsafeClone(obj[key]);
- }
- return clone;
+function module$contents$goog$labs$userAgent$platform_isIos() {
+ return module$contents$goog$labs$userAgent$platform_isIphone() || module$contents$goog$labs$userAgent$platform_isIpad() || module$contents$goog$labs$userAgent$platform_isIpod();
+}
+function module$contents$goog$labs$userAgent$platform_isMacintosh() {
+ return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "macOS" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Macintosh");
+}
+function module$contents$goog$labs$userAgent$platform_isLinux() {
+ return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Linux" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Linux");
+}
+function module$contents$goog$labs$userAgent$platform_isWindows() {
+ return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Windows" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("Windows");
+}
+function module$contents$goog$labs$userAgent$platform_isChromeOS() {
+ return module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform() ? "Chrome OS" === module$contents$goog$labs$userAgent$util_getUserAgentData().platform : module$contents$goog$labs$userAgent$util_matchUserAgent("CrOS");
}
-var module$contents$goog$object_PROTOTYPE_FIELDS = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
-function module$contents$goog$object_extend(target, var_args) {
- for (var key, source, i = 1; i < arguments.length; i++) {
- source = arguments[i];
- for (key in source) {
- target[key] = source[key];
- }
- for (var j = 0; j < module$contents$goog$object_PROTOTYPE_FIELDS.length; j++) {
- key = module$contents$goog$object_PROTOTYPE_FIELDS[j], Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
- }
- }
+function module$contents$goog$labs$userAgent$platform_isKaiOS() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgentIgnoreCase("KaiOS");
}
-function module$contents$goog$object_create(var_args) {
- var argLength = arguments.length;
- if (1 == argLength && Array.isArray(arguments[0])) {
- return module$contents$goog$object_create.apply(null, arguments[0]);
- }
- if (argLength % 2) {
- throw Error("Uneven number of arguments");
- }
- for (var rv = {}, i = 0; i < argLength; i += 2) {
- rv[arguments[i]] = arguments[i + 1];
+function module$contents$goog$labs$userAgent$platform_getVersion() {
+ var userAgentString = module$contents$goog$labs$userAgent$util_getUserAgent(), version = "";
+ if (module$contents$goog$labs$userAgent$platform_isWindows()) {
+ var re = /Windows (?:NT|Phone) ([0-9.]+)/;
+ var match = re.exec(userAgentString);
+ version = match ? match[1] : "0.0";
+ } else if (module$contents$goog$labs$userAgent$platform_isIos()) {
+ re = /(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/;
+ var match$jscomp$0 = re.exec(userAgentString);
+ version = match$jscomp$0 && match$jscomp$0[1].replace(/_/g, ".");
+ } else if (module$contents$goog$labs$userAgent$platform_isMacintosh()) {
+ re = /Mac OS X ([0-9_.]+)/;
+ var match$jscomp$1 = re.exec(userAgentString);
+ version = match$jscomp$1 ? match$jscomp$1[1].replace(/_/g, ".") : "10";
+ } else if (module$contents$goog$labs$userAgent$platform_isKaiOS()) {
+ re = /(?:KaiOS)\/(\S+)/i;
+ var match$jscomp$2 = re.exec(userAgentString);
+ version = match$jscomp$2 && match$jscomp$2[1];
+ } else if (module$contents$goog$labs$userAgent$platform_isAndroid()) {
+ re = /Android\s+([^\);]+)(\)|;)/;
+ var match$jscomp$3 = re.exec(userAgentString);
+ version = match$jscomp$3 && match$jscomp$3[1];
+ } else if (module$contents$goog$labs$userAgent$platform_isChromeOS()) {
+ re = /(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/;
+ var match$jscomp$4 = re.exec(userAgentString);
+ version = match$jscomp$4 && match$jscomp$4[1];
}
- return rv;
+ return version || "";
}
-function module$contents$goog$object_createSet(var_args) {
- var argLength = arguments.length;
- if (1 == argLength && Array.isArray(arguments[0])) {
- return module$contents$goog$object_createSet.apply(null, arguments[0]);
- }
- for (var rv = {}, i = 0; i < argLength; i++) {
- rv[arguments[i]] = !0;
+var module$contents$goog$labs$userAgent$platform_PlatformVersion = function() {
+ this.preUachHasLoaded_ = !1;
+};
+module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.getIfLoaded = function() {
+ if (module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
+ var loadedPlatformVersion = module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.getIfLoaded();
+ return void 0 === loadedPlatformVersion ? void 0 : new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(loadedPlatformVersion);
}
- return rv;
-}
-goog.object.add = function module$contents$goog$object_add(obj, key, val) {
- if (null !== obj && key in obj) {
- throw Error('The object already contains the key "' + key + '"');
+ if (this.preUachHasLoaded_) {
+ return new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion());
}
- module$contents$goog$object_set(obj, key, val);
-};
-goog.object.clear = module$contents$goog$object_clear;
-goog.object.clone = module$contents$goog$object_clone;
-goog.object.contains = module$contents$goog$object_contains;
-goog.object.containsKey = module$contents$goog$object_containsKey;
-goog.object.containsValue = module$contents$goog$object_containsValue;
-goog.object.create = module$contents$goog$object_create;
-goog.object.createImmutableView = function module$contents$goog$object_createImmutableView(obj) {
- var result = obj;
- Object.isFrozen && !Object.isFrozen(obj) && (result = Object.create(obj), Object.freeze(result));
- return result;
};
-goog.object.createSet = module$contents$goog$object_createSet;
-goog.object.equals = function module$contents$goog$object_equals(a, b) {
- for (var k in a) {
- if (!(k in b) || a[k] !== b[k]) {
- return !1;
+module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.load = function() {
+ var $jscomp$async$this = this, JSCompiler_temp_const;
+ return $jscomp.asyncExecutePromiseGeneratorProgram(function($jscomp$generator$context$m1628565157$0) {
+ if (1 == $jscomp$generator$context$m1628565157$0.nextAddress) {
+ if (!module$contents$goog$labs$userAgent$platform_useUserAgentDataPlatform(!0)) {
+ $jscomp$async$this.preUachHasLoaded_ = !0;
+ return $jscomp$generator$context$m1628565157$0.return(new module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version(module$contents$goog$labs$userAgent$platform_getVersion()));
+ return $jscomp$generator$context$m1628565157$0.jumpTo(0);
+ }
+ JSCompiler_temp_const = module$exports$goog$labs$userAgent$highEntropy$highEntropyValue.Version;
+ return $jscomp$generator$context$m1628565157$0.yield(module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.load(), 3);
}
+ return $jscomp$generator$context$m1628565157$0.return(new JSCompiler_temp_const($jscomp$generator$context$m1628565157$0.yieldResult));
+ });
+};
+module$contents$goog$labs$userAgent$platform_PlatformVersion.prototype.resetForTesting = function() {
+ module$exports$goog$labs$userAgent$highEntropy$highEntropyData.platformVersion.resetForTesting();
+ this.preUachHasLoaded_ = !1;
+};
+var module$contents$goog$labs$userAgent$platform_version = new module$contents$goog$labs$userAgent$platform_PlatformVersion();
+goog.labs.userAgent.platform.getVersion = module$contents$goog$labs$userAgent$platform_getVersion;
+goog.labs.userAgent.platform.isAndroid = module$contents$goog$labs$userAgent$platform_isAndroid;
+goog.labs.userAgent.platform.isChromeOS = module$contents$goog$labs$userAgent$platform_isChromeOS;
+goog.labs.userAgent.platform.isChromecast = function() {
+ return module$contents$goog$labs$userAgent$util_matchUserAgent("CrKey");
+};
+goog.labs.userAgent.platform.isIos = module$contents$goog$labs$userAgent$platform_isIos;
+goog.labs.userAgent.platform.isIpad = module$contents$goog$labs$userAgent$platform_isIpad;
+goog.labs.userAgent.platform.isIphone = module$contents$goog$labs$userAgent$platform_isIphone;
+goog.labs.userAgent.platform.isIpod = module$contents$goog$labs$userAgent$platform_isIpod;
+goog.labs.userAgent.platform.isKaiOS = module$contents$goog$labs$userAgent$platform_isKaiOS;
+goog.labs.userAgent.platform.isLinux = module$contents$goog$labs$userAgent$platform_isLinux;
+goog.labs.userAgent.platform.isMacintosh = module$contents$goog$labs$userAgent$platform_isMacintosh;
+goog.labs.userAgent.platform.isVersionOrHigher = function(version) {
+ return 0 <= goog.string.internal.compareVersions(module$contents$goog$labs$userAgent$platform_getVersion(), version);
+};
+goog.labs.userAgent.platform.isWindows = module$contents$goog$labs$userAgent$platform_isWindows;
+goog.labs.userAgent.platform.version = module$contents$goog$labs$userAgent$platform_version;
+goog.reflect = {};
+goog.reflect.object = function(type, object) {
+ return object;
+};
+goog.reflect.objectProperty = function(prop, object) {
+ return prop;
+};
+goog.reflect.sinkValue = function(x) {
+ goog.reflect.sinkValue[" "](x);
+ return x;
+};
+goog.reflect.sinkValue[" "] = function() {
+};
+goog.reflect.canAccessProperty = function(obj, prop) {
+ try {
+ return goog.reflect.sinkValue(obj[prop]), !0;
+ } catch (e) {
}
- for (var k$45 in b) {
- if (!(k$45 in a)) {
- return !1;
+ return !1;
+};
+goog.reflect.cache = function(cacheObj, key, valueFn, opt_keyFn) {
+ var storedKey = opt_keyFn ? opt_keyFn(key) : key;
+ return Object.prototype.hasOwnProperty.call(cacheObj, storedKey) ? cacheObj[storedKey] : cacheObj[storedKey] = valueFn(key);
+};
+goog.userAgent = {};
+goog.userAgent.ASSUME_IE = !1;
+goog.userAgent.ASSUME_EDGE = !1;
+goog.userAgent.ASSUME_GECKO = !1;
+goog.userAgent.ASSUME_WEBKIT = !1;
+goog.userAgent.ASSUME_MOBILE_WEBKIT = !1;
+goog.userAgent.ASSUME_OPERA = !1;
+goog.userAgent.ASSUME_ANY_VERSION = !1;
+goog.userAgent.BROWSER_KNOWN_ = goog.userAgent.ASSUME_IE || goog.userAgent.ASSUME_EDGE || goog.userAgent.ASSUME_GECKO || goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_OPERA;
+goog.userAgent.getUserAgentString = function() {
+ return module$contents$goog$labs$userAgent$util_getUserAgent();
+};
+goog.userAgent.getNavigatorTyped = function() {
+ return goog.global.navigator || null;
+};
+goog.userAgent.getNavigator = function() {
+ return goog.userAgent.getNavigatorTyped();
+};
+goog.userAgent.OPERA = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_OPERA : module$contents$goog$labs$userAgent$browser_matchOpera();
+goog.userAgent.IE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_IE : module$contents$goog$labs$userAgent$browser_matchIE();
+goog.userAgent.EDGE = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_EDGE : module$contents$goog$labs$userAgent$engine_isEdge();
+goog.userAgent.EDGE_OR_IE = goog.userAgent.EDGE || goog.userAgent.IE;
+goog.userAgent.GECKO = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_GECKO : module$contents$goog$labs$userAgent$engine_isGecko();
+goog.userAgent.WEBKIT = goog.userAgent.BROWSER_KNOWN_ ? goog.userAgent.ASSUME_WEBKIT || goog.userAgent.ASSUME_MOBILE_WEBKIT : module$contents$goog$labs$userAgent$engine_isWebKit();
+goog.userAgent.isMobile_ = function() {
+ return goog.userAgent.WEBKIT && module$contents$goog$labs$userAgent$util_matchUserAgent("Mobile");
+};
+goog.userAgent.MOBILE = goog.userAgent.ASSUME_MOBILE_WEBKIT || goog.userAgent.isMobile_();
+goog.userAgent.SAFARI = goog.userAgent.WEBKIT;
+goog.userAgent.determinePlatform_ = function() {
+ var navigator = goog.userAgent.getNavigatorTyped();
+ return navigator && navigator.platform || "";
+};
+goog.userAgent.PLATFORM = goog.userAgent.determinePlatform_();
+goog.userAgent.ASSUME_MAC = !1;
+goog.userAgent.ASSUME_WINDOWS = !1;
+goog.userAgent.ASSUME_LINUX = !1;
+goog.userAgent.ASSUME_X11 = !1;
+goog.userAgent.ASSUME_ANDROID = !1;
+goog.userAgent.ASSUME_IPHONE = !1;
+goog.userAgent.ASSUME_IPAD = !1;
+goog.userAgent.ASSUME_IPOD = !1;
+goog.userAgent.ASSUME_KAIOS = !1;
+goog.userAgent.PLATFORM_KNOWN_ = goog.userAgent.ASSUME_MAC || goog.userAgent.ASSUME_WINDOWS || goog.userAgent.ASSUME_LINUX || goog.userAgent.ASSUME_X11 || goog.userAgent.ASSUME_ANDROID || goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD;
+goog.userAgent.MAC = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_MAC : module$contents$goog$labs$userAgent$platform_isMacintosh();
+goog.userAgent.WINDOWS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_WINDOWS : module$contents$goog$labs$userAgent$platform_isWindows();
+goog.userAgent.isLegacyLinux_ = function() {
+ return module$contents$goog$labs$userAgent$platform_isLinux() || module$contents$goog$labs$userAgent$platform_isChromeOS();
+};
+goog.userAgent.LINUX = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_LINUX : goog.userAgent.isLegacyLinux_();
+goog.userAgent.isX11_ = function() {
+ var navigator = goog.userAgent.getNavigatorTyped();
+ return !!navigator && goog.string.internal.contains(navigator.appVersion || "", "X11");
+};
+goog.userAgent.X11 = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_X11 : goog.userAgent.isX11_();
+goog.userAgent.ANDROID = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_ANDROID : module$contents$goog$labs$userAgent$platform_isAndroid();
+goog.userAgent.IPHONE = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE : module$contents$goog$labs$userAgent$platform_isIphone();
+goog.userAgent.IPAD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPAD : module$contents$goog$labs$userAgent$platform_isIpad();
+goog.userAgent.IPOD = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPOD : module$contents$goog$labs$userAgent$platform_isIpod();
+goog.userAgent.IOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_IPHONE || goog.userAgent.ASSUME_IPAD || goog.userAgent.ASSUME_IPOD : module$contents$goog$labs$userAgent$platform_isIos();
+goog.userAgent.KAIOS = goog.userAgent.PLATFORM_KNOWN_ ? goog.userAgent.ASSUME_KAIOS : module$contents$goog$labs$userAgent$platform_isKaiOS();
+goog.userAgent.determineVersion_ = function() {
+ var version = "", arr = goog.userAgent.getVersionRegexResult_();
+ arr && (version = arr ? arr[1] : "");
+ if (goog.userAgent.IE) {
+ var docMode = goog.userAgent.getDocumentMode_();
+ if (null != docMode && docMode > parseFloat(version)) {
+ return String(docMode);
}
}
- return !0;
+ return version;
};
-goog.object.every = function module$contents$goog$object_every(obj, f, opt_obj) {
- for (var key in obj) {
- if (!f.call(opt_obj, obj[key], key, obj)) {
- return !1;
- }
+goog.userAgent.getVersionRegexResult_ = function() {
+ var userAgent = goog.userAgent.getUserAgentString();
+ if (goog.userAgent.GECKO) {
+ return /rv:([^\);]+)(\)|;)/.exec(userAgent);
+ }
+ if (goog.userAgent.EDGE) {
+ return /Edge\/([\d\.]+)/.exec(userAgent);
+ }
+ if (goog.userAgent.IE) {
+ return /\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(userAgent);
+ }
+ if (goog.userAgent.WEBKIT) {
+ return /WebKit\/(\S+)/.exec(userAgent);
+ }
+ if (goog.userAgent.OPERA) {
+ return /(?:Version)[ \/]?(\S+)/.exec(userAgent);
}
- return !0;
};
-goog.object.extend = module$contents$goog$object_extend;
-goog.object.filter = module$contents$goog$object_filter;
-goog.object.findKey = module$contents$goog$object_findKey;
-goog.object.findValue = function module$contents$goog$object_findValue(obj, f, thisObj) {
- var key = module$contents$goog$object_findKey(obj, f, thisObj);
- return key && obj[key];
+goog.userAgent.getDocumentMode_ = function() {
+ var doc = goog.global.document;
+ return doc ? doc.documentMode : void 0;
};
-goog.object.forEach = module$contents$goog$object_forEach;
-goog.object.get = function module$contents$goog$object_get(obj, key, val) {
- return null !== obj && key in obj ? obj[key] : val;
+goog.userAgent.VERSION = goog.userAgent.determineVersion_();
+goog.userAgent.compare = function(v1, v2) {
+ return goog.string.internal.compareVersions(v1, v2);
};
-goog.object.getAllPropertyNames = function module$contents$goog$object_getAllPropertyNames(obj, includeObjectPrototype, includeFunctionPrototype) {
- if (!obj) {
- return [];
- }
- if (!Object.getOwnPropertyNames || !Object.getPrototypeOf) {
- return module$contents$goog$object_getKeys(obj);
- }
- for (var visitedSet = {}, proto = obj; proto && (proto !== Object.prototype || includeObjectPrototype) && (proto !== Function.prototype || includeFunctionPrototype);) {
- for (var names = Object.getOwnPropertyNames(proto), i = 0; i < names.length; i++) {
- visitedSet[names[i]] = !0;
- }
- proto = Object.getPrototypeOf(proto);
+goog.userAgent.isVersionOrHigherCache_ = {};
+goog.userAgent.isVersionOrHigher = function(version) {
+ return goog.userAgent.ASSUME_ANY_VERSION || goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_, version, function() {
+ return 0 <= goog.string.internal.compareVersions(goog.userAgent.VERSION, version);
+ });
+};
+goog.userAgent.isDocumentModeOrHigher = function(documentMode) {
+ return Number(goog.userAgent.DOCUMENT_MODE) >= documentMode;
+};
+goog.userAgent.isDocumentMode = goog.userAgent.isDocumentModeOrHigher;
+goog.userAgent.DOCUMENT_MODE = function() {
+ if (goog.global.document && goog.userAgent.IE) {
+ var documentMode = goog.userAgent.getDocumentMode_();
+ return documentMode ? documentMode : parseInt(goog.userAgent.VERSION, 10) || void 0;
}
- return module$contents$goog$object_getKeys(visitedSet);
+}();
+goog.events.eventTypeHelpers = {};
+goog.events.eventTypeHelpers.getVendorPrefixedName = function(eventName) {
+ return goog.userAgent.WEBKIT ? "webkit" + eventName : eventName.toLowerCase();
};
-goog.object.getAnyKey = function module$contents$goog$object_getAnyKey(obj) {
- for (var key in obj) {
- return key;
- }
+goog.events.eventTypeHelpers.getPointerFallbackEventName = function(pointerEventName, msPointerEventName, fallbackEventName) {
+ return goog.events.BrowserFeature.POINTER_EVENTS ? pointerEventName : goog.events.BrowserFeature.MSPOINTER_EVENTS ? msPointerEventName : fallbackEventName;
};
-goog.object.getAnyValue = function module$contents$goog$object_getAnyValue(obj) {
- for (var key in obj) {
- return obj[key];
- }
+goog.events.EventType = {CLICK:"click", RIGHTCLICK:"rightclick", DBLCLICK:"dblclick", AUXCLICK:"auxclick", MOUSEDOWN:"mousedown", MOUSEUP:"mouseup", MOUSEOVER:"mouseover", MOUSEOUT:"mouseout", MOUSEMOVE:"mousemove", MOUSEENTER:"mouseenter", MOUSELEAVE:"mouseleave", MOUSECANCEL:"mousecancel", SELECTIONCHANGE:"selectionchange", SELECTSTART:"selectstart", WHEEL:"wheel", KEYPRESS:"keypress", KEYDOWN:"keydown", KEYUP:"keyup", BLUR:"blur", FOCUS:"focus", DEACTIVATE:"deactivate", FOCUSIN:"focusin", FOCUSOUT:"focusout",
+CHANGE:"change", RESET:"reset", SELECT:"select", SUBMIT:"submit", INPUT:"input", PROPERTYCHANGE:"propertychange", DRAGSTART:"dragstart", DRAG:"drag", DRAGENTER:"dragenter", DRAGOVER:"dragover", DRAGLEAVE:"dragleave", DROP:"drop", DRAGEND:"dragend", TOUCHSTART:"touchstart", TOUCHMOVE:"touchmove", TOUCHEND:"touchend", TOUCHCANCEL:"touchcancel", BEFOREUNLOAD:"beforeunload", CONSOLEMESSAGE:"consolemessage", CONTEXTMENU:"contextmenu", DEVICECHANGE:"devicechange", DEVICEMOTION:"devicemotion", DEVICEORIENTATION:"deviceorientation",
+DOMCONTENTLOADED:"DOMContentLoaded", ERROR:"error", HELP:"help", LOAD:"load", LOSECAPTURE:"losecapture", ORIENTATIONCHANGE:"orientationchange", READYSTATECHANGE:"readystatechange", RESIZE:"resize", SCROLL:"scroll", UNLOAD:"unload", CANPLAY:"canplay", CANPLAYTHROUGH:"canplaythrough", DURATIONCHANGE:"durationchange", EMPTIED:"emptied", ENDED:"ended", LOADEDDATA:"loadeddata", LOADEDMETADATA:"loadedmetadata", PAUSE:"pause", PLAY:"play", PLAYING:"playing", PROGRESS:"progress", RATECHANGE:"ratechange",
+SEEKED:"seeked", SEEKING:"seeking", STALLED:"stalled", SUSPEND:"suspend", TIMEUPDATE:"timeupdate", VOLUMECHANGE:"volumechange", WAITING:"waiting", SOURCEOPEN:"sourceopen", SOURCEENDED:"sourceended", SOURCECLOSED:"sourceclosed", ABORT:"abort", UPDATE:"update", UPDATESTART:"updatestart", UPDATEEND:"updateend", HASHCHANGE:"hashchange", PAGEHIDE:"pagehide", PAGESHOW:"pageshow", POPSTATE:"popstate", COPY:"copy", PASTE:"paste", CUT:"cut", BEFORECOPY:"beforecopy", BEFORECUT:"beforecut", BEFOREPASTE:"beforepaste",
+ONLINE:"online", OFFLINE:"offline", MESSAGE:"message", CONNECT:"connect", INSTALL:"install", ACTIVATE:"activate", FETCH:"fetch", FOREIGNFETCH:"foreignfetch", MESSAGEERROR:"messageerror", STATECHANGE:"statechange", UPDATEFOUND:"updatefound", CONTROLLERCHANGE:"controllerchange", ANIMATIONSTART:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationStart"), ANIMATIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationEnd"), ANIMATIONITERATION:goog.events.eventTypeHelpers.getVendorPrefixedName("AnimationIteration"),
+TRANSITIONEND:goog.events.eventTypeHelpers.getVendorPrefixedName("TransitionEnd"), POINTERDOWN:"pointerdown", POINTERUP:"pointerup", POINTERCANCEL:"pointercancel", POINTERMOVE:"pointermove", POINTEROVER:"pointerover", POINTEROUT:"pointerout", POINTERENTER:"pointerenter", POINTERLEAVE:"pointerleave", GOTPOINTERCAPTURE:"gotpointercapture", LOSTPOINTERCAPTURE:"lostpointercapture", MSGESTURECHANGE:"MSGestureChange", MSGESTUREEND:"MSGestureEnd", MSGESTUREHOLD:"MSGestureHold", MSGESTURESTART:"MSGestureStart",
+MSGESTURETAP:"MSGestureTap", MSGOTPOINTERCAPTURE:"MSGotPointerCapture", MSINERTIASTART:"MSInertiaStart", MSLOSTPOINTERCAPTURE:"MSLostPointerCapture", MSPOINTERCANCEL:"MSPointerCancel", MSPOINTERDOWN:"MSPointerDown", MSPOINTERENTER:"MSPointerEnter", MSPOINTERHOVER:"MSPointerHover", MSPOINTERLEAVE:"MSPointerLeave", MSPOINTERMOVE:"MSPointerMove", MSPOINTEROUT:"MSPointerOut", MSPOINTEROVER:"MSPointerOver", MSPOINTERUP:"MSPointerUp", TEXT:"text", TEXTINPUT:goog.userAgent.IE ? "textinput" : "textInput",
+COMPOSITIONSTART:"compositionstart", COMPOSITIONUPDATE:"compositionupdate", COMPOSITIONEND:"compositionend", BEFOREINPUT:"beforeinput", FULLSCREENCHANGE:"fullscreenchange", WEBKITBEGINFULLSCREEN:"webkitbeginfullscreen", WEBKITENDFULLSCREEN:"webkitendfullscreen", EXIT:"exit", LOADABORT:"loadabort", LOADCOMMIT:"loadcommit", LOADREDIRECT:"loadredirect", LOADSTART:"loadstart", LOADSTOP:"loadstop", RESPONSIVE:"responsive", SIZECHANGED:"sizechanged", UNRESPONSIVE:"unresponsive", VISIBILITYCHANGE:"visibilitychange",
+STORAGE:"storage", BEFOREPRINT:"beforeprint", AFTERPRINT:"afterprint", BEFOREINSTALLPROMPT:"beforeinstallprompt", APPINSTALLED:"appinstalled", CANCEL:"cancel", FINISH:"finish", REMOVE:"remove"};
+goog.events.BrowserEvent = function(opt_e, opt_currentTarget) {
+ goog.events.Event.call(this, opt_e ? opt_e.type : "");
+ this.relatedTarget = this.currentTarget = this.target = null;
+ this.button = this.screenY = this.screenX = this.clientY = this.clientX = this.offsetY = this.offsetX = 0;
+ this.key = "";
+ this.charCode = this.keyCode = 0;
+ this.metaKey = this.shiftKey = this.altKey = this.ctrlKey = !1;
+ this.state = null;
+ this.platformModifierKey = !1;
+ this.pointerId = 0;
+ this.pointerType = "";
+ this.event_ = null;
+ opt_e && this.init(opt_e, opt_currentTarget);
};
-goog.object.getCount = module$contents$goog$object_getCount;
-goog.object.getKeys = module$contents$goog$object_getKeys;
-goog.object.getSuperClass = function module$contents$goog$object_getSuperClass(constructor) {
- var proto = Object.getPrototypeOf(constructor.prototype);
- return proto && proto.constructor;
+goog.inherits(goog.events.BrowserEvent, goog.events.Event);
+goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY = !1;
+goog.events.BrowserEvent.MouseButton = {LEFT:0, MIDDLE:1, RIGHT:2, BACK:3, FORWARD:4};
+goog.events.BrowserEvent.PointerType = {MOUSE:"mouse", PEN:"pen", TOUCH:"touch"};
+goog.events.BrowserEvent.IEButtonMap = goog.debug.freeze([1, 4, 2]);
+goog.events.BrowserEvent.IE_BUTTON_MAP = goog.events.BrowserEvent.IEButtonMap;
+goog.events.BrowserEvent.IE_POINTER_TYPE_MAP = goog.debug.freeze({2:goog.events.BrowserEvent.PointerType.TOUCH, 3:goog.events.BrowserEvent.PointerType.PEN, 4:goog.events.BrowserEvent.PointerType.MOUSE});
+goog.events.BrowserEvent.prototype.init = function(e, opt_currentTarget) {
+ var type = this.type = e.type, relevantTouch = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : null;
+ this.target = e.target || e.srcElement;
+ this.currentTarget = opt_currentTarget;
+ var relatedTarget = e.relatedTarget;
+ relatedTarget ? goog.userAgent.GECKO && (goog.reflect.canAccessProperty(relatedTarget, "nodeName") || (relatedTarget = null)) : type == goog.events.EventType.MOUSEOVER ? relatedTarget = e.fromElement : type == goog.events.EventType.MOUSEOUT && (relatedTarget = e.toElement);
+ this.relatedTarget = relatedTarget;
+ relevantTouch ? (this.clientX = void 0 !== relevantTouch.clientX ? relevantTouch.clientX : relevantTouch.pageX, this.clientY = void 0 !== relevantTouch.clientY ? relevantTouch.clientY : relevantTouch.pageY, this.screenX = relevantTouch.screenX || 0, this.screenY = relevantTouch.screenY || 0) : (goog.events.BrowserEvent.USE_LAYER_XY_AS_OFFSET_XY ? (this.offsetX = void 0 !== e.layerX ? e.layerX : e.offsetX, this.offsetY = void 0 !== e.layerY ? e.layerY : e.offsetY) : (this.offsetX = goog.userAgent.WEBKIT ||
+ void 0 !== e.offsetX ? e.offsetX : e.layerX, this.offsetY = goog.userAgent.WEBKIT || void 0 !== e.offsetY ? e.offsetY : e.layerY), this.clientX = void 0 !== e.clientX ? e.clientX : e.pageX, this.clientY = void 0 !== e.clientY ? e.clientY : e.pageY, this.screenX = e.screenX || 0, this.screenY = e.screenY || 0);
+ this.button = e.button;
+ this.keyCode = e.keyCode || 0;
+ this.key = e.key || "";
+ this.charCode = e.charCode || ("keypress" == type ? e.keyCode : 0);
+ this.ctrlKey = e.ctrlKey;
+ this.altKey = e.altKey;
+ this.shiftKey = e.shiftKey;
+ this.metaKey = e.metaKey;
+ this.platformModifierKey = goog.userAgent.MAC ? e.metaKey : e.ctrlKey;
+ this.pointerId = e.pointerId || 0;
+ this.pointerType = goog.events.BrowserEvent.getPointerType_(e);
+ this.state = e.state;
+ this.event_ = e;
+ e.defaultPrevented && goog.events.BrowserEvent.superClass_.preventDefault.call(this);
};
-goog.object.getValueByKeys = function module$contents$goog$object_getValueByKeys(obj, var_args) {
- for (var isArrayLike = goog.isArrayLike(var_args), keys = isArrayLike ? var_args : arguments, i = isArrayLike ? 0 : 1; i < keys.length; i++) {
- if (null == obj) {
- return;
- }
- obj = obj[keys[i]];
- }
- return obj;
+goog.events.BrowserEvent.prototype.isButton = function(button) {
+ return this.event_.button == button;
};
-goog.object.getValues = module$contents$goog$object_getValues;
-goog.object.isEmpty = module$contents$goog$object_isEmpty;
-goog.object.isImmutableView = function module$contents$goog$object_isImmutableView(obj) {
- return !!Object.isFrozen && Object.isFrozen(obj);
+goog.events.BrowserEvent.prototype.isMouseActionButton = function() {
+ return this.isButton(goog.events.BrowserEvent.MouseButton.LEFT) && !(goog.userAgent.MAC && this.ctrlKey);
};
-goog.object.map = module$contents$goog$object_map;
-goog.object.remove = module$contents$goog$object_remove;
-goog.object.set = module$contents$goog$object_set;
-goog.object.setIfUndefined = function module$contents$goog$object_setIfUndefined(obj, key, value) {
- return key in obj ? obj[key] : obj[key] = value;
+goog.events.BrowserEvent.prototype.stopPropagation = function() {
+ goog.events.BrowserEvent.superClass_.stopPropagation.call(this);
+ this.event_.stopPropagation ? this.event_.stopPropagation() : this.event_.cancelBubble = !0;
};
-goog.object.setWithReturnValueIfNotSet = function module$contents$goog$object_setWithReturnValueIfNotSet(obj, key, f) {
- if (key in obj) {
- return obj[key];
- }
- var val = f();
- return obj[key] = val;
+goog.events.BrowserEvent.prototype.preventDefault = function() {
+ goog.events.BrowserEvent.superClass_.preventDefault.call(this);
+ var be = this.event_;
+ be.preventDefault ? be.preventDefault() : be.returnValue = !1;
};
-goog.object.some = module$contents$goog$object_some;
-goog.object.transpose = function module$contents$goog$object_transpose(obj) {
- var transposed = {}, key;
- for (key in obj) {
- transposed[obj[key]] = key;
- }
- return transposed;
+goog.events.BrowserEvent.prototype.getBrowserEvent = function() {
+ return this.event_;
};
-goog.object.unsafeClone = module$contents$goog$object_unsafeClone;
-goog.events.ListenerMap = function(src) {
- this.src = src;
- this.listeners = {};
- this.typeCount_ = 0;
+goog.events.BrowserEvent.getPointerType_ = function(e) {
+ return "string" === typeof e.pointerType ? e.pointerType : goog.events.BrowserEvent.IE_POINTER_TYPE_MAP[e.pointerType] || "";
};
-goog.events.ListenerMap.prototype.getTypeCount = function() {
- return this.typeCount_;
+goog.events.Listenable = function() {
};
-goog.events.ListenerMap.prototype.getListenerCount = function() {
- var count = 0, type;
- for (type in this.listeners) {
- count += this.listeners[type].length;
- }
- return count;
+goog.events.Listenable.IMPLEMENTED_BY_PROP = "closure_listenable_" + (1E6 * Math.random() | 0);
+goog.events.Listenable.addImplementation = function(cls) {
+ cls.prototype[goog.events.Listenable.IMPLEMENTED_BY_PROP] = !0;
};
-goog.events.ListenerMap.prototype.add = function(type, listener, callOnce, opt_useCapture, opt_listenerScope) {
- var typeStr = type.toString(), listenerArray = this.listeners[typeStr];
- listenerArray || (listenerArray = this.listeners[typeStr] = [], this.typeCount_++);
- var index = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
- if (-1 < index) {
- var listenerObj = listenerArray[index];
- callOnce || (listenerObj.callOnce = !1);
- } else {
- listenerObj = new goog.events.Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
- }
- return listenerObj;
+goog.events.Listenable.isImplementedBy = function(obj) {
+ return !(!obj || !obj[goog.events.Listenable.IMPLEMENTED_BY_PROP]);
};
-goog.events.ListenerMap.prototype.remove = function(type, listener, opt_useCapture, opt_listenerScope) {
- var typeStr = type.toString();
- if (!(typeStr in this.listeners)) {
- return !1;
- }
- var listenerArray = this.listeners[typeStr], index = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
- return -1 < index ? (listenerArray[index].markAsRemoved(), module$contents$goog$array_removeAt(listenerArray, index), 0 == listenerArray.length && (delete this.listeners[typeStr], this.typeCount_--), !0) : !1;
+goog.events.Listenable.prototype.listen = function(type, listener, opt_useCapture, opt_listenerScope) {
};
-goog.events.ListenerMap.prototype.removeByKey = function(listener) {
- var type = listener.type;
- if (!(type in this.listeners)) {
- return !1;
- }
- var removed = module$contents$goog$array_remove(this.listeners[type], listener);
- removed && (listener.markAsRemoved(), 0 == this.listeners[type].length && (delete this.listeners[type], this.typeCount_--));
- return removed;
+goog.events.Listenable.prototype.listenOnce = function(type, listener, opt_useCapture, opt_listenerScope) {
};
-goog.events.ListenerMap.prototype.removeAll = function(opt_type) {
- var typeStr = opt_type && opt_type.toString(), count = 0, type;
- for (type in this.listeners) {
- if (!typeStr || type == typeStr) {
- for (var listenerArray = this.listeners[type], i = 0; i < listenerArray.length; i++) {
- ++count, listenerArray[i].markAsRemoved();
- }
- delete this.listeners[type];
- this.typeCount_--;
- }
- }
- return count;
+goog.events.Listenable.prototype.unlisten = function(type, listener, opt_useCapture, opt_listenerScope) {
};
-goog.events.ListenerMap.prototype.getListeners = function(type, capture) {
- var listenerArray = this.listeners[type.toString()], rv = [];
- if (listenerArray) {
- for (var i = 0; i < listenerArray.length; ++i) {
- var listenerObj = listenerArray[i];
- listenerObj.capture == capture && rv.push(listenerObj);
- }
- }
- return rv;
+goog.events.Listenable.prototype.unlistenByKey = function(key) {
};
-goog.events.ListenerMap.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
- var listenerArray = this.listeners[type.toString()], i = -1;
- listenerArray && (i = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, capture, opt_listenerScope));
- return -1 < i ? listenerArray[i] : null;
+goog.events.Listenable.prototype.dispatchEvent = function(e) {
};
-goog.events.ListenerMap.prototype.hasListener = function(opt_type, opt_capture) {
- var hasType = void 0 !== opt_type, typeStr = hasType ? opt_type.toString() : "", hasCapture = void 0 !== opt_capture;
- return module$contents$goog$object_some(this.listeners, function(listenerArray, type) {
- for (var i = 0; i < listenerArray.length; ++i) {
- if (!(hasType && listenerArray[i].type != typeStr || hasCapture && listenerArray[i].capture != opt_capture)) {
- return !0;
- }
- }
- return !1;
- });
+goog.events.Listenable.prototype.removeAllListeners = function(opt_type) {
};
-goog.events.ListenerMap.findListenerIndex_ = function(listenerArray, listener, opt_useCapture, opt_listenerScope) {
- for (var i = 0; i < listenerArray.length; ++i) {
- var listenerObj = listenerArray[i];
- if (!listenerObj.removed && listenerObj.listener == listener && listenerObj.capture == !!opt_useCapture && listenerObj.handler == opt_listenerScope) {
- return i;
- }
- }
- return -1;
+goog.events.Listenable.prototype.getParentEventTarget = function() {
};
-goog.events.Key = {};
-goog.events.ListenableType = {};
-goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (1E6 * Math.random() | 0);
-goog.events.onString_ = "on";
-goog.events.onStringMap_ = {};
-goog.events.CaptureSimulationMode = {OFF_AND_FAIL:0, OFF_AND_SILENT:1, ON:2};
-goog.events.CAPTURE_SIMULATION_MODE = 2;
-goog.events.listenerCountEstimate_ = 0;
-goog.events.listen = function(src, type, listener, opt_options, opt_handler) {
- if (opt_options && opt_options.once) {
- return goog.events.listenOnce(src, type, listener, opt_options, opt_handler);
- }
- if (Array.isArray(type)) {
- for (var i = 0; i < type.length; i++) {
- goog.events.listen(src, type[i], listener, opt_options, opt_handler);
- }
- return null;
- }
- listener = goog.events.wrapListener(listener);
- return goog.events.Listenable.isImplementedBy(src) ? src.listen(type, listener, goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, opt_handler) : goog.events.listen_(src, type, listener, !1, opt_options, opt_handler);
+goog.events.Listenable.prototype.fireListeners = function(type, capture, eventObject) {
};
-goog.events.listen_ = function(src, type, listener, callOnce, opt_options, opt_handler) {
- if (!type) {
- throw Error("Invalid event type");
- }
- var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, listenerMap = goog.events.getListenerMap_(src);
- listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new goog.events.ListenerMap(src));
- var listenerObj = listenerMap.add(type, listener, callOnce, capture, opt_handler);
- if (listenerObj.proxy) {
- return listenerObj;
- }
- var proxy = goog.events.getProxy();
- listenerObj.proxy = proxy;
- proxy.src = src;
- proxy.listener = listenerObj;
- if (src.addEventListener) {
- goog.events.BrowserFeature.PASSIVE_EVENTS || (opt_options = capture), void 0 === opt_options && (opt_options = !1), src.addEventListener(type.toString(), proxy, opt_options);
- } else if (src.attachEvent) {
- src.attachEvent(goog.events.getOnString_(type.toString()), proxy);
- } else if (src.addListener && src.removeListener) {
- goog.asserts.assert("change" === type, "MediaQueryList only has a change event"), src.addListener(proxy);
- } else {
- throw Error("addEventListener and attachEvent are unavailable.");
- }
- goog.events.listenerCountEstimate_++;
- return listenerObj;
+goog.events.Listenable.prototype.getListeners = function(type, capture) {
+};
+goog.events.Listenable.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
+};
+goog.events.Listenable.prototype.hasListener = function(opt_type, opt_capture) {
+};
+goog.events.ListenableKey = function() {
};
-goog.events.getProxy = function() {
- var proxyCallbackFunction = goog.events.handleBrowserEvent_, f = function(eventObject) {
- return proxyCallbackFunction.call(f.src, f.listener, eventObject);
- };
- return f;
+goog.events.ListenableKey.counter_ = 0;
+goog.events.ListenableKey.reserveKey = function() {
+ return ++goog.events.ListenableKey.counter_;
};
-goog.events.listenOnce = function(src, type, listener, opt_options, opt_handler) {
- if (Array.isArray(type)) {
- for (var i = 0; i < type.length; i++) {
- goog.events.listenOnce(src, type[i], listener, opt_options, opt_handler);
- }
- return null;
- }
- listener = goog.events.wrapListener(listener);
- return goog.events.Listenable.isImplementedBy(src) ? src.listenOnce(type, listener, goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, opt_handler) : goog.events.listen_(src, type, listener, !0, opt_options, opt_handler);
+goog.events.Listener = function(listener, proxy, src, type, capture, opt_handler) {
+ goog.events.Listener.ENABLE_MONITORING && (this.creationStack = Error().stack);
+ this.listener = listener;
+ this.proxy = proxy;
+ this.src = src;
+ this.type = type;
+ this.capture = !!capture;
+ this.handler = opt_handler;
+ this.key = goog.events.ListenableKey.reserveKey();
+ this.removed = this.callOnce = !1;
};
-goog.events.listenWithWrapper = function(src, wrapper, listener, opt_capt, opt_handler) {
- wrapper.listen(src, listener, opt_capt, opt_handler);
+goog.events.Listener.ENABLE_MONITORING = !1;
+goog.events.Listener.prototype.markAsRemoved = function() {
+ this.removed = !0;
+ this.handler = this.src = this.proxy = this.listener = null;
};
-goog.events.unlisten = function(src, type, listener, opt_options, opt_handler) {
- if (Array.isArray(type)) {
- for (var i = 0; i < type.length; i++) {
- goog.events.unlisten(src, type[i], listener, opt_options, opt_handler);
- }
- return null;
+goog.object = {};
+function module$contents$goog$object_forEach(obj, f, opt_obj) {
+ for (var key in obj) {
+ f.call(opt_obj, obj[key], key, obj);
}
- var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options;
- listener = goog.events.wrapListener(listener);
- if (goog.events.Listenable.isImplementedBy(src)) {
- return src.unlisten(type, listener, capture, opt_handler);
+}
+function module$contents$goog$object_filter(obj, f, opt_obj) {
+ var res = {}, key;
+ for (key in obj) {
+ f.call(opt_obj, obj[key], key, obj) && (res[key] = obj[key]);
}
- if (!src) {
- return !1;
+ return res;
+}
+function module$contents$goog$object_map(obj, f, opt_obj) {
+ var res = {}, key;
+ for (key in obj) {
+ res[key] = f.call(opt_obj, obj[key], key, obj);
}
- var listenerMap = goog.events.getListenerMap_(src);
- if (listenerMap) {
- var listenerObj = listenerMap.getListener(type, listener, capture, opt_handler);
- if (listenerObj) {
- return goog.events.unlistenByKey(listenerObj);
+ return res;
+}
+function module$contents$goog$object_some(obj, f, opt_obj) {
+ for (var key in obj) {
+ if (f.call(opt_obj, obj[key], key, obj)) {
+ return !0;
}
}
return !1;
-};
-goog.events.unlistenByKey = function(key) {
- if ("number" === typeof key || !key || key.removed) {
- return !1;
- }
- var src = key.src;
- if (goog.events.Listenable.isImplementedBy(src)) {
- return src.unlistenByKey(key);
- }
- var type = key.type, proxy = key.proxy;
- src.removeEventListener ? src.removeEventListener(type, proxy, key.capture) : src.detachEvent ? src.detachEvent(goog.events.getOnString_(type), proxy) : src.addListener && src.removeListener && src.removeListener(proxy);
- goog.events.listenerCountEstimate_--;
- var listenerMap = goog.events.getListenerMap_(src);
- listenerMap ? (listenerMap.removeByKey(key), 0 == listenerMap.getTypeCount() && (listenerMap.src = null, src[goog.events.LISTENER_MAP_PROP_] = null)) : key.markAsRemoved();
- return !0;
-};
-goog.events.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_handler) {
- wrapper.unlisten(src, listener, opt_capt, opt_handler);
-};
-goog.events.removeAll = function(obj, opt_type) {
- if (!obj) {
- return 0;
+}
+function module$contents$goog$object_getCount(obj) {
+ var rv = 0, key;
+ for (key in obj) {
+ rv++;
}
- if (goog.events.Listenable.isImplementedBy(obj)) {
- return obj.removeAllListeners(opt_type);
+ return rv;
+}
+function module$contents$goog$object_contains(obj, val) {
+ return module$contents$goog$object_containsValue(obj, val);
+}
+function module$contents$goog$object_getValues(obj) {
+ var res = [], i = 0, key;
+ for (key in obj) {
+ res[i++] = obj[key];
}
- var listenerMap = goog.events.getListenerMap_(obj);
- if (!listenerMap) {
- return 0;
+ return res;
+}
+function module$contents$goog$object_getKeys(obj) {
+ var res = [], i = 0, key;
+ for (key in obj) {
+ res[i++] = key;
}
- var count = 0, typeStr = opt_type && opt_type.toString(), type;
- for (type in listenerMap.listeners) {
- if (!typeStr || type == typeStr) {
- for (var listeners = listenerMap.listeners[type].concat(), i = 0; i < listeners.length; ++i) {
- goog.events.unlistenByKey(listeners[i]) && ++count;
- }
+ return res;
+}
+function module$contents$goog$object_containsKey(obj, key) {
+ return null !== obj && key in obj;
+}
+function module$contents$goog$object_containsValue(obj, val) {
+ for (var key in obj) {
+ if (obj[key] == val) {
+ return !0;
}
}
- return count;
-};
-goog.events.getListeners = function(obj, type, capture) {
- if (goog.events.Listenable.isImplementedBy(obj)) {
- return obj.getListeners(type, capture);
- }
- if (!obj) {
- return [];
- }
- var listenerMap = goog.events.getListenerMap_(obj);
- return listenerMap ? listenerMap.getListeners(type, capture) : [];
-};
-goog.events.getListener = function(src, type, listener, opt_capt, opt_handler) {
- listener = goog.events.wrapListener(listener);
- var capture = !!opt_capt;
- if (goog.events.Listenable.isImplementedBy(src)) {
- return src.getListener(type, listener, capture, opt_handler);
- }
- if (!src) {
- return null;
+ return !1;
+}
+function module$contents$goog$object_findKey(obj, f, thisObj) {
+ for (var key in obj) {
+ if (f.call(thisObj, obj[key], key, obj)) {
+ return key;
+ }
}
- var listenerMap = goog.events.getListenerMap_(src);
- return listenerMap ? listenerMap.getListener(type, listener, capture, opt_handler) : null;
-};
-goog.events.hasListener = function(obj, opt_type, opt_capture) {
- if (goog.events.Listenable.isImplementedBy(obj)) {
- return obj.hasListener(opt_type, opt_capture);
+}
+function module$contents$goog$object_isEmpty(obj) {
+ for (var key in obj) {
+ return !1;
}
- var listenerMap = goog.events.getListenerMap_(obj);
- return !!listenerMap && listenerMap.hasListener(opt_type, opt_capture);
-};
-goog.events.expose = function(e) {
- var str = [], key;
- for (key in e) {
- e[key] && e[key].id ? str.push(key + " = " + e[key] + " (" + e[key].id + ")") : str.push(key + " = " + e[key]);
+ return !0;
+}
+function module$contents$goog$object_clear(obj) {
+ for (var i in obj) {
+ delete obj[i];
}
- return str.join("\n");
-};
-goog.events.getOnString_ = function(type) {
- return type in goog.events.onStringMap_ ? goog.events.onStringMap_[type] : goog.events.onStringMap_[type] = goog.events.onString_ + type;
-};
-goog.events.fireListeners = function(obj, type, capture, eventObject) {
- return goog.events.Listenable.isImplementedBy(obj) ? obj.fireListeners(type, capture, eventObject) : goog.events.fireListeners_(obj, type, capture, eventObject);
-};
-goog.events.fireListeners_ = function(obj, type, capture, eventObject) {
- var retval = !0, listenerMap = goog.events.getListenerMap_(obj);
- if (listenerMap) {
- var listenerArray = listenerMap.listeners[type.toString()];
- if (listenerArray) {
- listenerArray = listenerArray.concat();
- for (var i = 0; i < listenerArray.length; i++) {
- var listener = listenerArray[i];
- if (listener && listener.capture == capture && !listener.removed) {
- var result = goog.events.fireListener(listener, eventObject);
- retval = retval && !1 !== result;
- }
- }
- }
+}
+function module$contents$goog$object_remove(obj, key) {
+ var rv;
+ (rv = key in obj) && delete obj[key];
+ return rv;
+}
+function module$contents$goog$object_set(obj, key, value) {
+ obj[key] = value;
+}
+function module$contents$goog$object_clone(obj) {
+ var res = {}, key;
+ for (key in obj) {
+ res[key] = obj[key];
}
- return retval;
-};
-goog.events.fireListener = function(listener, eventObject) {
- var listenerFn = listener.listener, listenerHandler = listener.handler || listener.src;
- listener.callOnce && goog.events.unlistenByKey(listener);
- return listenerFn.call(listenerHandler, eventObject);
-};
-goog.events.getTotalListenerCount = function() {
- return goog.events.listenerCountEstimate_;
-};
-goog.events.dispatchEvent = function(src, e) {
- goog.asserts.assert(goog.events.Listenable.isImplementedBy(src), "Can not use goog.events.dispatchEvent with non-goog.events.Listenable instance.");
- return src.dispatchEvent(e);
-};
-goog.events.protectBrowserEventEntryPoint = function(errorHandler) {
- goog.events.handleBrowserEvent_ = errorHandler.protectEntryPoint(goog.events.handleBrowserEvent_);
-};
-goog.events.handleBrowserEvent_ = function(listener, opt_evt) {
- return listener.removed ? !0 : goog.events.fireListener(listener, new goog.events.BrowserEvent(opt_evt, this));
-};
-goog.events.markIeEvent_ = function(e) {
- var useReturnValue = !1;
- if (0 == e.keyCode) {
- try {
- e.keyCode = -1;
- return;
- } catch (ex) {
- useReturnValue = !0;
- }
+ return res;
+}
+function module$contents$goog$object_unsafeClone(obj) {
+ if (!obj || "object" !== typeof obj) {
+ return obj;
}
- if (useReturnValue || void 0 == e.returnValue) {
- e.returnValue = !0;
+ if ("function" === typeof obj.clone) {
+ return obj.clone();
}
-};
-goog.events.isMarkedIeEvent_ = function(e) {
- return 0 > e.keyCode || void 0 != e.returnValue;
-};
-goog.events.uniqueIdCounter_ = 0;
-goog.events.getUniqueId = function(identifier) {
- return identifier + "_" + goog.events.uniqueIdCounter_++;
-};
-goog.events.getListenerMap_ = function(src) {
- var listenerMap = src[goog.events.LISTENER_MAP_PROP_];
- return listenerMap instanceof goog.events.ListenerMap ? listenerMap : null;
-};
-goog.events.LISTENER_WRAPPER_PROP_ = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
-goog.events.wrapListener = function(listener) {
- goog.asserts.assert(listener, "Listener can not be null.");
- if ("function" === typeof listener) {
- return listener;
+ if ("undefined" !== typeof Map && obj instanceof Map) {
+ return new Map(obj);
}
- goog.asserts.assert(listener.handleEvent, "An object listener must have handleEvent method.");
- listener[goog.events.LISTENER_WRAPPER_PROP_] || (listener[goog.events.LISTENER_WRAPPER_PROP_] = function(e) {
- return listener.handleEvent(e);
- });
- return listener[goog.events.LISTENER_WRAPPER_PROP_];
-};
-goog.debug.entryPointRegistry.register(function(transformer) {
- goog.events.handleBrowserEvent_ = transformer(goog.events.handleBrowserEvent_);
-});
-goog.events.EventTarget = function() {
- goog.Disposable.call(this);
- this.eventTargetListeners_ = new goog.events.ListenerMap(this);
- this.actualEventTarget_ = this;
- this.parentEventTarget_ = null;
-};
-goog.inherits(goog.events.EventTarget, goog.Disposable);
-goog.events.Listenable.addImplementation(goog.events.EventTarget);
-goog.events.EventTarget.MAX_ANCESTORS_ = 1E3;
-goog.events.EventTarget.prototype.getParentEventTarget = function() {
- return this.parentEventTarget_;
-};
-goog.events.EventTarget.prototype.setParentEventTarget = function(parent) {
- this.parentEventTarget_ = parent;
-};
-goog.events.EventTarget.prototype.addEventListener = function(type, handler, opt_capture, opt_handlerScope) {
- goog.events.listen(this, type, handler, opt_capture, opt_handlerScope);
-};
-goog.events.EventTarget.prototype.removeEventListener = function(type, handler, opt_capture, opt_handlerScope) {
- goog.events.unlisten(this, type, handler, opt_capture, opt_handlerScope);
-};
-goog.events.EventTarget.prototype.dispatchEvent = function(e) {
- this.assertInitialized_();
- var ancestor = this.getParentEventTarget();
- if (ancestor) {
- var ancestorsTree = [];
- for (var ancestorCount = 1; ancestor; ancestor = ancestor.getParentEventTarget()) {
- ancestorsTree.push(ancestor), goog.asserts.assert(++ancestorCount < goog.events.EventTarget.MAX_ANCESTORS_, "infinite loop");
- }
+ if ("undefined" !== typeof Set && obj instanceof Set) {
+ return new Set(obj);
}
- return goog.events.EventTarget.dispatchEventInternal_(this.actualEventTarget_, e, ancestorsTree);
-};
-goog.events.EventTarget.prototype.disposeInternal = function() {
- goog.events.EventTarget.superClass_.disposeInternal.call(this);
- this.removeAllListeners();
- this.parentEventTarget_ = null;
-};
-goog.events.EventTarget.prototype.listen = function(type, listener, opt_useCapture, opt_listenerScope) {
- this.assertInitialized_();
- return this.eventTargetListeners_.add(String(type), listener, !1, opt_useCapture, opt_listenerScope);
-};
-goog.events.EventTarget.prototype.listenOnce = function(type, listener, opt_useCapture, opt_listenerScope) {
- return this.eventTargetListeners_.add(String(type), listener, !0, opt_useCapture, opt_listenerScope);
-};
-goog.events.EventTarget.prototype.unlisten = function(type, listener, opt_useCapture, opt_listenerScope) {
- return this.eventTargetListeners_.remove(String(type), listener, opt_useCapture, opt_listenerScope);
-};
-goog.events.EventTarget.prototype.unlistenByKey = function(key) {
- return this.eventTargetListeners_.removeByKey(key);
-};
-goog.events.EventTarget.prototype.removeAllListeners = function(opt_type) {
- return this.eventTargetListeners_ ? this.eventTargetListeners_.removeAll(opt_type) : 0;
-};
-goog.events.EventTarget.prototype.fireListeners = function(type, capture, eventObject) {
- var listenerArray = this.eventTargetListeners_.listeners[String(type)];
- if (!listenerArray) {
- return !0;
+ if (obj instanceof Date) {
+ return new Date(obj.getTime());
}
- listenerArray = listenerArray.concat();
- for (var rv = !0, i = 0; i < listenerArray.length; ++i) {
- var listener = listenerArray[i];
- if (listener && !listener.removed && listener.capture == capture) {
- var listenerFn = listener.listener, listenerHandler = listener.handler || listener.src;
- listener.callOnce && this.unlistenByKey(listener);
- rv = !1 !== listenerFn.call(listenerHandler, eventObject) && rv;
+ var clone = Array.isArray(obj) ? [] : "function" !== typeof ArrayBuffer || "function" !== typeof ArrayBuffer.isView || !ArrayBuffer.isView(obj) || obj instanceof DataView ? {} : new obj.constructor(obj.length), key;
+ for (key in obj) {
+ clone[key] = module$contents$goog$object_unsafeClone(obj[key]);
+ }
+ return clone;
+}
+var module$contents$goog$object_PROTOTYPE_FIELDS = "constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
+function module$contents$goog$object_extend(target, var_args) {
+ for (var key, source, i = 1; i < arguments.length; i++) {
+ source = arguments[i];
+ for (key in source) {
+ target[key] = source[key];
+ }
+ for (var j = 0; j < module$contents$goog$object_PROTOTYPE_FIELDS.length; j++) {
+ key = module$contents$goog$object_PROTOTYPE_FIELDS[j], Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
}
}
- return rv && !eventObject.defaultPrevented;
-};
-goog.events.EventTarget.prototype.getListeners = function(type, capture) {
- return this.eventTargetListeners_.getListeners(String(type), capture);
-};
-goog.events.EventTarget.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
- return this.eventTargetListeners_.getListener(String(type), listener, capture, opt_listenerScope);
-};
-goog.events.EventTarget.prototype.hasListener = function(opt_type, opt_capture) {
- return this.eventTargetListeners_.hasListener(void 0 !== opt_type ? String(opt_type) : void 0, opt_capture);
-};
-goog.events.EventTarget.prototype.setTargetForTesting = function(target) {
- this.actualEventTarget_ = target;
-};
-goog.events.EventTarget.prototype.assertInitialized_ = function() {
- goog.asserts.assert(this.eventTargetListeners_, "Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?");
-};
-goog.events.EventTarget.dispatchEventInternal_ = function(target, e, opt_ancestorsTree) {
- var type = e.type || e;
- if ("string" === typeof e) {
- e = new goog.events.Event(e, target);
- } else if (e instanceof goog.events.Event) {
- e.target = e.target || target;
- } else {
- var oldEvent = e;
- e = new goog.events.Event(type, target);
- module$contents$goog$object_extend(e, oldEvent);
+}
+function module$contents$goog$object_create(var_args) {
+ var argLength = arguments.length;
+ if (1 == argLength && Array.isArray(arguments[0])) {
+ return module$contents$goog$object_create.apply(null, arguments[0]);
}
- var rv = !0;
- if (opt_ancestorsTree) {
- for (var i = opt_ancestorsTree.length - 1; !e.hasPropagationStopped() && 0 <= i; i--) {
- var currentTarget = e.currentTarget = opt_ancestorsTree[i];
- rv = currentTarget.fireListeners(type, !0, e) && rv;
- }
+ if (argLength % 2) {
+ throw Error("Uneven number of arguments");
}
- e.hasPropagationStopped() || (currentTarget = e.currentTarget = target, rv = currentTarget.fireListeners(type, !0, e) && rv, e.hasPropagationStopped() || (rv = currentTarget.fireListeners(type, !1, e) && rv));
- if (opt_ancestorsTree) {
- for (i = 0; !e.hasPropagationStopped() && i < opt_ancestorsTree.length; i++) {
- currentTarget = e.currentTarget = opt_ancestorsTree[i], rv = currentTarget.fireListeners(type, !1, e) && rv;
- }
+ for (var rv = {}, i = 0; i < argLength; i += 2) {
+ rv[arguments[i]] = arguments[i + 1];
}
return rv;
-};
-goog.structs = {};
-goog.structs.Collection = function() {
-};
-goog.collections = {};
-goog.collections.iters = {};
-function module$contents$goog$collections$iters_getIterator(iterable) {
- return iterable[goog.global.Symbol.iterator]();
}
-goog.collections.iters.getIterator = module$contents$goog$collections$iters_getIterator;
-function module$contents$goog$collections$iters_forEach(iterator, f) {
- for (var result; !(result = iterator.next()).done;) {
- f(result.value);
+function module$contents$goog$object_createSet(var_args) {
+ var argLength = arguments.length;
+ if (1 == argLength && Array.isArray(arguments[0])) {
+ return module$contents$goog$object_createSet.apply(null, arguments[0]);
+ }
+ for (var rv = {}, i = 0; i < argLength; i++) {
+ rv[arguments[i]] = !0;
}
+ return rv;
}
-goog.collections.iters.forEach = module$contents$goog$collections$iters_forEach;
-var module$contents$goog$collections$iters_MapIterator = function(childIter, mapFn) {
- this.childIterator_ = module$contents$goog$collections$iters_getIterator(childIter);
- this.mapFn_ = mapFn;
-};
-module$contents$goog$collections$iters_MapIterator.prototype[Symbol.iterator] = function() {
- return this;
-};
-module$contents$goog$collections$iters_MapIterator.prototype.next = function() {
- var childResult = this.childIterator_.next();
- return {value:childResult.done ? void 0 : this.mapFn_.call(void 0, childResult.value), done:childResult.done,};
-};
-goog.collections.iters.map = function(iterable, f) {
- return new module$contents$goog$collections$iters_MapIterator(iterable, f);
-};
-var module$contents$goog$collections$iters_FilterIterator = function(childIter, filterFn) {
- this.childIter_ = module$contents$goog$collections$iters_getIterator(childIter);
- this.filterFn_ = filterFn;
+goog.object.add = function(obj, key, val) {
+ if (null !== obj && key in obj) {
+ throw Error('The object already contains the key "' + key + '"');
+ }
+ module$contents$goog$object_set(obj, key, val);
};
-module$contents$goog$collections$iters_FilterIterator.prototype[Symbol.iterator] = function() {
- return this;
+goog.object.clear = module$contents$goog$object_clear;
+goog.object.clone = module$contents$goog$object_clone;
+goog.object.contains = module$contents$goog$object_contains;
+goog.object.containsKey = module$contents$goog$object_containsKey;
+goog.object.containsValue = module$contents$goog$object_containsValue;
+goog.object.create = module$contents$goog$object_create;
+goog.object.createImmutableView = function(obj) {
+ var result = obj;
+ Object.isFrozen && !Object.isFrozen(obj) && (result = Object.create(obj), Object.freeze(result));
+ return result;
};
-module$contents$goog$collections$iters_FilterIterator.prototype.next = function() {
- for (;;) {
- var childResult = this.childIter_.next();
- if (childResult.done) {
- return {done:!0, value:void 0};
+goog.object.createSet = module$contents$goog$object_createSet;
+goog.object.equals = function(a, b) {
+ for (var k in a) {
+ if (!(k in b) || a[k] !== b[k]) {
+ return !1;
}
- if (this.filterFn_.call(void 0, childResult.value)) {
- return childResult;
+ }
+ for (var k$jscomp$0 in b) {
+ if (!(k$jscomp$0 in a)) {
+ return !1;
}
}
+ return !0;
};
-goog.collections.iters.filter = function(iterable, f) {
- return new module$contents$goog$collections$iters_FilterIterator(iterable, f);
+goog.object.every = function(obj, f, opt_obj) {
+ for (var key in obj) {
+ if (!f.call(opt_obj, obj[key], key, obj)) {
+ return !1;
+ }
+ }
+ return !0;
};
-var module$contents$goog$collections$iters_ConcatIterator = function(iterators) {
- this.iterators_ = iterators;
- this.iterIndex_ = 0;
+goog.object.extend = module$contents$goog$object_extend;
+goog.object.filter = module$contents$goog$object_filter;
+goog.object.findKey = module$contents$goog$object_findKey;
+goog.object.findValue = function(obj, f, thisObj) {
+ var key = module$contents$goog$object_findKey(obj, f, thisObj);
+ return key && obj[key];
};
-module$contents$goog$collections$iters_ConcatIterator.prototype[Symbol.iterator] = function() {
- return this;
+goog.object.forEach = module$contents$goog$object_forEach;
+goog.object.get = function(obj, key, val) {
+ return null !== obj && key in obj ? obj[key] : val;
};
-module$contents$goog$collections$iters_ConcatIterator.prototype.next = function() {
- for (; this.iterIndex_ < this.iterators_.length;) {
- var result = this.iterators_[this.iterIndex_].next();
- if (!result.done) {
- return result;
+goog.object.getAllPropertyNames = function(obj, includeObjectPrototype, includeFunctionPrototype) {
+ if (!obj) {
+ return [];
+ }
+ if (!Object.getOwnPropertyNames || !Object.getPrototypeOf) {
+ return module$contents$goog$object_getKeys(obj);
+ }
+ for (var visitedSet = {}, proto = obj; proto && (proto !== Object.prototype || includeObjectPrototype) && (proto !== Function.prototype || includeFunctionPrototype);) {
+ for (var names = Object.getOwnPropertyNames(proto), i = 0; i < names.length; i++) {
+ visitedSet[names[i]] = !0;
}
- this.iterIndex_++;
+ proto = Object.getPrototypeOf(proto);
}
- return {done:!0};
-};
-goog.collections.iters.concat = function() {
- return new module$contents$goog$collections$iters_ConcatIterator($jscomp.getRestArguments.apply(0, arguments).map(module$contents$goog$collections$iters_getIterator));
+ return module$contents$goog$object_getKeys(visitedSet);
};
-goog.collections.iters.toArray = function(iterator) {
- var arr = [];
- module$contents$goog$collections$iters_forEach(iterator, function(e) {
- return arr.push(e);
- });
- return arr;
+goog.object.getAnyKey = function(obj) {
+ for (var key in obj) {
+ return key;
+ }
};
-goog.functions = {};
-goog.functions.constant = function(retValue) {
- return function() {
- return retValue;
- };
+goog.object.getAnyValue = function(obj) {
+ for (var key in obj) {
+ return obj[key];
+ }
};
-goog.functions.FALSE = function() {
- return !1;
+goog.object.getCount = module$contents$goog$object_getCount;
+goog.object.getKeys = module$contents$goog$object_getKeys;
+goog.object.getSuperClass = function(constructor) {
+ var proto = Object.getPrototypeOf(constructor.prototype);
+ return proto && proto.constructor;
};
-goog.functions.TRUE = function() {
- return !0;
+goog.object.getValueByKeys = function(obj, var_args) {
+ for (var isArrayLike = goog.isArrayLike(var_args), keys = isArrayLike ? var_args : arguments, i = isArrayLike ? 0 : 1; i < keys.length; i++) {
+ if (null == obj) {
+ return;
+ }
+ obj = obj[keys[i]];
+ }
+ return obj;
};
-goog.functions.NULL = function() {
- return null;
+goog.object.getValues = module$contents$goog$object_getValues;
+goog.object.isEmpty = module$contents$goog$object_isEmpty;
+goog.object.isImmutableView = function(obj) {
+ return !!Object.isFrozen && Object.isFrozen(obj);
};
-goog.functions.UNDEFINED = function() {
+goog.object.map = module$contents$goog$object_map;
+goog.object.remove = module$contents$goog$object_remove;
+goog.object.set = module$contents$goog$object_set;
+goog.object.setIfUndefined = function(obj, key, value) {
+ return key in obj ? obj[key] : obj[key] = value;
};
-goog.functions.EMPTY = goog.functions.UNDEFINED;
-goog.functions.identity = function(opt_returnValue, var_args) {
- return opt_returnValue;
+goog.object.setWithReturnValueIfNotSet = function(obj, key, f) {
+ if (key in obj) {
+ return obj[key];
+ }
+ var val = f();
+ return obj[key] = val;
};
-goog.functions.error = function(message) {
- return function() {
- throw Error(message);
- };
+goog.object.some = module$contents$goog$object_some;
+goog.object.transpose = function(obj) {
+ var transposed = {}, key;
+ for (key in obj) {
+ transposed[obj[key]] = key;
+ }
+ return transposed;
};
-goog.functions.fail = function(err) {
- return function() {
- throw err;
- };
+goog.object.unsafeClone = module$contents$goog$object_unsafeClone;
+goog.events.ListenerMap = function(src) {
+ this.src = src;
+ this.listeners = {};
+ this.typeCount_ = 0;
};
-goog.functions.lock = function(f, opt_numArgs) {
- opt_numArgs = opt_numArgs || 0;
- return function() {
- return f.apply(this, Array.prototype.slice.call(arguments, 0, opt_numArgs));
- };
+goog.events.ListenerMap.prototype.getTypeCount = function() {
+ return this.typeCount_;
};
-goog.functions.nth = function(n) {
- return function() {
- return arguments[n];
- };
+goog.events.ListenerMap.prototype.getListenerCount = function() {
+ var count = 0, type;
+ for (type in this.listeners) {
+ count += this.listeners[type].length;
+ }
+ return count;
};
-goog.functions.partialRight = function(fn, var_args) {
- var rightArgs = Array.prototype.slice.call(arguments, 1);
- return function() {
- var self = this;
- self === goog.global && (self = void 0);
- var newArgs = Array.prototype.slice.call(arguments);
- newArgs.push.apply(newArgs, rightArgs);
- return fn.apply(self, newArgs);
- };
+goog.events.ListenerMap.prototype.add = function(type, listener, callOnce, opt_useCapture, opt_listenerScope) {
+ var typeStr = type.toString(), listenerArray = this.listeners[typeStr];
+ listenerArray || (listenerArray = this.listeners[typeStr] = [], this.typeCount_++);
+ var index = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
+ if (-1 < index) {
+ var listenerObj = listenerArray[index];
+ callOnce || (listenerObj.callOnce = !1);
+ } else {
+ listenerObj = new goog.events.Listener(listener, null, this.src, typeStr, !!opt_useCapture, opt_listenerScope), listenerObj.callOnce = callOnce, listenerArray.push(listenerObj);
+ }
+ return listenerObj;
};
-goog.functions.withReturnValue = function(f, retValue) {
- return goog.functions.sequence(f, goog.functions.constant(retValue));
+goog.events.ListenerMap.prototype.remove = function(type, listener, opt_useCapture, opt_listenerScope) {
+ var typeStr = type.toString();
+ if (!(typeStr in this.listeners)) {
+ return !1;
+ }
+ var listenerArray = this.listeners[typeStr], index = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, opt_useCapture, opt_listenerScope);
+ return -1 < index ? (listenerArray[index].markAsRemoved(), module$contents$goog$array_removeAt(listenerArray, index), 0 == listenerArray.length && (delete this.listeners[typeStr], this.typeCount_--), !0) : !1;
};
-goog.functions.equalTo = function(value, opt_useLooseComparison) {
- return function(other) {
- return opt_useLooseComparison ? value == other : value === other;
- };
+goog.events.ListenerMap.prototype.removeByKey = function(listener) {
+ var type = listener.type;
+ if (!(type in this.listeners)) {
+ return !1;
+ }
+ var removed = module$contents$goog$array_remove(this.listeners[type], listener);
+ removed && (listener.markAsRemoved(), 0 == this.listeners[type].length && (delete this.listeners[type], this.typeCount_--));
+ return removed;
};
-goog.functions.compose = function(fn, var_args) {
- var functions = arguments, length = functions.length;
- return function() {
- var result;
- length && (result = functions[length - 1].apply(this, arguments));
- for (var i = length - 2; 0 <= i; i--) {
- result = functions[i].call(this, result);
+goog.events.ListenerMap.prototype.removeAll = function(opt_type) {
+ var typeStr = opt_type && opt_type.toString(), count = 0, type;
+ for (type in this.listeners) {
+ if (!typeStr || type == typeStr) {
+ for (var listenerArray = this.listeners[type], i = 0; i < listenerArray.length; i++) {
+ ++count, listenerArray[i].markAsRemoved();
+ }
+ delete this.listeners[type];
+ this.typeCount_--;
}
- return result;
- };
+ }
+ return count;
};
-goog.functions.sequence = function(var_args) {
- var functions = arguments, length = functions.length;
- return function() {
- for (var result, i = 0; i < length; i++) {
- result = functions[i].apply(this, arguments);
+goog.events.ListenerMap.prototype.getListeners = function(type, capture) {
+ var listenerArray = this.listeners[type.toString()], rv = [];
+ if (listenerArray) {
+ for (var i = 0; i < listenerArray.length; ++i) {
+ var listenerObj = listenerArray[i];
+ listenerObj.capture == capture && rv.push(listenerObj);
}
- return result;
- };
+ }
+ return rv;
};
-goog.functions.and = function(var_args) {
- var functions = arguments, length = functions.length;
- return function() {
- for (var i = 0; i < length; i++) {
- if (!functions[i].apply(this, arguments)) {
- return !1;
- }
- }
- return !0;
- };
+goog.events.ListenerMap.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
+ var listenerArray = this.listeners[type.toString()], i = -1;
+ listenerArray && (i = goog.events.ListenerMap.findListenerIndex_(listenerArray, listener, capture, opt_listenerScope));
+ return -1 < i ? listenerArray[i] : null;
};
-goog.functions.or = function(var_args) {
- var functions = arguments, length = functions.length;
- return function() {
- for (var i = 0; i < length; i++) {
- if (functions[i].apply(this, arguments)) {
+goog.events.ListenerMap.prototype.hasListener = function(opt_type, opt_capture) {
+ var hasType = void 0 !== opt_type, typeStr = hasType ? opt_type.toString() : "", hasCapture = void 0 !== opt_capture;
+ return module$contents$goog$object_some(this.listeners, function(listenerArray, type) {
+ for (var i = 0; i < listenerArray.length; ++i) {
+ if (!(hasType && listenerArray[i].type != typeStr || hasCapture && listenerArray[i].capture != opt_capture)) {
return !0;
}
}
return !1;
- };
+ });
};
-goog.functions.not = function(f) {
- return function() {
- return !f.apply(this, arguments);
- };
+goog.events.ListenerMap.findListenerIndex_ = function(listenerArray, listener, opt_useCapture, opt_listenerScope) {
+ for (var i = 0; i < listenerArray.length; ++i) {
+ var listenerObj = listenerArray[i];
+ if (!listenerObj.removed && listenerObj.listener == listener && listenerObj.capture == !!opt_useCapture && listenerObj.handler == opt_listenerScope) {
+ return i;
+ }
+ }
+ return -1;
};
-goog.functions.create = function(constructor, var_args) {
- var temp = function() {
- };
- temp.prototype = constructor.prototype;
- var obj = new temp();
- constructor.apply(obj, Array.prototype.slice.call(arguments, 1));
- return obj;
+goog.events.Key = {};
+goog.events.ListenableType = {};
+goog.events.LISTENER_MAP_PROP_ = "closure_lm_" + (1E6 * Math.random() | 0);
+goog.events.onString_ = "on";
+goog.events.onStringMap_ = {};
+goog.events.CaptureSimulationMode = {OFF_AND_FAIL:0, OFF_AND_SILENT:1, ON:2};
+goog.events.CAPTURE_SIMULATION_MODE = 2;
+goog.events.listenerCountEstimate_ = 0;
+goog.events.listen = function(src, type, listener, opt_options, opt_handler) {
+ if (opt_options && opt_options.once) {
+ return goog.events.listenOnce(src, type, listener, opt_options, opt_handler);
+ }
+ if (Array.isArray(type)) {
+ for (var i = 0; i < type.length; i++) {
+ goog.events.listen(src, type[i], listener, opt_options, opt_handler);
+ }
+ return null;
+ }
+ listener = goog.events.wrapListener(listener);
+ return goog.events.Listenable.isImplementedBy(src) ? src.listen(type, listener, goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, opt_handler) : goog.events.listen_(src, type, listener, !1, opt_options, opt_handler);
+};
+goog.events.listen_ = function(src, type, listener, callOnce, opt_options, opt_handler) {
+ if (!type) {
+ throw Error("Invalid event type");
+ }
+ var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, listenerMap = goog.events.getListenerMap_(src);
+ listenerMap || (src[goog.events.LISTENER_MAP_PROP_] = listenerMap = new goog.events.ListenerMap(src));
+ var listenerObj = listenerMap.add(type, listener, callOnce, capture, opt_handler);
+ if (listenerObj.proxy) {
+ return listenerObj;
+ }
+ var proxy = goog.events.getProxy();
+ listenerObj.proxy = proxy;
+ proxy.src = src;
+ proxy.listener = listenerObj;
+ if (src.addEventListener) {
+ goog.events.BrowserFeature.PASSIVE_EVENTS || (opt_options = capture), void 0 === opt_options && (opt_options = !1), src.addEventListener(type.toString(), proxy, opt_options);
+ } else if (src.attachEvent) {
+ src.attachEvent(goog.events.getOnString_(type.toString()), proxy);
+ } else if (src.addListener && src.removeListener) {
+ goog.asserts.assert("change" === type, "MediaQueryList only has a change event"), src.addListener(proxy);
+ } else {
+ throw Error("addEventListener and attachEvent are unavailable.");
+ }
+ goog.events.listenerCountEstimate_++;
+ return listenerObj;
};
-goog.functions.CACHE_RETURN_VALUE = !0;
-goog.functions.cacheReturnValue = function(fn) {
- var called = !1, value;
- return function() {
- if (!goog.functions.CACHE_RETURN_VALUE) {
- return fn();
- }
- called || (value = fn(), called = !0);
- return value;
+goog.events.getProxy = function() {
+ var proxyCallbackFunction = goog.events.handleBrowserEvent_, f = function(eventObject) {
+ return proxyCallbackFunction.call(f.src, f.listener, eventObject);
};
+ return f;
};
-goog.functions.once = function(f) {
- var inner = f;
- return function() {
- if (inner) {
- var tmp = inner;
- inner = null;
- tmp();
+goog.events.listenOnce = function(src, type, listener, opt_options, opt_handler) {
+ if (Array.isArray(type)) {
+ for (var i = 0; i < type.length; i++) {
+ goog.events.listenOnce(src, type[i], listener, opt_options, opt_handler);
}
- };
-};
-goog.functions.debounce = function(f, interval, opt_scope) {
- var timeout = 0;
- return function(var_args) {
- goog.global.clearTimeout(timeout);
- var args = arguments;
- timeout = goog.global.setTimeout(function() {
- f.apply(opt_scope, args);
- }, interval);
- };
-};
-goog.functions.throttle = function(f, interval, opt_scope) {
- var timeout = 0, shouldFire = !1, storedArgs = [], handleTimeout = function() {
- timeout = 0;
- shouldFire && (shouldFire = !1, fire());
- }, fire = function() {
- timeout = goog.global.setTimeout(handleTimeout, interval);
- var args = storedArgs;
- storedArgs = [];
- f.apply(opt_scope, args);
- };
- return function(var_args) {
- storedArgs = arguments;
- timeout ? shouldFire = !0 : fire();
- };
+ return null;
+ }
+ listener = goog.events.wrapListener(listener);
+ return goog.events.Listenable.isImplementedBy(src) ? src.listenOnce(type, listener, goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options, opt_handler) : goog.events.listen_(src, type, listener, !0, opt_options, opt_handler);
};
-goog.functions.rateLimit = function(f, interval, opt_scope) {
- var timeout = 0, handleTimeout = function() {
- timeout = 0;
- };
- return function(var_args) {
- timeout || (timeout = goog.global.setTimeout(handleTimeout, interval), f.apply(opt_scope, arguments));
- };
+goog.events.listenWithWrapper = function(src, wrapper, listener, opt_capt, opt_handler) {
+ wrapper.listen(src, listener, opt_capt, opt_handler);
};
-goog.functions.isFunction = function(val) {
- return "function" === typeof val;
+goog.events.unlisten = function(src, type, listener, opt_options, opt_handler) {
+ if (Array.isArray(type)) {
+ for (var i = 0; i < type.length; i++) {
+ goog.events.unlisten(src, type[i], listener, opt_options, opt_handler);
+ }
+ return null;
+ }
+ var capture = goog.isObject(opt_options) ? !!opt_options.capture : !!opt_options;
+ listener = goog.events.wrapListener(listener);
+ if (goog.events.Listenable.isImplementedBy(src)) {
+ return src.unlisten(type, listener, capture, opt_handler);
+ }
+ if (!src) {
+ return !1;
+ }
+ var listenerMap = goog.events.getListenerMap_(src);
+ if (listenerMap) {
+ var listenerObj = listenerMap.getListener(type, listener, capture, opt_handler);
+ if (listenerObj) {
+ return goog.events.unlistenByKey(listenerObj);
+ }
+ }
+ return !1;
};
-goog.math = {};
-goog.math.randomInt = function(a) {
- return Math.floor(Math.random() * a);
+goog.events.unlistenByKey = function(key) {
+ if ("number" === typeof key || !key || key.removed) {
+ return !1;
+ }
+ var src = key.src;
+ if (goog.events.Listenable.isImplementedBy(src)) {
+ return src.unlistenByKey(key);
+ }
+ var type = key.type, proxy = key.proxy;
+ src.removeEventListener ? src.removeEventListener(type, proxy, key.capture) : src.detachEvent ? src.detachEvent(goog.events.getOnString_(type), proxy) : src.addListener && src.removeListener && src.removeListener(proxy);
+ goog.events.listenerCountEstimate_--;
+ var listenerMap = goog.events.getListenerMap_(src);
+ listenerMap ? (listenerMap.removeByKey(key), 0 == listenerMap.getTypeCount() && (listenerMap.src = null, src[goog.events.LISTENER_MAP_PROP_] = null)) : key.markAsRemoved();
+ return !0;
};
-goog.math.uniformRandom = function(a, b) {
- return a + Math.random() * (b - a);
+goog.events.unlistenWithWrapper = function(src, wrapper, listener, opt_capt, opt_handler) {
+ wrapper.unlisten(src, listener, opt_capt, opt_handler);
};
-goog.math.clamp = function(value, min, max) {
- return Math.min(Math.max(value, min), max);
+goog.events.removeAll = function(obj, opt_type) {
+ if (!obj) {
+ return 0;
+ }
+ if (goog.events.Listenable.isImplementedBy(obj)) {
+ return obj.removeAllListeners(opt_type);
+ }
+ var listenerMap = goog.events.getListenerMap_(obj);
+ if (!listenerMap) {
+ return 0;
+ }
+ var count = 0, typeStr = opt_type && opt_type.toString(), type;
+ for (type in listenerMap.listeners) {
+ if (!typeStr || type == typeStr) {
+ for (var listeners = listenerMap.listeners[type].concat(), i = 0; i < listeners.length; ++i) {
+ goog.events.unlistenByKey(listeners[i]) && ++count;
+ }
+ }
+ }
+ return count;
};
-goog.math.modulo = function(a, b) {
- var r = a % b;
- return 0 > r * b ? r + b : r;
+goog.events.getListeners = function(obj, type, capture) {
+ if (goog.events.Listenable.isImplementedBy(obj)) {
+ return obj.getListeners(type, capture);
+ }
+ if (!obj) {
+ return [];
+ }
+ var listenerMap = goog.events.getListenerMap_(obj);
+ return listenerMap ? listenerMap.getListeners(type, capture) : [];
};
-goog.math.lerp = function(a, b, x) {
- return a + x * (b - a);
+goog.events.getListener = function(src, type, listener, opt_capt, opt_handler) {
+ listener = goog.events.wrapListener(listener);
+ var capture = !!opt_capt;
+ if (goog.events.Listenable.isImplementedBy(src)) {
+ return src.getListener(type, listener, capture, opt_handler);
+ }
+ if (!src) {
+ return null;
+ }
+ var listenerMap = goog.events.getListenerMap_(src);
+ return listenerMap ? listenerMap.getListener(type, listener, capture, opt_handler) : null;
};
-goog.math.nearlyEquals = function(a, b, opt_tolerance) {
- return Math.abs(a - b) <= (opt_tolerance || 1E-6);
+goog.events.hasListener = function(obj, opt_type, opt_capture) {
+ if (goog.events.Listenable.isImplementedBy(obj)) {
+ return obj.hasListener(opt_type, opt_capture);
+ }
+ var listenerMap = goog.events.getListenerMap_(obj);
+ return !!listenerMap && listenerMap.hasListener(opt_type, opt_capture);
};
-goog.math.standardAngle = function(angle) {
- return goog.math.modulo(angle, 360);
+goog.events.expose = function(e) {
+ var str = [], key;
+ for (key in e) {
+ e[key] && e[key].id ? str.push(key + " = " + e[key] + " (" + e[key].id + ")") : str.push(key + " = " + e[key]);
+ }
+ return str.join("\n");
};
-goog.math.standardAngleInRadians = function(angle) {
- return goog.math.modulo(angle, 2 * Math.PI);
+goog.events.getOnString_ = function(type) {
+ return type in goog.events.onStringMap_ ? goog.events.onStringMap_[type] : goog.events.onStringMap_[type] = goog.events.onString_ + type;
};
-goog.math.toRadians = function(angleDegrees) {
- return angleDegrees * Math.PI / 180;
+goog.events.fireListeners = function(obj, type, capture, eventObject) {
+ return goog.events.Listenable.isImplementedBy(obj) ? obj.fireListeners(type, capture, eventObject) : goog.events.fireListeners_(obj, type, capture, eventObject);
};
-goog.math.toDegrees = function(angleRadians) {
- return 180 * angleRadians / Math.PI;
+goog.events.fireListeners_ = function(obj, type, capture, eventObject) {
+ var retval = !0, listenerMap = goog.events.getListenerMap_(obj);
+ if (listenerMap) {
+ var listenerArray = listenerMap.listeners[type.toString()];
+ if (listenerArray) {
+ listenerArray = listenerArray.concat();
+ for (var i = 0; i < listenerArray.length; i++) {
+ var listener = listenerArray[i];
+ if (listener && listener.capture == capture && !listener.removed) {
+ var result = goog.events.fireListener(listener, eventObject);
+ retval = retval && !1 !== result;
+ }
+ }
+ }
+ }
+ return retval;
};
-goog.math.angleDx = function(degrees, radius) {
- return radius * Math.cos(goog.math.toRadians(degrees));
+goog.events.fireListener = function(listener, eventObject) {
+ var listenerFn = listener.listener, listenerHandler = listener.handler || listener.src;
+ listener.callOnce && goog.events.unlistenByKey(listener);
+ return listenerFn.call(listenerHandler, eventObject);
};
-goog.math.angleDy = function(degrees, radius) {
- return radius * Math.sin(goog.math.toRadians(degrees));
+goog.events.getTotalListenerCount = function() {
+ return goog.events.listenerCountEstimate_;
};
-goog.math.angle = function(x1, y1, x2, y2) {
- return goog.math.standardAngle(goog.math.toDegrees(Math.atan2(y2 - y1, x2 - x1)));
+goog.events.dispatchEvent = function(src, e) {
+ goog.asserts.assert(goog.events.Listenable.isImplementedBy(src), "Can not use goog.events.dispatchEvent with non-goog.events.Listenable instance.");
+ return src.dispatchEvent(e);
};
-goog.math.angleDifference = function(startAngle, endAngle) {
- var d = goog.math.standardAngle(endAngle) - goog.math.standardAngle(startAngle);
- 180 < d ? d -= 360 : -180 >= d && (d = 360 + d);
- return d;
+goog.events.protectBrowserEventEntryPoint = function(errorHandler) {
+ goog.events.handleBrowserEvent_ = errorHandler.protectEntryPoint(goog.events.handleBrowserEvent_);
};
-goog.math.sign = function(x) {
- return 0 < x ? 1 : 0 > x ? -1 : x;
+goog.events.handleBrowserEvent_ = function(listener, opt_evt) {
+ return listener.removed ? !0 : goog.events.fireListener(listener, new goog.events.BrowserEvent(opt_evt, this));
};
-goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
- for (var compare = opt_compareFn || function(a, b) {
- return a == b;
- }, collect = opt_collectorFn || function(i1, i2) {
- return array1[i1];
- }, length1 = array1.length, length2 = array2.length, arr = [], i = 0; i < length1 + 1; i++) {
- arr[i] = [], arr[i][0] = 0;
- }
- for (var j = 0; j < length2 + 1; j++) {
- arr[0][j] = 0;
- }
- for (i = 1; i <= length1; i++) {
- for (j = 1; j <= length2; j++) {
- compare(array1[i - 1], array2[j - 1]) ? arr[i][j] = arr[i - 1][j - 1] + 1 : arr[i][j] = Math.max(arr[i - 1][j], arr[i][j - 1]);
+goog.events.markIeEvent_ = function(e) {
+ var useReturnValue = !1;
+ if (0 == e.keyCode) {
+ try {
+ e.keyCode = -1;
+ return;
+ } catch (ex) {
+ useReturnValue = !0;
}
}
- var result = [];
- i = length1;
- for (j = length2; 0 < i && 0 < j;) {
- compare(array1[i - 1], array2[j - 1]) ? (result.unshift(collect(i - 1, j - 1)), i--, j--) : arr[i - 1][j] > arr[i][j - 1] ? i-- : j--;
+ if (useReturnValue || void 0 == e.returnValue) {
+ e.returnValue = !0;
}
- return result;
};
-goog.math.sum = function(var_args) {
- return Array.prototype.reduce.call(arguments, function(sum, value) {
- return sum + value;
- }, 0);
+goog.events.isMarkedIeEvent_ = function(e) {
+ return 0 > e.keyCode || void 0 != e.returnValue;
};
-goog.math.average = function(var_args) {
- return goog.math.sum.apply(null, arguments) / arguments.length;
+goog.events.uniqueIdCounter_ = 0;
+goog.events.getUniqueId = function(identifier) {
+ return identifier + "_" + goog.events.uniqueIdCounter_++;
};
-goog.math.sampleVariance = function(var_args) {
- var sampleSize = arguments.length;
- if (2 > sampleSize) {
- return 0;
+goog.events.getListenerMap_ = function(src) {
+ var listenerMap = src[goog.events.LISTENER_MAP_PROP_];
+ return listenerMap instanceof goog.events.ListenerMap ? listenerMap : null;
+};
+goog.events.LISTENER_WRAPPER_PROP_ = "__closure_events_fn_" + (1E9 * Math.random() >>> 0);
+goog.events.wrapListener = function(listener) {
+ goog.asserts.assert(listener, "Listener can not be null.");
+ if ("function" === typeof listener) {
+ return listener;
}
- var mean = goog.math.average.apply(null, arguments);
- return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
- return Math.pow(val - mean, 2);
- })) / (sampleSize - 1);
+ goog.asserts.assert(listener.handleEvent, "An object listener must have handleEvent method.");
+ listener[goog.events.LISTENER_WRAPPER_PROP_] || (listener[goog.events.LISTENER_WRAPPER_PROP_] = function(e) {
+ return listener.handleEvent(e);
+ });
+ return listener[goog.events.LISTENER_WRAPPER_PROP_];
};
-goog.math.standardDeviation = function(var_args) {
- return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
+goog.debug.entryPointRegistry.register(function(transformer) {
+ goog.events.handleBrowserEvent_ = transformer(goog.events.handleBrowserEvent_);
+});
+goog.events.EventTarget = function() {
+ goog.Disposable.call(this);
+ this.eventTargetListeners_ = new goog.events.ListenerMap(this);
+ this.actualEventTarget_ = this;
+ this.parentEventTarget_ = null;
};
-goog.math.isInt = function(num) {
- return isFinite(num) && 0 == num % 1;
+goog.inherits(goog.events.EventTarget, goog.Disposable);
+goog.events.Listenable.addImplementation(goog.events.EventTarget);
+goog.events.EventTarget.MAX_ANCESTORS_ = 1E3;
+goog.events.EventTarget.prototype.getParentEventTarget = function() {
+ return this.parentEventTarget_;
};
-goog.math.isFiniteNumber = function(num) {
- return isFinite(num);
+goog.events.EventTarget.prototype.setParentEventTarget = function(parent) {
+ this.parentEventTarget_ = parent;
};
-goog.math.isNegativeZero = function(num) {
- return 0 == num && 0 > 1 / num;
+goog.events.EventTarget.prototype.addEventListener = function(type, handler, opt_capture, opt_handlerScope) {
+ goog.events.listen(this, type, handler, opt_capture, opt_handlerScope);
};
-goog.math.log10Floor = function(num) {
- if (0 < num) {
- var x = Math.round(Math.log(num) * Math.LOG10E);
- return x - (parseFloat("1e" + x) > num ? 1 : 0);
+goog.events.EventTarget.prototype.removeEventListener = function(type, handler, opt_capture, opt_handlerScope) {
+ goog.events.unlisten(this, type, handler, opt_capture, opt_handlerScope);
+};
+goog.events.EventTarget.prototype.dispatchEvent = function(e) {
+ this.assertInitialized_();
+ var ancestor = this.getParentEventTarget();
+ if (ancestor) {
+ var ancestorsTree = [];
+ for (var ancestorCount = 1; ancestor; ancestor = ancestor.getParentEventTarget()) {
+ ancestorsTree.push(ancestor), goog.asserts.assert(++ancestorCount < goog.events.EventTarget.MAX_ANCESTORS_, "infinite loop");
+ }
}
- return 0 == num ? -Infinity : NaN;
+ return goog.events.EventTarget.dispatchEventInternal_(this.actualEventTarget_, e, ancestorsTree);
};
-goog.math.safeFloor = function(num, opt_epsilon) {
- goog.asserts.assert(void 0 === opt_epsilon || 0 < opt_epsilon);
- return Math.floor(num + (opt_epsilon || 2E-15));
+goog.events.EventTarget.prototype.disposeInternal = function() {
+ goog.events.EventTarget.superClass_.disposeInternal.call(this);
+ this.removeAllListeners();
+ this.parentEventTarget_ = null;
};
-goog.math.safeCeil = function(num, opt_epsilon) {
- goog.asserts.assert(void 0 === opt_epsilon || 0 < opt_epsilon);
- return Math.ceil(num - (opt_epsilon || 2E-15));
+goog.events.EventTarget.prototype.listen = function(type, listener, opt_useCapture, opt_listenerScope) {
+ this.assertInitialized_();
+ return this.eventTargetListeners_.add(String(type), listener, !1, opt_useCapture, opt_listenerScope);
};
-goog.iter = {};
-goog.iter.Iterable = {};
-goog.iter.Iterator = function() {
+goog.events.EventTarget.prototype.listenOnce = function(type, listener, opt_useCapture, opt_listenerScope) {
+ return this.eventTargetListeners_.add(String(type), listener, !0, opt_useCapture, opt_listenerScope);
};
-goog.iter.Iterator.prototype.next = function() {
- return goog.iter.ES6_ITERATOR_DONE;
+goog.events.EventTarget.prototype.unlisten = function(type, listener, opt_useCapture, opt_listenerScope) {
+ return this.eventTargetListeners_.remove(String(type), listener, opt_useCapture, opt_listenerScope);
};
-goog.iter.ES6_ITERATOR_DONE = goog.debug.freeze({done:!0, value:void 0});
-goog.iter.createEs6IteratorYield = function(value) {
- return {value:value, done:!1};
+goog.events.EventTarget.prototype.unlistenByKey = function(key) {
+ return this.eventTargetListeners_.removeByKey(key);
};
-goog.iter.Iterator.prototype.__iterator__ = function(opt_keys) {
- return this;
+goog.events.EventTarget.prototype.removeAllListeners = function(opt_type) {
+ return this.eventTargetListeners_ ? this.eventTargetListeners_.removeAll(opt_type) : 0;
};
-goog.iter.toIterator = function(iterable) {
- if (iterable instanceof goog.iter.Iterator) {
- return iterable;
- }
- if ("function" == typeof iterable.__iterator__) {
- return iterable.__iterator__(!1);
+goog.events.EventTarget.prototype.fireListeners = function(type, capture, eventObject) {
+ var listenerArray = this.eventTargetListeners_.listeners[String(type)];
+ if (!listenerArray) {
+ return !0;
}
- if (goog.isArrayLike(iterable)) {
- var i = 0, newIter = new goog.iter.Iterator();
- newIter.next = function() {
- for (;;) {
- if (i >= iterable.length) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- if (i in iterable) {
- return goog.iter.createEs6IteratorYield(iterable[i++]);
- }
- i++;
- }
- };
- return newIter;
+ listenerArray = listenerArray.concat();
+ for (var rv = !0, i = 0; i < listenerArray.length; ++i) {
+ var listener = listenerArray[i];
+ if (listener && !listener.removed && listener.capture == capture) {
+ var listenerFn = listener.listener, listenerHandler = listener.handler || listener.src;
+ listener.callOnce && this.unlistenByKey(listener);
+ rv = !1 !== listenerFn.call(listenerHandler, eventObject) && rv;
+ }
}
- throw Error("Not implemented");
+ return rv && !eventObject.defaultPrevented;
};
-goog.iter.forEach = function(iterable, f, opt_obj) {
- if (goog.isArrayLike(iterable)) {
- module$contents$goog$array_forEach(iterable, f, opt_obj);
+goog.events.EventTarget.prototype.getListeners = function(type, capture) {
+ return this.eventTargetListeners_.getListeners(String(type), capture);
+};
+goog.events.EventTarget.prototype.getListener = function(type, listener, capture, opt_listenerScope) {
+ return this.eventTargetListeners_.getListener(String(type), listener, capture, opt_listenerScope);
+};
+goog.events.EventTarget.prototype.hasListener = function(opt_type, opt_capture) {
+ return this.eventTargetListeners_.hasListener(void 0 !== opt_type ? String(opt_type) : void 0, opt_capture);
+};
+goog.events.EventTarget.prototype.setTargetForTesting = function(target) {
+ this.actualEventTarget_ = target;
+};
+goog.events.EventTarget.prototype.assertInitialized_ = function() {
+ goog.asserts.assert(this.eventTargetListeners_, "Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?");
+};
+goog.events.EventTarget.dispatchEventInternal_ = function(target, e, opt_ancestorsTree) {
+ var type = e.type || e;
+ if ("string" === typeof e) {
+ e = new goog.events.Event(e, target);
+ } else if (e instanceof goog.events.Event) {
+ e.target = e.target || target;
} else {
- for (var iterator = goog.iter.toIterator(iterable);;) {
- var $jscomp$destructuring$var12 = iterator.next();
- if ($jscomp$destructuring$var12.done) {
- break;
- }
- f.call(opt_obj, $jscomp$destructuring$var12.value, void 0, iterator);
+ var oldEvent = e;
+ e = new goog.events.Event(type, target);
+ module$contents$goog$object_extend(e, oldEvent);
+ }
+ var rv = !0;
+ if (opt_ancestorsTree) {
+ for (var i = opt_ancestorsTree.length - 1; !e.hasPropagationStopped() && 0 <= i; i--) {
+ var currentTarget = e.currentTarget = opt_ancestorsTree[i];
+ rv = currentTarget.fireListeners(type, !0, e) && rv;
}
}
-};
-goog.iter.filter = function(iterable, f, opt_obj) {
- var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
- newIter.next = function() {
- for (;;) {
- var $jscomp$destructuring$var13 = iterator.next(), value = $jscomp$destructuring$var13.value;
- if ($jscomp$destructuring$var13.done) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- if (f.call(opt_obj, value, void 0, iterator)) {
- return goog.iter.createEs6IteratorYield(value);
- }
+ e.hasPropagationStopped() || (currentTarget = e.currentTarget = target, rv = currentTarget.fireListeners(type, !0, e) && rv, e.hasPropagationStopped() || (rv = currentTarget.fireListeners(type, !1, e) && rv));
+ if (opt_ancestorsTree) {
+ for (i = 0; !e.hasPropagationStopped() && i < opt_ancestorsTree.length; i++) {
+ currentTarget = e.currentTarget = opt_ancestorsTree[i], rv = currentTarget.fireListeners(type, !1, e) && rv;
}
- };
- return newIter;
+ }
+ return rv;
};
-goog.iter.filterFalse = function(iterable, f, opt_obj) {
- return goog.iter.filter(iterable, goog.functions.not(f), opt_obj);
+goog.structs = {};
+goog.structs.Collection = function() {
};
-goog.iter.range = function(startOrStop, opt_stop, opt_step) {
- var start = 0, stop = startOrStop, step = opt_step || 1;
- 1 < arguments.length && (start = startOrStop, stop = +opt_stop);
- if (0 == step) {
- throw Error("Range step argument must not be zero");
+goog.collections = {};
+goog.collections.iters = {};
+function module$contents$goog$collections$iters_getIterator(iterable) {
+ return iterable[goog.global.Symbol.iterator]();
+}
+goog.collections.iters.getIterator = module$contents$goog$collections$iters_getIterator;
+function module$contents$goog$collections$iters_forEach(iterator, f) {
+ for (var result; !(result = iterator.next()).done;) {
+ f(result.value);
}
- var newIter = new goog.iter.Iterator();
- newIter.next = function() {
- if (0 < step && start >= stop || 0 > step && start <= stop) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- var rv = start;
- start += step;
- return goog.iter.createEs6IteratorYield(rv);
- };
- return newIter;
+}
+goog.collections.iters.forEach = module$contents$goog$collections$iters_forEach;
+var module$contents$goog$collections$iters_MapIterator = function(childIter, mapFn) {
+ this.childIterator_ = module$contents$goog$collections$iters_getIterator(childIter);
+ this.mapFn_ = mapFn;
};
-goog.iter.join = function(iterable, deliminator) {
- return goog.iter.toArray(iterable).join(deliminator);
+module$contents$goog$collections$iters_MapIterator.prototype[Symbol.iterator] = function() {
+ return this;
};
-goog.iter.map = function(iterable, f, opt_obj) {
- var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
- newIter.next = function() {
- var $jscomp$destructuring$var14 = iterator.next();
- if ($jscomp$destructuring$var14.done) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- var mappedVal = f.call(opt_obj, $jscomp$destructuring$var14.value, void 0, iterator);
- return goog.iter.createEs6IteratorYield(mappedVal);
- };
- return newIter;
+module$contents$goog$collections$iters_MapIterator.prototype.next = function() {
+ var childResult = this.childIterator_.next();
+ return {value:childResult.done ? void 0 : this.mapFn_.call(void 0, childResult.value), done:childResult.done};
+};
+goog.collections.iters.map = function(iterable, f) {
+ return new module$contents$goog$collections$iters_MapIterator(iterable, f);
+};
+var module$contents$goog$collections$iters_FilterIterator = function(childIter, filterFn) {
+ this.childIter_ = module$contents$goog$collections$iters_getIterator(childIter);
+ this.filterFn_ = filterFn;
};
-goog.iter.reduce = function(iterable, f, val$jscomp$0, opt_obj) {
- var rval = val$jscomp$0;
- goog.iter.forEach(iterable, function(val) {
- rval = f.call(opt_obj, rval, val);
- });
- return rval;
+module$contents$goog$collections$iters_FilterIterator.prototype[Symbol.iterator] = function() {
+ return this;
};
-goog.iter.some = function(iterable, f, opt_obj) {
- for (var iterator = goog.iter.toIterator(iterable);;) {
- var $jscomp$destructuring$var15 = iterator.next();
- if ($jscomp$destructuring$var15.done) {
- return !1;
+module$contents$goog$collections$iters_FilterIterator.prototype.next = function() {
+ for (;;) {
+ var childResult = this.childIter_.next();
+ if (childResult.done) {
+ return {done:!0, value:void 0};
}
- if (f.call(opt_obj, $jscomp$destructuring$var15.value, void 0, iterator)) {
- return !0;
+ if (this.filterFn_.call(void 0, childResult.value)) {
+ return childResult;
}
}
};
-goog.iter.every = function(iterable, f, opt_obj) {
- for (var iterator = goog.iter.toIterator(iterable);;) {
- var $jscomp$destructuring$var16 = iterator.next();
- if ($jscomp$destructuring$var16.done) {
- return !0;
- }
- if (!f.call(opt_obj, $jscomp$destructuring$var16.value, void 0, iterator)) {
- return !1;
+goog.collections.iters.filter = function(iterable, f) {
+ return new module$contents$goog$collections$iters_FilterIterator(iterable, f);
+};
+var module$contents$goog$collections$iters_ConcatIterator = function(iterators) {
+ this.iterators_ = iterators;
+ this.iterIndex_ = 0;
+};
+module$contents$goog$collections$iters_ConcatIterator.prototype[Symbol.iterator] = function() {
+ return this;
+};
+module$contents$goog$collections$iters_ConcatIterator.prototype.next = function() {
+ for (; this.iterIndex_ < this.iterators_.length;) {
+ var result = this.iterators_[this.iterIndex_].next();
+ if (!result.done) {
+ return result;
}
+ this.iterIndex_++;
}
+ return {done:!0};
};
-goog.iter.chain = function(var_args) {
- return goog.iter.chainFromIterable(arguments);
+goog.collections.iters.concat = function() {
+ return new module$contents$goog$collections$iters_ConcatIterator($jscomp.getRestArguments.apply(0, arguments).map(module$contents$goog$collections$iters_getIterator));
};
-goog.iter.chainFromIterable = function(iterable) {
- var iteratorOfIterators = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), current = null;
- iter.next = function() {
- for (;;) {
- if (null == current) {
- var it = iteratorOfIterators.next();
- if (it.done) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- current = goog.iter.toIterator(it.value);
- }
- var it$46 = current.next();
- if (it$46.done) {
- current = null;
- } else {
- return goog.iter.createEs6IteratorYield(it$46.value);
- }
- }
- };
- return iter;
+goog.collections.iters.toArray = function(iterator) {
+ var arr = [];
+ module$contents$goog$collections$iters_forEach(iterator, function(e) {
+ return arr.push(e);
+ });
+ return arr;
};
-goog.iter.dropWhile = function(iterable, f, opt_obj) {
- var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator(), dropping = !0;
- newIter.next = function() {
- for (;;) {
- var $jscomp$destructuring$var17 = iterator.next(), value = $jscomp$destructuring$var17.value;
- if ($jscomp$destructuring$var17.done) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- if (!dropping || !f.call(opt_obj, value, void 0, iterator)) {
- return dropping = !1, goog.iter.createEs6IteratorYield(value);
- }
- }
+goog.functions = {};
+goog.functions.constant = function(retValue) {
+ return function() {
+ return retValue;
};
- return newIter;
};
-goog.iter.takeWhile = function(iterable, f, opt_obj) {
- var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator();
- iter.next = function() {
- var $jscomp$destructuring$var18 = iterator.next(), value = $jscomp$destructuring$var18.value;
- return $jscomp$destructuring$var18.done ? goog.iter.ES6_ITERATOR_DONE : f.call(opt_obj, value, void 0, iterator) ? goog.iter.createEs6IteratorYield(value) : goog.iter.ES6_ITERATOR_DONE;
- };
- return iter;
+goog.functions.FALSE = function() {
+ return !1;
};
-goog.iter.toArray = function(iterable) {
- if (goog.isArrayLike(iterable)) {
- return module$contents$goog$array_toArray(iterable);
- }
- iterable = goog.iter.toIterator(iterable);
- var array = [];
- goog.iter.forEach(iterable, function(val) {
- array.push(val);
- });
- return array;
+goog.functions.TRUE = function() {
+ return !0;
};
-goog.iter.equals = function(iterable1, iterable2, opt_equalsFn) {
- var pairs = goog.iter.zipLongest({}, iterable1, iterable2), equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality;
- return goog.iter.every(pairs, function(pair) {
- return equalsFn(pair[0], pair[1]);
- });
+goog.functions.NULL = function() {
+ return null;
};
-goog.iter.nextOrValue = function(iterable, defaultValue) {
- var $jscomp$destructuring$var19 = goog.iter.toIterator(iterable).next();
- return $jscomp$destructuring$var19.done ? defaultValue : $jscomp$destructuring$var19.value;
+goog.functions.UNDEFINED = function() {
};
-goog.iter.product = function(var_args) {
- if (Array.prototype.some.call(arguments, function(arr) {
- return !arr.length;
- }) || !arguments.length) {
- return new goog.iter.Iterator();
- }
- var iter = new goog.iter.Iterator(), arrays = arguments, indices = module$contents$goog$array_repeat(0, arrays.length);
- iter.next = function() {
- if (indices) {
- for (var retVal = module$contents$goog$array_map(indices, function(valueIndex, arrayIndex) {
- return arrays[arrayIndex][valueIndex];
- }), i = indices.length - 1; 0 <= i; i--) {
- goog.asserts.assert(indices);
- if (indices[i] < arrays[i].length - 1) {
- indices[i]++;
- break;
- }
- if (0 == i) {
- indices = null;
- break;
- }
- indices[i] = 0;
- }
- return goog.iter.createEs6IteratorYield(retVal);
- }
- return goog.iter.ES6_ITERATOR_DONE;
+goog.functions.EMPTY = goog.functions.UNDEFINED;
+goog.functions.identity = function(opt_returnValue, var_args) {
+ return opt_returnValue;
+};
+goog.functions.error = function(message) {
+ return function() {
+ throw Error(message);
};
- return iter;
};
-goog.iter.cycle = function(iterable) {
- var baseIterator = goog.iter.toIterator(iterable), cache = [], cacheIndex = 0, iter = new goog.iter.Iterator(), useCache = !1;
- iter.next = function() {
- var returnElement = null;
- if (!useCache) {
- var it = baseIterator.next();
- if (it.done) {
- if (module$contents$goog$array_isEmpty(cache)) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- useCache = !0;
- } else {
- return cache.push(it.value), it;
- }
- }
- returnElement = cache[cacheIndex];
- cacheIndex = (cacheIndex + 1) % cache.length;
- return goog.iter.createEs6IteratorYield(returnElement);
+goog.functions.fail = function(err) {
+ return function() {
+ throw err;
};
- return iter;
};
-goog.iter.count = function(opt_start, opt_step) {
- var counter = opt_start || 0, step = void 0 !== opt_step ? opt_step : 1, iter = new goog.iter.Iterator();
- iter.next = function() {
- var returnValue = counter;
- counter += step;
- return goog.iter.createEs6IteratorYield(returnValue);
+goog.functions.lock = function(f, opt_numArgs) {
+ opt_numArgs = opt_numArgs || 0;
+ return function() {
+ return f.apply(this, Array.prototype.slice.call(arguments, 0, opt_numArgs));
};
- return iter;
};
-goog.iter.repeat = function(value) {
- var iter = new goog.iter.Iterator();
- iter.next = function() {
- return goog.iter.createEs6IteratorYield(value);
+goog.functions.nth = function(n) {
+ return function() {
+ return arguments[n];
};
- return iter;
};
-goog.iter.accumulate = function(iterable) {
- var iterator = goog.iter.toIterator(iterable), total = 0, iter = new goog.iter.Iterator();
- iter.next = function() {
- var $jscomp$destructuring$var20 = iterator.next();
- if ($jscomp$destructuring$var20.done) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- total += $jscomp$destructuring$var20.value;
- return goog.iter.createEs6IteratorYield(total);
+goog.functions.partialRight = function(fn, var_args) {
+ var rightArgs = Array.prototype.slice.call(arguments, 1);
+ return function() {
+ var self = this;
+ self === goog.global && (self = void 0);
+ var newArgs = Array.prototype.slice.call(arguments);
+ newArgs.push.apply(newArgs, rightArgs);
+ return fn.apply(self, newArgs);
};
- return iter;
};
-goog.iter.zip = function(var_args) {
- var args = arguments, iter = new goog.iter.Iterator();
- if (0 < args.length) {
- var iterators = module$contents$goog$array_map(args, goog.iter.toIterator), allDone = !1;
- iter.next = function() {
- if (allDone) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- for (var arr = [], i = 0, iterator = void 0; iterator = iterators[i++];) {
- var it = iterator.next();
- if (it.done) {
- return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
- }
- arr.push(it.value);
- }
- return goog.iter.createEs6IteratorYield(arr);
- };
- }
- return iter;
+goog.functions.withReturnValue = function(f, retValue) {
+ return goog.functions.sequence(f, goog.functions.constant(retValue));
};
-goog.iter.zipLongest = function(fillValue, var_args) {
- var args = Array.prototype.slice.call(arguments, 1), iter = new goog.iter.Iterator();
- if (0 < args.length) {
- var iterators = module$contents$goog$array_map(args, goog.iter.toIterator), allDone = !1;
- iter.next = function() {
- if (allDone) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- for (var iteratorsHaveValues = !1, arr = [], i = 0, iterator = void 0; iterator = iterators[i++];) {
- var it = iterator.next();
- it.done ? arr.push(fillValue) : (arr.push(it.value), iteratorsHaveValues = !0);
- }
- return iteratorsHaveValues ? goog.iter.createEs6IteratorYield(arr) : (allDone = !0, goog.iter.ES6_ITERATOR_DONE);
- };
- }
- return iter;
+goog.functions.equalTo = function(value, opt_useLooseComparison) {
+ return function(other) {
+ return opt_useLooseComparison ? value == other : value === other;
+ };
+};
+goog.functions.compose = function(fn, var_args) {
+ var functions = arguments, length = functions.length;
+ return function() {
+ var result;
+ length && (result = functions[length - 1].apply(this, arguments));
+ for (var i = length - 2; 0 <= i; i--) {
+ result = functions[i].call(this, result);
+ }
+ return result;
+ };
};
-goog.iter.compress = function(iterable, selectors) {
- var valueIterator = goog.iter.toIterator(iterable), selectorIterator = goog.iter.toIterator(selectors), iter = new goog.iter.Iterator(), allDone = !1;
- iter.next = function() {
- if (allDone) {
- return goog.iter.ES6_ITERATOR_DONE;
+goog.functions.sequence = function(var_args) {
+ var functions = arguments, length = functions.length;
+ return function() {
+ for (var result, i = 0; i < length; i++) {
+ result = functions[i].apply(this, arguments);
}
- for (;;) {
- var valIt = valueIterator.next();
- if (valIt.done) {
- return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
- }
- var selectorIt = selectorIterator.next();
- if (selectorIt.done) {
- return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
- }
- var val = valIt.value;
- if (selectorIt.value) {
- return goog.iter.createEs6IteratorYield(val);
+ return result;
+ };
+};
+goog.functions.and = function(var_args) {
+ var functions = arguments, length = functions.length;
+ return function() {
+ for (var i = 0; i < length; i++) {
+ if (!functions[i].apply(this, arguments)) {
+ return !1;
}
}
+ return !0;
};
- return iter;
-};
-goog.iter.GroupByIterator_ = function(iterable, opt_keyFunc) {
- this.iterator = goog.iter.toIterator(iterable);
- this.keyFunc = opt_keyFunc || goog.functions.identity;
};
-goog.inherits(goog.iter.GroupByIterator_, goog.iter.Iterator);
-goog.iter.GroupByIterator_.prototype.next = function() {
- for (; this.currentKey == this.targetKey;) {
- var it = this.iterator.next();
- if (it.done) {
- return goog.iter.ES6_ITERATOR_DONE;
+goog.functions.or = function(var_args) {
+ var functions = arguments, length = functions.length;
+ return function() {
+ for (var i = 0; i < length; i++) {
+ if (functions[i].apply(this, arguments)) {
+ return !0;
+ }
}
- this.currentValue = it.value;
- this.currentKey = this.keyFunc(this.currentValue);
- }
- this.targetKey = this.currentKey;
- return goog.iter.createEs6IteratorYield([this.currentKey, this.groupItems_(this.targetKey)]);
+ return !1;
+ };
};
-goog.iter.GroupByIterator_.prototype.groupItems_ = function(targetKey) {
- for (var arr = []; this.currentKey == targetKey;) {
- arr.push(this.currentValue);
- var it = this.iterator.next();
- if (it.done) {
- break;
- }
- this.currentValue = it.value;
- this.currentKey = this.keyFunc(this.currentValue);
- }
- return arr;
+goog.functions.not = function(f) {
+ return function() {
+ return !f.apply(this, arguments);
+ };
};
-goog.iter.groupBy = function(iterable, opt_keyFunc) {
- return new goog.iter.GroupByIterator_(iterable, opt_keyFunc);
+goog.functions.create = function(constructor, var_args) {
+ var temp = function() {
+ };
+ temp.prototype = constructor.prototype;
+ var obj = new temp();
+ constructor.apply(obj, Array.prototype.slice.call(arguments, 1));
+ return obj;
};
-goog.iter.starMap = function(iterable, f, opt_obj) {
- var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator();
- iter.next = function() {
- var it = iterator.next();
- if (it.done) {
- return goog.iter.ES6_ITERATOR_DONE;
+goog.functions.CACHE_RETURN_VALUE = !0;
+goog.functions.cacheReturnValue = function(fn) {
+ var called = !1, value;
+ return function() {
+ if (!goog.functions.CACHE_RETURN_VALUE) {
+ return fn();
}
- var args = goog.iter.toArray(it.value), value = f.apply(opt_obj, [].concat(args, void 0, iterator));
- return goog.iter.createEs6IteratorYield(value);
+ called || (value = fn(), called = !0);
+ return value;
};
- return iter;
};
-goog.iter.tee = function(iterable, opt_num) {
- function addNextIteratorValueToBuffers() {
- var $jscomp$destructuring$var21 = iterator.next(), value = $jscomp$destructuring$var21.value;
- if ($jscomp$destructuring$var21.done) {
- return !1;
- }
- for (var i = 0, buffer = void 0; buffer = buffers[i++];) {
- buffer.push(value);
+goog.functions.once = function(f) {
+ var inner = f;
+ return function() {
+ if (inner) {
+ var tmp = inner;
+ inner = null;
+ tmp();
}
- return !0;
- }
- var iterator = goog.iter.toIterator(iterable), buffers = module$contents$goog$array_map(module$contents$goog$array_range("number" === typeof opt_num ? opt_num : 2), function() {
- return [];
- });
- return module$contents$goog$array_map(buffers, function createIterator(buffer) {
- var iter = new goog.iter.Iterator();
- iter.next = function() {
- if (module$contents$goog$array_isEmpty(buffer) && !addNextIteratorValueToBuffers()) {
- return goog.iter.ES6_ITERATOR_DONE;
- }
- goog.asserts.assert(!module$contents$goog$array_isEmpty(buffer));
- return goog.iter.createEs6IteratorYield(buffer.shift());
- };
- return iter;
- });
+ };
};
-goog.iter.enumerate = function(iterable, opt_start) {
- return goog.iter.zip(goog.iter.count(opt_start), iterable);
+goog.functions.debounce = function(f, interval, opt_scope) {
+ var timeout = 0;
+ return function(var_args) {
+ goog.global.clearTimeout(timeout);
+ var args = arguments;
+ timeout = goog.global.setTimeout(function() {
+ f.apply(opt_scope, args);
+ }, interval);
+ };
};
-goog.iter.limit = function(iterable, limitSize) {
- goog.asserts.assert(goog.math.isInt(limitSize) && 0 <= limitSize);
- var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
- iter.next = function() {
- return 0 < remaining-- ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
+goog.functions.throttle = function(f, interval, opt_scope) {
+ var timeout = 0, shouldFire = !1, storedArgs = [], handleTimeout = function() {
+ timeout = 0;
+ shouldFire && (shouldFire = !1, fire());
+ }, fire = function() {
+ timeout = goog.global.setTimeout(handleTimeout, interval);
+ var args = storedArgs;
+ storedArgs = [];
+ f.apply(opt_scope, args);
+ };
+ return function(var_args) {
+ storedArgs = arguments;
+ timeout ? shouldFire = !0 : fire();
};
- return iter;
};
-goog.iter.consume = function(iterable, count) {
- goog.asserts.assert(goog.math.isInt(count) && 0 <= count);
- for (var iterator = goog.iter.toIterator(iterable); 0 < count--;) {
- goog.iter.nextOrValue(iterator, null);
- }
- return iterator;
+goog.functions.rateLimit = function(f, interval, opt_scope) {
+ var timeout = 0, handleTimeout = function() {
+ timeout = 0;
+ };
+ return function(var_args) {
+ timeout || (timeout = goog.global.setTimeout(handleTimeout, interval), f.apply(opt_scope, arguments));
+ };
};
-goog.iter.slice = function(iterable, start, opt_end) {
- goog.asserts.assert(goog.math.isInt(start) && 0 <= start);
- var iterator = goog.iter.consume(iterable, start);
- "number" === typeof opt_end && (goog.asserts.assert(goog.math.isInt(opt_end) && opt_end >= start), iterator = goog.iter.limit(iterator, opt_end - start));
- return iterator;
+goog.functions.isFunction = function(val) {
+ return "function" === typeof val;
};
-goog.iter.hasDuplicates_ = function(arr) {
- var deduped = [];
- module$contents$goog$array_removeDuplicates(arr, deduped);
- return arr.length != deduped.length;
+goog.math = {};
+goog.math.randomInt = function(a) {
+ return Math.floor(Math.random() * a);
};
-goog.iter.permutations = function(iterable, opt_length) {
- var elements = goog.iter.toArray(iterable), product = goog.iter.product.apply(void 0, module$contents$goog$array_repeat(elements, "number" === typeof opt_length ? opt_length : elements.length));
- return goog.iter.filter(product, function(arr) {
- return !goog.iter.hasDuplicates_(arr);
- });
+goog.math.uniformRandom = function(a, b) {
+ return a + Math.random() * (b - a);
};
-goog.iter.combinations = function(iterable, length) {
- function getIndexFromElements(index) {
- return elements[index];
- }
- var elements = goog.iter.toArray(iterable), indexes = goog.iter.range(elements.length), indexIterator = goog.iter.permutations(indexes, length), sortedIndexIterator = goog.iter.filter(indexIterator, function(arr) {
- return module$contents$goog$array_isSorted(arr);
- }), iter = new goog.iter.Iterator();
- iter.next = function() {
- var $jscomp$destructuring$var22 = sortedIndexIterator.next();
- return $jscomp$destructuring$var22.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var22.value, getIndexFromElements));
- };
- return iter;
+goog.math.clamp = function(value, min, max) {
+ return Math.min(Math.max(value, min), max);
};
-goog.iter.combinationsWithReplacement = function(iterable, length) {
- function getIndexFromElements(index) {
- return elements[index];
- }
- var elements = goog.iter.toArray(iterable), indexes = module$contents$goog$array_range(elements.length), indexIterator = goog.iter.product.apply(void 0, module$contents$goog$array_repeat(indexes, length)), sortedIndexIterator = goog.iter.filter(indexIterator, function(arr) {
- return module$contents$goog$array_isSorted(arr);
- }), iter = new goog.iter.Iterator();
- iter.next = function() {
- var $jscomp$destructuring$var23 = sortedIndexIterator.next();
- return $jscomp$destructuring$var23.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var23.value, getIndexFromElements));
- };
- return iter;
+goog.math.modulo = function(a, b) {
+ var r = a % b;
+ return 0 > r * b ? r + b : r;
};
-goog.iter.es6 = {};
-var module$contents$goog$iter$es6_ShimIterable = function() {
+goog.math.lerp = function(a, b, x) {
+ return a + x * (b - a);
+};
+goog.math.nearlyEquals = function(a, b, opt_tolerance) {
+ return Math.abs(a - b) <= (opt_tolerance || 1E-6);
+};
+goog.math.standardAngle = function(angle) {
+ return goog.math.modulo(angle, 360);
+};
+goog.math.standardAngleInRadians = function(angle) {
+ return goog.math.modulo(angle, 2 * Math.PI);
+};
+goog.math.toRadians = function(angleDegrees) {
+ return angleDegrees * Math.PI / 180;
+};
+goog.math.toDegrees = function(angleRadians) {
+ return 180 * angleRadians / Math.PI;
+};
+goog.math.angleDx = function(degrees, radius) {
+ return radius * Math.cos(goog.math.toRadians(degrees));
+};
+goog.math.angleDy = function(degrees, radius) {
+ return radius * Math.sin(goog.math.toRadians(degrees));
};
-module$contents$goog$iter$es6_ShimIterable.prototype.__iterator__ = function() {
+goog.math.angle = function(x1, y1, x2, y2) {
+ return goog.math.standardAngle(goog.math.toDegrees(Math.atan2(y2 - y1, x2 - x1)));
};
-module$contents$goog$iter$es6_ShimIterable.prototype.toGoog = function() {
+goog.math.angleDifference = function(startAngle, endAngle) {
+ var d = goog.math.standardAngle(endAngle) - goog.math.standardAngle(startAngle);
+ 180 < d ? d -= 360 : -180 >= d && (d = 360 + d);
+ return d;
};
-module$contents$goog$iter$es6_ShimIterable.prototype.toEs6 = function() {
+goog.math.sign = function(x) {
+ return 0 < x ? 1 : 0 > x ? -1 : x;
};
-module$contents$goog$iter$es6_ShimIterable.of = function(iter) {
- if (iter instanceof module$contents$goog$iter$es6_ShimIterableImpl || iter instanceof module$contents$goog$iter$es6_ShimGoogIterator || iter instanceof module$contents$goog$iter$es6_ShimEs6Iterator) {
- return iter;
+goog.math.longestCommonSubsequence = function(array1, array2, opt_compareFn, opt_collectorFn) {
+ for (var compare = opt_compareFn || function(a, b) {
+ return a == b;
+ }, collect = opt_collectorFn || function(i1, i2) {
+ return array1[i1];
+ }, length1 = array1.length, length2 = array2.length, arr = [], i = 0; i < length1 + 1; i++) {
+ arr[i] = [], arr[i][0] = 0;
}
- if ("function" == typeof iter.next) {
- return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
- return iter;
- });
+ for (var j = 0; j < length2 + 1; j++) {
+ arr[0][j] = 0;
}
- if ("function" == typeof iter[Symbol.iterator]) {
- return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
- return iter[Symbol.iterator]();
- });
+ for (i = 1; i <= length1; i++) {
+ for (j = 1; j <= length2; j++) {
+ compare(array1[i - 1], array2[j - 1]) ? arr[i][j] = arr[i - 1][j - 1] + 1 : arr[i][j] = Math.max(arr[i - 1][j], arr[i][j - 1]);
+ }
}
- if ("function" == typeof iter.__iterator__) {
- return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
- return iter.__iterator__();
- });
+ var result = [];
+ i = length1;
+ for (j = length2; 0 < i && 0 < j;) {
+ compare(array1[i - 1], array2[j - 1]) ? (result.unshift(collect(i - 1, j - 1)), i--, j--) : arr[i - 1][j] > arr[i][j - 1] ? i-- : j--;
}
- throw Error("Not an iterator or iterable.");
+ return result;
};
-var module$contents$goog$iter$es6_ShimIterableImpl = function(func) {
- this.func_ = func;
+goog.math.sum = function(var_args) {
+ return Array.prototype.reduce.call(arguments, function(sum, value) {
+ return sum + value;
+ }, 0);
};
-module$contents$goog$iter$es6_ShimIterableImpl.prototype.__iterator__ = function() {
- return new module$contents$goog$iter$es6_ShimGoogIterator(this.func_());
+goog.math.average = function(var_args) {
+ return goog.math.sum.apply(null, arguments) / arguments.length;
};
-module$contents$goog$iter$es6_ShimIterableImpl.prototype.toGoog = function() {
- return new module$contents$goog$iter$es6_ShimGoogIterator(this.func_());
+goog.math.sampleVariance = function(var_args) {
+ var sampleSize = arguments.length;
+ if (2 > sampleSize) {
+ return 0;
+ }
+ var mean = goog.math.average.apply(null, arguments);
+ return goog.math.sum.apply(null, Array.prototype.map.call(arguments, function(val) {
+ return Math.pow(val - mean, 2);
+ })) / (sampleSize - 1);
};
-module$contents$goog$iter$es6_ShimIterableImpl.prototype[Symbol.iterator] = function() {
- return new module$contents$goog$iter$es6_ShimEs6Iterator(this.func_());
+goog.math.standardDeviation = function(var_args) {
+ return Math.sqrt(goog.math.sampleVariance.apply(null, arguments));
};
-module$contents$goog$iter$es6_ShimIterableImpl.prototype.toEs6 = function() {
- return new module$contents$goog$iter$es6_ShimEs6Iterator(this.func_());
+goog.math.isInt = function(num) {
+ return isFinite(num) && 0 == num % 1;
};
-var module$contents$goog$iter$es6_ShimGoogIterator = function(iter) {
- goog.iter.Iterator.call(this);
- this.iter_ = iter;
+goog.math.isFiniteNumber = function(num) {
+ return isFinite(num);
};
-$jscomp.inherits(module$contents$goog$iter$es6_ShimGoogIterator, goog.iter.Iterator);
-module$contents$goog$iter$es6_ShimGoogIterator.prototype.next = function() {
- return this.iter_.next();
+goog.math.isNegativeZero = function(num) {
+ return 0 == num && 0 > 1 / num;
};
-module$contents$goog$iter$es6_ShimGoogIterator.prototype.toGoog = function() {
- return this;
+goog.math.log10Floor = function(num) {
+ if (0 < num) {
+ var x = Math.round(Math.log(num) * Math.LOG10E);
+ return x - (parseFloat("1e" + x) > num ? 1 : 0);
+ }
+ return 0 == num ? -Infinity : NaN;
};
-module$contents$goog$iter$es6_ShimGoogIterator.prototype[Symbol.iterator] = function() {
- return new module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_);
+goog.math.safeFloor = function(num, opt_epsilon) {
+ goog.asserts.assert(void 0 === opt_epsilon || 0 < opt_epsilon);
+ return Math.floor(num + (opt_epsilon || 2E-15));
};
-module$contents$goog$iter$es6_ShimGoogIterator.prototype.toEs6 = function() {
- return new module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_);
+goog.math.safeCeil = function(num, opt_epsilon) {
+ goog.asserts.assert(void 0 === opt_epsilon || 0 < opt_epsilon);
+ return Math.ceil(num - (opt_epsilon || 2E-15));
};
-var module$contents$goog$iter$es6_ShimEs6Iterator = function(iter) {
- module$contents$goog$iter$es6_ShimIterableImpl.call(this, function() {
- return iter;
- });
- this.iter_ = iter;
+goog.iter = {};
+goog.iter.Iterable = {};
+goog.iter.Iterator = function() {
};
-$jscomp.inherits(module$contents$goog$iter$es6_ShimEs6Iterator, module$contents$goog$iter$es6_ShimIterableImpl);
-module$contents$goog$iter$es6_ShimEs6Iterator.prototype.next = function() {
- return this.iter_.next();
+goog.iter.Iterator.prototype.next = function() {
+ return goog.iter.ES6_ITERATOR_DONE;
};
-goog.iter.es6.ShimIterable = module$contents$goog$iter$es6_ShimIterable;
-goog.iter.es6.ShimEs6Iterator = module$contents$goog$iter$es6_ShimEs6Iterator;
-goog.iter.es6.ShimGoogIterator = module$contents$goog$iter$es6_ShimGoogIterator;
-goog.structs.Map = function(opt_map, var_args) {
- this.map_ = {};
- this.keys_ = [];
- this.version_ = this.size = 0;
- var argLength = arguments.length;
- if (1 < argLength) {
- if (argLength % 2) {
- throw Error("Uneven number of arguments");
- }
- for (var i = 0; i < argLength; i += 2) {
- this.set(arguments[i], arguments[i + 1]);
- }
- } else {
- opt_map && this.addAll(opt_map);
- }
+goog.iter.ES6_ITERATOR_DONE = goog.debug.freeze({done:!0, value:void 0});
+goog.iter.createEs6IteratorYield = function(value) {
+ return {value:value, done:!1};
};
-goog.structs.Map.prototype.getCount = function() {
- return this.size;
+goog.iter.Iterator.prototype.__iterator__ = function(opt_keys) {
+ return this;
};
-goog.structs.Map.prototype.getValues = function() {
- this.cleanupKeysArray_();
- for (var rv = [], i = 0; i < this.keys_.length; i++) {
- rv.push(this.map_[this.keys_[i]]);
+goog.iter.toIterator = function(iterable) {
+ if (iterable instanceof goog.iter.Iterator) {
+ return iterable;
}
- return rv;
+ if ("function" == typeof iterable.__iterator__) {
+ return iterable.__iterator__(!1);
+ }
+ if (goog.isArrayLike(iterable)) {
+ var i = 0, newIter = new goog.iter.Iterator();
+ newIter.next = function() {
+ for (;;) {
+ if (i >= iterable.length) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ if (i in iterable) {
+ return goog.iter.createEs6IteratorYield(iterable[i++]);
+ }
+ i++;
+ }
+ };
+ return newIter;
+ }
+ throw Error("Not implemented");
};
-goog.structs.Map.prototype.getKeys = function() {
- this.cleanupKeysArray_();
- return this.keys_.concat();
+goog.iter.forEach = function(iterable, f, opt_obj) {
+ if (goog.isArrayLike(iterable)) {
+ module$contents$goog$array_forEach(iterable, f, opt_obj);
+ } else {
+ for (var iterator = goog.iter.toIterator(iterable);;) {
+ var $jscomp$destructuring$var12 = iterator.next();
+ if ($jscomp$destructuring$var12.done) {
+ break;
+ }
+ f.call(opt_obj, $jscomp$destructuring$var12.value, void 0, iterator);
+ }
+ }
};
-goog.structs.Map.prototype.containsKey = function(key) {
- return this.has(key);
+goog.iter.filter = function(iterable, f, opt_obj) {
+ var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
+ newIter.next = function() {
+ for (;;) {
+ var $jscomp$destructuring$var13 = iterator.next(), value = $jscomp$destructuring$var13.value;
+ if ($jscomp$destructuring$var13.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ if (f.call(opt_obj, value, void 0, iterator)) {
+ return goog.iter.createEs6IteratorYield(value);
+ }
+ }
+ };
+ return newIter;
};
-goog.structs.Map.prototype.has = function(key) {
- return goog.structs.Map.hasKey_(this.map_, key);
+goog.iter.filterFalse = function(iterable, f, opt_obj) {
+ return goog.iter.filter(iterable, goog.functions.not(f), opt_obj);
};
-goog.structs.Map.prototype.containsValue = function(val) {
- for (var i = 0; i < this.keys_.length; i++) {
- var key = this.keys_[i];
- if (goog.structs.Map.hasKey_(this.map_, key) && this.map_[key] == val) {
- return !0;
- }
+goog.iter.range = function(startOrStop, opt_stop, opt_step) {
+ var start = 0, stop = startOrStop, step = opt_step || 1;
+ 1 < arguments.length && (start = startOrStop, stop = +opt_stop);
+ if (0 == step) {
+ throw Error("Range step argument must not be zero");
}
- return !1;
+ var newIter = new goog.iter.Iterator();
+ newIter.next = function() {
+ if (0 < step && start >= stop || 0 > step && start <= stop) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ var rv = start;
+ start += step;
+ return goog.iter.createEs6IteratorYield(rv);
+ };
+ return newIter;
};
-goog.structs.Map.prototype.equals = function(otherMap, opt_equalityFn) {
- if (this === otherMap) {
- return !0;
- }
- if (this.size != otherMap.getCount()) {
- return !1;
- }
- var equalityFn = opt_equalityFn || goog.structs.Map.defaultEquals;
- this.cleanupKeysArray_();
- for (var key, i = 0; key = this.keys_[i]; i++) {
- if (!equalityFn(this.get(key), otherMap.get(key))) {
+goog.iter.join = function(iterable, deliminator) {
+ return goog.iter.toArray(iterable).join(deliminator);
+};
+goog.iter.map = function(iterable, f, opt_obj) {
+ var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator();
+ newIter.next = function() {
+ var $jscomp$destructuring$var14 = iterator.next();
+ if ($jscomp$destructuring$var14.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ var mappedVal = f.call(opt_obj, $jscomp$destructuring$var14.value, void 0, iterator);
+ return goog.iter.createEs6IteratorYield(mappedVal);
+ };
+ return newIter;
+};
+goog.iter.reduce = function(iterable, f, val, opt_obj) {
+ var rval = val;
+ goog.iter.forEach(iterable, function(val) {
+ rval = f.call(opt_obj, rval, val);
+ });
+ return rval;
+};
+goog.iter.some = function(iterable, f, opt_obj) {
+ for (var iterator = goog.iter.toIterator(iterable);;) {
+ var $jscomp$destructuring$var15 = iterator.next();
+ if ($jscomp$destructuring$var15.done) {
return !1;
}
+ if (f.call(opt_obj, $jscomp$destructuring$var15.value, void 0, iterator)) {
+ return !0;
+ }
}
- return !0;
-};
-goog.structs.Map.defaultEquals = function(a, b) {
- return a === b;
-};
-goog.structs.Map.prototype.isEmpty = function() {
- return 0 == this.size;
-};
-goog.structs.Map.prototype.clear = function() {
- this.map_ = {};
- this.keys_.length = 0;
- this.setSizeInternal_(0);
- this.version_ = 0;
-};
-goog.structs.Map.prototype.remove = function(key) {
- return this.delete(key);
-};
-goog.structs.Map.prototype.delete = function(key) {
- return goog.structs.Map.hasKey_(this.map_, key) ? (delete this.map_[key], this.setSizeInternal_(this.size - 1), this.version_++, this.keys_.length > 2 * this.size && this.cleanupKeysArray_(), !0) : !1;
};
-goog.structs.Map.prototype.cleanupKeysArray_ = function() {
- if (this.size != this.keys_.length) {
- for (var srcIndex = 0, destIndex = 0; srcIndex < this.keys_.length;) {
- var key = this.keys_[srcIndex];
- goog.structs.Map.hasKey_(this.map_, key) && (this.keys_[destIndex++] = key);
- srcIndex++;
+goog.iter.every = function(iterable, f, opt_obj) {
+ for (var iterator = goog.iter.toIterator(iterable);;) {
+ var $jscomp$destructuring$var16 = iterator.next();
+ if ($jscomp$destructuring$var16.done) {
+ return !0;
}
- this.keys_.length = destIndex;
- }
- if (this.size != this.keys_.length) {
- var seen = {};
- for (destIndex = srcIndex = 0; srcIndex < this.keys_.length;) {
- key = this.keys_[srcIndex], goog.structs.Map.hasKey_(seen, key) || (this.keys_[destIndex++] = key, seen[key] = 1), srcIndex++;
+ if (!f.call(opt_obj, $jscomp$destructuring$var16.value, void 0, iterator)) {
+ return !1;
}
- this.keys_.length = destIndex;
}
};
-goog.structs.Map.prototype.get = function(key, opt_val) {
- return goog.structs.Map.hasKey_(this.map_, key) ? this.map_[key] : opt_val;
-};
-goog.structs.Map.prototype.set = function(key, value) {
- goog.structs.Map.hasKey_(this.map_, key) || (this.setSizeInternal_(this.size + 1), this.keys_.push(key), this.version_++);
- this.map_[key] = value;
+goog.iter.chain = function(var_args) {
+ return goog.iter.chainFromIterable(arguments);
};
-goog.structs.Map.prototype.addAll = function(map) {
- if (map instanceof goog.structs.Map) {
- for (var keys = map.getKeys(), i = 0; i < keys.length; i++) {
- this.set(keys[i], map.get(keys[i]));
+goog.iter.chainFromIterable = function(iterable) {
+ var iteratorOfIterators = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), current = null;
+ iter.next = function() {
+ for (;;) {
+ if (null == current) {
+ var it$jscomp$0 = iteratorOfIterators.next();
+ if (it$jscomp$0.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ current = goog.iter.toIterator(it$jscomp$0.value);
+ }
+ var it = current.next();
+ if (it.done) {
+ current = null;
+ } else {
+ return goog.iter.createEs6IteratorYield(it.value);
+ }
}
- } else {
- for (var key in map) {
- this.set(key, map[key]);
+ };
+ return iter;
+};
+goog.iter.dropWhile = function(iterable, f, opt_obj) {
+ var iterator = goog.iter.toIterator(iterable), newIter = new goog.iter.Iterator(), dropping = !0;
+ newIter.next = function() {
+ for (;;) {
+ var $jscomp$destructuring$var17 = iterator.next(), value = $jscomp$destructuring$var17.value;
+ if ($jscomp$destructuring$var17.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ if (!dropping || !f.call(opt_obj, value, void 0, iterator)) {
+ return dropping = !1, goog.iter.createEs6IteratorYield(value);
+ }
}
- }
+ };
+ return newIter;
};
-goog.structs.Map.prototype.forEach = function(f, opt_obj) {
- for (var keys = this.getKeys(), i = 0; i < keys.length; i++) {
- var key = keys[i], value = this.get(key);
- f.call(opt_obj, value, key, this);
+goog.iter.takeWhile = function(iterable, f, opt_obj) {
+ var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var $jscomp$destructuring$var18 = iterator.next(), value = $jscomp$destructuring$var18.value;
+ return $jscomp$destructuring$var18.done ? goog.iter.ES6_ITERATOR_DONE : f.call(opt_obj, value, void 0, iterator) ? goog.iter.createEs6IteratorYield(value) : goog.iter.ES6_ITERATOR_DONE;
+ };
+ return iter;
+};
+goog.iter.toArray = function(iterable) {
+ if (goog.isArrayLike(iterable)) {
+ return module$contents$goog$array_toArray(iterable);
}
+ iterable = goog.iter.toIterator(iterable);
+ var array = [];
+ goog.iter.forEach(iterable, function(val) {
+ array.push(val);
+ });
+ return array;
};
-goog.structs.Map.prototype.clone = function() {
- return new goog.structs.Map(this);
+goog.iter.equals = function(iterable1, iterable2, opt_equalsFn) {
+ var pairs = goog.iter.zipLongest({}, iterable1, iterable2), equalsFn = opt_equalsFn || module$contents$goog$array_defaultCompareEquality;
+ return goog.iter.every(pairs, function(pair) {
+ return equalsFn(pair[0], pair[1]);
+ });
};
-goog.structs.Map.prototype.transpose = function() {
- for (var transposed = new goog.structs.Map(), i = 0; i < this.keys_.length; i++) {
- var key = this.keys_[i];
- transposed.set(this.map_[key], key);
- }
- return transposed;
+goog.iter.nextOrValue = function(iterable, defaultValue) {
+ var $jscomp$destructuring$var19 = goog.iter.toIterator(iterable).next();
+ return $jscomp$destructuring$var19.done ? defaultValue : $jscomp$destructuring$var19.value;
};
-goog.structs.Map.prototype.toObject = function() {
- this.cleanupKeysArray_();
- for (var obj = {}, i = 0; i < this.keys_.length; i++) {
- var key = this.keys_[i];
- obj[key] = this.map_[key];
+goog.iter.product = function(var_args) {
+ if (Array.prototype.some.call(arguments, function(arr) {
+ return !arr.length;
+ }) || !arguments.length) {
+ return new goog.iter.Iterator();
}
- return obj;
+ var iter = new goog.iter.Iterator(), arrays = arguments, indices = module$contents$goog$array_repeat(0, arrays.length);
+ iter.next = function() {
+ if (indices) {
+ for (var retVal = module$contents$goog$array_map(indices, function(valueIndex, arrayIndex) {
+ return arrays[arrayIndex][valueIndex];
+ }), i = indices.length - 1; 0 <= i; i--) {
+ goog.asserts.assert(indices);
+ if (indices[i] < arrays[i].length - 1) {
+ indices[i]++;
+ break;
+ }
+ if (0 == i) {
+ indices = null;
+ break;
+ }
+ indices[i] = 0;
+ }
+ return goog.iter.createEs6IteratorYield(retVal);
+ }
+ return goog.iter.ES6_ITERATOR_DONE;
+ };
+ return iter;
};
-goog.structs.Map.prototype.getKeyIterator = function() {
- return this.__iterator__(!0);
+goog.iter.cycle = function(iterable) {
+ var baseIterator = goog.iter.toIterator(iterable), cache = [], cacheIndex = 0, iter = new goog.iter.Iterator(), useCache = !1;
+ iter.next = function() {
+ var returnElement = null;
+ if (!useCache) {
+ var it = baseIterator.next();
+ if (it.done) {
+ if (module$contents$goog$array_isEmpty(cache)) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ useCache = !0;
+ } else {
+ return cache.push(it.value), it;
+ }
+ }
+ returnElement = cache[cacheIndex];
+ cacheIndex = (cacheIndex + 1) % cache.length;
+ return goog.iter.createEs6IteratorYield(returnElement);
+ };
+ return iter;
};
-goog.structs.Map.prototype.keys = function() {
- return module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6();
+goog.iter.count = function(opt_start, opt_step) {
+ var counter = opt_start || 0, step = void 0 !== opt_step ? opt_step : 1, iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var returnValue = counter;
+ counter += step;
+ return goog.iter.createEs6IteratorYield(returnValue);
+ };
+ return iter;
};
-goog.structs.Map.prototype.getValueIterator = function() {
- return this.__iterator__(!1);
+goog.iter.repeat = function(value) {
+ var iter = new goog.iter.Iterator();
+ iter.next = function() {
+ return goog.iter.createEs6IteratorYield(value);
+ };
+ return iter;
};
-goog.structs.Map.prototype.values = function() {
- return module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6();
+goog.iter.accumulate = function(iterable) {
+ var iterator = goog.iter.toIterator(iterable), total = 0, iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var $jscomp$destructuring$var20 = iterator.next();
+ if ($jscomp$destructuring$var20.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ total += $jscomp$destructuring$var20.value;
+ return goog.iter.createEs6IteratorYield(total);
+ };
+ return iter;
};
-goog.structs.Map.prototype.entries = function() {
- var self = this;
- return goog.collections.iters.map(this.keys(), function(key) {
- return [key, self.get(key)];
- });
+goog.iter.zip = function(var_args) {
+ var args = arguments, iter = new goog.iter.Iterator();
+ if (0 < args.length) {
+ var iterators = module$contents$goog$array_map(args, goog.iter.toIterator), allDone = !1;
+ iter.next = function() {
+ if (allDone) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ for (var arr = [], i = 0, iterator = void 0; iterator = iterators[i++];) {
+ var it = iterator.next();
+ if (it.done) {
+ return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
+ }
+ arr.push(it.value);
+ }
+ return goog.iter.createEs6IteratorYield(arr);
+ };
+ }
+ return iter;
};
-goog.structs.Map.prototype.__iterator__ = function(opt_keys) {
- this.cleanupKeysArray_();
- var i = 0, version = this.version_, selfObj = this, newIter = new goog.iter.Iterator();
- newIter.next = function() {
- if (version != selfObj.version_) {
- throw Error("The map has changed since the iterator was created");
- }
- if (i >= selfObj.keys_.length) {
+goog.iter.zipLongest = function(fillValue, var_args) {
+ var args = Array.prototype.slice.call(arguments, 1), iter = new goog.iter.Iterator();
+ if (0 < args.length) {
+ var iterators = module$contents$goog$array_map(args, goog.iter.toIterator), allDone = !1;
+ iter.next = function() {
+ if (allDone) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ for (var iteratorsHaveValues = !1, arr = [], i = 0, iterator = void 0; iterator = iterators[i++];) {
+ var it = iterator.next();
+ it.done ? arr.push(fillValue) : (arr.push(it.value), iteratorsHaveValues = !0);
+ }
+ return iteratorsHaveValues ? goog.iter.createEs6IteratorYield(arr) : (allDone = !0, goog.iter.ES6_ITERATOR_DONE);
+ };
+ }
+ return iter;
+};
+goog.iter.compress = function(iterable, selectors) {
+ var valueIterator = goog.iter.toIterator(iterable), selectorIterator = goog.iter.toIterator(selectors), iter = new goog.iter.Iterator(), allDone = !1;
+ iter.next = function() {
+ if (allDone) {
return goog.iter.ES6_ITERATOR_DONE;
}
- var key = selfObj.keys_[i++];
- return goog.iter.createEs6IteratorYield(opt_keys ? key : selfObj.map_[key]);
+ for (;;) {
+ var valIt = valueIterator.next();
+ if (valIt.done) {
+ return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
+ }
+ var selectorIt = selectorIterator.next();
+ if (selectorIt.done) {
+ return allDone = !0, goog.iter.ES6_ITERATOR_DONE;
+ }
+ var val = valIt.value;
+ if (selectorIt.value) {
+ return goog.iter.createEs6IteratorYield(val);
+ }
+ }
};
- return newIter;
-};
-goog.structs.Map.prototype.setSizeInternal_ = function(newSize) {
- this.size = newSize;
-};
-goog.structs.Map.hasKey_ = function(obj, key) {
- return Object.prototype.hasOwnProperty.call(obj, key);
+ return iter;
};
-goog.structs.getCount = function(col) {
- return col.getCount && "function" == typeof col.getCount ? col.getCount() : goog.isArrayLike(col) || "string" === typeof col ? col.length : module$contents$goog$object_getCount(col);
+goog.iter.GroupByIterator_ = function(iterable, opt_keyFunc) {
+ this.iterator = goog.iter.toIterator(iterable);
+ this.keyFunc = opt_keyFunc || goog.functions.identity;
};
-goog.structs.getValues = function(col) {
- if (col.getValues && "function" == typeof col.getValues) {
- return col.getValues();
- }
- if ("undefined" !== typeof Map && col instanceof Map || "undefined" !== typeof Set && col instanceof Set) {
- return Array.from(col.values());
- }
- if ("string" === typeof col) {
- return col.split("");
- }
- if (goog.isArrayLike(col)) {
- for (var rv = [], l = col.length, i = 0; i < l; i++) {
- rv.push(col[i]);
+goog.inherits(goog.iter.GroupByIterator_, goog.iter.Iterator);
+goog.iter.GroupByIterator_.prototype.next = function() {
+ for (; this.currentKey == this.targetKey;) {
+ var it = this.iterator.next();
+ if (it.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
}
- return rv;
+ this.currentValue = it.value;
+ this.currentKey = this.keyFunc(this.currentValue);
}
- return module$contents$goog$object_getValues(col);
+ this.targetKey = this.currentKey;
+ return goog.iter.createEs6IteratorYield([this.currentKey, this.groupItems_(this.targetKey)]);
};
-goog.structs.getKeys = function(col) {
- if (col.getKeys && "function" == typeof col.getKeys) {
- return col.getKeys();
- }
- if (!col.getValues || "function" != typeof col.getValues) {
- if ("undefined" !== typeof Map && col instanceof Map) {
- return Array.from(col.keys());
- }
- if (!("undefined" !== typeof Set && col instanceof Set)) {
- if (goog.isArrayLike(col) || "string" === typeof col) {
- for (var rv = [], l = col.length, i = 0; i < l; i++) {
- rv.push(i);
- }
- return rv;
- }
- return module$contents$goog$object_getKeys(col);
+goog.iter.GroupByIterator_.prototype.groupItems_ = function(targetKey) {
+ for (var arr = []; this.currentKey == targetKey;) {
+ arr.push(this.currentValue);
+ var it = this.iterator.next();
+ if (it.done) {
+ break;
}
+ this.currentValue = it.value;
+ this.currentKey = this.keyFunc(this.currentValue);
}
+ return arr;
};
-goog.structs.contains = function(col, val) {
- return col.contains && "function" == typeof col.contains ? col.contains(val) : col.containsValue && "function" == typeof col.containsValue ? col.containsValue(val) : goog.isArrayLike(col) || "string" === typeof col ? module$contents$goog$array_contains(col, val) : module$contents$goog$object_containsValue(col, val);
-};
-goog.structs.isEmpty = function(col) {
- return col.isEmpty && "function" == typeof col.isEmpty ? col.isEmpty() : goog.isArrayLike(col) || "string" === typeof col ? 0 === col.length : module$contents$goog$object_isEmpty(col);
-};
-goog.structs.clear = function(col) {
- col.clear && "function" == typeof col.clear ? col.clear() : goog.isArrayLike(col) ? module$contents$goog$array_clear(col) : module$contents$goog$object_clear(col);
+goog.iter.groupBy = function(iterable, opt_keyFunc) {
+ return new goog.iter.GroupByIterator_(iterable, opt_keyFunc);
};
-goog.structs.forEach = function(col, f, opt_obj) {
- if (col.forEach && "function" == typeof col.forEach) {
- col.forEach(f, opt_obj);
- } else if (goog.isArrayLike(col) || "string" === typeof col) {
- Array.prototype.forEach.call(col, f, opt_obj);
- } else {
- for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
- f.call(opt_obj, values[i], keys && keys[i], col);
+goog.iter.starMap = function(iterable, f, opt_obj) {
+ var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var it = iterator.next();
+ if (it.done) {
+ return goog.iter.ES6_ITERATOR_DONE;
}
- }
+ var args = goog.iter.toArray(it.value), value = f.apply(opt_obj, [].concat(args, void 0, iterator));
+ return goog.iter.createEs6IteratorYield(value);
+ };
+ return iter;
};
-goog.structs.filter = function(col, f, opt_obj) {
- if ("function" == typeof col.filter) {
- return col.filter(f, opt_obj);
- }
- if (goog.isArrayLike(col) || "string" === typeof col) {
- return Array.prototype.filter.call(col, f, opt_obj);
- }
- var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length;
- if (keys) {
- var rv = {};
- for (var i = 0; i < l; i++) {
- f.call(opt_obj, values[i], keys[i], col) && (rv[keys[i]] = values[i]);
+goog.iter.tee = function(iterable, opt_num) {
+ function addNextIteratorValueToBuffers() {
+ var $jscomp$destructuring$var21 = iterator.next(), value = $jscomp$destructuring$var21.value;
+ if ($jscomp$destructuring$var21.done) {
+ return !1;
}
- } else {
- for (rv = [], i = 0; i < l; i++) {
- f.call(opt_obj, values[i], void 0, col) && rv.push(values[i]);
+ for (var i = 0, buffer = void 0; buffer = buffers[i++];) {
+ buffer.push(value);
}
+ return !0;
}
- return rv;
+ var iterator = goog.iter.toIterator(iterable), buffers = module$contents$goog$array_map(module$contents$goog$array_range("number" === typeof opt_num ? opt_num : 2), function() {
+ return [];
+ });
+ return module$contents$goog$array_map(buffers, function(buffer) {
+ var iter = new goog.iter.Iterator();
+ iter.next = function() {
+ if (module$contents$goog$array_isEmpty(buffer) && !addNextIteratorValueToBuffers()) {
+ return goog.iter.ES6_ITERATOR_DONE;
+ }
+ goog.asserts.assert(!module$contents$goog$array_isEmpty(buffer));
+ return goog.iter.createEs6IteratorYield(buffer.shift());
+ };
+ return iter;
+ });
};
-goog.structs.map = function(col, f, opt_obj) {
- if ("function" == typeof col.map) {
- return col.map(f, opt_obj);
- }
- if (goog.isArrayLike(col) || "string" === typeof col) {
- return Array.prototype.map.call(col, f, opt_obj);
- }
- var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length;
- if (keys) {
- var rv = {};
- for (var i = 0; i < l; i++) {
- rv[keys[i]] = f.call(opt_obj, values[i], keys[i], col);
- }
- } else {
- for (rv = [], i = 0; i < l; i++) {
- rv[i] = f.call(opt_obj, values[i], void 0, col);
- }
- }
- return rv;
+goog.iter.enumerate = function(iterable, opt_start) {
+ return goog.iter.zip(goog.iter.count(opt_start), iterable);
};
-goog.structs.some = function(col, f, opt_obj) {
- if ("function" == typeof col.some) {
- return col.some(f, opt_obj);
+goog.iter.limit = function(iterable, limitSize) {
+ goog.asserts.assert(goog.math.isInt(limitSize) && 0 <= limitSize);
+ var iterator = goog.iter.toIterator(iterable), iter = new goog.iter.Iterator(), remaining = limitSize;
+ iter.next = function() {
+ return 0 < remaining-- ? iterator.next() : goog.iter.ES6_ITERATOR_DONE;
+ };
+ return iter;
+};
+goog.iter.consume = function(iterable, count) {
+ goog.asserts.assert(goog.math.isInt(count) && 0 <= count);
+ for (var iterator = goog.iter.toIterator(iterable); 0 < count--;) {
+ goog.iter.nextOrValue(iterator, null);
}
- if (goog.isArrayLike(col) || "string" === typeof col) {
- return Array.prototype.some.call(col, f, opt_obj);
+ return iterator;
+};
+goog.iter.slice = function(iterable, start, opt_end) {
+ goog.asserts.assert(goog.math.isInt(start) && 0 <= start);
+ var iterator = goog.iter.consume(iterable, start);
+ "number" === typeof opt_end && (goog.asserts.assert(goog.math.isInt(opt_end) && opt_end >= start), iterator = goog.iter.limit(iterator, opt_end - start));
+ return iterator;
+};
+goog.iter.hasDuplicates_ = function(arr) {
+ var deduped = [];
+ module$contents$goog$array_removeDuplicates(arr, deduped);
+ return arr.length != deduped.length;
+};
+goog.iter.permutations = function(iterable, opt_length) {
+ var elements = goog.iter.toArray(iterable), product = goog.iter.product.apply(void 0, module$contents$goog$array_repeat(elements, "number" === typeof opt_length ? opt_length : elements.length));
+ return goog.iter.filter(product, function(arr) {
+ return !goog.iter.hasDuplicates_(arr);
+ });
+};
+goog.iter.combinations = function(iterable, length) {
+ function getIndexFromElements(index) {
+ return elements[index];
}
- for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
- if (f.call(opt_obj, values[i], keys && keys[i], col)) {
- return !0;
- }
+ var elements = goog.iter.toArray(iterable), indexes = goog.iter.range(elements.length), indexIterator = goog.iter.permutations(indexes, length), sortedIndexIterator = goog.iter.filter(indexIterator, function(arr) {
+ return module$contents$goog$array_isSorted(arr);
+ }), iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var $jscomp$destructuring$var22 = sortedIndexIterator.next();
+ return $jscomp$destructuring$var22.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var22.value, getIndexFromElements));
+ };
+ return iter;
+};
+goog.iter.combinationsWithReplacement = function(iterable, length) {
+ function getIndexFromElements(index) {
+ return elements[index];
}
- return !1;
+ var elements = goog.iter.toArray(iterable), indexes = module$contents$goog$array_range(elements.length), indexIterator = goog.iter.product.apply(void 0, module$contents$goog$array_repeat(indexes, length)), sortedIndexIterator = goog.iter.filter(indexIterator, function(arr) {
+ return module$contents$goog$array_isSorted(arr);
+ }), iter = new goog.iter.Iterator();
+ iter.next = function() {
+ var $jscomp$destructuring$var23 = sortedIndexIterator.next();
+ return $jscomp$destructuring$var23.done ? goog.iter.ES6_ITERATOR_DONE : goog.iter.createEs6IteratorYield(module$contents$goog$array_map($jscomp$destructuring$var23.value, getIndexFromElements));
+ };
+ return iter;
};
-goog.structs.every = function(col, f, opt_obj) {
- if ("function" == typeof col.every) {
- return col.every(f, opt_obj);
+goog.iter.es6 = {};
+var module$contents$goog$iter$es6_ShimIterable = function() {
+};
+module$contents$goog$iter$es6_ShimIterable.prototype.__iterator__ = function() {
+};
+module$contents$goog$iter$es6_ShimIterable.prototype.toGoog = function() {
+};
+module$contents$goog$iter$es6_ShimIterable.prototype.toEs6 = function() {
+};
+module$contents$goog$iter$es6_ShimIterable.of = function(iter) {
+ if (iter instanceof module$contents$goog$iter$es6_ShimIterableImpl || iter instanceof module$contents$goog$iter$es6_ShimGoogIterator || iter instanceof module$contents$goog$iter$es6_ShimEs6Iterator) {
+ return iter;
+ }
+ if ("function" == typeof iter.next) {
+ return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
+ return iter;
+ });
}
- if (goog.isArrayLike(col) || "string" === typeof col) {
- return Array.prototype.every.call(col, f, opt_obj);
+ if ("function" == typeof iter[Symbol.iterator]) {
+ return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
+ return iter[Symbol.iterator]();
+ });
}
- for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
- if (!f.call(opt_obj, values[i], keys && keys[i], col)) {
- return !1;
- }
+ if ("function" == typeof iter.__iterator__) {
+ return new module$contents$goog$iter$es6_ShimIterableImpl(function() {
+ return iter.__iterator__();
+ });
}
- return !0;
-};
-goog.structs.Set = function(opt_values) {
- this.map_ = new goog.structs.Map();
- this.size = 0;
- opt_values && this.addAll(opt_values);
+ throw Error("Not an iterator or iterable.");
};
-goog.structs.Set.getUid_ = goog.getUid;
-goog.structs.Set.getKey_ = function(val) {
- var type = typeof val;
- return "object" == type && val || "function" == type ? "o" + goog.getUid(val) : type.slice(0, 1) + val;
+var module$contents$goog$iter$es6_ShimIterableImpl = function(func) {
+ this.func_ = func;
};
-goog.structs.Set.prototype.getCount = function() {
- return this.map_.size;
+module$contents$goog$iter$es6_ShimIterableImpl.prototype.__iterator__ = function() {
+ return new module$contents$goog$iter$es6_ShimGoogIterator(this.func_());
};
-goog.structs.Set.prototype.add = function(element) {
- this.map_.set(goog.structs.Set.getKey_(element), element);
- this.setSizeInternal_(this.map_.size);
+module$contents$goog$iter$es6_ShimIterableImpl.prototype.toGoog = function() {
+ return new module$contents$goog$iter$es6_ShimGoogIterator(this.func_());
};
-goog.structs.Set.prototype.addAll = function(col) {
- for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
- this.add(values[i]);
- }
- this.setSizeInternal_(this.map_.size);
+module$contents$goog$iter$es6_ShimIterableImpl.prototype[Symbol.iterator] = function() {
+ return new module$contents$goog$iter$es6_ShimEs6Iterator(this.func_());
};
-goog.structs.Set.prototype.removeAll = function(col) {
- for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
- this.remove(values[i]);
- }
- this.setSizeInternal_(this.map_.size);
+module$contents$goog$iter$es6_ShimIterableImpl.prototype.toEs6 = function() {
+ return new module$contents$goog$iter$es6_ShimEs6Iterator(this.func_());
};
-goog.structs.Set.prototype.delete = function(element) {
- var rv = this.map_.remove(goog.structs.Set.getKey_(element));
- this.setSizeInternal_(this.map_.size);
- return rv;
+var module$contents$goog$iter$es6_ShimGoogIterator = function(iter) {
+ goog.iter.Iterator.call(this);
+ this.iter_ = iter;
};
-goog.structs.Set.prototype.remove = function(element) {
- return this.delete(element);
+$jscomp.inherits(module$contents$goog$iter$es6_ShimGoogIterator, goog.iter.Iterator);
+module$contents$goog$iter$es6_ShimGoogIterator.prototype.next = function() {
+ return this.iter_.next();
};
-goog.structs.Set.prototype.clear = function() {
- this.map_.clear();
- this.setSizeInternal_(0);
+module$contents$goog$iter$es6_ShimGoogIterator.prototype.toGoog = function() {
+ return this;
};
-goog.structs.Set.prototype.isEmpty = function() {
- return 0 === this.map_.size;
+module$contents$goog$iter$es6_ShimGoogIterator.prototype[Symbol.iterator] = function() {
+ return new module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_);
};
-goog.structs.Set.prototype.has = function(element) {
- return this.map_.containsKey(goog.structs.Set.getKey_(element));
+module$contents$goog$iter$es6_ShimGoogIterator.prototype.toEs6 = function() {
+ return new module$contents$goog$iter$es6_ShimEs6Iterator(this.iter_);
};
-goog.structs.Set.prototype.contains = function(element) {
- return this.map_.containsKey(goog.structs.Set.getKey_(element));
+var module$contents$goog$iter$es6_ShimEs6Iterator = function(iter) {
+ module$contents$goog$iter$es6_ShimIterableImpl.call(this, function() {
+ return iter;
+ });
+ this.iter_ = iter;
};
-goog.structs.Set.prototype.containsAll = function(col) {
- return goog.structs.every(col, this.contains, this);
+$jscomp.inherits(module$contents$goog$iter$es6_ShimEs6Iterator, module$contents$goog$iter$es6_ShimIterableImpl);
+module$contents$goog$iter$es6_ShimEs6Iterator.prototype.next = function() {
+ return this.iter_.next();
};
-goog.structs.Set.prototype.intersection = function(col) {
- for (var result = new goog.structs.Set(), values = goog.structs.getValues(col), i = 0; i < values.length; i++) {
- var value = values[i];
- this.contains(value) && result.add(value);
+goog.iter.es6.ShimIterable = module$contents$goog$iter$es6_ShimIterable;
+goog.iter.es6.ShimEs6Iterator = module$contents$goog$iter$es6_ShimEs6Iterator;
+goog.iter.es6.ShimGoogIterator = module$contents$goog$iter$es6_ShimGoogIterator;
+goog.structs.Map = function(opt_map, var_args) {
+ this.map_ = {};
+ this.keys_ = [];
+ this.version_ = this.size = 0;
+ var argLength = arguments.length;
+ if (1 < argLength) {
+ if (argLength % 2) {
+ throw Error("Uneven number of arguments");
+ }
+ for (var i = 0; i < argLength; i += 2) {
+ this.set(arguments[i], arguments[i + 1]);
+ }
+ } else {
+ opt_map && this.addAll(opt_map);
}
- return result;
};
-goog.structs.Set.prototype.difference = function(col) {
- var result = this.clone();
- result.removeAll(col);
- return result;
+goog.structs.Map.prototype.getCount = function() {
+ return this.size;
};
-goog.structs.Set.prototype.getValues = function() {
- return this.map_.getValues();
+goog.structs.Map.prototype.getValues = function() {
+ this.cleanupKeysArray_();
+ for (var rv = [], i = 0; i < this.keys_.length; i++) {
+ rv.push(this.map_[this.keys_[i]]);
+ }
+ return rv;
};
-goog.structs.Set.prototype.values = function() {
- return this.map_.values();
+goog.structs.Map.prototype.getKeys = function() {
+ this.cleanupKeysArray_();
+ return this.keys_.concat();
};
-goog.structs.Set.prototype.clone = function() {
- return new goog.structs.Set(this);
+goog.structs.Map.prototype.containsKey = function(key) {
+ return this.has(key);
};
-goog.structs.Set.prototype.equals = function(col) {
- return this.getCount() == goog.structs.getCount(col) && this.isSubsetOf(col);
+goog.structs.Map.prototype.has = function(key) {
+ return goog.structs.Map.hasKey_(this.map_, key);
};
-goog.structs.Set.prototype.isSubsetOf = function(col) {
- var colCount = goog.structs.getCount(col);
- if (this.getCount() > colCount) {
- return !1;
+goog.structs.Map.prototype.containsValue = function(val) {
+ for (var i = 0; i < this.keys_.length; i++) {
+ var key = this.keys_[i];
+ if (goog.structs.Map.hasKey_(this.map_, key) && this.map_[key] == val) {
+ return !0;
+ }
}
- !(col instanceof goog.structs.Set) && 5 < colCount && (col = new goog.structs.Set(col));
- return goog.structs.every(this, function(value) {
- return goog.structs.contains(col, value);
- });
-};
-goog.structs.Set.prototype.__iterator__ = function(opt_keys) {
- return this.map_.__iterator__(!1);
+ return !1;
};
-goog.structs.Set.prototype[Symbol.iterator] = function() {
- return this.values();
+goog.structs.Map.prototype.equals = function(otherMap, opt_equalityFn) {
+ if (this === otherMap) {
+ return !0;
+ }
+ if (this.size != otherMap.getCount()) {
+ return !1;
+ }
+ var equalityFn = opt_equalityFn || goog.structs.Map.defaultEquals;
+ this.cleanupKeysArray_();
+ for (var key, i = 0; key = this.keys_[i]; i++) {
+ if (!equalityFn(this.get(key), otherMap.get(key))) {
+ return !1;
+ }
+ }
+ return !0;
};
-goog.structs.Set.prototype.setSizeInternal_ = function(newSize) {
- this.size = newSize;
+goog.structs.Map.defaultEquals = function(a, b) {
+ return a === b;
};
-var ee = {AbstractOverlay:function(url, mapId, token, opt_init, opt_profiler) {
- goog.events.EventTarget.call(this);
- this.mapId = mapId;
- this.token = token;
- this.tilesLoading = [];
- this.tilesFailed = new goog.structs.Set();
- this.tileCounter = 0;
- this.url = url;
-}};
-goog.inherits(ee.AbstractOverlay, goog.events.EventTarget);
-goog.exportSymbol("ee.AbstractOverlay", ee.AbstractOverlay);
-ee.AbstractOverlay.EventType = {TILE_LOADED:"tileevent"};
-ee.AbstractOverlay.prototype.getTileId = function(coord, zoom) {
- var maxCoord = 1 << zoom, x = coord.x % maxCoord;
- 0 > x && (x += maxCoord);
- return [this.mapId, zoom, x, coord.y].join("/");
+goog.structs.Map.prototype.isEmpty = function() {
+ return 0 == this.size;
};
-ee.AbstractOverlay.prototype.getLoadingTilesCount = function() {
- return this.tilesLoading.length;
+goog.structs.Map.prototype.clear = function() {
+ this.map_ = {};
+ this.keys_.length = 0;
+ this.setSizeInternal_(0);
+ this.version_ = 0;
};
-ee.AbstractOverlay.prototype.getFailedTilesCount = function() {
- return this.tilesFailed.getCount();
+goog.structs.Map.prototype.remove = function(key) {
+ return this.delete(key);
};
-ee.TileEvent = function(count) {
- goog.events.Event.call(this, ee.AbstractOverlay.EventType.TILE_LOADED);
- this.count = count;
+goog.structs.Map.prototype.delete = function(key) {
+ return goog.structs.Map.hasKey_(this.map_, key) ? (delete this.map_[key], this.setSizeInternal_(this.size - 1), this.version_++, this.keys_.length > 2 * this.size && this.cleanupKeysArray_(), !0) : !1;
};
-goog.inherits(ee.TileEvent, goog.events.Event);
-var module$exports$tslib = {}, module$contents$tslib_extendStatics = Object.setPrototypeOf || function(d, b) {
- for (var p in b) {
- Object.prototype.hasOwnProperty.call(b, p) && (d[p] = b[p]);
+goog.structs.Map.prototype.cleanupKeysArray_ = function() {
+ if (this.size != this.keys_.length) {
+ for (var srcIndex = 0, destIndex = 0; srcIndex < this.keys_.length;) {
+ var key = this.keys_[srcIndex];
+ goog.structs.Map.hasKey_(this.map_, key) && (this.keys_[destIndex++] = key);
+ srcIndex++;
+ }
+ this.keys_.length = destIndex;
}
-};
-module$exports$tslib.__extends = function(d, b) {
- function __() {
- this.constructor = d;
+ if (this.size != this.keys_.length) {
+ var seen = {};
+ for (destIndex = srcIndex = 0; srcIndex < this.keys_.length;) {
+ key = this.keys_[srcIndex], goog.structs.Map.hasKey_(seen, key) || (this.keys_[destIndex++] = key, seen[key] = 1), srcIndex++;
+ }
+ this.keys_.length = destIndex;
}
- module$contents$tslib_extendStatics(d, b);
- d.prototype = null === b ? Object.create(b) : (__.prototype = b.prototype, new __());
};
-module$exports$tslib.__assign = Object.assign || function(t) {
- for (var s, i = 1, n = arguments.length; i < n; i++) {
- s = arguments[i];
- for (var p in s) {
- Object.prototype.hasOwnProperty.call(s, p) && (t[p] = s[p]);
+goog.structs.Map.prototype.get = function(key, opt_val) {
+ return goog.structs.Map.hasKey_(this.map_, key) ? this.map_[key] : opt_val;
+};
+goog.structs.Map.prototype.set = function(key, value) {
+ goog.structs.Map.hasKey_(this.map_, key) || (this.setSizeInternal_(this.size + 1), this.keys_.push(key), this.version_++);
+ this.map_[key] = value;
+};
+goog.structs.Map.prototype.addAll = function(map) {
+ if (map instanceof goog.structs.Map) {
+ for (var keys = map.getKeys(), i = 0; i < keys.length; i++) {
+ this.set(keys[i], map.get(keys[i]));
+ }
+ } else {
+ for (var key in map) {
+ this.set(key, map[key]);
}
}
- return t;
};
-module$exports$tslib.__rest = function(s, e) {
- var t = {}, p;
- for (p in s) {
- Object.prototype.hasOwnProperty.call(s, p) && 0 > e.indexOf(p) && (t[p] = s[p]);
+goog.structs.Map.prototype.forEach = function(f, opt_obj) {
+ for (var keys = this.getKeys(), i = 0; i < keys.length; i++) {
+ var key = keys[i], value = this.get(key);
+ f.call(opt_obj, value, key, this);
}
- if (null != s && "function" === typeof Object.getOwnPropertySymbols) {
- var i = 0;
- for (p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
- 0 > e.indexOf(p[i]) && Object.prototype.propertyIsEnumerable.call(s, p[i]) && (t[p[i]] = s[p[i]]);
- }
+};
+goog.structs.Map.prototype.clone = function() {
+ return new goog.structs.Map(this);
+};
+goog.structs.Map.prototype.transpose = function() {
+ for (var transposed = new goog.structs.Map(), i = 0; i < this.keys_.length; i++) {
+ var key = this.keys_[i];
+ transposed.set(this.map_[key], key);
}
- return t;
+ return transposed;
};
-module$exports$tslib.__decorate = function(decorators, target, key, desc) {
- var c = arguments.length, r = 3 > c ? target : null === desc ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
- if ("object" === typeof Reflect && Reflect && "function" === typeof Reflect.decorate) {
- r = Reflect.decorate(decorators, target, key, desc);
- } else {
- for (var i = decorators.length - 1; 0 <= i; i--) {
- if (d = decorators[i]) {
- r = (3 > c ? d(r) : 3 < c ? d(target, key, r) : d(target, key)) || r;
- }
- }
+goog.structs.Map.prototype.toObject = function() {
+ this.cleanupKeysArray_();
+ for (var obj = {}, i = 0; i < this.keys_.length; i++) {
+ var key = this.keys_[i];
+ obj[key] = this.map_[key];
}
- return 3 < c && r && Object.defineProperty(target, key, r), r;
+ return obj;
};
-module$exports$tslib.__param = function(paramIndex, decorator) {
- return function(target, key) {
- decorator(target, key, paramIndex);
- };
+goog.structs.Map.prototype.getKeyIterator = function() {
+ return this.__iterator__(!0);
};
-module$exports$tslib.__metadata = function(metadataKey, metadataValue) {
- if ("object" === typeof Reflect && Reflect && "function" === typeof Reflect.metadata) {
- return Reflect.metadata(metadataKey, metadataValue);
- }
+goog.structs.Map.prototype.keys = function() {
+ return module$contents$goog$iter$es6_ShimIterable.of(this.getKeyIterator()).toEs6();
};
-module$exports$tslib.__awaiter = function(thisArg, _arguments, P, generator) {
- function adopt(value) {
- return value instanceof P ? value : new P(function(resolve) {
- resolve(value);
- });
- }
- return new (P || (P = Promise))(function(resolve, reject) {
- function fulfilled(value) {
- try {
- step(generator.next(value));
- } catch (e) {
- reject(e);
- }
- }
- function rejected(value) {
- try {
- step(generator["throw"](value));
- } catch (e) {
- reject(e);
- }
- }
- function step(result) {
- result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
- }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
+goog.structs.Map.prototype.getValueIterator = function() {
+ return this.__iterator__(!1);
+};
+goog.structs.Map.prototype.values = function() {
+ return module$contents$goog$iter$es6_ShimIterable.of(this.getValueIterator()).toEs6();
+};
+goog.structs.Map.prototype.entries = function() {
+ var self = this;
+ return goog.collections.iters.map(this.keys(), function(key) {
+ return [key, self.get(key)];
});
};
-module$exports$tslib.__generator = function(thisArg, body) {
- function verb(n) {
- return function(v) {
- return step([n, v]);
- };
- }
- function step(op) {
- if (f) {
- throw new TypeError("Generator is already executing.");
- }
- for (; _;) {
- try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) {
- return t;
- }
- if (y = 0, t) {
- op = [op[0] & 2, t.value];
- }
- switch(op[0]) {
- case 0:
- case 1:
- t = op;
- break;
- case 4:
- return _.label++, {value:op[1], done:!1};
- case 5:
- _.label++;
- y = op[1];
- op = [0];
- continue;
- case 7:
- op = _.ops.pop();
- _.trys.pop();
- continue;
- default:
- if (!(t = _.trys, t = 0 < t.length && t[t.length - 1]) && (6 === op[0] || 2 === op[0])) {
- _ = 0;
- continue;
- }
- if (3 === op[0] && (!t || op[1] > t[0] && op[1] < t[3])) {
- _.label = op[1];
- } else {
- if (6 === op[0] && _.label < t[1]) {
- _.label = t[1], t = op;
- } else {
- if (t && _.label < t[2]) {
- _.label = t[2], _.ops.push(op);
- } else {
- t[2] && _.ops.pop();
- _.trys.pop();
- continue;
- }
- }
- }
- }
- op = body.call(thisArg, _);
- } catch (e) {
- op = [6, e], y = 0;
- } finally {
- f = t = 0;
- }
+goog.structs.Map.prototype.__iterator__ = function(opt_keys) {
+ this.cleanupKeysArray_();
+ var i = 0, version = this.version_, selfObj = this, newIter = new goog.iter.Iterator();
+ newIter.next = function() {
+ if (version != selfObj.version_) {
+ throw Error("The map has changed since the iterator was created");
}
- if (op[0] & 5) {
- throw op[1];
+ if (i >= selfObj.keys_.length) {
+ return goog.iter.ES6_ITERATOR_DONE;
}
- return {value:op[0] ? op[1] : void 0, done:!0};
+ var key = selfObj.keys_[i++];
+ return goog.iter.createEs6IteratorYield(opt_keys ? key : selfObj.map_[key]);
+ };
+ return newIter;
+};
+goog.structs.Map.prototype.setSizeInternal_ = function(newSize) {
+ this.size = newSize;
+};
+goog.structs.Map.hasKey_ = function(obj, key) {
+ return Object.prototype.hasOwnProperty.call(obj, key);
+};
+goog.structs.getCount = function(col) {
+ return col.getCount && "function" == typeof col.getCount ? col.getCount() : goog.isArrayLike(col) || "string" === typeof col ? col.length : module$contents$goog$object_getCount(col);
+};
+goog.structs.getValues = function(col) {
+ if (col.getValues && "function" == typeof col.getValues) {
+ return col.getValues();
}
- var _ = {label:0, sent:function() {
- if (t[0] & 1) {
- throw t[1];
+ if ("undefined" !== typeof Map && col instanceof Map || "undefined" !== typeof Set && col instanceof Set) {
+ return Array.from(col.values());
+ }
+ if ("string" === typeof col) {
+ return col.split("");
+ }
+ if (goog.isArrayLike(col)) {
+ for (var rv = [], l = col.length, i = 0; i < l; i++) {
+ rv.push(col[i]);
}
- return t[1];
- }, trys:[], ops:[]}, f, y, t, g;
- return g = {next:verb(0), "throw":verb(1), "return":verb(2)}, "function" === typeof Symbol && (g[Symbol.iterator] = function() {
- return g;
- }), g;
-};
-module$exports$tslib.__exportStar = function(m, o) {
- for (var p in m) {
- o.hasOwnProperty(p) || (o[p] = m[p]);
+ return rv;
}
+ return module$contents$goog$object_getValues(col);
};
-module$exports$tslib.__values = function(o) {
- var m = "function" === typeof Symbol && o[Symbol.iterator], i = 0;
- return m ? m.call(o) : {next:function() {
- o && i >= o.length && (o = void 0);
- return {value:o && o[i++], done:!o};
- }};
-};
-module$exports$tslib.__read = function(o, n) {
- var m = "function" === typeof Symbol && o[Symbol.iterator];
- if (!m) {
- return o;
+goog.structs.getKeys = function(col) {
+ if (col.getKeys && "function" == typeof col.getKeys) {
+ return col.getKeys();
}
- var i = m.call(o), r, ar = [];
- try {
- for (; (void 0 === n || 0 < n--) && !(r = i.next()).done;) {
- ar.push(r.value);
+ if (!col.getValues || "function" != typeof col.getValues) {
+ if ("undefined" !== typeof Map && col instanceof Map) {
+ return Array.from(col.keys());
}
- } catch (error) {
- var e = {error:error};
- } finally {
- try {
- r && !r.done && (m = i["return"]) && m.call(i);
- } finally {
- if (e) {
- throw e.error;
+ if (!("undefined" !== typeof Set && col instanceof Set)) {
+ if (goog.isArrayLike(col) || "string" === typeof col) {
+ for (var rv = [], l = col.length, i = 0; i < l; i++) {
+ rv.push(i);
+ }
+ return rv;
}
+ return module$contents$goog$object_getKeys(col);
}
}
- return ar;
};
-module$exports$tslib.__spread = function() {
- for (var ar = [], i = 0; i < arguments.length; i++) {
- ar = ar.concat(module$exports$tslib.__read(arguments[i]));
+goog.structs.contains = function(col, val) {
+ return col.contains && "function" == typeof col.contains ? col.contains(val) : col.containsValue && "function" == typeof col.containsValue ? col.containsValue(val) : goog.isArrayLike(col) || "string" === typeof col ? module$contents$goog$array_contains(col, val) : module$contents$goog$object_containsValue(col, val);
+};
+goog.structs.isEmpty = function(col) {
+ return col.isEmpty && "function" == typeof col.isEmpty ? col.isEmpty() : goog.isArrayLike(col) || "string" === typeof col ? 0 === col.length : module$contents$goog$object_isEmpty(col);
+};
+goog.structs.clear = function(col) {
+ col.clear && "function" == typeof col.clear ? col.clear() : goog.isArrayLike(col) ? module$contents$goog$array_clear(col) : module$contents$goog$object_clear(col);
+};
+goog.structs.forEach = function(col, f, opt_obj) {
+ if (col.forEach && "function" == typeof col.forEach) {
+ col.forEach(f, opt_obj);
+ } else if (goog.isArrayLike(col) || "string" === typeof col) {
+ Array.prototype.forEach.call(col, f, opt_obj);
+ } else {
+ for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
+ f.call(opt_obj, values[i], keys && keys[i], col);
+ }
}
- return ar;
};
-module$exports$tslib.__spreadArrays = function() {
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
- s += arguments[i].length;
+goog.structs.filter = function(col, f, opt_obj) {
+ if ("function" == typeof col.filter) {
+ return col.filter(f, opt_obj);
}
- var r = Array(s), k = 0;
- for (i = 0; i < il; i++) {
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
- r[k] = a[j];
+ if (goog.isArrayLike(col) || "string" === typeof col) {
+ return Array.prototype.filter.call(col, f, opt_obj);
+ }
+ var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length;
+ if (keys) {
+ var rv = {};
+ for (var i = 0; i < l; i++) {
+ f.call(opt_obj, values[i], keys[i], col) && (rv[keys[i]] = values[i]);
+ }
+ } else {
+ for (rv = [], i = 0; i < l; i++) {
+ f.call(opt_obj, values[i], void 0, col) && rv.push(values[i]);
}
}
- return r;
+ return rv;
};
-module$exports$tslib.__spreadArray = function(to, from, pack) {
- if (!(Array.isArray(from) || from instanceof NodeList)) {
- throw new TypeError("Expected an Array or NodeList: " + String(from));
+goog.structs.map = function(col, f, opt_obj) {
+ if ("function" == typeof col.map) {
+ return col.map(f, opt_obj);
}
- if (pack || 2 === arguments.length) {
- for (var i = 0, l = from.length, ar; i < l; i++) {
- !ar && i in from || (ar || (ar = Array.prototype.slice.call(from, 0, i)), ar[i] = from[i]);
+ if (goog.isArrayLike(col) || "string" === typeof col) {
+ return Array.prototype.map.call(col, f, opt_obj);
+ }
+ var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length;
+ if (keys) {
+ var rv = {};
+ for (var i = 0; i < l; i++) {
+ rv[keys[i]] = f.call(opt_obj, values[i], keys[i], col);
+ }
+ } else {
+ for (rv = [], i = 0; i < l; i++) {
+ rv[i] = f.call(opt_obj, values[i], void 0, col);
}
}
- return to.concat(ar || Array.prototype.slice.call(from));
-};
-module$exports$tslib.__await = function(v) {
- return this instanceof module$exports$tslib.__await ? (this.v = v, this) : new module$exports$tslib.__await(v);
+ return rv;
};
-module$exports$tslib.__asyncGenerator = function(thisArg, _arguments, generator) {
- function verb(n) {
- g[n] && (i[n] = function(v) {
- return new Promise(function(a, b) {
- 1 < q.push([n, v, a, b]) || resume(n, v);
- });
- });
- }
- function resume(n, v) {
- try {
- step(g[n](v));
- } catch (e) {
- settle(q[0][3], e);
- }
+goog.structs.some = function(col, f, opt_obj) {
+ if ("function" == typeof col.some) {
+ return col.some(f, opt_obj);
}
- function step(r) {
- r.value instanceof module$exports$tslib.__await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);
+ if (goog.isArrayLike(col) || "string" === typeof col) {
+ return Array.prototype.some.call(col, f, opt_obj);
}
- function fulfill(value) {
- resume("next", value);
+ for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
+ if (f.call(opt_obj, values[i], keys && keys[i], col)) {
+ return !0;
+ }
}
- function reject(value) {
- resume("throw", value);
+ return !1;
+};
+goog.structs.every = function(col, f, opt_obj) {
+ if ("function" == typeof col.every) {
+ return col.every(f, opt_obj);
}
- function settle(f, v) {
- (f(v), q.shift(), q.length) && resume(q[0][0], q[0][1]);
+ if (goog.isArrayLike(col) || "string" === typeof col) {
+ return Array.prototype.every.call(col, f, opt_obj);
}
- if (!Symbol.asyncIterator) {
- throw new TypeError("Symbol.asyncIterator is not defined.");
+ for (var keys = goog.structs.getKeys(col), values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
+ if (!f.call(opt_obj, values[i], keys && keys[i], col)) {
+ return !1;
+ }
}
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
- return this;
- }, i;
+ return !0;
};
-module$exports$tslib.__asyncDelegator = function(o) {
- function verb(n, f) {
- i[n] = o[n] ? function(v) {
- return (p = !p) ? {value:new module$exports$tslib.__await(o[n](v)), done:"return" === n} : f ? f(v) : v;
- } : f;
- }
- var i, p;
- return i = {}, verb("next"), verb("throw", function(e) {
- throw e;
- }), verb("return"), i[Symbol.iterator] = function() {
- return i;
- }, i;
+goog.structs.Set = function(opt_values) {
+ this.map_ = new goog.structs.Map();
+ this.size = 0;
+ opt_values && this.addAll(opt_values);
};
-module$exports$tslib.__asyncValues = function(o) {
- function verb(n) {
- i[n] = o[n] && function(v) {
- return new Promise(function(resolve, reject) {
- v = o[n](v);
- settle(resolve, reject, v.done, v.value);
- });
- };
- }
- function settle(resolve, reject, d, v$jscomp$0) {
- Promise.resolve(v$jscomp$0).then(function(v) {
- resolve({value:v, done:d});
- }, reject);
- }
- if (!Symbol.asyncIterator) {
- throw new TypeError("Symbol.asyncIterator is not defined.");
- }
- var m = o[Symbol.asyncIterator], i;
- return m ? m.call(o) : (o = "function" === typeof __values ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
- return this;
- }, i);
+goog.structs.Set.getUid_ = goog.getUid;
+goog.structs.Set.getKey_ = function(val) {
+ var type = typeof val;
+ return "object" == type && val || "function" == type ? "o" + goog.getUid(val) : type.slice(0, 1) + val;
};
-module$exports$tslib.__makeTemplateObject = function(cooked, raw) {
- Object.defineProperty ? Object.defineProperty(cooked, "raw", {value:raw}) : cooked.raw = raw;
- return cooked;
+goog.structs.Set.prototype.getCount = function() {
+ return this.map_.size;
};
-module$exports$tslib.__classPrivateFieldGet = function(receiver, state, kind, f) {
- if ("a" === kind && !f) {
- throw new TypeError("Private accessor was defined without a getter");
- }
- if ("function" === typeof state ? receiver !== state || !f : !state.has(receiver)) {
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
+goog.structs.Set.prototype.add = function(element) {
+ this.map_.set(goog.structs.Set.getKey_(element), element);
+ this.setSizeInternal_(this.map_.size);
+};
+goog.structs.Set.prototype.addAll = function(col) {
+ for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
+ this.add(values[i]);
}
- return "m" === kind ? f : "a" === kind ? f.call(receiver) : f ? f.value : state.get(receiver);
+ this.setSizeInternal_(this.map_.size);
};
-module$exports$tslib.__classPrivateFieldSet = function(receiver, state, value, kind, f) {
- if ("m" === kind) {
- throw new TypeError("Private method is not writable");
+goog.structs.Set.prototype.removeAll = function(col) {
+ for (var values = goog.structs.getValues(col), l = values.length, i = 0; i < l; i++) {
+ this.remove(values[i]);
}
- if ("a" === kind && !f) {
- throw new TypeError("Private accessor was defined without a setter");
+ this.setSizeInternal_(this.map_.size);
+};
+goog.structs.Set.prototype.delete = function(element) {
+ var rv = this.map_.remove(goog.structs.Set.getKey_(element));
+ this.setSizeInternal_(this.map_.size);
+ return rv;
+};
+goog.structs.Set.prototype.remove = function(element) {
+ return this.delete(element);
+};
+goog.structs.Set.prototype.clear = function() {
+ this.map_.clear();
+ this.setSizeInternal_(0);
+};
+goog.structs.Set.prototype.isEmpty = function() {
+ return 0 === this.map_.size;
+};
+goog.structs.Set.prototype.has = function(element) {
+ return this.map_.containsKey(goog.structs.Set.getKey_(element));
+};
+goog.structs.Set.prototype.contains = function(element) {
+ return this.map_.containsKey(goog.structs.Set.getKey_(element));
+};
+goog.structs.Set.prototype.containsAll = function(col) {
+ return goog.structs.every(col, this.contains, this);
+};
+goog.structs.Set.prototype.intersection = function(col) {
+ for (var result = new goog.structs.Set(), values = goog.structs.getValues(col), i = 0; i < values.length; i++) {
+ var value = values[i];
+ this.contains(value) && result.add(value);
}
- if ("function" === typeof state ? receiver !== state || !f : !state.has(receiver)) {
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
+ return result;
+};
+goog.structs.Set.prototype.difference = function(col) {
+ var result = this.clone();
+ result.removeAll(col);
+ return result;
+};
+goog.structs.Set.prototype.getValues = function() {
+ return this.map_.getValues();
+};
+goog.structs.Set.prototype.values = function() {
+ return this.map_.values();
+};
+goog.structs.Set.prototype.clone = function() {
+ return new goog.structs.Set(this);
+};
+goog.structs.Set.prototype.equals = function(col) {
+ return this.getCount() == goog.structs.getCount(col) && this.isSubsetOf(col);
+};
+goog.structs.Set.prototype.isSubsetOf = function(col) {
+ var colCount = goog.structs.getCount(col);
+ if (this.getCount() > colCount) {
+ return !1;
}
- return "a" === kind ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
+ !(col instanceof goog.structs.Set) && 5 < colCount && (col = new goog.structs.Set(col));
+ return goog.structs.every(this, function(value) {
+ return goog.structs.contains(col, value);
+ });
+};
+goog.structs.Set.prototype.__iterator__ = function(opt_keys) {
+ return this.map_.__iterator__(!1);
+};
+goog.structs.Set.prototype[Symbol.iterator] = function() {
+ return this.values();
+};
+goog.structs.Set.prototype.setSizeInternal_ = function(newSize) {
+ this.size = newSize;
+};
+var ee = {AbstractOverlay:function(url, mapId, token, opt_init, opt_profiler) {
+ goog.events.EventTarget.call(this);
+ this.mapId = mapId;
+ this.token = token;
+ this.tilesLoading = [];
+ this.tilesFailed = new goog.structs.Set();
+ this.tileCounter = 0;
+ this.url = url;
+}};
+goog.inherits(ee.AbstractOverlay, goog.events.EventTarget);
+goog.exportSymbol("ee.AbstractOverlay", ee.AbstractOverlay);
+ee.AbstractOverlay.EventType = {TILE_LOADED:"tileevent"};
+ee.AbstractOverlay.prototype.getTileId = function(coord, zoom) {
+ var maxCoord = 1 << zoom, x = coord.x % maxCoord;
+ 0 > x && (x += maxCoord);
+ return [this.mapId, zoom, x, coord.y].join("/");
+};
+ee.AbstractOverlay.prototype.getLoadingTilesCount = function() {
+ return this.tilesLoading.length;
};
-module$exports$tslib.__classPrivateFieldIn = function(state, receiver) {
- if (null === receiver || "object" !== typeof receiver && "function" !== typeof receiver) {
- throw new TypeError("Cannot use 'in' operator on non-object");
- }
- return "function" === typeof state ? receiver === state : state.has(receiver);
+ee.AbstractOverlay.prototype.getFailedTilesCount = function() {
+ return this.tilesFailed.getCount();
+};
+ee.TileEvent = function(count) {
+ goog.events.Event.call(this, ee.AbstractOverlay.EventType.TILE_LOADED);
+ this.count = count;
};
+goog.inherits(ee.TileEvent, goog.events.Event);
var module$exports$eeapiclient$domain_object = {}, module$contents$eeapiclient$domain_object_module = module$contents$eeapiclient$domain_object_module || {id:"javascript/typescript/contrib/apiclient/core/domain_object.closure.js"};
-module$exports$eeapiclient$domain_object.ObjectMapMetadata = function module$contents$eeapiclient$domain_object_ObjectMapMetadata() {
+module$exports$eeapiclient$domain_object.ObjectMapMetadata = function() {
};
var module$contents$eeapiclient$domain_object_Primitive;
-module$exports$eeapiclient$domain_object.ClassMetadata = function module$contents$eeapiclient$domain_object_ClassMetadata() {
+module$exports$eeapiclient$domain_object.ClassMetadata = function() {
};
var module$contents$eeapiclient$domain_object_NullClass = function() {
};
module$exports$eeapiclient$domain_object.NULL_VALUE = new module$contents$eeapiclient$domain_object_NullClass();
-module$exports$eeapiclient$domain_object.ISerializable = function module$contents$eeapiclient$domain_object_ISerializable() {
+module$exports$eeapiclient$domain_object.ISerializable = function() {
};
function module$contents$eeapiclient$domain_object_buildClassMetadataFromPartial(partialClassMetadata) {
return Object.assign({}, {arrays:{}, descriptions:{}, keys:[], objectMaps:{}, objects:{}, enums:{}, emptyArrayIsUnset:!1}, partialClassMetadata);
@@ -5979,12 +6018,12 @@ module$exports$eeapiclient$domain_object.Serializable.prototype.Serializable$set
module$exports$eeapiclient$domain_object.Serializable.prototype.Serializable$has = function(key) {
return null != this.Serializable$values[key];
};
-module$exports$eeapiclient$domain_object.SerializableCtor = function module$contents$eeapiclient$domain_object_SerializableCtor() {
+module$exports$eeapiclient$domain_object.SerializableCtor = function() {
};
-module$exports$eeapiclient$domain_object.clone = function module$contents$eeapiclient$domain_object_clone(serializable) {
+module$exports$eeapiclient$domain_object.clone = function(serializable) {
return module$contents$eeapiclient$domain_object_deserialize(serializable.getConstructor(), module$contents$eeapiclient$domain_object_serialize(serializable));
};
-module$exports$eeapiclient$domain_object.isEmpty = function module$contents$eeapiclient$domain_object_isEmpty(serializable) {
+module$exports$eeapiclient$domain_object.isEmpty = function(serializable) {
return !Object.keys(module$contents$eeapiclient$domain_object_serialize(serializable)).length;
};
function module$contents$eeapiclient$domain_object_serialize(serializable) {
@@ -6017,13 +6056,13 @@ function module$contents$eeapiclient$domain_object_deserializeInstanciator(ctor)
}
return new ctor();
}
-module$exports$eeapiclient$domain_object.strictDeserialize = function module$contents$eeapiclient$domain_object_strictDeserialize(type, raw) {
+module$exports$eeapiclient$domain_object.strictDeserialize = function(type, raw) {
return module$contents$eeapiclient$domain_object_deserialize(type, raw);
};
var module$contents$eeapiclient$domain_object_CopyValueGetter, module$contents$eeapiclient$domain_object_CopyValueSetter, module$contents$eeapiclient$domain_object_CopyConstructor, module$contents$eeapiclient$domain_object_CopyInstanciator;
function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter, valueSetter, copyInstanciator, targetConstructor) {
- for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$loop$72 = {}, $jscomp$iter$12 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$12.next(); !$jscomp$key$key.done; $jscomp$loop$72 = {$jscomp$loop$prop$mapMetadata$73:$jscomp$loop$72.$jscomp$loop$prop$mapMetadata$73},
- $jscomp$key$key = $jscomp$iter$12.next()) {
+ for (var target = copyInstanciator(targetConstructor), metadata = module$contents$eeapiclient$domain_object_deepCopyMetadata(source, target), arrays = metadata.arrays || {}, objects = metadata.objects || {}, objectMaps = metadata.objectMaps || {}, $jscomp$iter$19 = $jscomp.makeIterator(metadata.keys || []), $jscomp$key$key = $jscomp$iter$19.next(), $jscomp$loop$m192531680$0 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$0 = {mapMetadata:$jscomp$loop$m192531680$0.mapMetadata},
+ $jscomp$key$key = $jscomp$iter$19.next()) {
var key = $jscomp$key$key.value, value = valueGetter(key, source);
if (null != value) {
var copy = void 0;
@@ -6035,11 +6074,11 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
} else if (objects.hasOwnProperty(key)) {
copy = module$contents$eeapiclient$domain_object_deepCopyValue(value, valueGetter, valueSetter, copyInstanciator, !1, !0, objects[key]);
} else if (objectMaps.hasOwnProperty(key)) {
- $jscomp$loop$72.$jscomp$loop$prop$mapMetadata$73 = objectMaps[key], copy = $jscomp$loop$72.$jscomp$loop$prop$mapMetadata$73.isPropertyArray ? value.map(function($jscomp$loop$72) {
+ $jscomp$loop$m192531680$0.mapMetadata = objectMaps[key], copy = $jscomp$loop$m192531680$0.mapMetadata.isPropertyArray ? value.map(function($jscomp$loop$m192531680$0) {
return function(v) {
- return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$72.$jscomp$loop$prop$mapMetadata$73, valueGetter, valueSetter, copyInstanciator);
+ return module$contents$eeapiclient$domain_object_deepCopyObjectMap(v, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
};
- }($jscomp$loop$72)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$72.$jscomp$loop$prop$mapMetadata$73, valueGetter, valueSetter, copyInstanciator);
+ }($jscomp$loop$m192531680$0)) : module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, $jscomp$loop$m192531680$0.mapMetadata, valueGetter, valueSetter, copyInstanciator);
} else if (Array.isArray(value)) {
if (metadata.emptyArrayIsUnset && 0 === value.length) {
continue;
@@ -6054,7 +6093,7 @@ function module$contents$eeapiclient$domain_object_deepCopy(source, valueGetter,
return target;
}
function module$contents$eeapiclient$domain_object_deepCopyObjectMap(value, mapMetadata, valueGetter, valueSetter, copyInstanciator) {
- for (var objMap = {}, $jscomp$iter$13 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$mapKey = $jscomp$iter$13.next(); !$jscomp$key$mapKey.done; $jscomp$key$mapKey = $jscomp$iter$13.next()) {
+ for (var objMap = {}, $jscomp$iter$20 = $jscomp.makeIterator(Object.keys(value)), $jscomp$key$mapKey = $jscomp$iter$20.next(); !$jscomp$key$mapKey.done; $jscomp$key$mapKey = $jscomp$iter$20.next()) {
var mapKey = $jscomp$key$mapKey.value, mapValue = value[mapKey];
null != mapValue && (objMap[mapKey] = module$contents$eeapiclient$domain_object_deepCopyValue(mapValue, valueGetter, valueSetter, copyInstanciator, mapMetadata.isValueArray, mapMetadata.isSerializable, mapMetadata.ctor));
}
@@ -6085,39 +6124,39 @@ function module$contents$eeapiclient$domain_object_deepEquals(serializable1, ser
if (!(module$contents$eeapiclient$domain_object_sameKeys(keys1, metadata2.keys || []) && module$contents$eeapiclient$domain_object_sameKeys(arrays1, arrays2) && module$contents$eeapiclient$domain_object_sameKeys(objects1, objects2) && module$contents$eeapiclient$domain_object_sameKeys(objectMaps1, objectMaps2))) {
return !1;
}
- for (var $jscomp$loop$74 = {}, $jscomp$iter$14 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$14.next(); !$jscomp$key$key.done; $jscomp$loop$74 = {$jscomp$loop$prop$value2$75:$jscomp$loop$74.$jscomp$loop$prop$value2$75, $jscomp$loop$prop$mapMetadata$76:$jscomp$loop$74.$jscomp$loop$prop$mapMetadata$76}, $jscomp$key$key = $jscomp$iter$14.next()) {
+ for (var $jscomp$iter$21 = $jscomp.makeIterator(keys1), $jscomp$key$key = $jscomp$iter$21.next(), $jscomp$loop$m192531680$1 = {}; !$jscomp$key$key.done; $jscomp$loop$m192531680$1 = {value2$jscomp$7:$jscomp$loop$m192531680$1.value2$jscomp$7, mapMetadata$jscomp$2:$jscomp$loop$m192531680$1.mapMetadata$jscomp$2}, $jscomp$key$key = $jscomp$iter$21.next()) {
var key = $jscomp$key$key.value, has1 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable1, key, metadata1), has2 = module$contents$eeapiclient$domain_object_hasAndIsNotEmptyArray(serializable2, key, metadata2);
if (has1 !== has2) {
return !1;
}
if (has1) {
var value1 = serializable1.Serializable$get(key);
- $jscomp$loop$74.$jscomp$loop$prop$value2$75 = serializable2.Serializable$get(key);
+ $jscomp$loop$m192531680$1.value2$jscomp$7 = serializable2.Serializable$get(key);
if (arrays1.hasOwnProperty(key)) {
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75, !0, !0)) {
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !0)) {
return !1;
}
} else if (objects1.hasOwnProperty(key)) {
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75, !1, !0)) {
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !0)) {
return !1;
}
} else if (objectMaps1.hasOwnProperty(key)) {
- if ($jscomp$loop$74.$jscomp$loop$prop$mapMetadata$76 = objectMaps1[key], $jscomp$loop$74.$jscomp$loop$prop$mapMetadata$76.isPropertyArray) {
- if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75) || value1.some(function($jscomp$loop$74) {
+ if ($jscomp$loop$m192531680$1.mapMetadata$jscomp$2 = objectMaps1[key], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2.isPropertyArray) {
+ if (!module$contents$eeapiclient$domain_object_sameKeys(value1, $jscomp$loop$m192531680$1.value2$jscomp$7) || value1.some(function($jscomp$loop$m192531680$1) {
return function(v1, i) {
- return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$74.$jscomp$loop$prop$value2$75[i], $jscomp$loop$74.$jscomp$loop$prop$mapMetadata$76);
+ return !module$contents$eeapiclient$domain_object_deepEqualsObjectMap(v1, $jscomp$loop$m192531680$1.value2$jscomp$7[i], $jscomp$loop$m192531680$1.mapMetadata$jscomp$2);
};
- }($jscomp$loop$74))) {
+ }($jscomp$loop$m192531680$1))) {
return !1;
}
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75, $jscomp$loop$74.$jscomp$loop$prop$mapMetadata$76)) {
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, $jscomp$loop$m192531680$1.mapMetadata$jscomp$2)) {
return !1;
}
} else if (Array.isArray(value1)) {
- if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75, !0, !1)) {
+ if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !0, !1)) {
return !1;
}
- } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$74.$jscomp$loop$prop$value2$75, !1, !1)) {
+ } else if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1, $jscomp$loop$m192531680$1.value2$jscomp$7, !1, !1)) {
return !1;
}
}
@@ -6139,7 +6178,7 @@ function module$contents$eeapiclient$domain_object_deepEqualsObjectMap(value1, v
if (!module$contents$eeapiclient$domain_object_sameKeys(value1, value2)) {
return !1;
}
- for (var $jscomp$iter$15 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$mapKey = $jscomp$iter$15.next(); !$jscomp$key$mapKey.done; $jscomp$key$mapKey = $jscomp$iter$15.next()) {
+ for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.keys(value1)), $jscomp$key$mapKey = $jscomp$iter$22.next(); !$jscomp$key$mapKey.done; $jscomp$key$mapKey = $jscomp$iter$22.next()) {
var mapKey = $jscomp$key$mapKey.value;
if (!module$contents$eeapiclient$domain_object_deepEqualsValue(value1[mapKey], value2[mapKey], mapMetadata.isValueArray, mapMetadata.isSerializable)) {
return !1;
@@ -6193,7 +6232,7 @@ function module$contents$eeapiclient$domain_object_sameKeys(a, b) {
}
return !0;
}
-module$exports$eeapiclient$domain_object.serializableEqualityTester = function module$contents$eeapiclient$domain_object_serializableEqualityTester(left, right) {
+module$exports$eeapiclient$domain_object.serializableEqualityTester = function(left, right) {
if (left instanceof module$exports$eeapiclient$domain_object.Serializable && right instanceof module$exports$eeapiclient$domain_object.Serializable) {
return module$contents$eeapiclient$domain_object_deepEquals(left, right);
}
@@ -6534,7 +6573,10 @@ goog.string.Const.TYPE_MARKER_ = {};
goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_ = {};
goog.string.Const.EMPTY = goog.string.Const.from("");
var module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeScript_SafeScript = function(value, token) {
- this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = token === module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE ? value : "";
+ if (goog.DEBUG && token !== module$contents$goog$html$SafeScript_CONSTRUCTOR_TOKEN_PRIVATE) {
+ throw Error("SafeScript is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseSafeScriptWrappedValue_ = value;
this.implementsGoogStringTypedString = !0;
};
module$contents$goog$html$SafeScript_SafeScript.prototype.toString = function() {
@@ -6626,7 +6668,10 @@ goog.fs.blob.getBlobWithProperties = function(parts, opt_type, opt_endings) {
throw Error("This browser doesn't seem to support creating Blobs");
};
goog.html.TrustedResourceUrl = function(value, token) {
- this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = token === goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_ ? value : "";
+ if (goog.DEBUG && token !== goog.html.TrustedResourceUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
+ throw Error("TrustedResourceUrl is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ = value;
};
goog.html.TrustedResourceUrl.prototype.toString = function() {
return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_ + "";
@@ -6646,7 +6691,7 @@ goog.html.TrustedResourceUrl.unwrapTrustedScriptURL = function(trustedResourceUr
if (trustedResourceUrl instanceof goog.html.TrustedResourceUrl && trustedResourceUrl.constructor === goog.html.TrustedResourceUrl) {
return trustedResourceUrl.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_;
}
- goog.asserts.fail("expected object of type TrustedResourceUrl, got '" + trustedResourceUrl + "' of type " + goog.typeOf(trustedResourceUrl));
+ goog.asserts.fail("expected object of type TrustedResourceUrl, got '%s' of type %s", trustedResourceUrl, goog.typeOf(trustedResourceUrl));
return "type_error:TrustedResourceUrl";
};
goog.html.TrustedResourceUrl.format = function(format, args) {
@@ -6705,7 +6750,10 @@ goog.html.TrustedResourceUrl.stringifyParams_ = function(prefix, currentString,
return currentString;
};
goog.html.SafeUrl = function(value, token) {
- this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = token === goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_ ? value : "";
+ if (goog.DEBUG && token !== goog.html.SafeUrl.CONSTRUCTOR_TOKEN_PRIVATE_) {
+ throw Error("SafeUrl is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseSafeUrlWrappedValue_ = value;
};
goog.html.SafeUrl.prototype.toString = function() {
return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString();
@@ -6723,7 +6771,11 @@ goog.html.SafeUrl.unwrap = function(safeUrl) {
return "type_error:SafeUrl";
};
goog.html.SafeUrl.fromConstant = function(url) {
- return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(url));
+ var str = goog.string.Const.unwrap(url);
+ if (goog.DEBUG && "javascript:" === goog.html.SafeUrl.extractScheme(str)) {
+ throw Error("Building a SafeUrl with a javascript scheme is not supported");
+ }
+ return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(str);
};
goog.html.SAFE_MIME_TYPE_PATTERN_ = RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon|heic|heif)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$', "i");
goog.html.SafeUrl.isSafeMimeType = function(mimeType) {
@@ -6895,7 +6947,10 @@ goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse = function(url)
goog.html.SafeUrl.INNOCUOUS_URL = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.SafeUrl.INNOCUOUS_STRING);
goog.html.SafeUrl.ABOUT_BLANK = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank");
var module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyle_SafeStyle = function(value, token) {
- this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = token === module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE ? value : "";
+ if (goog.DEBUG && token !== module$contents$goog$html$SafeStyle_CONSTRUCTOR_TOKEN_PRIVATE) {
+ throw Error("SafeStyle is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseSafeStyleWrappedValue_ = value;
this.implementsGoogStringTypedString = !0;
};
module$contents$goog$html$SafeStyle_SafeStyle.fromConstant = function(style) {
@@ -7001,7 +7056,7 @@ function module$contents$goog$html$SafeStyle_hasBalancedSquareBrackets(value) {
var module$contents$goog$html$SafeStyle_VALUE_RE = RegExp("^[-+,.\"'%_!#/ a-zA-Z0-9\\[\\]]+$"), module$contents$goog$html$SafeStyle_URL_RE = RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))", "g"), module$contents$goog$html$SafeStyle_FUNCTIONS_RE = RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|radial-gradient|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?|steps|var)\\([-+*/0-9a-zA-Z.%#\\[\\], ]+\\)", "g"), module$contents$goog$html$SafeStyle_COMMENT_RE =
/\/\*/;
function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
- return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match$jscomp$0, before, url, after) {
+ return value.replace(module$contents$goog$html$SafeStyle_URL_RE, function(match, before, url, after) {
var quote = "";
url = url.replace(/^(['"])(.*)\1$/, function(match, start, inside) {
quote = start;
@@ -7013,7 +7068,10 @@ function module$contents$goog$html$SafeStyle_sanitizeUrl(value) {
}
goog.html.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
var module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeStyleSheet_SafeStyleSheet = function(value, token) {
- this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = token === module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE ? value : "";
+ if (goog.DEBUG && token !== module$contents$goog$html$SafeStyleSheet_CONSTRUCTOR_TOKEN_PRIVATE) {
+ throw Error("SafeStyleSheet is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_ = value;
this.implementsGoogStringTypedString = !0;
};
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.prototype.toString = function() {
@@ -7024,8 +7082,23 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createRule = function(se
throw Error("Selector does not allow '<', got: " + selector);
}
var selectorToCheck = selector.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g, "");
- if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(selectorToCheck)) {
- throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: " + selector);
+ if (!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
+ throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
+ }
+ if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
+ throw Error("() and [] in selector must be balanced, got: " + selector);
+ }
+ style instanceof module$contents$goog$html$SafeStyle_SafeStyle || (style = module$contents$goog$html$SafeStyle_SafeStyle.create(style));
+ var styleSheet = selector + "{" + module$contents$goog$html$SafeStyle_SafeStyle.unwrap(style).replace(/+~[\]()=\\^$|]+$/.test(selectorToCheck)) {
+ throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=\\^$|] and strings, got: " + selector);
}
if (!module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.hasBalancedBrackets_(selectorToCheck)) {
throw Error("() and [] in selector must be balanced, got: " + selector);
@@ -7076,7 +7149,10 @@ module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecu
module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.EMPTY = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse("");
goog.html.SafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet;
var module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE = {}, module$contents$goog$html$SafeHtml_SafeHtml = function(value, token) {
- this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = token === module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE ? value : "";
+ if (goog.DEBUG && token !== module$contents$goog$html$SafeHtml_CONSTRUCTOR_TOKEN_PRIVATE) {
+ throw Error("SafeHtml is not meant to be built directly");
+ }
+ this.privateDoNotAccessOrElseSafeHtmlWrappedValue_ = value;
this.implementsGoogStringTypedString = !0;
};
module$contents$goog$html$SafeHtml_SafeHtml.prototype.getTypedStringValue = function() {
@@ -7183,7 +7259,7 @@ module$contents$goog$html$SafeHtml_SafeHtml.createStyle = function(styleSheet, a
module$contents$goog$html$SafeHtml_SafeHtml.createMetaRefresh = function(url, secs) {
var unwrappedUrl = goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(url));
(module$contents$goog$labs$userAgent$browser_matchIE() || module$contents$goog$labs$userAgent$browser_matchEdgeHtml()) && goog.string.internal.contains(unwrappedUrl, ";") && (unwrappedUrl = "'" + unwrappedUrl.replace(/'/g, "%27") + "'");
- return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl,});
+ return module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta", {"http-equiv":"refresh", content:(secs || 0) + "; url=" + unwrappedUrl});
};
module$contents$goog$html$SafeHtml_SafeHtml.join = function(separator, parts) {
var separatorHtml = module$contents$goog$html$SafeHtml_SafeHtml.htmlEscape(separator), content = [], addArgument = function(argument) {
@@ -7235,18 +7311,18 @@ module$contents$goog$html$SafeHtml_SafeHtml.combineAttributes = function(fixedAt
for (name in fixedAttributes) {
Object.prototype.hasOwnProperty.call(fixedAttributes, name) && (goog.asserts.assert(name.toLowerCase() == name, "Must be lower case"), combinedAttributes[name] = fixedAttributes[name]);
}
- for (var name$48 in defaultAttributes) {
- Object.prototype.hasOwnProperty.call(defaultAttributes, name$48) && (goog.asserts.assert(name$48.toLowerCase() == name$48, "Must be lower case"), combinedAttributes[name$48] = defaultAttributes[name$48]);
+ for (var name$jscomp$0 in defaultAttributes) {
+ Object.prototype.hasOwnProperty.call(defaultAttributes, name$jscomp$0) && (goog.asserts.assert(name$jscomp$0.toLowerCase() == name$jscomp$0, "Must be lower case"), combinedAttributes[name$jscomp$0] = defaultAttributes[name$jscomp$0]);
}
if (attributes) {
- for (var name$49 in attributes) {
- if (Object.prototype.hasOwnProperty.call(attributes, name$49)) {
- var nameLower = name$49.toLowerCase();
+ for (var name$jscomp$1 in attributes) {
+ if (Object.prototype.hasOwnProperty.call(attributes, name$jscomp$1)) {
+ var nameLower = name$jscomp$1.toLowerCase();
if (nameLower in fixedAttributes) {
- throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$49 + '" with value "' + attributes[name$49] + '"' : "");
+ throw Error(module$contents$goog$html$SafeHtml_SafeHtml.ENABLE_ERROR_MESSAGES ? 'Cannot override "' + nameLower + '" attribute, got "' + name$jscomp$1 + '" with value "' + attributes[name$jscomp$1] + '"' : "");
}
nameLower in defaultAttributes && delete combinedAttributes[nameLower];
- combinedAttributes[name$49] = attributes[name$49];
+ combinedAttributes[name$jscomp$1] = attributes[name$jscomp$1];
}
}
}
@@ -7858,13 +7934,13 @@ goog.string.editDistance = function(a, b) {
for (var i = 0; i < b.length + 1; i++) {
v0[i] = i;
}
- for (var i$50 = 0; i$50 < a.length; i$50++) {
- v1[0] = i$50 + 1;
+ for (var i$jscomp$0 = 0; i$jscomp$0 < a.length; i$jscomp$0++) {
+ v1[0] = i$jscomp$0 + 1;
for (var j = 0; j < b.length; j++) {
- v1[j + 1] = Math.min(v1[j] + 1, v0[j + 1] + 1, v0[j] + Number(a[i$50] != b[j]));
+ v1[j + 1] = Math.min(v1[j] + 1, v0[j + 1] + 1, v0[j] + Number(a[i$jscomp$0] != b[j]));
}
- for (var j$51 = 0; j$51 < v0.length; j$51++) {
- v0[j$51] = v1[j$51];
+ for (var j$jscomp$0 = 0; j$jscomp$0 < v0.length; j$jscomp$0++) {
+ v0[j$jscomp$0] = v1[j$jscomp$0];
}
}
return v1[b.length];
@@ -7883,17 +7959,17 @@ module$contents$goog$collections$maps_MapLike.prototype.values = function() {
module$contents$goog$collections$maps_MapLike.prototype.has = function(key) {
};
goog.collections.maps.MapLike = module$contents$goog$collections$maps_MapLike;
-goog.collections.maps.setAll = function module$contents$goog$collections$maps_setAll(map, entries) {
+goog.collections.maps.setAll = function(map, entries) {
if (entries) {
- for (var $jscomp$iter$16 = $jscomp.makeIterator(entries), $jscomp$key$ = $jscomp$iter$16.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$16.next()) {
+ for (var $jscomp$iter$23 = $jscomp.makeIterator(entries), $jscomp$key$ = $jscomp$iter$23.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$23.next()) {
var $jscomp$destructuring$var25 = $jscomp.makeIterator($jscomp$key$.value), k = $jscomp$destructuring$var25.next().value, v = $jscomp$destructuring$var25.next().value;
map.set(k, v);
}
}
};
-goog.collections.maps.hasValue = function module$contents$goog$collections$maps_hasValue(map, val, valueEqualityFn) {
+goog.collections.maps.hasValue = function(map, val, valueEqualityFn) {
valueEqualityFn = void 0 === valueEqualityFn ? module$contents$goog$collections$maps_defaultEqualityFn : valueEqualityFn;
- for (var $jscomp$iter$17 = $jscomp.makeIterator(map.values()), $jscomp$key$v = $jscomp$iter$17.next(); !$jscomp$key$v.done; $jscomp$key$v = $jscomp$iter$17.next()) {
+ for (var $jscomp$iter$24 = $jscomp.makeIterator(map.values()), $jscomp$key$v = $jscomp$iter$24.next(); !$jscomp$key$v.done; $jscomp$key$v = $jscomp$iter$24.next()) {
if (valueEqualityFn($jscomp$key$v.value, val)) {
return !0;
}
@@ -7903,7 +7979,7 @@ goog.collections.maps.hasValue = function module$contents$goog$collections$maps_
var module$contents$goog$collections$maps_defaultEqualityFn = function(a, b) {
return a === b;
};
-goog.collections.maps.equals = function module$contents$goog$collections$maps_equals(map, otherMap, valueEqualityFn) {
+goog.collections.maps.equals = function(map, otherMap, valueEqualityFn) {
valueEqualityFn = void 0 === valueEqualityFn ? module$contents$goog$collections$maps_defaultEqualityFn : valueEqualityFn;
if (map === otherMap) {
return !0;
@@ -7911,7 +7987,7 @@ goog.collections.maps.equals = function module$contents$goog$collections$maps_eq
if (map.size !== otherMap.size) {
return !1;
}
- for (var $jscomp$iter$18 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$18.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$18.next()) {
+ for (var $jscomp$iter$25 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$25.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$25.next()) {
var key = $jscomp$key$key.value;
if (!otherMap.has(key) || !valueEqualityFn(map.get(key), otherMap.get(key))) {
return !1;
@@ -7919,15 +7995,15 @@ goog.collections.maps.equals = function module$contents$goog$collections$maps_eq
}
return !0;
};
-goog.collections.maps.transpose = function module$contents$goog$collections$maps_transpose(map) {
- for (var transposed = new Map(), $jscomp$iter$19 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$19.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$19.next()) {
+goog.collections.maps.transpose = function(map) {
+ for (var transposed = new Map(), $jscomp$iter$26 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$26.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$26.next()) {
var key = $jscomp$key$key.value, val = map.get(key);
transposed.set(val, key);
}
return transposed;
};
-goog.collections.maps.toObject = function module$contents$goog$collections$maps_toObject(map) {
- for (var obj = {}, $jscomp$iter$20 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$20.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$20.next()) {
+goog.collections.maps.toObject = function(map) {
+ for (var obj = {}, $jscomp$iter$27 = $jscomp.makeIterator(map.keys()), $jscomp$key$key = $jscomp$iter$27.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$27.next()) {
var key = $jscomp$key$key.value;
obj[key] = map.get(key);
}
@@ -8639,9 +8715,9 @@ var module$exports$goog$net$rpc$HttpCors = {HTTP_HEADERS_PARAM_NAME:"$httpHeader
return url;
}};
var module$exports$eeapiclient$request_params = {}, module$contents$eeapiclient$request_params_module = module$contents$eeapiclient$request_params_module || {id:"javascript/typescript/contrib/apiclient/core/request_params.closure.js"};
-module$exports$eeapiclient$request_params.HttpMethodEnum = {GET:"GET", POST:"POST", PUT:"PUT", PATCH:"PATCH", DELETE:"DELETE",};
-module$exports$eeapiclient$request_params.AuthType = {AUTO:"auto", NONE:"none", OAUTH2:"oauth2", FIRST_PARTY:"1p",};
-module$exports$eeapiclient$request_params.StreamingType = {NONE:"NONE", CLIENT_SIDE:"CLIENT_SIDE", SERVER_SIDE:"SERVER_SIDE", BIDIRECTONAL:"BIDIRECTONAL",};
+module$exports$eeapiclient$request_params.HttpMethodEnum = {GET:"GET", POST:"POST", PUT:"PUT", PATCH:"PATCH", DELETE:"DELETE"};
+module$exports$eeapiclient$request_params.AuthType = {AUTO:"auto", NONE:"none", OAUTH2:"oauth2", FIRST_PARTY:"1p"};
+module$exports$eeapiclient$request_params.StreamingType = {NONE:"NONE", CLIENT_SIDE:"CLIENT_SIDE", SERVER_SIDE:"SERVER_SIDE", BIDIRECTONAL:"BIDIRECTONAL"};
function module$contents$eeapiclient$request_params_MakeRequestParams() {
}
module$exports$eeapiclient$request_params.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -8656,7 +8732,7 @@ function module$contents$eeapiclient$request_params_processParams(params) {
}
module$exports$eeapiclient$request_params.processParams = module$contents$eeapiclient$request_params_processParams;
function module$contents$eeapiclient$request_params_buildQueryParams(params, mapping, passthroughParams) {
- for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$21 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$ = $jscomp$iter$21.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$21.next()) {
+ for (var urlQueryParams = passthroughParams = void 0 === passthroughParams ? {} : passthroughParams, $jscomp$iter$28 = $jscomp.makeIterator(Object.entries(mapping)), $jscomp$key$ = $jscomp$iter$28.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$28.next()) {
var $jscomp$destructuring$var27 = $jscomp.makeIterator($jscomp$key$.value), jsName__tsickle_destructured_1 = $jscomp$destructuring$var27.next().value, urlQueryParamName__tsickle_destructured_2 = $jscomp$destructuring$var27.next().value, jsName = jsName__tsickle_destructured_1, urlQueryParamName = urlQueryParamName__tsickle_destructured_2;
jsName in params && (urlQueryParams[urlQueryParamName] = params[jsName]);
}
@@ -8664,31 +8740,31 @@ function module$contents$eeapiclient$request_params_buildQueryParams(params, map
}
module$exports$eeapiclient$request_params.buildQueryParams = module$contents$eeapiclient$request_params_buildQueryParams;
var module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders = ["accept", "accept-language", "content-language"], module$contents$eeapiclient$request_params_simpleCorsAllowedMethods = ["GET", "HEAD", "POST"];
-module$exports$eeapiclient$request_params.bypassCorsPreflight = function module$contents$eeapiclient$request_params_bypassCorsPreflight(params) {
- var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasSafeHeaders = !1, hasContentType = !1;
+module$exports$eeapiclient$request_params.bypassCorsPreflight = function(params) {
+ var safeHeaders = {}, unsafeHeaders = {}, hasUnsafeHeaders = !1, hasContentType = !1;
if (params.headers) {
hasContentType = null != params.headers["Content-Type"];
- for (var $jscomp$iter$22 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$ = $jscomp$iter$22.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$22.next()) {
+ for (var $jscomp$iter$29 = $jscomp.makeIterator(Object.entries(params.headers)), $jscomp$key$ = $jscomp$iter$29.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$29.next()) {
var $jscomp$destructuring$var29 = $jscomp.makeIterator($jscomp$key$.value), key__tsickle_destructured_3 = $jscomp$destructuring$var29.next().value, value__tsickle_destructured_4 = $jscomp$destructuring$var29.next().value, key = key__tsickle_destructured_3, value = value__tsickle_destructured_4;
- module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? (safeHeaders[key] = value, hasSafeHeaders = !0) : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
+ module$contents$eeapiclient$request_params_simpleCorsAllowedHeaders.includes(key) ? safeHeaders[key] = value : (unsafeHeaders[key] = value, hasUnsafeHeaders = !0);
}
}
if (null != params.body || "PUT" === params.httpMethod || "POST" === params.httpMethod) {
- hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain", hasSafeHeaders = !0;
+ hasContentType || (unsafeHeaders["Content-Type"] = "application/json", hasUnsafeHeaders = !0), safeHeaders["Content-Type"] = "text/plain";
}
if (hasUnsafeHeaders) {
var finalParam = (0,module$exports$goog$net$rpc$HttpCors.generateEncodedHttpHeadersOverwriteParam)(unsafeHeaders);
module$contents$eeapiclient$request_params_addQueryParameter(params, module$exports$goog$net$rpc$HttpCors.HTTP_HEADERS_PARAM_NAME, finalParam);
}
- hasSafeHeaders && (params.headers = safeHeaders);
+ params.headers = safeHeaders;
module$contents$eeapiclient$request_params_simpleCorsAllowedMethods.includes(params.httpMethod) || (module$contents$eeapiclient$request_params_addQueryParameter(params, module$exports$goog$net$rpc$HttpCors.HTTP_METHOD_PARAM_NAME, params.httpMethod), params.httpMethod = "POST");
};
function module$contents$eeapiclient$request_params_addQueryParameter(params, key, value) {
if (params.queryParams) {
params.queryParams[key] = value;
} else {
- var $jscomp$compprop7 = {};
- params.queryParams = ($jscomp$compprop7[key] = value, $jscomp$compprop7);
+ var $jscomp$compprop13 = {};
+ params.queryParams = ($jscomp$compprop13[key] = value, $jscomp$compprop13);
}
}
;var module$exports$eeapiclient$multipart_request = {}, module$contents$eeapiclient$multipart_request_module = module$contents$eeapiclient$multipart_request_module || {id:"javascript/typescript/contrib/apiclient/core/multipart_request.closure.js"};
@@ -8719,7 +8795,7 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.build =
return Promise.all(this.files.map(function(f) {
return $jscomp$this.encodeFile(f);
})).then(function(filePayloads) {
- for (var $jscomp$iter$23 = $jscomp.makeIterator(filePayloads), $jscomp$key$filePayload = $jscomp$iter$23.next(); !$jscomp$key$filePayload.done; $jscomp$key$filePayload = $jscomp$iter$23.next()) {
+ for (var $jscomp$iter$30 = $jscomp.makeIterator(filePayloads), $jscomp$key$filePayload = $jscomp$iter$30.next(); !$jscomp$key$filePayload.done; $jscomp$key$filePayload = $jscomp$iter$30.next()) {
payload += $jscomp$key$filePayload.value;
}
return payload += "\r\n--" + $jscomp$this._boundary + "--";
@@ -8735,7 +8811,7 @@ module$exports$eeapiclient$multipart_request.MultipartRequest.prototype.base64En
var reader = new FileReader();
reader.onload = function(ev) {
try {
- var file$52 = ev.target.result, toResolve = file$52.substr(file$52.indexOf(",") + 1);
+ var file = ev.target.result, toResolve = file.substr(file.indexOf(",") + 1);
resolve(toResolve);
} catch (e) {
reject(e);
@@ -8765,16 +8841,16 @@ function module$contents$eeapiclient$api_client_toMultipartMakeRequestParams(req
var multipartRequest = requestParams.body;
return multipartRequest.payloadPromise().then(function(body) {
var $jscomp$nullish$tmp0, queryParams = null != ($jscomp$nullish$tmp0 = requestParams.queryParams) ? $jscomp$nullish$tmp0 : {};
- return {path:requestParams.path, httpMethod:requestParams.httpMethod, methodId:requestParams.methodId, queryParams:Object.assign({}, queryParams, {uploadType:"multipart"}), headers:{"X-Goog-Upload-Protocol":"multipart", "Content-Type":"multipart/related; boundary=" + multipartRequest.boundary()}, body:body,};
+ return {path:requestParams.path, httpMethod:requestParams.httpMethod, methodId:requestParams.methodId, queryParams:Object.assign({}, queryParams, {uploadType:"multipart"}), headers:{"X-Goog-Upload-Protocol":"multipart", "Content-Type":"multipart/related; boundary=" + multipartRequest.boundary()}, body:body};
});
}
module$exports$eeapiclient$api_client.toMultipartMakeRequestParams = module$contents$eeapiclient$api_client_toMultipartMakeRequestParams;
var module$exports$eeapiclient$api_request_hook = {}, module$contents$eeapiclient$api_request_hook_module = module$contents$eeapiclient$api_request_hook_module || {id:"javascript/typescript/contrib/apiclient/core/api_request_hook.closure.js"};
-module$exports$eeapiclient$api_request_hook.ApiClientRequestHook = function module$contents$eeapiclient$api_request_hook_ApiClientRequestHook() {
+module$exports$eeapiclient$api_request_hook.ApiClientRequestHook = function() {
};
module$exports$eeapiclient$api_request_hook.ApiClientHookFactory = function() {
};
-module$exports$eeapiclient$api_request_hook.ApiClientHookFactoryCtor = function module$contents$eeapiclient$api_request_hook_ApiClientHookFactoryCtor() {
+module$exports$eeapiclient$api_request_hook.ApiClientHookFactoryCtor = function() {
};
module$exports$eeapiclient$api_request_hook.DefaultApiClientHookFactory = function() {
};
@@ -8782,7 +8858,7 @@ module$exports$eeapiclient$api_request_hook.DefaultApiClientHookFactory.prototyp
return {onBeforeSend:function() {
}, onSuccess:function(response) {
}, onError:function(error) {
- },};
+ }};
};
function module$contents$eeapiclient$api_request_hook_getRequestHook(factory, requestParams) {
if (null == factory) {
@@ -8815,291 +8891,283 @@ module$exports$eeapiclient$promise_api_client.PromiseApiClient.prototype.$upload
return $jscomp$this.requestService.send(params, responseCtor);
}));
};
-var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1alpha/ee_api_client.closure.js"};
-module$exports$eeapiclient$ee_api_client.IAuditLogConfigLogTypeEnum = function module$contents$eeapiclient$ee_api_client_IAuditLogConfigLogTypeEnum() {
+var module$exports$eeapiclient$ee_api_client = {}, module$contents$eeapiclient$ee_api_client_module = module$contents$eeapiclient$ee_api_client_module || {id:"geo/gestalt/client/javascript/v1/ee_api_client.closure.js"};
+module$exports$eeapiclient$ee_api_client.IAuditLogConfigLogTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum = {ADMIN_READ:"ADMIN_READ", DATA_READ:"DATA_READ", DATA_WRITE:"DATA_WRITE", LOG_TYPE_UNSPECIFIED:"LOG_TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum.LOG_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum.ADMIN_READ, module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum.DATA_WRITE, module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum.DATA_READ];
}};
-module$exports$eeapiclient$ee_api_client.IAuthorizationLoggingOptionsPermissionTypeEnum = function module$contents$eeapiclient$ee_api_client_IAuthorizationLoggingOptionsPermissionTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IAuthorizationLoggingOptionsPermissionTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum = {ADMIN_READ:"ADMIN_READ", ADMIN_WRITE:"ADMIN_WRITE", DATA_READ:"DATA_READ", DATA_WRITE:"DATA_WRITE", PERMISSION_TYPE_UNSPECIFIED:"PERMISSION_TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum.PERMISSION_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum.ADMIN_READ, module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum.ADMIN_WRITE, module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum.DATA_READ,
module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum.DATA_WRITE];
}};
-module$exports$eeapiclient$ee_api_client.ICapabilitiesCapabilitiesEnum = function module$contents$eeapiclient$ee_api_client_ICapabilitiesCapabilitiesEnum() {
+module$exports$eeapiclient$ee_api_client.ICapabilitiesCapabilitiesEnum = function() {
};
module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum = {AUTO_APPEAL_ELIGIBLE:"AUTO_APPEAL_ELIGIBLE", CAPABILITY_GROUP_UNSPECIFIED:"CAPABILITY_GROUP_UNSPECIFIED", CLOUD_ALPHA:"CLOUD_ALPHA", EXTERNAL:"EXTERNAL", INTERNAL:"INTERNAL", LIMITED:"LIMITED", PREAUTHORIZED:"PREAUTHORIZED", PREVIEW:"PREVIEW", PUBLIC:"PUBLIC", RESTRICTED:"RESTRICTED", values:function() {
return [module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.CAPABILITY_GROUP_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.PUBLIC, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.INTERNAL, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.EXTERNAL, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.LIMITED,
module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.PREAUTHORIZED, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.PREVIEW, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.CLOUD_ALPHA, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.RESTRICTED, module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum.AUTO_APPEAL_ELIGIBLE];
}};
-module$exports$eeapiclient$ee_api_client.IChangeSubscriptionTypeRequestChangeTimeEnum = function module$contents$eeapiclient$ee_api_client_IChangeSubscriptionTypeRequestChangeTimeEnum() {
+module$exports$eeapiclient$ee_api_client.IChangeSubscriptionTypeRequestChangeTimeEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.EARLIEST_POSSIBLE];
+module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", END_OF_TERM:"END_OF_TERM", SPECIFIC_DATE:"SPECIFIC_DATE", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.EARLIEST_POSSIBLE, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.SPECIFIC_DATE,
+ module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestChangeTimeEnum.END_OF_TERM];
}};
-module$exports$eeapiclient$ee_api_client.IChangeSubscriptionTypeRequestTypeEnum = function module$contents$eeapiclient$ee_api_client_IChangeSubscriptionTypeRequestTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IChangeSubscriptionTypeRequestTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum = {BASIC:"BASIC", NO_SUBSCRIPTION:"NO_SUBSCRIPTION", PREMIUM:"PREMIUM", PROFESSIONAL:"PROFESSIONAL", TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.NO_SUBSCRIPTION, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.BASIC, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.PROFESSIONAL,
- module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.PREMIUM];
+ return [module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.NO_SUBSCRIPTION, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.BASIC, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.PROFESSIONAL, module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum.PREMIUM];
}};
-module$exports$eeapiclient$ee_api_client.ICloudAuditOptionsLogNameEnum = function module$contents$eeapiclient$ee_api_client_ICloudAuditOptionsLogNameEnum() {
+module$exports$eeapiclient$ee_api_client.ICloudAuditOptionsLogNameEnum = function() {
};
module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum = {ADMIN_ACTIVITY:"ADMIN_ACTIVITY", DATA_ACCESS:"DATA_ACCESS", UNSPECIFIED_LOG_NAME:"UNSPECIFIED_LOG_NAME", values:function() {
return [module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum.UNSPECIFIED_LOG_NAME, module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum.ADMIN_ACTIVITY, module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum.DATA_ACCESS];
}};
-module$exports$eeapiclient$ee_api_client.ICloudStorageDestinationPermissionsEnum = function module$contents$eeapiclient$ee_api_client_ICloudStorageDestinationPermissionsEnum() {
+module$exports$eeapiclient$ee_api_client.ICloudStorageDestinationPermissionsEnum = function() {
};
module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum = {DEFAULT_OBJECT_ACL:"DEFAULT_OBJECT_ACL", PUBLIC:"PUBLIC", TILE_PERMISSIONS_UNSPECIFIED:"TILE_PERMISSIONS_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.TILE_PERMISSIONS_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.PUBLIC, module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum.DEFAULT_OBJECT_ACL];
}};
-module$exports$eeapiclient$ee_api_client.IComputePixelsRequestFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IComputePixelsRequestFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IComputePixelsRequestFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.AUTO_JPEG_PNG,
- module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.NPY, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF,
- module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
+ return [module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.NPY,
+ module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.IConditionIamEnum = function module$contents$eeapiclient$ee_api_client_IConditionIamEnum() {
+module$exports$eeapiclient$ee_api_client.IConditionIamEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ConditionIamEnum = {APPROVER:"APPROVER", ATTRIBUTION:"ATTRIBUTION", AUTHORITY:"AUTHORITY", CREDENTIALS_TYPE:"CREDENTIALS_TYPE", CREDS_ASSERTION:"CREDS_ASSERTION", JUSTIFICATION_TYPE:"JUSTIFICATION_TYPE", NO_ATTR:"NO_ATTR", SECURITY_REALM:"SECURITY_REALM", values:function() {
return [module$exports$eeapiclient$ee_api_client.ConditionIamEnum.NO_ATTR, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.AUTHORITY, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.ATTRIBUTION, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.SECURITY_REALM, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.APPROVER,
module$exports$eeapiclient$ee_api_client.ConditionIamEnum.JUSTIFICATION_TYPE, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.CREDENTIALS_TYPE, module$exports$eeapiclient$ee_api_client.ConditionIamEnum.CREDS_ASSERTION];
}};
-module$exports$eeapiclient$ee_api_client.IConditionOpEnum = function module$contents$eeapiclient$ee_api_client_IConditionOpEnum() {
+module$exports$eeapiclient$ee_api_client.IConditionOpEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ConditionOpEnum = {DISCHARGED:"DISCHARGED", EQUALS:"EQUALS", IN:"IN", NOT_EQUALS:"NOT_EQUALS", NOT_IN:"NOT_IN", NO_OP:"NO_OP", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NO_OP, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.EQUALS, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NOT_EQUALS, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.IN, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NOT_IN,
- module$exports$eeapiclient$ee_api_client.ConditionOpEnum.DISCHARGED];
+ return [module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NO_OP, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.EQUALS, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NOT_EQUALS, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.IN, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.NOT_IN, module$exports$eeapiclient$ee_api_client.ConditionOpEnum.DISCHARGED];
}};
-module$exports$eeapiclient$ee_api_client.IConditionSysEnum = function module$contents$eeapiclient$ee_api_client_IConditionSysEnum() {
+module$exports$eeapiclient$ee_api_client.IConditionSysEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ConditionSysEnum = {IP:"IP", NAME:"NAME", NO_ATTR:"NO_ATTR", REGION:"REGION", SERVICE:"SERVICE", values:function() {
return [module$exports$eeapiclient$ee_api_client.ConditionSysEnum.NO_ATTR, module$exports$eeapiclient$ee_api_client.ConditionSysEnum.REGION, module$exports$eeapiclient$ee_api_client.ConditionSysEnum.SERVICE, module$exports$eeapiclient$ee_api_client.ConditionSysEnum.NAME, module$exports$eeapiclient$ee_api_client.ConditionSysEnum.IP];
}};
-module$exports$eeapiclient$ee_api_client.IDataAccessOptionsLogModeEnum = function module$contents$eeapiclient$ee_api_client_IDataAccessOptionsLogModeEnum() {
+module$exports$eeapiclient$ee_api_client.IDataAccessOptionsLogModeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum = {LOG_FAIL_CLOSED:"LOG_FAIL_CLOSED", LOG_MODE_UNSPECIFIED:"LOG_MODE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum.LOG_MODE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum.LOG_FAIL_CLOSED];
}};
-module$exports$eeapiclient$ee_api_client.IEarthEngineAssetTypeEnum = function module$contents$eeapiclient$ee_api_client_IEarthEngineAssetTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IEarthEngineAssetTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum = {CLASSIFIER:"CLASSIFIER", FEATURE_VIEW:"FEATURE_VIEW", FOLDER:"FOLDER", IMAGE:"IMAGE", IMAGE_COLLECTION:"IMAGE_COLLECTION", TABLE:"TABLE", TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.IMAGE, module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.IMAGE_COLLECTION, module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.TABLE, module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.FOLDER,
module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.CLASSIFIER, module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum.FEATURE_VIEW];
}};
-module$exports$eeapiclient$ee_api_client.IEarthEngineMapFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IEarthEngineMapFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IEarthEngineMapFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
return [module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.NPY,
module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.IExportVideoMapRequestVersionEnum = function module$contents$eeapiclient$ee_api_client_IExportVideoMapRequestVersionEnum() {
+module$exports$eeapiclient$ee_api_client.IExportVideoMapRequestVersionEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum = {V1:"V1", V2:"V2", VERSION_UNSPECIFIED:"VERSION_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum.VERSION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum.V1, module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum.V2];
}};
-module$exports$eeapiclient$ee_api_client.IFeatureViewAttributeTypeEnum = function module$contents$eeapiclient$ee_api_client_IFeatureViewAttributeTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IFeatureViewAttributeTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum = {BOOLEAN:"BOOLEAN", DATE_TIME:"DATE_TIME", DOUBLE:"DOUBLE", INTEGER:"INTEGER", STRING:"STRING", TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.INTEGER, module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.BOOLEAN, module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.DOUBLE, module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.STRING,
module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum.DATE_TIME];
}};
-module$exports$eeapiclient$ee_api_client.IFeatureViewDestinationPermissionsEnum = function module$contents$eeapiclient$ee_api_client_IFeatureViewDestinationPermissionsEnum() {
+module$exports$eeapiclient$ee_api_client.IFeatureViewDestinationPermissionsEnum = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewDestinationPermissionsEnum = {FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED:"FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED", PUBLIC:"PUBLIC", values:function() {
return [module$exports$eeapiclient$ee_api_client.FeatureViewDestinationPermissionsEnum.FEATURE_VIEW_ASSET_PERMISSIONS_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.FeatureViewDestinationPermissionsEnum.PUBLIC];
}};
-module$exports$eeapiclient$ee_api_client.IFilmstripThumbnailFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IFilmstripThumbnailFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IFilmstripThumbnailFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
return [module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.NPY,
- module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.ZIPPED_GEO_TIFF,
- module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
+ module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.IFilmstripThumbnailOrientationEnum = function module$contents$eeapiclient$ee_api_client_IFilmstripThumbnailOrientationEnum() {
+module$exports$eeapiclient$ee_api_client.IFilmstripThumbnailOrientationEnum = function() {
};
module$exports$eeapiclient$ee_api_client.FilmstripThumbnailOrientationEnum = {HORIZONTAL:"HORIZONTAL", ORIENTATION_UNSPECIFIED:"ORIENTATION_UNSPECIFIED", VERTICAL:"VERTICAL", values:function() {
return [module$exports$eeapiclient$ee_api_client.FilmstripThumbnailOrientationEnum.ORIENTATION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailOrientationEnum.HORIZONTAL, module$exports$eeapiclient$ee_api_client.FilmstripThumbnailOrientationEnum.VERTICAL];
}};
-module$exports$eeapiclient$ee_api_client.IGcsDestinationPermissionsEnum = function module$contents$eeapiclient$ee_api_client_IGcsDestinationPermissionsEnum() {
-};
-module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum = {DEFAULT_OBJECT_ACL:"DEFAULT_OBJECT_ACL", PUBLIC:"PUBLIC", TILE_PERMISSIONS_UNSPECIFIED:"TILE_PERMISSIONS_UNSPECIFIED", values:function() {
- return [module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum.TILE_PERMISSIONS_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum.PUBLIC, module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum.DEFAULT_OBJECT_ACL];
-}};
-module$exports$eeapiclient$ee_api_client.IGetPixelsRequestFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IGetPixelsRequestFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IGetPixelsRequestFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
return [module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.NPY,
module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.IImageAssetExportOptionsPyramidingPolicyEnum = function module$contents$eeapiclient$ee_api_client_IImageAssetExportOptionsPyramidingPolicyEnum() {
+module$exports$eeapiclient$ee_api_client.IImageAssetExportOptionsPyramidingPolicyEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum = {MAX:"MAX", MEAN:"MEAN", MEDIAN:"MEDIAN", MIN:"MIN", MODE:"MODE", PYRAMIDING_POLICY_UNSPECIFIED:"PYRAMIDING_POLICY_UNSPECIFIED", SAMPLE:"SAMPLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.MEAN, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.MIN,
module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.MAX, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.MODE, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyEnum.MEDIAN];
}};
-module$exports$eeapiclient$ee_api_client.IImageAssetExportOptionsPyramidingPolicyOverridesEnum = function module$contents$eeapiclient$ee_api_client_IImageAssetExportOptionsPyramidingPolicyOverridesEnum() {
+module$exports$eeapiclient$ee_api_client.IImageAssetExportOptionsPyramidingPolicyOverridesEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum = {MAX:"MAX", MEAN:"MEAN", MEDIAN:"MEDIAN", MIN:"MIN", MODE:"MODE", PYRAMIDING_POLICY_UNSPECIFIED:"PYRAMIDING_POLICY_UNSPECIFIED", SAMPLE:"SAMPLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.MEAN, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.MIN,
module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.MAX, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.MODE, module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum.MEDIAN];
}};
-module$exports$eeapiclient$ee_api_client.IImageBandPyramidingPolicyEnum = function module$contents$eeapiclient$ee_api_client_IImageBandPyramidingPolicyEnum() {
+module$exports$eeapiclient$ee_api_client.IImageBandPyramidingPolicyEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum = {MAX:"MAX", MEAN:"MEAN", MEDIAN:"MEDIAN", MIN:"MIN", MODE:"MODE", PYRAMIDING_POLICY_UNSPECIFIED:"PYRAMIDING_POLICY_UNSPECIFIED", SAMPLE:"SAMPLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.MEAN, module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.MIN, module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.MAX,
module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.MODE, module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum.MEDIAN];
}};
-module$exports$eeapiclient$ee_api_client.IImageFileExportOptionsFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IImageFileExportOptionsFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IImageFileExportOptionsFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.AUTO_JPEG_PNG,
- module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.NPY, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.MULTI_BAND_IMAGE_TILE,
- module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
+ return [module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.NPY,
+ module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.IImageManifestPyramidingPolicyEnum = function module$contents$eeapiclient$ee_api_client_IImageManifestPyramidingPolicyEnum() {
+module$exports$eeapiclient$ee_api_client.IImageManifestPyramidingPolicyEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum = {MAX:"MAX", MEAN:"MEAN", MEDIAN:"MEDIAN", MIN:"MIN", MODE:"MODE", PYRAMIDING_POLICY_UNSPECIFIED:"PYRAMIDING_POLICY_UNSPECIFIED", SAMPLE:"SAMPLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MEAN, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MIN, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MAX,
module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MODE, module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum.MEDIAN];
}};
-module$exports$eeapiclient$ee_api_client.IOperationMetadataStateEnum = function module$contents$eeapiclient$ee_api_client_IOperationMetadataStateEnum() {
+module$exports$eeapiclient$ee_api_client.IOperationMetadataStateEnum = function() {
};
module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum = {CANCELLED:"CANCELLED", CANCELLING:"CANCELLING", FAILED:"FAILED", PENDING:"PENDING", RUNNING:"RUNNING", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", SUCCEEDED:"SUCCEEDED", values:function() {
return [module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.PENDING, module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.RUNNING, module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.CANCELLING, module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.SUCCEEDED,
module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.CANCELLED, module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum.FAILED];
}};
-module$exports$eeapiclient$ee_api_client.IOperationNotificationSeverityEnum = function module$contents$eeapiclient$ee_api_client_IOperationNotificationSeverityEnum() {
+module$exports$eeapiclient$ee_api_client.IOperationNotificationSeverityEnum = function() {
};
module$exports$eeapiclient$ee_api_client.OperationNotificationSeverityEnum = {SEVERE:"SEVERE", SEVERITY_UNSPECIFIED:"SEVERITY_UNSPECIFIED", WARNING:"WARNING", values:function() {
return [module$exports$eeapiclient$ee_api_client.OperationNotificationSeverityEnum.SEVERITY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.OperationNotificationSeverityEnum.WARNING, module$exports$eeapiclient$ee_api_client.OperationNotificationSeverityEnum.SEVERE];
}};
-module$exports$eeapiclient$ee_api_client.IPixelDataTypePrecisionEnum = function module$contents$eeapiclient$ee_api_client_IPixelDataTypePrecisionEnum() {
+module$exports$eeapiclient$ee_api_client.IPixelDataTypePrecisionEnum = function() {
};
module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum = {DOUBLE:"DOUBLE", FLOAT:"FLOAT", INT:"INT", PRECISION_UNSPECIFIED:"PRECISION_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.PRECISION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.INT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.FLOAT, module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum.DOUBLE];
}};
-module$exports$eeapiclient$ee_api_client.IProjectRegistrationBillingConsentEnum = function module$contents$eeapiclient$ee_api_client_IProjectRegistrationBillingConsentEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectRegistrationBillingConsentEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum = {BILLING_CONSENT_FULL:"BILLING_CONSENT_FULL", BILLING_CONSENT_NONE:"BILLING_CONSENT_NONE", BILLING_CONSENT_UNSPECIFIED:"BILLING_CONSENT_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum.BILLING_CONSENT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum.BILLING_CONSENT_NONE, module$exports$eeapiclient$ee_api_client.ProjectRegistrationBillingConsentEnum.BILLING_CONSENT_FULL];
}};
-module$exports$eeapiclient$ee_api_client.IProjectRegistrationFreeQuotaEnum = function module$contents$eeapiclient$ee_api_client_IProjectRegistrationFreeQuotaEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectRegistrationFreeQuotaEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum = {FREE_QUOTA_FULL:"FREE_QUOTA_FULL", FREE_QUOTA_NONE:"FREE_QUOTA_NONE", FREE_QUOTA_UNSPECIFIED:"FREE_QUOTA_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum.FREE_QUOTA_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum.FREE_QUOTA_NONE, module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum.FREE_QUOTA_FULL];
}};
-module$exports$eeapiclient$ee_api_client.IRankByOneThingRuleDirectionEnum = function module$contents$eeapiclient$ee_api_client_IRankByOneThingRuleDirectionEnum() {
+module$exports$eeapiclient$ee_api_client.IRankByOneThingRuleDirectionEnum = function() {
};
module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum = {ASCENDING:"ASCENDING", DESCENDING:"DESCENDING", DIRECTION_UNSPECIFIED:"DIRECTION_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum.DIRECTION_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum.ASCENDING, module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum.DESCENDING];
}};
-module$exports$eeapiclient$ee_api_client.IRuleActionEnum = function module$contents$eeapiclient$ee_api_client_IRuleActionEnum() {
+module$exports$eeapiclient$ee_api_client.IRuleActionEnum = function() {
};
module$exports$eeapiclient$ee_api_client.RuleActionEnum = {ALLOW:"ALLOW", ALLOW_WITH_LOG:"ALLOW_WITH_LOG", DENY:"DENY", DENY_WITH_LOG:"DENY_WITH_LOG", LOG:"LOG", NO_ACTION:"NO_ACTION", values:function() {
- return [module$exports$eeapiclient$ee_api_client.RuleActionEnum.NO_ACTION, module$exports$eeapiclient$ee_api_client.RuleActionEnum.ALLOW, module$exports$eeapiclient$ee_api_client.RuleActionEnum.ALLOW_WITH_LOG, module$exports$eeapiclient$ee_api_client.RuleActionEnum.DENY, module$exports$eeapiclient$ee_api_client.RuleActionEnum.DENY_WITH_LOG,
- module$exports$eeapiclient$ee_api_client.RuleActionEnum.LOG];
+ return [module$exports$eeapiclient$ee_api_client.RuleActionEnum.NO_ACTION, module$exports$eeapiclient$ee_api_client.RuleActionEnum.ALLOW, module$exports$eeapiclient$ee_api_client.RuleActionEnum.ALLOW_WITH_LOG, module$exports$eeapiclient$ee_api_client.RuleActionEnum.DENY, module$exports$eeapiclient$ee_api_client.RuleActionEnum.DENY_WITH_LOG, module$exports$eeapiclient$ee_api_client.RuleActionEnum.LOG];
}};
-module$exports$eeapiclient$ee_api_client.IScheduledUpdateSubscriptionUpdateTypeEnum = function module$contents$eeapiclient$ee_api_client_IScheduledUpdateSubscriptionUpdateTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IScheduledUpdateSubscriptionUpdateTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum = {BASIC:"BASIC", NO_SUBSCRIPTION:"NO_SUBSCRIPTION", PREMIUM:"PREMIUM", PROFESSIONAL:"PROFESSIONAL", TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum.NO_SUBSCRIPTION, module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum.BASIC, module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum.PROFESSIONAL,
module$exports$eeapiclient$ee_api_client.ScheduledUpdateSubscriptionUpdateTypeEnum.PREMIUM];
}};
-module$exports$eeapiclient$ee_api_client.IScheduledUpdateUpdateChangeTypeEnum = function module$contents$eeapiclient$ee_api_client_IScheduledUpdateUpdateChangeTypeEnum() {
+module$exports$eeapiclient$ee_api_client.IScheduledUpdateUpdateChangeTypeEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.EARLIEST_POSSIBLE];
+module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", END_OF_TERM:"END_OF_TERM", SPECIFIC_DATE:"SPECIFIC_DATE", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.EARLIEST_POSSIBLE, module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.SPECIFIC_DATE,
+ module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum.END_OF_TERM];
}};
-module$exports$eeapiclient$ee_api_client.ISubscriptionStateEnum = function module$contents$eeapiclient$ee_api_client_ISubscriptionStateEnum() {
+module$exports$eeapiclient$ee_api_client.ISubscriptionStateEnum = function() {
};
module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum = {ACTIVE:"ACTIVE", COMPLETED:"COMPLETED", ERROR:"ERROR", INACTIVE:"INACTIVE", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum.STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum.INACTIVE, module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum.ACTIVE, module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum.COMPLETED, module$exports$eeapiclient$ee_api_client.SubscriptionStateEnum.ERROR];
}};
-module$exports$eeapiclient$ee_api_client.ISubscriptionTrialStateEnum = function module$contents$eeapiclient$ee_api_client_ISubscriptionTrialStateEnum() {
+module$exports$eeapiclient$ee_api_client.ISubscriptionTrialStateEnum = function() {
};
module$exports$eeapiclient$ee_api_client.SubscriptionTrialStateEnum = {ACTIVE:"ACTIVE", EXPIRED:"EXPIRED", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.SubscriptionTrialStateEnum.STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.SubscriptionTrialStateEnum.ACTIVE, module$exports$eeapiclient$ee_api_client.SubscriptionTrialStateEnum.EXPIRED];
}};
-module$exports$eeapiclient$ee_api_client.ISubscriptionTypeEnum = function module$contents$eeapiclient$ee_api_client_ISubscriptionTypeEnum() {
+module$exports$eeapiclient$ee_api_client.ISubscriptionTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum = {BASIC:"BASIC", NO_SUBSCRIPTION:"NO_SUBSCRIPTION", PREMIUM:"PREMIUM", PROFESSIONAL:"PROFESSIONAL", TYPE_UNSPECIFIED:"TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum.TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum.NO_SUBSCRIPTION, module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum.BASIC, module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum.PROFESSIONAL, module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum.PREMIUM];
}};
-module$exports$eeapiclient$ee_api_client.ITableFileExportOptionsFileFormatEnum = function module$contents$eeapiclient$ee_api_client_ITableFileExportOptionsFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.ITableFileExportOptionsFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TABLE_FILE_FORMAT_UNSPECIFIED:"TABLE_FILE_FORMAT_UNSPECIFIED", TF_RECORD_TABLE:"TF_RECORD_TABLE", values:function() {
- return [module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.TABLE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.CSV, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.GEO_JSON, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.KML,
- module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.KMZ, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.SHP, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.TF_RECORD_TABLE];
+ return [module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.TABLE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.CSV, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.GEO_JSON, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.KML, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.KMZ,
+ module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.SHP, module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum.TF_RECORD_TABLE];
}};
-module$exports$eeapiclient$ee_api_client.ITableFileFormatEnum = function module$contents$eeapiclient$ee_api_client_ITableFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.ITableFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TableFileFormatEnum = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TABLE_FILE_FORMAT_UNSPECIFIED:"TABLE_FILE_FORMAT_UNSPECIFIED", TF_RECORD_TABLE:"TF_RECORD_TABLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.TABLE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.CSV, module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.GEO_JSON, module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.KML, module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.KMZ,
module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.SHP, module$exports$eeapiclient$ee_api_client.TableFileFormatEnum.TF_RECORD_TABLE];
}};
-module$exports$eeapiclient$ee_api_client.ITableManifestColumnDataTypeOverridesEnum = function module$contents$eeapiclient$ee_api_client_ITableManifestColumnDataTypeOverridesEnum() {
+module$exports$eeapiclient$ee_api_client.ITableManifestColumnDataTypeOverridesEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum = {COLUMN_DATA_TYPE_LONG:"COLUMN_DATA_TYPE_LONG", COLUMN_DATA_TYPE_NUMERIC:"COLUMN_DATA_TYPE_NUMERIC", COLUMN_DATA_TYPE_STRING:"COLUMN_DATA_TYPE_STRING", COLUMN_DATA_TYPE_UNSPECIFIED:"COLUMN_DATA_TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum.COLUMN_DATA_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum.COLUMN_DATA_TYPE_STRING, module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum.COLUMN_DATA_TYPE_NUMERIC, module$exports$eeapiclient$ee_api_client.TableManifestColumnDataTypeOverridesEnum.COLUMN_DATA_TYPE_LONG];
}};
-module$exports$eeapiclient$ee_api_client.ITableManifestCsvColumnDataTypeOverridesEnum = function module$contents$eeapiclient$ee_api_client_ITableManifestCsvColumnDataTypeOverridesEnum() {
+module$exports$eeapiclient$ee_api_client.ITableManifestCsvColumnDataTypeOverridesEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum = {CSV_COLUMN_DATA_TYPE_LONG:"CSV_COLUMN_DATA_TYPE_LONG", CSV_COLUMN_DATA_TYPE_NUMERIC:"CSV_COLUMN_DATA_TYPE_NUMERIC", CSV_COLUMN_DATA_TYPE_STRING:"CSV_COLUMN_DATA_TYPE_STRING", CSV_COLUMN_DATA_TYPE_UNSPECIFIED:"CSV_COLUMN_DATA_TYPE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum.CSV_COLUMN_DATA_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum.CSV_COLUMN_DATA_TYPE_STRING, module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum.CSV_COLUMN_DATA_TYPE_NUMERIC, module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum.CSV_COLUMN_DATA_TYPE_LONG];
}};
-module$exports$eeapiclient$ee_api_client.ITerminateSubscriptionRequestTerminationTypeEnum = function module$contents$eeapiclient$ee_api_client_ITerminateSubscriptionRequestTerminationTypeEnum() {
+module$exports$eeapiclient$ee_api_client.ITerminateSubscriptionRequestTerminationTypeEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", values:function() {
- return [module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.EARLIEST_POSSIBLE];
+module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum = {CHANGE_TIME_TYPE_UNSPECIFIED:"CHANGE_TIME_TYPE_UNSPECIFIED", EARLIEST_POSSIBLE:"EARLIEST_POSSIBLE", END_OF_PERIOD:"END_OF_PERIOD", END_OF_TERM:"END_OF_TERM", SPECIFIC_DATE:"SPECIFIC_DATE", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.CHANGE_TIME_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.END_OF_PERIOD, module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.EARLIEST_POSSIBLE, module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.SPECIFIC_DATE,
+ module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum.END_OF_TERM];
}};
-module$exports$eeapiclient$ee_api_client.IThinningOptionsThinningStrategyEnum = function module$contents$eeapiclient$ee_api_client_IThinningOptionsThinningStrategyEnum() {
+module$exports$eeapiclient$ee_api_client.IThinningOptionsThinningStrategyEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ThinningOptionsThinningStrategyEnum = {GLOBALLY_CONSISTENT:"GLOBALLY_CONSISTENT", HIGHER_DENSITY:"HIGHER_DENSITY", UNKNOWN_THINNING_STRATEGY:"UNKNOWN_THINNING_STRATEGY", values:function() {
return [module$exports$eeapiclient$ee_api_client.ThinningOptionsThinningStrategyEnum.UNKNOWN_THINNING_STRATEGY, module$exports$eeapiclient$ee_api_client.ThinningOptionsThinningStrategyEnum.GLOBALLY_CONSISTENT, module$exports$eeapiclient$ee_api_client.ThinningOptionsThinningStrategyEnum.HIGHER_DENSITY];
}};
-module$exports$eeapiclient$ee_api_client.IThumbnailFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IThumbnailFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IThumbnailFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", GEO_TIFF:"GEO_TIFF", IMAGE_FILE_FORMAT_UNSPECIFIED:"IMAGE_FILE_FORMAT_UNSPECIFIED", JPEG:"JPEG", MULTI_BAND_IMAGE_TILE:"MULTI_BAND_IMAGE_TILE", NPY:"NPY", PNG:"PNG", TF_RECORD_IMAGE:"TF_RECORD_IMAGE", ZIPPED_GEO_TIFF:"ZIPPED_GEO_TIFF", ZIPPED_GEO_TIFF_PER_BAND:"ZIPPED_GEO_TIFF_PER_BAND", values:function() {
return [module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.IMAGE_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.JPEG, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.PNG, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.AUTO_JPEG_PNG, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.NPY,
module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.GEO_TIFF, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.TF_RECORD_IMAGE, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.MULTI_BAND_IMAGE_TILE, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.ZIPPED_GEO_TIFF, module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum.ZIPPED_GEO_TIFF_PER_BAND];
}};
-module$exports$eeapiclient$ee_api_client.ITilesetBandPyramidingPolicyEnum = function module$contents$eeapiclient$ee_api_client_ITilesetBandPyramidingPolicyEnum() {
+module$exports$eeapiclient$ee_api_client.ITilesetBandPyramidingPolicyEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum = {MAX:"MAX", MEAN:"MEAN", MEDIAN:"MEDIAN", MIN:"MIN", MODE:"MODE", PYRAMIDING_POLICY_UNSPECIFIED:"PYRAMIDING_POLICY_UNSPECIFIED", SAMPLE:"SAMPLE", values:function() {
return [module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.PYRAMIDING_POLICY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.MEAN, module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.SAMPLE, module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.MIN, module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.MAX,
module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.MODE, module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum.MEDIAN];
}};
-module$exports$eeapiclient$ee_api_client.ITilesetDataTypeEnum = function module$contents$eeapiclient$ee_api_client_ITilesetDataTypeEnum() {
+module$exports$eeapiclient$ee_api_client.ITilesetDataTypeEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum = {DATA_TYPE_UNSPECIFIED:"DATA_TYPE_UNSPECIFIED", DOUBLE:"DOUBLE", FLOAT:"FLOAT", INT16:"INT16", INT32:"INT32", INT8:"INT8", UINT16:"UINT16", UINT32:"UINT32", UINT8:"UINT8", values:function() {
return [module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.DATA_TYPE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT8, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT8, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT16, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT16,
module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.INT32, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.UINT32, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.FLOAT, module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum.DOUBLE];
}};
-module$exports$eeapiclient$ee_api_client.ITrialStatusEligibilityEnum = function module$contents$eeapiclient$ee_api_client_ITrialStatusEligibilityEnum() {
+module$exports$eeapiclient$ee_api_client.ITrialStatusEligibilityEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum = {ACCOUNT_INELIGIBLE:"ACCOUNT_INELIGIBLE", ALREADY_EVALUATED:"ALREADY_EVALUATED", ELIGIBILITY_UNSPECIFIED:"ELIGIBILITY_UNSPECIFIED", ELIGIBLE:"ELIGIBLE", NO_BILLING_ACCOUNT:"NO_BILLING_ACCOUNT", REDEEMED:"REDEEMED", values:function() {
return [module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ELIGIBILITY_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ELIGIBLE, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.REDEEMED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ALREADY_EVALUATED, module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.NO_BILLING_ACCOUNT,
module$exports$eeapiclient$ee_api_client.TrialStatusEligibilityEnum.ACCOUNT_INELIGIBLE];
}};
-module$exports$eeapiclient$ee_api_client.ITrialStatusStateEnum = function module$contents$eeapiclient$ee_api_client_ITrialStatusStateEnum() {
+module$exports$eeapiclient$ee_api_client.ITrialStatusStateEnum = function() {
};
module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum = {ACTIVE:"ACTIVE", EXPIRED:"EXPIRED", STATE_UNSPECIFIED:"STATE_UNSPECIFIED", values:function() {
return [module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.STATE_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.ACTIVE, module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum.EXPIRED];
}};
-module$exports$eeapiclient$ee_api_client.IVideoFileExportOptionsFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IVideoFileExportOptionsFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IVideoFileExportOptionsFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum = {GIF:"GIF", MP4:"MP4", VIDEO_FILE_FORMAT_UNSPECIFIED:"VIDEO_FILE_FORMAT_UNSPECIFIED", VP9:"VP9", values:function() {
return [module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum.VIDEO_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum.MP4, module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum.GIF, module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum.VP9];
}};
-module$exports$eeapiclient$ee_api_client.IVideoThumbnailFileFormatEnum = function module$contents$eeapiclient$ee_api_client_IVideoThumbnailFileFormatEnum() {
+module$exports$eeapiclient$ee_api_client.IVideoThumbnailFileFormatEnum = function() {
};
module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum = {GIF:"GIF", MP4:"MP4", VIDEO_FILE_FORMAT_UNSPECIFIED:"VIDEO_FILE_FORMAT_UNSPECIFIED", VP9:"VP9", values:function() {
return [module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum.VIDEO_FILE_FORMAT_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum.MP4, module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum.GIF, module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum.VP9];
}};
-module$exports$eeapiclient$ee_api_client.AffineTransformParameters = function module$contents$eeapiclient$ee_api_client_AffineTransformParameters() {
+module$exports$eeapiclient$ee_api_client.AffineTransformParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AffineTransform = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9143,7 +9211,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("translateY", value);
}}});
-module$exports$eeapiclient$ee_api_client.AlgorithmParameters = function module$contents$eeapiclient$ee_api_client_AlgorithmParameters() {
+module$exports$eeapiclient$ee_api_client.AlgorithmParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Algorithm = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9202,7 +9270,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("sourceCodeUri", value);
}}});
-module$exports$eeapiclient$ee_api_client.AlgorithmArgumentParameters = function module$contents$eeapiclient$ee_api_client_AlgorithmArgumentParameters() {
+module$exports$eeapiclient$ee_api_client.AlgorithmArgumentParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AlgorithmArgument = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9241,7 +9309,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("type", value);
}}});
-module$exports$eeapiclient$ee_api_client.AppealRestrictionRequestParameters = function module$contents$eeapiclient$ee_api_client_AppealRestrictionRequestParameters() {
+module$exports$eeapiclient$ee_api_client.AppealRestrictionRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AppealRestrictionRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9254,7 +9322,7 @@ module$exports$eeapiclient$ee_api_client.AppealRestrictionRequest.prototype.getC
module$exports$eeapiclient$ee_api_client.AppealRestrictionRequest.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.ArrayValueParameters = function module$contents$eeapiclient$ee_api_client_ArrayValueParameters() {
+module$exports$eeapiclient$ee_api_client.ArrayValueParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ArrayValue = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9273,7 +9341,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("values", value);
}}});
-module$exports$eeapiclient$ee_api_client.AuditConfigParameters = function module$contents$eeapiclient$ee_api_client_AuditConfigParameters() {
+module$exports$eeapiclient$ee_api_client.AuditConfigParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AuditConfig = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9297,7 +9365,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("service", value);
}}});
-module$exports$eeapiclient$ee_api_client.AuditLogConfigParameters = function module$contents$eeapiclient$ee_api_client_AuditLogConfigParameters() {
+module$exports$eeapiclient$ee_api_client.AuditLogConfigParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AuditLogConfig = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9329,7 +9397,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.AuditLogConfig, {LogType:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.AuditLogConfigLogTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsParameters = function module$contents$eeapiclient$ee_api_client_AuthorizationLoggingOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9351,22 +9419,27 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptions, {PermissionType:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.AuthorizationLoggingOptionsPermissionTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.BigQueryDestinationParameters = function module$contents$eeapiclient$ee_api_client_BigQueryDestinationParameters() {
+module$exports$eeapiclient$ee_api_client.BigQueryDestinationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.BigQueryDestination = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("table", null == parameters.table ? null : parameters.table);
this.Serializable$set("overwrite", null == parameters.overwrite ? null : parameters.overwrite);
+ this.Serializable$set("append", null == parameters.append ? null : parameters.append);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.BigQueryDestination, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.BigQueryDestination.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.BigQueryDestination;
};
module$exports$eeapiclient$ee_api_client.BigQueryDestination.prototype.getPartialClassMetadata = function() {
- return {keys:["overwrite", "table"]};
+ return {keys:["append", "overwrite", "table"]};
};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.BigQueryDestination.prototype, {overwrite:{configurable:!0, enumerable:!0, get:function() {
+$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.BigQueryDestination.prototype, {append:{configurable:!0, enumerable:!0, get:function() {
+ return this.Serializable$has("append") ? this.Serializable$get("append") : null;
+}, set:function(value) {
+ this.Serializable$set("append", value);
+}}, overwrite:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("overwrite") ? this.Serializable$get("overwrite") : null;
}, set:function(value) {
this.Serializable$set("overwrite", value);
@@ -9375,7 +9448,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("table", value);
}}});
-module$exports$eeapiclient$ee_api_client.BigQueryExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_BigQueryExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.BigQueryExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.BigQueryExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9394,7 +9467,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("bigqueryDestination", value);
}}});
-module$exports$eeapiclient$ee_api_client.BindingParameters = function module$contents$eeapiclient$ee_api_client_BindingParameters() {
+module$exports$eeapiclient$ee_api_client.BindingParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Binding = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9428,7 +9501,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("role", value);
}}});
-module$exports$eeapiclient$ee_api_client.CancelOperationRequestParameters = function module$contents$eeapiclient$ee_api_client_CancelOperationRequestParameters() {
+module$exports$eeapiclient$ee_api_client.CancelOperationRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CancelOperationRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9441,7 +9514,7 @@ module$exports$eeapiclient$ee_api_client.CancelOperationRequest.prototype.getCon
module$exports$eeapiclient$ee_api_client.CancelOperationRequest.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.CapabilitiesParameters = function module$contents$eeapiclient$ee_api_client_CapabilitiesParameters() {
+module$exports$eeapiclient$ee_api_client.CapabilitiesParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Capabilities = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9463,7 +9536,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Capabilities, {Capabilities:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.CapabilitiesCapabilitiesEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestParameters = function module$contents$eeapiclient$ee_api_client_ChangeSubscriptionTypeRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9497,7 +9570,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, Type:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ChangeSubscriptionTypeRequestTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_ClassifierAssetExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9516,7 +9589,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("earthEngineDestination", value);
}}});
-module$exports$eeapiclient$ee_api_client.CloudAuditOptionsParameters = function module$contents$eeapiclient$ee_api_client_CloudAuditOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.CloudAuditOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CloudAuditOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9543,7 +9616,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudAuditOptions, {LogName:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.CloudAuditOptionsLogNameEnum;
}}});
-module$exports$eeapiclient$ee_api_client.CloudStorageDestinationParameters = function module$contents$eeapiclient$ee_api_client_CloudStorageDestinationParameters() {
+module$exports$eeapiclient$ee_api_client.CloudStorageDestinationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CloudStorageDestination = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9580,7 +9653,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.CloudStorageDestination, {Permissions:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.CloudStorageDestinationPermissionsEnum;
}}});
-module$exports$eeapiclient$ee_api_client.CloudStorageLocationParameters = function module$contents$eeapiclient$ee_api_client_CloudStorageLocationParameters() {
+module$exports$eeapiclient$ee_api_client.CloudStorageLocationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CloudStorageLocation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9599,7 +9672,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("uris", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestParameters = function module$contents$eeapiclient$ee_api_client_ComputeFeaturesRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeFeaturesRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9633,7 +9706,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponseParameters = function module$contents$eeapiclient$ee_api_client_ComputeFeaturesResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeFeaturesResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9662,7 +9735,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("type", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputeImagesRequestParameters = function module$contents$eeapiclient$ee_api_client_ComputeImagesRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeImagesRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeImagesRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9696,7 +9769,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputeImagesResponseParameters = function module$contents$eeapiclient$ee_api_client_ComputeImagesResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeImagesResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeImagesResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9720,7 +9793,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("nextPageToken", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputePixelsRequestParameters = function module$contents$eeapiclient$ee_api_client_ComputePixelsRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ComputePixelsRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputePixelsRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9767,7 +9840,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ComputePixelsRequest, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ComputePixelsRequestFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ComputeValueRequestParameters = function module$contents$eeapiclient$ee_api_client_ComputeValueRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeValueRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeValueRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9791,7 +9864,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ComputeValueResponseParameters = function module$contents$eeapiclient$ee_api_client_ComputeValueResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ComputeValueResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ComputeValueResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9810,7 +9883,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("result", value);
}}});
-module$exports$eeapiclient$ee_api_client.ConditionParameters = function module$contents$eeapiclient$ee_api_client_ConditionParameters() {
+module$exports$eeapiclient$ee_api_client.ConditionParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Condition = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9856,7 +9929,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, Sys:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ConditionSysEnum;
}}});
-module$exports$eeapiclient$ee_api_client.CopyAssetRequestParameters = function module$contents$eeapiclient$ee_api_client_CopyAssetRequestParameters() {
+module$exports$eeapiclient$ee_api_client.CopyAssetRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CopyAssetRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9885,7 +9958,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("overwrite", value);
}}});
-module$exports$eeapiclient$ee_api_client.CounterOptionsParameters = function module$contents$eeapiclient$ee_api_client_CounterOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.CounterOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CounterOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9914,7 +9987,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("metric", value);
}}});
-module$exports$eeapiclient$ee_api_client.CustomFieldParameters = function module$contents$eeapiclient$ee_api_client_CustomFieldParameters() {
+module$exports$eeapiclient$ee_api_client.CustomFieldParameters = function() {
};
module$exports$eeapiclient$ee_api_client.CustomField = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9938,7 +10011,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("value", value);
}}});
-module$exports$eeapiclient$ee_api_client.DataAccessOptionsParameters = function module$contents$eeapiclient$ee_api_client_DataAccessOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.DataAccessOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.DataAccessOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9960,7 +10033,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.DataAccessOptions, {LogMode:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.DataAccessOptionsLogModeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.DictionaryValueParameters = function module$contents$eeapiclient$ee_api_client_DictionaryValueParameters() {
+module$exports$eeapiclient$ee_api_client.DictionaryValueParameters = function() {
};
module$exports$eeapiclient$ee_api_client.DictionaryValue = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -9979,7 +10052,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("values", value);
}}});
-module$exports$eeapiclient$ee_api_client.DoubleRangeParameters = function module$contents$eeapiclient$ee_api_client_DoubleRangeParameters() {
+module$exports$eeapiclient$ee_api_client.DoubleRangeParameters = function() {
};
module$exports$eeapiclient$ee_api_client.DoubleRange = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10003,7 +10076,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("min", value);
}}});
-module$exports$eeapiclient$ee_api_client.DriveDestinationParameters = function module$contents$eeapiclient$ee_api_client_DriveDestinationParameters() {
+module$exports$eeapiclient$ee_api_client.DriveDestinationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.DriveDestination = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10027,23 +10100,19 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("folder", value);
}}});
-module$exports$eeapiclient$ee_api_client.EarthEngineAssetParameters = function module$contents$eeapiclient$ee_api_client_EarthEngineAssetParameters() {
+module$exports$eeapiclient$ee_api_client.EarthEngineAssetParameters = function() {
};
module$exports$eeapiclient$ee_api_client.EarthEngineAsset = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("tilestoreLocation", null == parameters.tilestoreLocation ? null : parameters.tilestoreLocation);
this.Serializable$set("cloudStorageLocation", null == parameters.cloudStorageLocation ? null : parameters.cloudStorageLocation);
- this.Serializable$set("tilestoreEntry", null == parameters.tilestoreEntry ? null : parameters.tilestoreEntry);
- this.Serializable$set("gcsLocation", null == parameters.gcsLocation ? null : parameters.gcsLocation);
this.Serializable$set("featureViewAssetLocation", null == parameters.featureViewAssetLocation ? null : parameters.featureViewAssetLocation);
this.Serializable$set("tableLocation", null == parameters.tableLocation ? null : parameters.tableLocation);
this.Serializable$set("type", null == parameters.type ? null : parameters.type);
this.Serializable$set("name", null == parameters.name ? null : parameters.name);
this.Serializable$set("id", null == parameters.id ? null : parameters.id);
this.Serializable$set("updateTime", null == parameters.updateTime ? null : parameters.updateTime);
- this.Serializable$set("title", null == parameters.title ? null : parameters.title);
- this.Serializable$set("description", null == parameters.description ? null : parameters.description);
this.Serializable$set("properties", null == parameters.properties ? null : parameters.properties);
this.Serializable$set("startTime", null == parameters.startTime ? null : parameters.startTime);
this.Serializable$set("endTime", null == parameters.endTime ? null : parameters.endTime);
@@ -10059,9 +10128,9 @@ module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype.getConstruct
return module$exports$eeapiclient$ee_api_client.EarthEngineAsset;
};
module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype.getPartialClassMetadata = function() {
- return {arrays:{bands:module$exports$eeapiclient$ee_api_client.ImageBand}, enums:{type:module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum}, keys:"bands cloudStorageLocation description endTime expression featureCount featureViewAssetLocation gcsLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreEntry tilestoreLocation title type updateTime".split(" "), objectMaps:{geometry:{ctor:null,
- isPropertyArray:!1, isSerializable:!1, isValueArray:!1}, properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{cloudStorageLocation:module$exports$eeapiclient$ee_api_client.CloudStorageLocation, expression:module$exports$eeapiclient$ee_api_client.Expression, featureViewAssetLocation:module$exports$eeapiclient$ee_api_client.FeatureViewLocation, gcsLocation:module$exports$eeapiclient$ee_api_client.GcsLocation,
- quota:module$exports$eeapiclient$ee_api_client.FolderQuota, tableLocation:module$exports$eeapiclient$ee_api_client.TableLocation, tilestoreEntry:module$exports$eeapiclient$ee_api_client.TilestoreEntry, tilestoreLocation:module$exports$eeapiclient$ee_api_client.TilestoreLocation}};
+ return {arrays:{bands:module$exports$eeapiclient$ee_api_client.ImageBand}, enums:{type:module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum}, keys:"bands cloudStorageLocation endTime expression featureCount featureViewAssetLocation geometry id name properties quota sizeBytes startTime tableLocation tilestoreLocation type updateTime".split(" "), objectMaps:{geometry:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1},
+ properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}, objects:{cloudStorageLocation:module$exports$eeapiclient$ee_api_client.CloudStorageLocation, expression:module$exports$eeapiclient$ee_api_client.Expression, featureViewAssetLocation:module$exports$eeapiclient$ee_api_client.FeatureViewLocation, quota:module$exports$eeapiclient$ee_api_client.FolderQuota,
+ tableLocation:module$exports$eeapiclient$ee_api_client.TableLocation, tilestoreLocation:module$exports$eeapiclient$ee_api_client.TilestoreLocation}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineAsset.prototype, {bands:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("bands") ? this.Serializable$get("bands") : null;
@@ -10071,10 +10140,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("cloudStorageLocation") ? this.Serializable$get("cloudStorageLocation") : null;
}, set:function(value) {
this.Serializable$set("cloudStorageLocation", value);
-}}, description:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("description") ? this.Serializable$get("description") : null;
-}, set:function(value) {
- this.Serializable$set("description", value);
}}, endTime:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("endTime") ? this.Serializable$get("endTime") : null;
}, set:function(value) {
@@ -10091,10 +10156,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("featureViewAssetLocation") ? this.Serializable$get("featureViewAssetLocation") : null;
}, set:function(value) {
this.Serializable$set("featureViewAssetLocation", value);
-}}, gcsLocation:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("gcsLocation") ? this.Serializable$get("gcsLocation") : null;
-}, set:function(value) {
- this.Serializable$set("gcsLocation", value);
}}, geometry:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("geometry") ? this.Serializable$get("geometry") : null;
}, set:function(value) {
@@ -10127,18 +10188,10 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("tableLocation") ? this.Serializable$get("tableLocation") : null;
}, set:function(value) {
this.Serializable$set("tableLocation", value);
-}}, tilestoreEntry:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("tilestoreEntry") ? this.Serializable$get("tilestoreEntry") : null;
-}, set:function(value) {
- this.Serializable$set("tilestoreEntry", value);
}}, tilestoreLocation:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("tilestoreLocation") ? this.Serializable$get("tilestoreLocation") : null;
}, set:function(value) {
this.Serializable$set("tilestoreLocation", value);
-}}, title:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("title") ? this.Serializable$get("title") : null;
-}, set:function(value) {
- this.Serializable$set("title", value);
}}, type:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("type") ? this.Serializable$get("type") : null;
}, set:function(value) {
@@ -10151,7 +10204,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineAsset, {Type:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.EarthEngineAssetTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.EarthEngineDestinationParameters = function module$contents$eeapiclient$ee_api_client_EarthEngineDestinationParameters() {
+module$exports$eeapiclient$ee_api_client.EarthEngineDestinationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.EarthEngineDestination = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10175,7 +10228,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("overwrite", value);
}}});
-module$exports$eeapiclient$ee_api_client.EarthEngineMapParameters = function module$contents$eeapiclient$ee_api_client_EarthEngineMapParameters() {
+module$exports$eeapiclient$ee_api_client.EarthEngineMapParameters = function() {
};
module$exports$eeapiclient$ee_api_client.EarthEngineMap = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10217,7 +10270,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.EarthEngineMap, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.EarthEngineMapFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.EmptyParameters = function module$contents$eeapiclient$ee_api_client_EmptyParameters() {
+module$exports$eeapiclient$ee_api_client.EmptyParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Empty = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10230,7 +10283,7 @@ module$exports$eeapiclient$ee_api_client.Empty.prototype.getConstructor = functi
module$exports$eeapiclient$ee_api_client.Empty.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.ExportClassifierRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportClassifierRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportClassifierRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10240,7 +10293,6 @@ module$exports$eeapiclient$ee_api_client.ExportClassifierRequest = function(para
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("assetExportOptions", null == parameters.assetExportOptions ? null : parameters.assetExportOptions);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest, module$exports$eeapiclient$domain_object.Serializable);
@@ -10248,7 +10300,7 @@ module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getCo
return module$exports$eeapiclient$ee_api_client.ExportClassifierRequest;
};
module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype.getPartialClassMetadata = function() {
- return {keys:"assetExportOptions description expression maxWorkerCount maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
+ return {keys:"assetExportOptions description expression maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportClassifierRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
@@ -10262,10 +10314,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
}, set:function(value) {
this.Serializable$set("expression", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10279,7 +10327,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExportImageRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportImageRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportImageRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportImageRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10292,7 +10340,6 @@ module$exports$eeapiclient$ee_api_client.ExportImageRequest = function(parameter
this.Serializable$set("grid", null == parameters.grid ? null : parameters.grid);
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportImageRequest, module$exports$eeapiclient$domain_object.Serializable);
@@ -10300,7 +10347,7 @@ module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getConstru
return module$exports$eeapiclient$ee_api_client.ExportImageRequest;
};
module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype.getPartialClassMetadata = function() {
- return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkerCount maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
+ return {keys:"assetExportOptions description expression fileExportOptions grid maxPixels maxWorkers requestId workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, grid:module$exports$eeapiclient$ee_api_client.PixelGrid}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportImageRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("assetExportOptions") ? this.Serializable$get("assetExportOptions") : null;
@@ -10326,10 +10373,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("maxPixels") ? this.Serializable$get("maxPixels") : null;
}, set:function(value) {
this.Serializable$set("maxPixels", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10343,7 +10386,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExportMapRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportMapRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportMapRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportMapRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10354,7 +10397,6 @@ module$exports$eeapiclient$ee_api_client.ExportMapRequest = function(parameters)
this.Serializable$set("tileExportOptions", null == parameters.tileExportOptions ? null : parameters.tileExportOptions);
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportMapRequest, module$exports$eeapiclient$domain_object.Serializable);
@@ -10362,7 +10404,7 @@ module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getConstruct
return module$exports$eeapiclient$ee_api_client.ExportMapRequest;
};
module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype.getPartialClassMetadata = function() {
- return {keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
+ return {keys:"description expression maxWorkers requestId tileExportOptions tileOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
@@ -10372,10 +10414,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
}, set:function(value) {
this.Serializable$set("expression", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10397,7 +10435,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExportTableRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportTableRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportTableRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportTableRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10412,7 +10450,6 @@ module$exports$eeapiclient$ee_api_client.ExportTableRequest = function(parameter
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("maxErrorMeters", null == parameters.maxErrorMeters ? null : parameters.maxErrorMeters);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("maxVertices", null == parameters.maxVertices ? null : parameters.maxVertices);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
this.Serializable$set("policy", null == parameters.policy ? null : parameters.policy);
@@ -10422,7 +10459,7 @@ module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getConstru
return module$exports$eeapiclient$ee_api_client.ExportTableRequest;
};
module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype.getPartialClassMetadata = function() {
- return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkerCount maxWorkers policy requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
+ return {keys:"assetExportOptions bigqueryExportOptions description expression featureViewExportOptions fileExportOptions maxErrorMeters maxVertices maxWorkers policy requestId selectors workloadTag".split(" "), objects:{assetExportOptions:module$exports$eeapiclient$ee_api_client.TableAssetExportOptions, bigqueryExportOptions:module$exports$eeapiclient$ee_api_client.BigQueryExportOptions, expression:module$exports$eeapiclient$ee_api_client.Expression,
featureViewExportOptions:module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions, fileExportOptions:module$exports$eeapiclient$ee_api_client.TableFileExportOptions, policy:module$exports$eeapiclient$ee_api_client.Policy}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportTableRequest.prototype, {assetExportOptions:{configurable:!0, enumerable:!0, get:function() {
@@ -10457,10 +10494,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("maxVertices") ? this.Serializable$get("maxVertices") : null;
}, set:function(value) {
this.Serializable$set("maxVertices", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10482,7 +10515,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportVideoMapRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10495,7 +10528,6 @@ module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest = function(parame
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("version", null == parameters.version ? null : parameters.version);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest, module$exports$eeapiclient$domain_object.Serializable);
@@ -10503,7 +10535,7 @@ module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getCons
return module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest;
};
module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype.getPartialClassMetadata = function() {
- return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkerCount maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
+ return {enums:{version:module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum}, keys:"description expression maxWorkers requestId tileExportOptions tileOptions version videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, tileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, tileOptions:module$exports$eeapiclient$ee_api_client.TileOptions,
videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
@@ -10514,10 +10546,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("expression") ? this.Serializable$get("expression") : null;
}, set:function(value) {
this.Serializable$set("expression", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10550,7 +10578,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoMapRequest, {Version:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ExportVideoMapRequestVersionEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ExportVideoRequestParameters = function module$contents$eeapiclient$ee_api_client_ExportVideoRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ExportVideoRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ExportVideoRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10561,7 +10589,6 @@ module$exports$eeapiclient$ee_api_client.ExportVideoRequest = function(parameter
this.Serializable$set("fileExportOptions", null == parameters.fileExportOptions ? null : parameters.fileExportOptions);
this.Serializable$set("requestId", null == parameters.requestId ? null : parameters.requestId);
this.Serializable$set("maxWorkers", null == parameters.maxWorkers ? null : parameters.maxWorkers);
- this.Serializable$set("maxWorkerCount", null == parameters.maxWorkerCount ? null : parameters.maxWorkerCount);
this.Serializable$set("workloadTag", null == parameters.workloadTag ? null : parameters.workloadTag);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ExportVideoRequest, module$exports$eeapiclient$domain_object.Serializable);
@@ -10569,7 +10596,7 @@ module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getConstru
return module$exports$eeapiclient$ee_api_client.ExportVideoRequest;
};
module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype.getPartialClassMetadata = function() {
- return {keys:"description expression fileExportOptions maxWorkerCount maxWorkers requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
+ return {keys:"description expression fileExportOptions maxWorkers requestId videoOptions workloadTag".split(" "), objects:{expression:module$exports$eeapiclient$ee_api_client.Expression, fileExportOptions:module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, videoOptions:module$exports$eeapiclient$ee_api_client.VideoOptions}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ExportVideoRequest.prototype, {description:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("description") ? this.Serializable$get("description") : null;
@@ -10583,10 +10610,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("fileExportOptions") ? this.Serializable$get("fileExportOptions") : null;
}, set:function(value) {
this.Serializable$set("fileExportOptions", value);
-}}, maxWorkerCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxWorkerCount") ? this.Serializable$get("maxWorkerCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxWorkerCount", value);
}}, maxWorkers:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxWorkers") ? this.Serializable$get("maxWorkers") : null;
}, set:function(value) {
@@ -10604,7 +10627,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("workloadTag", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExprParameters = function module$contents$eeapiclient$ee_api_client_ExprParameters() {
+module$exports$eeapiclient$ee_api_client.ExprParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Expr = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10638,7 +10661,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("title", value);
}}});
-module$exports$eeapiclient$ee_api_client.ExpressionParameters = function module$contents$eeapiclient$ee_api_client_ExpressionParameters() {
+module$exports$eeapiclient$ee_api_client.ExpressionParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Expression = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10662,7 +10685,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("values", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureParameters = function module$contents$eeapiclient$ee_api_client_FeatureParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Feature = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10691,7 +10714,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("type", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureView = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10725,7 +10748,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("visualizationExpression", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewAssetExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10749,7 +10772,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("ingestionTimeParameters", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewAttributeParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewAttributeParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewAttributeParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewAttribute = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10776,7 +10799,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.FeatureViewAttribute, {Type:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.FeatureViewAttributeTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewDestinationParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewDestinationParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewDestinationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewDestination = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10808,7 +10831,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.FeatureViewDestination, {Permissions:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.FeatureViewDestinationPermissionsEnum;
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewIngestionTimeParametersParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewIngestionTimeParametersParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewIngestionTimeParametersParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewIngestionTimeParameters = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10837,7 +10860,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("thinningOptions", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewLocationParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewLocationParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewLocationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewLocation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10861,7 +10884,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("location", value);
}}});
-module$exports$eeapiclient$ee_api_client.FeatureViewOptionsParameters = function module$contents$eeapiclient$ee_api_client_FeatureViewOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.FeatureViewOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FeatureViewOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10885,7 +10908,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("ingestionTimeParameters", value);
}}});
-module$exports$eeapiclient$ee_api_client.FilmstripThumbnailParameters = function module$contents$eeapiclient$ee_api_client_FilmstripThumbnailParameters() {
+module$exports$eeapiclient$ee_api_client.FilmstripThumbnailParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FilmstripThumbnail = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10929,7 +10952,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, Orientation:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.FilmstripThumbnailOrientationEnum;
}}});
-module$exports$eeapiclient$ee_api_client.FolderQuotaParameters = function module$contents$eeapiclient$ee_api_client_FolderQuotaParameters() {
+module$exports$eeapiclient$ee_api_client.FolderQuotaParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FolderQuota = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10938,23 +10961,18 @@ module$exports$eeapiclient$ee_api_client.FolderQuota = function(parameters) {
this.Serializable$set("maxSizeBytes", null == parameters.maxSizeBytes ? null : parameters.maxSizeBytes);
this.Serializable$set("assetCount", null == parameters.assetCount ? null : parameters.assetCount);
this.Serializable$set("maxAssets", null == parameters.maxAssets ? null : parameters.maxAssets);
- this.Serializable$set("maxAssetCount", null == parameters.maxAssetCount ? null : parameters.maxAssetCount);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.FolderQuota, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.FolderQuota.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.FolderQuota;
};
module$exports$eeapiclient$ee_api_client.FolderQuota.prototype.getPartialClassMetadata = function() {
- return {keys:["assetCount", "maxAssetCount", "maxAssets", "maxSizeBytes", "sizeBytes"]};
+ return {keys:["assetCount", "maxAssets", "maxSizeBytes", "sizeBytes"]};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.FolderQuota.prototype, {assetCount:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("assetCount") ? this.Serializable$get("assetCount") : null;
}, set:function(value) {
this.Serializable$set("assetCount", value);
-}}, maxAssetCount:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxAssetCount") ? this.Serializable$get("maxAssetCount") : null;
-}, set:function(value) {
- this.Serializable$set("maxAssetCount", value);
}}, maxAssets:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("maxAssets") ? this.Serializable$get("maxAssets") : null;
}, set:function(value) {
@@ -10968,7 +10986,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("sizeBytes", value);
}}});
-module$exports$eeapiclient$ee_api_client.FunctionDefinitionParameters = function module$contents$eeapiclient$ee_api_client_FunctionDefinitionParameters() {
+module$exports$eeapiclient$ee_api_client.FunctionDefinitionParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FunctionDefinition = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -10992,7 +11010,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("body", value);
}}});
-module$exports$eeapiclient$ee_api_client.FunctionInvocationParameters = function module$contents$eeapiclient$ee_api_client_FunctionInvocationParameters() {
+module$exports$eeapiclient$ee_api_client.FunctionInvocationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.FunctionInvocation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11021,63 +11039,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("functionReference", value);
}}});
-module$exports$eeapiclient$ee_api_client.GcsDestinationParameters = function module$contents$eeapiclient$ee_api_client_GcsDestinationParameters() {
-};
-module$exports$eeapiclient$ee_api_client.GcsDestination = function(parameters) {
- parameters = void 0 === parameters ? {} : parameters;
- module$exports$eeapiclient$domain_object.Serializable.call(this);
- this.Serializable$set("bucket", null == parameters.bucket ? null : parameters.bucket);
- this.Serializable$set("filenamePrefix", null == parameters.filenamePrefix ? null : parameters.filenamePrefix);
- this.Serializable$set("permissions", null == parameters.permissions ? null : parameters.permissions);
- this.Serializable$set("bucketCorsUris", null == parameters.bucketCorsUris ? null : parameters.bucketCorsUris);
-};
-$jscomp.inherits(module$exports$eeapiclient$ee_api_client.GcsDestination, module$exports$eeapiclient$domain_object.Serializable);
-module$exports$eeapiclient$ee_api_client.GcsDestination.prototype.getConstructor = function() {
- return module$exports$eeapiclient$ee_api_client.GcsDestination;
-};
-module$exports$eeapiclient$ee_api_client.GcsDestination.prototype.getPartialClassMetadata = function() {
- return {enums:{permissions:module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum}, keys:["bucket", "bucketCorsUris", "filenamePrefix", "permissions"]};
-};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.GcsDestination.prototype, {bucket:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("bucket") ? this.Serializable$get("bucket") : null;
-}, set:function(value) {
- this.Serializable$set("bucket", value);
-}}, bucketCorsUris:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("bucketCorsUris") ? this.Serializable$get("bucketCorsUris") : null;
-}, set:function(value) {
- this.Serializable$set("bucketCorsUris", value);
-}}, filenamePrefix:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("filenamePrefix") ? this.Serializable$get("filenamePrefix") : null;
-}, set:function(value) {
- this.Serializable$set("filenamePrefix", value);
-}}, permissions:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("permissions") ? this.Serializable$get("permissions") : null;
-}, set:function(value) {
- this.Serializable$set("permissions", value);
-}}});
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.GcsDestination, {Permissions:{configurable:!0, enumerable:!0, get:function() {
- return module$exports$eeapiclient$ee_api_client.GcsDestinationPermissionsEnum;
-}}});
-module$exports$eeapiclient$ee_api_client.GcsLocationParameters = function module$contents$eeapiclient$ee_api_client_GcsLocationParameters() {
-};
-module$exports$eeapiclient$ee_api_client.GcsLocation = function(parameters) {
- parameters = void 0 === parameters ? {} : parameters;
- module$exports$eeapiclient$domain_object.Serializable.call(this);
- this.Serializable$set("uris", null == parameters.uris ? null : parameters.uris);
-};
-$jscomp.inherits(module$exports$eeapiclient$ee_api_client.GcsLocation, module$exports$eeapiclient$domain_object.Serializable);
-module$exports$eeapiclient$ee_api_client.GcsLocation.prototype.getConstructor = function() {
- return module$exports$eeapiclient$ee_api_client.GcsLocation;
-};
-module$exports$eeapiclient$ee_api_client.GcsLocation.prototype.getPartialClassMetadata = function() {
- return {keys:["uris"]};
-};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.GcsLocation.prototype, {uris:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("uris") ? this.Serializable$get("uris") : null;
-}, set:function(value) {
- this.Serializable$set("uris", value);
-}}});
-module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_GeoTiffImageExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11086,18 +11048,23 @@ module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions = function(pa
this.Serializable$set("tileDimensions", null == parameters.tileDimensions ? null : parameters.tileDimensions);
this.Serializable$set("skipEmptyFiles", null == parameters.skipEmptyFiles ? null : parameters.skipEmptyFiles);
this.Serializable$set("tileSize", null == parameters.tileSize ? null : parameters.tileSize);
+ this.Serializable$set("noData", null == parameters.noData ? null : parameters.noData);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions;
};
module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions.prototype.getPartialClassMetadata = function() {
- return {keys:["cloudOptimized", "skipEmptyFiles", "tileDimensions", "tileSize"], objects:{tileDimensions:module$exports$eeapiclient$ee_api_client.GridDimensions}};
+ return {keys:["cloudOptimized", "noData", "skipEmptyFiles", "tileDimensions", "tileSize"], objects:{noData:module$exports$eeapiclient$ee_api_client.Number, tileDimensions:module$exports$eeapiclient$ee_api_client.GridDimensions}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions.prototype, {cloudOptimized:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("cloudOptimized") ? this.Serializable$get("cloudOptimized") : null;
}, set:function(value) {
this.Serializable$set("cloudOptimized", value);
+}}, noData:{configurable:!0, enumerable:!0, get:function() {
+ return this.Serializable$has("noData") ? this.Serializable$get("noData") : null;
+}, set:function(value) {
+ this.Serializable$set("noData", value);
}}, skipEmptyFiles:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("skipEmptyFiles") ? this.Serializable$get("skipEmptyFiles") : null;
}, set:function(value) {
@@ -11111,7 +11078,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tileSize", value);
}}});
-module$exports$eeapiclient$ee_api_client.GetIamPolicyRequestParameters = function module$contents$eeapiclient$ee_api_client_GetIamPolicyRequestParameters() {
+module$exports$eeapiclient$ee_api_client.GetIamPolicyRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GetIamPolicyRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11130,7 +11097,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("options", value);
}}});
-module$exports$eeapiclient$ee_api_client.GetLinkedAssetRequestParameters = function module$contents$eeapiclient$ee_api_client_GetLinkedAssetRequestParameters() {
+module$exports$eeapiclient$ee_api_client.GetLinkedAssetRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GetLinkedAssetRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11143,7 +11110,7 @@ module$exports$eeapiclient$ee_api_client.GetLinkedAssetRequest.prototype.getCons
module$exports$eeapiclient$ee_api_client.GetLinkedAssetRequest.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.GetPixelsRequestParameters = function module$contents$eeapiclient$ee_api_client_GetPixelsRequestParameters() {
+module$exports$eeapiclient$ee_api_client.GetPixelsRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GetPixelsRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11185,7 +11152,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.GetPixelsRequest, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.GetPixelsRequestFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.GetPolicyOptionsParameters = function module$contents$eeapiclient$ee_api_client_GetPolicyOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.GetPolicyOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GetPolicyOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11204,7 +11171,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("requestedPolicyVersion", value);
}}});
-module$exports$eeapiclient$ee_api_client.GridDimensionsParameters = function module$contents$eeapiclient$ee_api_client_GridDimensionsParameters() {
+module$exports$eeapiclient$ee_api_client.GridDimensionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GridDimensions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11228,7 +11195,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("width", value);
}}});
-module$exports$eeapiclient$ee_api_client.GridPointParameters = function module$contents$eeapiclient$ee_api_client_GridPointParameters() {
+module$exports$eeapiclient$ee_api_client.GridPointParameters = function() {
};
module$exports$eeapiclient$ee_api_client.GridPoint = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11252,7 +11219,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("y", value);
}}});
-module$exports$eeapiclient$ee_api_client.HttpBodyParameters = function module$contents$eeapiclient$ee_api_client_HttpBodyParameters() {
+module$exports$eeapiclient$ee_api_client.HttpBodyParameters = function() {
};
module$exports$eeapiclient$ee_api_client.HttpBody = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11281,76 +11248,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("extensions", value);
}}});
-module$exports$eeapiclient$ee_api_client.ImageParameters = function module$contents$eeapiclient$ee_api_client_ImageParameters() {
-};
-module$exports$eeapiclient$ee_api_client.Image = function(parameters) {
- parameters = void 0 === parameters ? {} : parameters;
- module$exports$eeapiclient$domain_object.Serializable.call(this);
- this.Serializable$set("name", null == parameters.name ? null : parameters.name);
- this.Serializable$set("id", null == parameters.id ? null : parameters.id);
- this.Serializable$set("updateTime", null == parameters.updateTime ? null : parameters.updateTime);
- this.Serializable$set("title", null == parameters.title ? null : parameters.title);
- this.Serializable$set("description", null == parameters.description ? null : parameters.description);
- this.Serializable$set("properties", null == parameters.properties ? null : parameters.properties);
- this.Serializable$set("startTime", null == parameters.startTime ? null : parameters.startTime);
- this.Serializable$set("endTime", null == parameters.endTime ? null : parameters.endTime);
- this.Serializable$set("geometry", null == parameters.geometry ? null : parameters.geometry);
- this.Serializable$set("bands", null == parameters.bands ? null : parameters.bands);
- this.Serializable$set("sizeBytes", null == parameters.sizeBytes ? null : parameters.sizeBytes);
-};
-$jscomp.inherits(module$exports$eeapiclient$ee_api_client.Image, module$exports$eeapiclient$domain_object.Serializable);
-module$exports$eeapiclient$ee_api_client.Image.prototype.getConstructor = function() {
- return module$exports$eeapiclient$ee_api_client.Image;
-};
-module$exports$eeapiclient$ee_api_client.Image.prototype.getPartialClassMetadata = function() {
- return {arrays:{bands:module$exports$eeapiclient$ee_api_client.ImageBand}, keys:"bands description endTime geometry id name properties sizeBytes startTime title updateTime".split(" "), objectMaps:{geometry:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}, properties:{ctor:null, isPropertyArray:!1, isSerializable:!1, isValueArray:!1}}};
-};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Image.prototype, {bands:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("bands") ? this.Serializable$get("bands") : null;
-}, set:function(value) {
- this.Serializable$set("bands", value);
-}}, description:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("description") ? this.Serializable$get("description") : null;
-}, set:function(value) {
- this.Serializable$set("description", value);
-}}, endTime:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("endTime") ? this.Serializable$get("endTime") : null;
-}, set:function(value) {
- this.Serializable$set("endTime", value);
-}}, geometry:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("geometry") ? this.Serializable$get("geometry") : null;
-}, set:function(value) {
- this.Serializable$set("geometry", value);
-}}, id:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("id") ? this.Serializable$get("id") : null;
-}, set:function(value) {
- this.Serializable$set("id", value);
-}}, name:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("name") ? this.Serializable$get("name") : null;
-}, set:function(value) {
- this.Serializable$set("name", value);
-}}, properties:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("properties") ? this.Serializable$get("properties") : null;
-}, set:function(value) {
- this.Serializable$set("properties", value);
-}}, sizeBytes:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("sizeBytes") ? this.Serializable$get("sizeBytes") : null;
-}, set:function(value) {
- this.Serializable$set("sizeBytes", value);
-}}, startTime:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("startTime") ? this.Serializable$get("startTime") : null;
-}, set:function(value) {
- this.Serializable$set("startTime", value);
-}}, title:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("title") ? this.Serializable$get("title") : null;
-}, set:function(value) {
- this.Serializable$set("title", value);
-}}, updateTime:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("updateTime") ? this.Serializable$get("updateTime") : null;
-}, set:function(value) {
- this.Serializable$set("updateTime", value);
-}}});
-module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_ImageAssetExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11390,7 +11288,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, PyramidingPolicyOverrides:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ImageAssetExportOptionsPyramidingPolicyOverridesEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ImageBandParameters = function module$contents$eeapiclient$ee_api_client_ImageBandParameters() {
+module$exports$eeapiclient$ee_api_client.ImageBandParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImageBand = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11401,21 +11299,16 @@ module$exports$eeapiclient$ee_api_client.ImageBand = function(parameters) {
this.Serializable$set("pyramidingPolicy", null == parameters.pyramidingPolicy ? null : parameters.pyramidingPolicy);
this.Serializable$set("tilesets", null == parameters.tilesets ? null : parameters.tilesets);
this.Serializable$set("missingData", null == parameters.missingData ? null : parameters.missingData);
- this.Serializable$set("cloudStorageLocation", null == parameters.cloudStorageLocation ? null : parameters.cloudStorageLocation);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ImageBand, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.ImageBand.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.ImageBand;
};
module$exports$eeapiclient$ee_api_client.ImageBand.prototype.getPartialClassMetadata = function() {
- return {arrays:{tilesets:module$exports$eeapiclient$ee_api_client.TilestoreTileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum}, keys:"cloudStorageLocation dataType grid id missingData pyramidingPolicy tilesets".split(" "), objects:{cloudStorageLocation:module$exports$eeapiclient$ee_api_client.CloudStorageLocation, dataType:module$exports$eeapiclient$ee_api_client.PixelDataType,
- grid:module$exports$eeapiclient$ee_api_client.PixelGrid, missingData:module$exports$eeapiclient$ee_api_client.MissingData}};
+ return {arrays:{tilesets:module$exports$eeapiclient$ee_api_client.TilestoreTileset}, enums:{pyramidingPolicy:module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum}, keys:"dataType grid id missingData pyramidingPolicy tilesets".split(" "), objects:{dataType:module$exports$eeapiclient$ee_api_client.PixelDataType, grid:module$exports$eeapiclient$ee_api_client.PixelGrid,
+ missingData:module$exports$eeapiclient$ee_api_client.MissingData}};
};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageBand.prototype, {cloudStorageLocation:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("cloudStorageLocation") ? this.Serializable$get("cloudStorageLocation") : null;
-}, set:function(value) {
- this.Serializable$set("cloudStorageLocation", value);
-}}, dataType:{configurable:!0, enumerable:!0, get:function() {
+$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageBand.prototype, {dataType:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("dataType") ? this.Serializable$get("dataType") : null;
}, set:function(value) {
this.Serializable$set("dataType", value);
@@ -11443,14 +11336,13 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageBand, {PyramidingPolicy:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ImageBandPyramidingPolicyEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_ImageFileExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImageFileExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("driveDestination", null == parameters.driveDestination ? null : parameters.driveDestination);
this.Serializable$set("cloudStorageDestination", null == parameters.cloudStorageDestination ? null : parameters.cloudStorageDestination);
- this.Serializable$set("gcsDestination", null == parameters.gcsDestination ? null : parameters.gcsDestination);
this.Serializable$set("geoTiffOptions", null == parameters.geoTiffOptions ? null : parameters.geoTiffOptions);
this.Serializable$set("tfRecordOptions", null == parameters.tfRecordOptions ? null : parameters.tfRecordOptions);
this.Serializable$set("fileFormat", null == parameters.fileFormat ? null : parameters.fileFormat);
@@ -11460,8 +11352,8 @@ module$exports$eeapiclient$ee_api_client.ImageFileExportOptions.prototype.getCon
return module$exports$eeapiclient$ee_api_client.ImageFileExportOptions;
};
module$exports$eeapiclient$ee_api_client.ImageFileExportOptions.prototype.getPartialClassMetadata = function() {
- return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum}, keys:"cloudStorageDestination driveDestination fileFormat gcsDestination geoTiffOptions tfRecordOptions".split(" "), objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination,
- gcsDestination:module$exports$eeapiclient$ee_api_client.GcsDestination, geoTiffOptions:module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions, tfRecordOptions:module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions}};
+ return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum}, keys:["cloudStorageDestination", "driveDestination", "fileFormat", "geoTiffOptions", "tfRecordOptions"], objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination, geoTiffOptions:module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions,
+ tfRecordOptions:module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageFileExportOptions.prototype, {cloudStorageDestination:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("cloudStorageDestination") ? this.Serializable$get("cloudStorageDestination") : null;
@@ -11475,10 +11367,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("fileFormat") ? this.Serializable$get("fileFormat") : null;
}, set:function(value) {
this.Serializable$set("fileFormat", value);
-}}, gcsDestination:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("gcsDestination") ? this.Serializable$get("gcsDestination") : null;
-}, set:function(value) {
- this.Serializable$set("gcsDestination", value);
}}, geoTiffOptions:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("geoTiffOptions") ? this.Serializable$get("geoTiffOptions") : null;
}, set:function(value) {
@@ -11491,7 +11379,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageFileExportOptions, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ImageFileExportOptionsFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ImageManifestParameters = function module$contents$eeapiclient$ee_api_client_ImageManifestParameters() {
+module$exports$eeapiclient$ee_api_client.ImageManifestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImageManifest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11574,7 +11462,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ImageManifest, {PyramidingPolicy:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ImageManifestPyramidingPolicyEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ImageSourceParameters = function module$contents$eeapiclient$ee_api_client_ImageSourceParameters() {
+module$exports$eeapiclient$ee_api_client.ImageSourceParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImageSource = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11603,7 +11491,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("uris", value);
}}});
-module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function module$contents$eeapiclient$ee_api_client_ImportImageRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ImportImageRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImportImageRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11637,7 +11525,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("requestId", value);
}}});
-module$exports$eeapiclient$ee_api_client.ImportTableRequestParameters = function module$contents$eeapiclient$ee_api_client_ImportTableRequestParameters() {
+module$exports$eeapiclient$ee_api_client.ImportTableRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ImportTableRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11671,7 +11559,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tableManifest", value);
}}});
-module$exports$eeapiclient$ee_api_client.LinkAssetRequestParameters = function module$contents$eeapiclient$ee_api_client_LinkAssetRequestParameters() {
+module$exports$eeapiclient$ee_api_client.LinkAssetRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.LinkAssetRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11690,7 +11578,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("destinationName", value);
}}});
-module$exports$eeapiclient$ee_api_client.ListAlgorithmsResponseParameters = function module$contents$eeapiclient$ee_api_client_ListAlgorithmsResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ListAlgorithmsResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ListAlgorithmsResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11709,7 +11597,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("algorithms", value);
}}});
-module$exports$eeapiclient$ee_api_client.ListAssetsResponseParameters = function module$contents$eeapiclient$ee_api_client_ListAssetsResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ListAssetsResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ListAssetsResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11733,7 +11621,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("nextPageToken", value);
}}});
-module$exports$eeapiclient$ee_api_client.ListFeaturesResponseParameters = function module$contents$eeapiclient$ee_api_client_ListFeaturesResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ListFeaturesResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ListFeaturesResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11762,31 +11650,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("type", value);
}}});
-module$exports$eeapiclient$ee_api_client.ListImagesResponseParameters = function module$contents$eeapiclient$ee_api_client_ListImagesResponseParameters() {
-};
-module$exports$eeapiclient$ee_api_client.ListImagesResponse = function(parameters) {
- parameters = void 0 === parameters ? {} : parameters;
- module$exports$eeapiclient$domain_object.Serializable.call(this);
- this.Serializable$set("images", null == parameters.images ? null : parameters.images);
- this.Serializable$set("nextPageToken", null == parameters.nextPageToken ? null : parameters.nextPageToken);
-};
-$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ListImagesResponse, module$exports$eeapiclient$domain_object.Serializable);
-module$exports$eeapiclient$ee_api_client.ListImagesResponse.prototype.getConstructor = function() {
- return module$exports$eeapiclient$ee_api_client.ListImagesResponse;
-};
-module$exports$eeapiclient$ee_api_client.ListImagesResponse.prototype.getPartialClassMetadata = function() {
- return {arrays:{images:module$exports$eeapiclient$ee_api_client.Image}, keys:["images", "nextPageToken"]};
-};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ListImagesResponse.prototype, {images:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("images") ? this.Serializable$get("images") : null;
-}, set:function(value) {
- this.Serializable$set("images", value);
-}}, nextPageToken:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("nextPageToken") ? this.Serializable$get("nextPageToken") : null;
-}, set:function(value) {
- this.Serializable$set("nextPageToken", value);
-}}});
-module$exports$eeapiclient$ee_api_client.ListOperationsResponseParameters = function module$contents$eeapiclient$ee_api_client_ListOperationsResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ListOperationsResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ListOperationsResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11810,7 +11674,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("operations", value);
}}});
-module$exports$eeapiclient$ee_api_client.ListSubscriptionsResponseParameters = function module$contents$eeapiclient$ee_api_client_ListSubscriptionsResponseParameters() {
+module$exports$eeapiclient$ee_api_client.ListSubscriptionsResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ListSubscriptionsResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11834,7 +11698,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("subscriptions", value);
}}});
-module$exports$eeapiclient$ee_api_client.LogConfigParameters = function module$contents$eeapiclient$ee_api_client_LogConfigParameters() {
+module$exports$eeapiclient$ee_api_client.LogConfigParameters = function() {
};
module$exports$eeapiclient$ee_api_client.LogConfig = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11863,7 +11727,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("dataAccess", value);
}}});
-module$exports$eeapiclient$ee_api_client.MissingDataParameters = function module$contents$eeapiclient$ee_api_client_MissingDataParameters() {
+module$exports$eeapiclient$ee_api_client.MissingDataParameters = function() {
};
module$exports$eeapiclient$ee_api_client.MissingData = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11882,7 +11746,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("values", value);
}}});
-module$exports$eeapiclient$ee_api_client.MoveAssetRequestParameters = function module$contents$eeapiclient$ee_api_client_MoveAssetRequestParameters() {
+module$exports$eeapiclient$ee_api_client.MoveAssetRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.MoveAssetRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11901,7 +11765,31 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("destinationName", value);
}}});
-module$exports$eeapiclient$ee_api_client.OperationParameters = function module$contents$eeapiclient$ee_api_client_OperationParameters() {
+module$exports$eeapiclient$ee_api_client.NumberParameters = function() {
+};
+module$exports$eeapiclient$ee_api_client.Number = function(parameters) {
+ parameters = void 0 === parameters ? {} : parameters;
+ module$exports$eeapiclient$domain_object.Serializable.call(this);
+ this.Serializable$set("floatValue", null == parameters.floatValue ? null : parameters.floatValue);
+ this.Serializable$set("integerValue", null == parameters.integerValue ? null : parameters.integerValue);
+};
+$jscomp.inherits(module$exports$eeapiclient$ee_api_client.Number, module$exports$eeapiclient$domain_object.Serializable);
+module$exports$eeapiclient$ee_api_client.Number.prototype.getConstructor = function() {
+ return module$exports$eeapiclient$ee_api_client.Number;
+};
+module$exports$eeapiclient$ee_api_client.Number.prototype.getPartialClassMetadata = function() {
+ return {keys:["floatValue", "integerValue"]};
+};
+$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Number.prototype, {floatValue:{configurable:!0, enumerable:!0, get:function() {
+ return this.Serializable$has("floatValue") ? this.Serializable$get("floatValue") : null;
+}, set:function(value) {
+ this.Serializable$set("floatValue", value);
+}}, integerValue:{configurable:!0, enumerable:!0, get:function() {
+ return this.Serializable$has("integerValue") ? this.Serializable$get("integerValue") : null;
+}, set:function(value) {
+ this.Serializable$set("integerValue", value);
+}}});
+module$exports$eeapiclient$ee_api_client.OperationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Operation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -11940,7 +11828,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("response", value);
}}});
-module$exports$eeapiclient$ee_api_client.OperationMetadataParameters = function module$contents$eeapiclient$ee_api_client_OperationMetadataParameters() {
+module$exports$eeapiclient$ee_api_client.OperationMetadataParameters = function() {
};
module$exports$eeapiclient$ee_api_client.OperationMetadata = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12032,7 +11920,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.OperationMetadata, {State:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.OperationMetadataStateEnum;
}}});
-module$exports$eeapiclient$ee_api_client.OperationNotificationParameters = function module$contents$eeapiclient$ee_api_client_OperationNotificationParameters() {
+module$exports$eeapiclient$ee_api_client.OperationNotificationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.OperationNotification = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12064,7 +11952,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.OperationNotification, {Severity:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.OperationNotificationSeverityEnum;
}}});
-module$exports$eeapiclient$ee_api_client.OperationStageParameters = function module$contents$eeapiclient$ee_api_client_OperationStageParameters() {
+module$exports$eeapiclient$ee_api_client.OperationStageParameters = function() {
};
module$exports$eeapiclient$ee_api_client.OperationStage = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12098,7 +11986,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("totalWorkUnits", value);
}}});
-module$exports$eeapiclient$ee_api_client.PixelDataTypeParameters = function module$contents$eeapiclient$ee_api_client_PixelDataTypeParameters() {
+module$exports$eeapiclient$ee_api_client.PixelDataTypeParameters = function() {
};
module$exports$eeapiclient$ee_api_client.PixelDataType = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12130,7 +12018,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.PixelDataType, {Precision:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.PixelDataTypePrecisionEnum;
}}});
-module$exports$eeapiclient$ee_api_client.PixelFootprintParameters = function module$contents$eeapiclient$ee_api_client_PixelFootprintParameters() {
+module$exports$eeapiclient$ee_api_client.PixelFootprintParameters = function() {
};
module$exports$eeapiclient$ee_api_client.PixelFootprint = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12154,7 +12042,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("points", value);
}}});
-module$exports$eeapiclient$ee_api_client.PixelGridParameters = function module$contents$eeapiclient$ee_api_client_PixelGridParameters() {
+module$exports$eeapiclient$ee_api_client.PixelGridParameters = function() {
};
module$exports$eeapiclient$ee_api_client.PixelGrid = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12188,7 +12076,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("dimensions", value);
}}});
-module$exports$eeapiclient$ee_api_client.PolicyParameters = function module$contents$eeapiclient$ee_api_client_PolicyParameters() {
+module$exports$eeapiclient$ee_api_client.PolicyParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Policy = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12227,7 +12115,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("version", value);
}}});
-module$exports$eeapiclient$ee_api_client.PrerenderingOptionsParameters = function module$contents$eeapiclient$ee_api_client_PrerenderingOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.PrerenderingOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.PrerenderingOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12251,7 +12139,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tileLimiting", value);
}}});
-module$exports$eeapiclient$ee_api_client.ProjectConfigParameters = function module$contents$eeapiclient$ee_api_client_ProjectConfigParameters() {
+module$exports$eeapiclient$ee_api_client.ProjectConfigParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectConfig = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12259,13 +12147,14 @@ module$exports$eeapiclient$ee_api_client.ProjectConfig = function(parameters) {
this.Serializable$set("name", null == parameters.name ? null : parameters.name);
this.Serializable$set("registration", null == parameters.registration ? null : parameters.registration);
this.Serializable$set("trialStatus", null == parameters.trialStatus ? null : parameters.trialStatus);
+ this.Serializable$set("vpcServiceControlsRestricted", null == parameters.vpcServiceControlsRestricted ? null : parameters.vpcServiceControlsRestricted);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ProjectConfig, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.ProjectConfig;
};
module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype.getPartialClassMetadata = function() {
- return {keys:["name", "registration", "trialStatus"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
+ return {keys:["name", "registration", "trialStatus", "vpcServiceControlsRestricted"], objects:{registration:module$exports$eeapiclient$ee_api_client.ProjectRegistration, trialStatus:module$exports$eeapiclient$ee_api_client.TrialStatus}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ProjectConfig.prototype, {name:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("name") ? this.Serializable$get("name") : null;
@@ -12279,8 +12168,12 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("trialStatus") ? this.Serializable$get("trialStatus") : null;
}, set:function(value) {
this.Serializable$set("trialStatus", value);
+}}, vpcServiceControlsRestricted:{configurable:!0, enumerable:!0, get:function() {
+ return this.Serializable$has("vpcServiceControlsRestricted") ? this.Serializable$get("vpcServiceControlsRestricted") : null;
+}, set:function(value) {
+ this.Serializable$set("vpcServiceControlsRestricted", value);
}}});
-module$exports$eeapiclient$ee_api_client.ProjectRegistrationParameters = function module$contents$eeapiclient$ee_api_client_ProjectRegistrationParameters() {
+module$exports$eeapiclient$ee_api_client.ProjectRegistrationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectRegistration = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12309,7 +12202,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, FreeQuota:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ProjectRegistrationFreeQuotaEnum;
}}});
-module$exports$eeapiclient$ee_api_client.RankByAttributeRuleParameters = function module$contents$eeapiclient$ee_api_client_RankByAttributeRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankByAttributeRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankByAttributeRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12328,7 +12221,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("attributeName", value);
}}});
-module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRuleParameters = function module$contents$eeapiclient$ee_api_client_RankByGeometryTypeRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12341,7 +12234,7 @@ module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRule.prototype.getCon
module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRule.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRuleParameters = function module$contents$eeapiclient$ee_api_client_RankByMinVisibleLodRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12354,7 +12247,7 @@ module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRule.prototype.getCo
module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRule.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRuleParameters = function module$contents$eeapiclient$ee_api_client_RankByMinZoomLevelRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12367,7 +12260,7 @@ module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRule.prototype.getCon
module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRule.prototype.getPartialClassMetadata = function() {
return {keys:[]};
};
-module$exports$eeapiclient$ee_api_client.RankByOneThingRuleParameters = function module$contents$eeapiclient$ee_api_client_RankByOneThingRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankByOneThingRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankByOneThingRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12383,8 +12276,8 @@ module$exports$eeapiclient$ee_api_client.RankByOneThingRule.prototype.getConstru
return module$exports$eeapiclient$ee_api_client.RankByOneThingRule;
};
module$exports$eeapiclient$ee_api_client.RankByOneThingRule.prototype.getPartialClassMetadata = function() {
- return {enums:{direction:module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum}, keys:["direction", "rankByAttributeRule", "rankByGeometryTypeRule", "rankByMinVisibleLodRule", "rankByMinZoomLevelRule"], objects:{rankByAttributeRule:module$exports$eeapiclient$ee_api_client.RankByAttributeRule, rankByGeometryTypeRule:module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRule,
- rankByMinVisibleLodRule:module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRule, rankByMinZoomLevelRule:module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRule}};
+ return {enums:{direction:module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum}, keys:["direction", "rankByAttributeRule", "rankByGeometryTypeRule", "rankByMinVisibleLodRule", "rankByMinZoomLevelRule"], objects:{rankByAttributeRule:module$exports$eeapiclient$ee_api_client.RankByAttributeRule, rankByGeometryTypeRule:module$exports$eeapiclient$ee_api_client.RankByGeometryTypeRule, rankByMinVisibleLodRule:module$exports$eeapiclient$ee_api_client.RankByMinVisibleLodRule,
+ rankByMinZoomLevelRule:module$exports$eeapiclient$ee_api_client.RankByMinZoomLevelRule}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.RankByOneThingRule.prototype, {direction:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("direction") ? this.Serializable$get("direction") : null;
@@ -12410,7 +12303,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.RankByOneThingRule, {Direction:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.RankByOneThingRuleDirectionEnum;
}}});
-module$exports$eeapiclient$ee_api_client.RankingOptionsParameters = function module$contents$eeapiclient$ee_api_client_RankingOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.RankingOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankingOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12434,7 +12327,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("zOrderRankingRule", value);
}}});
-module$exports$eeapiclient$ee_api_client.RankingRuleParameters = function module$contents$eeapiclient$ee_api_client_RankingRuleParameters() {
+module$exports$eeapiclient$ee_api_client.RankingRuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.RankingRule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12458,7 +12351,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("rankByOneThingRule", value);
}}});
-module$exports$eeapiclient$ee_api_client.RuleParameters = function module$contents$eeapiclient$ee_api_client_RuleParameters() {
+module$exports$eeapiclient$ee_api_client.RuleParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Rule = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12510,7 +12403,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Rule, {Action:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.RuleActionEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ScheduledUpdateParameters = function module$contents$eeapiclient$ee_api_client_ScheduledUpdateParameters() {
+module$exports$eeapiclient$ee_api_client.ScheduledUpdateParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ScheduledUpdate = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12544,7 +12437,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, UpdateChangeType:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ScheduledUpdateUpdateChangeTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.SetIamPolicyRequestParameters = function module$contents$eeapiclient$ee_api_client_SetIamPolicyRequestParameters() {
+module$exports$eeapiclient$ee_api_client.SetIamPolicyRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.SetIamPolicyRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12568,7 +12461,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("updateMask", value);
}}});
-module$exports$eeapiclient$ee_api_client.StatusParameters = function module$contents$eeapiclient$ee_api_client_StatusParameters() {
+module$exports$eeapiclient$ee_api_client.StatusParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Status = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12597,7 +12490,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("message", value);
}}});
-module$exports$eeapiclient$ee_api_client.SubscriptionParameters = function module$contents$eeapiclient$ee_api_client_SubscriptionParameters() {
+module$exports$eeapiclient$ee_api_client.SubscriptionParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Subscription = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12673,7 +12566,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, Type:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.SubscriptionTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TableParameters = function module$contents$eeapiclient$ee_api_client_TableParameters() {
+module$exports$eeapiclient$ee_api_client.TableParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Table = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12715,7 +12608,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Table, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TableFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TableAssetExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_TableAssetExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.TableAssetExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TableAssetExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12734,14 +12627,13 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("earthEngineDestination", value);
}}});
-module$exports$eeapiclient$ee_api_client.TableFileExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_TableFileExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.TableFileExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TableFileExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("driveDestination", null == parameters.driveDestination ? null : parameters.driveDestination);
this.Serializable$set("cloudStorageDestination", null == parameters.cloudStorageDestination ? null : parameters.cloudStorageDestination);
- this.Serializable$set("gcsDestination", null == parameters.gcsDestination ? null : parameters.gcsDestination);
this.Serializable$set("fileFormat", null == parameters.fileFormat ? null : parameters.fileFormat);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TableFileExportOptions, module$exports$eeapiclient$domain_object.Serializable);
@@ -12749,7 +12641,7 @@ module$exports$eeapiclient$ee_api_client.TableFileExportOptions.prototype.getCon
return module$exports$eeapiclient$ee_api_client.TableFileExportOptions;
};
module$exports$eeapiclient$ee_api_client.TableFileExportOptions.prototype.getPartialClassMetadata = function() {
- return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum}, keys:["cloudStorageDestination", "driveDestination", "fileFormat", "gcsDestination"], objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination, gcsDestination:module$exports$eeapiclient$ee_api_client.GcsDestination}};
+ return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum}, keys:["cloudStorageDestination", "driveDestination", "fileFormat"], objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableFileExportOptions.prototype, {cloudStorageDestination:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("cloudStorageDestination") ? this.Serializable$get("cloudStorageDestination") : null;
@@ -12763,15 +12655,11 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("fileFormat") ? this.Serializable$get("fileFormat") : null;
}, set:function(value) {
this.Serializable$set("fileFormat", value);
-}}, gcsDestination:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("gcsDestination") ? this.Serializable$get("gcsDestination") : null;
-}, set:function(value) {
- this.Serializable$set("gcsDestination", value);
}}});
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TableFileExportOptions, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TableFileExportOptionsFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TableLocationParameters = function module$contents$eeapiclient$ee_api_client_TableLocationParameters() {
+module$exports$eeapiclient$ee_api_client.TableLocationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TableLocation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12805,7 +12693,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("sizeBytes", value);
}}});
-module$exports$eeapiclient$ee_api_client.TableManifestParameters = function module$contents$eeapiclient$ee_api_client_TableManifestParameters() {
+module$exports$eeapiclient$ee_api_client.TableManifestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TableManifest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12870,7 +12758,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, CsvColumnDataTypeOverrides:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TableManifestCsvColumnDataTypeOverridesEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TableSourceParameters = function module$contents$eeapiclient$ee_api_client_TableSourceParameters() {
+module$exports$eeapiclient$ee_api_client.TableSourceParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TableSource = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12944,7 +12832,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("yColumn", value);
}}});
-module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestParameters = function module$contents$eeapiclient$ee_api_client_TerminateSubscriptionRequestParameters() {
+module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12971,7 +12859,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequest, {TerminationType:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TerminateSubscriptionRequestTerminationTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TestIamPermissionsRequestParameters = function module$contents$eeapiclient$ee_api_client_TestIamPermissionsRequestParameters() {
+module$exports$eeapiclient$ee_api_client.TestIamPermissionsRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TestIamPermissionsRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -12990,7 +12878,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("permissions", value);
}}});
-module$exports$eeapiclient$ee_api_client.TestIamPermissionsResponseParameters = function module$contents$eeapiclient$ee_api_client_TestIamPermissionsResponseParameters() {
+module$exports$eeapiclient$ee_api_client.TestIamPermissionsResponseParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TestIamPermissionsResponse = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13009,7 +12897,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("permissions", value);
}}});
-module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_TfRecordImageExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13068,7 +12956,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tileDimensions", value);
}}});
-module$exports$eeapiclient$ee_api_client.ThinningOptionsParameters = function module$contents$eeapiclient$ee_api_client_ThinningOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.ThinningOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ThinningOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13095,7 +12983,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ThinningOptions, {ThinningStrategy:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ThinningOptionsThinningStrategyEnum;
}}});
-module$exports$eeapiclient$ee_api_client.ThumbnailParameters = function module$contents$eeapiclient$ee_api_client_ThumbnailParameters() {
+module$exports$eeapiclient$ee_api_client.ThumbnailParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Thumbnail = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13147,7 +13035,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Thumbnail, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.ThumbnailFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TileLimitingParameters = function module$contents$eeapiclient$ee_api_client_TileLimitingParameters() {
+module$exports$eeapiclient$ee_api_client.TileLimitingParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TileLimiting = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13181,21 +13069,17 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("neighborDepth", value);
}}});
-module$exports$eeapiclient$ee_api_client.TileOptionsParameters = function module$contents$eeapiclient$ee_api_client_TileOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.TileOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TileOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("endZoom", null == parameters.endZoom ? null : parameters.endZoom);
- this.Serializable$set("maxZoom", null == parameters.maxZoom ? null : parameters.maxZoom);
this.Serializable$set("scale", null == parameters.scale ? null : parameters.scale);
this.Serializable$set("startZoom", null == parameters.startZoom ? null : parameters.startZoom);
- this.Serializable$set("minZoom", null == parameters.minZoom ? null : parameters.minZoom);
this.Serializable$set("skipEmpty", null == parameters.skipEmpty ? null : parameters.skipEmpty);
- this.Serializable$set("skipEmptyTiles", null == parameters.skipEmptyTiles ? null : parameters.skipEmptyTiles);
this.Serializable$set("mapsApiKey", null == parameters.mapsApiKey ? null : parameters.mapsApiKey);
this.Serializable$set("dimensions", null == parameters.dimensions ? null : parameters.dimensions);
- this.Serializable$set("tileDimensions", null == parameters.tileDimensions ? null : parameters.tileDimensions);
this.Serializable$set("stride", null == parameters.stride ? null : parameters.stride);
this.Serializable$set("zoomSubset", null == parameters.zoomSubset ? null : parameters.zoomSubset);
};
@@ -13204,7 +13088,7 @@ module$exports$eeapiclient$ee_api_client.TileOptions.prototype.getConstructor =
return module$exports$eeapiclient$ee_api_client.TileOptions;
};
module$exports$eeapiclient$ee_api_client.TileOptions.prototype.getPartialClassMetadata = function() {
- return {keys:"dimensions endZoom mapsApiKey maxZoom minZoom scale skipEmpty skipEmptyTiles startZoom stride tileDimensions zoomSubset".split(" "), objects:{dimensions:module$exports$eeapiclient$ee_api_client.GridDimensions, tileDimensions:module$exports$eeapiclient$ee_api_client.GridDimensions, zoomSubset:module$exports$eeapiclient$ee_api_client.ZoomSubset}};
+ return {keys:"dimensions endZoom mapsApiKey scale skipEmpty startZoom stride zoomSubset".split(" "), objects:{dimensions:module$exports$eeapiclient$ee_api_client.GridDimensions, zoomSubset:module$exports$eeapiclient$ee_api_client.ZoomSubset}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TileOptions.prototype, {dimensions:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("dimensions") ? this.Serializable$get("dimensions") : null;
@@ -13218,14 +13102,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("mapsApiKey") ? this.Serializable$get("mapsApiKey") : null;
}, set:function(value) {
this.Serializable$set("mapsApiKey", value);
-}}, maxZoom:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("maxZoom") ? this.Serializable$get("maxZoom") : null;
-}, set:function(value) {
- this.Serializable$set("maxZoom", value);
-}}, minZoom:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("minZoom") ? this.Serializable$get("minZoom") : null;
-}, set:function(value) {
- this.Serializable$set("minZoom", value);
}}, scale:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("scale") ? this.Serializable$get("scale") : null;
}, set:function(value) {
@@ -13234,10 +13110,6 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("skipEmpty") ? this.Serializable$get("skipEmpty") : null;
}, set:function(value) {
this.Serializable$set("skipEmpty", value);
-}}, skipEmptyTiles:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("skipEmptyTiles") ? this.Serializable$get("skipEmptyTiles") : null;
-}, set:function(value) {
- this.Serializable$set("skipEmptyTiles", value);
}}, startZoom:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("startZoom") ? this.Serializable$get("startZoom") : null;
}, set:function(value) {
@@ -13246,16 +13118,12 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("stride") ? this.Serializable$get("stride") : null;
}, set:function(value) {
this.Serializable$set("stride", value);
-}}, tileDimensions:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("tileDimensions") ? this.Serializable$get("tileDimensions") : null;
-}, set:function(value) {
- this.Serializable$set("tileDimensions", value);
}}, zoomSubset:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("zoomSubset") ? this.Serializable$get("zoomSubset") : null;
}, set:function(value) {
this.Serializable$set("zoomSubset", value);
}}});
-module$exports$eeapiclient$ee_api_client.TilesetParameters = function module$contents$eeapiclient$ee_api_client_TilesetParameters() {
+module$exports$eeapiclient$ee_api_client.TilesetParameters = function() {
};
module$exports$eeapiclient$ee_api_client.Tileset = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13302,7 +13170,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.Tileset, {DataType:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TilesetDataTypeEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TilesetBandParameters = function module$contents$eeapiclient$ee_api_client_TilesetBandParameters() {
+module$exports$eeapiclient$ee_api_client.TilesetBandParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TilesetBand = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13344,7 +13212,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TilesetBand, {PyramidingPolicy:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TilesetBandPyramidingPolicyEnum;
}}});
-module$exports$eeapiclient$ee_api_client.TilesetMaskBandParameters = function module$contents$eeapiclient$ee_api_client_TilesetMaskBandParameters() {
+module$exports$eeapiclient$ee_api_client.TilesetMaskBandParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TilesetMaskBand = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13368,31 +13236,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tilesetId", value);
}}});
-module$exports$eeapiclient$ee_api_client.TilestoreEntryParameters = function module$contents$eeapiclient$ee_api_client_TilestoreEntryParameters() {
-};
-module$exports$eeapiclient$ee_api_client.TilestoreEntry = function(parameters) {
- parameters = void 0 === parameters ? {} : parameters;
- module$exports$eeapiclient$domain_object.Serializable.call(this);
- this.Serializable$set("sources", null == parameters.sources ? null : parameters.sources);
- this.Serializable$set("pathPrefix", null == parameters.pathPrefix ? null : parameters.pathPrefix);
-};
-$jscomp.inherits(module$exports$eeapiclient$ee_api_client.TilestoreEntry, module$exports$eeapiclient$domain_object.Serializable);
-module$exports$eeapiclient$ee_api_client.TilestoreEntry.prototype.getConstructor = function() {
- return module$exports$eeapiclient$ee_api_client.TilestoreEntry;
-};
-module$exports$eeapiclient$ee_api_client.TilestoreEntry.prototype.getPartialClassMetadata = function() {
- return {arrays:{sources:module$exports$eeapiclient$ee_api_client.TilestoreSource}, keys:["pathPrefix", "sources"]};
-};
-$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.TilestoreEntry.prototype, {pathPrefix:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("pathPrefix") ? this.Serializable$get("pathPrefix") : null;
-}, set:function(value) {
- this.Serializable$set("pathPrefix", value);
-}}, sources:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("sources") ? this.Serializable$get("sources") : null;
-}, set:function(value) {
- this.Serializable$set("sources", value);
-}}});
-module$exports$eeapiclient$ee_api_client.TilestoreLocationParameters = function module$contents$eeapiclient$ee_api_client_TilestoreLocationParameters() {
+module$exports$eeapiclient$ee_api_client.TilestoreLocationParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TilestoreLocation = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13416,7 +13260,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("sources", value);
}}});
-module$exports$eeapiclient$ee_api_client.TilestoreSourceParameters = function module$contents$eeapiclient$ee_api_client_TilestoreSourceParameters() {
+module$exports$eeapiclient$ee_api_client.TilestoreSourceParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TilestoreSource = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13440,7 +13284,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("pathSuffix", value);
}}});
-module$exports$eeapiclient$ee_api_client.TilestoreTilesetParameters = function module$contents$eeapiclient$ee_api_client_TilestoreTilesetParameters() {
+module$exports$eeapiclient$ee_api_client.TilestoreTilesetParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TilestoreTileset = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13469,7 +13313,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("tilesPerFile", value);
}}});
-module$exports$eeapiclient$ee_api_client.TrialStatusParameters = function module$contents$eeapiclient$ee_api_client_TrialStatusParameters() {
+module$exports$eeapiclient$ee_api_client.TrialStatusParameters = function() {
};
module$exports$eeapiclient$ee_api_client.TrialStatus = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13518,7 +13362,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}}, State:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.TrialStatusStateEnum;
}}});
-module$exports$eeapiclient$ee_api_client.UpdateAssetRequestParameters = function module$contents$eeapiclient$ee_api_client_UpdateAssetRequestParameters() {
+module$exports$eeapiclient$ee_api_client.UpdateAssetRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.UpdateAssetRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13542,7 +13386,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("updateMask", value);
}}});
-module$exports$eeapiclient$ee_api_client.ValueNodeParameters = function module$contents$eeapiclient$ee_api_client_ValueNodeParameters() {
+module$exports$eeapiclient$ee_api_client.ValueNodeParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ValueNode = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13562,8 +13406,7 @@ module$exports$eeapiclient$ee_api_client.ValueNode.prototype.getConstructor = fu
return module$exports$eeapiclient$ee_api_client.ValueNode;
};
module$exports$eeapiclient$ee_api_client.ValueNode.prototype.getPartialClassMetadata = function() {
- return {keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "), objects:{arrayValue:module$exports$eeapiclient$ee_api_client.ArrayValue, dictionaryValue:module$exports$eeapiclient$ee_api_client.DictionaryValue, functionDefinitionValue:module$exports$eeapiclient$ee_api_client.FunctionDefinition,
- functionInvocationValue:module$exports$eeapiclient$ee_api_client.FunctionInvocation}};
+ return {keys:"argumentReference arrayValue bytesValue constantValue dictionaryValue functionDefinitionValue functionInvocationValue integerValue valueReference".split(" "), objects:{arrayValue:module$exports$eeapiclient$ee_api_client.ArrayValue, dictionaryValue:module$exports$eeapiclient$ee_api_client.DictionaryValue, functionDefinitionValue:module$exports$eeapiclient$ee_api_client.FunctionDefinition, functionInvocationValue:module$exports$eeapiclient$ee_api_client.FunctionInvocation}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ValueNode.prototype, {argumentReference:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("argumentReference") ? this.Serializable$get("argumentReference") : null;
@@ -13602,14 +13445,13 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("valueReference", value);
}}});
-module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsParameters = function module$contents$eeapiclient$ee_api_client_VideoFileExportOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.VideoFileExportOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("driveDestination", null == parameters.driveDestination ? null : parameters.driveDestination);
this.Serializable$set("cloudStorageDestination", null == parameters.cloudStorageDestination ? null : parameters.cloudStorageDestination);
- this.Serializable$set("gcsDestination", null == parameters.gcsDestination ? null : parameters.gcsDestination);
this.Serializable$set("fileFormat", null == parameters.fileFormat ? null : parameters.fileFormat);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, module$exports$eeapiclient$domain_object.Serializable);
@@ -13617,7 +13459,7 @@ module$exports$eeapiclient$ee_api_client.VideoFileExportOptions.prototype.getCon
return module$exports$eeapiclient$ee_api_client.VideoFileExportOptions;
};
module$exports$eeapiclient$ee_api_client.VideoFileExportOptions.prototype.getPartialClassMetadata = function() {
- return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum}, keys:["cloudStorageDestination", "driveDestination", "fileFormat", "gcsDestination"], objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination, gcsDestination:module$exports$eeapiclient$ee_api_client.GcsDestination}};
+ return {enums:{fileFormat:module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum}, keys:["cloudStorageDestination", "driveDestination", "fileFormat"], objects:{cloudStorageDestination:module$exports$eeapiclient$ee_api_client.CloudStorageDestination, driveDestination:module$exports$eeapiclient$ee_api_client.DriveDestination}};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.VideoFileExportOptions.prototype, {cloudStorageDestination:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("cloudStorageDestination") ? this.Serializable$get("cloudStorageDestination") : null;
@@ -13631,15 +13473,11 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
return this.Serializable$has("fileFormat") ? this.Serializable$get("fileFormat") : null;
}, set:function(value) {
this.Serializable$set("fileFormat", value);
-}}, gcsDestination:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("gcsDestination") ? this.Serializable$get("gcsDestination") : null;
-}, set:function(value) {
- this.Serializable$set("gcsDestination", value);
}}});
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.VideoFileExportOptions, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.VideoFileExportOptionsFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.VideoOptionsParameters = function module$contents$eeapiclient$ee_api_client_VideoOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.VideoOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.VideoOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13668,7 +13506,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("maxPixelsPerFrame", value);
}}});
-module$exports$eeapiclient$ee_api_client.VideoThumbnailParameters = function module$contents$eeapiclient$ee_api_client_VideoThumbnailParameters() {
+module$exports$eeapiclient$ee_api_client.VideoThumbnailParameters = function() {
};
module$exports$eeapiclient$ee_api_client.VideoThumbnail = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13710,7 +13548,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.VideoThumbnail, {FileFormat:{configurable:!0, enumerable:!0, get:function() {
return module$exports$eeapiclient$ee_api_client.VideoThumbnailFileFormatEnum;
}}});
-module$exports$eeapiclient$ee_api_client.VisualizationOptionsParameters = function module$contents$eeapiclient$ee_api_client_VisualizationOptionsParameters() {
+module$exports$eeapiclient$ee_api_client.VisualizationOptionsParameters = function() {
};
module$exports$eeapiclient$ee_api_client.VisualizationOptions = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13744,7 +13582,7 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("ranges", value);
}}});
-module$exports$eeapiclient$ee_api_client.WaitOperationRequestParameters = function module$contents$eeapiclient$ee_api_client_WaitOperationRequestParameters() {
+module$exports$eeapiclient$ee_api_client.WaitOperationRequestParameters = function() {
};
module$exports$eeapiclient$ee_api_client.WaitOperationRequest = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
@@ -13763,48 +13601,38 @@ $jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.
}, set:function(value) {
this.Serializable$set("timeout", value);
}}});
-module$exports$eeapiclient$ee_api_client.ZoomSubsetParameters = function module$contents$eeapiclient$ee_api_client_ZoomSubsetParameters() {
+module$exports$eeapiclient$ee_api_client.ZoomSubsetParameters = function() {
};
module$exports$eeapiclient$ee_api_client.ZoomSubset = function(parameters) {
parameters = void 0 === parameters ? {} : parameters;
module$exports$eeapiclient$domain_object.Serializable.call(this);
this.Serializable$set("start", null == parameters.start ? null : parameters.start);
this.Serializable$set("end", null == parameters.end ? null : parameters.end);
- this.Serializable$set("min", null == parameters.min ? null : parameters.min);
- this.Serializable$set("max", null == parameters.max ? null : parameters.max);
};
$jscomp.inherits(module$exports$eeapiclient$ee_api_client.ZoomSubset, module$exports$eeapiclient$domain_object.Serializable);
module$exports$eeapiclient$ee_api_client.ZoomSubset.prototype.getConstructor = function() {
return module$exports$eeapiclient$ee_api_client.ZoomSubset;
};
module$exports$eeapiclient$ee_api_client.ZoomSubset.prototype.getPartialClassMetadata = function() {
- return {keys:["end", "max", "min", "start"]};
+ return {keys:["end", "start"]};
};
$jscomp.global.Object.defineProperties(module$exports$eeapiclient$ee_api_client.ZoomSubset.prototype, {end:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("end") ? this.Serializable$get("end") : null;
}, set:function(value) {
this.Serializable$set("end", value);
-}}, max:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("max") ? this.Serializable$get("max") : null;
-}, set:function(value) {
- this.Serializable$set("max", value);
-}}, min:{configurable:!0, enumerable:!0, get:function() {
- return this.Serializable$has("min") ? this.Serializable$get("min") : null;
-}, set:function(value) {
- this.Serializable$set("min", value);
}}, start:{configurable:!0, enumerable:!0, get:function() {
return this.Serializable$has("start") ? this.Serializable$get("start") : null;
}, set:function(value) {
this.Serializable$set("start", value);
}}});
-var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", billingAccount:"billingAccount", callback:"callback", endTime:"endTime", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", startTime:"startTime", updateMask:"updateMask",
-uploadType:"uploadType", upload_protocol:"upload_protocol", view:"view", workloadTag:"workloadTag"};
-module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IBillingAccountsSubscriptionsApiClient$XgafvEnum() {
+var module$contents$eeapiclient$ee_api_client_PARAM_MAP_0 = {$Xgafv:"$.xgafv", access_token:"access_token", alt:"alt", assetId:"assetId", billingAccount:"billingAccount", callback:"callback", fields:"fields", filter:"filter", key:"key", oauth_token:"oauth_token", overwrite:"overwrite", pageSize:"pageSize", pageToken:"pageToken", parent:"parent", prettyPrint:"prettyPrint", quotaUser:"quotaUser", region:"region", updateMask:"updateMask", uploadType:"uploadType", upload_protocol:"upload_protocol",
+view:"view", workloadTag:"workloadTag"};
+module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IBillingAccountsSubscriptionsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IBillingAccountsSubscriptionsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClientAltEnum.PROTO];
@@ -13839,12 +13667,12 @@ module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClientIm
};
module$exports$eeapiclient$ee_api_client.BillingAccountsSubscriptionsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.ICapabilitiesApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_ICapabilitiesApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.ICapabilitiesApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.CapabilitiesApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.CapabilitiesApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.CapabilitiesApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.ICapabilitiesApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_ICapabilitiesApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.ICapabilitiesApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.CapabilitiesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.CapabilitiesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.CapabilitiesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.CapabilitiesApiClientAltEnum.PROTO];
@@ -13860,12 +13688,12 @@ module$exports$eeapiclient$ee_api_client.CapabilitiesApiClientImpl.prototype.app
};
module$exports$eeapiclient$ee_api_client.CapabilitiesApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsAlgorithmsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsAlgorithmsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsAlgorithmsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsAlgorithmsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsAlgorithmsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsAlgorithmsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientAltEnum.PROTO];
@@ -13882,20 +13710,20 @@ module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientImpl.prototy
};
module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsApiClientAltEnum.PROTO];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsApiClientViewEnum = function module$contents$eeapiclient$ee_api_client_IProjectsApiClientViewEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsApiClientViewEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum = {BASIC:"BASIC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.FULL, module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.BASIC];
+module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum = {BASIC:"BASIC", BASIC_SYNC:"BASIC_SYNC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.FULL, module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.BASIC, module$exports$eeapiclient$ee_api_client.ProjectsApiClientViewEnum.BASIC_SYNC];
}};
module$exports$eeapiclient$ee_api_client.ProjectsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
this.gapiVersion = gapiVersion;
@@ -13927,20 +13755,20 @@ module$exports$eeapiclient$ee_api_client.ProjectsApiClientImpl.prototype.updateC
};
module$exports$eeapiclient$ee_api_client.ProjectsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsAssetsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsAssetsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientAltEnum.PROTO];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientViewEnum = function module$contents$eeapiclient$ee_api_client_IProjectsAssetsApiClientViewEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsAssetsApiClientViewEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum = {BASIC:"BASIC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
- return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.FULL, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.BASIC];
+module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum = {BASIC:"BASIC", BASIC_SYNC:"BASIC_SYNC", EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED:"EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED", FULL:"FULL", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.EARTH_ENGINE_ASSET_VIEW_UNSPECIFIED, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.FULL, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.BASIC, module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientViewEnum.BASIC_SYNC];
}};
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
this.gapiVersion = gapiVersion;
@@ -14012,12 +13840,6 @@ module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl.prototype.l
this.$apiClient.$validateParameter(asset, RegExp("^projects/[^/]+/assets/.*$"));
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.assets.listFeatures", path:"/" + this.gapiVersion + "/" + asset + ":listFeatures", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.ListFeaturesResponse});
};
-module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl.prototype.listImages = function(parent, namedParameters, passthroughNamedParameters) {
- namedParameters = void 0 === namedParameters ? {} : namedParameters;
- passthroughNamedParameters = void 0 === passthroughNamedParameters ? {} : passthroughNamedParameters;
- this.$apiClient.$validateParameter(parent, RegExp("^projects/[^/]+/assets/.*$"));
- return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.projects.assets.listImages", path:"/" + this.gapiVersion + "/" + parent + ":listImages", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.ListImagesResponse});
-};
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl.prototype.move = function(sourceName, $requestBody, namedParameters, passthroughNamedParameters) {
namedParameters = void 0 === namedParameters ? {} : namedParameters;
passthroughNamedParameters = void 0 === passthroughNamedParameters ? {} : passthroughNamedParameters;
@@ -14044,12 +13866,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl.prototype.t
};
module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsClassifierApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsClassifierApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsClassifierApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsClassifierApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsClassifierApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsClassifierApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientAltEnum.PROTO];
@@ -14066,12 +13888,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientImpl.prototy
};
module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientAltEnum.PROTO];
@@ -14088,12 +13910,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientImpl.protot
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClientAltEnum.PROTO];
@@ -14110,12 +13932,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClientImpl.proto
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsTilesApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewsTilesApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsTilesApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsTilesApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFeatureViewsTilesApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFeatureViewsTilesApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClientAltEnum.PROTO];
@@ -14132,12 +13954,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClientImpl.
};
module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewsTilesApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsFilmstripThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFilmstripThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFilmstripThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsFilmstripThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsFilmstripThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsFilmstripThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientAltEnum.PROTO];
@@ -14160,12 +13982,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientImp
};
module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsImageApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsImageApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsImageApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsImageApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsImageApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsImageApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientAltEnum.PROTO];
@@ -14194,12 +14016,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl.prototype.im
};
module$exports$eeapiclient$ee_api_client.ProjectsImageApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsImageCollectionApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsImageCollectionApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsImageCollectionApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClientAltEnum.PROTO];
@@ -14216,12 +14038,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClientImpl.pr
};
module$exports$eeapiclient$ee_api_client.ProjectsImageCollectionApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsAssetsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsAssetsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsAssetsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsAssetsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsAssetsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsAssetsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClientAltEnum.PROTO];
@@ -14244,12 +14066,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClientImpl.pr
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsAssetsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsFilmstripThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsFilmstripThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsFilmstripThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClientAltEnum.PROTO];
@@ -14266,12 +14088,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApi
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsFilmstripThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsMapsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsMapsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsMapsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsMapsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsMapsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsMapsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClientAltEnum.PROTO];
@@ -14288,12 +14110,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClientImpl.prot
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsMapsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsTablesApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsTablesApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsTablesApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsTablesApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsTablesApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsTablesApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClientAltEnum.PROTO];
@@ -14310,12 +14132,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClientImpl.pr
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsTablesApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClientAltEnum.PROTO];
@@ -14332,12 +14154,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClientImp
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsVideoThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsVideoThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsVideoThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsLocationsVideoThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsLocationsVideoThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsLocationsVideoThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClientAltEnum.PROTO];
@@ -14354,12 +14176,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClie
};
module$exports$eeapiclient$ee_api_client.ProjectsLocationsVideoThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsMapApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsMapApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsMapApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientAltEnum.PROTO];
@@ -14376,12 +14198,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientImpl.prototype.expo
};
module$exports$eeapiclient$ee_api_client.ProjectsMapApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsMapsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsMapsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientAltEnum.PROTO];
@@ -14398,12 +14220,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientImpl.prototype.cre
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsMapsTilesApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapsTilesApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapsTilesApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsMapsTilesApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsMapsTilesApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsMapsTilesApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClientAltEnum.PROTO];
@@ -14420,12 +14242,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClientImpl.prototyp
};
module$exports$eeapiclient$ee_api_client.ProjectsMapsTilesApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsOperationsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsOperationsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsOperationsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsOperationsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsOperationsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsOperationsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientAltEnum.PROTO];
@@ -14466,12 +14288,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientImpl.prototy
};
module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsTableApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsTableApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsTableApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsTableApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsTableApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsTableApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsTableApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsTableApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsTableApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientAltEnum.PROTO];
@@ -14500,12 +14322,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientImpl.prototype.im
};
module$exports$eeapiclient$ee_api_client.ProjectsTableApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsTablesApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsTablesApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsTablesApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsTablesApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsTablesApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsTablesApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientAltEnum.PROTO];
@@ -14528,12 +14350,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl.prototype.g
};
module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientAltEnum.PROTO];
@@ -14556,12 +14378,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl.prototy
};
module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsValueApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsValueApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsValueApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsValueApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsValueApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsValueApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientAltEnum.PROTO];
@@ -14578,12 +14400,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl.prototype.co
};
module$exports$eeapiclient$ee_api_client.ProjectsValueApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientAltEnum.PROTO];
@@ -14600,12 +14422,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientImpl.prototype.ex
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoMapApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoMapApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoMapApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientAltEnum.PROTO];
@@ -14622,12 +14444,12 @@ module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl.prototype
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoThumbnailsApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClient$XgafvEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IProjectsVideoThumbnailsApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IProjectsVideoThumbnailsApiClientAltEnum = function() {
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
return [module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientAltEnum.PROTO];
@@ -14650,30 +14472,30 @@ module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl.pr
};
module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClient = function() {
};
-module$exports$eeapiclient$ee_api_client.IV1alphaApiClient$XgafvEnum = function module$contents$eeapiclient$ee_api_client_IV1alphaApiClient$XgafvEnum() {
+module$exports$eeapiclient$ee_api_client.IV1ApiClient$XgafvEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.V1alphaApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
- return [module$exports$eeapiclient$ee_api_client.V1alphaApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.V1alphaApiClient$XgafvEnum[2]];
+module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum = {1:"1", 2:"2", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum[1], module$exports$eeapiclient$ee_api_client.V1ApiClient$XgafvEnum[2]];
}};
-module$exports$eeapiclient$ee_api_client.IV1alphaApiClientAltEnum = function module$contents$eeapiclient$ee_api_client_IV1alphaApiClientAltEnum() {
+module$exports$eeapiclient$ee_api_client.IV1ApiClientAltEnum = function() {
};
-module$exports$eeapiclient$ee_api_client.V1alphaApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
- return [module$exports$eeapiclient$ee_api_client.V1alphaApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.V1alphaApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.V1alphaApiClientAltEnum.PROTO];
+module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum = {JSON:"json", MEDIA:"media", PROTO:"proto", values:function() {
+ return [module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.JSON, module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.MEDIA, module$exports$eeapiclient$ee_api_client.V1ApiClientAltEnum.PROTO];
}};
-module$exports$eeapiclient$ee_api_client.V1alphaApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
+module$exports$eeapiclient$ee_api_client.V1ApiClientImpl = function(gapiVersion, gapiRequestService, apiClientHookFactory) {
this.gapiVersion = gapiVersion;
this.$apiClient = new module$exports$eeapiclient$promise_api_client.PromiseApiClient(gapiRequestService, void 0 === apiClientHookFactory ? null : apiClientHookFactory);
};
-module$exports$eeapiclient$ee_api_client.V1alphaApiClientImpl.prototype.getCapabilities = function(namedParameters, passthroughNamedParameters) {
+module$exports$eeapiclient$ee_api_client.V1ApiClientImpl.prototype.getCapabilities = function(namedParameters, passthroughNamedParameters) {
namedParameters = void 0 === namedParameters ? {} : namedParameters;
passthroughNamedParameters = void 0 === passthroughNamedParameters ? {} : passthroughNamedParameters;
return this.$apiClient.$request({body:null, httpMethod:"GET", methodId:"earthengine.getCapabilities", path:"/" + this.gapiVersion + "/capabilities", queryParams:module$contents$eeapiclient$request_params_buildQueryParams(namedParameters, module$contents$eeapiclient$ee_api_client_PARAM_MAP_0, passthroughNamedParameters), responseCtor:module$exports$eeapiclient$ee_api_client.Capabilities});
};
-module$exports$eeapiclient$ee_api_client.V1alphaApiClient = function() {
+module$exports$eeapiclient$ee_api_client.V1ApiClient = function() {
};
ee.api = module$exports$eeapiclient$ee_api_client;
var module$exports$ee$apiVersion = {V1ALPHA:"v1alpha", V1:"v1"};
-module$exports$ee$apiVersion.VERSION = module$exports$ee$apiVersion.V1ALPHA;
+module$exports$ee$apiVersion.VERSION = module$exports$ee$apiVersion.V1;
var module$exports$eeapiclient$promise_request_service = {}, module$contents$eeapiclient$promise_request_service_module = module$contents$eeapiclient$promise_request_service_module || {id:"javascript/typescript/contrib/apiclient/request_service/promise_request_service.closure.js"};
module$exports$eeapiclient$promise_request_service.PromiseRequestService = function() {
};
@@ -16053,16 +15875,16 @@ goog.Promise.prototype.addChildPromise_ = function(onFulfilled, onRejected, opt_
try {
var result = onFulfilled.call(opt_context, value);
resolve(result);
- } catch (err$53) {
- reject(err$53);
+ } catch (err) {
+ reject(err);
}
} : resolve;
callbackEntry.onRejected = onRejected ? function(reason) {
try {
var result = onRejected.call(opt_context, reason);
void 0 === result && reason instanceof goog.Promise.CancellationError ? reject(reason) : resolve(result);
- } catch (err$54) {
- reject(err$54);
+ } catch (err) {
+ reject(err);
}
} : reject;
});
@@ -16152,8 +15974,8 @@ goog.Promise.prototype.executeCallback_ = function(callbackEntry, state, result)
} else {
try {
callbackEntry.always ? callbackEntry.onFulfilled.call(callbackEntry.context) : goog.Promise.invokeCallback_(callbackEntry, state, result);
- } catch (err$55) {
- goog.Promise.handleRejection_.call(null, err$55);
+ } catch (err) {
+ goog.Promise.handleRejection_.call(null, err);
}
}
goog.Promise.returnEntry_(callbackEntry);
@@ -16659,7 +16481,7 @@ goog.net.jsloader.cleanup_ = function(scriptNode, removeScriptNode, opt_timeout)
goog.dom.removeNode(scriptNode);
}, 0);
};
-goog.net.jsloader.ErrorCode = {LOAD_ERROR:0, TIMEOUT:1, VERIFY_ERROR:2, VERIFY_OBJECT_ALREADY_EXISTS:3,};
+goog.net.jsloader.ErrorCode = {LOAD_ERROR:0, TIMEOUT:1, VERIFY_ERROR:2, VERIFY_OBJECT_ALREADY_EXISTS:3};
goog.net.jsloader.Error = function(code, opt_message) {
var msg = "Jsloader error (code #" + code + ")";
opt_message && (msg += ": " + opt_message);
@@ -16691,7 +16513,7 @@ goog.json.parse = goog.json.USE_NATIVE_JSON ? goog.global.JSON.parse : function(
var result = eval("(" + o + ")");
error && goog.json.errorLogger_("Invalid JSON: " + o, error);
return result;
- } catch (ex$56) {
+ } catch (ex) {
}
}
throw Error("Invalid JSON string: " + o);
@@ -17063,7 +16885,7 @@ goog.log.info = function(logger, msg, exception) {
goog.log.fine = function(logger, msg, exception) {
goog.log.ENABLED && logger && goog.log.log(logger, goog.log.Level.FINE, msg, exception);
};
-goog.net.ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1, FILE_NOT_FOUND:2, FF_SILENT_ERROR:3, CUSTOM_ERROR:4, EXCEPTION:5, HTTP_ERROR:6, ABORT:7, TIMEOUT:8, OFFLINE:9,};
+goog.net.ErrorCode = {NO_ERROR:0, ACCESS_DENIED:1, FILE_NOT_FOUND:2, FF_SILENT_ERROR:3, CUSTOM_ERROR:4, EXCEPTION:5, HTTP_ERROR:6, ABORT:7, TIMEOUT:8, OFFLINE:9};
goog.net.ErrorCode.getDebugMessage = function(errorCode) {
switch(errorCode) {
case goog.net.ErrorCode.NO_ERROR:
@@ -17090,10 +16912,10 @@ goog.net.ErrorCode.getDebugMessage = function(errorCode) {
return "Unrecognized error code";
}
};
-goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress",};
+goog.net.EventType = {COMPLETE:"complete", SUCCESS:"success", ERROR:"error", ABORT:"abort", READY:"ready", READY_STATE_CHANGE:"readystatechange", TIMEOUT:"timeout", INCREMENTAL_DATA:"incrementaldata", PROGRESS:"progress", DOWNLOAD_PROGRESS:"downloadprogress", UPLOAD_PROGRESS:"uploadprogress"};
goog.net.HttpStatus = {CONTINUE:100, SWITCHING_PROTOCOLS:101, OK:200, CREATED:201, ACCEPTED:202, NON_AUTHORITATIVE_INFORMATION:203, NO_CONTENT:204, RESET_CONTENT:205, PARTIAL_CONTENT:206, MULTI_STATUS:207, MULTIPLE_CHOICES:300, MOVED_PERMANENTLY:301, FOUND:302, SEE_OTHER:303, NOT_MODIFIED:304, USE_PROXY:305, TEMPORARY_REDIRECT:307, PERMANENT_REDIRECT:308, BAD_REQUEST:400, UNAUTHORIZED:401, PAYMENT_REQUIRED:402, FORBIDDEN:403, NOT_FOUND:404, METHOD_NOT_ALLOWED:405, NOT_ACCEPTABLE:406, PROXY_AUTHENTICATION_REQUIRED:407,
REQUEST_TIMEOUT:408, CONFLICT:409, GONE:410, LENGTH_REQUIRED:411, PRECONDITION_FAILED:412, REQUEST_ENTITY_TOO_LARGE:413, REQUEST_URI_TOO_LONG:414, UNSUPPORTED_MEDIA_TYPE:415, REQUEST_RANGE_NOT_SATISFIABLE:416, EXPECTATION_FAILED:417, UNPROCESSABLE_ENTITY:422, LOCKED:423, FAILED_DEPENDENCY:424, PRECONDITION_REQUIRED:428, TOO_MANY_REQUESTS:429, REQUEST_HEADER_FIELDS_TOO_LARGE:431, CLIENT_CLOSED_REQUEST:499, INTERNAL_SERVER_ERROR:500, NOT_IMPLEMENTED:501, BAD_GATEWAY:502, SERVICE_UNAVAILABLE:503, GATEWAY_TIMEOUT:504,
-HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223,};
+HTTP_VERSION_NOT_SUPPORTED:505, INSUFFICIENT_STORAGE:507, NETWORK_AUTHENTICATION_REQUIRED:511, QUIRK_IE_NO_CONTENT:1223};
goog.net.HttpStatus.isSuccess = function(status) {
switch(status) {
case goog.net.HttpStatus.OK:
@@ -17150,8 +16972,8 @@ goog.net.XmlHttpDefines.ASSUME_NATIVE_XHR = !1;
goog.net.XmlHttp.getOptions = function() {
return goog.net.XmlHttp.factory_.getOptions();
};
-goog.net.XmlHttp.OptionType = {USE_NULL_FUNCTION:0, LOCAL_REQUEST_ERROR:1,};
-goog.net.XmlHttp.ReadyState = {UNINITIALIZED:0, LOADING:1, LOADED:2, INTERACTIVE:3, COMPLETE:4,};
+goog.net.XmlHttp.OptionType = {USE_NULL_FUNCTION:0, LOCAL_REQUEST_ERROR:1};
+goog.net.XmlHttp.ReadyState = {UNINITIALIZED:0, LOADING:1, LOADED:2, INTERACTIVE:3, COMPLETE:4};
goog.net.XmlHttp.setFactory = function(factory, optionsFactory) {
goog.net.XmlHttp.setGlobalFactory(new goog.net.WrapperXmlHttpFactory(goog.asserts.assert(factory), goog.asserts.assert(optionsFactory)));
};
@@ -17175,7 +16997,7 @@ goog.net.DefaultXmlHttpFactory.prototype.getProgId_ = function() {
return "";
}
if (!this.ieProgId_ && "undefined" == typeof XMLHttpRequest && "undefined" != typeof ActiveXObject) {
- for (var ACTIVE_X_IDENTS = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP",], i = 0; i < ACTIVE_X_IDENTS.length; i++) {
+ for (var ACTIVE_X_IDENTS = ["MSXML2.XMLHTTP.6.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"], i = 0; i < ACTIVE_X_IDENTS.length; i++) {
var candidate = ACTIVE_X_IDENTS[i];
try {
return new ActiveXObject(candidate), this.ieProgId_ = candidate;
@@ -17201,10 +17023,10 @@ goog.net.XhrIo = function(opt_xmlHttpFactory) {
this.timeoutId_ = null;
this.responseType_ = goog.net.XhrIo.ResponseType.DEFAULT;
this.useXhr2Timeout_ = this.progressEventsEnabled_ = this.withCredentials_ = !1;
- this.trustToken_ = null;
+ this.attributionReportingOptions_ = this.trustToken_ = null;
};
goog.inherits(goog.net.XhrIo, goog.events.EventTarget);
-goog.net.XhrIo.ResponseType = {DEFAULT:"", TEXT:"text", DOCUMENT:"document", BLOB:"blob", ARRAY_BUFFER:"arraybuffer",};
+goog.net.XhrIo.ResponseType = {DEFAULT:"", TEXT:"text", DOCUMENT:"document", BLOB:"blob", ARRAY_BUFFER:"arraybuffer"};
goog.net.XhrIo.prototype.logger_ = goog.log.getLogger("goog.net.XhrIo");
goog.net.XhrIo.CONTENT_TYPE_HEADER = "Content-Type";
goog.net.XhrIo.CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
@@ -17263,6 +17085,9 @@ goog.net.XhrIo.prototype.getProgressEventsEnabled = function() {
goog.net.XhrIo.prototype.setTrustToken = function(trustToken) {
this.trustToken_ = trustToken;
};
+goog.net.XhrIo.prototype.setAttributionReporting = function(attributionReportingOptions) {
+ this.attributionReportingOptions_ = attributionReportingOptions;
+};
goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_headers) {
if (this.xhr_) {
throw Error("[goog.net.XhrIo] Object is active with another request=" + this.lastUri_ + "; newUri=" + url);
@@ -17282,9 +17107,9 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
}, this), this.xhr_.upload && (this.xhr_.upload.onprogress = goog.bind(this.onProgressHandler_, this)));
try {
goog.log.fine(this.logger_, this.formatMsg_("Opening Xhr")), this.inOpen_ = !0, this.xhr_.open(method, String(url), !0), this.inOpen_ = !1;
- } catch (err$57) {
- goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err$57.message));
- this.error_(goog.net.ErrorCode.EXCEPTION, err$57);
+ } catch (err) {
+ goog.log.fine(this.logger_, this.formatMsg_("Error opening Xhr: " + err.message));
+ this.error_(goog.net.ErrorCode.EXCEPTION, err);
return;
}
var content = opt_content || "", headers = new Map(this.headers);
@@ -17294,9 +17119,9 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
headers.set(key, opt_headers[key]);
}
} else if ("function" === typeof opt_headers.keys && "function" === typeof opt_headers.get) {
- for (var $jscomp$iter$24 = $jscomp.makeIterator(opt_headers.keys()), $jscomp$key$key = $jscomp$iter$24.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$24.next()) {
- var key$58 = $jscomp$key$key.value;
- headers.set(key$58, opt_headers.get(key$58));
+ for (var $jscomp$iter$31 = $jscomp.makeIterator(opt_headers.keys()), $jscomp$key$key = $jscomp$iter$31.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$31.next()) {
+ var key$jscomp$0 = $jscomp$key$key.value;
+ headers.set(key$jscomp$0, opt_headers.get(key$jscomp$0));
}
} else {
throw Error("Unknown input type for opt_headers: " + String(opt_headers));
@@ -17306,24 +17131,31 @@ goog.net.XhrIo.prototype.send = function(url, opt_method, opt_content, opt_heade
return goog.string.caseInsensitiveEquals(goog.net.XhrIo.CONTENT_TYPE_HEADER, header);
}), contentIsFormData = goog.global.FormData && content instanceof goog.global.FormData;
!module$contents$goog$array_contains(goog.net.XhrIo.METHODS_WITH_FORM_DATA, method) || contentTypeKey || contentIsFormData || headers.set(goog.net.XhrIo.CONTENT_TYPE_HEADER, goog.net.XhrIo.FORM_CONTENT_TYPE);
- for (var $jscomp$iter$25 = $jscomp.makeIterator(headers), $jscomp$key$ = $jscomp$iter$25.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$25.next()) {
- var $jscomp$destructuring$var31 = $jscomp.makeIterator($jscomp$key$.value), key$59 = $jscomp$destructuring$var31.next().value, value = $jscomp$destructuring$var31.next().value;
- this.xhr_.setRequestHeader(key$59, value);
+ for (var $jscomp$iter$32 = $jscomp.makeIterator(headers), $jscomp$key$ = $jscomp$iter$32.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$32.next()) {
+ var $jscomp$destructuring$var31 = $jscomp.makeIterator($jscomp$key$.value), key$jscomp$1 = $jscomp$destructuring$var31.next().value, value = $jscomp$destructuring$var31.next().value;
+ this.xhr_.setRequestHeader(key$jscomp$1, value);
}
this.responseType_ && (this.xhr_.responseType = this.responseType_);
"withCredentials" in this.xhr_ && this.xhr_.withCredentials !== this.withCredentials_ && (this.xhr_.withCredentials = this.withCredentials_);
if ("setTrustToken" in this.xhr_ && this.trustToken_) {
try {
this.xhr_.setTrustToken(this.trustToken_);
- } catch (err$60) {
- goog.log.fine(this.logger_, this.formatMsg_("Error SetTrustToken: " + err$60.message));
+ } catch (err) {
+ goog.log.fine(this.logger_, this.formatMsg_("Error SetTrustToken: " + err.message));
+ }
+ }
+ if ("setAttributionReporting" in this.xhr_ && this.attributionReportingOptions_) {
+ try {
+ this.xhr_.setAttributionReporting(this.attributionReportingOptions_);
+ } catch (err) {
+ goog.log.fine(this.logger_, this.formatMsg_("Error SetAttributionReporting: " + err.message));
}
}
try {
this.cleanUpTimeoutTimer_(), 0 < this.timeoutInterval_ && (this.useXhr2Timeout_ = goog.net.XhrIo.shouldUseXhr2Timeout_(this.xhr_), goog.log.fine(this.logger_, this.formatMsg_("Will abort after " + this.timeoutInterval_ + "ms if incomplete, xhr2 " + this.useXhr2Timeout_)), this.useXhr2Timeout_ ? (this.xhr_[goog.net.XhrIo.XHR2_TIMEOUT_] = this.timeoutInterval_, this.xhr_[goog.net.XhrIo.XHR2_ON_TIMEOUT_] = goog.bind(this.timeout_, this)) : this.timeoutId_ = goog.Timer.callOnce(this.timeout_, this.timeoutInterval_,
this)), goog.log.fine(this.logger_, this.formatMsg_("Sending request")), this.inSend_ = !0, this.xhr_.send(content), this.inSend_ = !1;
- } catch (err$61) {
- goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err$61.message)), this.error_(goog.net.ErrorCode.EXCEPTION, err$61);
+ } catch (err) {
+ goog.log.fine(this.logger_, this.formatMsg_("Send error: " + err.message)), this.error_(goog.net.ErrorCode.EXCEPTION, err);
}
};
goog.net.XhrIo.shouldUseXhr2Timeout_ = function(xhr) {
@@ -17392,7 +17224,7 @@ goog.net.XhrIo.prototype.onProgressHandler_ = function(e, opt_isDownload) {
this.dispatchEvent(goog.net.XhrIo.buildProgressEvent_(e, opt_isDownload ? goog.net.EventType.DOWNLOAD_PROGRESS : goog.net.EventType.UPLOAD_PROGRESS));
};
goog.net.XhrIo.buildProgressEvent_ = function(e, eventType) {
- return {type:eventType, lengthComputable:e.lengthComputable, loaded:e.loaded, total:e.total,};
+ return {type:eventType, lengthComputable:e.lengthComputable, loaded:e.loaded, total:e.total};
};
goog.net.XhrIo.prototype.cleanUpXhr_ = function(opt_fromDispose) {
if (this.xhr_) {
@@ -17515,9 +17347,9 @@ goog.net.XhrIo.prototype.getResponseHeaders = function() {
var keyValue = goog.string.splitLimit(headersArray[i], ":", 1), key = keyValue[0], value = keyValue[1];
if ("string" === typeof value) {
value = value.trim();
- var values$jscomp$0 = headersObject[key] || [];
- headersObject[key] = values$jscomp$0;
- values$jscomp$0.push(value);
+ var values = headersObject[key] || [];
+ headersObject[key] = values;
+ values.push(value);
}
}
}
@@ -17545,8 +17377,8 @@ goog.debug.entryPointRegistry.register(function(transformer) {
});
ee.apiclient = {};
var module$contents$ee$apiclient_apiclient = {};
-ee.apiclient.VERSION = module$exports$ee$apiVersion.V1ALPHA;
-ee.apiclient.API_CLIENT_VERSION = "0.1.343";
+ee.apiclient.VERSION = module$exports$ee$apiVersion.V1;
+ee.apiclient.API_CLIENT_VERSION = "0.1.370";
ee.apiclient.NULL_VALUE = module$exports$eeapiclient$domain_object.NULL_VALUE;
ee.apiclient.PromiseRequestService = module$exports$eeapiclient$promise_request_service.PromiseRequestService;
ee.apiclient.MakeRequestParams = module$contents$eeapiclient$request_params_MakeRequestParams;
@@ -17557,6 +17389,10 @@ var module$contents$ee$apiclient_Call = function(callback, retries) {
this.callback = callback;
this.requestService = new module$contents$ee$apiclient_EERequestService(!callback, retries);
};
+module$contents$ee$apiclient_Call.prototype.withDetectPartialError = function(detectPartialError) {
+ this.requestService.detectPartialError = detectPartialError;
+ return this;
+};
module$contents$ee$apiclient_Call.prototype.handle = function(response) {
var $jscomp$this = this;
if (response instanceof Promise) {
@@ -17585,58 +17421,59 @@ module$contents$ee$apiclient_Call.prototype.projectsPath = function() {
return "projects/" + module$contents$ee$apiclient_apiclient.getProject();
};
module$contents$ee$apiclient_Call.prototype.algorithms = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsAlgorithmsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.projects = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.assets = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsAssetsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.operations = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsOperationsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.value = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsValueApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.maps = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsMapsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.map = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsMapApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.image = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsImageApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.table = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsTableApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.tables = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsTablesApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.video = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsVideoApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.videoMap = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsVideoMapApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.classifier = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsClassifierApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.featureView = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsFeatureViewApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.thumbnails = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.videoThumbnails = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsVideoThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
module$contents$ee$apiclient_Call.prototype.filmstripThumbnails = function() {
- return new module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1ALPHA, this.requestService);
+ return new module$exports$eeapiclient$ee_api_client.ProjectsFilmstripThumbnailsApiClientImpl(module$exports$ee$apiVersion.V1, this.requestService);
};
var module$contents$ee$apiclient_EERequestService = function(sync, retries) {
this.sync = sync = void 0 === sync ? !1 : sync;
+ this.detectPartialError = void 0;
this.retries = null != retries ? retries : sync ? module$contents$ee$apiclient_apiclient.MAX_SYNC_RETRIES_ : module$contents$ee$apiclient_apiclient.MAX_ASYNC_RETRIES_;
};
$jscomp.inherits(module$contents$ee$apiclient_EERequestService, module$exports$eeapiclient$promise_request_service.PromiseRequestService);
@@ -17645,17 +17482,17 @@ module$contents$ee$apiclient_EERequestService.prototype.send = function(params,
module$contents$eeapiclient$request_params_processParams(params);
var path = params.path || "", url = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + path, args = module$contents$ee$apiclient_apiclient.makeRequest_(params.queryParams || {}), body = params.body ? JSON.stringify(params.body) : void 0;
if (this.sync) {
- var raw = module$contents$ee$apiclient_apiclient.send(url, args, void 0, params.httpMethod, body, this.retries), value$62 = responseCtor ? module$contents$eeapiclient$domain_object_deserialize(responseCtor, raw) : raw, thenable = function(v) {
+ var raw = module$contents$ee$apiclient_apiclient.send(url, args, void 0, params.httpMethod, body, this.retries, this.detectPartialError), value = responseCtor ? module$contents$eeapiclient$domain_object_deserialize(responseCtor, raw) : raw, thenable = function(v) {
return {then:function(f) {
return thenable(f(v));
}};
};
- return thenable(value$62);
+ return thenable(value);
}
return (new Promise(function(resolve, reject) {
module$contents$ee$apiclient_apiclient.send(url, args, function(value, error) {
error ? reject(error) : resolve(value);
- }, params.httpMethod, body, $jscomp$this.retries);
+ }, params.httpMethod, body, $jscomp$this.retries, $jscomp$this.detectPartialError);
})).then(function(r) {
return responseCtor ? module$contents$eeapiclient$domain_object_deserialize(responseCtor, r) : r;
});
@@ -17665,8 +17502,13 @@ module$contents$ee$apiclient_EERequestService.prototype.makeRequest = function(p
var module$contents$ee$apiclient_BatchCall = function(callback) {
module$contents$ee$apiclient_Call.call(this, callback);
this.requestService = new module$contents$ee$apiclient_BatchRequestService();
+ this.detectPartialError = void 0;
};
$jscomp.inherits(module$contents$ee$apiclient_BatchCall, module$contents$ee$apiclient_Call);
+module$contents$ee$apiclient_BatchCall.prototype.withDetectPartialError = function(detectPartialError) {
+ this.detectPartialError = detectPartialError;
+ return this;
+};
module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getResponse) {
var $jscomp$this = this, batchUrl = module$contents$ee$apiclient_apiclient.getSafeApiUrl() + "/batch", body = parts.map(function($jscomp$destructuring$var32) {
var $jscomp$destructuring$var33 = $jscomp.makeIterator($jscomp$destructuring$var32), id = $jscomp$destructuring$var33.next().value, $jscomp$destructuring$var34 = $jscomp.makeIterator($jscomp$destructuring$var33.next().value), partBody = $jscomp$destructuring$var34.next().value, ctor = $jscomp$destructuring$var34.next().value;
@@ -17681,7 +17523,7 @@ module$contents$ee$apiclient_BatchCall.prototype.send = function(parts, getRespo
};
return this.callback ? (module$contents$ee$apiclient_apiclient.send(batchUrl, null, function(result, err) {
return $jscomp$this.callback(err ? result : deserializeResponses(result), err);
- }, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body), null) : deserializeResponses(module$contents$ee$apiclient_apiclient.send(batchUrl, null, void 0, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body));
+ }, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError), null) : deserializeResponses(module$contents$ee$apiclient_apiclient.send(batchUrl, null, void 0, "multipart/mixed; boundary=batch_EARTHENGINE_batch", body, void 0, this.detectPartialError));
};
var module$contents$ee$apiclient_BatchRequestService = function() {
};
@@ -17697,7 +17539,7 @@ module$contents$ee$apiclient_BatchRequestService.prototype.send = function(param
module$contents$ee$apiclient_BatchRequestService.prototype.makeRequest = function(params) {
};
module$contents$ee$apiclient_apiclient.parseBatchReply = function(contentType, responseText, handle) {
- for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$26 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$part = $jscomp$iter$26.next(); !$jscomp$key$part.done; $jscomp$key$part = $jscomp$iter$26.next()) {
+ for (var boundary = contentType.split("; boundary=")[1], $jscomp$iter$33 = $jscomp.makeIterator(responseText.split("--" + boundary)), $jscomp$key$part = $jscomp$iter$33.next(); !$jscomp$key$part.done; $jscomp$key$part = $jscomp$iter$33.next()) {
var groups = $jscomp$key$part.value.split("\r\n\r\n");
if (!(3 > groups.length)) {
var id = groups[0].match(/\r\nContent-ID: ]*)>/)[1], status = Number(groups[1].match(/^HTTP\S*\s(\d+)\s/)[1]), text = groups.slice(2).join("\r\n\r\n");
@@ -17822,13 +17664,13 @@ module$contents$ee$apiclient_apiclient.getXsrfToken = function() {
module$contents$ee$apiclient_apiclient.isInitialized = function() {
return module$contents$ee$apiclient_apiclient.initialized_;
};
-module$contents$ee$apiclient_apiclient.send = function(path, params, callback, method, body, retries) {
+module$contents$ee$apiclient_apiclient.send = function(path, params, callback, method, body, retries, detectPartialError) {
module$contents$ee$apiclient_apiclient.initialize();
var profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, contentType = "application/x-www-form-urlencoded";
body && (contentType = "application/json", method && method.startsWith("multipart") && (contentType = method, method = "POST"));
method = method || "POST";
- var headers = {"Content-Type":contentType,}, version = "0.1.343";
- "0.1.343" === version && (version = "latest");
+ var headers = {"Content-Type":contentType}, version = "0.1.370";
+ "0.1.370" === version && (version = "latest");
headers[module$contents$ee$apiclient_apiclient.API_CLIENT_VERSION_HEADER] = "ee-js/" + version;
var authToken = module$contents$ee$apiclient_apiclient.getAuthToken();
if (null != authToken) {
@@ -17851,7 +17693,7 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
"POST" === method && void 0 === body ? requestData = paramString : goog.string.isEmptyOrWhitespace(paramString) || (path += goog.string.contains(path, "?") ? "&" : "?", path += paramString);
var url = path.startsWith("/") ? module$contents$ee$apiclient_apiclient.apiBaseUrl_ + path : path;
if (callback) {
- return module$contents$ee$apiclient_apiclient.requestQueue_.push(module$contents$ee$apiclient_apiclient.buildAsyncRequest_(url, callback, method, requestData, headers, retries)), module$contents$ee$apiclient_apiclient.RequestThrottle_.fire(), null;
+ return module$contents$ee$apiclient_apiclient.requestQueue_.push(module$contents$ee$apiclient_apiclient.buildAsyncRequest_(url, callback, method, requestData, headers, retries, detectPartialError)), module$contents$ee$apiclient_apiclient.RequestThrottle_.fire(), null;
}
for (var setRequestHeader = function(value, key) {
this.setRequestHeader && this.setRequestHeader(key, value);
@@ -17871,16 +17713,16 @@ module$contents$ee$apiclient_apiclient.send = function(path, params, callback, m
} catch (e) {
return null;
}
- }, xmlHttp.responseText, profileHookAtCallTime, void 0, url, method);
+ }, xmlHttp.responseText, profileHookAtCallTime, void 0, url, method, detectPartialError);
};
-module$contents$ee$apiclient_apiclient.buildAsyncRequest_ = function(url, callback, method, content, headers, retries) {
+module$contents$ee$apiclient_apiclient.buildAsyncRequest_ = function(url, callback, method, content, headers, retries, detectPartialError) {
var retryCount = 0, request = {url:url, method:method, content:content, headers:headers}, profileHookAtCallTime = module$contents$ee$apiclient_apiclient.profileHook_, maxRetries = null != retries ? retries : module$contents$ee$apiclient_apiclient.MAX_ASYNC_RETRIES_;
request.callback = function(e) {
var xhrIo = e.target;
return 429 == xhrIo.getStatus() && retryCount < maxRetries ? (retryCount++, setTimeout(function() {
module$contents$ee$apiclient_apiclient.requestQueue_.push(request);
module$contents$ee$apiclient_apiclient.RequestThrottle_.fire();
- }, module$contents$ee$apiclient_apiclient.calculateRetryWait_(retryCount)), null) : module$contents$ee$apiclient_apiclient.handleResponse_(xhrIo.getStatus(), goog.bind(xhrIo.getResponseHeader, xhrIo), xhrIo.getResponseText(), profileHookAtCallTime, callback, url, method);
+ }, module$contents$ee$apiclient_apiclient.calculateRetryWait_(retryCount)), null) : module$contents$ee$apiclient_apiclient.handleResponse_(xhrIo.getStatus(), goog.bind(xhrIo.getResponseHeader, xhrIo), xhrIo.getResponseText(), profileHookAtCallTime, callback, url, method, detectPartialError);
};
return request;
};
@@ -17892,13 +17734,13 @@ module$contents$ee$apiclient_apiclient.withProfiling = function(hook, body, this
module$contents$ee$apiclient_apiclient.profileHook_ = saved;
}
};
-module$contents$ee$apiclient_apiclient.handleResponse_ = function(status$jscomp$0, getResponseHeader, responseText, profileHook, callback, url, method) {
+module$contents$ee$apiclient_apiclient.handleResponse_ = function(status, getResponseHeader, responseText, profileHook, callback, url, method, detectPartialError) {
var profileId = profileHook ? getResponseHeader(module$contents$ee$apiclient_apiclient.PROFILE_HEADER) : "";
profileId && profileHook && profileHook(profileId);
var parseJson = function(body) {
try {
var response = JSON.parse(body);
- return goog.isObject(response) && "error" in response && "message" in response.error ? response.error.message : {parsed:response};
+ return !(goog.isObject(response) && "error" in response && "message" in response.error) || detectPartialError && detectPartialError(response) ? {parsed:response} : response.error.message;
} catch (e) {
return "Invalid JSON: " + body;
}
@@ -17909,15 +17751,10 @@ module$contents$ee$apiclient_apiclient.handleResponse_ = function(status$jscomp$
if (200 > status || 300 <= status) {
return "Server returned HTTP code: " + status + " for " + method + " " + url;
}
- }, errorMessage, typeHeader = getResponseHeader("Content-Type") || "application/json", contentType = typeHeader.replace(/;.*/, "");
+ }, errorMessage, data, typeHeader = getResponseHeader("Content-Type") || "application/json", contentType = typeHeader.replace(/;.*/, "");
if ("application/json" === contentType || "text/json" === contentType) {
- var response$jscomp$0 = parseJson(responseText);
- if (response$jscomp$0.parsed) {
- var data = response$jscomp$0.parsed;
- void 0 === data && (errorMessage = "Malformed response: " + responseText);
- } else {
- errorMessage = response$jscomp$0;
- }
+ var response = parseJson(responseText);
+ response.parsed ? data = response.parsed : errorMessage = response;
} else if ("multipart/mixed" === contentType) {
data = {};
var errors = [];
@@ -17931,7 +17768,7 @@ module$contents$ee$apiclient_apiclient.handleResponse_ = function(status$jscomp$
} else {
var typeError = "Response was unexpectedly not JSON, but " + contentType;
}
- errorMessage = errorMessage || statusError(status$jscomp$0) || typeError;
+ errorMessage = errorMessage || statusError(status) || typeError;
if (callback) {
return callback(data, errorMessage), null;
}
@@ -17974,7 +17811,7 @@ module$contents$ee$apiclient_apiclient.handleAuthResult_ = function(success, err
}
};
module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
- for (var request = new goog.Uri.QueryData(), $jscomp$iter$27 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$ = $jscomp$iter$27.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$27.next()) {
+ for (var request = new goog.Uri.QueryData(), $jscomp$iter$34 = $jscomp.makeIterator(Object.entries(params)), $jscomp$key$ = $jscomp$iter$34.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$34.next()) {
var $jscomp$destructuring$var39 = $jscomp.makeIterator($jscomp$key$.value), name = $jscomp$destructuring$var39.next().value, item = $jscomp$destructuring$var39.next().value;
request.set(name, item);
}
@@ -17982,7 +17819,7 @@ module$contents$ee$apiclient_apiclient.makeRequest_ = function(params) {
};
module$contents$ee$apiclient_apiclient.setupMockSend = function(calls) {
function getResponse(url, method, data) {
- url = url.replace(apiBaseUrl, "").replace(module$exports$ee$apiVersion.V1ALPHA + "/projects/" + module$contents$ee$apiclient_apiclient.DEFAULT_PROJECT_ + "/", "");
+ url = url.replace(apiBaseUrl, "").replace(module$exports$ee$apiVersion.V1 + "/projects/" + module$contents$ee$apiclient_apiclient.DEFAULT_PROJECT_ + "/", "");
if (url in calls) {
var response = calls[url];
} else {
@@ -18147,6 +17984,12 @@ goog.exportSymbol("ee.api.ListFeaturesResponse", module$exports$eeapiclient$ee_a
goog.exportSymbol("ee.api.FeatureViewLocation", module$exports$eeapiclient$ee_api_client.FeatureViewLocation);
ee.Encodable = function() {
};
+ee.Encodable.prototype.getSourceFrame = function() {
+ return null;
+};
+ee.Encodable.SourceFrame = function() {
+};
+goog.exportSymbol("ee.Encodable.SourceFrame", ee.Encodable.SourceFrame);
ee.rpc_node = {};
ee.rpc_node.constant = function(obj) {
if (void 0 === obj || null === obj) {
@@ -18285,22 +18128,22 @@ ee.rpc_convert.pairedValues = function(obj, a, b) {
var aValues = ee.rpc_convert.csvToNumbers(obj[a]), bValues = ee.rpc_convert.csvToNumbers(obj[b]);
if (0 === aValues.length) {
return bValues.map(function(value) {
- var $jscomp$compprop8 = {};
- return $jscomp$compprop8[a] = 0, $jscomp$compprop8[b] = value, $jscomp$compprop8;
+ var $jscomp$compprop14 = {};
+ return $jscomp$compprop14[a] = 0, $jscomp$compprop14[b] = value, $jscomp$compprop14;
});
}
if (0 === bValues.length) {
return aValues.map(function(value) {
- var $jscomp$compprop9 = {};
- return $jscomp$compprop9[a] = value, $jscomp$compprop9[b] = 1, $jscomp$compprop9;
+ var $jscomp$compprop15 = {};
+ return $jscomp$compprop15[a] = value, $jscomp$compprop15[b] = 1, $jscomp$compprop15;
});
}
if (aValues.length !== bValues.length) {
throw Error("Length of " + a + " and " + b + " must match.");
}
return aValues.map(function(value, index) {
- var $jscomp$compprop10 = {};
- return $jscomp$compprop10[a] = value, $jscomp$compprop10[b] = bValues[index], $jscomp$compprop10;
+ var $jscomp$compprop16 = {};
+ return $jscomp$compprop16[a] = value, $jscomp$compprop16[b] = bValues[index], $jscomp$compprop16;
});
};
ee.rpc_convert.algorithms = function(result) {
@@ -18322,9 +18165,9 @@ ee.rpc_convert.algorithms = function(result) {
algorithm.deprecated && (internalAlgorithm.deprecated = algorithm.deprecationReason);
algorithm.sourceCodeUri && (internalAlgorithm.sourceCodeUri = algorithm.sourceCodeUri);
return internalAlgorithm;
- }, internalAlgorithms = {}, $jscomp$iter$28 = $jscomp.makeIterator(result.algorithms || []), $jscomp$key$algorithm = $jscomp$iter$28.next(); !$jscomp$key$algorithm.done; $jscomp$key$algorithm = $jscomp$iter$28.next()) {
- var algorithm$jscomp$0 = $jscomp$key$algorithm.value, name = algorithm$jscomp$0.name.replace(/^algorithms\//, "");
- internalAlgorithms[name] = convertAlgorithm(algorithm$jscomp$0);
+ }, internalAlgorithms = {}, $jscomp$iter$35 = $jscomp.makeIterator(result.algorithms || []), $jscomp$key$algorithm = $jscomp$iter$35.next(); !$jscomp$key$algorithm.done; $jscomp$key$algorithm = $jscomp$iter$35.next()) {
+ var algorithm = $jscomp$key$algorithm.value, name = algorithm.name.replace(/^algorithms\//, "");
+ internalAlgorithms[name] = convertAlgorithm(algorithm);
}
return internalAlgorithms;
};
@@ -18404,16 +18247,16 @@ ee.rpc_convert.assetToLegacyResult = function(result) {
result.startTime && (properties["system:time_start"] = Date.parse(result.startTime));
result.endTime && (properties["system:time_end"] = Date.parse(result.endTime));
result.geometry && (properties["system:footprint"] = result.geometry);
- "string" === typeof result.title && (properties["system:title"] = result.title);
- "string" === typeof result.description && (properties["system:description"] = result.description);
+ "string" === typeof result.title ? properties["system:title"] = result.title : "string" === typeof properties.title && (properties["system:title"] = properties.title);
+ "string" === typeof result.description ? properties["system:description"] = result.description : "string" === typeof properties.description && (properties["system:description"] = properties.description);
result.updateTime && (asset.version = 1E3 * Date.parse(result.updateTime));
asset.properties = properties;
result.bands && (asset.bands = result.bands.map(function(band) {
- var legacyBand = {id:band.id, crs:band.grid.crsCode, dimensions:void 0, crs_transform:void 0,};
+ var legacyBand = {id:band.id, crs:band.grid.crsCode, dimensions:void 0, crs_transform:void 0};
if (band.grid) {
if (null != band.grid.affineTransform) {
var affine = band.grid.affineTransform;
- legacyBand.crs_transform = [affine.scaleX || 0, affine.shearX || 0, affine.translateX || 0, affine.shearY || 0, affine.scaleY || 0, affine.translateY || 0,];
+ legacyBand.crs_transform = [affine.scaleX || 0, affine.shearX || 0, affine.translateX || 0, affine.shearY || 0, affine.scaleY || 0, affine.translateY || 0];
}
null != band.grid.dimensions && (legacyBand.dimensions = [band.grid.dimensions.width, band.grid.dimensions.height]);
}
@@ -18434,19 +18277,19 @@ ee.rpc_convert.legacyPropertiesToAssetUpdate = function(legacyProperties) {
return (new Date(Number(msec))).toISOString();
}, asNull = function(value) {
return null === value ? module$exports$eeapiclient$domain_object.NULL_VALUE : void 0;
- }, properties = Object.assign({}, legacyProperties), value$jscomp$0, extractValue = function(key) {
- value$jscomp$0 = properties[key];
+ }, properties = Object.assign({}, legacyProperties), value, extractValue = function(key) {
+ value = properties[key];
delete properties[key];
- return value$jscomp$0;
+ return value;
};
- void 0 !== extractValue("system:asset_size") && (asset.sizeBytes = asNull(value$jscomp$0) || String(value$jscomp$0));
- void 0 !== extractValue("system:time_start") && (asset.startTime = asNull(value$jscomp$0) || toTimestamp(value$jscomp$0));
- void 0 !== extractValue("system:time_end") && (asset.endTime = asNull(value$jscomp$0) || toTimestamp(value$jscomp$0));
- void 0 !== extractValue("system:footprint") && (asset.geometry = asNull(value$jscomp$0) || value$jscomp$0);
+ void 0 !== extractValue("system:asset_size") && (asset.sizeBytes = asNull(value) || String(value));
+ void 0 !== extractValue("system:time_start") && (asset.startTime = asNull(value) || toTimestamp(value));
+ void 0 !== extractValue("system:time_end") && (asset.endTime = asNull(value) || toTimestamp(value));
+ void 0 !== extractValue("system:footprint") && (asset.geometry = asNull(value) || value);
extractValue("system:title");
- "string" !== typeof value$jscomp$0 && null !== value$jscomp$0 || null != properties.title || (properties.title = asNull(value$jscomp$0) || value$jscomp$0);
+ "string" !== typeof value && null !== value || null != properties.title || (properties.title = asNull(value) || value);
extractValue("system:description");
- "string" !== typeof value$jscomp$0 && null !== value$jscomp$0 || null != properties.description || (properties.description = asNull(value$jscomp$0) || value$jscomp$0);
+ "string" !== typeof value && null !== value || null != properties.description || (properties.description = asNull(value) || value);
Object.entries(properties).forEach(function($jscomp$destructuring$var40) {
var $jscomp$destructuring$var41 = $jscomp.makeIterator($jscomp$destructuring$var40), key = $jscomp$destructuring$var41.next().value, value = $jscomp$destructuring$var41.next().value;
properties[key] = asNull(value) || value;
@@ -18470,9 +18313,9 @@ ee.rpc_convert.getListToListAssets = function(param) {
param.bbox && (assetsRequest.region = ee.rpc_convert.boundingBoxToGeoJson(param.bbox));
param.region && (assetsRequest.region = param.region);
param.bbox && param.region && console.warn("Multiple request parameters converted to region");
- for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$29 = $jscomp.makeIterator(Object.keys(param).filter(function(k) {
+ for (var allKeys = "id num starttime endtime bbox region".split(" "), $jscomp$iter$36 = $jscomp.makeIterator(Object.keys(param).filter(function(k) {
return !allKeys.includes(k);
- })), $jscomp$key$key = $jscomp$iter$29.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$29.next()) {
+ })), $jscomp$key$key = $jscomp$iter$36.next(); !$jscomp$key$key.done; $jscomp$key$key = $jscomp$iter$36.next()) {
console.warn("Unrecognized key " + $jscomp$key$key.value + " ignored");
}
return ee.rpc_convert.processListImagesParams(assetsRequest);
@@ -18493,7 +18336,7 @@ ee.rpc_convert.iamPolicyToAcl = function(result) {
return email;
}, readersWithAll = bindingMap["roles/viewer"] || [], readers = readersWithAll.filter(function(reader) {
return "allUsers" !== reader;
- }), internalAcl = {owners:(bindingMap["roles/owner"] || []).map(toAcl), writers:(bindingMap["roles/editor"] || []).map(toAcl), readers:readers.map(toAcl),};
+ }), internalAcl = {owners:(bindingMap["roles/owner"] || []).map(toAcl), writers:(bindingMap["roles/editor"] || []).map(toAcl), readers:readers.map(toAcl)};
0 < groups.size && (internalAcl.groups = groups);
readersWithAll.length != readers.length && (internalAcl.all_users_can_read = !0);
return internalAcl;
@@ -18516,12 +18359,12 @@ ee.rpc_convert.aclToIamPolicy = function(acls) {
isDomain(email) ? prefix = "domain:" : isGroup(email) ? prefix = "group:" : isServiceAccount(email) && (prefix = "serviceAccount:");
return prefix + email;
});
- }, all = acls.all_users_can_read ? ["allUsers"] : [], bindings = [{role:"roles/owner", members:asMembers("owners")}, {role:"roles/viewer", members:asMembers("readers").concat(all)}, {role:"roles/editor", members:asMembers("writers")},].map(function(params) {
+ }, all = acls.all_users_can_read ? ["allUsers"] : [], bindings = [{role:"roles/owner", members:asMembers("owners")}, {role:"roles/viewer", members:asMembers("readers").concat(all)}, {role:"roles/editor", members:asMembers("writers")}].map(function(params) {
return new module$exports$eeapiclient$ee_api_client.Binding(params);
});
return new module$exports$eeapiclient$ee_api_client.Policy({bindings:bindings.filter(function(binding) {
return binding.members.length;
- }), etag:null,});
+ }), etag:null});
};
ee.rpc_convert.taskIdToOperationName = function(operationNameOrTaskId) {
return "projects/" + ee.rpc_convert.operationNameToProject(operationNameOrTaskId) + "/operations/" + ee.rpc_convert.operationNameToTaskId(operationNameOrTaskId);
@@ -18566,6 +18409,7 @@ ee.rpc_convert.operationToTask = function(result) {
internalTask.task_type = metadata.type || "UNKNOWN";
internalTask.output_url = metadata.destinationUris;
internalTask.source_url = metadata.scriptUri;
+ null != metadata.batchEecuUsageSeconds && (internalTask.batch_eecu_usage_seconds = metadata.batchEecuUsageSeconds);
return internalTask;
};
ee.rpc_convert.operationToProcessingResponse = function(operation) {
@@ -18666,7 +18510,7 @@ ee.rpc_convert.folderQuotaToAssetQuotaDetails = function(quota) {
var toNumber = function(field) {
return Number(field || 0);
};
- return {asset_count:{usage:toNumber(quota.assetCount), limit:toNumber(quota.maxAssets),}, asset_size:{usage:toNumber(quota.sizeBytes), limit:toNumber(quota.maxSizeBytes),}};
+ return {asset_count:{usage:toNumber(quota.assetCount), limit:toNumber(quota.maxAssets)}, asset_size:{usage:toNumber(quota.sizeBytes), limit:toNumber(quota.maxSizeBytes)}};
};
ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
var queryStrings = [], toISOString = function(dateStr) {
@@ -18695,7 +18539,7 @@ ee.rpc_convert.parseFilterParamsFromListImages_ = function(params) {
})) {
throw Error('Filter parameter "properties" must be an array of strings');
}
- for (var $jscomp$iter$30 = $jscomp.makeIterator(params.properties), $jscomp$key$propertyQuery = $jscomp$iter$30.next(); !$jscomp$key$propertyQuery.done; $jscomp$key$propertyQuery = $jscomp$iter$30.next()) {
+ for (var $jscomp$iter$37 = $jscomp.makeIterator(params.properties), $jscomp$key$propertyQuery = $jscomp$iter$37.next(); !$jscomp$key$propertyQuery.done; $jscomp$key$propertyQuery = $jscomp$iter$37.next()) {
queryStrings.push($jscomp$key$propertyQuery.value.trim().replace(/^(properties\.)?/, "properties."));
}
delete params.properties;
@@ -18928,6 +18772,7 @@ ee.Serializer = function(opt_isCompound) {
this.encoded_ = {};
this.withHashes_ = [];
this.hashes_ = new WeakMap();
+ this.sourceNodeMap_ = new WeakMap();
this.unboundName = void 0;
};
goog.exportSymbol("ee.Serializer", ee.Serializer);
@@ -19012,16 +18857,26 @@ ee.Serializer.encodeCloudApi = function(obj) {
};
goog.exportSymbol("ee.Serializer.encodeCloudApi", ee.Serializer.encodeCloudApi);
ee.Serializer.encodeCloudApiExpression = function(obj, unboundName) {
- var serializer = new ee.Serializer(!0);
+ return ee.Serializer.encodeCloudApiExpressionWithSerializer(new ee.Serializer(!0), obj, unboundName);
+};
+ee.Serializer.encodeCloudApiExpressionWithSerializer = function(serializer, obj, unboundName) {
serializer.unboundName = unboundName;
return serializer.encodeForCloudApi_(obj);
};
+ee.Serializer.prototype.encodeSourceCodeNodes = function(expression) {
+ var sourceCodeNodes = {}, valueNodes = expression.values, id;
+ for (id in valueNodes) {
+ var sourceFrame = this.sourceNodeMap_.get(valueNodes[id]);
+ sourceCodeNodes[id] = Object.assign({}, sourceFrame);
+ }
+ return sourceCodeNodes;
+};
ee.Serializer.encodeCloudApiPretty = function(obj) {
var encoded = (new ee.Serializer(!1)).encodeForCloudApi_(obj), values = encoded.values, walkObject = function(object) {
if (!goog.isObject(object)) {
return object;
}
- for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$31 = $jscomp.makeIterator(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$ = $jscomp$iter$31.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$31.next()) {
+ for (var ret = Array.isArray(object) ? [] : {}, isNode = object instanceof Object.getPrototypeOf(module$exports$eeapiclient$ee_api_client.ValueNode), $jscomp$iter$38 = $jscomp.makeIterator(Object.entries(isNode ? object.Serializable$values : object)), $jscomp$key$ = $jscomp$iter$38.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$38.next()) {
var $jscomp$destructuring$var43 = $jscomp.makeIterator($jscomp$key$.value), key = $jscomp$destructuring$var43.next().value, val = $jscomp$destructuring$var43.next().value;
isNode ? null !== val && (ret[key] = "functionDefinitionValue" === key && null != val.body ? {argumentNames:val.argumentNames, body:walkObject(values[val.body])} : "functionInvocationValue" === key && null != val.functionReference ? {arguments:module$contents$goog$object_map(val.arguments, walkObject), functionReference:walkObject(values[val.functionReference])} : "constantValue" === key ? val === module$exports$eeapiclient$domain_object.NULL_VALUE ?
null : val : walkObject(val)) : ret[key] = walkObject(val);
@@ -19042,7 +18897,7 @@ goog.exportSymbol("ee.Serializer.toReadableCloudApiJSON", ee.Serializer.toReadab
ee.Serializer.prototype.encodeForCloudApi_ = function(obj) {
try {
var result = this.makeReference(obj);
- return (new ExpressionOptimizer(result, this.scope_, this.isCompound_)).optimize();
+ return (new ExpressionOptimizer(result, this.scope_, this.isCompound_, this.sourceNodeMap_)).optimize();
} finally {
this.hashes_ = new WeakMap(), this.encoded_ = {}, this.scope_ = [];
}
@@ -19068,7 +18923,9 @@ ee.Serializer.prototype.makeReference = function(obj) {
return makeRef(ee.rpc_node.functionByName("Date", {value:ee.rpc_node.constant(Math.floor(obj.getTime()))}));
}
if (obj instanceof ee.Encodable) {
- return makeRef(obj.encodeCloudValue(this));
+ var value = obj.encodeCloudValue(this), sourceFrame = obj.getSourceFrame();
+ null !== sourceFrame && this.sourceNodeMap_.set(value, sourceFrame);
+ return makeRef(value);
}
if (Array.isArray(obj)) {
return makeRef(ee.rpc_node.array(obj.map(function(x) {
@@ -19084,7 +18941,7 @@ ee.Serializer.prototype.makeReference = function(obj) {
}
throw Error("Can't encode object: " + obj);
};
-var ExpressionOptimizer = function(rootReference, values, isCompound) {
+var ExpressionOptimizer = function(rootReference, values, isCompound, sourceNodeMap) {
var $jscomp$this = this;
this.rootReference = rootReference;
this.values = {};
@@ -19095,10 +18952,11 @@ var ExpressionOptimizer = function(rootReference, values, isCompound) {
this.optimizedValues = {};
this.referenceMap = {};
this.nextMappedRef = 0;
+ this.sourceNodeMap = sourceNodeMap;
};
ExpressionOptimizer.prototype.optimize = function() {
var result = this.optimizeReference(this.rootReference);
- return new module$exports$eeapiclient$ee_api_client.Expression({result:result, values:this.optimizedValues,});
+ return new module$exports$eeapiclient$ee_api_client.Expression({result:result, values:this.optimizedValues});
};
ExpressionOptimizer.prototype.optimizeReference = function(ref) {
if (ref in this.referenceMap) {
@@ -19114,40 +18972,52 @@ ExpressionOptimizer.prototype.optimizeValue = function(value, depth) {
return null !== v.constantValue;
}, serializeConst = function(v) {
return v === module$exports$eeapiclient$domain_object.NULL_VALUE ? null : v;
+ }, storeInSourceMap = function(parentValue, valueNode) {
+ $jscomp$this.sourceNodeMap && $jscomp$this.sourceNodeMap.has(parentValue) && !$jscomp$this.sourceNodeMap.has(valueNode) && $jscomp$this.sourceNodeMap.set(valueNode, $jscomp$this.sourceNodeMap.get(parentValue));
+ return valueNode;
};
if (isConst(value) || null != value.integerValue || null != value.bytesValue || null != value.argumentReference) {
return value;
}
if (null != value.valueReference) {
- var val = this.values[value.valueReference];
- return null === this.referenceCounts || 50 > depth && 1 === this.referenceCounts[value.valueReference] ? this.optimizeValue(val, depth) : ExpressionOptimizer.isAlwaysLiftable(val) ? val : ee.rpc_node.reference(this.optimizeReference(value.valueReference));
+ var referencedValue = this.values[value.valueReference];
+ if (null === this.referenceCounts || 50 > depth && 1 === this.referenceCounts[value.valueReference]) {
+ var optimized = this.optimizeValue(referencedValue, depth);
+ return storeInSourceMap(value, optimized);
+ }
+ if (ExpressionOptimizer.isAlwaysLiftable(referencedValue)) {
+ return storeInSourceMap(value, referencedValue);
+ }
+ var optimized$jscomp$0 = ee.rpc_node.reference(this.optimizeReference(value.valueReference));
+ return storeInSourceMap(value, optimized$jscomp$0);
}
if (null != value.arrayValue) {
var arr = value.arrayValue.values.map(function(v) {
return $jscomp$this.optimizeValue(v, depth + 3);
- });
- return arr.every(isConst) ? ee.rpc_node.constant(arr.map(function(v) {
+ }), optimized$jscomp$1 = arr.every(isConst) ? ee.rpc_node.constant(arr.map(function(v) {
return serializeConst(v.constantValue);
})) : ee.rpc_node.array(arr);
+ return storeInSourceMap(value, optimized$jscomp$1);
}
if (null != value.dictionaryValue) {
- for (var values = {}, constantValues = {}, $jscomp$iter$32 = $jscomp.makeIterator(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$ = $jscomp$iter$32.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$32.next()) {
- var $jscomp$destructuring$var45 = $jscomp.makeIterator($jscomp$key$.value), k = $jscomp$destructuring$var45.next().value, v$jscomp$0 = $jscomp$destructuring$var45.next().value;
- values[k] = this.optimizeValue(v$jscomp$0, depth + 3);
+ for (var values = {}, constantValues = {}, $jscomp$iter$39 = $jscomp.makeIterator(Object.entries(value.dictionaryValue.values || {})), $jscomp$key$ = $jscomp$iter$39.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$39.next()) {
+ var $jscomp$destructuring$var45 = $jscomp.makeIterator($jscomp$key$.value), k = $jscomp$destructuring$var45.next().value, v = $jscomp$destructuring$var45.next().value;
+ values[k] = this.optimizeValue(v, depth + 3);
null !== constantValues && isConst(values[k]) ? constantValues[k] = serializeConst(values[k].constantValue) : constantValues = null;
}
- return null !== constantValues ? ee.rpc_node.constant(constantValues) : ee.rpc_node.dictionary(values);
+ return null !== constantValues ? storeInSourceMap(value, ee.rpc_node.constant(constantValues)) : storeInSourceMap(values, ee.rpc_node.dictionary(values));
}
if (null != value.functionDefinitionValue) {
- var def = value.functionDefinitionValue;
- return ee.rpc_node.functionDefinition(def.argumentNames || [], this.optimizeReference(def.body || ""));
+ var def = value.functionDefinitionValue, optimized$jscomp$2 = ee.rpc_node.functionDefinition(def.argumentNames || [], this.optimizeReference(def.body || ""));
+ return storeInSourceMap(value, optimized$jscomp$2);
}
if (null != value.functionInvocationValue) {
- for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$33 = $jscomp.makeIterator(Object.keys(inv.arguments || {})), $jscomp$key$k = $jscomp$iter$33.next(); !$jscomp$key$k.done; $jscomp$key$k = $jscomp$iter$33.next()) {
- var k$63 = $jscomp$key$k.value;
- args[k$63] = this.optimizeValue(inv.arguments[k$63], depth + 3);
+ for (var inv = value.functionInvocationValue, args = {}, $jscomp$iter$40 = $jscomp.makeIterator(Object.keys(inv.arguments || {})), $jscomp$key$k = $jscomp$iter$40.next(); !$jscomp$key$k.done; $jscomp$key$k = $jscomp$iter$40.next()) {
+ var k$jscomp$0 = $jscomp$key$k.value;
+ args[k$jscomp$0] = this.optimizeValue(inv.arguments[k$jscomp$0], depth + 3);
}
- return inv.functionName ? ee.rpc_node.functionByName(inv.functionName, args) : ee.rpc_node.functionByReference(this.optimizeReference(inv.functionReference || ""), args);
+ var optimized$jscomp$3 = inv.functionName ? ee.rpc_node.functionByName(inv.functionName, args) : ee.rpc_node.functionByReference(this.optimizeReference(inv.functionReference || ""), args);
+ return storeInSourceMap(value, optimized$jscomp$3);
}
throw Error("Can't optimize value: " + value);
};
@@ -19177,7 +19047,7 @@ ExpressionOptimizer.prototype.countReferences = function() {
return counts;
};
ee.rpc_convert_batch = {};
-ee.rpc_convert_batch.ExportDestination = {DRIVE:"DRIVE", GCS:"GOOGLE_CLOUD_STORAGE", ASSET:"ASSET", FEATURE_VIEW:"FEATURE_VIEW", BIGQUERY:"BIGQUERY",};
+ee.rpc_convert_batch.ExportDestination = {DRIVE:"DRIVE", GCS:"GOOGLE_CLOUD_STORAGE", ASSET:"ASSET", FEATURE_VIEW:"FEATURE_VIEW", BIGQUERY:"BIGQUERY"};
ee.rpc_convert_batch.taskToExportImageRequest = function(params) {
if (null == params.element) {
throw Error('"element" not found in params ' + params);
@@ -19253,8 +19123,7 @@ ee.rpc_convert_batch.taskToExportClassifierRequest = function(params) {
if (destination != ee.rpc_convert_batch.ExportDestination.ASSET) {
throw Error('Export destination "' + destination + '" unknown');
}
- return new module$exports$eeapiclient$ee_api_client.ExportClassifierRequest({expression:ee.Serializer.encodeCloudApiExpression(params.element), description:stringOrNull_(params.description), requestId:stringOrNull_(params.id), assetExportOptions:new module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions({earthEngineDestination:ee.rpc_convert_batch.buildEarthEngineDestination_(params)}), maxWorkers:numberOrNull_(params.maxWorkers),
- });
+ return new module$exports$eeapiclient$ee_api_client.ExportClassifierRequest({expression:ee.Serializer.encodeCloudApiExpression(params.element), description:stringOrNull_(params.description), requestId:stringOrNull_(params.id), assetExportOptions:new module$exports$eeapiclient$ee_api_client.ClassifierAssetExportOptions({earthEngineDestination:ee.rpc_convert_batch.buildEarthEngineDestination_(params)}), maxWorkers:numberOrNull_(params.maxWorkers)});
};
function stringOrNull_(value) {
return null != value ? String(value) : null;
@@ -19262,6 +19131,9 @@ function stringOrNull_(value) {
function numberOrNull_(value) {
return null != value ? Number(value) : null;
}
+function noDataOrNull_(value) {
+ return null != value ? new module$exports$eeapiclient$ee_api_client.Number({floatValue:Number(value)}) : null;
+}
ee.rpc_convert_batch.guessDestination_ = function(params) {
var destination = ee.rpc_convert_batch.ExportDestination.DRIVE;
if (null == params) {
@@ -19276,11 +19148,11 @@ ee.rpc_convert_batch.buildGeoTiffFormatOptions_ = function(params) {
throw Error('Export cannot set both "fileDimensions" and "tiffFileDimensions".');
}
var tileSize = params.tiffShardSize || params.shardSize;
- return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize),});
+ return new module$exports$eeapiclient$ee_api_client.GeoTiffImageExportOptions({cloudOptimized:!!params.tiffCloudOptimized, skipEmptyFiles:!(!params.skipEmptyTiles && !params.tiffSkipEmptyFiles), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.fileDimensions || params.tiffFileDimensions), tileSize:numberOrNull_(tileSize), noData:noDataOrNull_(params.tiffNoData)});
};
ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
var tfRecordOptions = new module$exports$eeapiclient$ee_api_client.TfRecordImageExportOptions({compress:!!params.tfrecordCompressed, maxSizeBytes:stringOrNull_(params.tfrecordMaxFileSize), sequenceData:!!params.tfrecordSequenceData, collapseBands:!!params.tfrecordCollapseBands, maxMaskedRatio:numberOrNull_(params.tfrecordMaskedThreshold), defaultValue:numberOrNull_(params.tfrecordDefaultValue), tileDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordPatchDimensions),
- marginDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordKernelSize), tensorDepths:null,}), tensorDepths = params.tfrecordTensorDepths;
+ marginDimensions:ee.rpc_convert_batch.buildGridDimensions_(params.tfrecordKernelSize), tensorDepths:null}), tensorDepths = params.tfrecordTensorDepths;
if (null != tensorDepths) {
if (goog.isObject(tensorDepths)) {
var result = {};
@@ -19298,7 +19170,7 @@ ee.rpc_convert_batch.buildTfRecordFormatOptions_ = function(params) {
return tfRecordOptions;
};
ee.rpc_convert_batch.buildImageFileExportOptions_ = function(params, destination) {
- var result = new module$exports$eeapiclient$ee_api_client.ImageFileExportOptions({cloudStorageDestination:null, driveDestination:null, geoTiffOptions:null, tfRecordOptions:null, fileFormat:ee.rpc_convert.fileFormat(params.fileFormat),});
+ var result = new module$exports$eeapiclient$ee_api_client.ImageFileExportOptions({cloudStorageDestination:null, driveDestination:null, geoTiffOptions:null, tfRecordOptions:null, fileFormat:ee.rpc_convert.fileFormat(params.fileFormat)});
"GEO_TIFF" === result.fileFormat ? result.geoTiffOptions = ee.rpc_convert_batch.buildGeoTiffFormatOptions_(params) : "TF_RECORD_IMAGE" === result.fileFormat && (result.tfRecordOptions = ee.rpc_convert_batch.buildTfRecordFormatOptions_(params));
destination === ee.rpc_convert_batch.ExportDestination.GCS ? result.cloudStorageDestination = ee.rpc_convert_batch.buildCloudStorageDestination_(params) : result.driveDestination = ee.rpc_convert_batch.buildDriveDestination_(params);
return result;
@@ -19307,14 +19179,14 @@ ee.rpc_convert_batch.buildImageAssetExportOptions_ = function(params) {
var allPolicies = params.pyramidingPolicy || {};
try {
allPolicies = JSON.parse(allPolicies);
- } catch ($jscomp$unused$catch) {
+ } catch ($jscomp$unused$catch$m1946089996$0) {
}
var defaultPyramidingPolicy = "PYRAMIDING_POLICY_UNSPECIFIED";
"string" === typeof allPolicies ? (defaultPyramidingPolicy = allPolicies, allPolicies = {}) : allPolicies[".default"] && (defaultPyramidingPolicy = allPolicies[".default"], delete allPolicies[".default"]);
- return new module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions({earthEngineDestination:ee.rpc_convert_batch.buildEarthEngineDestination_(params), pyramidingPolicy:defaultPyramidingPolicy, pyramidingPolicyOverrides:module$contents$goog$object_isEmpty(allPolicies) ? null : allPolicies, tileSize:numberOrNull_(params.shardSize),});
+ return new module$exports$eeapiclient$ee_api_client.ImageAssetExportOptions({earthEngineDestination:ee.rpc_convert_batch.buildEarthEngineDestination_(params), pyramidingPolicy:defaultPyramidingPolicy, pyramidingPolicyOverrides:module$contents$goog$object_isEmpty(allPolicies) ? null : allPolicies, tileSize:numberOrNull_(params.shardSize)});
};
ee.rpc_convert_batch.buildTableFileExportOptions_ = function(params, destination) {
- var result = new module$exports$eeapiclient$ee_api_client.TableFileExportOptions({cloudStorageDestination:null, driveDestination:null, fileFormat:ee.rpc_convert.tableFileFormat(params.fileFormat),});
+ var result = new module$exports$eeapiclient$ee_api_client.TableFileExportOptions({cloudStorageDestination:null, driveDestination:null, fileFormat:ee.rpc_convert.tableFileFormat(params.fileFormat)});
destination === ee.rpc_convert_batch.ExportDestination.GCS ? result.cloudStorageDestination = ee.rpc_convert_batch.buildCloudStorageDestination_(params) : result.driveDestination = ee.rpc_convert_batch.buildDriveDestination_(params);
return result;
};
@@ -19322,26 +19194,26 @@ ee.rpc_convert_batch.buildTableAssetExportOptions_ = function(params) {
return new module$exports$eeapiclient$ee_api_client.TableAssetExportOptions({earthEngineDestination:ee.rpc_convert_batch.buildEarthEngineDestination_(params)});
};
ee.rpc_convert_batch.buildFeatureViewExportOptions_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions({featureViewDestination:ee.rpc_convert_batch.buildFeatureViewDestination_(params), ingestionTimeParameters:ee.rpc_convert_batch.buildFeatureViewIngestionTimeParameters_(params),});
+ return new module$exports$eeapiclient$ee_api_client.FeatureViewAssetExportOptions({featureViewDestination:ee.rpc_convert_batch.buildFeatureViewDestination_(params), ingestionTimeParameters:ee.rpc_convert_batch.buildFeatureViewIngestionTimeParameters_(params)});
};
ee.rpc_convert_batch.buildBigQueryExportOptions_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.BigQueryExportOptions({bigqueryDestination:ee.rpc_convert_batch.buildBigQueryDestination_(params),});
+ return new module$exports$eeapiclient$ee_api_client.BigQueryExportOptions({bigqueryDestination:ee.rpc_convert_batch.buildBigQueryDestination_(params)});
};
ee.rpc_convert_batch.buildVideoFileExportOptions_ = function(params, destination) {
- var result = new module$exports$eeapiclient$ee_api_client.VideoFileExportOptions({cloudStorageDestination:null, driveDestination:null, fileFormat:"MP4",});
+ var result = new module$exports$eeapiclient$ee_api_client.VideoFileExportOptions({cloudStorageDestination:null, driveDestination:null, fileFormat:"MP4"});
destination === ee.rpc_convert_batch.ExportDestination.GCS ? result.cloudStorageDestination = ee.rpc_convert_batch.buildCloudStorageDestination_(params) : result.driveDestination = ee.rpc_convert_batch.buildDriveDestination_(params);
return result;
};
ee.rpc_convert_batch.buildVideoOptions_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:numberOrNull_(params.framesPerSecond), maxFrames:numberOrNull_(params.maxFrames), maxPixelsPerFrame:stringOrNull_(params.maxPixels),});
+ return new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:numberOrNull_(params.framesPerSecond), maxFrames:numberOrNull_(params.maxFrames), maxPixelsPerFrame:stringOrNull_(params.maxPixels)});
};
ee.rpc_convert_batch.buildVideoMapOptions_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:numberOrNull_(params.framesPerSecond), maxFrames:numberOrNull_(params.maxFrames), maxPixelsPerFrame:null,});
+ return new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:numberOrNull_(params.framesPerSecond), maxFrames:numberOrNull_(params.maxFrames), maxPixelsPerFrame:null});
};
ee.rpc_convert_batch.buildTileOptions_ = function(params) {
var $jscomp$nullish$tmp1, $jscomp$nullish$tmp2, $jscomp$nullish$tmp3, $jscomp$nullish$tmp4;
return new module$exports$eeapiclient$ee_api_client.TileOptions({endZoom:numberOrNull_(null != ($jscomp$nullish$tmp1 = params.endZoom) ? $jscomp$nullish$tmp1 : params.maxZoom), startZoom:numberOrNull_(null != ($jscomp$nullish$tmp2 = params.startZoom) ? $jscomp$nullish$tmp2 : params.minZoom), scale:numberOrNull_(params.scale), skipEmpty:!(null != ($jscomp$nullish$tmp3 = params.skipEmpty) ? !$jscomp$nullish$tmp3 : !params.skipEmptyTiles), mapsApiKey:stringOrNull_(params.mapsApiKey),
- dimensions:ee.rpc_convert_batch.buildGridDimensions_(null != ($jscomp$nullish$tmp4 = params.dimensions) ? $jscomp$nullish$tmp4 : params.tileDimensions), stride:numberOrNull_(params.stride), zoomSubset:ee.rpc_convert_batch.buildZoomSubset_(numberOrNull_(params.minTimeMachineZoomSubset), numberOrNull_(params.maxTimeMachineZoomSubset)),});
+ dimensions:ee.rpc_convert_batch.buildGridDimensions_(null != ($jscomp$nullish$tmp4 = params.dimensions) ? $jscomp$nullish$tmp4 : params.tileDimensions), stride:numberOrNull_(params.stride), zoomSubset:ee.rpc_convert_batch.buildZoomSubset_(numberOrNull_(params.minTimeMachineZoomSubset), numberOrNull_(params.maxTimeMachineZoomSubset))});
};
ee.rpc_convert_batch.buildZoomSubset_ = function(start, end) {
return null == start && null == end ? null : new module$exports$eeapiclient$ee_api_client.ZoomSubset({start:null != start ? start : 0, end:end});
@@ -19374,10 +19246,10 @@ ee.rpc_convert_batch.buildGridDimensions_ = function(dimensions) {
ee.rpc_convert_batch.buildCloudStorageDestination_ = function(params) {
var permissions = null;
null != params.writePublicTiles && (permissions = params.writePublicTiles ? "PUBLIC" : "DEFAULT_OBJECT_ACL");
- return new module$exports$eeapiclient$ee_api_client.CloudStorageDestination({bucket:stringOrNull_(params.outputBucket), filenamePrefix:stringOrNull_(params.outputPrefix), bucketCorsUris:params.bucketCorsUris || null, permissions:permissions,});
+ return new module$exports$eeapiclient$ee_api_client.CloudStorageDestination({bucket:stringOrNull_(params.outputBucket), filenamePrefix:stringOrNull_(params.outputPrefix), bucketCorsUris:params.bucketCorsUris || null, permissions:permissions});
};
ee.rpc_convert_batch.buildDriveDestination_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix),});
+ return new module$exports$eeapiclient$ee_api_client.DriveDestination({folder:stringOrNull_(params.driveFolder), filenamePrefix:stringOrNull_(params.driveFileNamePrefix)});
};
ee.rpc_convert_batch.buildEarthEngineDestination_ = function(params) {
return new module$exports$eeapiclient$ee_api_client.EarthEngineDestination({name:ee.rpc_convert.assetIdToAssetName(params.assetId)});
@@ -19386,7 +19258,7 @@ ee.rpc_convert_batch.buildFeatureViewDestination_ = function(params) {
return new module$exports$eeapiclient$ee_api_client.FeatureViewDestination({name:ee.rpc_convert.assetIdToAssetName(params.mapName)});
};
ee.rpc_convert_batch.buildBigQueryDestination_ = function(params) {
- return new module$exports$eeapiclient$ee_api_client.BigQueryDestination({table:stringOrNull_(params.table), overwrite:!!params.overwrite,});
+ return new module$exports$eeapiclient$ee_api_client.BigQueryDestination({table:stringOrNull_(params.table), overwrite:!!params.overwrite, append:!!params.append});
};
ee.rpc_convert_batch.buildFeatureViewIngestionTimeParameters_ = function(params) {
return new module$exports$eeapiclient$ee_api_client.FeatureViewIngestionTimeParameters({thinningOptions:ee.rpc_convert_batch.buildThinningOptions_(params), rankingOptions:ee.rpc_convert_batch.buildRankingOptions_(params)});
@@ -19395,7 +19267,7 @@ ee.rpc_convert_batch.buildThinningOptions_ = function(params) {
return null == params ? null : new module$exports$eeapiclient$ee_api_client.ThinningOptions({maxFeaturesPerTile:numberOrNull_(params.maxFeaturesPerTile), thinningStrategy:params.thinningStrategy});
};
ee.rpc_convert_batch.buildRankingOptions_ = function(params) {
- return null == params ? null : new module$exports$eeapiclient$ee_api_client.RankingOptions({zOrderRankingRule:ee.rpc_convert_batch.buildRankingRule_(params.zOrderRanking), thinningRankingRule:ee.rpc_convert_batch.buildRankingRule_(params.thinningRanking),});
+ return null == params ? null : new module$exports$eeapiclient$ee_api_client.RankingOptions({zOrderRankingRule:ee.rpc_convert_batch.buildRankingRule_(params.zOrderRanking), thinningRankingRule:ee.rpc_convert_batch.buildRankingRule_(params.thinningRanking)});
};
ee.rpc_convert_batch.buildRankingRule_ = function(rules) {
if (!rules) {
@@ -19404,12 +19276,12 @@ ee.rpc_convert_batch.buildRankingRule_ = function(rules) {
var originalRules = rules;
"string" === typeof rules && (rules = rules.split(","));
if (Array.isArray(rules)) {
- return new module$exports$eeapiclient$ee_api_client.RankingRule({rankByOneThingRule:(rules || []).map(ee.rpc_convert_batch.buildRankByOneThingRule_),});
+ return new module$exports$eeapiclient$ee_api_client.RankingRule({rankByOneThingRule:(rules || []).map(ee.rpc_convert_batch.buildRankByOneThingRule_)});
}
throw Error("Unable to build ranking rule from rules: " + JSON.stringify(originalRules) + ". Rules should either be a comma-separated string or list of strings.");
};
ee.rpc_convert_batch.buildRankByOneThingRule_ = function(ruleString) {
- var rankByOneThingRule = new module$exports$eeapiclient$ee_api_client.RankByOneThingRule({direction:null, rankByAttributeRule:null, rankByMinZoomLevelRule:null, rankByGeometryTypeRule:null,});
+ var rankByOneThingRule = new module$exports$eeapiclient$ee_api_client.RankByOneThingRule({direction:null, rankByAttributeRule:null, rankByMinZoomLevelRule:null, rankByGeometryTypeRule:null});
ruleString = ruleString.trim();
var matches = ruleString.match(/^([\S]+.*)\s+(ASC|DESC)$/);
if (null == matches) {
@@ -19493,7 +19365,7 @@ ee.data.authenticateViaPrivateKey = function(privateKey, opt_success, opt_error,
var jwtClient = new google.auth.JWT(privateKey.client_email, null, privateKey.private_key, scopes, null);
ee.data.setAuthTokenRefresher(function(authArgs, callback) {
jwtClient.authorize(function(error, token) {
- error ? callback({error:error}) : callback({access_token:token.access_token, token_type:token.token_type, expires_in:(token.expiry_date - Date.now()) / 1E3,});
+ error ? callback({error:error}) : callback({access_token:token.access_token, token_type:token.token_type, expires_in:(token.expiry_date - Date.now()) / 1E3});
});
});
ee.data.refreshAuthToken(opt_success, opt_error);
@@ -19537,6 +19409,9 @@ ee.data.getAlgorithms = function(opt_callback) {
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.algorithms().list(call.projectsPath(), {prettyPrint:!1}).then(ee.rpc_convert.algorithms));
};
+ee.data.getSourceFrame = function() {
+ return null == ee.data.sourceFrameGenerator_ ? null : ee.data.sourceFrameGenerator_();
+};
ee.data.getMapId = function(params, opt_callback) {
if ("string" === typeof params.image) {
throw Error("Image as JSON string not supported.");
@@ -19544,7 +19419,7 @@ ee.data.getMapId = function(params, opt_callback) {
if (void 0 !== params.version) {
throw Error("Image version specification not supported.");
}
- var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params),}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ var map = new module$exports$eeapiclient$ee_api_client.EarthEngineMap({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params)}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.maps().create(call.projectsPath(), map, queryParams).then(function(response) {
@@ -19566,7 +19441,7 @@ ee.data.makeMapId_ = function(mapid, token, opt_urlFormat) {
if (!urlFormat) {
module$contents$ee$apiclient_apiclient.initialize();
var base = module$contents$ee$apiclient_apiclient.getTileBaseUrl();
- urlFormat = token ? base + "/map/" + mapid + "/{z}/{x}/{y}?token=" + token : base + "/" + module$exports$ee$apiVersion.V1ALPHA + "/" + mapid + "/tiles/{z}/{x}/{y}";
+ urlFormat = token ? base + "/map/" + mapid + "/{z}/{x}/{y}?token=" + token : base + "/" + module$exports$ee$apiVersion.V1 + "/" + mapid + "/tiles/{z}/{x}/{y}";
}
return {mapid:mapid, token:token, formatTileUrl:function(x, y, z) {
var width = Math.pow(2, z);
@@ -19576,11 +19451,11 @@ ee.data.makeMapId_ = function(mapid, token, opt_urlFormat) {
}, urlFormat:urlFormat};
};
ee.data.getFeatureViewTilesKey = function(params, opt_callback) {
- var visualizationExpression = params.visParams ? ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.visParams)) : null, map = new module$exports$eeapiclient$ee_api_client.FeatureView({name:null, asset:params.assetId, mapName:params.mapName, visualizationExpression:visualizationExpression,}), call = new module$contents$ee$apiclient_Call(opt_callback);
+ var visualizationExpression = params.visParams ? ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.visParams)) : null, map = new module$exports$eeapiclient$ee_api_client.FeatureView({name:null, asset:params.assetId, mapName:params.mapName, visualizationExpression:visualizationExpression}), call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.featureView().create(call.projectsPath(), map, {fields:["name"]}).then(function(response) {
var token = response.name.split("/").pop(), rawTilesKey = token.substring(0, token.lastIndexOf("-"));
return {token:token, formatTileUrl:function(x, y, z) {
- return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1ALPHA + "/" + response.name + "/tiles/" + z + "/" + x + "/" + y;
+ return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1 + "/" + response.name + "/tiles/" + z + "/" + x + "/" + y;
}, rawTilesKey:rawTilesKey};
}));
};
@@ -19591,7 +19466,9 @@ ee.data.listFeatures = function(asset, params, opt_callback) {
};
goog.exportSymbol("ee.data.listFeatures", ee.data.listFeatures);
ee.data.computeValue = function(obj, opt_callback) {
- var request = {expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(obj))}, workloadTag = ee.data.getWorkloadTag();
+ var serializer = new ee.Serializer(!0), expression = ee.Serializer.encodeCloudApiExpressionWithSerializer(serializer, obj, void 0), extraMetadata = {}, sourceCodeNodes = serializer.encodeSourceCodeNodes(expression);
+ Object.keys(sourceCodeNodes).length && (extraMetadata = {__source_code_nodes__:sourceCodeNodes});
+ var request = {expression:ee.data.expressionAugmenter_(expression, extraMetadata)}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (request.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.value().compute(call.projectsPath(), new module$exports$eeapiclient$ee_api_client.ComputeValueRequest(request)).then(function(x) {
@@ -19612,7 +19489,7 @@ ee.data.getThumbId = function(params, opt_callback) {
if (void 0 !== params.dimensions) {
throw Error('"dimensions" is not supported in call to ee.data.getThumbId. Use ee.Image.getThumbURL.');
}
- var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ var thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:ee.rpc_convert.bandList(params.bands), visualizationOptions:ee.rpc_convert.visualizationOptions(params), grid:null}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
@@ -19621,8 +19498,8 @@ ee.data.getThumbId = function(params, opt_callback) {
};
goog.exportSymbol("ee.data.getThumbId", ee.data.getThumbId);
ee.data.getVideoThumbId = function(params, opt_callback) {
- var videoOptions = new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:params.framesPerSecond || null, maxFrames:params.maxFrames || null, maxPixelsPerFrame:params.maxPixelsPerFrame || null,}), request = new module$exports$eeapiclient$ee_api_client.VideoThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format),
- videoOptions:videoOptions, grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ var videoOptions = new module$exports$eeapiclient$ee_api_client.VideoOptions({framesPerSecond:params.framesPerSecond || null, maxFrames:params.maxFrames || null, maxPixelsPerFrame:params.maxPixelsPerFrame || null}), request = new module$exports$eeapiclient$ee_api_client.VideoThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format),
+ videoOptions:videoOptions, grid:null}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.videoThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
@@ -19631,7 +19508,7 @@ ee.data.getVideoThumbId = function(params, opt_callback) {
};
goog.exportSymbol("ee.data.getVideoThumbId", ee.data.getVideoThumbId);
ee.data.getFilmstripThumbId = function(params, opt_callback) {
- var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ var request = new module$exports$eeapiclient$ee_api_client.FilmstripThumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(params.imageCollection)), fileFormat:ee.rpc_convert.fileFormat(params.format), orientation:ee.rpc_convert.orientation(params.orientation), grid:null}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.filmstripThumbnails().create(call.projectsPath(), request, queryParams).then(function(response) {
@@ -19640,7 +19517,7 @@ ee.data.getFilmstripThumbId = function(params, opt_callback) {
};
goog.exportSymbol("ee.data.getFilmstripThumbId", ee.data.getFilmstripThumbId);
ee.data.makeThumbUrl = function(id) {
- return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1ALPHA + "/" + id.thumbid + ":getPixels";
+ return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1 + "/" + id.thumbid + ":getPixels";
};
goog.exportSymbol("ee.data.makeThumbUrl", ee.data.makeThumbUrl);
ee.data.getDownloadId = function(params, opt_callback) {
@@ -19681,12 +19558,12 @@ ee.data.getDownloadId = function(params, opt_callback) {
if ("string" === typeof params.crs_transform) {
try {
params.crs_transform = JSON.parse(params.crs_transform);
- } catch (e$64) {
+ } catch (e) {
}
}
var image = ee.data.images.buildDownloadIdImage(params.image, params), thumbnail = new module$exports$eeapiclient$ee_api_client.Thumbnail({name:null, expression:ee.data.expressionAugmenter_(ee.Serializer.encodeCloudApiExpression(image)), fileFormat:ee.rpc_convert.fileFormat(params.format), filenamePrefix:params.name, bandIds:params.bands && ee.rpc_convert.bandList(params.bands.map(function(band) {
return band.id;
- })), grid:null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ })), grid:null}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.thumbnails().create(call.projectsPath(), thumbnail, queryParams).then(function(response) {
@@ -19696,7 +19573,7 @@ ee.data.getDownloadId = function(params, opt_callback) {
goog.exportSymbol("ee.data.getDownloadId", ee.data.getDownloadId);
ee.data.makeDownloadUrl = function(id) {
module$contents$ee$apiclient_apiclient.initialize();
- return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1ALPHA + "/" + id.docid + ":getPixels";
+ return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1 + "/" + id.docid + ":getPixels";
};
goog.exportSymbol("ee.data.makeDownloadUrl", ee.data.makeDownloadUrl);
ee.data.getTableDownloadId = function(params, opt_callback) {
@@ -19712,7 +19589,7 @@ ee.data.getTableDownloadId = function(params, opt_callback) {
throw Error("'selectors' parameter must be an array of strings.");
}
}
- var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null,}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
+ var table = new module$exports$eeapiclient$ee_api_client.Table({name:null, expression:expression, fileFormat:fileFormat, selectors:selectors, filename:params.filename || null}), queryParams = {fields:"name"}, workloadTag = ee.data.getWorkloadTag();
workloadTag && (queryParams.workloadTag = workloadTag);
return call.handle(call.tables().create(call.projectsPath(), table, queryParams).then(function(res) {
return {docid:res.name || "", token:""};
@@ -19720,7 +19597,7 @@ ee.data.getTableDownloadId = function(params, opt_callback) {
};
goog.exportSymbol("ee.data.getTableDownloadId", ee.data.getTableDownloadId);
ee.data.makeTableDownloadUrl = function(id) {
- return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1ALPHA + "/" + id.docid + ":getFeatures";
+ return module$contents$ee$apiclient_apiclient.getTileBaseUrl() + "/" + module$exports$ee$apiVersion.V1 + "/" + id.docid + ":getFeatures";
};
goog.exportSymbol("ee.data.makeTableDownloadUrl", ee.data.makeTableDownloadUrl);
ee.data.newTaskId = function(opt_count, opt_callback) {
@@ -19736,16 +19613,19 @@ ee.data.newTaskId = function(opt_count, opt_callback) {
return opt_callback ? opt_callback(uuids) : uuids;
};
goog.exportSymbol("ee.data.newTaskId", ee.data.newTaskId);
+ee.data.isOperationError_ = function(response) {
+ return response.name && response.done && response.error;
+};
ee.data.getTaskStatus = function(taskId, opt_callback) {
var opNames = ee.data.makeStringArray_(taskId).map(ee.rpc_convert.taskIdToOperationName);
if (1 === opNames.length) {
- var call$66 = new module$contents$ee$apiclient_Call(opt_callback);
- return call$66.handle(call$66.operations().get(opNames[0]).then(function(op) {
+ var call = (new module$contents$ee$apiclient_Call(opt_callback)).withDetectPartialError(ee.data.isOperationError_);
+ return call.handle(call.operations().get(opNames[0]).then(function(op) {
return [ee.rpc_convert.operationToTask(op)];
}));
}
- var call = new module$contents$ee$apiclient_BatchCall(opt_callback), operations = call.operations();
- return call.send(opNames.map(function(op) {
+ var call$jscomp$0 = (new module$contents$ee$apiclient_BatchCall(opt_callback)).withDetectPartialError(ee.data.isOperationError_), operations = call$jscomp$0.operations();
+ return call$jscomp$0.send(opNames.map(function(op) {
return [op, operations.get(op)];
}), function(data) {
return opNames.map(function(id) {
@@ -19792,13 +19672,13 @@ ee.data.listOperations = function(opt_limit, opt_callback) {
};
goog.exportSymbol("ee.data.listOperations", ee.data.listOperations);
ee.data.cancelOperation = function(operationName, opt_callback) {
- var opNames = ee.data.makeStringArray_(operationName), request = new module$exports$eeapiclient$ee_api_client.CancelOperationRequest();
+ var opNames = ee.data.makeStringArray_(operationName).map(ee.rpc_convert.taskIdToOperationName), request = new module$exports$eeapiclient$ee_api_client.CancelOperationRequest();
if (1 === opNames.length) {
- var call$67 = new module$contents$ee$apiclient_Call(opt_callback);
- call$67.handle(call$67.operations().cancel(opNames[0], request));
+ var call = new module$contents$ee$apiclient_Call(opt_callback);
+ call.handle(call.operations().cancel(opNames[0], request));
} else {
- var call = new module$contents$ee$apiclient_BatchCall(opt_callback), operations = call.operations();
- call.send(opNames.map(function(op) {
+ var call$jscomp$0 = new module$contents$ee$apiclient_BatchCall(opt_callback), operations = call$jscomp$0.operations();
+ call$jscomp$0.send(opNames.map(function(op) {
return [op, operations.cancel(op, request)];
}));
}
@@ -19807,11 +19687,11 @@ goog.exportSymbol("ee.data.cancelOperation", ee.data.cancelOperation);
ee.data.getOperation = function(operationName, opt_callback) {
var opNames = ee.data.makeStringArray_(operationName).map(ee.rpc_convert.taskIdToOperationName);
if (!Array.isArray(operationName)) {
- var call$68 = new module$contents$ee$apiclient_Call(opt_callback);
- return call$68.handle(call$68.operations().get(opNames[0]));
+ var call = (new module$contents$ee$apiclient_Call(opt_callback)).withDetectPartialError(ee.data.isOperationError_);
+ return call.handle(call.operations().get(opNames[0]));
}
- var call = new module$contents$ee$apiclient_BatchCall(opt_callback), operations = call.operations();
- return call.send(opNames.map(function(op) {
+ var call$jscomp$0 = (new module$contents$ee$apiclient_BatchCall(opt_callback)).withDetectPartialError(ee.data.isOperationError_), operations = call$jscomp$0.operations();
+ return call$jscomp$0.send(opNames.map(function(op) {
return [op, operations.get(op)];
}));
};
@@ -19901,7 +19781,7 @@ ee.data.prepareExportVideoMapRequest_ = function(taskConfig, metadata) {
};
ee.data.prepareExportClassifierRequest_ = function(taskConfig, metadata) {
var classifierRequest = ee.rpc_convert_batch.taskToExportClassifierRequest(taskConfig);
- classifierRequest.expression = ee.data.expressionAugmenter_(classifierRequest.expression);
+ classifierRequest.expression = ee.data.expressionAugmenter_(classifierRequest.expression, metadata);
taskConfig.workloadTag && (classifierRequest.workloadTag = taskConfig.workloadTag);
return classifierRequest;
};
@@ -19915,11 +19795,11 @@ ee.data.startIngestion = function(taskId, request, opt_callback) {
};
goog.exportSymbol("ee.data.startIngestion", ee.data.startIngestion);
ee.data.ingestImage = function(taskId, imageManifest, callback) {
- var request = new module$exports$eeapiclient$ee_api_client.ImportImageRequest({imageManifest:imageManifest, requestId:taskId, overwrite:null, description:null,}), call = new module$contents$ee$apiclient_Call(callback, taskId ? void 0 : 0);
+ var request = new module$exports$eeapiclient$ee_api_client.ImportImageRequest({imageManifest:imageManifest, requestId:taskId, overwrite:null, description:null}), call = new module$contents$ee$apiclient_Call(callback, taskId ? void 0 : 0);
return call.handle(call.image().import(call.projectsPath(), request));
};
ee.data.ingestTable = function(taskId, tableManifest, callback) {
- var request = new module$exports$eeapiclient$ee_api_client.ImportTableRequest({tableManifest:tableManifest, requestId:taskId, overwrite:null, description:null,}), call = new module$contents$ee$apiclient_Call(callback, taskId ? void 0 : 0);
+ var request = new module$exports$eeapiclient$ee_api_client.ImportTableRequest({tableManifest:tableManifest, requestId:taskId, overwrite:null, description:null}), call = new module$contents$ee$apiclient_Call(callback, taskId ? void 0 : 0);
return call.handle(call.table().import(call.projectsPath(), request));
};
ee.data.startTableIngestion = function(taskId, request, opt_callback) {
@@ -19931,6 +19811,14 @@ ee.data.startTableIngestion = function(taskId, request, opt_callback) {
}));
};
goog.exportSymbol("ee.data.startTableIngestion", ee.data.startTableIngestion);
+ee.data.withSourceFrame = function(sourceFrameHook, body, thisObject) {
+ var saved = ee.data.sourceFrameGenerator_;
+ try {
+ return ee.data.sourceFrameGenerator_ = sourceFrameHook, body.call(thisObject);
+ } finally {
+ ee.data.sourceFrameGenerator_ = saved;
+ }
+};
ee.data.getAsset = function(id, opt_callback) {
var call = new module$contents$ee$apiclient_Call(opt_callback), name = ee.rpc_convert.assetIdToAssetName(id);
return call.handle(call.assets().get(name, {prettyPrint:!1}).then(ee.rpc_convert.assetToLegacyResult));
@@ -20000,10 +19888,23 @@ ee.data.createAsset = function(value, opt_path, opt_force, opt_properties, opt_c
if (-1 === split) {
throw Error("Asset name must contain /assets/.");
}
+ value = Object.assign({}, value);
+ value.tilestoreEntry && !value.tilestoreLocation && (value.tilestoreLocation = value.tilestoreEntry, delete value.tilestoreEntry);
+ value.tilestoreLocation && (value.tilestoreLocation = new module$exports$eeapiclient$ee_api_client.TilestoreLocation(value.tilestoreLocation));
+ value.gcsLocation && !value.cloudStorageLocation && (value.cloudStorageLocation = value.gcsLocation, delete value.gcsLocation);
+ value.cloudStorageLocation && (value.cloudStorageLocation = new module$exports$eeapiclient$ee_api_client.CloudStorageLocation(value.cloudStorageLocation));
+ opt_properties && !value.properties && (value.properties = Object.assign({}, opt_properties));
+ for (var $jscomp$iter$41 = $jscomp.makeIterator(["title", "description"]), $jscomp$key$prop = $jscomp$iter$41.next(); !$jscomp$key$prop.done; $jscomp$key$prop = $jscomp$iter$41.next()) {
+ var prop = $jscomp$key$prop.value;
+ if (value[prop]) {
+ var $jscomp$compprop17 = {};
+ value.properties = Object.assign(($jscomp$compprop17[prop] = value[prop], $jscomp$compprop17), value.properties || {});
+ delete value[prop];
+ }
+ }
var asset = new module$exports$eeapiclient$ee_api_client.EarthEngineAsset(value), parent = name.slice(0, split), assetId = name.slice(split + 8);
asset.id = null;
asset.name = null;
- opt_properties && !asset.properties && (asset.properties = opt_properties);
asset.type = ee.rpc_convert.assetTypeForCreate(asset.type);
var call = new module$contents$ee$apiclient_Call(opt_callback);
return call.handle(call.assets().create(parent, asset, {assetId:assetId}).then(ee.rpc_convert.assetToLegacyResult));
@@ -20099,8 +20000,8 @@ ee.data.WorkloadTag.prototype.validate = function(tag) {
return "";
}
tag = String(tag);
- if (!/^([a-z0-9]|[a-z0-9][-_\.a-z0-9]{0,61}[a-z0-9])$/g.test(tag)) {
- throw Error('Invalid tag, "' + tag + '". Tags must be 1-63 characters, beginning and ending with a lowercase alphanumeric character([a-z0-9]) with dashes (-), underscores (_), dots (.), andlowercase alphanumerics between.');
+ if (!/^([a-z0-9]|[a-z0-9][-_a-z0-9]{0,61}[a-z0-9])$/g.test(tag)) {
+ throw Error('Invalid tag, "' + tag + '". Tags must be 1-63 characters, beginning and ending with a lowercase alphanumeric character ([a-z0-9]) with dashes (-), underscores (_), and lowercase alphanumerics between.');
}
return tag;
};
@@ -20127,9 +20028,9 @@ ee.data.resetWorkloadTag = function(opt_resetDefault) {
goog.exportSymbol("ee.data.resetWorkloadTag", ee.data.resetWorkloadTag);
ee.data.AssetType = {ALGORITHM:"Algorithm", CLASSIFIER:"Classifier", FEATURE_VIEW:"FeatureView", FOLDER:"Folder", FEATURE_COLLECTION:"FeatureCollection", IMAGE:"Image", IMAGE_COLLECTION:"ImageCollection", TABLE:"Table", UNKNOWN:"Unknown"};
ee.data.ExportType = {IMAGE:"EXPORT_IMAGE", MAP:"EXPORT_TILES", TABLE:"EXPORT_FEATURES", VIDEO:"EXPORT_VIDEO", VIDEO_MAP:"EXPORT_VIDEO_MAP", CLASSIFIER:"EXPORT_CLASSIFIER"};
-ee.data.ExportState = {UNSUBMITTED:"UNSUBMITTED", READY:"READY", RUNNING:"RUNNING", COMPLETED:"COMPLETED", FAILED:"FAILED", CANCEL_REQUESTED:"CANCEL_REQUESTED", CANCELLED:"CANCELLED",};
-ee.data.ExportDestination = {DRIVE:"DRIVE", GCS:"GOOGLE_CLOUD_STORAGE", ASSET:"ASSET", FEATURE_VIEW:"FEATURE_VIEW", BIGQUERY:"BIGQUERY",};
-ee.data.ThinningStrategy = {GLOBALLY_CONSISTENT:"GLOBALLY_CONSISTENT", HIGHER_DENSITY:"HIGHER_DENSITY",};
+ee.data.ExportState = {UNSUBMITTED:"UNSUBMITTED", READY:"READY", RUNNING:"RUNNING", COMPLETED:"COMPLETED", FAILED:"FAILED", CANCEL_REQUESTED:"CANCEL_REQUESTED", CANCELLED:"CANCELLED"};
+ee.data.ExportDestination = {DRIVE:"DRIVE", GCS:"GOOGLE_CLOUD_STORAGE", ASSET:"ASSET", FEATURE_VIEW:"FEATURE_VIEW", BIGQUERY:"BIGQUERY"};
+ee.data.ThinningStrategy = {GLOBALLY_CONSISTENT:"GLOBALLY_CONSISTENT", HIGHER_DENSITY:"HIGHER_DENSITY"};
ee.data.SystemPropertyPrefix = "system:";
ee.data.SystemTimeProperty = {START:"system:time_start", END:"system:time_end"};
ee.data.SYSTEM_ASSET_SIZE_PROPERTY = "system:asset_size";
@@ -20148,6 +20049,7 @@ ee.data.AssetQuotaEntry = function() {
};
ee.data.AssetQuotaDetails = function() {
};
+ee.data.sourceFrameGenerator_ = null;
ee.data.FeatureViewDescription = function() {
};
ee.data.FolderDescription = function() {
@@ -20247,9 +20149,13 @@ ee.ComputedObject = function(func, args, opt_varName) {
this.func = func;
this.args = args;
this.varName = opt_varName || null;
+ this.sourceFrame = ee.data.getSourceFrame();
};
goog.inherits(ee.ComputedObject, ee.Encodable);
goog.exportSymbol("ee.ComputedObject", ee.ComputedObject);
+ee.ComputedObject.prototype.getSourceFrame = function() {
+ return this.sourceFrame;
+};
ee.ComputedObject.prototype.evaluate = function(callback) {
if (!callback || "function" !== typeof callback) {
throw Error("evaluate() requires a callback function.");
@@ -20281,9 +20187,9 @@ ee.ComputedObject.prototype.encodeCloudValue = function(serializer) {
}
return ee.rpc_node.argumentReference(name);
}
- var encodedArgs = {}, name$69;
- for (name$69 in this.args) {
- void 0 !== this.args[name$69] && (encodedArgs[name$69] = ee.rpc_node.reference(serializer.makeReference(this.args[name$69])));
+ var encodedArgs = {}, name$jscomp$0;
+ for (name$jscomp$0 in this.args) {
+ void 0 !== this.args[name$jscomp$0] && (encodedArgs[name$jscomp$0] = ee.rpc_node.reference(serializer.makeReference(this.args[name$jscomp$0])));
}
return "string" === typeof this.func ? ee.rpc_node.functionByName(String(this.func), encodedArgs) : this.func.encodeCloudInvocation(serializer, encodedArgs);
};
@@ -20574,14 +20480,14 @@ ee.ApiFunction.importApi = function(target, prefix, typeName, opt_prepend) {
}
});
};
-ee.ApiFunction.clearApi = function(target$jscomp$0) {
+ee.ApiFunction.clearApi = function(target) {
var clear = function(target) {
for (var name in target) {
"function" === typeof target[name] && target[name].signature && delete target[name];
}
};
- clear(target$jscomp$0);
- clear(target$jscomp$0.prototype || {});
+ clear(target);
+ clear(target.prototype || {});
};
ee.arguments = {};
ee.arguments.extractFromFunction = function(fn, originalArgs) {
@@ -20793,10 +20699,15 @@ ee.Geometry.BBox = function(west, south, east, north) {
if (!(this instanceof ee.Geometry.BBox)) {
return ee.Geometry.createInstance_(ee.Geometry.BBox, arguments);
}
+ var args = ee.arguments.extractFromFunction(ee.Geometry.BBox, arguments);
+ west = args.west;
+ south = args.south;
+ east = args.east;
+ north = args.north;
var coordinates = [west, south, east, north];
if (ee.Geometry.hasServerValue_(coordinates)) {
- var $jscomp$spread$args6;
- return ($jscomp$spread$args6 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args6, $jscomp.arrayFromIterable(coordinates));
+ var $jscomp$spread$args12;
+ return ($jscomp$spread$args12 = new ee.ApiFunction("GeometryConstructors.BBox")).call.apply($jscomp$spread$args12, $jscomp.arrayFromIterable(coordinates));
}
if (!(Infinity > west)) {
throw Error("Geometry.BBox: west must not be " + west);
@@ -20813,7 +20724,7 @@ ee.Geometry.BBox = function(west, south, east, north) {
south = Math.max(south, -90);
north = Math.min(north, 90);
360 <= east - west ? (west = -180, east = 180) : (west = ee.Geometry.canonicalizeLongitude_(west), east = ee.Geometry.canonicalizeLongitude_(east), east < west && (east += 360));
- ee.Geometry.call(this, {type:"Polygon", coordinates:[[[west, north], [west, south], [east, south], [east, north]]],}, void 0, !1, !0);
+ ee.Geometry.call(this, {type:"Polygon", coordinates:[[[west, north], [west, south], [east, south], [east, north]]]}, void 0, !1, !0);
};
goog.inherits(ee.Geometry.BBox, ee.Geometry.Rectangle);
goog.exportProperty(ee.Geometry, "BBox", ee.Geometry.BBox);
@@ -21318,7 +21229,7 @@ ee.data.images.bboxToGeometry = function(bbox) {
if ("string" === typeof bbox) {
try {
bboxArray = JSON.parse(bbox);
- } catch ($jscomp$unused$catch) {
+ } catch ($jscomp$unused$catch$m1198758050$0) {
bboxArray = bbox.split(/\s*,\s*/).map(Number);
}
}
@@ -21582,9 +21493,9 @@ goog.exportProperty(ee.Image.prototype, "select", ee.Image.prototype.select);
ee.Image.prototype.expression = function(expression, opt_map) {
var originalArgs = ee.arguments.extractFromFunction(ee.Image.prototype.expression, arguments), vars = ["DEFAULT_EXPRESSION_IMAGE"], eeArgs = {DEFAULT_EXPRESSION_IMAGE:this};
if (originalArgs.map) {
- var map = originalArgs.map, name$jscomp$0;
- for (name$jscomp$0 in map) {
- vars.push(name$jscomp$0), eeArgs[name$jscomp$0] = new ee.Image(map[name$jscomp$0]);
+ var map = originalArgs.map, name;
+ for (name in map) {
+ vars.push(name), eeArgs[name] = new ee.Image(map[name]);
}
}
var body = ee.ApiFunction._call("Image.parseExpression", originalArgs.expression, "DEFAULT_EXPRESSION_IMAGE", vars), func = new ee.Function();
@@ -21794,7 +21705,7 @@ ee.ImageCollection.prototype.getVideoThumbURL = function(params, opt_callback) {
return ee.ImageCollection.prototype.getThumbURL_(this, args, ["gif"], ee.ImageCollection.ThumbTypes.VIDEO, opt_callback);
};
goog.exportProperty(ee.ImageCollection.prototype, "getVideoThumbURL", ee.ImageCollection.prototype.getVideoThumbURL);
-ee.ImageCollection.ThumbTypes = {FILMSTRIP:"filmstrip", VIDEO:"video", IMAGE:"image",};
+ee.ImageCollection.ThumbTypes = {FILMSTRIP:"filmstrip", VIDEO:"video", IMAGE:"image"};
ee.ImageCollection.prototype.getThumbURL_ = function(collection, args, validFormats, opt_thumbType, opt_callback) {
var extraParams = {}, clippedCollection = collection.map(function(image) {
var projected = ee.data.images.applyCrsAndTransform(image, args.params);
@@ -21884,19 +21795,21 @@ module$contents$ee$batch_ExportTask.create = function(exportArgs) {
module$contents$ee$batch_ExportTask.prototype.start = function(opt_success, opt_error) {
var $jscomp$this = this;
goog.asserts.assert(this.config_, "Task config must be specified for tasks to be started.");
+ this.id = this.id || ee.data.newTaskId(1)[0];
+ goog.asserts.assertString(this.id, "Failed to obtain task ID.");
if (opt_success) {
- var startProcessing = function() {
- goog.asserts.assertString($jscomp$this.id);
- ee.data.startProcessing($jscomp$this.id, $jscomp$this.config_, function(_, error) {
- error ? opt_error(error) : opt_success();
- });
- };
- this.id ? startProcessing() : ee.data.newTaskId(1, function(ids) {
- var id = ids && ids[0];
- id ? ($jscomp$this.id = id, startProcessing()) : opt_error("Failed to obtain task ID.");
+ ee.data.startProcessing(this.id, this.config_, function(response, error) {
+ if (error) {
+ opt_error(error);
+ } else {
+ var $jscomp$nullish$tmp7;
+ $jscomp$this.id = null != ($jscomp$nullish$tmp7 = response.taskId) ? $jscomp$nullish$tmp7 : null;
+ opt_success();
+ }
});
} else {
- this.id = this.id || ee.data.newTaskId(1)[0], goog.asserts.assertString(this.id, "Failed to obtain task ID."), ee.data.startProcessing(this.id, this.config_);
+ var $jscomp$nullish$tmp6;
+ this.id = null != ($jscomp$nullish$tmp6 = ee.data.startProcessing(this.id, this.config_).taskId) ? $jscomp$nullish$tmp6 : null;
}
};
goog.exportProperty(module$contents$ee$batch_ExportTask.prototype, "start", module$contents$ee$batch_ExportTask.prototype.start);
@@ -21942,10 +21855,11 @@ module$contents$ee$batch_Export.table.toFeatureView = function(collection, opt_d
return module$contents$ee$batch_ExportTask.create(serverConfig);
};
goog.exportSymbol("module$contents$ee$batch_Export.table.toFeatureView", module$contents$ee$batch_Export.table.toFeatureView);
-module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_selectors, opt_maxVertices) {
+module$contents$ee$batch_Export.table.toBigQuery = function(collection, opt_description, opt_table, opt_overwrite, opt_append, opt_selectors, opt_maxVertices) {
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.table.toBigQuery, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.BIGQUERY, ee.data.ExportType.TABLE);
return module$contents$ee$batch_ExportTask.create(serverConfig);
};
+goog.exportSymbol("module$contents$ee$batch_Export.table.toBigQuery", module$contents$ee$batch_Export.table.toBigQuery);
module$contents$ee$batch_Export.video.toCloudStorage = function(collection, opt_description, opt_bucket, opt_fileNamePrefix, opt_framesPerSecond, opt_dimensions, opt_region, opt_scale, opt_crs, opt_crsTransform, opt_maxPixels, opt_maxFrames) {
var clientConfig = ee.arguments.extractFromFunction(module$contents$ee$batch_Export.video.toCloudStorage, arguments), serverConfig = module$contents$ee$batch_Export.convertToServerParams(clientConfig, ee.data.ExportDestination.GCS, ee.data.ExportType.VIDEO);
return module$contents$ee$batch_ExportTask.create(serverConfig);
@@ -22118,8 +22032,8 @@ module$contents$ee$batch_Export.videoMap.prepareTaskConfig_ = function(taskConfi
module$contents$ee$batch_Export.classifier.prepareTaskConfig_ = function(taskConfig, destination) {
return taskConfig = module$contents$ee$batch_Export.prepareDestination_(taskConfig, destination);
};
-var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9",}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG",}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE",}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE",}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2",}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
-{GEO_TIFF:["cloudOptimized", "fileDimensions", "shardSize",], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
+var module$contents$ee$batch_VideoFormat = {MP4:"MP4", GIF:"GIF", VP9:"VP9"}, module$contents$ee$batch_MapFormat = {AUTO_JPEG_PNG:"AUTO_JPEG_PNG", JPEG:"JPEG", PNG:"PNG"}, module$contents$ee$batch_ImageFormat = {GEO_TIFF:"GEO_TIFF", TF_RECORD_IMAGE:"TF_RECORD_IMAGE"}, module$contents$ee$batch_TableFormat = {CSV:"CSV", GEO_JSON:"GEO_JSON", KML:"KML", KMZ:"KMZ", SHP:"SHP", TF_RECORD_TABLE:"TF_RECORD_TABLE"}, module$contents$ee$batch_VideoMapVersion = {V1:"V1", V2:"V2"}, module$contents$ee$batch_FORMAT_OPTIONS_MAP =
+{GEO_TIFF:["cloudOptimized", "fileDimensions", "noData", "shardSize"], TF_RECORD_IMAGE:"patchDimensions kernelSize compressed maxFileSize defaultValue tensorDepths sequenceData collapseBands maskedThreshold".split(" ")}, module$contents$ee$batch_FORMAT_PREFIX_MAP = {GEO_TIFF:"tiff", TF_RECORD_IMAGE:"tfrecord"};
module$contents$ee$batch_Export.reconcileVideoFormat_ = function(taskConfig) {
taskConfig.videoOptions = taskConfig.framesPerSecond || 5;
taskConfig.maxFrames = taskConfig.maxFrames || 1E3;
@@ -22238,13 +22152,13 @@ module$contents$ee$batch_Export.prefixImageFormatOptions_ = function(taskConfig,
})) {
throw Error("Parameter specified at least twice: once in config, and once in config format options.");
}
- for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$34 = $jscomp.makeIterator(Object.entries(formatOptions)), $jscomp$key$ = $jscomp$iter$34.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$34.next()) {
- var $jscomp$destructuring$var50 = $jscomp.makeIterator($jscomp$key$.value), key$jscomp$0 = $jscomp$destructuring$var50.next().value, value = $jscomp$destructuring$var50.next().value;
- if (!module$contents$goog$array_contains(validOptionKeys, key$jscomp$0)) {
+ for (var prefix = module$contents$ee$batch_FORMAT_PREFIX_MAP[imageFormat], validOptionKeys = module$contents$ee$batch_FORMAT_OPTIONS_MAP[imageFormat], prefixedOptions = {}, $jscomp$iter$42 = $jscomp.makeIterator(Object.entries(formatOptions)), $jscomp$key$ = $jscomp$iter$42.next(); !$jscomp$key$.done; $jscomp$key$ = $jscomp$iter$42.next()) {
+ var $jscomp$destructuring$var50 = $jscomp.makeIterator($jscomp$key$.value), key = $jscomp$destructuring$var50.next().value, value = $jscomp$destructuring$var50.next().value;
+ if (!module$contents$goog$array_contains(validOptionKeys, key)) {
var validKeysMsg = validOptionKeys.join(", ");
- throw Error('"' + key$jscomp$0 + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
+ throw Error('"' + key + '" is not a valid option, the image format "' + imageFormat + '""may have the following options: ' + (validKeysMsg + '".'));
}
- var prefixedKey = prefix + key$jscomp$0[0].toUpperCase() + key$jscomp$0.substring(1);
+ var prefixedKey = prefix + key[0].toUpperCase() + key.substring(1);
Array.isArray(value) ? prefixedOptions[prefixedKey] = value.join() : prefixedOptions[prefixedKey] = value;
}
return prefixedOptions;
@@ -22360,7 +22274,7 @@ ee.CustomFunction.prototype.encodeCloudInvocation = function(serializer, args) {
ee.CustomFunction.prototype.getSignature = function() {
return this.signature_;
};
-ee.CustomFunction.variable = function(type, name$jscomp$0) {
+ee.CustomFunction.variable = function(type, name) {
type = type || Object;
if (!(type.prototype instanceof ee.ComputedObject)) {
if (type && type != Object) {
@@ -22382,7 +22296,7 @@ ee.CustomFunction.variable = function(type, name$jscomp$0) {
this.varName = name;
};
klass.prototype = type.prototype;
- return new klass(name$jscomp$0);
+ return new klass(name);
};
ee.CustomFunction.create = function(func, returnType, arg_types) {
var stringifyType = function(type) {
@@ -22408,8 +22322,8 @@ ee.CustomFunction.resolveNamelessArgs_ = function(signature, vars, body) {
return node.functionDefinitionValue ? 1 : node.arrayValue ? countNodes(node.arrayValue.values) : node.dictionaryValue ? countNodes(Object.values(node.dictionaryValue.values)) : node.functionInvocationValue ? countNodes(Object.values(node.functionInvocationValue.arguments)) : 0;
};
return countNodes(Object.values(expression.values));
- }(ee.Serializer.encodeCloudApiExpression(body.apply(null, vars), "")) + "_", i$70 = 0; i$70 < namelessArgIndices.length; i$70++) {
- var index = namelessArgIndices[i$70], name = baseName + i$70;
+ }(ee.Serializer.encodeCloudApiExpression(body.apply(null, vars), "")) + "_", i$jscomp$0 = 0; i$jscomp$0 < namelessArgIndices.length; i$jscomp$0++) {
+ var index = namelessArgIndices[i$jscomp$0], name = baseName + i$jscomp$0;
vars[index].varName = name;
signature.args[index].name = name;
}
@@ -22560,9 +22474,9 @@ ee.Deserializer.roundTrip_ = function(node, value) {
};
return new Reencoder();
};
-ee.Deserializer.invocation_ = function(func, args$jscomp$0) {
+ee.Deserializer.invocation_ = function(func, args) {
if (func instanceof ee.Function) {
- return func.apply(args$jscomp$0);
+ return func.apply(args);
}
if (func instanceof ee.ComputedObject) {
var ComputedFunction = function() {
@@ -22575,7 +22489,7 @@ ee.Deserializer.invocation_ = function(func, args$jscomp$0) {
ComputedFunction.prototype.encodeCloudInvocation = function(serializer, args) {
return ee.rpc_node.functionByReference(serializer.makeReference(func), args);
};
- return new ee.ComputedObject(new ComputedFunction(), args$jscomp$0);
+ return new ee.ComputedObject(new ComputedFunction(), args);
}
throw Error("Invalid function value");
};
@@ -22979,12 +22893,12 @@ module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.ha
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.getSummaryList = function() {
var $jscomp$this = this, summaryList = [];
this.statsByZoom_.forEach(function(stats, zoom) {
- return summaryList.push({layerId:$jscomp$this.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount,});
+ return summaryList.push({layerId:$jscomp$this.uniqueId_, zoomLevel:zoom, tileLatencies:stats.tileLatencies, throttleCount:stats.throttleCount, errorCount:stats.errorCount});
});
return summaryList;
};
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.prototype.getStatsForZoom_ = function(zoom) {
- this.statsByZoom_.has(zoom) || this.statsByZoom_.set(zoom, {throttleCount:0, errorCount:0, tileLatencies:[],});
+ this.statsByZoom_.has(zoom) || this.statsByZoom_.set(zoom, {throttleCount:0, errorCount:0, tileLatencies:[]});
return this.statsByZoom_.get(zoom);
};
module$contents$ee$layers$AbstractOverlayStats_AbstractOverlayStats.LayerStatsForZoomLevel = function() {
@@ -23108,10 +23022,10 @@ goog.fs.Error.getNameFromCode_ = function(code) {
goog.fs.Error.getCodeFromName_ = function(name) {
return goog.fs.Error.NameToCodeMap_[name];
};
-var $jscomp$compprop11 = {};
-goog.fs.Error.NameToCodeMap_ = ($jscomp$compprop11[goog.fs.Error.ErrorName.ABORT] = goog.fs.Error.ErrorCode.ABORT, $jscomp$compprop11[goog.fs.Error.ErrorName.ENCODING] = goog.fs.Error.ErrorCode.ENCODING, $jscomp$compprop11[goog.fs.Error.ErrorName.INVALID_MODIFICATION] = goog.fs.Error.ErrorCode.INVALID_MODIFICATION, $jscomp$compprop11[goog.fs.Error.ErrorName.INVALID_STATE] = goog.fs.Error.ErrorCode.INVALID_STATE, $jscomp$compprop11[goog.fs.Error.ErrorName.NOT_FOUND] = goog.fs.Error.ErrorCode.NOT_FOUND,
-$jscomp$compprop11[goog.fs.Error.ErrorName.NOT_READABLE] = goog.fs.Error.ErrorCode.NOT_READABLE, $jscomp$compprop11[goog.fs.Error.ErrorName.NO_MODIFICATION_ALLOWED] = goog.fs.Error.ErrorCode.NO_MODIFICATION_ALLOWED, $jscomp$compprop11[goog.fs.Error.ErrorName.PATH_EXISTS] = goog.fs.Error.ErrorCode.PATH_EXISTS, $jscomp$compprop11[goog.fs.Error.ErrorName.QUOTA_EXCEEDED] = goog.fs.Error.ErrorCode.QUOTA_EXCEEDED, $jscomp$compprop11[goog.fs.Error.ErrorName.SECURITY] = goog.fs.Error.ErrorCode.SECURITY,
-$jscomp$compprop11[goog.fs.Error.ErrorName.SYNTAX] = goog.fs.Error.ErrorCode.SYNTAX, $jscomp$compprop11[goog.fs.Error.ErrorName.TYPE_MISMATCH] = goog.fs.Error.ErrorCode.TYPE_MISMATCH, $jscomp$compprop11);
+var $jscomp$compprop18 = {};
+goog.fs.Error.NameToCodeMap_ = ($jscomp$compprop18[goog.fs.Error.ErrorName.ABORT] = goog.fs.Error.ErrorCode.ABORT, $jscomp$compprop18[goog.fs.Error.ErrorName.ENCODING] = goog.fs.Error.ErrorCode.ENCODING, $jscomp$compprop18[goog.fs.Error.ErrorName.INVALID_MODIFICATION] = goog.fs.Error.ErrorCode.INVALID_MODIFICATION, $jscomp$compprop18[goog.fs.Error.ErrorName.INVALID_STATE] = goog.fs.Error.ErrorCode.INVALID_STATE, $jscomp$compprop18[goog.fs.Error.ErrorName.NOT_FOUND] = goog.fs.Error.ErrorCode.NOT_FOUND,
+$jscomp$compprop18[goog.fs.Error.ErrorName.NOT_READABLE] = goog.fs.Error.ErrorCode.NOT_READABLE, $jscomp$compprop18[goog.fs.Error.ErrorName.NO_MODIFICATION_ALLOWED] = goog.fs.Error.ErrorCode.NO_MODIFICATION_ALLOWED, $jscomp$compprop18[goog.fs.Error.ErrorName.PATH_EXISTS] = goog.fs.Error.ErrorCode.PATH_EXISTS, $jscomp$compprop18[goog.fs.Error.ErrorName.QUOTA_EXCEEDED] = goog.fs.Error.ErrorCode.QUOTA_EXCEEDED, $jscomp$compprop18[goog.fs.Error.ErrorName.SECURITY] = goog.fs.Error.ErrorCode.SECURITY,
+$jscomp$compprop18[goog.fs.Error.ErrorName.SYNTAX] = goog.fs.Error.ErrorCode.SYNTAX, $jscomp$compprop18[goog.fs.Error.ErrorName.TYPE_MISMATCH] = goog.fs.Error.ErrorCode.TYPE_MISMATCH, $jscomp$compprop18);
goog.fs.ProgressEvent = function(event, target) {
goog.events.Event.call(this, event.type, target);
this.event_ = event;
@@ -24119,7 +24033,7 @@ ee.layers.AbstractOverlay.prototype.getTileCountForStatus_ = function(status) {
goog.exportSymbol("ee.layers.AbstractOverlay", ee.layers.AbstractOverlay);
goog.exportProperty(ee.layers.AbstractOverlay.prototype, "removeTileCallback", ee.layers.AbstractOverlay.prototype.removeTileCallback);
goog.exportProperty(ee.layers.AbstractOverlay.prototype, "addTileCallback", ee.layers.AbstractOverlay.prototype.addTileCallback);
-ee.layers.AbstractOverlay.EventType = {TILE_FAIL:"tile-fail", TILE_ABORT:"tile-abort", TILE_THROTTLE:"tile-throttle", TILE_LOAD:"tile-load", TILE_START:"tile-start",};
+ee.layers.AbstractOverlay.EventType = {TILE_FAIL:"tile-fail", TILE_ABORT:"tile-abort", TILE_THROTTLE:"tile-throttle", TILE_LOAD:"tile-load", TILE_START:"tile-start"};
ee.layers.AbstractOverlay.DEFAULT_TILE_EDGE_LENGTH = 256;
ee.layers.TileLoadEvent = function(loadingTileCount) {
goog.events.Event.call(this, ee.layers.AbstractOverlay.EventType.TILE_LOAD);
@@ -24211,140 +24125,1305 @@ ee.layers.AbstractTile.prototype.retryLoad = function(opt_errorMessage) {
if (error = JSON.parse(error), error.error && error.error.message) {
return error.error.message;
}
- } catch (e) {
+ } catch (e) {
+ }
+ return error;
+ };
+ this.retryAttemptCount_ >= this.maxRetries ? (this.errorMessage_ = parseError(opt_errorMessage), this.setStatus(ee.layers.AbstractTile.Status.FAILED)) : (this.cancelLoad(), setTimeout(goog.bind(function() {
+ this.isDisposed() || (this.isRetrying_ = !0, this.startLoad(), this.isRetrying_ = !1);
+ }, this), 1E3 * Math.pow(2, this.retryAttemptCount_++)));
+};
+ee.layers.AbstractTile.prototype.abort = function() {
+ this.cancelLoad();
+ this.getStatus() != ee.layers.AbstractTile.Status.ABORTED && this.getStatus() != ee.layers.AbstractTile.Status.REMOVED && this.setStatus(this.isDone() ? ee.layers.AbstractTile.Status.REMOVED : ee.layers.AbstractTile.Status.ABORTED);
+};
+ee.layers.AbstractTile.prototype.isDone = function() {
+ return this.status_ in ee.layers.AbstractTile.DONE_STATUS_SET_;
+};
+ee.layers.AbstractTile.prototype.getStatus = function() {
+ return this.status_;
+};
+ee.layers.AbstractTile.prototype.setStatus = function(status) {
+ this.status_ = status;
+ this.dispatchEvent(ee.layers.AbstractTile.EventType.STATUS_CHANGED);
+};
+ee.layers.AbstractTile.prototype.disposeInternal = function() {
+ goog.events.EventTarget.prototype.disposeInternal.call(this);
+ this.cancelLoad();
+ this.div.remove();
+ this.renderer = null;
+};
+ee.layers.AbstractTile.EventType = {STATUS_CHANGED:"status-changed"};
+ee.layers.AbstractTile.Status = {NEW:"new", LOADING:"loading", THROTTLED:"throttled", LOADED:"loaded", FAILED:"failed", ABORTED:"aborted", REMOVED:"removed"};
+ee.layers.AbstractTile.DONE_STATUS_SET_ = module$contents$goog$object_createSet(ee.layers.AbstractTile.Status.ABORTED, ee.layers.AbstractTile.Status.FAILED, ee.layers.AbstractTile.Status.LOADED, ee.layers.AbstractTile.Status.REMOVED);
+ee.layers.AbstractTile.DEFAULT_MAX_LOAD_RETRIES_ = 5;
+var module$exports$ee$layers$AbstractTileSource = function() {
+ goog.Disposable.call(this);
+};
+$jscomp.inherits(module$exports$ee$layers$AbstractTileSource, goog.Disposable);
+ee.layers.BinaryOverlay = function(tileSource, opt_options) {
+ ee.layers.AbstractOverlay.call(this, tileSource, opt_options);
+ this.buffersByCoord_ = new goog.structs.Map();
+ this.divsByCoord_ = new goog.structs.Map();
+};
+$jscomp.inherits(ee.layers.BinaryOverlay, ee.layers.AbstractOverlay);
+ee.layers.BinaryOverlay.prototype.createTile = function(coord, zoom, ownerDocument, uniqueId) {
+ var tile = new ee.layers.BinaryTile(coord, zoom, ownerDocument, uniqueId);
+ this.handler.listen(tile, ee.layers.AbstractTile.EventType.STATUS_CHANGED, function() {
+ tile.getStatus() == ee.layers.AbstractTile.Status.LOADED && (this.buffersByCoord_.set(coord, new Float32Array(tile.buffer_)), this.divsByCoord_.set(coord, tile.div));
+ });
+ return tile;
+};
+ee.layers.BinaryOverlay.prototype.getBuffersByCoord = function() {
+ return this.buffersByCoord_;
+};
+ee.layers.BinaryOverlay.prototype.getDivsByCoord = function() {
+ return this.divsByCoord_;
+};
+ee.layers.BinaryOverlay.prototype.disposeInternal = function() {
+ ee.layers.AbstractOverlay.prototype.disposeInternal.call(this);
+ this.divsByCoord_ = this.buffersByCoord_ = null;
+};
+goog.exportSymbol("ee.layers.BinaryOverlay", ee.layers.BinaryOverlay);
+ee.layers.BinaryTile = function(coord, zoom, ownerDocument, uniqueId) {
+ ee.layers.AbstractTile.call(this, coord, zoom, ownerDocument, uniqueId);
+};
+$jscomp.inherits(ee.layers.BinaryTile, ee.layers.AbstractTile);
+ee.layers.BinaryTile.prototype.finishLoad = function() {
+ var reader = new goog.fs.FileReader();
+ reader.listen(goog.fs.FileReader.EventType.LOAD_END, function() {
+ this.buffer_ = reader.getResult();
+ ee.layers.AbstractTile.prototype.finishLoad.call(this);
+ }, void 0, this);
+ reader.readAsArrayBuffer(this.sourceData);
+};
+goog.net.ImageLoader = function(opt_parent) {
+ goog.events.EventTarget.call(this);
+ this.imageIdToRequestMap_ = {};
+ this.imageIdToImageMap_ = {};
+ this.handler_ = new goog.events.EventHandler(this);
+ this.parent_ = opt_parent;
+ this.completionFired_ = !1;
+};
+goog.inherits(goog.net.ImageLoader, goog.events.EventTarget);
+goog.net.ImageLoader.CorsRequestType = {ANONYMOUS:"anonymous", USE_CREDENTIALS:"use-credentials"};
+goog.net.ImageLoader.IMAGE_LOAD_EVENTS_ = [goog.events.EventType.LOAD, goog.net.EventType.ABORT, goog.net.EventType.ERROR];
+goog.net.ImageLoader.prototype.addImage = function(id, image, opt_corsRequestType) {
+ var src = "string" === typeof image ? image : image.src;
+ src && (this.completionFired_ = !1, this.imageIdToRequestMap_[id] = {src:src, corsRequestType:void 0 !== opt_corsRequestType ? opt_corsRequestType : null});
+};
+goog.net.ImageLoader.prototype.removeImage = function(id) {
+ delete this.imageIdToRequestMap_[id];
+ var image = this.imageIdToImageMap_[id];
+ image && (delete this.imageIdToImageMap_[id], this.handler_.unlisten(image, goog.net.ImageLoader.IMAGE_LOAD_EVENTS_, this.onNetworkEvent_));
+};
+goog.net.ImageLoader.prototype.start = function() {
+ var imageIdToRequestMap = this.imageIdToRequestMap_;
+ module$contents$goog$object_getKeys(imageIdToRequestMap).forEach(function(id) {
+ var imageRequest = imageIdToRequestMap[id];
+ imageRequest && (delete imageIdToRequestMap[id], this.loadImage_(imageRequest, id));
+ }, this);
+};
+goog.net.ImageLoader.prototype.loadImage_ = function(imageRequest, id) {
+ if (!this.isDisposed()) {
+ var image = this.parent_ ? goog.dom.getDomHelper(this.parent_).createDom(goog.dom.TagName.IMG) : new Image();
+ imageRequest.corsRequestType && (image.crossOrigin = imageRequest.corsRequestType);
+ this.handler_.listen(image, goog.net.ImageLoader.IMAGE_LOAD_EVENTS_, this.onNetworkEvent_);
+ this.imageIdToImageMap_[id] = image;
+ image.id = id;
+ image.src = imageRequest.src;
+ }
+};
+goog.net.ImageLoader.prototype.onNetworkEvent_ = function(evt) {
+ var image = evt.currentTarget;
+ if (image) {
+ if (evt.type == goog.net.EventType.READY_STATE_CHANGE) {
+ if (image.readyState == goog.net.EventType.COMPLETE) {
+ evt.type = goog.events.EventType.LOAD;
+ } else {
+ return;
+ }
+ }
+ "undefined" == typeof image.naturalWidth && (evt.type == goog.events.EventType.LOAD ? (image.naturalWidth = image.width, image.naturalHeight = image.height) : (image.naturalWidth = 0, image.naturalHeight = 0));
+ this.removeImage(image.id);
+ this.dispatchEvent({type:evt.type, target:image});
+ this.isDisposed() || this.maybeFireCompletionEvent_();
+ }
+};
+goog.net.ImageLoader.prototype.maybeFireCompletionEvent_ = function() {
+ module$contents$goog$object_isEmpty(this.imageIdToImageMap_) && module$contents$goog$object_isEmpty(this.imageIdToRequestMap_) && !this.completionFired_ && (this.completionFired_ = !0, this.dispatchEvent(goog.net.EventType.COMPLETE));
+};
+goog.net.ImageLoader.prototype.disposeInternal = function() {
+ delete this.imageIdToRequestMap_;
+ delete this.imageIdToImageMap_;
+ module$contents$goog$dispose_dispose(this.handler_);
+ goog.net.ImageLoader.superClass_.disposeInternal.call(this);
+};
+/*
+
+ SPDX-License-Identifier: Apache-2.0
+*/
+var module$exports$safevalues$builders$sensitive_attributes = {}, module$contents$safevalues$builders$sensitive_attributes_module = module$contents$safevalues$builders$sensitive_attributes_module || {id:"third_party/javascript/safevalues/builders/sensitive_attributes.closure.js"};
+module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES = "src srcdoc codebase data href rel action formaction sandbox cite poster icon".split(" ");
+var module$contents$safevalues$environment$dev_module = module$contents$safevalues$environment$dev_module || {id:"third_party/javascript/safevalues/environment/dev.closure.js"};
+var module$exports$safevalues$internals$secrets = {}, module$contents$safevalues$internals$secrets_module = module$contents$safevalues$internals$secrets_module || {id:"third_party/javascript/safevalues/internals/secrets.closure.js"};
+module$exports$safevalues$internals$secrets.secretToken = {};
+function module$contents$safevalues$internals$secrets_ensureTokenIsValid(token) {
+ if (goog.DEBUG && token !== module$exports$safevalues$internals$secrets.secretToken) {
+ throw Error("Bad secret");
+ }
+}
+module$exports$safevalues$internals$secrets.ensureTokenIsValid = module$contents$safevalues$internals$secrets_ensureTokenIsValid;
+var module$exports$safevalues$internals$attribute_impl = {}, module$contents$safevalues$internals$attribute_impl_module = module$contents$safevalues$internals$attribute_impl_module || {id:"third_party/javascript/safevalues/internals/attribute_impl.closure.js"};
+module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix = function() {
+};
+var module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl = function(attrPrefix, token) {
+ module$contents$safevalues$internals$secrets_ensureTokenIsValid(token);
+ this.privateDoNotAccessOrElseWrappedAttrPrefix = attrPrefix;
+};
+$jscomp.inherits(module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl, module$exports$safevalues$internals$attribute_impl.SafeAttributePrefix);
+module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl.prototype.toString = function() {
+ return this.privateDoNotAccessOrElseWrappedAttrPrefix;
+};
+function module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix) {
+ return new module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl(attrPrefix, module$exports$safevalues$internals$secrets.secretToken);
+}
+module$exports$safevalues$internals$attribute_impl.createAttributePrefixInternal = module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal;
+function module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix(value) {
+ if (value instanceof module$contents$safevalues$internals$attribute_impl_AttributePrefixImpl) {
+ return value.privateDoNotAccessOrElseWrappedAttrPrefix;
+ }
+ var message = "";
+ goog.DEBUG && (message = "Unexpected type when unwrapping SafeAttributePrefix");
+ throw Error(message);
+}
+module$exports$safevalues$internals$attribute_impl.unwrapAttributePrefix = module$contents$safevalues$internals$attribute_impl_unwrapAttributePrefix;
+var $jscomp$templatelit$1274514361$0 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$1 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\0"]), $jscomp$templatelit$1274514361$2 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$3 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), $jscomp$templatelit$1274514361$4 = $jscomp.createTemplateTagFirstArg([""]), $jscomp$templatelit$1274514361$5 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"],
+["\\0"]), $jscomp$templatelit$1274514361$6 = $jscomp.createTemplateTagFirstArgWithRaw(["\n"], ["\\n"]), $jscomp$templatelit$1274514361$7 = $jscomp.createTemplateTagFirstArgWithRaw(["\x00"], ["\\u0000"]), module$contents$safevalues$internals$string_literal_module = module$contents$safevalues$internals$string_literal_module || {id:"third_party/javascript/safevalues/internals/string_literal.closure.js"};
+function module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templateObj, numExprs) {
+ if (!module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) || numExprs + 1 !== templateObj.length) {
+ throw new TypeError("\n ############################## ERROR ##############################\n\n It looks like you are trying to call a template tag function (fn`...`)\n using the normal function syntax (fn(...)), which is not supported.\n\n The functions in the safevalues library are not designed to be called\n like normal functions, and doing so invalidates the security guarantees\n that safevalues provides.\n\n If you are stuck and not sure how to proceed, please reach out to us\n instead through:\n - go/ise-hardening-yaqs (preferred) // LINE-INTERNAL\n - g/ise-hardening // LINE-INTERNAL\n - https://github.com/google/safevalues/issues\n\n ############################## ERROR ##############################");
+ }
+}
+function module$contents$safevalues$internals$string_literal_checkFrozen(templateObj) {
+ return Object.isFrozen(templateObj) && Object.isFrozen(templateObj.raw);
+}
+var module$contents$safevalues$internals$string_literal_TagFn;
+function module$contents$safevalues$internals$string_literal_checkTranspiled(fn) {
+ return -1 === fn.toString().indexOf("`");
+}
+var module$contents$safevalues$internals$string_literal_isTranspiled = module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
+ return tag($jscomp$templatelit$1274514361$0);
+}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
+ return tag($jscomp$templatelit$1274514361$1);
+}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
+ return tag($jscomp$templatelit$1274514361$2);
+}) || module$contents$safevalues$internals$string_literal_checkTranspiled(function(tag) {
+ return tag($jscomp$templatelit$1274514361$3);
+}), module$contents$safevalues$internals$string_literal_frozenTSA = module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$4) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$5) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$6) && module$contents$safevalues$internals$string_literal_checkFrozen($jscomp$templatelit$1274514361$7);
+function module$contents$safevalues$internals$string_literal_isTemplateObject(templateObj) {
+ return Array.isArray(templateObj) && Array.isArray(templateObj.raw) && templateObj.length === templateObj.raw.length && (module$contents$safevalues$internals$string_literal_isTranspiled || templateObj !== templateObj.raw) && (module$contents$safevalues$internals$string_literal_isTranspiled && !module$contents$safevalues$internals$string_literal_frozenTSA || module$contents$safevalues$internals$string_literal_checkFrozen(templateObj)) ?
+ !0 : !1;
+}
+;var module$contents$safevalues$builders$attribute_builders_module = module$contents$safevalues$builders$attribute_builders_module || {id:"third_party/javascript/safevalues/builders/attribute_builders.closure.js"};
+function module$contents$safevalues$builders$attribute_builders_safeAttrPrefix(templ) {
+ goog.DEBUG && module$contents$safevalues$internals$string_literal_assertIsTemplateObject(templ, 0);
+ var attrPrefix = templ[0].toLowerCase();
+ if (goog.DEBUG) {
+ if (0 === attrPrefix.indexOf("on") || 0 === "on".indexOf(attrPrefix)) {
+ throw Error("Prefix '" + templ[0] + "' does not guarantee the attribute to be safe as it is also a prefix for event handler attributesPlease use 'addEventListener' to set event handlers.");
+ }
+ module$exports$safevalues$builders$sensitive_attributes.SECURITY_SENSITIVE_ATTRIBUTES.forEach(function(sensitiveAttr) {
+ if (0 === sensitiveAttr.indexOf(attrPrefix)) {
+ throw Error("Prefix '" + templ[0] + "' does not guarantee the attribute to be safe as it is also a prefix for the security sensitive attribute '" + (sensitiveAttr + "'. Please use native or safe DOM APIs to set the attribute."));
+ }
+ });
+ }
+ return module$contents$safevalues$internals$attribute_impl_createAttributePrefixInternal(attrPrefix);
+}
+;var module$contents$safevalues$internals$pure_module = module$contents$safevalues$internals$pure_module || {id:"third_party/javascript/safevalues/internals/pure.closure.js"};
+function module$contents$safevalues$internals$pure_pure(valueOf) {
+ return valueOf();
+}
+;var module$exports$goog$html$internals = {};
+module$exports$goog$html$internals.createSafeHtml = module$contents$goog$html$SafeHtml_SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse;
+module$exports$goog$html$internals.createSafeScript = module$contents$goog$html$SafeScript_SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse;
+module$exports$goog$html$internals.createSafeStyle = module$contents$goog$html$SafeStyle_SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse;
+module$exports$goog$html$internals.createSafeStyleSheet = module$contents$goog$html$SafeStyleSheet_SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse;
+module$exports$goog$html$internals.createSafeUrl = goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse;
+module$exports$goog$html$internals.createTrustedResourceUrl = goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse;
+var module$exports$safevalues$internals$url_impl = {}, module$contents$safevalues$internals$url_impl_module = module$contents$safevalues$internals$url_impl_module || {id:"third_party/javascript/safevalues/internals/url_impl.closure.js"};
+module$exports$safevalues$internals$url_impl.SafeUrl = goog.html.SafeUrl;
+function module$contents$safevalues$internals$url_impl_createUrlInternal(url) {
+ return (0,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse)(url);
+}
+module$exports$safevalues$internals$url_impl.createUrlInternal = module$contents$safevalues$internals$url_impl_createUrlInternal;
+module$exports$safevalues$internals$url_impl.ABOUT_BLANK = goog.html.SafeUrl.ABOUT_BLANK;
+module$exports$safevalues$internals$url_impl.INNOCUOUS_URL = goog.html.SafeUrl.INNOCUOUS_URL;
+function module$contents$safevalues$internals$url_impl_isUrl(value) {
+ return value instanceof goog.html.SafeUrl;
+}
+module$exports$safevalues$internals$url_impl.isUrl = module$contents$safevalues$internals$url_impl_isUrl;
+function module$contents$safevalues$internals$url_impl_unwrapUrl(value) {
+ return goog.html.SafeUrl.unwrap(value);
+}
+module$exports$safevalues$internals$url_impl.unwrapUrl = module$contents$safevalues$internals$url_impl_unwrapUrl;
+var module$exports$safevalues$builders$url_sanitizer = {}, module$contents$safevalues$builders$url_sanitizer_module = module$contents$safevalues$builders$url_sanitizer_module || {id:"third_party/javascript/safevalues/builders/url_sanitizer.closure.js"}, module$contents$safevalues$builders$url_sanitizer_ASSUME_IMPLEMENTS_URL_API = 2020 <= goog.FEATURESET_YEAR, module$contents$safevalues$builders$url_sanitizer_supportsURLAPI =
+module$contents$safevalues$internals$pure_pure(function() {
+ return module$contents$safevalues$builders$url_sanitizer_ASSUME_IMPLEMENTS_URL_API ? !0 : "function" === typeof URL;
+});
+function module$contents$safevalues$builders$url_sanitizer_legacyExtractScheme(url) {
+ var aTag = document.createElement("a");
+ try {
+ aTag.href = url;
+ } catch (e) {
+ return;
+ }
+ var protocol = aTag.protocol;
+ return ":" === protocol || "" === protocol ? "https:" : protocol;
+}
+var module$contents$safevalues$builders$url_sanitizer_JavaScriptUrlSanitizationCallback;
+function module$contents$safevalues$builders$url_sanitizer_extractScheme(url) {
+ if (!module$contents$safevalues$builders$url_sanitizer_supportsURLAPI) {
+ return module$contents$safevalues$builders$url_sanitizer_legacyExtractScheme(url);
+ }
+ try {
+ var parsedUrl = new URL(url);
+ } catch (e) {
+ return "https:";
+ }
+ return parsedUrl.protocol;
+}
+module$exports$safevalues$builders$url_sanitizer.extractScheme = module$contents$safevalues$builders$url_sanitizer_extractScheme;
+var module$contents$safevalues$builders$url_sanitizer_ALLOWED_SCHEMES = ["data:", "http:", "https:", "mailto:", "ftp:"];
+function module$contents$safevalues$builders$url_sanitizer_sanitizeJavaScriptUrl(url) {
+ if ("javascript:" === module$contents$safevalues$builders$url_sanitizer_extractScheme(url)) {
+ module$contents$safevalues$builders$url_sanitizer_triggerCallbacks(url);
+ } else {
+ return url;
+ }
+}
+module$exports$safevalues$builders$url_sanitizer.sanitizeJavaScriptUrl = module$contents$safevalues$builders$url_sanitizer_sanitizeJavaScriptUrl;
+module$exports$safevalues$builders$url_sanitizer.unwrapUrlOrSanitize = function(url) {
+ return url instanceof goog.html.SafeUrl ? module$contents$safevalues$internals$url_impl_unwrapUrl(url) : module$contents$safevalues$builders$url_sanitizer_sanitizeJavaScriptUrl(url);
+};
+function module$contents$safevalues$builders$url_sanitizer_restrictivelySanitizeUrl(url) {
+ var parsedScheme = module$contents$safevalues$builders$url_sanitizer_extractScheme(url);
+ return void 0 !== parsedScheme && -1 !== module$contents$safevalues$builders$url_sanitizer_ALLOWED_SCHEMES.indexOf(parsedScheme.toLowerCase()) ? url : "about:invalid#zClosurez";
+}
+module$exports$safevalues$builders$url_sanitizer.restrictivelySanitizeUrl = module$contents$safevalues$builders$url_sanitizer_restrictivelySanitizeUrl;
+module$exports$safevalues$builders$url_sanitizer.JAVASCRIPT_URL_SCHEME_PATTERN = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;
+var module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks = [], module$contents$safevalues$builders$url_sanitizer_triggerCallbacks = function(url) {
+};
+goog.DEBUG && module$contents$safevalues$builders$url_sanitizer_addJavaScriptUrlSanitizationCallback(function(url) {
+ (0,goog.log.warning)((0,goog.log.getLogger)("safevalues"), "A URL with content '" + url + "' was sanitized away.");
+});
+function module$contents$safevalues$builders$url_sanitizer_addJavaScriptUrlSanitizationCallback(callback) {
+ -1 === module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks.indexOf(callback) && module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks.push(callback);
+ module$contents$safevalues$builders$url_sanitizer_triggerCallbacks = function(url) {
+ module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks.forEach(function(callback) {
+ callback(url);
+ });
+ };
+}
+module$exports$safevalues$builders$url_sanitizer.addJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_sanitizer_addJavaScriptUrlSanitizationCallback;
+function module$contents$safevalues$builders$url_sanitizer_removeJavaScriptUrlSanitizationCallback(callback) {
+ var callbackIndex = module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks.indexOf(callback);
+ -1 !== callbackIndex && module$contents$safevalues$builders$url_sanitizer_sanitizationCallbacks.splice(callbackIndex, 1);
+}
+module$exports$safevalues$builders$url_sanitizer.removeJavaScriptUrlSanitizationCallback = module$contents$safevalues$builders$url_sanitizer_removeJavaScriptUrlSanitizationCallback;
+var module$exports$safevalues$internals$html_impl = {}, module$contents$safevalues$internals$html_impl_module = module$contents$safevalues$internals$html_impl_module || {id:"third_party/javascript/safevalues/internals/html_impl.closure.js"};
+module$exports$safevalues$internals$html_impl.SafeHtml = module$contents$goog$html$SafeHtml_SafeHtml;
+function module$contents$safevalues$internals$html_impl_createHtmlInternal(html) {
+ return (0,module$exports$goog$html$internals.createSafeHtml)(html);
+}
+module$exports$safevalues$internals$html_impl.createHtmlInternal = module$contents$safevalues$internals$html_impl_createHtmlInternal;
+module$exports$safevalues$internals$html_impl.EMPTY_HTML = module$contents$goog$html$SafeHtml_SafeHtml.EMPTY;
+function module$contents$safevalues$internals$html_impl_isHtml(value) {
+ return value instanceof module$contents$goog$html$SafeHtml_SafeHtml;
+}
+module$exports$safevalues$internals$html_impl.isHtml = module$contents$safevalues$internals$html_impl_isHtml;
+function module$contents$safevalues$internals$html_impl_unwrapHtml(value) {
+ return module$contents$goog$html$SafeHtml_SafeHtml.unwrapTrustedHTML(value);
+}
+module$exports$safevalues$internals$html_impl.unwrapHtml = module$contents$safevalues$internals$html_impl_unwrapHtml;
+var module$exports$safevalues$internals$resource_url_impl = {}, module$contents$safevalues$internals$resource_url_impl_module = module$contents$safevalues$internals$resource_url_impl_module || {id:"third_party/javascript/safevalues/internals/resource_url_impl.closure.js"};
+module$exports$safevalues$internals$resource_url_impl.TrustedResourceUrl = goog.html.TrustedResourceUrl;
+function module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal(url) {
+ return (0,goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse)(url);
+}
+module$exports$safevalues$internals$resource_url_impl.createResourceUrlInternal = module$contents$safevalues$internals$resource_url_impl_createResourceUrlInternal;
+function module$contents$safevalues$internals$resource_url_impl_isResourceUrl(value) {
+ return value instanceof goog.html.TrustedResourceUrl;
+}
+module$exports$safevalues$internals$resource_url_impl.isResourceUrl = module$contents$safevalues$internals$resource_url_impl_isResourceUrl;
+function module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl(value) {
+ return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(value);
+}
+module$exports$safevalues$internals$resource_url_impl.unwrapResourceUrl = module$contents$safevalues$internals$resource_url_impl_unwrapResourceUrl;
+var module$exports$safevalues$internals$script_impl = {}, module$contents$safevalues$internals$script_impl_module = module$contents$safevalues$internals$script_impl_module || {id:"third_party/javascript/safevalues/internals/script_impl.closure.js"};
+module$exports$safevalues$internals$script_impl.SafeScript = module$contents$goog$html$SafeScript_SafeScript;
+function module$contents$safevalues$internals$script_impl_createScriptInternal(script) {
+ return (0,module$exports$goog$html$internals.createSafeScript)(script);
+}
+module$exports$safevalues$internals$script_impl.createScriptInternal = module$contents$safevalues$internals$script_impl_createScriptInternal;
+module$exports$safevalues$internals$script_impl.EMPTY_SCRIPT = module$contents$goog$html$SafeScript_SafeScript.EMPTY;
+function module$contents$safevalues$internals$script_impl_isScript(value) {
+ return value instanceof module$contents$goog$html$SafeScript_SafeScript;
+}
+module$exports$safevalues$internals$script_impl.isScript = module$contents$safevalues$internals$script_impl_isScript;
+function module$contents$safevalues$internals$script_impl_unwrapScript(value) {
+ return module$contents$goog$html$SafeScript_SafeScript.unwrapTrustedScript(value);
+}
+module$exports$safevalues$internals$script_impl.unwrapScript = module$contents$safevalues$internals$script_impl_unwrapScript;
+var module$exports$safevalues$internals$style_impl = {}, module$contents$safevalues$internals$style_impl_module = module$contents$safevalues$internals$style_impl_module || {id:"third_party/javascript/safevalues/internals/style_impl.closure.js"};
+module$exports$safevalues$internals$style_impl.SafeStyle = module$contents$goog$html$SafeStyle_SafeStyle;
+function module$contents$safevalues$internals$style_impl_createStyleInternal(style) {
+ return (0,module$exports$goog$html$internals.createSafeStyle)(style);
+}
+module$exports$safevalues$internals$style_impl.createStyleInternal = module$contents$safevalues$internals$style_impl_createStyleInternal;
+function module$contents$safevalues$internals$style_impl_isStyle(value) {
+ return value instanceof module$contents$goog$html$SafeStyle_SafeStyle;
+}
+module$exports$safevalues$internals$style_impl.isStyle = module$contents$safevalues$internals$style_impl_isStyle;
+function module$contents$safevalues$internals$style_impl_unwrapStyle(value) {
+ return module$contents$goog$html$SafeStyle_SafeStyle.unwrap(value);
+}
+module$exports$safevalues$internals$style_impl.unwrapStyle = module$contents$safevalues$internals$style_impl_unwrapStyle;
+var module$exports$safevalues$builders$html_builders = {}, module$contents$safevalues$builders$html_builders_module = module$contents$safevalues$builders$html_builders_module || {id:"third_party/javascript/safevalues/builders/html_builders.closure.js"};
+function module$contents$safevalues$builders$html_builders_htmlEscape(value, options) {
+ options = void 0 === options ? {} : options;
+ if (module$contents$safevalues$internals$html_impl_isHtml(value)) {
+ return value;
+ }
+ var htmlEscapedString = module$contents$safevalues$builders$html_builders_htmlEscapeToString(value);
+ options.preserveSpaces && (htmlEscapedString = htmlEscapedString.replace(/(^|[\r\n\t ]) /g, "$1 "));
+ options.preserveNewlines && (htmlEscapedString = htmlEscapedString.replace(/(\r\n|\n|\r)/g, "
"));
+ options.preserveTabs && (htmlEscapedString = htmlEscapedString.replace(/(\t+)/g, '$1'));
+ return module$contents$safevalues$internals$html_impl_createHtmlInternal(htmlEscapedString);
+}
+module$exports$safevalues$builders$html_builders.htmlEscape = module$contents$safevalues$builders$html_builders_htmlEscape;
+module$exports$safevalues$builders$html_builders.scriptToHtml = function(script, options) {
+ options = void 0 === options ? {} : options;
+ var unwrappedScript = module$contents$safevalues$internals$script_impl_unwrapScript(script).toString(), stringTag = "